Files
archived-tauri-action/dist/index.js
2025-11-16 16:06:20 +00:00

366 lines
2.1 MiB
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{createRequire as A}from"module";var d={56037:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__exportStar||function(A,d){for(var p in A)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))C(d,A,p)};Object.defineProperty(d,"__esModule",{value:true});const v=p(59010);S(p(22663),d);S(p(5228),d);S(p(59010),d);const T=new v.DefaultArtifactClient;d["default"]=T},81209:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const C=p(68140);const S=p(68140);const v=p(68140);const T=p(68140);const _=p(68140);const V=p(68140);const Z=p(68140);class Timestamp$Type extends Z.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const A=this.create();const d=Date.now();A.seconds=V.PbLong.from(Math.floor(d/1e3)).toString();A.nanos=d%1e3*1e6;return A}toDate(A){return new Date(V.PbLong.from(A.seconds).toNumber()*1e3+Math.ceil(A.nanos/1e6))}fromDate(A){const d=this.create();const p=A.getTime();d.seconds=V.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(A,d){let p=V.PbLong.from(A.seconds).toNumber()*1e3;if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.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(A.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let C="Z";if(A.nanos>0){let d=(A.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")C="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")C="."+d.substring(0,6)+"Z";else C="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",C)}internalJsonRead(A,d,p){if(typeof A!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,_.typeofJsonValue)(A)+".");let C=A.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(!C)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let S=Date.parse(C[1]+"-"+C[2]+"-"+C[3]+"T"+C[4]+":"+C[5]+":"+C[6]+(C[8]?C[8]:"Z"));if(Number.isNaN(S))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(S<Date.parse("0001-01-01T00:00:00Z")||S>Date.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(!p)p=this.create();p.seconds=V.PbLong.from(S/1e3).toString();p.nanos=0;if(C[7])p.nanos=parseInt("1"+C[7]+"0".repeat(9-C[7].length))-1e9;return p}create(A){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,T.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,v.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let v=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:v.seconds=A.int64().toString();break;case 2:v.nanos=A.int32();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?S.UnknownFieldHandler.onRead:T)(this.typeName,v,d,C,_)}}return v}internalBinaryWrite(A,d,p){if(A.seconds!=="0")d.tag(1,C.WireType.Varint).int64(A.seconds);if(A.nanos!==0)d.tag(2,C.WireType.Varint).int32(A.nanos);let v=p.writeUnknownFields;if(v!==false)(v==true?S.UnknownFieldHandler.onWrite:v)(this.typeName,A,d);return d}}d.Timestamp=new Timestamp$Type},94769:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const C=p(68140);const S=p(68140);const v=p(68140);const T=p(68140);const _=p(68140);const V=p(68140);const Z=p(68140);class DoubleValue$Type extends Z.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(2,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,1,undefined,"value");return p}create(A){const d={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.double();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!==0)d.tag(1,v.WireType.Bit64).double(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.DoubleValue=new DoubleValue$Type;class FloatValue$Type extends Z.MessageType{constructor(){super("google.protobuf.FloatValue",[{no:1,name:"value",kind:"scalar",T:2}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(1,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,1,undefined,"value");return p}create(A){const d={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.float();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!==0)d.tag(1,v.WireType.Bit32).float(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.FloatValue=new FloatValue$Type;class Int64Value$Type extends Z.MessageType{constructor(){super("google.protobuf.Int64Value",[{no:1,name:"value",kind:"scalar",T:3}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(C.ScalarType.INT64,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,C.ScalarType.INT64,S.LongType.STRING,"value");return p}create(A){const d={value:"0"};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.int64().toString();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!=="0")d.tag(1,v.WireType.Varint).int64(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.Int64Value=new Int64Value$Type;class UInt64Value$Type extends Z.MessageType{constructor(){super("google.protobuf.UInt64Value",[{no:1,name:"value",kind:"scalar",T:4}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(C.ScalarType.UINT64,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,C.ScalarType.UINT64,S.LongType.STRING,"value");return p}create(A){const d={value:"0"};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.uint64().toString();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!=="0")d.tag(1,v.WireType.Varint).uint64(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.UInt64Value=new UInt64Value$Type;class Int32Value$Type extends Z.MessageType{constructor(){super("google.protobuf.Int32Value",[{no:1,name:"value",kind:"scalar",T:5}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(5,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,5,undefined,"value");return p}create(A){const d={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.int32();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!==0)d.tag(1,v.WireType.Varint).int32(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.Int32Value=new Int32Value$Type;class UInt32Value$Type extends Z.MessageType{constructor(){super("google.protobuf.UInt32Value",[{no:1,name:"value",kind:"scalar",T:13}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(13,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,13,undefined,"value");return p}create(A){const d={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.uint32();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!==0)d.tag(1,v.WireType.Varint).uint32(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.UInt32Value=new UInt32Value$Type;class BoolValue$Type extends Z.MessageType{constructor(){super("google.protobuf.BoolValue",[{no:1,name:"value",kind:"scalar",T:8}])}internalJsonWrite(A,d){return A.value}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,8,undefined,"value");return p}create(A){const d={value:false};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.bool();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!==false)d.tag(1,v.WireType.Varint).bool(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.BoolValue=new BoolValue$Type;class StringValue$Type extends Z.MessageType{constructor(){super("google.protobuf.StringValue",[{no:1,name:"value",kind:"scalar",T:9}])}internalJsonWrite(A,d){return A.value}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,9,undefined,"value");return p}create(A){const d={value:""};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.string();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value!=="")d.tag(1,v.WireType.LengthDelimited).string(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.StringValue=new StringValue$Type;class BytesValue$Type extends Z.MessageType{constructor(){super("google.protobuf.BytesValue",[{no:1,name:"value",kind:"scalar",T:12}])}internalJsonWrite(A,d){return this.refJsonWriter.scalar(12,A.value,"value",false,true)}internalJsonRead(A,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(A,12,undefined,"value");return p}create(A){const d={value:new Uint8Array(0)};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,_.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),v=A.pos+d;while(A.pos<v){let[d,C]=A.tag();switch(d){case 1:S.value=A.bytes();break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(v!==false)(v===true?T.UnknownFieldHandler.onRead:v)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.value.length)d.tag(1,v.WireType.LengthDelimited).bytes(A.value);let C=p.writeUnknownFields;if(C!==false)(C==true?T.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.BytesValue=new BytesValue$Type},47537:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__exportStar||function(A,d){for(var p in A)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))C(d,A,p)};Object.defineProperty(d,"__esModule",{value:true});S(p(81209),d);S(p(94769),d);S(p(72639),d);S(p(5399),d)},72639:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ArtifactService=d.DeleteArtifactResponse=d.DeleteArtifactRequest=d.GetSignedArtifactURLResponse=d.GetSignedArtifactURLRequest=d.ListArtifactsResponse_MonolithArtifact=d.ListArtifactsResponse=d.ListArtifactsRequest=d.FinalizeArtifactResponse=d.FinalizeArtifactRequest=d.CreateArtifactResponse=d.CreateArtifactRequest=d.FinalizeMigratedArtifactResponse=d.FinalizeMigratedArtifactRequest=d.MigrateArtifactResponse=d.MigrateArtifactRequest=void 0;const C=p(95980);const S=p(68140);const v=p(68140);const T=p(68140);const _=p(68140);const V=p(68140);const Z=p(94769);const ee=p(94769);const te=p(81209);class MigrateArtifactRequest$Type extends V.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:()=>te.Timestamp}])}create(A){const d={workflowRunBackendId:"",name:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.name=A.string();break;case 3:S.expiresAt=te.Timestamp.internalBinaryRead(A,A.uint32(),p,S.expiresAt);break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.name!=="")d.tag(2,S.WireType.LengthDelimited).string(A.name);if(A.expiresAt)te.Timestamp.internalBinaryWrite(A.expiresAt,d.tag(3,S.WireType.LengthDelimited).fork(),p).join();let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.MigrateArtifactRequest=new MigrateArtifactRequest$Type;class MigrateArtifactResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.MigrateArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9}])}create(A){const d={ok:false,signedUploadUrl:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.ok=A.bool();break;case 2:S.signedUploadUrl=A.string();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.ok!==false)d.tag(1,S.WireType.Varint).bool(A.ok);if(A.signedUploadUrl!=="")d.tag(2,S.WireType.LengthDelimited).string(A.signedUploadUrl);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.MigrateArtifactResponse=new MigrateArtifactResponse$Type;class FinalizeMigratedArtifactRequest$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeMigratedArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"size",kind:"scalar",T:3}])}create(A){const d={workflowRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.name=A.string();break;case 3:S.size=A.int64().toString();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.name!=="")d.tag(2,S.WireType.LengthDelimited).string(A.name);if(A.size!=="0")d.tag(3,S.WireType.Varint).int64(A.size);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.FinalizeMigratedArtifactRequest=new FinalizeMigratedArtifactRequest$Type;class FinalizeMigratedArtifactResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeMigratedArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"artifact_id",kind:"scalar",T:3}])}create(A){const d={ok:false,artifactId:"0"};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.ok=A.bool();break;case 2:S.artifactId=A.int64().toString();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.ok!==false)d.tag(1,S.WireType.Varint).bool(A.ok);if(A.artifactId!=="0")d.tag(2,S.WireType.Varint).int64(A.artifactId);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.FinalizeMigratedArtifactResponse=new FinalizeMigratedArtifactResponse$Type;class CreateArtifactRequest$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.CreateArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"expires_at",kind:"message",T:()=>te.Timestamp},{no:5,name:"version",kind:"scalar",T:5}])}create(A){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.workflowJobRunBackendId=A.string();break;case 3:S.name=A.string();break;case 4:S.expiresAt=te.Timestamp.internalBinaryRead(A,A.uint32(),p,S.expiresAt);break;case 5:S.version=A.int32();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.workflowJobRunBackendId!=="")d.tag(2,S.WireType.LengthDelimited).string(A.workflowJobRunBackendId);if(A.name!=="")d.tag(3,S.WireType.LengthDelimited).string(A.name);if(A.expiresAt)te.Timestamp.internalBinaryWrite(A.expiresAt,d.tag(4,S.WireType.LengthDelimited).fork(),p).join();if(A.version!==0)d.tag(5,S.WireType.Varint).int32(A.version);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.CreateArtifactRequest=new CreateArtifactRequest$Type;class CreateArtifactResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.CreateArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9}])}create(A){const d={ok:false,signedUploadUrl:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.ok=A.bool();break;case 2:S.signedUploadUrl=A.string();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.ok!==false)d.tag(1,S.WireType.Varint).bool(A.ok);if(A.signedUploadUrl!=="")d.tag(2,S.WireType.LengthDelimited).string(A.signedUploadUrl);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.CreateArtifactResponse=new CreateArtifactResponse$Type;class FinalizeArtifactRequest$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"size",kind:"scalar",T:3},{no:5,name:"hash",kind:"message",T:()=>ee.StringValue}])}create(A){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.workflowJobRunBackendId=A.string();break;case 3:S.name=A.string();break;case 4:S.size=A.int64().toString();break;case 5:S.hash=ee.StringValue.internalBinaryRead(A,A.uint32(),p,S.hash);break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.workflowJobRunBackendId!=="")d.tag(2,S.WireType.LengthDelimited).string(A.workflowJobRunBackendId);if(A.name!=="")d.tag(3,S.WireType.LengthDelimited).string(A.name);if(A.size!=="0")d.tag(4,S.WireType.Varint).int64(A.size);if(A.hash)ee.StringValue.internalBinaryWrite(A.hash,d.tag(5,S.WireType.LengthDelimited).fork(),p).join();let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.FinalizeArtifactRequest=new FinalizeArtifactRequest$Type;class FinalizeArtifactResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"artifact_id",kind:"scalar",T:3}])}create(A){const d={ok:false,artifactId:"0"};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.ok=A.bool();break;case 2:S.artifactId=A.int64().toString();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.ok!==false)d.tag(1,S.WireType.Varint).bool(A.ok);if(A.artifactId!=="0")d.tag(2,S.WireType.Varint).int64(A.artifactId);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.FinalizeArtifactResponse=new FinalizeArtifactResponse$Type;class ListArtifactsRequest$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.ListArtifactsRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name_filter",kind:"message",T:()=>ee.StringValue},{no:4,name:"id_filter",kind:"message",T:()=>Z.Int64Value}])}create(A){const d={workflowRunBackendId:"",workflowJobRunBackendId:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.workflowJobRunBackendId=A.string();break;case 3:S.nameFilter=ee.StringValue.internalBinaryRead(A,A.uint32(),p,S.nameFilter);break;case 4:S.idFilter=Z.Int64Value.internalBinaryRead(A,A.uint32(),p,S.idFilter);break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.workflowJobRunBackendId!=="")d.tag(2,S.WireType.LengthDelimited).string(A.workflowJobRunBackendId);if(A.nameFilter)ee.StringValue.internalBinaryWrite(A.nameFilter,d.tag(3,S.WireType.LengthDelimited).fork(),p).join();if(A.idFilter)Z.Int64Value.internalBinaryWrite(A.idFilter,d.tag(4,S.WireType.LengthDelimited).fork(),p).join();let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.ListArtifactsRequest=new ListArtifactsRequest$Type;class ListArtifactsResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.ListArtifactsResponse",[{no:1,name:"artifacts",kind:"message",repeat:1,T:()=>d.ListArtifactsResponse_MonolithArtifact}])}create(A){const d={artifacts:[]};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,p,C,S){let T=S!==null&&S!==void 0?S:this.create(),_=A.pos+p;while(A.pos<_){let[p,S]=A.tag();switch(p){case 1:T.artifacts.push(d.ListArtifactsResponse_MonolithArtifact.internalBinaryRead(A,A.uint32(),C));break;default:let _=C.readUnknownField;if(_==="throw")throw new globalThis.Error(`Unknown field ${p} (wire type ${S}) for ${this.typeName}`);let V=A.skip(S);if(_!==false)(_===true?v.UnknownFieldHandler.onRead:_)(this.typeName,T,p,S,V)}}return T}internalBinaryWrite(A,p,C){for(let v=0;v<A.artifacts.length;v++)d.ListArtifactsResponse_MonolithArtifact.internalBinaryWrite(A.artifacts[v],p.tag(1,S.WireType.LengthDelimited).fork(),C).join();let T=C.writeUnknownFields;if(T!==false)(T==true?v.UnknownFieldHandler.onWrite:T)(this.typeName,A,p);return p}}d.ListArtifactsResponse=new ListArtifactsResponse$Type;class ListArtifactsResponse_MonolithArtifact$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.ListArtifactsResponse.MonolithArtifact",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"database_id",kind:"scalar",T:3},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"size",kind:"scalar",T:3},{no:6,name:"created_at",kind:"message",T:()=>te.Timestamp},{no:7,name:"digest",kind:"message",T:()=>ee.StringValue}])}create(A){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.workflowJobRunBackendId=A.string();break;case 3:S.databaseId=A.int64().toString();break;case 4:S.name=A.string();break;case 5:S.size=A.int64().toString();break;case 6:S.createdAt=te.Timestamp.internalBinaryRead(A,A.uint32(),p,S.createdAt);break;case 7:S.digest=ee.StringValue.internalBinaryRead(A,A.uint32(),p,S.digest);break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.workflowJobRunBackendId!=="")d.tag(2,S.WireType.LengthDelimited).string(A.workflowJobRunBackendId);if(A.databaseId!=="0")d.tag(3,S.WireType.Varint).int64(A.databaseId);if(A.name!=="")d.tag(4,S.WireType.LengthDelimited).string(A.name);if(A.size!=="0")d.tag(5,S.WireType.Varint).int64(A.size);if(A.createdAt)te.Timestamp.internalBinaryWrite(A.createdAt,d.tag(6,S.WireType.LengthDelimited).fork(),p).join();if(A.digest)ee.StringValue.internalBinaryWrite(A.digest,d.tag(7,S.WireType.LengthDelimited).fork(),p).join();let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.ListArtifactsResponse_MonolithArtifact=new ListArtifactsResponse_MonolithArtifact$Type;class GetSignedArtifactURLRequest$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.GetSignedArtifactURLRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9}])}create(A){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.workflowJobRunBackendId=A.string();break;case 3:S.name=A.string();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.workflowJobRunBackendId!=="")d.tag(2,S.WireType.LengthDelimited).string(A.workflowJobRunBackendId);if(A.name!=="")d.tag(3,S.WireType.LengthDelimited).string(A.name);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.GetSignedArtifactURLRequest=new GetSignedArtifactURLRequest$Type;class GetSignedArtifactURLResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.GetSignedArtifactURLResponse",[{no:1,name:"signed_url",kind:"scalar",T:9}])}create(A){const d={signedUrl:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.signedUrl=A.string();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.signedUrl!=="")d.tag(1,S.WireType.LengthDelimited).string(A.signedUrl);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.GetSignedArtifactURLResponse=new GetSignedArtifactURLResponse$Type;class DeleteArtifactRequest$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.DeleteArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"workflow_job_run_backend_id",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9}])}create(A){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:""};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.workflowRunBackendId=A.string();break;case 2:S.workflowJobRunBackendId=A.string();break;case 3:S.name=A.string();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.workflowRunBackendId!=="")d.tag(1,S.WireType.LengthDelimited).string(A.workflowRunBackendId);if(A.workflowJobRunBackendId!=="")d.tag(2,S.WireType.LengthDelimited).string(A.workflowJobRunBackendId);if(A.name!=="")d.tag(3,S.WireType.LengthDelimited).string(A.name);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.DeleteArtifactRequest=new DeleteArtifactRequest$Type;class DeleteArtifactResponse$Type extends V.MessageType{constructor(){super("github.actions.results.api.v1.DeleteArtifactResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"artifact_id",kind:"scalar",T:3}])}create(A){const d={ok:false,artifactId:"0"};globalThis.Object.defineProperty(d,_.MESSAGE_TYPE,{enumerable:false,value:this});if(A!==undefined)(0,T.reflectionMergePartial)(this,d,A);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create(),T=A.pos+d;while(A.pos<T){let[d,C]=A.tag();switch(d){case 1:S.ok=A.bool();break;case 2:S.artifactId=A.int64().toString();break;default:let T=p.readUnknownField;if(T==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${C}) for ${this.typeName}`);let _=A.skip(C);if(T!==false)(T===true?v.UnknownFieldHandler.onRead:T)(this.typeName,S,d,C,_)}}return S}internalBinaryWrite(A,d,p){if(A.ok!==false)d.tag(1,S.WireType.Varint).bool(A.ok);if(A.artifactId!=="0")d.tag(2,S.WireType.Varint).int64(A.artifactId);let C=p.writeUnknownFields;if(C!==false)(C==true?v.UnknownFieldHandler.onWrite:C)(this.typeName,A,d);return d}}d.DeleteArtifactResponse=new DeleteArtifactResponse$Type;d.ArtifactService=new C.ServiceType("github.actions.results.api.v1.ArtifactService",[{name:"CreateArtifact",options:{},I:d.CreateArtifactRequest,O:d.CreateArtifactResponse},{name:"FinalizeArtifact",options:{},I:d.FinalizeArtifactRequest,O:d.FinalizeArtifactResponse},{name:"ListArtifacts",options:{},I:d.ListArtifactsRequest,O:d.ListArtifactsResponse},{name:"GetSignedArtifactURL",options:{},I:d.GetSignedArtifactURLRequest,O:d.GetSignedArtifactURLResponse},{name:"DeleteArtifact",options:{},I:d.DeleteArtifactRequest,O:d.DeleteArtifactResponse},{name:"MigrateArtifact",options:{},I:d.MigrateArtifactRequest,O:d.MigrateArtifactResponse},{name:"FinalizeMigratedArtifact",options:{},I:d.FinalizeMigratedArtifactRequest,O:d.FinalizeMigratedArtifactResponse}])},5399:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ArtifactServiceClientProtobuf=d.ArtifactServiceClientJSON=void 0;const C=p(72639);class ArtifactServiceClientJSON{constructor(A){this.rpc=A;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(A){const d=C.CreateArtifactRequest.toJson(A,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/json",d);return p.then((A=>C.CreateArtifactResponse.fromJson(A,{ignoreUnknownFields:true})))}FinalizeArtifact(A){const d=C.FinalizeArtifactRequest.toJson(A,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",d);return p.then((A=>C.FinalizeArtifactResponse.fromJson(A,{ignoreUnknownFields:true})))}ListArtifacts(A){const d=C.ListArtifactsRequest.toJson(A,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",d);return p.then((A=>C.ListArtifactsResponse.fromJson(A,{ignoreUnknownFields:true})))}GetSignedArtifactURL(A){const d=C.GetSignedArtifactURLRequest.toJson(A,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",d);return p.then((A=>C.GetSignedArtifactURLResponse.fromJson(A,{ignoreUnknownFields:true})))}DeleteArtifact(A){const d=C.DeleteArtifactRequest.toJson(A,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",d);return p.then((A=>C.DeleteArtifactResponse.fromJson(A,{ignoreUnknownFields:true})))}}d.ArtifactServiceClientJSON=ArtifactServiceClientJSON;class ArtifactServiceClientProtobuf{constructor(A){this.rpc=A;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(A){const d=C.CreateArtifactRequest.toBinary(A);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/protobuf",d);return p.then((A=>C.CreateArtifactResponse.fromBinary(A)))}FinalizeArtifact(A){const d=C.FinalizeArtifactRequest.toBinary(A);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/protobuf",d);return p.then((A=>C.FinalizeArtifactResponse.fromBinary(A)))}ListArtifacts(A){const d=C.ListArtifactsRequest.toBinary(A);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/protobuf",d);return p.then((A=>C.ListArtifactsResponse.fromBinary(A)))}GetSignedArtifactURL(A){const d=C.GetSignedArtifactURLRequest.toBinary(A);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/protobuf",d);return p.then((A=>C.GetSignedArtifactURLResponse.fromBinary(A)))}DeleteArtifact(A){const d=C.DeleteArtifactRequest.toBinary(A);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/protobuf",d);return p.then((A=>C.DeleteArtifactResponse.fromBinary(A)))}}d.ArtifactServiceClientProtobuf=ArtifactServiceClientProtobuf},59010:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};var S=this&&this.__rest||function(A,d){var p={};for(var C in A)if(Object.prototype.hasOwnProperty.call(A,C)&&d.indexOf(C)<0)p[C]=A[C];if(A!=null&&typeof Object.getOwnPropertySymbols==="function")for(var S=0,C=Object.getOwnPropertySymbols(A);S<C.length;S++){if(d.indexOf(C[S])<0&&Object.prototype.propertyIsEnumerable.call(A,C[S]))p[C[S]]=A[C[S]]}return p};Object.defineProperty(d,"__esModule",{value:true});d.DefaultArtifactClient=void 0;const v=p(16966);const T=p(84361);const _=p(92689);const V=p(70063);const Z=p(2457);const ee=p(7056);const te=p(30895);const re=p(5228);class DefaultArtifactClient{uploadArtifact(A,d,p,S){return C(this,void 0,void 0,(function*(){try{if((0,T.isGhes)()){throw new re.GHESNotSupportedError}return(0,_.uploadArtifact)(A,d,p,S)}catch(A){(0,v.warning)(`Artifact upload failed with error: ${A}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions is operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);throw A}}))}downloadArtifact(A,d){return C(this,void 0,void 0,(function*(){try{if((0,T.isGhes)()){throw new re.GHESNotSupportedError}if(d===null||d===void 0?void 0:d.findBy){const{findBy:{repositoryOwner:p,repositoryName:C,token:v}}=d,T=S(d,["findBy"]);return(0,V.downloadArtifactPublic)(A,p,C,v,T)}return(0,V.downloadArtifactInternal)(A,d)}catch(A){(0,v.warning)(`Download Artifact failed with error: ${A}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);throw A}}))}listArtifacts(A){return C(this,void 0,void 0,(function*(){try{if((0,T.isGhes)()){throw new re.GHESNotSupportedError}if(A===null||A===void 0?void 0:A.findBy){const{findBy:{workflowRunId:d,repositoryOwner:p,repositoryName:C,token:S}}=A;return(0,te.listArtifactsPublic)(d,p,C,S,A===null||A===void 0?void 0:A.latest)}return(0,te.listArtifactsInternal)(A===null||A===void 0?void 0:A.latest)}catch(A){(0,v.warning)(`Listing Artifacts failed with error: ${A}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);throw A}}))}getArtifact(A,d){return C(this,void 0,void 0,(function*(){try{if((0,T.isGhes)()){throw new re.GHESNotSupportedError}if(d===null||d===void 0?void 0:d.findBy){const{findBy:{workflowRunId:p,repositoryOwner:C,repositoryName:S,token:v}}=d;return(0,ee.getArtifactPublic)(A,p,C,S,v)}return(0,ee.getArtifactInternal)(A)}catch(A){(0,v.warning)(`Get Artifact failed with error: ${A}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);throw A}}))}deleteArtifact(A,d){return C(this,void 0,void 0,(function*(){try{if((0,T.isGhes)()){throw new re.GHESNotSupportedError}if(d===null||d===void 0?void 0:d.findBy){const{findBy:{repositoryOwner:p,repositoryName:C,workflowRunId:S,token:v}}=d;return(0,Z.deleteArtifactPublic)(A,S,p,C,v)}return(0,Z.deleteArtifactInternal)(A)}catch(A){(0,v.warning)(`Delete Artifact failed with error: ${A}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);throw A}}))}}d.DefaultArtifactClient=DefaultArtifactClient},2457:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.deleteArtifactPublic=deleteArtifactPublic;d.deleteArtifactInternal=deleteArtifactInternal;const S=p(16966);const v=p(84903);const T=p(8052);const _=p(28012);const V=p(24523);const Z=p(83909);const ee=p(38957);const te=p(60716);const re=p(16427);const ne=p(47537);const ie=p(7056);const se=p(5228);function deleteArtifactPublic(A,d,p,S,te){return C(this,void 0,void 0,(function*(){var C;const[re,ne]=(0,_.getRetryOptions)(V.defaults);const oe={log:undefined,userAgent:(0,T.getUserAgentString)(),previews:undefined,retry:re,request:ne};const ae=(0,v.getOctokit)(te,oe,ee.retry,Z.requestLog);const le=yield(0,ie.getArtifactPublic)(A,d,p,S,te);const ce=yield ae.rest.actions.deleteArtifact({owner:p,repo:S,artifact_id:le.artifact.id});if(ce.status!==204){throw new se.InvalidResponseError(`Invalid response from GitHub API: ${ce.status} (${(C=ce===null||ce===void 0?void 0:ce.headers)===null||C===void 0?void 0:C["x-github-request-id"]})`)}return{id:le.artifact.id}}))}function deleteArtifactInternal(A){return C(this,void 0,void 0,(function*(){const d=(0,te.internalArtifactTwirpClient)();const{workflowRunBackendId:p,workflowJobRunBackendId:C}=(0,re.getBackendIdsFromToken)();const v={workflowRunBackendId:p,workflowJobRunBackendId:C,nameFilter:ne.StringValue.create({value:A})};const T=yield d.ListArtifacts(v);if(T.artifacts.length===0){throw new se.ArtifactNotFoundError(`Artifact not found for name: ${A}`)}let _=T.artifacts[0];if(T.artifacts.length>1){_=T.artifacts.sort(((A,d)=>Number(d.databaseId)-Number(A.databaseId)))[0];(0,S.debug)(`More than one artifact found for a single name, returning newest (id: ${_.databaseId})`)}const V={workflowRunBackendId:_.workflowRunBackendId,workflowJobRunBackendId:_.workflowJobRunBackendId,name:_.name};const Z=yield d.DeleteArtifact(V);(0,S.info)(`Artifact '${A}' (ID: ${Z.artifactId}) deleted`);return{id:Number(Z.artifactId)}}))}},70063:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};var _=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.streamExtractExternal=streamExtractExternal;d.downloadArtifactPublic=downloadArtifactPublic;d.downloadArtifactInternal=downloadArtifactInternal;const V=_(p(91943));const Z=v(p(76982));const ee=v(p(2203));const te=v(p(84903));const re=v(p(16966));const ne=v(p(21966));const ie=_(p(34340));const se=p(8052);const oe=p(84361);const ae=p(60716);const le=p(47537);const ce=p(16427);const ue=p(5228);const scrubQueryParameters=A=>{const d=new URL(A);d.search="";return d.toString()};function exists(A){return T(this,void 0,void 0,(function*(){try{yield V.default.access(A);return true}catch(A){if(A.code==="ENOENT"){return false}else{throw A}}}))}function streamExtract(A,d){return T(this,void 0,void 0,(function*(){let p=0;while(p<5){try{return yield streamExtractExternal(A,d)}catch(A){p++;re.debug(`Failed to download artifact after ${p} retries due to ${A.message}. Retrying in 5 seconds...`);yield new Promise((A=>setTimeout(A,5e3)))}}throw new Error(`Artifact download failed after ${p} retries.`)}))}function streamExtractExternal(A,d){return T(this,arguments,void 0,(function*(A,d,p={timeout:30*1e3}){const C=new ne.HttpClient((0,se.getUserAgentString)());const S=yield C.get(A);if(S.message.statusCode!==200){throw new Error(`Unexpected HTTP response from blob storage: ${S.message.statusCode} ${S.message.statusMessage}`)}let v=undefined;return new Promise(((A,C)=>{const timerFn=()=>{const A=new Error(`Blob storage chunk did not respond in ${p.timeout}ms`);S.message.destroy(A);C(A)};const T=setTimeout(timerFn,p.timeout);const _=Z.createHash("sha256").setEncoding("hex");const V=new ee.PassThrough;S.message.pipe(V);V.pipe(_);const te=V;te.on("data",(()=>{T.refresh()})).on("error",(A=>{re.debug(`response.message: Artifact download failed: ${A.message}`);clearTimeout(T);C(A)})).pipe(ie.default.Extract({path:d})).on("close",(()=>{clearTimeout(T);if(_){_.end();v=_.read();re.info(`SHA256 digest of downloaded artifact is ${v}`)}A({sha256Digest:`sha256:${v}`})})).on("error",(A=>{C(A)}))}))}))}function downloadArtifactPublic(A,d,p,C,S){return T(this,void 0,void 0,(function*(){const v=yield resolveOrCreateDirectory(S===null||S===void 0?void 0:S.path);const T=te.getOctokit(C);let _=false;re.info(`Downloading artifact '${A}' from '${d}/${p}'`);const{headers:V,status:Z}=yield T.rest.actions.downloadArtifact({owner:d,repo:p,artifact_id:A,archive_format:"zip",request:{redirect:"manual"}});if(Z!==302){throw new Error(`Unable to download artifact. Unexpected status: ${Z}`)}const{location:ee}=V;if(!ee){throw new Error(`Unable to redirect to artifact download url`)}re.info(`Redirecting to blob download url: ${scrubQueryParameters(ee)}`);try{re.info(`Starting download of artifact to: ${v}`);const A=yield streamExtract(ee,v);re.info(`Artifact download completed successfully.`);if(S===null||S===void 0?void 0:S.expectedHash){if((S===null||S===void 0?void 0:S.expectedHash)!==A.sha256Digest){_=true;re.debug(`Computed digest: ${A.sha256Digest}`);re.debug(`Expected digest: ${S.expectedHash}`)}}}catch(A){throw new Error(`Unable to download and extract artifact: ${A.message}`)}return{downloadPath:v,digestMismatch:_}}))}function downloadArtifactInternal(A,d){return T(this,void 0,void 0,(function*(){const p=yield resolveOrCreateDirectory(d===null||d===void 0?void 0:d.path);const C=(0,ae.internalArtifactTwirpClient)();let S=false;const{workflowRunBackendId:v,workflowJobRunBackendId:T}=(0,ce.getBackendIdsFromToken)();const _={workflowRunBackendId:v,workflowJobRunBackendId:T,idFilter:le.Int64Value.create({value:A.toString()})};const{artifacts:V}=yield C.ListArtifacts(_);if(V.length===0){throw new ue.ArtifactNotFoundError(`No artifacts found for ID: ${A}\nAre you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`)}if(V.length>1){re.warning("Multiple artifacts found, defaulting to first.")}const Z={workflowRunBackendId:V[0].workflowRunBackendId,workflowJobRunBackendId:V[0].workflowJobRunBackendId,name:V[0].name};const{signedUrl:ee}=yield C.GetSignedArtifactURL(Z);re.info(`Redirecting to blob download url: ${scrubQueryParameters(ee)}`);try{re.info(`Starting download of artifact to: ${p}`);const A=yield streamExtract(ee,p);re.info(`Artifact download completed successfully.`);if(d===null||d===void 0?void 0:d.expectedHash){if((d===null||d===void 0?void 0:d.expectedHash)!==A.sha256Digest){S=true;re.debug(`Computed digest: ${A.sha256Digest}`);re.debug(`Expected digest: ${d.expectedHash}`)}}}catch(A){throw new Error(`Unable to download and extract artifact: ${A.message}`)}return{downloadPath:p,digestMismatch:S}}))}function resolveOrCreateDirectory(){return T(this,arguments,void 0,(function*(A=(0,oe.getGitHubWorkspaceDir)()){if(!(yield exists(A))){re.debug(`Artifact destination folder does not exist, creating: ${A}`);yield V.default.mkdir(A,{recursive:true})}else{re.debug(`Artifact destination folder already exists: ${A}`)}return A}))}},7056:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getArtifactPublic=getArtifactPublic;d.getArtifactInternal=getArtifactInternal;const _=p(84903);const V=p(38957);const Z=v(p(16966));const ee=p(24523);const te=p(28012);const re=p(83909);const ne=p(16427);const ie=p(8052);const se=p(60716);const oe=p(47537);const ae=p(5228);function getArtifactPublic(A,d,p,C,S){return T(this,void 0,void 0,(function*(){var v;const[T,ne]=(0,te.getRetryOptions)(ee.defaults);const se={log:undefined,userAgent:(0,ie.getUserAgentString)(),previews:undefined,retry:T,request:ne};const oe=(0,_.getOctokit)(S,se,V.retry,re.requestLog);const le=yield oe.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:p,repo:C,run_id:d,name:A});if(le.status!==200){throw new ae.InvalidResponseError(`Invalid response from GitHub API: ${le.status} (${(v=le===null||le===void 0?void 0:le.headers)===null||v===void 0?void 0:v["x-github-request-id"]})`)}if(le.data.artifacts.length===0){throw new ae.ArtifactNotFoundError(`Artifact not found for name: ${A}\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 ce=le.data.artifacts[0];if(le.data.artifacts.length>1){ce=le.data.artifacts.sort(((A,d)=>d.id-A.id))[0];Z.debug(`More than one artifact found for a single name, returning newest (id: ${ce.id})`)}return{artifact:{name:ce.name,id:ce.id,size:ce.size_in_bytes,createdAt:ce.created_at?new Date(ce.created_at):undefined,digest:ce.digest}}}))}function getArtifactInternal(A){return T(this,void 0,void 0,(function*(){var d;const p=(0,se.internalArtifactTwirpClient)();const{workflowRunBackendId:C,workflowJobRunBackendId:S}=(0,ne.getBackendIdsFromToken)();const v={workflowRunBackendId:C,workflowJobRunBackendId:S,nameFilter:oe.StringValue.create({value:A})};const T=yield p.ListArtifacts(v);if(T.artifacts.length===0){throw new ae.ArtifactNotFoundError(`Artifact not found for name: ${A}\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 _=T.artifacts[0];if(T.artifacts.length>1){_=T.artifacts.sort(((A,d)=>Number(d.databaseId)-Number(A.databaseId)))[0];Z.debug(`More than one artifact found for a single name, returning newest (id: ${_.databaseId})`)}return{artifact:{name:_.name,id:Number(_.databaseId),size:Number(_.size),createdAt:_.createdAt?oe.Timestamp.toDate(_.createdAt):undefined,digest:(d=_.digest)===null||d===void 0?void 0:d.value}}}))}},30895:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.listArtifactsPublic=listArtifactsPublic;d.listArtifactsInternal=listArtifactsInternal;const S=p(16966);const v=p(84903);const T=p(8052);const _=p(28012);const V=p(24523);const Z=p(83909);const ee=p(38957);const te=p(60716);const re=p(16427);const ne=p(84361);const ie=p(47537);const se=(0,ne.getMaxArtifactListCount)();const oe=100;const ae=Math.ceil(se/oe);function listArtifactsPublic(A,d,p,te){return C(this,arguments,void 0,(function*(A,d,p,C,te=false){(0,S.info)(`Fetching artifact list for workflow run ${A} in repository ${d}/${p}`);let re=[];const[ne,ie]=(0,_.getRetryOptions)(V.defaults);const le={log:undefined,userAgent:(0,T.getUserAgentString)(),previews:undefined,retry:ne,request:ie};const ce=(0,v.getOctokit)(C,le,ee.retry,Z.requestLog);let ue=1;const{data:Ae}=yield ce.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:d,repo:p,run_id:A,per_page:oe,page:ue});let de=Math.ceil(Ae.total_count/oe);const pe=Ae.total_count;if(pe>se){(0,S.warning)(`Workflow run ${A} has ${pe} artifacts, exceeding the limit of ${se}. Results will be incomplete as only the first ${se} artifacts will be returned`);de=ae}for(const A of Ae.artifacts){re.push({name:A.name,id:A.id,size:A.size_in_bytes,createdAt:A.created_at?new Date(A.created_at):undefined,digest:A.digest})}ue++;for(ue;ue<=de;ue++){(0,S.debug)(`Fetching page ${ue} of artifact list`);const{data:C}=yield ce.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:d,repo:p,run_id:A,per_page:oe,page:ue});for(const A of C.artifacts){re.push({name:A.name,id:A.id,size:A.size_in_bytes,createdAt:A.created_at?new Date(A.created_at):undefined,digest:A.digest})}}if(te){re=filterLatest(re)}(0,S.info)(`Found ${re.length} artifact(s)`);return{artifacts:re}}))}function listArtifactsInternal(){return C(this,arguments,void 0,(function*(A=false){const d=(0,te.internalArtifactTwirpClient)();const{workflowRunBackendId:p,workflowJobRunBackendId:C}=(0,re.getBackendIdsFromToken)();const v={workflowRunBackendId:p,workflowJobRunBackendId:C};const T=yield d.ListArtifacts(v);let _=T.artifacts.map((A=>{var d;return{name:A.name,id:Number(A.databaseId),size:Number(A.size),createdAt:A.createdAt?ie.Timestamp.toDate(A.createdAt):undefined,digest:(d=A.digest)===null||d===void 0?void 0:d.value}}));if(A){_=filterLatest(_)}(0,S.info)(`Found ${_.length} artifact(s)`);return{artifacts:_}}))}function filterLatest(A){A.sort(((A,d)=>d.id-A.id));const d=[];const p=new Set;for(const C of A){if(!p.has(C.name)){d.push(C);p.add(C.name)}}return d}},28012:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();Object.defineProperty(d,"__esModule",{value:true});d.getRetryOptions=getRetryOptions;const T=v(p(16966));const _=5;const V=[400,401,403,404,422];function getRetryOptions(A,d=_,p=V){var C;if(d<=0){return[{enabled:false},A.request]}const S={enabled:true};if(p.length>0){S.doNotRetry=p}const v=Object.assign(Object.assign({},A.request),{retries:d});T.debug(`GitHub client configured with: (retries: ${v.retries}, retry-exempt-status-code: ${(C=S.doNotRetry)!==null&&C!==void 0?C:"octokit default: [400, 401, 403, 404, 422]"})`);return[S,v]}},60716:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.internalArtifactTwirpClient=internalArtifactTwirpClient;const S=p(21966);const v=p(19418);const T=p(16966);const _=p(47537);const V=p(84361);const Z=p(8052);const ee=p(5228);const te=p(16427);class ArtifactHttpClient{constructor(A,d,p,C){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const T=(0,V.getRuntimeToken)();this.baseUrl=(0,V.getResultsServiceUrl)();if(d){this.maxAttempts=d}if(p){this.baseRetryIntervalMilliseconds=p}if(C){this.retryMultiplier=C}this.httpClient=new S.HttpClient(A,[new v.BearerCredentialHandler(T)])}request(A,d,p,S){return C(this,void 0,void 0,(function*(){const v=new URL(`/twirp/${A}/${d}`,this.baseUrl).href;(0,T.debug)(`[Request] ${d} ${v}`);const _={"Content-Type":p};try{const{body:A}=yield this.retryableRequest((()=>C(this,void 0,void 0,(function*(){return this.httpClient.post(v,JSON.stringify(S),_)}))));return A}catch(A){throw new Error(`Failed to ${d}: ${A.message}`)}}))}retryableRequest(A){return C(this,void 0,void 0,(function*(){let d=0;let p="";let C="";while(d<this.maxAttempts){let S=false;try{const d=yield A();const v=d.message.statusCode;C=yield d.readBody();(0,T.debug)(`[Response] - ${d.message.statusCode}`);(0,T.debug)(`Headers: ${JSON.stringify(d.message.headers,null,2)}`);const _=JSON.parse(C);(0,te.maskSecretUrls)(_);(0,T.debug)(`Body: ${JSON.stringify(_,null,2)}`);if(this.isSuccessStatusCode(v)){return{response:d,body:_}}S=this.isRetryableHttpStatusCode(v);p=`Failed request: (${v}) ${d.message.statusMessage}`;if(_.msg){if(ee.UsageError.isUsageErrorMessage(_.msg)){throw new ee.UsageError}p=`${p}: ${_.msg}`}}catch(A){if(A instanceof SyntaxError){(0,T.debug)(`Raw Body: ${C}`)}if(A instanceof ee.UsageError){throw A}if(ee.NetworkError.isNetworkErrorCode(A===null||A===void 0?void 0:A.code)){throw new ee.NetworkError(A===null||A===void 0?void 0:A.code)}S=true;p=A.message}if(!S){throw new Error(`Received non-retryable error: ${p}`)}if(d+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${p}`)}const v=this.getExponentialRetryTimeMilliseconds(d);(0,T.info)(`Attempt ${d+1} of ${this.maxAttempts} failed with error: ${p}. Retrying request in ${v} ms...`);yield this.sleep(v);d++}throw new Error(`Request failed`)}))}isSuccessStatusCode(A){if(!A)return false;return A>=200&&A<300}isRetryableHttpStatusCode(A){if(!A)return false;const d=[S.HttpCodes.BadGateway,S.HttpCodes.GatewayTimeout,S.HttpCodes.InternalServerError,S.HttpCodes.ServiceUnavailable,S.HttpCodes.TooManyRequests];return d.includes(A)}sleep(A){return C(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,A)))}))}getExponentialRetryTimeMilliseconds(A){if(A<0){throw new Error("attempt should be a positive integer")}if(A===0){return this.baseRetryIntervalMilliseconds}const d=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,A);const p=d*this.retryMultiplier;return Math.trunc(Math.random()*(p-d)+d)}}function internalArtifactTwirpClient(A){const d=new ArtifactHttpClient((0,Z.getUserAgentString)(),A===null||A===void 0?void 0:A.maxAttempts,A===null||A===void 0?void 0:A.retryIntervalMs,A===null||A===void 0?void 0:A.retryMultiplier);return new _.ArtifactServiceClientJSON(d)}},84361:function(A,d,p){var C=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.getUploadChunkSize=getUploadChunkSize;d.getRuntimeToken=getRuntimeToken;d.getResultsServiceUrl=getResultsServiceUrl;d.isGhes=isGhes;d.getGitHubWorkspaceDir=getGitHubWorkspaceDir;d.getConcurrency=getConcurrency;d.getUploadChunkTimeout=getUploadChunkTimeout;d.getMaxArtifactListCount=getMaxArtifactListCount;const S=C(p(70857));const v=p(16966);function getUploadChunkSize(){return 8*1024*1024}function getRuntimeToken(){const A=process.env["ACTIONS_RUNTIME_TOKEN"];if(!A){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return A}function getResultsServiceUrl(){const A=process.env["ACTIONS_RESULTS_URL"];if(!A){throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable")}return new URL(A).origin}function isGhes(){const A=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const d=A.hostname.trimEnd().toUpperCase();const p=d==="GITHUB.COM";const C=d.endsWith(".GHE.COM");const S=d.endsWith(".LOCALHOST");return!p&&!C&&!S}function getGitHubWorkspaceDir(){const A=process.env["GITHUB_WORKSPACE"];if(!A){throw new Error("Unable to get the GITHUB_WORKSPACE env variable")}return A}function getConcurrency(){const A=S.default.cpus().length;let d=32;if(A>4){const p=16*A;d=p>300?300:p}const p=process.env["ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY"];if(p){const A=parseInt(p);if(isNaN(A)||A<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable")}if(A<d){(0,v.info)(`Set concurrency based on the value set in ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY.`);return A}(0,v.info)(`ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY is higher than the cap of ${d} based on the number of cpus. Set it to the maximum value allowed.`);return d}return 5}function getUploadChunkTimeout(){const A=process.env["ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS"];if(!A){return 3e5}const d=parseInt(A);if(isNaN(d)){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS env variable")}return d}function getMaxArtifactListCount(){const A=process.env["ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT"]||"1000";const d=parseInt(A);if(isNaN(d)||d<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT env variable")}return d}},5228:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.UsageError=d.NetworkError=d.GHESNotSupportedError=d.ArtifactNotFoundError=d.InvalidResponseError=d.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(A=[]){let d="No files were found to upload";if(A.length>0){d+=`: ${A.join(", ")}`}super(d);this.files=A;this.name="FilesNotFoundError"}}d.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(A){super(A);this.name="InvalidResponseError"}}d.InvalidResponseError=InvalidResponseError;class ArtifactNotFoundError extends Error{constructor(A="Artifact not found"){super(A);this.name="ArtifactNotFoundError"}}d.ArtifactNotFoundError=ArtifactNotFoundError;class GHESNotSupportedError extends Error{constructor(A="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(A);this.name="GHESNotSupportedError"}}d.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(A){const d=`Unable to make request: ${A}\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(d);this.code=A;this.name="NetworkError"}}d.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=A=>{if(!A)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(A)};class UsageError extends Error{constructor(){const A=`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(A);this.name="UsageError"}}d.UsageError=UsageError;UsageError.isUsageErrorMessage=A=>{if(!A)return false;return A.includes("insufficient usage")}},22663:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},8052:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentString=getUserAgentString;const C=p(39586);function getUserAgentString(){return`@actions/artifact-${C.version}`}},16427:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();var T=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.getBackendIdsFromToken=getBackendIdsFromToken;d.maskSigUrl=maskSigUrl;d.maskSecretUrls=maskSecretUrls;const _=v(p(16966));const V=p(84361);const Z=T(p(25724));const ee=p(16966);const te=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function getBackendIdsFromToken(){const A=(0,V.getRuntimeToken)();const d=(0,Z.default)(A);if(!d.scp){throw te}const p=d.scp.split(" ");if(p.length===0){throw te}for(const A of p){const d=A.split(":");if((d===null||d===void 0?void 0:d[0])!=="Actions.Results"){continue}if(d.length!==3){throw te}const p={workflowRunBackendId:d[1],workflowJobRunBackendId:d[2]};_.debug(`Workflow Run Backend ID: ${p.workflowRunBackendId}`);_.debug(`Workflow Job Run Backend ID: ${p.workflowJobRunBackendId}`);return p}throw te}function maskSigUrl(A){if(!A)return;try{const d=new URL(A);const p=d.searchParams.get("sig");if(p){(0,ee.setSecret)(p);(0,ee.setSecret)(encodeURIComponent(p))}}catch(d){(0,ee.debug)(`Failed to parse URL: ${A} ${d instanceof Error?d.message:String(d)}`)}}function maskSecretUrls(A){if(typeof A!=="object"||A===null){(0,ee.debug)("body is not an object or is null");return}if("signed_upload_url"in A&&typeof A.signed_upload_url==="string"){maskSigUrl(A.signed_upload_url)}if("signed_url"in A&&typeof A.signed_url==="string"){maskSigUrl(A.signed_url)}}},52092:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.uploadZipToBlobStorage=uploadZipToBlobStorage;const _=p(32917);const V=p(84361);const Z=v(p(16966));const ee=v(p(76982));const te=v(p(2203));const re=p(5228);function uploadZipToBlobStorage(A,d){return T(this,void 0,void 0,(function*(){let p=0;let C=Date.now();const S=new AbortController;const chunkTimer=A=>T(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{const v=setInterval((()=>{if(Date.now()-C>A){p(new Error("Upload progress stalled."))}}),A);S.signal.addEventListener("abort",(()=>{clearInterval(v);d()}))}))}));const v=(0,V.getConcurrency)();const ne=(0,V.getUploadChunkSize)();const ie=new _.BlobClient(A);const se=ie.getBlockBlobClient();Z.debug(`Uploading artifact zip to blob storage with maxConcurrency: ${v}, bufferSize: ${ne}`);const uploadCallback=A=>{Z.info(`Uploaded bytes ${A.loadedBytes}`);p=A.loadedBytes;C=Date.now()};const oe={blobHTTPHeaders:{blobContentType:"zip"},onProgress:uploadCallback,abortSignal:S.signal};let ae=undefined;const le=new te.PassThrough;const ce=ee.createHash("sha256");d.pipe(le);d.pipe(ce).setEncoding("hex");Z.info("Beginning upload of artifact content to blob storage");try{yield Promise.race([se.uploadStream(le,ne,v,oe),chunkTimer((0,V.getUploadChunkTimeout)())])}catch(A){if(re.NetworkError.isNetworkErrorCode(A===null||A===void 0?void 0:A.code)){throw new re.NetworkError(A===null||A===void 0?void 0:A.code)}throw A}finally{S.abort()}Z.info("Finished uploading artifact content to blob storage!");ce.end();ae=ce.read();Z.info(`SHA256 digest of uploaded artifact zip is ${ae}`);if(p===0){Z.warning(`No data was uploaded to blob storage. Reported upload byte count is 0.`)}return{uploadSize:p,sha256Hash:ae}}))}},98223:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.validateArtifactName=validateArtifactName;d.validateFilePath=validateFilePath;const C=p(16966);const S=new Map([['"',' Double quote "'],[":"," Colon :"],["<"," Less than <"],[">"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],["\n"," Line feed \\n"]]);const v=new Map([...S,["\\"," Backslash \\"],["/"," Forward slash /"]]);function validateArtifactName(A){if(!A){throw new Error(`Provided artifact name input during validation is empty`)}for(const[d,p]of v){if(A.includes(d)){throw new Error(`The artifact name is not valid: ${A}. Contains the following character: ${p}\n \nInvalid characters include: ${Array.from(v.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,C.info)(`Artifact name is valid!`)}function validateFilePath(A){if(!A){throw new Error(`Provided file path input during validation is empty`)}for(const[d,p]of S){if(A.includes(d)){throw new Error(`The path for one of the files in artifact is not valid: ${A}. Contains the following character: ${p}\n \nInvalid characters include: ${Array.from(S.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 `)}}}},26341:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();Object.defineProperty(d,"__esModule",{value:true});d.getExpiration=getExpiration;const T=p(47537);const _=v(p(16966));function getExpiration(A){if(!A){return undefined}const d=getRetentionDays();if(d&&d<A){_.warning(`Retention days cannot be greater than the maximum allowed retention set within the repository. Using ${d} instead.`);A=d}const p=new Date;p.setDate(p.getDate()+A);return T.Timestamp.fromDate(p)}function getRetentionDays(){const A=process.env["GITHUB_RETENTION_DAYS"];if(!A){return undefined}const d=parseInt(A);if(isNaN(d)){return undefined}return d}},92689:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.uploadArtifact=uploadArtifact;const _=v(p(16966));const V=p(26341);const Z=p(98223);const ee=p(60716);const te=p(1736);const re=p(16427);const ne=p(52092);const ie=p(1668);const se=p(47537);const oe=p(5228);function uploadArtifact(A,d,p,C){return T(this,void 0,void 0,(function*(){(0,Z.validateArtifactName)(A);(0,te.validateRootDirectory)(p);const S=(0,te.getUploadZipSpecification)(d,p);if(S.length===0){throw new oe.FilesNotFoundError(S.flatMap((A=>A.sourcePath?[A.sourcePath]:[])))}const v=(0,re.getBackendIdsFromToken)();const T=(0,ee.internalArtifactTwirpClient)();const ae={workflowRunBackendId:v.workflowRunBackendId,workflowJobRunBackendId:v.workflowJobRunBackendId,name:A,version:4};const le=(0,V.getExpiration)(C===null||C===void 0?void 0:C.retentionDays);if(le){ae.expiresAt=le}const ce=yield T.CreateArtifact(ae);if(!ce.ok){throw new oe.InvalidResponseError("CreateArtifact: response from backend was not ok")}const ue=yield(0,ie.createZipUploadStream)(S,C===null||C===void 0?void 0:C.compressionLevel);const Ae=yield(0,ne.uploadZipToBlobStorage)(ce.signedUploadUrl,ue);const de={workflowRunBackendId:v.workflowRunBackendId,workflowJobRunBackendId:v.workflowJobRunBackendId,name:A,size:Ae.uploadSize?Ae.uploadSize.toString():"0"};if(Ae.sha256Hash){de.hash=se.StringValue.create({value:`sha256:${Ae.sha256Hash}`})}_.info(`Finalizing artifact upload`);const pe=yield T.FinalizeArtifact(de);if(!pe.ok){throw new oe.InvalidResponseError("FinalizeArtifact: response from backend was not ok")}const fe=BigInt(pe.artifactId);_.info(`Artifact ${A}.zip successfully finalized. Artifact ID ${fe}`);return{size:Ae.uploadSize,digest:Ae.sha256Hash,id:Number(fe)}}))}},1736:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();Object.defineProperty(d,"__esModule",{value:true});d.validateRootDirectory=validateRootDirectory;d.getUploadZipSpecification=getUploadZipSpecification;const T=v(p(79896));const _=p(16966);const V=p(16928);const Z=p(98223);function validateRootDirectory(A){if(!T.existsSync(A)){throw new Error(`The provided rootDirectory ${A} does not exist`)}if(!T.statSync(A).isDirectory()){throw new Error(`The provided rootDirectory ${A} is not a valid directory`)}(0,_.info)(`Root directory input is valid!`)}function getUploadZipSpecification(A,d){const p=[];d=(0,V.normalize)(d);d=(0,V.resolve)(d);for(let C of A){const A=T.lstatSync(C,{throwIfNoEntry:false});if(!A){throw new Error(`File ${C} does not exist`)}if(!A.isDirectory()){C=(0,V.normalize)(C);C=(0,V.resolve)(C);if(!C.startsWith(d)){throw new Error(`The rootDirectory: ${d} is not a parent directory of the file: ${C}`)}const S=C.replace(d,"");(0,Z.validateFilePath)(S);p.push({sourcePath:C,destinationPath:S,stats:A})}else{const S=C.replace(d,"");(0,Z.validateFilePath)(S);p.push({sourcePath:null,destinationPath:S,stats:A})}}return p}},1668:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(){var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};return function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),v=0;v<p.length;v++)if(p[v]!=="default")C(d,A,p[v]);S(d,A);return d}}();var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ZipUploadStream=d.DEFAULT_COMPRESSION_LEVEL=void 0;d.createZipUploadStream=createZipUploadStream;const _=v(p(2203));const V=p(91943);const Z=v(p(72709));const ee=v(p(16966));const te=p(84361);d.DEFAULT_COMPRESSION_LEVEL=6;class ZipUploadStream extends _.Transform{constructor(A){super({highWaterMark:A})}_transform(A,d,p){p(null,A)}}d.ZipUploadStream=ZipUploadStream;function createZipUploadStream(A){return T(this,arguments,void 0,(function*(A,p=d.DEFAULT_COMPRESSION_LEVEL){ee.debug(`Creating Artifact archive with compressionLevel: ${p}`);const C=Z.create("zip",{highWaterMark:(0,te.getUploadChunkSize)(),zlib:{level:p}});C.on("error",zipErrorCallback);C.on("warning",zipWarningCallback);C.on("finish",zipFinishCallback);C.on("end",zipEndCallback);for(const d of A){if(d.sourcePath!==null){let A=d.sourcePath;if(d.stats.isSymbolicLink()){A=yield(0,V.realpath)(d.sourcePath)}C.file(A,{name:d.destinationPath})}else{C.append("",{name:d.destinationPath})}}const S=(0,te.getUploadChunkSize)();const v=new ZipUploadStream(S);ee.debug(`Zip write high watermark value ${v.writableHighWaterMark}`);ee.debug(`Zip read high watermark value ${v.readableHighWaterMark}`);C.pipe(v);C.finalize();return v}))}const zipErrorCallback=A=>{ee.error("An error has occurred while creating the zip file for upload");ee.info(A);throw new Error("An error has occurred during zip creation for the artifact")};const zipWarningCallback=A=>{if(A.code==="ENOENT"){ee.warning("ENOENT warning during artifact zip creation. No such file or directory");ee.info(A)}else{ee.warning(`A non-blocking warning has occurred during artifact zip creation: ${A.code}`);ee.info(A)}};const zipFinishCallback=()=>{ee.debug("Zip stream for upload has finished.")};const zipEndCallback=()=>{ee.debug("Zip stream for upload has ended.")}},44568:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.issue=d.issueCommand=void 0;const T=v(p(70857));const _=p(36924);function issueCommand(A,d,p){const C=new Command(A,d,p);process.stdout.write(C.toString()+T.EOL)}d.issueCommand=issueCommand;function issue(A,d=""){issueCommand(A,{},d)}d.issue=issue;const V="::";class Command{constructor(A,d,p){if(!A){A="missing.command"}this.command=A;this.properties=d;this.message=p}toString(){let A=V+this.command;if(this.properties&&Object.keys(this.properties).length>0){A+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const C=this.properties[p];if(C){if(d){d=false}else{A+=","}A+=`${p}=${escapeProperty(C)}`}}}}A+=`${V}${escapeData(this.message)}`;return A}}function escapeData(A){return(0,_.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(A){return(0,_.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},16966:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.platform=d.toPlatformPath=d.toWin32Path=d.toPosixPath=d.markdownSummary=d.summary=d.getIDToken=d.getState=d.saveState=d.group=d.endGroup=d.startGroup=d.info=d.notice=d.warning=d.error=d.debug=d.isDebug=d.setFailed=d.setCommandEcho=d.setOutput=d.getBooleanInput=d.getMultilineInput=d.getInput=d.addPath=d.setSecret=d.exportVariable=d.ExitCode=void 0;const _=p(44568);const V=p(2751);const Z=p(36924);const ee=v(p(70857));const te=v(p(16928));const re=p(8492);var ne;(function(A){A[A["Success"]=0]="Success";A[A["Failure"]=1]="Failure"})(ne||(d.ExitCode=ne={}));function exportVariable(A,d){const p=(0,Z.toCommandValue)(d);process.env[A]=p;const C=process.env["GITHUB_ENV"]||"";if(C){return(0,V.issueFileCommand)("ENV",(0,V.prepareKeyValueMessage)(A,d))}(0,_.issueCommand)("set-env",{name:A},p)}d.exportVariable=exportVariable;function setSecret(A){(0,_.issueCommand)("add-mask",{},A)}d.setSecret=setSecret;function addPath(A){const d=process.env["GITHUB_PATH"]||"";if(d){(0,V.issueFileCommand)("PATH",A)}else{(0,_.issueCommand)("add-path",{},A)}process.env["PATH"]=`${A}${te.delimiter}${process.env["PATH"]}`}d.addPath=addPath;function getInput(A,d){const p=process.env[`INPUT_${A.replace(/ /g,"_").toUpperCase()}`]||"";if(d&&d.required&&!p){throw new Error(`Input required and not supplied: ${A}`)}if(d&&d.trimWhitespace===false){return p}return p.trim()}d.getInput=getInput;function getMultilineInput(A,d){const p=getInput(A,d).split("\n").filter((A=>A!==""));if(d&&d.trimWhitespace===false){return p}return p.map((A=>A.trim()))}d.getMultilineInput=getMultilineInput;function getBooleanInput(A,d){const p=["true","True","TRUE"];const C=["false","False","FALSE"];const S=getInput(A,d);if(p.includes(S))return true;if(C.includes(S))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${A}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}d.getBooleanInput=getBooleanInput;function setOutput(A,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,V.issueFileCommand)("OUTPUT",(0,V.prepareKeyValueMessage)(A,d))}process.stdout.write(ee.EOL);(0,_.issueCommand)("set-output",{name:A},(0,Z.toCommandValue)(d))}d.setOutput=setOutput;function setCommandEcho(A){(0,_.issue)("echo",A?"on":"off")}d.setCommandEcho=setCommandEcho;function setFailed(A){process.exitCode=ne.Failure;error(A)}d.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}d.isDebug=isDebug;function debug(A){(0,_.issueCommand)("debug",{},A)}d.debug=debug;function error(A,d={}){(0,_.issueCommand)("error",(0,Z.toCommandProperties)(d),A instanceof Error?A.toString():A)}d.error=error;function warning(A,d={}){(0,_.issueCommand)("warning",(0,Z.toCommandProperties)(d),A instanceof Error?A.toString():A)}d.warning=warning;function notice(A,d={}){(0,_.issueCommand)("notice",(0,Z.toCommandProperties)(d),A instanceof Error?A.toString():A)}d.notice=notice;function info(A){process.stdout.write(A+ee.EOL)}d.info=info;function startGroup(A){(0,_.issue)("group",A)}d.startGroup=startGroup;function endGroup(){(0,_.issue)("endgroup")}d.endGroup=endGroup;function group(A,d){return T(this,void 0,void 0,(function*(){startGroup(A);let p;try{p=yield d()}finally{endGroup()}return p}))}d.group=group;function saveState(A,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,V.issueFileCommand)("STATE",(0,V.prepareKeyValueMessage)(A,d))}(0,_.issueCommand)("save-state",{name:A},(0,Z.toCommandValue)(d))}d.saveState=saveState;function getState(A){return process.env[`STATE_${A}`]||""}d.getState=getState;function getIDToken(A){return T(this,void 0,void 0,(function*(){return yield re.OidcClient.getIDToken(A)}))}d.getIDToken=getIDToken;var ie=p(92905);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ie.summary}});var se=p(92905);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return se.markdownSummary}});var oe=p(71746);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return oe.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return oe.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return oe.toPlatformPath}});d.platform=v(p(39866))},2751:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.prepareKeyValueMessage=d.issueFileCommand=void 0;const T=v(p(76982));const _=v(p(79896));const V=v(p(70857));const Z=p(36924);function issueFileCommand(A,d){const p=process.env[`GITHUB_${A}`];if(!p){throw new Error(`Unable to find environment variable for file command ${A}`)}if(!_.existsSync(p)){throw new Error(`Missing file at path: ${p}`)}_.appendFileSync(p,`${(0,Z.toCommandValue)(d)}${V.EOL}`,{encoding:"utf8"})}d.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(A,d){const p=`ghadelimiter_${T.randomUUID()}`;const C=(0,Z.toCommandValue)(d);if(A.includes(p)){throw new Error(`Unexpected input: name should not contain the delimiter "${p}"`)}if(C.includes(p)){throw new Error(`Unexpected input: value should not contain the delimiter "${p}"`)}return`${A}<<${p}${V.EOL}${C}${V.EOL}${p}`}d.prepareKeyValueMessage=prepareKeyValueMessage},8492:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.OidcClient=void 0;const S=p(21966);const v=p(19418);const T=p(16966);class OidcClient{static createHttpClient(A=true,d=10){const p={allowRetries:A,maxRetries:d};return new S.HttpClient("actions/oidc-client",[new v.BearerCredentialHandler(OidcClient.getRequestToken())],p)}static getRequestToken(){const A=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!A){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return A}static getIDTokenUrl(){const A=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!A){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return A}static getCall(A){var d;return C(this,void 0,void 0,(function*(){const p=OidcClient.createHttpClient();const C=yield p.getJson(A).catch((A=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${A.statusCode}\n \n Error Message: ${A.message}`)}));const S=(d=C.result)===null||d===void 0?void 0:d.value;if(!S){throw new Error("Response json body do not have ID Token field")}return S}))}static getIDToken(A){return C(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(A){const p=encodeURIComponent(A);d=`${d}&audience=${p}`}(0,T.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,T.setSecret)(p);return p}catch(A){throw new Error(`Error message: ${A.message}`)}}))}}d.OidcClient=OidcClient},71746:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.toPlatformPath=d.toWin32Path=d.toPosixPath=void 0;const T=v(p(16928));function toPosixPath(A){return A.replace(/[\\]/g,"/")}d.toPosixPath=toPosixPath;function toWin32Path(A){return A.replace(/[/]/g,"\\")}d.toWin32Path=toWin32Path;function toPlatformPath(A){return A.replace(/[/\\]/g,T.sep)}d.toPlatformPath=toPlatformPath},39866:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};var _=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.getDetails=d.isLinux=d.isMacOS=d.isWindows=d.arch=d.platform=void 0;const V=_(p(70857));const Z=v(p(92851));const getWindowsInfo=()=>T(void 0,void 0,void 0,(function*(){const{stdout:A}=yield Z.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield Z.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:A.trim()}}));const getMacOsInfo=()=>T(void 0,void 0,void 0,(function*(){var A,d,p,C;const{stdout:S}=yield Z.getExecOutput("sw_vers",undefined,{silent:true});const v=(d=(A=S.match(/ProductVersion:\s*(.+)/))===null||A===void 0?void 0:A[1])!==null&&d!==void 0?d:"";const T=(C=(p=S.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&C!==void 0?C:"";return{name:T,version:v}}));const getLinuxInfo=()=>T(void 0,void 0,void 0,(function*(){const{stdout:A}=yield Z.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=A.trim().split("\n");return{name:d,version:p}}));d.platform=V.default.platform();d.arch=V.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return T(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}d.getDetails=getDetails},92905:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const S=p(70857);const v=p(79896);const{access:T,appendFile:_,writeFile:V}=v.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 C(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const A=process.env[d.SUMMARY_ENV_VAR];if(!A){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield T(A,v.constants.R_OK|v.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${A}'. Check if the file has correct read/write permissions.`)}this._filePath=A;return this._filePath}))}wrap(A,d,p={}){const C=Object.entries(p).map((([A,d])=>` ${A}="${d}"`)).join("");if(!d){return`<${A}${C}>`}return`<${A}${C}>${d}</${A}>`}write(A){return C(this,void 0,void 0,(function*(){const d=!!(A===null||A===void 0?void 0:A.overwrite);const p=yield this.filePath();const C=d?V:_;yield C(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return C(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(A,d=false){this._buffer+=A;return d?this.addEOL():this}addEOL(){return this.addRaw(S.EOL)}addCodeBlock(A,d){const p=Object.assign({},d&&{lang:d});const C=this.wrap("pre",this.wrap("code",A),p);return this.addRaw(C).addEOL()}addList(A,d=false){const p=d?"ol":"ul";const C=A.map((A=>this.wrap("li",A))).join("");const S=this.wrap(p,C);return this.addRaw(S).addEOL()}addTable(A){const d=A.map((A=>{const d=A.map((A=>{if(typeof A==="string"){return this.wrap("td",A)}const{header:d,data:p,colspan:C,rowspan:S}=A;const v=d?"th":"td";const T=Object.assign(Object.assign({},C&&{colspan:C}),S&&{rowspan:S});return this.wrap(v,p,T)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(A,d){const p=this.wrap("details",this.wrap("summary",A)+d);return this.addRaw(p).addEOL()}addImage(A,d,p){const{width:C,height:S}=p||{};const v=Object.assign(Object.assign({},C&&{width:C}),S&&{height:S});const T=this.wrap("img",null,Object.assign({src:A,alt:d},v));return this.addRaw(T).addEOL()}addHeading(A,d){const p=`h${d}`;const C=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const S=this.wrap(C,A);return this.addRaw(S).addEOL()}addSeparator(){const A=this.wrap("hr",null);return this.addRaw(A).addEOL()}addBreak(){const A=this.wrap("br",null);return this.addRaw(A).addEOL()}addQuote(A,d){const p=Object.assign({},d&&{cite:d});const C=this.wrap("blockquote",A,p);return this.addRaw(C).addEOL()}addLink(A,d){const p=this.wrap("a",A,{href:d});return this.addRaw(p).addEOL()}}const Z=new Summary;d.markdownSummary=Z;d.summary=Z},36924:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandProperties=d.toCommandValue=void 0;function toCommandValue(A){if(A===null||A===undefined){return""}else if(typeof A==="string"||A instanceof String){return A}return JSON.stringify(A)}d.toCommandValue=toCommandValue;function toCommandProperties(A){if(!Object.keys(A).length){return{}}return{title:A.title,file:A.file,line:A.startLine,endLine:A.endLine,col:A.startColumn,endColumn:A.endColumn}}d.toCommandProperties=toCommandProperties},92851:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;Object.defineProperty(A,C,{enumerable:true,get:function(){return d[p]}})}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getExecOutput=d.exec=void 0;const _=p(13193);const V=v(p(39390));function exec(A,d,p){return T(this,void 0,void 0,(function*(){const C=V.argStringToArray(A);if(C.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const S=C[0];d=C.slice(1).concat(d||[]);const v=new V.ToolRunner(S,d,p);return v.exec()}))}d.exec=exec;function getExecOutput(A,d,p){var C,S;return T(this,void 0,void 0,(function*(){let v="";let T="";const V=new _.StringDecoder("utf8");const Z=new _.StringDecoder("utf8");const ee=(C=p===null||p===void 0?void 0:p.listeners)===null||C===void 0?void 0:C.stdout;const te=(S=p===null||p===void 0?void 0:p.listeners)===null||S===void 0?void 0:S.stderr;const stdErrListener=A=>{T+=Z.write(A);if(te){te(A)}};const stdOutListener=A=>{v+=V.write(A);if(ee){ee(A)}};const re=Object.assign(Object.assign({},p===null||p===void 0?void 0:p.listeners),{stdout:stdOutListener,stderr:stdErrListener});const ne=yield exec(A,d,Object.assign(Object.assign({},p),{listeners:re}));v+=V.end();T+=Z.end();return{exitCode:ne,stdout:v,stderr:T}}))}d.getExecOutput=getExecOutput},39390:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;Object.defineProperty(A,C,{enumerable:true,get:function(){return d[p]}})}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.argStringToArray=d.ToolRunner=void 0;const _=v(p(70857));const V=v(p(24434));const Z=v(p(35317));const ee=v(p(16928));const te=v(p(60378));const re=v(p(80527));const ne=p(53557);const ie=process.platform==="win32";class ToolRunner extends V.EventEmitter{constructor(A,d,p){super();if(!A){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=A;this.args=d||[];this.options=p||{}}_debug(A){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(A)}}_getCommandString(A,d){const p=this._getSpawnFileName();const C=this._getSpawnArgs(A);let S=d?"":"[command]";if(ie){if(this._isCmdFile()){S+=p;for(const A of C){S+=` ${A}`}}else if(A.windowsVerbatimArguments){S+=`"${p}"`;for(const A of C){S+=` ${A}`}}else{S+=this._windowsQuoteCmdArg(p);for(const A of C){S+=` ${this._windowsQuoteCmdArg(A)}`}}}else{S+=p;for(const A of C){S+=` ${A}`}}return S}_processLineBuffer(A,d,p){try{let C=d+A.toString();let S=C.indexOf(_.EOL);while(S>-1){const A=C.substring(0,S);p(A);C=C.substring(S+_.EOL.length);S=C.indexOf(_.EOL)}return C}catch(A){this._debug(`error processing line. Failed with error ${A}`);return""}}_getSpawnFileName(){if(ie){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(A){if(ie){if(this._isCmdFile()){let d=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const p of this.args){d+=" ";d+=A.windowsVerbatimArguments?p:this._windowsQuoteCmdArg(p)}d+='"';return[d]}}return this.args}_endsWith(A,d){return A.endsWith(d)}_isCmdFile(){const A=this.toolPath.toUpperCase();return this._endsWith(A,".CMD")||this._endsWith(A,".BAT")}_windowsQuoteCmdArg(A){if(!this._isCmdFile()){return this._uvQuoteCmdArg(A)}if(!A){return'""'}const d=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let p=false;for(const C of A){if(d.some((A=>A===C))){p=true;break}}if(!p){return A}let C='"';let S=true;for(let d=A.length;d>0;d--){C+=A[d-1];if(S&&A[d-1]==="\\"){C+="\\"}else if(A[d-1]==='"'){S=true;C+='"'}else{S=false}}C+='"';return C.split("").reverse().join("")}_uvQuoteCmdArg(A){if(!A){return'""'}if(!A.includes(" ")&&!A.includes("\t")&&!A.includes('"')){return A}if(!A.includes('"')&&!A.includes("\\")){return`"${A}"`}let d='"';let p=true;for(let C=A.length;C>0;C--){d+=A[C-1];if(p&&A[C-1]==="\\"){d+="\\"}else if(A[C-1]==='"'){p=true;d+="\\"}else{p=false}}d+='"';return d.split("").reverse().join("")}_cloneExecOptions(A){A=A||{};const d={cwd:A.cwd||process.cwd(),env:A.env||process.env,silent:A.silent||false,windowsVerbatimArguments:A.windowsVerbatimArguments||false,failOnStdErr:A.failOnStdErr||false,ignoreReturnCode:A.ignoreReturnCode||false,delay:A.delay||1e4};d.outStream=A.outStream||process.stdout;d.errStream=A.errStream||process.stderr;return d}_getSpawnOptions(A,d){A=A||{};const p={};p.cwd=A.cwd;p.env=A.env;p["windowsVerbatimArguments"]=A.windowsVerbatimArguments||this._isCmdFile();if(A.windowsVerbatimArguments){p.argv0=`"${d}"`}return p}exec(){return T(this,void 0,void 0,(function*(){if(!re.isRooted(this.toolPath)&&(this.toolPath.includes("/")||ie&&this.toolPath.includes("\\"))){this.toolPath=ee.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield te.which(this.toolPath,true);return new Promise(((A,d)=>T(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const A of this.args){this._debug(` ${A}`)}const p=this._cloneExecOptions(this.options);if(!p.silent&&p.outStream){p.outStream.write(this._getCommandString(p)+_.EOL)}const C=new ExecState(p,this.toolPath);C.on("debug",(A=>{this._debug(A)}));if(this.options.cwd&&!(yield re.exists(this.options.cwd))){return d(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const S=this._getSpawnFileName();const v=Z.spawn(S,this._getSpawnArgs(p),this._getSpawnOptions(this.options,S));let T="";if(v.stdout){v.stdout.on("data",(A=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(A)}if(!p.silent&&p.outStream){p.outStream.write(A)}T=this._processLineBuffer(A,T,(A=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(A)}}))}))}let V="";if(v.stderr){v.stderr.on("data",(A=>{C.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(A)}if(!p.silent&&p.errStream&&p.outStream){const d=p.failOnStdErr?p.errStream:p.outStream;d.write(A)}V=this._processLineBuffer(A,V,(A=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(A)}}))}))}v.on("error",(A=>{C.processError=A.message;C.processExited=true;C.processClosed=true;C.CheckComplete()}));v.on("exit",(A=>{C.processExitCode=A;C.processExited=true;this._debug(`Exit code ${A} received from tool '${this.toolPath}'`);C.CheckComplete()}));v.on("close",(A=>{C.processExitCode=A;C.processExited=true;C.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);C.CheckComplete()}));C.on("done",((p,C)=>{if(T.length>0){this.emit("stdline",T)}if(V.length>0){this.emit("errline",V)}v.removeAllListeners();if(p){d(p)}else{A(C)}}));if(this.options.input){if(!v.stdin){throw new Error("child process missing stdin")}v.stdin.end(this.options.input)}}))))}))}}d.ToolRunner=ToolRunner;function argStringToArray(A){const d=[];let p=false;let C=false;let S="";function append(A){if(C&&A!=='"'){S+="\\"}S+=A;C=false}for(let v=0;v<A.length;v++){const T=A.charAt(v);if(T==='"'){if(!C){p=!p}else{append(T)}continue}if(T==="\\"&&C){append(T);continue}if(T==="\\"&&p){C=true;continue}if(T===" "&&!p){if(S.length>0){d.push(S);S=""}continue}append(T)}if(S.length>0){d.push(S.trim())}return d}d.argStringToArray=argStringToArray;class ExecState extends V.EventEmitter{constructor(A,d){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(!d){throw new Error("toolPath must not be empty")}this.options=A;this.toolPath=d;if(A.delay){this.delay=A.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=ne.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(A){this.emit("debug",A)}_setResult(){let A;if(this.processExited){if(this.processError){A=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){A=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){A=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",A,this.processExitCode)}static HandleTimeout(A){if(A.done){return}if(!A.processClosed&&A.processExited){const d=`The STDIO streams did not close within ${A.delay/1e3} seconds of the exit event from process '${A.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;A._debug(d)}A._setResult()}}},83077:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Context=void 0;const C=p(79896);const S=p(70857);class Context{constructor(){var A,d,p;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,C.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,C.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const A=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${A} does not exist${S.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=(A=process.env.GITHUB_API_URL)!==null&&A!==void 0?A:`https://api.github.com`;this.serverUrl=(d=process.env.GITHUB_SERVER_URL)!==null&&d!==void 0?d:`https://github.com`;this.graphqlUrl=(p=process.env.GITHUB_GRAPHQL_URL)!==null&&p!==void 0?p:`https://api.github.com/graphql`}get issue(){const A=this.payload;return Object.assign(Object.assign({},this.repo),{number:(A.issue||A.pull_request||A).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[A,d]=process.env.GITHUB_REPOSITORY.split("/");return{owner:A,repo:d}}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'")}}d.Context=Context},84903:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.getOctokit=d.context=void 0;const T=v(p(83077));const _=p(24523);d.context=new T.Context;function getOctokit(A,d,...p){const C=_.GitHub.plugin(...p);return new C((0,_.getOctokitOptions)(A,d))}d.getOctokit=getOctokit},28399:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getApiBaseUrl=d.getProxyFetch=d.getProxyAgentDispatcher=d.getProxyAgent=d.getAuthString=void 0;const _=v(p(21966));const V=p(76017);function getAuthString(A,d){if(!A&&!d.auth){throw new Error("Parameter token or opts.auth is required")}else if(A&&d.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof d.auth==="string"?d.auth:`token ${A}`}d.getAuthString=getAuthString;function getProxyAgent(A){const d=new _.HttpClient;return d.getAgent(A)}d.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(A){const d=new _.HttpClient;return d.getAgentDispatcher(A)}d.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(A){const d=getProxyAgentDispatcher(A);const proxyFetch=(A,p)=>T(this,void 0,void 0,(function*(){return(0,V.fetch)(A,Object.assign(Object.assign({},p),{dispatcher:d}))}));return proxyFetch}d.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}d.getApiBaseUrl=getApiBaseUrl},24523:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.getOctokitOptions=d.GitHub=d.defaults=d.context=void 0;const T=v(p(83077));const _=v(p(28399));const V=p(11772);const Z=p(66316);const ee=p(68633);d.context=new T.Context;const te=_.getApiBaseUrl();d.defaults={baseUrl:te,request:{agent:_.getProxyAgent(te),fetch:_.getProxyFetch(te)}};d.GitHub=V.Octokit.plugin(Z.restEndpointMethods,ee.paginateRest).defaults(d.defaults);function getOctokitOptions(A,d){const p=Object.assign({},d||{});const C=_.getAuthString(A,p);if(C){p.auth=C}return p}d.getOctokitOptions=getOctokitOptions},19418:function(A,d){var p=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.PersonalAccessTokenCredentialHandler=d.BearerCredentialHandler=d.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(A,d){this.username=A;this.password=d}prepareRequest(A){if(!A.headers){throw Error("The request has no headers")}A.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(A){this.token=A}prepareRequest(A){if(!A.headers){throw Error("The request has no headers")}A.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(A){this.token=A}prepareRequest(A){if(!A.headers){throw Error("The request has no headers")}A.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},21966:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.HttpClient=d.isHttps=d.HttpClientResponse=d.HttpClientError=d.getProxyUrl=d.MediaTypes=d.Headers=d.HttpCodes=void 0;const _=v(p(58611));const V=v(p(65692));const Z=v(p(56474));const ee=v(p(30329));const te=p(76017);var re;(function(A){A[A["OK"]=200]="OK";A[A["MultipleChoices"]=300]="MultipleChoices";A[A["MovedPermanently"]=301]="MovedPermanently";A[A["ResourceMoved"]=302]="ResourceMoved";A[A["SeeOther"]=303]="SeeOther";A[A["NotModified"]=304]="NotModified";A[A["UseProxy"]=305]="UseProxy";A[A["SwitchProxy"]=306]="SwitchProxy";A[A["TemporaryRedirect"]=307]="TemporaryRedirect";A[A["PermanentRedirect"]=308]="PermanentRedirect";A[A["BadRequest"]=400]="BadRequest";A[A["Unauthorized"]=401]="Unauthorized";A[A["PaymentRequired"]=402]="PaymentRequired";A[A["Forbidden"]=403]="Forbidden";A[A["NotFound"]=404]="NotFound";A[A["MethodNotAllowed"]=405]="MethodNotAllowed";A[A["NotAcceptable"]=406]="NotAcceptable";A[A["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";A[A["RequestTimeout"]=408]="RequestTimeout";A[A["Conflict"]=409]="Conflict";A[A["Gone"]=410]="Gone";A[A["TooManyRequests"]=429]="TooManyRequests";A[A["InternalServerError"]=500]="InternalServerError";A[A["NotImplemented"]=501]="NotImplemented";A[A["BadGateway"]=502]="BadGateway";A[A["ServiceUnavailable"]=503]="ServiceUnavailable";A[A["GatewayTimeout"]=504]="GatewayTimeout"})(re||(d.HttpCodes=re={}));var ne;(function(A){A["Accept"]="accept";A["ContentType"]="content-type"})(ne||(d.Headers=ne={}));var ie;(function(A){A["ApplicationJson"]="application/json"})(ie||(d.MediaTypes=ie={}));function getProxyUrl(A){const d=Z.getProxyUrl(new URL(A));return d?d.href:""}d.getProxyUrl=getProxyUrl;const se=[re.MovedPermanently,re.ResourceMoved,re.SeeOther,re.TemporaryRedirect,re.PermanentRedirect];const oe=[re.BadGateway,re.ServiceUnavailable,re.GatewayTimeout];const ae=["OPTIONS","GET","DELETE","HEAD"];const le=10;const ce=5;class HttpClientError extends Error{constructor(A,d){super(A);this.name="HttpClientError";this.statusCode=d;Object.setPrototypeOf(this,HttpClientError.prototype)}}d.HttpClientError=HttpClientError;class HttpClientResponse{constructor(A){this.message=A}readBody(){return T(this,void 0,void 0,(function*(){return new Promise((A=>T(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(A=>{d=Buffer.concat([d,A])}));this.message.on("end",(()=>{A(d.toString())}))}))))}))}readBodyBuffer(){return T(this,void 0,void 0,(function*(){return new Promise((A=>T(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(A=>{d.push(A)}));this.message.on("end",(()=>{A(Buffer.concat(d))}))}))))}))}}d.HttpClientResponse=HttpClientResponse;function isHttps(A){const d=new URL(A);return d.protocol==="https:"}d.isHttps=isHttps;class HttpClient{constructor(A,d,p){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=A;this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(A,d){return T(this,void 0,void 0,(function*(){return this.request("OPTIONS",A,null,d||{})}))}get(A,d){return T(this,void 0,void 0,(function*(){return this.request("GET",A,null,d||{})}))}del(A,d){return T(this,void 0,void 0,(function*(){return this.request("DELETE",A,null,d||{})}))}post(A,d,p){return T(this,void 0,void 0,(function*(){return this.request("POST",A,d,p||{})}))}patch(A,d,p){return T(this,void 0,void 0,(function*(){return this.request("PATCH",A,d,p||{})}))}put(A,d,p){return T(this,void 0,void 0,(function*(){return this.request("PUT",A,d,p||{})}))}head(A,d){return T(this,void 0,void 0,(function*(){return this.request("HEAD",A,null,d||{})}))}sendStream(A,d,p,C){return T(this,void 0,void 0,(function*(){return this.request(A,d,p,C)}))}getJson(A,d={}){return T(this,void 0,void 0,(function*(){d[ne.Accept]=this._getExistingOrDefaultHeader(d,ne.Accept,ie.ApplicationJson);const p=yield this.get(A,d);return this._processResponse(p,this.requestOptions)}))}postJson(A,d,p={}){return T(this,void 0,void 0,(function*(){const C=JSON.stringify(d,null,2);p[ne.Accept]=this._getExistingOrDefaultHeader(p,ne.Accept,ie.ApplicationJson);p[ne.ContentType]=this._getExistingOrDefaultHeader(p,ne.ContentType,ie.ApplicationJson);const S=yield this.post(A,C,p);return this._processResponse(S,this.requestOptions)}))}putJson(A,d,p={}){return T(this,void 0,void 0,(function*(){const C=JSON.stringify(d,null,2);p[ne.Accept]=this._getExistingOrDefaultHeader(p,ne.Accept,ie.ApplicationJson);p[ne.ContentType]=this._getExistingOrDefaultHeader(p,ne.ContentType,ie.ApplicationJson);const S=yield this.put(A,C,p);return this._processResponse(S,this.requestOptions)}))}patchJson(A,d,p={}){return T(this,void 0,void 0,(function*(){const C=JSON.stringify(d,null,2);p[ne.Accept]=this._getExistingOrDefaultHeader(p,ne.Accept,ie.ApplicationJson);p[ne.ContentType]=this._getExistingOrDefaultHeader(p,ne.ContentType,ie.ApplicationJson);const S=yield this.patch(A,C,p);return this._processResponse(S,this.requestOptions)}))}request(A,d,p,C){return T(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const S=new URL(d);let v=this._prepareRequest(A,S,C);const T=this._allowRetries&&ae.includes(A)?this._maxRetries+1:1;let _=0;let V;do{V=yield this.requestRaw(v,p);if(V&&V.message&&V.message.statusCode===re.Unauthorized){let A;for(const d of this.handlers){if(d.canHandleAuthentication(V)){A=d;break}}if(A){return A.handleAuthentication(this,v,p)}else{return V}}let d=this._maxRedirects;while(V.message.statusCode&&se.includes(V.message.statusCode)&&this._allowRedirects&&d>0){const T=V.message.headers["location"];if(!T){break}const _=new URL(T);if(S.protocol==="https:"&&S.protocol!==_.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 V.readBody();if(_.hostname!==S.hostname){for(const A in C){if(A.toLowerCase()==="authorization"){delete C[A]}}}v=this._prepareRequest(A,_,C);V=yield this.requestRaw(v,p);d--}if(!V.message.statusCode||!oe.includes(V.message.statusCode)){return V}_+=1;if(_<T){yield V.readBody();yield this._performExponentialBackoff(_)}}while(_<T);return V}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(A,d){return T(this,void 0,void 0,(function*(){return new Promise(((p,C)=>{function callbackForResult(A,d){if(A){C(A)}else if(!d){C(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(A,d,callbackForResult)}))}))}requestRawWithCallback(A,d,p){if(typeof d==="string"){if(!A.options.headers){A.options.headers={}}A.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let C=false;function handleResult(A,d){if(!C){C=true;p(A,d)}}const S=A.httpModule.request(A.options,(A=>{const d=new HttpClientResponse(A);handleResult(undefined,d)}));let v;S.on("socket",(A=>{v=A}));S.setTimeout(this._socketTimeout||3*6e4,(()=>{if(v){v.end()}handleResult(new Error(`Request timeout: ${A.options.path}`))}));S.on("error",(function(A){handleResult(A)}));if(d&&typeof d==="string"){S.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){S.end()}));d.pipe(S)}else{S.end()}}getAgent(A){const d=new URL(A);return this._getAgent(d)}getAgentDispatcher(A){const d=new URL(A);const p=Z.getProxyUrl(d);const C=p&&p.hostname;if(!C){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(A,d,p){const C={};C.parsedUrl=d;const S=C.parsedUrl.protocol==="https:";C.httpModule=S?V:_;const v=S?443:80;C.options={};C.options.host=C.parsedUrl.hostname;C.options.port=C.parsedUrl.port?parseInt(C.parsedUrl.port):v;C.options.path=(C.parsedUrl.pathname||"")+(C.parsedUrl.search||"");C.options.method=A;C.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){C.options.headers["user-agent"]=this.userAgent}C.options.agent=this._getAgent(C.parsedUrl);if(this.handlers){for(const A of this.handlers){A.prepareRequest(C.options)}}return C}_mergeHeaders(A){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(A||{}))}return lowercaseKeys(A||{})}_getExistingOrDefaultHeader(A,d,p){let C;if(this.requestOptions&&this.requestOptions.headers){C=lowercaseKeys(this.requestOptions.headers)[d]}return A[d]||C||p}_getAgent(A){let d;const p=Z.getProxyUrl(A);const C=p&&p.hostname;if(this._keepAlive&&C){d=this._proxyAgent}if(!C){d=this._agent}if(d){return d}const S=A.protocol==="https:";let v=100;if(this.requestOptions){v=this.requestOptions.maxSockets||_.globalAgent.maxSockets}if(p&&p.hostname){const A={maxSockets:v,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let C;const T=p.protocol==="https:";if(S){C=T?ee.httpsOverHttps:ee.httpsOverHttp}else{C=T?ee.httpOverHttps:ee.httpOverHttp}d=C(A);this._proxyAgent=d}if(!d){const A={keepAlive:this._keepAlive,maxSockets:v};d=S?new V.Agent(A):new _.Agent(A);this._agent=d}if(S&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(A,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const C=A.protocol==="https:";p=new te.ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`Basic ${Buffer.from(`${d.username}:${d.password}`).toString("base64")}`}));this._proxyAgentDispatcher=p;if(C&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_performExponentialBackoff(A){return T(this,void 0,void 0,(function*(){A=Math.min(le,A);const d=ce*Math.pow(2,A);return new Promise((A=>setTimeout((()=>A()),d)))}))}_processResponse(A,d){return T(this,void 0,void 0,(function*(){return new Promise(((p,C)=>T(this,void 0,void 0,(function*(){const S=A.message.statusCode||0;const v={statusCode:S,result:null,headers:{}};if(S===re.NotFound){p(v)}function dateTimeDeserializer(A,d){if(typeof d==="string"){const A=new Date(d);if(!isNaN(A.valueOf())){return A}}return d}let T;let _;try{_=yield A.readBody();if(_&&_.length>0){if(d&&d.deserializeDates){T=JSON.parse(_,dateTimeDeserializer)}else{T=JSON.parse(_)}v.result=T}v.headers=A.message.headers}catch(A){}if(S>299){let A;if(T&&T.message){A=T.message}else if(_&&_.length>0){A=_}else{A=`Failed request: (${S})`}const d=new HttpClientError(A,S);d.result=v.result;C(d)}else{p(v)}}))))}))}}d.HttpClient=HttpClient;const lowercaseKeys=A=>Object.keys(A).reduce(((d,p)=>(d[p.toLowerCase()]=A[p],d)),{})},56474:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.checkBypass=d.getProxyUrl=void 0;function getProxyUrl(A){const d=A.protocol==="https:";if(checkBypass(A)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new DecodedURL(p)}catch(A){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new DecodedURL(`http://${p}`)}}else{return undefined}}d.getProxyUrl=getProxyUrl;function checkBypass(A){if(!A.hostname){return false}const d=A.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let C;if(A.port){C=Number(A.port)}else if(A.protocol==="http:"){C=80}else if(A.protocol==="https:"){C=443}const S=[A.hostname.toUpperCase()];if(typeof C==="number"){S.push(`${S[0]}:${C}`)}for(const A of p.split(",").map((A=>A.trim().toUpperCase())).filter((A=>A))){if(A==="*"||S.some((d=>d===A||d.endsWith(`.${A}`)||A.startsWith(".")&&d.endsWith(`${A}`)))){return true}}return false}d.checkBypass=checkBypass;function isLoopbackAddress(A){const d=A.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(A,d){super(A,d);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},80527:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;Object.defineProperty(A,C,{enumerable:true,get:function(){return d[p]}})}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};var _;Object.defineProperty(d,"__esModule",{value:true});d.getCmdPath=d.tryGetExecutablePath=d.isRooted=d.isDirectory=d.exists=d.READONLY=d.UV_FS_O_EXLOCK=d.IS_WINDOWS=d.unlink=d.symlink=d.stat=d.rmdir=d.rm=d.rename=d.readlink=d.readdir=d.open=d.mkdir=d.lstat=d.copyFile=d.chmod=void 0;const V=v(p(79896));const Z=v(p(16928));_=V.promises,d.chmod=_.chmod,d.copyFile=_.copyFile,d.lstat=_.lstat,d.mkdir=_.mkdir,d.open=_.open,d.readdir=_.readdir,d.readlink=_.readlink,d.rename=_.rename,d.rm=_.rm,d.rmdir=_.rmdir,d.stat=_.stat,d.symlink=_.symlink,d.unlink=_.unlink;d.IS_WINDOWS=process.platform==="win32";d.UV_FS_O_EXLOCK=268435456;d.READONLY=V.constants.O_RDONLY;function exists(A){return T(this,void 0,void 0,(function*(){try{yield d.stat(A)}catch(A){if(A.code==="ENOENT"){return false}throw A}return true}))}d.exists=exists;function isDirectory(A,p=false){return T(this,void 0,void 0,(function*(){const C=p?yield d.stat(A):yield d.lstat(A);return C.isDirectory()}))}d.isDirectory=isDirectory;function isRooted(A){A=normalizeSeparators(A);if(!A){throw new Error('isRooted() parameter "p" cannot be empty')}if(d.IS_WINDOWS){return A.startsWith("\\")||/^[A-Z]:/i.test(A)}return A.startsWith("/")}d.isRooted=isRooted;function tryGetExecutablePath(A,p){return T(this,void 0,void 0,(function*(){let C=undefined;try{C=yield d.stat(A)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${A}': ${d}`)}}if(C&&C.isFile()){if(d.IS_WINDOWS){const d=Z.extname(A).toUpperCase();if(p.some((A=>A.toUpperCase()===d))){return A}}else{if(isUnixExecutable(C)){return A}}}const S=A;for(const v of p){A=S+v;C=undefined;try{C=yield d.stat(A)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${A}': ${d}`)}}if(C&&C.isFile()){if(d.IS_WINDOWS){try{const p=Z.dirname(A);const C=Z.basename(A).toUpperCase();for(const S of yield d.readdir(p)){if(C===S.toUpperCase()){A=Z.join(p,S);break}}}catch(d){console.log(`Unexpected error attempting to determine the actual case of the file '${A}': ${d}`)}return A}else{if(isUnixExecutable(C)){return A}}}}return""}))}d.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(A){A=A||"";if(d.IS_WINDOWS){A=A.replace(/\//g,"\\");return A.replace(/\\\\+/g,"\\")}return A.replace(/\/\/+/g,"/")}function isUnixExecutable(A){return(A.mode&1)>0||(A.mode&8)>0&&A.gid===process.getgid()||(A.mode&64)>0&&A.uid===process.getuid()}function getCmdPath(){var A;return(A=process.env["COMSPEC"])!==null&&A!==void 0?A:`cmd.exe`}d.getCmdPath=getCmdPath},60378:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;Object.defineProperty(A,C,{enumerable:true,get:function(){return d[p]}})}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.findInPath=d.which=d.mkdirP=d.rmRF=d.mv=d.cp=void 0;const _=p(42613);const V=v(p(16928));const Z=v(p(80527));function cp(A,d,p={}){return T(this,void 0,void 0,(function*(){const{force:C,recursive:S,copySourceDirectory:v}=readCopyOptions(p);const T=(yield Z.exists(d))?yield Z.stat(d):null;if(T&&T.isFile()&&!C){return}const _=T&&T.isDirectory()&&v?V.join(d,V.basename(A)):d;if(!(yield Z.exists(A))){throw new Error(`no such file or directory: ${A}`)}const ee=yield Z.stat(A);if(ee.isDirectory()){if(!S){throw new Error(`Failed to copy. ${A} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(A,_,0,C)}}else{if(V.relative(A,_)===""){throw new Error(`'${_}' and '${A}' are the same file`)}yield copyFile(A,_,C)}}))}d.cp=cp;function mv(A,d,p={}){return T(this,void 0,void 0,(function*(){if(yield Z.exists(d)){let C=true;if(yield Z.isDirectory(d)){d=V.join(d,V.basename(A));C=yield Z.exists(d)}if(C){if(p.force==null||p.force){yield rmRF(d)}else{throw new Error("Destination already exists")}}}yield mkdirP(V.dirname(d));yield Z.rename(A,d)}))}d.mv=mv;function rmRF(A){return T(this,void 0,void 0,(function*(){if(Z.IS_WINDOWS){if(/[*"<>|]/.test(A)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield Z.rm(A,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(A){throw new Error(`File was unable to be removed ${A}`)}}))}d.rmRF=rmRF;function mkdirP(A){return T(this,void 0,void 0,(function*(){_.ok(A,"a path argument must be provided");yield Z.mkdir(A,{recursive:true})}))}d.mkdirP=mkdirP;function which(A,d){return T(this,void 0,void 0,(function*(){if(!A){throw new Error("parameter 'tool' is required")}if(d){const d=yield which(A,false);if(!d){if(Z.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${A}. 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: ${A}. 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 d}const p=yield findInPath(A);if(p&&p.length>0){return p[0]}return""}))}d.which=which;function findInPath(A){return T(this,void 0,void 0,(function*(){if(!A){throw new Error("parameter 'tool' is required")}const d=[];if(Z.IS_WINDOWS&&process.env["PATHEXT"]){for(const A of process.env["PATHEXT"].split(V.delimiter)){if(A){d.push(A)}}}if(Z.isRooted(A)){const p=yield Z.tryGetExecutablePath(A,d);if(p){return[p]}return[]}if(A.includes(V.sep)){return[]}const p=[];if(process.env.PATH){for(const A of process.env.PATH.split(V.delimiter)){if(A){p.push(A)}}}const C=[];for(const S of p){const p=yield Z.tryGetExecutablePath(V.join(S,A),d);if(p){C.push(p)}}return C}))}d.findInPath=findInPath;function readCopyOptions(A){const d=A.force==null?true:A.force;const p=Boolean(A.recursive);const C=A.copySourceDirectory==null?true:Boolean(A.copySourceDirectory);return{force:d,recursive:p,copySourceDirectory:C}}function cpDirRecursive(A,d,p,C){return T(this,void 0,void 0,(function*(){if(p>=255)return;p++;yield mkdirP(d);const S=yield Z.readdir(A);for(const v of S){const S=`${A}/${v}`;const T=`${d}/${v}`;const _=yield Z.lstat(S);if(_.isDirectory()){yield cpDirRecursive(S,T,p,C)}else{yield copyFile(S,T,C)}}yield Z.chmod(d,(yield Z.stat(A)).mode)}))}function copyFile(A,d,p){return T(this,void 0,void 0,(function*(){if((yield Z.lstat(A)).isSymbolicLink()){try{yield Z.lstat(d);yield Z.unlink(d)}catch(A){if(A.code==="EPERM"){yield Z.chmod(d,"0666");yield Z.unlink(d)}}const p=yield Z.readlink(A);yield Z.symlink(p,d,Z.IS_WINDOWS?"junction":null)}else if(!(yield Z.exists(d))||p){yield Z.copyFile(A,d)}}))}},63250:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createFileSystemAdapter=d.FILE_SYSTEM_ADAPTER=void 0;const C=p(79896);d.FILE_SYSTEM_ADAPTER={lstat:C.lstat,stat:C.stat,lstatSync:C.lstatSync,statSync:C.statSync,readdir:C.readdir,readdirSync:C.readdirSync};function createFileSystemAdapter(A){if(A===undefined){return d.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},d.FILE_SYSTEM_ADAPTER),A)}d.createFileSystemAdapter=createFileSystemAdapter},64541:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const p=process.versions.node.split(".");if(p[0]===undefined||p[1]===undefined){throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`)}const C=Number.parseInt(p[0],10);const S=Number.parseInt(p[1],10);const v=10;const T=10;const _=C>v;const V=C===v&&S>=T;d.IS_SUPPORT_READDIR_WITH_FILE_TYPES=_||V},9096:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Settings=d.scandirSync=d.scandir=void 0;const C=p(69389);const S=p(72574);const v=p(62695);d.Settings=v.default;function scandir(A,d,p){if(typeof d==="function"){C.read(A,getSettings(),d);return}C.read(A,getSettings(d),p)}d.scandir=scandir;function scandirSync(A,d){const p=getSettings(d);return S.read(A,p)}d.scandirSync=scandirSync;function getSettings(A={}){if(A instanceof v.default){return A}return new v.default(A)}},69389:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readdir=d.readdirWithFileTypes=d.read=void 0;const C=p(61113);const S=p(67710);const v=p(64541);const T=p(85418);const _=p(77404);function read(A,d,p){if(!d.stats&&v.IS_SUPPORT_READDIR_WITH_FILE_TYPES){readdirWithFileTypes(A,d,p);return}readdir(A,d,p)}d.read=read;function readdirWithFileTypes(A,d,p){d.fs.readdir(A,{withFileTypes:true},((C,v)=>{if(C!==null){callFailureCallback(p,C);return}const T=v.map((p=>({dirent:p,name:p.name,path:_.joinPathSegments(A,p.name,d.pathSegmentSeparator)})));if(!d.followSymbolicLinks){callSuccessCallback(p,T);return}const V=T.map((A=>makeRplTaskEntry(A,d)));S(V,((A,d)=>{if(A!==null){callFailureCallback(p,A);return}callSuccessCallback(p,d)}))}))}d.readdirWithFileTypes=readdirWithFileTypes;function makeRplTaskEntry(A,d){return p=>{if(!A.dirent.isSymbolicLink()){p(null,A);return}d.fs.stat(A.path,((C,S)=>{if(C!==null){if(d.throwErrorOnBrokenSymbolicLink){p(C);return}p(null,A);return}A.dirent=T.fs.createDirentFromStats(A.name,S);p(null,A)}))}}function readdir(A,d,p){d.fs.readdir(A,((v,V)=>{if(v!==null){callFailureCallback(p,v);return}const Z=V.map((p=>{const S=_.joinPathSegments(A,p,d.pathSegmentSeparator);return A=>{C.stat(S,d.fsStatSettings,((C,v)=>{if(C!==null){A(C);return}const _={name:p,path:S,dirent:T.fs.createDirentFromStats(p,v)};if(d.stats){_.stats=v}A(null,_)}))}}));S(Z,((A,d)=>{if(A!==null){callFailureCallback(p,A);return}callSuccessCallback(p,d)}))}))}d.readdir=readdir;function callFailureCallback(A,d){A(d)}function callSuccessCallback(A,d){A(null,d)}},77404:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.joinPathSegments=void 0;function joinPathSegments(A,d,p){if(A.endsWith(p)){return A+d}return A+p+d}d.joinPathSegments=joinPathSegments},72574:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readdir=d.readdirWithFileTypes=d.read=void 0;const C=p(61113);const S=p(64541);const v=p(85418);const T=p(77404);function read(A,d){if(!d.stats&&S.IS_SUPPORT_READDIR_WITH_FILE_TYPES){return readdirWithFileTypes(A,d)}return readdir(A,d)}d.read=read;function readdirWithFileTypes(A,d){const p=d.fs.readdirSync(A,{withFileTypes:true});return p.map((p=>{const C={dirent:p,name:p.name,path:T.joinPathSegments(A,p.name,d.pathSegmentSeparator)};if(C.dirent.isSymbolicLink()&&d.followSymbolicLinks){try{const A=d.fs.statSync(C.path);C.dirent=v.fs.createDirentFromStats(C.name,A)}catch(A){if(d.throwErrorOnBrokenSymbolicLink){throw A}}}return C}))}d.readdirWithFileTypes=readdirWithFileTypes;function readdir(A,d){const p=d.fs.readdirSync(A);return p.map((p=>{const S=T.joinPathSegments(A,p,d.pathSegmentSeparator);const _=C.statSync(S,d.fsStatSettings);const V={name:p,path:S,dirent:v.fs.createDirentFromStats(p,_)};if(d.stats){V.stats=_}return V}))}d.readdir=readdir},62695:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(16928);const S=p(61113);const v=p(63250);class Settings{constructor(A={}){this._options=A;this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,false);this.fs=v.createFileSystemAdapter(this._options.fs);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,C.sep);this.stats=this._getValue(this._options.stats,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true);this.fsStatSettings=new S.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(A,d){return A!==null&&A!==void 0?A:d}}d["default"]=Settings},79531:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDirentFromStats=void 0;class DirentFromStats{constructor(A,d){this.name=A;this.isBlockDevice=d.isBlockDevice.bind(d);this.isCharacterDevice=d.isCharacterDevice.bind(d);this.isDirectory=d.isDirectory.bind(d);this.isFIFO=d.isFIFO.bind(d);this.isFile=d.isFile.bind(d);this.isSocket=d.isSocket.bind(d);this.isSymbolicLink=d.isSymbolicLink.bind(d)}}function createDirentFromStats(A,d){return new DirentFromStats(A,d)}d.createDirentFromStats=createDirentFromStats},85418:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.fs=void 0;const C=p(79531);d.fs=C},84491:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createFileSystemAdapter=d.FILE_SYSTEM_ADAPTER=void 0;const C=p(79896);d.FILE_SYSTEM_ADAPTER={lstat:C.lstat,stat:C.stat,lstatSync:C.lstatSync,statSync:C.statSync};function createFileSystemAdapter(A){if(A===undefined){return d.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},d.FILE_SYSTEM_ADAPTER),A)}d.createFileSystemAdapter=createFileSystemAdapter},61113:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.statSync=d.stat=d.Settings=void 0;const C=p(10224);const S=p(46385);const v=p(60052);d.Settings=v.default;function stat(A,d,p){if(typeof d==="function"){C.read(A,getSettings(),d);return}C.read(A,getSettings(d),p)}d.stat=stat;function statSync(A,d){const p=getSettings(d);return S.read(A,p)}d.statSync=statSync;function getSettings(A={}){if(A instanceof v.default){return A}return new v.default(A)}},10224:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.read=void 0;function read(A,d,p){d.fs.lstat(A,((C,S)=>{if(C!==null){callFailureCallback(p,C);return}if(!S.isSymbolicLink()||!d.followSymbolicLink){callSuccessCallback(p,S);return}d.fs.stat(A,((A,C)=>{if(A!==null){if(d.throwErrorOnBrokenSymbolicLink){callFailureCallback(p,A);return}callSuccessCallback(p,S);return}if(d.markSymbolicLink){C.isSymbolicLink=()=>true}callSuccessCallback(p,C)}))}))}d.read=read;function callFailureCallback(A,d){A(d)}function callSuccessCallback(A,d){A(null,d)}},46385:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.read=void 0;function read(A,d){const p=d.fs.lstatSync(A);if(!p.isSymbolicLink()||!d.followSymbolicLink){return p}try{const p=d.fs.statSync(A);if(d.markSymbolicLink){p.isSymbolicLink=()=>true}return p}catch(A){if(!d.throwErrorOnBrokenSymbolicLink){return p}throw A}}d.read=read},60052:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(84491);class Settings{constructor(A={}){this._options=A;this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,true);this.fs=C.createFileSystemAdapter(this._options.fs);this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true)}_getValue(A,d){return A!==null&&A!==void 0?A:d}}d["default"]=Settings},77669:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Settings=d.walkStream=d.walkSync=d.walk=void 0;const C=p(20228);const S=p(41254);const v=p(67885);const T=p(40328);d.Settings=T.default;function walk(A,d,p){if(typeof d==="function"){new C.default(A,getSettings()).read(d);return}new C.default(A,getSettings(d)).read(p)}d.walk=walk;function walkSync(A,d){const p=getSettings(d);const C=new v.default(A,p);return C.read()}d.walkSync=walkSync;function walkStream(A,d){const p=getSettings(d);const C=new S.default(A,p);return C.read()}d.walkStream=walkStream;function getSettings(A={}){if(A instanceof T.default){return A}return new T.default(A)}},20228:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(60750);class AsyncProvider{constructor(A,d){this._root=A;this._settings=d;this._reader=new C.default(this._root,this._settings);this._storage=[]}read(A){this._reader.onError((d=>{callFailureCallback(A,d)}));this._reader.onEntry((A=>{this._storage.push(A)}));this._reader.onEnd((()=>{callSuccessCallback(A,this._storage)}));this._reader.read()}}d["default"]=AsyncProvider;function callFailureCallback(A,d){A(d)}function callSuccessCallback(A,d){A(null,d)}},41254:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(2203);const S=p(60750);class StreamProvider{constructor(A,d){this._root=A;this._settings=d;this._reader=new S.default(this._root,this._settings);this._stream=new C.Readable({objectMode:true,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed){this._reader.destroy()}}})}read(){this._reader.onError((A=>{this._stream.emit("error",A)}));this._reader.onEntry((A=>{this._stream.push(A)}));this._reader.onEnd((()=>{this._stream.push(null)}));this._reader.read();return this._stream}}d["default"]=StreamProvider},67885:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(75835);class SyncProvider{constructor(A,d){this._root=A;this._settings=d;this._reader=new C.default(this._root,this._settings)}read(){return this._reader.read()}}d["default"]=SyncProvider},60750:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(24434);const S=p(9096);const v=p(59702);const T=p(43285);const _=p(3747);class AsyncReader extends _.default{constructor(A,d){super(A,d);this._settings=d;this._scandir=S.scandir;this._emitter=new C.EventEmitter;this._queue=v(this._worker.bind(this),this._settings.concurrency);this._isFatalError=false;this._isDestroyed=false;this._queue.drain=()=>{if(!this._isFatalError){this._emitter.emit("end")}}}read(){this._isFatalError=false;this._isDestroyed=false;setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)}));return this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed){throw new Error("The reader is already destroyed")}this._isDestroyed=true;this._queue.killAndDrain()}onEntry(A){this._emitter.on("entry",A)}onError(A){this._emitter.once("error",A)}onEnd(A){this._emitter.once("end",A)}_pushToQueue(A,d){const p={directory:A,base:d};this._queue.push(p,(A=>{if(A!==null){this._handleError(A)}}))}_worker(A,d){this._scandir(A.directory,this._settings.fsScandirSettings,((p,C)=>{if(p!==null){d(p,undefined);return}for(const d of C){this._handleEntry(d,A.base)}d(null,undefined)}))}_handleError(A){if(this._isDestroyed||!T.isFatalError(this._settings,A)){return}this._isFatalError=true;this._isDestroyed=true;this._emitter.emit("error",A)}_handleEntry(A,d){if(this._isDestroyed||this._isFatalError){return}const p=A.path;if(d!==undefined){A.path=T.joinPathSegments(d,A.name,this._settings.pathSegmentSeparator)}if(T.isAppliedFilter(this._settings.entryFilter,A)){this._emitEntry(A)}if(A.dirent.isDirectory()&&T.isAppliedFilter(this._settings.deepFilter,A)){this._pushToQueue(p,d===undefined?undefined:A.path)}}_emitEntry(A){this._emitter.emit("entry",A)}}d["default"]=AsyncReader},43285:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.joinPathSegments=d.replacePathSegmentSeparator=d.isAppliedFilter=d.isFatalError=void 0;function isFatalError(A,d){if(A.errorFilter===null){return true}return!A.errorFilter(d)}d.isFatalError=isFatalError;function isAppliedFilter(A,d){return A===null||A(d)}d.isAppliedFilter=isAppliedFilter;function replacePathSegmentSeparator(A,d){return A.split(/[/\\]/).join(d)}d.replacePathSegmentSeparator=replacePathSegmentSeparator;function joinPathSegments(A,d,p){if(A===""){return d}if(A.endsWith(p)){return A+d}return A+p+d}d.joinPathSegments=joinPathSegments},3747:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(43285);class Reader{constructor(A,d){this._root=A;this._settings=d;this._root=C.replacePathSegmentSeparator(A,d.pathSegmentSeparator)}}d["default"]=Reader},75835:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(9096);const S=p(43285);const v=p(3747);class SyncReader extends v.default{constructor(){super(...arguments);this._scandir=C.scandirSync;this._storage=[];this._queue=new Set}read(){this._pushToQueue(this._root,this._settings.basePath);this._handleQueue();return this._storage}_pushToQueue(A,d){this._queue.add({directory:A,base:d})}_handleQueue(){for(const A of this._queue.values()){this._handleDirectory(A.directory,A.base)}}_handleDirectory(A,d){try{const p=this._scandir(A,this._settings.fsScandirSettings);for(const A of p){this._handleEntry(A,d)}}catch(A){this._handleError(A)}}_handleError(A){if(!S.isFatalError(this._settings,A)){return}throw A}_handleEntry(A,d){const p=A.path;if(d!==undefined){A.path=S.joinPathSegments(d,A.name,this._settings.pathSegmentSeparator)}if(S.isAppliedFilter(this._settings.entryFilter,A)){this._pushToStorage(A)}if(A.dirent.isDirectory()&&S.isAppliedFilter(this._settings.deepFilter,A)){this._pushToQueue(p,d===undefined?undefined:A.path)}}_pushToStorage(A){this._storage.push(A)}}d["default"]=SyncReader},40328:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(16928);const S=p(9096);class Settings{constructor(A={}){this._options=A;this.basePath=this._getValue(this._options.basePath,undefined);this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY);this.deepFilter=this._getValue(this._options.deepFilter,null);this.entryFilter=this._getValue(this._options.entryFilter,null);this.errorFilter=this._getValue(this._options.errorFilter,null);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,C.sep);this.fsScandirSettings=new S.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(A,d){return A!==null&&A!==void 0?A:d}}d["default"]=Settings},20703:A=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(A,p)=>{for(var C in p)d(A,C,{get:p[C],enumerable:true})};var __copyProps=(A,v,T,_)=>{if(v&&typeof v==="object"||typeof v==="function"){for(let V of C(v))if(!S.call(A,V)&&V!==T)d(A,V,{get:()=>v[V],enumerable:!(_=p(v,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(d({},"__esModule",{value:true}),A);var v={};__export(v,{createTokenAuth:()=>Z});A.exports=__toCommonJS(v);var T=/^v1\./;var _=/^ghs_/;var V=/^ghu_/;async function auth(A){const d=A.split(/\./).length===3;const p=T.test(A)||_.test(A);const C=V.test(A);const S=d?"app":p?"installation":C?"user-to-server":"oauth";return{type:"token",token:A,tokenType:S}}function withAuthorizationPrefix(A){if(A.split(/\./).length===3){return`bearer ${A}`}return`token ${A}`}async function hook(A,d,p,C){const S=d.endpoint.merge(p,C);S.headers.authorization=withAuthorizationPrefix(A);return d(S)}var Z=function createTokenAuth2(A){if(!A){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof A!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}A=A.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,A),{hook:hook.bind(null,A)})};0&&0},11772:(A,d,p)=>{var C=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var __export=(A,d)=>{for(var p in d)C(A,p,{get:d[p],enumerable:true})};var __copyProps=(A,d,p,_)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let V of v(d))if(!T.call(A,V)&&V!==p)C(A,V,{get:()=>d[V],enumerable:!(_=S(d,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(C({},"__esModule",{value:true}),A);var _={};__export(_,{Octokit:()=>ae});A.exports=__toCommonJS(_);var V=p(16678);var Z=p(43128);var ee=p(61124);var te=p(82218);var re=p(20703);var ne="5.2.2";var noop=()=>{};var ie=console.warn.bind(console);var se=console.error.bind(console);function createLogger(A={}){if(typeof A.debug!=="function"){A.debug=noop}if(typeof A.info!=="function"){A.info=noop}if(typeof A.warn!=="function"){A.warn=ie}if(typeof A.error!=="function"){A.error=se}return A}var oe=`octokit-core.js/${ne} ${(0,V.getUserAgent)()}`;var ae=class{static{this.VERSION=ne}static defaults(A){const d=class extends(this){constructor(...d){const p=d[0]||{};if(typeof A==="function"){super(A(p));return}super(Object.assign({},A,p,p.userAgent&&A.userAgent?{userAgent:`${p.userAgent} ${A.userAgent}`}:null))}};return d}static{this.plugins=[]}static plugin(...A){const d=this.plugins;const p=class extends(this){static{this.plugins=d.concat(A.filter((A=>!d.includes(A))))}};return p}constructor(A={}){const d=new Z.Collection;const p={baseUrl:ee.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},A.request,{hook:d.bind(null,"request")}),mediaType:{previews:[],format:""}};p.headers["user-agent"]=A.userAgent?`${A.userAgent} ${oe}`:oe;if(A.baseUrl){p.baseUrl=A.baseUrl}if(A.previews){p.mediaType.previews=A.previews}if(A.timeZone){p.headers["time-zone"]=A.timeZone}this.request=ee.request.defaults(p);this.graphql=(0,te.withCustomRequest)(this.request).defaults(p);this.log=createLogger(A.log);this.hook=d;if(!A.authStrategy){if(!A.auth){this.auth=async()=>({type:"unauthenticated"})}else{const p=(0,re.createTokenAuth)(A.auth);d.wrap("request",p.hook);this.auth=p}}else{const{authStrategy:p,...C}=A;const S=p(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:C},A.auth));d.wrap("request",S.hook);this.auth=S}const C=this.constructor;for(let d=0;d<C.plugins.length;++d){Object.assign(this,C.plugins[d](this,A))}}};0&&0},77006:(A,d,p)=>{var C=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var __export=(A,d)=>{for(var p in d)C(A,p,{get:d[p],enumerable:true})};var __copyProps=(A,d,p,_)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let V of v(d))if(!T.call(A,V)&&V!==p)C(A,V,{get:()=>d[V],enumerable:!(_=S(d,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(C({},"__esModule",{value:true}),A);var _={};__export(_,{endpoint:()=>ne});A.exports=__toCommonJS(_);var V=p(16678);var Z="9.0.6";var ee=`octokit-endpoint.js/${Z} ${(0,V.getUserAgent)()}`;var te={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":ee},mediaType:{format:""}};function lowercaseKeys(A){if(!A){return{}}return Object.keys(A).reduce(((d,p)=>{d[p.toLowerCase()]=A[p];return d}),{})}function isPlainObject(A){if(typeof A!=="object"||A===null)return false;if(Object.prototype.toString.call(A)!=="[object Object]")return false;const d=Object.getPrototypeOf(A);if(d===null)return true;const p=Object.prototype.hasOwnProperty.call(d,"constructor")&&d.constructor;return typeof p==="function"&&p instanceof p&&Function.prototype.call(p)===Function.prototype.call(A)}function mergeDeep(A,d){const p=Object.assign({},A);Object.keys(d).forEach((C=>{if(isPlainObject(d[C])){if(!(C in A))Object.assign(p,{[C]:d[C]});else p[C]=mergeDeep(A[C],d[C])}else{Object.assign(p,{[C]:d[C]})}}));return p}function removeUndefinedProperties(A){for(const d in A){if(A[d]===void 0){delete A[d]}}return A}function merge(A,d,p){if(typeof d==="string"){let[A,C]=d.split(" ");p=Object.assign(C?{method:A,url:C}:{url:A},p)}else{p=Object.assign({},d)}p.headers=lowercaseKeys(p.headers);removeUndefinedProperties(p);removeUndefinedProperties(p.headers);const C=mergeDeep(A||{},p);if(p.url==="/graphql"){if(A&&A.mediaType.previews?.length){C.mediaType.previews=A.mediaType.previews.filter((A=>!C.mediaType.previews.includes(A))).concat(C.mediaType.previews)}C.mediaType.previews=(C.mediaType.previews||[]).map((A=>A.replace(/-preview/,"")))}return C}function addQueryParameters(A,d){const p=/\?/.test(A)?"&":"?";const C=Object.keys(d);if(C.length===0){return A}return A+p+C.map((A=>{if(A==="q"){return"q="+d.q.split("+").map(encodeURIComponent).join("+")}return`${A}=${encodeURIComponent(d[A])}`})).join("&")}var re=/\{[^{}}]+\}/g;function removeNonChars(A){return A.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}function extractUrlVariableNames(A){const d=A.match(re);if(!d){return[]}return d.map(removeNonChars).reduce(((A,d)=>A.concat(d)),[])}function omit(A,d){const p={__proto__:null};for(const C of Object.keys(A)){if(d.indexOf(C)===-1){p[C]=A[C]}}return p}function encodeReserved(A){return A.split(/(%[0-9A-Fa-f]{2})/g).map((function(A){if(!/%[0-9A-Fa-f]/.test(A)){A=encodeURI(A).replace(/%5B/g,"[").replace(/%5D/g,"]")}return A})).join("")}function encodeUnreserved(A){return encodeURIComponent(A).replace(/[!'()*]/g,(function(A){return"%"+A.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(A,d,p){d=A==="+"||A==="#"?encodeReserved(d):encodeUnreserved(d);if(p){return encodeUnreserved(p)+"="+d}else{return d}}function isDefined(A){return A!==void 0&&A!==null}function isKeyOperator(A){return A===";"||A==="&"||A==="?"}function getValues(A,d,p,C){var S=A[p],v=[];if(isDefined(S)&&S!==""){if(typeof S==="string"||typeof S==="number"||typeof S==="boolean"){S=S.toString();if(C&&C!=="*"){S=S.substring(0,parseInt(C,10))}v.push(encodeValue(d,S,isKeyOperator(d)?p:""))}else{if(C==="*"){if(Array.isArray(S)){S.filter(isDefined).forEach((function(A){v.push(encodeValue(d,A,isKeyOperator(d)?p:""))}))}else{Object.keys(S).forEach((function(A){if(isDefined(S[A])){v.push(encodeValue(d,S[A],A))}}))}}else{const A=[];if(Array.isArray(S)){S.filter(isDefined).forEach((function(p){A.push(encodeValue(d,p))}))}else{Object.keys(S).forEach((function(p){if(isDefined(S[p])){A.push(encodeUnreserved(p));A.push(encodeValue(d,S[p].toString()))}}))}if(isKeyOperator(d)){v.push(encodeUnreserved(p)+"="+A.join(","))}else if(A.length!==0){v.push(A.join(","))}}}}else{if(d===";"){if(isDefined(S)){v.push(encodeUnreserved(p))}}else if(S===""&&(d==="&"||d==="?")){v.push(encodeUnreserved(p)+"=")}else if(S===""){v.push("")}}return v}function parseUrl(A){return{expand:expand.bind(null,A)}}function expand(A,d){var p=["+","#",".","/",";","?","&"];A=A.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(A,C,S){if(C){let A="";const S=[];if(p.indexOf(C.charAt(0))!==-1){A=C.charAt(0);C=C.substr(1)}C.split(/,/g).forEach((function(p){var C=/([^:\*]*)(?::(\d+)|(\*))?/.exec(p);S.push(getValues(d,A,C[1],C[2]||C[3]))}));if(A&&A!=="+"){var v=",";if(A==="?"){v="&"}else if(A!=="#"){v=A}return(S.length!==0?A:"")+S.join(v)}else{return S.join(",")}}else{return encodeReserved(S)}}));if(A==="/"){return A}else{return A.replace(/\/$/,"")}}function parse(A){let d=A.method.toUpperCase();let p=(A.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let C=Object.assign({},A.headers);let S;let v=omit(A,["method","baseUrl","url","headers","request","mediaType"]);const T=extractUrlVariableNames(p);p=parseUrl(p).expand(v);if(!/^http/.test(p)){p=A.baseUrl+p}const _=Object.keys(A).filter((A=>T.includes(A))).concat("baseUrl");const V=omit(v,_);const Z=/application\/octet-stream/i.test(C.accept);if(!Z){if(A.mediaType.format){C.accept=C.accept.split(/,/).map((d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${A.mediaType.format}`))).join(",")}if(p.endsWith("/graphql")){if(A.mediaType.previews?.length){const d=C.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[];C.accept=d.concat(A.mediaType.previews).map((d=>{const p=A.mediaType.format?`.${A.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`})).join(",")}}}if(["GET","HEAD"].includes(d)){p=addQueryParameters(p,V)}else{if("data"in V){S=V.data}else{if(Object.keys(V).length){S=V}}}if(!C["content-type"]&&typeof S!=="undefined"){C["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(d)&&typeof S==="undefined"){S=""}return Object.assign({method:d,url:p,headers:C},typeof S!=="undefined"?{body:S}:null,A.request?{request:A.request}:null)}function endpointWithDefaults(A,d,p){return parse(merge(A,d,p))}function withDefaults(A,d){const p=merge(A,d);const C=endpointWithDefaults.bind(null,p);return Object.assign(C,{DEFAULTS:p,defaults:withDefaults.bind(null,p),merge:merge.bind(null,p),parse:parse})}var ne=withDefaults(null,te);0&&0},82218:(A,d,p)=>{var C=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var __export=(A,d)=>{for(var p in d)C(A,p,{get:d[p],enumerable:true})};var __copyProps=(A,d,p,_)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let V of v(d))if(!T.call(A,V)&&V!==p)C(A,V,{get:()=>d[V],enumerable:!(_=S(d,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(C({},"__esModule",{value:true}),A);var _={};__export(_,{GraphqlResponseError:()=>ne,graphql:()=>ae,withCustomRequest:()=>withCustomRequest});A.exports=__toCommonJS(_);var V=p(61124);var Z=p(16678);var ee="7.1.1";var te=p(61124);var re=p(61124);function _buildMessageForResponseErrors(A){return`Request failed due to following response errors:\n`+A.errors.map((A=>` - ${A.message}`)).join("\n")}var ne=class extends Error{constructor(A,d,p){super(_buildMessageForResponseErrors(p));this.request=A;this.headers=d;this.response=p;this.name="GraphqlResponseError";this.errors=p.errors;this.data=p.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var ie=["method","baseUrl","url","headers","request","query","mediaType"];var se=["query","method","url"];var oe=/\/api\/v3\/?$/;function graphql(A,d,p){if(p){if(typeof d==="string"&&"query"in p){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const A in p){if(!se.includes(A))continue;return Promise.reject(new Error(`[@octokit/graphql] "${A}" cannot be used as variable name`))}}const C=typeof d==="string"?Object.assign({query:d},p):d;const S=Object.keys(C).reduce(((A,d)=>{if(ie.includes(d)){A[d]=C[d];return A}if(!A.variables){A.variables={}}A.variables[d]=C[d];return A}),{});const v=C.baseUrl||A.endpoint.DEFAULTS.baseUrl;if(oe.test(v)){S.url=v.replace(oe,"/api/graphql")}return A(S).then((A=>{if(A.data.errors){const d={};for(const p of Object.keys(A.headers)){d[p]=A.headers[p]}throw new ne(S,d,A.data)}return A.data.data}))}function withDefaults(A,d){const p=A.defaults(d);const newApi=(A,d)=>graphql(p,A,d);return Object.assign(newApi,{defaults:withDefaults.bind(null,p),endpoint:p.endpoint})}var ae=withDefaults(V.request,{headers:{"user-agent":`octokit-graphql.js/${ee} ${(0,Z.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(A){return withDefaults(A,{method:"POST",url:"/graphql"})}0&&0},68633:A=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(A,p)=>{for(var C in p)d(A,C,{get:p[C],enumerable:true})};var __copyProps=(A,v,T,_)=>{if(v&&typeof v==="object"||typeof v==="function"){for(let V of C(v))if(!S.call(A,V)&&V!==T)d(A,V,{get:()=>v[V],enumerable:!(_=p(v,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(d({},"__esModule",{value:true}),A);var v={};__export(v,{composePaginateRest:()=>_,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>V});A.exports=__toCommonJS(v);var T="9.2.2";function normalizePaginatedListResponse(A){if(!A.data){return{...A,data:[]}}const d="total_count"in A.data&&!("url"in A.data);if(!d)return A;const p=A.data.incomplete_results;const C=A.data.repository_selection;const S=A.data.total_count;delete A.data.incomplete_results;delete A.data.repository_selection;delete A.data.total_count;const v=Object.keys(A.data)[0];const T=A.data[v];A.data=T;if(typeof p!=="undefined"){A.data.incomplete_results=p}if(typeof C!=="undefined"){A.data.repository_selection=C}A.data.total_count=S;return A}function iterator(A,d,p){const C=typeof d==="function"?d.endpoint(p):A.request.endpoint(d,p);const S=typeof d==="function"?d:A.request;const v=C.method;const T=C.headers;let _=C.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!_)return{done:true};try{const A=await S({method:v,url:_,headers:T});const d=normalizePaginatedListResponse(A);_=((d.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:d}}catch(A){if(A.status!==409)throw A;_="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(A,d,p,C){if(typeof p==="function"){C=p;p=void 0}return gather(A,[],iterator(A,d,p)[Symbol.asyncIterator](),C)}function gather(A,d,p,C){return p.next().then((S=>{if(S.done){return d}let v=false;function done(){v=true}d=d.concat(C?C(S.value,done):S.value.data);if(v){return d}return gather(A,d,p,C)}))}var _=Object.assign(paginate,{iterator:iterator});var V=["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(A){if(typeof A==="string"){return V.includes(A)}else{return false}}function paginateRest(A){return{paginate:Object.assign(paginate.bind(null,A),{iterator:iterator.bind(null,A)})}}paginateRest.VERSION=T;0&&0},83909:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p="1.0.4";function requestLog(A){A.hook.wrap("request",((d,p)=>{A.log.debug("request",p);const C=Date.now();const S=A.request.endpoint.parse(p);const v=S.url.replace(p.baseUrl,"");return d(p).then((d=>{A.log.info(`${S.method} ${v} - ${d.status} in ${Date.now()-C}ms`);return d})).catch((d=>{A.log.info(`${S.method} ${v} - ${d.status} in ${Date.now()-C}ms`);throw d}))}))}requestLog.VERSION=p;d.requestLog=requestLog},66316:A=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(A,p)=>{for(var C in p)d(A,C,{get:p[C],enumerable:true})};var __copyProps=(A,v,T,_)=>{if(v&&typeof v==="object"||typeof v==="function"){for(let V of C(v))if(!S.call(A,V)&&V!==T)d(A,V,{get:()=>v[V],enumerable:!(_=p(v,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(d({},"__esModule",{value:true}),A);var v={};__export(v,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});A.exports=__toCommonJS(v);var T="10.4.1";var _={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 V=_;var Z=new Map;for(const[A,d]of Object.entries(V)){for(const[p,C]of Object.entries(d)){const[d,S,v]=C;const[T,_]=d.split(/ /);const V=Object.assign({method:T,url:_},S);if(!Z.has(A)){Z.set(A,new Map)}Z.get(A).set(p,{scope:A,methodName:p,endpointDefaults:V,decorations:v})}}var ee={has({scope:A},d){return Z.get(A).has(d)},getOwnPropertyDescriptor(A,d){return{value:this.get(A,d),configurable:true,writable:true,enumerable:true}},defineProperty(A,d,p){Object.defineProperty(A.cache,d,p);return true},deleteProperty(A,d){delete A.cache[d];return true},ownKeys({scope:A}){return[...Z.get(A).keys()]},set(A,d,p){return A.cache[d]=p},get({octokit:A,scope:d,cache:p},C){if(p[C]){return p[C]}const S=Z.get(d).get(C);if(!S){return void 0}const{endpointDefaults:v,decorations:T}=S;if(T){p[C]=decorate(A,d,C,v,T)}else{p[C]=A.request.defaults(v)}return p[C]}};function endpointsToMethods(A){const d={};for(const p of Z.keys()){d[p]=new Proxy({octokit:A,scope:p,cache:{}},ee)}return d}function decorate(A,d,p,C,S){const v=A.request.defaults(C);function withDecorations(...C){let T=v.endpoint.merge(...C);if(S.mapToData){T=Object.assign({},T,{data:T[S.mapToData],[S.mapToData]:void 0});return v(T)}if(S.renamed){const[C,v]=S.renamed;A.log.warn(`octokit.${d}.${p}() has been renamed to octokit.${C}.${v}()`)}if(S.deprecated){A.log.warn(S.deprecated)}if(S.renamedParameters){const T=v.endpoint.merge(...C);for(const[C,v]of Object.entries(S.renamedParameters)){if(C in T){A.log.warn(`"${C}" parameter is deprecated for "octokit.${d}.${p}()". Use "${v}" instead`);if(!(v in T)){T[v]=T[C]}delete T[C]}}return v(T)}return v(...C)}return Object.assign(withDecorations,v)}function restEndpointMethods(A){const d=endpointsToMethods(A);return{rest:d}}restEndpointMethods.VERSION=T;function legacyRestEndpointMethods(A){const d=endpointsToMethods(A);return{...d,rest:d}}legacyRestEndpointMethods.VERSION=T;0&&0},38957:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});function _interopDefault(A){return A&&typeof A==="object"&&"default"in A?A["default"]:A}var C=_interopDefault(p(9900));async function errorRequest(A,d,p,C){if(!p.request||!p.request.request){throw p}if(p.status>=400&&!d.doNotRetry.includes(p.status)){const S=C.request.retries!=null?C.request.retries:d.retries;const v=Math.pow((C.request.retryCount||0)+1,2);throw A.retry.retryRequest(p,S,v)}throw p}async function wrapRequest(A,d,p){const S=new C;S.on("failed",(function(d,C){const S=~~d.request.request.retries;const v=~~d.request.request.retryAfter;p.request.retryCount=C.retryCount+1;if(S>C.retryCount){return v*A.retryAfterBaseValue}}));return S.schedule(d,p)}const S="3.0.9";function retry(A,d){const p=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},d.retry);if(p.enabled){A.hook.error("request",errorRequest.bind(null,A,p));A.hook.wrap("request",wrapRequest.bind(null,p))}return{retry:{retryRequest:(A,d,p)=>{A.request.request=Object.assign({},A.request.request,{retries:d,retryAfter:p});return A}}}}retry.VERSION=S;d.VERSION=S;d.retry=retry},86788:(A,d,p)=>{var C=Object.create;var S=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var _=Object.getPrototypeOf;var V=Object.prototype.hasOwnProperty;var __export=(A,d)=>{for(var p in d)S(A,p,{get:d[p],enumerable:true})};var __copyProps=(A,d,p,C)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let _ of T(d))if(!V.call(A,_)&&_!==p)S(A,_,{get:()=>d[_],enumerable:!(C=v(d,_))||C.enumerable})}return A};var __toESM=(A,d,p)=>(p=A!=null?C(_(A)):{},__copyProps(d||!A||!A.__esModule?S(p,"default",{value:A,enumerable:true}):p,A));var __toCommonJS=A=>__copyProps(S({},"__esModule",{value:true}),A);var Z={};__export(Z,{RequestError:()=>ie});A.exports=__toCommonJS(Z);var ee=p(54071);var te=__toESM(p(46367));var re=(0,te.default)((A=>console.warn(A)));var ne=(0,te.default)((A=>console.warn(A)));var ie=class extends Error{constructor(A,d,p){super(A);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let C;if("headers"in p&&typeof p.headers!=="undefined"){C=p.headers}if("response"in p){this.response=p.response;C=p.response.headers}const S=Object.assign({},p.request);if(p.request.headers.authorization){S.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})}S.url=S.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=S;Object.defineProperty(this,"code",{get(){re(new ee.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ne(new ee.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return C||{}}})}};0&&0},61124:(A,d,p)=>{var C=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var __export=(A,d)=>{for(var p in d)C(A,p,{get:d[p],enumerable:true})};var __copyProps=(A,d,p,_)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let V of v(d))if(!T.call(A,V)&&V!==p)C(A,V,{get:()=>d[V],enumerable:!(_=S(d,V))||_.enumerable})}return A};var __toCommonJS=A=>__copyProps(C({},"__esModule",{value:true}),A);var _={};__export(_,{request:()=>re});A.exports=__toCommonJS(_);var V=p(77006);var Z=p(16678);var ee="8.4.1";function isPlainObject(A){if(typeof A!=="object"||A===null)return false;if(Object.prototype.toString.call(A)!=="[object Object]")return false;const d=Object.getPrototypeOf(A);if(d===null)return true;const p=Object.prototype.hasOwnProperty.call(d,"constructor")&&d.constructor;return typeof p==="function"&&p instanceof p&&Function.prototype.call(p)===Function.prototype.call(A)}var te=p(86788);function getBufferResponse(A){return A.arrayBuffer()}function fetchWrapper(A){var d,p,C,S;const v=A.request&&A.request.log?A.request.log:console;const T=((d=A.request)==null?void 0:d.parseSuccessResponseBody)!==false;if(isPlainObject(A.body)||Array.isArray(A.body)){A.body=JSON.stringify(A.body)}let _={};let V;let Z;let{fetch:ee}=globalThis;if((p=A.request)==null?void 0:p.fetch){ee=A.request.fetch}if(!ee){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 ee(A.url,{method:A.method,body:A.body,redirect:(C=A.request)==null?void 0:C.redirect,headers:A.headers,signal:(S=A.request)==null?void 0:S.signal,...A.body&&{duplex:"half"}}).then((async d=>{Z=d.url;V=d.status;for(const A of d.headers){_[A[0]]=A[1]}if("deprecation"in _){const d=_.link&&_.link.match(/<([^<>]+)>; rel="deprecation"/);const p=d&&d.pop();v.warn(`[@octokit/request] "${A.method} ${A.url}" is deprecated. It is scheduled to be removed on ${_.sunset}${p?`. See ${p}`:""}`)}if(V===204||V===205){return}if(A.method==="HEAD"){if(V<400){return}throw new te.RequestError(d.statusText,V,{response:{url:Z,status:V,headers:_,data:void 0},request:A})}if(V===304){throw new te.RequestError("Not modified",V,{response:{url:Z,status:V,headers:_,data:await getResponseData(d)},request:A})}if(V>=400){const p=await getResponseData(d);const C=new te.RequestError(toErrorMessage(p),V,{response:{url:Z,status:V,headers:_,data:p},request:A});throw C}return T?await getResponseData(d):d.body})).then((A=>({status:V,url:Z,headers:_,data:A}))).catch((d=>{if(d instanceof te.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new te.RequestError(p,500,{request:A})}))}async function getResponseData(A){const d=A.headers.get("content-type");if(/application\/json/.test(d)){return A.json().catch((()=>A.text())).catch((()=>""))}if(!d||/^text\/|charset=utf-8$/.test(d)){return A.text()}return getBufferResponse(A)}function toErrorMessage(A){if(typeof A==="string")return A;let d;if("documentation_url"in A){d=` - ${A.documentation_url}`}else{d=""}if("message"in A){if(Array.isArray(A.errors)){return`${A.message}: ${A.errors.map(JSON.stringify).join(", ")}${d}`}return`${A.message}${d}`}return`Unknown error: ${JSON.stringify(A)}`}function withDefaults(A,d){const p=A.defaults(d);const newApi=function(A,d){const C=p.merge(A,d);if(!C.request||!C.request.hook){return fetchWrapper(p.parse(C))}const request2=(A,d)=>fetchWrapper(p.parse(p.merge(A,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return C.request.hook(request2,C)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var re=withDefaults(V.endpoint,{headers:{"user-agent":`octokit-request.js/${ee} ${(0,Z.getUserAgent)()}`}});0&&0},69113:function(A,d){var p=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(A,d,p,C,S,v,T){this.method=A;this.requestHeaders=d;this.requests=p;this.headers=C;this.response=S;this.status=v;this.trailers=T}then(A,d){return this.promiseFinished().then((d=>A?Promise.resolve(A(d)):d),(A=>d?Promise.resolve(d(A)):Promise.reject(A)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[A,d,p,C]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:A,response:d,status:p,trailers:C}}))}}d.ClientStreamingCall=ClientStreamingCall},87961:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Deferred=d.DeferredState=void 0;var p;(function(A){A[A["PENDING"]=0]="PENDING";A[A["REJECTED"]=1]="REJECTED";A[A["RESOLVED"]=2]="RESOLVED"})(p=d.DeferredState||(d.DeferredState={}));class Deferred{constructor(A=true){this._state=p.PENDING;this._promise=new Promise(((A,d)=>{this._resolve=A;this._reject=d}));if(A){this._promise.catch((A=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(A){if(this.state!==p.PENDING)throw new Error(`cannot resolve ${p[this.state].toLowerCase()}`);this._resolve(A);this._state=p.RESOLVED}reject(A){if(this.state!==p.PENDING)throw new Error(`cannot reject ${p[this.state].toLowerCase()}`);this._reject(A);this._state=p.REJECTED}resolvePending(A){if(this._state===p.PENDING)this.resolve(A)}rejectPending(A){if(this._state===p.PENDING)this.reject(A)}}d.Deferred=Deferred},17090:function(A,d){var p=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(A,d,p,C,S,v,T){this.method=A;this.requestHeaders=d;this.requests=p;this.headers=C;this.responses=S;this.status=v;this.trailers=T}then(A,d){return this.promiseFinished().then((d=>A?Promise.resolve(A(d)):d),(A=>d?Promise.resolve(d(A)):Promise.reject(A)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[A,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:A,status:d,trailers:p}}))}}d.DuplexStreamingCall=DuplexStreamingCall},95980:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var C=p(31636);Object.defineProperty(d,"ServiceType",{enumerable:true,get:function(){return C.ServiceType}});var S=p(19768);Object.defineProperty(d,"readMethodOptions",{enumerable:true,get:function(){return S.readMethodOptions}});Object.defineProperty(d,"readMethodOption",{enumerable:true,get:function(){return S.readMethodOption}});Object.defineProperty(d,"readServiceOption",{enumerable:true,get:function(){return S.readServiceOption}});var v=p(15908);Object.defineProperty(d,"RpcError",{enumerable:true,get:function(){return v.RpcError}});var T=p(91816);Object.defineProperty(d,"mergeRpcOptions",{enumerable:true,get:function(){return T.mergeRpcOptions}});var _=p(27374);Object.defineProperty(d,"RpcOutputStreamController",{enumerable:true,get:function(){return _.RpcOutputStreamController}});var V=p(28330);Object.defineProperty(d,"TestTransport",{enumerable:true,get:function(){return V.TestTransport}});var Z=p(87961);Object.defineProperty(d,"Deferred",{enumerable:true,get:function(){return Z.Deferred}});Object.defineProperty(d,"DeferredState",{enumerable:true,get:function(){return Z.DeferredState}});var ee=p(17090);Object.defineProperty(d,"DuplexStreamingCall",{enumerable:true,get:function(){return ee.DuplexStreamingCall}});var te=p(69113);Object.defineProperty(d,"ClientStreamingCall",{enumerable:true,get:function(){return te.ClientStreamingCall}});var re=p(12069);Object.defineProperty(d,"ServerStreamingCall",{enumerable:true,get:function(){return re.ServerStreamingCall}});var ne=p(90368);Object.defineProperty(d,"UnaryCall",{enumerable:true,get:function(){return ne.UnaryCall}});var ie=p(86473);Object.defineProperty(d,"stackIntercept",{enumerable:true,get:function(){return ie.stackIntercept}});Object.defineProperty(d,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return ie.stackDuplexStreamingInterceptors}});Object.defineProperty(d,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return ie.stackClientStreamingInterceptors}});Object.defineProperty(d,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return ie.stackServerStreamingInterceptors}});Object.defineProperty(d,"stackUnaryInterceptors",{enumerable:true,get:function(){return ie.stackUnaryInterceptors}});var se=p(27072);Object.defineProperty(d,"ServerCallContextController",{enumerable:true,get:function(){return se.ServerCallContextController}})},19768:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readServiceOption=d.readMethodOption=d.readMethodOptions=d.normalizeMethodInfo=void 0;const C=p(68140);function normalizeMethodInfo(A,d){var p,S,v;let T=A;T.service=d;T.localName=(p=T.localName)!==null&&p!==void 0?p:C.lowerCamelCase(T.name);T.serverStreaming=!!T.serverStreaming;T.clientStreaming=!!T.clientStreaming;T.options=(S=T.options)!==null&&S!==void 0?S:{};T.idempotency=(v=T.idempotency)!==null&&v!==void 0?v:undefined;return T}d.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(A,d,p,C){var S;const v=(S=A.methods.find(((A,p)=>A.localName===d||p===d)))===null||S===void 0?void 0:S.options;return v&&v[p]?C.fromJson(v[p]):undefined}d.readMethodOptions=readMethodOptions;function readMethodOption(A,d,p,C){var S;const v=(S=A.methods.find(((A,p)=>A.localName===d||p===d)))===null||S===void 0?void 0:S.options;if(!v){return undefined}const T=v[p];if(T===undefined){return T}return C?C.fromJson(T):T}d.readMethodOption=readMethodOption;function readServiceOption(A,d,p){const C=A.options;if(!C){return undefined}const S=C[d];if(S===undefined){return S}return p?p.fromJson(S):S}d.readServiceOption=readServiceOption},15908:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcError=void 0;class RpcError extends Error{constructor(A,d="UNKNOWN",p){super(A);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=d;this.meta=p!==null&&p!==void 0?p:{}}toString(){const A=[this.name+": "+this.message];if(this.code){A.push("");A.push("Code: "+this.code)}if(this.serviceName&&this.methodName){A.push("Method: "+this.serviceName+"/"+this.methodName)}let d=Object.entries(this.meta);if(d.length){A.push("");A.push("Meta:");for(let[p,C]of d){A.push(` ${p}: ${C}`)}}return A.join("\n")}}d.RpcError=RpcError},86473:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stackDuplexStreamingInterceptors=d.stackClientStreamingInterceptors=d.stackServerStreamingInterceptors=d.stackUnaryInterceptors=d.stackIntercept=void 0;const C=p(68140);function stackIntercept(A,d,p,S,v){var T,_,V,Z;if(A=="unary"){let tail=(A,p,C)=>d.unary(A,p,C);for(const A of((T=S.interceptors)!==null&&T!==void 0?T:[]).filter((A=>A.interceptUnary)).reverse()){const d=tail;tail=(p,C,S)=>A.interceptUnary(d,p,C,S)}return tail(p,v,S)}if(A=="serverStreaming"){let tail=(A,p,C)=>d.serverStreaming(A,p,C);for(const A of((_=S.interceptors)!==null&&_!==void 0?_:[]).filter((A=>A.interceptServerStreaming)).reverse()){const d=tail;tail=(p,C,S)=>A.interceptServerStreaming(d,p,C,S)}return tail(p,v,S)}if(A=="clientStreaming"){let tail=(A,p)=>d.clientStreaming(A,p);for(const A of((V=S.interceptors)!==null&&V!==void 0?V:[]).filter((A=>A.interceptClientStreaming)).reverse()){const d=tail;tail=(p,C)=>A.interceptClientStreaming(d,p,C)}return tail(p,S)}if(A=="duplex"){let tail=(A,p)=>d.duplex(A,p);for(const A of((Z=S.interceptors)!==null&&Z!==void 0?Z:[]).filter((A=>A.interceptDuplex)).reverse()){const d=tail;tail=(p,C)=>A.interceptDuplex(d,p,C)}return tail(p,S)}C.assertNever(A)}d.stackIntercept=stackIntercept;function stackUnaryInterceptors(A,d,p,C){return stackIntercept("unary",A,d,C,p)}d.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(A,d,p,C){return stackIntercept("serverStreaming",A,d,C,p)}d.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(A,d,p){return stackIntercept("clientStreaming",A,d,p)}d.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(A,d,p){return stackIntercept("duplex",A,d,p)}d.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},91816:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeRpcOptions=void 0;const C=p(68140);function mergeRpcOptions(A,d){if(!d)return A;let p={};copy(A,p);copy(d,p);for(let S of Object.keys(d)){let v=d[S];switch(S){case"jsonOptions":p.jsonOptions=C.mergeJsonOptions(A.jsonOptions,p.jsonOptions);break;case"binaryOptions":p.binaryOptions=C.mergeBinaryOptions(A.binaryOptions,p.binaryOptions);break;case"meta":p.meta={};copy(A.meta,p.meta);copy(d.meta,p.meta);break;case"interceptors":p.interceptors=A.interceptors?A.interceptors.concat(v):v.concat();break}}return p}d.mergeRpcOptions=mergeRpcOptions;function copy(A,d){if(!A)return;let p=d;for(let[d,C]of Object.entries(A)){if(C instanceof Date)p[d]=new Date(C.getTime());else if(Array.isArray(C))p[d]=C.concat();else p[d]=C}}},27374:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcOutputStreamController=void 0;const C=p(87961);const S=p(68140);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(A){return this.addLis(A,this._lis.nxt)}onMessage(A){return this.addLis(A,this._lis.msg)}onError(A){return this.addLis(A,this._lis.err)}onComplete(A){return this.addLis(A,this._lis.cmp)}addLis(A,d){d.push(A);return()=>{let p=d.indexOf(A);if(p>=0)d.splice(p,1)}}clearLis(){for(let A of Object.values(this._lis))A.splice(0,A.length)}get closed(){return this._closed!==false}notifyNext(A,d,p){S.assert((A?1:0)+(d?1:0)+(p?1:0)<=1,"only one emission at a time");if(A)this.notifyMessage(A);if(d)this.notifyError(d);if(p)this.notifyComplete()}notifyMessage(A){S.assert(!this.closed,"stream is closed");this.pushIt({value:A,done:false});this._lis.msg.forEach((d=>d(A)));this._lis.nxt.forEach((d=>d(A,undefined,false)))}notifyError(A){S.assert(!this.closed,"stream is closed");this._closed=A;this.pushIt(A);this._lis.err.forEach((d=>d(A)));this._lis.nxt.forEach((d=>d(undefined,A,false)));this.clearLis()}notifyComplete(){S.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((A=>A()));this._lis.nxt.forEach((A=>A(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 A=this._itState;S.assert(A,"bad state");S.assert(!A.p,"iterator contract broken");let d=A.q.shift();if(d)return"value"in d?Promise.resolve(d):Promise.reject(d);A.p=new C.Deferred;return A.p.promise}}}pushIt(A){let d=this._itState;if(d.p){const p=d.p;S.assert(p.state==C.DeferredState.PENDING,"iterator contract broken");"value"in A?p.resolve(A):p.reject(A);delete d.p}else{d.q.push(A)}}}d.RpcOutputStreamController=RpcOutputStreamController},27072:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServerCallContextController=void 0;class ServerCallContextController{constructor(A,d,p,C,S={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=A;this.headers=d;this.deadline=p;this.trailers={};this._sendRH=C;this.status=S}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let A of this._listeners){A()}}}sendResponseHeaders(A){this._sendRH(A)}get cancelled(){return this._cancelled}onCancel(A){const d=this._listeners;d.push(A);return()=>{let p=d.indexOf(A);if(p>=0)d.splice(p,1)}}}d.ServerCallContextController=ServerCallContextController},12069:function(A,d){var p=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(A,d,p,C,S,v,T){this.method=A;this.requestHeaders=d;this.request=p;this.headers=C;this.responses=S;this.status=v;this.trailers=T}then(A,d){return this.promiseFinished().then((d=>A?Promise.resolve(A(d)):d),(A=>d?Promise.resolve(d(A)):Promise.reject(A)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[A,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:A,status:d,trailers:p}}))}}d.ServerStreamingCall=ServerStreamingCall},31636:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceType=void 0;const C=p(19768);class ServiceType{constructor(A,d,p){this.typeName=A;this.methods=d.map((A=>C.normalizeMethodInfo(A,this)));this.options=p!==null&&p!==void 0?p:{}}}d.ServiceType=ServiceType},28330:function(A,d,p){var C=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.TestTransport=void 0;const S=p(15908);const v=p(68140);const T=p(27374);const _=p(91816);const V=p(90368);const Z=p(12069);const ee=p(69113);const te=p(17090);class TestTransport{constructor(A){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=A!==null&&A!==void 0?A:{}}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 A;const d=(A=this.data.headers)!==null&&A!==void 0?A:TestTransport.defaultHeaders;return d instanceof S.RpcError?Promise.reject(d):Promise.resolve(d)}promiseSingleResponse(A){if(this.data.response instanceof S.RpcError){return Promise.reject(this.data.response)}let d;if(Array.isArray(this.data.response)){v.assert(this.data.response.length>0);d=this.data.response[0]}else if(this.data.response!==undefined){d=this.data.response}else{d=A.O.create()}v.assert(A.O.is(d));return Promise.resolve(d)}streamResponses(A,d,p){return C(this,void 0,void 0,(function*(){const C=[];if(this.data.response===undefined){C.push(A.O.create())}else if(Array.isArray(this.data.response)){for(let d of this.data.response){v.assert(A.O.is(d));C.push(d)}}else if(!(this.data.response instanceof S.RpcError)){v.assert(A.O.is(this.data.response));C.push(this.data.response)}try{yield delay(this.responseDelay,p)(undefined)}catch(A){d.notifyError(A);return}if(this.data.response instanceof S.RpcError){d.notifyError(this.data.response);return}for(let A of C){d.notifyMessage(A);try{yield delay(this.betweenResponseDelay,p)(undefined)}catch(A){d.notifyError(A);return}}if(this.data.status instanceof S.RpcError){d.notifyError(this.data.status);return}if(this.data.trailers instanceof S.RpcError){d.notifyError(this.data.trailers);return}d.notifyComplete()}))}promiseStatus(){var A;const d=(A=this.data.status)!==null&&A!==void 0?A:TestTransport.defaultStatus;return d instanceof S.RpcError?Promise.reject(d):Promise.resolve(d)}promiseTrailers(){var A;const d=(A=this.data.trailers)!==null&&A!==void 0?A:TestTransport.defaultTrailers;return d instanceof S.RpcError?Promise.reject(d):Promise.resolve(d)}maybeSuppressUncaught(...A){if(this.suppressUncaughtRejections){for(let d of A){d.catch((()=>{}))}}}mergeOptions(A){return _.mergeRpcOptions({},A)}unary(A,d,p){var C;const S=(C=p.meta)!==null&&C!==void 0?C:{},v=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),T=v.catch((A=>{})).then(delay(this.responseDelay,p.abort)).then((d=>this.promiseSingleResponse(A))),_=T.catch((A=>{})).then(delay(this.afterResponseDelay,p.abort)).then((A=>this.promiseStatus())),Z=T.catch((A=>{})).then(delay(this.afterResponseDelay,p.abort)).then((A=>this.promiseTrailers()));this.maybeSuppressUncaught(_,Z);this.lastInput={single:d};return new V.UnaryCall(A,S,d,v,T,_,Z)}serverStreaming(A,d,p){var C;const S=(C=p.meta)!==null&&C!==void 0?C:{},v=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),_=new T.RpcOutputStreamController,V=v.then(delay(this.responseDelay,p.abort)).catch((()=>{})).then((()=>this.streamResponses(A,_,p.abort))).then(delay(this.afterResponseDelay,p.abort)),ee=V.then((()=>this.promiseStatus())),te=V.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(ee,te);this.lastInput={single:d};return new Z.ServerStreamingCall(A,S,d,v,_,ee,te)}clientStreaming(A,d){var p;const C=(p=d.meta)!==null&&p!==void 0?p:{},S=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),v=S.catch((A=>{})).then(delay(this.responseDelay,d.abort)).then((d=>this.promiseSingleResponse(A))),T=v.catch((A=>{})).then(delay(this.afterResponseDelay,d.abort)).then((A=>this.promiseStatus())),_=v.catch((A=>{})).then(delay(this.afterResponseDelay,d.abort)).then((A=>this.promiseTrailers()));this.maybeSuppressUncaught(T,_);this.lastInput=new TestInputStream(this.data,d.abort);return new ee.ClientStreamingCall(A,C,this.lastInput,S,v,T,_)}duplex(A,d){var p;const C=(p=d.meta)!==null&&p!==void 0?p:{},S=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),v=new T.RpcOutputStreamController,_=S.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(A,v,d.abort))).then(delay(this.afterResponseDelay,d.abort)),V=_.then((()=>this.promiseStatus())),Z=_.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(V,Z);this.lastInput=new TestInputStream(this.data,d.abort);return new te.DuplexStreamingCall(A,C,this.lastInput,S,v,V,Z)}}d.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(A,d){return p=>new Promise(((C,v)=>{if(d===null||d===void 0?void 0:d.aborted){v(new S.RpcError("user cancel","CANCELLED"))}else{const T=setTimeout((()=>C(p)),A);if(d){d.addEventListener("abort",(A=>{clearTimeout(T);v(new S.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(A,d){this._completed=false;this._sent=[];this.data=A;this.abort=d}get sent(){return this._sent}get completed(){return this._completed}send(A){if(this.data.inputMessage instanceof S.RpcError){return Promise.reject(this.data.inputMessage)}const d=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(A)})).then(delay(d,this.abort))}complete(){if(this.data.inputComplete instanceof S.RpcError){return Promise.reject(this.data.inputComplete)}const A=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(A,this.abort))}}},90368:function(A,d){var p=this&&this.__awaiter||function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.UnaryCall=void 0;class UnaryCall{constructor(A,d,p,C,S,v,T){this.method=A;this.requestHeaders=d;this.request=p;this.headers=C;this.response=S;this.status=v;this.trailers=T}then(A,d){return this.promiseFinished().then((d=>A?Promise.resolve(A(d)):d),(A=>d?Promise.resolve(d(A)):Promise.reject(A)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[A,d,p,C]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:A,response:d,status:p,trailers:C}}))}}d.UnaryCall=UnaryCall},64828:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertFloat32=d.assertUInt32=d.assertInt32=d.assertNever=d.assert=void 0;function assert(A,d){if(!A){throw new Error(d)}}d.assert=assert;function assertNever(A,d){throw new Error(d!==null&&d!==void 0?d:"Unexpected object: "+A)}d.assertNever=assertNever;const p=34028234663852886e22,C=-34028234663852886e22,S=4294967295,v=2147483647,T=-2147483648;function assertInt32(A){if(typeof A!=="number")throw new Error("invalid int 32: "+typeof A);if(!Number.isInteger(A)||A>v||A<T)throw new Error("invalid int 32: "+A)}d.assertInt32=assertInt32;function assertUInt32(A){if(typeof A!=="number")throw new Error("invalid uint 32: "+typeof A);if(!Number.isInteger(A)||A>S||A<0)throw new Error("invalid uint 32: "+A)}d.assertUInt32=assertUInt32;function assertFloat32(A){if(typeof A!=="number")throw new Error("invalid float 32: "+typeof A);if(!Number.isFinite(A))return;if(A>p||A<C)throw new Error("invalid float 32: "+A)}d.assertFloat32=assertFloat32},20841:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.base64encode=d.base64decode=void 0;let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let C=[];for(let A=0;A<p.length;A++)C[p[A].charCodeAt(0)]=A;C["-".charCodeAt(0)]=p.indexOf("+");C["_".charCodeAt(0)]=p.indexOf("/");function base64decode(A){let d=A.length*3/4;if(A[A.length-2]=="=")d-=2;else if(A[A.length-1]=="=")d-=1;let p=new Uint8Array(d),S=0,v=0,T,_=0;for(let d=0;d<A.length;d++){T=C[A.charCodeAt(d)];if(T===undefined){switch(A[d]){case"=":v=0;case"\n":case"\r":case"\t":case" ":continue;default:throw Error(`invalid base64 string.`)}}switch(v){case 0:_=T;v=1;break;case 1:p[S++]=_<<2|(T&48)>>4;_=T;v=2;break;case 2:p[S++]=(_&15)<<4|(T&60)>>2;_=T;v=3;break;case 3:p[S++]=(_&3)<<6|T;v=0;break}}if(v==1)throw Error(`invalid base64 string.`);return p.subarray(0,S)}d.base64decode=base64decode;function base64encode(A){let d="",C=0,S,v=0;for(let T=0;T<A.length;T++){S=A[T];switch(C){case 0:d+=p[S>>2];v=(S&3)<<4;C=1;break;case 1:d+=p[v|S>>4];v=(S&15)<<2;C=2;break;case 2:d+=p[v|S>>6];d+=p[S&63];C=0;break}}if(C){d+=p[v];d+="=";if(C==1)d+="="}return d}d.base64encode=base64encode},98218:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.WireType=d.mergeBinaryOptions=d.UnknownFieldHandler=void 0;var p;(function(A){A.symbol=Symbol.for("protobuf-ts/unknown");A.onRead=(d,p,C,S,v)=>{let T=is(p)?p[A.symbol]:p[A.symbol]=[];T.push({no:C,wireType:S,data:v})};A.onWrite=(d,p,C)=>{for(let{no:d,wireType:S,data:v}of A.list(p))C.tag(d,S).raw(v)};A.list=(d,p)=>{if(is(d)){let C=d[A.symbol];return p?C.filter((A=>A.no==p)):C}return[]};A.last=(d,p)=>A.list(d,p).slice(-1)[0];const is=d=>d&&Array.isArray(d[A.symbol])})(p=d.UnknownFieldHandler||(d.UnknownFieldHandler={}));function mergeBinaryOptions(A,d){return Object.assign(Object.assign({},A),d)}d.mergeBinaryOptions=mergeBinaryOptions;var C;(function(A){A[A["Varint"]=0]="Varint";A[A["Bit64"]=1]="Bit64";A[A["LengthDelimited"]=2]="LengthDelimited";A[A["StartGroup"]=3]="StartGroup";A[A["EndGroup"]=4]="EndGroup";A[A["Bit32"]=5]="Bit32"})(C=d.WireType||(d.WireType={}))},49695:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryReader=d.binaryReadOptions=void 0;const C=p(98218);const S=p(38819);const v=p(61605);const T={readUnknownField:true,readerFactory:A=>new BinaryReader(A)};function binaryReadOptions(A){return A?Object.assign(Object.assign({},T),A):T}d.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(A,d){this.varint64=v.varint64read;this.uint32=v.varint32read;this.buf=A;this.len=A.length;this.pos=0;this.view=new DataView(A.buffer,A.byteOffset,A.byteLength);this.textDecoder=d!==null&&d!==void 0?d:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let A=this.uint32(),d=A>>>3,p=A&7;if(d<=0||p<0||p>5)throw new Error("illegal tag: field no "+d+" wire type "+p);return[d,p]}skip(A){let d=this.pos;switch(A){case C.WireType.Varint:while(this.buf[this.pos++]&128){}break;case C.WireType.Bit64:this.pos+=4;case C.WireType.Bit32:this.pos+=4;break;case C.WireType.LengthDelimited:let d=this.uint32();this.pos+=d;break;case C.WireType.StartGroup:let p;while((p=this.tag()[1])!==C.WireType.EndGroup){this.skip(p)}break;default:throw new Error("cant skip wire type "+A)}this.assertBounds();return this.buf.subarray(d,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let A=this.uint32();return A>>>1^-(A&1)}int64(){return new S.PbLong(...this.varint64())}uint64(){return new S.PbULong(...this.varint64())}sint64(){let[A,d]=this.varint64();let p=-(A&1);A=(A>>>1|(d&1)<<31)^p;d=d>>>1^p;return new S.PbLong(A,d)}bool(){let[A,d]=this.varint64();return A!==0||d!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new S.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new S.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 A=this.uint32();let d=this.pos;this.pos+=A;this.assertBounds();return this.buf.subarray(d,d+A)}string(){return this.textDecoder.decode(this.bytes())}}d.BinaryReader=BinaryReader},70079:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryWriter=d.binaryWriteOptions=void 0;const C=p(38819);const S=p(61605);const v=p(64828);const T={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(A){return A?Object.assign(Object.assign({},T),A):T}d.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(A){this.stack=[];this.textEncoder=A!==null&&A!==void 0?A:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let A=0;for(let d=0;d<this.chunks.length;d++)A+=this.chunks[d].length;let d=new Uint8Array(A);let p=0;for(let A=0;A<this.chunks.length;A++){d.set(this.chunks[A],p);p+=this.chunks[A].length}this.chunks=[];return d}fork(){this.stack.push({chunks:this.chunks,buf:this.buf});this.chunks=[];this.buf=[];return this}join(){let A=this.finish();let d=this.stack.pop();if(!d)throw new Error("invalid state, fork stack empty");this.chunks=d.chunks;this.buf=d.buf;this.uint32(A.byteLength);return this.raw(A)}tag(A,d){return this.uint32((A<<3|d)>>>0)}raw(A){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(A);return this}uint32(A){v.assertUInt32(A);while(A>127){this.buf.push(A&127|128);A=A>>>7}this.buf.push(A);return this}int32(A){v.assertInt32(A);S.varint32write(A,this.buf);return this}bool(A){this.buf.push(A?1:0);return this}bytes(A){this.uint32(A.byteLength);return this.raw(A)}string(A){let d=this.textEncoder.encode(A);this.uint32(d.byteLength);return this.raw(d)}float(A){v.assertFloat32(A);let d=new Uint8Array(4);new DataView(d.buffer).setFloat32(0,A,true);return this.raw(d)}double(A){let d=new Uint8Array(8);new DataView(d.buffer).setFloat64(0,A,true);return this.raw(d)}fixed32(A){v.assertUInt32(A);let d=new Uint8Array(4);new DataView(d.buffer).setUint32(0,A,true);return this.raw(d)}sfixed32(A){v.assertInt32(A);let d=new Uint8Array(4);new DataView(d.buffer).setInt32(0,A,true);return this.raw(d)}sint32(A){v.assertInt32(A);A=(A<<1^A>>31)>>>0;S.varint32write(A,this.buf);return this}sfixed64(A){let d=new Uint8Array(8);let p=new DataView(d.buffer);let S=C.PbLong.from(A);p.setInt32(0,S.lo,true);p.setInt32(4,S.hi,true);return this.raw(d)}fixed64(A){let d=new Uint8Array(8);let p=new DataView(d.buffer);let S=C.PbULong.from(A);p.setInt32(0,S.lo,true);p.setInt32(4,S.hi,true);return this.raw(d)}int64(A){let d=C.PbLong.from(A);S.varint64write(d.lo,d.hi,this.buf);return this}sint64(A){let d=C.PbLong.from(A),p=d.hi>>31,v=d.lo<<1^p,T=(d.hi<<1|d.lo>>>31)^p;S.varint64write(v,T,this.buf);return this}uint64(A){let d=C.PbULong.from(A);S.varint64write(d.lo,d.hi,this.buf);return this}}d.BinaryWriter=BinaryWriter},4903:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.listEnumNumbers=d.listEnumNames=d.listEnumValues=d.isEnumObject=void 0;function isEnumObject(A){if(typeof A!="object"||A===null){return false}if(!A.hasOwnProperty(0)){return false}for(let d of Object.keys(A)){let p=parseInt(d);if(!Number.isNaN(p)){let d=A[p];if(d===undefined)return false;if(A[d]!==p)return false}else{let p=A[d];if(p===undefined)return false;if(typeof p!=="number")return false;if(A[p]===undefined)return false}}return true}d.isEnumObject=isEnumObject;function listEnumValues(A){if(!isEnumObject(A))throw new Error("not a typescript enum object");let d=[];for(let[p,C]of Object.entries(A))if(typeof C=="number")d.push({name:p,number:C});return d}d.listEnumValues=listEnumValues;function listEnumNames(A){return listEnumValues(A).map((A=>A.name))}d.listEnumNames=listEnumNames;function listEnumNumbers(A){return listEnumValues(A).map((A=>A.number)).filter(((A,d,p)=>p.indexOf(A)==d))}d.listEnumNumbers=listEnumNumbers},61605:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.varint32read=d.varint32write=d.int64toString=d.int64fromString=d.varint64write=d.varint64read=void 0;function varint64read(){let A=0;let d=0;for(let p=0;p<28;p+=7){let C=this.buf[this.pos++];A|=(C&127)<<p;if((C&128)==0){this.assertBounds();return[A,d]}}let p=this.buf[this.pos++];A|=(p&15)<<28;d=(p&112)>>4;if((p&128)==0){this.assertBounds();return[A,d]}for(let p=3;p<=31;p+=7){let C=this.buf[this.pos++];d|=(C&127)<<p;if((C&128)==0){this.assertBounds();return[A,d]}}throw new Error("invalid varint")}d.varint64read=varint64read;function varint64write(A,d,p){for(let C=0;C<28;C=C+7){const S=A>>>C;const v=!(S>>>7==0&&d==0);const T=(v?S|128:S)&255;p.push(T);if(!v){return}}const C=A>>>28&15|(d&7)<<4;const S=!(d>>3==0);p.push((S?C|128:C)&255);if(!S){return}for(let A=3;A<31;A=A+7){const C=d>>>A;const S=!(C>>>7==0);const v=(S?C|128:C)&255;p.push(v);if(!S){return}}p.push(d>>>31&1)}d.varint64write=varint64write;const p=(1<<16)*(1<<16);function int64fromString(A){let d=A[0]=="-";if(d)A=A.slice(1);const C=1e6;let S=0;let v=0;function add1e6digit(d,T){const _=Number(A.slice(d,T));v*=C;S=S*C+_;if(S>=p){v=v+(S/p|0);S=S%p}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[d,S,v]}d.int64fromString=int64fromString;function int64toString(A,d){if(d>>>0<=2097151){return""+(p*d+(A>>>0))}let C=A&16777215;let S=(A>>>24|d<<8)>>>0&16777215;let v=d>>16&65535;let T=C+S*6777216+v*6710656;let _=S+v*8147497;let V=v*2;let Z=1e7;if(T>=Z){_+=Math.floor(T/Z);T%=Z}if(_>=Z){V+=Math.floor(_/Z);_%=Z}function decimalFrom1e7(A,d){let p=A?String(A):"";if(d){return"0000000".slice(p.length)+p}return p}return decimalFrom1e7(V,0)+decimalFrom1e7(_,V)+decimalFrom1e7(T,1)}d.int64toString=int64toString;function varint32write(A,d){if(A>=0){while(A>127){d.push(A&127|128);A=A>>>7}d.push(A)}else{for(let p=0;p<9;p++){d.push(A&127|128);A=A>>7}d.push(1)}}d.varint32write=varint32write;function varint32read(){let A=this.buf[this.pos++];let d=A&127;if((A&128)==0){this.assertBounds();return d}A=this.buf[this.pos++];d|=(A&127)<<7;if((A&128)==0){this.assertBounds();return d}A=this.buf[this.pos++];d|=(A&127)<<14;if((A&128)==0){this.assertBounds();return d}A=this.buf[this.pos++];d|=(A&127)<<21;if((A&128)==0){this.assertBounds();return d}A=this.buf[this.pos++];d|=(A&15)<<28;for(let d=5;(A&128)!==0&&d<10;d++)A=this.buf[this.pos++];if((A&128)!=0)throw new Error("invalid varint");this.assertBounds();return d>>>0}d.varint32read=varint32read},68140:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var C=p(13417);Object.defineProperty(d,"typeofJsonValue",{enumerable:true,get:function(){return C.typeofJsonValue}});Object.defineProperty(d,"isJsonObject",{enumerable:true,get:function(){return C.isJsonObject}});var S=p(20841);Object.defineProperty(d,"base64decode",{enumerable:true,get:function(){return S.base64decode}});Object.defineProperty(d,"base64encode",{enumerable:true,get:function(){return S.base64encode}});var v=p(49016);Object.defineProperty(d,"utf8read",{enumerable:true,get:function(){return v.utf8read}});var T=p(98218);Object.defineProperty(d,"WireType",{enumerable:true,get:function(){return T.WireType}});Object.defineProperty(d,"mergeBinaryOptions",{enumerable:true,get:function(){return T.mergeBinaryOptions}});Object.defineProperty(d,"UnknownFieldHandler",{enumerable:true,get:function(){return T.UnknownFieldHandler}});var _=p(49695);Object.defineProperty(d,"BinaryReader",{enumerable:true,get:function(){return _.BinaryReader}});Object.defineProperty(d,"binaryReadOptions",{enumerable:true,get:function(){return _.binaryReadOptions}});var V=p(70079);Object.defineProperty(d,"BinaryWriter",{enumerable:true,get:function(){return V.BinaryWriter}});Object.defineProperty(d,"binaryWriteOptions",{enumerable:true,get:function(){return V.binaryWriteOptions}});var Z=p(38819);Object.defineProperty(d,"PbLong",{enumerable:true,get:function(){return Z.PbLong}});Object.defineProperty(d,"PbULong",{enumerable:true,get:function(){return Z.PbULong}});var ee=p(18069);Object.defineProperty(d,"jsonReadOptions",{enumerable:true,get:function(){return ee.jsonReadOptions}});Object.defineProperty(d,"jsonWriteOptions",{enumerable:true,get:function(){return ee.jsonWriteOptions}});Object.defineProperty(d,"mergeJsonOptions",{enumerable:true,get:function(){return ee.mergeJsonOptions}});var te=p(69251);Object.defineProperty(d,"MESSAGE_TYPE",{enumerable:true,get:function(){return te.MESSAGE_TYPE}});var re=p(69940);Object.defineProperty(d,"MessageType",{enumerable:true,get:function(){return re.MessageType}});var ne=p(37048);Object.defineProperty(d,"ScalarType",{enumerable:true,get:function(){return ne.ScalarType}});Object.defineProperty(d,"LongType",{enumerable:true,get:function(){return ne.LongType}});Object.defineProperty(d,"RepeatType",{enumerable:true,get:function(){return ne.RepeatType}});Object.defineProperty(d,"normalizeFieldInfo",{enumerable:true,get:function(){return ne.normalizeFieldInfo}});Object.defineProperty(d,"readFieldOptions",{enumerable:true,get:function(){return ne.readFieldOptions}});Object.defineProperty(d,"readFieldOption",{enumerable:true,get:function(){return ne.readFieldOption}});Object.defineProperty(d,"readMessageOption",{enumerable:true,get:function(){return ne.readMessageOption}});var ie=p(30073);Object.defineProperty(d,"ReflectionTypeCheck",{enumerable:true,get:function(){return ie.ReflectionTypeCheck}});var se=p(8892);Object.defineProperty(d,"reflectionCreate",{enumerable:true,get:function(){return se.reflectionCreate}});var oe=p(29348);Object.defineProperty(d,"reflectionScalarDefault",{enumerable:true,get:function(){return oe.reflectionScalarDefault}});var ae=p(586);Object.defineProperty(d,"reflectionMergePartial",{enumerable:true,get:function(){return ae.reflectionMergePartial}});var le=p(8797);Object.defineProperty(d,"reflectionEquals",{enumerable:true,get:function(){return le.reflectionEquals}});var ce=p(6537);Object.defineProperty(d,"ReflectionBinaryReader",{enumerable:true,get:function(){return ce.ReflectionBinaryReader}});var ue=p(27685);Object.defineProperty(d,"ReflectionBinaryWriter",{enumerable:true,get:function(){return ue.ReflectionBinaryWriter}});var Ae=p(98944);Object.defineProperty(d,"ReflectionJsonReader",{enumerable:true,get:function(){return Ae.ReflectionJsonReader}});var de=p(57324);Object.defineProperty(d,"ReflectionJsonWriter",{enumerable:true,get:function(){return de.ReflectionJsonWriter}});var pe=p(82092);Object.defineProperty(d,"containsMessageType",{enumerable:true,get:function(){return pe.containsMessageType}});var fe=p(69473);Object.defineProperty(d,"isOneofGroup",{enumerable:true,get:function(){return fe.isOneofGroup}});Object.defineProperty(d,"setOneofValue",{enumerable:true,get:function(){return fe.setOneofValue}});Object.defineProperty(d,"getOneofValue",{enumerable:true,get:function(){return fe.getOneofValue}});Object.defineProperty(d,"clearOneofValue",{enumerable:true,get:function(){return fe.clearOneofValue}});Object.defineProperty(d,"getSelectedOneofValue",{enumerable:true,get:function(){return fe.getSelectedOneofValue}});var he=p(4903);Object.defineProperty(d,"listEnumValues",{enumerable:true,get:function(){return he.listEnumValues}});Object.defineProperty(d,"listEnumNames",{enumerable:true,get:function(){return he.listEnumNames}});Object.defineProperty(d,"listEnumNumbers",{enumerable:true,get:function(){return he.listEnumNumbers}});Object.defineProperty(d,"isEnumObject",{enumerable:true,get:function(){return he.isEnumObject}});var ge=p(10023);Object.defineProperty(d,"lowerCamelCase",{enumerable:true,get:function(){return ge.lowerCamelCase}});var me=p(64828);Object.defineProperty(d,"assert",{enumerable:true,get:function(){return me.assert}});Object.defineProperty(d,"assertNever",{enumerable:true,get:function(){return me.assertNever}});Object.defineProperty(d,"assertInt32",{enumerable:true,get:function(){return me.assertInt32}});Object.defineProperty(d,"assertUInt32",{enumerable:true,get:function(){return me.assertUInt32}});Object.defineProperty(d,"assertFloat32",{enumerable:true,get:function(){return me.assertFloat32}})},18069:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeJsonOptions=d.jsonWriteOptions=d.jsonReadOptions=void 0;const p={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},C={ignoreUnknownFields:false};function jsonReadOptions(A){return A?Object.assign(Object.assign({},C),A):C}d.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(A){return A?Object.assign(Object.assign({},p),A):p}d.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(A,d){var p,C;let S=Object.assign(Object.assign({},A),d);S.typeRegistry=[...(p=A===null||A===void 0?void 0:A.typeRegistry)!==null&&p!==void 0?p:[],...(C=d===null||d===void 0?void 0:d.typeRegistry)!==null&&C!==void 0?C:[]];return S}d.mergeJsonOptions=mergeJsonOptions},13417:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isJsonObject=d.typeofJsonValue=void 0;function typeofJsonValue(A){let d=typeof A;if(d=="object"){if(Array.isArray(A))return"array";if(A===null)return"null"}return d}d.typeofJsonValue=typeofJsonValue;function isJsonObject(A){return A!==null&&typeof A=="object"&&!Array.isArray(A)}d.isJsonObject=isJsonObject},10023:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.lowerCamelCase=void 0;function lowerCamelCase(A){let d=false;const p=[];for(let C=0;C<A.length;C++){let S=A.charAt(C);if(S=="_"){d=true}else if(/\d/.test(S)){p.push(S);d=true}else if(d){p.push(S.toUpperCase());d=false}else if(C==0){p.push(S.toLowerCase())}else{p.push(S)}}return p.join("")}d.lowerCamelCase=lowerCamelCase},69251:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.MESSAGE_TYPE=void 0;d.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},69940:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MessageType=void 0;const C=p(69251);const S=p(37048);const v=p(30073);const T=p(98944);const _=p(57324);const V=p(6537);const Z=p(27685);const ee=p(8892);const te=p(586);const re=p(13417);const ne=p(18069);const ie=p(8797);const se=p(70079);const oe=p(49695);const ae=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const le=ae[C.MESSAGE_TYPE]={};class MessageType{constructor(A,d,p){this.defaultCheckDepth=16;this.typeName=A;this.fields=d.map(S.normalizeFieldInfo);this.options=p!==null&&p!==void 0?p:{};le.value=this;this.messagePrototype=Object.create(null,ae);this.refTypeCheck=new v.ReflectionTypeCheck(this);this.refJsonReader=new T.ReflectionJsonReader(this);this.refJsonWriter=new _.ReflectionJsonWriter(this);this.refBinReader=new V.ReflectionBinaryReader(this);this.refBinWriter=new Z.ReflectionBinaryWriter(this)}create(A){let d=ee.reflectionCreate(this);if(A!==undefined){te.reflectionMergePartial(this,d,A)}return d}clone(A){let d=this.create();te.reflectionMergePartial(this,d,A);return d}equals(A,d){return ie.reflectionEquals(this,A,d)}is(A,d=this.defaultCheckDepth){return this.refTypeCheck.is(A,d,false)}isAssignable(A,d=this.defaultCheckDepth){return this.refTypeCheck.is(A,d,true)}mergePartial(A,d){te.reflectionMergePartial(this,A,d)}fromBinary(A,d){let p=oe.binaryReadOptions(d);return this.internalBinaryRead(p.readerFactory(A),A.byteLength,p)}fromJson(A,d){return this.internalJsonRead(A,ne.jsonReadOptions(d))}fromJsonString(A,d){let p=JSON.parse(A);return this.fromJson(p,d)}toJson(A,d){return this.internalJsonWrite(A,ne.jsonWriteOptions(d))}toJsonString(A,d){var p;let C=this.toJson(A,d);return JSON.stringify(C,null,(p=d===null||d===void 0?void 0:d.prettySpaces)!==null&&p!==void 0?p:0)}toBinary(A,d){let p=se.binaryWriteOptions(d);return this.internalBinaryWrite(A,p.writerFactory(),p).finish()}internalJsonRead(A,d,p){if(A!==null&&typeof A=="object"&&!Array.isArray(A)){let C=p!==null&&p!==void 0?p:this.create();this.refJsonReader.read(A,C,d);return C}throw new Error(`Unable to parse message ${this.typeName} from JSON ${re.typeofJsonValue(A)}.`)}internalJsonWrite(A,d){return this.refJsonWriter.write(A,d)}internalBinaryWrite(A,d,p){this.refBinWriter.write(A,d,p);return d}internalBinaryRead(A,d,p,C){let S=C!==null&&C!==void 0?C:this.create();this.refBinReader.read(A,S,p,d);return S}}d.MessageType=MessageType},69473:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSelectedOneofValue=d.clearOneofValue=d.setUnknownOneofValue=d.setOneofValue=d.getOneofValue=d.isOneofGroup=void 0;function isOneofGroup(A){if(typeof A!="object"||A===null||!A.hasOwnProperty("oneofKind")){return false}switch(typeof A.oneofKind){case"string":if(A[A.oneofKind]===undefined)return false;return Object.keys(A).length==2;case"undefined":return Object.keys(A).length==1;default:return false}}d.isOneofGroup=isOneofGroup;function getOneofValue(A,d){return A[d]}d.getOneofValue=getOneofValue;function setOneofValue(A,d,p){if(A.oneofKind!==undefined){delete A[A.oneofKind]}A.oneofKind=d;if(p!==undefined){A[d]=p}}d.setOneofValue=setOneofValue;function setUnknownOneofValue(A,d,p){if(A.oneofKind!==undefined){delete A[A.oneofKind]}A.oneofKind=d;if(p!==undefined&&d!==undefined){A[d]=p}}d.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(A){if(A.oneofKind!==undefined){delete A[A.oneofKind]}A.oneofKind=undefined}d.clearOneofValue=clearOneofValue;function getSelectedOneofValue(A){if(A.oneofKind===undefined){return undefined}return A[A.oneofKind]}d.getSelectedOneofValue=getSelectedOneofValue},38819:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PbLong=d.PbULong=d.detectBi=void 0;const C=p(61605);let S;function detectBi(){const A=new DataView(new ArrayBuffer(8));const d=globalThis.BigInt!==undefined&&typeof A.getBigInt64==="function"&&typeof A.getBigUint64==="function"&&typeof A.setBigInt64==="function"&&typeof A.setBigUint64==="function";S=d?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:A}:undefined}d.detectBi=detectBi;detectBi();function assertBi(A){if(!A)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const v=/^-?[0-9]+$/;const T=4294967296;const _=2147483648;class SharedPbLong{constructor(A,d){this.lo=A|0;this.hi=d|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let A=this.hi*T+(this.lo>>>0);if(!Number.isSafeInteger(A))throw new Error("cannot convert to safe number");return A}}class PbULong extends SharedPbLong{static from(A){if(S)switch(typeof A){case"string":if(A=="0")return this.ZERO;if(A=="")throw new Error("string is no integer");A=S.C(A);case"number":if(A===0)return this.ZERO;A=S.C(A);case"bigint":if(!A)return this.ZERO;if(A<S.UMIN)throw new Error("signed value for ulong");if(A>S.UMAX)throw new Error("ulong too large");S.V.setBigUint64(0,A,true);return new PbULong(S.V.getInt32(0,true),S.V.getInt32(4,true))}else switch(typeof A){case"string":if(A=="0")return this.ZERO;A=A.trim();if(!v.test(A))throw new Error("string is no integer");let[d,p,S]=C.int64fromString(A);if(d)throw new Error("signed value for ulong");return new PbULong(p,S);case"number":if(A==0)return this.ZERO;if(!Number.isSafeInteger(A))throw new Error("number is no integer");if(A<0)throw new Error("signed value for ulong");return new PbULong(A,A/T)}throw new Error("unknown value "+typeof A)}toString(){return S?this.toBigInt().toString():C.int64toString(this.lo,this.hi)}toBigInt(){assertBi(S);S.V.setInt32(0,this.lo,true);S.V.setInt32(4,this.hi,true);return S.V.getBigUint64(0,true)}}d.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(A){if(S)switch(typeof A){case"string":if(A=="0")return this.ZERO;if(A=="")throw new Error("string is no integer");A=S.C(A);case"number":if(A===0)return this.ZERO;A=S.C(A);case"bigint":if(!A)return this.ZERO;if(A<S.MIN)throw new Error("signed long too small");if(A>S.MAX)throw new Error("signed long too large");S.V.setBigInt64(0,A,true);return new PbLong(S.V.getInt32(0,true),S.V.getInt32(4,true))}else switch(typeof A){case"string":if(A=="0")return this.ZERO;A=A.trim();if(!v.test(A))throw new Error("string is no integer");let[d,p,S]=C.int64fromString(A);if(d){if(S>_||S==_&&p!=0)throw new Error("signed long too small")}else if(S>=_)throw new Error("signed long too large");let V=new PbLong(p,S);return d?V.negate():V;case"number":if(A==0)return this.ZERO;if(!Number.isSafeInteger(A))throw new Error("number is no integer");return A>0?new PbLong(A,A/T):new PbLong(-A,-A/T).negate()}throw new Error("unknown value "+typeof A)}isNegative(){return(this.hi&_)!==0}negate(){let A=~this.hi,d=this.lo;if(d)d=~d+1;else A+=1;return new PbLong(d,A)}toString(){if(S)return this.toBigInt().toString();if(this.isNegative()){let A=this.negate();return"-"+C.int64toString(A.lo,A.hi)}return C.int64toString(this.lo,this.hi)}toBigInt(){assertBi(S);S.V.setInt32(0,this.lo,true);S.V.setInt32(4,this.hi,true);return S.V.getBigInt64(0,true)}}d.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},49016:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.utf8read=void 0;const fromCharCodes=A=>String.fromCharCode.apply(String,A);function utf8read(A){if(A.length<1)return"";let d=0,p=[],C=[],S=0,v;let T=A.length;while(d<T){v=A[d++];if(v<128)C[S++]=v;else if(v>191&&v<224)C[S++]=(v&31)<<6|A[d++]&63;else if(v>239&&v<365){v=((v&7)<<18|(A[d++]&63)<<12|(A[d++]&63)<<6|A[d++]&63)-65536;C[S++]=55296+(v>>10);C[S++]=56320+(v&1023)}else C[S++]=(v&15)<<12|(A[d++]&63)<<6|A[d++]&63;if(S>8191){p.push(fromCharCodes(C));S=0}}if(p.length){if(S)p.push(fromCharCodes(C.slice(0,S)));return p.join("")}return fromCharCodes(C.slice(0,S))}d.utf8read=utf8read},6537:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryReader=void 0;const C=p(98218);const S=p(37048);const v=p(5232);const T=p(29348);class ReflectionBinaryReader{constructor(A){this.info=A}prepare(){var A;if(!this.fieldNoToField){const d=(A=this.info.fields)!==null&&A!==void 0?A:[];this.fieldNoToField=new Map(d.map((A=>[A.no,A])))}}read(A,d,p,v){this.prepare();const T=v===undefined?A.len:A.pos+v;while(A.pos<T){const[v,T]=A.tag(),_=this.fieldNoToField.get(v);if(!_){let S=p.readUnknownField;if(S=="throw")throw new Error(`Unknown field ${v} (wire type ${T}) for ${this.info.typeName}`);let _=A.skip(T);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.info.typeName,d,v,T,_);continue}let V=d,Z=_.repeat,ee=_.localName;if(_.oneof){V=V[_.oneof];if(V.oneofKind!==ee)V=d[_.oneof]={oneofKind:ee}}switch(_.kind){case"scalar":case"enum":let d=_.kind=="enum"?S.ScalarType.INT32:_.T;let v=_.kind=="scalar"?_.L:undefined;if(Z){let p=V[ee];if(T==C.WireType.LengthDelimited&&d!=S.ScalarType.STRING&&d!=S.ScalarType.BYTES){let C=A.uint32()+A.pos;while(A.pos<C)p.push(this.scalar(A,d,v))}else p.push(this.scalar(A,d,v))}else V[ee]=this.scalar(A,d,v);break;case"message":if(Z){let d=V[ee];let C=_.T().internalBinaryRead(A,A.uint32(),p);d.push(C)}else V[ee]=_.T().internalBinaryRead(A,A.uint32(),p,V[ee]);break;case"map":let[te,re]=this.mapEntry(_,A,p);V[ee][te]=re;break}}}mapEntry(A,d,p){let C=d.uint32();let v=d.pos+C;let _=undefined;let V=undefined;while(d.pos<v){let[C,v]=d.tag();switch(C){case 1:if(A.K==S.ScalarType.BOOL)_=d.bool().toString();else _=this.scalar(d,A.K,S.LongType.STRING);break;case 2:switch(A.V.kind){case"scalar":V=this.scalar(d,A.V.T,A.V.L);break;case"enum":V=d.int32();break;case"message":V=A.V.T().internalBinaryRead(d,d.uint32(),p);break}break;default:throw new Error(`Unknown field ${C} (wire type ${v}) in map entry for ${this.info.typeName}#${A.name}`)}}if(_===undefined){let d=T.reflectionScalarDefault(A.K);_=A.K==S.ScalarType.BOOL?d.toString():d}if(V===undefined)switch(A.V.kind){case"scalar":V=T.reflectionScalarDefault(A.V.T,A.V.L);break;case"enum":V=0;break;case"message":V=A.V.T().create();break}return[_,V]}scalar(A,d,p){switch(d){case S.ScalarType.INT32:return A.int32();case S.ScalarType.STRING:return A.string();case S.ScalarType.BOOL:return A.bool();case S.ScalarType.DOUBLE:return A.double();case S.ScalarType.FLOAT:return A.float();case S.ScalarType.INT64:return v.reflectionLongConvert(A.int64(),p);case S.ScalarType.UINT64:return v.reflectionLongConvert(A.uint64(),p);case S.ScalarType.FIXED64:return v.reflectionLongConvert(A.fixed64(),p);case S.ScalarType.FIXED32:return A.fixed32();case S.ScalarType.BYTES:return A.bytes();case S.ScalarType.UINT32:return A.uint32();case S.ScalarType.SFIXED32:return A.sfixed32();case S.ScalarType.SFIXED64:return v.reflectionLongConvert(A.sfixed64(),p);case S.ScalarType.SINT32:return A.sint32();case S.ScalarType.SINT64:return v.reflectionLongConvert(A.sint64(),p)}}}d.ReflectionBinaryReader=ReflectionBinaryReader},27685:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryWriter=void 0;const C=p(98218);const S=p(37048);const v=p(64828);const T=p(38819);class ReflectionBinaryWriter{constructor(A){this.info=A}prepare(){if(!this.fields){const A=this.info.fields?this.info.fields.concat():[];this.fields=A.sort(((A,d)=>A.no-d.no))}}write(A,d,p){this.prepare();for(const C of this.fields){let T,_,V=C.repeat,Z=C.localName;if(C.oneof){const d=A[C.oneof];if(d.oneofKind!==Z)continue;T=d[Z];_=true}else{T=A[Z];_=false}switch(C.kind){case"scalar":case"enum":let A=C.kind=="enum"?S.ScalarType.INT32:C.T;if(V){v.assert(Array.isArray(T));if(V==S.RepeatType.PACKED)this.packed(d,A,C.no,T);else for(const p of T)this.scalar(d,A,C.no,p,true)}else if(T===undefined)v.assert(C.opt);else this.scalar(d,A,C.no,T,_||C.opt);break;case"message":if(V){v.assert(Array.isArray(T));for(const A of T)this.message(d,p,C.T(),C.no,A)}else{this.message(d,p,C.T(),C.no,T)}break;case"map":v.assert(typeof T=="object"&&T!==null);for(const[A,S]of Object.entries(T))this.mapEntry(d,p,C,A,S);break}}let T=p.writeUnknownFields;if(T!==false)(T===true?C.UnknownFieldHandler.onWrite:T)(this.info.typeName,A,d)}mapEntry(A,d,p,T,_){A.tag(p.no,C.WireType.LengthDelimited);A.fork();let V=T;switch(p.K){case S.ScalarType.INT32:case S.ScalarType.FIXED32:case S.ScalarType.UINT32:case S.ScalarType.SFIXED32:case S.ScalarType.SINT32:V=Number.parseInt(T);break;case S.ScalarType.BOOL:v.assert(T=="true"||T=="false");V=T=="true";break}this.scalar(A,p.K,1,V,true);switch(p.V.kind){case"scalar":this.scalar(A,p.V.T,2,_,true);break;case"enum":this.scalar(A,S.ScalarType.INT32,2,_,true);break;case"message":this.message(A,d,p.V.T(),2,_);break}A.join()}message(A,d,p,S,v){if(v===undefined)return;p.internalBinaryWrite(v,A.tag(S,C.WireType.LengthDelimited).fork(),d);A.join()}scalar(A,d,p,C,S){let[v,T,_]=this.scalarInfo(d,C);if(!_||S){A.tag(p,v);A[T](C)}}packed(A,d,p,T){if(!T.length)return;v.assert(d!==S.ScalarType.BYTES&&d!==S.ScalarType.STRING);A.tag(p,C.WireType.LengthDelimited);A.fork();let[,_]=this.scalarInfo(d);for(let d=0;d<T.length;d++)A[_](T[d]);A.join()}scalarInfo(A,d){let p=C.WireType.Varint;let v;let _=d===undefined;let V=d===0;switch(A){case S.ScalarType.INT32:v="int32";break;case S.ScalarType.STRING:V=_||!d.length;p=C.WireType.LengthDelimited;v="string";break;case S.ScalarType.BOOL:V=d===false;v="bool";break;case S.ScalarType.UINT32:v="uint32";break;case S.ScalarType.DOUBLE:p=C.WireType.Bit64;v="double";break;case S.ScalarType.FLOAT:p=C.WireType.Bit32;v="float";break;case S.ScalarType.INT64:V=_||T.PbLong.from(d).isZero();v="int64";break;case S.ScalarType.UINT64:V=_||T.PbULong.from(d).isZero();v="uint64";break;case S.ScalarType.FIXED64:V=_||T.PbULong.from(d).isZero();p=C.WireType.Bit64;v="fixed64";break;case S.ScalarType.BYTES:V=_||!d.byteLength;p=C.WireType.LengthDelimited;v="bytes";break;case S.ScalarType.FIXED32:p=C.WireType.Bit32;v="fixed32";break;case S.ScalarType.SFIXED32:p=C.WireType.Bit32;v="sfixed32";break;case S.ScalarType.SFIXED64:V=_||T.PbLong.from(d).isZero();p=C.WireType.Bit64;v="sfixed64";break;case S.ScalarType.SINT32:v="sint32";break;case S.ScalarType.SINT64:V=_||T.PbLong.from(d).isZero();v="sint64";break}return[p,v,_||V]}}d.ReflectionBinaryWriter=ReflectionBinaryWriter},82092:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.containsMessageType=void 0;const C=p(69251);function containsMessageType(A){return A[C.MESSAGE_TYPE]!=null}d.containsMessageType=containsMessageType},8892:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionCreate=void 0;const C=p(29348);const S=p(69251);function reflectionCreate(A){const d=A.messagePrototype?Object.create(A.messagePrototype):Object.defineProperty({},S.MESSAGE_TYPE,{value:A});for(let p of A.fields){let A=p.localName;if(p.opt)continue;if(p.oneof)d[p.oneof]={oneofKind:undefined};else if(p.repeat)d[A]=[];else switch(p.kind){case"scalar":d[A]=C.reflectionScalarDefault(p.T,p.L);break;case"enum":d[A]=0;break;case"map":d[A]={};break}}return d}d.reflectionCreate=reflectionCreate},8797:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionEquals=void 0;const C=p(37048);function reflectionEquals(A,d,p){if(d===p)return true;if(!d||!p)return false;for(let v of A.fields){let A=v.localName;let T=v.oneof?d[v.oneof][A]:d[A];let _=v.oneof?p[v.oneof][A]:p[A];switch(v.kind){case"enum":case"scalar":let A=v.kind=="enum"?C.ScalarType.INT32:v.T;if(!(v.repeat?repeatedPrimitiveEq(A,T,_):primitiveEq(A,T,_)))return false;break;case"map":if(!(v.V.kind=="message"?repeatedMsgEq(v.V.T(),S(T),S(_)):repeatedPrimitiveEq(v.V.kind=="enum"?C.ScalarType.INT32:v.V.T,S(T),S(_))))return false;break;case"message":let d=v.T();if(!(v.repeat?repeatedMsgEq(d,T,_):d.equals(T,_)))return false;break}}return true}d.reflectionEquals=reflectionEquals;const S=Object.values;function primitiveEq(A,d,p){if(d===p)return true;if(A!==C.ScalarType.BYTES)return false;let S=d;let v=p;if(S.length!==v.length)return false;for(let A=0;A<S.length;A++)if(S[A]!=v[A])return false;return true}function repeatedPrimitiveEq(A,d,p){if(d.length!==p.length)return false;for(let C=0;C<d.length;C++)if(!primitiveEq(A,d[C],p[C]))return false;return true}function repeatedMsgEq(A,d,p){if(d.length!==p.length)return false;for(let C=0;C<d.length;C++)if(!A.equals(d[C],p[C]))return false;return true}},37048:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readMessageOption=d.readFieldOption=d.readFieldOptions=d.normalizeFieldInfo=d.RepeatType=d.LongType=d.ScalarType=void 0;const C=p(10023);var S;(function(A){A[A["DOUBLE"]=1]="DOUBLE";A[A["FLOAT"]=2]="FLOAT";A[A["INT64"]=3]="INT64";A[A["UINT64"]=4]="UINT64";A[A["INT32"]=5]="INT32";A[A["FIXED64"]=6]="FIXED64";A[A["FIXED32"]=7]="FIXED32";A[A["BOOL"]=8]="BOOL";A[A["STRING"]=9]="STRING";A[A["BYTES"]=12]="BYTES";A[A["UINT32"]=13]="UINT32";A[A["SFIXED32"]=15]="SFIXED32";A[A["SFIXED64"]=16]="SFIXED64";A[A["SINT32"]=17]="SINT32";A[A["SINT64"]=18]="SINT64"})(S=d.ScalarType||(d.ScalarType={}));var v;(function(A){A[A["BIGINT"]=0]="BIGINT";A[A["STRING"]=1]="STRING";A[A["NUMBER"]=2]="NUMBER"})(v=d.LongType||(d.LongType={}));var T;(function(A){A[A["NO"]=0]="NO";A[A["PACKED"]=1]="PACKED";A[A["UNPACKED"]=2]="UNPACKED"})(T=d.RepeatType||(d.RepeatType={}));function normalizeFieldInfo(A){var d,p,S,v;A.localName=(d=A.localName)!==null&&d!==void 0?d:C.lowerCamelCase(A.name);A.jsonName=(p=A.jsonName)!==null&&p!==void 0?p:C.lowerCamelCase(A.name);A.repeat=(S=A.repeat)!==null&&S!==void 0?S:T.NO;A.opt=(v=A.opt)!==null&&v!==void 0?v:A.repeat?false:A.oneof?false:A.kind=="message";return A}d.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(A,d,p,C){var S;const v=(S=A.fields.find(((A,p)=>A.localName==d||p==d)))===null||S===void 0?void 0:S.options;return v&&v[p]?C.fromJson(v[p]):undefined}d.readFieldOptions=readFieldOptions;function readFieldOption(A,d,p,C){var S;const v=(S=A.fields.find(((A,p)=>A.localName==d||p==d)))===null||S===void 0?void 0:S.options;if(!v){return undefined}const T=v[p];if(T===undefined){return T}return C?C.fromJson(T):T}d.readFieldOption=readFieldOption;function readMessageOption(A,d,p){const C=A.options;const S=C[d];if(S===undefined){return S}return p?p.fromJson(S):S}d.readMessageOption=readMessageOption},98944:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonReader=void 0;const C=p(13417);const S=p(20841);const v=p(37048);const T=p(38819);const _=p(64828);const V=p(5232);class ReflectionJsonReader{constructor(A){this.info=A}prepare(){var A;if(this.fMap===undefined){this.fMap={};const d=(A=this.info.fields)!==null&&A!==void 0?A:[];for(const A of d){this.fMap[A.name]=A;this.fMap[A.jsonName]=A;this.fMap[A.localName]=A}}}assert(A,d,p){if(!A){let A=C.typeofJsonValue(p);if(A=="number"||A=="boolean")A=p.toString();throw new Error(`Cannot parse JSON ${A} for ${this.info.typeName}#${d}`)}}read(A,d,p){this.prepare();const S=[];for(const[T,_]of Object.entries(A)){const A=this.fMap[T];if(!A){if(!p.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${T}`);continue}const V=A.localName;let Z;if(A.oneof){if(_===null&&(A.kind!=="enum"||A.T()[0]!=="google.protobuf.NullValue")){continue}if(S.includes(A.oneof))throw new Error(`Multiple members of the oneof group "${A.oneof}" of ${this.info.typeName} are present in JSON.`);S.push(A.oneof);Z=d[A.oneof]={oneofKind:V}}else{Z=d}if(A.kind=="map"){if(_===null){continue}this.assert(C.isJsonObject(_),A.name,_);const d=Z[V];for(const[C,S]of Object.entries(_)){this.assert(S!==null,A.name+" map value",null);let T;switch(A.V.kind){case"message":T=A.V.T().internalJsonRead(S,p);break;case"enum":T=this.enum(A.V.T(),S,A.name,p.ignoreUnknownFields);if(T===false)continue;break;case"scalar":T=this.scalar(S,A.V.T,A.V.L,A.name);break}this.assert(T!==undefined,A.name+" map value",S);let _=C;if(A.K==v.ScalarType.BOOL)_=_=="true"?true:_=="false"?false:_;_=this.scalar(_,A.K,v.LongType.STRING,A.name).toString();d[_]=T}}else if(A.repeat){if(_===null)continue;this.assert(Array.isArray(_),A.name,_);const d=Z[V];for(const C of _){this.assert(C!==null,A.name,null);let S;switch(A.kind){case"message":S=A.T().internalJsonRead(C,p);break;case"enum":S=this.enum(A.T(),C,A.name,p.ignoreUnknownFields);if(S===false)continue;break;case"scalar":S=this.scalar(C,A.T,A.L,A.name);break}this.assert(S!==undefined,A.name,_);d.push(S)}}else{switch(A.kind){case"message":if(_===null&&A.T().typeName!="google.protobuf.Value"){this.assert(A.oneof===undefined,A.name+" (oneof member)",null);continue}Z[V]=A.T().internalJsonRead(_,p,Z[V]);break;case"enum":if(_===null)continue;let d=this.enum(A.T(),_,A.name,p.ignoreUnknownFields);if(d===false)continue;Z[V]=d;break;case"scalar":if(_===null)continue;Z[V]=this.scalar(_,A.T,A.L,A.name);break}}}}enum(A,d,p,C){if(A[0]=="google.protobuf.NullValue")_.assert(d===null||d==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${p}, enum ${A[0]} only accepts null.`);if(d===null)return 0;switch(typeof d){case"number":_.assert(Number.isInteger(d),`Unable to parse field ${this.info.typeName}#${p}, enum can only be integral number, got ${d}.`);return d;case"string":let S=d;if(A[2]&&d.substring(0,A[2].length)===A[2])S=d.substring(A[2].length);let v=A[1][S];if(typeof v==="undefined"&&C){return false}_.assert(typeof v=="number",`Unable to parse field ${this.info.typeName}#${p}, enum ${A[0]} has no value for "${d}".`);return v}_.assert(false,`Unable to parse field ${this.info.typeName}#${p}, cannot parse enum value from ${typeof d}".`)}scalar(A,d,p,C){let Z;try{switch(d){case v.ScalarType.DOUBLE:case v.ScalarType.FLOAT:if(A===null)return 0;if(A==="NaN")return Number.NaN;if(A==="Infinity")return Number.POSITIVE_INFINITY;if(A==="-Infinity")return Number.NEGATIVE_INFINITY;if(A===""){Z="empty string";break}if(typeof A=="string"&&A.trim().length!==A.length){Z="extra whitespace";break}if(typeof A!="string"&&typeof A!="number"){break}let C=Number(A);if(Number.isNaN(C)){Z="not a number";break}if(!Number.isFinite(C)){Z="too large or small";break}if(d==v.ScalarType.FLOAT)_.assertFloat32(C);return C;case v.ScalarType.INT32:case v.ScalarType.FIXED32:case v.ScalarType.SFIXED32:case v.ScalarType.SINT32:case v.ScalarType.UINT32:if(A===null)return 0;let ee;if(typeof A=="number")ee=A;else if(A==="")Z="empty string";else if(typeof A=="string"){if(A.trim().length!==A.length)Z="extra whitespace";else ee=Number(A)}if(ee===undefined)break;if(d==v.ScalarType.UINT32)_.assertUInt32(ee);else _.assertInt32(ee);return ee;case v.ScalarType.INT64:case v.ScalarType.SFIXED64:case v.ScalarType.SINT64:if(A===null)return V.reflectionLongConvert(T.PbLong.ZERO,p);if(typeof A!="number"&&typeof A!="string")break;return V.reflectionLongConvert(T.PbLong.from(A),p);case v.ScalarType.FIXED64:case v.ScalarType.UINT64:if(A===null)return V.reflectionLongConvert(T.PbULong.ZERO,p);if(typeof A!="number"&&typeof A!="string")break;return V.reflectionLongConvert(T.PbULong.from(A),p);case v.ScalarType.BOOL:if(A===null)return false;if(typeof A!=="boolean")break;return A;case v.ScalarType.STRING:if(A===null)return"";if(typeof A!=="string"){Z="extra whitespace";break}try{encodeURIComponent(A)}catch(Z){Z="invalid UTF8";break}return A;case v.ScalarType.BYTES:if(A===null||A==="")return new Uint8Array(0);if(typeof A!=="string")break;return S.base64decode(A)}}catch(A){Z=A.message}this.assert(false,C+(Z?" - "+Z:""),A)}}d.ReflectionJsonReader=ReflectionJsonReader},57324:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonWriter=void 0;const C=p(20841);const S=p(38819);const v=p(37048);const T=p(64828);class ReflectionJsonWriter{constructor(A){var d;this.fields=(d=A.fields)!==null&&d!==void 0?d:[]}write(A,d){const p={},C=A;for(const A of this.fields){if(!A.oneof){let S=this.field(A,C[A.localName],d);if(S!==undefined)p[d.useProtoFieldName?A.name:A.jsonName]=S;continue}const S=C[A.oneof];if(S.oneofKind!==A.localName)continue;const v=A.kind=="scalar"||A.kind=="enum"?Object.assign(Object.assign({},d),{emitDefaultValues:true}):d;let _=this.field(A,S[A.localName],v);T.assert(_!==undefined);p[d.useProtoFieldName?A.name:A.jsonName]=_}return p}field(A,d,p){let C=undefined;if(A.kind=="map"){T.assert(typeof d=="object"&&d!==null);const S={};switch(A.V.kind){case"scalar":for(const[p,C]of Object.entries(d)){const d=this.scalar(A.V.T,C,A.name,false,true);T.assert(d!==undefined);S[p.toString()]=d}break;case"message":const C=A.V.T();for(const[v,_]of Object.entries(d)){const d=this.message(C,_,A.name,p);T.assert(d!==undefined);S[v.toString()]=d}break;case"enum":const v=A.V.T();for(const[C,_]of Object.entries(d)){T.assert(_===undefined||typeof _=="number");const d=this.enum(v,_,A.name,false,true,p.enumAsInteger);T.assert(d!==undefined);S[C.toString()]=d}break}if(p.emitDefaultValues||Object.keys(S).length>0)C=S}else if(A.repeat){T.assert(Array.isArray(d));const S=[];switch(A.kind){case"scalar":for(let p=0;p<d.length;p++){const C=this.scalar(A.T,d[p],A.name,A.opt,true);T.assert(C!==undefined);S.push(C)}break;case"enum":const C=A.T();for(let v=0;v<d.length;v++){T.assert(d[v]===undefined||typeof d[v]=="number");const _=this.enum(C,d[v],A.name,A.opt,true,p.enumAsInteger);T.assert(_!==undefined);S.push(_)}break;case"message":const v=A.T();for(let C=0;C<d.length;C++){const _=this.message(v,d[C],A.name,p);T.assert(_!==undefined);S.push(_)}break}if(p.emitDefaultValues||S.length>0||p.emitDefaultValues)C=S}else{switch(A.kind){case"scalar":C=this.scalar(A.T,d,A.name,A.opt,p.emitDefaultValues);break;case"enum":C=this.enum(A.T(),d,A.name,A.opt,p.emitDefaultValues,p.enumAsInteger);break;case"message":C=this.message(A.T(),d,A.name,p);break}}return C}enum(A,d,p,C,S,v){if(A[0]=="google.protobuf.NullValue")return!S&&!C?undefined:null;if(d===undefined){T.assert(C);return undefined}if(d===0&&!S&&!C)return undefined;T.assert(typeof d=="number");T.assert(Number.isInteger(d));if(v||!A[1].hasOwnProperty(d))return d;if(A[2])return A[2]+A[1][d];return A[1][d]}message(A,d,p,C){if(d===undefined)return C.emitDefaultValues?null:undefined;return A.internalJsonWrite(d,C)}scalar(A,d,p,_,V){if(d===undefined){T.assert(_);return undefined}const Z=V||_;switch(A){case v.ScalarType.INT32:case v.ScalarType.SFIXED32:case v.ScalarType.SINT32:if(d===0)return Z?0:undefined;T.assertInt32(d);return d;case v.ScalarType.FIXED32:case v.ScalarType.UINT32:if(d===0)return Z?0:undefined;T.assertUInt32(d);return d;case v.ScalarType.FLOAT:T.assertFloat32(d);case v.ScalarType.DOUBLE:if(d===0)return Z?0:undefined;T.assert(typeof d=="number");if(Number.isNaN(d))return"NaN";if(d===Number.POSITIVE_INFINITY)return"Infinity";if(d===Number.NEGATIVE_INFINITY)return"-Infinity";return d;case v.ScalarType.STRING:if(d==="")return Z?"":undefined;T.assert(typeof d=="string");return d;case v.ScalarType.BOOL:if(d===false)return Z?false:undefined;T.assert(typeof d=="boolean");return d;case v.ScalarType.UINT64:case v.ScalarType.FIXED64:T.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let A=S.PbULong.from(d);if(A.isZero()&&!Z)return undefined;return A.toString();case v.ScalarType.INT64:case v.ScalarType.SFIXED64:case v.ScalarType.SINT64:T.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let p=S.PbLong.from(d);if(p.isZero()&&!Z)return undefined;return p.toString();case v.ScalarType.BYTES:T.assert(d instanceof Uint8Array);if(!d.byteLength)return Z?"":undefined;return C.base64encode(d)}}}d.ReflectionJsonWriter=ReflectionJsonWriter},5232:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionLongConvert=void 0;const C=p(37048);function reflectionLongConvert(A,d){switch(d){case C.LongType.BIGINT:return A.toBigInt();case C.LongType.NUMBER:return A.toNumber();default:return A.toString()}}d.reflectionLongConvert=reflectionLongConvert},586:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionMergePartial=void 0;function reflectionMergePartial(A,d,p){let C,S=p,v;for(let p of A.fields){let A=p.localName;if(p.oneof){const T=S[p.oneof];if((T===null||T===void 0?void 0:T.oneofKind)==undefined){continue}C=T[A];v=d[p.oneof];v.oneofKind=T.oneofKind;if(C==undefined){delete v[A];continue}}else{C=S[A];v=d;if(C==undefined){continue}}if(p.repeat)v[A].length=C.length;switch(p.kind){case"scalar":case"enum":if(p.repeat)for(let d=0;d<C.length;d++)v[A][d]=C[d];else v[A]=C;break;case"message":let d=p.T();if(p.repeat)for(let p=0;p<C.length;p++)v[A][p]=d.create(C[p]);else if(v[A]===undefined)v[A]=d.create(C);else d.mergePartial(v[A],C);break;case"map":switch(p.V.kind){case"scalar":case"enum":Object.assign(v[A],C);break;case"message":let d=p.V.T();for(let p of Object.keys(C))v[A][p]=d.create(C[p]);break}break}}}d.reflectionMergePartial=reflectionMergePartial},29348:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionScalarDefault=void 0;const C=p(37048);const S=p(5232);const v=p(38819);function reflectionScalarDefault(A,d=C.LongType.STRING){switch(A){case C.ScalarType.BOOL:return false;case C.ScalarType.UINT64:case C.ScalarType.FIXED64:return S.reflectionLongConvert(v.PbULong.ZERO,d);case C.ScalarType.INT64:case C.ScalarType.SFIXED64:case C.ScalarType.SINT64:return S.reflectionLongConvert(v.PbLong.ZERO,d);case C.ScalarType.DOUBLE:case C.ScalarType.FLOAT:return 0;case C.ScalarType.BYTES:return new Uint8Array(0);case C.ScalarType.STRING:return"";default:return 0}}d.reflectionScalarDefault=reflectionScalarDefault},30073:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionTypeCheck=void 0;const C=p(37048);const S=p(69473);class ReflectionTypeCheck{constructor(A){var d;this.fields=(d=A.fields)!==null&&d!==void 0?d:[]}prepare(){if(this.data)return;const A=[],d=[],p=[];for(let C of this.fields){if(C.oneof){if(!p.includes(C.oneof)){p.push(C.oneof);A.push(C.oneof);d.push(C.oneof)}}else{d.push(C.localName);switch(C.kind){case"scalar":case"enum":if(!C.opt||C.repeat)A.push(C.localName);break;case"message":if(C.repeat)A.push(C.localName);break;case"map":A.push(C.localName);break}}}this.data={req:A,known:d,oneofs:Object.values(p)}}is(A,d,p=false){if(d<0)return true;if(A===null||A===undefined||typeof A!="object")return false;this.prepare();let C=Object.keys(A),v=this.data;if(C.length<v.req.length||v.req.some((A=>!C.includes(A))))return false;if(!p){if(C.some((A=>!v.known.includes(A))))return false}if(d<1){return true}for(const C of v.oneofs){const v=A[C];if(!S.isOneofGroup(v))return false;if(v.oneofKind===undefined)continue;const T=this.fields.find((A=>A.localName===v.oneofKind));if(!T)return false;if(!this.field(v[v.oneofKind],T,p,d))return false}for(const C of this.fields){if(C.oneof!==undefined)continue;if(!this.field(A[C.localName],C,p,d))return false}return true}field(A,d,p,S){let v=d.repeat;switch(d.kind){case"scalar":if(A===undefined)return d.opt;if(v)return this.scalars(A,d.T,S,d.L);return this.scalar(A,d.T,d.L);case"enum":if(A===undefined)return d.opt;if(v)return this.scalars(A,C.ScalarType.INT32,S);return this.scalar(A,C.ScalarType.INT32);case"message":if(A===undefined)return true;if(v)return this.messages(A,d.T(),p,S);return this.message(A,d.T(),p,S);case"map":if(typeof A!="object"||A===null)return false;if(S<2)return true;if(!this.mapKeys(A,d.K,S))return false;switch(d.V.kind){case"scalar":return this.scalars(Object.values(A),d.V.T,S,d.V.L);case"enum":return this.scalars(Object.values(A),C.ScalarType.INT32,S);case"message":return this.messages(Object.values(A),d.V.T(),p,S)}break}return true}message(A,d,p,C){if(p){return d.isAssignable(A,C)}return d.is(A,C)}messages(A,d,p,C){if(!Array.isArray(A))return false;if(C<2)return true;if(p){for(let p=0;p<A.length&&p<C;p++)if(!d.isAssignable(A[p],C-1))return false}else{for(let p=0;p<A.length&&p<C;p++)if(!d.is(A[p],C-1))return false}return true}scalar(A,d,p){let S=typeof A;switch(d){case C.ScalarType.UINT64:case C.ScalarType.FIXED64:case C.ScalarType.INT64:case C.ScalarType.SFIXED64:case C.ScalarType.SINT64:switch(p){case C.LongType.BIGINT:return S=="bigint";case C.LongType.NUMBER:return S=="number"&&!isNaN(A);default:return S=="string"}case C.ScalarType.BOOL:return S=="boolean";case C.ScalarType.STRING:return S=="string";case C.ScalarType.BYTES:return A instanceof Uint8Array;case C.ScalarType.DOUBLE:case C.ScalarType.FLOAT:return S=="number"&&!isNaN(A);default:return S=="number"&&Number.isInteger(A)}}scalars(A,d,p,C){if(!Array.isArray(A))return false;if(p<2)return true;if(Array.isArray(A))for(let S=0;S<A.length&&S<p;S++)if(!this.scalar(A[S],d,C))return false;return true}mapKeys(A,d,p){let S=Object.keys(A);switch(d){case C.ScalarType.INT32:case C.ScalarType.FIXED32:case C.ScalarType.SFIXED32:case C.ScalarType.SINT32:case C.ScalarType.UINT32:return this.scalars(S.slice(0,p).map((A=>parseInt(A))),d,p);case C.ScalarType.BOOL:return this.scalars(S.slice(0,p).map((A=>A=="true"?true:A=="false"?false:A)),d,p);default:return this.scalars(S,d,p,C.LongType.STRING)}}}d.ReflectionTypeCheck=ReflectionTypeCheck},19914:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var C=p(9876);class AbortSignal extends C.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const A=S.get(this);if(typeof A!=="boolean"){throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`)}return A}}C.defineEventAttribute(AbortSignal.prototype,"abort");function createAbortSignal(){const A=Object.create(AbortSignal.prototype);C.EventTarget.call(A);S.set(A,false);return A}function abortSignal(A){if(S.get(A)!==false){return}S.set(A,true);A.dispatchEvent({type:"abort"})}const S=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(){v.set(this,createAbortSignal())}get signal(){return getSignal(this)}abort(){abortSignal(getSignal(this))}}const v=new WeakMap;function getSignal(A){const d=v.get(A);if(d==null){throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${A===null?"null":typeof A}`)}return d}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"})}d.AbortController=AbortController;d.AbortSignal=AbortSignal;d["default"]=AbortController;A.exports=AbortController;A.exports.AbortController=A.exports["default"]=AbortController;A.exports.AbortSignal=AbortSignal},84455:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.req=d.json=d.toBuffer=void 0;const T=v(p(58611));const _=v(p(65692));async function toBuffer(A){let d=0;const p=[];for await(const C of A){d+=C.length;p.push(C)}return Buffer.concat(p,d)}d.toBuffer=toBuffer;async function json(A){const d=await toBuffer(A);const p=d.toString("utf8");try{return JSON.parse(p)}catch(A){const d=A;d.message+=` (input: ${p})`;throw d}}d.json=json;function req(A,d={}){const p=typeof A==="string"?A:A.href;const C=(p.startsWith("https:")?_:T).request(A,d);const S=new Promise(((A,d)=>{C.once("response",A).once("error",d).end()}));C.then=S.then.bind(S);return C}d.req=req},10646:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__exportStar||function(A,d){for(var p in A)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))C(d,A,p)};Object.defineProperty(d,"__esModule",{value:true});d.Agent=void 0;const _=v(p(69278));const V=v(p(58611));const Z=p(65692);T(p(84455),d);const ee=Symbol("AgentBaseInternalState");class Agent extends V.Agent{constructor(A){super(A);this[ee]={}}isSecureEndpoint(A){if(A){if(typeof A.secureEndpoint==="boolean"){return A.secureEndpoint}if(typeof A.protocol==="string"){return A.protocol==="https:"}}const{stack:d}=new Error;if(typeof d!=="string")return false;return d.split("\n").some((A=>A.indexOf("(https.js:")!==-1||A.indexOf("node:https:")!==-1))}incrementSockets(A){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[A]){this.sockets[A]=[]}const d=new _.Socket({writable:false});this.sockets[A].push(d);this.totalSocketCount++;return d}decrementSockets(A,d){if(!this.sockets[A]||d===null){return}const p=this.sockets[A];const C=p.indexOf(d);if(C!==-1){p.splice(C,1);this.totalSocketCount--;if(p.length===0){delete this.sockets[A]}}}getName(A){const d=this.isSecureEndpoint(A);if(d){return Z.Agent.prototype.getName.call(this,A)}return super.getName(A)}createSocket(A,d,p){const C={...d,secureEndpoint:this.isSecureEndpoint(d)};const S=this.getName(C);const v=this.incrementSockets(S);Promise.resolve().then((()=>this.connect(A,C))).then((T=>{this.decrementSockets(S,v);if(T instanceof V.Agent){try{return T.addRequest(A,C)}catch(A){return p(A)}}this[ee].currentSocket=T;super.createSocket(A,d,p)}),(A=>{this.decrementSockets(S,v);p(A)}))}createConnection(){const A=this[ee].currentSocket;this[ee].currentSocket=undefined;if(!A){throw new Error("No socket was returned in the `connect()` function")}return A}get defaultPort(){return this[ee].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(A){if(this[ee]){this[ee].defaultPort=A}}get protocol(){return this[ee].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(A){if(this[ee]){this[ee].protocol=A}}}d.Agent=Agent},6974:(A,d,p)=>{var C=p(6768);var S=p(16928);var v=p(59116);var T=p(49879);var V=p(95737);var Z=p(80141);var ee=p(91768);var te=A.exports={};var re=/[\/\\]/g;var processPatterns=function(A,d){var p=[];v(A).forEach((function(A){var C=A.indexOf("!")===0;if(C){A=A.slice(1)}var S=d(A);if(C){p=T(p,S)}else{p=V(p,S)}}));return p};te.exists=function(){var A=S.join.apply(S,arguments);return C.existsSync(A)};te.expand=function(...A){var d=Z(A[0])?A.shift():{};var p=Array.isArray(A[0])?A[0]:A;if(p.length===0){return[]}var v=processPatterns(p,(function(A){return ee.sync(A,d)}));if(d.filter){v=v.filter((function(A){A=S.join(d.cwd||"",A);try{if(typeof d.filter==="function"){return d.filter(A)}else{return C.statSync(A)[d.filter]()}}catch(A){return false}}))}return v};te.expandMapping=function(A,d,p){p=Object.assign({rename:function(A,d){return S.join(A||"",d)}},p);var C=[];var v={};te.expand(p,A).forEach((function(A){var T=A;if(p.flatten){T=S.basename(T)}if(p.ext){T=T.replace(/(\.[^\/]*)?$/,p.ext)}var _=p.rename(d,T,p);if(p.cwd){A=S.join(p.cwd,A)}_=_.replace(re,"/");A=A.replace(re,"/");if(v[_]){v[_].src.push(A)}else{C.push({src:[A],dest:_});v[_]=C[C.length-1]}}));return C};te.normalizeFilesArray=function(A){var d=[];A.forEach((function(A){var p;if("src"in A||"dest"in A){d.push(A)}}));if(d.length===0){return[]}d=_(d).chain().forEach((function(A){if(!("src"in A)||!A.src){return}if(Array.isArray(A.src)){A.src=v(A.src)}else{A.src=[A.src]}})).map((function(A){var d=Object.assign({},A);delete d.src;delete d.dest;if(A.expand){return te.expandMapping(A.src,A.dest,d).map((function(d){var p=Object.assign({},A);p.orig=Object.assign({},A);p.src=d.src;p.dest=d.dest;["expand","cwd","flatten","rename","ext"].forEach((function(A){delete p[A]}));return p}))}var p=Object.assign({},A);p.orig=Object.assign({},A);if("src"in p){Object.defineProperty(p,"src",{enumerable:true,get:function fn(){var p;if(!("result"in fn)){p=A.src;p=Array.isArray(p)?v(p):[p];fn.result=te.expand(d,p)}return fn.result}})}if("dest"in p){p.dest=A.dest}return p})).flatten().value();return d}},16090:(A,d,p)=>{var C=p(6768);var S=p(16928);var v=p(82198);var T=p(6889);var _=p(52398);var V=p(57226);var Z=p(2203).Stream;var ee=p(48924).PassThrough;var te=A.exports={};te.file=p(6974);te.collectStream=function(A,d){var p=[];var C=0;A.on("error",d);A.on("data",(function(A){p.push(A);C+=A.length}));A.on("end",(function(){var A=Buffer.alloc(C);var S=0;p.forEach((function(d){d.copy(A,S);S+=d.length}));d(null,A)}))};te.dateify=function(A){A=A||new Date;if(A instanceof Date){A=A}else if(typeof A==="string"){A=new Date(A)}else{A=new Date}return A};te.defaults=function(A,d,p){var C=arguments;C[0]=C[0]||{};return V(...C)};te.isStream=function(A){return v(A)};te.lazyReadStream=function(A){return new T.Readable((function(){return C.createReadStream(A)}))};te.normalizeInputSource=function(A){if(A===null){return Buffer.alloc(0)}else if(typeof A==="string"){return Buffer.from(A)}else if(te.isStream(A)){return A.pipe(new ee)}return A};te.sanitizePath=function(A){return _(A,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};te.trailingSlashIt=function(A){return A.slice(-1)!=="/"?A+"/":A};te.unixifyPath=function(A){return _(A,false).replace(/^\w+:/,"")};te.walkdir=function(A,d,p){var v=[];if(typeof d==="function"){p=d;d=A}C.readdir(A,(function(T,_){var V=0;var Z;var ee;if(T){return p(T)}(function next(){Z=_[V++];if(!Z){return p(null,v)}ee=S.join(A,Z);C.stat(ee,(function(A,C){v.push({path:ee,relative:S.relative(d,ee).replace(/\\/g,"/"),stats:C});if(C&&C.isDirectory()){te.walkdir(ee,d,(function(A,d){if(A){return p(A)}d.forEach((function(A){v.push(A)}));next()}))}else{next()}}))})()}))}},72709:(A,d,p)=>{
/**
* Archiver Vending
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
var C=p(77170);var S={};var vending=function(A,d){return vending.create(A,d)};vending.create=function(A,d){if(S[A]){var p=new C(A,d);p.setFormat(A);p.setModule(new S[A](d));return p}else{throw new Error("create("+A+"): format not registered")}};vending.registerFormat=function(A,d){if(S[A]){throw new Error("register("+A+"): format already registered")}if(typeof d!=="function"){throw new Error("register("+A+"): format module invalid")}if(typeof d.prototype.append!=="function"||typeof d.prototype.finalize!=="function"){throw new Error("register("+A+"): format module missing methods")}S[A]=d};vending.isRegisteredFormat=function(A){if(S[A]){return true}return false};vending.registerFormat("zip",p(92477));vending.registerFormat("tar",p(46125));vending.registerFormat("json",p(60602));A.exports=vending},77170:(A,d,p)=>{
/**
* Archiver Core
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
var C=p(79896);var S=p(15934);var v=p(14113);var T=p(16928);var _=p(16090);var V=p(39023).inherits;var Z=p(4135);var ee=p(48924).Transform;var te=process.platform==="win32";var Archiver=function(A,d){if(!(this instanceof Archiver)){return new Archiver(A,d)}if(typeof A!=="string"){d=A;A="zip"}d=this.options=_.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});ee.call(this,d);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=v.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=v.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};V(Archiver,ee);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(A,d){d=d||{};var p={source:null,filepath:A};if(!d.name){d.name=A}d.sourcePath=A;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof C.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};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(A,d,p){if(this._state.aborted){p();return}this._module.append(A,d,function(A){this._task=null;if(this._state.aborted){this._shutdown();return}if(A){this.emit("error",A);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.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 Z("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(A){if(!this._module.supports||!this._module.supports[A]){return false}return this._module.supports[A]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(A,d){A=_.defaults(A,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&A.stats===false){A.stats=d}var p=A.type==="directory";if(A.name){if(typeof A.prefix==="string"&&""!==A.prefix){A.name=A.prefix+"/"+A.name;A.prefix=null}A.name=_.sanitizePath(A.name);if(A.type!=="symlink"&&A.name.slice(-1)==="/"){p=true;A.type="directory"}else if(p){A.name+="/"}}if(typeof A.mode==="number"){if(te){A.mode&=511}else{A.mode&=4095}}else if(A.stats&&A.mode===null){if(te){A.mode=A.stats.mode&511}else{A.mode=A.stats.mode&4095}if(te&&p){A.mode=493}}else if(A.mode===null){A.mode=p?493:420}if(A.stats&&A.date===null){A.date=A.stats.mtime}else{A.date=_.dateify(A.date)}return A};Archiver.prototype._onModuleError=function(A){this.emit("error",A)};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(A,d){var fullCallback=()=>{if(A.data.callback){A.data.callback()}d()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=A;this._moduleAppend(A.source,A.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(A,d){if(this._state.finalizing||this._state.finalized||this._state.aborted){d();return}C.lstat(A.filepath,function(p,C){if(this._state.aborted){setImmediate(d);return}if(p){this._entriesCount--;this.emit("warning",p);setImmediate(d);return}A=this._updateQueueTaskWithStats(A,C);if(A){if(C.size){this._fsEntriesTotalBytes+=C.size}this._queue.push(A)}setImmediate(d)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(A,d,p){if(A){this._pointer+=A.length}p(null,A)};Archiver.prototype._updateQueueTaskWithStats=function(A,d){if(d.isFile()){A.data.type="file";A.data.sourceType="stream";A.source=_.lazyReadStream(A.filepath)}else if(d.isDirectory()&&this._moduleSupports("directory")){A.data.name=_.trailingSlashIt(A.data.name);A.data.type="directory";A.data.sourcePath=_.trailingSlashIt(A.filepath);A.data.sourceType="buffer";A.source=Buffer.concat([])}else if(d.isSymbolicLink()&&this._moduleSupports("symlink")){var p=C.readlinkSync(A.filepath);var S=T.dirname(A.filepath);A.data.type="symlink";A.data.linkname=T.relative(S,T.resolve(S,p));A.data.sourceType="buffer";A.source=Buffer.concat([])}else{if(d.isDirectory()){this.emit("warning",new Z("DIRECTORYNOTSUPPORTED",A.data))}else if(d.isSymbolicLink()){this.emit("warning",new Z("SYMLINKNOTSUPPORTED",A.data))}else{this.emit("warning",new Z("ENTRYNOTSUPPORTED",A.data))}return null}A.data=this._normalizeEntryData(A.data,d);return A};Archiver.prototype.abort=function(){if(this._state.aborted||this._state.finalized){return this}this._abort();return this};Archiver.prototype.append=function(A,d){if(this._state.finalize||this._state.aborted){this.emit("error",new Z("QUEUECLOSED"));return this}d=this._normalizeEntryData(d);if(typeof d.name!=="string"||d.name.length===0){this.emit("error",new Z("ENTRYNAMEREQUIRED"));return this}if(d.type==="directory"&&!this._moduleSupports("directory")){this.emit("error",new Z("DIRECTORYNOTSUPPORTED",{name:d.name}));return this}A=_.normalizeInputSource(A);if(Buffer.isBuffer(A)){d.sourceType="buffer"}else if(_.isStream(A)){d.sourceType="stream"}else{this.emit("error",new Z("INPUTSTEAMBUFFERREQUIRED",{name:d.name}));return this}this._entriesCount++;this._queue.push({data:d,source:A});return this};Archiver.prototype.directory=function(A,d,p){if(this._state.finalize||this._state.aborted){this.emit("error",new Z("QUEUECLOSED"));return this}if(typeof A!=="string"||A.length===0){this.emit("error",new Z("DIRECTORYDIRPATHREQUIRED"));return this}this._pending++;if(d===false){d=""}else if(typeof d!=="string"){d=A}var C=false;if(typeof p==="function"){C=p;p={}}else if(typeof p!=="object"){p={}}var v={stat:true,dot:true};function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(A){this.emit("error",A)}function onGlobMatch(S){T.pause();var v=false;var _=Object.assign({},p);_.name=S.relative;_.prefix=d;_.stats=S.stat;_.callback=T.resume.bind(T);try{if(C){_=C(_);if(_===false){v=true}else if(typeof _!=="object"){throw new Z("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:A})}}}catch(A){this.emit("error",A);return}if(v){T.resume();return}this._append(S.absolute,_)}var T=S(A,v);T.on("error",onGlobError.bind(this));T.on("match",onGlobMatch.bind(this));T.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.file=function(A,d){if(this._state.finalize||this._state.aborted){this.emit("error",new Z("QUEUECLOSED"));return this}if(typeof A!=="string"||A.length===0){this.emit("error",new Z("FILEFILEPATHREQUIRED"));return this}this._append(A,d);return this};Archiver.prototype.glob=function(A,d,p){this._pending++;d=_.defaults(d,{stat:true,pattern:A});function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(A){this.emit("error",A)}function onGlobMatch(A){C.pause();var d=Object.assign({},p);d.callback=C.resume.bind(C);d.stats=A.stat;d.name=A.relative;this._append(A.absolute,d)}var C=S(d.cwd||".",d);C.on("error",onGlobError.bind(this));C.on("match",onGlobMatch.bind(this));C.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.finalize=function(){if(this._state.aborted){var A=new Z("ABORTED");this.emit("error",A);return Promise.reject(A)}if(this._state.finalize){var d=new Z("FINALIZING");this.emit("error",d);return Promise.reject(d)}this._state.finalize=true;if(this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}var p=this;return new Promise((function(A,d){var C;p._module.on("end",(function(){if(!C){A()}}));p._module.on("error",(function(A){C=true;d(A)}))}))};Archiver.prototype.setFormat=function(A){if(this._format){this.emit("error",new Z("FORMATSET"));return this}this._format=A;return this};Archiver.prototype.setModule=function(A){if(this._state.aborted){this.emit("error",new Z("ABORTED"));return this}if(this._state.module){this.emit("error",new Z("MODULESET"));return this}this._module=A;this._modulePipe();return this};Archiver.prototype.symlink=function(A,d,p){if(this._state.finalize||this._state.aborted){this.emit("error",new Z("QUEUECLOSED"));return this}if(typeof A!=="string"||A.length===0){this.emit("error",new Z("SYMLINKFILEPATHREQUIRED"));return this}if(typeof d!=="string"||d.length===0){this.emit("error",new Z("SYMLINKTARGETREQUIRED",{filepath:A}));return this}if(!this._moduleSupports("symlink")){this.emit("error",new Z("SYMLINKNOTSUPPORTED",{filepath:A}));return this}var C={};C.type="symlink";C.name=A.replace(/\\/g,"/");C.linkname=d.replace(/\\/g,"/");C.sourceType="buffer";if(typeof p==="number"){C.mode=p}this._entriesCount++;this._queue.push({data:C,source:Buffer.concat([])});return this};Archiver.prototype.pointer=function(){return this._pointer};Archiver.prototype.use=function(A){this._streams.push(A);return this};A.exports=Archiver},4135:(A,d,p)=>{
/**
* Archiver Core
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
var C=p(39023);const S={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(A,d){Error.captureStackTrace(this,this.constructor);this.message=S[A]||A;this.code=A;this.data=d}C.inherits(ArchiverError,Error);d=A.exports=ArchiverError},60602:(A,d,p)=>{
/**
* 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 C=p(39023).inherits;var S=p(48924).Transform;var v=p(57212);var T=p(16090);var Json=function(A){if(!(this instanceof Json)){return new Json(A)}A=this.options=T.defaults(A,{});S.call(this,A);this.supports={directory:true,symlink:true};this.files=[]};C(Json,S);Json.prototype._transform=function(A,d,p){p(null,A)};Json.prototype._writeStringified=function(){var A=JSON.stringify(this.files);this.write(A)};Json.prototype.append=function(A,d,p){var C=this;d.crc32=0;function onend(A,S){if(A){p(A);return}d.size=S.length||0;d.crc32=v.unsigned(S);C.files.push(d);p(null,d)}if(d.sourceType==="buffer"){onend(null,A)}else if(d.sourceType==="stream"){T.collectStream(A,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};A.exports=Json},46125:(A,d,p)=>{
/**
* 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 C=p(43106);var S=p(78004);var v=p(16090);var Tar=function(A){if(!(this instanceof Tar)){return new Tar(A)}A=this.options=v.defaults(A,{gzip:false});if(typeof A.gzipOptions!=="object"){A.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=S.pack(A);this.compressor=false;if(A.gzip){this.compressor=C.createGzip(A.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(A){this.engine.emit("error",A)};Tar.prototype.append=function(A,d,p){var C=this;d.mtime=d.date;function append(A,S){if(A){p(A);return}C.engine.entry(d,S,(function(A){p(A,d)}))}if(d.sourceType==="buffer"){append(null,A)}else if(d.sourceType==="stream"&&d.stats){d.size=d.stats.size;var S=C.engine.entry(d,(function(A){p(A,d)}));A.pipe(S)}else if(d.sourceType==="stream"){v.collectStream(A,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(A,d){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(A,d)}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)}};A.exports=Tar},92477:(A,d,p)=>{
/**
* 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 C=p(60318);var S=p(16090);var Zip=function(A){if(!(this instanceof Zip)){return new Zip(A)}A=this.options=S.defaults(A,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new C(A)};Zip.prototype.append=function(A,d,p){this.engine.entry(A,d,p)};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)};A.exports=Zip},14113:function(A,d){(function(A,p){true?p(d):0})(this,(function(A){"use strict";function apply(A,...d){return(...p)=>A(...d,...p)}function initialParams(A){return function(...d){var p=d.pop();return A.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var C=typeof process==="object"&&typeof process.nextTick==="function";function fallback(A){setTimeout(A,0)}function wrap(A){return(d,...p)=>A((()=>d(...p)))}var S;if(d){S=queueMicrotask}else if(p){S=setImmediate}else if(C){S=process.nextTick}else{S=fallback}var v=wrap(S);function asyncify(A){if(isAsync(A)){return function(...d){const p=d.pop();const C=A.apply(this,d);return handlePromise(C,p)}}return initialParams((function(d,p){var C;try{C=A.apply(this,d)}catch(A){return p(A)}if(C&&typeof C.then==="function"){return handlePromise(C,p)}else{p(null,C)}}))}function handlePromise(A,d){return A.then((A=>{invokeCallback(d,null,A)}),(A=>{invokeCallback(d,A&&(A instanceof Error||A.message)?A:new Error(A))}))}function invokeCallback(A,d,p){try{A(d,p)}catch(A){v((A=>{throw A}),A)}}function isAsync(A){return A[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(A){return A[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(A){return typeof A[Symbol.asyncIterator]==="function"}function wrapAsync(A){if(typeof A!=="function")throw new Error("expected a function");return isAsync(A)?asyncify(A):A}function awaitify(A,d){if(!d)d=A.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return A.apply(this,p)}return new Promise(((C,S)=>{p[d-1]=(A,...d)=>{if(A)return S(A);C(d.length>1?d:d[0])};A.apply(this,p)}))}return awaitable}function applyEach$1(A){return function applyEach(d,...p){const C=awaitify((function(C){var S=this;return A(d,((A,d)=>{wrapAsync(A).apply(S,p.concat(d))}),C)}));return C}}function _asyncMap(A,d,p,C){d=d||[];var S=[];var v=0;var T=wrapAsync(p);return A(d,((A,d,p)=>{var C=v++;T(A,((A,d)=>{S[C]=d;p(A)}))}),(A=>{C(A,S)}))}function isArrayLike(A){return A&&typeof A.length==="number"&&A.length>=0&&A.length%1===0}const T={};function once(A){function wrapper(...d){if(A===null)return;var p=A;A=null;p.apply(this,d)}Object.assign(wrapper,A);return wrapper}function getIterator(A){return A[Symbol.iterator]&&A[Symbol.iterator]()}function createArrayIterator(A){var d=-1;var p=A.length;return function next(){return++d<p?{value:A[d],key:d}:null}}function createES2015Iterator(A){var d=-1;return function next(){var p=A.next();if(p.done)return null;d++;return{value:p.value,key:d}}}function createObjectIterator(A){var d=A?Object.keys(A):[];var p=-1;var C=d.length;return function next(){var S=d[++p];if(S==="__proto__"){return next()}return p<C?{value:A[S],key:S}:null}}function createIterator(A){if(isArrayLike(A)){return createArrayIterator(A)}var d=getIterator(A);return d?createES2015Iterator(d):createObjectIterator(A)}function onlyOnce(A){return function(...d){if(A===null)throw new Error("Callback was already called.");var p=A;A=null;p.apply(this,d)}}function asyncEachOfLimit(A,d,p,C){let S=false;let v=false;let _=false;let V=0;let Z=0;function replenish(){if(V>=d||_||S)return;_=true;A.next().then((({value:A,done:d})=>{if(v||S)return;_=false;if(d){S=true;if(V<=0){C(null)}return}V++;p(A,Z,iterateeCallback);Z++;replenish()})).catch(handleError)}function iterateeCallback(A,d){V-=1;if(v)return;if(A)return handleError(A);if(A===false){S=true;v=true;return}if(d===T||S&&V<=0){S=true;return C(null)}replenish()}function handleError(A){if(v)return;_=false;S=true;C(A)}replenish()}var eachOfLimit$2=A=>(d,p,C)=>{C=once(C);if(A<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!d){return C(null)}if(isAsyncGenerator(d)){return asyncEachOfLimit(d,A,p,C)}if(isAsyncIterable(d)){return asyncEachOfLimit(d[Symbol.asyncIterator](),A,p,C)}var S=createIterator(d);var v=false;var _=false;var V=0;var Z=false;function iterateeCallback(A,d){if(_)return;V-=1;if(A){v=true;C(A)}else if(A===false){v=true;_=true}else if(d===T||v&&V<=0){v=true;return C(null)}else if(!Z){replenish()}}function replenish(){Z=true;while(V<A&&!v){var d=S();if(d===null){v=true;if(V<=0){C(null)}return}V+=1;p(d.value,d.key,onlyOnce(iterateeCallback))}Z=false}replenish()};function eachOfLimit(A,d,p,C){return eachOfLimit$2(d)(A,wrapAsync(p),C)}var _=awaitify(eachOfLimit,4);function eachOfArrayLike(A,d,p){p=once(p);var C=0,S=0,{length:v}=A,_=false;if(v===0){p(null)}function iteratorCallback(A,d){if(A===false){_=true}if(_===true)return;if(A){p(A)}else if(++S===v||d===T){p(null)}}for(;C<v;C++){d(A[C],C,onlyOnce(iteratorCallback))}}function eachOfGeneric(A,d,p){return _(A,Infinity,d,p)}function eachOf(A,d,p){var C=isArrayLike(A)?eachOfArrayLike:eachOfGeneric;return C(A,wrapAsync(d),p)}var V=awaitify(eachOf,3);function map(A,d,p){return _asyncMap(V,A,d,p)}var Z=awaitify(map,3);var ee=applyEach$1(Z);function eachOfSeries(A,d,p){return _(A,1,d,p)}var te=awaitify(eachOfSeries,3);function mapSeries(A,d,p){return _asyncMap(te,A,d,p)}var re=awaitify(mapSeries,3);var ne=applyEach$1(re);const ie=Symbol("promiseCallback");function promiseCallback(){let A,d;function callback(p,...C){if(p)return d(p);A(C.length>1?C:C[0])}callback[ie]=new Promise(((p,C)=>{A=p,d=C}));return callback}function auto(A,d,p){if(typeof d!=="number"){p=d;d=null}p=once(p||promiseCallback());var C=Object.keys(A).length;if(!C){return p(null)}if(!d){d=C}var S={};var v=0;var T=false;var _=false;var V=Object.create(null);var Z=[];var ee=[];var te={};Object.keys(A).forEach((d=>{var p=A[d];if(!Array.isArray(p)){enqueueTask(d,[p]);ee.push(d);return}var C=p.slice(0,p.length-1);var S=C.length;if(S===0){enqueueTask(d,p);ee.push(d);return}te[d]=S;C.forEach((v=>{if(!A[v]){throw new Error("async.auto task `"+d+"` has a non-existent dependency `"+v+"` in "+C.join(", "))}addListener(v,(()=>{S--;if(S===0){enqueueTask(d,p)}}))}))}));checkForDeadlocks();processQueue();function enqueueTask(A,d){Z.push((()=>runTask(A,d)))}function processQueue(){if(T)return;if(Z.length===0&&v===0){return p(null,S)}while(Z.length&&v<d){var A=Z.shift();A()}}function addListener(A,d){var p=V[A];if(!p){p=V[A]=[]}p.push(d)}function taskComplete(A){var d=V[A]||[];d.forEach((A=>A()));processQueue()}function runTask(A,d){if(_)return;var C=onlyOnce(((d,...C)=>{v--;if(d===false){T=true;return}if(C.length<2){[C]=C}if(d){var Z={};Object.keys(S).forEach((A=>{Z[A]=S[A]}));Z[A]=C;_=true;V=Object.create(null);if(T)return;p(d,Z)}else{S[A]=C;taskComplete(A)}}));v++;var Z=wrapAsync(d[d.length-1]);if(d.length>1){Z(S,C)}else{Z(C)}}function checkForDeadlocks(){var A;var d=0;while(ee.length){A=ee.pop();d++;getDependents(A).forEach((A=>{if(--te[A]===0){ee.push(A)}}))}if(d!==C){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(d){var p=[];Object.keys(A).forEach((C=>{const S=A[C];if(Array.isArray(S)&&S.indexOf(d)>=0){p.push(C)}}));return p}return p[ie]}var se=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/;var oe=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/;var ae=/,/;var le=/(=.+)?(\s*)$/;function stripComments(A){let d="";let p=0;let C=A.indexOf("*/");while(p<A.length){if(A[p]==="/"&&A[p+1]==="/"){let d=A.indexOf("\n",p);p=d===-1?A.length:d}else if(C!==-1&&A[p]==="/"&&A[p+1]==="*"){let S=A.indexOf("*/",p);if(S!==-1){p=S+2;C=A.indexOf("*/",p)}else{d+=A[p];p++}}else{d+=A[p];p++}}return d}function parseParams(A){const d=stripComments(A.toString());let p=d.match(se);if(!p){p=d.match(oe)}if(!p)throw new Error("could not parse args in autoInject\nSource:\n"+d);let[,C]=p;return C.replace(/\s/g,"").split(ae).map((A=>A.replace(le,"").trim()))}function autoInject(A,d){var p={};Object.keys(A).forEach((d=>{var C=A[d];var S;var v=isAsync(C);var T=!v&&C.length===1||v&&C.length===0;if(Array.isArray(C)){S=[...C];C=S.pop();p[d]=S.concat(S.length>0?newTask:C)}else if(T){p[d]=C}else{S=parseParams(C);if(C.length===0&&!v&&S.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!v)S.pop();p[d]=S.concat(newTask)}function newTask(A,d){var p=S.map((d=>A[d]));p.push(d);wrapAsync(C)(...p)}}));return auto(p,d)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(A){if(A.prev)A.prev.next=A.next;else this.head=A.next;if(A.next)A.next.prev=A.prev;else this.tail=A.prev;A.prev=A.next=null;this.length-=1;return A}empty(){while(this.head)this.shift();return this}insertAfter(A,d){d.prev=A;d.next=A.next;if(A.next)A.next.prev=d;else this.tail=d;A.next=d;this.length+=1}insertBefore(A,d){d.prev=A.prev;d.next=A;if(A.prev)A.prev.next=d;else this.head=d;A.prev=d;this.length+=1}unshift(A){if(this.head)this.insertBefore(this.head,A);else setInitial(this,A)}push(A){if(this.tail)this.insertAfter(this.tail,A);else setInitial(this,A)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var A=this.head;while(A){yield A.data;A=A.next}}remove(A){var d=this.head;while(d){var{next:p}=d;if(A(d)){this.removeLink(d)}d=p}return this}}function setInitial(A,d){A.length=1;A.head=A.tail=d}function queue$1(A,d,p){if(d==null){d=1}else if(d===0){throw new RangeError("Concurrency must not be zero")}var C=wrapAsync(A);var S=0;var T=[];const _={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(A,d){_[A].push(d)}function once(A,d){const handleAndRemove=(...p)=>{off(A,handleAndRemove);d(...p)};_[A].push(handleAndRemove)}function off(A,d){if(!A)return Object.keys(_).forEach((A=>_[A]=[]));if(!d)return _[A]=[];_[A]=_[A].filter((A=>A!==d))}function trigger(A,...d){_[A].forEach((A=>A(...d)))}var V=false;function _insert(A,d,p,C){if(C!=null&&typeof C!=="function"){throw new Error("task callback must be a function")}ee.started=true;var S,T;function promiseCallback(A,...d){if(A)return p?T(A):S();if(d.length<=1)return S(d[0]);S(d)}var _=ee._createTaskItem(A,p?promiseCallback:C||promiseCallback);if(d){ee._tasks.unshift(_)}else{ee._tasks.push(_)}if(!V){V=true;v((()=>{V=false;ee.process()}))}if(p||!C){return new Promise(((A,d)=>{S=A;T=d}))}}function _createCB(A){return function(d,...p){S-=1;for(var C=0,v=A.length;C<v;C++){var _=A[C];var V=T.indexOf(_);if(V===0){T.shift()}else if(V>0){T.splice(V,1)}_.callback(d,...p);if(d!=null){trigger("error",d,_.data)}}if(S<=ee.concurrency-ee.buffer){trigger("unsaturated")}if(ee.idle()){trigger("drain")}ee.process()}}function _maybeDrain(A){if(A.length===0&&ee.idle()){v((()=>trigger("drain")));return true}return false}const eventMethod=A=>d=>{if(!d){return new Promise(((d,p)=>{once(A,((A,C)=>{if(A)return p(A);d(C)}))}))}off(A);on(A,d)};var Z=false;var ee={_tasks:new DLL,_createTaskItem(A,d){return{data:A,callback:d}},*[Symbol.iterator](){yield*ee._tasks[Symbol.iterator]()},concurrency:d,payload:p,buffer:d/4,started:false,paused:false,push(A,d){if(Array.isArray(A)){if(_maybeDrain(A))return;return A.map((A=>_insert(A,false,false,d)))}return _insert(A,false,false,d)},pushAsync(A,d){if(Array.isArray(A)){if(_maybeDrain(A))return;return A.map((A=>_insert(A,false,true,d)))}return _insert(A,false,true,d)},kill(){off();ee._tasks.empty()},unshift(A,d){if(Array.isArray(A)){if(_maybeDrain(A))return;return A.map((A=>_insert(A,true,false,d)))}return _insert(A,true,false,d)},unshiftAsync(A,d){if(Array.isArray(A)){if(_maybeDrain(A))return;return A.map((A=>_insert(A,true,true,d)))}return _insert(A,true,true,d)},remove(A){ee._tasks.remove(A)},process(){if(Z){return}Z=true;while(!ee.paused&&S<ee.concurrency&&ee._tasks.length){var A=[],d=[];var p=ee._tasks.length;if(ee.payload)p=Math.min(p,ee.payload);for(var v=0;v<p;v++){var _=ee._tasks.shift();A.push(_);T.push(_);d.push(_.data)}S+=1;if(ee._tasks.length===0){trigger("empty")}if(S===ee.concurrency){trigger("saturated")}var V=onlyOnce(_createCB(A));C(d,V)}Z=false},length(){return ee._tasks.length},running(){return S},workersList(){return T},idle(){return ee._tasks.length+S===0},pause(){ee.paused=true},resume(){if(ee.paused===false){return}ee.paused=false;v(ee.process)}};Object.defineProperties(ee,{saturated:{writable:false,value:eventMethod("saturated")},unsaturated:{writable:false,value:eventMethod("unsaturated")},empty:{writable:false,value:eventMethod("empty")},drain:{writable:false,value:eventMethod("drain")},error:{writable:false,value:eventMethod("error")}});return ee}function cargo$1(A,d){return queue$1(A,1,d)}function cargo(A,d,p){return queue$1(A,d,p)}function reduce(A,d,p,C){C=once(C);var S=wrapAsync(p);return te(A,((A,p,C)=>{S(d,A,((A,p)=>{d=p;C(A)}))}),(A=>C(A,d)))}var ce=awaitify(reduce,4);function seq(...A){var d=A.map(wrapAsync);return function(...A){var p=this;var C=A[A.length-1];if(typeof C=="function"){A.pop()}else{C=promiseCallback()}ce(d,A,((A,d,C)=>{d.apply(p,A.concat(((A,...d)=>{C(A,d)})))}),((A,d)=>C(A,...d)));return C[ie]}}function compose(...A){return seq(...A.reverse())}function mapLimit(A,d,p,C){return _asyncMap(eachOfLimit$2(d),A,p,C)}var ue=awaitify(mapLimit,4);function concatLimit(A,d,p,C){var S=wrapAsync(p);return ue(A,d,((A,d)=>{S(A,((A,...p)=>{if(A)return d(A);return d(A,p)}))}),((A,d)=>{var p=[];for(var S=0;S<d.length;S++){if(d[S]){p=p.concat(...d[S])}}return C(A,p)}))}var Ae=awaitify(concatLimit,4);function concat(A,d,p){return Ae(A,Infinity,d,p)}var de=awaitify(concat,3);function concatSeries(A,d,p){return Ae(A,1,d,p)}var pe=awaitify(concatSeries,3);function constant$1(...A){return function(...d){var p=d.pop();return p(null,...A)}}function _createTester(A,d){return(p,C,S,v)=>{var _=false;var V;const Z=wrapAsync(S);p(C,((p,C,S)=>{Z(p,((C,v)=>{if(C||C===false)return S(C);if(A(v)&&!V){_=true;V=d(true,p);return S(null,T)}S()}))}),(A=>{if(A)return v(A);v(null,_?V:d(false))}))}}function detect(A,d,p){return _createTester((A=>A),((A,d)=>d))(V,A,d,p)}var fe=awaitify(detect,3);function detectLimit(A,d,p,C){return _createTester((A=>A),((A,d)=>d))(eachOfLimit$2(d),A,p,C)}var he=awaitify(detectLimit,4);function detectSeries(A,d,p){return _createTester((A=>A),((A,d)=>d))(eachOfLimit$2(1),A,d,p)}var ge=awaitify(detectSeries,3);function consoleFunc(A){return(d,...p)=>wrapAsync(d)(...p,((d,...p)=>{if(typeof console==="object"){if(d){if(console.error){console.error(d)}}else if(console[A]){p.forEach((d=>console[A](d)))}}}))}var me=consoleFunc("dir");function doWhilst(A,d,p){p=onlyOnce(p);var C=wrapAsync(A);var S=wrapAsync(d);var v;function next(A,...d){if(A)return p(A);if(A===false)return;v=d;S(...d,check)}function check(A,d){if(A)return p(A);if(A===false)return;if(!d)return p(null,...v);C(next)}return check(null,true)}var ye=awaitify(doWhilst,3);function doUntil(A,d,p){const C=wrapAsync(d);return ye(A,((...A)=>{const d=A.pop();C(...A,((A,p)=>d(A,!p)))}),p)}function _withoutIndex(A){return(d,p,C)=>A(d,C)}function eachLimit$2(A,d,p){return V(A,_withoutIndex(wrapAsync(d)),p)}var Ee=awaitify(eachLimit$2,3);function eachLimit(A,d,p,C){return eachOfLimit$2(d)(A,_withoutIndex(wrapAsync(p)),C)}var be=awaitify(eachLimit,4);function eachSeries(A,d,p){return be(A,1,d,p)}var Ce=awaitify(eachSeries,3);function ensureAsync(A){if(isAsync(A))return A;return function(...d){var p=d.pop();var C=true;d.push(((...A)=>{if(C){v((()=>p(...A)))}else{p(...A)}}));A.apply(this,d);C=false}}function every(A,d,p){return _createTester((A=>!A),(A=>!A))(V,A,d,p)}var Be=awaitify(every,3);function everyLimit(A,d,p,C){return _createTester((A=>!A),(A=>!A))(eachOfLimit$2(d),A,p,C)}var Ie=awaitify(everyLimit,4);function everySeries(A,d,p){return _createTester((A=>!A),(A=>!A))(te,A,d,p)}var Se=awaitify(everySeries,3);function filterArray(A,d,p,C){var S=new Array(d.length);A(d,((A,d,C)=>{p(A,((A,p)=>{S[d]=!!p;C(A)}))}),(A=>{if(A)return C(A);var p=[];for(var v=0;v<d.length;v++){if(S[v])p.push(d[v])}C(null,p)}))}function filterGeneric(A,d,p,C){var S=[];A(d,((A,d,C)=>{p(A,((p,v)=>{if(p)return C(p);if(v){S.push({index:d,value:A})}C(p)}))}),(A=>{if(A)return C(A);C(null,S.sort(((A,d)=>A.index-d.index)).map((A=>A.value)))}))}function _filter(A,d,p,C){var S=isArrayLike(d)?filterArray:filterGeneric;return S(A,d,wrapAsync(p),C)}function filter(A,d,p){return _filter(V,A,d,p)}var we=awaitify(filter,3);function filterLimit(A,d,p,C){return _filter(eachOfLimit$2(d),A,p,C)}var Qe=awaitify(filterLimit,4);function filterSeries(A,d,p){return _filter(te,A,d,p)}var ve=awaitify(filterSeries,3);function forever(A,d){var p=onlyOnce(d);var C=wrapAsync(ensureAsync(A));function next(A){if(A)return p(A);if(A===false)return;C(next)}return next()}var Re=awaitify(forever,2);function groupByLimit(A,d,p,C){var S=wrapAsync(p);return ue(A,d,((A,d)=>{S(A,((p,C)=>{if(p)return d(p);return d(p,{key:C,val:A})}))}),((A,d)=>{var p={};var{hasOwnProperty:S}=Object.prototype;for(var v=0;v<d.length;v++){if(d[v]){var{key:T}=d[v];var{val:_}=d[v];if(S.call(p,T)){p[T].push(_)}else{p[T]=[_]}}}return C(A,p)}))}var Ne=awaitify(groupByLimit,4);function groupBy(A,d,p){return Ne(A,Infinity,d,p)}function groupBySeries(A,d,p){return Ne(A,1,d,p)}var De=consoleFunc("log");function mapValuesLimit(A,d,p,C){C=once(C);var S={};var v=wrapAsync(p);return eachOfLimit$2(d)(A,((A,d,p)=>{v(A,d,((A,C)=>{if(A)return p(A);S[d]=C;p(A)}))}),(A=>C(A,S)))}var xe=awaitify(mapValuesLimit,4);function mapValues(A,d,p){return xe(A,Infinity,d,p)}function mapValuesSeries(A,d,p){return xe(A,1,d,p)}function memoize(A,d=A=>A){var p=Object.create(null);var C=Object.create(null);var S=wrapAsync(A);var T=initialParams(((A,T)=>{var _=d(...A);if(_ in p){v((()=>T(null,...p[_])))}else if(_ in C){C[_].push(T)}else{C[_]=[T];S(...A,((A,...d)=>{if(!A){p[_]=d}var S=C[_];delete C[_];for(var v=0,T=S.length;v<T;v++){S[v](A,...d)}}))}}));T.memo=p;T.unmemoized=A;return T}var Te;if(C){Te=process.nextTick}else if(p){Te=setImmediate}else{Te=fallback}var _e=wrap(Te);var Pe=awaitify(((A,d,p)=>{var C=isArrayLike(d)?[]:{};A(d,((A,d,p)=>{wrapAsync(A)(((A,...S)=>{if(S.length<2){[S]=S}C[d]=S;p(A)}))}),(A=>p(A,C)))}),3);function parallel(A,d){return Pe(V,A,d)}function parallelLimit(A,d,p){return Pe(eachOfLimit$2(d),A,p)}function queue(A,d){var p=wrapAsync(A);return queue$1(((A,d)=>{p(A[0],d)}),d,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(A){let d;while(A>0&&smaller(this.heap[A],this.heap[d=parent(A)])){let p=this.heap[A];this.heap[A]=this.heap[d];this.heap[d]=p;A=d}}percDown(A){let d;while((d=leftChi(A))<this.heap.length){if(d+1<this.heap.length&&smaller(this.heap[d+1],this.heap[d])){d=d+1}if(smaller(this.heap[A],this.heap[d])){break}let p=this.heap[A];this.heap[A]=this.heap[d];this.heap[d]=p;A=d}}push(A){A.pushCount=++this.pushCount;this.heap.push(A);this.percUp(this.heap.length-1)}unshift(A){return this.heap.push(A)}shift(){let[A]=this.heap;this.heap[0]=this.heap[this.heap.length-1];this.heap.pop();this.percDown(0);return A}toArray(){return[...this]}*[Symbol.iterator](){for(let A=0;A<this.heap.length;A++){yield this.heap[A].data}}remove(A){let d=0;for(let p=0;p<this.heap.length;p++){if(!A(this.heap[p])){this.heap[d]=this.heap[p];d++}}this.heap.splice(d);for(let A=parent(this.heap.length-1);A>=0;A--){this.percDown(A)}return this}}function leftChi(A){return(A<<1)+1}function parent(A){return(A+1>>1)-1}function smaller(A,d){if(A.priority!==d.priority){return A.priority<d.priority}else{return A.pushCount<d.pushCount}}function priorityQueue(A,d){var p=queue(A,d);var{push:C,pushAsync:S}=p;p._tasks=new Heap;p._createTaskItem=({data:A,priority:d},p)=>({data:A,priority:d,callback:p});function createDataItems(A,d){if(!Array.isArray(A)){return{data:A,priority:d}}return A.map((A=>({data:A,priority:d})))}p.push=function(A,d=0,p){return C(createDataItems(A,d),p)};p.pushAsync=function(A,d=0,p){return S(createDataItems(A,d),p)};delete p.unshift;delete p.unshiftAsync;return p}function race(A,d){d=once(d);if(!Array.isArray(A))return d(new TypeError("First argument to race must be an array of functions"));if(!A.length)return d();for(var p=0,C=A.length;p<C;p++){wrapAsync(A[p])(d)}}var ke=awaitify(race,2);function reduceRight(A,d,p,C){var S=[...A].reverse();return ce(S,d,p,C)}function reflect(A){var d=wrapAsync(A);return initialParams((function reflectOn(A,p){A.push(((A,...d)=>{let C={};if(A){C.error=A}if(d.length>0){var S=d;if(d.length<=1){[S]=d}C.value=S}p(null,C)}));return d.apply(this,A)}))}function reflectAll(A){var d;if(Array.isArray(A)){d=A.map(reflect)}else{d={};Object.keys(A).forEach((p=>{d[p]=reflect.call(this,A[p])}))}return d}function reject$2(A,d,p,C){const S=wrapAsync(p);return _filter(A,d,((A,d)=>{S(A,((A,p)=>{d(A,!p)}))}),C)}function reject(A,d,p){return reject$2(V,A,d,p)}var Oe=awaitify(reject,3);function rejectLimit(A,d,p,C){return reject$2(eachOfLimit$2(d),A,p,C)}var Fe=awaitify(rejectLimit,4);function rejectSeries(A,d,p){return reject$2(te,A,d,p)}var Le=awaitify(rejectSeries,3);function constant(A){return function(){return A}}const Me=5;const Ue=0;function retry(A,d,p){var C={times:Me,intervalFunc:constant(Ue)};if(arguments.length<3&&typeof A==="function"){p=d||promiseCallback();d=A}else{parseTimes(C,A);p=p||promiseCallback()}if(typeof d!=="function"){throw new Error("Invalid arguments for async.retry")}var S=wrapAsync(d);var v=1;function retryAttempt(){S(((A,...d)=>{if(A===false)return;if(A&&v++<C.times&&(typeof C.errorFilter!="function"||C.errorFilter(A))){setTimeout(retryAttempt,C.intervalFunc(v-1))}else{p(A,...d)}}))}retryAttempt();return p[ie]}function parseTimes(A,d){if(typeof d==="object"){A.times=+d.times||Me;A.intervalFunc=typeof d.interval==="function"?d.interval:constant(+d.interval||Ue);A.errorFilter=d.errorFilter}else if(typeof d==="number"||typeof d==="string"){A.times=+d||Me}else{throw new Error("Invalid arguments for async.retry")}}function retryable(A,d){if(!d){d=A;A=null}let p=A&&A.arity||d.length;if(isAsync(d)){p+=1}var C=wrapAsync(d);return initialParams(((d,S)=>{if(d.length<p-1||S==null){d.push(S);S=promiseCallback()}function taskFn(A){C(...d,A)}if(A)retry(A,taskFn,S);else retry(taskFn,S);return S[ie]}))}function series(A,d){return Pe(te,A,d)}function some(A,d,p){return _createTester(Boolean,(A=>A))(V,A,d,p)}var He=awaitify(some,3);function someLimit(A,d,p,C){return _createTester(Boolean,(A=>A))(eachOfLimit$2(d),A,p,C)}var Ge=awaitify(someLimit,4);function someSeries(A,d,p){return _createTester(Boolean,(A=>A))(te,A,d,p)}var qe=awaitify(someSeries,3);function sortBy(A,d,p){var C=wrapAsync(d);return Z(A,((A,d)=>{C(A,((p,C)=>{if(p)return d(p);d(p,{value:A,criteria:C})}))}),((A,d)=>{if(A)return p(A);p(null,d.sort(comparator).map((A=>A.value)))}));function comparator(A,d){var p=A.criteria,C=d.criteria;return p<C?-1:p>C?1:0}}var je=awaitify(sortBy,3);function timeout(A,d,p){var C=wrapAsync(A);return initialParams(((S,v)=>{var T=false;var _;function timeoutCallback(){var d=A.name||"anonymous";var C=new Error('Callback function "'+d+'" timed out.');C.code="ETIMEDOUT";if(p){C.info=p}T=true;v(C)}S.push(((...A)=>{if(!T){v(...A);clearTimeout(_)}}));_=setTimeout(timeoutCallback,d);C(...S)}))}function range(A){var d=Array(A);while(A--){d[A]=A}return d}function timesLimit(A,d,p,C){var S=wrapAsync(p);return ue(range(A),d,S,C)}function times(A,d,p){return timesLimit(A,Infinity,d,p)}function timesSeries(A,d,p){return timesLimit(A,1,d,p)}function transform(A,d,p,C){if(arguments.length<=3&&typeof d==="function"){C=p;p=d;d=Array.isArray(A)?[]:{}}C=once(C||promiseCallback());var S=wrapAsync(p);V(A,((A,p,C)=>{S(d,A,p,C)}),(A=>C(A,d)));return C[ie]}function tryEach(A,d){var p=null;var C;return Ce(A,((A,d)=>{wrapAsync(A)(((A,...S)=>{if(A===false)return d(A);if(S.length<2){[C]=S}else{C=S}p=A;d(A?null:{})}))}),(()=>d(p,C)))}var ze=awaitify(tryEach);function unmemoize(A){return(...d)=>(A.unmemoized||A)(...d)}function whilst(A,d,p){p=onlyOnce(p);var C=wrapAsync(d);var S=wrapAsync(A);var v=[];function next(A,...d){if(A)return p(A);v=d;if(A===false)return;S(check)}function check(A,d){if(A)return p(A);if(A===false)return;if(!d)return p(null,...v);C(next)}return S(check)}var Ve=awaitify(whilst,3);function until(A,d,p){const C=wrapAsync(A);return Ve((A=>C(((d,p)=>A(d,!p)))),d,p)}function waterfall(A,d){d=once(d);if(!Array.isArray(A))return d(new Error("First argument to waterfall must be an array of functions"));if(!A.length)return d();var p=0;function nextTask(d){var C=wrapAsync(A[p++]);C(...d,onlyOnce(next))}function next(C,...S){if(C===false)return;if(C||p===A.length){return d(C,...S)}nextTask(S)}nextTask([])}var We=awaitify(waterfall);var Ye={apply:apply,applyEach:ee,applyEachSeries:ne,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo$1,cargoQueue:cargo,compose:compose,concat:de,concatLimit:Ae,concatSeries:pe,constant:constant$1,detect:fe,detectLimit:he,detectSeries:ge,dir:me,doUntil:doUntil,doWhilst:ye,each:Ee,eachLimit:be,eachOf:V,eachOfLimit:_,eachOfSeries:te,eachSeries:Ce,ensureAsync:ensureAsync,every:Be,everyLimit:Ie,everySeries:Se,filter:we,filterLimit:Qe,filterSeries:ve,forever:Re,groupBy:groupBy,groupByLimit:Ne,groupBySeries:groupBySeries,log:De,map:Z,mapLimit:ue,mapSeries:re,mapValues:mapValues,mapValuesLimit:xe,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:_e,parallel:parallel,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue,race:ke,reduce:ce,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:Oe,rejectLimit:Fe,rejectSeries:Le,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:v,some:He,someLimit:Ge,someSeries:qe,sortBy:je,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:ze,unmemoize:unmemoize,until:until,waterfall:We,whilst:Ve,all:Be,allLimit:Ie,allSeries:Se,any:He,anyLimit:Ge,anySeries:qe,find:fe,findLimit:he,findSeries:ge,flatMap:de,flatMapLimit:Ae,flatMapSeries:pe,forEach:Ee,forEachSeries:Ce,forEachLimit:be,forEachOf:V,forEachOfSeries:te,forEachOfLimit:_,inject:ce,foldl:ce,foldr:reduceRight,select:we,selectLimit:Qe,selectSeries:ve,wrapSync:asyncify,during:Ve,doDuring:ye};A.all=Be;A.allLimit=Ie;A.allSeries=Se;A.any=He;A.anyLimit=Ge;A.anySeries=qe;A.apply=apply;A.applyEach=ee;A.applyEachSeries=ne;A.asyncify=asyncify;A.auto=auto;A.autoInject=autoInject;A.cargo=cargo$1;A.cargoQueue=cargo;A.compose=compose;A.concat=de;A.concatLimit=Ae;A.concatSeries=pe;A.constant=constant$1;A.default=Ye;A.detect=fe;A.detectLimit=he;A.detectSeries=ge;A.dir=me;A.doDuring=ye;A.doUntil=doUntil;A.doWhilst=ye;A.during=Ve;A.each=Ee;A.eachLimit=be;A.eachOf=V;A.eachOfLimit=_;A.eachOfSeries=te;A.eachSeries=Ce;A.ensureAsync=ensureAsync;A.every=Be;A.everyLimit=Ie;A.everySeries=Se;A.filter=we;A.filterLimit=Qe;A.filterSeries=ve;A.find=fe;A.findLimit=he;A.findSeries=ge;A.flatMap=de;A.flatMapLimit=Ae;A.flatMapSeries=pe;A.foldl=ce;A.foldr=reduceRight;A.forEach=Ee;A.forEachLimit=be;A.forEachOf=V;A.forEachOfLimit=_;A.forEachOfSeries=te;A.forEachSeries=Ce;A.forever=Re;A.groupBy=groupBy;A.groupByLimit=Ne;A.groupBySeries=groupBySeries;A.inject=ce;A.log=De;A.map=Z;A.mapLimit=ue;A.mapSeries=re;A.mapValues=mapValues;A.mapValuesLimit=xe;A.mapValuesSeries=mapValuesSeries;A.memoize=memoize;A.nextTick=_e;A.parallel=parallel;A.parallelLimit=parallelLimit;A.priorityQueue=priorityQueue;A.queue=queue;A.race=ke;A.reduce=ce;A.reduceRight=reduceRight;A.reflect=reflect;A.reflectAll=reflectAll;A.reject=Oe;A.rejectLimit=Fe;A.rejectSeries=Le;A.retry=retry;A.retryable=retryable;A.select=we;A.selectLimit=Qe;A.selectSeries=ve;A.seq=seq;A.series=series;A.setImmediate=v;A.some=He;A.someLimit=Ge;A.someSeries=qe;A.sortBy=je;A.timeout=timeout;A.times=times;A.timesLimit=timesLimit;A.timesSeries=timesSeries;A.transform=transform;A.tryEach=ze;A.unmemoize=unmemoize;A.until=until;A.waterfall=We;A.whilst=Ve;A.wrapSync=asyncify;Object.defineProperty(A,"__esModule",{value:true})}))},42660:A=>{function isBuffer(A){return Buffer.isBuffer(A)||A instanceof Uint8Array}function isEncoding(A){return Buffer.isEncoding(A)}function alloc(A,d,p){return Buffer.alloc(A,d,p)}function allocUnsafe(A){return Buffer.allocUnsafe(A)}function allocUnsafeSlow(A){return Buffer.allocUnsafeSlow(A)}function byteLength(A,d){return Buffer.byteLength(A,d)}function compare(A,d){return Buffer.compare(A,d)}function concat(A,d){return Buffer.concat(A,d)}function copy(A,d,p,C,S){return toBuffer(A).copy(d,p,C,S)}function equals(A,d){return toBuffer(A).equals(d)}function fill(A,d,p,C,S){return toBuffer(A).fill(d,p,C,S)}function from(A,d,p){return Buffer.from(A,d,p)}function includes(A,d,p,C){return toBuffer(A).includes(d,p,C)}function indexOf(A,d,p,C){return toBuffer(A).indexOf(d,p,C)}function lastIndexOf(A,d,p,C){return toBuffer(A).lastIndexOf(d,p,C)}function swap16(A){return toBuffer(A).swap16()}function swap32(A){return toBuffer(A).swap32()}function swap64(A){return toBuffer(A).swap64()}function toBuffer(A){if(Buffer.isBuffer(A))return A;return Buffer.from(A.buffer,A.byteOffset,A.byteLength)}function toString(A,d,p,C){return toBuffer(A).toString(d,p,C)}function write(A,d,p,C,S){return toBuffer(A).write(d,p,C,S)}function readDoubleBE(A,d){return toBuffer(A).readDoubleBE(d)}function readDoubleLE(A,d){return toBuffer(A).readDoubleLE(d)}function readFloatBE(A,d){return toBuffer(A).readFloatBE(d)}function readFloatLE(A,d){return toBuffer(A).readFloatLE(d)}function readInt32BE(A,d){return toBuffer(A).readInt32BE(d)}function readInt32LE(A,d){return toBuffer(A).readInt32LE(d)}function readUInt32BE(A,d){return toBuffer(A).readUInt32BE(d)}function readUInt32LE(A,d){return toBuffer(A).readUInt32LE(d)}function writeDoubleBE(A,d,p){return toBuffer(A).writeDoubleBE(d,p)}function writeDoubleLE(A,d,p){return toBuffer(A).writeDoubleLE(d,p)}function writeFloatBE(A,d,p){return toBuffer(A).writeFloatBE(d,p)}function writeFloatLE(A,d,p){return toBuffer(A).writeFloatLE(d,p)}function writeInt32BE(A,d,p){return toBuffer(A).writeInt32BE(d,p)}function writeInt32LE(A,d,p){return toBuffer(A).writeInt32LE(d,p)}function writeUInt32BE(A,d,p){return toBuffer(A).writeUInt32BE(d,p)}function writeUInt32LE(A,d,p){return toBuffer(A).writeUInt32LE(d,p)}A.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}},90870:A=>{A.exports=balanced;function balanced(A,d,p){if(A instanceof RegExp)A=maybeMatch(A,p);if(d instanceof RegExp)d=maybeMatch(d,p);var C=range(A,d,p);return C&&{start:C[0],end:C[1],pre:p.slice(0,C[0]),body:p.slice(C[0]+A.length,C[1]),post:p.slice(C[1]+d.length)}}function maybeMatch(A,d){var p=d.match(A);return p?p[0]:null}balanced.range=range;function range(A,d,p){var C,S,v,T,_;var V=p.indexOf(A);var Z=p.indexOf(d,V+1);var ee=V;if(V>=0&&Z>0){if(A===d){return[V,Z]}C=[];v=p.length;while(ee>=0&&!_){if(ee==V){C.push(ee);V=p.indexOf(A,ee+1)}else if(C.length==1){_=[C.pop(),Z]}else{S=C.pop();if(S<v){v=S;T=Z}Z=p.indexOf(d,ee+1)}ee=V<Z&&V>=0?V:Z}if(C.length){_=[v,T]}}return _}},43128:(A,d,p)=>{var C=p(18707);var S=p(15743);var v=p(98418);var T=Function.bind;var _=T.bind(T);function bindApi(A,d,p){var C=_(v,null).apply(null,p?[d,p]:[d]);A.api={remove:C};A.remove=C;["before","error","after","wrap"].forEach((function(C){var v=p?[d,C,p]:[d,C];A[C]=A.api[C]=_(S,null).apply(null,v)}))}function HookSingular(){var A="h";var d={registry:{}};var p=C.bind(null,d,A);bindApi(p,d,A);return p}function HookCollection(){var A={registry:{}};var d=C.bind(null,A);bindApi(d,A);return d}var V=false;function Hook(){if(!V){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');V=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();A.exports=Hook;A.exports.Hook=Hook;A.exports.Singular=Hook.Singular;A.exports.Collection=Hook.Collection},15743:A=>{A.exports=addHook;function addHook(A,d,p,C){var S=C;if(!A.registry[p]){A.registry[p]=[]}if(d==="before"){C=function(A,d){return Promise.resolve().then(S.bind(null,d)).then(A.bind(null,d))}}if(d==="after"){C=function(A,d){var p;return Promise.resolve().then(A.bind(null,d)).then((function(A){p=A;return S(p,d)})).then((function(){return p}))}}if(d==="error"){C=function(A,d){return Promise.resolve().then(A.bind(null,d)).catch((function(A){return S(A,d)}))}}A.registry[p].push({hook:C,orig:S})}},18707:A=>{A.exports=register;function register(A,d,p,C){if(typeof p!=="function"){throw new Error("method for before hook must be a function")}if(!C){C={}}if(Array.isArray(d)){return d.reverse().reduce((function(d,p){return register.bind(null,A,p,d,C)}),p)()}return Promise.resolve().then((function(){if(!A.registry[d]){return p(C)}return A.registry[d].reduce((function(A,d){return d.hook.bind(null,A,C)}),p)()}))}},98418:A=>{A.exports=removeHook;function removeHook(A,d,p){if(!A.registry[d]){return}var C=A.registry[d].map((function(A){return A.orig})).indexOf(p);if(C===-1){return}A.registry[d].splice(C,1)}},52386:(A,d,p)=>{var C=p(66428);var S=p(24434).EventEmitter;var v=p(66869);var T=p(78174);var _=p(2203).Stream;d=A.exports=function(A,p){if(Buffer.isBuffer(A)){return d.parse(A)}var C=d.stream();if(A&&A.pipe){A.pipe(C)}else if(A){A.on(p||"data",(function(A){C.write(A)}));A.on("end",(function(){C.end()}))}return C};d.stream=function(A){if(A)return d.apply(null,arguments);var p=null;function getBytes(A,d,C){p={bytes:A,skip:C,cb:function(A){p=null;d(A)}};dispatch()}var V=null;function dispatch(){if(!p){if(ne)re=true;return}if(typeof p==="function"){p()}else{var A=V+p.bytes;if(ee.length>=A){var d;if(V==null){d=ee.splice(0,A);if(!p.skip){d=d.slice()}}else{if(!p.skip){d=ee.slice(V,A)}V=A}if(p.skip){p.cb()}else{p.cb(d)}}}}function builder(A){function next(){if(!re)A.next()}var d=words((function(A,d){return function(p){getBytes(A,(function(A){te.set(p,d(A));next()}))}}));d.tap=function(d){A.nest(d,te.store)};d.into=function(d,p){if(!te.get(d))te.set(d,{});var C=te;te=T(C.get(d));A.nest((function(){p.apply(this,arguments);this.tap((function(){te=C}))}),te.store)};d.flush=function(){te.store={};next()};d.loop=function(d){var p=false;A.nest(false,(function loop(){this.vars=te.store;d.call(this,(function(){p=true;next()}),te.store);this.tap(function(){if(p)A.next();else loop.call(this)}.bind(this))}),te.store)};d.buffer=function(A,d){if(typeof d==="string"){d=te.get(d)}getBytes(d,(function(d){te.set(A,d);next()}))};d.skip=function(A){if(typeof A==="string"){A=te.get(A)}getBytes(A,(function(){next()}))};d.scan=function find(A,d){if(typeof d==="string"){d=new Buffer(d)}else if(!Buffer.isBuffer(d)){throw new Error("search must be a Buffer or a string")}var C=0;p=function(){var S=ee.indexOf(d,V+C);var v=S-V-C;if(S!==-1){p=null;if(V!=null){te.set(A,ee.slice(V,V+C+v));V+=C+v+d.length}else{te.set(A,ee.slice(0,C+v));ee.splice(0,C+v+d.length)}next();dispatch()}else{v=Math.max(ee.length-d.length-V-C,0)}C+=v};dispatch()};d.peek=function(d){V=0;A.nest((function(){d.call(this,te.store);this.tap((function(){V=null}))}))};return d}var Z=C.light(builder);Z.writable=true;var ee=v();Z.write=function(A){ee.push(A);dispatch()};var te=T();var re=false,ne=false;Z.end=function(){ne=true};Z.pipe=_.prototype.pipe;Object.getOwnPropertyNames(S.prototype).forEach((function(A){Z[A]=S.prototype[A]}));return Z};d.parse=function parse(A){var d=words((function(S,v){return function(T){if(p+S<=A.length){var _=A.slice(p,p+S);p+=S;C.set(T,v(_))}else{C.set(T,null)}return d}}));var p=0;var C=T();d.vars=C.store;d.tap=function(A){A.call(d,C.store);return d};d.into=function(A,p){if(!C.get(A)){C.set(A,{})}var S=C;C=T(S.get(A));p.call(d,C.store);C=S;return d};d.loop=function(A){var p=false;var ender=function(){p=true};while(p===false){A.call(d,ender,C.store)}return d};d.buffer=function(S,v){if(typeof v==="string"){v=C.get(v)}var T=A.slice(p,Math.min(A.length,p+v));p+=v;C.set(S,T);return d};d.skip=function(A){if(typeof A==="string"){A=C.get(A)}p+=A;return d};d.scan=function(S,v){if(typeof v==="string"){v=new Buffer(v)}else if(!Buffer.isBuffer(v)){throw new Error("search must be a Buffer or a string")}C.set(S,null);for(var T=0;T+p<=A.length-v.length+1;T++){for(var _=0;_<v.length&&A[p+T+_]===v[_];_++);if(_===v.length)break}C.set(S,A.slice(p,p+T));p+=T+v.length;return d};d.peek=function(A){var S=p;A.call(d,C.store);p=S;return d};d.flush=function(){C.store={};return d};d.eof=function(){return p>=A.length};return d};function decodeLEu(A){var d=0;for(var p=0;p<A.length;p++){d+=Math.pow(256,p)*A[p]}return d}function decodeBEu(A){var d=0;for(var p=0;p<A.length;p++){d+=Math.pow(256,A.length-p-1)*A[p]}return d}function decodeBEs(A){var d=decodeBEu(A);if((A[0]&128)==128){d-=Math.pow(256,A.length)}return d}function decodeLEs(A){var d=decodeLEu(A);if((A[A.length-1]&128)==128){d-=Math.pow(256,A.length)}return d}function words(A){var d={};[1,2,4,8].forEach((function(p){var C=p*8;d["word"+C+"le"]=d["word"+C+"lu"]=A(p,decodeLEu);d["word"+C+"ls"]=A(p,decodeLEs);d["word"+C+"be"]=d["word"+C+"bu"]=A(p,decodeBEu);d["word"+C+"bs"]=A(p,decodeBEs)}));d.word8=d.word8u=d.word8be;d.word8s=d.word8bs;return d}},78174:A=>{A.exports=function(A){function getset(A,p){var C=d.store;var S=A.split(".");S.slice(0,-1).forEach((function(A){if(C[A]===undefined)C[A]={};C=C[A]}));var v=S[S.length-1];if(arguments.length==1){return C[v]}else{return C[v]=p}}var d={get:function(A){return getset(A)},set:function(A,d){return getset(A,d)},store:A||{}};return d}},9900:function(A){(function(d,p){true?A.exports=p():0})(this,(function(){"use strict";var A=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(A){return A&&A["default"]||A}var load=function(A,d,p={}){var C,S,v;for(C in d){v=d[C];p[C]=(S=A[C])!=null?S:v}return p};var overwrite=function(A,d,p={}){var C,S;for(C in A){S=A[C];if(d[C]!==void 0){p[C]=S}}return p};var d={load:load,overwrite:overwrite};var p;p=class DLList{constructor(A,d){this.incr=A;this.decr=d;this._first=null;this._last=null;this.length=0}push(A){var d;this.length++;if(typeof this.incr==="function"){this.incr()}d={value:A,prev:this._last,next:null};if(this._last!=null){this._last.next=d;this._last=d}else{this._first=this._last=d}return void 0}shift(){var A;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}A=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return A}first(){if(this._first!=null){return this._first.value}}getArray(){var A,d,p;A=this._first;p=[];while(A!=null){p.push((d=A,A=A.next,d.value))}return p}forEachShift(A){var d;d=this.shift();while(d!=null){A(d),d=this.shift()}return void 0}debug(){var A,d,p,C,S;A=this._first;S=[];while(A!=null){S.push((d=A,A=A.next,{value:d.value,prev:(p=d.prev)!=null?p.value:void 0,next:(C=d.next)!=null?C.value:void 0}))}return S}};var C=p;var S;S=class Events{constructor(A){this.instance=A;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=(A,d)=>this._addListener(A,"many",d);this.instance.once=(A,d)=>this._addListener(A,"once",d);this.instance.removeAllListeners=(A=null)=>{if(A!=null){return delete this._events[A]}else{return this._events={}}}}_addListener(A,d,p){var C;if((C=this._events)[A]==null){C[A]=[]}this._events[A].push({cb:p,status:d});return this.instance}listenerCount(A){if(this._events[A]!=null){return this._events[A].length}else{return 0}}async trigger(A,...d){var p,C;try{if(A!=="debug"){this.trigger("debug",`Event triggered: ${A}`,d)}if(this._events[A]==null){return}this._events[A]=this._events[A].filter((function(A){return A.status!=="none"}));C=this._events[A].map((async A=>{var p,C;if(A.status==="none"){return}if(A.status==="once"){A.status="none"}try{C=typeof A.cb==="function"?A.cb(...d):void 0;if(typeof(C!=null?C.then:void 0)==="function"){return await C}else{return C}}catch(A){p=A;{this.trigger("error",p)}return null}}));return(await Promise.all(C)).find((function(A){return A!=null}))}catch(A){p=A;{this.trigger("error",p)}return null}}};var v=S;var T,_,V;T=C;_=v;V=class Queues{constructor(A){var d;this.Events=new _(this);this._length=0;this._lists=function(){var p,C,S;S=[];for(d=p=1,C=A;1<=C?p<=C:p>=C;d=1<=C?++p:--p){S.push(new T((()=>this.incr()),(()=>this.decr())))}return S}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(A){return this._lists[A.options.priority].push(A)}queued(A){if(A!=null){return this._lists[A].length}else{return this._length}}shiftAll(A){return this._lists.forEach((function(d){return d.forEachShift(A)}))}getFirst(A=this._lists){var d,p,C;for(d=0,p=A.length;d<p;d++){C=A[d];if(C.length>0){return C}}return[]}shiftLastFrom(A){return this.getFirst(this._lists.slice(A).reverse()).shift()}};var Z=V;var ee;ee=class BottleneckError extends Error{};var te=ee;var re,ne,ie,se,oe;se=10;ne=5;oe=d;re=te;ie=class Job{constructor(A,d,p,C,S,v,T,_){this.task=A;this.args=d;this.rejectOnDrop=S;this.Events=v;this._states=T;this.Promise=_;this.options=oe.load(p,C);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===C.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((A,d)=>{this._resolve=A;this._reject=d}));this.retryCount=0}_sanitizePriority(A){var d;d=~~A!==A?ne:A;if(d<0){return 0}else if(d>se-1){return se-1}else{return d}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:A,message:d="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(A!=null?A:new re(d))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(A){var d;d=this._states.jobStatus(this.options.id);if(!(d===A||A==="DONE"&&d===null)){throw new re(`Invalid job status ${d}, expected ${A}. 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(A,d){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:A,blocked:d})}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(A,d,p,C){var S,v,T;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}v={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",v);try{T=await(A!=null?A.schedule(this.options,this.task,...this.args):this.task(...this.args));if(d()){this.doDone(v);await C(this.options,v);this._assertStatus("DONE");return this._resolve(T)}}catch(A){S=A;return this._onFailure(S,v,d,p,C)}}doExpire(A,d,p){var C,S;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");S={args:this.args,options:this.options,retryCount:this.retryCount};C=new re(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(C,S,A,d,p)}async _onFailure(A,d,p,C,S){var v,T;if(p()){v=await this.Events.trigger("failed",A,d);if(v!=null){T=~~v;this.Events.trigger("retry",`Retrying ${this.options.id} after ${T} ms`,d);this.retryCount++;return C(T)}else{this.doDone(d);await S(this.options,d);this._assertStatus("DONE");return this._reject(A)}}}doDone(A){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",A)}};var ae=ie;var le,ce,ue;ue=d;le=te;ce=class LocalDatastore{constructor(A,d,p){this.instance=A;this.storeOptions=d;this.clientId=this.instance._randomIndex();ue.load(p,p,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 A;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(A=this.heartbeat=setInterval((()=>{var A,d,p,C,S;C=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&C>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=C;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&C>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:A,reservoirIncreaseMaximum:p,reservoir:S}=this.storeOptions);this._lastReservoirIncrease=C;d=p!=null?Math.min(A,p-S):A;if(d>0){this.storeOptions.reservoir+=d;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?A.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(A){await this.yieldLoop();return this.instance.Events.trigger("message",A.toString())}async __disconnect__(A){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(A=0){return new this.Promise((function(d,p){return setTimeout(d,A)}))}computePenalty(){var A;return(A=this.storeOptions.penalty)!=null?A:15*this.storeOptions.minTime||5e3}async __updateSettings__(A){await this.yieldLoop();ue.overwrite(A,A,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__(A){await this.yieldLoop();return this._nextRequest+this.timeout<A}computeCapacity(){var A,d;({maxConcurrent:A,reservoir:d}=this.storeOptions);if(A!=null&&d!=null){return Math.min(A-this._running,d)}else if(A!=null){return A-this._running}else if(d!=null){return d}else{return null}}conditionsCheck(A){var d;d=this.computeCapacity();return d==null||A<=d}async __incrementReservoir__(A){var d;await this.yieldLoop();d=this.storeOptions.reservoir+=A;this.instance._drainAll(this.computeCapacity());return d}async __currentReservoir__(){await this.yieldLoop();return this.storeOptions.reservoir}isBlocked(A){return this._unblockTime>=A}check(A,d){return this.conditionsCheck(A)&&this._nextRequest-d<=0}async __check__(A){var d;await this.yieldLoop();d=Date.now();return this.check(A,d)}async __register__(A,d,p){var C,S;await this.yieldLoop();C=Date.now();if(this.conditionsCheck(d)){this._running+=d;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=d}S=Math.max(this._nextRequest-C,0);this._nextRequest=C+S+this.storeOptions.minTime;return{success:true,wait:S,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(A,d){var p,C,S;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&d>this.storeOptions.maxConcurrent){throw new le(`Impossible to add a job having a weight of ${d} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}C=Date.now();S=this.storeOptions.highWater!=null&&A===this.storeOptions.highWater&&!this.check(d,C);p=this.strategyIsBlock()&&(S||this.isBlocked(C));if(p){this._unblockTime=C+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:S,blocked:p,strategy:this.storeOptions.strategy}}async __free__(A,d){await this.yieldLoop();this._running-=d;this._done+=d;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var Ae=ce;var de,pe;de=te;pe=class States{constructor(A){this.status=A;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(A){var d,p;d=this._jobs[A];p=d+1;if(d!=null&&p<this.status.length){this.counts[d]--;this.counts[p]++;return this._jobs[A]++}else if(d!=null){this.counts[d]--;return delete this._jobs[A]}}start(A){var d;d=0;this._jobs[A]=d;return this.counts[d]++}remove(A){var d;d=this._jobs[A];if(d!=null){this.counts[d]--;delete this._jobs[A]}return d!=null}jobStatus(A){var d;return(d=this.status[this._jobs[A]])!=null?d:null}statusJobs(A){var d,p,C,S,v;if(A!=null){p=this.status.indexOf(A);if(p<0){throw new de(`status must be one of ${this.status.join(", ")}`)}C=this._jobs;S=[];for(d in C){v=C[d];if(v===p){S.push(d)}}return S}else{return Object.keys(this._jobs)}}statusCounts(){return this.counts.reduce(((A,d,p)=>{A[this.status[p]]=d;return A}),{})}};var fe=pe;var he,ge;he=C;ge=class Sync{constructor(A,d){this.schedule=this.schedule.bind(this);this.name=A;this.Promise=d;this._running=0;this._queue=new he}isEmpty(){return this._queue.length===0}async _tryToRun(){var A,d,p,C,S,v,T;if(this._running<1&&this._queue.length>0){this._running++;({task:T,args:A,resolve:S,reject:C}=this._queue.shift());d=await async function(){try{v=await T(...A);return function(){return S(v)}}catch(A){p=A;return function(){return C(p)}}}();this._running--;this._tryToRun();return d()}}schedule(A,...d){var p,C,S;S=C=null;p=new this.Promise((function(A,d){S=A;return C=d}));this._queue.push({task:A,args:d,resolve:S,reject:C});this._tryToRun();return p}};var me=ge;var ye="2.19.5";var Ee={version:ye};var be=Object.freeze({version:ye,default:Ee});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 Ce,Be,Ie,Se,we,Qe;Qe=d;Ce=v;Se=require$$2;Ie=require$$3;we=require$$4;Be=function(){class Group{constructor(A={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=A;Qe.load(this.limiterOptions,this.defaults,this);this.Events=new Ce(this);this.instances={};this.Bottleneck=ze;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new Se(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new Ie(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(A=""){var d;return(d=this.instances[A])!=null?d:(()=>{var d;d=this.instances[A]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${A}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",d,A);return d})()}async deleteKey(A=""){var d,p;p=this.instances[A];if(this.connection){d=await this.connection.__runCommand__(["del",...we.allKeys(`${this.id}-${A}`)])}if(p!=null){delete this.instances[A];await p.disconnect()}return p!=null||d>0}limiters(){var A,d,p,C;d=this.instances;p=[];for(A in d){C=d[A];p.push({key:A,limiter:C})}return p}keys(){return Object.keys(this.instances)}async clusterKeys(){var A,d,p,C,S,v,T,_,V;if(this.connection==null){return this.Promise.resolve(this.keys())}v=[];A=null;V=`b_${this.id}-`.length;d="_settings".length;while(A!==0){[_,p]=await this.connection.__runCommand__(["scan",A!=null?A:0,"match",`b_${this.id}-*_settings`,"count",1e4]);A=~~_;for(C=0,T=p.length;C<T;C++){S=p[C];v.push(S.slice(V,-d))}}return v}_startAutoCleanup(){var A;clearInterval(this.interval);return typeof(A=this.interval=setInterval((async()=>{var A,d,p,C,S,v;S=Date.now();p=this.instances;C=[];for(d in p){v=p[d];try{if(await v._store.__groupCheck__(S)){C.push(this.deleteKey(d))}else{C.push(void 0)}}catch(d){A=d;C.push(v.Events.trigger("error",A))}}return C}),this.timeout/2)).unref==="function"?A.unref():void 0}updateSettings(A={}){Qe.overwrite(A,this.defaults,this);Qe.overwrite(A,A,this.limiterOptions);if(A.timeout!=null){return this._startAutoCleanup()}}disconnect(A=true){var d;if(!this.sharedConnection){return(d=this.connection)!=null?d.disconnect(A):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(A);var ve=Be;var Re,Ne,De;De=d;Ne=v;Re=function(){class Batcher{constructor(A={}){this.options=A;De.load(this.options,this.defaults,this);this.Events=new Ne(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((A,d)=>this._resolve=A))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(A){var d;this._arr.push(A);d=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 d}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(A);var xe=Re;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var Te=getCjsExportFromNamespace(be);var _e,Pe,ke,Oe,Fe,Le,Me,Ue,He,Ge,qe,je=[].splice;Le=10;Pe=5;qe=d;Me=Z;Oe=ae;Fe=Ae;Ue=require$$4$1;ke=v;He=fe;Ge=me;_e=function(){class Bottleneck{constructor(A={},...d){var p,C;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(A,d);qe.load(A,this.instanceDefaults,this);this._queues=new Me(Le);this._scheduled={};this._states=new He(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new ke(this);this._submitLock=new Ge("submit",this.Promise);this._registerLock=new Ge("register",this.Promise);C=qe.load(A,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){p=qe.load(A,this.redisStoreDefaults,{});return new Ue(this,C,p)}else if(this.datastore==="local"){p=qe.load(A,this.localStoreDefaults,{});return new Fe(this,C,p)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var A;return(A=this._store.heartbeat)!=null?typeof A.ref==="function"?A.ref():void 0:void 0}));this._queues.on("zero",(()=>{var A;return(A=this._store.heartbeat)!=null?typeof A.unref==="function"?A.unref():void 0:void 0}))}_validateOptions(A,d){if(!(A!=null&&typeof A==="object"&&d.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(A){return this._store.__publish__(A)}disconnect(A=true){return this._store.__disconnect__(A)}chain(A){this._limiter=A;return this}queued(A){return this._queues.queued(A)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(A){return this._states.jobStatus(A)}jobs(A){return this._states.statusJobs(A)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(A=1){return this._store.__check__(A)}_clearGlobalState(A){if(this._scheduled[A]!=null){clearTimeout(this._scheduled[A].expiration);delete this._scheduled[A];return true}else{return false}}async _free(A,d,p,C){var S,v;try{({running:v}=await this._store.__free__(A,p.weight));this.Events.trigger("debug",`Freed ${p.id}`,C);if(v===0&&this.empty()){return this.Events.trigger("idle")}}catch(A){S=A;return this.Events.trigger("error",S)}}_run(A,d,p){var C,S,v;d.doRun();C=this._clearGlobalState.bind(this,A);v=this._run.bind(this,A,d);S=this._free.bind(this,A,d);return this._scheduled[A]={timeout:setTimeout((()=>d.doExecute(this._limiter,C,v,S)),p),expiration:d.options.expiration!=null?setTimeout((function(){return d.doExpire(C,v,S)}),p+d.options.expiration):void 0,job:d}}_drainOne(A){return this._registerLock.schedule((()=>{var d,p,C,S,v;if(this.queued()===0){return this.Promise.resolve(null)}v=this._queues.getFirst();({options:S,args:d}=C=v.first());if(A!=null&&S.weight>A){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${S.id}`,{args:d,options:S});p=this._randomIndex();return this._store.__register__(p,S.weight,S.expiration).then((({success:A,wait:T,reservoir:_})=>{var V;this.Events.trigger("debug",`Drained ${S.id}`,{success:A,args:d,options:S});if(A){v.shift();V=this.empty();if(V){this.Events.trigger("empty")}if(_===0){this.Events.trigger("depleted",V)}this._run(p,C,T);return this.Promise.resolve(S.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(A,d=0){return this._drainOne(A).then((p=>{var C;if(p!=null){C=A!=null?A-p:A;return this._drainAll(C,d+p)}else{return this.Promise.resolve(d)}})).catch((A=>this.Events.trigger("error",A)))}_dropAllQueued(A){return this._queues.shiftAll((function(d){return d.doDrop({message:A})}))}stop(A={}){var d,p;A=qe.load(A,this.stopDefaults);p=A=>{var d;d=()=>{var d;d=this._states.counts;return d[0]+d[1]+d[2]+d[3]===A};return new this.Promise(((A,p)=>{if(d()){return A()}else{return this.on("done",(()=>{if(d()){this.removeAllListeners("done");return A()}}))}}))};d=A.dropWaitingJobs?(this._run=function(d,p){return p.doDrop({message:A.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var d,C,S;C=this._scheduled;for(d in C){S=C[d];if(this.jobStatus(S.job.options.id)==="RUNNING"){clearTimeout(S.timeout);clearTimeout(S.expiration);S.job.doDrop({message:A.dropErrorMessage})}}this._dropAllQueued(A.dropErrorMessage);return p(0)}))))):this.schedule({priority:Le-1,weight:0},(()=>p(1)));this._receive=function(d){return d._reject(new Bottleneck.prototype.BottleneckError(A.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return d}async _addToQueue(A){var d,p,C,S,v,T,_;({args:d,options:S}=A);try{({reachedHWM:v,blocked:p,strategy:_}=await this._store.__submit__(this.queued(),S.weight))}catch(p){C=p;this.Events.trigger("debug",`Could not queue ${S.id}`,{args:d,options:S,error:C});A.doDrop({error:C});return false}if(p){A.doDrop();return true}else if(v){T=_===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(S.priority):_===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(S.priority+1):_===Bottleneck.prototype.strategy.OVERFLOW?A:void 0;if(T!=null){T.doDrop()}if(T==null||_===Bottleneck.prototype.strategy.OVERFLOW){if(T==null){A.doDrop()}return v}}A.doQueue(v,p);this._queues.push(A);await this._drainAll();return v}_receive(A){if(this._states.jobStatus(A.options.id)!=null){A._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${A.options.id})`));return false}else{A.doReceive();return this._submitLock.schedule(this._addToQueue,A)}}submit(...A){var d,p,C,S,v,T,_;if(typeof A[0]==="function"){v=A,[p,...A]=v,[d]=je.call(A,-1);S=qe.load({},this.jobDefaults)}else{T=A,[S,p,...A]=T,[d]=je.call(A,-1);S=qe.load(S,this.jobDefaults)}_=(...A)=>new this.Promise((function(d,C){return p(...A,(function(...A){return(A[0]!=null?C:d)(A)}))}));C=new Oe(_,A,S,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);C.promise.then((function(A){return typeof d==="function"?d(...A):void 0})).catch((function(A){if(Array.isArray(A)){return typeof d==="function"?d(...A):void 0}else{return typeof d==="function"?d(A):void 0}}));return this._receive(C)}schedule(...A){var d,p,C;if(typeof A[0]==="function"){[C,...A]=A;p={}}else{[p,C,...A]=A}d=new Oe(C,A,p,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(d);return d.promise}wrap(A){var d,p;d=this.schedule.bind(this);p=function(...p){return d(A.bind(this),...p)};p.withOptions=function(p,...C){return d(p,A,...C)};return p}async updateSettings(A={}){await this._store.__updateSettings__(qe.overwrite(A,this.storeDefaults));qe.overwrite(A,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(A=0){return this._store.__incrementReservoir__(A)}}Bottleneck.default=Bottleneck;Bottleneck.Events=ke;Bottleneck.version=Bottleneck.prototype.version=Te.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=te;Bottleneck.Group=Bottleneck.prototype.Group=ve;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=xe;Bottleneck.prototype.jobDefaults={priority:Pe,weight:1,expiration:null,id:"<no-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:"<no-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(A);var ze=_e;var Ve=ze;return Ve}))},23033:(A,d,p)=>{var C=p(90870);A.exports=expandTop;var S="\0SLASH"+Math.random()+"\0";var v="\0OPEN"+Math.random()+"\0";var T="\0CLOSE"+Math.random()+"\0";var _="\0COMMA"+Math.random()+"\0";var V="\0PERIOD"+Math.random()+"\0";function numeric(A){return parseInt(A,10)==A?parseInt(A,10):A.charCodeAt(0)}function escapeBraces(A){return A.split("\\\\").join(S).split("\\{").join(v).split("\\}").join(T).split("\\,").join(_).split("\\.").join(V)}function unescapeBraces(A){return A.split(S).join("\\").split(v).join("{").split(T).join("}").split(_).join(",").split(V).join(".")}function parseCommaParts(A){if(!A)return[""];var d=[];var p=C("{","}",A);if(!p)return A.split(",");var S=p.pre;var v=p.body;var T=p.post;var _=S.split(",");_[_.length-1]+="{"+v+"}";var V=parseCommaParts(T);if(T.length){_[_.length-1]+=V.shift();_.push.apply(_,V)}d.push.apply(d,_);return d}function expandTop(A){if(!A)return[];if(A.substr(0,2)==="{}"){A="\\{\\}"+A.substr(2)}return expand(escapeBraces(A),true).map(unescapeBraces)}function embrace(A){return"{"+A+"}"}function isPadded(A){return/^-?0\d/.test(A)}function lte(A,d){return A<=d}function gte(A,d){return A>=d}function expand(A,d){var p=[];var S=C("{","}",A);if(!S)return[A];var v=S.pre;var _=S.post.length?expand(S.post,false):[""];if(/\$$/.test(S.pre)){for(var V=0;V<_.length;V++){var Z=v+"{"+S.body+"}"+_[V];p.push(Z)}}else{var ee=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(S.body);var te=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(S.body);var re=ee||te;var ne=S.body.indexOf(",")>=0;if(!re&&!ne){if(S.post.match(/,(?!,).*\}/)){A=S.pre+"{"+S.body+T+S.post;return expand(A)}return[A]}var ie;if(re){ie=S.body.split(/\.\./)}else{ie=parseCommaParts(S.body);if(ie.length===1){ie=expand(ie[0],false).map(embrace);if(ie.length===1){return _.map((function(A){return S.pre+ie[0]+A}))}}}var se;if(re){var oe=numeric(ie[0]);var ae=numeric(ie[1]);var le=Math.max(ie[0].length,ie[1].length);var ce=ie.length==3?Math.abs(numeric(ie[2])):1;var ue=lte;var Ae=ae<oe;if(Ae){ce*=-1;ue=gte}var de=ie.some(isPadded);se=[];for(var pe=oe;ue(pe,ae);pe+=ce){var fe;if(te){fe=String.fromCharCode(pe);if(fe==="\\")fe=""}else{fe=String(pe);if(de){var he=le-fe.length;if(he>0){var ge=new Array(he+1).join("0");if(pe<0)fe="-"+ge+fe.slice(1);else fe=ge+fe}}}se.push(fe)}}else{se=[];for(var me=0;me<ie.length;me++){se.push.apply(se,expand(ie[me],false))}}for(var me=0;me<se.length;me++){for(var V=0;V<_.length;V++){var Z=v+se[me]+_[V];if(!d||re||Z)p.push(Z)}}}return p}},37227:(A,d,p)=>{const C=p(8602);const S=p(62358);const v=p(35671);const T=p(34180);const braces=(A,d={})=>{let p=[];if(Array.isArray(A)){for(const C of A){const A=braces.create(C,d);if(Array.isArray(A)){p.push(...A)}else{p.push(A)}}}else{p=[].concat(braces.create(A,d))}if(d&&d.expand===true&&d.nodupes===true){p=[...new Set(p)]}return p};braces.parse=(A,d={})=>T(A,d);braces.stringify=(A,d={})=>{if(typeof A==="string"){return C(braces.parse(A,d),d)}return C(A,d)};braces.compile=(A,d={})=>{if(typeof A==="string"){A=braces.parse(A,d)}return S(A,d)};braces.expand=(A,d={})=>{if(typeof A==="string"){A=braces.parse(A,d)}let p=v(A,d);if(d.noempty===true){p=p.filter(Boolean)}if(d.nodupes===true){p=[...new Set(p)]}return p};braces.create=(A,d={})=>{if(A===""||A.length<3){return[A]}return d.expand!==true?braces.compile(A,d):braces.expand(A,d)};A.exports=braces},62358:(A,d,p)=>{const C=p(56198);const S=p(67494);const compile=(A,d={})=>{const walk=(A,p={})=>{const v=S.isInvalidBrace(p);const T=A.invalid===true&&d.escapeInvalid===true;const _=v===true||T===true;const V=d.escapeInvalid===true?"\\":"";let Z="";if(A.isOpen===true){return V+A.value}if(A.isClose===true){console.log("node.isClose",V,A.value);return V+A.value}if(A.type==="open"){return _?V+A.value:"("}if(A.type==="close"){return _?V+A.value:")"}if(A.type==="comma"){return A.prev.type==="comma"?"":_?A.value:"|"}if(A.value){return A.value}if(A.nodes&&A.ranges>0){const p=S.reduce(A.nodes);const v=C(...p,{...d,wrap:false,toRegex:true,strictZeros:true});if(v.length!==0){return p.length>1&&v.length>1?`(${v})`:v}}if(A.nodes){for(const d of A.nodes){Z+=walk(d,A)}}return Z};return walk(A)};A.exports=compile},71230:A=>{A.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},35671:(A,d,p)=>{const C=p(56198);const S=p(8602);const v=p(67494);const append=(A="",d="",p=false)=>{const C=[];A=[].concat(A);d=[].concat(d);if(!d.length)return A;if(!A.length){return p?v.flatten(d).map((A=>`{${A}}`)):d}for(const S of A){if(Array.isArray(S)){for(const A of S){C.push(append(A,d,p))}}else{for(let A of d){if(p===true&&typeof A==="string")A=`{${A}}`;C.push(Array.isArray(A)?append(S,A,p):S+A)}}}return v.flatten(C)};const expand=(A,d={})=>{const p=d.rangeLimit===undefined?1e3:d.rangeLimit;const walk=(A,T={})=>{A.queue=[];let _=T;let V=T.queue;while(_.type!=="brace"&&_.type!=="root"&&_.parent){_=_.parent;V=_.queue}if(A.invalid||A.dollar){V.push(append(V.pop(),S(A,d)));return}if(A.type==="brace"&&A.invalid!==true&&A.nodes.length===2){V.push(append(V.pop(),["{}"]));return}if(A.nodes&&A.ranges>0){const T=v.reduce(A.nodes);if(v.exceedsLimit(...T,d.step,p)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let _=C(...T,d);if(_.length===0){_=S(A,d)}V.push(append(V.pop(),_));A.nodes=[];return}const Z=v.encloseBrace(A);let ee=A.queue;let te=A;while(te.type!=="brace"&&te.type!=="root"&&te.parent){te=te.parent;ee=te.queue}for(let d=0;d<A.nodes.length;d++){const p=A.nodes[d];if(p.type==="comma"&&A.type==="brace"){if(d===1)ee.push("");ee.push("");continue}if(p.type==="close"){V.push(append(V.pop(),ee,Z));continue}if(p.value&&p.type!=="open"){ee.push(append(ee.pop(),p.value));continue}if(p.nodes){walk(p,A)}}return ee};return v.flatten(walk(A))};A.exports=expand},34180:(A,d,p)=>{const C=p(8602);const{MAX_LENGTH:S,CHAR_BACKSLASH:v,CHAR_BACKTICK:T,CHAR_COMMA:_,CHAR_DOT:V,CHAR_LEFT_PARENTHESES:Z,CHAR_RIGHT_PARENTHESES:ee,CHAR_LEFT_CURLY_BRACE:te,CHAR_RIGHT_CURLY_BRACE:re,CHAR_LEFT_SQUARE_BRACKET:ne,CHAR_RIGHT_SQUARE_BRACKET:ie,CHAR_DOUBLE_QUOTE:se,CHAR_SINGLE_QUOTE:oe,CHAR_NO_BREAK_SPACE:ae,CHAR_ZERO_WIDTH_NOBREAK_SPACE:le}=p(71230);const parse=(A,d={})=>{if(typeof A!=="string"){throw new TypeError("Expected a string")}const p=d||{};const ce=typeof p.maxLength==="number"?Math.min(S,p.maxLength):S;if(A.length>ce){throw new SyntaxError(`Input length (${A.length}), exceeds max characters (${ce})`)}const ue={type:"root",input:A,nodes:[]};const Ae=[ue];let de=ue;let pe=ue;let fe=0;const he=A.length;let ge=0;let me=0;let ye;const advance=()=>A[ge++];const push=A=>{if(A.type==="text"&&pe.type==="dot"){pe.type="text"}if(pe&&pe.type==="text"&&A.type==="text"){pe.value+=A.value;return}de.nodes.push(A);A.parent=de;A.prev=pe;pe=A;return A};push({type:"bos"});while(ge<he){de=Ae[Ae.length-1];ye=advance();if(ye===le||ye===ae){continue}if(ye===v){push({type:"text",value:(d.keepEscaping?ye:"")+advance()});continue}if(ye===ie){push({type:"text",value:"\\"+ye});continue}if(ye===ne){fe++;let A;while(ge<he&&(A=advance())){ye+=A;if(A===ne){fe++;continue}if(A===v){ye+=advance();continue}if(A===ie){fe--;if(fe===0){break}}}push({type:"text",value:ye});continue}if(ye===Z){de=push({type:"paren",nodes:[]});Ae.push(de);push({type:"text",value:ye});continue}if(ye===ee){if(de.type!=="paren"){push({type:"text",value:ye});continue}de=Ae.pop();push({type:"text",value:ye});de=Ae[Ae.length-1];continue}if(ye===se||ye===oe||ye===T){const A=ye;let p;if(d.keepQuotes!==true){ye=""}while(ge<he&&(p=advance())){if(p===v){ye+=p+advance();continue}if(p===A){if(d.keepQuotes===true)ye+=p;break}ye+=p}push({type:"text",value:ye});continue}if(ye===te){me++;const A=pe.value&&pe.value.slice(-1)==="$"||de.dollar===true;const d={type:"brace",open:true,close:false,dollar:A,depth:me,commas:0,ranges:0,nodes:[]};de=push(d);Ae.push(de);push({type:"open",value:ye});continue}if(ye===re){if(de.type!=="brace"){push({type:"text",value:ye});continue}const A="close";de=Ae.pop();de.close=true;push({type:A,value:ye});me--;de=Ae[Ae.length-1];continue}if(ye===_&&me>0){if(de.ranges>0){de.ranges=0;const A=de.nodes.shift();de.nodes=[A,{type:"text",value:C(de)}]}push({type:"comma",value:ye});de.commas++;continue}if(ye===V&&me>0&&de.commas===0){const A=de.nodes;if(me===0||A.length===0){push({type:"text",value:ye});continue}if(pe.type==="dot"){de.range=[];pe.value+=ye;pe.type="range";if(de.nodes.length!==3&&de.nodes.length!==5){de.invalid=true;de.ranges=0;pe.type="text";continue}de.ranges++;de.args=[];continue}if(pe.type==="range"){A.pop();const d=A[A.length-1];d.value+=pe.value+ye;pe=d;de.ranges--;continue}push({type:"dot",value:ye});continue}push({type:"text",value:ye})}do{de=Ae.pop();if(de.type!=="root"){de.nodes.forEach((A=>{if(!A.nodes){if(A.type==="open")A.isOpen=true;if(A.type==="close")A.isClose=true;if(!A.nodes)A.type="text";A.invalid=true}}));const A=Ae[Ae.length-1];const d=A.nodes.indexOf(de);A.nodes.splice(d,1,...de.nodes)}}while(Ae.length>0);push({type:"eos"});return ue};A.exports=parse},8602:(A,d,p)=>{const C=p(67494);A.exports=(A,d={})=>{const stringify=(A,p={})=>{const S=d.escapeInvalid&&C.isInvalidBrace(p);const v=A.invalid===true&&d.escapeInvalid===true;let T="";if(A.value){if((S||v)&&C.isOpenOrClose(A)){return"\\"+A.value}return A.value}if(A.value){return A.value}if(A.nodes){for(const d of A.nodes){T+=stringify(d)}}return T};return stringify(A)}},67494:(A,d)=>{d.isInteger=A=>{if(typeof A==="number"){return Number.isInteger(A)}if(typeof A==="string"&&A.trim()!==""){return Number.isInteger(Number(A))}return false};d.find=(A,d)=>A.nodes.find((A=>A.type===d));d.exceedsLimit=(A,p,C=1,S)=>{if(S===false)return false;if(!d.isInteger(A)||!d.isInteger(p))return false;return(Number(p)-Number(A))/Number(C)>=S};d.escapeNode=(A,d=0,p)=>{const C=A.nodes[d];if(!C)return;if(p&&C.type===p||C.type==="open"||C.type==="close"){if(C.escaped!==true){C.value="\\"+C.value;C.escaped=true}}};d.encloseBrace=A=>{if(A.type!=="brace")return false;if(A.commas>>0+A.ranges>>0===0){A.invalid=true;return true}return false};d.isInvalidBrace=A=>{if(A.type!=="brace")return false;if(A.invalid===true||A.dollar)return true;if(A.commas>>0+A.ranges>>0===0){A.invalid=true;return true}if(A.open!==true||A.close!==true){A.invalid=true;return true}return false};d.isOpenOrClose=A=>{if(A.type==="open"||A.type==="close"){return true}return A.open===true||A.close===true};d.reduce=A=>A.reduce(((A,d)=>{if(d.type==="text")A.push(d.value);if(d.type==="range")d.type="text";return A}),[]);d.flatten=(...A)=>{const d=[];const flat=A=>{for(let p=0;p<A.length;p++){const C=A[p];if(Array.isArray(C)){flat(C);continue}if(C!==undefined){d.push(C)}}return d};flat(A);return d}},66869:A=>{A.exports=Buffers;function Buffers(A){if(!(this instanceof Buffers))return new Buffers(A);this.buffers=A||[];this.length=this.buffers.reduce((function(A,d){return A+d.length}),0)}Buffers.prototype.push=function(){for(var A=0;A<arguments.length;A++){if(!Buffer.isBuffer(arguments[A])){throw new TypeError("Tried to push a non-buffer")}}for(var A=0;A<arguments.length;A++){var d=arguments[A];this.buffers.push(d);this.length+=d.length}return this.length};Buffers.prototype.unshift=function(){for(var A=0;A<arguments.length;A++){if(!Buffer.isBuffer(arguments[A])){throw new TypeError("Tried to unshift a non-buffer")}}for(var A=0;A<arguments.length;A++){var d=arguments[A];this.buffers.unshift(d);this.length+=d.length}return this.length};Buffers.prototype.copy=function(A,d,p,C){return this.slice(p,C).copy(A,d,0,C-p)};Buffers.prototype.splice=function(A,d){var p=this.buffers;var C=A>=0?A:this.length-A;var S=[].slice.call(arguments,2);if(d===undefined){d=this.length-C}else if(d>this.length-C){d=this.length-C}for(var A=0;A<S.length;A++){this.length+=S[A].length}var v=new Buffers;var T=0;var _=0;for(var V=0;V<p.length&&_+p[V].length<C;V++){_+=p[V].length}if(C-_>0){var Z=C-_;if(Z+d<p[V].length){v.push(p[V].slice(Z,Z+d));var ee=p[V];var te=new Buffer(Z);for(var A=0;A<Z;A++){te[A]=ee[A]}var re=new Buffer(ee.length-Z-d);for(var A=Z+d;A<ee.length;A++){re[A-d-Z]=ee[A]}if(S.length>0){var ne=S.slice();ne.unshift(te);ne.push(re);p.splice.apply(p,[V,1].concat(ne));V+=ne.length;S=[]}else{p.splice(V,1,te,re);V+=2}}else{v.push(p[V].slice(Z));p[V]=p[V].slice(0,Z);V++}}if(S.length>0){p.splice.apply(p,[V,0].concat(S));V+=S.length}while(v.length<d){var ie=p[V];var se=ie.length;var oe=Math.min(se,d-v.length);if(oe===se){v.push(ie);p.splice(V,1)}else{v.push(ie.slice(0,oe));p[V]=p[V].slice(oe)}}this.length-=v.length;return v};Buffers.prototype.slice=function(A,d){var p=this.buffers;if(d===undefined)d=this.length;if(A===undefined)A=0;if(d>this.length)d=this.length;var C=0;for(var S=0;S<p.length&&C+p[S].length<=A;S++){C+=p[S].length}var v=new Buffer(d-A);var T=0;for(var _=S;T<d-A&&_<p.length;_++){var V=p[_].length;var Z=T===0?A-C:0;var ee=T+V>=d-A?Math.min(Z+(d-A)-T,V):V;p[_].copy(v,T,Z,ee);T+=ee-Z}return v};Buffers.prototype.pos=function(A){if(A<0||A>=this.length)throw new Error("oob");var d=A,p=0,C=null;for(;;){C=this.buffers[p];if(d<C.length){return{buf:p,offset:d}}else{d-=C.length}p++}};Buffers.prototype.get=function get(A){var d=this.pos(A);return this.buffers[d.buf].get(d.offset)};Buffers.prototype.set=function set(A,d){var p=this.pos(A);return this.buffers[p.buf].set(p.offset,d)};Buffers.prototype.indexOf=function(A,d){if("string"===typeof A){A=new Buffer(A)}else if(A instanceof Buffer){}else{throw new Error("Invalid type for a search string")}if(!A.length){return 0}if(!this.length){return-1}var p=0,C=0,S=0,v,T=0;if(d){var _=this.pos(d);p=_.buf;C=_.offset;T=d}for(;;){while(C>=this.buffers[p].length){C=0;p++;if(p>=this.buffers.length){return-1}}var V=this.buffers[p][C];if(V==A[S]){if(S==0){v={i:p,j:C,pos:T}}S++;if(S==A.length){return v.pos}}else if(S!=0){p=v.i;C=v.j;T=v.pos;S=0}C++;T++}};Buffers.prototype.toBuffer=function(){return this.slice()};Buffers.prototype.toString=function(A,d,p){return this.slice(d,p).toString(A)}},66428:(A,d,p)=>{var C=p(47441);var S=p(24434).EventEmitter;A.exports=Chainsaw;function Chainsaw(A){var d=Chainsaw.saw(A,{});var p=A.call(d.handlers,d);if(p!==undefined)d.handlers=p;d.record();return d.chain()}Chainsaw.light=function ChainsawLight(A){var d=Chainsaw.saw(A,{});var p=A.call(d.handlers,d);if(p!==undefined)d.handlers=p;return d.chain()};Chainsaw.saw=function(A,d){var p=new S;p.handlers=d;p.actions=[];p.chain=function(){var A=C(p.handlers).map((function(d){if(this.isRoot)return d;var C=this.path;if(typeof d==="function"){this.update((function(){p.actions.push({path:C,args:[].slice.call(arguments)});return A}))}}));process.nextTick((function(){p.emit("begin");p.next()}));return A};p.pop=function(){return p.actions.shift()};p.next=function(){var A=p.pop();if(!A){p.emit("end")}else if(!A.trap){var d=p.handlers;A.path.forEach((function(A){d=d[A]}));d.apply(p.handlers,A.args)}};p.nest=function(d){var C=[].slice.call(arguments,1);var S=true;if(typeof d==="boolean"){var S=d;d=C.shift()}var v=Chainsaw.saw(A,{});var T=A.call(v.handlers,v);if(T!==undefined)v.handlers=T;if("undefined"!==typeof p.step){v.record()}d.apply(v.chain(),C);if(S!==false)v.on("end",p.next)};p.record=function(){upgradeChainsaw(p)};["trap","down","jump"].forEach((function(A){p[A]=function(){throw new Error("To use the trap, down and jump features, please "+"call record() first to start recording actions.")}}));return p};function upgradeChainsaw(A){A.step=0;A.pop=function(){return A.actions[A.step++]};A.trap=function(d,p){var C=Array.isArray(d)?d:[d];A.actions.push({path:C,step:A.step,cb:p,trap:true})};A.down=function(d){var p=(Array.isArray(d)?d:[d]).join("/");var C=A.actions.slice(A.step).map((function(d){if(d.trap&&d.step<=A.step)return false;return d.path.join("/")==p})).indexOf(true);if(C>=0)A.step+=C;else A.step=A.actions.length;var S=A.actions[A.step-1];if(S&&S.trap){A.step=S.step;S.cb()}else A.next()};A.jump=function(d){A.step=d;A.next()}}},83998:A=>{var d=A.exports=function(){};d.prototype.getName=function(){};d.prototype.getSize=function(){};d.prototype.getLastModifiedDate=function(){};d.prototype.isDirectory=function(){}},90586:(A,d,p)=>{var C=p(39023).inherits;var S=p(82198);var v=p(48924).Transform;var T=p(83998);var _=p(53636);var V=A.exports=function(A){if(!(this instanceof V)){return new V(A)}v.call(this,A);this.offset=0;this._archive={finish:false,finished:false,processing:false}};C(V,v);V.prototype._appendBuffer=function(A,d,p){};V.prototype._appendStream=function(A,d,p){};V.prototype._emitErrorCallback=function(A){if(A){this.emit("error",A)}};V.prototype._finish=function(A){};V.prototype._normalizeEntry=function(A){};V.prototype._transform=function(A,d,p){p(null,A)};V.prototype.entry=function(A,d,p){d=d||null;if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}if(!(A instanceof T)){p(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){p(new Error("unacceptable entry after finish"));return}if(this._archive.processing){p(new Error("already processing an entry"));return}this._archive.processing=true;this._normalizeEntry(A);this._entry=A;d=_.normalizeInputSource(d);if(Buffer.isBuffer(d)){this._appendBuffer(A,d,p)}else if(S(d)){this._appendStream(A,d,p)}else{this._archive.processing=false;p(new Error("input source must be valid Stream or Buffer instance"));return}return this};V.prototype.finish=function(){if(this._archive.processing){this._archive.finish=true;return}this._finish()};V.prototype.getBytesWritten=function(){return this.offset};V.prototype.write=function(A,d){if(A){this.offset+=A.length}return v.prototype.write.call(this,A,d)}},84964:A=>{A.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}},73368:(A,d,p)=>{var C=p(59229);var S=1<<3;var v=1<<0;var T=1<<2;var _=1<<1;var V=1<<6;var Z=1<<11;var ee=A.exports=function(){if(!(this instanceof ee)){return new ee}this.descriptor=false;this.encryption=false;this.utf8=false;this.numberOfShannonFanoTrees=0;this.strongEncryption=false;this.slidingDictionarySize=0;return this};ee.prototype.encode=function(){return C.getShortBytes((this.descriptor?S:0)|(this.utf8?Z:0)|(this.encryption?v:0)|(this.strongEncryption?V:0))};ee.prototype.parse=function(A,d){var p=C.getShortBytesValue(A,d);var te=new ee;te.useDataDescriptor((p&S)!==0);te.useUTF8ForNames((p&Z)!==0);te.useStrongEncryption((p&V)!==0);te.useEncryption((p&v)!==0);te.setSlidingDictionarySize((p&_)!==0?8192:4096);te.setNumberOfShannonFanoTrees((p&T)!==0?3:2);return te};ee.prototype.setNumberOfShannonFanoTrees=function(A){this.numberOfShannonFanoTrees=A};ee.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};ee.prototype.setSlidingDictionarySize=function(A){this.slidingDictionarySize=A};ee.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};ee.prototype.useDataDescriptor=function(A){this.descriptor=A};ee.prototype.usesDataDescriptor=function(){return this.descriptor};ee.prototype.useEncryption=function(A){this.encryption=A};ee.prototype.usesEncryption=function(){return this.encryption};ee.prototype.useStrongEncryption=function(A){this.strongEncryption=A};ee.prototype.usesStrongEncryption=function(){return this.strongEncryption};ee.prototype.useUTF8ForNames=function(A){this.utf8=A};ee.prototype.usesUTF8ForNames=function(){return this.utf8}},64666:A=>{A.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}},59229:A=>{var d=A.exports={};d.dateToDos=function(A,d){d=d||false;var p=d?A.getFullYear():A.getUTCFullYear();if(p<1980){return 2162688}else if(p>=2044){return 2141175677}var C={year:p,month:d?A.getMonth():A.getUTCMonth(),date:d?A.getDate():A.getUTCDate(),hours:d?A.getHours():A.getUTCHours(),minutes:d?A.getMinutes():A.getUTCMinutes(),seconds:d?A.getSeconds():A.getUTCSeconds()};return C.year-1980<<25|C.month+1<<21|C.date<<16|C.hours<<11|C.minutes<<5|C.seconds/2};d.dosToDate=function(A){return new Date((A>>25&127)+1980,(A>>21&15)-1,A>>16&31,A>>11&31,A>>5&63,(A&31)<<1)};d.fromDosTime=function(A){return d.dosToDate(A.readUInt32LE(0))};d.getEightBytes=function(A){var d=Buffer.alloc(8);d.writeUInt32LE(A%4294967296,0);d.writeUInt32LE(A/4294967296|0,4);return d};d.getShortBytes=function(A){var d=Buffer.alloc(2);d.writeUInt16LE((A&65535)>>>0,0);return d};d.getShortBytesValue=function(A,d){return A.readUInt16LE(d)};d.getLongBytes=function(A){var d=Buffer.alloc(4);d.writeUInt32LE((A&4294967295)>>>0,0);return d};d.getLongBytesValue=function(A,d){return A.readUInt32LE(d)};d.toDosTime=function(A){return d.getLongBytes(d.dateToDos(A))}},84220:(A,d,p)=>{var C=p(39023).inherits;var S=p(52398);var v=p(83998);var T=p(73368);var _=p(64666);var V=p(84964);var Z=p(59229);var ee=A.exports=function(A){if(!(this instanceof ee)){return new ee(A)}v.call(this);this.platform=V.PLATFORM_FAT;this.method=-1;this.name=null;this.size=0;this.csize=0;this.gpb=new T;this.crc=0;this.time=-1;this.minver=V.MIN_VERSION_INITIAL;this.mode=-1;this.extra=null;this.exattr=0;this.inattr=0;this.comment=null;if(A){this.setName(A)}};C(ee,v);ee.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};ee.prototype.getComment=function(){return this.comment!==null?this.comment:""};ee.prototype.getCompressedSize=function(){return this.csize};ee.prototype.getCrc=function(){return this.crc};ee.prototype.getExternalAttributes=function(){return this.exattr};ee.prototype.getExtra=function(){return this.extra!==null?this.extra:V.EMPTY};ee.prototype.getGeneralPurposeBit=function(){return this.gpb};ee.prototype.getInternalAttributes=function(){return this.inattr};ee.prototype.getLastModifiedDate=function(){return this.getTime()};ee.prototype.getLocalFileDataExtra=function(){return this.getExtra()};ee.prototype.getMethod=function(){return this.method};ee.prototype.getName=function(){return this.name};ee.prototype.getPlatform=function(){return this.platform};ee.prototype.getSize=function(){return this.size};ee.prototype.getTime=function(){return this.time!==-1?Z.dosToDate(this.time):-1};ee.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};ee.prototype.getUnixMode=function(){return this.platform!==V.PLATFORM_UNIX?0:this.getExternalAttributes()>>V.SHORT_SHIFT&V.SHORT_MASK};ee.prototype.getVersionNeededToExtract=function(){return this.minver};ee.prototype.setComment=function(A){if(Buffer.byteLength(A)!==A.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.comment=A};ee.prototype.setCompressedSize=function(A){if(A<0){throw new Error("invalid entry compressed size")}this.csize=A};ee.prototype.setCrc=function(A){if(A<0){throw new Error("invalid entry crc32")}this.crc=A};ee.prototype.setExternalAttributes=function(A){this.exattr=A>>>0};ee.prototype.setExtra=function(A){this.extra=A};ee.prototype.setGeneralPurposeBit=function(A){if(!(A instanceof T)){throw new Error("invalid entry GeneralPurposeBit")}this.gpb=A};ee.prototype.setInternalAttributes=function(A){this.inattr=A};ee.prototype.setMethod=function(A){if(A<0){throw new Error("invalid entry compression method")}this.method=A};ee.prototype.setName=function(A,d=false){A=S(A,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"");if(d){A=`/${A}`}if(Buffer.byteLength(A)!==A.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.name=A};ee.prototype.setPlatform=function(A){this.platform=A};ee.prototype.setSize=function(A){if(A<0){throw new Error("invalid entry size")}this.size=A};ee.prototype.setTime=function(A,d){if(!(A instanceof Date)){throw new Error("invalid entry time")}this.time=Z.dateToDos(A,d)};ee.prototype.setUnixMode=function(A){A|=this.isDirectory()?V.S_IFDIR:V.S_IFREG;var d=0;d|=A<<V.SHORT_SHIFT|(this.isDirectory()?V.S_DOS_D:V.S_DOS_A);this.setExternalAttributes(d);this.mode=A&V.MODE_MASK;this.platform=V.PLATFORM_UNIX};ee.prototype.setVersionNeededToExtract=function(A){this.minver=A};ee.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};ee.prototype.isUnixSymlink=function(){return(this.getUnixMode()&_.FILE_TYPE_FLAG)===_.LINK_FLAG};ee.prototype.isZip64=function(){return this.csize>V.ZIP64_MAGIC||this.size>V.ZIP64_MAGIC}},24956:(A,d,p)=>{var C=p(39023).inherits;var S=p(62095);var{CRC32Stream:v}=p(62305);var{DeflateCRC32Stream:T}=p(62305);var _=p(90586);var V=p(84220);var Z=p(73368);var ee=p(84964);var te=p(53636);var re=p(59229);var ne=A.exports=function(A){if(!(this instanceof ne)){return new ne(A)}A=this.options=this._defaults(A);_.call(this,A);this._entry=null;this._entries=[];this._archive={centralLength:0,centralOffset:0,comment:"",finish:false,finished:false,processing:false,forceZip64:A.forceZip64,forceLocalTime:A.forceLocalTime}};C(ne,_);ne.prototype._afterAppend=function(A){this._entries.push(A);if(A.getGeneralPurposeBit().usesDataDescriptor()){this._writeDataDescriptor(A)}this._archive.processing=false;this._entry=null;if(this._archive.finish&&!this._archive.finished){this._finish()}};ne.prototype._appendBuffer=function(A,d,p){if(d.length===0){A.setMethod(ee.METHOD_STORED)}var C=A.getMethod();if(C===ee.METHOD_STORED){A.setSize(d.length);A.setCompressedSize(d.length);A.setCrc(S.buf(d)>>>0)}this._writeLocalFileHeader(A);if(C===ee.METHOD_STORED){this.write(d);this._afterAppend(A);p(null,A);return}else if(C===ee.METHOD_DEFLATED){this._smartStream(A,p).end(d);return}else{p(new Error("compression method "+C+" not implemented"));return}};ne.prototype._appendStream=function(A,d,p){A.getGeneralPurposeBit().useDataDescriptor(true);A.setVersionNeededToExtract(ee.MIN_VERSION_DATA_DESCRIPTOR);this._writeLocalFileHeader(A);var C=this._smartStream(A,p);d.once("error",(function(A){C.emit("error",A);C.end()}));d.pipe(C)};ne.prototype._defaults=function(A){if(typeof A!=="object"){A={}}if(typeof A.zlib!=="object"){A.zlib={}}if(typeof A.zlib.level!=="number"){A.zlib.level=ee.ZLIB_BEST_SPEED}A.forceZip64=!!A.forceZip64;A.forceLocalTime=!!A.forceLocalTime;return A};ne.prototype._finish=function(){this._archive.centralOffset=this.offset;this._entries.forEach(function(A){this._writeCentralFileHeader(A)}.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()};ne.prototype._normalizeEntry=function(A){if(A.getMethod()===-1){A.setMethod(ee.METHOD_DEFLATED)}if(A.getMethod()===ee.METHOD_DEFLATED){A.getGeneralPurposeBit().useDataDescriptor(true);A.setVersionNeededToExtract(ee.MIN_VERSION_DATA_DESCRIPTOR)}if(A.getTime()===-1){A.setTime(new Date,this._archive.forceLocalTime)}A._offsets={file:0,data:0,contents:0}};ne.prototype._smartStream=function(A,d){var p=A.getMethod()===ee.METHOD_DEFLATED;var C=p?new T(this.options.zlib):new v;var S=null;function handleStuff(){var p=C.digest().readUInt32BE(0);A.setCrc(p);A.setSize(C.size());A.setCompressedSize(C.size(true));this._afterAppend(A);d(S,A)}C.once("end",handleStuff.bind(this));C.once("error",(function(A){S=A}));C.pipe(this,{end:false});return C};ne.prototype._writeCentralDirectoryEnd=function(){var A=this._entries.length;var d=this._archive.centralLength;var p=this._archive.centralOffset;if(this.isZip64()){A=ee.ZIP64_MAGIC_SHORT;d=ee.ZIP64_MAGIC;p=ee.ZIP64_MAGIC}this.write(re.getLongBytes(ee.SIG_EOCD));this.write(ee.SHORT_ZERO);this.write(ee.SHORT_ZERO);this.write(re.getShortBytes(A));this.write(re.getShortBytes(A));this.write(re.getLongBytes(d));this.write(re.getLongBytes(p));var C=this.getComment();var S=Buffer.byteLength(C);this.write(re.getShortBytes(S));this.write(C)};ne.prototype._writeCentralDirectoryZip64=function(){this.write(re.getLongBytes(ee.SIG_ZIP64_EOCD));this.write(re.getEightBytes(44));this.write(re.getShortBytes(ee.MIN_VERSION_ZIP64));this.write(re.getShortBytes(ee.MIN_VERSION_ZIP64));this.write(ee.LONG_ZERO);this.write(ee.LONG_ZERO);this.write(re.getEightBytes(this._entries.length));this.write(re.getEightBytes(this._entries.length));this.write(re.getEightBytes(this._archive.centralLength));this.write(re.getEightBytes(this._archive.centralOffset));this.write(re.getLongBytes(ee.SIG_ZIP64_EOCD_LOC));this.write(ee.LONG_ZERO);this.write(re.getEightBytes(this._archive.centralOffset+this._archive.centralLength));this.write(re.getLongBytes(1))};ne.prototype._writeCentralFileHeader=function(A){var d=A.getGeneralPurposeBit();var p=A.getMethod();var C=A._offsets.file;var S=A.getSize();var v=A.getCompressedSize();if(A.isZip64()||C>ee.ZIP64_MAGIC){S=ee.ZIP64_MAGIC;v=ee.ZIP64_MAGIC;C=ee.ZIP64_MAGIC;A.setVersionNeededToExtract(ee.MIN_VERSION_ZIP64);var T=Buffer.concat([re.getShortBytes(ee.ZIP64_EXTRA_ID),re.getShortBytes(24),re.getEightBytes(A.getSize()),re.getEightBytes(A.getCompressedSize()),re.getEightBytes(A._offsets.file)],28);A.setExtra(T)}this.write(re.getLongBytes(ee.SIG_CFH));this.write(re.getShortBytes(A.getPlatform()<<8|ee.VERSION_MADEBY));this.write(re.getShortBytes(A.getVersionNeededToExtract()));this.write(d.encode());this.write(re.getShortBytes(p));this.write(re.getLongBytes(A.getTimeDos()));this.write(re.getLongBytes(A.getCrc()));this.write(re.getLongBytes(v));this.write(re.getLongBytes(S));var _=A.getName();var V=A.getComment();var Z=A.getCentralDirectoryExtra();if(d.usesUTF8ForNames()){_=Buffer.from(_);V=Buffer.from(V)}this.write(re.getShortBytes(_.length));this.write(re.getShortBytes(Z.length));this.write(re.getShortBytes(V.length));this.write(ee.SHORT_ZERO);this.write(re.getShortBytes(A.getInternalAttributes()));this.write(re.getLongBytes(A.getExternalAttributes()));this.write(re.getLongBytes(C));this.write(_);this.write(Z);this.write(V)};ne.prototype._writeDataDescriptor=function(A){this.write(re.getLongBytes(ee.SIG_DD));this.write(re.getLongBytes(A.getCrc()));if(A.isZip64()){this.write(re.getEightBytes(A.getCompressedSize()));this.write(re.getEightBytes(A.getSize()))}else{this.write(re.getLongBytes(A.getCompressedSize()));this.write(re.getLongBytes(A.getSize()))}};ne.prototype._writeLocalFileHeader=function(A){var d=A.getGeneralPurposeBit();var p=A.getMethod();var C=A.getName();var S=A.getLocalFileDataExtra();if(A.isZip64()){d.useDataDescriptor(true);A.setVersionNeededToExtract(ee.MIN_VERSION_ZIP64)}if(d.usesUTF8ForNames()){C=Buffer.from(C)}A._offsets.file=this.offset;this.write(re.getLongBytes(ee.SIG_LFH));this.write(re.getShortBytes(A.getVersionNeededToExtract()));this.write(d.encode());this.write(re.getShortBytes(p));this.write(re.getLongBytes(A.getTimeDos()));A._offsets.data=this.offset;if(d.usesDataDescriptor()){this.write(ee.LONG_ZERO);this.write(ee.LONG_ZERO);this.write(ee.LONG_ZERO)}else{this.write(re.getLongBytes(A.getCrc()));this.write(re.getLongBytes(A.getCompressedSize()));this.write(re.getLongBytes(A.getSize()))}this.write(re.getShortBytes(C.length));this.write(re.getShortBytes(S.length));this.write(C);this.write(S);A._offsets.contents=this.offset};ne.prototype.getComment=function(A){return this._archive.comment!==null?this._archive.comment:""};ne.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>ee.ZIP64_MAGIC_SHORT||this._archive.centralLength>ee.ZIP64_MAGIC||this._archive.centralOffset>ee.ZIP64_MAGIC};ne.prototype.setComment=function(A){this._archive.comment=A}},93920:(A,d,p)=>{A.exports={ArchiveEntry:p(83998),ZipArchiveEntry:p(84220),ArchiveOutputStream:p(90586),ZipArchiveOutputStream:p(24956)}},53636:(A,d,p)=>{var C=p(2203).Stream;var S=p(48924).PassThrough;var v=p(82198);var T=A.exports={};T.normalizeInputSource=function(A){if(A===null){return Buffer.alloc(0)}else if(typeof A==="string"){return Buffer.from(A)}else if(v(A)&&!A._readableState){var d=new S;A.pipe(d);return d}return A}},22465:(A,d,p)=>{function isArray(A){if(Array.isArray){return Array.isArray(A)}return objectToString(A)==="[object Array]"}d.isArray=isArray;function isBoolean(A){return typeof A==="boolean"}d.isBoolean=isBoolean;function isNull(A){return A===null}d.isNull=isNull;function isNullOrUndefined(A){return A==null}d.isNullOrUndefined=isNullOrUndefined;function isNumber(A){return typeof A==="number"}d.isNumber=isNumber;function isString(A){return typeof A==="string"}d.isString=isString;function isSymbol(A){return typeof A==="symbol"}d.isSymbol=isSymbol;function isUndefined(A){return A===void 0}d.isUndefined=isUndefined;function isRegExp(A){return objectToString(A)==="[object RegExp]"}d.isRegExp=isRegExp;function isObject(A){return typeof A==="object"&&A!==null}d.isObject=isObject;function isDate(A){return objectToString(A)==="[object Date]"}d.isDate=isDate;function isError(A){return objectToString(A)==="[object Error]"||A instanceof Error}d.isError=isError;function isFunction(A){return typeof A==="function"}d.isFunction=isFunction;function isPrimitive(A){return A===null||typeof A==="boolean"||typeof A==="number"||typeof A==="string"||typeof A==="symbol"||typeof A==="undefined"}d.isPrimitive=isPrimitive;d.isBuffer=p(20181).Buffer.isBuffer;function objectToString(A){return Object.prototype.toString.call(A)}},62095:(A,d)=>{
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
var p;(function(A){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){A(d)}else{}}else{A(p={})}})((function(A){A.version="1.2.2";function signed_crc_table(){var A=0,d=new Array(256);for(var p=0;p!=256;++p){A=p;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;A=A&1?-306674912^A>>>1:A>>>1;d[p]=A}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(A){var d=0,p=0,C=0,S=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(C=0;C!=256;++C)S[C]=A[C];for(C=0;C!=256;++C){p=A[C];for(d=256+C;d<4096;d+=256)p=S[d]=p>>>8^A[p&255]}var v=[];for(C=1;C!=16;++C)v[C-1]=typeof Int32Array!=="undefined"?S.subarray(C*256,C*256+256):S.slice(C*256,C*256+256);return v}var p=slice_by_16_tables(d);var C=p[0],S=p[1],v=p[2],T=p[3],_=p[4];var V=p[5],Z=p[6],ee=p[7],te=p[8],re=p[9];var ne=p[10],ie=p[11],se=p[12],oe=p[13],ae=p[14];function crc32_bstr(A,p){var C=p^-1;for(var S=0,v=A.length;S<v;)C=C>>>8^d[(C^A.charCodeAt(S++))&255];return~C}function crc32_buf(A,p){var le=p^-1,ce=A.length-15,ue=0;for(;ue<ce;)le=ae[A[ue++]^le&255]^oe[A[ue++]^le>>8&255]^se[A[ue++]^le>>16&255]^ie[A[ue++]^le>>>24]^ne[A[ue++]]^re[A[ue++]]^te[A[ue++]]^ee[A[ue++]]^Z[A[ue++]]^V[A[ue++]]^_[A[ue++]]^T[A[ue++]]^v[A[ue++]]^S[A[ue++]]^C[A[ue++]]^d[A[ue++]];ce+=15;while(ue<ce)le=le>>>8^d[(le^A[ue++])&255];return~le}function crc32_str(A,p){var C=p^-1;for(var S=0,v=A.length,T=0,_=0;S<v;){T=A.charCodeAt(S++);if(T<128){C=C>>>8^d[(C^T)&255]}else if(T<2048){C=C>>>8^d[(C^(192|T>>6&31))&255];C=C>>>8^d[(C^(128|T&63))&255]}else if(T>=55296&&T<57344){T=(T&1023)+64;_=A.charCodeAt(S++)&1023;C=C>>>8^d[(C^(240|T>>8&7))&255];C=C>>>8^d[(C^(128|T>>2&63))&255];C=C>>>8^d[(C^(128|_>>6&15|(T&3)<<4))&255];C=C>>>8^d[(C^(128|_&63))&255]}else{C=C>>>8^d[(C^(224|T>>12&15))&255];C=C>>>8^d[(C^(128|T>>6&63))&255];C=C>>>8^d[(C^(128|T&63))&255]}}return~C}A.table=d;A.bstr=crc32_bstr;A.buf=crc32_buf;A.str=crc32_str}))},17395:(A,d,p)=>{const{Transform:C}=p(48924);const S=p(62095);class CRC32Stream extends C{constructor(A){super(A);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(A,d,p){if(A){this.checksum=S.buf(A,this.checksum)>>>0;this.rawSize+=A.length}p(null,A)}digest(A){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return A?d.toString(A):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}A.exports=CRC32Stream},12097:(A,d,p)=>{const{DeflateRaw:C}=p(43106);const S=p(62095);class DeflateCRC32Stream extends C{constructor(A){super(A);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(A,d){if(A){this.compressedSize+=A.length}return super.push(A,d)}_transform(A,d,p){if(A){this.checksum=S.buf(A,this.checksum)>>>0;this.rawSize+=A.length}super._transform(A,d,p)}digest(A){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return A?d.toString(A):d}hex(){return this.digest("hex").toUpperCase()}size(A=false){if(A){return this.compressedSize}else{return this.rawSize}}}A.exports=DeflateCRC32Stream},62305:(A,d,p)=>{A.exports={CRC32Stream:p(17395),DeflateCRC32Stream:p(12097)}},76186:(A,d,p)=>{const C=p(35317);const S=p(70605);const v=p(7341);function spawn(A,d,p){const T=S(A,d,p);const _=C.spawn(T.command,T.args,T.options);v.hookChildProcess(_,T);return _}function spawnSync(A,d,p){const T=S(A,d,p);const _=C.spawnSync(T.command,T.args,T.options);_.error=_.error||v.verifyENOENTSync(_.status,T);return _}A.exports=spawn;A.exports.spawn=spawn;A.exports.sync=spawnSync;A.exports._parse=S;A.exports._enoent=v},7341:A=>{const d=process.platform==="win32";function notFoundError(A,d){return Object.assign(new Error(`${d} ${A.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${d} ${A.command}`,path:A.command,spawnargs:A.args})}function hookChildProcess(A,p){if(!d){return}const C=A.emit;A.emit=function(d,S){if(d==="exit"){const d=verifyENOENT(S,p);if(d){return C.call(A,"error",d)}}return C.apply(A,arguments)}}function verifyENOENT(A,p){if(d&&A===1&&!p.file){return notFoundError(p.original,"spawn")}return null}function verifyENOENTSync(A,p){if(d&&A===1&&!p.file){return notFoundError(p.original,"spawnSync")}return null}A.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},70605:(A,d,p)=>{const C=p(16928);const S=p(83530);const v=p(58780);const T=p(20735);const _=process.platform==="win32";const V=/\.(?:com|exe)$/i;const Z=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(A){A.file=S(A);const d=A.file&&T(A.file);if(d){A.args.unshift(A.file);A.command=d;return S(A)}return A.file}function parseNonShell(A){if(!_){return A}const d=detectShebang(A);const p=!V.test(d);if(A.options.forceShell||p){const p=Z.test(d);A.command=C.normalize(A.command);A.command=v.command(A.command);A.args=A.args.map((A=>v.argument(A,p)));const S=[A.command].concat(A.args).join(" ");A.args=["/d","/s","/c",`"${S}"`];A.command=process.env.comspec||"cmd.exe";A.options.windowsVerbatimArguments=true}return A}function parse(A,d,p){if(d&&!Array.isArray(d)){p=d;d=null}d=d?d.slice(0):[];p=Object.assign({},p);const C={command:A,args:d,options:p,file:undefined,original:{command:A,args:d}};return p.shell?C:parseNonShell(C)}A.exports=parse},58780:A=>{const d=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(A){A=A.replace(d,"^$1");return A}function escapeArgument(A,p){A=`${A}`;A=A.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"');A=A.replace(/(?=(\\+?)?)\1$/,"$1$1");A=`"${A}"`;A=A.replace(d,"^$1");if(p){A=A.replace(d,"^$1")}return A}A.exports.command=escapeCommand;A.exports.argument=escapeArgument},20735:(A,d,p)=>{const C=p(79896);const S=p(64205);function readShebang(A){const d=150;const p=Buffer.alloc(d);let v;try{v=C.openSync(A,"r");C.readSync(v,p,0,d,0);C.closeSync(v)}catch(A){}return S(p.toString())}A.exports=readShebang},83530:(A,d,p)=>{const C=p(16928);const S=p(31828);const v=p(2386);function resolveCommandAttempt(A,d){const p=A.options.env||process.env;const T=process.cwd();const _=A.options.cwd!=null;const V=_&&process.chdir!==undefined&&!process.chdir.disabled;if(V){try{process.chdir(A.options.cwd)}catch(A){}}let Z;try{Z=S.sync(A.command,{path:p[v({env:p})],pathExt:d?C.delimiter:undefined})}catch(A){}finally{if(V){process.chdir(T)}}if(Z){Z=C.resolve(_?A.options.cwd:"",Z)}return Z}function resolveCommand(A){return resolveCommandAttempt(A)||resolveCommandAttempt(A,true)}A.exports=resolveCommand},57451:(A,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{let A=false;return()=>{if(!A){A=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`.")}}})();d.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 A;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&&(A=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(A[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(d){d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+A.exports.humanize(this.diff);if(!this.useColors){return}const p="color: "+this.color;d.splice(1,0,p,"color: inherit");let C=0;let S=0;d[0].replace(/%[a-zA-Z%]/g,(A=>{if(A==="%%"){return}C++;if(A==="%c"){S=C}}));d.splice(S,0,p)}d.log=console.debug||console.log||(()=>{});function save(A){try{if(A){d.storage.setItem("debug",A)}else{d.storage.removeItem("debug")}}catch(A){}}function load(){let A;try{A=d.storage.getItem("debug")||d.storage.getItem("DEBUG")}catch(A){}if(!A&&typeof process!=="undefined"&&"env"in process){A=process.env.DEBUG}return A}function localstorage(){try{return localStorage}catch(A){}}A.exports=p(63350)(d);const{formatters:C}=A.exports;C.j=function(A){try{return JSON.stringify(A)}catch(A){return"[UnexpectedJSONParseError]: "+A.message}}},63350:(A,d,p)=>{function setup(A){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=p(26647);createDebug.destroy=destroy;Object.keys(A).forEach((d=>{createDebug[d]=A[d]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(A){let d=0;for(let p=0;p<A.length;p++){d=(d<<5)-d+A.charCodeAt(p);d|=0}return createDebug.colors[Math.abs(d)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(A){let d;let p=null;let C;let S;function debug(...A){if(!debug.enabled){return}const p=debug;const C=Number(new Date);const S=C-(d||C);p.diff=S;p.prev=d;p.curr=C;d=C;A[0]=createDebug.coerce(A[0]);if(typeof A[0]!=="string"){A.unshift("%O")}let v=0;A[0]=A[0].replace(/%([a-zA-Z%])/g,((d,C)=>{if(d==="%%"){return"%"}v++;const S=createDebug.formatters[C];if(typeof S==="function"){const C=A[v];d=S.call(p,C);A.splice(v,1);v--}return d}));createDebug.formatArgs.call(p,A);const T=p.log||createDebug.log;T.apply(p,A)}debug.namespace=A;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(A);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(p!==null){return p}if(C!==createDebug.namespaces){C=createDebug.namespaces;S=createDebug.enabled(A)}return S},set:A=>{p=A}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(A,d){const p=createDebug(this.namespace+(typeof d==="undefined"?":":d)+A);p.log=this.log;return p}function enable(A){createDebug.save(A);createDebug.namespaces=A;createDebug.names=[];createDebug.skips=[];const d=(typeof A==="string"?A:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const A of d){if(A[0]==="-"){createDebug.skips.push(A.slice(1))}else{createDebug.names.push(A)}}}function matchesTemplate(A,d){let p=0;let C=0;let S=-1;let v=0;while(p<A.length){if(C<d.length&&(d[C]===A[p]||d[C]==="*")){if(d[C]==="*"){S=C;v=p;C++}else{p++;C++}}else if(S!==-1){C=S+1;v++;p=v}else{return false}}while(C<d.length&&d[C]==="*"){C++}return C===d.length}function disable(){const A=[...createDebug.names,...createDebug.skips.map((A=>"-"+A))].join(",");createDebug.enable("");return A}function enabled(A){for(const d of createDebug.skips){if(matchesTemplate(A,d)){return false}}for(const d of createDebug.names){if(matchesTemplate(A,d)){return true}}return false}function coerce(A){if(A instanceof Error){return A.stack||A.message}return A}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}A.exports=setup},18263:(A,d,p)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){A.exports=p(57451)}else{A.exports=p(76423)}},76423:(A,d,p)=>{const C=p(52018);const S=p(39023);d.init=init;d.log=log;d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.destroy=S.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");d.colors=[6,2,3,4,5,1];try{const A=p(56708);if(A&&(A.stderr||A).level>=2){d.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(A){}d.inspectOpts=Object.keys(process.env).filter((A=>/^debug_/i.test(A))).reduce(((A,d)=>{const p=d.substring(6).toLowerCase().replace(/_([a-z])/g,((A,d)=>d.toUpperCase()));let C=process.env[d];if(/^(yes|on|true|enabled)$/i.test(C)){C=true}else if(/^(no|off|false|disabled)$/i.test(C)){C=false}else if(C==="null"){C=null}else{C=Number(C)}A[p]=C;return A}),{});function useColors(){return"colors"in d.inspectOpts?Boolean(d.inspectOpts.colors):C.isatty(process.stderr.fd)}function formatArgs(d){const{namespace:p,useColors:C}=this;if(C){const C=this.color;const S="[3"+(C<8?C:"8;5;"+C);const v=` ${S};1m${p} `;d[0]=v+d[0].split("\n").join("\n"+v);d.push(S+"m+"+A.exports.humanize(this.diff)+"")}else{d[0]=getDate()+p+" "+d[0]}}function getDate(){if(d.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...A){return process.stderr.write(S.formatWithOptions(d.inspectOpts,...A)+"\n")}function save(A){if(A){process.env.DEBUG=A}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(A){A.inspectOpts={};const p=Object.keys(d.inspectOpts);for(let C=0;C<p.length;C++){A.inspectOpts[p[C]]=d.inspectOpts[p[C]]}}A.exports=p(63350)(d);const{formatters:v}=A.exports;v.o=function(A){this.inspectOpts.colors=this.useColors;return S.inspect(A,this.inspectOpts).split("\n").map((A=>A.trim())).join(" ")};v.O=function(A){this.inspectOpts.colors=this.useColors;return S.inspect(A,this.inspectOpts)}},54071:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});class Deprecation extends Error{constructor(A){super(A);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}d.Deprecation=Deprecation},9876:(A,d)=>{
/**
* @author Toru Nagashima <https://github.com/mysticatea>
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/
Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const C=new WeakMap;function pd(A){const d=p.get(A);console.assert(d!=null,"'this' is expected an Event object, but got",A);return d}function setCancelFlag(A){if(A.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",A.passiveListener)}return}if(!A.event.cancelable){return}A.canceled=true;if(typeof A.event.preventDefault==="function"){A.event.preventDefault()}}function Event(A,d){p.set(this,{eventTarget:A,event:d,eventPhase:2,currentTarget:A,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const C=Object.keys(d);for(let A=0;A<C.length;++A){const d=C[A];if(!(d in this)){Object.defineProperty(this,d,defineRedirectDescriptor(d))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const A=pd(this).currentTarget;if(A==null){return[]}return[A]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return pd(this).eventPhase},stopPropagation(){const A=pd(this);A.stopped=true;if(typeof A.event.stopPropagation==="function"){A.event.stopPropagation()}},stopImmediatePropagation(){const A=pd(this);A.stopped=true;A.immediateStopped=true;if(typeof A.event.stopImmediatePropagation==="function"){A.event.stopImmediatePropagation()}},get bubbles(){return Boolean(pd(this).event.bubbles)},get cancelable(){return Boolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},get defaultPrevented(){return pd(this).canceled},get composed(){return Boolean(pd(this).event.composed)},get timeStamp(){return pd(this).timeStamp},get srcElement(){return pd(this).eventTarget},get cancelBubble(){return pd(this).stopped},set cancelBubble(A){if(!A){return}const d=pd(this);d.stopped=true;if(typeof d.event.cancelBubble==="boolean"){d.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(A){if(!A){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);C.set(window.Event.prototype,Event)}function defineRedirectDescriptor(A){return{get(){return pd(this).event[A]},set(d){pd(this).event[A]=d},configurable:true,enumerable:true}}function defineCallDescriptor(A){return{value(){const d=pd(this).event;return d[A].apply(d,arguments)},configurable:true,enumerable:true}}function defineWrapper(A,d){const p=Object.keys(d);if(p.length===0){return A}function CustomEvent(d,p){A.call(this,d,p)}CustomEvent.prototype=Object.create(A.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let C=0;C<p.length;++C){const S=p[C];if(!(S in A.prototype)){const A=Object.getOwnPropertyDescriptor(d,S);const p=typeof A.value==="function";Object.defineProperty(CustomEvent.prototype,S,p?defineCallDescriptor(S):defineRedirectDescriptor(S))}}return CustomEvent}function getWrapper(A){if(A==null||A===Object.prototype){return Event}let d=C.get(A);if(d==null){d=defineWrapper(getWrapper(Object.getPrototypeOf(A)),A);C.set(A,d)}return d}function wrapEvent(A,d){const p=getWrapper(Object.getPrototypeOf(d));return new p(A,d)}function isStopped(A){return pd(A).immediateStopped}function setEventPhase(A,d){pd(A).eventPhase=d}function setCurrentTarget(A,d){pd(A).currentTarget=d}function setPassiveListener(A,d){pd(A).passiveListener=d}const S=new WeakMap;const v=1;const T=2;const _=3;function isObject(A){return A!==null&&typeof A==="object"}function getListeners(A){const d=S.get(A);if(d==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return d}function defineEventAttributeDescriptor(A){return{get(){const d=getListeners(this);let p=d.get(A);while(p!=null){if(p.listenerType===_){return p.listener}p=p.next}return null},set(d){if(typeof d!=="function"&&!isObject(d)){d=null}const p=getListeners(this);let C=null;let S=p.get(A);while(S!=null){if(S.listenerType===_){if(C!==null){C.next=S.next}else if(S.next!==null){p.set(A,S.next)}else{p.delete(A)}}else{C=S}S=S.next}if(d!==null){const S={listener:d,listenerType:_,passive:false,once:false,next:null};if(C===null){p.set(A,S)}else{C.next=S}}},configurable:true,enumerable:true}}function defineEventAttribute(A,d){Object.defineProperty(A,`on${d}`,defineEventAttributeDescriptor(d))}function defineCustomEventTarget(A){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let d=0;d<A.length;++d){defineEventAttribute(CustomEventTarget.prototype,A[d])}return CustomEventTarget}function EventTarget(){if(this instanceof EventTarget){S.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0])){return defineCustomEventTarget(arguments[0])}if(arguments.length>0){const A=new Array(arguments.length);for(let d=0;d<arguments.length;++d){A[d]=arguments[d]}return defineCustomEventTarget(A)}throw new TypeError("Cannot call a class as a function")}EventTarget.prototype={addEventListener(A,d,p){if(d==null){return}if(typeof d!=="function"&&!isObject(d)){throw new TypeError("'listener' should be a function or an object.")}const C=getListeners(this);const S=isObject(p);const _=S?Boolean(p.capture):Boolean(p);const V=_?v:T;const Z={listener:d,listenerType:V,passive:S&&Boolean(p.passive),once:S&&Boolean(p.once),next:null};let ee=C.get(A);if(ee===undefined){C.set(A,Z);return}let te=null;while(ee!=null){if(ee.listener===d&&ee.listenerType===V){return}te=ee;ee=ee.next}te.next=Z},removeEventListener(A,d,p){if(d==null){return}const C=getListeners(this);const S=isObject(p)?Boolean(p.capture):Boolean(p);const _=S?v:T;let V=null;let Z=C.get(A);while(Z!=null){if(Z.listener===d&&Z.listenerType===_){if(V!==null){V.next=Z.next}else if(Z.next!==null){C.set(A,Z.next)}else{C.delete(A)}return}V=Z;Z=Z.next}},dispatchEvent(A){if(A==null||typeof A.type!=="string"){throw new TypeError('"event.type" should be a string.')}const d=getListeners(this);const p=A.type;let C=d.get(p);if(C==null){return true}const S=wrapEvent(this,A);let v=null;while(C!=null){if(C.once){if(v!==null){v.next=C.next}else if(C.next!==null){d.set(p,C.next)}else{d.delete(p)}}else{v=C}setPassiveListener(S,C.passive?C.listener:null);if(typeof C.listener==="function"){try{C.listener.call(this,S)}catch(A){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error(A)}}}else if(C.listenerType!==_&&typeof C.listener.handleEvent==="function"){C.listener.handleEvent(S)}if(isStopped(S)){break}C=C.next}setPassiveListener(S,null);setEventPhase(S,0);setCurrentTarget(S,null);return!S.defaultPrevented}};Object.defineProperty(EventTarget.prototype,"constructor",{value:EventTarget,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.EventTarget!=="undefined"){Object.setPrototypeOf(EventTarget.prototype,window.EventTarget.prototype)}d.defineEventAttribute=defineEventAttribute;d.EventTarget=EventTarget;d["default"]=EventTarget;A.exports=EventTarget;A.exports.EventTarget=A.exports["default"]=EventTarget;A.exports.defineEventAttribute=defineEventAttribute},19366:(A,d,p)=>{A.exports=p(24434)},44545:A=>{A.exports=class FixedFIFO{constructor(A){if(!(A>0)||(A-1&A)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(A);this.mask=A-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(A){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=A;this.top=this.top+1&this.mask;return true}shift(){const A=this.buffer[this.btm];if(A===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return A}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},19597:(A,d,p)=>{const C=p(44545);A.exports=class FastFIFO{constructor(A){this.hwm=A||16;this.head=new C(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(A){this.length++;if(!this.head.push(A)){const d=this.head;this.head=d.next=new C(2*this.head.buffer.length);this.head.push(A)}}shift(){if(this.length!==0)this.length--;const A=this.tail.shift();if(A===undefined&&this.tail.next){const A=this.tail.next;this.tail.next=null;this.tail=A;return this.tail.shift()}return A}peek(){const A=this.tail.peek();if(A===undefined&&this.tail.next)return this.tail.next.peek();return A}isEmpty(){return this.length===0}}},80197:(A,d,p)=>{const C=p(90876);const S=p(40836);const v=p(47526);const T=p(41933);const _=p(27048);const V=p(77463);async function FastGlob(A,d){assertPatternsInput(A);const p=getWorks(A,S.default,d);const C=await Promise.all(p);return V.array.flatten(C)}(function(A){A.glob=A;A.globSync=sync;A.globStream=stream;A.async=A;function sync(A,d){assertPatternsInput(A);const p=getWorks(A,T.default,d);return V.array.flatten(p)}A.sync=sync;function stream(A,d){assertPatternsInput(A);const p=getWorks(A,v.default,d);return V.stream.merge(p)}A.stream=stream;function generateTasks(A,d){assertPatternsInput(A);const p=[].concat(A);const S=new _.default(d);return C.generate(p,S)}A.generateTasks=generateTasks;function isDynamicPattern(A,d){assertPatternsInput(A);const p=new _.default(d);return V.pattern.isDynamicPattern(A,p)}A.isDynamicPattern=isDynamicPattern;function escapePath(A){assertPatternsInput(A);return V.path.escape(A)}A.escapePath=escapePath;function convertPathToPattern(A){assertPatternsInput(A);return V.path.convertPathToPattern(A)}A.convertPathToPattern=convertPathToPattern;let d;(function(A){function escapePath(A){assertPatternsInput(A);return V.path.escapePosixPath(A)}A.escapePath=escapePath;function convertPathToPattern(A){assertPatternsInput(A);return V.path.convertPosixPathToPattern(A)}A.convertPathToPattern=convertPathToPattern})(d=A.posix||(A.posix={}));let p;(function(A){function escapePath(A){assertPatternsInput(A);return V.path.escapeWindowsPath(A)}A.escapePath=escapePath;function convertPathToPattern(A){assertPatternsInput(A);return V.path.convertWindowsPathToPattern(A)}A.convertPathToPattern=convertPathToPattern})(p=A.win32||(A.win32={}))})(FastGlob||(FastGlob={}));function getWorks(A,d,p){const S=[].concat(A);const v=new _.default(p);const T=C.generate(S,v);const V=new d(v);return T.map(V.read,V)}function assertPatternsInput(A){const d=[].concat(A);const p=d.every((A=>V.string.isString(A)&&!V.string.isEmpty(A)));if(!p){throw new TypeError("Patterns must be a string (non empty) or an array of strings")}}A.exports=FastGlob},90876:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.convertPatternGroupToTask=d.convertPatternGroupsToTasks=d.groupPatternsByBaseDirectory=d.getNegativePatternsAsPositive=d.getPositivePatterns=d.convertPatternsToTasks=d.generate=void 0;const C=p(77463);function generate(A,d){const p=processPatterns(A,d);const S=processPatterns(d.ignore,d);const v=getPositivePatterns(p);const T=getNegativePatternsAsPositive(p,S);const _=v.filter((A=>C.pattern.isStaticPattern(A,d)));const V=v.filter((A=>C.pattern.isDynamicPattern(A,d)));const Z=convertPatternsToTasks(_,T,false);const ee=convertPatternsToTasks(V,T,true);return Z.concat(ee)}d.generate=generate;function processPatterns(A,d){let p=A;if(d.braceExpansion){p=C.pattern.expandPatternsWithBraceExpansion(p)}if(d.baseNameMatch){p=p.map((A=>A.includes("/")?A:`**/${A}`))}return p.map((A=>C.pattern.removeDuplicateSlashes(A)))}function convertPatternsToTasks(A,d,p){const S=[];const v=C.pattern.getPatternsOutsideCurrentDirectory(A);const T=C.pattern.getPatternsInsideCurrentDirectory(A);const _=groupPatternsByBaseDirectory(v);const V=groupPatternsByBaseDirectory(T);S.push(...convertPatternGroupsToTasks(_,d,p));if("."in V){S.push(convertPatternGroupToTask(".",T,d,p))}else{S.push(...convertPatternGroupsToTasks(V,d,p))}return S}d.convertPatternsToTasks=convertPatternsToTasks;function getPositivePatterns(A){return C.pattern.getPositivePatterns(A)}d.getPositivePatterns=getPositivePatterns;function getNegativePatternsAsPositive(A,d){const p=C.pattern.getNegativePatterns(A).concat(d);const S=p.map(C.pattern.convertToPositivePattern);return S}d.getNegativePatternsAsPositive=getNegativePatternsAsPositive;function groupPatternsByBaseDirectory(A){const d={};return A.reduce(((A,d)=>{const p=C.pattern.getBaseDirectory(d);if(p in A){A[p].push(d)}else{A[p]=[d]}return A}),d)}d.groupPatternsByBaseDirectory=groupPatternsByBaseDirectory;function convertPatternGroupsToTasks(A,d,p){return Object.keys(A).map((C=>convertPatternGroupToTask(C,A[C],d,p)))}d.convertPatternGroupsToTasks=convertPatternGroupsToTasks;function convertPatternGroupToTask(A,d,p,S){return{dynamic:S,positive:d,negative:p,base:A,patterns:[].concat(d,p.map(C.pattern.convertToNegativePattern))}}d.convertPatternGroupToTask=convertPatternGroupToTask},40836:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(79118);const S=p(38555);class ProviderAsync extends S.default{constructor(){super(...arguments);this._reader=new C.default(this._settings)}async read(A){const d=this._getRootDirectory(A);const p=this._getReaderOptions(A);const C=await this.api(d,A,p);return C.map((A=>p.transform(A)))}api(A,d,p){if(d.dynamic){return this._reader.dynamic(A,p)}return this._reader.static(d.patterns,p)}}d["default"]=ProviderAsync},34872:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(77463);const S=p(6703);class DeepFilter{constructor(A,d){this._settings=A;this._micromatchOptions=d}getFilter(A,d,p){const C=this._getMatcher(d);const S=this._getNegativePatternsRe(p);return d=>this._filter(A,d,C,S)}_getMatcher(A){return new S.default(A,this._settings,this._micromatchOptions)}_getNegativePatternsRe(A){const d=A.filter(C.pattern.isAffectDepthOfReadingPattern);return C.pattern.convertPatternsToRe(d,this._micromatchOptions)}_filter(A,d,p,S){if(this._isSkippedByDeep(A,d.path)){return false}if(this._isSkippedSymbolicLink(d)){return false}const v=C.path.removeLeadingDotSegment(d.path);if(this._isSkippedByPositivePatterns(v,p)){return false}return this._isSkippedByNegativePatterns(v,S)}_isSkippedByDeep(A,d){if(this._settings.deep===Infinity){return false}return this._getEntryLevel(A,d)>=this._settings.deep}_getEntryLevel(A,d){const p=d.split("/").length;if(A===""){return p}const C=A.split("/").length;return p-C}_isSkippedSymbolicLink(A){return!this._settings.followSymbolicLinks&&A.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(A,d){return!this._settings.baseNameMatch&&!d.match(A)}_isSkippedByNegativePatterns(A,d){return!C.pattern.matchAny(A,d)}}d["default"]=DeepFilter},8244:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(77463);class EntryFilter{constructor(A,d){this._settings=A;this._micromatchOptions=d;this.index=new Map}getFilter(A,d){const[p,S]=C.pattern.partitionAbsoluteAndRelative(d);const v={positive:{all:C.pattern.convertPatternsToRe(A,this._micromatchOptions)},negative:{absolute:C.pattern.convertPatternsToRe(p,Object.assign(Object.assign({},this._micromatchOptions),{dot:true})),relative:C.pattern.convertPatternsToRe(S,Object.assign(Object.assign({},this._micromatchOptions),{dot:true}))}};return A=>this._filter(A,v)}_filter(A,d){const p=C.path.removeLeadingDotSegment(A.path);if(this._settings.unique&&this._isDuplicateEntry(p)){return false}if(this._onlyFileFilter(A)||this._onlyDirectoryFilter(A)){return false}const S=this._isMatchToPatternsSet(p,d,A.dirent.isDirectory());if(this._settings.unique&&S){this._createIndexRecord(p)}return S}_isDuplicateEntry(A){return this.index.has(A)}_createIndexRecord(A){this.index.set(A,undefined)}_onlyFileFilter(A){return this._settings.onlyFiles&&!A.dirent.isFile()}_onlyDirectoryFilter(A){return this._settings.onlyDirectories&&!A.dirent.isDirectory()}_isMatchToPatternsSet(A,d,p){const C=this._isMatchToPatterns(A,d.positive.all,p);if(!C){return false}const S=this._isMatchToPatterns(A,d.negative.relative,p);if(S){return false}const v=this._isMatchToAbsoluteNegative(A,d.negative.absolute,p);if(v){return false}return true}_isMatchToAbsoluteNegative(A,d,p){if(d.length===0){return false}const S=C.path.makeAbsolute(this._settings.cwd,A);return this._isMatchToPatterns(S,d,p)}_isMatchToPatterns(A,d,p){if(d.length===0){return false}const S=C.pattern.matchAny(A,d);if(!S&&p){return C.pattern.matchAny(A+"/",d)}return S}}d["default"]=EntryFilter},83030:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(77463);class ErrorFilter{constructor(A){this._settings=A}getFilter(){return A=>this._isNonFatalError(A)}_isNonFatalError(A){return C.errno.isEnoentCodeError(A)||this._settings.suppressErrors}}d["default"]=ErrorFilter},83264:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(77463);class Matcher{constructor(A,d,p){this._patterns=A;this._settings=d;this._micromatchOptions=p;this._storage=[];this._fillStorage()}_fillStorage(){for(const A of this._patterns){const d=this._getPatternSegments(A);const p=this._splitSegmentsIntoSections(d);this._storage.push({complete:p.length<=1,pattern:A,segments:d,sections:p})}}_getPatternSegments(A){const d=C.pattern.getPatternParts(A,this._micromatchOptions);return d.map((A=>{const d=C.pattern.isDynamicPattern(A,this._settings);if(!d){return{dynamic:false,pattern:A}}return{dynamic:true,pattern:A,patternRe:C.pattern.makeRe(A,this._micromatchOptions)}}))}_splitSegmentsIntoSections(A){return C.array.splitWhen(A,(A=>A.dynamic&&C.pattern.hasGlobStar(A.pattern)))}}d["default"]=Matcher},6703:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(83264);class PartialMatcher extends C.default{match(A){const d=A.split("/");const p=d.length;const C=this._storage.filter((A=>!A.complete||A.segments.length>p));for(const A of C){const C=A.sections[0];if(!A.complete&&p>C.length){return true}const S=d.every(((d,p)=>{const C=A.segments[p];if(C.dynamic&&C.patternRe.test(d)){return true}if(!C.dynamic&&C.pattern===d){return true}return false}));if(S){return true}}return false}}d["default"]=PartialMatcher},38555:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(16928);const S=p(34872);const v=p(8244);const T=p(83030);const _=p(95197);class Provider{constructor(A){this._settings=A;this.errorFilter=new T.default(this._settings);this.entryFilter=new v.default(this._settings,this._getMicromatchOptions());this.deepFilter=new S.default(this._settings,this._getMicromatchOptions());this.entryTransformer=new _.default(this._settings)}_getRootDirectory(A){return C.resolve(this._settings.cwd,A.base)}_getReaderOptions(A){const d=A.base==="."?"":A.base;return{basePath:d,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(d,A.positive,A.negative),entryFilter:this.entryFilter.getFilter(A.positive,A.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:true,strictSlashes:false}}}d["default"]=Provider},47526:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(2203);const S=p(28256);const v=p(38555);class ProviderStream extends v.default{constructor(){super(...arguments);this._reader=new S.default(this._settings)}read(A){const d=this._getRootDirectory(A);const p=this._getReaderOptions(A);const S=this.api(d,A,p);const v=new C.Readable({objectMode:true,read:()=>{}});S.once("error",(A=>v.emit("error",A))).on("data",(A=>v.emit("data",p.transform(A)))).once("end",(()=>v.emit("end")));v.once("close",(()=>S.destroy()));return v}api(A,d,p){if(d.dynamic){return this._reader.dynamic(A,p)}return this._reader.static(d.patterns,p)}}d["default"]=ProviderStream},41933:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(28411);const S=p(38555);class ProviderSync extends S.default{constructor(){super(...arguments);this._reader=new C.default(this._settings)}read(A){const d=this._getRootDirectory(A);const p=this._getReaderOptions(A);const C=this.api(d,A,p);return C.map(p.transform)}api(A,d,p){if(d.dynamic){return this._reader.dynamic(A,p)}return this._reader.static(d.patterns,p)}}d["default"]=ProviderSync},95197:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(77463);class EntryTransformer{constructor(A){this._settings=A}getTransformer(){return A=>this._transform(A)}_transform(A){let d=A.path;if(this._settings.absolute){d=C.path.makeAbsolute(this._settings.cwd,d);d=C.path.unixify(d)}if(this._settings.markDirectories&&A.dirent.isDirectory()){d+="/"}if(!this._settings.objectMode){return d}return Object.assign(Object.assign({},A),{path:d})}}d["default"]=EntryTransformer},79118:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(77669);const S=p(61443);const v=p(28256);class ReaderAsync extends S.default{constructor(){super(...arguments);this._walkAsync=C.walk;this._readerStream=new v.default(this._settings)}dynamic(A,d){return new Promise(((p,C)=>{this._walkAsync(A,d,((A,d)=>{if(A===null){p(d)}else{C(A)}}))}))}async static(A,d){const p=[];const C=this._readerStream.static(A,d);return new Promise(((A,d)=>{C.once("error",d);C.on("data",(A=>p.push(A)));C.once("end",(()=>A(p)))}))}}d["default"]=ReaderAsync},61443:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(16928);const S=p(61113);const v=p(77463);class Reader{constructor(A){this._settings=A;this._fsStatSettings=new S.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(A){return C.resolve(this._settings.cwd,A)}_makeEntry(A,d){const p={name:d,path:d,dirent:v.fs.createDirentFromStats(d,A)};if(this._settings.stats){p.stats=A}return p}_isFatalError(A){return!v.errno.isEnoentCodeError(A)&&!this._settings.suppressErrors}}d["default"]=Reader},28256:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(2203);const S=p(61113);const v=p(77669);const T=p(61443);class ReaderStream extends T.default{constructor(){super(...arguments);this._walkStream=v.walkStream;this._stat=S.stat}dynamic(A,d){return this._walkStream(A,d)}static(A,d){const p=A.map(this._getFullEntryPath,this);const S=new C.PassThrough({objectMode:true});S._write=(C,v,T)=>this._getEntry(p[C],A[C],d).then((A=>{if(A!==null&&d.entryFilter(A)){S.push(A)}if(C===p.length-1){S.end()}T()})).catch(T);for(let A=0;A<p.length;A++){S.write(A)}return S}_getEntry(A,d,p){return this._getStat(A).then((A=>this._makeEntry(A,d))).catch((A=>{if(p.errorFilter(A)){return null}throw A}))}_getStat(A){return new Promise(((d,p)=>{this._stat(A,this._fsStatSettings,((A,C)=>A===null?d(C):p(A)))}))}}d["default"]=ReaderStream},28411:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(61113);const S=p(77669);const v=p(61443);class ReaderSync extends v.default{constructor(){super(...arguments);this._walkSync=S.walkSync;this._statSync=C.statSync}dynamic(A,d){return this._walkSync(A,d)}static(A,d){const p=[];for(const C of A){const A=this._getFullEntryPath(C);const S=this._getEntry(A,C,d);if(S===null||!d.entryFilter(S)){continue}p.push(S)}return p}_getEntry(A,d,p){try{const p=this._getStat(A);return this._makeEntry(p,d)}catch(A){if(p.errorFilter(A)){return null}throw A}}_getStat(A){return this._statSync(A,this._fsStatSettings)}}d["default"]=ReaderSync},27048:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const C=p(79896);const S=p(70857);const v=Math.max(S.cpus().length,1);d.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:C.lstat,lstatSync:C.lstatSync,stat:C.stat,statSync:C.statSync,readdir:C.readdir,readdirSync:C.readdirSync};class Settings{constructor(A={}){this._options=A;this.absolute=this._getValue(this._options.absolute,false);this.baseNameMatch=this._getValue(this._options.baseNameMatch,false);this.braceExpansion=this._getValue(this._options.braceExpansion,true);this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,true);this.concurrency=this._getValue(this._options.concurrency,v);this.cwd=this._getValue(this._options.cwd,process.cwd());this.deep=this._getValue(this._options.deep,Infinity);this.dot=this._getValue(this._options.dot,false);this.extglob=this._getValue(this._options.extglob,true);this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,true);this.fs=this._getFileSystemMethods(this._options.fs);this.globstar=this._getValue(this._options.globstar,true);this.ignore=this._getValue(this._options.ignore,[]);this.markDirectories=this._getValue(this._options.markDirectories,false);this.objectMode=this._getValue(this._options.objectMode,false);this.onlyDirectories=this._getValue(this._options.onlyDirectories,false);this.onlyFiles=this._getValue(this._options.onlyFiles,true);this.stats=this._getValue(this._options.stats,false);this.suppressErrors=this._getValue(this._options.suppressErrors,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,false);this.unique=this._getValue(this._options.unique,true);if(this.onlyDirectories){this.onlyFiles=false}if(this.stats){this.objectMode=true}this.ignore=[].concat(this.ignore)}_getValue(A,d){return A===undefined?d:A}_getFileSystemMethods(A={}){return Object.assign(Object.assign({},d.DEFAULT_FILE_SYSTEM_ADAPTER),A)}}d["default"]=Settings},36850:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.splitWhen=d.flatten=void 0;function flatten(A){return A.reduce(((A,d)=>[].concat(A,d)),[])}d.flatten=flatten;function splitWhen(A,d){const p=[[]];let C=0;for(const S of A){if(d(S)){C++;p[C]=[]}else{p[C].push(S)}}return p}d.splitWhen=splitWhen},47119:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isEnoentCodeError=void 0;function isEnoentCodeError(A){return A.code==="ENOENT"}d.isEnoentCodeError=isEnoentCodeError},70268:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDirentFromStats=void 0;class DirentFromStats{constructor(A,d){this.name=A;this.isBlockDevice=d.isBlockDevice.bind(d);this.isCharacterDevice=d.isCharacterDevice.bind(d);this.isDirectory=d.isDirectory.bind(d);this.isFIFO=d.isFIFO.bind(d);this.isFile=d.isFile.bind(d);this.isSocket=d.isSocket.bind(d);this.isSymbolicLink=d.isSymbolicLink.bind(d)}}function createDirentFromStats(A,d){return new DirentFromStats(A,d)}d.createDirentFromStats=createDirentFromStats},77463:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.string=d.stream=d.pattern=d.path=d.fs=d.errno=d.array=void 0;const C=p(36850);d.array=C;const S=p(47119);d.errno=S;const v=p(70268);d.fs=v;const T=p(95720);d.path=T;const _=p(42673);d.pattern=_;const V=p(82931);d.stream=V;const Z=p(48950);d.string=Z},95720:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.convertPosixPathToPattern=d.convertWindowsPathToPattern=d.convertPathToPattern=d.escapePosixPath=d.escapeWindowsPath=d.escape=d.removeLeadingDotSegment=d.makeAbsolute=d.unixify=void 0;const C=p(70857);const S=p(16928);const v=C.platform()==="win32";const T=2;const _=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;const V=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g;const Z=/^\\\\([.?])/;const ee=/\\(?![!()+@[\]{}])/g;function unixify(A){return A.replace(/\\/g,"/")}d.unixify=unixify;function makeAbsolute(A,d){return S.resolve(A,d)}d.makeAbsolute=makeAbsolute;function removeLeadingDotSegment(A){if(A.charAt(0)==="."){const d=A.charAt(1);if(d==="/"||d==="\\"){return A.slice(T)}}return A}d.removeLeadingDotSegment=removeLeadingDotSegment;d.escape=v?escapeWindowsPath:escapePosixPath;function escapeWindowsPath(A){return A.replace(V,"\\$2")}d.escapeWindowsPath=escapeWindowsPath;function escapePosixPath(A){return A.replace(_,"\\$2")}d.escapePosixPath=escapePosixPath;d.convertPathToPattern=v?convertWindowsPathToPattern:convertPosixPathToPattern;function convertWindowsPathToPattern(A){return escapeWindowsPath(A).replace(Z,"//$1").replace(ee,"/")}d.convertWindowsPathToPattern=convertWindowsPathToPattern;function convertPosixPathToPattern(A){return escapePosixPath(A)}d.convertPosixPathToPattern=convertPosixPathToPattern},42673:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isAbsolute=d.partitionAbsoluteAndRelative=d.removeDuplicateSlashes=d.matchAny=d.convertPatternsToRe=d.makeRe=d.getPatternParts=d.expandBraceExpansion=d.expandPatternsWithBraceExpansion=d.isAffectDepthOfReadingPattern=d.endsWithSlashGlobStar=d.hasGlobStar=d.getBaseDirectory=d.isPatternRelatedToParentDirectory=d.getPatternsOutsideCurrentDirectory=d.getPatternsInsideCurrentDirectory=d.getPositivePatterns=d.getNegativePatterns=d.isPositivePattern=d.isNegativePattern=d.convertToNegativePattern=d.convertToPositivePattern=d.isDynamicPattern=d.isStaticPattern=void 0;const C=p(16928);const S=p(71511);const v=p(13095);const T="**";const _="\\";const V=/[*?]|^!/;const Z=/\[[^[]*]/;const ee=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/;const te=/[!*+?@]\([^(]*\)/;const re=/,|\.\./;const ne=/(?!^)\/{2,}/g;function isStaticPattern(A,d={}){return!isDynamicPattern(A,d)}d.isStaticPattern=isStaticPattern;function isDynamicPattern(A,d={}){if(A===""){return false}if(d.caseSensitiveMatch===false||A.includes(_)){return true}if(V.test(A)||Z.test(A)||ee.test(A)){return true}if(d.extglob!==false&&te.test(A)){return true}if(d.braceExpansion!==false&&hasBraceExpansion(A)){return true}return false}d.isDynamicPattern=isDynamicPattern;function hasBraceExpansion(A){const d=A.indexOf("{");if(d===-1){return false}const p=A.indexOf("}",d+1);if(p===-1){return false}const C=A.slice(d,p);return re.test(C)}function convertToPositivePattern(A){return isNegativePattern(A)?A.slice(1):A}d.convertToPositivePattern=convertToPositivePattern;function convertToNegativePattern(A){return"!"+A}d.convertToNegativePattern=convertToNegativePattern;function isNegativePattern(A){return A.startsWith("!")&&A[1]!=="("}d.isNegativePattern=isNegativePattern;function isPositivePattern(A){return!isNegativePattern(A)}d.isPositivePattern=isPositivePattern;function getNegativePatterns(A){return A.filter(isNegativePattern)}d.getNegativePatterns=getNegativePatterns;function getPositivePatterns(A){return A.filter(isPositivePattern)}d.getPositivePatterns=getPositivePatterns;function getPatternsInsideCurrentDirectory(A){return A.filter((A=>!isPatternRelatedToParentDirectory(A)))}d.getPatternsInsideCurrentDirectory=getPatternsInsideCurrentDirectory;function getPatternsOutsideCurrentDirectory(A){return A.filter(isPatternRelatedToParentDirectory)}d.getPatternsOutsideCurrentDirectory=getPatternsOutsideCurrentDirectory;function isPatternRelatedToParentDirectory(A){return A.startsWith("..")||A.startsWith("./..")}d.isPatternRelatedToParentDirectory=isPatternRelatedToParentDirectory;function getBaseDirectory(A){return S(A,{flipBackslashes:false})}d.getBaseDirectory=getBaseDirectory;function hasGlobStar(A){return A.includes(T)}d.hasGlobStar=hasGlobStar;function endsWithSlashGlobStar(A){return A.endsWith("/"+T)}d.endsWithSlashGlobStar=endsWithSlashGlobStar;function isAffectDepthOfReadingPattern(A){const d=C.basename(A);return endsWithSlashGlobStar(A)||isStaticPattern(d)}d.isAffectDepthOfReadingPattern=isAffectDepthOfReadingPattern;function expandPatternsWithBraceExpansion(A){return A.reduce(((A,d)=>A.concat(expandBraceExpansion(d))),[])}d.expandPatternsWithBraceExpansion=expandPatternsWithBraceExpansion;function expandBraceExpansion(A){const d=v.braces(A,{expand:true,nodupes:true,keepEscaping:true});d.sort(((A,d)=>A.length-d.length));return d.filter((A=>A!==""))}d.expandBraceExpansion=expandBraceExpansion;function getPatternParts(A,d){let{parts:p}=v.scan(A,Object.assign(Object.assign({},d),{parts:true}));if(p.length===0){p=[A]}if(p[0].startsWith("/")){p[0]=p[0].slice(1);p.unshift("")}return p}d.getPatternParts=getPatternParts;function makeRe(A,d){return v.makeRe(A,d)}d.makeRe=makeRe;function convertPatternsToRe(A,d){return A.map((A=>makeRe(A,d)))}d.convertPatternsToRe=convertPatternsToRe;function matchAny(A,d){return d.some((d=>d.test(A)))}d.matchAny=matchAny;function removeDuplicateSlashes(A){return A.replace(ne,"/")}d.removeDuplicateSlashes=removeDuplicateSlashes;function partitionAbsoluteAndRelative(A){const d=[];const p=[];for(const C of A){if(isAbsolute(C)){d.push(C)}else{p.push(C)}}return[d,p]}d.partitionAbsoluteAndRelative=partitionAbsoluteAndRelative;function isAbsolute(A){return C.isAbsolute(A)}d.isAbsolute=isAbsolute},82931:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.merge=void 0;const C=p(43987);function merge(A){const d=C(A);A.forEach((A=>{A.once("error",(A=>d.emit("error",A)))}));d.once("close",(()=>propagateCloseEventToSources(A)));d.once("end",(()=>propagateCloseEventToSources(A)));return d}d.merge=merge;function propagateCloseEventToSources(A){A.forEach((A=>A.emit("close")))}},48950:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isEmpty=d.isString=void 0;function isString(A){return typeof A==="string"}d.isString=isString;function isEmpty(A){return A===""}d.isEmpty=isEmpty},59702:(A,d,p)=>{var C=p(12188);function fastqueue(A,d,p){if(typeof A==="function"){p=d;d=A;A=null}if(!(p>=1)){throw new Error("fastqueue concurrency must be equal to or greater than 1")}var S=C(Task);var v=null;var T=null;var _=0;var V=null;var Z={push:push,drain:noop,saturated:noop,pause:pause,paused:false,get concurrency(){return p},set concurrency(A){if(!(A>=1)){throw new Error("fastqueue concurrency must be equal to or greater than 1")}p=A;if(Z.paused)return;for(;v&&_<p;){_++;release()}},running:running,resume:resume,idle:idle,length:length,getQueue:getQueue,unshift:unshift,empty:noop,kill:kill,killAndDrain:killAndDrain,error:error};return Z;function running(){return _}function pause(){Z.paused=true}function length(){var A=v;var d=0;while(A){A=A.next;d++}return d}function getQueue(){var A=v;var d=[];while(A){d.push(A.value);A=A.next}return d}function resume(){if(!Z.paused)return;Z.paused=false;if(v===null){_++;release();return}for(;v&&_<p;){_++;release()}}function idle(){return _===0&&Z.length()===0}function push(C,ee){var te=S.get();te.context=A;te.release=release;te.value=C;te.callback=ee||noop;te.errorHandler=V;if(_>=p||Z.paused){if(T){T.next=te;T=te}else{v=te;T=te;Z.saturated()}}else{_++;d.call(A,te.value,te.worked)}}function unshift(C,ee){var te=S.get();te.context=A;te.release=release;te.value=C;te.callback=ee||noop;te.errorHandler=V;if(_>=p||Z.paused){if(v){te.next=v;v=te}else{v=te;T=te;Z.saturated()}}else{_++;d.call(A,te.value,te.worked)}}function release(C){if(C){S.release(C)}var V=v;if(V&&_<=p){if(!Z.paused){if(T===v){T=null}v=V.next;V.next=null;d.call(A,V.value,V.worked);if(T===null){Z.empty()}}else{_--}}else if(--_===0){Z.drain()}}function kill(){v=null;T=null;Z.drain=noop}function killAndDrain(){v=null;T=null;Z.drain();Z.drain=noop}function error(A){V=A}}function noop(){}function Task(){this.value=null;this.callback=noop;this.next=null;this.release=noop;this.context=null;this.errorHandler=null;var A=this;this.worked=function worked(d,p){var C=A.callback;var S=A.errorHandler;var v=A.value;A.value=null;A.callback=noop;if(A.errorHandler){S(d,v)}C.call(A.context,d,p);A.release(A)}}function queueAsPromised(A,d,p){if(typeof A==="function"){p=d;d=A;A=null}function asyncWrapper(A,p){d.call(this,A).then((function(A){p(null,A)}),p)}var C=fastqueue(A,asyncWrapper,p);var S=C.push;var v=C.unshift;C.push=push;C.unshift=unshift;C.drained=drained;return C;function push(A){var d=new Promise((function(d,p){S(A,(function(A,C){if(A){p(A);return}d(C)}))}));d.catch(noop);return d}function unshift(A){var d=new Promise((function(d,p){v(A,(function(A,C){if(A){p(A);return}d(C)}))}));d.catch(noop);return d}function drained(){var A=new Promise((function(A){process.nextTick((function(){if(C.idle()){A()}else{var d=C.drain;C.drain=function(){if(typeof d==="function")d();A();C.drain=d}}}))}));return A}}A.exports=fastqueue;A.exports.promise=queueAsPromised},56198:(A,d,p)=>{
/*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*/
const C=p(39023);const S=p(29947);const isObject=A=>A!==null&&typeof A==="object"&&!Array.isArray(A);const transform=A=>d=>A===true?Number(d):String(d);const isValidValue=A=>typeof A==="number"||typeof A==="string"&&A!=="";const isNumber=A=>Number.isInteger(+A);const zeros=A=>{let d=`${A}`;let p=-1;if(d[0]==="-")d=d.slice(1);if(d==="0")return false;while(d[++p]==="0");return p>0};const stringify=(A,d,p)=>{if(typeof A==="string"||typeof d==="string"){return true}return p.stringify===true};const pad=(A,d,p)=>{if(d>0){let p=A[0]==="-"?"-":"";if(p)A=A.slice(1);A=p+A.padStart(p?d-1:d,"0")}if(p===false){return String(A)}return A};const toMaxLen=(A,d)=>{let p=A[0]==="-"?"-":"";if(p){A=A.slice(1);d--}while(A.length<d)A="0"+A;return p?"-"+A:A};const toSequence=(A,d,p)=>{A.negatives.sort(((A,d)=>A<d?-1:A>d?1:0));A.positives.sort(((A,d)=>A<d?-1:A>d?1:0));let C=d.capture?"":"?:";let S="";let v="";let T;if(A.positives.length){S=A.positives.map((A=>toMaxLen(String(A),p))).join("|")}if(A.negatives.length){v=`-(${C}${A.negatives.map((A=>toMaxLen(String(A),p))).join("|")})`}if(S&&v){T=`${S}|${v}`}else{T=S||v}if(d.wrap){return`(${C}${T})`}return T};const toRange=(A,d,p,C)=>{if(p){return S(A,d,{wrap:false,...C})}let v=String.fromCharCode(A);if(A===d)return v;let T=String.fromCharCode(d);return`[${v}-${T}]`};const toRegex=(A,d,p)=>{if(Array.isArray(A)){let d=p.wrap===true;let C=p.capture?"":"?:";return d?`(${C}${A.join("|")})`:A.join("|")}return S(A,d,p)};const rangeError=(...A)=>new RangeError("Invalid range arguments: "+C.inspect(...A));const invalidRange=(A,d,p)=>{if(p.strictRanges===true)throw rangeError([A,d]);return[]};const invalidStep=(A,d)=>{if(d.strictRanges===true){throw new TypeError(`Expected step "${A}" to be a number`)}return[]};const fillNumbers=(A,d,p=1,C={})=>{let S=Number(A);let v=Number(d);if(!Number.isInteger(S)||!Number.isInteger(v)){if(C.strictRanges===true)throw rangeError([A,d]);return[]}if(S===0)S=0;if(v===0)v=0;let T=S>v;let _=String(A);let V=String(d);let Z=String(p);p=Math.max(Math.abs(p),1);let ee=zeros(_)||zeros(V)||zeros(Z);let te=ee?Math.max(_.length,V.length,Z.length):0;let re=ee===false&&stringify(A,d,C)===false;let ne=C.transform||transform(re);if(C.toRegex&&p===1){return toRange(toMaxLen(A,te),toMaxLen(d,te),true,C)}let ie={negatives:[],positives:[]};let push=A=>ie[A<0?"negatives":"positives"].push(Math.abs(A));let se=[];let oe=0;while(T?S>=v:S<=v){if(C.toRegex===true&&p>1){push(S)}else{se.push(pad(ne(S,oe),te,re))}S=T?S-p:S+p;oe++}if(C.toRegex===true){return p>1?toSequence(ie,C,te):toRegex(se,null,{wrap:false,...C})}return se};const fillLetters=(A,d,p=1,C={})=>{if(!isNumber(A)&&A.length>1||!isNumber(d)&&d.length>1){return invalidRange(A,d,C)}let S=C.transform||(A=>String.fromCharCode(A));let v=`${A}`.charCodeAt(0);let T=`${d}`.charCodeAt(0);let _=v>T;let V=Math.min(v,T);let Z=Math.max(v,T);if(C.toRegex&&p===1){return toRange(V,Z,false,C)}let ee=[];let te=0;while(_?v>=T:v<=T){ee.push(S(v,te));v=_?v-p:v+p;te++}if(C.toRegex===true){return toRegex(ee,null,{wrap:false,options:C})}return ee};const fill=(A,d,p,C={})=>{if(d==null&&isValidValue(A)){return[A]}if(!isValidValue(A)||!isValidValue(d)){return invalidRange(A,d,C)}if(typeof p==="function"){return fill(A,d,1,{transform:p})}if(isObject(p)){return fill(A,d,0,p)}let S={...C};if(S.capture===true)S.wrap=true;p=p||S.step||1;if(!isNumber(p)){if(p!=null&&!isObject(p))return invalidStep(p,S);return fill(A,d,1,p)}if(isNumber(A)&&isNumber(d)){return fillNumbers(A,d,p,S)}return fillLetters(A,d,Math.max(Math.abs(p),1),S)};A.exports=fill},71511:(A,d,p)=>{var C=p(76722);var S=p(16928).posix.dirname;var v=p(70857).platform()==="win32";var T="/";var _=/\\/g;var V=/[\{\[].*[\}\]]$/;var Z=/(^|[^\\])([\{\[]|\([^\)]+$)/;var ee=/\\([\!\*\?\|\[\]\(\)\{\}])/g;A.exports=function globParent(A,d){var p=Object.assign({flipBackslashes:true},d);if(p.flipBackslashes&&v&&A.indexOf(T)<0){A=A.replace(_,T)}if(V.test(A)){A+=T}A+="a";do{A=S(A)}while(C(A)||Z.test(A));return A.replace(ee,"$1")}},17340:A=>{A.exports=clone;var d=Object.getPrototypeOf||function(A){return A.__proto__};function clone(A){if(A===null||typeof A!=="object")return A;if(A instanceof Object)var p={__proto__:d(A)};else var p=Object.create(null);Object.getOwnPropertyNames(A).forEach((function(d){Object.defineProperty(p,d,Object.getOwnPropertyDescriptor(A,d))}));return p}},6768:(A,d,p)=>{var C=p(79896);var S=p(27805);var v=p(90366);var T=p(17340);var _=p(39023);var V;var Z;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){V=Symbol.for("graceful-fs.queue");Z=Symbol.for("graceful-fs.previous")}else{V="___graceful-fs.queue";Z="___graceful-fs.previous"}function noop(){}function publishQueue(A,d){Object.defineProperty(A,V,{get:function(){return d}})}var ee=noop;if(_.debuglog)ee=_.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ee=function(){var A=_.format.apply(_,arguments);A="GFS4: "+A.split(/\n/).join("\nGFS4: ");console.error(A)};if(!C[V]){var te=global[V]||[];publishQueue(C,te);C.close=function(A){function close(d,p){return A.call(C,d,(function(A){if(!A){resetQueue()}if(typeof p==="function")p.apply(this,arguments)}))}Object.defineProperty(close,Z,{value:A});return close}(C.close);C.closeSync=function(A){function closeSync(d){A.apply(C,arguments);resetQueue()}Object.defineProperty(closeSync,Z,{value:A});return closeSync}(C.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ee(C[V]);p(42613).equal(C[V].length,0)}))}}if(!global[V]){publishQueue(global,C[V])}A.exports=patch(T(C));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!C.__patched){A.exports=patch(C);C.__patched=true}function patch(A){S(A);A.gracefulify=patch;A.createReadStream=createReadStream;A.createWriteStream=createWriteStream;var d=A.readFile;A.readFile=readFile;function readFile(A,p,C){if(typeof p==="function")C=p,p=null;return go$readFile(A,p,C);function go$readFile(A,p,C,S){return d(A,p,(function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))enqueue([go$readFile,[A,p,C],d,S||Date.now(),Date.now()]);else{if(typeof C==="function")C.apply(this,arguments)}}))}}var p=A.writeFile;A.writeFile=writeFile;function writeFile(A,d,C,S){if(typeof C==="function")S=C,C=null;return go$writeFile(A,d,C,S);function go$writeFile(A,d,C,S,v){return p(A,d,C,(function(p){if(p&&(p.code==="EMFILE"||p.code==="ENFILE"))enqueue([go$writeFile,[A,d,C,S],p,v||Date.now(),Date.now()]);else{if(typeof S==="function")S.apply(this,arguments)}}))}}var C=A.appendFile;if(C)A.appendFile=appendFile;function appendFile(A,d,p,S){if(typeof p==="function")S=p,p=null;return go$appendFile(A,d,p,S);function go$appendFile(A,d,p,S,v){return C(A,d,p,(function(C){if(C&&(C.code==="EMFILE"||C.code==="ENFILE"))enqueue([go$appendFile,[A,d,p,S],C,v||Date.now(),Date.now()]);else{if(typeof S==="function")S.apply(this,arguments)}}))}}var T=A.copyFile;if(T)A.copyFile=copyFile;function copyFile(A,d,p,C){if(typeof p==="function"){C=p;p=0}return go$copyFile(A,d,p,C);function go$copyFile(A,d,p,C,S){return T(A,d,p,(function(v){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([go$copyFile,[A,d,p,C],v,S||Date.now(),Date.now()]);else{if(typeof C==="function")C.apply(this,arguments)}}))}}var _=A.readdir;A.readdir=readdir;var V=/^v[0-5]\./;function readdir(A,d,p){if(typeof d==="function")p=d,d=null;var C=V.test(process.version)?function go$readdir(A,d,p,C){return _(A,fs$readdirCallback(A,d,p,C))}:function go$readdir(A,d,p,C){return _(A,d,fs$readdirCallback(A,d,p,C))};return C(A,d,p);function fs$readdirCallback(A,d,p,S){return function(v,T){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([C,[A,d,p],v,S||Date.now(),Date.now()]);else{if(T&&T.sort)T.sort();if(typeof p==="function")p.call(this,v,T)}}}}if(process.version.substr(0,4)==="v0.8"){var Z=v(A);ReadStream=Z.ReadStream;WriteStream=Z.WriteStream}var ee=A.ReadStream;if(ee){ReadStream.prototype=Object.create(ee.prototype);ReadStream.prototype.open=ReadStream$open}var te=A.WriteStream;if(te){WriteStream.prototype=Object.create(te.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(A,"ReadStream",{get:function(){return ReadStream},set:function(A){ReadStream=A},enumerable:true,configurable:true});Object.defineProperty(A,"WriteStream",{get:function(){return WriteStream},set:function(A){WriteStream=A},enumerable:true,configurable:true});var re=ReadStream;Object.defineProperty(A,"FileReadStream",{get:function(){return re},set:function(A){re=A},enumerable:true,configurable:true});var ne=WriteStream;Object.defineProperty(A,"FileWriteStream",{get:function(){return ne},set:function(A){ne=A},enumerable:true,configurable:true});function ReadStream(A,d){if(this instanceof ReadStream)return ee.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var A=this;open(A.path,A.flags,A.mode,(function(d,p){if(d){if(A.autoClose)A.destroy();A.emit("error",d)}else{A.fd=p;A.emit("open",p);A.read()}}))}function WriteStream(A,d){if(this instanceof WriteStream)return te.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var A=this;open(A.path,A.flags,A.mode,(function(d,p){if(d){A.destroy();A.emit("error",d)}else{A.fd=p;A.emit("open",p)}}))}function createReadStream(d,p){return new A.ReadStream(d,p)}function createWriteStream(d,p){return new A.WriteStream(d,p)}var ie=A.open;A.open=open;function open(A,d,p,C){if(typeof p==="function")C=p,p=null;return go$open(A,d,p,C);function go$open(A,d,p,C,S){return ie(A,d,p,(function(v,T){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([go$open,[A,d,p,C],v,S||Date.now(),Date.now()]);else{if(typeof C==="function")C.apply(this,arguments)}}))}}return A}function enqueue(A){ee("ENQUEUE",A[0].name,A[1]);C[V].push(A);retry()}var re;function resetQueue(){var A=Date.now();for(var d=0;d<C[V].length;++d){if(C[V][d].length>2){C[V][d][3]=A;C[V][d][4]=A}}retry()}function retry(){clearTimeout(re);re=undefined;if(C[V].length===0)return;var A=C[V].shift();var d=A[0];var p=A[1];var S=A[2];var v=A[3];var T=A[4];if(v===undefined){ee("RETRY",d.name,p);d.apply(null,p)}else if(Date.now()-v>=6e4){ee("TIMEOUT",d.name,p);var _=p.pop();if(typeof _==="function")_.call(null,S)}else{var Z=Date.now()-T;var te=Math.max(T-v,1);var ne=Math.min(te*1.2,100);if(Z>=ne){ee("RETRY",d.name,p);d.apply(null,p.concat([v]))}else{C[V].push(A)}}if(re===undefined){re=setTimeout(retry,0)}}},90366:(A,d,p)=>{var C=p(2203).Stream;A.exports=legacy;function legacy(A){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(d,p){if(!(this instanceof ReadStream))return new ReadStream(d,p);C.call(this);var S=this;this.path=d;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;p=p||{};var v=Object.keys(p);for(var T=0,_=v.length;T<_;T++){var V=v[T];this[V]=p[V]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){S._read()}));return}A.open(this.path,this.flags,this.mode,(function(A,d){if(A){S.emit("error",A);S.readable=false;return}S.fd=d;S.emit("open",d);S._read()}))}function WriteStream(d,p){if(!(this instanceof WriteStream))return new WriteStream(d,p);C.call(this);this.path=d;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;p=p||{};var S=Object.keys(p);for(var v=0,T=S.length;v<T;v++){var _=S[v];this[_]=p[_]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=A.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},27805:(A,d,p)=>{var C=p(49140);var S=process.cwd;var v=null;var T=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!v)v=S.call(process);return v};try{process.cwd()}catch(A){}if(typeof process.chdir==="function"){var _=process.chdir;process.chdir=function(A){v=null;_.call(process,A)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,_)}A.exports=patch;function patch(A){if(C.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(A)}if(!A.lutimes){patchLutimes(A)}A.chown=chownFix(A.chown);A.fchown=chownFix(A.fchown);A.lchown=chownFix(A.lchown);A.chmod=chmodFix(A.chmod);A.fchmod=chmodFix(A.fchmod);A.lchmod=chmodFix(A.lchmod);A.chownSync=chownFixSync(A.chownSync);A.fchownSync=chownFixSync(A.fchownSync);A.lchownSync=chownFixSync(A.lchownSync);A.chmodSync=chmodFixSync(A.chmodSync);A.fchmodSync=chmodFixSync(A.fchmodSync);A.lchmodSync=chmodFixSync(A.lchmodSync);A.stat=statFix(A.stat);A.fstat=statFix(A.fstat);A.lstat=statFix(A.lstat);A.statSync=statFixSync(A.statSync);A.fstatSync=statFixSync(A.fstatSync);A.lstatSync=statFixSync(A.lstatSync);if(A.chmod&&!A.lchmod){A.lchmod=function(A,d,p){if(p)process.nextTick(p)};A.lchmodSync=function(){}}if(A.chown&&!A.lchown){A.lchown=function(A,d,p,C){if(C)process.nextTick(C)};A.lchownSync=function(){}}if(T==="win32"){A.rename=typeof A.rename!=="function"?A.rename:function(d){function rename(p,C,S){var v=Date.now();var T=0;d(p,C,(function CB(_){if(_&&(_.code==="EACCES"||_.code==="EPERM"||_.code==="EBUSY")&&Date.now()-v<6e4){setTimeout((function(){A.stat(C,(function(A,v){if(A&&A.code==="ENOENT")d(p,C,CB);else S(_)}))}),T);if(T<100)T+=10;return}if(S)S(_)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,d);return rename}(A.rename)}A.read=typeof A.read!=="function"?A.read:function(d){function read(p,C,S,v,T,_){var V;if(_&&typeof _==="function"){var Z=0;V=function(ee,te,re){if(ee&&ee.code==="EAGAIN"&&Z<10){Z++;return d.call(A,p,C,S,v,T,V)}_.apply(this,arguments)}}return d.call(A,p,C,S,v,T,V)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,d);return read}(A.read);A.readSync=typeof A.readSync!=="function"?A.readSync:function(d){return function(p,C,S,v,T){var _=0;while(true){try{return d.call(A,p,C,S,v,T)}catch(A){if(A.code==="EAGAIN"&&_<10){_++;continue}throw A}}}}(A.readSync);function patchLchmod(A){A.lchmod=function(d,p,S){A.open(d,C.O_WRONLY|C.O_SYMLINK,p,(function(d,C){if(d){if(S)S(d);return}A.fchmod(C,p,(function(d){A.close(C,(function(A){if(S)S(d||A)}))}))}))};A.lchmodSync=function(d,p){var S=A.openSync(d,C.O_WRONLY|C.O_SYMLINK,p);var v=true;var T;try{T=A.fchmodSync(S,p);v=false}finally{if(v){try{A.closeSync(S)}catch(A){}}else{A.closeSync(S)}}return T}}function patchLutimes(A){if(C.hasOwnProperty("O_SYMLINK")&&A.futimes){A.lutimes=function(d,p,S,v){A.open(d,C.O_SYMLINK,(function(d,C){if(d){if(v)v(d);return}A.futimes(C,p,S,(function(d){A.close(C,(function(A){if(v)v(d||A)}))}))}))};A.lutimesSync=function(d,p,S){var v=A.openSync(d,C.O_SYMLINK);var T;var _=true;try{T=A.futimesSync(v,p,S);_=false}finally{if(_){try{A.closeSync(v)}catch(A){}}else{A.closeSync(v)}}return T}}else if(A.futimes){A.lutimes=function(A,d,p,C){if(C)process.nextTick(C)};A.lutimesSync=function(){}}}function chmodFix(d){if(!d)return d;return function(p,C,S){return d.call(A,p,C,(function(A){if(chownErOk(A))A=null;if(S)S.apply(this,arguments)}))}}function chmodFixSync(d){if(!d)return d;return function(p,C){try{return d.call(A,p,C)}catch(A){if(!chownErOk(A))throw A}}}function chownFix(d){if(!d)return d;return function(p,C,S,v){return d.call(A,p,C,S,(function(A){if(chownErOk(A))A=null;if(v)v.apply(this,arguments)}))}}function chownFixSync(d){if(!d)return d;return function(p,C,S){try{return d.call(A,p,C,S)}catch(A){if(!chownErOk(A))throw A}}}function statFix(d){if(!d)return d;return function(p,C,S){if(typeof C==="function"){S=C;C=null}function callback(A,d){if(d){if(d.uid<0)d.uid+=4294967296;if(d.gid<0)d.gid+=4294967296}if(S)S.apply(this,arguments)}return C?d.call(A,p,C,callback):d.call(A,p,callback)}}function statFixSync(d){if(!d)return d;return function(p,C){var S=C?d.call(A,p,C):d.call(A,p);if(S){if(S.uid<0)S.uid+=4294967296;if(S.gid<0)S.gid+=4294967296}return S}}function chownErOk(A){if(!A)return true;if(A.code==="ENOSYS")return true;var d=!process.getuid||process.getuid()!==0;if(d){if(A.code==="EINVAL"||A.code==="EPERM")return true}return false}}},37435:A=>{A.exports=(A,d=process.argv)=>{const p=A.startsWith("-")?"":A.length===1?"-":"--";const C=d.indexOf(p+A);const S=d.indexOf("--");return C!==-1&&(S===-1||C<S)}},74249:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.HttpProxyAgent=void 0;const _=v(p(69278));const V=v(p(64756));const Z=T(p(18263));const ee=p(24434);const te=p(10646);const re=p(87016);const ne=(0,Z.default)("http-proxy-agent");class HttpProxyAgent extends te.Agent{constructor(A,d){super(d);this.proxy=typeof A==="string"?new re.URL(A):A;this.proxyHeaders=d?.headers??{};ne("Creating new HttpProxyAgent instance: %o",this.proxy.href);const p=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const C=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...d?omit(d,"headers"):null,host:p,port:C}}addRequest(A,d){A._header=null;this.setRequestProps(A,d);super.addRequest(A,d)}setRequestProps(A,d){const{proxy:p}=this;const C=d.secureEndpoint?"https:":"http:";const S=A.getHeader("host")||"localhost";const v=`${C}//${S}`;const T=new re.URL(A.path,v);if(d.port!==80){T.port=String(d.port)}A.path=String(T);const _=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(p.username||p.password){const A=`${decodeURIComponent(p.username)}:${decodeURIComponent(p.password)}`;_["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}if(!_["Proxy-Connection"]){_["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const d of Object.keys(_)){const p=_[d];if(p){A.setHeader(d,p)}}}async connect(A,d){A._header=null;if(!A.path.includes("://")){this.setRequestProps(A,d)}let p;let C;ne("Regenerating stored HTTP header string for request");A._implicitHeader();if(A.outputData&&A.outputData.length>0){ne("Patching connection write() output buffer with updated header");p=A.outputData[0].data;C=p.indexOf("\r\n\r\n")+4;A.outputData[0].data=A._header+p.substring(C);ne("Output buffer: %o",A.outputData[0].data)}let S;if(this.proxy.protocol==="https:"){ne("Creating `tls.Socket`: %o",this.connectOpts);S=V.connect(this.connectOpts)}else{ne("Creating `net.Socket`: %o",this.connectOpts);S=_.connect(this.connectOpts)}await(0,ee.once)(S,"connect");return S}}HttpProxyAgent.protocols=["http","https"];d.HttpProxyAgent=HttpProxyAgent;function omit(A,...d){const p={};let C;for(C in A){if(!d.includes(C)){p[C]=A[C]}}return p}},31475:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};var T=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.HttpsProxyAgent=void 0;const _=v(p(69278));const V=v(p(64756));const Z=T(p(42613));const ee=T(p(18263));const te=p(10646);const re=p(87016);const ne=p(20625);const ie=(0,ee.default)("https-proxy-agent");const setServernameFromNonIpHost=A=>{if(A.servername===undefined&&A.host&&!_.isIP(A.host)){return{...A,servername:A.host}}return A};class HttpsProxyAgent extends te.Agent{constructor(A,d){super(d);this.options={path:undefined};this.proxy=typeof A==="string"?new re.URL(A):A;this.proxyHeaders=d?.headers??{};ie("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const p=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const C=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...d?omit(d,"headers"):null,host:p,port:C}}async connect(A,d){const{proxy:p}=this;if(!d.host){throw new TypeError('No "host" provided')}let C;if(p.protocol==="https:"){ie("Creating `tls.Socket`: %o",this.connectOpts);C=V.connect(setServernameFromNonIpHost(this.connectOpts))}else{ie("Creating `net.Socket`: %o",this.connectOpts);C=_.connect(this.connectOpts)}const S=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const v=_.isIPv6(d.host)?`[${d.host}]`:d.host;let T=`CONNECT ${v}:${d.port} HTTP/1.1\r\n`;if(p.username||p.password){const A=`${decodeURIComponent(p.username)}:${decodeURIComponent(p.password)}`;S["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}S.Host=`${v}:${d.port}`;if(!S["Proxy-Connection"]){S["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const A of Object.keys(S)){T+=`${A}: ${S[A]}\r\n`}const ee=(0,ne.parseProxyResponse)(C);C.write(`${T}\r\n`);const{connect:te,buffered:re}=await ee;A.emit("proxyConnect",te);this.emit("proxyConnect",te,A);if(te.statusCode===200){A.once("socket",resume);if(d.secureEndpoint){ie("Upgrading socket connection to TLS");return V.connect({...omit(setServernameFromNonIpHost(d),"host","path","port"),socket:C})}return C}C.destroy();const se=new _.Socket({writable:false});se.readable=true;A.once("socket",(A=>{ie("Replaying proxy buffer for failed request");(0,Z.default)(A.listenerCount("data")>0);A.push(re);A.push(null)}));return se}}HttpsProxyAgent.protocols=["http","https"];d.HttpsProxyAgent=HttpsProxyAgent;function resume(A){A.resume()}function omit(A,...d){const p={};let C;for(C in A){if(!d.includes(C)){p[C]=A[C]}}return p}},20625:function(A,d,p){var C=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.parseProxyResponse=void 0;const S=C(p(18263));const v=(0,S.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(A){return new Promise(((d,p)=>{let C=0;const S=[];function read(){const d=A.read();if(d)ondata(d);else A.once("readable",read)}function cleanup(){A.removeListener("end",onend);A.removeListener("error",onerror);A.removeListener("readable",read)}function onend(){cleanup();v("onend");p(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(A){cleanup();v("onerror %o",A);p(A)}function ondata(T){S.push(T);C+=T.length;const _=Buffer.concat(S,C);const V=_.indexOf("\r\n\r\n");if(V===-1){v("have not received end of HTTP headers yet...");read();return}const Z=_.slice(0,V).toString("ascii").split("\r\n");const ee=Z.shift();if(!ee){A.destroy();return p(new Error("No header received from proxy CONNECT response"))}const te=ee.split(" ");const re=+te[1];const ne=te.slice(2).join(" ");const ie={};for(const d of Z){if(!d)continue;const C=d.indexOf(":");if(C===-1){A.destroy();return p(new Error(`Invalid header from proxy CONNECT response: "${d}"`))}const S=d.slice(0,C).toLowerCase();const v=d.slice(C+1).trimStart();const T=ie[S];if(typeof T==="string"){ie[S]=[T,v]}else if(Array.isArray(T)){T.push(v)}else{ie[S]=v}}v("got proxy server response: %o %o",ee,ie);cleanup();d({connect:{statusCode:re,statusText:ne,headers:ie},buffered:_})}A.on("error",onerror);A.on("end",onend);read()}))}d.parseProxyResponse=parseProxyResponse},94877:A=>{function makeArray(A){return Array.isArray(A)?A:[A]}const d=undefined;const p="";const C=" ";const S="\\";const v=/^\s+$/;const T=/(?:[^\\]|^)\\$/;const _=/^\\!/;const V=/^\\#/;const Z=/\r?\n/g;const ee=/^\.{0,2}\/|^\.{1,2}$/;const te=/\/$/;const re="/";let ne="node-ignore";if(typeof Symbol!=="undefined"){ne=Symbol.for("node-ignore")}const ie=ne;const define=(A,d,p)=>{Object.defineProperty(A,d,{value:p});return p};const se=/([0-z])-([0-z])/g;const RETURN_FALSE=()=>false;const sanitizeRange=A=>A.replace(se,((A,d,C)=>d.charCodeAt(0)<=C.charCodeAt(0)?A:p));const cleanRangeBackSlash=A=>{const{length:d}=A;return A.slice(0,d-d%2)};const oe=[[/^\uFEFF/,()=>p],[/((?:\\\\)*?)(\\?\s+)$/,(A,d,S)=>d+(S.indexOf("\\")===0?C:p)],[/(\\+?)\s/g,(A,d)=>{const{length:p}=d;return d.slice(0,p-p%2)+C}],[/[\\$.|*+(){^]/g,A=>`\\${A}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function startingReplacer(){return!/\/(?!$)/.test(this)?"(?:^|\\/)":"^"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(A,d,p)=>d+6<p.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(A,d,p)=>{const C=p.replace(/\\\*/g,"[^\\/]*");return d+C}],[/\\\\\\(?=[$.|*+(){^])/g,()=>S],[/\\\\/g,()=>S],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(A,d,p,C,v)=>d===S?`\\[${p}${cleanRangeBackSlash(C)}${v}`:v==="]"?C.length%2===0?`[${sanitizeRange(p)}${C}]`:"[]":"[]"],[/(?:[^*])$/,A=>/\/$/.test(A)?`${A}$`:`${A}(?=$|\\/$)`]];const ae=/(^|\\\/)?\\\*$/;const le="regex";const ce="checkRegex";const ue="_";const Ae={[le](A,d){const p=d?`${d}[^/]+`:"[^/]*";return`${p}(?=$|\\/$)`},[ce](A,d){const p=d?`${d}[^/]*`:"[^/]*";return`${p}(?=$|\\/$)`}};const makeRegexPrefix=A=>oe.reduce(((d,[p,C])=>d.replace(p,C.bind(A))),A);const isString=A=>typeof A==="string";const checkPattern=A=>A&&isString(A)&&!v.test(A)&&!T.test(A)&&A.indexOf("#")!==0;const splitPattern=A=>A.split(Z).filter(Boolean);class IgnoreRule{constructor(A,d,p,C,S,v){this.pattern=A;this.mark=d;this.negative=S;define(this,"body",p);define(this,"ignoreCase",C);define(this,"regexPrefix",v)}get regex(){const A=ue+le;if(this[A]){return this[A]}return this._make(le,A)}get checkRegex(){const A=ue+ce;if(this[A]){return this[A]}return this._make(ce,A)}_make(A,d){const p=this.regexPrefix.replace(ae,Ae[A]);const C=this.ignoreCase?new RegExp(p,"i"):new RegExp(p);return define(this,d,C)}}const createRule=({pattern:A,mark:d},p)=>{let C=false;let S=A;if(S.indexOf("!")===0){C=true;S=S.substr(1)}S=S.replace(_,"!").replace(V,"#");const v=makeRegexPrefix(S);return new IgnoreRule(A,d,S,p,C,v)};class RuleManager{constructor(A){this._ignoreCase=A;this._rules=[]}_add(A){if(A&&A[ie]){this._rules=this._rules.concat(A._rules._rules);this._added=true;return}if(isString(A)){A={pattern:A}}if(checkPattern(A.pattern)){const d=createRule(A,this._ignoreCase);this._added=true;this._rules.push(d)}}add(A){this._added=false;makeArray(isString(A)?splitPattern(A):A).forEach(this._add,this);return this._added}test(A,p,C){let S=false;let v=false;let T;this._rules.forEach((_=>{const{negative:V}=_;if(v===V&&S!==v||V&&!S&&!v&&!p){return}const Z=_[C].test(A);if(!Z){return}S=!V;v=V;T=V?d:_}));const _={ignored:S,unignored:v};if(T){_.rule=T}return _}}const throwError=(A,d)=>{throw new d(A)};const checkPath=(A,d,p)=>{if(!isString(A)){return p(`path must be a string, but got \`${d}\``,TypeError)}if(!A){return p(`path must not be empty`,TypeError)}if(checkPath.isNotRelative(A)){const A="`path.relative()`d";return p(`path should be a ${A} string, but got "${d}"`,RangeError)}return true};const isNotRelative=A=>ee.test(A);checkPath.isNotRelative=isNotRelative;checkPath.convert=A=>A;class Ignore{constructor({ignorecase:A=true,ignoreCase:d=A,allowRelativePaths:p=false}={}){define(this,ie,true);this._rules=new RuleManager(d);this._strictPathCheck=!p;this._initCache()}_initCache(){this._ignoreCache=Object.create(null);this._testCache=Object.create(null)}add(A){if(this._rules.add(A)){this._initCache()}return this}addPattern(A){return this.add(A)}_test(A,d,p,C){const S=A&&checkPath.convert(A);checkPath(S,A,this._strictPathCheck?throwError:RETURN_FALSE);return this._t(S,d,p,C)}checkIgnore(A){if(!te.test(A)){return this.test(A)}const d=A.split(re).filter(Boolean);d.pop();if(d.length){const A=this._t(d.join(re)+re,this._testCache,true,d);if(A.ignored){return A}}return this._rules.test(A,false,ce)}_t(A,d,p,C){if(A in d){return d[A]}if(!C){C=A.split(re).filter(Boolean)}C.pop();if(!C.length){return d[A]=this._rules.test(A,p,le)}const S=this._t(C.join(re)+re,d,p,C);return d[A]=S.ignored?S:this._rules.test(A,p,le)}ignores(A){return this._test(A,this._ignoreCache,false).ignored}createFilter(){return A=>!this.ignores(A)}filter(A){return makeArray(A).filter(this.createFilter())}test(A){return this._test(A,this._testCache,true)}}const factory=A=>new Ignore(A);const isPathValid=A=>checkPath(A&&checkPath.convert(A),A,RETURN_FALSE);const setupWindows=()=>{const makePosix=A=>/^\\\\\?\\/.test(A)||/["<>|\u0000-\u001F]+/u.test(A)?A:A.replace(/\\/g,"/");checkPath.convert=makePosix;const A=/^[a-z]:\//i;checkPath.isNotRelative=d=>A.test(d)||isNotRelative(d)};if(typeof process!=="undefined"&&process.platform==="win32"){setupWindows()}A.exports=factory;factory.default=factory;A.exports.isPathValid=isPathValid;define(A.exports,Symbol.for("setupWindows"),setupWindows)},76153:(A,d,p)=>{try{var C=p(39023);if(typeof C.inherits!=="function")throw"";A.exports=C.inherits}catch(d){A.exports=p(2562)}},2562:A=>{if(typeof Object.create==="function"){A.exports=function inherits(A,d){if(d){A.super_=d;A.prototype=Object.create(d.prototype,{constructor:{value:A,enumerable:false,writable:true,configurable:true}})}}}else{A.exports=function inherits(A,d){if(d){A.super_=d;var TempCtor=function(){};TempCtor.prototype=d.prototype;A.prototype=new TempCtor;A.prototype.constructor=A}}}},95677:A=>{
/*!
* is-extglob <https://github.com/jonschlinkert/is-extglob>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*/
A.exports=function isExtglob(A){if(typeof A!=="string"||A===""){return false}var d;while(d=/(\\).|([@?!+*]\(.*\))/g.exec(A)){if(d[2])return true;A=A.slice(d.index+d[0].length)}return false}},76722:(A,d,p)=>{
/*!
* is-glob <https://github.com/jonschlinkert/is-glob>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
var C=p(95677);var S={"{":"}","(":")","[":"]"};var strictCheck=function(A){if(A[0]==="!"){return true}var d=0;var p=-2;var C=-2;var v=-2;var T=-2;var _=-2;while(d<A.length){if(A[d]==="*"){return true}if(A[d+1]==="?"&&/[\].+)]/.test(A[d])){return true}if(C!==-1&&A[d]==="["&&A[d+1]!=="]"){if(C<d){C=A.indexOf("]",d)}if(C>d){if(_===-1||_>C){return true}_=A.indexOf("\\",d);if(_===-1||_>C){return true}}}if(v!==-1&&A[d]==="{"&&A[d+1]!=="}"){v=A.indexOf("}",d);if(v>d){_=A.indexOf("\\",d);if(_===-1||_>v){return true}}}if(T!==-1&&A[d]==="("&&A[d+1]==="?"&&/[:!=]/.test(A[d+2])&&A[d+3]!==")"){T=A.indexOf(")",d);if(T>d){_=A.indexOf("\\",d);if(_===-1||_>T){return true}}}if(p!==-1&&A[d]==="("&&A[d+1]!=="|"){if(p<d){p=A.indexOf("|",d)}if(p!==-1&&A[p+1]!==")"){T=A.indexOf(")",p);if(T>p){_=A.indexOf("\\",p);if(_===-1||_>T){return true}}}}if(A[d]==="\\"){var V=A[d+1];d+=2;var Z=S[V];if(Z){var ee=A.indexOf(Z,d);if(ee!==-1){d=ee+1}}if(A[d]==="!"){return true}}else{d++}}return false};var relaxedCheck=function(A){if(A[0]==="!"){return true}var d=0;while(d<A.length){if(/[*?{}()[\]]/.test(A[d])){return true}if(A[d]==="\\"){var p=A[d+1];d+=2;var C=S[p];if(C){var v=A.indexOf(C,d);if(v!==-1){d=v+1}}if(A[d]==="!"){return true}}else{d++}}return false};A.exports=function isGlob(A,d){if(typeof A!=="string"||A===""){return false}if(C(A)){return true}var p=strictCheck;if(d&&d.strict===false){p=relaxedCheck}return p(A)}},29068:A=>{
/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/
A.exports=function(A){if(typeof A==="number"){return A-A===0}if(typeof A==="string"&&A.trim()!==""){return Number.isFinite?Number.isFinite(+A):isFinite(+A)}return false}},82198:A=>{const isStream=A=>A!==null&&typeof A==="object"&&typeof A.pipe==="function";isStream.writable=A=>isStream(A)&&A.writable!==false&&typeof A._write==="function"&&typeof A._writableState==="object";isStream.readable=A=>isStream(A)&&A.readable!==false&&typeof A._read==="function"&&typeof A._readableState==="object";isStream.duplex=A=>isStream.writable(A)&&isStream.readable(A);isStream.transform=A=>isStream.duplex(A)&&typeof A._transform==="function";A.exports=isStream},92012:A=>{var d={}.toString;A.exports=Array.isArray||function(A){return d.call(A)=="[object Array]"}},20845:(A,d,p)=>{var C=p(79896);var S;if(process.platform==="win32"||global.TESTING_WINDOWS){S=p(82928)}else{S=p(45518)}A.exports=isexe;isexe.sync=sync;function isexe(A,d,p){if(typeof d==="function"){p=d;d={}}if(!p){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise((function(p,C){isexe(A,d||{},(function(A,d){if(A){C(A)}else{p(d)}}))}))}S(A,d||{},(function(A,C){if(A){if(A.code==="EACCES"||d&&d.ignoreErrors){A=null;C=false}}p(A,C)}))}function sync(A,d){try{return S.sync(A,d||{})}catch(A){if(d&&d.ignoreErrors||A.code==="EACCES"){return false}else{throw A}}}},45518:(A,d,p)=>{A.exports=isexe;isexe.sync=sync;var C=p(79896);function isexe(A,d,p){C.stat(A,(function(A,C){p(A,A?false:checkStat(C,d))}))}function sync(A,d){return checkStat(C.statSync(A),d)}function checkStat(A,d){return A.isFile()&&checkMode(A,d)}function checkMode(A,d){var p=A.mode;var C=A.uid;var S=A.gid;var v=d.uid!==undefined?d.uid:process.getuid&&process.getuid();var T=d.gid!==undefined?d.gid:process.getgid&&process.getgid();var _=parseInt("100",8);var V=parseInt("010",8);var Z=parseInt("001",8);var ee=_|V;var te=p&Z||p&V&&S===T||p&_&&C===v||p&ee&&v===0;return te}},82928:(A,d,p)=>{A.exports=isexe;isexe.sync=sync;var C=p(79896);function checkPathExt(A,d){var p=d.pathExt!==undefined?d.pathExt:process.env.PATHEXT;if(!p){return true}p=p.split(";");if(p.indexOf("")!==-1){return true}for(var C=0;C<p.length;C++){var S=p[C].toLowerCase();if(S&&A.substr(-S.length).toLowerCase()===S){return true}}return false}function checkStat(A,d,p){if(!A.isSymbolicLink()&&!A.isFile()){return false}return checkPathExt(d,p)}function isexe(A,d,p){C.stat(A,(function(C,S){p(C,C?false:checkStat(S,A,d))}))}function sync(A,d){return checkStat(C.statSync(A),A,d)}},17898:(A,d,p)=>{const C=p(91801);const S=p(45463);const v={parse:C,stringify:S};A.exports=v},91801:(A,d,p)=>{const C=p(95572);let S;let v;let T;let _;let V;let Z;let ee;let te;let re;A.exports=function parse(A,d){S=String(A);v="start";T=[];_=0;V=1;Z=0;ee=undefined;te=undefined;re=undefined;do{ee=lex();ce[v]()}while(ee.type!=="eof");if(typeof d==="function"){return internalize({"":re},"",d)}return re};function internalize(A,d,p){const C=A[d];if(C!=null&&typeof C==="object"){if(Array.isArray(C)){for(let A=0;A<C.length;A++){const d=String(A);const S=internalize(C,d,p);if(S===undefined){delete C[d]}else{Object.defineProperty(C,d,{value:S,writable:true,enumerable:true,configurable:true})}}}else{for(const A in C){const d=internalize(C,A,p);if(d===undefined){delete C[A]}else{Object.defineProperty(C,A,{value:d,writable:true,enumerable:true,configurable:true})}}}}return p.call(A,d,C)}let ne;let ie;let se;let oe;let ae;function lex(){ne="default";ie="";se=false;oe=1;for(;;){ae=peek();const A=le[ne]();if(A){return A}}}function peek(){if(S[_]){return String.fromCodePoint(S.codePointAt(_))}}function read(){const A=peek();if(A==="\n"){V++;Z=0}else if(A){Z+=A.length}else{Z++}if(A){_+=A.length}return A}const le={default(){switch(ae){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();ne="comment";return;case undefined:read();return newToken("eof")}if(C.isSpaceSeparator(ae)){read();return}return le[v]()},comment(){switch(ae){case"*":read();ne="multiLineComment";return;case"/":read();ne="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(ae){case"*":read();ne="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(ae){case"*":read();return;case"/":read();ne="default";return;case undefined:throw invalidChar(read())}read();ne="multiLineComment"},singleLineComment(){switch(ae){case"\n":case"\r":case"\u2028":case"\u2029":read();ne="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(ae){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){oe=-1}ne="sign";return;case".":ie=read();ne="decimalPointLeading";return;case"0":ie=read();ne="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":ie=read();ne="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":se=read()==='"';ie="";ne="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(ae!=="u"){throw invalidChar(read())}read();const A=unicodeEscape();switch(A){case"$":case"_":break;default:if(!C.isIdStartChar(A)){throw invalidIdentifier()}break}ie+=A;ne="identifierName"},identifierName(){switch(ae){case"$":case"_":case"":case"":ie+=read();return;case"\\":read();ne="identifierNameEscape";return}if(C.isIdContinueChar(ae)){ie+=read();return}return newToken("identifier",ie)},identifierNameEscape(){if(ae!=="u"){throw invalidChar(read())}read();const A=unicodeEscape();switch(A){case"$":case"_":case"":case"":break;default:if(!C.isIdContinueChar(A)){throw invalidIdentifier()}break}ie+=A;ne="identifierName"},sign(){switch(ae){case".":ie=read();ne="decimalPointLeading";return;case"0":ie=read();ne="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":ie=read();ne="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",oe*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(ae){case".":ie+=read();ne="decimalPoint";return;case"e":case"E":ie+=read();ne="decimalExponent";return;case"x":case"X":ie+=read();ne="hexadecimal";return}return newToken("numeric",oe*0)},decimalInteger(){switch(ae){case".":ie+=read();ne="decimalPoint";return;case"e":case"E":ie+=read();ne="decimalExponent";return}if(C.isDigit(ae)){ie+=read();return}return newToken("numeric",oe*Number(ie))},decimalPointLeading(){if(C.isDigit(ae)){ie+=read();ne="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(ae){case"e":case"E":ie+=read();ne="decimalExponent";return}if(C.isDigit(ae)){ie+=read();ne="decimalFraction";return}return newToken("numeric",oe*Number(ie))},decimalFraction(){switch(ae){case"e":case"E":ie+=read();ne="decimalExponent";return}if(C.isDigit(ae)){ie+=read();return}return newToken("numeric",oe*Number(ie))},decimalExponent(){switch(ae){case"+":case"-":ie+=read();ne="decimalExponentSign";return}if(C.isDigit(ae)){ie+=read();ne="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(C.isDigit(ae)){ie+=read();ne="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(C.isDigit(ae)){ie+=read();return}return newToken("numeric",oe*Number(ie))},hexadecimal(){if(C.isHexDigit(ae)){ie+=read();ne="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(C.isHexDigit(ae)){ie+=read();return}return newToken("numeric",oe*Number(ie))},string(){switch(ae){case"\\":read();ie+=escape();return;case'"':if(se){read();return newToken("string",ie)}ie+=read();return;case"'":if(!se){read();return newToken("string",ie)}ie+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(ae);break;case undefined:throw invalidChar(read())}ie+=read()},start(){switch(ae){case"{":case"[":return newToken("punctuator",read())}ne="value"},beforePropertyName(){switch(ae){case"$":case"_":ie=read();ne="identifierName";return;case"\\":read();ne="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":se=read()==='"';ne="string";return}if(C.isIdStartChar(ae)){ie+=read();ne="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(ae===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){ne="value"},afterPropertyValue(){switch(ae){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(ae==="]"){return newToken("punctuator",read())}ne="value"},afterArrayValue(){switch(ae){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(A,d){return{type:A,value:d,line:V,column:Z}}function literal(A){for(const d of A){const A=peek();if(A!==d){throw invalidChar(read())}read()}}function escape(){const A=peek();switch(A){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(C.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let A="";let d=peek();if(!C.isHexDigit(d)){throw invalidChar(read())}A+=read();d=peek();if(!C.isHexDigit(d)){throw invalidChar(read())}A+=read();return String.fromCodePoint(parseInt(A,16))}function unicodeEscape(){let A="";let d=4;while(d-- >0){const d=peek();if(!C.isHexDigit(d)){throw invalidChar(read())}A+=read()}return String.fromCodePoint(parseInt(A,16))}const ce={start(){if(ee.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(ee.type){case"identifier":case"string":te=ee.value;v="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(ee.type==="eof"){throw invalidEOF()}v="beforePropertyValue"},beforePropertyValue(){if(ee.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(ee.type==="eof"){throw invalidEOF()}if(ee.type==="punctuator"&&ee.value==="]"){pop();return}push()},afterPropertyValue(){if(ee.type==="eof"){throw invalidEOF()}switch(ee.value){case",":v="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(ee.type==="eof"){throw invalidEOF()}switch(ee.value){case",":v="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let A;switch(ee.type){case"punctuator":switch(ee.value){case"{":A={};break;case"[":A=[];break}break;case"null":case"boolean":case"numeric":case"string":A=ee.value;break}if(re===undefined){re=A}else{const d=T[T.length-1];if(Array.isArray(d)){d.push(A)}else{Object.defineProperty(d,te,{value:A,writable:true,enumerable:true,configurable:true})}}if(A!==null&&typeof A==="object"){T.push(A);if(Array.isArray(A)){v="beforeArrayValue"}else{v="beforePropertyName"}}else{const A=T[T.length-1];if(A==null){v="end"}else if(Array.isArray(A)){v="afterArrayValue"}else{v="afterPropertyValue"}}}function pop(){T.pop();const A=T[T.length-1];if(A==null){v="end"}else if(Array.isArray(A)){v="afterArrayValue"}else{v="afterPropertyValue"}}function invalidChar(A){if(A===undefined){return syntaxError(`JSON5: invalid end of input at ${V}:${Z}`)}return syntaxError(`JSON5: invalid character '${formatChar(A)}' at ${V}:${Z}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${V}:${Z}`)}function invalidIdentifier(){Z-=5;return syntaxError(`JSON5: invalid identifier character at ${V}:${Z}`)}function separatorChar(A){console.warn(`JSON5: '${formatChar(A)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(A){const d={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(d[A]){return d[A]}if(A<" "){const d=A.charCodeAt(0).toString(16);return"\\x"+("00"+d).substring(d.length)}return A}function syntaxError(A){const d=new SyntaxError(A);d.lineNumber=V;d.columnNumber=Z;return d}},45463:(A,d,p)=>{const C=p(95572);A.exports=function stringify(A,d,p){const S=[];let v="";let T;let _;let V="";let Z;if(d!=null&&typeof d==="object"&&!Array.isArray(d)){p=d.space;Z=d.quote;d=d.replacer}if(typeof d==="function"){_=d}else if(Array.isArray(d)){T=[];for(const A of d){let d;if(typeof A==="string"){d=A}else if(typeof A==="number"||A instanceof String||A instanceof Number){d=String(A)}if(d!==undefined&&T.indexOf(d)<0){T.push(d)}}}if(p instanceof Number){p=Number(p)}else if(p instanceof String){p=String(p)}if(typeof p==="number"){if(p>0){p=Math.min(10,Math.floor(p));V=" ".substr(0,p)}}else if(typeof p==="string"){V=p.substr(0,10)}return serializeProperty("",{"":A});function serializeProperty(A,d){let p=d[A];if(p!=null){if(typeof p.toJSON5==="function"){p=p.toJSON5(A)}else if(typeof p.toJSON==="function"){p=p.toJSON(A)}}if(_){p=_.call(d,A,p)}if(p instanceof Number){p=Number(p)}else if(p instanceof String){p=String(p)}else if(p instanceof Boolean){p=p.valueOf()}switch(p){case null:return"null";case true:return"true";case false:return"false"}if(typeof p==="string"){return quoteString(p,false)}if(typeof p==="number"){return String(p)}if(typeof p==="object"){return Array.isArray(p)?serializeArray(p):serializeObject(p)}return undefined}function quoteString(A){const d={"'":.1,'"':.2};const p={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let S="";for(let v=0;v<A.length;v++){const T=A[v];switch(T){case"'":case'"':d[T]++;S+=T;continue;case"\0":if(C.isDigit(A[v+1])){S+="\\x00";continue}}if(p[T]){S+=p[T];continue}if(T<" "){let A=T.charCodeAt(0).toString(16);S+="\\x"+("00"+A).substring(A.length);continue}S+=T}const v=Z||Object.keys(d).reduce(((A,p)=>d[A]<d[p]?A:p));S=S.replace(new RegExp(v,"g"),p[v]);return v+S+v}function serializeObject(A){if(S.indexOf(A)>=0){throw TypeError("Converting circular structure to JSON5")}S.push(A);let d=v;v=v+V;let p=T||Object.keys(A);let C=[];for(const d of p){const p=serializeProperty(d,A);if(p!==undefined){let A=serializeKey(d)+":";if(V!==""){A+=" "}A+=p;C.push(A)}}let _;if(C.length===0){_="{}"}else{let A;if(V===""){A=C.join(",");_="{"+A+"}"}else{let p=",\n"+v;A=C.join(p);_="{\n"+v+A+",\n"+d+"}"}}S.pop();v=d;return _}function serializeKey(A){if(A.length===0){return quoteString(A,true)}const d=String.fromCodePoint(A.codePointAt(0));if(!C.isIdStartChar(d)){return quoteString(A,true)}for(let p=d.length;p<A.length;p++){if(!C.isIdContinueChar(String.fromCodePoint(A.codePointAt(p)))){return quoteString(A,true)}}return A}function serializeArray(A){if(S.indexOf(A)>=0){throw TypeError("Converting circular structure to JSON5")}S.push(A);let d=v;v=v+V;let p=[];for(let d=0;d<A.length;d++){const C=serializeProperty(String(d),A);p.push(C!==undefined?C:"null")}let C;if(p.length===0){C="[]"}else{if(V===""){let A=p.join(",");C="["+A+"]"}else{let A=",\n"+v;let S=p.join(A);C="[\n"+v+S+",\n"+d+"]"}}S.pop();v=d;return C}}},72617:A=>{A.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;A.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\u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C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\u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DC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;A.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u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EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\u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6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},95572:(A,d,p)=>{const C=p(72617);A.exports={isSpaceSeparator(A){return typeof A==="string"&&C.Space_Separator.test(A)},isIdStartChar(A){return typeof A==="string"&&(A>="a"&&A<="z"||A>="A"&&A<="Z"||A==="$"||A==="_"||C.ID_Start.test(A))},isIdContinueChar(A){return typeof A==="string"&&(A>="a"&&A<="z"||A>="A"&&A<="Z"||A>="0"&&A<="9"||A==="$"||A==="_"||A===""||A===""||C.ID_Continue.test(A))},isDigit(A){return typeof A==="string"&&/[0-9]/.test(A)},isHexDigit(A){return typeof A==="string"&&/[0-9A-Fa-f]/.test(A)}}},25724:A=>{function e(A){this.message=A}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var d="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(A){var d=String(A).replace(/=+$/,"");if(d.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var p,C,S=0,v=0,T="";C=d.charAt(v++);~C&&(p=S%4?64*p+C:C,S++%4)?T+=String.fromCharCode(255&p>>(-2*S&6)):0)C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(C);return T};function t(A){var p=A.replace(/-/g,"+").replace(/_/g,"/");switch(p.length%4){case 0:break;case 2:p+="==";break;case 3:p+="=";break;default:throw"Illegal base64url string!"}try{return function(A){return decodeURIComponent(d(A).replace(/(.)/g,(function(A,d){var p=d.charCodeAt(0).toString(16).toUpperCase();return p.length<2&&(p="0"+p),"%"+p})))}(p)}catch(A){return d(p)}}function n(A){this.message=A}function o(A,d){if("string"!=typeof A)throw new n("Invalid token specified");var p=!0===(d=d||{}).header?0:1;try{return JSON.parse(t(A.split(".")[p]))}catch(A){throw new n("Invalid token specified: "+A.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const p=o;p.default=o,p.InvalidTokenError=n,A.exports=p},6889:(A,d,p)=>{var C=p(39023);var S=p(26614);A.exports={Readable:Readable,Writable:Writable};C.inherits(Readable,S);C.inherits(Writable,S);function beforeFirstCall(A,d,p){A[d]=function(){delete A[d];p.apply(this,arguments);return this[d].apply(this,arguments)}}function Readable(A,d){if(!(this instanceof Readable))return new Readable(A,d);S.call(this,d);beforeFirstCall(this,"_read",(function(){var p=A.call(this,d);var C=this.emit.bind(this,"error");p.on("error",C);p.pipe(this)}));this.emit("readable")}function Writable(A,d){if(!(this instanceof Writable))return new Writable(A,d);S.call(this,d);beforeFirstCall(this,"_write",(function(){var p=A.call(this,d);var C=this.emit.bind(this,"error");p.on("error",C);this.pipe(p)}));this.emit("writable")}},36239:(A,d,p)=>{var C=p(21270),S=p(94496),v=p(3875),T=p(27791),_=p(10311);function Hash(A){var d=-1,p=A==null?0:A.length;this.clear();while(++d<p){var C=A[d];this.set(C[0],C[1])}}Hash.prototype.clear=C;Hash.prototype["delete"]=S;Hash.prototype.get=v;Hash.prototype.has=T;Hash.prototype.set=_;A.exports=Hash},77749:(A,d,p)=>{var C=p(89368),S=p(50606),v=p(47353),T=p(33461),_=p(97725);function ListCache(A){var d=-1,p=A==null?0:A.length;this.clear();while(++d<p){var C=A[d];this.set(C[0],C[1])}}ListCache.prototype.clear=C;ListCache.prototype["delete"]=S;ListCache.prototype.get=v;ListCache.prototype.has=T;ListCache.prototype.set=_;A.exports=ListCache},6993:(A,d,p)=>{var C=p(40068),S=p(90655);var v=C(S,"Map");A.exports=v},32027:(A,d,p)=>{var C=p(55546),S=p(69468),v=p(79471),T=p(7923),_=p(81163);function MapCache(A){var d=-1,p=A==null?0:A.length;this.clear();while(++d<p){var C=A[d];this.set(C[0],C[1])}}MapCache.prototype.clear=C;MapCache.prototype["delete"]=S;MapCache.prototype.get=v;MapCache.prototype.has=T;MapCache.prototype.set=_;A.exports=MapCache},81287:(A,d,p)=>{var C=p(40068),S=p(90655);var v=C(S,"Set");A.exports=v},6693:(A,d,p)=>{var C=p(32027),S=p(81850),v=p(8645);function SetCache(A){var d=-1,p=A==null?0:A.length;this.__data__=new C;while(++d<p){this.add(A[d])}}SetCache.prototype.add=SetCache.prototype.push=S;SetCache.prototype.has=v;A.exports=SetCache},83891:(A,d,p)=>{var C=p(90655);var S=C.Symbol;A.exports=S},97451:A=>{function apply(A,d,p){switch(p.length){case 0:return A.call(d);case 1:return A.call(d,p[0]);case 2:return A.call(d,p[0],p[1]);case 3:return A.call(d,p[0],p[1],p[2])}return A.apply(d,p)}A.exports=apply},44395:(A,d,p)=>{var C=p(85713);function arrayIncludes(A,d){var p=A==null?0:A.length;return!!p&&C(A,d,0)>-1}A.exports=arrayIncludes},74851:A=>{function arrayIncludesWith(A,d,p){var C=-1,S=A==null?0:A.length;while(++C<S){if(p(d,A[C])){return true}}return false}A.exports=arrayIncludesWith},65669:(A,d,p)=>{var C=p(74478),S=p(43034),v=p(55775),T=p(84562),_=p(21483),V=p(96257);var Z=Object.prototype;var ee=Z.hasOwnProperty;function arrayLikeKeys(A,d){var p=v(A),Z=!p&&S(A),te=!p&&!Z&&T(A),re=!p&&!Z&&!te&&V(A),ne=p||Z||te||re,ie=ne?C(A.length,String):[],se=ie.length;for(var oe in A){if((d||ee.call(A,oe))&&!(ne&&(oe=="length"||te&&(oe=="offset"||oe=="parent")||re&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||_(oe,se)))){ie.push(oe)}}return ie}A.exports=arrayLikeKeys},86362:A=>{function arrayMap(A,d){var p=-1,C=A==null?0:A.length,S=Array(C);while(++p<C){S[p]=d(A[p],p,A)}return S}A.exports=arrayMap},17894:A=>{function arrayPush(A,d){var p=-1,C=d.length,S=A.length;while(++p<C){A[S+p]=d[p]}return A}A.exports=arrayPush},13139:(A,d,p)=>{var C=p(41830);function assocIndexOf(A,d){var p=A.length;while(p--){if(C(A[p][0],d)){return p}}return-1}A.exports=assocIndexOf},33861:(A,d,p)=>{var C=p(6693),S=p(44395),v=p(74851),T=p(86362),_=p(76383),V=p(96141);var Z=200;function baseDifference(A,d,p,ee){var te=-1,re=S,ne=true,ie=A.length,se=[],oe=d.length;if(!ie){return se}if(p){d=T(d,_(p))}if(ee){re=v;ne=false}else if(d.length>=Z){re=V;ne=false;d=new C(d)}e:while(++te<ie){var ae=A[te],le=p==null?ae:p(ae);ae=ee||ae!==0?ae:0;if(ne&&le===le){var ce=oe;while(ce--){if(d[ce]===le){continue e}}se.push(ae)}else if(!re(d,le,ee)){se.push(ae)}}return se}A.exports=baseDifference},24681:A=>{function baseFindIndex(A,d,p,C){var S=A.length,v=p+(C?1:-1);while(C?v--:++v<S){if(d(A[v],v,A)){return v}}return-1}A.exports=baseFindIndex},98:(A,d,p)=>{var C=p(17894),S=p(5293);function baseFlatten(A,d,p,v,T){var _=-1,V=A.length;p||(p=S);T||(T=[]);while(++_<V){var Z=A[_];if(d>0&&p(Z)){if(d>1){baseFlatten(Z,d-1,p,v,T)}else{C(T,Z)}}else if(!v){T[T.length]=Z}}return T}A.exports=baseFlatten},59358:(A,d,p)=>{var C=p(83891),S=p(64757),v=p(78272);var T="[object Null]",_="[object Undefined]";var V=C?C.toStringTag:undefined;function baseGetTag(A){if(A==null){return A===undefined?_:T}return V&&V in Object(A)?S(A):v(A)}A.exports=baseGetTag},85713:(A,d,p)=>{var C=p(24681),S=p(79581),v=p(98489);function baseIndexOf(A,d,p){return d===d?v(A,d,p):C(A,S,p)}A.exports=baseIndexOf},3404:(A,d,p)=>{var C=p(59358),S=p(26664);var v="[object Arguments]";function baseIsArguments(A){return S(A)&&C(A)==v}A.exports=baseIsArguments},79581:A=>{function baseIsNaN(A){return A!==A}A.exports=baseIsNaN},68261:(A,d,p)=>{var C=p(40056),S=p(32034),v=p(69247),T=p(23043);var _=/[\\^$.*+?()[\]{}|]/g;var V=/^\[object .+?Constructor\]$/;var Z=Function.prototype,ee=Object.prototype;var te=Z.toString;var re=ee.hasOwnProperty;var ne=RegExp("^"+te.call(re).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(A){if(!v(A)||S(A)){return false}var d=C(A)?ne:V;return d.test(T(A))}A.exports=baseIsNative},7311:(A,d,p)=>{var C=p(59358),S=p(81096),v=p(26664);var T="[object Arguments]",_="[object Array]",V="[object Boolean]",Z="[object Date]",ee="[object Error]",te="[object Function]",re="[object Map]",ne="[object Number]",ie="[object Object]",se="[object RegExp]",oe="[object Set]",ae="[object String]",le="[object WeakMap]";var ce="[object ArrayBuffer]",ue="[object DataView]",Ae="[object Float32Array]",de="[object Float64Array]",pe="[object Int8Array]",fe="[object Int16Array]",he="[object Int32Array]",ge="[object Uint8Array]",me="[object Uint8ClampedArray]",ye="[object Uint16Array]",Ee="[object Uint32Array]";var be={};be[Ae]=be[de]=be[pe]=be[fe]=be[he]=be[ge]=be[me]=be[ye]=be[Ee]=true;be[T]=be[_]=be[ce]=be[V]=be[ue]=be[Z]=be[ee]=be[te]=be[re]=be[ne]=be[ie]=be[se]=be[oe]=be[ae]=be[le]=false;function baseIsTypedArray(A){return v(A)&&S(A.length)&&!!be[C(A)]}A.exports=baseIsTypedArray},54745:(A,d,p)=>{var C=p(69247),S=p(52345),v=p(36447);var T=Object.prototype;var _=T.hasOwnProperty;function baseKeysIn(A){if(!C(A)){return v(A)}var d=S(A),p=[];for(var T in A){if(!(T=="constructor"&&(d||!_.call(A,T)))){p.push(T)}}return p}A.exports=baseKeysIn},284:(A,d,p)=>{var C=p(88194),S=p(49743),v=p(86443);function baseRest(A,d){return v(S(A,d,C),A+"")}A.exports=baseRest},34356:(A,d,p)=>{var C=p(40200),S=p(94261),v=p(88194);var T=!S?v:function(A,d){return S(A,"toString",{configurable:true,enumerable:false,value:C(d),writable:true})};A.exports=T},74478:A=>{function baseTimes(A,d){var p=-1,C=Array(A);while(++p<A){C[p]=d(p)}return C}A.exports=baseTimes},76383:A=>{function baseUnary(A){return function(d){return A(d)}}A.exports=baseUnary},87023:(A,d,p)=>{var C=p(6693),S=p(44395),v=p(74851),T=p(96141),_=p(45475),V=p(21429);var Z=200;function baseUniq(A,d,p){var ee=-1,te=S,re=A.length,ne=true,ie=[],se=ie;if(p){ne=false;te=v}else if(re>=Z){var oe=d?null:_(A);if(oe){return V(oe)}ne=false;te=T;se=new C}else{se=d?[]:ie}e:while(++ee<re){var ae=A[ee],le=d?d(ae):ae;ae=p||ae!==0?ae:0;if(ne&&le===le){var ce=se.length;while(ce--){if(se[ce]===le){continue e}}if(d){se.push(le)}ie.push(ae)}else if(!te(se,le,p)){if(se!==ie){se.push(le)}ie.push(ae)}}return ie}A.exports=baseUniq},96141:A=>{function cacheHas(A,d){return A.has(d)}A.exports=cacheHas},37779:(A,d,p)=>{var C=p(90655);var S=C["__core-js_shared__"];A.exports=S},45475:(A,d,p)=>{var C=p(81287),S=p(66288),v=p(21429);var T=1/0;var _=!(C&&1/v(new C([,-0]))[1]==T)?S:function(A){return new C(A)};A.exports=_},94261:(A,d,p)=>{var C=p(40068);var S=function(){try{var A=C(Object,"defineProperty");A({},"",{});return A}catch(A){}}();A.exports=S},75386:A=>{var d=typeof global=="object"&&global&&global.Object===Object&&global;A.exports=d},50165:(A,d,p)=>{var C=p(21944);function getMapData(A,d){var p=A.__data__;return C(d)?p[typeof d=="string"?"string":"hash"]:p.map}A.exports=getMapData},40068:(A,d,p)=>{var C=p(68261),S=p(36542);function getNative(A,d){var p=S(A,d);return C(p)?p:undefined}A.exports=getNative},80405:(A,d,p)=>{var C=p(55605);var S=C(Object.getPrototypeOf,Object);A.exports=S},64757:(A,d,p)=>{var C=p(83891);var S=Object.prototype;var v=S.hasOwnProperty;var T=S.toString;var _=C?C.toStringTag:undefined;function getRawTag(A){var d=v.call(A,_),p=A[_];try{A[_]=undefined;var C=true}catch(A){}var S=T.call(A);if(C){if(d){A[_]=p}else{delete A[_]}}return S}A.exports=getRawTag},36542:A=>{function getValue(A,d){return A==null?undefined:A[d]}A.exports=getValue},21270:(A,d,p)=>{var C=p(62088);function hashClear(){this.__data__=C?C(null):{};this.size=0}A.exports=hashClear},94496:A=>{function hashDelete(A){var d=this.has(A)&&delete this.__data__[A];this.size-=d?1:0;return d}A.exports=hashDelete},3875:(A,d,p)=>{var C=p(62088);var S="__lodash_hash_undefined__";var v=Object.prototype;var T=v.hasOwnProperty;function hashGet(A){var d=this.__data__;if(C){var p=d[A];return p===S?undefined:p}return T.call(d,A)?d[A]:undefined}A.exports=hashGet},27791:(A,d,p)=>{var C=p(62088);var S=Object.prototype;var v=S.hasOwnProperty;function hashHas(A){var d=this.__data__;return C?d[A]!==undefined:v.call(d,A)}A.exports=hashHas},10311:(A,d,p)=>{var C=p(62088);var S="__lodash_hash_undefined__";function hashSet(A,d){var p=this.__data__;this.size+=this.has(A)?0:1;p[A]=C&&d===undefined?S:d;return this}A.exports=hashSet},5293:(A,d,p)=>{var C=p(83891),S=p(43034),v=p(55775);var T=C?C.isConcatSpreadable:undefined;function isFlattenable(A){return v(A)||S(A)||!!(T&&A&&A[T])}A.exports=isFlattenable},21483:A=>{var d=9007199254740991;var p=/^(?:0|[1-9]\d*)$/;function isIndex(A,C){var S=typeof A;C=C==null?d:C;return!!C&&(S=="number"||S!="symbol"&&p.test(A))&&(A>-1&&A%1==0&&A<C)}A.exports=isIndex},52826:(A,d,p)=>{var C=p(41830),S=p(77096),v=p(21483),T=p(69247);function isIterateeCall(A,d,p){if(!T(p)){return false}var _=typeof d;if(_=="number"?S(p)&&v(d,p.length):_=="string"&&d in p){return C(p[d],A)}return false}A.exports=isIterateeCall},21944:A=>{function isKeyable(A){var d=typeof A;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?A!=="__proto__":A===null}A.exports=isKeyable},32034:(A,d,p)=>{var C=p(37779);var S=function(){var A=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}();function isMasked(A){return!!S&&S in A}A.exports=isMasked},52345:A=>{var d=Object.prototype;function isPrototype(A){var p=A&&A.constructor,C=typeof p=="function"&&p.prototype||d;return A===C}A.exports=isPrototype},89368:A=>{function listCacheClear(){this.__data__=[];this.size=0}A.exports=listCacheClear},50606:(A,d,p)=>{var C=p(13139);var S=Array.prototype;var v=S.splice;function listCacheDelete(A){var d=this.__data__,p=C(d,A);if(p<0){return false}var S=d.length-1;if(p==S){d.pop()}else{v.call(d,p,1)}--this.size;return true}A.exports=listCacheDelete},47353:(A,d,p)=>{var C=p(13139);function listCacheGet(A){var d=this.__data__,p=C(d,A);return p<0?undefined:d[p][1]}A.exports=listCacheGet},33461:(A,d,p)=>{var C=p(13139);function listCacheHas(A){return C(this.__data__,A)>-1}A.exports=listCacheHas},97725:(A,d,p)=>{var C=p(13139);function listCacheSet(A,d){var p=this.__data__,S=C(p,A);if(S<0){++this.size;p.push([A,d])}else{p[S][1]=d}return this}A.exports=listCacheSet},55546:(A,d,p)=>{var C=p(36239),S=p(77749),v=p(6993);function mapCacheClear(){this.size=0;this.__data__={hash:new C,map:new(v||S),string:new C}}A.exports=mapCacheClear},69468:(A,d,p)=>{var C=p(50165);function mapCacheDelete(A){var d=C(this,A)["delete"](A);this.size-=d?1:0;return d}A.exports=mapCacheDelete},79471:(A,d,p)=>{var C=p(50165);function mapCacheGet(A){return C(this,A).get(A)}A.exports=mapCacheGet},7923:(A,d,p)=>{var C=p(50165);function mapCacheHas(A){return C(this,A).has(A)}A.exports=mapCacheHas},81163:(A,d,p)=>{var C=p(50165);function mapCacheSet(A,d){var p=C(this,A),S=p.size;p.set(A,d);this.size+=p.size==S?0:1;return this}A.exports=mapCacheSet},62088:(A,d,p)=>{var C=p(40068);var S=C(Object,"create");A.exports=S},36447:A=>{function nativeKeysIn(A){var d=[];if(A!=null){for(var p in Object(A)){d.push(p)}}return d}A.exports=nativeKeysIn},80743:(A,d,p)=>{A=p.nmd(A);var C=p(75386);var S=true&&d&&!d.nodeType&&d;var v=S&&"object"=="object"&&A&&!A.nodeType&&A;var T=v&&v.exports===S;var _=T&&C.process;var V=function(){try{var A=v&&v.require&&v.require("util").types;if(A){return A}return _&&_.binding&&_.binding("util")}catch(A){}}();A.exports=V},78272:A=>{var d=Object.prototype;var p=d.toString;function objectToString(A){return p.call(A)}A.exports=objectToString},55605:A=>{function overArg(A,d){return function(p){return A(d(p))}}A.exports=overArg},49743:(A,d,p)=>{var C=p(97451);var S=Math.max;function overRest(A,d,p){d=S(d===undefined?A.length-1:d,0);return function(){var v=arguments,T=-1,_=S(v.length-d,0),V=Array(_);while(++T<_){V[T]=v[d+T]}T=-1;var Z=Array(d+1);while(++T<d){Z[T]=v[T]}Z[d]=p(V);return C(A,this,Z)}}A.exports=overRest},90655:(A,d,p)=>{var C=p(75386);var S=typeof self=="object"&&self&&self.Object===Object&&self;var v=C||S||Function("return this")();A.exports=v},81850:A=>{var d="__lodash_hash_undefined__";function setCacheAdd(A){this.__data__.set(A,d);return this}A.exports=setCacheAdd},8645:A=>{function setCacheHas(A){return this.__data__.has(A)}A.exports=setCacheHas},21429:A=>{function setToArray(A){var d=-1,p=Array(A.size);A.forEach((function(A){p[++d]=A}));return p}A.exports=setToArray},86443:(A,d,p)=>{var C=p(34356),S=p(98969);var v=S(C);A.exports=v},98969:A=>{var d=800,p=16;var C=Date.now;function shortOut(A){var S=0,v=0;return function(){var T=C(),_=p-(T-v);v=T;if(_>0){if(++S>=d){return arguments[0]}}else{S=0}return A.apply(undefined,arguments)}}A.exports=shortOut},98489:A=>{function strictIndexOf(A,d,p){var C=p-1,S=A.length;while(++C<S){if(A[C]===d){return C}}return-1}A.exports=strictIndexOf},23043:A=>{var d=Function.prototype;var p=d.toString;function toSource(A){if(A!=null){try{return p.call(A)}catch(A){}try{return A+""}catch(A){}}return""}A.exports=toSource},40200:A=>{function constant(A){return function(){return A}}A.exports=constant},57226:(A,d,p)=>{var C=p(284),S=p(41830),v=p(52826),T=p(40475);var _=Object.prototype;var V=_.hasOwnProperty;var Z=C((function(A,d){A=Object(A);var p=-1;var C=d.length;var Z=C>2?d[2]:undefined;if(Z&&v(d[0],d[1],Z)){C=1}while(++p<C){var ee=d[p];var te=T(ee);var re=-1;var ne=te.length;while(++re<ne){var ie=te[re];var se=A[ie];if(se===undefined||S(se,_[ie])&&!V.call(A,ie)){A[ie]=ee[ie]}}}return A}));A.exports=Z},49879:(A,d,p)=>{var C=p(33861),S=p(98),v=p(284),T=p(8655);var _=v((function(A,d){return T(A)?C(A,S(d,1,T,true)):[]}));A.exports=_},41830:A=>{function eq(A,d){return A===d||A!==A&&d!==d}A.exports=eq},59116:(A,d,p)=>{var C=p(98);function flatten(A){var d=A==null?0:A.length;return d?C(A,1):[]}A.exports=flatten},88194:A=>{function identity(A){return A}A.exports=identity},43034:(A,d,p)=>{var C=p(3404),S=p(26664);var v=Object.prototype;var T=v.hasOwnProperty;var _=v.propertyIsEnumerable;var V=C(function(){return arguments}())?C:function(A){return S(A)&&T.call(A,"callee")&&!_.call(A,"callee")};A.exports=V},55775:A=>{var d=Array.isArray;A.exports=d},77096:(A,d,p)=>{var C=p(40056),S=p(81096);function isArrayLike(A){return A!=null&&S(A.length)&&!C(A)}A.exports=isArrayLike},8655:(A,d,p)=>{var C=p(77096),S=p(26664);function isArrayLikeObject(A){return S(A)&&C(A)}A.exports=isArrayLikeObject},84562:(A,d,p)=>{A=p.nmd(A);var C=p(90655),S=p(17729);var v=true&&d&&!d.nodeType&&d;var T=v&&"object"=="object"&&A&&!A.nodeType&&A;var _=T&&T.exports===v;var V=_?C.Buffer:undefined;var Z=V?V.isBuffer:undefined;var ee=Z||S;A.exports=ee},40056:(A,d,p)=>{var C=p(59358),S=p(69247);var v="[object AsyncFunction]",T="[object Function]",_="[object GeneratorFunction]",V="[object Proxy]";function isFunction(A){if(!S(A)){return false}var d=C(A);return d==T||d==_||d==v||d==V}A.exports=isFunction},81096:A=>{var d=9007199254740991;function isLength(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=d}A.exports=isLength},69247:A=>{function isObject(A){var d=typeof A;return A!=null&&(d=="object"||d=="function")}A.exports=isObject},26664:A=>{function isObjectLike(A){return A!=null&&typeof A=="object"}A.exports=isObjectLike},80141:(A,d,p)=>{var C=p(59358),S=p(80405),v=p(26664);var T="[object Object]";var _=Function.prototype,V=Object.prototype;var Z=_.toString;var ee=V.hasOwnProperty;var te=Z.call(Object);function isPlainObject(A){if(!v(A)||C(A)!=T){return false}var d=S(A);if(d===null){return true}var p=ee.call(d,"constructor")&&d.constructor;return typeof p=="function"&&p instanceof p&&Z.call(p)==te}A.exports=isPlainObject},96257:(A,d,p)=>{var C=p(7311),S=p(76383),v=p(80743);var T=v&&v.isTypedArray;var _=T?S(T):C;A.exports=_},40475:(A,d,p)=>{var C=p(65669),S=p(54745),v=p(77096);function keysIn(A){return v(A)?C(A,true):S(A)}A.exports=keysIn},66288:A=>{function noop(){}A.exports=noop},17729:A=>{function stubFalse(){return false}A.exports=stubFalse},95737:(A,d,p)=>{var C=p(98),S=p(284),v=p(87023),T=p(8655);var _=S((function(A){return v(C(A,1,T,true))}));A.exports=_},43987:(A,d,p)=>{const C=p(2203);const S=C.PassThrough;const v=Array.prototype.slice;A.exports=merge2;function merge2(){const A=[];const d=v.call(arguments);let p=false;let C=d[d.length-1];if(C&&!Array.isArray(C)&&C.pipe==null){d.pop()}else{C={}}const T=C.end!==false;const _=C.pipeError===true;if(C.objectMode==null){C.objectMode=true}if(C.highWaterMark==null){C.highWaterMark=64*1024}const V=S(C);function addStream(){for(let d=0,p=arguments.length;d<p;d++){A.push(pauseStreams(arguments[d],C))}mergeStream();return this}function mergeStream(){if(p){return}p=true;let d=A.shift();if(!d){process.nextTick(endStream);return}if(!Array.isArray(d)){d=[d]}let C=d.length+1;function next(){if(--C>0){return}p=false;mergeStream()}function pipe(A){function onend(){A.removeListener("merge2UnpipeEnd",onend);A.removeListener("end",onend);if(_){A.removeListener("error",onerror)}next()}function onerror(A){V.emit("error",A)}if(A._readableState.endEmitted){return next()}A.on("merge2UnpipeEnd",onend);A.on("end",onend);if(_){A.on("error",onerror)}A.pipe(V,{end:false});A.resume()}for(let A=0;A<d.length;A++){pipe(d[A])}next()}function endStream(){p=false;V.emit("queueDrain");if(T){V.end()}}V.setMaxListeners(0);V.add=addStream;V.on("unpipe",(function(A){A.emit("merge2UnpipeEnd")}));if(d.length){addStream.apply(null,d)}return V}function pauseStreams(A,d){if(!Array.isArray(A)){if(!A._readableState&&A.pipe){A=A.pipe(S(d))}if(!A._readableState||!A.pause||!A.pipe){throw new Error("Only readable stream can be merged.")}A.pause()}else{for(let p=0,C=A.length;p<C;p++){A[p]=pauseStreams(A[p],d)}}return A}},13095:(A,d,p)=>{const C=p(39023);const S=p(37227);const v=p(39623);const T=p(98178);const isEmptyString=A=>A===""||A==="./";const hasBraces=A=>{const d=A.indexOf("{");return d>-1&&A.indexOf("}",d)>-1};const micromatch=(A,d,p)=>{d=[].concat(d);A=[].concat(A);let C=new Set;let S=new Set;let T=new Set;let _=0;let onResult=A=>{T.add(A.output);if(p&&p.onResult){p.onResult(A)}};for(let T=0;T<d.length;T++){let V=v(String(d[T]),{...p,onResult:onResult},true);let Z=V.state.negated||V.state.negatedExtglob;if(Z)_++;for(let d of A){let A=V(d,true);let p=Z?!A.isMatch:A.isMatch;if(!p)continue;if(Z){C.add(A.output)}else{C.delete(A.output);S.add(A.output)}}}let V=_===d.length?[...T]:[...S];let Z=V.filter((A=>!C.has(A)));if(p&&Z.length===0){if(p.failglob===true){throw new Error(`No matches found for "${d.join(", ")}"`)}if(p.nonull===true||p.nullglob===true){return p.unescape?d.map((A=>A.replace(/\\/g,""))):d}}return Z};micromatch.match=micromatch;micromatch.matcher=(A,d)=>v(A,d);micromatch.isMatch=(A,d,p)=>v(d,p)(A);micromatch.any=micromatch.isMatch;micromatch.not=(A,d,p={})=>{d=[].concat(d).map(String);let C=new Set;let S=[];let onResult=A=>{if(p.onResult)p.onResult(A);S.push(A.output)};let v=new Set(micromatch(A,d,{...p,onResult:onResult}));for(let A of S){if(!v.has(A)){C.add(A)}}return[...C]};micromatch.contains=(A,d,p)=>{if(typeof A!=="string"){throw new TypeError(`Expected a string: "${C.inspect(A)}"`)}if(Array.isArray(d)){return d.some((d=>micromatch.contains(A,d,p)))}if(typeof d==="string"){if(isEmptyString(A)||isEmptyString(d)){return false}if(A.includes(d)||A.startsWith("./")&&A.slice(2).includes(d)){return true}}return micromatch.isMatch(A,d,{...p,contains:true})};micromatch.matchKeys=(A,d,p)=>{if(!T.isObject(A)){throw new TypeError("Expected the first argument to be an object")}let C=micromatch(Object.keys(A),d,p);let S={};for(let d of C)S[d]=A[d];return S};micromatch.some=(A,d,p)=>{let C=[].concat(A);for(let A of[].concat(d)){let d=v(String(A),p);if(C.some((A=>d(A)))){return true}}return false};micromatch.every=(A,d,p)=>{let C=[].concat(A);for(let A of[].concat(d)){let d=v(String(A),p);if(!C.every((A=>d(A)))){return false}}return true};micromatch.all=(A,d,p)=>{if(typeof A!=="string"){throw new TypeError(`Expected a string: "${C.inspect(A)}"`)}return[].concat(d).every((d=>v(d,p)(A)))};micromatch.capture=(A,d,p)=>{let C=T.isWindows(p);let S=v.makeRe(String(A),{...p,capture:true});let _=S.exec(C?T.toPosixSlashes(d):d);if(_){return _.slice(1).map((A=>A===void 0?"":A))}};micromatch.makeRe=(...A)=>v.makeRe(...A);micromatch.scan=(...A)=>v.scan(...A);micromatch.parse=(A,d)=>{let p=[];for(let C of[].concat(A||[])){for(let A of S(String(C),d)){p.push(v.parse(A,d))}}return p};micromatch.braces=(A,d)=>{if(typeof A!=="string")throw new TypeError("Expected a string");if(d&&d.nobrace===true||!hasBraces(A)){return[A]}return S(A,d)};micromatch.braceExpand=(A,d)=>{if(typeof A!=="string")throw new TypeError("Expected a string");return micromatch.braces(A,{...d,expand:true})};micromatch.hasBraces=hasBraces;A.exports=micromatch},6074:A=>{const d=typeof process==="object"&&process&&process.platform==="win32";A.exports=d?{sep:"\\"}:{sep:"/"}},76161:(A,d,p)=>{const C=A.exports=(A,d,p={})=>{assertValidPattern(d);if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(A)};A.exports=C;const S=p(6074);C.sep=S.sep;const v=Symbol("globstar **");C.GLOBSTAR=v;const T=p(23033);const _={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};const V="[^/]";const Z=V+"*?";const ee="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const te="(?:(?!(?:\\/|^)\\.).)*?";const charSet=A=>A.split("").reduce(((A,d)=>{A[d]=true;return A}),{});const re=charSet("().*{}+?[]^$\\!");const ne=charSet("[.(");const ie=/\/+/;C.filter=(A,d={})=>(p,S,v)=>C(p,A,d);const ext=(A,d={})=>{const p={};Object.keys(A).forEach((d=>p[d]=A[d]));Object.keys(d).forEach((A=>p[A]=d[A]));return p};C.defaults=A=>{if(!A||typeof A!=="object"||!Object.keys(A).length){return C}const d=C;const m=(p,C,S)=>d(p,C,ext(A,S));m.Minimatch=class Minimatch extends d.Minimatch{constructor(d,p){super(d,ext(A,p))}};m.Minimatch.defaults=p=>d.defaults(ext(A,p)).Minimatch;m.filter=(p,C)=>d.filter(p,ext(A,C));m.defaults=p=>d.defaults(ext(A,p));m.makeRe=(p,C)=>d.makeRe(p,ext(A,C));m.braceExpand=(p,C)=>d.braceExpand(p,ext(A,C));m.match=(p,C,S)=>d.match(p,C,ext(A,S));return m};C.braceExpand=(A,d)=>braceExpand(A,d);const braceExpand=(A,d={})=>{assertValidPattern(A);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(A)){return[A]}return T(A)};const se=1024*64;const assertValidPattern=A=>{if(typeof A!=="string"){throw new TypeError("invalid pattern")}if(A.length>se){throw new TypeError("pattern is too long")}};const oe=Symbol("subparse");C.makeRe=(A,d)=>new Minimatch(A,d||{}).makeRe();C.match=(A,d,p={})=>{const C=new Minimatch(d,p);A=A.filter((A=>C.match(A)));if(C.options.nonull&&!A.length){A.push(d)}return A};const globUnescape=A=>A.replace(/\\(.)/g,"$1");const charUnescape=A=>A.replace(/\\([^-\]])/g,"$1");const regExpEscape=A=>A.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const braExpEscape=A=>A.replace(/[[\]\\]/g,"\\$&");class Minimatch{constructor(A,d){assertValidPattern(A);if(!d)d={};this.options=d;this.set=[];this.pattern=A;this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.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=!!d.partial;this.make()}debug(){}make(){const A=this.pattern;const d=this.options;if(!d.nocomment&&A.charAt(0)==="#"){this.comment=true;return}if(!A){this.empty=true;return}this.parseNegate();let p=this.globSet=this.braceExpand();if(d.debug)this.debug=(...A)=>console.error(...A);this.debug(this.pattern,p);p=this.globParts=p.map((A=>A.split(ie)));this.debug(this.pattern,p);p=p.map(((A,d,p)=>A.map(this.parse,this)));this.debug(this.pattern,p);p=p.filter((A=>A.indexOf(false)===-1));this.debug(this.pattern,p);this.set=p}parseNegate(){if(this.options.nonegate)return;const A=this.pattern;let d=false;let p=0;for(let C=0;C<A.length&&A.charAt(C)==="!";C++){d=!d;p++}if(p)this.pattern=A.slice(p);this.negate=d}matchOne(A,d,p){var C=this.options;this.debug("matchOne",{this:this,file:A,pattern:d});this.debug("matchOne",A.length,d.length);for(var S=0,T=0,_=A.length,V=d.length;S<_&&T<V;S++,T++){this.debug("matchOne loop");var Z=d[T];var ee=A[S];this.debug(d,Z,ee);if(Z===false)return false;if(Z===v){this.debug("GLOBSTAR",[d,Z,ee]);var te=S;var re=T+1;if(re===V){this.debug("** at the end");for(;S<_;S++){if(A[S]==="."||A[S]===".."||!C.dot&&A[S].charAt(0)===".")return false}return true}while(te<_){var ne=A[te];this.debug("\nglobstar while",A,te,d,re,ne);if(this.matchOne(A.slice(te),d.slice(re),p)){this.debug("globstar found match!",te,_,ne);return true}else{if(ne==="."||ne===".."||!C.dot&&ne.charAt(0)==="."){this.debug("dot detected!",A,te,d,re);break}this.debug("globstar swallow a segment, and continue");te++}}if(p){this.debug("\n>>> no match, partial?",A,te,d,re);if(te===_)return true}return false}var ie;if(typeof Z==="string"){ie=ee===Z;this.debug("string match",Z,ee,ie)}else{ie=ee.match(Z);this.debug("pattern match",Z,ee,ie)}if(!ie)return false}if(S===_&&T===V){return true}else if(S===_){return p}else if(T===V){return S===_-1&&A[S]===""}throw new Error("wtf?")}braceExpand(){return braceExpand(this.pattern,this.options)}parse(A,d){assertValidPattern(A);const p=this.options;if(A==="**"){if(!p.noglobstar)return v;else A="*"}if(A==="")return"";let C="";let S=false;let T=false;const ee=[];const te=[];let ie;let se=false;let ae=-1;let le=-1;let ce;let ue;let Ae;let de=A.charAt(0)===".";let pe=p.dot||de;const patternStart=()=>de?"":pe?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const subPatternStart=A=>A.charAt(0)==="."?"":p.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const clearStateChar=()=>{if(ie){switch(ie){case"*":C+=Z;S=true;break;case"?":C+=V;S=true;break;default:C+="\\"+ie;break}this.debug("clearStateChar %j %j",ie,C);ie=false}};for(let d=0,v;d<A.length&&(v=A.charAt(d));d++){this.debug("%s\t%s %s %j",A,d,C,v);if(T){if(v==="/"){return false}if(re[v]){C+="\\"}C+=v;T=false;continue}switch(v){case"/":{return false}case"\\":if(se&&A.charAt(d+1)==="-"){C+=v;continue}clearStateChar();T=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",A,d,C,v);if(se){this.debug(" in class");if(v==="!"&&d===le+1)v="^";C+=v;continue}this.debug("call clearStateChar %j",ie);clearStateChar();ie=v;if(p.noext)clearStateChar();continue;case"(":{if(se){C+="(";continue}if(!ie){C+="\\(";continue}const p={type:ie,start:d-1,reStart:C.length,open:_[ie].open,close:_[ie].close};this.debug(this.pattern,"\t",p);ee.push(p);C+=p.open;if(p.start===0&&p.type!=="!"){de=true;C+=subPatternStart(A.slice(d+1))}this.debug("plType %j %j",ie,C);ie=false;continue}case")":{const A=ee[ee.length-1];if(se||!A){C+="\\)";continue}ee.pop();clearStateChar();S=true;ue=A;C+=ue.close;if(ue.type==="!"){te.push(Object.assign(ue,{reEnd:C.length}))}continue}case"|":{const p=ee[ee.length-1];if(se||!p){C+="\\|";continue}clearStateChar();C+="|";if(p.start===0&&p.type!=="!"){de=true;C+=subPatternStart(A.slice(d+1))}continue}case"[":clearStateChar();if(se){C+="\\"+v;continue}se=true;le=d;ae=C.length;C+=v;continue;case"]":if(d===le+1||!se){C+="\\"+v;continue}ce=A.substring(le+1,d);try{RegExp("["+braExpEscape(charUnescape(ce))+"]");C+=v}catch(A){C=C.substring(0,ae)+"(?:$.)"}S=true;se=false;continue;default:clearStateChar();if(re[v]&&!(v==="^"&&se)){C+="\\"}C+=v;break}}if(se){ce=A.slice(le+1);Ae=this.parse(ce,oe);C=C.substring(0,ae)+"\\["+Ae[0];S=S||Ae[1]}for(ue=ee.pop();ue;ue=ee.pop()){let A;A=C.slice(ue.reStart+ue.open.length);this.debug("setting tail",C,ue);A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,((A,d,p)=>{if(!p){p="\\"}return d+d+p+"|"}));this.debug("tail=%j\n %s",A,A,ue,C);const d=ue.type==="*"?Z:ue.type==="?"?V:"\\"+ue.type;S=true;C=C.slice(0,ue.reStart)+d+"\\("+A}clearStateChar();if(T){C+="\\\\"}const fe=ne[C.charAt(0)];for(let A=te.length-1;A>-1;A--){const p=te[A];const S=C.slice(0,p.reStart);const v=C.slice(p.reStart,p.reEnd-8);let T=C.slice(p.reEnd);const _=C.slice(p.reEnd-8,p.reEnd)+T;const V=S.split(")").length;const Z=S.split("(").length-V;let ee=T;for(let A=0;A<Z;A++){ee=ee.replace(/\)[+*?]?/,"")}T=ee;const re=T===""&&d!==oe?"(?:$|\\/)":"";C=S+v+T+re+_}if(C!==""&&S){C="(?=.)"+C}if(fe){C=patternStart()+C}if(d===oe){return[C,S]}if(p.nocase&&!S){S=A.toUpperCase()!==A.toLowerCase()}if(!S){return globUnescape(A)}const he=p.nocase?"i":"";try{return Object.assign(new RegExp("^"+C+"$",he),{_glob:A,_src:C})}catch(A){return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const A=this.set;if(!A.length){this.regexp=false;return this.regexp}const d=this.options;const p=d.noglobstar?Z:d.dot?ee:te;const C=d.nocase?"i":"";let S=A.map((A=>{A=A.map((A=>typeof A==="string"?regExpEscape(A):A===v?v:A._src)).reduce(((A,d)=>{if(!(A[A.length-1]===v&&d===v)){A.push(d)}return A}),[]);A.forEach(((d,C)=>{if(d!==v||A[C-1]===v){return}if(C===0){if(A.length>1){A[C+1]="(?:\\/|"+p+"\\/)?"+A[C+1]}else{A[C]=p}}else if(C===A.length-1){A[C-1]+="(?:\\/|"+p+")?"}else{A[C-1]+="(?:\\/|\\/"+p+"\\/)"+A[C+1];A[C+1]=v}}));return A.filter((A=>A!==v)).join("/")})).join("|");S="^(?:"+S+")$";if(this.negate)S="^(?!"+S+").*$";try{this.regexp=new RegExp(S,C)}catch(A){this.regexp=false}return this.regexp}match(A,d=this.partial){this.debug("match",A,this.pattern);if(this.comment)return false;if(this.empty)return A==="";if(A==="/"&&d)return true;const p=this.options;if(S.sep!=="/"){A=A.split(S.sep).join("/")}A=A.split(ie);this.debug(this.pattern,"split",A);const C=this.set;this.debug(this.pattern,"set",C);let v;for(let d=A.length-1;d>=0;d--){v=A[d];if(v)break}for(let S=0;S<C.length;S++){const T=C[S];let _=A;if(p.matchBase&&T.length===1){_=[v]}const V=this.matchOne(_,T,d);if(V){if(p.flipNegate)return true;return!this.negate}}if(p.flipNegate)return false;return this.negate}static defaults(A){return C.defaults(A).Minimatch}}C.Minimatch=Minimatch},15026:(A,d,p)=>{var C=p(16928);var S=p(79896);var v=parseInt("0777",8);A.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(A,d,p,T){if(typeof d==="function"){p=d;d={}}else if(!d||typeof d!=="object"){d={mode:d}}var _=d.mode;var V=d.fs||S;if(_===undefined){_=v}if(!T)T=null;var Z=p||function(){};A=C.resolve(A);V.mkdir(A,_,(function(p){if(!p){T=T||A;return Z(null,T)}switch(p.code){case"ENOENT":if(C.dirname(A)===A)return Z(p);mkdirP(C.dirname(A),d,(function(p,C){if(p)Z(p,C);else mkdirP(A,d,Z,C)}));break;default:V.stat(A,(function(A,d){if(A||!d.isDirectory())Z(p,T);else Z(null,T)}));break}}))}mkdirP.sync=function sync(A,d,p){if(!d||typeof d!=="object"){d={mode:d}}var T=d.mode;var _=d.fs||S;if(T===undefined){T=v}if(!p)p=null;A=C.resolve(A);try{_.mkdirSync(A,T);p=p||A}catch(S){switch(S.code){case"ENOENT":p=sync(C.dirname(A),d,p);sync(A,d,p);break;default:var V;try{V=_.statSync(A)}catch(A){throw S}if(!V.isDirectory())throw S;break}}return p}},26647:A=>{var d=1e3;var p=d*60;var C=p*60;var S=C*24;var v=S*7;var T=S*365.25;A.exports=function(A,d){d=d||{};var p=typeof A;if(p==="string"&&A.length>0){return parse(A)}else if(p==="number"&&isFinite(A)){return d.long?fmtLong(A):fmtShort(A)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(A))};function parse(A){A=String(A);if(A.length>100){return}var _=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(!_){return}var V=parseFloat(_[1]);var Z=(_[2]||"ms").toLowerCase();switch(Z){case"years":case"year":case"yrs":case"yr":case"y":return V*T;case"weeks":case"week":case"w":return V*v;case"days":case"day":case"d":return V*S;case"hours":case"hour":case"hrs":case"hr":case"h":return V*C;case"minutes":case"minute":case"mins":case"min":case"m":return V*p;case"seconds":case"second":case"secs":case"sec":case"s":return V*d;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return V;default:return undefined}}function fmtShort(A){var v=Math.abs(A);if(v>=S){return Math.round(A/S)+"d"}if(v>=C){return Math.round(A/C)+"h"}if(v>=p){return Math.round(A/p)+"m"}if(v>=d){return Math.round(A/d)+"s"}return A+"ms"}function fmtLong(A){var v=Math.abs(A);if(v>=S){return plural(A,v,S,"day")}if(v>=C){return plural(A,v,C,"hour")}if(v>=p){return plural(A,v,p,"minute")}if(v>=d){return plural(A,v,d,"second")}return A+" ms"}function plural(A,d,p,C){var S=d>=p*1.5;return Math.round(A/p)+" "+C+(S?"s":"")}},52398:A=>{
/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/
A.exports=function(A,d){if(typeof A!=="string"){throw new TypeError("expected path to be a string")}if(A==="\\"||A==="/")return"/";var p=A.length;if(p<=1)return A;var C="";if(p>4&&A[3]==="\\"){var S=A[2];if((S==="?"||S===".")&&A.slice(0,2)==="\\\\"){A=A.slice(2);C="//"}}var v=A.split(/[/\\]+/);if(d!==false&&v[v.length-1]===""){v.pop()}return C+v.join("/")}},46367:(A,d,p)=>{var C=p(16039);A.exports=C(once);A.exports.strict=C(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(A){var f=function(){if(f.called)return f.value;f.called=true;return f.value=A.apply(this,arguments)};f.called=false;return f}function onceStrict(A){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=A.apply(this,arguments)};var d=A.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;return f}},2386:A=>{const pathKey=(A={})=>{const d=A.env||process.env;const p=A.platform||process.platform;if(p!=="win32"){return"PATH"}return Object.keys(d).reverse().find((A=>A.toUpperCase()==="PATH"))||"Path"};A.exports=pathKey;A.exports["default"]=pathKey},39623:(A,d,p)=>{A.exports=p(62661)},78554:(A,d,p)=>{const C=p(16928);const S="\\\\/";const v=`[^${S}]`;const T="\\.";const _="\\+";const V="\\?";const Z="\\/";const ee="(?=.)";const te="[^/]";const re=`(?:${Z}|$)`;const ne=`(?:^|${Z})`;const ie=`${T}{1,2}${re}`;const se=`(?!${T})`;const oe=`(?!${ne}${ie})`;const ae=`(?!${T}{0,1}${re})`;const le=`(?!${ie})`;const ce=`[^.${Z}]`;const ue=`${te}*?`;const Ae={DOT_LITERAL:T,PLUS_LITERAL:_,QMARK_LITERAL:V,SLASH_LITERAL:Z,ONE_CHAR:ee,QMARK:te,END_ANCHOR:re,DOTS_SLASH:ie,NO_DOT:se,NO_DOTS:oe,NO_DOT_SLASH:ae,NO_DOTS_SLASH:le,QMARK_NO_DOT:ce,STAR:ue,START_ANCHOR:ne};const de={...Ae,SLASH_LITERAL:`[${S}]`,QMARK:v,STAR:`${v}*?`,DOTS_SLASH:`${T}{1,2}(?:[${S}]|$)`,NO_DOT:`(?!${T})`,NO_DOTS:`(?!(?:^|[${S}])${T}{1,2}(?:[${S}]|$))`,NO_DOT_SLASH:`(?!${T}{0,1}(?:[${S}]|$))`,NO_DOTS_SLASH:`(?!${T}{1,2}(?:[${S}]|$))`,QMARK_NO_DOT:`[^.${S}]`,START_ANCHOR:`(?:^|[${S}])`,END_ANCHOR:`(?:[${S}]|$)`};const pe={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};A.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:pe,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:C.sep,extglobChars(A){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${A.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(A){return A===true?de:Ae}}},26064:(A,d,p)=>{const C=p(78554);const S=p(98178);const{MAX_LENGTH:v,POSIX_REGEX_SOURCE:T,REGEX_NON_SPECIAL_CHARS:_,REGEX_SPECIAL_CHARS_BACKREF:V,REPLACEMENTS:Z}=C;const expandRange=(A,d)=>{if(typeof d.expandRange==="function"){return d.expandRange(...A,d)}A.sort();const p=`[${A.join("-")}]`;try{new RegExp(p)}catch(d){return A.map((A=>S.escapeRegex(A))).join("..")}return p};const syntaxError=(A,d)=>`Missing ${A}: "${d}" - use "\\\\${d}" to match literal characters`;const parse=(A,d)=>{if(typeof A!=="string"){throw new TypeError("Expected a string")}A=Z[A]||A;const p={...d};const ee=typeof p.maxLength==="number"?Math.min(v,p.maxLength):v;let te=A.length;if(te>ee){throw new SyntaxError(`Input length: ${te}, exceeds maximum allowed length: ${ee}`)}const re={type:"bos",value:"",output:p.prepend||""};const ne=[re];const ie=p.capture?"":"?:";const se=S.isWindows(d);const oe=C.globChars(se);const ae=C.extglobChars(oe);const{DOT_LITERAL:le,PLUS_LITERAL:ce,SLASH_LITERAL:ue,ONE_CHAR:Ae,DOTS_SLASH:de,NO_DOT:pe,NO_DOT_SLASH:fe,NO_DOTS_SLASH:he,QMARK:ge,QMARK_NO_DOT:me,STAR:ye,START_ANCHOR:Ee}=oe;const globstar=A=>`(${ie}(?:(?!${Ee}${A.dot?de:le}).)*?)`;const be=p.dot?"":pe;const Ce=p.dot?ge:me;let Be=p.bash===true?globstar(p):ye;if(p.capture){Be=`(${Be})`}if(typeof p.noext==="boolean"){p.noextglob=p.noext}const Ie={input:A,index:-1,start:0,dot:p.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:ne};A=S.removePrefix(A,Ie);te=A.length;const Se=[];const we=[];const Qe=[];let ve=re;let Re;const eos=()=>Ie.index===te-1;const Ne=Ie.peek=(d=1)=>A[Ie.index+d];const De=Ie.advance=()=>A[++Ie.index]||"";const remaining=()=>A.slice(Ie.index+1);const consume=(A="",d=0)=>{Ie.consumed+=A;Ie.index+=d};const append=A=>{Ie.output+=A.output!=null?A.output:A.value;consume(A.value)};const negate=()=>{let A=1;while(Ne()==="!"&&(Ne(2)!=="("||Ne(3)==="?")){De();Ie.start++;A++}if(A%2===0){return false}Ie.negated=true;Ie.start++;return true};const increment=A=>{Ie[A]++;Qe.push(A)};const decrement=A=>{Ie[A]--;Qe.pop()};const push=A=>{if(ve.type==="globstar"){const d=Ie.braces>0&&(A.type==="comma"||A.type==="brace");const p=A.extglob===true||Se.length&&(A.type==="pipe"||A.type==="paren");if(A.type!=="slash"&&A.type!=="paren"&&!d&&!p){Ie.output=Ie.output.slice(0,-ve.output.length);ve.type="star";ve.value="*";ve.output=Be;Ie.output+=ve.output}}if(Se.length&&A.type!=="paren"){Se[Se.length-1].inner+=A.value}if(A.value||A.output)append(A);if(ve&&ve.type==="text"&&A.type==="text"){ve.value+=A.value;ve.output=(ve.output||"")+A.value;return}A.prev=ve;ne.push(A);ve=A};const extglobOpen=(A,d)=>{const C={...ae[d],conditions:1,inner:""};C.prev=ve;C.parens=Ie.parens;C.output=Ie.output;const S=(p.capture?"(":"")+C.open;increment("parens");push({type:A,value:d,output:Ie.output?"":Ae});push({type:"paren",extglob:true,value:De(),output:S});Se.push(C)};const extglobClose=A=>{let C=A.close+(p.capture?")":"");let S;if(A.type==="negate"){let v=Be;if(A.inner&&A.inner.length>1&&A.inner.includes("/")){v=globstar(p)}if(v!==Be||eos()||/^\)+$/.test(remaining())){C=A.close=`)$))${v}`}if(A.inner.includes("*")&&(S=remaining())&&/^\.[^\\/.]+$/.test(S)){const p=parse(S,{...d,fastpaths:false}).output;C=A.close=`)${p})${v})`}if(A.prev.type==="bos"){Ie.negatedExtglob=true}}push({type:"paren",extglob:true,value:Re,output:C});decrement("parens")};if(p.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(A)){let C=false;let v=A.replace(V,((A,d,p,S,v,T)=>{if(S==="\\"){C=true;return A}if(S==="?"){if(d){return d+S+(v?ge.repeat(v.length):"")}if(T===0){return Ce+(v?ge.repeat(v.length):"")}return ge.repeat(p.length)}if(S==="."){return le.repeat(p.length)}if(S==="*"){if(d){return d+S+(v?Be:"")}return Be}return d?A:`\\${A}`}));if(C===true){if(p.unescape===true){v=v.replace(/\\/g,"")}else{v=v.replace(/\\+/g,(A=>A.length%2===0?"\\\\":A?"\\":""))}}if(v===A&&p.contains===true){Ie.output=A;return Ie}Ie.output=S.wrapOutput(v,Ie,d);return Ie}while(!eos()){Re=De();if(Re==="\0"){continue}if(Re==="\\"){const A=Ne();if(A==="/"&&p.bash!==true){continue}if(A==="."||A===";"){continue}if(!A){Re+="\\";push({type:"text",value:Re});continue}const d=/^\\+/.exec(remaining());let C=0;if(d&&d[0].length>2){C=d[0].length;Ie.index+=C;if(C%2!==0){Re+="\\"}}if(p.unescape===true){Re=De()}else{Re+=De()}if(Ie.brackets===0){push({type:"text",value:Re});continue}}if(Ie.brackets>0&&(Re!=="]"||ve.value==="["||ve.value==="[^")){if(p.posix!==false&&Re===":"){const A=ve.value.slice(1);if(A.includes("[")){ve.posix=true;if(A.includes(":")){const A=ve.value.lastIndexOf("[");const d=ve.value.slice(0,A);const p=ve.value.slice(A+2);const C=T[p];if(C){ve.value=d+C;Ie.backtrack=true;De();if(!re.output&&ne.indexOf(ve)===1){re.output=Ae}continue}}}}if(Re==="["&&Ne()!==":"||Re==="-"&&Ne()==="]"){Re=`\\${Re}`}if(Re==="]"&&(ve.value==="["||ve.value==="[^")){Re=`\\${Re}`}if(p.posix===true&&Re==="!"&&ve.value==="["){Re="^"}ve.value+=Re;append({value:Re});continue}if(Ie.quotes===1&&Re!=='"'){Re=S.escapeRegex(Re);ve.value+=Re;append({value:Re});continue}if(Re==='"'){Ie.quotes=Ie.quotes===1?0:1;if(p.keepQuotes===true){push({type:"text",value:Re})}continue}if(Re==="("){increment("parens");push({type:"paren",value:Re});continue}if(Re===")"){if(Ie.parens===0&&p.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const A=Se[Se.length-1];if(A&&Ie.parens===A.parens+1){extglobClose(Se.pop());continue}push({type:"paren",value:Re,output:Ie.parens?")":"\\)"});decrement("parens");continue}if(Re==="["){if(p.nobracket===true||!remaining().includes("]")){if(p.nobracket!==true&&p.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}Re=`\\${Re}`}else{increment("brackets")}push({type:"bracket",value:Re});continue}if(Re==="]"){if(p.nobracket===true||ve&&ve.type==="bracket"&&ve.value.length===1){push({type:"text",value:Re,output:`\\${Re}`});continue}if(Ie.brackets===0){if(p.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:Re,output:`\\${Re}`});continue}decrement("brackets");const A=ve.value.slice(1);if(ve.posix!==true&&A[0]==="^"&&!A.includes("/")){Re=`/${Re}`}ve.value+=Re;append({value:Re});if(p.literalBrackets===false||S.hasRegexChars(A)){continue}const d=S.escapeRegex(ve.value);Ie.output=Ie.output.slice(0,-ve.value.length);if(p.literalBrackets===true){Ie.output+=d;ve.value=d;continue}ve.value=`(${ie}${d}|${ve.value})`;Ie.output+=ve.value;continue}if(Re==="{"&&p.nobrace!==true){increment("braces");const A={type:"brace",value:Re,output:"(",outputIndex:Ie.output.length,tokensIndex:Ie.tokens.length};we.push(A);push(A);continue}if(Re==="}"){const A=we[we.length-1];if(p.nobrace===true||!A){push({type:"text",value:Re,output:Re});continue}let d=")";if(A.dots===true){const A=ne.slice();const C=[];for(let d=A.length-1;d>=0;d--){ne.pop();if(A[d].type==="brace"){break}if(A[d].type!=="dots"){C.unshift(A[d].value)}}d=expandRange(C,p);Ie.backtrack=true}if(A.comma!==true&&A.dots!==true){const p=Ie.output.slice(0,A.outputIndex);const C=Ie.tokens.slice(A.tokensIndex);A.value=A.output="\\{";Re=d="\\}";Ie.output=p;for(const A of C){Ie.output+=A.output||A.value}}push({type:"brace",value:Re,output:d});decrement("braces");we.pop();continue}if(Re==="|"){if(Se.length>0){Se[Se.length-1].conditions++}push({type:"text",value:Re});continue}if(Re===","){let A=Re;const d=we[we.length-1];if(d&&Qe[Qe.length-1]==="braces"){d.comma=true;A="|"}push({type:"comma",value:Re,output:A});continue}if(Re==="/"){if(ve.type==="dot"&&Ie.index===Ie.start+1){Ie.start=Ie.index+1;Ie.consumed="";Ie.output="";ne.pop();ve=re;continue}push({type:"slash",value:Re,output:ue});continue}if(Re==="."){if(Ie.braces>0&&ve.type==="dot"){if(ve.value===".")ve.output=le;const A=we[we.length-1];ve.type="dots";ve.output+=Re;ve.value+=Re;A.dots=true;continue}if(Ie.braces+Ie.parens===0&&ve.type!=="bos"&&ve.type!=="slash"){push({type:"text",value:Re,output:le});continue}push({type:"dot",value:Re,output:le});continue}if(Re==="?"){const A=ve&&ve.value==="(";if(!A&&p.noextglob!==true&&Ne()==="("&&Ne(2)!=="?"){extglobOpen("qmark",Re);continue}if(ve&&ve.type==="paren"){const A=Ne();let d=Re;if(A==="<"&&!S.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(ve.value==="("&&!/[!=<:]/.test(A)||A==="<"&&!/<([!=]|\w+>)/.test(remaining())){d=`\\${Re}`}push({type:"text",value:Re,output:d});continue}if(p.dot!==true&&(ve.type==="slash"||ve.type==="bos")){push({type:"qmark",value:Re,output:me});continue}push({type:"qmark",value:Re,output:ge});continue}if(Re==="!"){if(p.noextglob!==true&&Ne()==="("){if(Ne(2)!=="?"||!/[!=<:]/.test(Ne(3))){extglobOpen("negate",Re);continue}}if(p.nonegate!==true&&Ie.index===0){negate();continue}}if(Re==="+"){if(p.noextglob!==true&&Ne()==="("&&Ne(2)!=="?"){extglobOpen("plus",Re);continue}if(ve&&ve.value==="("||p.regex===false){push({type:"plus",value:Re,output:ce});continue}if(ve&&(ve.type==="bracket"||ve.type==="paren"||ve.type==="brace")||Ie.parens>0){push({type:"plus",value:Re});continue}push({type:"plus",value:ce});continue}if(Re==="@"){if(p.noextglob!==true&&Ne()==="("&&Ne(2)!=="?"){push({type:"at",extglob:true,value:Re,output:""});continue}push({type:"text",value:Re});continue}if(Re!=="*"){if(Re==="$"||Re==="^"){Re=`\\${Re}`}const A=_.exec(remaining());if(A){Re+=A[0];Ie.index+=A[0].length}push({type:"text",value:Re});continue}if(ve&&(ve.type==="globstar"||ve.star===true)){ve.type="star";ve.star=true;ve.value+=Re;ve.output=Be;Ie.backtrack=true;Ie.globstar=true;consume(Re);continue}let d=remaining();if(p.noextglob!==true&&/^\([^?]/.test(d)){extglobOpen("star",Re);continue}if(ve.type==="star"){if(p.noglobstar===true){consume(Re);continue}const C=ve.prev;const S=C.prev;const v=C.type==="slash"||C.type==="bos";const T=S&&(S.type==="star"||S.type==="globstar");if(p.bash===true&&(!v||d[0]&&d[0]!=="/")){push({type:"star",value:Re,output:""});continue}const _=Ie.braces>0&&(C.type==="comma"||C.type==="brace");const V=Se.length&&(C.type==="pipe"||C.type==="paren");if(!v&&C.type!=="paren"&&!_&&!V){push({type:"star",value:Re,output:""});continue}while(d.slice(0,3)==="/**"){const p=A[Ie.index+4];if(p&&p!=="/"){break}d=d.slice(3);consume("/**",3)}if(C.type==="bos"&&eos()){ve.type="globstar";ve.value+=Re;ve.output=globstar(p);Ie.output=ve.output;Ie.globstar=true;consume(Re);continue}if(C.type==="slash"&&C.prev.type!=="bos"&&!T&&eos()){Ie.output=Ie.output.slice(0,-(C.output+ve.output).length);C.output=`(?:${C.output}`;ve.type="globstar";ve.output=globstar(p)+(p.strictSlashes?")":"|$)");ve.value+=Re;Ie.globstar=true;Ie.output+=C.output+ve.output;consume(Re);continue}if(C.type==="slash"&&C.prev.type!=="bos"&&d[0]==="/"){const A=d[1]!==void 0?"|$":"";Ie.output=Ie.output.slice(0,-(C.output+ve.output).length);C.output=`(?:${C.output}`;ve.type="globstar";ve.output=`${globstar(p)}${ue}|${ue}${A})`;ve.value+=Re;Ie.output+=C.output+ve.output;Ie.globstar=true;consume(Re+De());push({type:"slash",value:"/",output:""});continue}if(C.type==="bos"&&d[0]==="/"){ve.type="globstar";ve.value+=Re;ve.output=`(?:^|${ue}|${globstar(p)}${ue})`;Ie.output=ve.output;Ie.globstar=true;consume(Re+De());push({type:"slash",value:"/",output:""});continue}Ie.output=Ie.output.slice(0,-ve.output.length);ve.type="globstar";ve.output=globstar(p);ve.value+=Re;Ie.output+=ve.output;Ie.globstar=true;consume(Re);continue}const C={type:"star",value:Re,output:Be};if(p.bash===true){C.output=".*?";if(ve.type==="bos"||ve.type==="slash"){C.output=be+C.output}push(C);continue}if(ve&&(ve.type==="bracket"||ve.type==="paren")&&p.regex===true){C.output=Re;push(C);continue}if(Ie.index===Ie.start||ve.type==="slash"||ve.type==="dot"){if(ve.type==="dot"){Ie.output+=fe;ve.output+=fe}else if(p.dot===true){Ie.output+=he;ve.output+=he}else{Ie.output+=be;ve.output+=be}if(Ne()!=="*"){Ie.output+=Ae;ve.output+=Ae}}push(C)}while(Ie.brackets>0){if(p.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));Ie.output=S.escapeLast(Ie.output,"[");decrement("brackets")}while(Ie.parens>0){if(p.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));Ie.output=S.escapeLast(Ie.output,"(");decrement("parens")}while(Ie.braces>0){if(p.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));Ie.output=S.escapeLast(Ie.output,"{");decrement("braces")}if(p.strictSlashes!==true&&(ve.type==="star"||ve.type==="bracket")){push({type:"maybe_slash",value:"",output:`${ue}?`})}if(Ie.backtrack===true){Ie.output="";for(const A of Ie.tokens){Ie.output+=A.output!=null?A.output:A.value;if(A.suffix){Ie.output+=A.suffix}}}return Ie};parse.fastpaths=(A,d)=>{const p={...d};const T=typeof p.maxLength==="number"?Math.min(v,p.maxLength):v;const _=A.length;if(_>T){throw new SyntaxError(`Input length: ${_}, exceeds maximum allowed length: ${T}`)}A=Z[A]||A;const V=S.isWindows(d);const{DOT_LITERAL:ee,SLASH_LITERAL:te,ONE_CHAR:re,DOTS_SLASH:ne,NO_DOT:ie,NO_DOTS:se,NO_DOTS_SLASH:oe,STAR:ae,START_ANCHOR:le}=C.globChars(V);const ce=p.dot?se:ie;const ue=p.dot?oe:ie;const Ae=p.capture?"":"?:";const de={negated:false,prefix:""};let pe=p.bash===true?".*?":ae;if(p.capture){pe=`(${pe})`}const globstar=A=>{if(A.noglobstar===true)return pe;return`(${Ae}(?:(?!${le}${A.dot?ne:ee}).)*?)`};const create=A=>{switch(A){case"*":return`${ce}${re}${pe}`;case".*":return`${ee}${re}${pe}`;case"*.*":return`${ce}${pe}${ee}${re}${pe}`;case"*/*":return`${ce}${pe}${te}${re}${ue}${pe}`;case"**":return ce+globstar(p);case"**/*":return`(?:${ce}${globstar(p)}${te})?${ue}${re}${pe}`;case"**/*.*":return`(?:${ce}${globstar(p)}${te})?${ue}${pe}${ee}${re}${pe}`;case"**/.*":return`(?:${ce}${globstar(p)}${te})?${ee}${re}${pe}`;default:{const d=/^(.*?)\.(\w+)$/.exec(A);if(!d)return;const p=create(d[1]);if(!p)return;return p+ee+d[2]}}};const fe=S.removePrefix(A,de);let he=create(fe);if(he&&p.strictSlashes!==true){he+=`${te}?`}return he};A.exports=parse},62661:(A,d,p)=>{const C=p(16928);const S=p(54870);const v=p(26064);const T=p(98178);const _=p(78554);const isObject=A=>A&&typeof A==="object"&&!Array.isArray(A);const picomatch=(A,d,p=false)=>{if(Array.isArray(A)){const C=A.map((A=>picomatch(A,d,p)));const arrayMatcher=A=>{for(const d of C){const p=d(A);if(p)return p}return false};return arrayMatcher}const C=isObject(A)&&A.tokens&&A.input;if(A===""||typeof A!=="string"&&!C){throw new TypeError("Expected pattern to be a non-empty string")}const S=d||{};const v=T.isWindows(d);const _=C?picomatch.compileRe(A,d):picomatch.makeRe(A,d,false,true);const V=_.state;delete _.state;let isIgnored=()=>false;if(S.ignore){const A={...d,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(S.ignore,A,p)}const matcher=(p,C=false)=>{const{isMatch:T,match:Z,output:ee}=picomatch.test(p,_,d,{glob:A,posix:v});const te={glob:A,state:V,regex:_,posix:v,input:p,output:ee,match:Z,isMatch:T};if(typeof S.onResult==="function"){S.onResult(te)}if(T===false){te.isMatch=false;return C?te:false}if(isIgnored(p)){if(typeof S.onIgnore==="function"){S.onIgnore(te)}te.isMatch=false;return C?te:false}if(typeof S.onMatch==="function"){S.onMatch(te)}return C?te:true};if(p){matcher.state=V}return matcher};picomatch.test=(A,d,p,{glob:C,posix:S}={})=>{if(typeof A!=="string"){throw new TypeError("Expected input to be a string")}if(A===""){return{isMatch:false,output:""}}const v=p||{};const _=v.format||(S?T.toPosixSlashes:null);let V=A===C;let Z=V&&_?_(A):A;if(V===false){Z=_?_(A):A;V=Z===C}if(V===false||v.capture===true){if(v.matchBase===true||v.basename===true){V=picomatch.matchBase(A,d,p,S)}else{V=d.exec(Z)}}return{isMatch:Boolean(V),match:V,output:Z}};picomatch.matchBase=(A,d,p,S=T.isWindows(p))=>{const v=d instanceof RegExp?d:picomatch.makeRe(d,p);return v.test(C.basename(A))};picomatch.isMatch=(A,d,p)=>picomatch(d,p)(A);picomatch.parse=(A,d)=>{if(Array.isArray(A))return A.map((A=>picomatch.parse(A,d)));return v(A,{...d,fastpaths:false})};picomatch.scan=(A,d)=>S(A,d);picomatch.compileRe=(A,d,p=false,C=false)=>{if(p===true){return A.output}const S=d||{};const v=S.contains?"":"^";const T=S.contains?"":"$";let _=`${v}(?:${A.output})${T}`;if(A&&A.negated===true){_=`^(?!${_}).*$`}const V=picomatch.toRegex(_,d);if(C===true){V.state=A}return V};picomatch.makeRe=(A,d={},p=false,C=false)=>{if(!A||typeof A!=="string"){throw new TypeError("Expected a non-empty string")}let S={negated:false,fastpaths:true};if(d.fastpaths!==false&&(A[0]==="."||A[0]==="*")){S.output=v.fastpaths(A,d)}if(!S.output){S=v(A,d)}return picomatch.compileRe(S,d,p,C)};picomatch.toRegex=(A,d)=>{try{const p=d||{};return new RegExp(A,p.flags||(p.nocase?"i":""))}catch(A){if(d&&d.debug===true)throw A;return/$^/}};picomatch.constants=_;A.exports=picomatch},54870:(A,d,p)=>{const C=p(98178);const{CHAR_ASTERISK:S,CHAR_AT:v,CHAR_BACKWARD_SLASH:T,CHAR_COMMA:_,CHAR_DOT:V,CHAR_EXCLAMATION_MARK:Z,CHAR_FORWARD_SLASH:ee,CHAR_LEFT_CURLY_BRACE:te,CHAR_LEFT_PARENTHESES:re,CHAR_LEFT_SQUARE_BRACKET:ne,CHAR_PLUS:ie,CHAR_QUESTION_MARK:se,CHAR_RIGHT_CURLY_BRACE:oe,CHAR_RIGHT_PARENTHESES:ae,CHAR_RIGHT_SQUARE_BRACKET:le}=p(78554);const isPathSeparator=A=>A===ee||A===T;const depth=A=>{if(A.isPrefix!==true){A.depth=A.isGlobstar?Infinity:1}};const scan=(A,d)=>{const p=d||{};const ce=A.length-1;const ue=p.parts===true||p.scanToEnd===true;const Ae=[];const de=[];const pe=[];let fe=A;let he=-1;let ge=0;let me=0;let ye=false;let Ee=false;let be=false;let Ce=false;let Be=false;let Ie=false;let Se=false;let we=false;let Qe=false;let ve=false;let Re=0;let Ne;let De;let xe={value:"",depth:0,isGlob:false};const eos=()=>he>=ce;const peek=()=>fe.charCodeAt(he+1);const advance=()=>{Ne=De;return fe.charCodeAt(++he)};while(he<ce){De=advance();let A;if(De===T){Se=xe.backslashes=true;De=advance();if(De===te){Ie=true}continue}if(Ie===true||De===te){Re++;while(eos()!==true&&(De=advance())){if(De===T){Se=xe.backslashes=true;advance();continue}if(De===te){Re++;continue}if(Ie!==true&&De===V&&(De=advance())===V){ye=xe.isBrace=true;be=xe.isGlob=true;ve=true;if(ue===true){continue}break}if(Ie!==true&&De===_){ye=xe.isBrace=true;be=xe.isGlob=true;ve=true;if(ue===true){continue}break}if(De===oe){Re--;if(Re===0){Ie=false;ye=xe.isBrace=true;ve=true;break}}}if(ue===true){continue}break}if(De===ee){Ae.push(he);de.push(xe);xe={value:"",depth:0,isGlob:false};if(ve===true)continue;if(Ne===V&&he===ge+1){ge+=2;continue}me=he+1;continue}if(p.noext!==true){const A=De===ie||De===v||De===S||De===se||De===Z;if(A===true&&peek()===re){be=xe.isGlob=true;Ce=xe.isExtglob=true;ve=true;if(De===Z&&he===ge){Qe=true}if(ue===true){while(eos()!==true&&(De=advance())){if(De===T){Se=xe.backslashes=true;De=advance();continue}if(De===ae){be=xe.isGlob=true;ve=true;break}}continue}break}}if(De===S){if(Ne===S)Be=xe.isGlobstar=true;be=xe.isGlob=true;ve=true;if(ue===true){continue}break}if(De===se){be=xe.isGlob=true;ve=true;if(ue===true){continue}break}if(De===ne){while(eos()!==true&&(A=advance())){if(A===T){Se=xe.backslashes=true;advance();continue}if(A===le){Ee=xe.isBracket=true;be=xe.isGlob=true;ve=true;break}}if(ue===true){continue}break}if(p.nonegate!==true&&De===Z&&he===ge){we=xe.negated=true;ge++;continue}if(p.noparen!==true&&De===re){be=xe.isGlob=true;if(ue===true){while(eos()!==true&&(De=advance())){if(De===re){Se=xe.backslashes=true;De=advance();continue}if(De===ae){ve=true;break}}continue}break}if(be===true){ve=true;if(ue===true){continue}break}}if(p.noext===true){Ce=false;be=false}let Te=fe;let _e="";let Pe="";if(ge>0){_e=fe.slice(0,ge);fe=fe.slice(ge);me-=ge}if(Te&&be===true&&me>0){Te=fe.slice(0,me);Pe=fe.slice(me)}else if(be===true){Te="";Pe=fe}else{Te=fe}if(Te&&Te!==""&&Te!=="/"&&Te!==fe){if(isPathSeparator(Te.charCodeAt(Te.length-1))){Te=Te.slice(0,-1)}}if(p.unescape===true){if(Pe)Pe=C.removeBackslashes(Pe);if(Te&&Se===true){Te=C.removeBackslashes(Te)}}const ke={prefix:_e,input:A,start:ge,base:Te,glob:Pe,isBrace:ye,isBracket:Ee,isGlob:be,isExtglob:Ce,isGlobstar:Be,negated:we,negatedExtglob:Qe};if(p.tokens===true){ke.maxDepth=0;if(!isPathSeparator(De)){de.push(xe)}ke.tokens=de}if(p.parts===true||p.tokens===true){let d;for(let C=0;C<Ae.length;C++){const S=d?d+1:ge;const v=Ae[C];const T=A.slice(S,v);if(p.tokens){if(C===0&&ge!==0){de[C].isPrefix=true;de[C].value=_e}else{de[C].value=T}depth(de[C]);ke.maxDepth+=de[C].depth}if(C!==0||T!==""){pe.push(T)}d=v}if(d&&d+1<A.length){const C=A.slice(d+1);pe.push(C);if(p.tokens){de[de.length-1].value=C;depth(de[de.length-1]);ke.maxDepth+=de[de.length-1].depth}}ke.slashes=Ae;ke.parts=pe}return ke};A.exports=scan},98178:(A,d,p)=>{const C=p(16928);const S=process.platform==="win32";const{REGEX_BACKSLASH:v,REGEX_REMOVE_BACKSLASH:T,REGEX_SPECIAL_CHARS:_,REGEX_SPECIAL_CHARS_GLOBAL:V}=p(78554);d.isObject=A=>A!==null&&typeof A==="object"&&!Array.isArray(A);d.hasRegexChars=A=>_.test(A);d.isRegexChar=A=>A.length===1&&d.hasRegexChars(A);d.escapeRegex=A=>A.replace(V,"\\$1");d.toPosixSlashes=A=>A.replace(v,"/");d.removeBackslashes=A=>A.replace(T,(A=>A==="\\"?"":A));d.supportsLookbehinds=()=>{const A=process.version.slice(1).split(".").map(Number);if(A.length===3&&A[0]>=9||A[0]===8&&A[1]>=10){return true}return false};d.isWindows=A=>{if(A&&typeof A.windows==="boolean"){return A.windows}return S===true||C.sep==="\\"};d.escapeLast=(A,p,C)=>{const S=A.lastIndexOf(p,C);if(S===-1)return A;if(A[S-1]==="\\")return d.escapeLast(A,p,S-1);return`${A.slice(0,S)}\\${A.slice(S)}`};d.removePrefix=(A,d={})=>{let p=A;if(p.startsWith("./")){p=p.slice(2);d.prefix="./"}return p};d.wrapOutput=(A,d={},p={})=>{const C=p.contains?"":"^";const S=p.contains?"":"$";let v=`${C}(?:${A})${S}`;if(d.negated===true){v=`(?:^(?!${v}).*$)`}return v}},61710:A=>{if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){A.exports={nextTick:nextTick}}else{A.exports=process}function nextTick(A,d,p,C){if(typeof A!=="function"){throw new TypeError('"callback" argument must be a function')}var S=arguments.length;var v,T;switch(S){case 0:case 1:return process.nextTick(A);case 2:return process.nextTick((function afterTickOne(){A.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){A.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){A.call(null,d,p,C)}));default:v=new Array(S-1);T=0;while(T<v.length){v[T++]=arguments[T]}return process.nextTick((function afterTick(){A.apply(null,v)}))}}},50180:A=>{A.exports=global.process},90033:A=>{
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
let d;A.exports=typeof queueMicrotask==="function"?queueMicrotask.bind(typeof window!=="undefined"?window:global):A=>(d||(d=Promise.resolve())).then(A).catch((A=>setTimeout((()=>{throw A}),0)))},7354:(A,d,p)=>{var C=p(61710);var S=Object.keys||function(A){var d=[];for(var p in A){d.push(p)}return d};A.exports=Duplex;var v=Object.create(p(22465));v.inherits=p(76153);var T=p(97576);var _=p(2232);v.inherits(Duplex,T);{var V=S(_.prototype);for(var Z=0;Z<V.length;Z++){var ee=V[Z];if(!Duplex.prototype[ee])Duplex.prototype[ee]=_.prototype[ee]}}function Duplex(A){if(!(this instanceof Duplex))return new Duplex(A);T.call(this,A);_.call(this,A);if(A&&A.readable===false)this.readable=false;if(A&&A.writable===false)this.writable=false;this.allowHalfOpen=true;if(A&&A.allowHalfOpen===false)this.allowHalfOpen=false;this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function onend(){if(this.allowHalfOpen||this._writableState.ended)return;C.nextTick(onEndNT,this)}function onEndNT(A){A.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function(A){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=A;this._writableState.destroyed=A}});Duplex.prototype._destroy=function(A,d){this.push(null);this.end();C.nextTick(d,A)}},96348:(A,d,p)=>{A.exports=PassThrough;var C=p(34278);var S=Object.create(p(22465));S.inherits=p(76153);S.inherits(PassThrough,C);function PassThrough(A){if(!(this instanceof PassThrough))return new PassThrough(A);C.call(this,A)}PassThrough.prototype._transform=function(A,d,p){p(null,A)}},97576:(A,d,p)=>{var C=p(61710);A.exports=Readable;var S=p(92012);var v;Readable.ReadableState=ReadableState;var T=p(24434).EventEmitter;var EElistenerCount=function(A,d){return A.listeners(d).length};var _=p(94324);var V=p(79253).Buffer;var Z=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(A){return V.from(A)}function _isUint8Array(A){return V.isBuffer(A)||A instanceof Z}var ee=Object.create(p(22465));ee.inherits=p(76153);var te=p(39023);var re=void 0;if(te&&te.debuglog){re=te.debuglog("stream")}else{re=function(){}}var ne=p(65866);var ie=p(83716);var se;ee.inherits(Readable,_);var oe=["error","close","destroy","pause","resume"];function prependListener(A,d,p){if(typeof A.prependListener==="function")return A.prependListener(d,p);if(!A._events||!A._events[d])A.on(d,p);else if(S(A._events[d]))A._events[d].unshift(p);else A._events[d]=[p,A._events[d]]}function ReadableState(A,d){v=v||p(7354);A=A||{};var C=d instanceof v;this.objectMode=!!A.objectMode;if(C)this.objectMode=this.objectMode||!!A.readableObjectMode;var S=A.highWaterMark;var T=A.readableHighWaterMark;var _=this.objectMode?16:16*1024;if(S||S===0)this.highWaterMark=S;else if(C&&(T||T===0))this.highWaterMark=T;else this.highWaterMark=_;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new ne;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=A.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(A.encoding){if(!se)se=p(8112).I;this.decoder=new se(A.encoding);this.encoding=A.encoding}}function Readable(A){v=v||p(7354);if(!(this instanceof Readable))return new Readable(A);this._readableState=new ReadableState(A,this);this.readable=true;if(A){if(typeof A.read==="function")this._read=A.read;if(typeof A.destroy==="function")this._destroy=A.destroy}_.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(A){if(!this._readableState){return}this._readableState.destroyed=A}});Readable.prototype.destroy=ie.destroy;Readable.prototype._undestroy=ie.undestroy;Readable.prototype._destroy=function(A,d){this.push(null);d(A)};Readable.prototype.push=function(A,d){var p=this._readableState;var C;if(!p.objectMode){if(typeof A==="string"){d=d||p.defaultEncoding;if(d!==p.encoding){A=V.from(A,d);d=""}C=true}}else{C=true}return readableAddChunk(this,A,d,false,C)};Readable.prototype.unshift=function(A){return readableAddChunk(this,A,null,true,false)};function readableAddChunk(A,d,p,C,S){var v=A._readableState;if(d===null){v.reading=false;onEofChunk(A,v)}else{var T;if(!S)T=chunkInvalid(v,d);if(T){A.emit("error",T)}else if(v.objectMode||d&&d.length>0){if(typeof d!=="string"&&!v.objectMode&&Object.getPrototypeOf(d)!==V.prototype){d=_uint8ArrayToBuffer(d)}if(C){if(v.endEmitted)A.emit("error",new Error("stream.unshift() after end event"));else addChunk(A,v,d,true)}else if(v.ended){A.emit("error",new Error("stream.push() after EOF"))}else{v.reading=false;if(v.decoder&&!p){d=v.decoder.write(d);if(v.objectMode||d.length!==0)addChunk(A,v,d,false);else maybeReadMore(A,v)}else{addChunk(A,v,d,false)}}}else if(!C){v.reading=false}}return needMoreData(v)}function addChunk(A,d,p,C){if(d.flowing&&d.length===0&&!d.sync){A.emit("data",p);A.read(0)}else{d.length+=d.objectMode?1:p.length;if(C)d.buffer.unshift(p);else d.buffer.push(p);if(d.needReadable)emitReadable(A)}maybeReadMore(A,d)}function chunkInvalid(A,d){var p;if(!_isUint8Array(d)&&typeof d!=="string"&&d!==undefined&&!A.objectMode){p=new TypeError("Invalid non-string/buffer chunk")}return p}function needMoreData(A){return!A.ended&&(A.needReadable||A.length<A.highWaterMark||A.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(A){if(!se)se=p(8112).I;this._readableState.decoder=new se(A);this._readableState.encoding=A;return this};var ae=8388608;function computeNewHighWaterMark(A){if(A>=ae){A=ae}else{A--;A|=A>>>1;A|=A>>>2;A|=A>>>4;A|=A>>>8;A|=A>>>16;A++}return A}function howMuchToRead(A,d){if(A<=0||d.length===0&&d.ended)return 0;if(d.objectMode)return 1;if(A!==A){if(d.flowing&&d.length)return d.buffer.head.data.length;else return d.length}if(A>d.highWaterMark)d.highWaterMark=computeNewHighWaterMark(A);if(A<=d.length)return A;if(!d.ended){d.needReadable=true;return 0}return d.length}Readable.prototype.read=function(A){re("read",A);A=parseInt(A,10);var d=this._readableState;var p=A;if(A!==0)d.emittedReadable=false;if(A===0&&d.needReadable&&(d.length>=d.highWaterMark||d.ended)){re("read: emitReadable",d.length,d.ended);if(d.length===0&&d.ended)endReadable(this);else emitReadable(this);return null}A=howMuchToRead(A,d);if(A===0&&d.ended){if(d.length===0)endReadable(this);return null}var C=d.needReadable;re("need readable",C);if(d.length===0||d.length-A<d.highWaterMark){C=true;re("length less than watermark",C)}if(d.ended||d.reading){C=false;re("reading or ended",C)}else if(C){re("do read");d.reading=true;d.sync=true;if(d.length===0)d.needReadable=true;this._read(d.highWaterMark);d.sync=false;if(!d.reading)A=howMuchToRead(p,d)}var S;if(A>0)S=fromList(A,d);else S=null;if(S===null){d.needReadable=true;A=0}else{d.length-=A}if(d.length===0){if(!d.ended)d.needReadable=true;if(p!==A&&d.ended)endReadable(this)}if(S!==null)this.emit("data",S);return S};function onEofChunk(A,d){if(d.ended)return;if(d.decoder){var p=d.decoder.end();if(p&&p.length){d.buffer.push(p);d.length+=d.objectMode?1:p.length}}d.ended=true;emitReadable(A)}function emitReadable(A){var d=A._readableState;d.needReadable=false;if(!d.emittedReadable){re("emitReadable",d.flowing);d.emittedReadable=true;if(d.sync)C.nextTick(emitReadable_,A);else emitReadable_(A)}}function emitReadable_(A){re("emit readable");A.emit("readable");flow(A)}function maybeReadMore(A,d){if(!d.readingMore){d.readingMore=true;C.nextTick(maybeReadMore_,A,d)}}function maybeReadMore_(A,d){var p=d.length;while(!d.reading&&!d.flowing&&!d.ended&&d.length<d.highWaterMark){re("maybeReadMore read 0");A.read(0);if(p===d.length)break;else p=d.length}d.readingMore=false}Readable.prototype._read=function(A){this.emit("error",new Error("_read() is not implemented"))};Readable.prototype.pipe=function(A,d){var p=this;var S=this._readableState;switch(S.pipesCount){case 0:S.pipes=A;break;case 1:S.pipes=[S.pipes,A];break;default:S.pipes.push(A);break}S.pipesCount+=1;re("pipe count=%d opts=%j",S.pipesCount,d);var v=(!d||d.end!==false)&&A!==process.stdout&&A!==process.stderr;var T=v?onend:unpipe;if(S.endEmitted)C.nextTick(T);else p.once("end",T);A.on("unpipe",onunpipe);function onunpipe(A,d){re("onunpipe");if(A===p){if(d&&d.hasUnpiped===false){d.hasUnpiped=true;cleanup()}}}function onend(){re("onend");A.end()}var _=pipeOnDrain(p);A.on("drain",_);var V=false;function cleanup(){re("cleanup");A.removeListener("close",onclose);A.removeListener("finish",onfinish);A.removeListener("drain",_);A.removeListener("error",onerror);A.removeListener("unpipe",onunpipe);p.removeListener("end",onend);p.removeListener("end",unpipe);p.removeListener("data",ondata);V=true;if(S.awaitDrain&&(!A._writableState||A._writableState.needDrain))_()}var Z=false;p.on("data",ondata);function ondata(d){re("ondata");Z=false;var C=A.write(d);if(false===C&&!Z){if((S.pipesCount===1&&S.pipes===A||S.pipesCount>1&&indexOf(S.pipes,A)!==-1)&&!V){re("false write response, pause",S.awaitDrain);S.awaitDrain++;Z=true}p.pause()}}function onerror(d){re("onerror",d);unpipe();A.removeListener("error",onerror);if(EElistenerCount(A,"error")===0)A.emit("error",d)}prependListener(A,"error",onerror);function onclose(){A.removeListener("finish",onfinish);unpipe()}A.once("close",onclose);function onfinish(){re("onfinish");A.removeListener("close",onclose);unpipe()}A.once("finish",onfinish);function unpipe(){re("unpipe");p.unpipe(A)}A.emit("pipe",p);if(!S.flowing){re("pipe resume");p.resume()}return A};function pipeOnDrain(A){return function(){var d=A._readableState;re("pipeOnDrain",d.awaitDrain);if(d.awaitDrain)d.awaitDrain--;if(d.awaitDrain===0&&EElistenerCount(A,"data")){d.flowing=true;flow(A)}}}Readable.prototype.unpipe=function(A){var d=this._readableState;var p={hasUnpiped:false};if(d.pipesCount===0)return this;if(d.pipesCount===1){if(A&&A!==d.pipes)return this;if(!A)A=d.pipes;d.pipes=null;d.pipesCount=0;d.flowing=false;if(A)A.emit("unpipe",this,p);return this}if(!A){var C=d.pipes;var S=d.pipesCount;d.pipes=null;d.pipesCount=0;d.flowing=false;for(var v=0;v<S;v++){C[v].emit("unpipe",this,{hasUnpiped:false})}return this}var T=indexOf(d.pipes,A);if(T===-1)return this;d.pipes.splice(T,1);d.pipesCount-=1;if(d.pipesCount===1)d.pipes=d.pipes[0];A.emit("unpipe",this,p);return this};Readable.prototype.on=function(A,d){var p=_.prototype.on.call(this,A,d);if(A==="data"){if(this._readableState.flowing!==false)this.resume()}else if(A==="readable"){var S=this._readableState;if(!S.endEmitted&&!S.readableListening){S.readableListening=S.needReadable=true;S.emittedReadable=false;if(!S.reading){C.nextTick(nReadingNextTick,this)}else if(S.length){emitReadable(this)}}}return p};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(A){re("readable nexttick read 0");A.read(0)}Readable.prototype.resume=function(){var A=this._readableState;if(!A.flowing){re("resume");A.flowing=true;resume(this,A)}return this};function resume(A,d){if(!d.resumeScheduled){d.resumeScheduled=true;C.nextTick(resume_,A,d)}}function resume_(A,d){if(!d.reading){re("resume read 0");A.read(0)}d.resumeScheduled=false;d.awaitDrain=0;A.emit("resume");flow(A);if(d.flowing&&!d.reading)A.read(0)}Readable.prototype.pause=function(){re("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){re("pause");this._readableState.flowing=false;this.emit("pause")}return this};function flow(A){var d=A._readableState;re("flow",d.flowing);while(d.flowing&&A.read()!==null){}}Readable.prototype.wrap=function(A){var d=this;var p=this._readableState;var C=false;A.on("end",(function(){re("wrapped end");if(p.decoder&&!p.ended){var A=p.decoder.end();if(A&&A.length)d.push(A)}d.push(null)}));A.on("data",(function(S){re("wrapped data");if(p.decoder)S=p.decoder.write(S);if(p.objectMode&&(S===null||S===undefined))return;else if(!p.objectMode&&(!S||!S.length))return;var v=d.push(S);if(!v){C=true;A.pause()}}));for(var S in A){if(this[S]===undefined&&typeof A[S]==="function"){this[S]=function(d){return function(){return A[d].apply(A,arguments)}}(S)}}for(var v=0;v<oe.length;v++){A.on(oe[v],this.emit.bind(this,oe[v]))}this._read=function(d){re("wrapped _read",d);if(C){C=false;A.resume()}};return this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(A,d){if(d.length===0)return null;var p;if(d.objectMode)p=d.buffer.shift();else if(!A||A>=d.length){if(d.decoder)p=d.buffer.join("");else if(d.buffer.length===1)p=d.buffer.head.data;else p=d.buffer.concat(d.length);d.buffer.clear()}else{p=fromListPartial(A,d.buffer,d.decoder)}return p}function fromListPartial(A,d,p){var C;if(A<d.head.data.length){C=d.head.data.slice(0,A);d.head.data=d.head.data.slice(A)}else if(A===d.head.data.length){C=d.shift()}else{C=p?copyFromBufferString(A,d):copyFromBuffer(A,d)}return C}function copyFromBufferString(A,d){var p=d.head;var C=1;var S=p.data;A-=S.length;while(p=p.next){var v=p.data;var T=A>v.length?v.length:A;if(T===v.length)S+=v;else S+=v.slice(0,A);A-=T;if(A===0){if(T===v.length){++C;if(p.next)d.head=p.next;else d.head=d.tail=null}else{d.head=p;p.data=v.slice(T)}break}++C}d.length-=C;return S}function copyFromBuffer(A,d){var p=V.allocUnsafe(A);var C=d.head;var S=1;C.data.copy(p);A-=C.data.length;while(C=C.next){var v=C.data;var T=A>v.length?v.length:A;v.copy(p,p.length-A,0,T);A-=T;if(A===0){if(T===v.length){++S;if(C.next)d.head=C.next;else d.head=d.tail=null}else{d.head=C;C.data=v.slice(T)}break}++S}d.length-=S;return p}function endReadable(A){var d=A._readableState;if(d.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!d.endEmitted){d.ended=true;C.nextTick(endReadableNT,d,A)}}function endReadableNT(A,d){if(!A.endEmitted&&A.length===0){A.endEmitted=true;d.readable=false;d.emit("end")}}function indexOf(A,d){for(var p=0,C=A.length;p<C;p++){if(A[p]===d)return p}return-1}},34278:(A,d,p)=>{A.exports=Transform;var C=p(7354);var S=Object.create(p(22465));S.inherits=p(76153);S.inherits(Transform,C);function afterTransform(A,d){var p=this._transformState;p.transforming=false;var C=p.writecb;if(!C){return this.emit("error",new Error("write callback called multiple times"))}p.writechunk=null;p.writecb=null;if(d!=null)this.push(d);C(A);var S=this._readableState;S.reading=false;if(S.needReadable||S.length<S.highWaterMark){this._read(S.highWaterMark)}}function Transform(A){if(!(this instanceof Transform))return new Transform(A);C.call(this,A);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(A){if(typeof A.transform==="function")this._transform=A.transform;if(typeof A.flush==="function")this._flush=A.flush}this.on("prefinish",prefinish)}function prefinish(){var A=this;if(typeof this._flush==="function"){this._flush((function(d,p){done(A,d,p)}))}else{done(this,null,null)}}Transform.prototype.push=function(A,d){this._transformState.needTransform=false;return C.prototype.push.call(this,A,d)};Transform.prototype._transform=function(A,d,p){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(A,d,p){var C=this._transformState;C.writecb=p;C.writechunk=A;C.writeencoding=d;if(!C.transforming){var S=this._readableState;if(C.needTransform||S.needReadable||S.length<S.highWaterMark)this._read(S.highWaterMark)}};Transform.prototype._read=function(A){var d=this._transformState;if(d.writechunk!==null&&d.writecb&&!d.transforming){d.transforming=true;this._transform(d.writechunk,d.writeencoding,d.afterTransform)}else{d.needTransform=true}};Transform.prototype._destroy=function(A,d){var p=this;C.prototype._destroy.call(this,A,(function(A){d(A);p.emit("close")}))};function done(A,d,p){if(d)return A.emit("error",d);if(p!=null)A.push(p);if(A._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(A._transformState.transforming)throw new Error("Calling transform done when still transforming");return A.push(null)}},2232:(A,d,p)=>{var C=p(61710);A.exports=Writable;function WriteReq(A,d,p){this.chunk=A;this.encoding=d;this.callback=p;this.next=null}function CorkedRequest(A){var d=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(d,A)}}var S=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:C.nextTick;var v;Writable.WritableState=WritableState;var T=Object.create(p(22465));T.inherits=p(76153);var _={deprecate:p(48728)};var V=p(94324);var Z=p(79253).Buffer;var ee=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(A){return Z.from(A)}function _isUint8Array(A){return Z.isBuffer(A)||A instanceof ee}var te=p(83716);T.inherits(Writable,V);function nop(){}function WritableState(A,d){v=v||p(7354);A=A||{};var C=d instanceof v;this.objectMode=!!A.objectMode;if(C)this.objectMode=this.objectMode||!!A.writableObjectMode;var S=A.highWaterMark;var T=A.writableHighWaterMark;var _=this.objectMode?16:16*1024;if(S||S===0)this.highWaterMark=S;else if(C&&(T||T===0))this.highWaterMark=T;else this.highWaterMark=_;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 V=A.decodeStrings===false;this.decodeStrings=!V;this.defaultEncoding=A.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(A){onwrite(d,A)};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 A=this.bufferedRequest;var d=[];while(A){d.push(A);A=A.next}return d};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:_.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(A){}})();var re;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){re=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(A){if(re.call(this,A))return true;if(this!==Writable)return false;return A&&A._writableState instanceof WritableState}})}else{re=function(A){return A instanceof this}}function Writable(A){v=v||p(7354);if(!re.call(Writable,this)&&!(this instanceof v)){return new Writable(A)}this._writableState=new WritableState(A,this);this.writable=true;if(A){if(typeof A.write==="function")this._write=A.write;if(typeof A.writev==="function")this._writev=A.writev;if(typeof A.destroy==="function")this._destroy=A.destroy;if(typeof A.final==="function")this._final=A.final}V.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(A,d){var p=new Error("write after end");A.emit("error",p);C.nextTick(d,p)}function validChunk(A,d,p,S){var v=true;var T=false;if(p===null){T=new TypeError("May not write null values to stream")}else if(typeof p!=="string"&&p!==undefined&&!d.objectMode){T=new TypeError("Invalid non-string/buffer chunk")}if(T){A.emit("error",T);C.nextTick(S,T);v=false}return v}Writable.prototype.write=function(A,d,p){var C=this._writableState;var S=false;var v=!C.objectMode&&_isUint8Array(A);if(v&&!Z.isBuffer(A)){A=_uint8ArrayToBuffer(A)}if(typeof d==="function"){p=d;d=null}if(v)d="buffer";else if(!d)d=C.defaultEncoding;if(typeof p!=="function")p=nop;if(C.ended)writeAfterEnd(this,p);else if(v||validChunk(this,C,A,p)){C.pendingcb++;S=writeOrBuffer(this,C,v,A,d,p)}return S};Writable.prototype.cork=function(){var A=this._writableState;A.corked++};Writable.prototype.uncork=function(){var A=this._writableState;if(A.corked){A.corked--;if(!A.writing&&!A.corked&&!A.bufferProcessing&&A.bufferedRequest)clearBuffer(this,A)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(A){if(typeof A==="string")A=A.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((A+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+A);this._writableState.defaultEncoding=A;return this};function decodeChunk(A,d,p){if(!A.objectMode&&A.decodeStrings!==false&&typeof d==="string"){d=Z.from(d,p)}return d}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(A,d,p,C,S,v){if(!p){var T=decodeChunk(d,C,S);if(C!==T){p=true;S="buffer";C=T}}var _=d.objectMode?1:C.length;d.length+=_;var V=d.length<d.highWaterMark;if(!V)d.needDrain=true;if(d.writing||d.corked){var Z=d.lastBufferedRequest;d.lastBufferedRequest={chunk:C,encoding:S,isBuf:p,callback:v,next:null};if(Z){Z.next=d.lastBufferedRequest}else{d.bufferedRequest=d.lastBufferedRequest}d.bufferedRequestCount+=1}else{doWrite(A,d,false,_,C,S,v)}return V}function doWrite(A,d,p,C,S,v,T){d.writelen=C;d.writecb=T;d.writing=true;d.sync=true;if(p)A._writev(S,d.onwrite);else A._write(S,v,d.onwrite);d.sync=false}function onwriteError(A,d,p,S,v){--d.pendingcb;if(p){C.nextTick(v,S);C.nextTick(finishMaybe,A,d);A._writableState.errorEmitted=true;A.emit("error",S)}else{v(S);A._writableState.errorEmitted=true;A.emit("error",S);finishMaybe(A,d)}}function onwriteStateUpdate(A){A.writing=false;A.writecb=null;A.length-=A.writelen;A.writelen=0}function onwrite(A,d){var p=A._writableState;var C=p.sync;var v=p.writecb;onwriteStateUpdate(p);if(d)onwriteError(A,p,C,d,v);else{var T=needFinish(p);if(!T&&!p.corked&&!p.bufferProcessing&&p.bufferedRequest){clearBuffer(A,p)}if(C){S(afterWrite,A,p,T,v)}else{afterWrite(A,p,T,v)}}}function afterWrite(A,d,p,C){if(!p)onwriteDrain(A,d);d.pendingcb--;C();finishMaybe(A,d)}function onwriteDrain(A,d){if(d.length===0&&d.needDrain){d.needDrain=false;A.emit("drain")}}function clearBuffer(A,d){d.bufferProcessing=true;var p=d.bufferedRequest;if(A._writev&&p&&p.next){var C=d.bufferedRequestCount;var S=new Array(C);var v=d.corkedRequestsFree;v.entry=p;var T=0;var _=true;while(p){S[T]=p;if(!p.isBuf)_=false;p=p.next;T+=1}S.allBuffers=_;doWrite(A,d,true,d.length,S,"",v.finish);d.pendingcb++;d.lastBufferedRequest=null;if(v.next){d.corkedRequestsFree=v.next;v.next=null}else{d.corkedRequestsFree=new CorkedRequest(d)}d.bufferedRequestCount=0}else{while(p){var V=p.chunk;var Z=p.encoding;var ee=p.callback;var te=d.objectMode?1:V.length;doWrite(A,d,false,te,V,Z,ee);p=p.next;d.bufferedRequestCount--;if(d.writing){break}}if(p===null)d.lastBufferedRequest=null}d.bufferedRequest=p;d.bufferProcessing=false}Writable.prototype._write=function(A,d,p){p(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(A,d,p){var C=this._writableState;if(typeof A==="function"){p=A;A=null;d=null}else if(typeof d==="function"){p=d;d=null}if(A!==null&&A!==undefined)this.write(A,d);if(C.corked){C.corked=1;this.uncork()}if(!C.ending)endWritable(this,C,p)};function needFinish(A){return A.ending&&A.length===0&&A.bufferedRequest===null&&!A.finished&&!A.writing}function callFinal(A,d){A._final((function(p){d.pendingcb--;if(p){A.emit("error",p)}d.prefinished=true;A.emit("prefinish");finishMaybe(A,d)}))}function prefinish(A,d){if(!d.prefinished&&!d.finalCalled){if(typeof A._final==="function"){d.pendingcb++;d.finalCalled=true;C.nextTick(callFinal,A,d)}else{d.prefinished=true;A.emit("prefinish")}}}function finishMaybe(A,d){var p=needFinish(d);if(p){prefinish(A,d);if(d.pendingcb===0){d.finished=true;A.emit("finish")}}return p}function endWritable(A,d,p){d.ending=true;finishMaybe(A,d);if(p){if(d.finished)C.nextTick(p);else A.once("finish",p)}d.ended=true;A.writable=false}function onCorkedFinish(A,d,p){var C=A.entry;A.entry=null;while(C){var S=C.callback;d.pendingcb--;S(p);C=C.next}d.corkedRequestsFree.next=A}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function(A){if(!this._writableState){return}this._writableState.destroyed=A}});Writable.prototype.destroy=te.destroy;Writable.prototype._undestroy=te.undestroy;Writable.prototype._destroy=function(A,d){this.end();d(A)}},65866:(A,d,p)=>{function _classCallCheck(A,d){if(!(A instanceof d)){throw new TypeError("Cannot call a class as a function")}}var C=p(79253).Buffer;var S=p(39023);function copyBuffer(A,d,p){A.copy(d,p)}A.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(A){var d={data:A,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length};BufferList.prototype.unshift=function unshift(A){var d={data:A,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var A=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return A};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(A){if(this.length===0)return"";var d=this.head;var p=""+d.data;while(d=d.next){p+=A+d.data}return p};BufferList.prototype.concat=function concat(A){if(this.length===0)return C.alloc(0);var d=C.allocUnsafe(A>>>0);var p=this.head;var S=0;while(p){copyBuffer(p.data,d,S);S+=p.data.length;p=p.next}return d};return BufferList}();if(S&&S.inspect&&S.inspect.custom){A.exports.prototype[S.inspect.custom]=function(){var A=S.inspect({length:this.length});return this.constructor.name+" "+A}}},83716:(A,d,p)=>{var C=p(61710);function destroy(A,d){var p=this;var S=this._readableState&&this._readableState.destroyed;var v=this._writableState&&this._writableState.destroyed;if(S||v){if(d){d(A)}else if(A){if(!this._writableState){C.nextTick(emitErrorNT,this,A)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;C.nextTick(emitErrorNT,this,A)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(A||null,(function(A){if(!d&&A){if(!p._writableState){C.nextTick(emitErrorNT,p,A)}else if(!p._writableState.errorEmitted){p._writableState.errorEmitted=true;C.nextTick(emitErrorNT,p,A)}}else if(d){d(A)}}));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(A,d){A.emit("error",d)}A.exports={destroy:destroy,undestroy:undestroy}},94324:(A,d,p)=>{A.exports=p(2203)},26614:(A,d,p)=>{A.exports=p(52818).PassThrough},52818:(A,d,p)=>{var C=p(2203);if(process.env.READABLE_STREAM==="disable"&&C){A.exports=C;d=A.exports=C.Readable;d.Readable=C.Readable;d.Writable=C.Writable;d.Duplex=C.Duplex;d.Transform=C.Transform;d.PassThrough=C.PassThrough;d.Stream=C}else{d=A.exports=p(97576);d.Stream=C||d;d.Readable=d;d.Writable=p(2232);d.Duplex=p(7354);d.Transform=p(34278);d.PassThrough=p(96348)}},72105:(A,d,p)=>{const{SymbolDispose:C}=p(95512);const{AbortError:S,codes:v}=p(79885);const{isNodeStream:T,isWebStream:_,kControllerErrorFunction:V}=p(73289);const Z=p(44356);const{ERR_INVALID_ARG_TYPE:ee}=v;let te;const validateAbortSignal=(A,d)=>{if(typeof A!=="object"||!("aborted"in A)){throw new ee(d,"AbortSignal",A)}};A.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!T(p)&&!_(p)){throw new ee("stream",["ReadableStream","WritableStream","Stream"],p)}return A.exports.addAbortSignalNoValidate(d,p)};A.exports.addAbortSignalNoValidate=function(A,d){if(typeof A!=="object"||!("aborted"in A)){return d}const v=T(d)?()=>{d.destroy(new S(undefined,{cause:A.reason}))}:()=>{d[V](new S(undefined,{cause:A.reason}))};if(A.aborted){v()}else{te=te||p(75806).addAbortListener;const S=te(A,v);Z(d,S[C])}return d}},21195:(A,d,p)=>{const{StringPrototypeSlice:C,SymbolIterator:S,TypedArrayPrototypeSet:v,Uint8Array:T}=p(95512);const{Buffer:_}=p(20181);const{inspect:V}=p(75806);A.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(A){const d={data:A,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(A){const d={data:A,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;const A=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return A}clear(){this.head=this.tail=null;this.length=0}join(A){if(this.length===0)return"";let d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=A+d.data;return p}concat(A){if(this.length===0)return _.alloc(0);const d=_.allocUnsafe(A>>>0);let p=this.head;let C=0;while(p){v(d,p.data,C);C+=p.data.length;p=p.next}return d}consume(A,d){const p=this.head.data;if(A<p.length){const d=p.slice(0,A);this.head.data=p.slice(A);return d}if(A===p.length){return this.shift()}return d?this._getString(A):this._getBuffer(A)}first(){return this.head.data}*[S](){for(let A=this.head;A;A=A.next){yield A.data}}_getString(A){let d="";let p=this.head;let S=0;do{const v=p.data;if(A>v.length){d+=v;A-=v.length}else{if(A===v.length){d+=v;++S;if(p.next)this.head=p.next;else this.head=this.tail=null}else{d+=C(v,0,A);this.head=p;p.data=C(v,A)}break}++S}while((p=p.next)!==null);this.length-=S;return d}_getBuffer(A){const d=_.allocUnsafe(A);const p=A;let C=this.head;let S=0;do{const _=C.data;if(A>_.length){v(d,_,p-A);A-=_.length}else{if(A===_.length){v(d,_,p-A);++S;if(C.next)this.head=C.next;else this.head=this.tail=null}else{v(d,new T(_.buffer,_.byteOffset,A),p-A);this.head=C;C.data=_.slice(A)}break}++S}while((C=C.next)!==null);this.length-=S;return d}[Symbol.for("nodejs.util.inspect.custom")](A,d){return V(this,{...d,depth:0,customInspect:false})}}},78256:(A,d,p)=>{const{pipeline:C}=p(84712);const S=p(60400);const{destroyer:v}=p(13822);const{isNodeStream:T,isReadable:_,isWritable:V,isWebStream:Z,isTransformStream:ee,isWritableStream:te,isReadableStream:re}=p(73289);const{AbortError:ne,codes:{ERR_INVALID_ARG_VALUE:ie,ERR_MISSING_ARGS:se}}=p(79885);const oe=p(44356);A.exports=function compose(...A){if(A.length===0){throw new se("streams")}if(A.length===1){return S.from(A[0])}const d=[...A];if(typeof A[0]==="function"){A[0]=S.from(A[0])}if(typeof A[A.length-1]==="function"){const d=A.length-1;A[d]=S.from(A[d])}for(let p=0;p<A.length;++p){if(!T(A[p])&&!Z(A[p])){continue}if(p<A.length-1&&!(_(A[p])||re(A[p])||ee(A[p]))){throw new ie(`streams[${p}]`,d[p],"must be readable")}if(p>0&&!(V(A[p])||te(A[p])||ee(A[p]))){throw new ie(`streams[${p}]`,d[p],"must be writable")}}let p;let ae;let le;let ce;let ue;function onfinished(A){const d=ce;ce=null;if(d){d(A)}else if(A){ue.destroy(A)}else if(!fe&&!pe){ue.destroy()}}const Ae=A[0];const de=C(A,onfinished);const pe=!!(V(Ae)||te(Ae)||ee(Ae));const fe=!!(_(de)||re(de)||ee(de));ue=new S({writableObjectMode:!!(Ae!==null&&Ae!==undefined&&Ae.writableObjectMode),readableObjectMode:!!(de!==null&&de!==undefined&&de.readableObjectMode),writable:pe,readable:fe});if(pe){if(T(Ae)){ue._write=function(A,d,C){if(Ae.write(A,d)){C()}else{p=C}};ue._final=function(A){Ae.end();ae=A};Ae.on("drain",(function(){if(p){const A=p;p=null;A()}}))}else if(Z(Ae)){const A=ee(Ae)?Ae.writable:Ae;const d=A.getWriter();ue._write=async function(A,p,C){try{await d.ready;d.write(A).catch((()=>{}));C()}catch(A){C(A)}};ue._final=async function(A){try{await d.ready;d.close().catch((()=>{}));ae=A}catch(d){A(d)}}}const A=ee(de)?de.readable:de;oe(A,(()=>{if(ae){const A=ae;ae=null;A()}}))}if(fe){if(T(de)){de.on("readable",(function(){if(le){const A=le;le=null;A()}}));de.on("end",(function(){ue.push(null)}));ue._read=function(){while(true){const A=de.read();if(A===null){le=ue._read;return}if(!ue.push(A)){return}}}}else if(Z(de)){const A=ee(de)?de.readable:de;const d=A.getReader();ue._read=async function(){while(true){try{const{value:A,done:p}=await d.read();if(!ue.push(A)){return}if(p){ue.push(null);return}}catch{return}}}}}ue._destroy=function(A,d){if(!A&&ce!==null){A=new ne}le=null;p=null;ae=null;if(ce===null){d(A)}else{ce=d;if(T(de)){v(de,A)}}};return ue}},13822:(A,d,p)=>{const C=p(50180);const{aggregateTwoErrors:S,codes:{ERR_MULTIPLE_CALLBACK:v},AbortError:T}=p(79885);const{Symbol:_}=p(95512);const{kIsDestroyed:V,isDestroyed:Z,isFinished:ee,isServerRequest:te}=p(73289);const re=_("kDestroy");const ne=_("kConstruct");function checkError(A,d,p){if(A){A.stack;if(d&&!d.errored){d.errored=A}if(p&&!p.errored){p.errored=A}}}function destroy(A,d){const p=this._readableState;const C=this._writableState;const v=C||p;if(C!==null&&C!==undefined&&C.destroyed||p!==null&&p!==undefined&&p.destroyed){if(typeof d==="function"){d()}return this}checkError(A,C,p);if(C){C.destroyed=true}if(p){p.destroyed=true}if(!v.constructed){this.once(re,(function(p){_destroy(this,S(p,A),d)}))}else{_destroy(this,A,d)}return this}function _destroy(A,d,p){let S=false;function onDestroy(d){if(S){return}S=true;const v=A._readableState;const T=A._writableState;checkError(d,T,v);if(T){T.closed=true}if(v){v.closed=true}if(typeof p==="function"){p(d)}if(d){C.nextTick(emitErrorCloseNT,A,d)}else{C.nextTick(emitCloseNT,A)}}try{A._destroy(d||null,onDestroy)}catch(d){onDestroy(d)}}function emitErrorCloseNT(A,d){emitErrorNT(A,d);emitCloseNT(A)}function emitCloseNT(A){const d=A._readableState;const p=A._writableState;if(p){p.closeEmitted=true}if(d){d.closeEmitted=true}if(p!==null&&p!==undefined&&p.emitClose||d!==null&&d!==undefined&&d.emitClose){A.emit("close")}}function emitErrorNT(A,d){const p=A._readableState;const C=A._writableState;if(C!==null&&C!==undefined&&C.errorEmitted||p!==null&&p!==undefined&&p.errorEmitted){return}if(C){C.errorEmitted=true}if(p){p.errorEmitted=true}A.emit("error",d)}function undestroy(){const A=this._readableState;const d=this._writableState;if(A){A.constructed=true;A.closed=false;A.closeEmitted=false;A.destroyed=false;A.errored=null;A.errorEmitted=false;A.reading=false;A.ended=A.readable===false;A.endEmitted=A.readable===false}if(d){d.constructed=true;d.destroyed=false;d.closed=false;d.closeEmitted=false;d.errored=null;d.errorEmitted=false;d.finalCalled=false;d.prefinished=false;d.ended=d.writable===false;d.ending=d.writable===false;d.finished=d.writable===false}}function errorOrDestroy(A,d,p){const S=A._readableState;const v=A._writableState;if(v!==null&&v!==undefined&&v.destroyed||S!==null&&S!==undefined&&S.destroyed){return this}if(S!==null&&S!==undefined&&S.autoDestroy||v!==null&&v!==undefined&&v.autoDestroy)A.destroy(d);else if(d){d.stack;if(v&&!v.errored){v.errored=d}if(S&&!S.errored){S.errored=d}if(p){C.nextTick(emitErrorNT,A,d)}else{emitErrorNT(A,d)}}}function construct(A,d){if(typeof A._construct!=="function"){return}const p=A._readableState;const S=A._writableState;if(p){p.constructed=false}if(S){S.constructed=false}A.once(ne,d);if(A.listenerCount(ne)>1){return}C.nextTick(constructNT,A)}function constructNT(A){let d=false;function onConstruct(p){if(d){errorOrDestroy(A,p!==null&&p!==undefined?p:new v);return}d=true;const S=A._readableState;const T=A._writableState;const _=T||S;if(S){S.constructed=true}if(T){T.constructed=true}if(_.destroyed){A.emit(re,p)}else if(p){errorOrDestroy(A,p,true)}else{C.nextTick(emitConstructNT,A)}}try{A._construct((A=>{C.nextTick(onConstruct,A)}))}catch(A){C.nextTick(onConstruct,A)}}function emitConstructNT(A){A.emit(ne)}function isRequest(A){return(A===null||A===undefined?undefined:A.setHeader)&&typeof A.abort==="function"}function emitCloseLegacy(A){A.emit("close")}function emitErrorCloseLegacy(A,d){A.emit("error",d);C.nextTick(emitCloseLegacy,A)}function destroyer(A,d){if(!A||Z(A)){return}if(!d&&!ee(A)){d=new T}if(te(A)){A.socket=null;A.destroy(d)}else if(isRequest(A)){A.abort()}else if(isRequest(A.req)){A.req.abort()}else if(typeof A.destroy==="function"){A.destroy(d)}else if(typeof A.close==="function"){A.close()}else if(d){C.nextTick(emitErrorCloseLegacy,A,d)}else{C.nextTick(emitCloseLegacy,A)}if(!A.destroyed){A[V]=true}}A.exports={construct:construct,destroyer:destroyer,destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},60400:(A,d,p)=>{const{ObjectDefineProperties:C,ObjectGetOwnPropertyDescriptor:S,ObjectKeys:v,ObjectSetPrototypeOf:T}=p(95512);A.exports=Duplex;const _=p(406);const V=p(34234);T(Duplex.prototype,_.prototype);T(Duplex,_);{const A=v(V.prototype);for(let d=0;d<A.length;d++){const p=A[d];if(!Duplex.prototype[p])Duplex.prototype[p]=V.prototype[p]}}function Duplex(A){if(!(this instanceof Duplex))return new Duplex(A);_.call(this,A);V.call(this,A);if(A){this.allowHalfOpen=A.allowHalfOpen!==false;if(A.readable===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if(A.writable===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}else{this.allowHalfOpen=true}}C(Duplex.prototype,{writable:{__proto__:null,...S(V.prototype,"writable")},writableHighWaterMark:{__proto__:null,...S(V.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...S(V.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...S(V.prototype,"writableBuffer")},writableLength:{__proto__:null,...S(V.prototype,"writableLength")},writableFinished:{__proto__:null,...S(V.prototype,"writableFinished")},writableCorked:{__proto__:null,...S(V.prototype,"writableCorked")},writableEnded:{__proto__:null,...S(V.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...S(V.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set(A){if(this._readableState&&this._writableState){this._readableState.destroyed=A;this._writableState.destroyed=A}}}});let Z;function lazyWebStreams(){if(Z===undefined)Z={};return Z}Duplex.fromWeb=function(A,d){return lazyWebStreams().newStreamDuplexFromReadableWritablePair(A,d)};Duplex.toWeb=function(A){return lazyWebStreams().newReadableWritablePairFromDuplex(A)};let ee;Duplex.from=function(A){if(!ee){ee=p(68432)}return ee(A,"body")}},68432:(A,d,p)=>{const C=p(50180);"use strict";const S=p(20181);const{isReadable:v,isWritable:T,isIterable:_,isNodeStream:V,isReadableNodeStream:Z,isWritableNodeStream:ee,isDuplexNodeStream:te,isReadableStream:re,isWritableStream:ne}=p(73289);const ie=p(44356);const{AbortError:se,codes:{ERR_INVALID_ARG_TYPE:oe,ERR_INVALID_RETURN_VALUE:ae}}=p(79885);const{destroyer:le}=p(13822);const ce=p(60400);const ue=p(406);const Ae=p(34234);const{createDeferredPromise:de}=p(75806);const pe=p(17806);const fe=globalThis.Blob||S.Blob;const he=typeof fe!=="undefined"?function isBlob(A){return A instanceof fe}:function isBlob(A){return false};const ge=globalThis.AbortController||p(19914).AbortController;const{FunctionPrototypeCall:me}=p(95512);class Duplexify extends ce{constructor(A){super(A);if((A===null||A===undefined?undefined:A.readable)===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if((A===null||A===undefined?undefined:A.writable)===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}}A.exports=function duplexify(A,d){if(te(A)){return A}if(Z(A)){return _duplexify({readable:A})}if(ee(A)){return _duplexify({writable:A})}if(V(A)){return _duplexify({writable:false,readable:false})}if(re(A)){return _duplexify({readable:ue.fromWeb(A)})}if(ne(A)){return _duplexify({writable:Ae.fromWeb(A)})}if(typeof A==="function"){const{value:p,write:S,final:v,destroy:T}=fromAsyncGen(A);if(_(p)){return pe(Duplexify,p,{objectMode:true,write:S,final:v,destroy:T})}const V=p===null||p===undefined?undefined:p.then;if(typeof V==="function"){let A;const d=me(V,p,(A=>{if(A!=null){throw new ae("nully","body",A)}}),(d=>{le(A,d)}));return A=new Duplexify({objectMode:true,readable:false,write:S,final(A){v((async()=>{try{await d;C.nextTick(A,null)}catch(d){C.nextTick(A,d)}}))},destroy:T})}throw new ae("Iterable, AsyncIterable or AsyncFunction",d,p)}if(he(A)){return duplexify(A.arrayBuffer())}if(_(A)){return pe(Duplexify,A,{objectMode:true,writable:false})}if(re(A===null||A===undefined?undefined:A.readable)&&ne(A===null||A===undefined?undefined:A.writable)){return Duplexify.fromWeb(A)}if(typeof(A===null||A===undefined?undefined:A.writable)==="object"||typeof(A===null||A===undefined?undefined:A.readable)==="object"){const d=A!==null&&A!==undefined&&A.readable?Z(A===null||A===undefined?undefined:A.readable)?A===null||A===undefined?undefined:A.readable:duplexify(A.readable):undefined;const p=A!==null&&A!==undefined&&A.writable?ee(A===null||A===undefined?undefined:A.writable)?A===null||A===undefined?undefined:A.writable:duplexify(A.writable):undefined;return _duplexify({readable:d,writable:p})}const p=A===null||A===undefined?undefined:A.then;if(typeof p==="function"){let d;me(p,A,(A=>{if(A!=null){d.push(A)}d.push(null)}),(A=>{le(d,A)}));return d=new Duplexify({objectMode:true,writable:false,read(){}})}throw new oe(d,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],A)};function fromAsyncGen(A){let{promise:d,resolve:p}=de();const S=new ge;const v=S.signal;const T=A(async function*(){while(true){const A=d;d=null;const{chunk:S,done:T,cb:_}=await A;C.nextTick(_);if(T)return;if(v.aborted)throw new se(undefined,{cause:v.reason});({promise:d,resolve:p}=de());yield S}}(),{signal:v});return{value:T,write(A,d,C){const S=p;p=null;S({chunk:A,done:false,cb:C})},final(A){const d=p;p=null;d({done:true,cb:A})},destroy(A,d){S.abort();d(A)}}}function _duplexify(A){const d=A.readable&&typeof A.readable.read!=="function"?ue.wrap(A.readable):A.readable;const p=A.writable;let C=!!v(d);let S=!!T(p);let _;let V;let Z;let ee;let te;function onfinished(A){const d=ee;ee=null;if(d){d(A)}else if(A){te.destroy(A)}}te=new Duplexify({readableObjectMode:!!(d!==null&&d!==undefined&&d.readableObjectMode),writableObjectMode:!!(p!==null&&p!==undefined&&p.writableObjectMode),readable:C,writable:S});if(S){ie(p,(A=>{S=false;if(A){le(d,A)}onfinished(A)}));te._write=function(A,d,C){if(p.write(A,d)){C()}else{_=C}};te._final=function(A){p.end();V=A};p.on("drain",(function(){if(_){const A=_;_=null;A()}}));p.on("finish",(function(){if(V){const A=V;V=null;A()}}))}if(C){ie(d,(A=>{C=false;if(A){le(d,A)}onfinished(A)}));d.on("readable",(function(){if(Z){const A=Z;Z=null;A()}}));d.on("end",(function(){te.push(null)}));te._read=function(){while(true){const A=d.read();if(A===null){Z=te._read;return}if(!te.push(A)){return}}}}te._destroy=function(A,C){if(!A&&ee!==null){A=new se}Z=null;_=null;V=null;if(ee===null){C(A)}else{ee=C;le(p,A);le(d,A)}};return te}},44356:(A,d,p)=>{const C=p(50180);const{AbortError:S,codes:v}=p(79885);const{ERR_INVALID_ARG_TYPE:T,ERR_STREAM_PREMATURE_CLOSE:_}=v;const{kEmptyObject:V,once:Z}=p(75806);const{validateAbortSignal:ee,validateFunction:te,validateObject:re,validateBoolean:ne}=p(46827);const{Promise:ie,PromisePrototypeThen:se,SymbolDispose:oe}=p(95512);const{isClosed:ae,isReadable:le,isReadableNodeStream:ce,isReadableStream:ue,isReadableFinished:Ae,isReadableErrored:de,isWritable:pe,isWritableNodeStream:fe,isWritableStream:he,isWritableFinished:ge,isWritableErrored:me,isNodeStream:ye,willEmitClose:Ee,kIsClosedPromise:be}=p(73289);let Ce;function isRequest(A){return A.setHeader&&typeof A.abort==="function"}const nop=()=>{};function eos(A,d,v){var ne,ie;if(arguments.length===2){v=d;d=V}else if(d==null){d=V}else{re(d,"options")}te(v,"callback");ee(d.signal,"options.signal");v=Z(v);if(ue(A)||he(A)){return eosWeb(A,d,v)}if(!ye(A)){throw new T("stream",["ReadableStream","WritableStream","Stream"],A)}const se=(ne=d.readable)!==null&&ne!==undefined?ne:ce(A);const be=(ie=d.writable)!==null&&ie!==undefined?ie:fe(A);const Be=A._writableState;const Ie=A._readableState;const onlegacyfinish=()=>{if(!A.writable){onfinish()}};let Se=Ee(A)&&ce(A)===se&&fe(A)===be;let we=ge(A,false);const onfinish=()=>{we=true;if(A.destroyed){Se=false}if(Se&&(!A.readable||se)){return}if(!se||Qe){v.call(A)}};let Qe=Ae(A,false);const onend=()=>{Qe=true;if(A.destroyed){Se=false}if(Se&&(!A.writable||be)){return}if(!be||we){v.call(A)}};const onerror=d=>{v.call(A,d)};let ve=ae(A);const onclose=()=>{ve=true;const d=me(A)||de(A);if(d&&typeof d!=="boolean"){return v.call(A,d)}if(se&&!Qe&&ce(A,true)){if(!Ae(A,false))return v.call(A,new _)}if(be&&!we){if(!ge(A,false))return v.call(A,new _)}v.call(A)};const onclosed=()=>{ve=true;const d=me(A)||de(A);if(d&&typeof d!=="boolean"){return v.call(A,d)}v.call(A)};const onrequest=()=>{A.req.on("finish",onfinish)};if(isRequest(A)){A.on("complete",onfinish);if(!Se){A.on("abort",onclose)}if(A.req){onrequest()}else{A.on("request",onrequest)}}else if(be&&!Be){A.on("end",onlegacyfinish);A.on("close",onlegacyfinish)}if(!Se&&typeof A.aborted==="boolean"){A.on("aborted",onclose)}A.on("end",onend);A.on("finish",onfinish);if(d.error!==false){A.on("error",onerror)}A.on("close",onclose);if(ve){C.nextTick(onclose)}else if(Be!==null&&Be!==undefined&&Be.errorEmitted||Ie!==null&&Ie!==undefined&&Ie.errorEmitted){if(!Se){C.nextTick(onclosed)}}else if(!se&&(!Se||le(A))&&(we||pe(A)===false)){C.nextTick(onclosed)}else if(!be&&(!Se||pe(A))&&(Qe||le(A)===false)){C.nextTick(onclosed)}else if(Ie&&A.req&&A.aborted){C.nextTick(onclosed)}const cleanup=()=>{v=nop;A.removeListener("aborted",onclose);A.removeListener("complete",onfinish);A.removeListener("abort",onclose);A.removeListener("request",onrequest);if(A.req)A.req.removeListener("finish",onfinish);A.removeListener("end",onlegacyfinish);A.removeListener("close",onlegacyfinish);A.removeListener("finish",onfinish);A.removeListener("end",onend);A.removeListener("error",onerror);A.removeListener("close",onclose)};if(d.signal&&!ve){const abort=()=>{const p=v;cleanup();p.call(A,new S(undefined,{cause:d.signal.reason}))};if(d.signal.aborted){C.nextTick(abort)}else{Ce=Ce||p(75806).addAbortListener;const C=Ce(d.signal,abort);const S=v;v=Z(((...d)=>{C[oe]();S.apply(A,d)}))}}return cleanup}function eosWeb(A,d,v){let T=false;let _=nop;if(d.signal){_=()=>{T=true;v.call(A,new S(undefined,{cause:d.signal.reason}))};if(d.signal.aborted){C.nextTick(_)}else{Ce=Ce||p(75806).addAbortListener;const C=Ce(d.signal,_);const S=v;v=Z(((...d)=>{C[oe]();S.apply(A,d)}))}}const resolverFn=(...d)=>{if(!T){C.nextTick((()=>v.apply(A,d)))}};se(A[be].promise,resolverFn,resolverFn);return nop}function finished(A,d){var p;let C=false;if(d===null){d=V}if((p=d)!==null&&p!==undefined&&p.cleanup){ne(d.cleanup,"cleanup");C=d.cleanup}return new ie(((p,S)=>{const v=eos(A,d,(A=>{if(C){v()}if(A){S(A)}else{p()}}))}))}A.exports=eos;A.exports.finished=finished},17806:(A,d,p)=>{const C=p(50180);const{PromisePrototypeThen:S,SymbolAsyncIterator:v,SymbolIterator:T}=p(95512);const{Buffer:_}=p(20181);const{ERR_INVALID_ARG_TYPE:V,ERR_STREAM_NULL_VALUES:Z}=p(79885).codes;function from(A,d,p){let ee;if(typeof d==="string"||d instanceof _){return new A({objectMode:true,...p,read(){this.push(d);this.push(null)}})}let te;if(d&&d[v]){te=true;ee=d[v]()}else if(d&&d[T]){te=false;ee=d[T]()}else{throw new V("iterable",["Iterable"],d)}const re=new A({objectMode:true,highWaterMark:1,...p});let ne=false;re._read=function(){if(!ne){ne=true;next()}};re._destroy=function(A,d){S(close(A),(()=>C.nextTick(d,A)),(p=>C.nextTick(d,p||A)))};async function close(A){const d=A!==undefined&&A!==null;const p=typeof ee.throw==="function";if(d&&p){const{value:d,done:p}=await ee.throw(A);await d;if(p){return}}if(typeof ee.return==="function"){const{value:A}=await ee.return();await A}}async function next(){for(;;){try{const{value:A,done:d}=te?await ee.next():ee.next();if(d){re.push(null)}else{const d=A&&typeof A.then==="function"?await A:A;if(d===null){ne=false;throw new Z}else if(re.push(d)){continue}else{ne=false}}}catch(A){re.destroy(A)}break}}return re}A.exports=from},98321:(A,d,p)=>{const{ArrayIsArray:C,ObjectSetPrototypeOf:S}=p(95512);const{EventEmitter:v}=p(24434);function Stream(A){v.call(this,A)}S(Stream.prototype,v.prototype);S(Stream,v);Stream.prototype.pipe=function(A,d){const p=this;function ondata(d){if(A.writable&&A.write(d)===false&&p.pause){p.pause()}}p.on("data",ondata);function ondrain(){if(p.readable&&p.resume){p.resume()}}A.on("drain",ondrain);if(!A._isStdio&&(!d||d.end!==false)){p.on("end",onend);p.on("close",onclose)}let C=false;function onend(){if(C)return;C=true;A.end()}function onclose(){if(C)return;C=true;if(typeof A.destroy==="function")A.destroy()}function onerror(A){cleanup();if(v.listenerCount(this,"error")===0){this.emit("error",A)}}prependListener(p,"error",onerror);prependListener(A,"error",onerror);function cleanup(){p.removeListener("data",ondata);A.removeListener("drain",ondrain);p.removeListener("end",onend);p.removeListener("close",onclose);p.removeListener("error",onerror);A.removeListener("error",onerror);p.removeListener("end",cleanup);p.removeListener("close",cleanup);A.removeListener("close",cleanup)}p.on("end",cleanup);p.on("close",cleanup);A.on("close",cleanup);A.emit("pipe",p);return A};function prependListener(A,d,p){if(typeof A.prependListener==="function")return A.prependListener(d,p);if(!A._events||!A._events[d])A.on(d,p);else if(C(A._events[d]))A._events[d].unshift(p);else A._events[d]=[p,A._events[d]]}A.exports={Stream:Stream,prependListener:prependListener}},99509:(A,d,p)=>{const C=globalThis.AbortController||p(19914).AbortController;const{codes:{ERR_INVALID_ARG_VALUE:S,ERR_INVALID_ARG_TYPE:v,ERR_MISSING_ARGS:T,ERR_OUT_OF_RANGE:_},AbortError:V}=p(79885);const{validateAbortSignal:Z,validateInteger:ee,validateObject:te}=p(46827);const re=p(95512).Symbol("kWeak");const ne=p(95512).Symbol("kResistStopPropagation");const{finished:ie}=p(44356);const se=p(78256);const{addAbortSignalNoValidate:oe}=p(72105);const{isWritable:ae,isNodeStream:le}=p(73289);const{deprecate:ce}=p(75806);const{ArrayPrototypePush:ue,Boolean:Ae,MathFloor:de,Number:pe,NumberIsNaN:fe,Promise:he,PromiseReject:ge,PromiseResolve:me,PromisePrototypeThen:ye,Symbol:Ee}=p(95512);const be=Ee("kEmpty");const Ce=Ee("kEof");function compose(A,d){if(d!=null){te(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){Z(d.signal,"options.signal")}if(le(A)&&!ae(A)){throw new S("stream",A,"must be writable")}const p=se(this,A);if(d!==null&&d!==undefined&&d.signal){oe(d.signal,p)}return p}function map(A,d){if(typeof A!=="function"){throw new v("fn",["Function","AsyncFunction"],A)}if(d!=null){te(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){Z(d.signal,"options.signal")}let C=1;if((d===null||d===undefined?undefined:d.concurrency)!=null){C=de(d.concurrency)}let S=C-1;if((d===null||d===undefined?undefined:d.highWaterMark)!=null){S=de(d.highWaterMark)}ee(C,"options.concurrency",1);ee(S,"options.highWaterMark",0);S+=C;return async function*map(){const v=p(75806).AbortSignalAny([d===null||d===undefined?undefined:d.signal].filter(Ae));const T=this;const _=[];const Z={signal:v};let ee;let te;let re=false;let ne=0;function onCatch(){re=true;afterItemProcessed()}function afterItemProcessed(){ne-=1;maybeResume()}function maybeResume(){if(te&&!re&&ne<C&&_.length<S){te();te=null}}async function pump(){try{for await(let d of T){if(re){return}if(v.aborted){throw new V}try{d=A(d,Z);if(d===be){continue}d=me(d)}catch(A){d=ge(A)}ne+=1;ye(d,afterItemProcessed,onCatch);_.push(d);if(ee){ee();ee=null}if(!re&&(_.length>=S||ne>=C)){await new he((A=>{te=A}))}}_.push(Ce)}catch(A){const d=ge(A);ye(d,afterItemProcessed,onCatch);_.push(d)}finally{re=true;if(ee){ee();ee=null}}}pump();try{while(true){while(_.length>0){const A=await _[0];if(A===Ce){return}if(v.aborted){throw new V}if(A!==be){yield A}_.shift();maybeResume()}await new he((A=>{ee=A}))}}finally{re=true;if(te){te();te=null}}}.call(this)}function asIndexedPairs(A=undefined){if(A!=null){te(A,"options")}if((A===null||A===undefined?undefined:A.signal)!=null){Z(A.signal,"options.signal")}return async function*asIndexedPairs(){let d=0;for await(const C of this){var p;if(A!==null&&A!==undefined&&(p=A.signal)!==null&&p!==undefined&&p.aborted){throw new V({cause:A.signal.reason})}yield[d++,C]}}.call(this)}async function some(A,d=undefined){for await(const p of filter.call(this,A,d)){return true}return false}async function every(A,d=undefined){if(typeof A!=="function"){throw new v("fn",["Function","AsyncFunction"],A)}return!await some.call(this,(async(...d)=>!await A(...d)),d)}async function find(A,d){for await(const p of filter.call(this,A,d)){return p}return undefined}async function forEach(A,d){if(typeof A!=="function"){throw new v("fn",["Function","AsyncFunction"],A)}async function forEachFn(d,p){await A(d,p);return be}for await(const A of map.call(this,forEachFn,d));}function filter(A,d){if(typeof A!=="function"){throw new v("fn",["Function","AsyncFunction"],A)}async function filterFn(d,p){if(await A(d,p)){return d}return be}return map.call(this,filterFn,d)}class ReduceAwareErrMissingArgs extends T{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function reduce(A,d,p){var S;if(typeof A!=="function"){throw new v("reducer",["Function","AsyncFunction"],A)}if(p!=null){te(p,"options")}if((p===null||p===undefined?undefined:p.signal)!=null){Z(p.signal,"options.signal")}let T=arguments.length>1;if(p!==null&&p!==undefined&&(S=p.signal)!==null&&S!==undefined&&S.aborted){const A=new V(undefined,{cause:p.signal.reason});this.once("error",(()=>{}));await ie(this.destroy(A));throw A}const _=new C;const ee=_.signal;if(p!==null&&p!==undefined&&p.signal){const A={once:true,[re]:this,[ne]:true};p.signal.addEventListener("abort",(()=>_.abort()),A)}let se=false;try{for await(const C of this){var oe;se=true;if(p!==null&&p!==undefined&&(oe=p.signal)!==null&&oe!==undefined&&oe.aborted){throw new V}if(!T){d=C;T=true}else{d=await A(d,C,{signal:ee})}}if(!se&&!T){throw new ReduceAwareErrMissingArgs}}finally{_.abort()}return d}async function toArray(A){if(A!=null){te(A,"options")}if((A===null||A===undefined?undefined:A.signal)!=null){Z(A.signal,"options.signal")}const d=[];for await(const C of this){var p;if(A!==null&&A!==undefined&&(p=A.signal)!==null&&p!==undefined&&p.aborted){throw new V(undefined,{cause:A.signal.reason})}ue(d,C)}return d}function flatMap(A,d){const p=map.call(this,A,d);return async function*flatMap(){for await(const A of p){yield*A}}.call(this)}function toIntegerOrInfinity(A){A=pe(A);if(fe(A)){return 0}if(A<0){throw new _("number",">= 0",A)}return A}function drop(A,d=undefined){if(d!=null){te(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){Z(d.signal,"options.signal")}A=toIntegerOrInfinity(A);return async function*drop(){var p;if(d!==null&&d!==undefined&&(p=d.signal)!==null&&p!==undefined&&p.aborted){throw new V}for await(const p of this){var C;if(d!==null&&d!==undefined&&(C=d.signal)!==null&&C!==undefined&&C.aborted){throw new V}if(A--<=0){yield p}}}.call(this)}function take(A,d=undefined){if(d!=null){te(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){Z(d.signal,"options.signal")}A=toIntegerOrInfinity(A);return async function*take(){var p;if(d!==null&&d!==undefined&&(p=d.signal)!==null&&p!==undefined&&p.aborted){throw new V}for await(const p of this){var C;if(d!==null&&d!==undefined&&(C=d.signal)!==null&&C!==undefined&&C.aborted){throw new V}if(A-- >0){yield p}if(A<=0){return}}}.call(this)}A.exports.streamReturningOperators={asIndexedPairs:ce(asIndexedPairs,"readable.asIndexedPairs will be removed in a future version."),drop:drop,filter:filter,flatMap:flatMap,map:map,take:take,compose:compose};A.exports.promiseReturningOperators={every:every,forEach:forEach,reduce:reduce,toArray:toArray,some:some,find:find}},26578:(A,d,p)=>{const{ObjectSetPrototypeOf:C}=p(95512);A.exports=PassThrough;const S=p(480);C(PassThrough.prototype,S.prototype);C(PassThrough,S);function PassThrough(A){if(!(this instanceof PassThrough))return new PassThrough(A);S.call(this,A)}PassThrough.prototype._transform=function(A,d,p){p(null,A)}},84712:(A,d,p)=>{const C=p(50180);"use strict";const{ArrayIsArray:S,Promise:v,SymbolAsyncIterator:T,SymbolDispose:_}=p(95512);const V=p(44356);const{once:Z}=p(75806);const ee=p(13822);const te=p(60400);const{aggregateTwoErrors:re,codes:{ERR_INVALID_ARG_TYPE:ne,ERR_INVALID_RETURN_VALUE:ie,ERR_MISSING_ARGS:se,ERR_STREAM_DESTROYED:oe,ERR_STREAM_PREMATURE_CLOSE:ae},AbortError:le}=p(79885);const{validateFunction:ce,validateAbortSignal:ue}=p(46827);const{isIterable:Ae,isReadable:de,isReadableNodeStream:pe,isNodeStream:fe,isTransformStream:he,isWebStream:ge,isReadableStream:me,isReadableFinished:ye}=p(73289);const Ee=globalThis.AbortController||p(19914).AbortController;let be;let Ce;let Be;function destroyer(A,d,p){let C=false;A.on("close",(()=>{C=true}));const S=V(A,{readable:d,writable:p},(A=>{C=!A}));return{destroy:d=>{if(C)return;C=true;ee.destroyer(A,d||new oe("pipe"))},cleanup:S}}function popCallback(A){ce(A[A.length-1],"streams[stream.length - 1]");return A.pop()}function makeAsyncIterable(A){if(Ae(A)){return A}else if(pe(A)){return fromReadable(A)}throw new ne("val",["Readable","Iterable","AsyncIterable"],A)}async function*fromReadable(A){if(!Ce){Ce=p(406)}yield*Ce.prototype[T].call(A)}async function pumpToNode(A,d,p,{end:C}){let S;let T=null;const resume=A=>{if(A){S=A}if(T){const A=T;T=null;A()}};const wait=()=>new v(((A,d)=>{if(S){d(S)}else{T=()=>{if(S){d(S)}else{A()}}}}));d.on("drain",resume);const _=V(d,{readable:false},resume);try{if(d.writableNeedDrain){await wait()}for await(const p of A){if(!d.write(p)){await wait()}}if(C){d.end();await wait()}p()}catch(A){p(S!==A?re(S,A):A)}finally{_();d.off("drain",resume)}}async function pumpToWeb(A,d,p,{end:C}){if(he(d)){d=d.writable}const S=d.getWriter();try{for await(const d of A){await S.ready;S.write(d).catch((()=>{}))}await S.ready;if(C){await S.close()}p()}catch(A){try{await S.abort(A);p(A)}catch(A){p(A)}}}function pipeline(...A){return pipelineImpl(A,Z(popCallback(A)))}function pipelineImpl(A,d,v){if(A.length===1&&S(A[0])){A=A[0]}if(A.length<2){throw new se("streams")}const T=new Ee;const V=T.signal;const Z=v===null||v===undefined?undefined:v.signal;const ee=[];ue(Z,"options.signal");function abort(){finishImpl(new le)}Be=Be||p(75806).addAbortListener;let re;if(Z){re=Be(Z,abort)}let oe;let ae;const ce=[];let ye=0;function finish(A){finishImpl(A,--ye===0)}function finishImpl(A,p){var S;if(A&&(!oe||oe.code==="ERR_STREAM_PREMATURE_CLOSE")){oe=A}if(!oe&&!p){return}while(ce.length){ce.shift()(oe)}(S=re)===null||S===undefined?undefined:S[_]();T.abort();if(p){if(!oe){ee.forEach((A=>A()))}C.nextTick(d,oe,ae)}}let Ce;for(let we=0;we<A.length;we++){const Qe=A[we];const ve=we<A.length-1;const Re=we>0;const Ne=ve||(v===null||v===undefined?undefined:v.end)!==false;const De=we===A.length-1;if(fe(Qe)){if(Ne){const{destroy:xe,cleanup:Te}=destroyer(Qe,ve,Re);ce.push(xe);if(de(Qe)&&De){ee.push(Te)}}function onError(A){if(A&&A.name!=="AbortError"&&A.code!=="ERR_STREAM_PREMATURE_CLOSE"){finish(A)}}Qe.on("error",onError);if(de(Qe)&&De){ee.push((()=>{Qe.removeListener("error",onError)}))}}if(we===0){if(typeof Qe==="function"){Ce=Qe({signal:V});if(!Ae(Ce)){throw new ie("Iterable, AsyncIterable or Stream","source",Ce)}}else if(Ae(Qe)||pe(Qe)||he(Qe)){Ce=Qe}else{Ce=te.from(Qe)}}else if(typeof Qe==="function"){if(he(Ce)){var Ie;Ce=makeAsyncIterable((Ie=Ce)===null||Ie===undefined?undefined:Ie.readable)}else{Ce=makeAsyncIterable(Ce)}Ce=Qe(Ce,{signal:V});if(ve){if(!Ae(Ce,true)){throw new ie("AsyncIterable",`transform[${we-1}]`,Ce)}}else{var Se;if(!be){be=p(26578)}const _e=new be({objectMode:true});const Pe=(Se=Ce)===null||Se===undefined?undefined:Se.then;if(typeof Pe==="function"){ye++;Pe.call(Ce,(A=>{ae=A;if(A!=null){_e.write(A)}if(Ne){_e.end()}C.nextTick(finish)}),(A=>{_e.destroy(A);C.nextTick(finish,A)}))}else if(Ae(Ce,true)){ye++;pumpToNode(Ce,_e,finish,{end:Ne})}else if(me(Ce)||he(Ce)){const Fe=Ce.readable||Ce;ye++;pumpToNode(Fe,_e,finish,{end:Ne})}else{throw new ie("AsyncIterable or Promise","destination",Ce)}Ce=_e;const{destroy:ke,cleanup:Oe}=destroyer(Ce,false,true);ce.push(ke);if(De){ee.push(Oe)}}}else if(fe(Qe)){if(pe(Ce)){ye+=2;const Le=pipe(Ce,Qe,finish,{end:Ne});if(de(Qe)&&De){ee.push(Le)}}else if(he(Ce)||me(Ce)){const Me=Ce.readable||Ce;ye++;pumpToNode(Me,Qe,finish,{end:Ne})}else if(Ae(Ce)){ye++;pumpToNode(Ce,Qe,finish,{end:Ne})}else{throw new ne("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Ce)}Ce=Qe}else if(ge(Qe)){if(pe(Ce)){ye++;pumpToWeb(makeAsyncIterable(Ce),Qe,finish,{end:Ne})}else if(me(Ce)||Ae(Ce)){ye++;pumpToWeb(Ce,Qe,finish,{end:Ne})}else if(he(Ce)){ye++;pumpToWeb(Ce.readable,Qe,finish,{end:Ne})}else{throw new ne("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Ce)}Ce=Qe}else{Ce=te.from(Qe)}}if(V!==null&&V!==undefined&&V.aborted||Z!==null&&Z!==undefined&&Z.aborted){C.nextTick(abort)}return Ce}function pipe(A,d,p,{end:S}){let v=false;d.on("close",(()=>{if(!v){p(new ae)}}));A.pipe(d,{end:false});if(S){function endFn(){v=true;d.end()}if(ye(A)){C.nextTick(endFn)}else{A.once("end",endFn)}}else{p()}V(A,{readable:true,writable:false},(d=>{const C=A._readableState;if(d&&d.code==="ERR_STREAM_PREMATURE_CLOSE"&&C&&C.ended&&!C.errored&&!C.errorEmitted){A.once("end",p).once("error",p)}else{p(d)}}));return V(d,{readable:false,writable:true},p)}A.exports={pipelineImpl:pipelineImpl,pipeline:pipeline}},406:(A,d,p)=>{const C=p(50180);const{ArrayPrototypeIndexOf:S,NumberIsInteger:v,NumberIsNaN:T,NumberParseInt:_,ObjectDefineProperties:V,ObjectKeys:Z,ObjectSetPrototypeOf:ee,Promise:te,SafeSet:re,SymbolAsyncDispose:ne,SymbolAsyncIterator:ie,Symbol:se}=p(95512);A.exports=Readable;Readable.ReadableState=ReadableState;const{EventEmitter:oe}=p(24434);const{Stream:ae,prependListener:le}=p(98321);const{Buffer:ce}=p(20181);const{addAbortSignal:ue}=p(72105);const Ae=p(44356);let de=p(75806).debuglog("stream",(A=>{de=A}));const pe=p(21195);const fe=p(13822);const{getHighWaterMark:he,getDefaultHighWaterMark:ge}=p(25873);const{aggregateTwoErrors:me,codes:{ERR_INVALID_ARG_TYPE:ye,ERR_METHOD_NOT_IMPLEMENTED:Ee,ERR_OUT_OF_RANGE:be,ERR_STREAM_PUSH_AFTER_EOF:Ce,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:Be},AbortError:Ie}=p(79885);const{validateObject:Se}=p(46827);const we=se("kPaused");const{StringDecoder:Qe}=p(93243);const ve=p(17806);ee(Readable.prototype,ae.prototype);ee(Readable,ae);const nop=()=>{};const{errorOrDestroy:Re}=fe;const Ne=1<<0;const De=1<<1;const xe=1<<2;const Te=1<<3;const _e=1<<4;const Pe=1<<5;const ke=1<<6;const Oe=1<<7;const Fe=1<<8;const Le=1<<9;const Me=1<<10;const Ue=1<<11;const He=1<<12;const Ge=1<<13;const qe=1<<14;const je=1<<15;const ze=1<<16;const Ve=1<<17;const We=1<<18;function makeBitMapDescriptor(A){return{enumerable:false,get(){return(this.state&A)!==0},set(d){if(d)this.state|=A;else this.state&=~A}}}V(ReadableState.prototype,{objectMode:makeBitMapDescriptor(Ne),ended:makeBitMapDescriptor(De),endEmitted:makeBitMapDescriptor(xe),reading:makeBitMapDescriptor(Te),constructed:makeBitMapDescriptor(_e),sync:makeBitMapDescriptor(Pe),needReadable:makeBitMapDescriptor(ke),emittedReadable:makeBitMapDescriptor(Oe),readableListening:makeBitMapDescriptor(Fe),resumeScheduled:makeBitMapDescriptor(Le),errorEmitted:makeBitMapDescriptor(Me),emitClose:makeBitMapDescriptor(Ue),autoDestroy:makeBitMapDescriptor(He),destroyed:makeBitMapDescriptor(Ge),closed:makeBitMapDescriptor(qe),closeEmitted:makeBitMapDescriptor(je),multiAwaitDrain:makeBitMapDescriptor(ze),readingMore:makeBitMapDescriptor(Ve),dataEmitted:makeBitMapDescriptor(We)});function ReadableState(A,d,C){if(typeof C!=="boolean")C=d instanceof p(60400);this.state=Ue|He|_e|Pe;if(A&&A.objectMode)this.state|=Ne;if(C&&A&&A.readableObjectMode)this.state|=Ne;this.highWaterMark=A?he(this,A,"readableHighWaterMark",C):ge(false);this.buffer=new pe;this.length=0;this.pipes=[];this.flowing=null;this[we]=null;if(A&&A.emitClose===false)this.state&=~Ue;if(A&&A.autoDestroy===false)this.state&=~He;this.errored=null;this.defaultEncoding=A&&A.defaultEncoding||"utf8";this.awaitDrainWriters=null;this.decoder=null;this.encoding=null;if(A&&A.encoding){this.decoder=new Qe(A.encoding);this.encoding=A.encoding}}function Readable(A){if(!(this instanceof Readable))return new Readable(A);const d=this instanceof p(60400);this._readableState=new ReadableState(A,this,d);if(A){if(typeof A.read==="function")this._read=A.read;if(typeof A.destroy==="function")this._destroy=A.destroy;if(typeof A.construct==="function")this._construct=A.construct;if(A.signal&&!d)ue(A.signal,this)}ae.call(this,A);fe.construct(this,(()=>{if(this._readableState.needReadable){maybeReadMore(this,this._readableState)}}))}Readable.prototype.destroy=fe.destroy;Readable.prototype._undestroy=fe.undestroy;Readable.prototype._destroy=function(A,d){d(A)};Readable.prototype[oe.captureRejectionSymbol]=function(A){this.destroy(A)};Readable.prototype[ne]=function(){let A;if(!this.destroyed){A=this.readableEnded?null:new Ie;this.destroy(A)}return new te(((d,p)=>Ae(this,(C=>C&&C!==A?p(C):d(null)))))};Readable.prototype.push=function(A,d){return readableAddChunk(this,A,d,false)};Readable.prototype.unshift=function(A,d){return readableAddChunk(this,A,d,true)};function readableAddChunk(A,d,p,C){de("readableAddChunk",d);const S=A._readableState;let v;if((S.state&Ne)===0){if(typeof d==="string"){p=p||S.defaultEncoding;if(S.encoding!==p){if(C&&S.encoding){d=ce.from(d,p).toString(S.encoding)}else{d=ce.from(d,p);p=""}}}else if(d instanceof ce){p=""}else if(ae._isUint8Array(d)){d=ae._uint8ArrayToBuffer(d);p=""}else if(d!=null){v=new ye("chunk",["string","Buffer","Uint8Array"],d)}}if(v){Re(A,v)}else if(d===null){S.state&=~Te;onEofChunk(A,S)}else if((S.state&Ne)!==0||d&&d.length>0){if(C){if((S.state&xe)!==0)Re(A,new Be);else if(S.destroyed||S.errored)return false;else addChunk(A,S,d,true)}else if(S.ended){Re(A,new Ce)}else if(S.destroyed||S.errored){return false}else{S.state&=~Te;if(S.decoder&&!p){d=S.decoder.write(d);if(S.objectMode||d.length!==0)addChunk(A,S,d,false);else maybeReadMore(A,S)}else{addChunk(A,S,d,false)}}}else if(!C){S.state&=~Te;maybeReadMore(A,S)}return!S.ended&&(S.length<S.highWaterMark||S.length===0)}function addChunk(A,d,p,C){if(d.flowing&&d.length===0&&!d.sync&&A.listenerCount("data")>0){if((d.state&ze)!==0){d.awaitDrainWriters.clear()}else{d.awaitDrainWriters=null}d.dataEmitted=true;A.emit("data",p)}else{d.length+=d.objectMode?1:p.length;if(C)d.buffer.unshift(p);else d.buffer.push(p);if((d.state&ke)!==0)emitReadable(A)}maybeReadMore(A,d)}Readable.prototype.isPaused=function(){const A=this._readableState;return A[we]===true||A.flowing===false};Readable.prototype.setEncoding=function(A){const d=new Qe(A);this._readableState.decoder=d;this._readableState.encoding=this._readableState.decoder.encoding;const p=this._readableState.buffer;let C="";for(const A of p){C+=d.write(A)}p.clear();if(C!=="")p.push(C);this._readableState.length=C.length;return this};const Ye=1073741824;function computeNewHighWaterMark(A){if(A>Ye){throw new be("size","<= 1GiB",A)}else{A--;A|=A>>>1;A|=A>>>2;A|=A>>>4;A|=A>>>8;A|=A>>>16;A++}return A}function howMuchToRead(A,d){if(A<=0||d.length===0&&d.ended)return 0;if((d.state&Ne)!==0)return 1;if(T(A)){if(d.flowing&&d.length)return d.buffer.first().length;return d.length}if(A<=d.length)return A;return d.ended?d.length:0}Readable.prototype.read=function(A){de("read",A);if(A===undefined){A=NaN}else if(!v(A)){A=_(A,10)}const d=this._readableState;const p=A;if(A>d.highWaterMark)d.highWaterMark=computeNewHighWaterMark(A);if(A!==0)d.state&=~Oe;if(A===0&&d.needReadable&&((d.highWaterMark!==0?d.length>=d.highWaterMark:d.length>0)||d.ended)){de("read: emitReadable",d.length,d.ended);if(d.length===0&&d.ended)endReadable(this);else emitReadable(this);return null}A=howMuchToRead(A,d);if(A===0&&d.ended){if(d.length===0)endReadable(this);return null}let C=(d.state&ke)!==0;de("need readable",C);if(d.length===0||d.length-A<d.highWaterMark){C=true;de("length less than watermark",C)}if(d.ended||d.reading||d.destroyed||d.errored||!d.constructed){C=false;de("reading, ended or constructing",C)}else if(C){de("do read");d.state|=Te|Pe;if(d.length===0)d.state|=ke;try{this._read(d.highWaterMark)}catch(A){Re(this,A)}d.state&=~Pe;if(!d.reading)A=howMuchToRead(p,d)}let S;if(A>0)S=fromList(A,d);else S=null;if(S===null){d.needReadable=d.length<=d.highWaterMark;A=0}else{d.length-=A;if(d.multiAwaitDrain){d.awaitDrainWriters.clear()}else{d.awaitDrainWriters=null}}if(d.length===0){if(!d.ended)d.needReadable=true;if(p!==A&&d.ended)endReadable(this)}if(S!==null&&!d.errorEmitted&&!d.closeEmitted){d.dataEmitted=true;this.emit("data",S)}return S};function onEofChunk(A,d){de("onEofChunk");if(d.ended)return;if(d.decoder){const A=d.decoder.end();if(A&&A.length){d.buffer.push(A);d.length+=d.objectMode?1:A.length}}d.ended=true;if(d.sync){emitReadable(A)}else{d.needReadable=false;d.emittedReadable=true;emitReadable_(A)}}function emitReadable(A){const d=A._readableState;de("emitReadable",d.needReadable,d.emittedReadable);d.needReadable=false;if(!d.emittedReadable){de("emitReadable",d.flowing);d.emittedReadable=true;C.nextTick(emitReadable_,A)}}function emitReadable_(A){const d=A._readableState;de("emitReadable_",d.destroyed,d.length,d.ended);if(!d.destroyed&&!d.errored&&(d.length||d.ended)){A.emit("readable");d.emittedReadable=false}d.needReadable=!d.flowing&&!d.ended&&d.length<=d.highWaterMark;flow(A)}function maybeReadMore(A,d){if(!d.readingMore&&d.constructed){d.readingMore=true;C.nextTick(maybeReadMore_,A,d)}}function maybeReadMore_(A,d){while(!d.reading&&!d.ended&&(d.length<d.highWaterMark||d.flowing&&d.length===0)){const p=d.length;de("maybeReadMore read 0");A.read(0);if(p===d.length)break}d.readingMore=false}Readable.prototype._read=function(A){throw new Ee("_read()")};Readable.prototype.pipe=function(A,d){const p=this;const S=this._readableState;if(S.pipes.length===1){if(!S.multiAwaitDrain){S.multiAwaitDrain=true;S.awaitDrainWriters=new re(S.awaitDrainWriters?[S.awaitDrainWriters]:[])}}S.pipes.push(A);de("pipe count=%d opts=%j",S.pipes.length,d);const v=(!d||d.end!==false)&&A!==C.stdout&&A!==C.stderr;const T=v?onend:unpipe;if(S.endEmitted)C.nextTick(T);else p.once("end",T);A.on("unpipe",onunpipe);function onunpipe(A,d){de("onunpipe");if(A===p){if(d&&d.hasUnpiped===false){d.hasUnpiped=true;cleanup()}}}function onend(){de("onend");A.end()}let _;let V=false;function cleanup(){de("cleanup");A.removeListener("close",onclose);A.removeListener("finish",onfinish);if(_){A.removeListener("drain",_)}A.removeListener("error",onerror);A.removeListener("unpipe",onunpipe);p.removeListener("end",onend);p.removeListener("end",unpipe);p.removeListener("data",ondata);V=true;if(_&&S.awaitDrainWriters&&(!A._writableState||A._writableState.needDrain))_()}function pause(){if(!V){if(S.pipes.length===1&&S.pipes[0]===A){de("false write response, pause",0);S.awaitDrainWriters=A;S.multiAwaitDrain=false}else if(S.pipes.length>1&&S.pipes.includes(A)){de("false write response, pause",S.awaitDrainWriters.size);S.awaitDrainWriters.add(A)}p.pause()}if(!_){_=pipeOnDrain(p,A);A.on("drain",_)}}p.on("data",ondata);function ondata(d){de("ondata");const p=A.write(d);de("dest.write",p);if(p===false){pause()}}function onerror(d){de("onerror",d);unpipe();A.removeListener("error",onerror);if(A.listenerCount("error")===0){const p=A._writableState||A._readableState;if(p&&!p.errorEmitted){Re(A,d)}else{A.emit("error",d)}}}le(A,"error",onerror);function onclose(){A.removeListener("finish",onfinish);unpipe()}A.once("close",onclose);function onfinish(){de("onfinish");A.removeListener("close",onclose);unpipe()}A.once("finish",onfinish);function unpipe(){de("unpipe");p.unpipe(A)}A.emit("pipe",p);if(A.writableNeedDrain===true){pause()}else if(!S.flowing){de("pipe resume");p.resume()}return A};function pipeOnDrain(A,d){return function pipeOnDrainFunctionResult(){const p=A._readableState;if(p.awaitDrainWriters===d){de("pipeOnDrain",1);p.awaitDrainWriters=null}else if(p.multiAwaitDrain){de("pipeOnDrain",p.awaitDrainWriters.size);p.awaitDrainWriters.delete(d)}if((!p.awaitDrainWriters||p.awaitDrainWriters.size===0)&&A.listenerCount("data")){A.resume()}}}Readable.prototype.unpipe=function(A){const d=this._readableState;const p={hasUnpiped:false};if(d.pipes.length===0)return this;if(!A){const A=d.pipes;d.pipes=[];this.pause();for(let d=0;d<A.length;d++)A[d].emit("unpipe",this,{hasUnpiped:false});return this}const C=S(d.pipes,A);if(C===-1)return this;d.pipes.splice(C,1);if(d.pipes.length===0)this.pause();A.emit("unpipe",this,p);return this};Readable.prototype.on=function(A,d){const p=ae.prototype.on.call(this,A,d);const S=this._readableState;if(A==="data"){S.readableListening=this.listenerCount("readable")>0;if(S.flowing!==false)this.resume()}else if(A==="readable"){if(!S.endEmitted&&!S.readableListening){S.readableListening=S.needReadable=true;S.flowing=false;S.emittedReadable=false;de("on readable",S.length,S.reading);if(S.length){emitReadable(this)}else if(!S.reading){C.nextTick(nReadingNextTick,this)}}}return p};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(A,d){const p=ae.prototype.removeListener.call(this,A,d);if(A==="readable"){C.nextTick(updateReadableListening,this)}return p};Readable.prototype.off=Readable.prototype.removeListener;Readable.prototype.removeAllListeners=function(A){const d=ae.prototype.removeAllListeners.apply(this,arguments);if(A==="readable"||A===undefined){C.nextTick(updateReadableListening,this)}return d};function updateReadableListening(A){const d=A._readableState;d.readableListening=A.listenerCount("readable")>0;if(d.resumeScheduled&&d[we]===false){d.flowing=true}else if(A.listenerCount("data")>0){A.resume()}else if(!d.readableListening){d.flowing=null}}function nReadingNextTick(A){de("readable nexttick read 0");A.read(0)}Readable.prototype.resume=function(){const A=this._readableState;if(!A.flowing){de("resume");A.flowing=!A.readableListening;resume(this,A)}A[we]=false;return this};function resume(A,d){if(!d.resumeScheduled){d.resumeScheduled=true;C.nextTick(resume_,A,d)}}function resume_(A,d){de("resume",d.reading);if(!d.reading){A.read(0)}d.resumeScheduled=false;A.emit("resume");flow(A);if(d.flowing&&!d.reading)A.read(0)}Readable.prototype.pause=function(){de("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){de("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState[we]=true;return this};function flow(A){const d=A._readableState;de("flow",d.flowing);while(d.flowing&&A.read()!==null);}Readable.prototype.wrap=function(A){let d=false;A.on("data",(p=>{if(!this.push(p)&&A.pause){d=true;A.pause()}}));A.on("end",(()=>{this.push(null)}));A.on("error",(A=>{Re(this,A)}));A.on("close",(()=>{this.destroy()}));A.on("destroy",(()=>{this.destroy()}));this._read=()=>{if(d&&A.resume){d=false;A.resume()}};const p=Z(A);for(let d=1;d<p.length;d++){const C=p[d];if(this[C]===undefined&&typeof A[C]==="function"){this[C]=A[C].bind(A)}}return this};Readable.prototype[ie]=function(){return streamToAsyncIterator(this)};Readable.prototype.iterator=function(A){if(A!==undefined){Se(A,"options")}return streamToAsyncIterator(this,A)};function streamToAsyncIterator(A,d){if(typeof A.read!=="function"){A=Readable.wrap(A,{objectMode:true})}const p=createAsyncIterator(A,d);p.stream=A;return p}async function*createAsyncIterator(A,d){let p=nop;function next(d){if(this===A){p();p=nop}else{p=d}}A.on("readable",next);let C;const S=Ae(A,{writable:false},(A=>{C=A?me(C,A):null;p();p=nop}));try{while(true){const d=A.destroyed?null:A.read();if(d!==null){yield d}else if(C){throw C}else if(C===null){return}else{await new te(next)}}}catch(A){C=me(C,A);throw C}finally{if((C||(d===null||d===undefined?undefined:d.destroyOnReturn)!==false)&&(C===undefined||A._readableState.autoDestroy)){fe.destroyer(A,null)}else{A.off("readable",next);S()}}}V(Readable.prototype,{readable:{__proto__:null,get(){const A=this._readableState;return!!A&&A.readable!==false&&!A.destroyed&&!A.errorEmitted&&!A.endEmitted},set(A){if(this._readableState){this._readableState.readable=!!A}}},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(A){if(this._readableState){this._readableState.flowing=A}}},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(A){if(!this._readableState){return}this._readableState.destroyed=A}},readableEnded:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.endEmitted:false}}});V(ReadableState.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[we]!==false},set(A){this[we]=!!A}}});Readable._fromList=fromList;function fromList(A,d){if(d.length===0)return null;let p;if(d.objectMode)p=d.buffer.shift();else if(!A||A>=d.length){if(d.decoder)p=d.buffer.join("");else if(d.buffer.length===1)p=d.buffer.first();else p=d.buffer.concat(d.length);d.buffer.clear()}else{p=d.buffer.consume(A,d.decoder)}return p}function endReadable(A){const d=A._readableState;de("endReadable",d.endEmitted);if(!d.endEmitted){d.ended=true;C.nextTick(endReadableNT,d,A)}}function endReadableNT(A,d){de("endReadableNT",A.endEmitted,A.length);if(!A.errored&&!A.closeEmitted&&!A.endEmitted&&A.length===0){A.endEmitted=true;d.emit("end");if(d.writable&&d.allowHalfOpen===false){C.nextTick(endWritableNT,d)}else if(A.autoDestroy){const A=d._writableState;const p=!A||A.autoDestroy&&(A.finished||A.writable===false);if(p){d.destroy()}}}}function endWritableNT(A){const d=A.writable&&!A.writableEnded&&!A.destroyed;if(d){A.end()}}Readable.from=function(A,d){return ve(Readable,A,d)};let Je;function lazyWebStreams(){if(Je===undefined)Je={};return Je}Readable.fromWeb=function(A,d){return lazyWebStreams().newStreamReadableFromReadableStream(A,d)};Readable.toWeb=function(A,d){return lazyWebStreams().newReadableStreamFromStreamReadable(A,d)};Readable.wrap=function(A,d){var p,C;return new Readable({objectMode:(p=(C=A.readableObjectMode)!==null&&C!==undefined?C:A.objectMode)!==null&&p!==undefined?p:true,...d,destroy(d,p){fe.destroyer(A,d);p(d)}}).wrap(A)}},25873:(A,d,p)=>{const{MathFloor:C,NumberIsInteger:S}=p(95512);const{validateInteger:v}=p(46827);const{ERR_INVALID_ARG_VALUE:T}=p(79885).codes;let _=16*1024;let V=16;function highWaterMarkFrom(A,d,p){return A.highWaterMark!=null?A.highWaterMark:d?A[p]:null}function getDefaultHighWaterMark(A){return A?V:_}function setDefaultHighWaterMark(A,d){v(d,"value",0);if(A){V=d}else{_=d}}function getHighWaterMark(A,d,p,v){const _=highWaterMarkFrom(d,v,p);if(_!=null){if(!S(_)||_<0){const A=v?`options.${p}`:"options.highWaterMark";throw new T(A,_)}return C(_)}return getDefaultHighWaterMark(A.objectMode)}A.exports={getHighWaterMark:getHighWaterMark,getDefaultHighWaterMark:getDefaultHighWaterMark,setDefaultHighWaterMark:setDefaultHighWaterMark}},480:(A,d,p)=>{const{ObjectSetPrototypeOf:C,Symbol:S}=p(95512);A.exports=Transform;const{ERR_METHOD_NOT_IMPLEMENTED:v}=p(79885).codes;const T=p(60400);const{getHighWaterMark:_}=p(25873);C(Transform.prototype,T.prototype);C(Transform,T);const V=S("kCallback");function Transform(A){if(!(this instanceof Transform))return new Transform(A);const d=A?_(this,A,"readableHighWaterMark",true):null;if(d===0){A={...A,highWaterMark:null,readableHighWaterMark:d,writableHighWaterMark:A.writableHighWaterMark||0}}T.call(this,A);this._readableState.sync=false;this[V]=null;if(A){if(typeof A.transform==="function")this._transform=A.transform;if(typeof A.flush==="function")this._flush=A.flush}this.on("prefinish",prefinish)}function final(A){if(typeof this._flush==="function"&&!this.destroyed){this._flush(((d,p)=>{if(d){if(A){A(d)}else{this.destroy(d)}return}if(p!=null){this.push(p)}this.push(null);if(A){A()}}))}else{this.push(null);if(A){A()}}}function prefinish(){if(this._final!==final){final.call(this)}}Transform.prototype._final=final;Transform.prototype._transform=function(A,d,p){throw new v("_transform()")};Transform.prototype._write=function(A,d,p){const C=this._readableState;const S=this._writableState;const v=C.length;this._transform(A,d,((A,d)=>{if(A){p(A);return}if(d!=null){this.push(d)}if(S.ended||v===C.length||C.length<C.highWaterMark){p()}else{this[V]=p}}))};Transform.prototype._read=function(){if(this[V]){const A=this[V];this[V]=null;A()}}},73289:(A,d,p)=>{const{SymbolAsyncIterator:C,SymbolIterator:S,SymbolFor:v}=p(95512);const T=v("nodejs.stream.destroyed");const _=v("nodejs.stream.errored");const V=v("nodejs.stream.readable");const Z=v("nodejs.stream.writable");const ee=v("nodejs.stream.disturbed");const te=v("nodejs.webstream.isClosedPromise");const re=v("nodejs.webstream.controllerErrorFunction");function isReadableNodeStream(A,d=false){var p;return!!(A&&typeof A.pipe==="function"&&typeof A.on==="function"&&(!d||typeof A.pause==="function"&&typeof A.resume==="function")&&(!A._writableState||((p=A._readableState)===null||p===undefined?undefined:p.readable)!==false)&&(!A._writableState||A._readableState))}function isWritableNodeStream(A){var d;return!!(A&&typeof A.write==="function"&&typeof A.on==="function"&&(!A._readableState||((d=A._writableState)===null||d===undefined?undefined:d.writable)!==false))}function isDuplexNodeStream(A){return!!(A&&typeof A.pipe==="function"&&A._readableState&&typeof A.on==="function"&&typeof A.write==="function")}function isNodeStream(A){return A&&(A._readableState||A._writableState||typeof A.write==="function"&&typeof A.on==="function"||typeof A.pipe==="function"&&typeof A.on==="function")}function isReadableStream(A){return!!(A&&!isNodeStream(A)&&typeof A.pipeThrough==="function"&&typeof A.getReader==="function"&&typeof A.cancel==="function")}function isWritableStream(A){return!!(A&&!isNodeStream(A)&&typeof A.getWriter==="function"&&typeof A.abort==="function")}function isTransformStream(A){return!!(A&&!isNodeStream(A)&&typeof A.readable==="object"&&typeof A.writable==="object")}function isWebStream(A){return isReadableStream(A)||isWritableStream(A)||isTransformStream(A)}function isIterable(A,d){if(A==null)return false;if(d===true)return typeof A[C]==="function";if(d===false)return typeof A[S]==="function";return typeof A[C]==="function"||typeof A[S]==="function"}function isDestroyed(A){if(!isNodeStream(A))return null;const d=A._writableState;const p=A._readableState;const C=d||p;return!!(A.destroyed||A[T]||C!==null&&C!==undefined&&C.destroyed)}function isWritableEnded(A){if(!isWritableNodeStream(A))return null;if(A.writableEnded===true)return true;const d=A._writableState;if(d!==null&&d!==undefined&&d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.ended)!=="boolean")return null;return d.ended}function isWritableFinished(A,d){if(!isWritableNodeStream(A))return null;if(A.writableFinished===true)return true;const p=A._writableState;if(p!==null&&p!==undefined&&p.errored)return false;if(typeof(p===null||p===undefined?undefined:p.finished)!=="boolean")return null;return!!(p.finished||d===false&&p.ended===true&&p.length===0)}function isReadableEnded(A){if(!isReadableNodeStream(A))return null;if(A.readableEnded===true)return true;const d=A._readableState;if(!d||d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.ended)!=="boolean")return null;return d.ended}function isReadableFinished(A,d){if(!isReadableNodeStream(A))return null;const p=A._readableState;if(p!==null&&p!==undefined&&p.errored)return false;if(typeof(p===null||p===undefined?undefined:p.endEmitted)!=="boolean")return null;return!!(p.endEmitted||d===false&&p.ended===true&&p.length===0)}function isReadable(A){if(A&&A[V]!=null)return A[V];if(typeof(A===null||A===undefined?undefined:A.readable)!=="boolean")return null;if(isDestroyed(A))return false;return isReadableNodeStream(A)&&A.readable&&!isReadableFinished(A)}function isWritable(A){if(A&&A[Z]!=null)return A[Z];if(typeof(A===null||A===undefined?undefined:A.writable)!=="boolean")return null;if(isDestroyed(A))return false;return isWritableNodeStream(A)&&A.writable&&!isWritableEnded(A)}function isFinished(A,d){if(!isNodeStream(A)){return null}if(isDestroyed(A)){return true}if((d===null||d===undefined?undefined:d.readable)!==false&&isReadable(A)){return false}if((d===null||d===undefined?undefined:d.writable)!==false&&isWritable(A)){return false}return true}function isWritableErrored(A){var d,p;if(!isNodeStream(A)){return null}if(A.writableErrored){return A.writableErrored}return(d=(p=A._writableState)===null||p===undefined?undefined:p.errored)!==null&&d!==undefined?d:null}function isReadableErrored(A){var d,p;if(!isNodeStream(A)){return null}if(A.readableErrored){return A.readableErrored}return(d=(p=A._readableState)===null||p===undefined?undefined:p.errored)!==null&&d!==undefined?d:null}function isClosed(A){if(!isNodeStream(A)){return null}if(typeof A.closed==="boolean"){return A.closed}const d=A._writableState;const p=A._readableState;if(typeof(d===null||d===undefined?undefined:d.closed)==="boolean"||typeof(p===null||p===undefined?undefined:p.closed)==="boolean"){return(d===null||d===undefined?undefined:d.closed)||(p===null||p===undefined?undefined:p.closed)}if(typeof A._closed==="boolean"&&isOutgoingMessage(A)){return A._closed}return null}function isOutgoingMessage(A){return typeof A._closed==="boolean"&&typeof A._defaultKeepAlive==="boolean"&&typeof A._removedConnection==="boolean"&&typeof A._removedContLen==="boolean"}function isServerResponse(A){return typeof A._sent100==="boolean"&&isOutgoingMessage(A)}function isServerRequest(A){var d;return typeof A._consuming==="boolean"&&typeof A._dumped==="boolean"&&((d=A.req)===null||d===undefined?undefined:d.upgradeOrConnect)===undefined}function willEmitClose(A){if(!isNodeStream(A))return null;const d=A._writableState;const p=A._readableState;const C=d||p;return!C&&isServerResponse(A)||!!(C&&C.autoDestroy&&C.emitClose&&C.closed===false)}function isDisturbed(A){var d;return!!(A&&((d=A[ee])!==null&&d!==undefined?d:A.readableDidRead||A.readableAborted))}function isErrored(A){var d,p,C,S,v,T,V,Z,ee,te;return!!(A&&((d=(p=(C=(S=(v=(T=A[_])!==null&&T!==undefined?T:A.readableErrored)!==null&&v!==undefined?v:A.writableErrored)!==null&&S!==undefined?S:(V=A._readableState)===null||V===undefined?undefined:V.errorEmitted)!==null&&C!==undefined?C:(Z=A._writableState)===null||Z===undefined?undefined:Z.errorEmitted)!==null&&p!==undefined?p:(ee=A._readableState)===null||ee===undefined?undefined:ee.errored)!==null&&d!==undefined?d:(te=A._writableState)===null||te===undefined?undefined:te.errored))}A.exports={isDestroyed:isDestroyed,kIsDestroyed:T,isDisturbed:isDisturbed,kIsDisturbed:ee,isErrored:isErrored,kIsErrored:_,isReadable:isReadable,kIsReadable:V,kIsClosedPromise:te,kControllerErrorFunction:re,kIsWritable:Z,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}},34234:(A,d,p)=>{const C=p(50180);const{ArrayPrototypeSlice:S,Error:v,FunctionPrototypeSymbolHasInstance:T,ObjectDefineProperty:_,ObjectDefineProperties:V,ObjectSetPrototypeOf:Z,StringPrototypeToLowerCase:ee,Symbol:te,SymbolHasInstance:re}=p(95512);A.exports=Writable;Writable.WritableState=WritableState;const{EventEmitter:ne}=p(24434);const ie=p(98321).Stream;const{Buffer:se}=p(20181);const oe=p(13822);const{addAbortSignal:ae}=p(72105);const{getHighWaterMark:le,getDefaultHighWaterMark:ce}=p(25873);const{ERR_INVALID_ARG_TYPE:ue,ERR_METHOD_NOT_IMPLEMENTED:Ae,ERR_MULTIPLE_CALLBACK:de,ERR_STREAM_CANNOT_PIPE:pe,ERR_STREAM_DESTROYED:fe,ERR_STREAM_ALREADY_FINISHED:he,ERR_STREAM_NULL_VALUES:ge,ERR_STREAM_WRITE_AFTER_END:me,ERR_UNKNOWN_ENCODING:ye}=p(79885).codes;const{errorOrDestroy:Ee}=oe;Z(Writable.prototype,ie.prototype);Z(Writable,ie);function nop(){}const be=te("kOnFinished");function WritableState(A,d,C){if(typeof C!=="boolean")C=d instanceof p(60400);this.objectMode=!!(A&&A.objectMode);if(C)this.objectMode=this.objectMode||!!(A&&A.writableObjectMode);this.highWaterMark=A?le(this,A,"writableHighWaterMark",C):ce(false);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;const S=!!(A&&A.decodeStrings===false);this.decodeStrings=!S;this.defaultEncoding=A&&A.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=onwrite.bind(undefined,d);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=!A||A.emitClose!==false;this.autoDestroy=!A||A.autoDestroy!==false;this.errored=null;this.closed=false;this.closeEmitted=false;this[be]=[]}function resetBuffer(A){A.buffered=[];A.bufferedIndex=0;A.allBuffers=true;A.allNoop=true}WritableState.prototype.getBuffer=function getBuffer(){return S(this.buffered,this.bufferedIndex)};_(WritableState.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Writable(A){const d=this instanceof p(60400);if(!d&&!T(Writable,this))return new Writable(A);this._writableState=new WritableState(A,this,d);if(A){if(typeof A.write==="function")this._write=A.write;if(typeof A.writev==="function")this._writev=A.writev;if(typeof A.destroy==="function")this._destroy=A.destroy;if(typeof A.final==="function")this._final=A.final;if(typeof A.construct==="function")this._construct=A.construct;if(A.signal)ae(A.signal,this)}ie.call(this,A);oe.construct(this,(()=>{const A=this._writableState;if(!A.writing){clearBuffer(this,A)}finishMaybe(this,A)}))}_(Writable,re,{__proto__:null,value:function(A){if(T(this,A))return true;if(this!==Writable)return false;return A&&A._writableState instanceof WritableState}});Writable.prototype.pipe=function(){Ee(this,new pe)};function _write(A,d,p,S){const v=A._writableState;if(typeof p==="function"){S=p;p=v.defaultEncoding}else{if(!p)p=v.defaultEncoding;else if(p!=="buffer"&&!se.isEncoding(p))throw new ye(p);if(typeof S!=="function")S=nop}if(d===null){throw new ge}else if(!v.objectMode){if(typeof d==="string"){if(v.decodeStrings!==false){d=se.from(d,p);p="buffer"}}else if(d instanceof se){p="buffer"}else if(ie._isUint8Array(d)){d=ie._uint8ArrayToBuffer(d);p="buffer"}else{throw new ue("chunk",["string","Buffer","Uint8Array"],d)}}let T;if(v.ending){T=new me}else if(v.destroyed){T=new fe("write")}if(T){C.nextTick(S,T);Ee(A,T,true);return T}v.pendingcb++;return writeOrBuffer(A,v,d,p,S)}Writable.prototype.write=function(A,d,p){return _write(this,A,d,p)===true};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){const A=this._writableState;if(A.corked){A.corked--;if(!A.writing)clearBuffer(this,A)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(A){if(typeof A==="string")A=ee(A);if(!se.isEncoding(A))throw new ye(A);this._writableState.defaultEncoding=A;return this};function writeOrBuffer(A,d,p,C,S){const v=d.objectMode?1:p.length;d.length+=v;const T=d.length<d.highWaterMark;if(!T)d.needDrain=true;if(d.writing||d.corked||d.errored||!d.constructed){d.buffered.push({chunk:p,encoding:C,callback:S});if(d.allBuffers&&C!=="buffer"){d.allBuffers=false}if(d.allNoop&&S!==nop){d.allNoop=false}}else{d.writelen=v;d.writecb=S;d.writing=true;d.sync=true;A._write(p,C,d.onwrite);d.sync=false}return T&&!d.errored&&!d.destroyed}function doWrite(A,d,p,C,S,v,T){d.writelen=C;d.writecb=T;d.writing=true;d.sync=true;if(d.destroyed)d.onwrite(new fe("write"));else if(p)A._writev(S,d.onwrite);else A._write(S,v,d.onwrite);d.sync=false}function onwriteError(A,d,p,C){--d.pendingcb;C(p);errorBuffer(d);Ee(A,p)}function onwrite(A,d){const p=A._writableState;const S=p.sync;const v=p.writecb;if(typeof v!=="function"){Ee(A,new de);return}p.writing=false;p.writecb=null;p.length-=p.writelen;p.writelen=0;if(d){d.stack;if(!p.errored){p.errored=d}if(A._readableState&&!A._readableState.errored){A._readableState.errored=d}if(S){C.nextTick(onwriteError,A,p,d,v)}else{onwriteError(A,p,d,v)}}else{if(p.buffered.length>p.bufferedIndex){clearBuffer(A,p)}if(S){if(p.afterWriteTickInfo!==null&&p.afterWriteTickInfo.cb===v){p.afterWriteTickInfo.count++}else{p.afterWriteTickInfo={count:1,cb:v,stream:A,state:p};C.nextTick(afterWriteTick,p.afterWriteTickInfo)}}else{afterWrite(A,p,1,v)}}}function afterWriteTick({stream:A,state:d,count:p,cb:C}){d.afterWriteTickInfo=null;return afterWrite(A,d,p,C)}function afterWrite(A,d,p,C){const S=!d.ending&&!A.destroyed&&d.length===0&&d.needDrain;if(S){d.needDrain=false;A.emit("drain")}while(p-- >0){d.pendingcb--;C()}if(d.destroyed){errorBuffer(d)}finishMaybe(A,d)}function errorBuffer(A){if(A.writing){return}for(let p=A.bufferedIndex;p<A.buffered.length;++p){var d;const{chunk:C,callback:S}=A.buffered[p];const v=A.objectMode?1:C.length;A.length-=v;S((d=A.errored)!==null&&d!==undefined?d:new fe("write"))}const p=A[be].splice(0);for(let d=0;d<p.length;d++){var C;p[d]((C=A.errored)!==null&&C!==undefined?C:new fe("end"))}resetBuffer(A)}function clearBuffer(A,d){if(d.corked||d.bufferProcessing||d.destroyed||!d.constructed){return}const{buffered:p,bufferedIndex:C,objectMode:v}=d;const T=p.length-C;if(!T){return}let _=C;d.bufferProcessing=true;if(T>1&&A._writev){d.pendingcb-=T-1;const C=d.allNoop?nop:A=>{for(let d=_;d<p.length;++d){p[d].callback(A)}};const v=d.allNoop&&_===0?p:S(p,_);v.allBuffers=d.allBuffers;doWrite(A,d,true,d.length,v,"",C);resetBuffer(d)}else{do{const{chunk:C,encoding:S,callback:T}=p[_];p[_++]=null;const V=v?1:C.length;doWrite(A,d,false,V,C,S,T)}while(_<p.length&&!d.writing);if(_===p.length){resetBuffer(d)}else if(_>256){p.splice(0,_);d.bufferedIndex=0}else{d.bufferedIndex=_}}d.bufferProcessing=false}Writable.prototype._write=function(A,d,p){if(this._writev){this._writev([{chunk:A,encoding:d}],p)}else{throw new Ae("_write()")}};Writable.prototype._writev=null;Writable.prototype.end=function(A,d,p){const S=this._writableState;if(typeof A==="function"){p=A;A=null;d=null}else if(typeof d==="function"){p=d;d=null}let T;if(A!==null&&A!==undefined){const p=_write(this,A,d);if(p instanceof v){T=p}}if(S.corked){S.corked=1;this.uncork()}if(T){}else if(!S.errored&&!S.ending){S.ending=true;finishMaybe(this,S,true);S.ended=true}else if(S.finished){T=new he("end")}else if(S.destroyed){T=new fe("end")}if(typeof p==="function"){if(T||S.finished){C.nextTick(p,T)}else{S[be].push(p)}}return this};function needFinish(A){return A.ending&&!A.destroyed&&A.constructed&&A.length===0&&!A.errored&&A.buffered.length===0&&!A.finished&&!A.writing&&!A.errorEmitted&&!A.closeEmitted}function callFinal(A,d){let p=false;function onFinish(S){if(p){Ee(A,S!==null&&S!==undefined?S:de());return}p=true;d.pendingcb--;if(S){const p=d[be].splice(0);for(let A=0;A<p.length;A++){p[A](S)}Ee(A,S,d.sync)}else if(needFinish(d)){d.prefinished=true;A.emit("prefinish");d.pendingcb++;C.nextTick(finish,A,d)}}d.sync=true;d.pendingcb++;try{A._final(onFinish)}catch(A){onFinish(A)}d.sync=false}function prefinish(A,d){if(!d.prefinished&&!d.finalCalled){if(typeof A._final==="function"&&!d.destroyed){d.finalCalled=true;callFinal(A,d)}else{d.prefinished=true;A.emit("prefinish")}}}function finishMaybe(A,d,p){if(needFinish(d)){prefinish(A,d);if(d.pendingcb===0){if(p){d.pendingcb++;C.nextTick(((A,d)=>{if(needFinish(d)){finish(A,d)}else{d.pendingcb--}}),A,d)}else if(needFinish(d)){d.pendingcb++;finish(A,d)}}}}function finish(A,d){d.pendingcb--;d.finished=true;const p=d[be].splice(0);for(let A=0;A<p.length;A++){p[A]()}A.emit("finish");if(d.autoDestroy){const d=A._readableState;const p=!d||d.autoDestroy&&(d.endEmitted||d.readable===false);if(p){A.destroy()}}}V(Writable.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:false}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:false},set(A){if(this._writableState){this._writableState.destroyed=A}}},writable:{__proto__:null,get(){const A=this._writableState;return!!A&&A.writable!==false&&!A.destroyed&&!A.errored&&!A.ending&&!A.ended},set(A){if(this._writableState){this._writableState.writable=!!A}}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:false}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:false}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:false}},writableNeedDrain:{__proto__:null,get(){const A=this._writableState;if(!A)return false;return!A.destroyed&&!A.ending&&A.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:false,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:false,get:function(){return!!(this._writableState.writable!==false&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});const Ce=oe.destroy;Writable.prototype.destroy=function(A,d){const p=this._writableState;if(!p.destroyed&&(p.bufferedIndex<p.buffered.length||p[be].length)){C.nextTick(errorBuffer,p)}Ce.call(this,A,d);return this};Writable.prototype._undestroy=oe.undestroy;Writable.prototype._destroy=function(A,d){d(A)};Writable.prototype[ne.captureRejectionSymbol]=function(A){this.destroy(A)};let Be;function lazyWebStreams(){if(Be===undefined)Be={};return Be}Writable.fromWeb=function(A,d){return lazyWebStreams().newStreamWritableFromWritableStream(A,d)};Writable.toWeb=function(A){return lazyWebStreams().newWritableStreamFromStreamWritable(A)}},46827:(A,d,p)=>{const{ArrayIsArray:C,ArrayPrototypeIncludes:S,ArrayPrototypeJoin:v,ArrayPrototypeMap:T,NumberIsInteger:_,NumberIsNaN:V,NumberMAX_SAFE_INTEGER:Z,NumberMIN_SAFE_INTEGER:ee,NumberParseInt:te,ObjectPrototypeHasOwnProperty:re,RegExpPrototypeExec:ne,String:ie,StringPrototypeToUpperCase:se,StringPrototypeTrim:oe}=p(95512);const{hideStackFrames:ae,codes:{ERR_SOCKET_BAD_PORT:le,ERR_INVALID_ARG_TYPE:ce,ERR_INVALID_ARG_VALUE:ue,ERR_OUT_OF_RANGE:Ae,ERR_UNKNOWN_SIGNAL:de}}=p(79885);const{normalizeEncoding:pe}=p(75806);const{isAsyncFunction:fe,isArrayBufferView:he}=p(75806).types;const ge={};function isInt32(A){return A===(A|0)}function isUint32(A){return A===A>>>0}const me=/^[0-7]+$/;const ye="must be a 32-bit unsigned integer or an octal string";function parseFileMode(A,d,p){if(typeof A==="undefined"){A=p}if(typeof A==="string"){if(ne(me,A)===null){throw new ue(d,A,ye)}A=te(A,8)}Ce(A,d);return A}const Ee=ae(((A,d,p=ee,C=Z)=>{if(typeof A!=="number")throw new ce(d,"number",A);if(!_(A))throw new Ae(d,"an integer",A);if(A<p||A>C)throw new Ae(d,`>= ${p} && <= ${C}`,A)}));const be=ae(((A,d,p=-2147483648,C=2147483647)=>{if(typeof A!=="number"){throw new ce(d,"number",A)}if(!_(A)){throw new Ae(d,"an integer",A)}if(A<p||A>C){throw new Ae(d,`>= ${p} && <= ${C}`,A)}}));const Ce=ae(((A,d,p=false)=>{if(typeof A!=="number"){throw new ce(d,"number",A)}if(!_(A)){throw new Ae(d,"an integer",A)}const C=p?1:0;const S=4294967295;if(A<C||A>S){throw new Ae(d,`>= ${C} && <= ${S}`,A)}}));function validateString(A,d){if(typeof A!=="string")throw new ce(d,"string",A)}function validateNumber(A,d,p=undefined,C){if(typeof A!=="number")throw new ce(d,"number",A);if(p!=null&&A<p||C!=null&&A>C||(p!=null||C!=null)&&V(A)){throw new Ae(d,`${p!=null?`>= ${p}`:""}${p!=null&&C!=null?" && ":""}${C!=null?`<= ${C}`:""}`,A)}}const Be=ae(((A,d,p)=>{if(!S(p,A)){const C=v(T(p,(A=>typeof A==="string"?`'${A}'`:ie(A))),", ");const S="must be one of: "+C;throw new ue(d,A,S)}}));function validateBoolean(A,d){if(typeof A!=="boolean")throw new ce(d,"boolean",A)}function getOwnPropertyValueOrDefault(A,d,p){return A==null||!re(A,d)?p:A[d]}const Ie=ae(((A,d,p=null)=>{const S=getOwnPropertyValueOrDefault(p,"allowArray",false);const v=getOwnPropertyValueOrDefault(p,"allowFunction",false);const T=getOwnPropertyValueOrDefault(p,"nullable",false);if(!T&&A===null||!S&&C(A)||typeof A!=="object"&&(!v||typeof A!=="function")){throw new ce(d,"Object",A)}}));const Se=ae(((A,d)=>{if(A!=null&&typeof A!=="object"&&typeof A!=="function"){throw new ce(d,"a dictionary",A)}}));const we=ae(((A,d,p=0)=>{if(!C(A)){throw new ce(d,"Array",A)}if(A.length<p){const C=`must be longer than ${p}`;throw new ue(d,A,C)}}));function validateStringArray(A,d){we(A,d);for(let p=0;p<A.length;p++){validateString(A[p],`${d}[${p}]`)}}function validateBooleanArray(A,d){we(A,d);for(let p=0;p<A.length;p++){validateBoolean(A[p],`${d}[${p}]`)}}function validateAbortSignalArray(A,d){we(A,d);for(let p=0;p<A.length;p++){const C=A[p];const S=`${d}[${p}]`;if(C==null){throw new ce(S,"AbortSignal",C)}ve(C,S)}}function validateSignalName(A,d="signal"){validateString(A,d);if(ge[A]===undefined){if(ge[se(A)]!==undefined){throw new de(A+" (signals must use all capital letters)")}throw new de(A)}}const Qe=ae(((A,d="buffer")=>{if(!he(A)){throw new ce(d,["Buffer","TypedArray","DataView"],A)}}));function validateEncoding(A,d){const p=pe(d);const C=A.length;if(p==="hex"&&C%2!==0){throw new ue("encoding",d,`is invalid for data of length ${C}`)}}function validatePort(A,d="Port",p=true){if(typeof A!=="number"&&typeof A!=="string"||typeof A==="string"&&oe(A).length===0||+A!==+A>>>0||A>65535||A===0&&!p){throw new le(d,A,p)}return A|0}const ve=ae(((A,d)=>{if(A!==undefined&&(A===null||typeof A!=="object"||!("aborted"in A))){throw new ce(d,"AbortSignal",A)}}));const Re=ae(((A,d)=>{if(typeof A!=="function")throw new ce(d,"Function",A)}));const Ne=ae(((A,d)=>{if(typeof A!=="function"||fe(A))throw new ce(d,"Function",A)}));const De=ae(((A,d)=>{if(A!==undefined)throw new ce(d,"undefined",A)}));function validateUnion(A,d,p){if(!S(p,A)){throw new ce(d,`('${v(p,"|")}')`,A)}}const xe=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function validateLinkHeaderFormat(A,d){if(typeof A==="undefined"||!ne(xe,A)){throw new ue(d,A,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}function validateLinkHeaderValue(A){if(typeof A==="string"){validateLinkHeaderFormat(A,"hints");return A}else if(C(A)){const d=A.length;let p="";if(d===0){return p}for(let C=0;C<d;C++){const S=A[C];validateLinkHeaderFormat(S,"hints");p+=S;if(C!==d-1){p+=", "}}return p}throw new ue("hints",A,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}A.exports={isInt32:isInt32,isUint32:isUint32,parseFileMode:parseFileMode,validateArray:we,validateStringArray:validateStringArray,validateBooleanArray:validateBooleanArray,validateAbortSignalArray:validateAbortSignalArray,validateBoolean:validateBoolean,validateBuffer:Qe,validateDictionary:Se,validateEncoding:validateEncoding,validateFunction:Re,validateInt32:be,validateInteger:Ee,validateNumber:validateNumber,validateObject:Ie,validateOneOf:Be,validatePlainFunction:Ne,validatePort:validatePort,validateSignalName:validateSignalName,validateString:validateString,validateUint32:Ce,validateUndefined:De,validateUnion:validateUnion,validateAbortSignal:ve,validateLinkHeaderValue:validateLinkHeaderValue}},79885:(A,d,p)=>{const{format:C,inspect:S}=p(73293);const{AggregateError:v}=p(95512);const T=globalThis.AggregateError||v;const _=Symbol("kIsNodeError");const V=["string","function","number","object","Function","Object","boolean","bigint","symbol"];const Z=/^([A-Z][a-z0-9]*)+$/;const ee="__node_internal_";const te={};function assert(A,d){if(!A){throw new te.ERR_INTERNAL_ASSERTION(d)}}function addNumericalSeparator(A){let d="";let p=A.length;const C=A[0]==="-"?1:0;for(;p>=C+4;p-=3){d=`_${A.slice(p-3,p)}${d}`}return`${A.slice(0,p)}${d}`}function getMessage(A,d,p){if(typeof d==="function"){assert(d.length<=p.length,`Code: ${A}; The provided arguments length (${p.length}) does not match the required ones (${d.length}).`);return d(...p)}const S=(d.match(/%[dfijoOs]/g)||[]).length;assert(S===p.length,`Code: ${A}; The provided arguments length (${p.length}) does not match the required ones (${S}).`);if(p.length===0){return d}return C(d,...p)}function E(A,d,p){if(!p){p=Error}class NodeError extends p{constructor(...p){super(getMessage(A,d,p))}toString(){return`${this.name} [${A}]: ${this.message}`}}Object.defineProperties(NodeError.prototype,{name:{value:p.name,writable:true,enumerable:false,configurable:true},toString:{value(){return`${this.name} [${A}]: ${this.message}`},writable:true,enumerable:false,configurable:true}});NodeError.prototype.code=A;NodeError.prototype[_]=true;te[A]=NodeError}function hideStackFrames(A){const d=ee+A.name;Object.defineProperty(A,"name",{value:d});return A}function aggregateTwoErrors(A,d){if(A&&d&&A!==d){if(Array.isArray(d.errors)){d.errors.push(A);return d}const p=new T([d,A],d.message);p.code=d.code;return p}return A||d}class AbortError extends Error{constructor(A="The operation was aborted",d=undefined){if(d!==undefined&&typeof d!=="object"){throw new te.ERR_INVALID_ARG_TYPE("options","Object",d)}super(A,d);this.code="ABORT_ERR";this.name="AbortError"}}E("ERR_ASSERTION","%s",Error);E("ERR_INVALID_ARG_TYPE",((A,d,p)=>{assert(typeof A==="string","'name' must be a string");if(!Array.isArray(d)){d=[d]}let C="The ";if(A.endsWith(" argument")){C+=`${A} `}else{C+=`"${A}" ${A.includes(".")?"property":"argument"} `}C+="must be ";const v=[];const T=[];const _=[];for(const A of d){assert(typeof A==="string","All expected entries have to be of type string");if(V.includes(A)){v.push(A.toLowerCase())}else if(Z.test(A)){T.push(A)}else{assert(A!=="object",'The value "object" should be written as "Object"');_.push(A)}}if(T.length>0){const A=v.indexOf("object");if(A!==-1){v.splice(v,A,1);T.push("Object")}}if(v.length>0){switch(v.length){case 1:C+=`of type ${v[0]}`;break;case 2:C+=`one of type ${v[0]} or ${v[1]}`;break;default:{const A=v.pop();C+=`one of type ${v.join(", ")}, or ${A}`}}if(T.length>0||_.length>0){C+=" or "}}if(T.length>0){switch(T.length){case 1:C+=`an instance of ${T[0]}`;break;case 2:C+=`an instance of ${T[0]} or ${T[1]}`;break;default:{const A=T.pop();C+=`an instance of ${T.join(", ")}, or ${A}`}}if(_.length>0){C+=" or "}}switch(_.length){case 0:break;case 1:if(_[0].toLowerCase()!==_[0]){C+="an "}C+=`${_[0]}`;break;case 2:C+=`one of ${_[0]} or ${_[1]}`;break;default:{const A=_.pop();C+=`one of ${_.join(", ")}, or ${A}`}}if(p==null){C+=`. Received ${p}`}else if(typeof p==="function"&&p.name){C+=`. Received function ${p.name}`}else if(typeof p==="object"){var ee;if((ee=p.constructor)!==null&&ee!==undefined&&ee.name){C+=`. Received an instance of ${p.constructor.name}`}else{const A=S(p,{depth:-1});C+=`. Received ${A}`}}else{let A=S(p,{colors:false});if(A.length>25){A=`${A.slice(0,25)}...`}C+=`. Received type ${typeof p} (${A})`}return C}),TypeError);E("ERR_INVALID_ARG_VALUE",((A,d,p="is invalid")=>{let C=S(d);if(C.length>128){C=C.slice(0,128)+"..."}const v=A.includes(".")?"property":"argument";return`The ${v} '${A}' ${p}. Received ${C}`}),TypeError);E("ERR_INVALID_RETURN_VALUE",((A,d,p)=>{var C;const S=p!==null&&p!==undefined&&(C=p.constructor)!==null&&C!==undefined&&C.name?`instance of ${p.constructor.name}`:`type ${typeof p}`;return`Expected ${A} to be returned from the "${d}"`+` function but got ${S}.`}),TypeError);E("ERR_MISSING_ARGS",((...A)=>{assert(A.length>0,"At least one arg needs to be specified");let d;const p=A.length;A=(Array.isArray(A)?A:[A]).map((A=>`"${A}"`)).join(" or ");switch(p){case 1:d+=`The ${A[0]} argument`;break;case 2:d+=`The ${A[0]} and ${A[1]} arguments`;break;default:{const p=A.pop();d+=`The ${A.join(", ")}, and ${p} arguments`}break}return`${d} must be specified`}),TypeError);E("ERR_OUT_OF_RANGE",((A,d,p)=>{assert(d,'Missing "range" argument');let C;if(Number.isInteger(p)&&Math.abs(p)>2**32){C=addNumericalSeparator(String(p))}else if(typeof p==="bigint"){C=String(p);const A=BigInt(2)**BigInt(32);if(p>A||p<-A){C=addNumericalSeparator(C)}C+="n"}else{C=S(p)}return`The value of "${A}" is out of range. It must be ${d}. Received ${C}`}),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);A.exports={AbortError:AbortError,aggregateTwoErrors:hideStackFrames(aggregateTwoErrors),hideStackFrames:hideStackFrames,codes:te}},48924:(A,d,p)=>{const C=p(2203);if(C&&process.env.READABLE_STREAM==="disable"){const d=C.promises;A.exports._uint8ArrayToBuffer=C._uint8ArrayToBuffer;A.exports._isUint8Array=C._isUint8Array;A.exports.isDisturbed=C.isDisturbed;A.exports.isErrored=C.isErrored;A.exports.isReadable=C.isReadable;A.exports.Readable=C.Readable;A.exports.Writable=C.Writable;A.exports.Duplex=C.Duplex;A.exports.Transform=C.Transform;A.exports.PassThrough=C.PassThrough;A.exports.addAbortSignal=C.addAbortSignal;A.exports.finished=C.finished;A.exports.destroy=C.destroy;A.exports.pipeline=C.pipeline;A.exports.compose=C.compose;Object.defineProperty(C,"promises",{configurable:true,enumerable:true,get(){return d}});A.exports.Stream=C.Stream}else{const d=p(89204);const C=p(3161);const S=d.Readable.destroy;A.exports=d.Readable;A.exports._uint8ArrayToBuffer=d._uint8ArrayToBuffer;A.exports._isUint8Array=d._isUint8Array;A.exports.isDisturbed=d.isDisturbed;A.exports.isErrored=d.isErrored;A.exports.isReadable=d.isReadable;A.exports.Readable=d.Readable;A.exports.Writable=d.Writable;A.exports.Duplex=d.Duplex;A.exports.Transform=d.Transform;A.exports.PassThrough=d.PassThrough;A.exports.addAbortSignal=d.addAbortSignal;A.exports.finished=d.finished;A.exports.destroy=d.destroy;A.exports.destroy=S;A.exports.pipeline=d.pipeline;A.exports.compose=d.compose;Object.defineProperty(d,"promises",{configurable:true,enumerable:true,get(){return C}});A.exports.Stream=d.Stream}A.exports["default"]=A.exports},95512:A=>{class AggregateError extends Error{constructor(A){if(!Array.isArray(A)){throw new TypeError(`Expected input to be an Array, got ${typeof A}`)}let d="";for(let p=0;p<A.length;p++){d+=` ${A[p].stack}\n`}super(d);this.name="AggregateError";this.errors=A}}A.exports={AggregateError:AggregateError,ArrayIsArray(A){return Array.isArray(A)},ArrayPrototypeIncludes(A,d){return A.includes(d)},ArrayPrototypeIndexOf(A,d){return A.indexOf(d)},ArrayPrototypeJoin(A,d){return A.join(d)},ArrayPrototypeMap(A,d){return A.map(d)},ArrayPrototypePop(A,d){return A.pop(d)},ArrayPrototypePush(A,d){return A.push(d)},ArrayPrototypeSlice(A,d,p){return A.slice(d,p)},Error:Error,FunctionPrototypeCall(A,d,...p){return A.call(d,...p)},FunctionPrototypeSymbolHasInstance(A,d){return Function.prototype[Symbol.hasInstance].call(A,d)},MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(A,d){return Object.defineProperties(A,d)},ObjectDefineProperty(A,d,p){return Object.defineProperty(A,d,p)},ObjectGetOwnPropertyDescriptor(A,d){return Object.getOwnPropertyDescriptor(A,d)},ObjectKeys(A){return Object.keys(A)},ObjectSetPrototypeOf(A,d){return Object.setPrototypeOf(A,d)},Promise:Promise,PromisePrototypeCatch(A,d){return A.catch(d)},PromisePrototypeThen(A,d,p){return A.then(d,p)},PromiseReject(A){return Promise.reject(A)},PromiseResolve(A){return Promise.resolve(A)},ReflectApply:Reflect.apply,RegExpPrototypeTest(A,d){return A.test(d)},SafeSet:Set,String:String,StringPrototypeSlice(A,d,p){return A.slice(d,p)},StringPrototypeToLowerCase(A){return A.toLowerCase()},StringPrototypeToUpperCase(A){return A.toUpperCase()},StringPrototypeTrim(A){return A.trim()},Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(A,d,p){return A.set(d,p)},Boolean:Boolean,Uint8Array:Uint8Array}},75806:(A,d,p)=>{const C=p(20181);const{format:S,inspect:v}=p(73293);const{codes:{ERR_INVALID_ARG_TYPE:T}}=p(79885);const{kResistStopPropagation:_,AggregateError:V,SymbolDispose:Z}=p(95512);const ee=globalThis.AbortSignal||p(19914).AbortSignal;const te=globalThis.AbortController||p(19914).AbortController;const re=Object.getPrototypeOf((async function(){})).constructor;const ne=globalThis.Blob||C.Blob;const ie=typeof ne!=="undefined"?function isBlob(A){return A instanceof ne}:function isBlob(A){return false};const validateAbortSignal=(A,d)=>{if(A!==undefined&&(A===null||typeof A!=="object"||!("aborted"in A))){throw new T(d,"AbortSignal",A)}};const validateFunction=(A,d)=>{if(typeof A!=="function"){throw new T(d,"Function",A)}};A.exports={AggregateError:V,kEmptyObject:Object.freeze({}),once(A){let d=false;return function(...p){if(d){return}d=true;A.apply(this,p)}},createDeferredPromise:function(){let A;let d;const p=new Promise(((p,C)=>{A=p;d=C}));return{promise:p,resolve:A,reject:d}},promisify(A){return new Promise(((d,p)=>{A(((A,...C)=>{if(A){return p(A)}return d(...C)}))}))},debuglog(){return function(){}},format:S,inspect:v,types:{isAsyncFunction(A){return A instanceof re},isArrayBufferView(A){return ArrayBuffer.isView(A)}},isBlob:ie,deprecate(A,d){return A},addAbortListener:p(24434).addAbortListener||function addAbortListener(A,d){if(A===undefined){throw new T("signal","AbortSignal",A)}validateAbortSignal(A,"signal");validateFunction(d,"listener");let p;if(A.aborted){queueMicrotask((()=>d()))}else{A.addEventListener("abort",d,{__proto__:null,once:true,[_]:true});p=()=>{A.removeEventListener("abort",d)}}return{__proto__:null,[Z](){var A;(A=p)===null||A===undefined?undefined:A()}}},AbortSignalAny:ee.any||function AbortSignalAny(A){if(A.length===1){return A[0]}const d=new te;const abort=()=>d.abort();A.forEach((A=>{validateAbortSignal(A,"signals");A.addEventListener("abort",abort,{once:true})}));d.signal.addEventListener("abort",(()=>{A.forEach((A=>A.removeEventListener("abort",abort)))}),{once:true});return d.signal}};A.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},73293:A=>{A.exports={format(A,...d){return A.replace(/%([sdifj])/g,(function(...[A,p]){const C=d.shift();if(p==="f"){return C.toFixed(6)}else if(p==="j"){return JSON.stringify(C)}else if(p==="s"&&typeof C==="object"){const A=C.constructor!==Object?C.constructor.name:"";return`${A} {}`.trim()}else{return C.toString()}}))},inspect(A){switch(typeof A){case"string":if(A.includes("'")){if(!A.includes('"')){return`"${A}"`}else if(!A.includes("`")&&!A.includes("${")){return`\`${A}\``}}return`'${A}'`;case"number":if(isNaN(A)){return"NaN"}else if(Object.is(A,-0)){return String(A)}return A;case"bigint":return`${String(A)}n`;case"boolean":case"undefined":return String(A);case"object":return"{}"}}}},89204:(A,d,p)=>{const{Buffer:C}=p(20181);const{ObjectDefineProperty:S,ObjectKeys:v,ReflectApply:T}=p(95512);const{promisify:{custom:_}}=p(75806);const{streamReturningOperators:V,promiseReturningOperators:Z}=p(99509);const{codes:{ERR_ILLEGAL_CONSTRUCTOR:ee}}=p(79885);const te=p(78256);const{setDefaultHighWaterMark:re,getDefaultHighWaterMark:ne}=p(25873);const{pipeline:ie}=p(84712);const{destroyer:se}=p(13822);const oe=p(44356);const ae={};const le=p(3161);const ce=p(73289);const ue=A.exports=p(98321).Stream;ue.isDestroyed=ce.isDestroyed;ue.isDisturbed=ce.isDisturbed;ue.isErrored=ce.isErrored;ue.isReadable=ce.isReadable;ue.isWritable=ce.isWritable;ue.Readable=p(406);for(const de of v(V)){const pe=V[de];function fn(...A){if(new.target){throw ee()}return ue.Readable.from(T(pe,this,A))}S(fn,"name",{__proto__:null,value:pe.name});S(fn,"length",{__proto__:null,value:pe.length});S(ue.Readable.prototype,de,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}for(const fe of v(Z)){const he=Z[fe];function fn(...A){if(new.target){throw ee()}return T(he,this,A)}S(fn,"name",{__proto__:null,value:he.name});S(fn,"length",{__proto__:null,value:he.length});S(ue.Readable.prototype,fe,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}ue.Writable=p(34234);ue.Duplex=p(60400);ue.Transform=p(480);ue.PassThrough=p(26578);ue.pipeline=ie;const{addAbortSignal:Ae}=p(72105);ue.addAbortSignal=Ae;ue.finished=oe;ue.destroy=se;ue.compose=te;ue.setDefaultHighWaterMark=re;ue.getDefaultHighWaterMark=ne;S(ue,"promises",{__proto__:null,configurable:true,enumerable:true,get(){return le}});S(ie,_,{__proto__:null,enumerable:true,get(){return le.pipeline}});S(oe,_,{__proto__:null,enumerable:true,get(){return le.finished}});ue.Stream=ue;ue._isUint8Array=function isUint8Array(A){return A instanceof Uint8Array};ue._uint8ArrayToBuffer=function _uint8ArrayToBuffer(A){return C.from(A.buffer,A.byteOffset,A.byteLength)}},3161:(A,d,p)=>{const{ArrayPrototypePop:C,Promise:S}=p(95512);const{isIterable:v,isNodeStream:T,isWebStream:_}=p(73289);const{pipelineImpl:V}=p(84712);const{finished:Z}=p(44356);p(89204);function pipeline(...A){return new S(((d,p)=>{let S;let Z;const ee=A[A.length-1];if(ee&&typeof ee==="object"&&!T(ee)&&!v(ee)&&!_(ee)){const d=C(A);S=d.signal;Z=d.end}V(A,((A,C)=>{if(A){p(A)}else{d(C)}}),{signal:S,end:Z})}))}A.exports={finished:Z,pipeline:pipeline}},15934:(A,d,p)=>{A.exports=readdirGlob;const C=p(79896);const{EventEmitter:S}=p(24434);const{Minimatch:v}=p(76161);const{resolve:T}=p(16928);function readdir(A,d){return new Promise(((p,S)=>{C.readdir(A,{withFileTypes:true},((A,C)=>{if(A){switch(A.code){case"ENOTDIR":if(d){S(A)}else{p([])}break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":p([]);break;case"ELOOP":default:S(A);break}}else{p(C)}}))}))}function stat(A,d){return new Promise(((p,S)=>{const v=d?C.stat:C.lstat;v(A,((C,S)=>{if(C){switch(C.code){case"ENOENT":if(d){p(stat(A,false))}else{p(null)}break;default:p(null);break}}else{p(S)}}))}))}async function*exploreWalkAsync(A,d,p,C,S,v){let T=await readdir(d+A,v);for(const v of T){let T=v.name;if(T===undefined){T=v;C=true}const _=A+"/"+T;const V=_.slice(1);const Z=d+"/"+V;let ee=null;if(C||p){ee=await stat(Z,p)}if(!ee&&v.name!==undefined){ee=v}if(ee===null){ee={isDirectory:()=>false}}if(ee.isDirectory()){if(!S(V)){yield{relative:V,absolute:Z,stats:ee};yield*exploreWalkAsync(_,d,p,C,S,false)}}else{yield{relative:V,absolute:Z,stats:ee}}}}async function*explore(A,d,p,C){yield*exploreWalkAsync("",A,d,p,C,true)}function readOptions(A){return{pattern:A.pattern,dot:!!A.dot,noglobstar:!!A.noglobstar,matchBase:!!A.matchBase,nocase:!!A.nocase,ignore:A.ignore,skip:A.skip,follow:!!A.follow,stat:!!A.stat,nodir:!!A.nodir,mark:!!A.mark,silent:!!A.silent,absolute:!!A.absolute}}class ReaddirGlob extends S{constructor(A,d,p){super();if(typeof d==="function"){p=d;d=null}this.options=readOptions(d||{});this.matchers=[];if(this.options.pattern){const A=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=A.map((A=>new v(A,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase})))}this.ignoreMatchers=[];if(this.options.ignore){const A=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=A.map((A=>new v(A,{dot:true})))}this.skipMatchers=[];if(this.options.skip){const A=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=A.map((A=>new v(A,{dot:true})))}this.iterator=explore(T(A||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this));this.paused=false;this.inactive=false;this.aborted=false;if(p){this._matches=[];this.on("match",(A=>this._matches.push(this.options.absolute?A.absolute:A.relative)));this.on("error",(A=>p(A)));this.on("end",(()=>p(null,this._matches)))}setTimeout((()=>this._next()),0)}_shouldSkipDirectory(A){return this.skipMatchers.some((d=>d.match(A)))}_fileMatches(A,d){const p=A+(d?"/":"");return(this.matchers.length===0||this.matchers.some((A=>A.match(p))))&&!this.ignoreMatchers.some((A=>A.match(p)))&&(!this.options.nodir||!d)}_next(){if(!this.paused&&!this.aborted){this.iterator.next().then((A=>{if(!A.done){const d=A.value.stats.isDirectory();if(this._fileMatches(A.value.relative,d)){let p=A.value.relative;let C=A.value.absolute;if(this.options.mark&&d){p+="/";C+="/"}if(this.options.stat){this.emit("match",{relative:p,absolute:C,stat:A.value.stats})}else{this.emit("match",{relative:p,absolute:C})}}this._next(this.iterator)}else{this.emit("end")}})).catch((A=>{this.abort();this.emit("error",A);if(!A.code&&!this.options.silent){console.error(A)}}))}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(A,d,p){return new ReaddirGlob(A,d,p)}readdirGlob.ReaddirGlob=ReaddirGlob},12188:A=>{function reusify(A){var d=new A;var p=d;function get(){var C=d;if(C.next){d=C.next}else{d=new A;p=d}C.next=null;return C}function release(A){p.next=A;p=A}return{get:get,release:release}}A.exports=reusify},67710:(A,d,p)=>{
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
A.exports=runParallel;const C=p(90033);function runParallel(A,d){let p,S,v;let T=true;if(Array.isArray(A)){p=[];S=A.length}else{v=Object.keys(A);p={};S=v.length}function done(A){function end(){if(d)d(A,p);d=null}if(T)C(end);else end()}function each(A,d,C){p[A]=C;if(--S===0||d){done(d)}}if(!S){done(null)}else if(v){v.forEach((function(d){A[d]((function(A,p){each(d,A,p)}))}))}else{A.forEach((function(A,d){A((function(A,p){each(d,A,p)}))}))}T=false}},79253:(A,d,p)=>{var C=p(20181);var S=C.Buffer;function copyProps(A,d){for(var p in A){d[p]=A[p]}}if(S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow){A.exports=C}else{copyProps(C,d);d.Buffer=SafeBuffer}function SafeBuffer(A,d,p){return S(A,d,p)}copyProps(S,SafeBuffer);SafeBuffer.from=function(A,d,p){if(typeof A==="number"){throw new TypeError("Argument must not be a number")}return S(A,d,p)};SafeBuffer.alloc=function(A,d,p){if(typeof A!=="number"){throw new TypeError("Argument must be a number")}var C=S(A);if(d!==undefined){if(typeof p==="string"){C.fill(d,p)}else{C.fill(d)}}else{C.fill(0)}return C};SafeBuffer.allocUnsafe=function(A){if(typeof A!=="number"){throw new TypeError("Argument must be a number")}return S(A)};SafeBuffer.allocUnsafeSlow=function(A){if(typeof A!=="number"){throw new TypeError("Argument must be a number")}return C.SlowBuffer(A)}},65249:(A,d,p)=>{
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var C=p(20181);var S=C.Buffer;function copyProps(A,d){for(var p in A){d[p]=A[p]}}if(S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow){A.exports=C}else{copyProps(C,d);d.Buffer=SafeBuffer}function SafeBuffer(A,d,p){return S(A,d,p)}SafeBuffer.prototype=Object.create(S.prototype);copyProps(S,SafeBuffer);SafeBuffer.from=function(A,d,p){if(typeof A==="number"){throw new TypeError("Argument must not be a number")}return S(A,d,p)};SafeBuffer.alloc=function(A,d,p){if(typeof A!=="number"){throw new TypeError("Argument must be a number")}var C=S(A);if(d!==undefined){if(typeof p==="string"){C.fill(d,p)}else{C.fill(d)}}else{C.fill(0)}return C};SafeBuffer.allocUnsafe=function(A){if(typeof A!=="number"){throw new TypeError("Argument must be a number")}return S(A)};SafeBuffer.allocUnsafeSlow=function(A){if(typeof A!=="number"){throw new TypeError("Argument must be a number")}return C.SlowBuffer(A)}},64205:(A,d,p)=>{const C=p(17600);A.exports=(A="")=>{const d=A.match(C);if(!d){return null}const[p,S]=d[0].replace(/#! ?/,"").split(" ");const v=p.split("/").pop();if(v==="env"){return S}return S?`${v} ${S}`:v}},17600:A=>{A.exports=/^#!(.*)/},10634:(A,d,p)=>{const{EventEmitter:C}=p(19366);const S=new Error("Stream was destroyed");const v=new Error("Premature close");const T=p(19597);const _=p(268);const V=typeof queueMicrotask==="undefined"?A=>global.process.nextTick(A):queueMicrotask;const Z=(1<<29)-1;const ee=1;const te=2;const re=4;const ne=8;const ie=Z^ee;const se=Z^te;const oe=1<<4;const ae=2<<4;const le=4<<4;const ce=8<<4;const ue=16<<4;const Ae=32<<4;const de=64<<4;const pe=128<<4;const fe=256<<4;const he=512<<4;const ge=1024<<4;const me=2048<<4;const ye=4096<<4;const Ee=8192<<4;const be=ue|Ae;const Ce=oe|ye;const Be=le|oe;const Ie=fe|ce;const Se=ue|Ee;const we=Z^oe;const Qe=Z^le;const ve=Z^(le|ye);const Re=Z^ye;const Ne=Z^ue;const De=Z^(ce|he);const xe=Z^de;const Te=Z^be;const _e=Z^me;const Pe=Z^ae;const ke=Z^Ee;const Oe=Z^Se;const Fe=1<<18;const Le=2<<18;const Me=4<<18;const Ue=8<<18;const He=16<<18;const Ge=32<<18;const qe=64<<18;const je=128<<18;const ze=256<<18;const Ve=512<<18;const We=1024<<18;const Ye=Z^(Fe|ze);const Je=Z^Me;const $e=Z^(Fe|Ve);const Ke=Z^He;const Xe=Z^Ue;const Ze=Z^je;const at=Z^Le;const ct=Z^We;const At=oe|Fe;const pt=Z^At;const ft=ge|Ge;const gt=re|ne|te;const mt=gt|ee;const yt=gt|ft;const Et=Je&Qe;const bt=je|me;const Ct=bt&pt;const Bt=mt|Ct;const It=mt|de|ge;const St=mt|ge|ce;const wt=mt|de|ce;const Qt=mt|fe|ce|he;const vt=mt|oe|de|ge|ye|Ee;const Rt=gt|de|ge;const Nt=ae|mt|me|le;const Dt=me|ee;const xt=mt|Ve|Ge;const Tt=Ue|He;const _t=Ue|Fe;const Pt=Ue|He|mt|Fe;const kt=mt|Fe|Ue|We;const Ot=Me|Fe;const Ft=Fe|ze;const Lt=mt|Ve|_t|Ge;const Mt=He|gt|Ve|Ge;const Ut=Le|mt|je|Me;const Ht=Ve|Ge|gt;const Gt=Symbol.asyncIterator||Symbol("asyncIterator");class WritableState{constructor(A,{highWaterMark:d=16384,map:p=null,mapWritable:C,byteLength:S,byteLengthWritable:v}={}){this.stream=A;this.queue=new T;this.highWaterMark=d;this.buffered=0;this.error=null;this.pipeline=null;this.drains=null;this.byteLength=v||S||defaultByteLength;this.map=C||p;this.afterWrite=afterWrite.bind(this);this.afterUpdateNextTick=updateWriteNT.bind(this)}get ended(){return(this.stream._duplexState&Ge)!==0}push(A){if((this.stream._duplexState&Ht)!==0)return false;if(this.map!==null)A=this.map(A);this.buffered+=this.byteLength(A);this.queue.push(A);if(this.buffered<this.highWaterMark){this.stream._duplexState|=Ue;return true}this.stream._duplexState|=Tt;return false}shift(){const A=this.queue.shift();this.buffered-=this.byteLength(A);if(this.buffered===0)this.stream._duplexState&=Xe;return A}end(A){if(typeof A==="function")this.stream.once("finish",A);else if(A!==undefined&&A!==null)this.push(A);this.stream._duplexState=(this.stream._duplexState|Ve)&Je}autoBatch(A,d){const p=[];const C=this.stream;p.push(A);while((C._duplexState&kt)===_t){p.push(C._writableState.shift())}if((C._duplexState&mt)!==0)return d(null);C._writev(p,d)}update(){const A=this.stream;A._duplexState|=Le;do{while((A._duplexState&kt)===Ue){const d=this.shift();A._duplexState|=Ft;A._write(d,this.afterWrite)}if((A._duplexState&Ot)===0)this.updateNonPrimary()}while(this.continueUpdate()===true);A._duplexState&=at}updateNonPrimary(){const A=this.stream;if((A._duplexState&Lt)===Ve){A._duplexState=A._duplexState|Fe;A._final(afterFinal.bind(this));return}if((A._duplexState&gt)===re){if((A._duplexState&bt)===0){A._duplexState|=At;A._destroy(afterDestroy.bind(this))}return}if((A._duplexState&Bt)===ee){A._duplexState=(A._duplexState|At)&ie;A._open(afterOpen.bind(this))}}continueUpdate(){if((this.stream._duplexState&je)===0)return false;this.stream._duplexState&=Ze;return true}updateCallback(){if((this.stream._duplexState&Ut)===Me)this.update();else this.updateNextTick()}updateNextTick(){if((this.stream._duplexState&je)!==0)return;this.stream._duplexState|=je;if((this.stream._duplexState&Le)===0)V(this.afterUpdateNextTick)}}class ReadableState{constructor(A,{highWaterMark:d=16384,map:p=null,mapReadable:C,byteLength:S,byteLengthReadable:v}={}){this.stream=A;this.queue=new T;this.highWaterMark=d===0?1:d;this.buffered=0;this.readAhead=d>0;this.error=null;this.pipeline=null;this.byteLength=v||S||defaultByteLength;this.map=C||p;this.pipeTo=null;this.afterRead=afterRead.bind(this);this.afterUpdateNextTick=updateReadNT.bind(this)}get ended(){return(this.stream._duplexState&ge)!==0}pipe(A,d){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof d!=="function")d=null;this.stream._duplexState|=Ae;this.pipeTo=A;this.pipeline=new Pipeline(this.stream,A,d);if(d)this.stream.on("error",noop);if(isStreamx(A)){A._writableState.pipeline=this.pipeline;if(d)A.on("error",noop);A.on("finish",this.pipeline.finished.bind(this.pipeline))}else{const d=this.pipeline.done.bind(this.pipeline,A);const p=this.pipeline.done.bind(this.pipeline,A,null);A.on("error",d);A.on("close",p);A.on("finish",this.pipeline.finished.bind(this.pipeline))}A.on("drain",afterDrain.bind(this));this.stream.emit("piping",A);A.emit("pipe",this.stream)}push(A){const d=this.stream;if(A===null){this.highWaterMark=0;d._duplexState=(d._duplexState|de)&ve;return false}if(this.map!==null){A=this.map(A);if(A===null){d._duplexState&=Re;return this.buffered<this.highWaterMark}}this.buffered+=this.byteLength(A);this.queue.push(A);d._duplexState=(d._duplexState|ce)&Re;return this.buffered<this.highWaterMark}shift(){const A=this.queue.shift();this.buffered-=this.byteLength(A);if(this.buffered===0)this.stream._duplexState&=De;return A}unshift(A){const d=[this.map!==null?this.map(A):A];while(this.buffered>0)d.push(this.shift());for(let A=0;A<d.length-1;A++){const p=d[A];this.buffered+=this.byteLength(p);this.queue.push(p)}this.push(d[d.length-1])}read(){const A=this.stream;if((A._duplexState&St)===ce){const d=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(d)===false)A._duplexState&=Te;if((A._duplexState&pe)!==0)A.emit("data",d);return d}if(this.readAhead===false){A._duplexState|=Ee;this.updateNextTick()}return null}drain(){const A=this.stream;while((A._duplexState&St)===ce&&(A._duplexState&be)!==0){const d=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(d)===false)A._duplexState&=Te;if((A._duplexState&pe)!==0)A.emit("data",d)}}update(){const A=this.stream;A._duplexState|=ae;do{this.drain();while(this.buffered<this.highWaterMark&&(A._duplexState&vt)===Ee){A._duplexState|=Ce;A._read(this.afterRead);this.drain()}if((A._duplexState&Qt)===Ie){A._duplexState|=he;A.emit("readable")}if((A._duplexState&Be)===0)this.updateNonPrimary()}while(this.continueUpdate()===true);A._duplexState&=Pe}updateNonPrimary(){const A=this.stream;if((A._duplexState&wt)===de){A._duplexState=(A._duplexState|ge)&xe;A.emit("end");if((A._duplexState&yt)===ft)A._duplexState|=re;if(this.pipeTo!==null)this.pipeTo.end()}if((A._duplexState&gt)===re){if((A._duplexState&bt)===0){A._duplexState|=At;A._destroy(afterDestroy.bind(this))}return}if((A._duplexState&Bt)===ee){A._duplexState=(A._duplexState|At)&ie;A._open(afterOpen.bind(this))}}continueUpdate(){if((this.stream._duplexState&me)===0)return false;this.stream._duplexState&=_e;return true}updateCallback(){if((this.stream._duplexState&Nt)===le)this.update();else this.updateNextTick()}updateNextTickIfOpen(){if((this.stream._duplexState&Dt)!==0)return;this.stream._duplexState|=me;if((this.stream._duplexState&ae)===0)V(this.afterUpdateNextTick)}updateNextTick(){if((this.stream._duplexState&me)!==0)return;this.stream._duplexState|=me;if((this.stream._duplexState&ae)===0)V(this.afterUpdateNextTick)}}class TransformState{constructor(A){this.data=null;this.afterTransform=afterTransform.bind(A);this.afterFinal=null}}class Pipeline{constructor(A,d,p){this.from=A;this.to=d;this.afterPipe=p;this.error=null;this.pipeToFinished=false}finished(){this.pipeToFinished=true}done(A,d){if(d)this.error=d;if(A===this.to){this.to=null;if(this.from!==null){if((this.from._duplexState&ge)===0||!this.pipeToFinished){this.from.destroy(this.error||new Error("Writable stream closed prematurely"))}return}}if(A===this.from){this.from=null;if(this.to!==null){if((A._duplexState&ge)===0){this.to.destroy(this.error||new Error("Readable stream closed before ending"))}return}}if(this.afterPipe!==null)this.afterPipe(this.error);this.to=this.from=this.afterPipe=null}}function afterDrain(){this.stream._duplexState|=Ae;this.updateCallback()}function afterFinal(A){const d=this.stream;if(A)d.destroy(A);if((d._duplexState&gt)===0){d._duplexState|=Ge;d.emit("finish")}if((d._duplexState&yt)===ft){d._duplexState|=re}d._duplexState&=$e;if((d._duplexState&Le)===0)this.update();else this.updateNextTick()}function afterDestroy(A){const d=this.stream;if(!A&&this.error!==S)A=this.error;if(A)d.emit("error",A);d._duplexState|=ne;d.emit("close");const p=d._readableState;const C=d._writableState;if(p!==null&&p.pipeline!==null)p.pipeline.done(d,A);if(C!==null){while(C.drains!==null&&C.drains.length>0)C.drains.shift().resolve(false);if(C.pipeline!==null)C.pipeline.done(d,A)}}function afterWrite(A){const d=this.stream;if(A)d.destroy(A);d._duplexState&=Ye;if(this.drains!==null)tickDrains(this.drains);if((d._duplexState&Pt)===He){d._duplexState&=Ke;if((d._duplexState&qe)===qe){d.emit("drain")}}this.updateCallback()}function afterRead(A){if(A)this.stream.destroy(A);this.stream._duplexState&=we;if(this.readAhead===false&&(this.stream._duplexState&ue)===0)this.stream._duplexState&=ke;this.updateCallback()}function updateReadNT(){if((this.stream._duplexState&ae)===0){this.stream._duplexState&=_e;this.update()}}function updateWriteNT(){if((this.stream._duplexState&Le)===0){this.stream._duplexState&=Ze;this.update()}}function tickDrains(A){for(let d=0;d<A.length;d++){if(--A[d].writes===0){A.shift().resolve(true);d--}}}function afterOpen(A){const d=this.stream;if(A)d.destroy(A);if((d._duplexState&re)===0){if((d._duplexState&It)===0)d._duplexState|=le;if((d._duplexState&xt)===0)d._duplexState|=Me;d.emit("open")}d._duplexState&=pt;if(d._writableState!==null){d._writableState.updateCallback()}if(d._readableState!==null){d._readableState.updateCallback()}}function afterTransform(A,d){if(d!==undefined&&d!==null)this.push(d);this._writableState.afterWrite(A)}function newListener(A){if(this._readableState!==null){if(A==="data"){this._duplexState|=pe|Se;this._readableState.updateNextTick()}if(A==="readable"){this._duplexState|=fe;this._readableState.updateNextTick()}}if(this._writableState!==null){if(A==="drain"){this._duplexState|=qe;this._writableState.updateNextTick()}}}class Stream extends C{constructor(A){super();this._duplexState=0;this._readableState=null;this._writableState=null;if(A){if(A.open)this._open=A.open;if(A.destroy)this._destroy=A.destroy;if(A.predestroy)this._predestroy=A.predestroy;if(A.signal){A.signal.addEventListener("abort",abort.bind(this))}}this.on("newListener",newListener)}_open(A){A(null)}_destroy(A){A(null)}_predestroy(){}get readable(){return this._readableState!==null?true:undefined}get writable(){return this._writableState!==null?true:undefined}get destroyed(){return(this._duplexState&ne)!==0}get destroying(){return(this._duplexState&gt)!==0}destroy(A){if((this._duplexState&gt)===0){if(!A)A=S;this._duplexState=(this._duplexState|re)&Et;if(this._readableState!==null){this._readableState.highWaterMark=0;this._readableState.error=A}if(this._writableState!==null){this._writableState.highWaterMark=0;this._writableState.error=A}this._duplexState|=te;this._predestroy();this._duplexState&=se;if(this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class Readable extends Stream{constructor(A){super(A);this._duplexState|=ee|Ge|Ee;this._readableState=new ReadableState(this,A);if(A){if(this._readableState.readAhead===false)this._duplexState&=ke;if(A.read)this._read=A.read;if(A.eagerOpen)this._readableState.updateNextTick();if(A.encoding)this.setEncoding(A.encoding)}}setEncoding(A){const d=new _(A);const p=this._readableState.map||echo;this._readableState.map=mapOrSkip;return this;function mapOrSkip(A){const C=d.push(A);return C===""&&(A.byteLength!==0||d.remaining>0)?null:p(C)}}_read(A){A(null)}pipe(A,d){this._readableState.updateNextTick();this._readableState.pipe(A,d);return A}read(){this._readableState.updateNextTick();return this._readableState.read()}push(A){this._readableState.updateNextTickIfOpen();return this._readableState.push(A)}unshift(A){this._readableState.updateNextTickIfOpen();return this._readableState.unshift(A)}resume(){this._duplexState|=Se;this._readableState.updateNextTick();return this}pause(){this._duplexState&=this._readableState.readAhead===false?Oe:Ne;return this}static _fromAsyncIterator(A,d){let p;const C=new Readable({...d,read(d){A.next().then(push).then(d.bind(null,null)).catch(d)},predestroy(){p=A.return()},destroy(A){if(!p)return A(null);p.then(A.bind(null,null)).catch(A)}});return C;function push(A){if(A.done)C.push(null);else C.push(A.value)}}static from(A,d){if(isReadStreamx(A))return A;if(A[Gt])return this._fromAsyncIterator(A[Gt](),d);if(!Array.isArray(A))A=A===undefined?[]:[A];let p=0;return new Readable({...d,read(d){this.push(p===A.length?null:A[p++]);d(null)}})}static isBackpressured(A){return(A._duplexState&Rt)!==0||A._readableState.buffered>=A._readableState.highWaterMark}static isPaused(A){return(A._duplexState&ue)===0}[Gt](){const A=this;let d=null;let p=null;let C=null;this.on("error",(A=>{d=A}));this.on("readable",onreadable);this.on("close",onclose);return{[Gt](){return this},next(){return new Promise((function(d,S){p=d;C=S;const v=A.read();if(v!==null)ondata(v);else if((A._duplexState&ne)!==0)ondata(null)}))},return(){return destroy(null)},throw(A){return destroy(A)}};function onreadable(){if(p!==null)ondata(A.read())}function onclose(){if(p!==null)ondata(null)}function ondata(v){if(C===null)return;if(d)C(d);else if(v===null&&(A._duplexState&ge)===0)C(S);else p({value:v,done:v===null});C=p=null}function destroy(d){A.destroy(d);return new Promise(((p,C)=>{if(A._duplexState&ne)return p({value:undefined,done:true});A.once("close",(function(){if(d)C(d);else p({value:undefined,done:true})}))}))}}}class Writable extends Stream{constructor(A){super(A);this._duplexState|=ee|ge;this._writableState=new WritableState(this,A);if(A){if(A.writev)this._writev=A.writev;if(A.write)this._write=A.write;if(A.final)this._final=A.final;if(A.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=We}uncork(){this._duplexState&=ct;this._writableState.updateNextTick()}_writev(A,d){d(null)}_write(A,d){this._writableState.autoBatch(A,d)}_final(A){A(null)}static isBackpressured(A){return(A._duplexState&Mt)!==0}static drained(A){if(A.destroyed)return Promise.resolve(false);const d=A._writableState;const p=isWritev(A)?Math.min(1,d.queue.length):d.queue.length;const C=p+(A._duplexState&ze?1:0);if(C===0)return Promise.resolve(true);if(d.drains===null)d.drains=[];return new Promise((A=>{d.drains.push({writes:C,resolve:A})}))}write(A){this._writableState.updateNextTick();return this._writableState.push(A)}end(A){this._writableState.updateNextTick();this._writableState.end(A);return this}}class Duplex extends Readable{constructor(A){super(A);this._duplexState=ee|this._duplexState&Ee;this._writableState=new WritableState(this,A);if(A){if(A.writev)this._writev=A.writev;if(A.write)this._write=A.write;if(A.final)this._final=A.final}}cork(){this._duplexState|=We}uncork(){this._duplexState&=ct;this._writableState.updateNextTick()}_writev(A,d){d(null)}_write(A,d){this._writableState.autoBatch(A,d)}_final(A){A(null)}write(A){this._writableState.updateNextTick();return this._writableState.push(A)}end(A){this._writableState.updateNextTick();this._writableState.end(A);return this}}class Transform extends Duplex{constructor(A){super(A);this._transformState=new TransformState(this);if(A){if(A.transform)this._transform=A.transform;if(A.flush)this._flush=A.flush}}_write(A,d){if(this._readableState.buffered>=this._readableState.highWaterMark){this._transformState.data=A}else{this._transform(A,this._transformState.afterTransform)}}_read(A){if(this._transformState.data!==null){const d=this._transformState.data;this._transformState.data=null;A(null);this._transform(d,this._transformState.afterTransform)}else{A(null)}}destroy(A){super.destroy(A);if(this._transformState.data!==null){this._transformState.data=null;this._transformState.afterTransform()}}_transform(A,d){d(null,A)}_flush(A){A(null)}_final(A){this._transformState.afterFinal=A;this._flush(transformAfterFlush.bind(this))}}class PassThrough extends Transform{}function transformAfterFlush(A,d){const p=this._transformState.afterFinal;if(A)return p(A);if(d!==null&&d!==undefined)this.push(d);this.push(null);p(null)}function pipelinePromise(...A){return new Promise(((d,p)=>pipeline(...A,(A=>{if(A)return p(A);d()}))))}function pipeline(A,...d){const p=Array.isArray(A)?[...A,...d]:[A,...d];const C=p.length&&typeof p[p.length-1]==="function"?p.pop():null;if(p.length<2)throw new Error("Pipeline requires at least 2 streams");let S=p[0];let T=null;let _=null;for(let A=1;A<p.length;A++){T=p[A];if(isStreamx(S)){S.pipe(T,onerror)}else{errorHandle(S,true,A>1,onerror);S.pipe(T)}S=T}if(C){let A=false;const d=isStreamx(T)||!!(T._writableState&&T._writableState.autoDestroy);T.on("error",(A=>{if(_===null)_=A}));T.on("finish",(()=>{A=true;if(!d)C(_)}));if(d){T.on("close",(()=>C(_||(A?null:v))))}}return T;function errorHandle(A,d,p,C){A.on("error",C);A.on("close",onclose);function onclose(){if(d&&A._readableState&&!A._readableState.ended)return C(v);if(p&&A._writableState&&!A._writableState.ended)return C(v)}}function onerror(A){if(!A||_)return;_=A;for(const d of p){d.destroy(A)}}}function echo(A){return A}function isStream(A){return!!A._readableState||!!A._writableState}function isStreamx(A){return typeof A._duplexState==="number"&&isStream(A)}function isEnded(A){return!!A._readableState&&A._readableState.ended}function isFinished(A){return!!A._writableState&&A._writableState.ended}function getStreamError(A,d={}){const p=A._readableState&&A._readableState.error||A._writableState&&A._writableState.error;return!d.all&&p===S?null:p}function isReadStreamx(A){return isStreamx(A)&&A.readable}function isDisturbed(A){return(A._duplexState&ee)!==ee||(A._duplexState&bt)!==0}function isTypedArray(A){return typeof A==="object"&&A!==null&&typeof A.byteLength==="number"}function defaultByteLength(A){return isTypedArray(A)?A.byteLength:1024}function noop(){}function abort(){this.destroy(new Error("Stream aborted."))}function isWritev(A){return A._writev!==Writable.prototype._writev&&A._writev!==Duplex.prototype._writev}A.exports={pipeline:pipeline,pipelinePromise:pipelinePromise,isStream:isStream,isStreamx:isStreamx,isEnded:isEnded,isFinished:isFinished,isDisturbed:isDisturbed,getStreamError:getStreamError,Stream:Stream,Writable:Writable,Readable:Readable,Duplex:Duplex,Transform:Transform,PassThrough:PassThrough}},8112:(A,d,p)=>{var C=p(79253).Buffer;var S=C.isEncoding||function(A){A=""+A;switch(A&&A.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(A){if(!A)return"utf8";var d;while(true){switch(A){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 A;default:if(d)return;A=(""+A).toLowerCase();d=true}}}function normalizeEncoding(A){var d=_normalizeEncoding(A);if(typeof d!=="string"&&(C.isEncoding===S||!S(A)))throw new Error("Unknown encoding: "+A);return d||A}d.I=StringDecoder;function StringDecoder(A){this.encoding=normalizeEncoding(A);var d;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;d=4;break;case"utf8":this.fillLast=utf8FillLast;d=4;break;case"base64":this.text=base64Text;this.end=base64End;d=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=C.allocUnsafe(d)}StringDecoder.prototype.write=function(A){if(A.length===0)return"";var d;var p;if(this.lastNeed){d=this.fillLast(A);if(d===undefined)return"";p=this.lastNeed;this.lastNeed=0}else{p=0}if(p<A.length)return d?d+this.text(A,p):this.text(A,p);return d||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(A){if(this.lastNeed<=A.length){A.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}A.copy(this.lastChar,this.lastTotal-this.lastNeed,0,A.length);this.lastNeed-=A.length};function utf8CheckByte(A){if(A<=127)return 0;else if(A>>5===6)return 2;else if(A>>4===14)return 3;else if(A>>3===30)return 4;return A>>6===2?-1:-2}function utf8CheckIncomplete(A,d,p){var C=d.length-1;if(C<p)return 0;var S=utf8CheckByte(d[C]);if(S>=0){if(S>0)A.lastNeed=S-1;return S}if(--C<p||S===-2)return 0;S=utf8CheckByte(d[C]);if(S>=0){if(S>0)A.lastNeed=S-2;return S}if(--C<p||S===-2)return 0;S=utf8CheckByte(d[C]);if(S>=0){if(S>0){if(S===2)S=0;else A.lastNeed=S-3}return S}return 0}function utf8CheckExtraBytes(A,d,p){if((d[0]&192)!==128){A.lastNeed=0;return"<22>"}if(A.lastNeed>1&&d.length>1){if((d[1]&192)!==128){A.lastNeed=1;return"<22>"}if(A.lastNeed>2&&d.length>2){if((d[2]&192)!==128){A.lastNeed=2;return"<22>"}}}}function utf8FillLast(A){var d=this.lastTotal-this.lastNeed;var p=utf8CheckExtraBytes(this,A,d);if(p!==undefined)return p;if(this.lastNeed<=A.length){A.copy(this.lastChar,d,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}A.copy(this.lastChar,d,0,A.length);this.lastNeed-=A.length}function utf8Text(A,d){var p=utf8CheckIncomplete(this,A,d);if(!this.lastNeed)return A.toString("utf8",d);this.lastTotal=p;var C=A.length-(p-this.lastNeed);A.copy(this.lastChar,0,C);return A.toString("utf8",d,C)}function utf8End(A){var d=A&&A.length?this.write(A):"";if(this.lastNeed)return d+"<22>";return d}function utf16Text(A,d){if((A.length-d)%2===0){var p=A.toString("utf16le",d);if(p){var C=p.charCodeAt(p.length-1);if(C>=55296&&C<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=A[A.length-2];this.lastChar[1]=A[A.length-1];return p.slice(0,-1)}}return p}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=A[A.length-1];return A.toString("utf16le",d,A.length-1)}function utf16End(A){var d=A&&A.length?this.write(A):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,p)}return d}function base64Text(A,d){var p=(A.length-d)%3;if(p===0)return A.toString("base64",d);this.lastNeed=3-p;this.lastTotal=3;if(p===1){this.lastChar[0]=A[A.length-1]}else{this.lastChar[0]=A[A.length-2];this.lastChar[1]=A[A.length-1]}return A.toString("base64",d,A.length-p)}function base64End(A){var d=A&&A.length?this.write(A):"";if(this.lastNeed)return d+this.lastChar.toString("base64",0,3-this.lastNeed);return d}function simpleWrite(A){return A.toString(this.encoding)}function simpleEnd(A){return A&&A.length?this.write(A):""}},93243:(A,d,p)=>{var C=p(65249).Buffer;var S=C.isEncoding||function(A){A=""+A;switch(A&&A.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(A){if(!A)return"utf8";var d;while(true){switch(A){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 A;default:if(d)return;A=(""+A).toLowerCase();d=true}}}function normalizeEncoding(A){var d=_normalizeEncoding(A);if(typeof d!=="string"&&(C.isEncoding===S||!S(A)))throw new Error("Unknown encoding: "+A);return d||A}d.StringDecoder=StringDecoder;function StringDecoder(A){this.encoding=normalizeEncoding(A);var d;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;d=4;break;case"utf8":this.fillLast=utf8FillLast;d=4;break;case"base64":this.text=base64Text;this.end=base64End;d=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=C.allocUnsafe(d)}StringDecoder.prototype.write=function(A){if(A.length===0)return"";var d;var p;if(this.lastNeed){d=this.fillLast(A);if(d===undefined)return"";p=this.lastNeed;this.lastNeed=0}else{p=0}if(p<A.length)return d?d+this.text(A,p):this.text(A,p);return d||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(A){if(this.lastNeed<=A.length){A.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}A.copy(this.lastChar,this.lastTotal-this.lastNeed,0,A.length);this.lastNeed-=A.length};function utf8CheckByte(A){if(A<=127)return 0;else if(A>>5===6)return 2;else if(A>>4===14)return 3;else if(A>>3===30)return 4;return A>>6===2?-1:-2}function utf8CheckIncomplete(A,d,p){var C=d.length-1;if(C<p)return 0;var S=utf8CheckByte(d[C]);if(S>=0){if(S>0)A.lastNeed=S-1;return S}if(--C<p||S===-2)return 0;S=utf8CheckByte(d[C]);if(S>=0){if(S>0)A.lastNeed=S-2;return S}if(--C<p||S===-2)return 0;S=utf8CheckByte(d[C]);if(S>=0){if(S>0){if(S===2)S=0;else A.lastNeed=S-3}return S}return 0}function utf8CheckExtraBytes(A,d,p){if((d[0]&192)!==128){A.lastNeed=0;return"<22>"}if(A.lastNeed>1&&d.length>1){if((d[1]&192)!==128){A.lastNeed=1;return"<22>"}if(A.lastNeed>2&&d.length>2){if((d[2]&192)!==128){A.lastNeed=2;return"<22>"}}}}function utf8FillLast(A){var d=this.lastTotal-this.lastNeed;var p=utf8CheckExtraBytes(this,A,d);if(p!==undefined)return p;if(this.lastNeed<=A.length){A.copy(this.lastChar,d,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}A.copy(this.lastChar,d,0,A.length);this.lastNeed-=A.length}function utf8Text(A,d){var p=utf8CheckIncomplete(this,A,d);if(!this.lastNeed)return A.toString("utf8",d);this.lastTotal=p;var C=A.length-(p-this.lastNeed);A.copy(this.lastChar,0,C);return A.toString("utf8",d,C)}function utf8End(A){var d=A&&A.length?this.write(A):"";if(this.lastNeed)return d+"<22>";return d}function utf16Text(A,d){if((A.length-d)%2===0){var p=A.toString("utf16le",d);if(p){var C=p.charCodeAt(p.length-1);if(C>=55296&&C<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=A[A.length-2];this.lastChar[1]=A[A.length-1];return p.slice(0,-1)}}return p}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=A[A.length-1];return A.toString("utf16le",d,A.length-1)}function utf16End(A){var d=A&&A.length?this.write(A):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,p)}return d}function base64Text(A,d){var p=(A.length-d)%3;if(p===0)return A.toString("base64",d);this.lastNeed=3-p;this.lastTotal=3;if(p===1){this.lastChar[0]=A[A.length-1]}else{this.lastChar[0]=A[A.length-2];this.lastChar[1]=A[A.length-1]}return A.toString("base64",d,A.length-p)}function base64End(A){var d=A&&A.length?this.write(A):"";if(this.lastNeed)return d+this.lastChar.toString("base64",0,3-this.lastNeed);return d}function simpleWrite(A){return A.toString(this.encoding)}function simpleEnd(A){return A&&A.length?this.write(A):""}},56708:(A,d,p)=>{const C=p(70857);const S=p(52018);const v=p(37435);const{env:T}=process;let _;if(v("no-color")||v("no-colors")||v("color=false")||v("color=never")){_=0}else if(v("color")||v("colors")||v("color=true")||v("color=always")){_=1}if("FORCE_COLOR"in T){if(T.FORCE_COLOR==="true"){_=1}else if(T.FORCE_COLOR==="false"){_=0}else{_=T.FORCE_COLOR.length===0?1:Math.min(parseInt(T.FORCE_COLOR,10),3)}}function translateLevel(A){if(A===0){return false}return{level:A,hasBasic:true,has256:A>=2,has16m:A>=3}}function supportsColor(A,d){if(_===0){return 0}if(v("color=16m")||v("color=full")||v("color=truecolor")){return 3}if(v("color=256")){return 2}if(A&&!d&&_===undefined){return 0}const p=_||0;if(T.TERM==="dumb"){return p}if(process.platform==="win32"){const A=C.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586){return Number(A[2])>=14931?3:2}return 1}if("CI"in T){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((A=>A in T))||T.CI_NAME==="codeship"){return 1}return p}if("TEAMCITY_VERSION"in T){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(T.TEAMCITY_VERSION)?1:0}if(T.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in T){const A=parseInt((T.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(T.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(T.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(T.TERM)){return 1}if("COLORTERM"in T){return 1}return p}function getSupportLevel(A){const d=supportsColor(A,A&&A.isTTY);return translateLevel(d)}A.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,S.isatty(1))),stderr:translateLevel(supportsColor(true,S.isatty(2)))}},84345:(A,d,p)=>{const C={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{A.exports=p(79896).constants||C}catch{A.exports=C}},11389:(A,d,p)=>{const{Writable:C,Readable:S,getStreamError:v}=p(10634);const T=p(19597);const _=p(42660);const V=p(1782);const Z=_.alloc(0);class BufferList{constructor(){this.buffered=0;this.shifted=0;this.queue=new T;this._offset=0}push(A){this.buffered+=A.byteLength;this.queue.push(A)}shiftFirst(A){return this._buffered===0?null:this._next(A)}shift(A){if(A>this.buffered)return null;if(A===0)return Z;let d=this._next(A);if(A===d.byteLength)return d;const p=[d];while((A-=d.byteLength)>0){d=this._next(A);p.push(d)}return _.concat(p)}_next(A){const d=this.queue.peek();const p=d.byteLength-this._offset;if(A>=p){const A=this._offset?d.subarray(this._offset,d.byteLength):d;this.queue.shift();this._offset=0;this.buffered-=p;this.shifted+=p;return A}this.buffered-=A;this.shifted+=A;return d.subarray(this._offset,this._offset+=A)}}class Source extends S{constructor(A,d,p){super();this.header=d;this.offset=p;this._parent=A}_read(A){if(this.header.size===0){this.push(null)}if(this._parent._stream===this){this._parent._update()}A(null)}_predestroy(){this._parent.destroy(v(this))}_detach(){if(this._parent._stream===this){this._parent._stream=null;this._parent._missing=overflow(this.header.size);this._parent._update()}}_destroy(A){this._detach();A(null)}}class Extract extends C{constructor(A){super(A);if(!A)A={};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=A.filenameEncoding||"utf-8";this._allowUnknownFormat=!!A.allowUnknownFormat;this._unlockBound=this._unlock.bind(this)}_unlock(A){this._locked=false;if(A){this.destroy(A);this._continueWrite(A);return}this._update()}_consumeHeader(){if(this._locked)return false;this._offset=this._buffer.shifted;try{this._header=V.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(A){this._continueWrite(A);return false}if(!this._header)return true;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;return true}this._locked=true;this._applyLongHeaders();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(A){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=V.decodeLongPath(A,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=V.decodeLongPath(A,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=V.decodePax(A);break;case"pax-header":this._pax=this._paxGlobal===null?V.decodePax(A):Object.assign({},this._paxGlobal,V.decodePax(A));break}}_consumeLongHeader(){this._longHeader=false;this._missing=overflow(this._header.size);const A=this._buffer.shift(this._header.size);try{this._decodeLongHeader(A)}catch(A){this._continueWrite(A);return false}return true}_consumeStream(){const A=this._buffer.shiftFirst(this._missing);if(A===null)return false;this._missing-=A.byteLength;const d=this._stream.push(A);if(this._missing===0){this._stream.push(null);if(d)this._stream._detach();return d&&this._locked===false}return d}_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 A=this._buffer.shiftFirst(this._missing);if(A!==null)this._missing-=A.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===false)return}this._continueWrite(null)}_continueWrite(A){const d=this._callback;this._callback=noop;d(A)}_write(A,d){this._callback=d;this._buffer.push(A);this._update()}_final(A){this._finished=this._missing===0&&this._buffer.buffered===0;A(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(A){if(this._stream)this._stream.destroy(v(this));A(null)}[Symbol.asyncIterator](){let A=null;let d=null;let p=null;let C=null;let S=null;const v=this;this.on("entry",onentry);this.on("error",(d=>{A=d}));this.on("close",onclose);return{[Symbol.asyncIterator](){return this},next(){return new Promise(onnext)},return(){return destroy(null)},throw(A){return destroy(A)}};function consumeCallback(A){if(!S)return;const d=S;S=null;d(A)}function onnext(S,T){if(A){return T(A)}if(C){S({value:C,done:false});C=null;return}d=S;p=T;consumeCallback(null);if(v._finished&&d){d({value:undefined,done:true});d=p=null}}function onentry(A,v,T){S=T;v.on("error",noop);if(d){d({value:v,done:false});d=p=null}else{C=v}}function onclose(){consumeCallback(A);if(!d)return;if(A)p(A);else d({value:undefined,done:true});d=p=null}function destroy(A){v.destroy(A);consumeCallback(A);return new Promise(((d,p)=>{if(v.destroyed)return d({value:undefined,done:true});v.once("close",(function(){if(A)p(A);else d({value:undefined,done:true})}))}))}}}A.exports=function extract(A){return new Extract(A)};function noop(){}function overflow(A){A&=511;return A&&512-A}},1782:(A,d,p)=>{const C=p(42660);const S="0000000000000000000";const v="7777777777777777777";const T="0".charCodeAt(0);const _=C.from([117,115,116,97,114,0]);const V=C.from([T,T]);const Z=C.from([117,115,116,97,114,32]);const ee=C.from([32,0]);const te=4095;const re=257;const ne=263;d.decodeLongPath=function decodeLongPath(A,d){return decodeStr(A,0,A.length,d)};d.encodePax=function encodePax(A){let d="";if(A.name)d+=addLength(" path="+A.name+"\n");if(A.linkname)d+=addLength(" linkpath="+A.linkname+"\n");const p=A.pax;if(p){for(const A in p){d+=addLength(" "+A+"="+p[A]+"\n")}}return C.from(d)};d.decodePax=function decodePax(A){const d={};while(A.length){let p=0;while(p<A.length&&A[p]!==32)p++;const S=parseInt(C.toString(A.subarray(0,p)),10);if(!S)return d;const v=C.toString(A.subarray(p+1,S-1));const T=v.indexOf("=");if(T===-1)return d;d[v.slice(0,T)]=v.slice(T+1);A=A.subarray(S)}return d};d.encode=function encode(A){const d=C.alloc(512);let p=A.name;let S="";if(A.typeflag===5&&p[p.length-1]!=="/")p+="/";if(C.byteLength(p)!==p.length)return null;while(C.byteLength(p)>100){const A=p.indexOf("/");if(A===-1)return null;S+=S?"/"+p.slice(0,A):p.slice(0,A);p=p.slice(A+1)}if(C.byteLength(p)>100||C.byteLength(S)>155)return null;if(A.linkname&&C.byteLength(A.linkname)>100)return null;C.write(d,p);C.write(d,encodeOct(A.mode&te,6),100);C.write(d,encodeOct(A.uid,6),108);C.write(d,encodeOct(A.gid,6),116);encodeSize(A.size,d,124);C.write(d,encodeOct(A.mtime.getTime()/1e3|0,11),136);d[156]=T+toTypeflag(A.type);if(A.linkname)C.write(d,A.linkname,157);C.copy(_,d,re);C.copy(V,d,ne);if(A.uname)C.write(d,A.uname,265);if(A.gname)C.write(d,A.gname,297);C.write(d,encodeOct(A.devmajor||0,6),329);C.write(d,encodeOct(A.devminor||0,6),337);if(S)C.write(d,S,345);C.write(d,encodeOct(cksum(d),6),148);return d};d.decode=function decode(A,d,p){let C=A[156]===0?0:A[156]-T;let S=decodeStr(A,0,100,d);const v=decodeOct(A,100,8);const _=decodeOct(A,108,8);const V=decodeOct(A,116,8);const Z=decodeOct(A,124,12);const ee=decodeOct(A,136,12);const te=toType(C);const re=A[157]===0?null:decodeStr(A,157,100,d);const ne=decodeStr(A,265,32);const ie=decodeStr(A,297,32);const se=decodeOct(A,329,8);const oe=decodeOct(A,337,8);const ae=cksum(A);if(ae===8*32)return null;if(ae!==decodeOct(A,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(isUSTAR(A)){if(A[345])S=decodeStr(A,345,155,d)+"/"+S}else if(isGNU(A)){}else{if(!p){throw new Error("Invalid tar header: unknown format.")}}if(C===0&&S&&S[S.length-1]==="/")C=5;return{name:S,mode:v,uid:_,gid:V,size:Z,mtime:new Date(1e3*ee),type:te,linkname:re,uname:ne,gname:ie,devmajor:se,devminor:oe,pax:null}};function isUSTAR(A){return C.equals(_,A.subarray(re,re+6))}function isGNU(A){return C.equals(Z,A.subarray(re,re+6))&&C.equals(ee,A.subarray(ne,ne+2))}function clamp(A,d,p){if(typeof A!=="number")return p;A=~~A;if(A>=d)return d;if(A>=0)return A;A+=d;if(A>=0)return A;return 0}function toType(A){switch(A){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(A){switch(A){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(A,d,p,C){for(;p<C;p++){if(A[p]===d)return p}return C}function cksum(A){let d=8*32;for(let p=0;p<148;p++)d+=A[p];for(let p=156;p<512;p++)d+=A[p];return d}function encodeOct(A,d){A=A.toString(8);if(A.length>d)return v.slice(0,d)+" ";return S.slice(0,d-A.length)+A+" "}function encodeSizeBin(A,d,p){d[p]=128;for(let C=11;C>0;C--){d[p+C]=A&255;A=Math.floor(A/256)}}function encodeSize(A,d,p){if(A.toString(8).length>11){encodeSizeBin(A,d,p)}else{C.write(d,encodeOct(A,11),p)}}function parse256(A){let d;if(A[0]===128)d=true;else if(A[0]===255)d=false;else return null;const p=[];let C;for(C=A.length-1;C>0;C--){const S=A[C];if(d)p.push(S);else p.push(255-S)}let S=0;const v=p.length;for(C=0;C<v;C++){S+=p[C]*Math.pow(256,C)}return d?S:-1*S}function decodeOct(A,d,p){A=A.subarray(d,d+p);d=0;if(A[d]&128){return parse256(A)}else{while(d<A.length&&A[d]===32)d++;const p=clamp(indexOf(A,32,d,A.length),A.length,A.length);while(d<p&&A[d]===0)d++;if(p===d)return 0;return parseInt(C.toString(A.subarray(d,p)),8)}}function decodeStr(A,d,p,S){return C.toString(A.subarray(d,indexOf(A,0,d,d+p)),S)}function addLength(A){const d=C.byteLength(A);let p=Math.floor(Math.log(d)/Math.log(10))+1;if(d+p>=Math.pow(10,p))p++;return d+p+A}},78004:(A,d,p)=>{d.extract=p(11389);d.pack=p(49939)},49939:(A,d,p)=>{const{Readable:C,Writable:S,getStreamError:v}=p(10634);const T=p(42660);const _=p(84345);const V=p(1782);const Z=493;const ee=420;const te=T.alloc(1024);class Sink extends S{constructor(A,d,p){super({mapWritable:mapWritable,eagerOpen:true});this.written=0;this.header=d;this._callback=p;this._linkname=null;this._isLinkname=d.type==="symlink"&&!d.linkname;this._isVoid=d.type!=="file"&&d.type!=="contiguous-file";this._finished=false;this._pack=A;this._openCallback=null;if(this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open(A){this._openCallback=A;if(this._pack._stream===this)this._continueOpen()}_continuePack(A){if(this._callback===null)return;const d=this._callback;this._callback=null;d(A)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;const A=this._openCallback;this._openCallback=null;if(A===null)return;if(this._pack.destroying)return A(new Error("pack stream destroyed"));if(this._pack._finalized)return A(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)}A(null)}_write(A,d){if(this._isLinkname){this._linkname=this._linkname?T.concat([this._linkname,A]):A;return d(null)}if(this._isVoid){if(A.byteLength>0){return d(new Error("No body allowed for this entry"))}return d()}this.written+=A.byteLength;if(this._pack.push(A))return d();this._pack._drain=d}_finish(){if(this._finished)return;this._finished=true;if(this._isLinkname){this.header.linkname=this._linkname?T.toString(this._linkname,"utf-8"):"";this._pack._encode(this.header)}overflow(this._pack,this.header.size);this._pack._done(this)}_final(A){if(this.written!==this.header.size){return A(new Error("Size mismatch"))}this._finish();A(null)}_getError(){return v(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(A){this._pack._done(this);this._continuePack(this._finished?null:this._getError());A()}}class Pack extends C{constructor(A){super(A);this._drain=noop;this._finalized=false;this._finalizing=false;this._pending=[];this._stream=null}entry(A,d,p){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");if(typeof d==="function"){p=d;d=null}if(!p)p=noop;if(!A.size||A.type==="symlink")A.size=0;if(!A.type)A.type=modeToType(A.mode);if(!A.mode)A.mode=A.type==="directory"?Z:ee;if(!A.uid)A.uid=0;if(!A.gid)A.gid=0;if(!A.mtime)A.mtime=new Date;if(typeof d==="string")d=T.from(d);const C=new Sink(this,A,p);if(T.isBuffer(d)){A.size=d.byteLength;C.write(d);C.end();return C}if(C._isVoid){return C}return C}finalize(){if(this._stream||this._pending.length>0){this._finalizing=true;return}if(this._finalized)return;this._finalized=true;this.push(te);this.push(null)}_done(A){if(A!==this._stream)return;this._stream=null;if(this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode(A){if(!A.pax){const d=V.encode(A);if(d){this.push(d);return}}this._encodePax(A)}_encodePax(A){const d=V.encodePax({name:A.name,linkname:A.linkname,pax:A.pax});const p={name:"PaxHeader",mode:A.mode,uid:A.uid,gid:A.gid,size:d.byteLength,mtime:A.mtime,type:"pax-header",linkname:A.linkname&&"PaxHeader",uname:A.uname,gname:A.gname,devmajor:A.devmajor,devminor:A.devminor};this.push(V.encode(p));this.push(d);overflow(this,d.byteLength);p.size=A.size;p.type=A.type;this.push(V.encode(p))}_doDrain(){const A=this._drain;this._drain=noop;A()}_predestroy(){const A=v(this);if(this._stream)this._stream.destroy(A);while(this._pending.length){const d=this._pending.shift();d.destroy(A);d._continueOpen()}this._doDrain()}_read(A){this._doDrain();A()}}A.exports=function pack(A){return new Pack(A)};function modeToType(A){switch(A&_.S_IFMT){case _.S_IFBLK:return"block-device";case _.S_IFCHR:return"character-device";case _.S_IFDIR:return"directory";case _.S_IFIFO:return"fifo";case _.S_IFLNK:return"symlink"}return"file"}function noop(){}function overflow(A,d){d&=511;if(d)A.push(te.subarray(0,512-d))}function mapWritable(A){return T.isBuffer(A)?A:T.from(A)}},268:(A,d,p)=>{const C=p(93659);const S=p(19973);A.exports=class TextDecoder{constructor(A="utf8"){this.encoding=normalizeEncoding(A);switch(this.encoding){case"utf8":this.decoder=new S;break;case"utf16le":case"base64":throw new Error("Unsupported encoding: "+this.encoding);default:this.decoder=new C(this.encoding)}}get remaining(){return this.decoder.remaining}push(A){if(typeof A==="string")return A;return this.decoder.decode(A)}write(A){return this.push(A)}end(A){let d="";if(A)d=this.push(A);d+=this.decoder.flush();return d}};function normalizeEncoding(A){A=A.toLowerCase();switch(A){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 A;default:throw new Error("Unknown encoding: "+A)}}},93659:(A,d,p)=>{const C=p(42660);A.exports=class PassThroughDecoder{constructor(A){this.encoding=A}get remaining(){return 0}decode(A){return C.toString(A,this.encoding)}flush(){return""}}},19973:(A,d,p)=>{const C=p(42660);A.exports=class UTF8Decoder{constructor(){this.codePoint=0;this.bytesSeen=0;this.bytesNeeded=0;this.lowerBoundary=128;this.upperBoundary=191}get remaining(){return this.bytesSeen}decode(A){if(this.bytesNeeded===0){let d=true;for(let p=Math.max(0,A.byteLength-4),C=A.byteLength;p<C&&d;p++){d=A[p]<=127}if(d)return C.toString(A,"utf8")}let d="";for(let p=0,C=A.byteLength;p<C;p++){const C=A[p];if(this.bytesNeeded===0){if(C<=127){d+=String.fromCharCode(C)}else{this.bytesSeen=1;if(C>=194&&C<=223){this.bytesNeeded=2;this.codePoint=C&31}else if(C>=224&&C<=239){if(C===224)this.lowerBoundary=160;else if(C===237)this.upperBoundary=159;this.bytesNeeded=3;this.codePoint=C&15}else if(C>=240&&C<=244){if(C===240)this.lowerBoundary=144;if(C===244)this.upperBoundary=143;this.bytesNeeded=4;this.codePoint=C&7}else{d+="<22>"}}continue}if(C<this.lowerBoundary||C>this.upperBoundary){this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0;this.lowerBoundary=128;this.upperBoundary=191;d+="<22>";continue}this.lowerBoundary=128;this.upperBoundary=191;this.codePoint=this.codePoint<<6|C&63;this.bytesSeen++;if(this.bytesSeen!==this.bytesNeeded)continue;d+=String.fromCodePoint(this.codePoint);this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0}return d}flush(){const A=this.bytesNeeded>0?"<22>":"";this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0;this.lowerBoundary=128;this.upperBoundary=191;return A}}},29947:(A,d,p)=>{
/*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*/
const C=p(29068);const toRegexRange=(A,d,p)=>{if(C(A)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(d===void 0||A===d){return String(A)}if(C(d)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let S={relaxZeros:true,...p};if(typeof S.strictZeros==="boolean"){S.relaxZeros=S.strictZeros===false}let v=String(S.relaxZeros);let T=String(S.shorthand);let _=String(S.capture);let V=String(S.wrap);let Z=A+":"+d+"="+v+T+_+V;if(toRegexRange.cache.hasOwnProperty(Z)){return toRegexRange.cache[Z].result}let ee=Math.min(A,d);let te=Math.max(A,d);if(Math.abs(ee-te)===1){let p=A+"|"+d;if(S.capture){return`(${p})`}if(S.wrap===false){return p}return`(?:${p})`}let re=hasPadding(A)||hasPadding(d);let ne={min:A,max:d,a:ee,b:te};let ie=[];let se=[];if(re){ne.isPadded=re;ne.maxLen=String(ne.max).length}if(ee<0){let A=te<0?Math.abs(te):1;se=splitToPatterns(A,Math.abs(ee),ne,S);ee=ne.a=0}if(te>=0){ie=splitToPatterns(ee,te,ne,S)}ne.negatives=se;ne.positives=ie;ne.result=collatePatterns(se,ie,S);if(S.capture===true){ne.result=`(${ne.result})`}else if(S.wrap!==false&&ie.length+se.length>1){ne.result=`(?:${ne.result})`}toRegexRange.cache[Z]=ne;return ne.result};function collatePatterns(A,d,p){let C=filterPatterns(A,d,"-",false,p)||[];let S=filterPatterns(d,A,"",false,p)||[];let v=filterPatterns(A,d,"-?",true,p)||[];let T=C.concat(v).concat(S);return T.join("|")}function splitToRanges(A,d){let p=1;let C=1;let S=countNines(A,p);let v=new Set([d]);while(A<=S&&S<=d){v.add(S);p+=1;S=countNines(A,p)}S=countZeros(d+1,C)-1;while(A<S&&S<=d){v.add(S);C+=1;S=countZeros(d+1,C)-1}v=[...v];v.sort(compare);return v}function rangeToPattern(A,d,p){if(A===d){return{pattern:A,count:[],digits:0}}let C=zip(A,d);let S=C.length;let v="";let T=0;for(let A=0;A<S;A++){let[d,S]=C[A];if(d===S){v+=d}else if(d!=="0"||S!=="9"){v+=toCharacterClass(d,S,p)}else{T++}}if(T){v+=p.shorthand===true?"\\d":"[0-9]"}return{pattern:v,count:[T],digits:S}}function splitToPatterns(A,d,p,C){let S=splitToRanges(A,d);let v=[];let T=A;let _;for(let A=0;A<S.length;A++){let d=S[A];let V=rangeToPattern(String(T),String(d),C);let Z="";if(!p.isPadded&&_&&_.pattern===V.pattern){if(_.count.length>1){_.count.pop()}_.count.push(V.count[0]);_.string=_.pattern+toQuantifier(_.count);T=d+1;continue}if(p.isPadded){Z=padZeros(d,p,C)}V.string=Z+V.pattern+toQuantifier(V.count);v.push(V);T=d+1;_=V}return v}function filterPatterns(A,d,p,C,S){let v=[];for(let S of A){let{string:A}=S;if(!C&&!contains(d,"string",A)){v.push(p+A)}if(C&&contains(d,"string",A)){v.push(p+A)}}return v}function zip(A,d){let p=[];for(let C=0;C<A.length;C++)p.push([A[C],d[C]]);return p}function compare(A,d){return A>d?1:d>A?-1:0}function contains(A,d,p){return A.some((A=>A[d]===p))}function countNines(A,d){return Number(String(A).slice(0,-d)+"9".repeat(d))}function countZeros(A,d){return A-A%Math.pow(10,d)}function toQuantifier(A){let[d=0,p=""]=A;if(p||d>1){return`{${d+(p?","+p:"")}}`}return""}function toCharacterClass(A,d,p){return`[${A}${d-A===1?"":"-"}${d}]`}function hasPadding(A){return/^-?(0+)\d/.test(A)}function padZeros(A,d,p){if(!d.isPadded){return A}let C=Math.abs(d.maxLen-String(A).length);let S=p.relaxZeros!==false;switch(C){case 0:return"";case 1:return S?"0?":"0";case 2:return S?"0{0,2}":"00";default:{return S?`0{0,${C}}`:`0{${C}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};A.exports=toRegexRange},47441:A=>{A.exports=Traverse;function Traverse(A){if(!(this instanceof Traverse))return new Traverse(A);this.value=A}Traverse.prototype.get=function(A){var d=this.value;for(var p=0;p<A.length;p++){var C=A[p];if(!Object.hasOwnProperty.call(d,C)){d=undefined;break}d=d[C]}return d};Traverse.prototype.set=function(A,d){var p=this.value;for(var C=0;C<A.length-1;C++){var S=A[C];if(!Object.hasOwnProperty.call(p,S))p[S]={};p=p[S]}p[A[C]]=d;return d};Traverse.prototype.map=function(A){return walk(this.value,A,true)};Traverse.prototype.forEach=function(A){this.value=walk(this.value,A,false);return this.value};Traverse.prototype.reduce=function(A,d){var p=arguments.length===1;var C=p?this.value:d;this.forEach((function(d){if(!this.isRoot||!p){C=A.call(this,C,d)}}));return C};Traverse.prototype.deepEqual=function(A){if(arguments.length!==1){throw new Error("deepEqual requires exactly one object to compare against")}var d=true;var p=A;this.forEach((function(C){var S=function(){d=false;return undefined}.bind(this);if(!this.isRoot){if(typeof p!=="object")return S();p=p[this.key]}var v=p;this.post((function(){p=v}));var toS=function(A){return Object.prototype.toString.call(A)};if(this.circular){if(Traverse(A).get(this.circular.path)!==v)S()}else if(typeof v!==typeof C){S()}else if(v===null||C===null||v===undefined||C===undefined){if(v!==C)S()}else if(v.__proto__!==C.__proto__){S()}else if(v===C){}else if(typeof v==="function"){if(v instanceof RegExp){if(v.toString()!=C.toString())S()}else if(v!==C)S()}else if(typeof v==="object"){if(toS(C)==="[object Arguments]"||toS(v)==="[object Arguments]"){if(toS(v)!==toS(C)){S()}}else if(v instanceof Date||C instanceof Date){if(!(v instanceof Date)||!(C instanceof Date)||v.getTime()!==C.getTime()){S()}}else{var T=Object.keys(v);var _=Object.keys(C);if(T.length!==_.length)return S();for(var V=0;V<T.length;V++){var Z=T[V];if(!Object.hasOwnProperty.call(C,Z)){S()}}}}}));return d};Traverse.prototype.paths=function(){var A=[];this.forEach((function(d){A.push(this.path)}));return A};Traverse.prototype.nodes=function(){var A=[];this.forEach((function(d){A.push(this.node)}));return A};Traverse.prototype.clone=function(){var A=[],d=[];return function clone(p){for(var C=0;C<A.length;C++){if(A[C]===p){return d[C]}}if(typeof p==="object"&&p!==null){var S=copy(p);A.push(p);d.push(S);Object.keys(p).forEach((function(A){S[A]=clone(p[A])}));A.pop();d.pop();return S}else{return p}}(this.value)};function walk(A,d,p){var C=[];var S=[];var v=true;return function walker(A){var T=p?copy(A):A;var _={};var V={node:T,node_:A,path:[].concat(C),parent:S.slice(-1)[0],key:C.slice(-1)[0],isRoot:C.length===0,level:C.length,circular:null,update:function(A){if(!V.isRoot){V.parent.node[V.key]=A}V.node=A},delete:function(){delete V.parent.node[V.key]},remove:function(){if(Array.isArray(V.parent.node)){V.parent.node.splice(V.key,1)}else{delete V.parent.node[V.key]}},before:function(A){_.before=A},after:function(A){_.after=A},pre:function(A){_.pre=A},post:function(A){_.post=A},stop:function(){v=false}};if(!v)return V;if(typeof T==="object"&&T!==null){V.isLeaf=Object.keys(T).length==0;for(var Z=0;Z<S.length;Z++){if(S[Z].node_===A){V.circular=S[Z];break}}}else{V.isLeaf=true}V.notLeaf=!V.isLeaf;V.notRoot=!V.isRoot;var ee=d.call(V,V.node);if(ee!==undefined&&V.update)V.update(ee);if(_.before)_.before.call(V,V.node);if(typeof V.node=="object"&&V.node!==null&&!V.circular){S.push(V);var te=Object.keys(V.node);te.forEach((function(A,d){C.push(A);if(_.pre)_.pre.call(V,V.node[A],A);var S=walker(V.node[A]);if(p&&Object.hasOwnProperty.call(V.node,A)){V.node[A]=S.node}S.isLast=d==te.length-1;S.isFirst=d==0;if(_.post)_.post.call(V,S);C.pop()}));S.pop()}if(_.after)_.after.call(V,V.node);return V}(A).node}Object.keys(Traverse.prototype).forEach((function(A){Traverse[A]=function(d){var p=[].slice.call(arguments,1);var C=Traverse(d);return C[A].apply(C,p)}}));function copy(A){if(typeof A==="object"&&A!==null){var d;if(Array.isArray(A)){d=[]}else if(A instanceof Date){d=new Date(A)}else if(A instanceof Boolean){d=new Boolean(A)}else if(A instanceof Number){d=new Number(A)}else if(A instanceof String){d=new String(A)}else{d=Object.create(Object.getPrototypeOf(A))}Object.keys(A).forEach((function(p){d[p]=A[p]}));return d}else return A}},67892:A=>{var d;var p;var C;var S;var v;var T;var _;var V;var Z;var ee;var te;var re;var ne;var ie;var se;var oe;var ae;var le;var ce;var ue;var Ae;var de;var pe;var fe;var he;var ge;var me;var ye;var Ee;var be;var Ce;var Be;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(A){d(createExporter(p,createExporter(A)))}))}else if(true&&typeof A.exports==="object"){d(createExporter(p,createExporter(A.exports)))}else{d(createExporter(p))}function createExporter(A,d){if(A!==p){if(typeof Object.create==="function"){Object.defineProperty(A,"__esModule",{value:true})}else{A.__esModule=true}}return function(p,C){return A[p]=d?d(p,C):C}}})((function(A){var Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,d){A.__proto__=d}||function(A,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))A[p]=d[p]};d=function(A,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");Ie(A,d);function __(){this.constructor=A}A.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(A){for(var d,p=1,C=arguments.length;p<C;p++){d=arguments[p];for(var S in d)if(Object.prototype.hasOwnProperty.call(d,S))A[S]=d[S]}return A};C=function(A,d){var p={};for(var C in A)if(Object.prototype.hasOwnProperty.call(A,C)&&d.indexOf(C)<0)p[C]=A[C];if(A!=null&&typeof Object.getOwnPropertySymbols==="function")for(var S=0,C=Object.getOwnPropertySymbols(A);S<C.length;S++){if(d.indexOf(C[S])<0&&Object.prototype.propertyIsEnumerable.call(A,C[S]))p[C[S]]=A[C[S]]}return p};S=function(A,d,p,C){var S=arguments.length,v=S<3?d:C===null?C=Object.getOwnPropertyDescriptor(d,p):C,T;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")v=Reflect.decorate(A,d,p,C);else for(var _=A.length-1;_>=0;_--)if(T=A[_])v=(S<3?T(v):S>3?T(d,p,v):T(d,p))||v;return S>3&&v&&Object.defineProperty(d,p,v),v};v=function(A,d){return function(p,C){d(p,C,A)}};T=function(A,d,p,C,S,v){function accept(A){if(A!==void 0&&typeof A!=="function")throw new TypeError("Function expected");return A}var T=C.kind,_=T==="getter"?"get":T==="setter"?"set":"value";var V=!d&&A?C["static"]?A:A.prototype:null;var Z=d||(V?Object.getOwnPropertyDescriptor(V,C.name):{});var ee,te=false;for(var re=p.length-1;re>=0;re--){var ne={};for(var ie in C)ne[ie]=ie==="access"?{}:C[ie];for(var ie in C.access)ne.access[ie]=C.access[ie];ne.addInitializer=function(A){if(te)throw new TypeError("Cannot add initializers after decoration has completed");v.push(accept(A||null))};var se=(0,p[re])(T==="accessor"?{get:Z.get,set:Z.set}:Z[_],ne);if(T==="accessor"){if(se===void 0)continue;if(se===null||typeof se!=="object")throw new TypeError("Object expected");if(ee=accept(se.get))Z.get=ee;if(ee=accept(se.set))Z.set=ee;if(ee=accept(se.init))S.unshift(ee)}else if(ee=accept(se)){if(T==="field")S.unshift(ee);else Z[_]=ee}}if(V)Object.defineProperty(V,C.name,Z);te=true};_=function(A,d,p){var C=arguments.length>2;for(var S=0;S<d.length;S++){p=C?d[S].call(A,p):d[S].call(A)}return C?p:void 0};V=function(A){return typeof A==="symbol"?A:"".concat(A)};Z=function(A,d,p){if(typeof d==="symbol")d=d.description?"[".concat(d.description,"]"):"";return Object.defineProperty(A,"name",{configurable:true,value:p?"".concat(p," ",d):d})};ee=function(A,d){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(A,d)};te=function(A,d,p,C){function adopt(A){return A instanceof p?A:new p((function(d){d(A)}))}return new(p||(p=Promise))((function(p,S){function fulfilled(A){try{step(C.next(A))}catch(A){S(A)}}function rejected(A){try{step(C["throw"](A))}catch(A){S(A)}}function step(A){A.done?p(A.value):adopt(A.value).then(fulfilled,rejected)}step((C=C.apply(A,d||[])).next())}))};re=function(A,d){var p={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},C,S,v,T=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return T.next=verb(0),T["throw"]=verb(1),T["return"]=verb(2),typeof Symbol==="function"&&(T[Symbol.iterator]=function(){return this}),T;function verb(A){return function(d){return step([A,d])}}function step(_){if(C)throw new TypeError("Generator is already executing.");while(T&&(T=0,_[0]&&(p=0)),p)try{if(C=1,S&&(v=_[0]&2?S["return"]:_[0]?S["throw"]||((v=S["return"])&&v.call(S),0):S.next)&&!(v=v.call(S,_[1])).done)return v;if(S=0,v)_=[_[0]&2,v.value];switch(_[0]){case 0:case 1:v=_;break;case 4:p.label++;return{value:_[1],done:false};case 5:p.label++;S=_[1];_=[0];continue;case 7:_=p.ops.pop();p.trys.pop();continue;default:if(!(v=p.trys,v=v.length>0&&v[v.length-1])&&(_[0]===6||_[0]===2)){p=0;continue}if(_[0]===3&&(!v||_[1]>v[0]&&_[1]<v[3])){p.label=_[1];break}if(_[0]===6&&p.label<v[1]){p.label=v[1];v=_;break}if(v&&p.label<v[2]){p.label=v[2];p.ops.push(_);break}if(v[2])p.ops.pop();p.trys.pop();continue}_=d.call(A,p)}catch(A){_=[6,A];S=0}finally{C=v=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:true}}};ne=function(A,d){for(var p in A)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))Ee(d,A,p)};Ee=Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]};ie=function(A){var d=typeof Symbol==="function"&&Symbol.iterator,p=d&&A[d],C=0;if(p)return p.call(A);if(A&&typeof A.length==="number")return{next:function(){if(A&&C>=A.length)A=void 0;return{value:A&&A[C++],done:!A}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};se=function(A,d){var p=typeof Symbol==="function"&&A[Symbol.iterator];if(!p)return A;var C=p.call(A),S,v=[],T;try{while((d===void 0||d-- >0)&&!(S=C.next()).done)v.push(S.value)}catch(A){T={error:A}}finally{try{if(S&&!S.done&&(p=C["return"]))p.call(C)}finally{if(T)throw T.error}}return v};oe=function(){for(var A=[],d=0;d<arguments.length;d++)A=A.concat(se(arguments[d]));return A};ae=function(){for(var A=0,d=0,p=arguments.length;d<p;d++)A+=arguments[d].length;for(var C=Array(A),S=0,d=0;d<p;d++)for(var v=arguments[d],T=0,_=v.length;T<_;T++,S++)C[S]=v[T];return C};le=function(A,d,p){if(p||arguments.length===2)for(var C=0,S=d.length,v;C<S;C++){if(v||!(C in d)){if(!v)v=Array.prototype.slice.call(d,0,C);v[C]=d[C]}}return A.concat(v||Array.prototype.slice.call(d))};ce=function(A){return this instanceof ce?(this.v=A,this):new ce(A)};ue=function(A,d,p){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=p.apply(A,d||[]),S,v=[];return S=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),verb("next"),verb("throw"),verb("return",awaitReturn),S[Symbol.asyncIterator]=function(){return this},S;function awaitReturn(A){return function(d){return Promise.resolve(d).then(A,reject)}}function verb(A,d){if(C[A]){S[A]=function(d){return new Promise((function(p,C){v.push([A,d,p,C])>1||resume(A,d)}))};if(d)S[A]=d(S[A])}}function resume(A,d){try{step(C[A](d))}catch(A){settle(v[0][3],A)}}function step(A){A.value instanceof ce?Promise.resolve(A.value.v).then(fulfill,reject):settle(v[0][2],A)}function fulfill(A){resume("next",A)}function reject(A){resume("throw",A)}function settle(A,d){if(A(d),v.shift(),v.length)resume(v[0][0],v[0][1])}};Ae=function(A){var d,p;return d={},verb("next"),verb("throw",(function(A){throw A})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(C,S){d[C]=A[C]?function(d){return(p=!p)?{value:ce(A[C](d)),done:false}:S?S(d):d}:S}};de=function(A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=A[Symbol.asyncIterator],p;return d?d.call(A):(A=typeof ie==="function"?ie(A):A[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=A[d]&&function(p){return new Promise((function(C,S){p=A[d](p),settle(C,S,p.done,p.value)}))}}function settle(A,d,p,C){Promise.resolve(C).then((function(d){A({value:d,done:p})}),d)}};pe=function(A,d){if(Object.defineProperty){Object.defineProperty(A,"raw",{value:d})}else{A.raw=d}return A};var Se=Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d};var ownKeys=function(A){ownKeys=Object.getOwnPropertyNames||function(A){var d=[];for(var p in A)if(Object.prototype.hasOwnProperty.call(A,p))d[d.length]=p;return d};return ownKeys(A)};fe=function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p=ownKeys(A),C=0;C<p.length;C++)if(p[C]!=="default")Ee(d,A,p[C]);Se(d,A);return d};he=function(A){return A&&A.__esModule?A:{default:A}};ge=function(A,d,p,C){if(p==="a"&&!C)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?A!==d||!C:!d.has(A))throw new TypeError("Cannot read private member from an object whose class did not declare it");return p==="m"?C:p==="a"?C.call(A):C?C.value:d.get(A)};me=function(A,d,p,C,S){if(C==="m")throw new TypeError("Private method is not writable");if(C==="a"&&!S)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?A!==d||!S:!d.has(A))throw new TypeError("Cannot write private member to an object whose class did not declare it");return C==="a"?S.call(A,p):S?S.value=p:d.set(A,p),p};ye=function(A,d){if(d===null||typeof d!=="object"&&typeof d!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof A==="function"?d===A:A.has(d)};be=function(A,d,p){if(d!==null&&d!==void 0){if(typeof d!=="object"&&typeof d!=="function")throw new TypeError("Object expected.");var C,S;if(p){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");C=d[Symbol.asyncDispose]}if(C===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");C=d[Symbol.dispose];if(p)S=C}if(typeof C!=="function")throw new TypeError("Object not disposable.");if(S)C=function(){try{S.call(this)}catch(A){return Promise.reject(A)}};A.stack.push({value:d,dispose:C,async:p})}else if(p){A.stack.push({async:true})}return d};var we=typeof SuppressedError==="function"?SuppressedError:function(A,d,p){var C=new Error(p);return C.name="SuppressedError",C.error=A,C.suppressed=d,C};Ce=function(A){function fail(d){A.error=A.hasError?new we(d,A.error,"An error was suppressed during disposal."):d;A.hasError=true}var d,p=0;function next(){while(d=A.stack.pop()){try{if(!d.async&&p===1)return p=0,A.stack.push(d),Promise.resolve().then(next);if(d.dispose){var C=d.dispose.call(d.value);if(d.async)return p|=2,Promise.resolve(C).then(next,(function(A){fail(A);return next()}))}else p|=1}catch(A){fail(A)}}if(p===1)return A.hasError?Promise.reject(A.error):Promise.resolve();if(A.hasError)throw A.error}return next()};Be=function(A,d){if(typeof A==="string"&&/^\.\.?\//.test(A)){return A.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(A,p,C,S,v){return p?d?".jsx":".js":C&&(!S||!v)?A:C+S+"."+v.toLowerCase()+"js"}))}return A};A("__extends",d);A("__assign",p);A("__rest",C);A("__decorate",S);A("__param",v);A("__esDecorate",T);A("__runInitializers",_);A("__propKey",V);A("__setFunctionName",Z);A("__metadata",ee);A("__awaiter",te);A("__generator",re);A("__exportStar",ne);A("__createBinding",Ee);A("__values",ie);A("__read",se);A("__spread",oe);A("__spreadArrays",ae);A("__spreadArray",le);A("__await",ce);A("__asyncGenerator",ue);A("__asyncDelegator",Ae);A("__asyncValues",de);A("__makeTemplateObject",pe);A("__importStar",fe);A("__importDefault",he);A("__classPrivateFieldGet",ge);A("__classPrivateFieldSet",me);A("__classPrivateFieldIn",ye);A("__addDisposableResource",be);A("__disposeResources",Ce);A("__rewriteRelativeImportExtension",Be)}));0&&0},30329:(A,d,p)=>{A.exports=p(44179)},44179:(A,d,p)=>{var C=p(69278);var S=p(64756);var v=p(58611);var T=p(65692);var _=p(24434);var V=p(42613);var Z=p(39023);d.httpOverHttp=httpOverHttp;d.httpsOverHttp=httpsOverHttp;d.httpOverHttps=httpOverHttps;d.httpsOverHttps=httpsOverHttps;function httpOverHttp(A){var d=new TunnelingAgent(A);d.request=v.request;return d}function httpsOverHttp(A){var d=new TunnelingAgent(A);d.request=v.request;d.createSocket=createSecureSocket;d.defaultPort=443;return d}function httpOverHttps(A){var d=new TunnelingAgent(A);d.request=T.request;return d}function httpsOverHttps(A){var d=new TunnelingAgent(A);d.request=T.request;d.createSocket=createSecureSocket;d.defaultPort=443;return d}function TunnelingAgent(A){var d=this;d.options=A||{};d.proxyOptions=d.options.proxy||{};d.maxSockets=d.options.maxSockets||v.Agent.defaultMaxSockets;d.requests=[];d.sockets=[];d.on("free",(function onFree(A,p,C,S){var v=toOptions(p,C,S);for(var T=0,_=d.requests.length;T<_;++T){var V=d.requests[T];if(V.host===v.host&&V.port===v.port){d.requests.splice(T,1);V.request.onSocket(A);return}}A.destroy();d.removeSocket(A)}))}Z.inherits(TunnelingAgent,_.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(A,d,p,C){var S=this;var v=mergeOptions({request:A},S.options,toOptions(d,p,C));if(S.sockets.length>=this.maxSockets){S.requests.push(v);return}S.createSocket(v,(function(d){d.on("free",onFree);d.on("close",onCloseOrRemove);d.on("agentRemove",onCloseOrRemove);A.onSocket(d);function onFree(){S.emit("free",d,v)}function onCloseOrRemove(A){S.removeSocket(d);d.removeListener("free",onFree);d.removeListener("close",onCloseOrRemove);d.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(A,d){var p=this;var C={};p.sockets.push(C);var S=mergeOptions({},p.proxyOptions,{method:"CONNECT",path:A.host+":"+A.port,agent:false,headers:{host:A.host+":"+A.port}});if(A.localAddress){S.localAddress=A.localAddress}if(S.proxyAuth){S.headers=S.headers||{};S.headers["Proxy-Authorization"]="Basic "+new Buffer(S.proxyAuth).toString("base64")}ee("making CONNECT request");var v=p.request(S);v.useChunkedEncodingByDefault=false;v.once("response",onResponse);v.once("upgrade",onUpgrade);v.once("connect",onConnect);v.once("error",onError);v.end();function onResponse(A){A.upgrade=true}function onUpgrade(A,d,p){process.nextTick((function(){onConnect(A,d,p)}))}function onConnect(S,T,_){v.removeAllListeners();T.removeAllListeners();if(S.statusCode!==200){ee("tunneling socket could not be established, statusCode=%d",S.statusCode);T.destroy();var V=new Error("tunneling socket could not be established, "+"statusCode="+S.statusCode);V.code="ECONNRESET";A.request.emit("error",V);p.removeSocket(C);return}if(_.length>0){ee("got illegal response body from proxy");T.destroy();var V=new Error("got illegal response body from proxy");V.code="ECONNRESET";A.request.emit("error",V);p.removeSocket(C);return}ee("tunneling connection has established");p.sockets[p.sockets.indexOf(C)]=T;return d(T)}function onError(d){v.removeAllListeners();ee("tunneling socket could not be established, cause=%s\n",d.message,d.stack);var S=new Error("tunneling socket could not be established, "+"cause="+d.message);S.code="ECONNRESET";A.request.emit("error",S);p.removeSocket(C)}};TunnelingAgent.prototype.removeSocket=function removeSocket(A){var d=this.sockets.indexOf(A);if(d===-1){return}this.sockets.splice(d,1);var p=this.requests.shift();if(p){this.createSocket(p,(function(A){p.request.onSocket(A)}))}};function createSecureSocket(A,d){var p=this;TunnelingAgent.prototype.createSocket.call(p,A,(function(C){var v=A.request.getHeader("host");var T=mergeOptions({},p.options,{socket:C,servername:v?v.replace(/:.*$/,""):A.host});var _=S.connect(0,T);p.sockets[p.sockets.indexOf(C)]=_;d(_)}))}function toOptions(A,d,p){if(typeof A==="string"){return{host:A,port:d,localAddress:p}}return A}function mergeOptions(A){for(var d=1,p=arguments.length;d<p;++d){var C=arguments[d];if(typeof C==="object"){var S=Object.keys(C);for(var v=0,T=S.length;v<T;++v){var _=S[v];if(C[_]!==undefined){A[_]=C[_]}}}}return A}var ee;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){ee=function(){var A=Array.prototype.slice.call(arguments);if(typeof A[0]==="string"){A[0]="TUNNEL: "+A[0]}else{A.unshift("TUNNEL:")}console.error.apply(console,A)}}else{ee=function(){}}d.debug=ee},76017:(A,d,p)=>{const C=p(56530);const S=p(55872);const v=p(21970);const T=p(86607);const _=p(180);const V=p(34724);const Z=p(70701);const{InvalidArgumentError:ee}=v;const te=p(36234);const re=p(82667);const ne=p(11134);const ie=p(64280);const se=p(20723);const oe=p(88074);const ae=p(65317);const le=p(95970);const{getGlobalDispatcher:ce,setGlobalDispatcher:ue}=p(64662);const Ae=p(36459);const de=p(70762);const pe=p(32750);let fe;try{p(76982);fe=true}catch{fe=false}Object.assign(S.prototype,te);A.exports.Dispatcher=S;A.exports.Client=C;A.exports.Pool=T;A.exports.BalancedPool=_;A.exports.Agent=V;A.exports.ProxyAgent=ae;A.exports.RetryHandler=le;A.exports.DecoratorHandler=Ae;A.exports.RedirectHandler=de;A.exports.createRedirectInterceptor=pe;A.exports.buildConnector=re;A.exports.errors=v;function makeDispatcher(A){return(d,p,C)=>{if(typeof p==="function"){C=p;p=null}if(!d||typeof d!=="string"&&typeof d!=="object"&&!(d instanceof URL)){throw new ee("invalid url")}if(p!=null&&typeof p!=="object"){throw new ee("invalid opts")}if(p&&p.path!=null){if(typeof p.path!=="string"){throw new ee("invalid opts.path")}let A=p.path;if(!p.path.startsWith("/")){A=`/${A}`}d=new URL(Z.parseOrigin(d).origin+A)}else{if(!p){p=typeof d==="object"?d:{}}d=Z.parseURL(d)}const{agent:S,dispatcher:v=ce()}=p;if(S){throw new ee("unsupported opts.agent. Did you mean opts.client?")}return A.call(v,{...p,origin:d.origin,path:d.search?`${d.pathname}${d.search}`:d.pathname,method:p.method||(p.body?"PUT":"GET")},C)}}A.exports.setGlobalDispatcher=ue;A.exports.getGlobalDispatcher=ce;if(Z.nodeMajor>16||Z.nodeMajor===16&&Z.nodeMinor>=8){let d=null;A.exports.fetch=async function fetch(A){if(!d){d=p(94546).fetch}try{return await d(...arguments)}catch(A){if(typeof A==="object"){Error.captureStackTrace(A,this)}throw A}};A.exports.Headers=p(10824).Headers;A.exports.Response=p(2111).Response;A.exports.Request=p(18939).Request;A.exports.FormData=p(50098).FormData;A.exports.File=p(40374).File;A.exports.FileReader=p(92151).FileReader;const{setGlobalOrigin:C,getGlobalOrigin:S}=p(42071);A.exports.setGlobalOrigin=C;A.exports.getGlobalOrigin=S;const{CacheStorage:v}=p(44393);const{kConstruct:T}=p(78081);A.exports.caches=new v(T)}if(Z.nodeMajor>=16){const{deleteCookie:d,getCookies:C,getSetCookies:S,setCookie:v}=p(53001);A.exports.deleteCookie=d;A.exports.getCookies=C;A.exports.getSetCookies=S;A.exports.setCookie=v;const{parseMIMEType:T,serializeAMimeType:_}=p(32059);A.exports.parseMIMEType=T;A.exports.serializeAMimeType=_}if(Z.nodeMajor>=18&&fe){const{WebSocket:d}=p(17634);A.exports.WebSocket=d}A.exports.request=makeDispatcher(te.request);A.exports.stream=makeDispatcher(te.stream);A.exports.pipeline=makeDispatcher(te.pipeline);A.exports.connect=makeDispatcher(te.connect);A.exports.upgrade=makeDispatcher(te.upgrade);A.exports.MockClient=ne;A.exports.MockPool=se;A.exports.MockAgent=ie;A.exports.mockErrors=oe},34724:(A,d,p)=>{const{InvalidArgumentError:C}=p(21970);const{kClients:S,kRunning:v,kClose:T,kDestroy:_,kDispatch:V,kInterceptors:Z}=p(54980);const ee=p(4660);const te=p(86607);const re=p(56530);const ne=p(70701);const ie=p(32750);const{WeakRef:se,FinalizationRegistry:oe}=p(84375)();const ae=Symbol("onConnect");const le=Symbol("onDisconnect");const ce=Symbol("onConnectionError");const ue=Symbol("maxRedirections");const Ae=Symbol("onDrain");const de=Symbol("factory");const pe=Symbol("finalizer");const fe=Symbol("options");function defaultFactory(A,d){return d&&d.connections===1?new re(A,d):new te(A,d)}class Agent extends ee{constructor({factory:A=defaultFactory,maxRedirections:d=0,connect:p,...v}={}){super();if(typeof A!=="function"){throw new C("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new C("connect must be a function or an object")}if(!Number.isInteger(d)||d<0){throw new C("maxRedirections must be a positive number")}if(p&&typeof p!=="function"){p={...p}}this[Z]=v.interceptors&&v.interceptors.Agent&&Array.isArray(v.interceptors.Agent)?v.interceptors.Agent:[ie({maxRedirections:d})];this[fe]={...ne.deepClone(v),connect:p};this[fe].interceptors=v.interceptors?{...v.interceptors}:undefined;this[ue]=d;this[de]=A;this[S]=new Map;this[pe]=new oe((A=>{const d=this[S].get(A);if(d!==undefined&&d.deref()===undefined){this[S].delete(A)}}));const T=this;this[Ae]=(A,d)=>{T.emit("drain",A,[T,...d])};this[ae]=(A,d)=>{T.emit("connect",A,[T,...d])};this[le]=(A,d,p)=>{T.emit("disconnect",A,[T,...d],p)};this[ce]=(A,d,p)=>{T.emit("connectionError",A,[T,...d],p)}}get[v](){let A=0;for(const d of this[S].values()){const p=d.deref();if(p){A+=p[v]}}return A}[V](A,d){let p;if(A.origin&&(typeof A.origin==="string"||A.origin instanceof URL)){p=String(A.origin)}else{throw new C("opts.origin must be a non-empty string or URL.")}const v=this[S].get(p);let T=v?v.deref():null;if(!T){T=this[de](A.origin,this[fe]).on("drain",this[Ae]).on("connect",this[ae]).on("disconnect",this[le]).on("connectionError",this[ce]);this[S].set(p,new se(T));this[pe].register(T,p)}return T.dispatch(A,d)}async[T](){const A=[];for(const d of this[S].values()){const p=d.deref();if(p){A.push(p.close())}}await Promise.all(A)}async[_](A){const d=[];for(const p of this[S].values()){const C=p.deref();if(C){d.push(C.destroy(A))}}await Promise.all(d)}}A.exports=Agent},36497:(A,d,p)=>{const{addAbortListener:C}=p(70701);const{RequestAbortedError:S}=p(21970);const v=Symbol("kListener");const T=Symbol("kSignal");function abort(A){if(A.abort){A.abort()}else{A.onError(new S)}}function addSignal(A,d){A[T]=null;A[v]=null;if(!d){return}if(d.aborted){abort(A);return}A[T]=d;A[v]=()=>{abort(A)};C(A[T],A[v])}function removeSignal(A){if(!A[T]){return}if("removeEventListener"in A[T]){A[T].removeEventListener("abort",A[v])}else{A[T].removeListener("abort",A[v])}A[T]=null;A[v]=null}A.exports={addSignal:addSignal,removeSignal:removeSignal}},72621:(A,d,p)=>{const{AsyncResource:C}=p(90290);const{InvalidArgumentError:S,RequestAbortedError:v,SocketError:T}=p(21970);const _=p(70701);const{addSignal:V,removeSignal:Z}=p(36497);class ConnectHandler extends C{constructor(A,d){if(!A||typeof A!=="object"){throw new S("invalid opts")}if(typeof d!=="function"){throw new S("invalid callback")}const{signal:p,opaque:C,responseHeaders:v}=A;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new S("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=C||null;this.responseHeaders=v||null;this.callback=d;this.abort=null;V(this,p)}onConnect(A,d){if(!this.callback){throw new v}this.abort=A;this.context=d}onHeaders(){throw new T("bad connect",null)}onUpgrade(A,d,p){const{callback:C,opaque:S,context:v}=this;Z(this);this.callback=null;let T=d;if(T!=null){T=this.responseHeaders==="raw"?_.parseRawHeaders(d):_.parseHeaders(d)}this.runInAsyncScope(C,null,null,{statusCode:A,headers:T,socket:p,opaque:S,context:v})}onError(A){const{callback:d,opaque:p}=this;Z(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,A,{opaque:p})}))}}}function connect(A,d){if(d===undefined){return new Promise(((d,p)=>{connect.call(this,A,((A,C)=>A?p(A):d(C)))}))}try{const p=new ConnectHandler(A,d);this.dispatch({...A,method:"CONNECT"},p)}catch(p){if(typeof d!=="function"){throw p}const C=A&&A.opaque;queueMicrotask((()=>d(p,{opaque:C})))}}A.exports=connect},98229:(A,d,p)=>{const{Readable:C,Duplex:S,PassThrough:v}=p(2203);const{InvalidArgumentError:T,InvalidReturnValueError:_,RequestAbortedError:V}=p(21970);const Z=p(70701);const{AsyncResource:ee}=p(90290);const{addSignal:te,removeSignal:re}=p(36497);const ne=p(42613);const ie=Symbol("resume");class PipelineRequest extends C{constructor(){super({autoDestroy:true});this[ie]=null}_read(){const{[ie]:A}=this;if(A){this[ie]=null;A()}}_destroy(A,d){this._read();d(A)}}class PipelineResponse extends C{constructor(A){super({autoDestroy:true});this[ie]=A}_read(){this[ie]()}_destroy(A,d){if(!A&&!this._readableState.endEmitted){A=new V}d(A)}}class PipelineHandler extends ee{constructor(A,d){if(!A||typeof A!=="object"){throw new T("invalid opts")}if(typeof d!=="function"){throw new T("invalid handler")}const{signal:p,method:C,opaque:v,onInfo:_,responseHeaders:ee}=A;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new T("signal must be an EventEmitter or EventTarget")}if(C==="CONNECT"){throw new T("invalid method")}if(_&&typeof _!=="function"){throw new T("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=v||null;this.responseHeaders=ee||null;this.handler=d;this.abort=null;this.context=null;this.onInfo=_||null;this.req=(new PipelineRequest).on("error",Z.nop);this.ret=new S({readableObjectMode:A.objectMode,autoDestroy:true,read:()=>{const{body:A}=this;if(A&&A.resume){A.resume()}},write:(A,d,p)=>{const{req:C}=this;if(C.push(A,d)||C._readableState.destroyed){p()}else{C[ie]=p}},destroy:(A,d)=>{const{body:p,req:C,res:S,ret:v,abort:T}=this;if(!A&&!v._readableState.endEmitted){A=new V}if(T&&A){T()}Z.destroy(p,A);Z.destroy(C,A);Z.destroy(S,A);re(this);d(A)}}).on("prefinish",(()=>{const{req:A}=this;A.push(null)}));this.res=null;te(this,p)}onConnect(A,d){const{ret:p,res:C}=this;ne(!C,"pipeline cannot be retried");if(p.destroyed){throw new V}this.abort=A;this.context=d}onHeaders(A,d,p){const{opaque:C,handler:S,context:v}=this;if(A<200){if(this.onInfo){const p=this.responseHeaders==="raw"?Z.parseRawHeaders(d):Z.parseHeaders(d);this.onInfo({statusCode:A,headers:p})}return}this.res=new PipelineResponse(p);let T;try{this.handler=null;const p=this.responseHeaders==="raw"?Z.parseRawHeaders(d):Z.parseHeaders(d);T=this.runInAsyncScope(S,null,{statusCode:A,headers:p,opaque:C,body:this.res,context:v})}catch(A){this.res.on("error",Z.nop);throw A}if(!T||typeof T.on!=="function"){throw new _("expected Readable")}T.on("data",(A=>{const{ret:d,body:p}=this;if(!d.push(A)&&p.pause){p.pause()}})).on("error",(A=>{const{ret:d}=this;Z.destroy(d,A)})).on("end",(()=>{const{ret:A}=this;A.push(null)})).on("close",(()=>{const{ret:A}=this;if(!A._readableState.ended){Z.destroy(A,new V)}}));this.body=T}onData(A){const{res:d}=this;return d.push(A)}onComplete(A){const{res:d}=this;d.push(null)}onError(A){const{ret:d}=this;this.handler=null;Z.destroy(d,A)}}function pipeline(A,d){try{const p=new PipelineHandler(A,d);this.dispatch({...A,body:p.req},p);return p.ret}catch(A){return(new v).destroy(A)}}A.exports=pipeline},5670:(A,d,p)=>{const C=p(42224);const{InvalidArgumentError:S,RequestAbortedError:v}=p(21970);const T=p(70701);const{getResolveErrorBodyCallback:_}=p(3924);const{AsyncResource:V}=p(90290);const{addSignal:Z,removeSignal:ee}=p(36497);class RequestHandler extends V{constructor(A,d){if(!A||typeof A!=="object"){throw new S("invalid opts")}const{signal:p,method:C,opaque:v,body:_,onInfo:V,responseHeaders:ee,throwOnError:te,highWaterMark:re}=A;try{if(typeof d!=="function"){throw new S("invalid callback")}if(re&&(typeof re!=="number"||re<0)){throw new S("invalid highWaterMark")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new S("signal must be an EventEmitter or EventTarget")}if(C==="CONNECT"){throw new S("invalid method")}if(V&&typeof V!=="function"){throw new S("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(A){if(T.isStream(_)){T.destroy(_.on("error",T.nop),A)}throw A}this.responseHeaders=ee||null;this.opaque=v||null;this.callback=d;this.res=null;this.abort=null;this.body=_;this.trailers={};this.context=null;this.onInfo=V||null;this.throwOnError=te;this.highWaterMark=re;if(T.isStream(_)){_.on("error",(A=>{this.onError(A)}))}Z(this,p)}onConnect(A,d){if(!this.callback){throw new v}this.abort=A;this.context=d}onHeaders(A,d,p,S){const{callback:v,opaque:V,abort:Z,context:ee,responseHeaders:te,highWaterMark:re}=this;const ne=te==="raw"?T.parseRawHeaders(d):T.parseHeaders(d);if(A<200){if(this.onInfo){this.onInfo({statusCode:A,headers:ne})}return}const ie=te==="raw"?T.parseHeaders(d):ne;const se=ie["content-type"];const oe=new C({resume:p,abort:Z,contentType:se,highWaterMark:re});this.callback=null;this.res=oe;if(v!==null){if(this.throwOnError&&A>=400){this.runInAsyncScope(_,null,{callback:v,body:oe,contentType:se,statusCode:A,statusMessage:S,headers:ne})}else{this.runInAsyncScope(v,null,null,{statusCode:A,headers:ne,trailers:this.trailers,opaque:V,body:oe,context:ee})}}}onData(A){const{res:d}=this;return d.push(A)}onComplete(A){const{res:d}=this;ee(this);T.parseHeaders(A,this.trailers);d.push(null)}onError(A){const{res:d,callback:p,body:C,opaque:S}=this;ee(this);if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,A,{opaque:S})}))}if(d){this.res=null;queueMicrotask((()=>{T.destroy(d,A)}))}if(C){this.body=null;T.destroy(C,A)}}}function request(A,d){if(d===undefined){return new Promise(((d,p)=>{request.call(this,A,((A,C)=>A?p(A):d(C)))}))}try{this.dispatch(A,new RequestHandler(A,d))}catch(p){if(typeof d!=="function"){throw p}const C=A&&A.opaque;queueMicrotask((()=>d(p,{opaque:C})))}}A.exports=request;A.exports.RequestHandler=RequestHandler},53019:(A,d,p)=>{const{finished:C,PassThrough:S}=p(2203);const{InvalidArgumentError:v,InvalidReturnValueError:T,RequestAbortedError:_}=p(21970);const V=p(70701);const{getResolveErrorBodyCallback:Z}=p(3924);const{AsyncResource:ee}=p(90290);const{addSignal:te,removeSignal:re}=p(36497);class StreamHandler extends ee{constructor(A,d,p){if(!A||typeof A!=="object"){throw new v("invalid opts")}const{signal:C,method:S,opaque:T,body:_,onInfo:Z,responseHeaders:ee,throwOnError:re}=A;try{if(typeof p!=="function"){throw new v("invalid callback")}if(typeof d!=="function"){throw new v("invalid factory")}if(C&&typeof C.on!=="function"&&typeof C.addEventListener!=="function"){throw new v("signal must be an EventEmitter or EventTarget")}if(S==="CONNECT"){throw new v("invalid method")}if(Z&&typeof Z!=="function"){throw new v("invalid onInfo callback")}super("UNDICI_STREAM")}catch(A){if(V.isStream(_)){V.destroy(_.on("error",V.nop),A)}throw A}this.responseHeaders=ee||null;this.opaque=T||null;this.factory=d;this.callback=p;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=_;this.onInfo=Z||null;this.throwOnError=re||false;if(V.isStream(_)){_.on("error",(A=>{this.onError(A)}))}te(this,C)}onConnect(A,d){if(!this.callback){throw new _}this.abort=A;this.context=d}onHeaders(A,d,p,v){const{factory:_,opaque:ee,context:te,callback:re,responseHeaders:ne}=this;const ie=ne==="raw"?V.parseRawHeaders(d):V.parseHeaders(d);if(A<200){if(this.onInfo){this.onInfo({statusCode:A,headers:ie})}return}this.factory=null;let se;if(this.throwOnError&&A>=400){const p=ne==="raw"?V.parseHeaders(d):ie;const C=p["content-type"];se=new S;this.callback=null;this.runInAsyncScope(Z,null,{callback:re,body:se,contentType:C,statusCode:A,statusMessage:v,headers:ie})}else{if(_===null){return}se=this.runInAsyncScope(_,null,{statusCode:A,headers:ie,opaque:ee,context:te});if(!se||typeof se.write!=="function"||typeof se.end!=="function"||typeof se.on!=="function"){throw new T("expected Writable")}C(se,{readable:false},(A=>{const{callback:d,res:p,opaque:C,trailers:S,abort:v}=this;this.res=null;if(A||!p.readable){V.destroy(p,A)}this.callback=null;this.runInAsyncScope(d,null,A||null,{opaque:C,trailers:S});if(A){v()}}))}se.on("drain",p);this.res=se;const oe=se.writableNeedDrain!==undefined?se.writableNeedDrain:se._writableState&&se._writableState.needDrain;return oe!==true}onData(A){const{res:d}=this;return d?d.write(A):true}onComplete(A){const{res:d}=this;re(this);if(!d){return}this.trailers=V.parseHeaders(A);d.end()}onError(A){const{res:d,callback:p,opaque:C,body:S}=this;re(this);this.factory=null;if(d){this.res=null;V.destroy(d,A)}else if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,A,{opaque:C})}))}if(S){this.body=null;V.destroy(S,A)}}}function stream(A,d,p){if(p===undefined){return new Promise(((p,C)=>{stream.call(this,A,d,((A,d)=>A?C(A):p(d)))}))}try{this.dispatch(A,new StreamHandler(A,d,p))}catch(d){if(typeof p!=="function"){throw d}const C=A&&A.opaque;queueMicrotask((()=>p(d,{opaque:C})))}}A.exports=stream},8063:(A,d,p)=>{const{InvalidArgumentError:C,RequestAbortedError:S,SocketError:v}=p(21970);const{AsyncResource:T}=p(90290);const _=p(70701);const{addSignal:V,removeSignal:Z}=p(36497);const ee=p(42613);class UpgradeHandler extends T{constructor(A,d){if(!A||typeof A!=="object"){throw new C("invalid opts")}if(typeof d!=="function"){throw new C("invalid callback")}const{signal:p,opaque:S,responseHeaders:v}=A;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new C("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=v||null;this.opaque=S||null;this.callback=d;this.abort=null;this.context=null;V(this,p)}onConnect(A,d){if(!this.callback){throw new S}this.abort=A;this.context=null}onHeaders(){throw new v("bad upgrade",null)}onUpgrade(A,d,p){const{callback:C,opaque:S,context:v}=this;ee.strictEqual(A,101);Z(this);this.callback=null;const T=this.responseHeaders==="raw"?_.parseRawHeaders(d):_.parseHeaders(d);this.runInAsyncScope(C,null,null,{headers:T,socket:p,opaque:S,context:v})}onError(A){const{callback:d,opaque:p}=this;Z(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,A,{opaque:p})}))}}}function upgrade(A,d){if(d===undefined){return new Promise(((d,p)=>{upgrade.call(this,A,((A,C)=>A?p(A):d(C)))}))}try{const p=new UpgradeHandler(A,d);this.dispatch({...A,method:A.method||"GET",upgrade:A.protocol||"Websocket"},p)}catch(p){if(typeof d!=="function"){throw p}const C=A&&A.opaque;queueMicrotask((()=>d(p,{opaque:C})))}}A.exports=upgrade},36234:(A,d,p)=>{A.exports.request=p(5670);A.exports.stream=p(53019);A.exports.pipeline=p(98229);A.exports.upgrade=p(8063);A.exports.connect=p(72621)},42224:(A,d,p)=>{const C=p(42613);const{Readable:S}=p(2203);const{RequestAbortedError:v,NotSupportedError:T,InvalidArgumentError:_}=p(21970);const V=p(70701);const{ReadableStreamFrom:Z,toUSVString:ee}=p(70701);let te;const re=Symbol("kConsume");const ne=Symbol("kReading");const ie=Symbol("kBody");const se=Symbol("abort");const oe=Symbol("kContentType");const noop=()=>{};A.exports=class BodyReadable extends S{constructor({resume:A,abort:d,contentType:p="",highWaterMark:C=64*1024}){super({autoDestroy:true,read:A,highWaterMark:C});this._readableState.dataEmitted=false;this[se]=d;this[re]=null;this[ie]=null;this[oe]=p;this[ne]=false}destroy(A){if(this.destroyed){return this}if(!A&&!this._readableState.endEmitted){A=new v}if(A){this[se]()}return super.destroy(A)}emit(A,...d){if(A==="data"){this._readableState.dataEmitted=true}else if(A==="error"){this._readableState.errorEmitted=true}return super.emit(A,...d)}on(A,...d){if(A==="data"||A==="readable"){this[ne]=true}return super.on(A,...d)}addListener(A,...d){return this.on(A,...d)}off(A,...d){const p=super.off(A,...d);if(A==="data"||A==="readable"){this[ne]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return p}removeListener(A,...d){return this.off(A,...d)}push(A){if(this[re]&&A!==null&&this.readableLength===0){consumePush(this[re],A);return this[ne]?super.push(A):true}return super.push(A)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new T}get bodyUsed(){return V.isDisturbed(this)}get body(){if(!this[ie]){this[ie]=Z(this);if(this[re]){this[ie].getReader();C(this[ie].locked)}}return this[ie]}dump(A){let d=A&&Number.isFinite(A.limit)?A.limit:262144;const p=A&&A.signal;if(p){try{if(typeof p!=="object"||!("aborted"in p)){throw new _("signal must be an AbortSignal")}V.throwIfAborted(p)}catch(A){return Promise.reject(A)}}if(this.closed){return Promise.resolve(null)}return new Promise(((A,C)=>{const S=p?V.addAbortListener(p,(()=>{this.destroy()})):noop;this.on("close",(function(){S();if(p&&p.aborted){C(p.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{A(null)}})).on("error",noop).on("data",(function(A){d-=A.length;if(d<=0){this.destroy()}})).resume()}))}};function isLocked(A){return A[ie]&&A[ie].locked===true||A[re]}function isUnusable(A){return V.isDisturbed(A)||isLocked(A)}async function consume(A,d){if(isUnusable(A)){throw new TypeError("unusable")}C(!A[re]);return new Promise(((p,C)=>{A[re]={type:d,stream:A,resolve:p,reject:C,length:0,body:[]};A.on("error",(function(A){consumeFinish(this[re],A)})).on("close",(function(){if(this[re].body!==null){consumeFinish(this[re],new v)}}));process.nextTick(consumeStart,A[re])}))}function consumeStart(A){if(A.body===null){return}const{_readableState:d}=A.stream;for(const p of d.buffer){consumePush(A,p)}if(d.endEmitted){consumeEnd(this[re])}else{A.stream.on("end",(function(){consumeEnd(this[re])}))}A.stream.resume();while(A.stream.read()!=null){}}function consumeEnd(A){const{type:d,body:C,resolve:S,stream:v,length:T}=A;try{if(d==="text"){S(ee(Buffer.concat(C)))}else if(d==="json"){S(JSON.parse(Buffer.concat(C)))}else if(d==="arrayBuffer"){const A=new Uint8Array(T);let d=0;for(const p of C){A.set(p,d);d+=p.byteLength}S(A.buffer)}else if(d==="blob"){if(!te){te=p(20181).Blob}S(new te(C,{type:v[oe]}))}consumeFinish(A)}catch(A){v.destroy(A)}}function consumePush(A,d){A.length+=d.length;A.body.push(d)}function consumeFinish(A,d){if(A.body===null){return}if(d){A.reject(d)}else{A.resolve()}A.type=null;A.stream=null;A.resolve=null;A.reject=null;A.length=0;A.body=null}},3924:(A,d,p)=>{const C=p(42613);const{ResponseStatusCodeError:S}=p(21970);const{toUSVString:v}=p(70701);async function getResolveErrorBodyCallback({callback:A,body:d,contentType:p,statusCode:T,statusMessage:_,headers:V}){C(d);let Z=[];let ee=0;for await(const A of d){Z.push(A);ee+=A.length;if(ee>128*1024){Z=null;break}}if(T===204||!p||!Z){process.nextTick(A,new S(`Response status code ${T}${_?`: ${_}`:""}`,T,V));return}try{if(p.startsWith("application/json")){const d=JSON.parse(v(Buffer.concat(Z)));process.nextTick(A,new S(`Response status code ${T}${_?`: ${_}`:""}`,T,V,d));return}if(p.startsWith("text/")){const d=v(Buffer.concat(Z));process.nextTick(A,new S(`Response status code ${T}${_?`: ${_}`:""}`,T,V,d));return}}catch(A){}process.nextTick(A,new S(`Response status code ${T}${_?`: ${_}`:""}`,T,V))}A.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},180:(A,d,p)=>{const{BalancedPoolMissingUpstreamError:C,InvalidArgumentError:S}=p(21970);const{PoolBase:v,kClients:T,kNeedDrain:_,kAddClient:V,kRemoveClient:Z,kGetDispatcher:ee}=p(44005);const te=p(86607);const{kUrl:re,kInterceptors:ne}=p(54980);const{parseOrigin:ie}=p(70701);const se=Symbol("factory");const oe=Symbol("options");const ae=Symbol("kGreatestCommonDivisor");const le=Symbol("kCurrentWeight");const ce=Symbol("kIndex");const ue=Symbol("kWeight");const Ae=Symbol("kMaxWeightPerServer");const de=Symbol("kErrorPenalty");function getGreatestCommonDivisor(A,d){if(d===0)return A;return getGreatestCommonDivisor(d,A%d)}function defaultFactory(A,d){return new te(A,d)}class BalancedPool extends v{constructor(A=[],{factory:d=defaultFactory,...p}={}){super();this[oe]=p;this[ce]=-1;this[le]=0;this[Ae]=this[oe].maxWeightPerServer||100;this[de]=this[oe].errorPenalty||15;if(!Array.isArray(A)){A=[A]}if(typeof d!=="function"){throw new S("factory must be a function.")}this[ne]=p.interceptors&&p.interceptors.BalancedPool&&Array.isArray(p.interceptors.BalancedPool)?p.interceptors.BalancedPool:[];this[se]=d;for(const d of A){this.addUpstream(d)}this._updateBalancedPoolStats()}addUpstream(A){const d=ie(A).origin;if(this[T].find((A=>A[re].origin===d&&A.closed!==true&&A.destroyed!==true))){return this}const p=this[se](d,Object.assign({},this[oe]));this[V](p);p.on("connect",(()=>{p[ue]=Math.min(this[Ae],p[ue]+this[de])}));p.on("connectionError",(()=>{p[ue]=Math.max(1,p[ue]-this[de]);this._updateBalancedPoolStats()}));p.on("disconnect",((...A)=>{const d=A[2];if(d&&d.code==="UND_ERR_SOCKET"){p[ue]=Math.max(1,p[ue]-this[de]);this._updateBalancedPoolStats()}}));for(const A of this[T]){A[ue]=this[Ae]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[ae]=this[T].map((A=>A[ue])).reduce(getGreatestCommonDivisor,0)}removeUpstream(A){const d=ie(A).origin;const p=this[T].find((A=>A[re].origin===d&&A.closed!==true&&A.destroyed!==true));if(p){this[Z](p)}return this}get upstreams(){return this[T].filter((A=>A.closed!==true&&A.destroyed!==true)).map((A=>A[re].origin))}[ee](){if(this[T].length===0){throw new C}const A=this[T].find((A=>!A[_]&&A.closed!==true&&A.destroyed!==true));if(!A){return}const d=this[T].map((A=>A[_])).reduce(((A,d)=>A&&d),true);if(d){return}let p=0;let S=this[T].findIndex((A=>!A[_]));while(p++<this[T].length){this[ce]=(this[ce]+1)%this[T].length;const A=this[T][this[ce]];if(A[ue]>this[T][S][ue]&&!A[_]){S=this[ce]}if(this[ce]===0){this[le]=this[le]-this[ae];if(this[le]<=0){this[le]=this[Ae]}}if(A[ue]>=this[le]&&!A[_]){return A}}this[le]=this[T][S][ue];this[ce]=S;return this[T][S]}}A.exports=BalancedPool},85974:(A,d,p)=>{const{kConstruct:C}=p(78081);const{urlEquals:S,fieldValues:v}=p(6922);const{kEnumerableProperty:T,isDisturbed:_}=p(70701);const{kHeadersList:V}=p(54980);const{webidl:Z}=p(90185);const{Response:ee,cloneResponse:te}=p(2111);const{Request:re}=p(18939);const{kState:ne,kHeaders:ie,kGuard:se,kRealm:oe}=p(40639);const{fetching:ae}=p(94546);const{urlIsHttpHttpsScheme:le,createDeferredPromise:ce,readAllBytes:ue}=p(58524);const Ae=p(42613);const{getGlobalDispatcher:de}=p(64662);class Cache{#e;constructor(){if(arguments[0]!==C){Z.illegalConstructor()}this.#e=arguments[1]}async match(A,d={}){Z.brandCheck(this,Cache);Z.argumentLengthCheck(arguments,1,{header:"Cache.match"});A=Z.converters.RequestInfo(A);d=Z.converters.CacheQueryOptions(d);const p=await this.matchAll(A,d);if(p.length===0){return}return p[0]}async matchAll(A=undefined,d={}){Z.brandCheck(this,Cache);if(A!==undefined)A=Z.converters.RequestInfo(A);d=Z.converters.CacheQueryOptions(d);let p=null;if(A!==undefined){if(A instanceof re){p=A[ne];if(p.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof A==="string"){p=new re(A)[ne]}}const C=[];if(A===undefined){for(const A of this.#e){C.push(A[1])}}else{const A=this.#t(p,d);for(const d of A){C.push(d[1])}}const S=[];for(const A of C){const d=new ee(A.body?.source??null);const p=d[ne].body;d[ne]=A;d[ne].body=p;d[ie][V]=A.headersList;d[ie][se]="immutable";S.push(d)}return Object.freeze(S)}async add(A){Z.brandCheck(this,Cache);Z.argumentLengthCheck(arguments,1,{header:"Cache.add"});A=Z.converters.RequestInfo(A);const d=[A];const p=this.addAll(d);return await p}async addAll(A){Z.brandCheck(this,Cache);Z.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});A=Z.converters["sequence<RequestInfo>"](A);const d=[];const p=[];for(const d of A){if(typeof d==="string"){continue}const A=d[ne];if(!le(A.url)||A.method!=="GET"){throw Z.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const C=[];for(const S of A){const A=new re(S)[ne];if(!le(A.url)){throw Z.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}A.initiator="fetch";A.destination="subresource";p.push(A);const T=ce();C.push(ae({request:A,dispatcher:de(),processResponse(A){if(A.type==="error"||A.status===206||A.status<200||A.status>299){T.reject(Z.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(A.headersList.contains("vary")){const d=v(A.headersList.get("vary"));for(const A of d){if(A==="*"){T.reject(Z.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const A of C){A.abort()}return}}}},processResponseEndOfBody(A){if(A.aborted){T.reject(new DOMException("aborted","AbortError"));return}T.resolve(A)}}));d.push(T.promise)}const S=Promise.all(d);const T=await S;const _=[];let V=0;for(const A of T){const d={type:"put",request:p[V],response:A};_.push(d);V++}const ee=ce();let te=null;try{this.#r(_)}catch(A){te=A}queueMicrotask((()=>{if(te===null){ee.resolve(undefined)}else{ee.reject(te)}}));return ee.promise}async put(A,d){Z.brandCheck(this,Cache);Z.argumentLengthCheck(arguments,2,{header:"Cache.put"});A=Z.converters.RequestInfo(A);d=Z.converters.Response(d);let p=null;if(A instanceof re){p=A[ne]}else{p=new re(A)[ne]}if(!le(p.url)||p.method!=="GET"){throw Z.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const C=d[ne];if(C.status===206){throw Z.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(C.headersList.contains("vary")){const A=v(C.headersList.get("vary"));for(const d of A){if(d==="*"){throw Z.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(C.body&&(_(C.body.stream)||C.body.stream.locked)){throw Z.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const S=te(C);const T=ce();if(C.body!=null){const A=C.body.stream;const d=A.getReader();ue(d).then(T.resolve,T.reject)}else{T.resolve(undefined)}const V=[];const ee={type:"put",request:p,response:S};V.push(ee);const ie=await T.promise;if(S.body!=null){S.body.source=ie}const se=ce();let oe=null;try{this.#r(V)}catch(A){oe=A}queueMicrotask((()=>{if(oe===null){se.resolve()}else{se.reject(oe)}}));return se.promise}async delete(A,d={}){Z.brandCheck(this,Cache);Z.argumentLengthCheck(arguments,1,{header:"Cache.delete"});A=Z.converters.RequestInfo(A);d=Z.converters.CacheQueryOptions(d);let p=null;if(A instanceof re){p=A[ne];if(p.method!=="GET"&&!d.ignoreMethod){return false}}else{Ae(typeof A==="string");p=new re(A)[ne]}const C=[];const S={type:"delete",request:p,options:d};C.push(S);const v=ce();let T=null;let _;try{_=this.#r(C)}catch(A){T=A}queueMicrotask((()=>{if(T===null){v.resolve(!!_?.length)}else{v.reject(T)}}));return v.promise}async keys(A=undefined,d={}){Z.brandCheck(this,Cache);if(A!==undefined)A=Z.converters.RequestInfo(A);d=Z.converters.CacheQueryOptions(d);let p=null;if(A!==undefined){if(A instanceof re){p=A[ne];if(p.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof A==="string"){p=new re(A)[ne]}}const C=ce();const S=[];if(A===undefined){for(const A of this.#e){S.push(A[0])}}else{const A=this.#t(p,d);for(const d of A){S.push(d[0])}}queueMicrotask((()=>{const A=[];for(const d of S){const p=new re("https://a");p[ne]=d;p[ie][V]=d.headersList;p[ie][se]="immutable";p[oe]=d.client;A.push(p)}C.resolve(Object.freeze(A))}));return C.promise}#r(A){const d=this.#e;const p=[...d];const C=[];const S=[];try{for(const p of A){if(p.type!=="delete"&&p.type!=="put"){throw Z.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(p.type==="delete"&&p.response!=null){throw Z.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(p.request,p.options,C).length){throw new DOMException("???","InvalidStateError")}let A;if(p.type==="delete"){A=this.#t(p.request,p.options);if(A.length===0){return[]}for(const p of A){const A=d.indexOf(p);Ae(A!==-1);d.splice(A,1)}}else if(p.type==="put"){if(p.response==null){throw Z.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const S=p.request;if(!le(S.url)){throw Z.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(S.method!=="GET"){throw Z.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(p.options!=null){throw Z.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}A=this.#t(p.request);for(const p of A){const A=d.indexOf(p);Ae(A!==-1);d.splice(A,1)}d.push([p.request,p.response]);C.push([p.request,p.response])}S.push([p.request,p.response])}return S}catch(A){this.#e.length=0;this.#e=p;throw A}}#t(A,d,p){const C=[];const S=p??this.#e;for(const p of S){const[S,v]=p;if(this.#n(A,S,v,d)){C.push(p)}}return C}#n(A,d,p=null,C){const T=new URL(A.url);const _=new URL(d.url);if(C?.ignoreSearch){_.search="";T.search=""}if(!S(T,_,true)){return false}if(p==null||C?.ignoreVary||!p.headersList.contains("vary")){return true}const V=v(p.headersList.get("vary"));for(const p of V){if(p==="*"){return false}const C=d.headersList.get(p);const S=A.headersList.get(p);if(C!==S){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:T,matchAll:T,add:T,addAll:T,put:T,delete:T,keys:T});const pe=[{key:"ignoreSearch",converter:Z.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:Z.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:Z.converters.boolean,defaultValue:false}];Z.converters.CacheQueryOptions=Z.dictionaryConverter(pe);Z.converters.MultiCacheQueryOptions=Z.dictionaryConverter([...pe,{key:"cacheName",converter:Z.converters.DOMString}]);Z.converters.Response=Z.interfaceConverter(ee);Z.converters["sequence<RequestInfo>"]=Z.sequenceConverter(Z.converters.RequestInfo);A.exports={Cache:Cache}},44393:(A,d,p)=>{const{kConstruct:C}=p(78081);const{Cache:S}=p(85974);const{webidl:v}=p(90185);const{kEnumerableProperty:T}=p(70701);class CacheStorage{#i=new Map;constructor(){if(arguments[0]!==C){v.illegalConstructor()}}async match(A,d={}){v.brandCheck(this,CacheStorage);v.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});A=v.converters.RequestInfo(A);d=v.converters.MultiCacheQueryOptions(d);if(d.cacheName!=null){if(this.#i.has(d.cacheName)){const p=this.#i.get(d.cacheName);const v=new S(C,p);return await v.match(A,d)}}else{for(const p of this.#i.values()){const v=new S(C,p);const T=await v.match(A,d);if(T!==undefined){return T}}}}async has(A){v.brandCheck(this,CacheStorage);v.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});A=v.converters.DOMString(A);return this.#i.has(A)}async open(A){v.brandCheck(this,CacheStorage);v.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});A=v.converters.DOMString(A);if(this.#i.has(A)){const d=this.#i.get(A);return new S(C,d)}const d=[];this.#i.set(A,d);return new S(C,d)}async delete(A){v.brandCheck(this,CacheStorage);v.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});A=v.converters.DOMString(A);return this.#i.delete(A)}async keys(){v.brandCheck(this,CacheStorage);const A=this.#i.keys();return[...A]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:T,has:T,open:T,delete:T,keys:T});A.exports={CacheStorage:CacheStorage}},78081:(A,d,p)=>{A.exports={kConstruct:p(54980).kConstruct}},6922:(A,d,p)=>{const C=p(42613);const{URLSerializer:S}=p(32059);const{isValidHeaderName:v}=p(58524);function urlEquals(A,d,p=false){const C=S(A,p);const v=S(d,p);return C===v}function fieldValues(A){C(A!==null);const d=[];for(let p of A.split(",")){p=p.trim();if(!p.length){continue}else if(!v(p)){continue}d.push(p)}return d}A.exports={urlEquals:urlEquals,fieldValues:fieldValues}},56530:(A,d,p)=>{const C=p(42613);const S=p(69278);const v=p(58611);const{pipeline:T}=p(2203);const _=p(70701);const V=p(17167);const Z=p(96840);const ee=p(4660);const{RequestContentLengthMismatchError:te,ResponseContentLengthMismatchError:re,InvalidArgumentError:ne,RequestAbortedError:ie,HeadersTimeoutError:se,HeadersOverflowError:oe,SocketError:ae,InformationalError:le,BodyTimeoutError:ce,HTTPParserError:ue,ResponseExceededMaxSizeError:Ae,ClientDestroyedError:de}=p(21970);const pe=p(82667);const{kUrl:fe,kReset:he,kServerName:ge,kClient:me,kBusy:ye,kParser:Ee,kConnect:be,kBlocking:Ce,kResuming:Be,kRunning:Ie,kPending:Se,kSize:we,kWriting:Qe,kQueue:ve,kConnected:Re,kConnecting:Ne,kNeedDrain:De,kNoRef:xe,kKeepAliveDefaultTimeout:Te,kHostHeader:_e,kPendingIdx:Pe,kRunningIdx:ke,kError:Oe,kPipelining:Fe,kSocket:Le,kKeepAliveTimeoutValue:Me,kMaxHeadersSize:Ue,kKeepAliveMaxTimeout:He,kKeepAliveTimeoutThreshold:Ge,kHeadersTimeout:qe,kBodyTimeout:je,kStrictContentLength:ze,kConnector:Ve,kMaxRedirections:We,kMaxRequests:Ye,kCounter:Je,kClose:$e,kDestroy:Ke,kDispatch:Xe,kInterceptors:Ze,kLocalAddress:at,kMaxResponseSize:ct,kHTTPConnVersion:At,kHost:pt,kHTTP2Session:ft,kHTTP2SessionState:gt,kHTTP2BuildRequest:mt,kHTTP2CopyHeaders:yt,kHTTP1BuildRequest:Et}=p(54980);let bt;try{bt=p(85675)}catch{bt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Ct,HTTP2_HEADER_METHOD:Bt,HTTP2_HEADER_PATH:It,HTTP2_HEADER_SCHEME:St,HTTP2_HEADER_CONTENT_LENGTH:wt,HTTP2_HEADER_EXPECT:Qt,HTTP2_HEADER_STATUS:vt}}=bt;let Rt=false;const Nt=Buffer[Symbol.species];const Dt=Symbol("kClosedResolve");const xt={};try{const A=p(31637);xt.sendHeaders=A.channel("undici:client:sendHeaders");xt.beforeConnect=A.channel("undici:client:beforeConnect");xt.connectError=A.channel("undici:client:connectError");xt.connected=A.channel("undici:client:connected")}catch{xt.sendHeaders={hasSubscribers:false};xt.beforeConnect={hasSubscribers:false};xt.connectError={hasSubscribers:false};xt.connected={hasSubscribers:false}}class Client extends ee{constructor(A,{interceptors:d,maxHeaderSize:p,headersTimeout:C,socketTimeout:T,requestTimeout:V,connectTimeout:Z,bodyTimeout:ee,idleTimeout:te,keepAlive:re,keepAliveTimeout:ie,maxKeepAliveTimeout:se,keepAliveMaxTimeout:oe,keepAliveTimeoutThreshold:ae,socketPath:le,pipelining:ce,tls:ue,strictContentLength:Ae,maxCachedSessions:de,maxRedirections:he,connect:me,maxRequestsPerClient:ye,localAddress:Ee,maxResponseSize:be,autoSelectFamily:Ce,autoSelectFamilyAttemptTimeout:Ie,allowH2:Se,maxConcurrentStreams:we}={}){super();if(re!==undefined){throw new ne("unsupported keepAlive, use pipelining=0 instead")}if(T!==undefined){throw new ne("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(V!==undefined){throw new ne("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(te!==undefined){throw new ne("unsupported idleTimeout, use keepAliveTimeout instead")}if(se!==undefined){throw new ne("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(p!=null&&!Number.isFinite(p)){throw new ne("invalid maxHeaderSize")}if(le!=null&&typeof le!=="string"){throw new ne("invalid socketPath")}if(Z!=null&&(!Number.isFinite(Z)||Z<0)){throw new ne("invalid connectTimeout")}if(ie!=null&&(!Number.isFinite(ie)||ie<=0)){throw new ne("invalid keepAliveTimeout")}if(oe!=null&&(!Number.isFinite(oe)||oe<=0)){throw new ne("invalid keepAliveMaxTimeout")}if(ae!=null&&!Number.isFinite(ae)){throw new ne("invalid keepAliveTimeoutThreshold")}if(C!=null&&(!Number.isInteger(C)||C<0)){throw new ne("headersTimeout must be a positive integer or zero")}if(ee!=null&&(!Number.isInteger(ee)||ee<0)){throw new ne("bodyTimeout must be a positive integer or zero")}if(me!=null&&typeof me!=="function"&&typeof me!=="object"){throw new ne("connect must be a function or an object")}if(he!=null&&(!Number.isInteger(he)||he<0)){throw new ne("maxRedirections must be a positive number")}if(ye!=null&&(!Number.isInteger(ye)||ye<0)){throw new ne("maxRequestsPerClient must be a positive number")}if(Ee!=null&&(typeof Ee!=="string"||S.isIP(Ee)===0)){throw new ne("localAddress must be valid string IP address")}if(be!=null&&(!Number.isInteger(be)||be<-1)){throw new ne("maxResponseSize must be a positive number")}if(Ie!=null&&(!Number.isInteger(Ie)||Ie<-1)){throw new ne("autoSelectFamilyAttemptTimeout must be a positive number")}if(Se!=null&&typeof Se!=="boolean"){throw new ne("allowH2 must be a valid boolean value")}if(we!=null&&(typeof we!=="number"||we<1)){throw new ne("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof me!=="function"){me=pe({...ue,maxCachedSessions:de,allowH2:Se,socketPath:le,timeout:Z,..._.nodeHasAutoSelectFamily&&Ce?{autoSelectFamily:Ce,autoSelectFamilyAttemptTimeout:Ie}:undefined,...me})}this[Ze]=d&&d.Client&&Array.isArray(d.Client)?d.Client:[_t({maxRedirections:he})];this[fe]=_.parseOrigin(A);this[Ve]=me;this[Le]=null;this[Fe]=ce!=null?ce:1;this[Ue]=p||v.maxHeaderSize;this[Te]=ie==null?4e3:ie;this[He]=oe==null?6e5:oe;this[Ge]=ae==null?1e3:ae;this[Me]=this[Te];this[ge]=null;this[at]=Ee!=null?Ee:null;this[Be]=0;this[De]=0;this[_e]=`host: ${this[fe].hostname}${this[fe].port?`:${this[fe].port}`:""}\r\n`;this[je]=ee!=null?ee:3e5;this[qe]=C!=null?C:3e5;this[ze]=Ae==null?true:Ae;this[We]=he;this[Ye]=ye;this[Dt]=null;this[ct]=be>-1?be:-1;this[At]="h1";this[ft]=null;this[gt]=!Se?null:{openStreams:0,maxConcurrentStreams:we!=null?we:100};this[pt]=`${this[fe].hostname}${this[fe].port?`:${this[fe].port}`:""}`;this[ve]=[];this[ke]=0;this[Pe]=0}get pipelining(){return this[Fe]}set pipelining(A){this[Fe]=A;resume(this,true)}get[Se](){return this[ve].length-this[Pe]}get[Ie](){return this[Pe]-this[ke]}get[we](){return this[ve].length-this[ke]}get[Re](){return!!this[Le]&&!this[Ne]&&!this[Le].destroyed}get[ye](){const A=this[Le];return A&&(A[he]||A[Qe]||A[Ce])||this[we]>=(this[Fe]||1)||this[Se]>0}[be](A){connect(this);this.once("connect",A)}[Xe](A,d){const p=A.origin||this[fe].origin;const C=this[At]==="h2"?Z[mt](p,A,d):Z[Et](p,A,d);this[ve].push(C);if(this[Be]){}else if(_.bodyLength(C.body)==null&&_.isIterable(C.body)){this[Be]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[Be]&&this[De]!==2&&this[ye]){this[De]=2}return this[De]<2}async[$e](){return new Promise((A=>{if(!this[we]){A(null)}else{this[Dt]=A}}))}async[Ke](A){return new Promise((d=>{const p=this[ve].splice(this[Pe]);for(let d=0;d<p.length;d++){const C=p[d];errorRequest(this,C,A)}const callback=()=>{if(this[Dt]){this[Dt]();this[Dt]=null}d()};if(this[ft]!=null){_.destroy(this[ft],A);this[ft]=null;this[gt]=null}if(!this[Le]){queueMicrotask(callback)}else{_.destroy(this[Le].on("close",callback),A)}resume(this)}))}}function onHttp2SessionError(A){C(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Le][Oe]=A;onError(this[me],A)}function onHttp2FrameError(A,d,p){const C=new le(`HTTP/2: "frameError" received - type ${A}, code ${d}`);if(p===0){this[Le][Oe]=C;onError(this[me],C)}}function onHttp2SessionEnd(){_.destroy(this,new ae("other side closed"));_.destroy(this[Le],new ae("other side closed"))}function onHTTP2GoAway(A){const d=this[me];const p=new le(`HTTP/2: "GOAWAY" frame received with code ${A}`);d[Le]=null;d[ft]=null;if(d.destroyed){C(this[Se]===0);const A=d[ve].splice(d[ke]);for(let d=0;d<A.length;d++){const C=A[d];errorRequest(this,C,p)}}else if(d[Ie]>0){const A=d[ve][d[ke]];d[ve][d[ke]++]=null;errorRequest(d,A,p)}d[Pe]=d[ke];C(d[Ie]===0);d.emit("disconnect",d[fe],[d],p);resume(d)}const Tt=p(89791);const _t=p(32750);const Pt=Buffer.alloc(0);async function lazyllhttp(){const A=process.env.JEST_WORKER_ID?p(14729):undefined;let d;try{d=await WebAssembly.compile(Buffer.from(p(92603),"base64"))}catch(C){d=await WebAssembly.compile(Buffer.from(A||p(14729),"base64"))}return await WebAssembly.instantiate(d,{env:{wasm_on_url:(A,d,p)=>0,wasm_on_status:(A,d,p)=>{C.strictEqual(Ft.ptr,A);const S=d-Ut+Lt.byteOffset;return Ft.onStatus(new Nt(Lt.buffer,S,p))||0},wasm_on_message_begin:A=>{C.strictEqual(Ft.ptr,A);return Ft.onMessageBegin()||0},wasm_on_header_field:(A,d,p)=>{C.strictEqual(Ft.ptr,A);const S=d-Ut+Lt.byteOffset;return Ft.onHeaderField(new Nt(Lt.buffer,S,p))||0},wasm_on_header_value:(A,d,p)=>{C.strictEqual(Ft.ptr,A);const S=d-Ut+Lt.byteOffset;return Ft.onHeaderValue(new Nt(Lt.buffer,S,p))||0},wasm_on_headers_complete:(A,d,p,S)=>{C.strictEqual(Ft.ptr,A);return Ft.onHeadersComplete(d,Boolean(p),Boolean(S))||0},wasm_on_body:(A,d,p)=>{C.strictEqual(Ft.ptr,A);const S=d-Ut+Lt.byteOffset;return Ft.onBody(new Nt(Lt.buffer,S,p))||0},wasm_on_message_complete:A=>{C.strictEqual(Ft.ptr,A);return Ft.onMessageComplete()||0}}})}let kt=null;let Ot=lazyllhttp();Ot.catch();let Ft=null;let Lt=null;let Mt=0;let Ut=null;const Ht=1;const Gt=2;const qt=3;class Parser{constructor(A,d,{exports:p}){C(Number.isFinite(A[Ue])&&A[Ue]>0);this.llhttp=p;this.ptr=this.llhttp.llhttp_alloc(Tt.TYPE.RESPONSE);this.client=A;this.socket=d;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=A[Ue];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=A[ct]}setTimeout(A,d){this.timeoutType=d;if(A!==this.timeoutValue){V.clearTimeout(this.timeout);if(A){this.timeout=V.setTimeout(onParserTimeout,A,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=A}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}C(this.ptr!=null);C(Ft==null);this.llhttp.llhttp_resume(this.ptr);C(this.timeoutType===Gt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Pt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const A=this.socket.read();if(A===null){break}this.execute(A)}}execute(A){C(this.ptr!=null);C(Ft==null);C(!this.paused);const{socket:d,llhttp:p}=this;if(A.length>Mt){if(Ut){p.free(Ut)}Mt=Math.ceil(A.length/4096)*4096;Ut=p.malloc(Mt)}new Uint8Array(p.memory.buffer,Ut,Mt).set(A);try{let C;try{Lt=A;Ft=this;C=p.llhttp_execute(this.ptr,Ut,A.length)}catch(A){throw A}finally{Ft=null;Lt=null}const S=p.llhttp_get_error_pos(this.ptr)-Ut;if(C===Tt.ERROR.PAUSED_UPGRADE){this.onUpgrade(A.slice(S))}else if(C===Tt.ERROR.PAUSED){this.paused=true;d.unshift(A.slice(S))}else if(C!==Tt.ERROR.OK){const d=p.llhttp_get_error_reason(this.ptr);let v="";if(d){const A=new Uint8Array(p.memory.buffer,d).indexOf(0);v="Response does not match the HTTP/1.1 protocol ("+Buffer.from(p.memory.buffer,d,A).toString()+")"}throw new ue(v,Tt.ERROR[C],A.slice(S))}}catch(A){_.destroy(d,A)}}destroy(){C(this.ptr!=null);C(Ft==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;V.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(A){this.statusText=A.toString()}onMessageBegin(){const{socket:A,client:d}=this;if(A.destroyed){return-1}const p=d[ve][d[ke]];if(!p){return-1}}onHeaderField(A){const d=this.headers.length;if((d&1)===0){this.headers.push(A)}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],A])}this.trackHeader(A.length)}onHeaderValue(A){let d=this.headers.length;if((d&1)===1){this.headers.push(A);d+=1}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],A])}const p=this.headers[d-2];if(p.length===10&&p.toString().toLowerCase()==="keep-alive"){this.keepAlive+=A.toString()}else if(p.length===10&&p.toString().toLowerCase()==="connection"){this.connection+=A.toString()}else if(p.length===14&&p.toString().toLowerCase()==="content-length"){this.contentLength+=A.toString()}this.trackHeader(A.length)}trackHeader(A){this.headersSize+=A;if(this.headersSize>=this.headersMaxSize){_.destroy(this.socket,new oe)}}onUpgrade(A){const{upgrade:d,client:p,socket:S,headers:v,statusCode:T}=this;C(d);const V=p[ve][p[ke]];C(V);C(!S.destroyed);C(S===p[Le]);C(!this.paused);C(V.upgrade||V.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;C(this.headers.length%2===0);this.headers=[];this.headersSize=0;S.unshift(A);S[Ee].destroy();S[Ee]=null;S[me]=null;S[Oe]=null;S.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);p[Le]=null;p[ve][p[ke]++]=null;p.emit("disconnect",p[fe],[p],new le("upgrade"));try{V.onUpgrade(T,v,S)}catch(A){_.destroy(S,A)}resume(p)}onHeadersComplete(A,d,p){const{client:S,socket:v,headers:T,statusText:V}=this;if(v.destroyed){return-1}const Z=S[ve][S[ke]];if(!Z){return-1}C(!this.upgrade);C(this.statusCode<200);if(A===100){_.destroy(v,new ae("bad response",_.getSocketInfo(v)));return-1}if(d&&!Z.upgrade){_.destroy(v,new ae("bad upgrade",_.getSocketInfo(v)));return-1}C.strictEqual(this.timeoutType,Ht);this.statusCode=A;this.shouldKeepAlive=p||Z.method==="HEAD"&&!v[he]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const A=Z.bodyTimeout!=null?Z.bodyTimeout:S[je];this.setTimeout(A,Gt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(Z.method==="CONNECT"){C(S[Ie]===1);this.upgrade=true;return 2}if(d){C(S[Ie]===1);this.upgrade=true;return 2}C(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&S[Fe]){const A=this.keepAlive?_.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){const d=Math.min(A-S[Ge],S[He]);if(d<=0){v[he]=true}else{S[Me]=d}}else{S[Me]=S[Te]}}else{v[he]=true}const ee=Z.onHeaders(A,T,this.resume,V)===false;if(Z.aborted){return-1}if(Z.method==="HEAD"){return 1}if(A<200){return 1}if(v[Ce]){v[Ce]=false;resume(S)}return ee?Tt.ERROR.PAUSED:0}onBody(A){const{client:d,socket:p,statusCode:S,maxResponseSize:v}=this;if(p.destroyed){return-1}const T=d[ve][d[ke]];C(T);C.strictEqual(this.timeoutType,Gt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}C(S>=200);if(v>-1&&this.bytesRead+A.length>v){_.destroy(p,new Ae);return-1}this.bytesRead+=A.length;if(T.onData(A)===false){return Tt.ERROR.PAUSED}}onMessageComplete(){const{client:A,socket:d,statusCode:p,upgrade:S,headers:v,contentLength:T,bytesRead:V,shouldKeepAlive:Z}=this;if(d.destroyed&&(!p||Z)){return-1}if(S){return}const ee=A[ve][A[ke]];C(ee);C(p>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";C(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(p<200){return}if(ee.method!=="HEAD"&&T&&V!==parseInt(T,10)){_.destroy(d,new re);return-1}ee.onComplete(v);A[ve][A[ke]++]=null;if(d[Qe]){C.strictEqual(A[Ie],0);_.destroy(d,new le("reset"));return Tt.ERROR.PAUSED}else if(!Z){_.destroy(d,new le("reset"));return Tt.ERROR.PAUSED}else if(d[he]&&A[Ie]===0){_.destroy(d,new le("reset"));return Tt.ERROR.PAUSED}else if(A[Fe]===1){setImmediate(resume,A)}else{resume(A)}}}function onParserTimeout(A){const{socket:d,timeoutType:p,client:S}=A;if(p===Ht){if(!d[Qe]||d.writableNeedDrain||S[Ie]>1){C(!A.paused,"cannot be paused while waiting for headers");_.destroy(d,new se)}}else if(p===Gt){if(!A.paused){_.destroy(d,new ce)}}else if(p===qt){C(S[Ie]===0&&S[Me]);_.destroy(d,new le("socket idle timeout"))}}function onSocketReadable(){const{[Ee]:A}=this;if(A){A.readMore()}}function onSocketError(A){const{[me]:d,[Ee]:p}=this;C(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(d[At]!=="h2"){if(A.code==="ECONNRESET"&&p.statusCode&&!p.shouldKeepAlive){p.onMessageComplete();return}}this[Oe]=A;onError(this[me],A)}function onError(A,d){if(A[Ie]===0&&d.code!=="UND_ERR_INFO"&&d.code!=="UND_ERR_SOCKET"){C(A[Pe]===A[ke]);const p=A[ve].splice(A[ke]);for(let C=0;C<p.length;C++){const S=p[C];errorRequest(A,S,d)}C(A[we]===0)}}function onSocketEnd(){const{[Ee]:A,[me]:d}=this;if(d[At]!=="h2"){if(A.statusCode&&!A.shouldKeepAlive){A.onMessageComplete();return}}_.destroy(this,new ae("other side closed",_.getSocketInfo(this)))}function onSocketClose(){const{[me]:A,[Ee]:d}=this;if(A[At]==="h1"&&d){if(!this[Oe]&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete()}this[Ee].destroy();this[Ee]=null}const p=this[Oe]||new ae("closed",_.getSocketInfo(this));A[Le]=null;if(A.destroyed){C(A[Se]===0);const d=A[ve].splice(A[ke]);for(let C=0;C<d.length;C++){const S=d[C];errorRequest(A,S,p)}}else if(A[Ie]>0&&p.code!=="UND_ERR_INFO"){const d=A[ve][A[ke]];A[ve][A[ke]++]=null;errorRequest(A,d,p)}A[Pe]=A[ke];C(A[Ie]===0);A.emit("disconnect",A[fe],[A],p);resume(A)}async function connect(A){C(!A[Ne]);C(!A[Le]);let{host:d,hostname:p,protocol:v,port:T}=A[fe];if(p[0]==="["){const A=p.indexOf("]");C(A!==-1);const d=p.substring(1,A);C(S.isIP(d));p=d}A[Ne]=true;if(xt.beforeConnect.hasSubscribers){xt.beforeConnect.publish({connectParams:{host:d,hostname:p,protocol:v,port:T,servername:A[ge],localAddress:A[at]},connector:A[Ve]})}try{const S=await new Promise(((C,S)=>{A[Ve]({host:d,hostname:p,protocol:v,port:T,servername:A[ge],localAddress:A[at]},((A,d)=>{if(A){S(A)}else{C(d)}}))}));if(A.destroyed){_.destroy(S.on("error",(()=>{})),new de);return}A[Ne]=false;C(S);const V=S.alpnProtocol==="h2";if(V){if(!Rt){Rt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const d=bt.connect(A[fe],{createConnection:()=>S,peerMaxConcurrentStreams:A[gt].maxConcurrentStreams});A[At]="h2";d[me]=A;d[Le]=S;d.on("error",onHttp2SessionError);d.on("frameError",onHttp2FrameError);d.on("end",onHttp2SessionEnd);d.on("goaway",onHTTP2GoAway);d.on("close",onSocketClose);d.unref();A[ft]=d;S[ft]=d}else{if(!kt){kt=await Ot;Ot=null}S[xe]=false;S[Qe]=false;S[he]=false;S[Ce]=false;S[Ee]=new Parser(A,S,kt)}S[Je]=0;S[Ye]=A[Ye];S[me]=A;S[Oe]=null;S.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);A[Le]=S;if(xt.connected.hasSubscribers){xt.connected.publish({connectParams:{host:d,hostname:p,protocol:v,port:T,servername:A[ge],localAddress:A[at]},connector:A[Ve],socket:S})}A.emit("connect",A[fe],[A])}catch(S){if(A.destroyed){return}A[Ne]=false;if(xt.connectError.hasSubscribers){xt.connectError.publish({connectParams:{host:d,hostname:p,protocol:v,port:T,servername:A[ge],localAddress:A[at]},connector:A[Ve],error:S})}if(S.code==="ERR_TLS_CERT_ALTNAME_INVALID"){C(A[Ie]===0);while(A[Se]>0&&A[ve][A[Pe]].servername===A[ge]){const d=A[ve][A[Pe]++];errorRequest(A,d,S)}}else{onError(A,S)}A.emit("connectionError",A[fe],[A],S)}resume(A)}function emitDrain(A){A[De]=0;A.emit("drain",A[fe],[A])}function resume(A,d){if(A[Be]===2){return}A[Be]=2;_resume(A,d);A[Be]=0;if(A[ke]>256){A[ve].splice(0,A[ke]);A[Pe]-=A[ke];A[ke]=0}}function _resume(A,d){while(true){if(A.destroyed){C(A[Se]===0);return}if(A[Dt]&&!A[we]){A[Dt]();A[Dt]=null;return}const p=A[Le];if(p&&!p.destroyed&&p.alpnProtocol!=="h2"){if(A[we]===0){if(!p[xe]&&p.unref){p.unref();p[xe]=true}}else if(p[xe]&&p.ref){p.ref();p[xe]=false}if(A[we]===0){if(p[Ee].timeoutType!==qt){p[Ee].setTimeout(A[Me],qt)}}else if(A[Ie]>0&&p[Ee].statusCode<200){if(p[Ee].timeoutType!==Ht){const d=A[ve][A[ke]];const C=d.headersTimeout!=null?d.headersTimeout:A[qe];p[Ee].setTimeout(C,Ht)}}}if(A[ye]){A[De]=2}else if(A[De]===2){if(d){A[De]=1;process.nextTick(emitDrain,A)}else{emitDrain(A)}continue}if(A[Se]===0){return}if(A[Ie]>=(A[Fe]||1)){return}const S=A[ve][A[Pe]];if(A[fe].protocol==="https:"&&A[ge]!==S.servername){if(A[Ie]>0){return}A[ge]=S.servername;if(p&&p.servername!==S.servername){_.destroy(p,new le("servername changed"));return}}if(A[Ne]){return}if(!p&&!A[ft]){connect(A);return}if(p.destroyed||p[Qe]||p[he]||p[Ce]){return}if(A[Ie]>0&&!S.idempotent){return}if(A[Ie]>0&&(S.upgrade||S.method==="CONNECT")){return}if(A[Ie]>0&&_.bodyLength(S.body)!==0&&(_.isStream(S.body)||_.isAsyncIterable(S.body))){return}if(!S.aborted&&write(A,S)){A[Pe]++}else{A[ve].splice(A[Pe],1)}}}function shouldSendContentLength(A){return A!=="GET"&&A!=="HEAD"&&A!=="OPTIONS"&&A!=="TRACE"&&A!=="CONNECT"}function write(A,d){if(A[At]==="h2"){writeH2(A,A[ft],d);return}const{body:p,method:S,path:v,host:T,upgrade:V,headers:Z,blocking:ee,reset:re}=d;const ne=S==="PUT"||S==="POST"||S==="PATCH";if(p&&typeof p.read==="function"){p.read(0)}const se=_.bodyLength(p);let oe=se;if(oe===null){oe=d.contentLength}if(oe===0&&!ne){oe=null}if(shouldSendContentLength(S)&&oe>0&&d.contentLength!==null&&d.contentLength!==oe){if(A[ze]){errorRequest(A,d,new te);return false}process.emitWarning(new te)}const ae=A[Le];try{d.onConnect((p=>{if(d.aborted||d.completed){return}errorRequest(A,d,p||new ie);_.destroy(ae,new le("aborted"))}))}catch(p){errorRequest(A,d,p)}if(d.aborted){return false}if(S==="HEAD"){ae[he]=true}if(V||S==="CONNECT"){ae[he]=true}if(re!=null){ae[he]=re}if(A[Ye]&&ae[Je]++>=A[Ye]){ae[he]=true}if(ee){ae[Ce]=true}let ce=`${S} ${v} HTTP/1.1\r\n`;if(typeof T==="string"){ce+=`host: ${T}\r\n`}else{ce+=A[_e]}if(V){ce+=`connection: upgrade\r\nupgrade: ${V}\r\n`}else if(A[Fe]&&!ae[he]){ce+="connection: keep-alive\r\n"}else{ce+="connection: close\r\n"}if(Z){ce+=Z}if(xt.sendHeaders.hasSubscribers){xt.sendHeaders.publish({request:d,headers:ce,socket:ae})}if(!p||se===0){if(oe===0){ae.write(`${ce}content-length: 0\r\n\r\n`,"latin1")}else{C(oe===null,"no body must not have content length");ae.write(`${ce}\r\n`,"latin1")}d.onRequestSent()}else if(_.isBuffer(p)){C(oe===p.byteLength,"buffer body must have content length");ae.cork();ae.write(`${ce}content-length: ${oe}\r\n\r\n`,"latin1");ae.write(p);ae.uncork();d.onBodySent(p);d.onRequestSent();if(!ne){ae[he]=true}}else if(_.isBlobLike(p)){if(typeof p.stream==="function"){writeIterable({body:p.stream(),client:A,request:d,socket:ae,contentLength:oe,header:ce,expectsPayload:ne})}else{writeBlob({body:p,client:A,request:d,socket:ae,contentLength:oe,header:ce,expectsPayload:ne})}}else if(_.isStream(p)){writeStream({body:p,client:A,request:d,socket:ae,contentLength:oe,header:ce,expectsPayload:ne})}else if(_.isIterable(p)){writeIterable({body:p,client:A,request:d,socket:ae,contentLength:oe,header:ce,expectsPayload:ne})}else{C(false)}return true}function writeH2(A,d,p){const{body:S,method:v,path:T,host:V,upgrade:ee,expectContinue:re,signal:ne,headers:se}=p;let oe;if(typeof se==="string")oe=Z[yt](se.trim());else oe=se;if(ee){errorRequest(A,p,new Error("Upgrade not supported for H2"));return false}try{p.onConnect((d=>{if(p.aborted||p.completed){return}errorRequest(A,p,d||new ie)}))}catch(d){errorRequest(A,p,d)}if(p.aborted){return false}let ae;const ce=A[gt];oe[Ct]=V||A[pt];oe[Bt]=v;if(v==="CONNECT"){d.ref();ae=d.request(oe,{endStream:false,signal:ne});if(ae.id&&!ae.pending){p.onUpgrade(null,null,ae);++ce.openStreams}else{ae.once("ready",(()=>{p.onUpgrade(null,null,ae);++ce.openStreams}))}ae.once("close",(()=>{ce.openStreams-=1;if(ce.openStreams===0)d.unref()}));return true}oe[It]=T;oe[St]="https";const ue=v==="PUT"||v==="POST"||v==="PATCH";if(S&&typeof S.read==="function"){S.read(0)}let Ae=_.bodyLength(S);if(Ae==null){Ae=p.contentLength}if(Ae===0||!ue){Ae=null}if(shouldSendContentLength(v)&&Ae>0&&p.contentLength!=null&&p.contentLength!==Ae){if(A[ze]){errorRequest(A,p,new te);return false}process.emitWarning(new te)}if(Ae!=null){C(S,"no body must not have content length");oe[wt]=`${Ae}`}d.ref();const de=v==="GET"||v==="HEAD";if(re){oe[Qt]="100-continue";ae=d.request(oe,{endStream:de,signal:ne});ae.once("continue",writeBodyH2)}else{ae=d.request(oe,{endStream:de,signal:ne});writeBodyH2()}++ce.openStreams;ae.once("response",(A=>{const{[vt]:d,...C}=A;if(p.onHeaders(Number(d),C,ae.resume.bind(ae),"")===false){ae.pause()}}));ae.once("end",(()=>{p.onComplete([])}));ae.on("data",(A=>{if(p.onData(A)===false){ae.pause()}}));ae.once("close",(()=>{ce.openStreams-=1;if(ce.openStreams===0){d.unref()}}));ae.once("error",(function(d){if(A[ft]&&!A[ft].destroyed&&!this.closed&&!this.destroyed){ce.streams-=1;_.destroy(ae,d)}}));ae.once("frameError",((d,C)=>{const S=new le(`HTTP/2: "frameError" received - type ${d}, code ${C}`);errorRequest(A,p,S);if(A[ft]&&!A[ft].destroyed&&!this.closed&&!this.destroyed){ce.streams-=1;_.destroy(ae,S)}}));return true;function writeBodyH2(){if(!S){p.onRequestSent()}else if(_.isBuffer(S)){C(Ae===S.byteLength,"buffer body must have content length");ae.cork();ae.write(S);ae.uncork();ae.end();p.onBodySent(S);p.onRequestSent()}else if(_.isBlobLike(S)){if(typeof S.stream==="function"){writeIterable({client:A,request:p,contentLength:Ae,h2stream:ae,expectsPayload:ue,body:S.stream(),socket:A[Le],header:""})}else{writeBlob({body:S,client:A,request:p,contentLength:Ae,expectsPayload:ue,h2stream:ae,header:"",socket:A[Le]})}}else if(_.isStream(S)){writeStream({body:S,client:A,request:p,contentLength:Ae,expectsPayload:ue,socket:A[Le],h2stream:ae,header:""})}else if(_.isIterable(S)){writeIterable({body:S,client:A,request:p,contentLength:Ae,expectsPayload:ue,header:"",h2stream:ae,socket:A[Le]})}else{C(false)}}}function writeStream({h2stream:A,body:d,client:p,request:S,socket:v,contentLength:V,header:Z,expectsPayload:ee}){C(V!==0||p[Ie]===0,"stream body cannot be pipelined");if(p[At]==="h2"){const ne=T(d,A,(p=>{if(p){_.destroy(d,p);_.destroy(A,p)}else{S.onRequestSent()}}));ne.on("data",onPipeData);ne.once("end",(()=>{ne.removeListener("data",onPipeData);_.destroy(ne)}));function onPipeData(A){S.onBodySent(A)}return}let te=false;const re=new AsyncWriter({socket:v,request:S,contentLength:V,client:p,expectsPayload:ee,header:Z});const onData=function(A){if(te){return}try{if(!re.write(A)&&this.pause){this.pause()}}catch(A){_.destroy(this,A)}};const onDrain=function(){if(te){return}if(d.resume){d.resume()}};const onAbort=function(){if(te){return}const A=new ie;queueMicrotask((()=>onFinished(A)))};const onFinished=function(A){if(te){return}te=true;C(v.destroyed||v[Qe]&&p[Ie]<=1);v.off("drain",onDrain).off("error",onFinished);d.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!A){try{re.end()}catch(d){A=d}}re.destroy(A);if(A&&(A.code!=="UND_ERR_INFO"||A.message!=="reset")){_.destroy(d,A)}else{_.destroy(d)}};d.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(d.resume){d.resume()}v.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:A,body:d,client:p,request:S,socket:v,contentLength:T,header:V,expectsPayload:Z}){C(T===d.size,"blob body must have content length");const ee=p[At]==="h2";try{if(T!=null&&T!==d.size){throw new te}const C=Buffer.from(await d.arrayBuffer());if(ee){A.cork();A.write(C);A.uncork()}else{v.cork();v.write(`${V}content-length: ${T}\r\n\r\n`,"latin1");v.write(C);v.uncork()}S.onBodySent(C);S.onRequestSent();if(!Z){v[he]=true}resume(p)}catch(d){_.destroy(ee?A:v,d)}}async function writeIterable({h2stream:A,body:d,client:p,request:S,socket:v,contentLength:T,header:_,expectsPayload:V}){C(T!==0||p[Ie]===0,"iterator body cannot be pipelined");let Z=null;function onDrain(){if(Z){const A=Z;Z=null;A()}}const waitForDrain=()=>new Promise(((A,d)=>{C(Z===null);if(v[Oe]){d(v[Oe])}else{Z=A}}));if(p[At]==="h2"){A.on("close",onDrain).on("drain",onDrain);try{for await(const p of d){if(v[Oe]){throw v[Oe]}const d=A.write(p);S.onBodySent(p);if(!d){await waitForDrain()}}}catch(d){A.destroy(d)}finally{S.onRequestSent();A.end();A.off("close",onDrain).off("drain",onDrain)}return}v.on("close",onDrain).on("drain",onDrain);const ee=new AsyncWriter({socket:v,request:S,contentLength:T,client:p,expectsPayload:V,header:_});try{for await(const A of d){if(v[Oe]){throw v[Oe]}if(!ee.write(A)){await waitForDrain()}}ee.end()}catch(A){ee.destroy(A)}finally{v.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:A,request:d,contentLength:p,client:C,expectsPayload:S,header:v}){this.socket=A;this.request=d;this.contentLength=p;this.client=C;this.bytesWritten=0;this.expectsPayload=S;this.header=v;A[Qe]=true}write(A){const{socket:d,request:p,contentLength:C,client:S,bytesWritten:v,expectsPayload:T,header:_}=this;if(d[Oe]){throw d[Oe]}if(d.destroyed){return false}const V=Buffer.byteLength(A);if(!V){return true}if(C!==null&&v+V>C){if(S[ze]){throw new te}process.emitWarning(new te)}d.cork();if(v===0){if(!T){d[he]=true}if(C===null){d.write(`${_}transfer-encoding: chunked\r\n`,"latin1")}else{d.write(`${_}content-length: ${C}\r\n\r\n`,"latin1")}}if(C===null){d.write(`\r\n${V.toString(16)}\r\n`,"latin1")}this.bytesWritten+=V;const Z=d.write(A);d.uncork();p.onBodySent(A);if(!Z){if(d[Ee].timeout&&d[Ee].timeoutType===Ht){if(d[Ee].timeout.refresh){d[Ee].timeout.refresh()}}}return Z}end(){const{socket:A,contentLength:d,client:p,bytesWritten:C,expectsPayload:S,header:v,request:T}=this;T.onRequestSent();A[Qe]=false;if(A[Oe]){throw A[Oe]}if(A.destroyed){return}if(C===0){if(S){A.write(`${v}content-length: 0\r\n\r\n`,"latin1")}else{A.write(`${v}\r\n`,"latin1")}}else if(d===null){A.write("\r\n0\r\n\r\n","latin1")}if(d!==null&&C!==d){if(p[ze]){throw new te}else{process.emitWarning(new te)}}if(A[Ee].timeout&&A[Ee].timeoutType===Ht){if(A[Ee].timeout.refresh){A[Ee].timeout.refresh()}}resume(p)}destroy(A){const{socket:d,client:p}=this;d[Qe]=false;if(A){C(p[Ie]<=1,"pipeline should only contain this request");_.destroy(d,A)}}}function errorRequest(A,d,p){try{d.onError(p);C(d.aborted)}catch(p){A.emit("error",p)}}A.exports=Client},84375:(A,d,p)=>{const{kConnected:C,kSize:S}=p(54980);class CompatWeakRef{constructor(A){this.value=A}deref(){return this.value[C]===0&&this.value[S]===0?undefined:this.value}}class CompatFinalizer{constructor(A){this.finalizer=A}register(A,d){if(A.on){A.on("disconnect",(()=>{if(A[C]===0&&A[S]===0){this.finalizer(d)}}))}}}A.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},60976:A=>{const d=1024;const p=4096;A.exports={maxAttributeValueSize:d,maxNameValuePairSize:p}},53001:(A,d,p)=>{const{parseSetCookie:C}=p(10510);const{stringify:S}=p(18609);const{webidl:v}=p(90185);const{Headers:T}=p(10824);function getCookies(A){v.argumentLengthCheck(arguments,1,{header:"getCookies"});v.brandCheck(A,T,{strict:false});const d=A.get("cookie");const p={};if(!d){return p}for(const A of d.split(";")){const[d,...C]=A.split("=");p[d.trim()]=C.join("=")}return p}function deleteCookie(A,d,p){v.argumentLengthCheck(arguments,2,{header:"deleteCookie"});v.brandCheck(A,T,{strict:false});d=v.converters.DOMString(d);p=v.converters.DeleteCookieAttributes(p);setCookie(A,{name:d,value:"",expires:new Date(0),...p})}function getSetCookies(A){v.argumentLengthCheck(arguments,1,{header:"getSetCookies"});v.brandCheck(A,T,{strict:false});const d=A.getSetCookie();if(!d){return[]}return d.map((A=>C(A)))}function setCookie(A,d){v.argumentLengthCheck(arguments,2,{header:"setCookie"});v.brandCheck(A,T,{strict:false});d=v.converters.Cookie(d);const p=S(d);if(p){A.append("Set-Cookie",S(d))}}v.converters.DeleteCookieAttributes=v.dictionaryConverter([{converter:v.nullableConverter(v.converters.DOMString),key:"path",defaultValue:null},{converter:v.nullableConverter(v.converters.DOMString),key:"domain",defaultValue:null}]);v.converters.Cookie=v.dictionaryConverter([{converter:v.converters.DOMString,key:"name"},{converter:v.converters.DOMString,key:"value"},{converter:v.nullableConverter((A=>{if(typeof A==="number"){return v.converters["unsigned long long"](A)}return new Date(A)})),key:"expires",defaultValue:null},{converter:v.nullableConverter(v.converters["long long"]),key:"maxAge",defaultValue:null},{converter:v.nullableConverter(v.converters.DOMString),key:"domain",defaultValue:null},{converter:v.nullableConverter(v.converters.DOMString),key:"path",defaultValue:null},{converter:v.nullableConverter(v.converters.boolean),key:"secure",defaultValue:null},{converter:v.nullableConverter(v.converters.boolean),key:"httpOnly",defaultValue:null},{converter:v.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:v.sequenceConverter(v.converters.DOMString),key:"unparsed",defaultValue:[]}]);A.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},10510:(A,d,p)=>{const{maxNameValuePairSize:C,maxAttributeValueSize:S}=p(60976);const{isCTLExcludingHtab:v}=p(18609);const{collectASequenceOfCodePointsFast:T}=p(32059);const _=p(42613);function parseSetCookie(A){if(v(A)){return null}let d="";let p="";let S="";let _="";if(A.includes(";")){const C={position:0};d=T(";",A,C);p=A.slice(C.position)}else{d=A}if(!d.includes("=")){_=d}else{const A={position:0};S=T("=",d,A);_=d.slice(A.position+1)}S=S.trim();_=_.trim();if(S.length+_.length>C){return null}return{name:S,value:_,...parseUnparsedAttributes(p)}}function parseUnparsedAttributes(A,d={}){if(A.length===0){return d}_(A[0]===";");A=A.slice(1);let p="";if(A.includes(";")){p=T(";",A,{position:0});A=A.slice(p.length)}else{p=A;A=""}let C="";let v="";if(p.includes("=")){const A={position:0};C=T("=",p,A);v=p.slice(A.position+1)}else{C=p}C=C.trim();v=v.trim();if(v.length>S){return parseUnparsedAttributes(A,d)}const V=C.toLowerCase();if(V==="expires"){const A=new Date(v);d.expires=A}else if(V==="max-age"){const p=v.charCodeAt(0);if((p<48||p>57)&&v[0]!=="-"){return parseUnparsedAttributes(A,d)}if(!/^\d+$/.test(v)){return parseUnparsedAttributes(A,d)}const C=Number(v);d.maxAge=C}else if(V==="domain"){let A=v;if(A[0]==="."){A=A.slice(1)}A=A.toLowerCase();d.domain=A}else if(V==="path"){let A="";if(v.length===0||v[0]!=="/"){A="/"}else{A=v}d.path=A}else if(V==="secure"){d.secure=true}else if(V==="httponly"){d.httpOnly=true}else if(V==="samesite"){let A="Default";const p=v.toLowerCase();if(p.includes("none")){A="None"}if(p.includes("strict")){A="Strict"}if(p.includes("lax")){A="Lax"}d.sameSite=A}else{d.unparsed??=[];d.unparsed.push(`${C}=${v}`)}return parseUnparsedAttributes(A,d)}A.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},18609:A=>{function isCTLExcludingHtab(A){if(A.length===0){return false}for(const d of A){const A=d.charCodeAt(0);if(A>=0||A<=8||(A>=10||A<=31)||A===127){return false}}}function validateCookieName(A){for(const d of A){const A=d.charCodeAt(0);if(A<=32||A>127||d==="("||d===")"||d===">"||d==="<"||d==="@"||d===","||d===";"||d===":"||d==="\\"||d==='"'||d==="/"||d==="["||d==="]"||d==="?"||d==="="||d==="{"||d==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(A){for(const d of A){const A=d.charCodeAt(0);if(A<33||A===34||A===44||A===59||A===92||A>126){throw new Error("Invalid header value")}}}function validateCookiePath(A){for(const d of A){const A=d.charCodeAt(0);if(A<33||d===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(A){if(A.startsWith("-")||A.endsWith(".")||A.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(A){if(typeof A==="number"){A=new Date(A)}const d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const C=d[A.getUTCDay()];const S=A.getUTCDate().toString().padStart(2,"0");const v=p[A.getUTCMonth()];const T=A.getUTCFullYear();const _=A.getUTCHours().toString().padStart(2,"0");const V=A.getUTCMinutes().toString().padStart(2,"0");const Z=A.getUTCSeconds().toString().padStart(2,"0");return`${C}, ${S} ${v} ${T} ${_}:${V}:${Z} GMT`}function validateCookieMaxAge(A){if(A<0){throw new Error("Invalid cookie max-age")}}function stringify(A){if(A.name.length===0){return null}validateCookieName(A.name);validateCookieValue(A.value);const d=[`${A.name}=${A.value}`];if(A.name.startsWith("__Secure-")){A.secure=true}if(A.name.startsWith("__Host-")){A.secure=true;A.domain=null;A.path="/"}if(A.secure){d.push("Secure")}if(A.httpOnly){d.push("HttpOnly")}if(typeof A.maxAge==="number"){validateCookieMaxAge(A.maxAge);d.push(`Max-Age=${A.maxAge}`)}if(A.domain){validateCookieDomain(A.domain);d.push(`Domain=${A.domain}`)}if(A.path){validateCookiePath(A.path);d.push(`Path=${A.path}`)}if(A.expires&&A.expires.toString()!=="Invalid Date"){d.push(`Expires=${toIMFDate(A.expires)}`)}if(A.sameSite){d.push(`SameSite=${A.sameSite}`)}for(const p of A.unparsed){if(!p.includes("=")){throw new Error("Invalid unparsed")}const[A,...C]=p.split("=");d.push(`${A.trim()}=${C.join("=")}`)}return d.join("; ")}A.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},82667:(A,d,p)=>{const C=p(69278);const S=p(42613);const v=p(70701);const{InvalidArgumentError:T,ConnectTimeoutError:_}=p(21970);let V;let Z;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){Z=class WeakSessionCache{constructor(A){this._maxCachedSessions=A;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((A=>{if(this._sessionCache.size<this._maxCachedSessions){return}const d=this._sessionCache.get(A);if(d!==undefined&&d.deref()===undefined){this._sessionCache.delete(A)}}))}get(A){const d=this._sessionCache.get(A);return d?d.deref():null}set(A,d){if(this._maxCachedSessions===0){return}this._sessionCache.set(A,new WeakRef(d));this._sessionRegistry.register(d,A)}}}else{Z=class SimpleSessionCache{constructor(A){this._maxCachedSessions=A;this._sessionCache=new Map}get(A){return this._sessionCache.get(A)}set(A,d){if(this._maxCachedSessions===0){return}if(this._sessionCache.size>=this._maxCachedSessions){const{value:A}=this._sessionCache.keys().next();this._sessionCache.delete(A)}this._sessionCache.set(A,d)}}}function buildConnector({allowH2:A,maxCachedSessions:d,socketPath:_,timeout:ee,...te}){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new T("maxCachedSessions must be a positive integer or zero")}const re={path:_,...te};const ne=new Z(d==null?100:d);ee=ee==null?1e4:ee;A=A!=null?A:false;return function connect({hostname:d,host:T,protocol:_,port:Z,servername:te,localAddress:ie,httpSocket:se},oe){let ae;if(_==="https:"){if(!V){V=p(64756)}te=te||re.servername||v.getServerName(T)||null;const C=te||d;const _=ne.get(C)||null;S(C);ae=V.connect({highWaterMark:16384,...re,servername:te,session:_,localAddress:ie,ALPNProtocols:A?["http/1.1","h2"]:["http/1.1"],socket:se,port:Z||443,host:d});ae.on("session",(function(A){ne.set(C,A)}))}else{S(!se,"httpSocket can only be sent on TLS update");ae=C.connect({highWaterMark:64*1024,...re,localAddress:ie,port:Z||80,host:d})}if(re.keepAlive==null||re.keepAlive){const A=re.keepAliveInitialDelay===undefined?6e4:re.keepAliveInitialDelay;ae.setKeepAlive(true,A)}const le=setupTimeout((()=>onConnectTimeout(ae)),ee);ae.setNoDelay(true).once(_==="https:"?"secureConnect":"connect",(function(){le();if(oe){const A=oe;oe=null;A(null,this)}})).on("error",(function(A){le();if(oe){const d=oe;oe=null;d(A)}}));return ae}}function setupTimeout(A,d){if(!d){return()=>{}}let p=null;let C=null;const S=setTimeout((()=>{p=setImmediate((()=>{if(process.platform==="win32"){C=setImmediate((()=>A()))}else{A()}}))}),d);return()=>{clearTimeout(S);clearImmediate(p);clearImmediate(C)}}function onConnectTimeout(A){v.destroy(A,new _)}A.exports=buildConnector},65076:A=>{const d={};const p=["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 A=0;A<p.length;++A){const C=p[A];const S=C.toLowerCase();d[C]=d[S]=S}Object.setPrototypeOf(d,null);A.exports={wellknownHeaderNames:p,headerNameLowerCasedRecord:d}},21970:A=>{class UndiciError extends Error{constructor(A){super(A);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=A||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=A||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=A||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=A||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(A,d,p,C){super(A);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=A||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=C;this.status=d;this.statusCode=d;this.headers=p}}class InvalidArgumentError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=A||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=A||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=A||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=A||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=A||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=A||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=A||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=A||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(A,d){super(A);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=A||"Socket error";this.code="UND_ERR_SOCKET";this.socket=d}}class NotSupportedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=A||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=A||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(A,d,p){super(A);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=d?`HPE_${d}`:undefined;this.data=p?p.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=A||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(A,d,{headers:p,data:C}){super(A);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=A||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=d;this.data=C;this.headers=p}}A.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},96840:(A,d,p)=>{const{InvalidArgumentError:C,NotSupportedError:S}=p(21970);const v=p(42613);const{kHTTP2BuildRequest:T,kHTTP2CopyHeaders:_,kHTTP1BuildRequest:V}=p(54980);const Z=p(70701);const ee=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const te=/[^\t\x20-\x7e\x80-\xff]/;const re=/[^\u0021-\u00ff]/;const ne=Symbol("handler");const ie={};let se;try{const A=p(31637);ie.create=A.channel("undici:request:create");ie.bodySent=A.channel("undici:request:bodySent");ie.headers=A.channel("undici:request:headers");ie.trailers=A.channel("undici:request:trailers");ie.error=A.channel("undici:request:error")}catch{ie.create={hasSubscribers:false};ie.bodySent={hasSubscribers:false};ie.headers={hasSubscribers:false};ie.trailers={hasSubscribers:false};ie.error={hasSubscribers:false}}class Request{constructor(A,{path:d,method:S,body:v,headers:T,query:_,idempotent:V,blocking:te,upgrade:oe,headersTimeout:ae,bodyTimeout:le,reset:ce,throwOnError:ue,expectContinue:Ae},de){if(typeof d!=="string"){throw new C("path must be a string")}else if(d[0]!=="/"&&!(d.startsWith("http://")||d.startsWith("https://"))&&S!=="CONNECT"){throw new C("path must be an absolute URL or start with a slash")}else if(re.exec(d)!==null){throw new C("invalid request path")}if(typeof S!=="string"){throw new C("method must be a string")}else if(ee.exec(S)===null){throw new C("invalid request method")}if(oe&&typeof oe!=="string"){throw new C("upgrade must be a string")}if(ae!=null&&(!Number.isFinite(ae)||ae<0)){throw new C("invalid headersTimeout")}if(le!=null&&(!Number.isFinite(le)||le<0)){throw new C("invalid bodyTimeout")}if(ce!=null&&typeof ce!=="boolean"){throw new C("invalid reset")}if(Ae!=null&&typeof Ae!=="boolean"){throw new C("invalid expectContinue")}this.headersTimeout=ae;this.bodyTimeout=le;this.throwOnError=ue===true;this.method=S;this.abort=null;if(v==null){this.body=null}else if(Z.isStream(v)){this.body=v;const A=this.body._readableState;if(!A||!A.autoDestroy){this.endHandler=function autoDestroy(){Z.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=A=>{if(this.abort){this.abort(A)}else{this.error=A}};this.body.on("error",this.errorHandler)}else if(Z.isBuffer(v)){this.body=v.byteLength?v:null}else if(ArrayBuffer.isView(v)){this.body=v.buffer.byteLength?Buffer.from(v.buffer,v.byteOffset,v.byteLength):null}else if(v instanceof ArrayBuffer){this.body=v.byteLength?Buffer.from(v):null}else if(typeof v==="string"){this.body=v.length?Buffer.from(v):null}else if(Z.isFormDataLike(v)||Z.isIterable(v)||Z.isBlobLike(v)){this.body=v}else{throw new C("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=oe||null;this.path=_?Z.buildURL(d,_):d;this.origin=A;this.idempotent=V==null?S==="HEAD"||S==="GET":V;this.blocking=te==null?false:te;this.reset=ce==null?null:ce;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=Ae!=null?Ae:false;if(Array.isArray(T)){if(T.length%2!==0){throw new C("headers array must be even")}for(let A=0;A<T.length;A+=2){processHeader(this,T[A],T[A+1])}}else if(T&&typeof T==="object"){const A=Object.keys(T);for(let d=0;d<A.length;d++){const p=A[d];processHeader(this,p,T[p])}}else if(T!=null){throw new C("headers must be an object or an array")}if(Z.isFormDataLike(this.body)){if(Z.nodeMajor<16||Z.nodeMajor===16&&Z.nodeMinor<8){throw new C("Form-Data bodies are only supported in node v16.8 and newer.")}if(!se){se=p(45472).extractBody}const[A,d]=se(v);if(this.contentType==null){this.contentType=d;this.headers+=`content-type: ${d}\r\n`}this.body=A.stream;this.contentLength=A.length}else if(Z.isBlobLike(v)&&this.contentType==null&&v.type){this.contentType=v.type;this.headers+=`content-type: ${v.type}\r\n`}Z.validateHandler(de,S,oe);this.servername=Z.getServerName(this.host);this[ne]=de;if(ie.create.hasSubscribers){ie.create.publish({request:this})}}onBodySent(A){if(this[ne].onBodySent){try{return this[ne].onBodySent(A)}catch(A){this.abort(A)}}}onRequestSent(){if(ie.bodySent.hasSubscribers){ie.bodySent.publish({request:this})}if(this[ne].onRequestSent){try{return this[ne].onRequestSent()}catch(A){this.abort(A)}}}onConnect(A){v(!this.aborted);v(!this.completed);if(this.error){A(this.error)}else{this.abort=A;return this[ne].onConnect(A)}}onHeaders(A,d,p,C){v(!this.aborted);v(!this.completed);if(ie.headers.hasSubscribers){ie.headers.publish({request:this,response:{statusCode:A,headers:d,statusText:C}})}try{return this[ne].onHeaders(A,d,p,C)}catch(A){this.abort(A)}}onData(A){v(!this.aborted);v(!this.completed);try{return this[ne].onData(A)}catch(A){this.abort(A);return false}}onUpgrade(A,d,p){v(!this.aborted);v(!this.completed);return this[ne].onUpgrade(A,d,p)}onComplete(A){this.onFinally();v(!this.aborted);this.completed=true;if(ie.trailers.hasSubscribers){ie.trailers.publish({request:this,trailers:A})}try{return this[ne].onComplete(A)}catch(A){this.onError(A)}}onError(A){this.onFinally();if(ie.error.hasSubscribers){ie.error.publish({request:this,error:A})}if(this.aborted){return}this.aborted=true;return this[ne].onError(A)}onFinally(){if(this.errorHandler){this.body.off("error",this.errorHandler);this.errorHandler=null}if(this.endHandler){this.body.off("end",this.endHandler);this.endHandler=null}}addHeader(A,d){processHeader(this,A,d);return this}static[V](A,d,p){return new Request(A,d,p)}static[T](A,d,p){const S=d.headers;d={...d,headers:null};const v=new Request(A,d,p);v.headers={};if(Array.isArray(S)){if(S.length%2!==0){throw new C("headers array must be even")}for(let A=0;A<S.length;A+=2){processHeader(v,S[A],S[A+1],true)}}else if(S&&typeof S==="object"){const A=Object.keys(S);for(let d=0;d<A.length;d++){const p=A[d];processHeader(v,p,S[p],true)}}else if(S!=null){throw new C("headers must be an object or an array")}return v}static[_](A){const d=A.split("\r\n");const p={};for(const A of d){const[d,C]=A.split(": ");if(C==null||C.length===0)continue;if(p[d])p[d]+=`,${C}`;else p[d]=C}return p}}function processHeaderValue(A,d,p){if(d&&typeof d==="object"){throw new C(`invalid ${A} header`)}d=d!=null?`${d}`:"";if(te.exec(d)!==null){throw new C(`invalid ${A} header`)}return p?d:`${A}: ${d}\r\n`}function processHeader(A,d,p,v=false){if(p&&(typeof p==="object"&&!Array.isArray(p))){throw new C(`invalid ${d} header`)}else if(p===undefined){return}if(A.host===null&&d.length===4&&d.toLowerCase()==="host"){if(te.exec(p)!==null){throw new C(`invalid ${d} header`)}A.host=p}else if(A.contentLength===null&&d.length===14&&d.toLowerCase()==="content-length"){A.contentLength=parseInt(p,10);if(!Number.isFinite(A.contentLength)){throw new C("invalid content-length header")}}else if(A.contentType===null&&d.length===12&&d.toLowerCase()==="content-type"){A.contentType=p;if(v)A.headers[d]=processHeaderValue(d,p,v);else A.headers+=processHeaderValue(d,p)}else if(d.length===17&&d.toLowerCase()==="transfer-encoding"){throw new C("invalid transfer-encoding header")}else if(d.length===10&&d.toLowerCase()==="connection"){const d=typeof p==="string"?p.toLowerCase():null;if(d!=="close"&&d!=="keep-alive"){throw new C("invalid connection header")}else if(d==="close"){A.reset=true}}else if(d.length===10&&d.toLowerCase()==="keep-alive"){throw new C("invalid keep-alive header")}else if(d.length===7&&d.toLowerCase()==="upgrade"){throw new C("invalid upgrade header")}else if(d.length===6&&d.toLowerCase()==="expect"){throw new S("expect header not supported")}else if(ee.exec(d)===null){throw new C("invalid header key")}else{if(Array.isArray(p)){for(let C=0;C<p.length;C++){if(v){if(A.headers[d])A.headers[d]+=`,${processHeaderValue(d,p[C],v)}`;else A.headers[d]=processHeaderValue(d,p[C],v)}else{A.headers+=processHeaderValue(d,p[C])}}}else{if(v)A.headers[d]=processHeaderValue(d,p,v);else A.headers+=processHeaderValue(d,p)}}}A.exports=Request},54980:A=>{A.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},70701:(A,d,p)=>{const C=p(42613);const{kDestroyed:S,kBodyUsed:v}=p(54980);const{IncomingMessage:T}=p(58611);const _=p(2203);const V=p(69278);const{InvalidArgumentError:Z}=p(21970);const{Blob:ee}=p(20181);const te=p(39023);const{stringify:re}=p(83480);const{headerNameLowerCasedRecord:ne}=p(65076);const[ie,se]=process.versions.node.split(".").map((A=>Number(A)));function nop(){}function isStream(A){return A&&typeof A==="object"&&typeof A.pipe==="function"&&typeof A.on==="function"}function isBlobLike(A){return ee&&A instanceof ee||A&&typeof A==="object"&&(typeof A.stream==="function"||typeof A.arrayBuffer==="function")&&/^(Blob|File)$/.test(A[Symbol.toStringTag])}function buildURL(A,d){if(A.includes("?")||A.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const p=re(d);if(p){A+="?"+p}return A}function parseURL(A){if(typeof A==="string"){A=new URL(A);if(!/^https?:/.test(A.origin||A.protocol)){throw new Z("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return A}if(!A||typeof A!=="object"){throw new Z("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(A.origin||A.protocol)){throw new Z("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(A instanceof URL)){if(A.port!=null&&A.port!==""&&!Number.isFinite(parseInt(A.port))){throw new Z("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(A.path!=null&&typeof A.path!=="string"){throw new Z("Invalid URL path: the path must be a string or null/undefined.")}if(A.pathname!=null&&typeof A.pathname!=="string"){throw new Z("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(A.hostname!=null&&typeof A.hostname!=="string"){throw new Z("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(A.origin!=null&&typeof A.origin!=="string"){throw new Z("Invalid URL origin: the origin must be a string or null/undefined.")}const d=A.port!=null?A.port:A.protocol==="https:"?443:80;let p=A.origin!=null?A.origin:`${A.protocol}//${A.hostname}:${d}`;let C=A.path!=null?A.path:`${A.pathname||""}${A.search||""}`;if(p.endsWith("/")){p=p.substring(0,p.length-1)}if(C&&!C.startsWith("/")){C=`/${C}`}A=new URL(p+C)}return A}function parseOrigin(A){A=parseURL(A);if(A.pathname!=="/"||A.search||A.hash){throw new Z("invalid url")}return A}function getHostname(A){if(A[0]==="["){const d=A.indexOf("]");C(d!==-1);return A.substring(1,d)}const d=A.indexOf(":");if(d===-1)return A;return A.substring(0,d)}function getServerName(A){if(!A){return null}C.strictEqual(typeof A,"string");const d=getHostname(A);if(V.isIP(d)){return""}return d}function deepClone(A){return JSON.parse(JSON.stringify(A))}function isAsyncIterable(A){return!!(A!=null&&typeof A[Symbol.asyncIterator]==="function")}function isIterable(A){return!!(A!=null&&(typeof A[Symbol.iterator]==="function"||typeof A[Symbol.asyncIterator]==="function"))}function bodyLength(A){if(A==null){return 0}else if(isStream(A)){const d=A._readableState;return d&&d.objectMode===false&&d.ended===true&&Number.isFinite(d.length)?d.length:null}else if(isBlobLike(A)){return A.size!=null?A.size:null}else if(isBuffer(A)){return A.byteLength}return null}function isDestroyed(A){return!A||!!(A.destroyed||A[S])}function isReadableAborted(A){const d=A&&A._readableState;return isDestroyed(A)&&d&&!d.endEmitted}function destroy(A,d){if(A==null||!isStream(A)||isDestroyed(A)){return}if(typeof A.destroy==="function"){if(Object.getPrototypeOf(A).constructor===T){A.socket=null}A.destroy(d)}else if(d){process.nextTick(((A,d)=>{A.emit("error",d)}),A,d)}if(A.destroyed!==true){A[S]=true}}const oe=/timeout=(\d+)/;function parseKeepAliveTimeout(A){const d=A.toString().match(oe);return d?parseInt(d[1],10)*1e3:null}function headerNameToString(A){return ne[A]||A.toLowerCase()}function parseHeaders(A,d={}){if(!Array.isArray(A))return A;for(let p=0;p<A.length;p+=2){const C=A[p].toString().toLowerCase();let S=d[C];if(!S){if(Array.isArray(A[p+1])){d[C]=A[p+1].map((A=>A.toString("utf8")))}else{d[C]=A[p+1].toString("utf8")}}else{if(!Array.isArray(S)){S=[S];d[C]=S}S.push(A[p+1].toString("utf8"))}}if("content-length"in d&&"content-disposition"in d){d["content-disposition"]=Buffer.from(d["content-disposition"]).toString("latin1")}return d}function parseRawHeaders(A){const d=[];let p=false;let C=-1;for(let S=0;S<A.length;S+=2){const v=A[S+0].toString();const T=A[S+1].toString("utf8");if(v.length===14&&(v==="content-length"||v.toLowerCase()==="content-length")){d.push(v,T);p=true}else if(v.length===19&&(v==="content-disposition"||v.toLowerCase()==="content-disposition")){C=d.push(v,T)-1}else{d.push(v,T)}}if(p&&C!==-1){d[C]=Buffer.from(d[C]).toString("latin1")}return d}function isBuffer(A){return A instanceof Uint8Array||Buffer.isBuffer(A)}function validateHandler(A,d,p){if(!A||typeof A!=="object"){throw new Z("handler must be an object")}if(typeof A.onConnect!=="function"){throw new Z("invalid onConnect method")}if(typeof A.onError!=="function"){throw new Z("invalid onError method")}if(typeof A.onBodySent!=="function"&&A.onBodySent!==undefined){throw new Z("invalid onBodySent method")}if(p||d==="CONNECT"){if(typeof A.onUpgrade!=="function"){throw new Z("invalid onUpgrade method")}}else{if(typeof A.onHeaders!=="function"){throw new Z("invalid onHeaders method")}if(typeof A.onData!=="function"){throw new Z("invalid onData method")}if(typeof A.onComplete!=="function"){throw new Z("invalid onComplete method")}}}function isDisturbed(A){return!!(A&&(_.isDisturbed?_.isDisturbed(A)||A[v]:A[v]||A.readableDidRead||A._readableState&&A._readableState.dataEmitted||isReadableAborted(A)))}function isErrored(A){return!!(A&&(_.isErrored?_.isErrored(A):/state: 'errored'/.test(te.inspect(A))))}function isReadable(A){return!!(A&&(_.isReadable?_.isReadable(A):/state: 'readable'/.test(te.inspect(A))))}function getSocketInfo(A){return{localAddress:A.localAddress,localPort:A.localPort,remoteAddress:A.remoteAddress,remotePort:A.remotePort,remoteFamily:A.remoteFamily,timeout:A.timeout,bytesWritten:A.bytesWritten,bytesRead:A.bytesRead}}async function*convertIterableToBuffer(A){for await(const d of A){yield Buffer.isBuffer(d)?d:Buffer.from(d)}}let ae;function ReadableStreamFrom(A){if(!ae){ae=p(63774).ReadableStream}if(ae.from){return ae.from(convertIterableToBuffer(A))}let d;return new ae({async start(){d=A[Symbol.asyncIterator]()},async pull(A){const{done:p,value:C}=await d.next();if(p){queueMicrotask((()=>{A.close()}))}else{const d=Buffer.isBuffer(C)?C:Buffer.from(C);A.enqueue(new Uint8Array(d))}return A.desiredSize>0},async cancel(A){await d.return()}},0)}function isFormDataLike(A){return A&&typeof A==="object"&&typeof A.append==="function"&&typeof A.delete==="function"&&typeof A.get==="function"&&typeof A.getAll==="function"&&typeof A.has==="function"&&typeof A.set==="function"&&A[Symbol.toStringTag]==="FormData"}function throwIfAborted(A){if(!A){return}if(typeof A.throwIfAborted==="function"){A.throwIfAborted()}else{if(A.aborted){const A=new Error("The operation was aborted");A.name="AbortError";throw A}}}function addAbortListener(A,d){if("addEventListener"in A){A.addEventListener("abort",d,{once:true});return()=>A.removeEventListener("abort",d)}A.addListener("abort",d);return()=>A.removeListener("abort",d)}const le=!!String.prototype.toWellFormed;function toUSVString(A){if(le){return`${A}`.toWellFormed()}else if(te.toUSVString){return te.toUSVString(A)}return`${A}`}function parseRangeHeader(A){if(A==null||A==="")return{start:0,end:null,size:null};const d=A?A.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return d?{start:parseInt(d[1]),end:d[2]?parseInt(d[2]):null,size:d[3]?parseInt(d[3]):null}:null}const ce=Object.create(null);ce.enumerable=true;A.exports={kEnumerableProperty:ce,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:ie,nodeMinor:se,nodeHasAutoSelectFamily:ie>18||ie===18&&se>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},4660:(A,d,p)=>{const C=p(55872);const{ClientDestroyedError:S,ClientClosedError:v,InvalidArgumentError:T}=p(21970);const{kDestroy:_,kClose:V,kDispatch:Z,kInterceptors:ee}=p(54980);const te=Symbol("destroyed");const re=Symbol("closed");const ne=Symbol("onDestroyed");const ie=Symbol("onClosed");const se=Symbol("Intercepted Dispatch");class DispatcherBase extends C{constructor(){super();this[te]=false;this[ne]=null;this[re]=false;this[ie]=[]}get destroyed(){return this[te]}get closed(){return this[re]}get interceptors(){return this[ee]}set interceptors(A){if(A){for(let d=A.length-1;d>=0;d--){const A=this[ee][d];if(typeof A!=="function"){throw new T("interceptor must be an function")}}}this[ee]=A}close(A){if(A===undefined){return new Promise(((A,d)=>{this.close(((p,C)=>p?d(p):A(C)))}))}if(typeof A!=="function"){throw new T("invalid callback")}if(this[te]){queueMicrotask((()=>A(new S,null)));return}if(this[re]){if(this[ie]){this[ie].push(A)}else{queueMicrotask((()=>A(null,null)))}return}this[re]=true;this[ie].push(A);const onClosed=()=>{const A=this[ie];this[ie]=null;for(let d=0;d<A.length;d++){A[d](null,null)}};this[V]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(A,d){if(typeof A==="function"){d=A;A=null}if(d===undefined){return new Promise(((d,p)=>{this.destroy(A,((A,C)=>A?p(A):d(C)))}))}if(typeof d!=="function"){throw new T("invalid callback")}if(this[te]){if(this[ne]){this[ne].push(d)}else{queueMicrotask((()=>d(null,null)))}return}if(!A){A=new S}this[te]=true;this[ne]=this[ne]||[];this[ne].push(d);const onDestroyed=()=>{const A=this[ne];this[ne]=null;for(let d=0;d<A.length;d++){A[d](null,null)}};this[_](A).then((()=>{queueMicrotask(onDestroyed)}))}[se](A,d){if(!this[ee]||this[ee].length===0){this[se]=this[Z];return this[Z](A,d)}let p=this[Z].bind(this);for(let A=this[ee].length-1;A>=0;A--){p=this[ee][A](p)}this[se]=p;return p(A,d)}dispatch(A,d){if(!d||typeof d!=="object"){throw new T("handler must be an object")}try{if(!A||typeof A!=="object"){throw new T("opts must be an object.")}if(this[te]||this[ne]){throw new S}if(this[re]){throw new v}return this[se](A,d)}catch(A){if(typeof d.onError!=="function"){throw new T("invalid onError method")}d.onError(A);return false}}}A.exports=DispatcherBase},55872:(A,d,p)=>{const C=p(24434);class Dispatcher extends C{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}A.exports=Dispatcher},45472:(A,d,p)=>{const C=p(62105);const S=p(70701);const{ReadableStreamFrom:v,isBlobLike:T,isReadableStreamLike:_,readableStreamClose:V,createDeferredPromise:Z,fullyReadBody:ee}=p(58524);const{FormData:te}=p(50098);const{kState:re}=p(40639);const{webidl:ne}=p(90185);const{DOMException:ie,structuredClone:se}=p(21411);const{Blob:oe,File:ae}=p(20181);const{kBodyUsed:le}=p(54980);const ce=p(42613);const{isErrored:ue}=p(70701);const{isUint8Array:Ae,isArrayBuffer:de}=p(98253);const{File:pe}=p(40374);const{parseMIMEType:fe,serializeAMimeType:he}=p(32059);let ge;try{const A=p(77598);ge=d=>A.randomInt(0,d)}catch{ge=A=>Math.floor(Math.random(A))}let me=globalThis.ReadableStream;const ye=ae??pe;const Ee=new TextEncoder;const be=new TextDecoder;function extractBody(A,d=false){if(!me){me=p(63774).ReadableStream}let C=null;if(A instanceof me){C=A}else if(T(A)){C=A.stream()}else{C=new me({async pull(A){A.enqueue(typeof ee==="string"?Ee.encode(ee):ee);queueMicrotask((()=>V(A)))},start(){},type:undefined})}ce(_(C));let Z=null;let ee=null;let te=null;let re=null;if(typeof A==="string"){ee=A;re="text/plain;charset=UTF-8"}else if(A instanceof URLSearchParams){ee=A.toString();re="application/x-www-form-urlencoded;charset=UTF-8"}else if(de(A)){ee=new Uint8Array(A.slice())}else if(ArrayBuffer.isView(A)){ee=new Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength))}else if(S.isFormDataLike(A)){const d=`----formdata-undici-0${`${ge(1e11)}`.padStart(11,"0")}`;const p=`--${d}\r\nContent-Disposition: form-data`
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=A=>A.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=A=>A.replace(/\r?\n|\r/g,"\r\n");const C=[];const S=new Uint8Array([13,10]);te=0;let v=false;for(const[d,T]of A){if(typeof T==="string"){const A=Ee.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(T)}\r\n`);C.push(A);te+=A.byteLength}else{const A=Ee.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(T.name?`; filename="${escape(T.name)}"`:"")+"\r\n"+`Content-Type: ${T.type||"application/octet-stream"}\r\n\r\n`);C.push(A,T,S);if(typeof T.size==="number"){te+=A.byteLength+T.size+S.byteLength}else{v=true}}}const T=Ee.encode(`--${d}--`);C.push(T);te+=T.byteLength;if(v){te=null}ee=A;Z=async function*(){for(const A of C){if(A.stream){yield*A.stream()}else{yield A}}};re="multipart/form-data; boundary="+d}else if(T(A)){ee=A;te=A.size;if(A.type){re=A.type}}else if(typeof A[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(S.isDisturbed(A)||A.locked){throw new TypeError("Response body object should not be disturbed or locked")}C=A instanceof me?A:v(A)}if(typeof ee==="string"||S.isBuffer(ee)){te=Buffer.byteLength(ee)}if(Z!=null){let d;C=new me({async start(){d=Z(A)[Symbol.asyncIterator]()},async pull(A){const{value:p,done:S}=await d.next();if(S){queueMicrotask((()=>{A.close()}))}else{if(!ue(C)){A.enqueue(new Uint8Array(p))}}return A.desiredSize>0},async cancel(A){await d.return()},type:undefined})}const ne={stream:C,source:ee,length:te};return[ne,re]}function safelyExtractBody(A,d=false){if(!me){me=p(63774).ReadableStream}if(A instanceof me){ce(!S.isDisturbed(A),"The body has already been consumed.");ce(!A.locked,"The stream is locked.")}return extractBody(A,d)}function cloneBody(A){const[d,p]=A.stream.tee();const C=se(p,{transfer:[p]});const[,S]=C.tee();A.stream=d;return{stream:S,length:A.length,source:A.source}}async function*consumeBody(A){if(A){if(Ae(A)){yield A}else{const d=A.stream;if(S.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[le]=true;yield*d}}}function throwIfAborted(A){if(A.aborted){throw new ie("The operation was aborted.","AbortError")}}function bodyMixinMethods(A){const d={blob(){return specConsumeBody(this,(A=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=he(d)}return new oe([A],{type:d})}),A)},arrayBuffer(){return specConsumeBody(this,(A=>new Uint8Array(A).buffer),A)},text(){return specConsumeBody(this,utf8DecodeBytes,A)},json(){return specConsumeBody(this,parseJSONFromBytes,A)},async formData(){ne.brandCheck(this,A);throwIfAborted(this[re]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const A={};for(const[d,p]of this.headers)A[d.toLowerCase()]=p;const d=new te;let p;try{p=new C({headers:A,preservePath:true})}catch(A){throw new ie(`${A}`,"AbortError")}p.on("field",((A,p)=>{d.append(A,p)}));p.on("file",((A,p,C,S,v)=>{const T=[];if(S==="base64"||S.toLowerCase()==="base64"){let S="";p.on("data",(A=>{S+=A.toString().replace(/[\r\n]/gm,"");const d=S.length-S.length%4;T.push(Buffer.from(S.slice(0,d),"base64"));S=S.slice(d)}));p.on("end",(()=>{T.push(Buffer.from(S,"base64"));d.append(A,new ye(T,C,{type:v}))}))}else{p.on("data",(A=>{T.push(A)}));p.on("end",(()=>{d.append(A,new ye(T,C,{type:v}))}))}}));const S=new Promise(((A,d)=>{p.on("finish",A);p.on("error",(A=>d(new TypeError(A))))}));if(this.body!==null)for await(const A of consumeBody(this[re].body))p.write(A);p.end();await S;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let A;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const A of consumeBody(this[re].body)){if(!Ae(A)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(A,{stream:true})}d+=p.decode();A=new URLSearchParams(d)}catch(A){throw Object.assign(new TypeError,{cause:A})}const d=new te;for(const[p,C]of A){d.append(p,C)}return d}else{await Promise.resolve();throwIfAborted(this[re]);throw ne.errors.exception({header:`${A.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(A){Object.assign(A.prototype,bodyMixinMethods(A))}async function specConsumeBody(A,d,p){ne.brandCheck(A,p);throwIfAborted(A[re]);if(bodyUnusable(A[re].body)){throw new TypeError("Body is unusable")}const C=Z();const errorSteps=A=>C.reject(A);const successSteps=A=>{try{C.resolve(d(A))}catch(A){errorSteps(A)}};if(A[re].body==null){successSteps(new Uint8Array);return C.promise}await ee(A[re].body,successSteps,errorSteps);return C.promise}function bodyUnusable(A){return A!=null&&(A.stream.locked||S.isDisturbed(A.stream))}function utf8DecodeBytes(A){if(A.length===0){return""}if(A[0]===239&&A[1]===187&&A[2]===191){A=A.subarray(3)}const d=be.decode(A);return d}function parseJSONFromBytes(A){return JSON.parse(utf8DecodeBytes(A))}function bodyMimeType(A){const{headersList:d}=A[re];const p=d.get("content-type");if(p===null){return"failure"}return fe(p)}A.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},21411:(A,d,p)=>{const{MessageChannel:C,receiveMessageOnPort:S}=p(28167);const v=["GET","HEAD","POST"];const T=new Set(v);const _=[101,204,205,304];const V=[301,302,303,307,308];const Z=new Set(V);const ee=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const te=new Set(ee);const re=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ne=new Set(re);const ie=["follow","manual","error"];const se=["GET","HEAD","OPTIONS","TRACE"];const oe=new Set(se);const ae=["navigate","same-origin","no-cors","cors"];const le=["omit","same-origin","include"];const ce=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const ue=["content-encoding","content-language","content-location","content-type","content-length"];const Ae=["half"];const de=["CONNECT","TRACE","TRACK"];const pe=new Set(de);const fe=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const he=new Set(fe);const ge=globalThis.DOMException??(()=>{try{atob("~")}catch(A){return Object.getPrototypeOf(A).constructor}})();let me;const ye=globalThis.structuredClone??function structuredClone(A,d=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!me){me=new C}me.port1.unref();me.port2.unref();me.port1.postMessage(A,d?.transfer);return S(me.port2).message};A.exports={DOMException:ge,structuredClone:ye,subresource:fe,forbiddenMethods:de,requestBodyHeader:ue,referrerPolicy:re,requestRedirect:ie,requestMode:ae,requestCredentials:le,requestCache:ce,redirectStatus:V,corsSafeListedMethods:v,nullBodyStatus:_,safeMethods:se,badPorts:ee,requestDuplex:Ae,subresourceSet:he,badPortsSet:te,redirectStatusSet:Z,corsSafeListedMethodsSet:T,safeMethodsSet:oe,forbiddenMethodsSet:pe,referrerPolicySet:ne}},32059:(A,d,p)=>{const C=p(42613);const{atob:S}=p(20181);const{isomorphicDecode:v}=p(58524);const T=new TextEncoder;const _=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const V=/(\u000A|\u000D|\u0009|\u0020)/;const Z=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(A){C(A.protocol==="data:");let d=URLSerializer(A,true);d=d.slice(5);const p={position:0};let S=collectASequenceOfCodePointsFast(",",d,p);const T=S.length;S=removeASCIIWhitespace(S,true,true);if(p.position>=d.length){return"failure"}p.position++;const _=d.slice(T+1);let V=stringPercentDecode(_);if(/;(\u0020){0,}base64$/i.test(S)){const A=v(V);V=forgivingBase64(A);if(V==="failure"){return"failure"}S=S.slice(0,-6);S=S.replace(/(\u0020)+$/,"");S=S.slice(0,-1)}if(S.startsWith(";")){S="text/plain"+S}let Z=parseMIMEType(S);if(Z==="failure"){Z=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:Z,body:V}}function URLSerializer(A,d=false){if(!d){return A.href}const p=A.href;const C=A.hash.length;return C===0?p:p.substring(0,p.length-C)}function collectASequenceOfCodePoints(A,d,p){let C="";while(p.position<d.length&&A(d[p.position])){C+=d[p.position];p.position++}return C}function collectASequenceOfCodePointsFast(A,d,p){const C=d.indexOf(A,p.position);const S=p.position;if(C===-1){p.position=d.length;return d.slice(S)}p.position=C;return d.slice(S,p.position)}function stringPercentDecode(A){const d=T.encode(A);return percentDecode(d)}function percentDecode(A){const d=[];for(let p=0;p<A.length;p++){const C=A[p];if(C!==37){d.push(C)}else if(C===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(A[p+1],A[p+2]))){d.push(37)}else{const C=String.fromCharCode(A[p+1],A[p+2]);const S=Number.parseInt(C,16);d.push(S);p+=2}}return Uint8Array.from(d)}function parseMIMEType(A){A=removeHTTPWhitespace(A,true,true);const d={position:0};const p=collectASequenceOfCodePointsFast("/",A,d);if(p.length===0||!_.test(p)){return"failure"}if(d.position>A.length){return"failure"}d.position++;let C=collectASequenceOfCodePointsFast(";",A,d);C=removeHTTPWhitespace(C,false,true);if(C.length===0||!_.test(C)){return"failure"}const S=p.toLowerCase();const v=C.toLowerCase();const T={type:S,subtype:v,parameters:new Map,essence:`${S}/${v}`};while(d.position<A.length){d.position++;collectASequenceOfCodePoints((A=>V.test(A)),A,d);let p=collectASequenceOfCodePoints((A=>A!==";"&&A!=="="),A,d);p=p.toLowerCase();if(d.position<A.length){if(A[d.position]===";"){continue}d.position++}if(d.position>A.length){break}let C=null;if(A[d.position]==='"'){C=collectAnHTTPQuotedString(A,d,true);collectASequenceOfCodePointsFast(";",A,d)}else{C=collectASequenceOfCodePointsFast(";",A,d);C=removeHTTPWhitespace(C,false,true);if(C.length===0){continue}}if(p.length!==0&&_.test(p)&&(C.length===0||Z.test(C))&&!T.parameters.has(p)){T.parameters.set(p,C)}}return T}function forgivingBase64(A){A=A.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(A.length%4===0){A=A.replace(/=?=$/,"")}if(A.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(A)){return"failure"}const d=S(A);const p=new Uint8Array(d.length);for(let A=0;A<d.length;A++){p[A]=d.charCodeAt(A)}return p}function collectAnHTTPQuotedString(A,d,p){const S=d.position;let v="";C(A[d.position]==='"');d.position++;while(true){v+=collectASequenceOfCodePoints((A=>A!=='"'&&A!=="\\"),A,d);if(d.position>=A.length){break}const p=A[d.position];d.position++;if(p==="\\"){if(d.position>=A.length){v+="\\";break}v+=A[d.position];d.position++}else{C(p==='"');break}}if(p){return v}return A.slice(S,d.position)}function serializeAMimeType(A){C(A!=="failure");const{parameters:d,essence:p}=A;let S=p;for(let[A,p]of d.entries()){S+=";";S+=A;S+="=";if(!_.test(p)){p=p.replace(/(\\|")/g,"\\$1");p='"'+p;p+='"'}S+=p}return S}function isHTTPWhiteSpace(A){return A==="\r"||A==="\n"||A==="\t"||A===" "}function removeHTTPWhitespace(A,d=true,p=true){let C=0;let S=A.length-1;if(d){for(;C<A.length&&isHTTPWhiteSpace(A[C]);C++);}if(p){for(;S>0&&isHTTPWhiteSpace(A[S]);S--);}return A.slice(C,S+1)}function isASCIIWhitespace(A){return A==="\r"||A==="\n"||A==="\t"||A==="\f"||A===" "}function removeASCIIWhitespace(A,d=true,p=true){let C=0;let S=A.length-1;if(d){for(;C<A.length&&isASCIIWhitespace(A[C]);C++);}if(p){for(;S>0&&isASCIIWhitespace(A[S]);S--);}return A.slice(C,S+1)}A.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},40374:(A,d,p)=>{const{Blob:C,File:S}=p(20181);const{types:v}=p(39023);const{kState:T}=p(40639);const{isBlobLike:_}=p(58524);const{webidl:V}=p(90185);const{parseMIMEType:Z,serializeAMimeType:ee}=p(32059);const{kEnumerableProperty:te}=p(70701);const re=new TextEncoder;class File extends C{constructor(A,d,p={}){V.argumentLengthCheck(arguments,2,{header:"File constructor"});A=V.converters["sequence<BlobPart>"](A);d=V.converters.USVString(d);p=V.converters.FilePropertyBag(p);const C=d;let S=p.type;let v;e:{if(S){S=Z(S);if(S==="failure"){S="";break e}S=ee(S).toLowerCase()}v=p.lastModified}super(processBlobParts(A,p),{type:S});this[T]={name:C,lastModified:v,type:S}}get name(){V.brandCheck(this,File);return this[T].name}get lastModified(){V.brandCheck(this,File);return this[T].lastModified}get type(){V.brandCheck(this,File);return this[T].type}}class FileLike{constructor(A,d,p={}){const C=d;const S=p.type;const v=p.lastModified??Date.now();this[T]={blobLike:A,name:C,type:S,lastModified:v}}stream(...A){V.brandCheck(this,FileLike);return this[T].blobLike.stream(...A)}arrayBuffer(...A){V.brandCheck(this,FileLike);return this[T].blobLike.arrayBuffer(...A)}slice(...A){V.brandCheck(this,FileLike);return this[T].blobLike.slice(...A)}text(...A){V.brandCheck(this,FileLike);return this[T].blobLike.text(...A)}get size(){V.brandCheck(this,FileLike);return this[T].blobLike.size}get type(){V.brandCheck(this,FileLike);return this[T].blobLike.type}get name(){V.brandCheck(this,FileLike);return this[T].name}get lastModified(){V.brandCheck(this,FileLike);return this[T].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:te,lastModified:te});V.converters.Blob=V.interfaceConverter(C);V.converters.BlobPart=function(A,d){if(V.util.Type(A)==="Object"){if(_(A)){return V.converters.Blob(A,{strict:false})}if(ArrayBuffer.isView(A)||v.isAnyArrayBuffer(A)){return V.converters.BufferSource(A,d)}}return V.converters.USVString(A,d)};V.converters["sequence<BlobPart>"]=V.sequenceConverter(V.converters.BlobPart);V.converters.FilePropertyBag=V.dictionaryConverter([{key:"lastModified",converter:V.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:V.converters.DOMString,defaultValue:""},{key:"endings",converter:A=>{A=V.converters.DOMString(A);A=A.toLowerCase();if(A!=="native"){A="transparent"}return A},defaultValue:"transparent"}]);function processBlobParts(A,d){const p=[];for(const C of A){if(typeof C==="string"){let A=C;if(d.endings==="native"){A=convertLineEndingsNative(A)}p.push(re.encode(A))}else if(v.isAnyArrayBuffer(C)||v.isTypedArray(C)){if(!C.buffer){p.push(new Uint8Array(C))}else{p.push(new Uint8Array(C.buffer,C.byteOffset,C.byteLength))}}else if(_(C)){p.push(C)}}return p}function convertLineEndingsNative(A){let d="\n";if(process.platform==="win32"){d="\r\n"}return A.replace(/\r?\n/g,d)}function isFileLike(A){return S&&A instanceof S||A instanceof File||A&&(typeof A.stream==="function"||typeof A.arrayBuffer==="function")&&A[Symbol.toStringTag]==="File"}A.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},50098:(A,d,p)=>{const{isBlobLike:C,toUSVString:S,makeIterator:v}=p(58524);const{kState:T}=p(40639);const{File:_,FileLike:V,isFileLike:Z}=p(40374);const{webidl:ee}=p(90185);const{Blob:te,File:re}=p(20181);const ne=re??_;class FormData{constructor(A){if(A!==undefined){throw ee.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[T]=[]}append(A,d,p=undefined){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!C(d)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}A=ee.converters.USVString(A);d=C(d)?ee.converters.Blob(d,{strict:false}):ee.converters.USVString(d);p=arguments.length===3?ee.converters.USVString(p):undefined;const S=makeEntry(A,d,p);this[T].push(S)}delete(A){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,1,{header:"FormData.delete"});A=ee.converters.USVString(A);this[T]=this[T].filter((d=>d.name!==A))}get(A){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,1,{header:"FormData.get"});A=ee.converters.USVString(A);const d=this[T].findIndex((d=>d.name===A));if(d===-1){return null}return this[T][d].value}getAll(A){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});A=ee.converters.USVString(A);return this[T].filter((d=>d.name===A)).map((A=>A.value))}has(A){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,1,{header:"FormData.has"});A=ee.converters.USVString(A);return this[T].findIndex((d=>d.name===A))!==-1}set(A,d,p=undefined){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!C(d)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}A=ee.converters.USVString(A);d=C(d)?ee.converters.Blob(d,{strict:false}):ee.converters.USVString(d);p=arguments.length===3?S(p):undefined;const v=makeEntry(A,d,p);const _=this[T].findIndex((d=>d.name===A));if(_!==-1){this[T]=[...this[T].slice(0,_),v,...this[T].slice(_+1).filter((d=>d.name!==A))]}else{this[T].push(v)}}entries(){ee.brandCheck(this,FormData);return v((()=>this[T].map((A=>[A.name,A.value]))),"FormData","key+value")}keys(){ee.brandCheck(this,FormData);return v((()=>this[T].map((A=>[A.name,A.value]))),"FormData","key")}values(){ee.brandCheck(this,FormData);return v((()=>this[T].map((A=>[A.name,A.value]))),"FormData","value")}forEach(A,d=globalThis){ee.brandCheck(this,FormData);ee.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof A!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[p,C]of this){A.apply(d,[C,p,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(A,d,p){A=Buffer.from(A).toString("utf8");if(typeof d==="string"){d=Buffer.from(d).toString("utf8")}else{if(!Z(d)){d=d instanceof te?new ne([d],"blob",{type:d.type}):new V(d,"blob",{type:d.type})}if(p!==undefined){const A={type:d.type,lastModified:d.lastModified};d=re&&d instanceof re||d instanceof _?new ne([d],p,A):new V(d,p,A)}}return{name:A,value:d}}A.exports={FormData:FormData}},42071:A=>{const d=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[d]}function setGlobalOrigin(A){if(A===undefined){Object.defineProperty(globalThis,d,{value:undefined,writable:true,enumerable:false,configurable:false});return}const p=new URL(A);if(p.protocol!=="http:"&&p.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${p.protocol}`)}Object.defineProperty(globalThis,d,{value:p,writable:true,enumerable:false,configurable:false})}A.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},10824:(A,d,p)=>{const{kHeadersList:C,kConstruct:S}=p(54980);const{kGuard:v}=p(40639);const{kEnumerableProperty:T}=p(70701);const{makeIterator:_,isValidHeaderName:V,isValidHeaderValue:Z}=p(58524);const ee=p(39023);const{webidl:te}=p(90185);const re=p(42613);const ne=Symbol("headers map");const ie=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(A){return A===10||A===13||A===9||A===32}function headerValueNormalize(A){let d=0;let p=A.length;while(p>d&&isHTTPWhiteSpaceCharCode(A.charCodeAt(p-1)))--p;while(p>d&&isHTTPWhiteSpaceCharCode(A.charCodeAt(d)))++d;return d===0&&p===A.length?A:A.substring(d,p)}function fill(A,d){if(Array.isArray(d)){for(let p=0;p<d.length;++p){const C=d[p];if(C.length!==2){throw te.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${C.length}.`})}appendHeader(A,C[0],C[1])}}else if(typeof d==="object"&&d!==null){const p=Object.keys(d);for(let C=0;C<p.length;++C){appendHeader(A,p[C],d[p[C]])}}else{throw te.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}function appendHeader(A,d,p){p=headerValueNormalize(p);if(!V(d)){throw te.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header name"})}else if(!Z(p)){throw te.errors.invalidArgument({prefix:"Headers.append",value:p,type:"header value"})}if(A[v]==="immutable"){throw new TypeError("immutable")}else if(A[v]==="request-no-cors"){}return A[C].append(d,p)}class HeadersList{cookies=null;constructor(A){if(A instanceof HeadersList){this[ne]=new Map(A[ne]);this[ie]=A[ie];this.cookies=A.cookies===null?null:[...A.cookies]}else{this[ne]=new Map(A);this[ie]=null}}contains(A){A=A.toLowerCase();return this[ne].has(A)}clear(){this[ne].clear();this[ie]=null;this.cookies=null}append(A,d){this[ie]=null;const p=A.toLowerCase();const C=this[ne].get(p);if(C){const A=p==="cookie"?"; ":", ";this[ne].set(p,{name:C.name,value:`${C.value}${A}${d}`})}else{this[ne].set(p,{name:A,value:d})}if(p==="set-cookie"){this.cookies??=[];this.cookies.push(d)}}set(A,d){this[ie]=null;const p=A.toLowerCase();if(p==="set-cookie"){this.cookies=[d]}this[ne].set(p,{name:A,value:d})}delete(A){this[ie]=null;A=A.toLowerCase();if(A==="set-cookie"){this.cookies=null}this[ne].delete(A)}get(A){const d=this[ne].get(A.toLowerCase());return d===undefined?null:d.value}*[Symbol.iterator](){for(const[A,{value:d}]of this[ne]){yield[A,d]}}get entries(){const A={};if(this[ne].size){for(const{name:d,value:p}of this[ne].values()){A[d]=p}}return A}}class Headers{constructor(A=undefined){if(A===S){return}this[C]=new HeadersList;this[v]="none";if(A!==undefined){A=te.converters.HeadersInit(A);fill(this,A)}}append(A,d){te.brandCheck(this,Headers);te.argumentLengthCheck(arguments,2,{header:"Headers.append"});A=te.converters.ByteString(A);d=te.converters.ByteString(d);return appendHeader(this,A,d)}delete(A){te.brandCheck(this,Headers);te.argumentLengthCheck(arguments,1,{header:"Headers.delete"});A=te.converters.ByteString(A);if(!V(A)){throw te.errors.invalidArgument({prefix:"Headers.delete",value:A,type:"header name"})}if(this[v]==="immutable"){throw new TypeError("immutable")}else if(this[v]==="request-no-cors"){}if(!this[C].contains(A)){return}this[C].delete(A)}get(A){te.brandCheck(this,Headers);te.argumentLengthCheck(arguments,1,{header:"Headers.get"});A=te.converters.ByteString(A);if(!V(A)){throw te.errors.invalidArgument({prefix:"Headers.get",value:A,type:"header name"})}return this[C].get(A)}has(A){te.brandCheck(this,Headers);te.argumentLengthCheck(arguments,1,{header:"Headers.has"});A=te.converters.ByteString(A);if(!V(A)){throw te.errors.invalidArgument({prefix:"Headers.has",value:A,type:"header name"})}return this[C].contains(A)}set(A,d){te.brandCheck(this,Headers);te.argumentLengthCheck(arguments,2,{header:"Headers.set"});A=te.converters.ByteString(A);d=te.converters.ByteString(d);d=headerValueNormalize(d);if(!V(A)){throw te.errors.invalidArgument({prefix:"Headers.set",value:A,type:"header name"})}else if(!Z(d)){throw te.errors.invalidArgument({prefix:"Headers.set",value:d,type:"header value"})}if(this[v]==="immutable"){throw new TypeError("immutable")}else if(this[v]==="request-no-cors"){}this[C].set(A,d)}getSetCookie(){te.brandCheck(this,Headers);const A=this[C].cookies;if(A){return[...A]}return[]}get[ie](){if(this[C][ie]){return this[C][ie]}const A=[];const d=[...this[C]].sort(((A,d)=>A[0]<d[0]?-1:1));const p=this[C].cookies;for(let C=0;C<d.length;++C){const[S,v]=d[C];if(S==="set-cookie"){for(let d=0;d<p.length;++d){A.push([S,p[d]])}}else{re(v!==null);A.push([S,v])}}this[C][ie]=A;return A}keys(){te.brandCheck(this,Headers);if(this[v]==="immutable"){const A=this[ie];return _((()=>A),"Headers","key")}return _((()=>[...this[ie].values()]),"Headers","key")}values(){te.brandCheck(this,Headers);if(this[v]==="immutable"){const A=this[ie];return _((()=>A),"Headers","value")}return _((()=>[...this[ie].values()]),"Headers","value")}entries(){te.brandCheck(this,Headers);if(this[v]==="immutable"){const A=this[ie];return _((()=>A),"Headers","key+value")}return _((()=>[...this[ie].values()]),"Headers","key+value")}forEach(A,d=globalThis){te.brandCheck(this,Headers);te.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof A!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[p,C]of this){A.apply(d,[C,p,this])}}[Symbol.for("nodejs.util.inspect.custom")](){te.brandCheck(this,Headers);return this[C]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:T,delete:T,get:T,has:T,set:T,getSetCookie:T,keys:T,values:T,entries:T,forEach:T,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true},[ee.inspect.custom]:{enumerable:false}});te.converters.HeadersInit=function(A){if(te.util.Type(A)==="Object"){if(A[Symbol.iterator]){return te.converters["sequence<sequence<ByteString>>"](A)}return te.converters["record<ByteString, ByteString>"](A)}throw te.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};A.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},94546:(A,d,p)=>{const{Response:C,makeNetworkError:S,makeAppropriateNetworkError:v,filterResponse:T,makeResponse:_}=p(2111);const{Headers:V}=p(10824);const{Request:Z,makeRequest:ee}=p(18939);const te=p(43106);const{bytesMatch:re,makePolicyContainer:ne,clonePolicyContainer:ie,requestBadPort:se,TAOCheck:oe,appendRequestOriginHeader:ae,responseLocationURL:le,requestCurrentURL:ce,setRequestReferrerPolicyOnRedirect:ue,tryUpgradeRequestToAPotentiallyTrustworthyURL:Ae,createOpaqueTimingInfo:de,appendFetchMetadata:pe,corsCheck:fe,crossOriginResourcePolicyCheck:he,determineRequestsReferrer:ge,coarsenedSharedCurrentTime:me,createDeferredPromise:ye,isBlobLike:Ee,sameOrigin:be,isCancelled:Ce,isAborted:Be,isErrorLike:Ie,fullyReadBody:Se,readableStreamClose:we,isomorphicEncode:Qe,urlIsLocal:ve,urlIsHttpHttpsScheme:Re,urlHasHttpsScheme:Ne}=p(58524);const{kState:De,kHeaders:xe,kGuard:Te,kRealm:_e}=p(40639);const Pe=p(42613);const{safelyExtractBody:ke}=p(45472);const{redirectStatusSet:Oe,nullBodyStatus:Fe,safeMethodsSet:Le,requestBodyHeader:Me,subresourceSet:Ue,DOMException:He}=p(21411);const{kHeadersList:Ge}=p(54980);const qe=p(24434);const{Readable:je,pipeline:ze}=p(2203);const{addAbortListener:Ve,isErrored:We,isReadable:Ye,nodeMajor:Je,nodeMinor:$e}=p(70701);const{dataURLProcessor:Ke,serializeAMimeType:Xe}=p(32059);const{TransformStream:Ze}=p(63774);const{getGlobalDispatcher:at}=p(64662);const{webidl:ct}=p(90185);const{STATUS_CODES:At}=p(58611);const pt=["GET","HEAD"];let ft;let gt=globalThis.ReadableStream;class Fetch extends qe{constructor(A){super();this.dispatcher=A;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(A){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(A);this.emit("terminated",A)}abort(A){if(this.state!=="ongoing"){return}this.state="aborted";if(!A){A=new He("The operation was aborted.","AbortError")}this.serializedAbortReason=A;this.connection?.destroy(A);this.emit("terminated",A)}}function fetch(A,d={}){ct.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const p=ye();let S;try{S=new Z(A,d)}catch(A){p.reject(A);return p.promise}const v=S[De];if(S.signal.aborted){abortFetch(p,v,null,S.signal.reason);return p.promise}const T=v.client.globalObject;if(T?.constructor?.name==="ServiceWorkerGlobalScope"){v.serviceWorkers="none"}let _=null;const V=null;let ee=false;let te=null;Ve(S.signal,(()=>{ee=true;Pe(te!=null);te.abort(S.signal.reason);abortFetch(p,v,_,S.signal.reason)}));const handleFetchDone=A=>finalizeAndReportTiming(A,"fetch");const processResponse=A=>{if(ee){return Promise.resolve()}if(A.aborted){abortFetch(p,v,_,te.serializedAbortReason);return Promise.resolve()}if(A.type==="error"){p.reject(Object.assign(new TypeError("fetch failed"),{cause:A.error}));return Promise.resolve()}_=new C;_[De]=A;_[_e]=V;_[xe][Ge]=A.headersList;_[xe][Te]="immutable";_[xe][_e]=V;p.resolve(_)};te=fetching({request:v,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:d.dispatcher??at()});return p.promise}function finalizeAndReportTiming(A,d="other"){if(A.type==="error"&&A.aborted){return}if(!A.urlList?.length){return}const p=A.urlList[0];let C=A.timingInfo;let S=A.cacheState;if(!Re(p)){return}if(C===null){return}if(!A.timingAllowPassed){C=de({startTime:C.startTime});S=""}C.endTime=me();A.timingInfo=C;markResourceTiming(C,p,d,globalThis,S)}function markResourceTiming(A,d,p,C,S){if(Je>18||Je===18&&$e>=2){performance.markResourceTiming(A,d.href,p,C,S)}}function abortFetch(A,d,p,C){if(!C){C=new He("The operation was aborted.","AbortError")}A.reject(C);if(d.body!=null&&Ye(d.body?.stream)){d.body.stream.cancel(C).catch((A=>{if(A.code==="ERR_INVALID_STATE"){return}throw A}))}if(p==null){return}const S=p[De];if(S.body!=null&&Ye(S.body?.stream)){S.body.stream.cancel(C).catch((A=>{if(A.code==="ERR_INVALID_STATE"){return}throw A}))}}function fetching({request:A,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:C,processResponseEndOfBody:S,processResponseConsumeBody:v,useParallelQueue:T=false,dispatcher:_}){let V=null;let Z=false;if(A.client!=null){V=A.client.globalObject;Z=A.client.crossOriginIsolatedCapability}const ee=me(Z);const te=de({startTime:ee});const re={controller:new Fetch(_),request:A,timingInfo:te,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:C,processResponseConsumeBody:v,processResponseEndOfBody:S,taskDestination:V,crossOriginIsolatedCapability:Z};Pe(!A.body||A.body.stream);if(A.window==="client"){A.window=A.client?.globalObject?.constructor?.name==="Window"?A.client:"no-window"}if(A.origin==="client"){A.origin=A.client?.origin}if(A.policyContainer==="client"){if(A.client!=null){A.policyContainer=ie(A.client.policyContainer)}else{A.policyContainer=ne()}}if(!A.headersList.contains("accept")){const d="*/*";A.headersList.append("accept",d)}if(!A.headersList.contains("accept-language")){A.headersList.append("accept-language","*")}if(A.priority===null){}if(Ue.has(A.destination)){}mainFetch(re).catch((A=>{re.controller.terminate(A)}));return re.controller}async function mainFetch(A,d=false){const p=A.request;let C=null;if(p.localURLsOnly&&!ve(ce(p))){C=S("local URLs only")}Ae(p);if(se(p)==="blocked"){C=S("bad port")}if(p.referrerPolicy===""){p.referrerPolicy=p.policyContainer.referrerPolicy}if(p.referrer!=="no-referrer"){p.referrer=ge(p)}if(C===null){C=await(async()=>{const d=ce(p);if(be(d,p.url)&&p.responseTainting==="basic"||d.protocol==="data:"||(p.mode==="navigate"||p.mode==="websocket")){p.responseTainting="basic";return await schemeFetch(A)}if(p.mode==="same-origin"){return S('request mode cannot be "same-origin"')}if(p.mode==="no-cors"){if(p.redirect!=="follow"){return S('redirect mode cannot be "follow" for "no-cors" request')}p.responseTainting="opaque";return await schemeFetch(A)}if(!Re(ce(p))){return S("URL scheme must be a HTTP(S) scheme")}p.responseTainting="cors";return await httpFetch(A)})()}if(d){return C}if(C.status!==0&&!C.internalResponse){if(p.responseTainting==="cors"){}if(p.responseTainting==="basic"){C=T(C,"basic")}else if(p.responseTainting==="cors"){C=T(C,"cors")}else if(p.responseTainting==="opaque"){C=T(C,"opaque")}else{Pe(false)}}let v=C.status===0?C:C.internalResponse;if(v.urlList.length===0){v.urlList.push(...p.urlList)}if(!p.timingAllowFailed){C.timingAllowPassed=true}if(C.type==="opaque"&&v.status===206&&v.rangeRequested&&!p.headers.contains("range")){C=v=S()}if(C.status!==0&&(p.method==="HEAD"||p.method==="CONNECT"||Fe.includes(v.status))){v.body=null;A.controller.dump=true}if(p.integrity){const processBodyError=d=>fetchFinale(A,S(d));if(p.responseTainting==="opaque"||C.body==null){processBodyError(C.error);return}const processBody=d=>{if(!re(d,p.integrity)){processBodyError("integrity mismatch");return}C.body=ke(d)[0];fetchFinale(A,C)};await Se(C.body,processBody,processBodyError)}else{fetchFinale(A,C)}}function schemeFetch(A){if(Ce(A)&&A.request.redirectCount===0){return Promise.resolve(v(A))}const{request:d}=A;const{protocol:C}=ce(d);switch(C){case"about:":{return Promise.resolve(S("about scheme is not supported"))}case"blob:":{if(!ft){ft=p(20181).resolveObjectURL}const A=ce(d);if(A.search.length!==0){return Promise.resolve(S("NetworkError when attempting to fetch resource."))}const C=ft(A.toString());if(d.method!=="GET"||!Ee(C)){return Promise.resolve(S("invalid method"))}const v=ke(C);const T=v[0];const V=Qe(`${T.length}`);const Z=v[1]??"";const ee=_({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:V}],["content-type",{name:"Content-Type",value:Z}]]});ee.body=T;return Promise.resolve(ee)}case"data:":{const A=ce(d);const p=Ke(A);if(p==="failure"){return Promise.resolve(S("failed to fetch the data URL"))}const C=Xe(p.mimeType);return Promise.resolve(_({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:C}]],body:ke(p.body)[0]}))}case"file:":{return Promise.resolve(S("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(A).catch((A=>S(A)))}default:{return Promise.resolve(S("unknown scheme"))}}}function finalizeResponse(A,d){A.request.done=true;if(A.processResponseDone!=null){queueMicrotask((()=>A.processResponseDone(d)))}}function fetchFinale(A,d){if(d.type==="error"){d.urlList=[A.request.urlList[0]];d.timingInfo=de({startTime:A.timingInfo.startTime})}const processResponseEndOfBody=()=>{A.request.done=true;if(A.processResponseEndOfBody!=null){queueMicrotask((()=>A.processResponseEndOfBody(d)))}};if(A.processResponse!=null){queueMicrotask((()=>A.processResponse(d)))}if(d.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(A,d)=>{d.enqueue(A)};const A=new Ze({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});d.body={stream:d.body.stream.pipeThrough(A)}}if(A.processResponseConsumeBody!=null){const processBody=p=>A.processResponseConsumeBody(d,p);const processBodyError=p=>A.processResponseConsumeBody(d,p);if(d.body==null){queueMicrotask((()=>processBody(null)))}else{return Se(d.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(A){const d=A.request;let p=null;let C=null;const v=A.timingInfo;if(d.serviceWorkers==="all"){}if(p===null){if(d.redirect==="follow"){d.serviceWorkers="none"}C=p=await httpNetworkOrCacheFetch(A);if(d.responseTainting==="cors"&&fe(d,p)==="failure"){return S("cors failure")}if(oe(d,p)==="failure"){d.timingAllowFailed=true}}if((d.responseTainting==="opaque"||p.type==="opaque")&&he(d.origin,d.client,d.destination,C)==="blocked"){return S("blocked")}if(Oe.has(C.status)){if(d.redirect!=="manual"){A.controller.connection.destroy()}if(d.redirect==="error"){p=S("unexpected redirect")}else if(d.redirect==="manual"){p=C}else if(d.redirect==="follow"){p=await httpRedirectFetch(A,p)}else{Pe(false)}}p.timingInfo=v;return p}function httpRedirectFetch(A,d){const p=A.request;const C=d.internalResponse?d.internalResponse:d;let v;try{v=le(C,ce(p).hash);if(v==null){return d}}catch(A){return Promise.resolve(S(A))}if(!Re(v)){return Promise.resolve(S("URL scheme must be a HTTP(S) scheme"))}if(p.redirectCount===20){return Promise.resolve(S("redirect count exceeded"))}p.redirectCount+=1;if(p.mode==="cors"&&(v.username||v.password)&&!be(p,v)){return Promise.resolve(S('cross origin not allowed for request mode "cors"'))}if(p.responseTainting==="cors"&&(v.username||v.password)){return Promise.resolve(S('URL cannot contain credentials for request mode "cors"'))}if(C.status!==303&&p.body!=null&&p.body.source==null){return Promise.resolve(S())}if([301,302].includes(C.status)&&p.method==="POST"||C.status===303&&!pt.includes(p.method)){p.method="GET";p.body=null;for(const A of Me){p.headersList.delete(A)}}if(!be(ce(p),v)){p.headersList.delete("authorization");p.headersList.delete("proxy-authorization",true);p.headersList.delete("cookie");p.headersList.delete("host")}if(p.body!=null){Pe(p.body.source!=null);p.body=ke(p.body.source)[0]}const T=A.timingInfo;T.redirectEndTime=T.postRedirectStartTime=me(A.crossOriginIsolatedCapability);if(T.redirectStartTime===0){T.redirectStartTime=T.startTime}p.urlList.push(v);ue(p,C);return mainFetch(A,true)}async function httpNetworkOrCacheFetch(A,d=false,p=false){const C=A.request;let T=null;let _=null;let V=null;const Z=null;const te=false;if(C.window==="no-window"&&C.redirect==="error"){T=A;_=C}else{_=ee(C);T={...A};T.request=_}const re=C.credentials==="include"||C.credentials==="same-origin"&&C.responseTainting==="basic";const ne=_.body?_.body.length:null;let ie=null;if(_.body==null&&["POST","PUT"].includes(_.method)){ie="0"}if(ne!=null){ie=Qe(`${ne}`)}if(ie!=null){_.headersList.append("content-length",ie)}if(ne!=null&&_.keepalive){}if(_.referrer instanceof URL){_.headersList.append("referer",Qe(_.referrer.href))}ae(_);pe(_);if(!_.headersList.contains("user-agent")){_.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(_.cache==="default"&&(_.headersList.contains("if-modified-since")||_.headersList.contains("if-none-match")||_.headersList.contains("if-unmodified-since")||_.headersList.contains("if-match")||_.headersList.contains("if-range"))){_.cache="no-store"}if(_.cache==="no-cache"&&!_.preventNoCacheCacheControlHeaderModification&&!_.headersList.contains("cache-control")){_.headersList.append("cache-control","max-age=0")}if(_.cache==="no-store"||_.cache==="reload"){if(!_.headersList.contains("pragma")){_.headersList.append("pragma","no-cache")}if(!_.headersList.contains("cache-control")){_.headersList.append("cache-control","no-cache")}}if(_.headersList.contains("range")){_.headersList.append("accept-encoding","identity")}if(!_.headersList.contains("accept-encoding")){if(Ne(ce(_))){_.headersList.append("accept-encoding","br, gzip, deflate")}else{_.headersList.append("accept-encoding","gzip, deflate")}}_.headersList.delete("host");if(re){}if(Z==null){_.cache="no-store"}if(_.mode!=="no-store"&&_.mode!=="reload"){}if(V==null){if(_.mode==="only-if-cached"){return S("only if cached")}const A=await httpNetworkFetch(T,re,p);if(!Le.has(_.method)&&A.status>=200&&A.status<=399){}if(te&&A.status===304){}if(V==null){V=A}}V.urlList=[..._.urlList];if(_.headersList.contains("range")){V.rangeRequested=true}V.requestIncludesCredentials=re;if(V.status===407){if(C.window==="no-window"){return S()}if(Ce(A)){return v(A)}return S("proxy authentication required")}if(V.status===421&&!p&&(C.body==null||C.body.source!=null)){if(Ce(A)){return v(A)}A.controller.connection.destroy();V=await httpNetworkOrCacheFetch(A,d,true)}if(d){}return V}async function httpNetworkFetch(A,d=false,C=false){Pe(!A.controller.connection||A.controller.connection.destroyed);A.controller.connection={abort:null,destroyed:false,destroy(A){if(!this.destroyed){this.destroyed=true;this.abort?.(A??new He("The operation was aborted.","AbortError"))}}};const T=A.request;let Z=null;const ee=A.timingInfo;const re=null;if(re==null){T.cache="no-store"}const ne=C?"yes":"no";if(T.mode==="websocket"){}else{}let ie=null;if(T.body==null&&A.processRequestEndOfBody){queueMicrotask((()=>A.processRequestEndOfBody()))}else if(T.body!=null){const processBodyChunk=async function*(d){if(Ce(A)){return}yield d;A.processRequestBodyChunkLength?.(d.byteLength)};const processEndOfBody=()=>{if(Ce(A)){return}if(A.processRequestEndOfBody){A.processRequestEndOfBody()}};const processBodyError=d=>{if(Ce(A)){return}if(d.name==="AbortError"){A.controller.abort()}else{A.controller.terminate(d)}};ie=async function*(){try{for await(const A of T.body.stream){yield*processBodyChunk(A)}processEndOfBody()}catch(A){processBodyError(A)}}()}try{const{body:d,status:p,statusText:C,headersList:S,socket:v}=await dispatch({body:ie});if(v){Z=_({status:p,statusText:C,headersList:S,socket:v})}else{const v=d[Symbol.asyncIterator]();A.controller.next=()=>v.next();Z=_({status:p,statusText:C,headersList:S})}}catch(d){if(d.name==="AbortError"){A.controller.connection.destroy();return v(A,d)}return S(d)}const pullAlgorithm=()=>{A.controller.resume()};const cancelAlgorithm=d=>{A.controller.abort(d)};if(!gt){gt=p(63774).ReadableStream}const se=new gt({async start(d){A.controller.controller=d},async pull(A){await pullAlgorithm(A)},async cancel(A){await cancelAlgorithm(A)}},{highWaterMark:0,size(){return 1}});Z.body={stream:se};A.controller.on("terminated",onAborted);A.controller.resume=async()=>{while(true){let d;let p;try{const{done:p,value:C}=await A.controller.next();if(Be(A)){break}d=p?undefined:C}catch(C){if(A.controller.ended&&!ee.encodedBodySize){d=undefined}else{d=C;p=true}}if(d===undefined){we(A.controller.controller);finalizeResponse(A,Z);return}ee.decodedBodySize+=d?.byteLength??0;if(p){A.controller.terminate(d);return}A.controller.controller.enqueue(new Uint8Array(d));if(We(se)){A.controller.terminate();return}if(!A.controller.controller.desiredSize){return}}};function onAborted(d){if(Be(A)){Z.aborted=true;if(Ye(se)){A.controller.controller.error(A.controller.serializedAbortReason)}}else{if(Ye(se)){A.controller.controller.error(new TypeError("terminated",{cause:Ie(d)?d:undefined}))}}A.controller.connection.destroy()}return Z;async function dispatch({body:d}){const p=ce(T);const C=A.controller.dispatcher;return new Promise(((S,v)=>C.dispatch({path:p.pathname+p.search,origin:p.origin,method:T.method,body:A.controller.dispatcher.isMockActive?T.body&&(T.body.source||T.body.stream):d,headers:T.headersList.entries,maxRedirections:0,upgrade:T.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(d){const{connection:p}=A.controller;if(p.destroyed){d(new He("The operation was aborted.","AbortError"))}else{A.controller.on("terminated",d);this.abort=p.abort=d}},onHeaders(A,d,p,C){if(A<200){return}let v=[];let _="";const Z=new V;if(Array.isArray(d)){for(let A=0;A<d.length;A+=2){const p=d[A+0].toString("latin1");const C=d[A+1].toString("latin1");if(p.toLowerCase()==="content-encoding"){v=C.toLowerCase().split(",").map((A=>A.trim()))}else if(p.toLowerCase()==="location"){_=C}Z[Ge].append(p,C)}}else{const A=Object.keys(d);for(const p of A){const A=d[p];if(p.toLowerCase()==="content-encoding"){v=A.toLowerCase().split(",").map((A=>A.trim())).reverse()}else if(p.toLowerCase()==="location"){_=A}Z[Ge].append(p,A)}}this.body=new je({read:p});const ee=[];const re=T.redirect==="follow"&&_&&Oe.has(A);if(T.method!=="HEAD"&&T.method!=="CONNECT"&&!Fe.includes(A)&&!re){for(const A of v){if(A==="x-gzip"||A==="gzip"){ee.push(te.createGunzip({flush:te.constants.Z_SYNC_FLUSH,finishFlush:te.constants.Z_SYNC_FLUSH}))}else if(A==="deflate"){ee.push(te.createInflate())}else if(A==="br"){ee.push(te.createBrotliDecompress())}else{ee.length=0;break}}}S({status:A,statusText:C,headersList:Z[Ge],body:ee.length?ze(this.body,...ee,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(d){if(A.controller.dump){return}const p=d;ee.encodedBodySize+=p.byteLength;return this.body.push(p)},onComplete(){if(this.abort){A.controller.off("terminated",this.abort)}A.controller.ended=true;this.body.push(null)},onError(d){if(this.abort){A.controller.off("terminated",this.abort)}this.body?.destroy(d);A.controller.terminate(d);v(d)},onUpgrade(A,d,p){if(A!==101){return}const C=new V;for(let A=0;A<d.length;A+=2){const p=d[A+0].toString("latin1");const S=d[A+1].toString("latin1");C[Ge].append(p,S)}S({status:A,statusText:At[A],headersList:C[Ge],socket:p});return true}})))}}A.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},18939:(A,d,p)=>{const{extractBody:C,mixinBody:S,cloneBody:v}=p(45472);const{Headers:T,fill:_,HeadersList:V}=p(10824);const{FinalizationRegistry:Z}=p(84375)();const ee=p(70701);const{isValidHTTPToken:te,sameOrigin:re,normalizeMethod:ne,makePolicyContainer:ie,normalizeMethodRecord:se}=p(58524);const{forbiddenMethodsSet:oe,corsSafeListedMethodsSet:ae,referrerPolicy:le,requestRedirect:ce,requestMode:ue,requestCredentials:Ae,requestCache:de,requestDuplex:pe}=p(21411);const{kEnumerableProperty:fe}=ee;const{kHeaders:he,kSignal:ge,kState:me,kGuard:ye,kRealm:Ee}=p(40639);const{webidl:be}=p(90185);const{getGlobalOrigin:Ce}=p(42071);const{URLSerializer:Be}=p(32059);const{kHeadersList:Ie,kConstruct:Se}=p(54980);const we=p(42613);const{getMaxListeners:Qe,setMaxListeners:ve,getEventListeners:Re,defaultMaxListeners:Ne}=p(24434);let De=globalThis.TransformStream;const xe=Symbol("abortController");const Te=new Z((({signal:A,abort:d})=>{A.removeEventListener("abort",d)}));class Request{constructor(A,d={}){if(A===Se){return}be.argumentLengthCheck(arguments,1,{header:"Request constructor"});A=be.converters.RequestInfo(A);d=be.converters.RequestInit(d);this[Ee]={settingsObject:{baseUrl:Ce(),get origin(){return this.baseUrl?.origin},policyContainer:ie()}};let S=null;let v=null;const Z=this[Ee].settingsObject.baseUrl;let le=null;if(typeof A==="string"){let d;try{d=new URL(A,Z)}catch(d){throw new TypeError("Failed to parse URL from "+A,{cause:d})}if(d.username||d.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+A)}S=makeRequest({urlList:[d]});v="cors"}else{we(A instanceof Request);S=A[me];le=A[ge]}const ce=this[Ee].settingsObject.origin;let ue="client";if(S.window?.constructor?.name==="EnvironmentSettingsObject"&&re(S.window,ce)){ue=S.window}if(d.window!=null){throw new TypeError(`'window' option '${ue}' must be null`)}if("window"in d){ue="no-window"}S=makeRequest({method:S.method,headersList:S.headersList,unsafeRequest:S.unsafeRequest,client:this[Ee].settingsObject,window:ue,priority:S.priority,origin:S.origin,referrer:S.referrer,referrerPolicy:S.referrerPolicy,mode:S.mode,credentials:S.credentials,cache:S.cache,redirect:S.redirect,integrity:S.integrity,keepalive:S.keepalive,reloadNavigation:S.reloadNavigation,historyNavigation:S.historyNavigation,urlList:[...S.urlList]});const Ae=Object.keys(d).length!==0;if(Ae){if(S.mode==="navigate"){S.mode="same-origin"}S.reloadNavigation=false;S.historyNavigation=false;S.origin="client";S.referrer="client";S.referrerPolicy="";S.url=S.urlList[S.urlList.length-1];S.urlList=[S.url]}if(d.referrer!==undefined){const A=d.referrer;if(A===""){S.referrer="no-referrer"}else{let d;try{d=new URL(A,Z)}catch(d){throw new TypeError(`Referrer "${A}" is not a valid URL.`,{cause:d})}if(d.protocol==="about:"&&d.hostname==="client"||ce&&!re(d,this[Ee].settingsObject.baseUrl)){S.referrer="client"}else{S.referrer=d}}}if(d.referrerPolicy!==undefined){S.referrerPolicy=d.referrerPolicy}let de;if(d.mode!==undefined){de=d.mode}else{de=v}if(de==="navigate"){throw be.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(de!=null){S.mode=de}if(d.credentials!==undefined){S.credentials=d.credentials}if(d.cache!==undefined){S.cache=d.cache}if(S.cache==="only-if-cached"&&S.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(d.redirect!==undefined){S.redirect=d.redirect}if(d.integrity!=null){S.integrity=String(d.integrity)}if(d.keepalive!==undefined){S.keepalive=Boolean(d.keepalive)}if(d.method!==undefined){let A=d.method;if(!te(A)){throw new TypeError(`'${A}' is not a valid HTTP method.`)}if(oe.has(A.toUpperCase())){throw new TypeError(`'${A}' HTTP method is unsupported.`)}A=se[A]??ne(A);S.method=A}if(d.signal!==undefined){le=d.signal}this[me]=S;const pe=new AbortController;this[ge]=pe.signal;this[ge][Ee]=this[Ee];if(le!=null){if(!le||typeof le.aborted!=="boolean"||typeof le.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(le.aborted){pe.abort(le.reason)}else{this[xe]=pe;const A=new WeakRef(pe);const abort=function(){const d=A.deref();if(d!==undefined){d.abort(this.reason)}};try{if(typeof Qe==="function"&&Qe(le)===Ne){ve(100,le)}else if(Re(le,"abort").length>=Ne){ve(100,le)}}catch{}ee.addAbortListener(le,abort);Te.register(pe,{signal:le,abort:abort})}}this[he]=new T(Se);this[he][Ie]=S.headersList;this[he][ye]="request";this[he][Ee]=this[Ee];if(de==="no-cors"){if(!ae.has(S.method)){throw new TypeError(`'${S.method} is unsupported in no-cors mode.`)}this[he][ye]="request-no-cors"}if(Ae){const A=this[he][Ie];const p=d.headers!==undefined?d.headers:new V(A);A.clear();if(p instanceof V){for(const[d,C]of p){A.append(d,C)}A.cookies=p.cookies}else{_(this[he],p)}}const fe=A instanceof Request?A[me].body:null;if((d.body!=null||fe!=null)&&(S.method==="GET"||S.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Be=null;if(d.body!=null){const[A,p]=C(d.body,S.keepalive);Be=A;if(p&&!this[he][Ie].contains("content-type")){this[he].append("content-type",p)}}const _e=Be??fe;if(_e!=null&&_e.source==null){if(Be!=null&&d.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(S.mode!=="same-origin"&&S.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}S.useCORSPreflightFlag=true}let Pe=_e;if(Be==null&&fe!=null){if(ee.isDisturbed(fe.stream)||fe.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!De){De=p(63774).TransformStream}const A=new De;fe.stream.pipeThrough(A);Pe={source:fe.source,length:fe.length,stream:A.readable}}this[me].body=Pe}get method(){be.brandCheck(this,Request);return this[me].method}get url(){be.brandCheck(this,Request);return Be(this[me].url)}get headers(){be.brandCheck(this,Request);return this[he]}get destination(){be.brandCheck(this,Request);return this[me].destination}get referrer(){be.brandCheck(this,Request);if(this[me].referrer==="no-referrer"){return""}if(this[me].referrer==="client"){return"about:client"}return this[me].referrer.toString()}get referrerPolicy(){be.brandCheck(this,Request);return this[me].referrerPolicy}get mode(){be.brandCheck(this,Request);return this[me].mode}get credentials(){return this[me].credentials}get cache(){be.brandCheck(this,Request);return this[me].cache}get redirect(){be.brandCheck(this,Request);return this[me].redirect}get integrity(){be.brandCheck(this,Request);return this[me].integrity}get keepalive(){be.brandCheck(this,Request);return this[me].keepalive}get isReloadNavigation(){be.brandCheck(this,Request);return this[me].reloadNavigation}get isHistoryNavigation(){be.brandCheck(this,Request);return this[me].historyNavigation}get signal(){be.brandCheck(this,Request);return this[ge]}get body(){be.brandCheck(this,Request);return this[me].body?this[me].body.stream:null}get bodyUsed(){be.brandCheck(this,Request);return!!this[me].body&&ee.isDisturbed(this[me].body.stream)}get duplex(){be.brandCheck(this,Request);return"half"}clone(){be.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const A=cloneRequest(this[me]);const d=new Request(Se);d[me]=A;d[Ee]=this[Ee];d[he]=new T(Se);d[he][Ie]=A.headersList;d[he][ye]=this[he][ye];d[he][Ee]=this[he][Ee];const p=new AbortController;if(this.signal.aborted){p.abort(this.signal.reason)}else{ee.addAbortListener(this.signal,(()=>{p.abort(this.signal.reason)}))}d[ge]=p.signal;return d}}S(Request);function makeRequest(A){const d={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...A,headersList:A.headersList?new V(A.headersList):new V};d.url=d.urlList[0];return d}function cloneRequest(A){const d=makeRequest({...A,body:null});if(A.body!=null){d.body=v(A.body)}return d}Object.defineProperties(Request.prototype,{method:fe,url:fe,headers:fe,redirect:fe,clone:fe,signal:fe,duplex:fe,destination:fe,body:fe,bodyUsed:fe,isHistoryNavigation:fe,isReloadNavigation:fe,keepalive:fe,integrity:fe,cache:fe,credentials:fe,attribute:fe,referrerPolicy:fe,referrer:fe,mode:fe,[Symbol.toStringTag]:{value:"Request",configurable:true}});be.converters.Request=be.interfaceConverter(Request);be.converters.RequestInfo=function(A){if(typeof A==="string"){return be.converters.USVString(A)}if(A instanceof Request){return be.converters.Request(A)}return be.converters.USVString(A)};be.converters.AbortSignal=be.interfaceConverter(AbortSignal);be.converters.RequestInit=be.dictionaryConverter([{key:"method",converter:be.converters.ByteString},{key:"headers",converter:be.converters.HeadersInit},{key:"body",converter:be.nullableConverter(be.converters.BodyInit)},{key:"referrer",converter:be.converters.USVString},{key:"referrerPolicy",converter:be.converters.DOMString,allowedValues:le},{key:"mode",converter:be.converters.DOMString,allowedValues:ue},{key:"credentials",converter:be.converters.DOMString,allowedValues:Ae},{key:"cache",converter:be.converters.DOMString,allowedValues:de},{key:"redirect",converter:be.converters.DOMString,allowedValues:ce},{key:"integrity",converter:be.converters.DOMString},{key:"keepalive",converter:be.converters.boolean},{key:"signal",converter:be.nullableConverter((A=>be.converters.AbortSignal(A,{strict:false})))},{key:"window",converter:be.converters.any},{key:"duplex",converter:be.converters.DOMString,allowedValues:pe}]);A.exports={Request:Request,makeRequest:makeRequest}},2111:(A,d,p)=>{const{Headers:C,HeadersList:S,fill:v}=p(10824);const{extractBody:T,cloneBody:_,mixinBody:V}=p(45472);const Z=p(70701);const{kEnumerableProperty:ee}=Z;const{isValidReasonPhrase:te,isCancelled:re,isAborted:ne,isBlobLike:ie,serializeJavascriptValueToJSONString:se,isErrorLike:oe,isomorphicEncode:ae}=p(58524);const{redirectStatusSet:le,nullBodyStatus:ce,DOMException:ue}=p(21411);const{kState:Ae,kHeaders:de,kGuard:pe,kRealm:fe}=p(40639);const{webidl:he}=p(90185);const{FormData:ge}=p(50098);const{getGlobalOrigin:me}=p(42071);const{URLSerializer:ye}=p(32059);const{kHeadersList:Ee,kConstruct:be}=p(54980);const Ce=p(42613);const{types:Be}=p(39023);const Ie=globalThis.ReadableStream||p(63774).ReadableStream;const Se=new TextEncoder("utf-8");class Response{static error(){const A={settingsObject:{}};const d=new Response;d[Ae]=makeNetworkError();d[fe]=A;d[de][Ee]=d[Ae].headersList;d[de][pe]="immutable";d[de][fe]=A;return d}static json(A,d={}){he.argumentLengthCheck(arguments,1,{header:"Response.json"});if(d!==null){d=he.converters.ResponseInit(d)}const p=Se.encode(se(A));const C=T(p);const S={settingsObject:{}};const v=new Response;v[fe]=S;v[de][pe]="response";v[de][fe]=S;initializeResponse(v,d,{body:C[0],type:"application/json"});return v}static redirect(A,d=302){const p={settingsObject:{}};he.argumentLengthCheck(arguments,1,{header:"Response.redirect"});A=he.converters.USVString(A);d=he.converters["unsigned short"](d);let C;try{C=new URL(A,me())}catch(d){throw Object.assign(new TypeError("Failed to parse URL from "+A),{cause:d})}if(!le.has(d)){throw new RangeError("Invalid status code "+d)}const S=new Response;S[fe]=p;S[de][pe]="immutable";S[de][fe]=p;S[Ae].status=d;const v=ae(ye(C));S[Ae].headersList.append("location",v);return S}constructor(A=null,d={}){if(A!==null){A=he.converters.BodyInit(A)}d=he.converters.ResponseInit(d);this[fe]={settingsObject:{}};this[Ae]=makeResponse({});this[de]=new C(be);this[de][pe]="response";this[de][Ee]=this[Ae].headersList;this[de][fe]=this[fe];let p=null;if(A!=null){const[d,C]=T(A);p={body:d,type:C}}initializeResponse(this,d,p)}get type(){he.brandCheck(this,Response);return this[Ae].type}get url(){he.brandCheck(this,Response);const A=this[Ae].urlList;const d=A[A.length-1]??null;if(d===null){return""}return ye(d,true)}get redirected(){he.brandCheck(this,Response);return this[Ae].urlList.length>1}get status(){he.brandCheck(this,Response);return this[Ae].status}get ok(){he.brandCheck(this,Response);return this[Ae].status>=200&&this[Ae].status<=299}get statusText(){he.brandCheck(this,Response);return this[Ae].statusText}get headers(){he.brandCheck(this,Response);return this[de]}get body(){he.brandCheck(this,Response);return this[Ae].body?this[Ae].body.stream:null}get bodyUsed(){he.brandCheck(this,Response);return!!this[Ae].body&&Z.isDisturbed(this[Ae].body.stream)}clone(){he.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw he.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const A=cloneResponse(this[Ae]);const d=new Response;d[Ae]=A;d[fe]=this[fe];d[de][Ee]=A.headersList;d[de][pe]=this[de][pe];d[de][fe]=this[de][fe];return d}}V(Response);Object.defineProperties(Response.prototype,{type:ee,url:ee,status:ee,ok:ee,redirected:ee,statusText:ee,headers:ee,clone:ee,body:ee,bodyUsed:ee,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:ee,redirect:ee,error:ee});function cloneResponse(A){if(A.internalResponse){return filterResponse(cloneResponse(A.internalResponse),A.type)}const d=makeResponse({...A,body:null});if(A.body!=null){d.body=_(A.body)}return d}function makeResponse(A){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...A,headersList:A.headersList?new S(A.headersList):new S,urlList:A.urlList?[...A.urlList]:[]}}function makeNetworkError(A){const d=oe(A);return makeResponse({type:"error",status:0,error:d?A:new Error(A?String(A):A),aborted:A&&A.name==="AbortError"})}function makeFilteredResponse(A,d){d={internalResponse:A,...d};return new Proxy(A,{get(A,p){return p in d?d[p]:A[p]},set(A,p,C){Ce(!(p in d));A[p]=C;return true}})}function filterResponse(A,d){if(d==="basic"){return makeFilteredResponse(A,{type:"basic",headersList:A.headersList})}else if(d==="cors"){return makeFilteredResponse(A,{type:"cors",headersList:A.headersList})}else if(d==="opaque"){return makeFilteredResponse(A,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(d==="opaqueredirect"){return makeFilteredResponse(A,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Ce(false)}}function makeAppropriateNetworkError(A,d=null){Ce(re(A));return ne(A)?makeNetworkError(Object.assign(new ue("The operation was aborted.","AbortError"),{cause:d})):makeNetworkError(Object.assign(new ue("Request was cancelled."),{cause:d}))}function initializeResponse(A,d,p){if(d.status!==null&&(d.status<200||d.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in d&&d.statusText!=null){if(!te(String(d.statusText))){throw new TypeError("Invalid statusText")}}if("status"in d&&d.status!=null){A[Ae].status=d.status}if("statusText"in d&&d.statusText!=null){A[Ae].statusText=d.statusText}if("headers"in d&&d.headers!=null){v(A[de],d.headers)}if(p){if(ce.includes(A.status)){throw he.errors.exception({header:"Response constructor",message:"Invalid response status code "+A.status})}A[Ae].body=p.body;if(p.type!=null&&!A[Ae].headersList.contains("Content-Type")){A[Ae].headersList.append("content-type",p.type)}}}he.converters.ReadableStream=he.interfaceConverter(Ie);he.converters.FormData=he.interfaceConverter(ge);he.converters.URLSearchParams=he.interfaceConverter(URLSearchParams);he.converters.XMLHttpRequestBodyInit=function(A){if(typeof A==="string"){return he.converters.USVString(A)}if(ie(A)){return he.converters.Blob(A,{strict:false})}if(Be.isArrayBuffer(A)||Be.isTypedArray(A)||Be.isDataView(A)){return he.converters.BufferSource(A)}if(Z.isFormDataLike(A)){return he.converters.FormData(A,{strict:false})}if(A instanceof URLSearchParams){return he.converters.URLSearchParams(A)}return he.converters.DOMString(A)};he.converters.BodyInit=function(A){if(A instanceof Ie){return he.converters.ReadableStream(A)}if(A?.[Symbol.asyncIterator]){return A}return he.converters.XMLHttpRequestBodyInit(A)};he.converters.ResponseInit=he.dictionaryConverter([{key:"status",converter:he.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:he.converters.ByteString,defaultValue:""},{key:"headers",converter:he.converters.HeadersInit}]);A.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},40639:A=>{A.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},58524:(A,d,p)=>{const{redirectStatusSet:C,referrerPolicySet:S,badPortsSet:v}=p(21411);const{getGlobalOrigin:T}=p(42071);const{performance:_}=p(82987);const{isBlobLike:V,toUSVString:Z,ReadableStreamFrom:ee}=p(70701);const te=p(42613);const{isUint8Array:re}=p(98253);let ne=[];let ie;try{ie=p(76982);const A=["sha256","sha384","sha512"];ne=ie.getHashes().filter((d=>A.includes(d)))}catch{}function responseURL(A){const d=A.urlList;const p=d.length;return p===0?null:d[p-1].toString()}function responseLocationURL(A,d){if(!C.has(A.status)){return null}let p=A.headersList.get("location");if(p!==null&&isValidHeaderValue(p)){p=new URL(p,responseURL(A))}if(p&&!p.hash){p.hash=d}return p}function requestCurrentURL(A){return A.urlList[A.urlList.length-1]}function requestBadPort(A){const d=requestCurrentURL(A);if(urlIsHttpHttpsScheme(d)&&v.has(d.port)){return"blocked"}return"allowed"}function isErrorLike(A){return A instanceof Error||(A?.constructor?.name==="Error"||A?.constructor?.name==="DOMException")}function isValidReasonPhrase(A){for(let d=0;d<A.length;++d){const p=A.charCodeAt(d);if(!(p===9||p>=32&&p<=126||p>=128&&p<=255)){return false}}return true}function isTokenCharCode(A){switch(A){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 A>=33&&A<=126}}function isValidHTTPToken(A){if(A.length===0){return false}for(let d=0;d<A.length;++d){if(!isTokenCharCode(A.charCodeAt(d))){return false}}return true}function isValidHeaderName(A){return isValidHTTPToken(A)}function isValidHeaderValue(A){if(A.startsWith("\t")||A.startsWith(" ")||A.endsWith("\t")||A.endsWith(" ")){return false}if(A.includes("\0")||A.includes("\r")||A.includes("\n")){return false}return true}function setRequestReferrerPolicyOnRedirect(A,d){const{headersList:p}=d;const C=(p.get("referrer-policy")??"").split(",");let v="";if(C.length>0){for(let A=C.length;A!==0;A--){const d=C[A-1].trim();if(S.has(d)){v=d;break}}}if(v!==""){A.referrerPolicy=v}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(A){let d=null;d=A.mode;A.headersList.set("sec-fetch-mode",d)}function appendRequestOriginHeader(A){let d=A.origin;if(A.responseTainting==="cors"||A.mode==="websocket"){if(d){A.headersList.append("origin",d)}}else if(A.method!=="GET"&&A.method!=="HEAD"){switch(A.referrerPolicy){case"no-referrer":d=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(A.origin&&urlHasHttpsScheme(A.origin)&&!urlHasHttpsScheme(requestCurrentURL(A))){d=null}break;case"same-origin":if(!sameOrigin(A,requestCurrentURL(A))){d=null}break;default:}if(d){A.headersList.append("origin",d)}}}function coarsenedSharedCurrentTime(A){return _.now()}function createOpaqueTimingInfo(A){return{startTime:A.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:A.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(A){return{referrerPolicy:A.referrerPolicy}}function determineRequestsReferrer(A){const d=A.referrerPolicy;te(d);let p=null;if(A.referrer==="client"){const A=T();if(!A||A.origin==="null"){return"no-referrer"}p=new URL(A)}else if(A.referrer instanceof URL){p=A.referrer}let C=stripURLForReferrer(p);const S=stripURLForReferrer(p,true);if(C.toString().length>4096){C=S}const v=sameOrigin(A,C);const _=isURLPotentiallyTrustworthy(C)&&!isURLPotentiallyTrustworthy(A.url);switch(d){case"origin":return S!=null?S:stripURLForReferrer(p,true);case"unsafe-url":return C;case"same-origin":return v?S:"no-referrer";case"origin-when-cross-origin":return v?C:S;case"strict-origin-when-cross-origin":{const d=requestCurrentURL(A);if(sameOrigin(C,d)){return C}if(isURLPotentiallyTrustworthy(C)&&!isURLPotentiallyTrustworthy(d)){return"no-referrer"}return S}case"strict-origin":case"no-referrer-when-downgrade":default:return _?"no-referrer":S}}function stripURLForReferrer(A,d){te(A instanceof URL);if(A.protocol==="file:"||A.protocol==="about:"||A.protocol==="blank:"){return"no-referrer"}A.username="";A.password="";A.hash="";if(d){A.pathname="";A.search=""}return A}function isURLPotentiallyTrustworthy(A){if(!(A instanceof URL)){return false}if(A.href==="about:blank"||A.href==="about:srcdoc"){return true}if(A.protocol==="data:")return true;if(A.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(A.origin);function isOriginPotentiallyTrustworthy(A){if(A==null||A==="null")return false;const d=new URL(A);if(d.protocol==="https:"||d.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(d.hostname)||(d.hostname==="localhost"||d.hostname.includes("localhost."))||d.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(A,d){if(ie===undefined){return true}const p=parseMetadata(d);if(p==="no metadata"){return true}if(p.length===0){return true}const C=getStrongestMetadata(p);const S=filterMetadataListByAlgorithm(p,C);for(const d of S){const p=d.algo;const C=d.hash;let S=ie.createHash(p).update(A).digest("base64");if(S[S.length-1]==="="){if(S[S.length-2]==="="){S=S.slice(0,-2)}else{S=S.slice(0,-1)}}if(compareBase64Mixed(S,C)){return true}}return false}const se=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(A){const d=[];let p=true;for(const C of A.split(" ")){p=false;const A=se.exec(C);if(A===null||A.groups===undefined||A.groups.algo===undefined){continue}const S=A.groups.algo.toLowerCase();if(ne.includes(S)){d.push(A.groups)}}if(p===true){return"no metadata"}return d}function getStrongestMetadata(A){let d=A[0].algo;if(d[3]==="5"){return d}for(let p=1;p<A.length;++p){const C=A[p];if(C.algo[3]==="5"){d="sha512";break}else if(d[3]==="3"){continue}else if(C.algo[3]==="3"){d="sha384"}}return d}function filterMetadataListByAlgorithm(A,d){if(A.length===1){return A}let p=0;for(let C=0;C<A.length;++C){if(A[C].algo===d){A[p++]=A[C]}}A.length=p;return A}function compareBase64Mixed(A,d){if(A.length!==d.length){return false}for(let p=0;p<A.length;++p){if(A[p]!==d[p]){if(A[p]==="+"&&d[p]==="-"||A[p]==="/"&&d[p]==="_"){continue}return false}}return true}function tryUpgradeRequestToAPotentiallyTrustworthyURL(A){}function sameOrigin(A,d){if(A.origin===d.origin&&A.origin==="null"){return true}if(A.protocol===d.protocol&&A.hostname===d.hostname&&A.port===d.port){return true}return false}function createDeferredPromise(){let A;let d;const p=new Promise(((p,C)=>{A=p;d=C}));return{promise:p,resolve:A,reject:d}}function isAborted(A){return A.controller.state==="aborted"}function isCancelled(A){return A.controller.state==="aborted"||A.controller.state==="terminated"}const oe={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(oe,null);function normalizeMethod(A){return oe[A.toLowerCase()]??A}function serializeJavascriptValueToJSONString(A){const d=JSON.stringify(A);if(d===undefined){throw new TypeError("Value is not JSON serializable")}te(typeof d==="string");return d}const ae=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(A,d,p){const C={index:0,kind:p,target:A};const S={next(){if(Object.getPrototypeOf(this)!==S){throw new TypeError(`'next' called on an object that does not implement interface ${d} Iterator.`)}const{index:A,kind:p,target:v}=C;const T=v();const _=T.length;if(A>=_){return{value:undefined,done:true}}const V=T[A];C.index=A+1;return iteratorResult(V,p)},[Symbol.toStringTag]:`${d} Iterator`};Object.setPrototypeOf(S,ae);return Object.setPrototypeOf({},S)}function iteratorResult(A,d){let p;switch(d){case"key":{p=A[0];break}case"value":{p=A[1];break}case"key+value":{p=A;break}}return{value:p,done:false}}async function fullyReadBody(A,d,p){const C=d;const S=p;let v;try{v=A.stream.getReader()}catch(A){S(A);return}try{const A=await readAllBytes(v);C(A)}catch(A){S(A)}}let le=globalThis.ReadableStream;function isReadableStreamLike(A){if(!le){le=p(63774).ReadableStream}return A instanceof le||A[Symbol.toStringTag]==="ReadableStream"&&typeof A.tee==="function"}const ce=65535;function isomorphicDecode(A){if(A.length<ce){return String.fromCharCode(...A)}return A.reduce(((A,d)=>A+String.fromCharCode(d)),"")}function readableStreamClose(A){try{A.close()}catch(A){if(!A.message.includes("Controller is already closed")){throw A}}}function isomorphicEncode(A){for(let d=0;d<A.length;d++){te(A.charCodeAt(d)<=255)}return A}async function readAllBytes(A){const d=[];let p=0;while(true){const{done:C,value:S}=await A.read();if(C){return Buffer.concat(d,p)}if(!re(S)){throw new TypeError("Received non-Uint8Array chunk")}d.push(S);p+=S.length}}function urlIsLocal(A){te("protocol"in A);const d=A.protocol;return d==="about:"||d==="blob:"||d==="data:"}function urlHasHttpsScheme(A){if(typeof A==="string"){return A.startsWith("https:")}return A.protocol==="https:"}function urlIsHttpHttpsScheme(A){te("protocol"in A);const d=A.protocol;return d==="http:"||d==="https:"}const ue=Object.hasOwn||((A,d)=>Object.prototype.hasOwnProperty.call(A,d));A.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:ee,toUSVString:Z,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:V,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:ue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:oe,parseMetadata:parseMetadata}},90185:(A,d,p)=>{const{types:C}=p(39023);const{hasOwn:S,toUSVString:v}=p(58524);const T={};T.converters={};T.util={};T.errors={};T.errors.exception=function(A){return new TypeError(`${A.header}: ${A.message}`)};T.errors.conversionFailed=function(A){const d=A.types.length===1?"":" one of";const p=`${A.argument} could not be converted to`+`${d}: ${A.types.join(", ")}.`;return T.errors.exception({header:A.prefix,message:p})};T.errors.invalidArgument=function(A){return T.errors.exception({header:A.prefix,message:`"${A.value}" is an invalid ${A.type}.`})};T.brandCheck=function(A,d,p=undefined){if(p?.strict!==false&&!(A instanceof d)){throw new TypeError("Illegal invocation")}else{return A?.[Symbol.toStringTag]===d.prototype[Symbol.toStringTag]}};T.argumentLengthCheck=function({length:A},d,p){if(A<d){throw T.errors.exception({message:`${d} argument${d!==1?"s":""} required, `+`but${A?" only":""} ${A} found.`,...p})}};T.illegalConstructor=function(){throw T.errors.exception({header:"TypeError",message:"Illegal constructor"})};T.util.Type=function(A){switch(typeof A){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(A===null){return"Null"}return"Object"}}};T.util.ConvertToInt=function(A,d,p,C={}){let S;let v;if(d===64){S=Math.pow(2,53)-1;if(p==="unsigned"){v=0}else{v=Math.pow(-2,53)+1}}else if(p==="unsigned"){v=0;S=Math.pow(2,d)-1}else{v=Math.pow(-2,d)-1;S=Math.pow(2,d-1)-1}let _=Number(A);if(_===0){_=0}if(C.enforceRange===true){if(Number.isNaN(_)||_===Number.POSITIVE_INFINITY||_===Number.NEGATIVE_INFINITY){throw T.errors.exception({header:"Integer conversion",message:`Could not convert ${A} to an integer.`})}_=T.util.IntegerPart(_);if(_<v||_>S){throw T.errors.exception({header:"Integer conversion",message:`Value must be between ${v}-${S}, got ${_}.`})}return _}if(!Number.isNaN(_)&&C.clamp===true){_=Math.min(Math.max(_,v),S);if(Math.floor(_)%2===0){_=Math.floor(_)}else{_=Math.ceil(_)}return _}if(Number.isNaN(_)||_===0&&Object.is(0,_)||_===Number.POSITIVE_INFINITY||_===Number.NEGATIVE_INFINITY){return 0}_=T.util.IntegerPart(_);_=_%Math.pow(2,d);if(p==="signed"&&_>=Math.pow(2,d)-1){return _-Math.pow(2,d)}return _};T.util.IntegerPart=function(A){const d=Math.floor(Math.abs(A));if(A<0){return-1*d}return d};T.sequenceConverter=function(A){return d=>{if(T.util.Type(d)!=="Object"){throw T.errors.exception({header:"Sequence",message:`Value of type ${T.util.Type(d)} is not an Object.`})}const p=d?.[Symbol.iterator]?.();const C=[];if(p===undefined||typeof p.next!=="function"){throw T.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:d,value:S}=p.next();if(d){break}C.push(A(S))}return C}};T.recordConverter=function(A,d){return p=>{if(T.util.Type(p)!=="Object"){throw T.errors.exception({header:"Record",message:`Value of type ${T.util.Type(p)} is not an Object.`})}const S={};if(!C.isProxy(p)){const C=Object.keys(p);for(const v of C){const C=A(v);const T=d(p[v]);S[C]=T}return S}const v=Reflect.ownKeys(p);for(const C of v){const v=Reflect.getOwnPropertyDescriptor(p,C);if(v?.enumerable){const v=A(C);const T=d(p[C]);S[v]=T}}return S}};T.interfaceConverter=function(A){return(d,p={})=>{if(p.strict!==false&&!(d instanceof A)){throw T.errors.exception({header:A.name,message:`Expected ${d} to be an instance of ${A.name}.`})}return d}};T.dictionaryConverter=function(A){return d=>{const p=T.util.Type(d);const C={};if(p==="Null"||p==="Undefined"){return C}else if(p!=="Object"){throw T.errors.exception({header:"Dictionary",message:`Expected ${d} to be one of: Null, Undefined, Object.`})}for(const p of A){const{key:A,defaultValue:v,required:_,converter:V}=p;if(_===true){if(!S(d,A)){throw T.errors.exception({header:"Dictionary",message:`Missing required key "${A}".`})}}let Z=d[A];const ee=S(p,"defaultValue");if(ee&&Z!==null){Z=Z??v}if(_||ee||Z!==undefined){Z=V(Z);if(p.allowedValues&&!p.allowedValues.includes(Z)){throw T.errors.exception({header:"Dictionary",message:`${Z} is not an accepted type. Expected one of ${p.allowedValues.join(", ")}.`})}C[A]=Z}}return C}};T.nullableConverter=function(A){return d=>{if(d===null){return d}return A(d)}};T.converters.DOMString=function(A,d={}){if(A===null&&d.legacyNullToEmptyString){return""}if(typeof A==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(A)};T.converters.ByteString=function(A){const d=T.converters.DOMString(A);for(let A=0;A<d.length;A++){if(d.charCodeAt(A)>255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${A} has a value of ${d.charCodeAt(A)} which is greater than 255.`)}}return d};T.converters.USVString=v;T.converters.boolean=function(A){const d=Boolean(A);return d};T.converters.any=function(A){return A};T.converters["long long"]=function(A){const d=T.util.ConvertToInt(A,64,"signed");return d};T.converters["unsigned long long"]=function(A){const d=T.util.ConvertToInt(A,64,"unsigned");return d};T.converters["unsigned long"]=function(A){const d=T.util.ConvertToInt(A,32,"unsigned");return d};T.converters["unsigned short"]=function(A,d){const p=T.util.ConvertToInt(A,16,"unsigned",d);return p};T.converters.ArrayBuffer=function(A,d={}){if(T.util.Type(A)!=="Object"||!C.isAnyArrayBuffer(A)){throw T.errors.conversionFailed({prefix:`${A}`,argument:`${A}`,types:["ArrayBuffer"]})}if(d.allowShared===false&&C.isSharedArrayBuffer(A)){throw T.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};T.converters.TypedArray=function(A,d,p={}){if(T.util.Type(A)!=="Object"||!C.isTypedArray(A)||A.constructor.name!==d.name){throw T.errors.conversionFailed({prefix:`${d.name}`,argument:`${A}`,types:[d.name]})}if(p.allowShared===false&&C.isSharedArrayBuffer(A.buffer)){throw T.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};T.converters.DataView=function(A,d={}){if(T.util.Type(A)!=="Object"||!C.isDataView(A)){throw T.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(d.allowShared===false&&C.isSharedArrayBuffer(A.buffer)){throw T.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};T.converters.BufferSource=function(A,d={}){if(C.isAnyArrayBuffer(A)){return T.converters.ArrayBuffer(A,d)}if(C.isTypedArray(A)){return T.converters.TypedArray(A,A.constructor)}if(C.isDataView(A)){return T.converters.DataView(A,d)}throw new TypeError(`Could not convert ${A} to a BufferSource.`)};T.converters["sequence<ByteString>"]=T.sequenceConverter(T.converters.ByteString);T.converters["sequence<sequence<ByteString>>"]=T.sequenceConverter(T.converters["sequence<ByteString>"]);T.converters["record<ByteString, ByteString>"]=T.recordConverter(T.converters.ByteString,T.converters.ByteString);A.exports={webidl:T}},29187:A=>{function getEncoding(A){if(!A){return"failure"}switch(A.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"}}A.exports={getEncoding:getEncoding}},92151:(A,d,p)=>{const{staticPropertyDescriptors:C,readOperation:S,fireAProgressEvent:v}=p(53350);const{kState:T,kError:_,kResult:V,kEvents:Z,kAborted:ee}=p(70821);const{webidl:te}=p(90185);const{kEnumerableProperty:re}=p(70701);class FileReader extends EventTarget{constructor(){super();this[T]="empty";this[V]=null;this[_]=null;this[Z]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(A){te.brandCheck(this,FileReader);te.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});A=te.converters.Blob(A,{strict:false});S(this,A,"ArrayBuffer")}readAsBinaryString(A){te.brandCheck(this,FileReader);te.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});A=te.converters.Blob(A,{strict:false});S(this,A,"BinaryString")}readAsText(A,d=undefined){te.brandCheck(this,FileReader);te.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});A=te.converters.Blob(A,{strict:false});if(d!==undefined){d=te.converters.DOMString(d)}S(this,A,"Text",d)}readAsDataURL(A){te.brandCheck(this,FileReader);te.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});A=te.converters.Blob(A,{strict:false});S(this,A,"DataURL")}abort(){if(this[T]==="empty"||this[T]==="done"){this[V]=null;return}if(this[T]==="loading"){this[T]="done";this[V]=null}this[ee]=true;v("abort",this);if(this[T]!=="loading"){v("loadend",this)}}get readyState(){te.brandCheck(this,FileReader);switch(this[T]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){te.brandCheck(this,FileReader);return this[V]}get error(){te.brandCheck(this,FileReader);return this[_]}get onloadend(){te.brandCheck(this,FileReader);return this[Z].loadend}set onloadend(A){te.brandCheck(this,FileReader);if(this[Z].loadend){this.removeEventListener("loadend",this[Z].loadend)}if(typeof A==="function"){this[Z].loadend=A;this.addEventListener("loadend",A)}else{this[Z].loadend=null}}get onerror(){te.brandCheck(this,FileReader);return this[Z].error}set onerror(A){te.brandCheck(this,FileReader);if(this[Z].error){this.removeEventListener("error",this[Z].error)}if(typeof A==="function"){this[Z].error=A;this.addEventListener("error",A)}else{this[Z].error=null}}get onloadstart(){te.brandCheck(this,FileReader);return this[Z].loadstart}set onloadstart(A){te.brandCheck(this,FileReader);if(this[Z].loadstart){this.removeEventListener("loadstart",this[Z].loadstart)}if(typeof A==="function"){this[Z].loadstart=A;this.addEventListener("loadstart",A)}else{this[Z].loadstart=null}}get onprogress(){te.brandCheck(this,FileReader);return this[Z].progress}set onprogress(A){te.brandCheck(this,FileReader);if(this[Z].progress){this.removeEventListener("progress",this[Z].progress)}if(typeof A==="function"){this[Z].progress=A;this.addEventListener("progress",A)}else{this[Z].progress=null}}get onload(){te.brandCheck(this,FileReader);return this[Z].load}set onload(A){te.brandCheck(this,FileReader);if(this[Z].load){this.removeEventListener("load",this[Z].load)}if(typeof A==="function"){this[Z].load=A;this.addEventListener("load",A)}else{this[Z].load=null}}get onabort(){te.brandCheck(this,FileReader);return this[Z].abort}set onabort(A){te.brandCheck(this,FileReader);if(this[Z].abort){this.removeEventListener("abort",this[Z].abort)}if(typeof A==="function"){this[Z].abort=A;this.addEventListener("abort",A)}else{this[Z].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:C,LOADING:C,DONE:C,readAsArrayBuffer:re,readAsBinaryString:re,readAsText:re,readAsDataURL:re,abort:re,readyState:re,result:re,error:re,onloadstart:re,onprogress:re,onload:re,onabort:re,onerror:re,onloadend:re,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:C,LOADING:C,DONE:C});A.exports={FileReader:FileReader}},22889:(A,d,p)=>{const{webidl:C}=p(90185);const S=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(A,d={}){A=C.converters.DOMString(A);d=C.converters.ProgressEventInit(d??{});super(A,d);this[S]={lengthComputable:d.lengthComputable,loaded:d.loaded,total:d.total}}get lengthComputable(){C.brandCheck(this,ProgressEvent);return this[S].lengthComputable}get loaded(){C.brandCheck(this,ProgressEvent);return this[S].loaded}get total(){C.brandCheck(this,ProgressEvent);return this[S].total}}C.converters.ProgressEventInit=C.dictionaryConverter([{key:"lengthComputable",converter:C.converters.boolean,defaultValue:false},{key:"loaded",converter:C.converters["unsigned long long"],defaultValue:0},{key:"total",converter:C.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:C.converters.boolean,defaultValue:false},{key:"cancelable",converter:C.converters.boolean,defaultValue:false},{key:"composed",converter:C.converters.boolean,defaultValue:false}]);A.exports={ProgressEvent:ProgressEvent}},70821:A=>{A.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")}},53350:(A,d,p)=>{const{kState:C,kError:S,kResult:v,kAborted:T,kLastProgressEventFired:_}=p(70821);const{ProgressEvent:V}=p(22889);const{getEncoding:Z}=p(29187);const{DOMException:ee}=p(21411);const{serializeAMimeType:te,parseMIMEType:re}=p(32059);const{types:ne}=p(39023);const{StringDecoder:ie}=p(13193);const{btoa:se}=p(20181);const oe={enumerable:true,writable:false,configurable:false};function readOperation(A,d,p,V){if(A[C]==="loading"){throw new ee("Invalid state","InvalidStateError")}A[C]="loading";A[v]=null;A[S]=null;const Z=d.stream();const te=Z.getReader();const re=[];let ie=te.read();let se=true;(async()=>{while(!A[T]){try{const{done:Z,value:ee}=await ie;if(se&&!A[T]){queueMicrotask((()=>{fireAProgressEvent("loadstart",A)}))}se=false;if(!Z&&ne.isUint8Array(ee)){re.push(ee);if((A[_]===undefined||Date.now()-A[_]>=50)&&!A[T]){A[_]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",A)}))}ie=te.read()}else if(Z){queueMicrotask((()=>{A[C]="done";try{const C=packageData(re,p,d.type,V);if(A[T]){return}A[v]=C;fireAProgressEvent("load",A)}catch(d){A[S]=d;fireAProgressEvent("error",A)}if(A[C]!=="loading"){fireAProgressEvent("loadend",A)}}));break}}catch(d){if(A[T]){return}queueMicrotask((()=>{A[C]="done";A[S]=d;fireAProgressEvent("error",A);if(A[C]!=="loading"){fireAProgressEvent("loadend",A)}}));break}}})()}function fireAProgressEvent(A,d){const p=new V(A,{bubbles:false,cancelable:false});d.dispatchEvent(p)}function packageData(A,d,p,C){switch(d){case"DataURL":{let d="data:";const C=re(p||"application/octet-stream");if(C!=="failure"){d+=te(C)}d+=";base64,";const S=new ie("latin1");for(const p of A){d+=se(S.write(p))}d+=se(S.end());return d}case"Text":{let d="failure";if(C){d=Z(C)}if(d==="failure"&&p){const A=re(p);if(A!=="failure"){d=Z(A.parameters.get("charset"))}}if(d==="failure"){d="UTF-8"}return decode(A,d)}case"ArrayBuffer":{const d=combineByteSequences(A);return d.buffer}case"BinaryString":{let d="";const p=new ie("latin1");for(const C of A){d+=p.write(C)}d+=p.end();return d}}}function decode(A,d){const p=combineByteSequences(A);const C=BOMSniffing(p);let S=0;if(C!==null){d=C;S=C==="UTF-8"?3:2}const v=p.slice(S);return new TextDecoder(d).decode(v)}function BOMSniffing(A){const[d,p,C]=A;if(d===239&&p===187&&C===191){return"UTF-8"}else if(d===254&&p===255){return"UTF-16BE"}else if(d===255&&p===254){return"UTF-16LE"}return null}function combineByteSequences(A){const d=A.reduce(((A,d)=>A+d.byteLength),0);let p=0;return A.reduce(((A,d)=>{A.set(d,p);p+=d.byteLength;return A}),new Uint8Array(d))}A.exports={staticPropertyDescriptors:oe,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},64662:(A,d,p)=>{const C=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:S}=p(21970);const v=p(34724);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new v)}function setGlobalDispatcher(A){if(!A||typeof A.dispatch!=="function"){throw new S("Argument agent must implement Agent")}Object.defineProperty(globalThis,C,{value:A,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[C]}A.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},36459:A=>{A.exports=class DecoratorHandler{constructor(A){this.handler=A}onConnect(...A){return this.handler.onConnect(...A)}onError(...A){return this.handler.onError(...A)}onUpgrade(...A){return this.handler.onUpgrade(...A)}onHeaders(...A){return this.handler.onHeaders(...A)}onData(...A){return this.handler.onData(...A)}onComplete(...A){return this.handler.onComplete(...A)}onBodySent(...A){return this.handler.onBodySent(...A)}}},70762:(A,d,p)=>{const C=p(70701);const{kBodyUsed:S}=p(54980);const v=p(42613);const{InvalidArgumentError:T}=p(21970);const _=p(24434);const V=[300,301,302,303,307,308];const Z=Symbol("body");class BodyAsyncIterable{constructor(A){this[Z]=A;this[S]=false}async*[Symbol.asyncIterator](){v(!this[S],"disturbed");this[S]=true;yield*this[Z]}}class RedirectHandler{constructor(A,d,p,V){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new T("maxRedirections must be a positive number")}C.validateHandler(V,p.method,p.upgrade);this.dispatch=A;this.location=null;this.abort=null;this.opts={...p,maxRedirections:0};this.maxRedirections=d;this.handler=V;this.history=[];if(C.isStream(this.opts.body)){if(C.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){v(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[S]=false;_.prototype.on.call(this.opts.body,"data",(function(){this[S]=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)&&C.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(A){this.abort=A;this.handler.onConnect(A,{history:this.history})}onUpgrade(A,d,p){this.handler.onUpgrade(A,d,p)}onError(A){this.handler.onError(A)}onHeaders(A,d,p,S){this.location=this.history.length>=this.maxRedirections||C.isDisturbed(this.opts.body)?null:parseLocation(A,d);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(A,d,p,S)}const{origin:v,pathname:T,search:_}=C.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const V=_?`${T}${_}`:T;this.opts.headers=cleanRequestHeaders(this.opts.headers,A===303,this.opts.origin!==v);this.opts.path=V;this.opts.origin=v;this.opts.maxRedirections=0;this.opts.query=null;if(A===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(A){if(this.location){}else{return this.handler.onData(A)}}onComplete(A){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(A)}}onBodySent(A){if(this.handler.onBodySent){this.handler.onBodySent(A)}}}function parseLocation(A,d){if(V.indexOf(A)===-1){return null}for(let A=0;A<d.length;A+=2){if(d[A].toString().toLowerCase()==="location"){return d[A+1]}}}function shouldRemoveHeader(A,d,p){if(A.length===4){return C.headerNameToString(A)==="host"}if(d&&C.headerNameToString(A).startsWith("content-")){return true}if(p&&(A.length===13||A.length===6||A.length===19)){const d=C.headerNameToString(A);return d==="authorization"||d==="cookie"||d==="proxy-authorization"}return false}function cleanRequestHeaders(A,d,p){const C=[];if(Array.isArray(A)){for(let S=0;S<A.length;S+=2){if(!shouldRemoveHeader(A[S],d,p)){C.push(A[S],A[S+1])}}}else if(A&&typeof A==="object"){for(const S of Object.keys(A)){if(!shouldRemoveHeader(S,d,p)){C.push(S,A[S])}}}else{v(A==null,"headers must be an object or an array")}return C}A.exports=RedirectHandler},95970:(A,d,p)=>{const C=p(42613);const{kRetryHandlerDefaultRetry:S}=p(54980);const{RequestRetryError:v}=p(21970);const{isDisturbed:T,parseHeaders:_,parseRangeHeader:V}=p(70701);function calculateRetryAfterHeader(A){const d=Date.now();const p=new Date(A).getTime()-d;return p}class RetryHandler{constructor(A,d){const{retryOptions:p,...C}=A;const{retry:v,maxRetries:T,maxTimeout:_,minTimeout:V,timeoutFactor:Z,methods:ee,errorCodes:te,retryAfter:re,statusCodes:ne}=p??{};this.dispatch=d.dispatch;this.handler=d.handler;this.opts=C;this.abort=null;this.aborted=false;this.retryOpts={retry:v??RetryHandler[S],retryAfter:re??true,maxTimeout:_??30*1e3,timeout:V??500,timeoutFactor:Z??2,maxRetries:T??5,methods:ee??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:ne??[500,502,503,504,429],errorCodes:te??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((A=>{this.aborted=true;if(this.abort){this.abort(A)}else{this.reason=A}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(A,d,p){if(this.handler.onUpgrade){this.handler.onUpgrade(A,d,p)}}onConnect(A){if(this.aborted){A(this.reason)}else{this.abort=A}}onBodySent(A){if(this.handler.onBodySent)return this.handler.onBodySent(A)}static[S](A,{state:d,opts:p},C){const{statusCode:S,code:v,headers:T}=A;const{method:_,retryOptions:V}=p;const{maxRetries:Z,timeout:ee,maxTimeout:te,timeoutFactor:re,statusCodes:ne,errorCodes:ie,methods:se}=V;let{counter:oe,currentTimeout:ae}=d;ae=ae!=null&&ae>0?ae:ee;if(v&&v!=="UND_ERR_REQ_RETRY"&&v!=="UND_ERR_SOCKET"&&!ie.includes(v)){C(A);return}if(Array.isArray(se)&&!se.includes(_)){C(A);return}if(S!=null&&Array.isArray(ne)&&!ne.includes(S)){C(A);return}if(oe>Z){C(A);return}let le=T!=null&&T["retry-after"];if(le){le=Number(le);le=isNaN(le)?calculateRetryAfterHeader(le):le*1e3}const ce=le>0?Math.min(le,te):Math.min(ae*re**oe,te);d.currentTimeout=ce;setTimeout((()=>C(null)),ce)}onHeaders(A,d,p,S){const T=_(d);this.retryCount+=1;if(A>=300){this.abort(new v("Request failed",A,{headers:T,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(A!==206){return true}const d=V(T["content-range"]);if(!d){this.abort(new v("Content-Range mismatch",A,{headers:T,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==T.etag){this.abort(new v("ETag mismatch",A,{headers:T,count:this.retryCount}));return false}const{start:S,size:_,end:Z=_}=d;C(this.start===S,"content-range mismatch");C(this.end==null||this.end===Z,"content-range mismatch");this.resume=p;return true}if(this.end==null){if(A===206){const v=V(T["content-range"]);if(v==null){return this.handler.onHeaders(A,d,p,S)}const{start:_,size:Z,end:ee=Z}=v;C(_!=null&&Number.isFinite(_)&&this.start!==_,"content-range mismatch");C(Number.isFinite(_));C(ee!=null&&Number.isFinite(ee)&&this.end!==ee,"invalid content-length");this.start=_;this.end=ee}if(this.end==null){const A=T["content-length"];this.end=A!=null?Number(A):null}C(Number.isFinite(this.start));C(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=p;this.etag=T.etag!=null?T.etag:null;return this.handler.onHeaders(A,d,p,S)}const Z=new v("Request failed",A,{headers:T,count:this.retryCount});this.abort(Z);return false}onData(A){this.start+=A.length;return this.handler.onData(A)}onComplete(A){this.retryCount=0;return this.handler.onComplete(A)}onError(A){if(this.aborted||T(this.opts.body)){return this.handler.onError(A)}this.retryOpts.retry(A,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(A){if(A!=null||this.aborted||T(this.opts.body)){return this.handler.onError(A)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(A){this.handler.onError(A)}}}}A.exports=RetryHandler},32750:(A,d,p)=>{const C=p(70762);function createRedirectInterceptor({maxRedirections:A}){return d=>function Intercept(p,S){const{maxRedirections:v=A}=p;if(!v){return d(p,S)}const T=new C(d,v,p,S);p={...p,maxRedirections:0};return d(p,T)}}A.exports=createRedirectInterceptor},89791:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SPECIAL_HEADERS=d.HEADER_STATE=d.MINOR=d.MAJOR=d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS=d.TOKEN=d.STRICT_TOKEN=d.HEX=d.URL_CHAR=d.STRICT_URL_CHAR=d.USERINFO_CHARS=d.MARK=d.ALPHANUM=d.NUM=d.HEX_MAP=d.NUM_MAP=d.ALPHA=d.FINISH=d.H_METHOD_MAP=d.METHOD_MAP=d.METHODS_RTSP=d.METHODS_ICE=d.METHODS_HTTP=d.METHODS=d.LENIENT_FLAGS=d.FLAGS=d.TYPE=d.ERROR=void 0;const C=p(67999);var S;(function(A){A[A["OK"]=0]="OK";A[A["INTERNAL"]=1]="INTERNAL";A[A["STRICT"]=2]="STRICT";A[A["LF_EXPECTED"]=3]="LF_EXPECTED";A[A["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";A[A["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";A[A["INVALID_METHOD"]=6]="INVALID_METHOD";A[A["INVALID_URL"]=7]="INVALID_URL";A[A["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";A[A["INVALID_VERSION"]=9]="INVALID_VERSION";A[A["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";A[A["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";A[A["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";A[A["INVALID_STATUS"]=13]="INVALID_STATUS";A[A["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";A[A["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";A[A["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";A[A["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";A[A["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";A[A["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";A[A["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";A[A["PAUSED"]=21]="PAUSED";A[A["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";A[A["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";A[A["USER"]=24]="USER"})(S=d.ERROR||(d.ERROR={}));var v;(function(A){A[A["BOTH"]=0]="BOTH";A[A["REQUEST"]=1]="REQUEST";A[A["RESPONSE"]=2]="RESPONSE"})(v=d.TYPE||(d.TYPE={}));var T;(function(A){A[A["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";A[A["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";A[A["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";A[A["CHUNKED"]=8]="CHUNKED";A[A["UPGRADE"]=16]="UPGRADE";A[A["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";A[A["SKIPBODY"]=64]="SKIPBODY";A[A["TRAILING"]=128]="TRAILING";A[A["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(T=d.FLAGS||(d.FLAGS={}));var _;(function(A){A[A["HEADERS"]=1]="HEADERS";A[A["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";A[A["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(_=d.LENIENT_FLAGS||(d.LENIENT_FLAGS={}));var V;(function(A){A[A["DELETE"]=0]="DELETE";A[A["GET"]=1]="GET";A[A["HEAD"]=2]="HEAD";A[A["POST"]=3]="POST";A[A["PUT"]=4]="PUT";A[A["CONNECT"]=5]="CONNECT";A[A["OPTIONS"]=6]="OPTIONS";A[A["TRACE"]=7]="TRACE";A[A["COPY"]=8]="COPY";A[A["LOCK"]=9]="LOCK";A[A["MKCOL"]=10]="MKCOL";A[A["MOVE"]=11]="MOVE";A[A["PROPFIND"]=12]="PROPFIND";A[A["PROPPATCH"]=13]="PROPPATCH";A[A["SEARCH"]=14]="SEARCH";A[A["UNLOCK"]=15]="UNLOCK";A[A["BIND"]=16]="BIND";A[A["REBIND"]=17]="REBIND";A[A["UNBIND"]=18]="UNBIND";A[A["ACL"]=19]="ACL";A[A["REPORT"]=20]="REPORT";A[A["MKACTIVITY"]=21]="MKACTIVITY";A[A["CHECKOUT"]=22]="CHECKOUT";A[A["MERGE"]=23]="MERGE";A[A["M-SEARCH"]=24]="M-SEARCH";A[A["NOTIFY"]=25]="NOTIFY";A[A["SUBSCRIBE"]=26]="SUBSCRIBE";A[A["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";A[A["PATCH"]=28]="PATCH";A[A["PURGE"]=29]="PURGE";A[A["MKCALENDAR"]=30]="MKCALENDAR";A[A["LINK"]=31]="LINK";A[A["UNLINK"]=32]="UNLINK";A[A["SOURCE"]=33]="SOURCE";A[A["PRI"]=34]="PRI";A[A["DESCRIBE"]=35]="DESCRIBE";A[A["ANNOUNCE"]=36]="ANNOUNCE";A[A["SETUP"]=37]="SETUP";A[A["PLAY"]=38]="PLAY";A[A["PAUSE"]=39]="PAUSE";A[A["TEARDOWN"]=40]="TEARDOWN";A[A["GET_PARAMETER"]=41]="GET_PARAMETER";A[A["SET_PARAMETER"]=42]="SET_PARAMETER";A[A["REDIRECT"]=43]="REDIRECT";A[A["RECORD"]=44]="RECORD";A[A["FLUSH"]=45]="FLUSH"})(V=d.METHODS||(d.METHODS={}));d.METHODS_HTTP=[V.DELETE,V.GET,V.HEAD,V.POST,V.PUT,V.CONNECT,V.OPTIONS,V.TRACE,V.COPY,V.LOCK,V.MKCOL,V.MOVE,V.PROPFIND,V.PROPPATCH,V.SEARCH,V.UNLOCK,V.BIND,V.REBIND,V.UNBIND,V.ACL,V.REPORT,V.MKACTIVITY,V.CHECKOUT,V.MERGE,V["M-SEARCH"],V.NOTIFY,V.SUBSCRIBE,V.UNSUBSCRIBE,V.PATCH,V.PURGE,V.MKCALENDAR,V.LINK,V.UNLINK,V.PRI,V.SOURCE];d.METHODS_ICE=[V.SOURCE];d.METHODS_RTSP=[V.OPTIONS,V.DESCRIBE,V.ANNOUNCE,V.SETUP,V.PLAY,V.PAUSE,V.TEARDOWN,V.GET_PARAMETER,V.SET_PARAMETER,V.REDIRECT,V.RECORD,V.FLUSH,V.GET,V.POST];d.METHOD_MAP=C.enumToMap(V);d.H_METHOD_MAP={};Object.keys(d.METHOD_MAP).forEach((A=>{if(/^H/.test(A)){d.H_METHOD_MAP[A]=d.METHOD_MAP[A]}}));var Z;(function(A){A[A["SAFE"]=0]="SAFE";A[A["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";A[A["UNSAFE"]=2]="UNSAFE"})(Z=d.FINISH||(d.FINISH={}));d.ALPHA=[];for(let A="A".charCodeAt(0);A<="Z".charCodeAt(0);A++){d.ALPHA.push(String.fromCharCode(A));d.ALPHA.push(String.fromCharCode(A+32))}d.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};d.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};d.NUM=["0","1","2","3","4","5","6","7","8","9"];d.ALPHANUM=d.ALPHA.concat(d.NUM);d.MARK=["-","_",".","!","~","*","'","(",")"];d.USERINFO_CHARS=d.ALPHANUM.concat(d.MARK).concat(["%",";",":","&","=","+","$",","]);d.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(d.ALPHANUM);d.URL_CHAR=d.STRICT_URL_CHAR.concat(["\t","\f"]);for(let A=128;A<=255;A++){d.URL_CHAR.push(A)}d.HEX=d.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);d.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(d.ALPHANUM);d.TOKEN=d.STRICT_TOKEN.concat([" "]);d.HEADER_CHARS=["\t"];for(let A=32;A<=255;A++){if(A!==127){d.HEADER_CHARS.push(A)}}d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS.filter((A=>A!==44));d.MAJOR=d.NUM_MAP;d.MINOR=d.MAJOR;var ee;(function(A){A[A["GENERAL"]=0]="GENERAL";A[A["CONNECTION"]=1]="CONNECTION";A[A["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";A[A["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";A[A["UPGRADE"]=4]="UPGRADE";A[A["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";A[A["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";A[A["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";A[A["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(ee=d.HEADER_STATE||(d.HEADER_STATE={}));d.SPECIAL_HEADERS={connection:ee.CONNECTION,"content-length":ee.CONTENT_LENGTH,"proxy-connection":ee.CONNECTION,"transfer-encoding":ee.TRANSFER_ENCODING,upgrade:ee.UPGRADE}},14729:A=>{A.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh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BuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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AQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnAELIBBBFUYNVyAAQQA2AhwgACABNgIUIABBzI6AgAA2AhAgAEEgNgIMQQAhEAybAQsgAEEANgIAIBBBAWohAUEkIRALIAAgEDoAKSAAKAIEIRAgAEEANgIEIAAgECABEKuAgIAAIhANVCABIQEMPgsgAEEANgIAC0EAIRAgAEEANgIcIAAgBDYCFCAAQfGbgIAANgIQIABBBjYCDAyXAQsgAUEVRg1QIABBADYCHCAAIAU2AhQgAE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AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4fICEjJSg/QEFERUZHSElKS0xNT1BRUlPeA1dZW1xdYGJlZmdoaWprbG1vcHFyc3R1dnd4eXp7fH1+gAGCAYUBhgGHAYkBiwGMAY0BjgGPAZABkQGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAb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QgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQytAQsgAEHZADYCHCAAIAE2AhQgACAENgIMQQAhEAy9AQsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMqwELIABB2gA2AhwgACABNgIUIAAgBDYCDEEAIRAMvAELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0w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DAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},67999:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.enumToMap=void 0;function enumToMap(A){const d={};Object.keys(A).forEach((p=>{const C=A[p];if(typeof C==="number"){d[p]=C}}));return d}d.enumToMap=enumToMap},64280:(A,d,p)=>{const{kClients:C}=p(54980);const S=p(34724);const{kAgent:v,kMockAgentSet:T,kMockAgentGet:_,kDispatches:V,kIsMockActive:Z,kNetConnect:ee,kGetNetConnect:te,kOptions:re,kFactory:ne}=p(57980);const ie=p(11134);const se=p(20723);const{matchValue:oe,buildMockOptions:ae}=p(60640);const{InvalidArgumentError:le,UndiciError:ce}=p(21970);const ue=p(55872);const Ae=p(79376);const de=p(20135);class FakeWeakRef{constructor(A){this.value=A}deref(){return this.value}}class MockAgent extends ue{constructor(A){super(A);this[ee]=true;this[Z]=true;if(A&&A.agent&&typeof A.agent.dispatch!=="function"){throw new le("Argument opts.agent must implement Agent")}const d=A&&A.agent?A.agent:new S(A);this[v]=d;this[C]=d[C];this[re]=ae(A)}get(A){let d=this[_](A);if(!d){d=this[ne](A);this[T](A,d)}return d}dispatch(A,d){this.get(A.origin);return this[v].dispatch(A,d)}async close(){await this[v].close();this[C].clear()}deactivate(){this[Z]=false}activate(){this[Z]=true}enableNetConnect(A){if(typeof A==="string"||typeof A==="function"||A instanceof RegExp){if(Array.isArray(this[ee])){this[ee].push(A)}else{this[ee]=[A]}}else if(typeof A==="undefined"){this[ee]=true}else{throw new le("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[ee]=false}get isMockActive(){return this[Z]}[T](A,d){this[C].set(A,new FakeWeakRef(d))}[ne](A){const d=Object.assign({agent:this},this[re]);return this[re]&&this[re].connections===1?new ie(A,d):new se(A,d)}[_](A){const d=this[C].get(A);if(d){return d.deref()}if(typeof A!=="string"){const d=this[ne]("http://localhost:9999");this[T](A,d);return d}for(const[d,p]of Array.from(this[C])){const C=p.deref();if(C&&typeof d!=="string"&&oe(d,A)){const d=this[ne](A);this[T](A,d);d[V]=C[V];return d}}}[te](){return this[ee]}pendingInterceptors(){const A=this[C];return Array.from(A.entries()).flatMap((([A,d])=>d.deref()[V].map((d=>({...d,origin:A}))))).filter((({pending:A})=>A))}assertNoPendingInterceptors({pendingInterceptorsFormatter:A=new de}={}){const d=this.pendingInterceptors();if(d.length===0){return}const p=new Ae("interceptor","interceptors").pluralize(d.length);throw new ce(`\n${p.count} ${p.noun} ${p.is} pending:\n\n${A.format(d)}\n`.trim())}}A.exports=MockAgent},11134:(A,d,p)=>{const{promisify:C}=p(39023);const S=p(56530);const{buildMockDispatch:v}=p(60640);const{kDispatches:T,kMockAgent:_,kClose:V,kOriginalClose:Z,kOrigin:ee,kOriginalDispatch:te,kConnected:re}=p(57980);const{MockInterceptor:ne}=p(94402);const ie=p(54980);const{InvalidArgumentError:se}=p(21970);class MockClient extends S{constructor(A,d){super(A,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new se("Argument opts.agent must implement Agent")}this[_]=d.agent;this[ee]=A;this[T]=[];this[re]=1;this[te]=this.dispatch;this[Z]=this.close.bind(this);this.dispatch=v.call(this);this.close=this[V]}get[ie.kConnected](){return this[re]}intercept(A){return new ne(A,this[T])}async[V](){await C(this[Z])();this[re]=0;this[_][ie.kClients].delete(this[ee])}}A.exports=MockClient},88074:(A,d,p)=>{const{UndiciError:C}=p(21970);class MockNotMatchedError extends C{constructor(A){super(A);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=A||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}A.exports={MockNotMatchedError:MockNotMatchedError}},94402:(A,d,p)=>{const{getResponseData:C,buildKey:S,addMockDispatch:v}=p(60640);const{kDispatches:T,kDispatchKey:_,kDefaultHeaders:V,kDefaultTrailers:Z,kContentLength:ee,kMockDispatch:te}=p(57980);const{InvalidArgumentError:re}=p(21970);const{buildURL:ne}=p(70701);class MockScope{constructor(A){this[te]=A}delay(A){if(typeof A!=="number"||!Number.isInteger(A)||A<=0){throw new re("waitInMs must be a valid integer > 0")}this[te].delay=A;return this}persist(){this[te].persist=true;return this}times(A){if(typeof A!=="number"||!Number.isInteger(A)||A<=0){throw new re("repeatTimes must be a valid integer > 0")}this[te].times=A;return this}}class MockInterceptor{constructor(A,d){if(typeof A!=="object"){throw new re("opts must be an object")}if(typeof A.path==="undefined"){throw new re("opts.path must be defined")}if(typeof A.method==="undefined"){A.method="GET"}if(typeof A.path==="string"){if(A.query){A.path=ne(A.path,A.query)}else{const d=new URL(A.path,"data://");A.path=d.pathname+d.search}}if(typeof A.method==="string"){A.method=A.method.toUpperCase()}this[_]=S(A);this[T]=d;this[V]={};this[Z]={};this[ee]=false}createMockScopeDispatchData(A,d,p={}){const S=C(d);const v=this[ee]?{"content-length":S.length}:{};const T={...this[V],...v,...p.headers};const _={...this[Z],...p.trailers};return{statusCode:A,data:d,headers:T,trailers:_}}validateReplyParameters(A,d,p){if(typeof A==="undefined"){throw new re("statusCode must be defined")}if(typeof d==="undefined"){throw new re("data must be defined")}if(typeof p!=="object"){throw new re("responseOptions must be an object")}}reply(A){if(typeof A==="function"){const wrappedDefaultsCallback=d=>{const p=A(d);if(typeof p!=="object"){throw new re("reply options callback must return an object")}const{statusCode:C,data:S="",responseOptions:v={}}=p;this.validateReplyParameters(C,S,v);return{...this.createMockScopeDispatchData(C,S,v)}};const d=v(this[T],this[_],wrappedDefaultsCallback);return new MockScope(d)}const[d,p="",C={}]=[...arguments];this.validateReplyParameters(d,p,C);const S=this.createMockScopeDispatchData(d,p,C);const V=v(this[T],this[_],S);return new MockScope(V)}replyWithError(A){if(typeof A==="undefined"){throw new re("error must be defined")}const d=v(this[T],this[_],{error:A});return new MockScope(d)}defaultReplyHeaders(A){if(typeof A==="undefined"){throw new re("headers must be defined")}this[V]=A;return this}defaultReplyTrailers(A){if(typeof A==="undefined"){throw new re("trailers must be defined")}this[Z]=A;return this}replyContentLength(){this[ee]=true;return this}}A.exports.MockInterceptor=MockInterceptor;A.exports.MockScope=MockScope},20723:(A,d,p)=>{const{promisify:C}=p(39023);const S=p(86607);const{buildMockDispatch:v}=p(60640);const{kDispatches:T,kMockAgent:_,kClose:V,kOriginalClose:Z,kOrigin:ee,kOriginalDispatch:te,kConnected:re}=p(57980);const{MockInterceptor:ne}=p(94402);const ie=p(54980);const{InvalidArgumentError:se}=p(21970);class MockPool extends S{constructor(A,d){super(A,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new se("Argument opts.agent must implement Agent")}this[_]=d.agent;this[ee]=A;this[T]=[];this[re]=1;this[te]=this.dispatch;this[Z]=this.close.bind(this);this.dispatch=v.call(this);this.close=this[V]}get[ie.kConnected](){return this[re]}intercept(A){return new ne(A,this[T])}async[V](){await C(this[Z])();this[re]=0;this[_][ie.kClients].delete(this[ee])}}A.exports=MockPool},57980:A=>{A.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")}},60640:(A,d,p)=>{const{MockNotMatchedError:C}=p(88074);const{kDispatches:S,kMockAgent:v,kOriginalDispatch:T,kOrigin:_,kGetNetConnect:V}=p(57980);const{buildURL:Z,nop:ee}=p(70701);const{STATUS_CODES:te}=p(58611);const{types:{isPromise:re}}=p(39023);function matchValue(A,d){if(typeof A==="string"){return A===d}if(A instanceof RegExp){return A.test(d)}if(typeof A==="function"){return A(d)===true}return false}function lowerCaseEntries(A){return Object.fromEntries(Object.entries(A).map((([A,d])=>[A.toLocaleLowerCase(),d])))}function getHeaderByName(A,d){if(Array.isArray(A)){for(let p=0;p<A.length;p+=2){if(A[p].toLocaleLowerCase()===d.toLocaleLowerCase()){return A[p+1]}}return undefined}else if(typeof A.get==="function"){return A.get(d)}else{return lowerCaseEntries(A)[d.toLocaleLowerCase()]}}function buildHeadersFromArray(A){const d=A.slice();const p=[];for(let A=0;A<d.length;A+=2){p.push([d[A],d[A+1]])}return Object.fromEntries(p)}function matchHeaders(A,d){if(typeof A.headers==="function"){if(Array.isArray(d)){d=buildHeadersFromArray(d)}return A.headers(d?lowerCaseEntries(d):{})}if(typeof A.headers==="undefined"){return true}if(typeof d!=="object"||typeof A.headers!=="object"){return false}for(const[p,C]of Object.entries(A.headers)){const A=getHeaderByName(d,p);if(!matchValue(C,A)){return false}}return true}function safeUrl(A){if(typeof A!=="string"){return A}const d=A.split("?");if(d.length!==2){return A}const p=new URLSearchParams(d.pop());p.sort();return[...d,p.toString()].join("?")}function matchKey(A,{path:d,method:p,body:C,headers:S}){const v=matchValue(A.path,d);const T=matchValue(A.method,p);const _=typeof A.body!=="undefined"?matchValue(A.body,C):true;const V=matchHeaders(A,S);return v&&T&&_&&V}function getResponseData(A){if(Buffer.isBuffer(A)){return A}else if(typeof A==="object"){return JSON.stringify(A)}else{return A.toString()}}function getMockDispatch(A,d){const p=d.query?Z(d.path,d.query):d.path;const S=typeof p==="string"?safeUrl(p):p;let v=A.filter((({consumed:A})=>!A)).filter((({path:A})=>matchValue(safeUrl(A),S)));if(v.length===0){throw new C(`Mock dispatch not matched for path '${S}'`)}v=v.filter((({method:A})=>matchValue(A,d.method)));if(v.length===0){throw new C(`Mock dispatch not matched for method '${d.method}'`)}v=v.filter((({body:A})=>typeof A!=="undefined"?matchValue(A,d.body):true));if(v.length===0){throw new C(`Mock dispatch not matched for body '${d.body}'`)}v=v.filter((A=>matchHeaders(A,d.headers)));if(v.length===0){throw new C(`Mock dispatch not matched for headers '${typeof d.headers==="object"?JSON.stringify(d.headers):d.headers}'`)}return v[0]}function addMockDispatch(A,d,p){const C={timesInvoked:0,times:1,persist:false,consumed:false};const S=typeof p==="function"?{callback:p}:{...p};const v={...C,...d,pending:true,data:{error:null,...S}};A.push(v);return v}function deleteMockDispatch(A,d){const p=A.findIndex((A=>{if(!A.consumed){return false}return matchKey(A,d)}));if(p!==-1){A.splice(p,1)}}function buildKey(A){const{path:d,method:p,body:C,headers:S,query:v}=A;return{path:d,method:p,body:C,headers:S,query:v}}function generateKeyValues(A){return Object.entries(A).reduce(((A,[d,p])=>[...A,Buffer.from(`${d}`),Array.isArray(p)?p.map((A=>Buffer.from(`${A}`))):Buffer.from(`${p}`)]),[])}function getStatusText(A){return te[A]||"unknown"}async function getResponse(A){const d=[];for await(const p of A){d.push(p)}return Buffer.concat(d).toString("utf8")}function mockDispatch(A,d){const p=buildKey(A);const C=getMockDispatch(this[S],p);C.timesInvoked++;if(C.data.callback){C.data={...C.data,...C.data.callback(A)}}const{data:{statusCode:v,data:T,headers:_,trailers:V,error:Z},delay:te,persist:ne}=C;const{timesInvoked:ie,times:se}=C;C.consumed=!ne&&ie>=se;C.pending=ie<se;if(Z!==null){deleteMockDispatch(this[S],p);d.onError(Z);return true}if(typeof te==="number"&&te>0){setTimeout((()=>{handleReply(this[S])}),te)}else{handleReply(this[S])}function handleReply(C,S=T){const Z=Array.isArray(A.headers)?buildHeadersFromArray(A.headers):A.headers;const te=typeof S==="function"?S({...A,headers:Z}):S;if(re(te)){te.then((A=>handleReply(C,A)));return}const ne=getResponseData(te);const ie=generateKeyValues(_);const se=generateKeyValues(V);d.abort=ee;d.onHeaders(v,ie,resume,getStatusText(v));d.onData(Buffer.from(ne));d.onComplete(se);deleteMockDispatch(C,p)}function resume(){}return true}function buildMockDispatch(){const A=this[v];const d=this[_];const p=this[T];return function dispatch(S,v){if(A.isMockActive){try{mockDispatch.call(this,S,v)}catch(T){if(T instanceof C){const _=A[V]();if(_===false){throw new C(`${T.message}: subsequent request to origin ${d} was not allowed (net.connect disabled)`)}if(checkNetConnect(_,d)){p.call(this,S,v)}else{throw new C(`${T.message}: subsequent request to origin ${d} was not allowed (net.connect is not enabled for this origin)`)}}else{throw T}}}else{p.call(this,S,v)}}}function checkNetConnect(A,d){const p=new URL(d);if(A===true){return true}else if(Array.isArray(A)&&A.some((A=>matchValue(A,p.host)))){return true}return false}function buildMockOptions(A){if(A){const{agent:d,...p}=A;return p}}A.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}},20135:(A,d,p)=>{const{Transform:C}=p(2203);const{Console:S}=p(64236);A.exports=class PendingInterceptorsFormatter{constructor({disableColors:A}={}){this.transform=new C({transform(A,d,p){p(null,A)}});this.logger=new S({stdout:this.transform,inspectOptions:{colors:!A&&!process.env.CI}})}format(A){const d=A.map((({method:A,path:d,data:{statusCode:p},persist:C,times:S,timesInvoked:v,origin:T})=>({Method:A,Origin:T,Path:d,"Status code":p,Persistent:C?"✅":"❌",Invocations:v,Remaining:C?Infinity:S-v})));this.logger.table(d);return this.transform.read().toString()}}},79376:A=>{const d={pronoun:"it",is:"is",was:"was",this:"this"};const p={pronoun:"they",is:"are",was:"were",this:"these"};A.exports=class Pluralizer{constructor(A,d){this.singular=A;this.plural=d}pluralize(A){const C=A===1;const S=C?d:p;const v=C?this.singular:this.plural;return{...S,count:A,noun:v}}}},35594:A=>{const d=2048;const p=d-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(d);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&p)===this.bottom}push(A){this.list[this.top]=A;this.top=this.top+1&p}shift(){const A=this.list[this.bottom];if(A===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&p;return A}}A.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(A){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(A)}shift(){const A=this.tail;const d=A.shift();if(A.isEmpty()&&A.next!==null){this.tail=A.next}return d}}},44005:(A,d,p)=>{const C=p(4660);const S=p(35594);const{kConnected:v,kSize:T,kRunning:_,kPending:V,kQueued:Z,kBusy:ee,kFree:te,kUrl:re,kClose:ne,kDestroy:ie,kDispatch:se}=p(54980);const oe=p(50613);const ae=Symbol("clients");const le=Symbol("needDrain");const ce=Symbol("queue");const ue=Symbol("closed resolve");const Ae=Symbol("onDrain");const de=Symbol("onConnect");const pe=Symbol("onDisconnect");const fe=Symbol("onConnectionError");const he=Symbol("get dispatcher");const ge=Symbol("add client");const me=Symbol("remove client");const ye=Symbol("stats");class PoolBase extends C{constructor(){super();this[ce]=new S;this[ae]=[];this[Z]=0;const A=this;this[Ae]=function onDrain(d,p){const C=A[ce];let S=false;while(!S){const d=C.shift();if(!d){break}A[Z]--;S=!this.dispatch(d.opts,d.handler)}this[le]=S;if(!this[le]&&A[le]){A[le]=false;A.emit("drain",d,[A,...p])}if(A[ue]&&C.isEmpty()){Promise.all(A[ae].map((A=>A.close()))).then(A[ue])}};this[de]=(d,p)=>{A.emit("connect",d,[A,...p])};this[pe]=(d,p,C)=>{A.emit("disconnect",d,[A,...p],C)};this[fe]=(d,p,C)=>{A.emit("connectionError",d,[A,...p],C)};this[ye]=new oe(this)}get[ee](){return this[le]}get[v](){return this[ae].filter((A=>A[v])).length}get[te](){return this[ae].filter((A=>A[v]&&!A[le])).length}get[V](){let A=this[Z];for(const{[V]:d}of this[ae]){A+=d}return A}get[_](){let A=0;for(const{[_]:d}of this[ae]){A+=d}return A}get[T](){let A=this[Z];for(const{[T]:d}of this[ae]){A+=d}return A}get stats(){return this[ye]}async[ne](){if(this[ce].isEmpty()){return Promise.all(this[ae].map((A=>A.close())))}else{return new Promise((A=>{this[ue]=A}))}}async[ie](A){while(true){const d=this[ce].shift();if(!d){break}d.handler.onError(A)}return Promise.all(this[ae].map((d=>d.destroy(A))))}[se](A,d){const p=this[he]();if(!p){this[le]=true;this[ce].push({opts:A,handler:d});this[Z]++}else if(!p.dispatch(A,d)){p[le]=true;this[le]=!this[he]()}return!this[le]}[ge](A){A.on("drain",this[Ae]).on("connect",this[de]).on("disconnect",this[pe]).on("connectionError",this[fe]);this[ae].push(A);if(this[le]){process.nextTick((()=>{if(this[le]){this[Ae](A[re],[this,A])}}))}return this}[me](A){A.close((()=>{const d=this[ae].indexOf(A);if(d!==-1){this[ae].splice(d,1)}}));this[le]=this[ae].some((A=>!A[le]&&A.closed!==true&&A.destroyed!==true))}}A.exports={PoolBase:PoolBase,kClients:ae,kNeedDrain:le,kAddClient:ge,kRemoveClient:me,kGetDispatcher:he}},50613:(A,d,p)=>{const{kFree:C,kConnected:S,kPending:v,kQueued:T,kRunning:_,kSize:V}=p(54980);const Z=Symbol("pool");class PoolStats{constructor(A){this[Z]=A}get connected(){return this[Z][S]}get free(){return this[Z][C]}get pending(){return this[Z][v]}get queued(){return this[Z][T]}get running(){return this[Z][_]}get size(){return this[Z][V]}}A.exports=PoolStats},86607:(A,d,p)=>{const{PoolBase:C,kClients:S,kNeedDrain:v,kAddClient:T,kGetDispatcher:_}=p(44005);const V=p(56530);const{InvalidArgumentError:Z}=p(21970);const ee=p(70701);const{kUrl:te,kInterceptors:re}=p(54980);const ne=p(82667);const ie=Symbol("options");const se=Symbol("connections");const oe=Symbol("factory");function defaultFactory(A,d){return new V(A,d)}class Pool extends C{constructor(A,{connections:d,factory:p=defaultFactory,connect:C,connectTimeout:v,tls:T,maxCachedSessions:_,socketPath:V,autoSelectFamily:ae,autoSelectFamilyAttemptTimeout:le,allowH2:ce,...ue}={}){super();if(d!=null&&(!Number.isFinite(d)||d<0)){throw new Z("invalid connections")}if(typeof p!=="function"){throw new Z("factory must be a function.")}if(C!=null&&typeof C!=="function"&&typeof C!=="object"){throw new Z("connect must be a function or an object")}if(typeof C!=="function"){C=ne({...T,maxCachedSessions:_,allowH2:ce,socketPath:V,timeout:v,...ee.nodeHasAutoSelectFamily&&ae?{autoSelectFamily:ae,autoSelectFamilyAttemptTimeout:le}:undefined,...C})}this[re]=ue.interceptors&&ue.interceptors.Pool&&Array.isArray(ue.interceptors.Pool)?ue.interceptors.Pool:[];this[se]=d||null;this[te]=ee.parseOrigin(A);this[ie]={...ee.deepClone(ue),connect:C,allowH2:ce};this[ie].interceptors=ue.interceptors?{...ue.interceptors}:undefined;this[oe]=p;this.on("connectionError",((A,d,p)=>{for(const A of d){const d=this[S].indexOf(A);if(d!==-1){this[S].splice(d,1)}}}))}[_](){let A=this[S].find((A=>!A[v]));if(A){return A}if(!this[se]||this[S].length<this[se]){A=this[oe](this[te],this[ie]);this[T](A)}return A}}A.exports=Pool},65317:(A,d,p)=>{const{kProxy:C,kClose:S,kDestroy:v,kInterceptors:T}=p(54980);const{URL:_}=p(87016);const V=p(34724);const Z=p(86607);const ee=p(4660);const{InvalidArgumentError:te,RequestAbortedError:re}=p(21970);const ne=p(82667);const ie=Symbol("proxy agent");const se=Symbol("proxy client");const oe=Symbol("proxy headers");const ae=Symbol("request tls settings");const le=Symbol("proxy tls settings");const ce=Symbol("connect endpoint function");function defaultProtocolPort(A){return A==="https:"?443:80}function buildProxyOptions(A){if(typeof A==="string"){A={uri:A}}if(!A||!A.uri){throw new te("Proxy opts.uri is mandatory")}return{uri:A.uri,protocol:A.protocol||"https"}}function defaultFactory(A,d){return new Z(A,d)}class ProxyAgent extends ee{constructor(A){super(A);this[C]=buildProxyOptions(A);this[ie]=new V(A);this[T]=A.interceptors&&A.interceptors.ProxyAgent&&Array.isArray(A.interceptors.ProxyAgent)?A.interceptors.ProxyAgent:[];if(typeof A==="string"){A={uri:A}}if(!A||!A.uri){throw new te("Proxy opts.uri is mandatory")}const{clientFactory:d=defaultFactory}=A;if(typeof d!=="function"){throw new te("Proxy opts.clientFactory must be a function.")}this[ae]=A.requestTls;this[le]=A.proxyTls;this[oe]=A.headers||{};const p=new _(A.uri);const{origin:S,port:v,host:Z,username:ee,password:ue}=p;if(A.auth&&A.token){throw new te("opts.auth cannot be used in combination with opts.token")}else if(A.auth){this[oe]["proxy-authorization"]=`Basic ${A.auth}`}else if(A.token){this[oe]["proxy-authorization"]=A.token}else if(ee&&ue){this[oe]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(ee)}:${decodeURIComponent(ue)}`).toString("base64")}`}const Ae=ne({...A.proxyTls});this[ce]=ne({...A.requestTls});this[se]=d(p,{connect:Ae});this[ie]=new V({...A,connect:async(A,d)=>{let p=A.host;if(!A.port){p+=`:${defaultProtocolPort(A.protocol)}`}try{const{socket:C,statusCode:T}=await this[se].connect({origin:S,port:v,path:p,signal:A.signal,headers:{...this[oe],host:Z}});if(T!==200){C.on("error",(()=>{})).destroy();d(new re(`Proxy response (${T}) !== 200 when HTTP Tunneling`))}if(A.protocol!=="https:"){d(null,C);return}let _;if(this[ae]){_=this[ae].servername}else{_=A.servername}this[ce]({...A,servername:_,httpSocket:C},d)}catch(A){d(A)}}})}dispatch(A,d){const{host:p}=new _(A.origin);const C=buildHeaders(A.headers);throwIfProxyAuthIsSent(C);return this[ie].dispatch({...A,headers:{...C,host:p}},d)}async[S](){await this[ie].close();await this[se].close()}async[v](){await this[ie].destroy();await this[se].destroy()}}function buildHeaders(A){if(Array.isArray(A)){const d={};for(let p=0;p<A.length;p+=2){d[A[p]]=A[p+1]}return d}return A}function throwIfProxyAuthIsSent(A){const d=A&&Object.keys(A).find((A=>A.toLowerCase()==="proxy-authorization"));if(d){throw new te("Proxy-Authorization should be sent in ProxyAgent constructor")}}A.exports=ProxyAgent},17167:A=>{let d=Date.now();let p;const C=[];function onTimeout(){d=Date.now();let A=C.length;let p=0;while(p<A){const S=C[p];if(S.state===0){S.state=d+S.delay}else if(S.state>0&&d>=S.state){S.state=-1;S.callback(S.opaque)}if(S.state===-1){S.state=-2;if(p!==A-1){C[p]=C.pop()}else{C.pop()}A-=1}else{p+=1}}if(C.length>0){refreshTimeout()}}function refreshTimeout(){if(p&&p.refresh){p.refresh()}else{clearTimeout(p);p=setTimeout(onTimeout,1e3);if(p.unref){p.unref()}}}class Timeout{constructor(A,d,p){this.callback=A;this.delay=d;this.opaque=p;this.state=-2;this.refresh()}refresh(){if(this.state===-2){C.push(this);if(!p||C.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}A.exports={setTimeout(A,d,p){return d<1e3?setTimeout(A,d,p):new Timeout(A,d,p)},clearTimeout(A){if(A instanceof Timeout){A.clear()}else{clearTimeout(A)}}}},79277:(A,d,p)=>{const C=p(31637);const{uid:S,states:v}=p(38420);const{kReadyState:T,kSentClose:_,kByteParser:V,kReceivedClose:Z}=p(76708);const{fireEvent:ee,failWebsocketConnection:te}=p(38829);const{CloseEvent:re}=p(46544);const{makeRequest:ne}=p(18939);const{fetching:ie}=p(94546);const{Headers:se}=p(10824);const{getGlobalDispatcher:oe}=p(64662);const{kHeadersList:ae}=p(54980);const le={};le.open=C.channel("undici:websocket:open");le.close=C.channel("undici:websocket:close");le.socketError=C.channel("undici:websocket:socket_error");let ce;try{ce=p(76982)}catch{}function establishWebSocketConnection(A,d,p,C,v){const T=A;T.protocol=A.protocol==="ws:"?"http:":"https:";const _=ne({urlList:[T],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(v.headers){const A=new se(v.headers)[ae];_.headersList=A}const V=ce.randomBytes(16).toString("base64");_.headersList.append("sec-websocket-key",V);_.headersList.append("sec-websocket-version","13");for(const A of d){_.headersList.append("sec-websocket-protocol",A)}const Z="";const ee=ie({request:_,useParallelQueue:true,dispatcher:v.dispatcher??oe(),processResponse(A){if(A.type==="error"||A.status!==101){te(p,"Received network error or non-101 status code.");return}if(d.length!==0&&!A.headersList.get("Sec-WebSocket-Protocol")){te(p,"Server did not respond with sent protocols.");return}if(A.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){te(p,'Server did not set Upgrade header to "websocket".');return}if(A.headersList.get("Connection")?.toLowerCase()!=="upgrade"){te(p,'Server did not set Connection header to "upgrade".');return}const v=A.headersList.get("Sec-WebSocket-Accept");const T=ce.createHash("sha1").update(V+S).digest("base64");if(v!==T){te(p,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const ee=A.headersList.get("Sec-WebSocket-Extensions");if(ee!==null&&ee!==Z){te(p,"Received different permessage-deflate than the one set.");return}const re=A.headersList.get("Sec-WebSocket-Protocol");if(re!==null&&re!==_.headersList.get("Sec-WebSocket-Protocol")){te(p,"Protocol was not set in the opening handshake.");return}A.socket.on("data",onSocketData);A.socket.on("close",onSocketClose);A.socket.on("error",onSocketError);if(le.open.hasSubscribers){le.open.publish({address:A.socket.address(),protocol:re,extensions:ee})}C(A)}});return ee}function onSocketData(A){if(!this.ws[V].write(A)){this.pause()}}function onSocketClose(){const{ws:A}=this;const d=A[_]&&A[Z];let p=1005;let C="";const S=A[V].closingInfo;if(S){p=S.code??1005;C=S.reason}else if(!A[_]){p=1006}A[T]=v.CLOSED;ee("close",A,re,{wasClean:d,code:p,reason:C});if(le.close.hasSubscribers){le.close.publish({websocket:A,code:p,reason:C})}}function onSocketError(A){const{ws:d}=this;d[T]=v.CLOSING;if(le.socketError.hasSubscribers){le.socketError.publish(A)}this.destroy()}A.exports={establishWebSocketConnection:establishWebSocketConnection}},38420:A=>{const d="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const p={enumerable:true,writable:false,configurable:false};const C={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const S={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const v=2**16-1;const T={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const _=Buffer.allocUnsafe(0);A.exports={uid:d,staticPropertyDescriptors:p,states:C,opcodes:S,maxUnsigned16Bit:v,parserStates:T,emptyBuffer:_}},46544:(A,d,p)=>{const{webidl:C}=p(90185);const{kEnumerableProperty:S}=p(70701);const{MessagePort:v}=p(28167);class MessageEvent extends Event{#s;constructor(A,d={}){C.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});A=C.converters.DOMString(A);d=C.converters.MessageEventInit(d);super(A,d);this.#s=d}get data(){C.brandCheck(this,MessageEvent);return this.#s.data}get origin(){C.brandCheck(this,MessageEvent);return this.#s.origin}get lastEventId(){C.brandCheck(this,MessageEvent);return this.#s.lastEventId}get source(){C.brandCheck(this,MessageEvent);return this.#s.source}get ports(){C.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#s.ports)){Object.freeze(this.#s.ports)}return this.#s.ports}initMessageEvent(A,d=false,p=false,S=null,v="",T="",_=null,V=[]){C.brandCheck(this,MessageEvent);C.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(A,{bubbles:d,cancelable:p,data:S,origin:v,lastEventId:T,source:_,ports:V})}}class CloseEvent extends Event{#s;constructor(A,d={}){C.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});A=C.converters.DOMString(A);d=C.converters.CloseEventInit(d);super(A,d);this.#s=d}get wasClean(){C.brandCheck(this,CloseEvent);return this.#s.wasClean}get code(){C.brandCheck(this,CloseEvent);return this.#s.code}get reason(){C.brandCheck(this,CloseEvent);return this.#s.reason}}class ErrorEvent extends Event{#s;constructor(A,d){C.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(A,d);A=C.converters.DOMString(A);d=C.converters.ErrorEventInit(d??{});this.#s=d}get message(){C.brandCheck(this,ErrorEvent);return this.#s.message}get filename(){C.brandCheck(this,ErrorEvent);return this.#s.filename}get lineno(){C.brandCheck(this,ErrorEvent);return this.#s.lineno}get colno(){C.brandCheck(this,ErrorEvent);return this.#s.colno}get error(){C.brandCheck(this,ErrorEvent);return this.#s.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:S,origin:S,lastEventId:S,source:S,ports:S,initMessageEvent:S});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:S,code:S,wasClean:S});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:S,filename:S,lineno:S,colno:S,error:S});C.converters.MessagePort=C.interfaceConverter(v);C.converters["sequence<MessagePort>"]=C.sequenceConverter(C.converters.MessagePort);const T=[{key:"bubbles",converter:C.converters.boolean,defaultValue:false},{key:"cancelable",converter:C.converters.boolean,defaultValue:false},{key:"composed",converter:C.converters.boolean,defaultValue:false}];C.converters.MessageEventInit=C.dictionaryConverter([...T,{key:"data",converter:C.converters.any,defaultValue:null},{key:"origin",converter:C.converters.USVString,defaultValue:""},{key:"lastEventId",converter:C.converters.DOMString,defaultValue:""},{key:"source",converter:C.nullableConverter(C.converters.MessagePort),defaultValue:null},{key:"ports",converter:C.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);C.converters.CloseEventInit=C.dictionaryConverter([...T,{key:"wasClean",converter:C.converters.boolean,defaultValue:false},{key:"code",converter:C.converters["unsigned short"],defaultValue:0},{key:"reason",converter:C.converters.USVString,defaultValue:""}]);C.converters.ErrorEventInit=C.dictionaryConverter([...T,{key:"message",converter:C.converters.DOMString,defaultValue:""},{key:"filename",converter:C.converters.USVString,defaultValue:""},{key:"lineno",converter:C.converters["unsigned long"],defaultValue:0},{key:"colno",converter:C.converters["unsigned long"],defaultValue:0},{key:"error",converter:C.converters.any}]);A.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},2308:(A,d,p)=>{const{maxUnsigned16Bit:C}=p(38420);let S;try{S=p(76982)}catch{}class WebsocketFrameSend{constructor(A){this.frameData=A;this.maskKey=S.randomBytes(4)}createFrame(A){const d=this.frameData?.byteLength??0;let p=d;let S=6;if(d>C){S+=8;p=127}else if(d>125){S+=2;p=126}const v=Buffer.allocUnsafe(d+S);v[0]=v[1]=0;v[0]|=128;v[0]=(v[0]&240)+A;
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */v[S-4]=this.maskKey[0];v[S-3]=this.maskKey[1];v[S-2]=this.maskKey[2];v[S-1]=this.maskKey[3];v[1]=p;if(p===126){v.writeUInt16BE(d,2)}else if(p===127){v[2]=v[3]=0;v.writeUIntBE(d,4,6)}v[1]|=128;for(let A=0;A<d;A++){v[S+A]=this.frameData[A]^this.maskKey[A%4]}return v}}A.exports={WebsocketFrameSend:WebsocketFrameSend}},34648:(A,d,p)=>{const{Writable:C}=p(2203);const S=p(31637);const{parserStates:v,opcodes:T,states:_,emptyBuffer:V}=p(38420);const{kReadyState:Z,kSentClose:ee,kResponse:te,kReceivedClose:re}=p(76708);const{isValidStatusCode:ne,failWebsocketConnection:ie,websocketMessageReceived:se}=p(38829);const{WebsocketFrameSend:oe}=p(2308);const ae={};ae.ping=S.channel("undici:websocket:ping");ae.pong=S.channel("undici:websocket:pong");class ByteParser extends C{#o=[];#a=0;#l=v.INFO;#c={};#u=[];constructor(A){super();this.ws=A}_write(A,d,p){this.#o.push(A);this.#a+=A.length;this.run(p)}run(A){while(true){if(this.#l===v.INFO){if(this.#a<2){return A()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==T.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==T.BINARY&&this.#c.opcode!==T.TEXT){ie(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#l=v.READ_DATA}else if(p===126){this.#l=v.PAYLOADLENGTH_16}else if(p===127){this.#l=v.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ie(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===T.PING||this.#c.opcode===T.PONG||this.#c.opcode===T.CLOSE)&&p>125){ie(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===T.CLOSE){if(p===1){ie(this.ws,"Received close frame with a 1-byte body.");return}const A=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,A);if(!this.ws[ee]){const A=Buffer.allocUnsafe(2);A.writeUInt16BE(this.#c.closeInfo.code,0);const d=new oe(A);this.ws[te].socket.write(d.createFrame(T.CLOSE),(A=>{if(!A){this.ws[ee]=true}}))}this.ws[Z]=_.CLOSING;this.ws[re]=true;this.end();return}else if(this.#c.opcode===T.PING){const d=this.consume(p);if(!this.ws[re]){const A=new oe(d);this.ws[te].socket.write(A.createFrame(T.PONG));if(ae.ping.hasSubscribers){ae.ping.publish({payload:d})}}this.#l=v.INFO;if(this.#a>0){continue}else{A();return}}else if(this.#c.opcode===T.PONG){const d=this.consume(p);if(ae.pong.hasSubscribers){ae.pong.publish({payload:d})}if(this.#a>0){continue}else{A();return}}}else if(this.#l===v.PAYLOADLENGTH_16){if(this.#a<2){return A()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#l=v.READ_DATA}else if(this.#l===v.PAYLOADLENGTH_64){if(this.#a<8){return A()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ie(this.ws,"Received payload length > 2^31 bytes.");return}const C=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+C;this.#l=v.READ_DATA}else if(this.#l===v.READ_DATA){if(this.#a<this.#c.payloadLength){return A()}else if(this.#a>=this.#c.payloadLength){const A=this.consume(this.#c.payloadLength);this.#u.push(A);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===T.CONTINUATION){const A=Buffer.concat(this.#u);se(this.ws,this.#c.originalOpcode,A);this.#c={};this.#u.length=0}this.#l=v.INFO}}if(this.#a>0){continue}else{A();break}}}consume(A){if(A>this.#a){return null}else if(A===0){return V}if(this.#o[0].length===A){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(A);let p=0;while(p!==A){const C=this.#o[0];const{length:S}=C;if(S+p===A){d.set(this.#o.shift(),p);break}else if(S+p>A){d.set(C.subarray(0,A-p),p);this.#o[0]=C.subarray(A-p);break}else{d.set(this.#o.shift(),p);p+=C.length}}this.#a-=A;return d}parseCloseBody(A,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(A){if(!ne(p)){return null}return{code:p}}let C=d.subarray(2);if(C[0]===239&&C[1]===187&&C[2]===191){C=C.subarray(3)}if(p!==undefined&&!ne(p)){return null}try{C=new TextDecoder("utf-8",{fatal:true}).decode(C)}catch{return null}return{code:p,reason:C}}get closingInfo(){return this.#c.closeInfo}}A.exports={ByteParser:ByteParser}},76708:A=>{A.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")}},38829:(A,d,p)=>{const{kReadyState:C,kController:S,kResponse:v,kBinaryType:T,kWebSocketURL:_}=p(76708);const{states:V,opcodes:Z}=p(38420);const{MessageEvent:ee,ErrorEvent:te}=p(46544);function isEstablished(A){return A[C]===V.OPEN}function isClosing(A){return A[C]===V.CLOSING}function isClosed(A){return A[C]===V.CLOSED}function fireEvent(A,d,p=Event,C){const S=new p(A,C);d.dispatchEvent(S)}function websocketMessageReceived(A,d,p){if(A[C]!==V.OPEN){return}let S;if(d===Z.TEXT){try{S=new TextDecoder("utf-8",{fatal:true}).decode(p)}catch{failWebsocketConnection(A,"Received invalid UTF-8 in text frame.");return}}else if(d===Z.BINARY){if(A[T]==="blob"){S=new Blob([p])}else{S=new Uint8Array(p).buffer}}fireEvent("message",A,ee,{origin:A[_].origin,data:S})}function isValidSubprotocol(A){if(A.length===0){return false}for(const d of A){const A=d.charCodeAt(0);if(A<33||A>126||d==="("||d===")"||d==="<"||d===">"||d==="@"||d===","||d===";"||d===":"||d==="\\"||d==='"'||d==="/"||d==="["||d==="]"||d==="?"||d==="="||d==="{"||d==="}"||A===32||A===9){return false}}return true}function isValidStatusCode(A){if(A>=1e3&&A<1015){return A!==1004&&A!==1005&&A!==1006}return A>=3e3&&A<=4999}function failWebsocketConnection(A,d){const{[S]:p,[v]:C}=A;p.abort();if(C?.socket&&!C.socket.destroyed){C.socket.destroy()}if(d){fireEvent("error",A,te,{error:new Error(d)})}}A.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},17634:(A,d,p)=>{const{webidl:C}=p(90185);const{DOMException:S}=p(21411);const{URLSerializer:v}=p(32059);const{getGlobalOrigin:T}=p(42071);const{staticPropertyDescriptors:_,states:V,opcodes:Z,emptyBuffer:ee}=p(38420);const{kWebSocketURL:te,kReadyState:re,kController:ne,kBinaryType:ie,kResponse:se,kSentClose:oe,kByteParser:ae}=p(76708);const{isEstablished:le,isClosing:ce,isValidSubprotocol:ue,failWebsocketConnection:Ae,fireEvent:de}=p(38829);const{establishWebSocketConnection:pe}=p(79277);const{WebsocketFrameSend:fe}=p(2308);const{ByteParser:he}=p(34648);const{kEnumerableProperty:ge,isBlobLike:me}=p(70701);const{getGlobalDispatcher:ye}=p(64662);const{types:Ee}=p(39023);let be=false;class WebSocket extends EventTarget{#A={open:null,error:null,close:null,message:null};#d=0;#p="";#f="";constructor(A,d=[]){super();C.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!be){be=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const p=C.converters["DOMString or sequence<DOMString> or WebSocketInit"](d);A=C.converters.USVString(A);d=p.protocols;const v=T();let _;try{_=new URL(A,v)}catch(A){throw new S(A,"SyntaxError")}if(_.protocol==="http:"){_.protocol="ws:"}else if(_.protocol==="https:"){_.protocol="wss:"}if(_.protocol!=="ws:"&&_.protocol!=="wss:"){throw new S(`Expected a ws: or wss: protocol, got ${_.protocol}`,"SyntaxError")}if(_.hash||_.href.endsWith("#")){throw new S("Got fragment","SyntaxError")}if(typeof d==="string"){d=[d]}if(d.length!==new Set(d.map((A=>A.toLowerCase()))).size){throw new S("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(d.length>0&&!d.every((A=>ue(A)))){throw new S("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[te]=new URL(_.href);this[ne]=pe(_,d,this,(A=>this.#h(A)),p);this[re]=WebSocket.CONNECTING;this[ie]="blob"}close(A=undefined,d=undefined){C.brandCheck(this,WebSocket);if(A!==undefined){A=C.converters["unsigned short"](A,{clamp:true})}if(d!==undefined){d=C.converters.USVString(d)}if(A!==undefined){if(A!==1e3&&(A<3e3||A>4999)){throw new S("invalid code","InvalidAccessError")}}let p=0;if(d!==undefined){p=Buffer.byteLength(d);if(p>123){throw new S(`Reason must be less than 123 bytes; received ${p}`,"SyntaxError")}}if(this[re]===WebSocket.CLOSING||this[re]===WebSocket.CLOSED){}else if(!le(this)){Ae(this,"Connection was closed before it was established.");this[re]=WebSocket.CLOSING}else if(!ce(this)){const C=new fe;if(A!==undefined&&d===undefined){C.frameData=Buffer.allocUnsafe(2);C.frameData.writeUInt16BE(A,0)}else if(A!==undefined&&d!==undefined){C.frameData=Buffer.allocUnsafe(2+p);C.frameData.writeUInt16BE(A,0);C.frameData.write(d,2,"utf-8")}else{C.frameData=ee}const S=this[se].socket;S.write(C.createFrame(Z.CLOSE),(A=>{if(!A){this[oe]=true}}));this[re]=V.CLOSING}else{this[re]=WebSocket.CLOSING}}send(A){C.brandCheck(this,WebSocket);C.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});A=C.converters.WebSocketSendData(A);if(this[re]===WebSocket.CONNECTING){throw new S("Sent before connected.","InvalidStateError")}if(!le(this)||ce(this)){return}const d=this[se].socket;if(typeof A==="string"){const p=Buffer.from(A);const C=new fe(p);const S=C.createFrame(Z.TEXT);this.#d+=p.byteLength;d.write(S,(()=>{this.#d-=p.byteLength}))}else if(Ee.isArrayBuffer(A)){const p=Buffer.from(A);const C=new fe(p);const S=C.createFrame(Z.BINARY);this.#d+=p.byteLength;d.write(S,(()=>{this.#d-=p.byteLength}))}else if(ArrayBuffer.isView(A)){const p=Buffer.from(A,A.byteOffset,A.byteLength);const C=new fe(p);const S=C.createFrame(Z.BINARY);this.#d+=p.byteLength;d.write(S,(()=>{this.#d-=p.byteLength}))}else if(me(A)){const p=new fe;A.arrayBuffer().then((A=>{const C=Buffer.from(A);p.frameData=C;const S=p.createFrame(Z.BINARY);this.#d+=C.byteLength;d.write(S,(()=>{this.#d-=C.byteLength}))}))}}get readyState(){C.brandCheck(this,WebSocket);return this[re]}get bufferedAmount(){C.brandCheck(this,WebSocket);return this.#d}get url(){C.brandCheck(this,WebSocket);return v(this[te])}get extensions(){C.brandCheck(this,WebSocket);return this.#f}get protocol(){C.brandCheck(this,WebSocket);return this.#p}get onopen(){C.brandCheck(this,WebSocket);return this.#A.open}set onopen(A){C.brandCheck(this,WebSocket);if(this.#A.open){this.removeEventListener("open",this.#A.open)}if(typeof A==="function"){this.#A.open=A;this.addEventListener("open",A)}else{this.#A.open=null}}get onerror(){C.brandCheck(this,WebSocket);return this.#A.error}set onerror(A){C.brandCheck(this,WebSocket);if(this.#A.error){this.removeEventListener("error",this.#A.error)}if(typeof A==="function"){this.#A.error=A;this.addEventListener("error",A)}else{this.#A.error=null}}get onclose(){C.brandCheck(this,WebSocket);return this.#A.close}set onclose(A){C.brandCheck(this,WebSocket);if(this.#A.close){this.removeEventListener("close",this.#A.close)}if(typeof A==="function"){this.#A.close=A;this.addEventListener("close",A)}else{this.#A.close=null}}get onmessage(){C.brandCheck(this,WebSocket);return this.#A.message}set onmessage(A){C.brandCheck(this,WebSocket);if(this.#A.message){this.removeEventListener("message",this.#A.message)}if(typeof A==="function"){this.#A.message=A;this.addEventListener("message",A)}else{this.#A.message=null}}get binaryType(){C.brandCheck(this,WebSocket);return this[ie]}set binaryType(A){C.brandCheck(this,WebSocket);if(A!=="blob"&&A!=="arraybuffer"){this[ie]="blob"}else{this[ie]=A}}#h(A){this[se]=A;const d=new he(this);d.on("drain",(function onParserDrain(){this.ws[se].socket.resume()}));A.socket.ws=this;this[ae]=d;this[re]=V.OPEN;const p=A.headersList.get("sec-websocket-extensions");if(p!==null){this.#f=p}const C=A.headersList.get("sec-websocket-protocol");if(C!==null){this.#p=C}de("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=V.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=V.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=V.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=V.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:_,OPEN:_,CLOSING:_,CLOSED:_,url:ge,readyState:ge,bufferedAmount:ge,onopen:ge,onerror:ge,onclose:ge,close:ge,onmessage:ge,binaryType:ge,send:ge,extensions:ge,protocol:ge,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:_,OPEN:_,CLOSING:_,CLOSED:_});C.converters["sequence<DOMString>"]=C.sequenceConverter(C.converters.DOMString);C.converters["DOMString or sequence<DOMString>"]=function(A){if(C.util.Type(A)==="Object"&&Symbol.iterator in A){return C.converters["sequence<DOMString>"](A)}return C.converters.DOMString(A)};C.converters.WebSocketInit=C.dictionaryConverter([{key:"protocols",converter:C.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:A=>A,get defaultValue(){return ye()}},{key:"headers",converter:C.nullableConverter(C.converters.HeadersInit)}]);C.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(A){if(C.util.Type(A)==="Object"&&!(Symbol.iterator in A)){return C.converters.WebSocketInit(A)}return{protocols:C.converters["DOMString or sequence<DOMString>"](A)}};C.converters.WebSocketSendData=function(A){if(C.util.Type(A)==="Object"){if(me(A)){return C.converters.Blob(A,{strict:false})}if(ArrayBuffer.isView(A)||Ee.isAnyArrayBuffer(A)){return C.converters.BufferSource(A)}}return C.converters.USVString(A)};A.exports={WebSocket:WebSocket}},16678:(A,d)=>{Object.defineProperty(d,"__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"<environment undetectable>"}d.getUserAgent=getUserAgent},91046:(A,d,p)=>{var C=p(2203);var S=p(39023).inherits;function Entry(){if(!(this instanceof Entry)){return new Entry}C.PassThrough.call(this);this.path=null;this.type=null;this.isDirectory=false}S(Entry,C.PassThrough);Entry.prototype.autodrain=function(){return this.pipe(new C.Transform({transform:function(A,d,p){p()}}))};A.exports=Entry},91991:(A,d,p)=>{var C=p(79896);var S=p(16928);var v=p(39023);var T=p(15026);var _=p(2203).Transform;var V=p(17589);function Extract(A){if(!(this instanceof Extract))return new Extract(A);_.call(this);this.opts=A||{};this.unzipStream=new V(this.opts);this.unfinishedEntries=0;this.afterFlushWait=false;this.createdDirectories={};var d=this;this.unzipStream.on("entry",this._processEntry.bind(this));this.unzipStream.on("error",(function(A){d.emit("error",A)}))}v.inherits(Extract,_);Extract.prototype._transform=function(A,d,p){this.unzipStream.write(A,d,p)};Extract.prototype._flush=function(A){var d=this;var allDone=function(){process.nextTick((function(){d.emit("close")}));A()};this.unzipStream.end((function(){if(d.unfinishedEntries>0){d.afterFlushWait=true;return d.on("await-finished",allDone)}allDone()}))};Extract.prototype._processEntry=function(A){var d=this;var p=S.join(this.opts.path,A.path);var v=A.isDirectory?p:S.dirname(p);this.unfinishedEntries++;var writeFileFn=function(){var S=C.createWriteStream(p);S.on("close",(function(){d.unfinishedEntries--;d._notifyAwaiter()}));S.on("error",(function(A){d.emit("error",A)}));A.pipe(S)};if(this.createdDirectories[v]||v==="."){return writeFileFn()}T(v,(function(p){if(p)return d.emit("error",p);d.createdDirectories[v]=true;if(A.isDirectory){d.unfinishedEntries--;d._notifyAwaiter();return}writeFileFn()}))};Extract.prototype._notifyAwaiter=function(){if(this.afterFlushWait&&this.unfinishedEntries===0){this.emit("await-finished");this.afterFlushWait=false}};A.exports=Extract},35749:(A,d,p)=>{var C=p(2203).Transform;var S=p(39023);function MatcherStream(A,d){if(!(this instanceof MatcherStream)){return new MatcherStream}C.call(this);var p=typeof A==="object"?A.pattern:A;this.pattern=Buffer.isBuffer(p)?p:Buffer.from(p);this.requiredLength=this.pattern.length;if(A.requiredExtraSize)this.requiredLength+=A.requiredExtraSize;this.data=new Buffer("");this.bytesSoFar=0;this.matchFn=d}S.inherits(MatcherStream,C);MatcherStream.prototype.checkDataChunk=function(A){var d=this.data.length>=this.requiredLength;if(!d){return}var p=this.data.indexOf(this.pattern,A?1:0);if(p>=0&&p+this.requiredLength>this.data.length){if(p>0){var C=this.data.slice(0,p);this.push(C);this.bytesSoFar+=p;this.data=this.data.slice(p)}return}if(p===-1){var S=this.data.length-this.requiredLength+1;var C=this.data.slice(0,S);this.push(C);this.bytesSoFar+=S;this.data=this.data.slice(S);return}if(p>0){var C=this.data.slice(0,p);this.data=this.data.slice(p);this.push(C);this.bytesSoFar+=p}var v=this.matchFn?this.matchFn(this.data,this.bytesSoFar):true;if(v){this.data=new Buffer("");return}return true};MatcherStream.prototype._transform=function(A,d,p){this.data=Buffer.concat([this.data,A]);var C=true;while(this.checkDataChunk(!C)){C=false}p()};MatcherStream.prototype._flush=function(A){if(this.data.length>0){var d=true;while(this.checkDataChunk(!d)){d=false}}if(this.data.length>0){this.push(this.data);this.data=null}A()};A.exports=MatcherStream},88696:(A,d,p)=>{var C=p(2203).Transform;var S=p(39023);var v=p(17589);function ParserStream(A){if(!(this instanceof ParserStream)){return new ParserStream(A)}var d=A||{};C.call(this,{readableObjectMode:true});this.opts=A||{};this.unzipStream=new v(this.opts);var p=this;this.unzipStream.on("entry",(function(A){p.push(A)}));this.unzipStream.on("error",(function(A){p.emit("error",A)}))}S.inherits(ParserStream,C);ParserStream.prototype._transform=function(A,d,p){this.unzipStream.write(A,d,p)};ParserStream.prototype._flush=function(A){var d=this;this.unzipStream.end((function(){process.nextTick((function(){d.emit("close")}));A()}))};ParserStream.prototype.on=function(A,d){if(A==="entry"){return C.prototype.on.call(this,"data",d)}return C.prototype.on.call(this,A,d)};ParserStream.prototype.drainAll=function(){this.unzipStream.drainAll();return this.pipe(new C({objectMode:true,transform:function(A,d,p){p()}}))};A.exports=ParserStream},17589:(A,d,p)=>{var C=p(52386);var S=p(2203);var v=p(39023);var T=p(43106);var _=p(35749);var V=p(91046);const Z={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 ee=4294967296;const te=67324752;const re=134695760;const ne=33639248;const ie=101075792;const se=117853008;const oe=101010256;function UnzipStream(A){if(!(this instanceof UnzipStream)){return new UnzipStream(A)}S.Transform.call(this);this.options=A||{};this.data=new Buffer("");this.state=Z.STREAM_START;this.skippedBytes=0;this.parsedEntity=null;this.outStreamInfo={}}v.inherits(UnzipStream,S.Transform);UnzipStream.prototype.processDataChunk=function(A){var d;switch(this.state){case Z.STREAM_START:case Z.START:d=4;break;case Z.LOCAL_FILE_HEADER:d=26;break;case Z.LOCAL_FILE_HEADER_SUFFIX:d=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case Z.DATA_DESCRIPTOR:d=12;break;case Z.CENTRAL_DIRECTORY_FILE_HEADER:d=42;break;case Z.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:d=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case Z.CDIR64_END:d=52;break;case Z.CDIR64_END_DATA_SECTOR:d=this.parsedEntity.centralDirectoryRecordSize-44;break;case Z.CDIR64_LOCATOR:d=16;break;case Z.CENTRAL_DIRECTORY_END:d=18;break;case Z.CENTRAL_DIRECTORY_END_COMMENT:d=this.parsedEntity.commentLength;break;case Z.FILE_DATA:return 0;case Z.FILE_DATA_END:return 0;case Z.TRAILING_JUNK:if(this.options.debug)console.log("found",A.length,"bytes of TRAILING_JUNK");return A.length;default:return A.length}var p=A.length;if(p<d){return 0}switch(this.state){case Z.STREAM_START:case Z.START:var C=A.readUInt32LE(0);switch(C){case te:this.state=Z.LOCAL_FILE_HEADER;break;case ne:this.state=Z.CENTRAL_DIRECTORY_FILE_HEADER;break;case ie:this.state=Z.CDIR64_END;break;case se:this.state=Z.CDIR64_LOCATOR;break;case oe:this.state=Z.CENTRAL_DIRECTORY_END;break;default:var S=this.state===Z.STREAM_START;if(!S&&(C&65535)!==19280&&this.skippedBytes<26){var v=C;var T=4;for(var _=1;_<4&&v!==0;_++){v=v>>>8;if((v&255)===80){T=_;break}}this.skippedBytes+=T;if(this.options.debug)console.log("Skipped",this.skippedBytes,"bytes");return T}this.state=Z.ERROR;var re=S?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var ae=A.readUInt32LE(0);var le;try{le=A.slice(0,4).toString()}catch(A){}console.log("Unexpected signature in zip file: 0x"+ae.toString(16),'"'+le+'", skipped',this.skippedBytes,"bytes")}this.emit("error",new Error(re));return A.length}this.skippedBytes=0;return d;case Z.LOCAL_FILE_HEADER:this.parsedEntity=this._readFile(A);this.state=Z.LOCAL_FILE_HEADER_SUFFIX;return d;case Z.LOCAL_FILE_HEADER_SUFFIX:var ce=new V;var ue=(this.parsedEntity.flags&2048)!==0;ce.path=this._decodeString(A.slice(0,this.parsedEntity.fileNameLength),ue);var Ae=A.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var de=this._readExtraFields(Ae);if(de&&de.parsed){if(de.parsed.path&&!ue){ce.path=de.parsed.path}if(Number.isFinite(de.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===ee-1){this.parsedEntity.uncompressedSize=de.parsed.uncompressedSize}if(Number.isFinite(de.parsed.compressedSize)&&this.parsedEntity.compressedSize===ee-1){this.parsedEntity.compressedSize=de.parsed.compressedSize}}this.parsedEntity.extra=de.parsed||{};if(this.options.debug){const A=Object.assign({},this.parsedEntity,{path:ce.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:de&&de.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(A,null,2))}this._prepareOutStream(this.parsedEntity,ce);this.emit("entry",ce);this.state=Z.FILE_DATA;return d;case Z.CENTRAL_DIRECTORY_FILE_HEADER:this.parsedEntity=this._readCentralDirectoryEntry(A);this.state=Z.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX;return d;case Z.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var ue=(this.parsedEntity.flags&2048)!==0;var pe=this._decodeString(A.slice(0,this.parsedEntity.fileNameLength),ue);var Ae=A.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var de=this._readExtraFields(Ae);if(de&&de.parsed&&de.parsed.path&&!ue){pe=de.parsed.path}this.parsedEntity.extra=de.parsed;var fe=(this.parsedEntity.versionMadeBy&65280)>>8===3;var he,ge;if(fe){he=this.parsedEntity.externalFileAttributes>>>16;var me=he>>>12;ge=(me&10)===10}if(this.options.debug){const A=Object.assign({},this.parsedEntity,{path:pe,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:he&&"0"+he.toString(8),isSymlink:ge,extraFields:de.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(A,null,2))}this.state=Z.START;return d;case Z.CDIR64_END:this.parsedEntity=this._readEndOfCentralDirectory64(A);if(this.options.debug){console.log("decoded CDIR64_END_RECORD:",this.parsedEntity)}this.state=Z.CDIR64_END_DATA_SECTOR;return d;case Z.CDIR64_END_DATA_SECTOR:this.state=Z.START;return d;case Z.CDIR64_LOCATOR:this.state=Z.START;return d;case Z.CENTRAL_DIRECTORY_END:this.parsedEntity=this._readEndOfCentralDirectory(A);if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity)}this.state=Z.CENTRAL_DIRECTORY_END_COMMENT;return d;case Z.CENTRAL_DIRECTORY_END_COMMENT:if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",A.slice(0,d).toString())}this.state=Z.TRAILING_JUNK;return d;case Z.ERROR:return A.length;default:console.log("didn't handle state #",this.state,"discarding");return A.length}};UnzipStream.prototype._prepareOutStream=function(A,d){var p=this;var C=A.uncompressedSize===0&&/[\/\\]$/.test(d.path);d.path=d.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,".");d.type=C?"Directory":"File";d.isDirectory=C;var v=!(A.flags&8);if(v){d.size=A.uncompressedSize}var te=A.versionsNeededToExtract<=45;this.outStreamInfo={stream:null,limit:v?A.compressedSize:-1,written:0};if(!v){var ne=new Buffer(4);ne.writeUInt32LE(re,0);var ie=A.extra.zip64Mode;var se=ie?20:12;var oe={pattern:ne,requiredExtraSize:se};var ae=new _(oe,(function(A,d){var C=p._readDataDescriptor(A,ie);var S=C.compressedSize===d;if(!ie&&!S&&d>=ee){var v=d-ee;while(v>=0){S=C.compressedSize===v;if(S)break;v-=ee}}if(!S){return}p.state=Z.FILE_DATA_END;var T=ie?24:16;if(p.data.length>0){p.data=Buffer.concat([A.slice(T),p.data])}else{p.data=A.slice(T)}return true}));this.outStreamInfo.stream=ae}else{this.outStreamInfo.stream=new S.PassThrough}var le=A.flags&1||A.flags&64;if(le||!te){var ce=le?"Encrypted files are not supported!":"Zip version "+Math.floor(A.versionsNeededToExtract/10)+"."+A.versionsNeededToExtract%10+" is not supported";d.skip=true;setImmediate((()=>{p.emit("error",new Error(ce))}));this.outStreamInfo.stream.pipe((new V).autodrain());return}var ue=A.compressionMethod>0;if(ue){var Ae=T.createInflateRaw();Ae.on("error",(function(A){p.state=Z.ERROR;p.emit("error",A)}));this.outStreamInfo.stream.pipe(Ae).pipe(d)}else{this.outStreamInfo.stream.pipe(d)}if(this._drainAllEntries){d.autodrain()}};UnzipStream.prototype._readFile=function(A){var d=C.parse(A).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return d};UnzipStream.prototype._readExtraFields=function(A){var d={};var p={parsed:d};if(this.options.debug){p.debug=[]}var S=0;while(S<A.length){var v=C.parse(A).skip(S).word16lu("extraId").word16lu("extraSize").vars;S+=4;var T=undefined;switch(v.extraId){case 1:T="Zip64 extended information extra field";var _=C.parse(A.slice(S,S+v.extraSize)).word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offsetToLocalHeader").word32lu("diskStartNumber").vars;if(_.uncompressedSize!==null){d.uncompressedSize=_.uncompressedSize}if(_.compressedSize!==null){d.compressedSize=_.compressedSize}d.zip64Mode=true;break;case 10:T="NTFS extra field";break;case 21589:T="extended timestamp";var V=A.readUInt8(S);var Z=1;if(v.extraSize>=Z+4&&V&1){d.mtime=new Date(A.readUInt32LE(S+Z)*1e3);Z+=4}if(v.extraSize>=Z+4&&V&2){d.atime=new Date(A.readUInt32LE(S+Z)*1e3);Z+=4}if(v.extraSize>=Z+4&&V&4){d.ctime=new Date(A.readUInt32LE(S+Z)*1e3)}break;case 28789:T="Info-ZIP Unicode Path Extra Field";var ee=A.readUInt8(S);if(ee===1){var Z=1;var te=A.readUInt32LE(S+Z);Z+=4;var re=A.slice(S+Z);d.path=re.toString()}break;case 13:case 22613:T=v.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var Z=0;if(v.extraSize>=8){var ne=new Date(A.readUInt32LE(S+Z)*1e3);Z+=4;var ie=new Date(A.readUInt32LE(S+Z)*1e3);Z+=4;d.atime=ne;d.mtime=ie;if(v.extraSize>=12){var se=A.readUInt16LE(S+Z);Z+=2;var oe=A.readUInt16LE(S+Z);Z+=2;d.uid=se;d.gid=oe}}break;case 30805:T="Info-ZIP UNIX (type 2)";var Z=0;if(v.extraSize>=4){var se=A.readUInt16LE(S+Z);Z+=2;var oe=A.readUInt16LE(S+Z);Z+=2;d.uid=se;d.gid=oe}break;case 30837:T="Info-ZIP New Unix";var Z=0;var ae=A.readUInt8(S);Z+=1;if(ae===1){var le=A.readUInt8(S+Z);Z+=1;if(le<=6){d.uid=A.readUIntLE(S+Z,le)}Z+=le;var ce=A.readUInt8(S+Z);Z+=1;if(ce<=6){d.gid=A.readUIntLE(S+Z,ce)}}break;case 30062:T="ASi Unix";var Z=0;if(v.extraSize>=14){var ue=A.readUInt32LE(S+Z);Z+=4;var Ae=A.readUInt16LE(S+Z);Z+=2;var de=A.readUInt32LE(S+Z);Z+=4;var se=A.readUInt16LE(S+Z);Z+=2;var oe=A.readUInt16LE(S+Z);Z+=2;d.mode=Ae;d.uid=se;d.gid=oe;if(v.extraSize>14){var pe=S+Z;var fe=S+v.extraSize-14;var he=this._decodeString(A.slice(pe,fe));d.symlink=he}}break}if(this.options.debug){p.debug.push({extraId:"0x"+v.extraId.toString(16),description:T,data:A.slice(S,S+v.extraSize).inspect()})}S+=v.extraSize}return p};UnzipStream.prototype._readDataDescriptor=function(A,d){if(d){var p=C.parse(A).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return p}var p=C.parse(A).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return p};UnzipStream.prototype._readCentralDirectoryEntry=function(A){var d=C.parse(A).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 d};UnzipStream.prototype._readEndOfCentralDirectory64=function(A){var d=C.parse(A).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return d};UnzipStream.prototype._readEndOfCentralDirectory=function(A){var d=C.parse(A).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return d};const ae="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";UnzipStream.prototype._decodeString=function(A,d){if(d){return A.toString("utf8")}if(this.options.decodeString){return this.options.decodeString(A)}let p="";for(var C=0;C<A.length;C++){p+=ae[A[C]]}return p};UnzipStream.prototype._parseOrOutput=function(A,d){var p;while((p=this.processDataChunk(this.data))>0){this.data=this.data.slice(p);if(this.data.length===0)break}if(this.state===Z.FILE_DATA){if(this.outStreamInfo.limit>=0){var C=this.outStreamInfo.limit-this.outStreamInfo.written;var S;if(C<this.data.length){S=this.data.slice(0,C);this.data=this.data.slice(C)}else{S=this.data;this.data=new Buffer("")}this.outStreamInfo.written+=S.length;if(this.outStreamInfo.limit===this.outStreamInfo.written){this.state=Z.START;this.outStreamInfo.stream.end(S,A,d)}else{this.outStreamInfo.stream.write(S,A,d)}}else{var S=this.data;this.data=new Buffer("");this.outStreamInfo.written+=S.length;var v=this.outStreamInfo.stream;v.write(S,A,(()=>{if(this.state===Z.FILE_DATA_END){this.state=Z.START;return v.end(d)}d()}))}return}d()};UnzipStream.prototype.drainAll=function(){this._drainAllEntries=true};UnzipStream.prototype._transform=function(A,d,p){var C=this;if(C.data.length>0){C.data=Buffer.concat([C.data,A])}else{C.data=A}var S=C.data.length;var done=function(){if(C.data.length>0&&C.data.length<S){S=C.data.length;C._parseOrOutput(d,done);return}p()};C._parseOrOutput(d,done)};UnzipStream.prototype._flush=function(A){var d=this;if(d.data.length>0){d._parseOrOutput("buffer",(function(){if(d.data.length>0)return setImmediate((function(){d._flush(A)}));A()}));return}if(d.state===Z.FILE_DATA){return A(new Error("Stream finished in an invalid state, uncompression failed"))}setImmediate(A)};A.exports=UnzipStream},34340:(A,d,p)=>{d.Parse=p(88696);d.Extract=p(91991)},48728:(A,d,p)=>{A.exports=p(39023).deprecate},31828:(A,d,p)=>{const C=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";const S=p(16928);const v=C?";":":";const T=p(20845);const getNotFoundError=A=>Object.assign(new Error(`not found: ${A}`),{code:"ENOENT"});const getPathInfo=(A,d)=>{const p=d.colon||v;const S=A.match(/\//)||C&&A.match(/\\/)?[""]:[...C?[process.cwd()]:[],...(d.path||process.env.PATH||"").split(p)];const T=C?d.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"";const _=C?T.split(p):[""];if(C){if(A.indexOf(".")!==-1&&_[0]!=="")_.unshift("")}return{pathEnv:S,pathExt:_,pathExtExe:T}};const which=(A,d,p)=>{if(typeof d==="function"){p=d;d={}}if(!d)d={};const{pathEnv:C,pathExt:v,pathExtExe:_}=getPathInfo(A,d);const V=[];const step=p=>new Promise(((v,T)=>{if(p===C.length)return d.all&&V.length?v(V):T(getNotFoundError(A));const _=C[p];const Z=/^".*"$/.test(_)?_.slice(1,-1):_;const ee=S.join(Z,A);const te=!Z&&/^\.[\\\/]/.test(A)?A.slice(0,2)+ee:ee;v(subStep(te,p,0))}));const subStep=(A,p,C)=>new Promise(((S,Z)=>{if(C===v.length)return S(step(p+1));const ee=v[C];T(A+ee,{pathExt:_},((v,T)=>{if(!v&&T){if(d.all)V.push(A+ee);else return S(A+ee)}return S(subStep(A,p,C+1))}))}));return p?step(0).then((A=>p(null,A)),p):step(0)};const whichSync=(A,d)=>{d=d||{};const{pathEnv:p,pathExt:C,pathExtExe:v}=getPathInfo(A,d);const _=[];for(let V=0;V<p.length;V++){const Z=p[V];const ee=/^".*"$/.test(Z)?Z.slice(1,-1):Z;const te=S.join(ee,A);const re=!ee&&/^\.[\\\/]/.test(A)?A.slice(0,2)+te:te;for(let A=0;A<C.length;A++){const p=re+C[A];try{const A=T.sync(p,{pathExt:v});if(A){if(d.all)_.push(p);else return p}}catch(A){}}}if(d.all&&_.length)return _;if(d.nothrow)return null;throw getNotFoundError(A)};A.exports=which;which.sync=whichSync},16039:A=>{A.exports=wrappy;function wrappy(A,d){if(A&&d)return wrappy(A)(d);if(typeof A!=="function")throw new TypeError("need wrapper function");Object.keys(A).forEach((function(d){wrapper[d]=A[d]}));return wrapper;function wrapper(){var d=new Array(arguments.length);for(var p=0;p<d.length;p++){d[p]=arguments[p]}var C=A.apply(this,d);var S=d[d.length-1];if(typeof C==="function"&&C!==S){Object.keys(S).forEach((function(A){C[A]=S[A]}))}return C}}},60318:(A,d,p)=>{
/**
* ZipStream
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
* @copyright (c) 2014 Chris Talkington, contributors.
*/
var C=p(39023).inherits;var S=p(93920).ZipArchiveOutputStream;var v=p(93920).ZipArchiveEntry;var T=p(16090);var _=A.exports=function(A){if(!(this instanceof _)){return new _(A)}A=this.options=A||{};A.zlib=A.zlib||{};S.call(this,A);if(typeof A.level==="number"&&A.level>=0){A.zlib.level=A.level;delete A.level}if(!A.forceZip64&&typeof A.zlib.level==="number"&&A.zlib.level===0){A.store=true}A.namePrependSlash=A.namePrependSlash||false;if(A.comment&&A.comment.length>0){this.setComment(A.comment)}};C(_,S);_.prototype._normalizeFileData=function(A){A=T.defaults(A,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=A.type==="directory";var p=A.type==="symlink";if(A.name){A.name=T.sanitizePath(A.name);if(!p&&A.name.slice(-1)==="/"){d=true;A.type="directory"}else if(d){A.name+="/"}}if(d||p){A.store=true}A.date=T.dateify(A.date);return A};_.prototype.entry=function(A,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var C=new v(d.name);C.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){C.setName(d.name,true)}if(d.store){C.setMethod(0)}if(d.comment.length>0){C.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}C.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){A=Buffer.from(d.linkname)}return S.prototype.entry.call(this,C,A,p)};_.prototype.finalize=function(){this.finish()}},90532:(A,d,p)=>{p.d(d,{a:()=>buildProject});var C=p(73024);var S=p(76760);var v=p(45292);class Runner{constructor(A,d){this.bin=A;this.tauriScript=d||[]}async execTauriCommand(A,d,p,C,S=0){const T=[...this.tauriScript,...A];if(this.bin==="npm"&&d.length){T.push("--")}T.push(...d);return(0,v.L5)((()=>(0,v.NK)(this.bin,T,{cwd:p},C)),S+1)}}async function getRunner(A,d){if(d){console.log("`tauriScript` set. Skipping cli verification.");const[A,...p]=d.split(" ");return new Runner(A,p)}if((0,v.ws)("@tauri-apps/cli",A)){if((0,v.z8)(A))return new Runner("yarn",["tauri"]);if((0,v.me)(A))return new Runner("pnpm",["tauri"]);if((0,v.Ui)(A))return new Runner("bun",["tauri"]);if((0,v._$)(A))return new Runner("npm",[(0,v.dk)(A)?"run":"exec","tauri"])}console.warn("Could not detect valid `@tauri-apps/cli` installation. Proceeding to install global npm package...");await(0,v.NK)("npm",["install","-g",`@tauri-apps/cli@v2`],{cwd:undefined});return new Runner("tauri")}async function buildProject(A,d,p,T){const _=await getRunner(A,d.tauriScript);const V=d.args??[];const Z=[...V].findIndex((A=>A==="-d"||A==="--debug"))>=0;const ee=[...V].findIndex((A=>A==="-t"||A==="--target"));const te=ee>=0?[...V][ee+1]:undefined;const re=[...V].findIndex((A=>A==="-c"||A==="--config"));const ne=re>=0?[...V][re+1]:undefined;const ie=[...V].findIndex((A=>A==="--profile"));const se=ie>=0?[...V][ie+1]:undefined;const oe=(0,v.sg)(te);const ae=(0,v.Vp)(A,oe,ne);if(!ae.tauriPath){throw Error("Couldn't detect path of tauri app")}const le={tauriPath:ae.tauriPath,runner:_,name:ae.name,mainBinaryName:ae.mainBinaryName,version:ae.version,wixLanguage:ae.wixLanguage,rpmRelease:ae.rpmRelease};await _.execTauriCommand(["build"],[...V],A,oe.platform==="macos"?{TAURI_BUNDLER_DMG_IGNORE_CI:process.env.TAURI_BUNDLER_DMG_IGNORE_CI??"true"}:undefined,p);const ce=(0,v.Lw)(le.tauriPath)??le.tauriPath;const ue=(0,S.join)((0,v.d)(ce,ae.tauriPath,!!te),te??"",se?se:Z?"debug":"release");let Ae=[];let de=oe.arch;if(oe.platform==="macos"){if(de==="x86_64"){de="x64"}else if(de==="arm64"){de="aarch64"}Ae=[(0,v.Dg)({path:(0,S.join)(ue,`bundle/dmg/${le.name}_${le.version}_${de}.dmg`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"dmg",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/macos/${le.name}.app`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"app",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/macos/${le.name}.app.tar.gz`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"app",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/macos/${le.name}.app.tar.gz.sig`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"app",version:le.version})]}else if(oe.platform==="windows"){if(de.startsWith("i")){de="x86"}else if(de==="aarch64"||de==="arm64"){de="arm64"}else{de="x64"}let A;if(typeof le.wixLanguage==="string"){A=[le.wixLanguage]}else if(Array.isArray(le.wixLanguage)){A=le.wixLanguage}else{A=Object.keys(le.wixLanguage)}const d=[];A.forEach((A=>{d.push((0,v.Dg)({path:(0,S.join)(ue,`bundle/msi/${le.name}_${le.version}_${de}_${A}.msi`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"msi",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/msi/${le.name}_${le.version}_${de}_${A}.msi.sig`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"msi",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/msi/${le.name}_${le.version}_${de}_${A}.msi.zip`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"msi",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/msi/${le.name}_${le.version}_${de}_${A}.msi.zip.sig`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"msi",version:le.version}))}));d.push((0,v.Dg)({path:(0,S.join)(ue,`bundle/nsis/${le.name}_${le.version}_${de}-setup.exe`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"nsis",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/nsis/${le.name}_${le.version}_${de}-setup.exe.sig`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"nsis",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/nsis/${le.name}_${le.version}_${de}-setup.nsis.zip`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"nsis",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/nsis/${le.name}_${le.version}_${de}-setup.nsis.zip.sig`),name:le.name,debug:Z,platform:oe.platform,arch:de,bundle:"nsis",version:le.version}));Ae=d}else{const A=de==="x64"||de==="x86_64"?"amd64":de==="x32"||de==="i686"?"i386":de==="arm"?"armhf":de==="aarch64"?"arm64":de;const d=de==="x64"||de==="x86_64"?"x86_64":de==="x32"||de==="x86"||de==="i686"?"i386":de==="arm"?"armhfp":de==="arm64"?"aarch64":de;const p=de==="x64"||de==="x86_64"?"amd64":de==="x32"||de==="i686"?"i386":de==="arm"?"arm":de==="arm64"?"aarch64":de;Ae=[(0,v.Dg)({path:(0,S.join)(ue,`bundle/deb/${le.name}_${le.version}_${A}.deb`),name:le.name,debug:Z,platform:oe.platform,arch:A,bundle:"deb",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/deb/${le.name}_${le.version}_${A}.deb.sig`),name:le.name,debug:Z,platform:oe.platform,arch:A,bundle:"deb",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/rpm/${le.name}-${le.version}-${le.rpmRelease}.${d}.rpm`),name:le.name,debug:Z,platform:oe.platform,arch:d,bundle:"rpm",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/rpm/${le.name}-${le.version}-${le.rpmRelease}.${d}.rpm.sig`),name:le.name,debug:Z,platform:oe.platform,arch:d,bundle:"rpm",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/appimage/${le.name}_${le.version}_${p}.AppImage`),name:le.name,debug:Z,platform:oe.platform,arch:p,bundle:"appimage",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/appimage/${le.name}_${le.version}_${p}.AppImage.sig`),name:le.name,debug:Z,platform:oe.platform,arch:p,bundle:"appimage",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/appimage/${le.name}_${le.version}_${p}.AppImage.tar.gz`),name:le.name,debug:Z,platform:oe.platform,arch:p,bundle:"appimage",version:le.version}),(0,v.Dg)({path:(0,S.join)(ue,`bundle/appimage/${le.name}_${le.version}_${p}.AppImage.tar.gz.sig`),name:le.name,debug:Z,platform:oe.platform,arch:p,bundle:"appimage",version:le.version})]}if(T){const A=oe.platform==="windows"?".exe":"";Ae.push((0,v.Dg)({path:(0,S.join)(ue,`${le.mainBinaryName}${A}`),name:"binary",bundle:"bin",debug:Z,platform:oe.platform,arch:de,version:le.version}))}console.log(`Looking for artifacts in:\n${Ae.map((A=>A.path)).join("\n")}`);return Ae.filter((A=>(0,C.existsSync)(A.path)))}},60644:(A,d,p)=>{p.d(d,{l:()=>getOrCreateRelease});var C=p(73024);var S=p.n(C);var v=p(16966);var T=p.n(v);var _=p(84903);var V=p.n(_);function allReleases(A,d,p){const C={per_page:100,owner:d,repo:p};return A.paginate.iterator(A.rest.repos.listReleases.endpoint.merge(C))}async function getOrCreateRelease(A,d,p,C,T,V,Z,ee=true,te=true,re=false){if(process.env.GITHUB_TOKEN===undefined){throw new Error("GITHUB_TOKEN is required")}const ne=(0,_.getOctokit)(process.env.GITHUB_TOKEN,{baseUrl:C});const ie=v.getInput("body_path",{required:false});let se=null;if(ie!==""&&!!ie){try{se=S().readFileSync(ie,{encoding:"utf8"})}catch(A){v.setFailed(A.message)}}let oe=null;try{if(ee){console.log(`Looking for a draft release with tag ${p}...`);for await(const C of allReleases(ne,A,d)){const A=C.data.find((A=>A.tag_name===p));if(A){if(!A.draft){console.warn(`Found release with tag ${p} but it's NOT a draft!`);break}oe=A;console.log(`Found draft release with tag ${p} on the release list.`);break}}if(!oe){throw new Error("release not found")}}else{const C=await ne.rest.repos.getReleaseByTag({owner:A,repo:d,tag:p});oe=C.data;console.log(`Found release with tag ${p}.`)}}catch(C){if(C.status===404||C.message==="release not found"){console.log(`Couldn't find release with tag ${p}. Creating one.`);if(!T){console.error('"releaseName" not set but required to create release.')}else{const C=await ne.rest.repos.createRelease({owner:A,repo:d,tag_name:p,name:T,body:se||V,draft:ee,prerelease:te,target_commitish:Z||_.context.sha,generate_release_notes:re});oe=C.data}}else{console.log(`⚠️ Unexpected error fetching GitHub release for tag ${p}: ${C}`);throw C}}if(!oe){throw new Error("Release not found or created.")}return{id:oe.id,uploadUrl:oe.upload_url,htmlUrl:oe.html_url}}},46866:(A,d,p)=>{p.a(A,(async(A,d)=>{try{var C=p(73024);var S=p.n(C);var v=p(76760);var T=p.n(v);var _=p(16966);var V=p.n(_);var Z=p(84903);var ee=p.n(Z);var te=p(28445);var re=p(60644);var ne=p(21103);var ie=p(46715);var se=p(90532);var oe=p(45292);var ae=p(34689);async function run(){try{const A=(0,v.resolve)(process.cwd(),_.getInput("projectPath")||process.argv[2]);const d=_.getBooleanInput("includeUpdaterJson");const p=parseInt(_.getInput("retryAttempts")||"0",10);const S=_.getInput("tauriScript");const T=(0,te.A)(_.getInput("args"));const V=_.getInput("releaseAssetNamePattern");const ee=_.getBooleanInput("uploadPlainBinary");let le=_.getInput("tagName").replace("refs/tags/","");let ce=Number(_.getInput("releaseId"));let ue=_.getInput("releaseName").replace("refs/tags/","");let Ae=_.getInput("releaseBody");const de=_.getInput("owner")||Z.context.repo.owner;const pe=_.getInput("repo")||Z.context.repo.repo;const fe=_.getBooleanInput("releaseDraft");const he=_.getBooleanInput("prerelease");const ge=_.getInput("releaseCommitish")||null;const me=_.getInput("githubBaseUrl")||process.env.GITHUB_API_URL||"https://api.github.com";const ye=_.getBooleanInput("isGitea");const Ee=_.getBooleanInput("generateReleaseNotes");const be=_.getBooleanInput("uploadWorkflowArtifacts");const Ce=_.getInput("workflowArtifactsNamePattern")||"[platform]-[arch]-[bundle]";const Be=_.getBooleanInput("uploadUpdaterSignatures");const Ie=_.getInput("updaterJsonPreferNsis")?.toLowerCase()==="true";const Se={tauriScript:S,args:T};const we=[...T].findIndex((A=>A==="-t"||A==="--target"));const Qe=we>=0?[...T][we+1]:undefined;const ve=[...T].findIndex((A=>A==="-c"||A==="--config"));const Re=ve>=0?[...T][ve+1]:undefined;const Ne=[];Ne.push(...await(0,se.a)(A,Se,p,ee));if(Ne.length===0){if(ce||le||be){throw new Error("No artifacts were found.")}else{console.log("No artifacts were found. The action was not configured to upload artifacts, therefore this is not handled as an error.");return}}console.log(`Found artifacts:\n${Ne.map((A=>A.path)).join("\n")}`);_.setOutput("artifactPaths",JSON.stringify(Ne.map((A=>A.path))));const De=(0,oe.sg)(Qe);const xe=(0,oe.Vp)(A,De,Re);_.setOutput("appVersion",xe.version);if(be){await(0,ae.I)(Ne,Ce,p)}if(De.platform==="macos"){let A=0;for(const d of Ne){if(d.path.endsWith(".app")&&!(0,C.existsSync)(`${d.path}.tar.gz`)){console.log(`Packaging ${d.path} directory into ${d.path}.tar.gz`);await(0,oe.NK)("tar",["czf",`${d.path}.tar.gz`,"-C",(0,v.dirname)(d.path),(0,v.basename)(d.path)]);d.path+=".tar.gz";d.ext+=".tar.gz"}else if(d.path.endsWith(".app")){Ne.splice(A,1)}A++}}if(le&&!ce){const A=[{key:"__VERSION__",value:xe.version}];A.forEach((A=>{const d=new RegExp(A.key,"g");le=le.replace(d,A.value);ue=ue.replace(d,A.value);Ae=Ae.replace(d,A.value)}));const d=await(0,re.l)(de,pe,le,me,ue||undefined,Ae,ge||undefined,fe,he,Ee);ce=d.id;_.setOutput("releaseUploadUrl",d.uploadUrl);_.setOutput("releaseId",d.id.toString());_.setOutput("releaseHtmlUrl",d.htmlUrl)}if(ce){await(0,ne.r)(de,pe,ce,Ne,p,me,ye,V,Be);if(d){await(0,ie.Y)(de,pe,xe.version,Ae,le,ce,Ne,De,xe.unzippedSigs,Ie,p,me,ye,V)}}else{console.log("No releaseId or tagName provided, skipping all uploads...")}}catch(A){_.setFailed(A.message)}}await run();d()}catch(le){d(le)}}),1)},21103:(A,d,p)=>{p.d(d,{r:()=>uploadAssets});var C=p(73024);var S=p.n(C);var v=p(84903);var T=p.n(v);var _=p(45292);async function uploadAssets(A,d,p,C,T,V,Z,ee,te){if(process.env.GITHUB_TOKEN===undefined){throw new Error("GITHUB_TOKEN is required")}const re=(0,v.getOctokit)(process.env.GITHUB_TOKEN,{baseUrl:V});const ne=(await re.rest.repos.listReleaseAssets({owner:A,repo:d,release_id:p,per_page:100})).data;const contentLength=A=>S().statSync(A).size;for(const v of C){if(!te&&v.ext.endsWith(".sig")){continue}const C={"content-type":"application/zip","content-length":contentLength(v.path)};const V=(0,_.wm)(v,ee);const ie=(0,_.br)(v,ee);const se=ne.find((A=>A.label===V||A.name===ie));if(se){console.log(`Deleting existing ${V}...`);if(Z){await(0,_.Rx)(re,A,d,p,se.id)}else{await re.rest.repos.deleteReleaseAsset({owner:A,repo:d,asset_id:se.id})}}console.log(`Uploading ${V}...`);await(0,_.L5)((()=>re.rest.repos.uploadReleaseAsset({headers:C,name:V,label:V,data:S().createReadStream(v.path),owner:A,repo:d,release_id:p})),T+1);console.log(`${V} successfully uploaded.`)}}},46715:(A,d,p)=>{p.d(d,{Y:()=>uploadVersionJSON});var C=p(73024);var S=p.n(C);var v=p(76760);var T=p.n(v);var _=p(84903);var V=p.n(_);var Z=p(21103);var ee=p(45292);async function uploadVersionJSON(A,d,p,S,T,V,te,re,ne,ie,se,oe,ae,le){if(process.env.GITHUB_TOKEN===undefined){throw new Error("GITHUB_TOKEN is required")}const ce=(0,_.getOctokit)(process.env.GITHUB_TOKEN,{baseUrl:oe});const ue="latest.json";const Ae=(0,v.resolve)(process.cwd(),ue);const de={version:p,notes:S,pub_date:(new Date).toISOString(),platforms:{}};const pe=await ce.rest.repos.listReleaseAssets({owner:A,repo:d,release_id:V,per_page:50});const fe=pe.data.find((A=>A.name===ue));if(fe){if(ae){const p=(await ce.request("GET /repos/{owner}/{repo}/releases/{release_id}/assets/{asset_id}",{owner:A,repo:d,release_id:V,asset_id:fe.id})).data;const C=(await ce.request(`GET ${p.browser_download_url}`)).data;de.platforms=JSON.parse(C).platforms}else{const p=(await ce.request(`GET /repos/{owner}/{repo}/releases/assets/{asset_id}`,{owner:A,repo:d,release_id:V,asset_id:fe.id,headers:{accept:"application/octet-stream"}})).data;de.platforms=JSON.parse(Buffer.from(p).toString()).platforms}}const he=[];for(const A of pe.data){he.push({name:A.name,label:A.label,url:A.browser_download_url})}const ge=[];let me;let ye;for(const A of te){if(A.ext===".app.tar.gz"&&A.arch==="universal"){const d={...A,arch:"aarch64"};const p={...A,arch:"x86_64"};const C=(0,ee.br)(d,le);const S=(0,ee.wm)(d,le);const v=(0,ee.br)(p,le);const T=(0,ee.wm)(p,le);me=!!he.find((A=>A.label===S||A.name===C));ye=!!he.find((A=>A.label===T||A.name===v))}const d=(0,ee.wm)(A,le);const p=(0,ee.br)(A,le);const C=he.find((A=>A.label===d||A.name===p))?.url;if(C){ge.push({downloadUrl:C,assetLabel:d,assetName:p,path:A.path,arch:A.arch,bundle:A.bundle})}}const Ee=ge.filter((A=>A.assetName.endsWith(".sig")));function signaturePriority(A){if(ne&&A.endsWith(".AppImage.sig")||!ne&&A.endsWith(".AppImage.tar.gz.sig")){return 100}const d=ie?ne?[".exe.sig",".msi.sig"]:[".nsis.zip.sig",".msi.zip.sig"]:ne?[".msi.sig",".exe.sig"]:[".msi.zip.sig",".nsis.zip.sig"];for(const[p,C]of d.entries()){if(A.endsWith(C)){return 100-p}}return 0}Ee.sort(((A,d)=>signaturePriority(d.path)-signaturePriority(A.path)));if(!Ee[0]){console.warn("Signature not found for the updater JSON. Skipping upload...");return}for(const[A,d]of Ee.entries()){const p=(0,v.basename)(d.assetLabel,(0,v.extname)(d.assetLabel));const S=(0,v.basename)(d.assetName,(0,v.extname)(d.assetName));let _=ge.find((A=>A.assetLabel===p||A.assetName===S))?.downloadUrl;if(!_){console.warn(`Updater asset belonging to signature file "${d.assetName}" not found.`);continue}_=_.replace(/\/download\/(untagged-[^/]+)\//,T?`/download/${encodeURIComponent(T)}/`:"/latest/download/");let V=re.platform;if(V==="macos"){V="darwin"}let Z=d.arch;Z=Z==="amd64"||Z==="x86_64"||Z==="x64"?"x86_64":Z==="x86"||Z==="i386"?"i686":Z==="arm"?"armv7":Z==="arm64"?"aarch64":Z;if(A===0){if(V==="darwin"&&Z==="universal"){if(!de.platforms["darwin-aarch64"]||!me){de.platforms["darwin-aarch64"]={signature:(0,C.readFileSync)(d.path).toString(),url:_}}if(!de.platforms["darwin-x86_64"]||!ye){de.platforms["darwin-x86_64"]={signature:(0,C.readFileSync)(d.path).toString(),url:_}}}de.platforms[`${V}-${Z}`]={signature:(0,C.readFileSync)(d.path).toString(),url:_}}if(V==="darwin"&&Z==="universal"){if(!de.platforms["darwin-aarch64-app"]||!me){de.platforms["darwin-aarch64-app"]={signature:(0,C.readFileSync)(d.path).toString(),url:_}}if(!de.platforms["darwin-x86_64-app"]||!ye){de.platforms["darwin-x86_64-app"]={signature:(0,C.readFileSync)(d.path).toString(),url:_}}}de.platforms[`${V}-${Z}-${d.bundle}`]={signature:(0,C.readFileSync)(d.path).toString(),url:_}}(0,C.writeFileSync)(Ae,JSON.stringify(de,null,2));if(fe){if(ae){await(0,ee.Rx)(ce,A,d,V,fe.id)}else{await ce.rest.repos.deleteReleaseAsset({owner:A,repo:d,release_id:V,asset_id:fe.id})}}const be=(0,ee.Dg)({path:Ae,name:ue,debug:false,platform:re.platform,arch:"",bundle:"",version:p});await(0,Z.r)(A,d,V,[be],se,oe,ae)}},34689:(A,d,p)=>{p.d(d,{I:()=>uploadWorkflowArtifacts});var C=p(76760);var S=p.n(C);var v=p(56037);var T=p.n(v);var _=p(71635);var V=p(45292);async function uploadWorkflowArtifacts(A,d,p){for(const S of A){if(S.workflowArtifactName){let A=S.workflowArtifactName;if(typeof d==="string"){A=(0,V.wm)(S,d)}let v=[S.path];if(S.ext===".app"){v=(0,_.Hz)("**/*",{cwd:S.path,absolute:true})}console.log("Handing it off to GitHub's uploadArtifact function. This will print a few unmanaged logs.");await(0,V.L5)((()=>T().uploadArtifact(A,v,(0,C.dirname)(S.path),{compressionLevel:S.ext===".app"?6:0})),p);console.log("Workflow artifacts uploads DONE!")}}}},45292:(d,p,C)=>{C.d(p,{Dg:()=>createArtifact,Rx:()=>deleteGiteaReleaseAsset,NK:()=>execCommand,wm:()=>getAssetName,Vp:()=>getInfo,d:()=>getTargetDir,sg:()=>getTargetInfo,Lw:()=>getWorkspaceDir,br:()=>ghAssetName,ws:()=>hasDependency,dk:()=>hasTauriScript,L5:()=>retry,Ui:()=>usesBun,_$:()=>usesNpm,me:()=>usesPnpm,z8:()=>usesYarn});var S=C(73024);var v=C(76760);var T=C.n(v);
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
function getLineColFromPtr(A,d){let p=A.slice(0,d).split(/\r\n|\n|\r/g);return[p.length,p.pop().length+1]}function makeCodeBlock(A,d,p){let C=A.split(/\r\n|\n|\r/g);let S="";let v=(Math.log10(d+1)|0)+1;for(let A=d-1;A<=d+1;A++){let T=C[A-1];if(!T)continue;S+=A.toString().padEnd(v," ");S+=": ";S+=T;S+="\n";if(A===d){S+=" ".repeat(v+p+2);S+="^\n"}}return S}class TomlError extends Error{line;column;codeblock;constructor(A,d){const[p,C]=getLineColFromPtr(d.toml,d.ptr);const S=makeCodeBlock(d.toml,p,C);super(`Invalid TOML document: ${A}\n\n${S}`,d);this.line=p;this.column=C;this.codeblock=S}}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
function isEscaped(A,d){let p=0;while(A[d-++p]==="\\");return--p&&p%2}function indexOfNewline(A,d=0,p=A.length){let C=A.indexOf("\n",d);if(A[C-1]==="\r")C--;return C<=p?C:-1}function skipComment(A,d){for(let p=d;p<A.length;p++){let C=A[p];if(C==="\n")return p;if(C==="\r"&&A[p+1]==="\n")return p+1;if(C<" "&&C!=="\t"||C===""){throw new TomlError("control characters are not allowed in comments",{toml:A,ptr:d})}}return A.length}function skipVoid(A,d,p,C){let S;while((S=A[d])===" "||S==="\t"||!p&&(S==="\n"||S==="\r"&&A[d+1]==="\n"))d++;return C||S!=="#"?d:skipVoid(A,skipComment(A,d),p)}function skipUntil(A,d,p,C,S=false){if(!C){d=indexOfNewline(A,d);return d<0?A.length:d}for(let v=d;v<A.length;v++){let d=A[v];if(d==="#"){v=indexOfNewline(A,v)}else if(d===p){return v+1}else if(d===C||S&&(d==="\n"||d==="\r"&&A[v+1]==="\n")){return v}}throw new TomlError("cannot find end of structure",{toml:A,ptr:d})}function getStringEnd(A,d){let p=A[d];let C=p===A[d+1]&&A[d+1]===A[d+2]?A.slice(d,d+3):p;d+=C.length-1;do{d=A.indexOf(C,++d)}while(d>-1&&p!=="'"&&isEscaped(A,d));if(d>-1){d+=C.length;if(C.length>1){if(A[d]===p)d++;if(A[d]===p)d++}}return d}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
let _=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;class TomlDate extends Date{#g=false;#m=false;#y=null;constructor(A){let d=true;let p=true;let C="Z";if(typeof A==="string"){let S=A.match(_);if(S){if(!S[1]){d=false;A=`0000-01-01T${A}`}p=!!S[2];p&&A[10]===" "&&(A=A.replace(" ","T"));if(S[2]&&+S[2]>23){A=""}else{C=S[3]||null;A=A.toUpperCase();if(!C&&p)A+="Z"}}else{A=""}}super(A);if(!isNaN(this.getTime())){this.#g=d;this.#m=p;this.#y=C}}isDateTime(){return this.#g&&this.#m}isLocal(){return!this.#g||!this.#m||!this.#y}isDate(){return this.#g&&!this.#m}isTime(){return this.#m&&!this.#g}isValid(){return this.#g||this.#m}toISOString(){let A=super.toISOString();if(this.isDate())return A.slice(0,10);if(this.isTime())return A.slice(11,23);if(this.#y===null)return A.slice(0,-1);if(this.#y==="Z")return A;let d=+this.#y.slice(1,3)*60+ +this.#y.slice(4,6);d=this.#y[0]==="-"?d:-d;let p=new Date(this.getTime()-d*6e4);return p.toISOString().slice(0,-1)+this.#y}static wrapAsOffsetDateTime(A,d="Z"){let p=new TomlDate(A);p.#y=d;return p}static wrapAsLocalDateTime(A){let d=new TomlDate(A);d.#y=null;return d}static wrapAsLocalDate(A){let d=new TomlDate(A);d.#m=false;d.#y=null;return d}static wrapAsLocalTime(A){let d=new TomlDate(A);d.#g=false;d.#y=null;return d}}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
let V=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/;let Z=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/;let ee=/^[+-]?0[0-9_]/;let te=/^[0-9a-f]{4,8}$/i;let re={b:"\b",t:"\t",n:"\n",f:"\f",r:"\r",'"':'"',"\\":"\\"};function parseString(A,d=0,p=A.length){let C=A[d]==="'";let S=A[d++]===A[d]&&A[d]===A[d+1];if(S){p-=2;if(A[d+=2]==="\r")d++;if(A[d]==="\n")d++}let v=0;let T;let _="";let V=d;while(d<p-1){let p=A[d++];if(p==="\n"||p==="\r"&&A[d]==="\n"){if(!S){throw new TomlError("newlines are not allowed in strings",{toml:A,ptr:d-1})}}else if(p<" "&&p!=="\t"||p===""){throw new TomlError("control characters are not allowed in strings",{toml:A,ptr:d-1})}if(T){T=false;if(p==="u"||p==="U"){let C=A.slice(d,d+=p==="u"?4:8);if(!te.test(C)){throw new TomlError("invalid unicode escape",{toml:A,ptr:v})}try{_+=String.fromCodePoint(parseInt(C,16))}catch{throw new TomlError("invalid unicode escape",{toml:A,ptr:v})}}else if(S&&(p==="\n"||p===" "||p==="\t"||p==="\r")){d=skipVoid(A,d-1,true);if(A[d]!=="\n"&&A[d]!=="\r"){throw new TomlError("invalid escape: only line-ending whitespace may be escaped",{toml:A,ptr:v})}d=skipVoid(A,d)}else if(p in re){_+=re[p]}else{throw new TomlError("unrecognized escape sequence",{toml:A,ptr:v})}V=d}else if(!C&&p==="\\"){v=d-1;T=true;_+=A.slice(V,v)}}return _+A.slice(V,p-1)}function parseValue(A,d,p,C){if(A==="true")return true;if(A==="false")return false;if(A==="-inf")return-Infinity;if(A==="inf"||A==="+inf")return Infinity;if(A==="nan"||A==="+nan"||A==="-nan")return NaN;if(A==="-0")return C?0n:0;let S=V.test(A);if(S||Z.test(A)){if(ee.test(A)){throw new TomlError("leading zeroes are not allowed",{toml:d,ptr:p})}A=A.replace(/_/g,"");let v=+A;if(isNaN(v)){throw new TomlError("invalid number",{toml:d,ptr:p})}if(S){if((S=!Number.isSafeInteger(v))&&!C){throw new TomlError("integer value cannot be represented losslessly",{toml:d,ptr:p})}if(S||C===true)v=BigInt(A)}return v}const v=new TomlDate(A);if(!v.isValid()){throw new TomlError("invalid value",{toml:d,ptr:p})}return v}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
function sliceAndTrimEndOf(A,d,p,C){let S=A.slice(d,p);let v=S.indexOf("#");if(v>-1){skipComment(A,v);S=S.slice(0,v)}let T=S.trimEnd();if(!C){let p=S.indexOf("\n",T.length);if(p>-1){throw new TomlError("newlines are not allowed in inline tables",{toml:A,ptr:d+p})}}return[T,v]}function extractValue(A,d,p,C,S){if(C===0){throw new TomlError("document contains excessively nested structures. aborting.",{toml:A,ptr:d})}let v=A[d];if(v==="["||v==="{"){let[T,_]=v==="["?parseArray(A,d,C,S):parseInlineTable(A,d,C,S);let V=p?skipUntil(A,_,",",p):_;if(_-V&&p==="}"){let d=indexOfNewline(A,_,V);if(d>-1){throw new TomlError("newlines are not allowed in inline tables",{toml:A,ptr:d})}}return[T,V]}let T;if(v==='"'||v==="'"){T=getStringEnd(A,d);let C=parseString(A,d,T);if(p){T=skipVoid(A,T,p!=="]");if(A[T]&&A[T]!==","&&A[T]!==p&&A[T]!=="\n"&&A[T]!=="\r"){throw new TomlError("unexpected character encountered",{toml:A,ptr:T})}T+=+(A[T]===",")}return[C,T]}T=skipUntil(A,d,",",p);let _=sliceAndTrimEndOf(A,d,T-+(A[T-1]===","),p==="]");if(!_[0]){throw new TomlError("incomplete key-value declaration: no value specified",{toml:A,ptr:d})}if(p&&_[1]>-1){T=skipVoid(A,d+_[1]);T+=+(A[T]===",")}return[parseValue(_[0],A,d,S),T]}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
let ne=/^[a-zA-Z0-9-_]+[ \t]*$/;function parseKey(A,d,p="="){let C=d-1;let S=[];let v=A.indexOf(p,d);if(v<0){throw new TomlError("incomplete key-value: cannot find end of key",{toml:A,ptr:d})}do{let T=A[d=++C];if(T!==" "&&T!=="\t"){if(T==='"'||T==="'"){if(T===A[d+1]&&T===A[d+2]){throw new TomlError("multiline strings are not allowed in keys",{toml:A,ptr:d})}let _=getStringEnd(A,d);if(_<0){throw new TomlError("unfinished string encountered",{toml:A,ptr:d})}C=A.indexOf(".",_);let V=A.slice(_,C<0||C>v?v:C);let Z=indexOfNewline(V);if(Z>-1){throw new TomlError("newlines are not allowed in keys",{toml:A,ptr:d+C+Z})}if(V.trimStart()){throw new TomlError("found extra tokens after the string part",{toml:A,ptr:_})}if(v<_){v=A.indexOf(p,_);if(v<0){throw new TomlError("incomplete key-value: cannot find end of key",{toml:A,ptr:d})}}S.push(parseString(A,d,_))}else{C=A.indexOf(".",d);let p=A.slice(d,C<0||C>v?v:C);if(!ne.test(p)){throw new TomlError("only letter, numbers, dashes and underscores are allowed in keys",{toml:A,ptr:d})}S.push(p.trimEnd())}}}while(C+1&&C<v);return[S,skipVoid(A,v+1,true,true)]}function parseInlineTable(A,d,p,C){let S={};let v=new Set;let T;let _=0;d++;while((T=A[d++])!=="}"&&T){let V={toml:A,ptr:d-1};if(T==="\n"){throw new TomlError("newlines are not allowed in inline tables",V)}else if(T==="#"){throw new TomlError("inline tables cannot contain comments",V)}else if(T===","){throw new TomlError("expected key-value, found comma",V)}else if(T!==" "&&T!=="\t"){let T;let V=S;let Z=false;let[ee,te]=parseKey(A,d-1);for(let p=0;p<ee.length;p++){if(p)V=Z?V[T]:V[T]={};T=ee[p];if((Z=Object.hasOwn(V,T))&&(typeof V[T]!=="object"||v.has(V[T]))){throw new TomlError("trying to redefine an already defined value",{toml:A,ptr:d})}if(!Z&&T==="__proto__"){Object.defineProperty(V,T,{enumerable:true,configurable:true,writable:true})}}if(Z){throw new TomlError("trying to redefine an already defined value",{toml:A,ptr:d})}let[re,ne]=extractValue(A,te,"}",p-1,C);v.add(re);V[T]=re;d=ne;_=A[d-1]===","?d-1:0}}if(_){throw new TomlError("trailing commas are not allowed in inline tables",{toml:A,ptr:_})}if(!T){throw new TomlError("unfinished table encountered",{toml:A,ptr:d})}return[S,d]}function parseArray(A,d,p,C){let S=[];let v;d++;while((v=A[d++])!=="]"&&v){if(v===","){throw new TomlError("expected value, found comma",{toml:A,ptr:d-1})}else if(v==="#")d=skipComment(A,d);else if(v!==" "&&v!=="\t"&&v!=="\n"&&v!=="\r"){let v=extractValue(A,d-1,"]",p-1,C);S.push(v[0]);d=v[1]}}if(!v){throw new TomlError("unfinished array encountered",{toml:A,ptr:d})}return[S,d]}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
function peekTable(A,d,p,C){let S=d;let v=p;let T;let _=false;let V;for(let d=0;d<A.length;d++){if(d){S=_?S[T]:S[T]={};v=(V=v[T]).c;if(C===0&&(V.t===1||V.t===2)){return null}if(V.t===2){let A=S.length-1;S=S[A];v=v[A].c}}T=A[d];if((_=Object.hasOwn(S,T))&&v[T]?.t===0&&v[T]?.d){return null}if(!_){if(T==="__proto__"){Object.defineProperty(S,T,{enumerable:true,configurable:true,writable:true});Object.defineProperty(v,T,{enumerable:true,configurable:true,writable:true})}v[T]={t:d<A.length-1&&C===2?3:C,d:false,i:0,c:{}}}}V=v[T];if(V.t!==C&&!(C===1&&V.t===3)){return null}if(C===2){if(!V.d){V.d=true;S[T]=[]}S[T].push(S={});V.c[V.i++]=V={t:1,d:false,i:0,c:{}}}if(V.d){return null}V.d=true;if(C===1){S=_?S[T]:S[T]={}}else if(C===0&&_){return null}return[T,S,V.c]}function parse(A,{maxDepth:d=1e3,integersAsBigInt:p}={}){let C={};let S={};let v=C;let T=S;for(let _=skipVoid(A,0);_<A.length;){if(A[_]==="["){let d=A[++_]==="[";let p=parseKey(A,_+=+d,"]");if(d){if(A[p[1]-1]!=="]"){throw new TomlError("expected end of table declaration",{toml:A,ptr:p[1]-1})}p[1]++}let V=peekTable(p[0],C,S,d?2:1);if(!V){throw new TomlError("trying to redefine an already defined table or value",{toml:A,ptr:_})}T=V[2];v=V[1];_=p[1]}else{let C=parseKey(A,_);let S=peekTable(C[0],v,T,0);if(!S){throw new TomlError("trying to redefine an already defined table or value",{toml:A,ptr:_})}let V=extractValue(A,C[1],void 0,d,p);S[1][S[0]]=V[0];_=V[1]}_=skipVoid(A,_,true);if(A[_]&&A[_]!=="\n"&&A[_]!=="\r"){throw new TomlError("each key-value declaration must be followed by an end-of-line",{toml:A,ptr:_})}_=skipVoid(A,_)}return C}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
let ie=/^[a-z0-9-_]+$/i;function extendedTypeOf(A){let d=typeof A;if(d==="object"){if(Array.isArray(A))return"array";if(A instanceof Date)return"date"}return d}function isArrayOfTables(A){for(let d=0;d<A.length;d++){if(extendedTypeOf(A[d])!=="object")return false}return A.length!=0}function formatString(A){return JSON.stringify(A).replace(/\x7f/g,"\\u007f")}function stringifyValue(A,d,p,C){if(p===0){throw new Error("Could not stringify the object: maximum object depth exceeded")}if(d==="number"){if(isNaN(A))return"nan";if(A===Infinity)return"inf";if(A===-Infinity)return"-inf";if(C&&Number.isInteger(A))return A.toFixed(1);return A.toString()}if(d==="bigint"||d==="boolean"){return A.toString()}if(d==="string"){return formatString(A)}if(d==="date"){if(isNaN(A.getTime())){throw new TypeError("cannot serialize invalid date")}return A.toISOString()}if(d==="object"){return stringifyInlineTable(A,p,C)}if(d==="array"){return stringifyArray(A,p,C)}}function stringifyInlineTable(A,d,p){let C=Object.keys(A);if(C.length===0)return"{}";let S="{ ";for(let v=0;v<C.length;v++){let T=C[v];if(v)S+=", ";S+=ie.test(T)?T:formatString(T);S+=" = ";S+=stringifyValue(A[T],extendedTypeOf(A[T]),d-1,p)}return S+" }"}function stringifyArray(A,d,p){if(A.length===0)return"[]";let C="[ ";for(let S=0;S<A.length;S++){if(S)C+=", ";if(A[S]===null||A[S]===void 0){throw new TypeError("arrays cannot contain null or undefined values")}C+=stringifyValue(A[S],extendedTypeOf(A[S]),d-1,p)}return C+" ]"}function stringifyArrayTable(A,d,p,C){if(p===0){throw new Error("Could not stringify the object: maximum object depth exceeded")}let S="";for(let v=0;v<A.length;v++){S+=`[[${d}]]\n`;S+=stringifyTable(A[v],d,p,C);S+="\n\n"}return S}function stringifyTable(A,d,p,C){if(p===0){throw new Error("Could not stringify the object: maximum object depth exceeded")}let S="";let v="";let T=Object.keys(A);for(let _=0;_<T.length;_++){let V=T[_];if(A[V]!==null&&A[V]!==void 0){let T=extendedTypeOf(A[V]);if(T==="symbol"||T==="function"){throw new TypeError(`cannot serialize values of type '${T}'`)}let _=ie.test(V)?V:formatString(V);if(T==="array"&&isArrayOfTables(A[V])){v+=stringifyArrayTable(A[V],d?`${d}.${_}`:_,p-1,C)}else if(T==="object"){let S=d?`${d}.${_}`:_;v+=`[${S}]\n`;v+=stringifyTable(A[V],S,p-1,C);v+="\n\n"}else{S+=_;S+=" = ";S+=stringifyValue(A[V],T,p,C);S+="\n"}}}return`${S}\n${v}`.trim()}function stringify(A,{maxDepth:d=1e3,numbersAsFloat:p=false}={}){if(extendedTypeOf(A)!=="object"){throw new TypeError("stringify can only be called with an object")}return stringifyTable(A,"",d,p)}
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/const se={parse:parse,stringify:stringify,TomlDate:TomlDate,TomlError:TomlError};function isPlainObject(A){if(typeof A!=="object"||A===null){return false}const d=Object.getPrototypeOf(A);return(d===null||d===Object.prototype||Object.getPrototypeOf(d)===null)&&!(Symbol.toStringTag in A)&&!(Symbol.iterator in A)}var oe=C(73136);const safeNormalizeFileUrl=(A,d)=>{const p=normalizeFileUrl(normalizeDenoExecPath(A));if(typeof p!=="string"){throw new TypeError(`${d} must be a string or a file URL: ${p}.`)}return p};const normalizeDenoExecPath=A=>isDenoExecPath(A)?A.toString():A;const isDenoExecPath=A=>typeof A!=="string"&&A&&Object.getPrototypeOf(A)===String.prototype;const normalizeFileUrl=A=>A instanceof URL?(0,oe.fileURLToPath)(A):A;const normalizeParameters=(A,d=[],p={})=>{const C=safeNormalizeFileUrl(A,"First argument");const[S,v]=isPlainObject(d)?[[],d]:[d,p];if(!Array.isArray(S)){throw new TypeError(`Second argument must be either an array of arguments or an options object: ${S}`)}if(S.some((A=>typeof A==="object"&&A!==null))){throw new TypeError(`Second argument must be an array of strings: ${S}`)}const T=S.map(String);const _=T.find((A=>A.includes("\0")));if(_!==undefined){throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${_}`)}if(!isPlainObject(v)){throw new TypeError(`Last argument must be an options object: ${v}`)}return[C,T,v]};var ae=C(31421);var le=C(46193);const{toString:ce}=Object.prototype;const isArrayBuffer=A=>ce.call(A)==="[object ArrayBuffer]";const isUint8Array=A=>ce.call(A)==="[object Uint8Array]";const bufferToUint8Array=A=>new Uint8Array(A.buffer,A.byteOffset,A.byteLength);const ue=new TextEncoder;const stringToUint8Array=A=>ue.encode(A);const Ae=new TextDecoder;const uint8ArrayToString=A=>Ae.decode(A);const joinToString=(A,d)=>{const p=uint8ArraysToStrings(A,d);return p.join("")};const uint8ArraysToStrings=(A,d)=>{if(d==="utf8"&&A.every((A=>typeof A==="string"))){return A}const p=new le.StringDecoder(d);const C=A.map((A=>typeof A==="string"?stringToUint8Array(A):A)).map((A=>p.write(A)));const S=p.end();return S===""?C:[...C,S]};const joinToUint8Array=A=>{if(A.length===1&&isUint8Array(A[0])){return A[0]}return concatUint8Arrays(stringsToUint8Arrays(A))};const stringsToUint8Arrays=A=>A.map((A=>typeof A==="string"?stringToUint8Array(A):A));const concatUint8Arrays=A=>{const d=new Uint8Array(getJoinLength(A));let p=0;for(const C of A){d.set(C,p);p+=C.length}return d};const getJoinLength=A=>{let d=0;for(const p of A){d+=p.length}return d};const isTemplateString=A=>Array.isArray(A)&&Array.isArray(A.raw);const parseTemplates=(A,d)=>{let p=[];for(const[C,S]of A.entries()){p=parseTemplate({templates:A,expressions:d,tokens:p,index:C,template:S})}if(p.length===0){throw new TypeError("Template script must not be empty")}const[C,...S]=p;return[C,S,{}]};const parseTemplate=({templates:A,expressions:d,tokens:p,index:C,template:S})=>{if(S===undefined){throw new TypeError(`Invalid backslash sequence: ${A.raw[C]}`)}const{nextTokens:v,leadingWhitespaces:T,trailingWhitespaces:_}=splitByWhitespaces(S,A.raw[C]);const V=concatTokens(p,v,T);if(C===d.length){return V}const Z=d[C];const ee=Array.isArray(Z)?Z.map((A=>parseExpression(A))):[parseExpression(Z)];return concatTokens(V,ee,_)};const splitByWhitespaces=(A,d)=>{if(d.length===0){return{nextTokens:[],leadingWhitespaces:false,trailingWhitespaces:false}}const p=[];let C=0;const S=de.has(d[0]);for(let S=0,v=0;S<A.length;S+=1,v+=1){const T=d[v];if(de.has(T)){if(C!==S){p.push(A.slice(C,S))}C=S+1}else if(T==="\\"){const A=d[v+1];if(A==="\n"){S-=1;v+=1}else if(A==="u"&&d[v+2]==="{"){v=d.indexOf("}",v+3)}else{v+=pe[A]??1}}}const v=C===A.length;if(!v){p.push(A.slice(C))}return{nextTokens:p,leadingWhitespaces:S,trailingWhitespaces:v}};const de=new Set([" ","\t","\r","\n"]);const pe={x:3,u:5};const concatTokens=(A,d,p)=>p||A.length===0||d.length===0?[...A,...d]:[...A.slice(0,-1),`${A.at(-1)}${d[0]}`,...d.slice(1)];const parseExpression=A=>{const d=typeof A;if(d==="string"){return A}if(d==="number"){return String(A)}if(isPlainObject(A)&&("stdout"in A||"isMaxBuffer"in A)){return getSubprocessResult(A)}if(A instanceof ae.ChildProcess||Object.prototype.toString.call(A)==="[object Promise]"){throw new TypeError("Unexpected subprocess in template expression. Please use ${await subprocess} instead of ${subprocess}.")}throw new TypeError(`Unexpected "${d}" in template expression`)};const getSubprocessResult=({stdout:A})=>{if(typeof A==="string"){return A}if(isUint8Array(A)){return uint8ArrayToString(A)}if(A===undefined){throw new TypeError('Missing result.stdout in template expression. This is probably due to the previous subprocess\' "stdout" option.')}throw new TypeError(`Unexpected "${typeof A}" stdout in template expression`)};var fe=C(57975);var he=C(1708);const isStandardStream=A=>ge.includes(A);const ge=[he.stdin,he.stdout,he.stderr];const me=["stdin","stdout","stderr"];const getStreamName=A=>me[A]??`stdio[${A}]`;const normalizeFdSpecificOptions=A=>{const d={...A};for(const p of Ce){d[p]=normalizeFdSpecificOption(A,p)}return d};const normalizeFdSpecificOption=(A,d)=>{const p=Array.from({length:getStdioLength(A)+1});const C=normalizeFdSpecificValue(A[d],p,d);return addDefaultValue(C,d)};const getStdioLength=({stdio:A})=>Array.isArray(A)?Math.max(A.length,me.length):me.length;const normalizeFdSpecificValue=(A,d,p)=>isPlainObject(A)?normalizeOptionObject(A,d,p):d.fill(A);const normalizeOptionObject=(A,d,p)=>{for(const C of Object.keys(A).sort(compareFdName)){for(const S of parseFdName(C,p,d)){d[S]=A[C]}}return d};const compareFdName=(A,d)=>getFdNameOrder(A)<getFdNameOrder(d)?1:-1;const getFdNameOrder=A=>{if(A==="stdout"||A==="stderr"){return 0}return A==="all"?2:1};const parseFdName=(A,d,p)=>{if(A==="ipc"){return[p.length-1]}const C=parseFd(A);if(C===undefined||C===0){throw new TypeError(`"${d}.${A}" is invalid.\nIt must be "${d}.stdout", "${d}.stderr", "${d}.all", "${d}.ipc", or "${d}.fd3", "${d}.fd4" (and so on).`)}if(C>=p.length){throw new TypeError(`"${d}.${A}" is invalid: that file descriptor does not exist.\nPlease set the "stdio" option to ensure that file descriptor exists.`)}return C==="all"?[1,2]:[C]};const parseFd=A=>{if(A==="all"){return A}if(me.includes(A)){return me.indexOf(A)}const d=ye.exec(A);if(d!==null){return Number(d[1])}};const ye=/^fd(\d+)$/;const addDefaultValue=(A,d)=>A.map((A=>A===undefined?be[d]:A));const Ee=(0,fe.debuglog)("execa").enabled?"full":"none";const be={lines:false,buffer:true,maxBuffer:1e3*1e3*100,verbose:Ee,stripFinalNewline:true};const Ce=["lines","buffer","maxBuffer","verbose","stripFinalNewline"];const getFdSpecificValue=(A,d)=>d==="ipc"?A.at(-1):A[d];const isVerbose=({verbose:A},d)=>getFdVerbose(A,d)!=="none";const isFullVerbose=({verbose:A},d)=>!["none","short"].includes(getFdVerbose(A,d));const getVerboseFunction=({verbose:A},d)=>{const p=getFdVerbose(A,d);return isVerboseFunction(p)?p:undefined};const getFdVerbose=(A,d)=>d===undefined?getFdGenericVerbose(A):getFdSpecificValue(A,d);const getFdGenericVerbose=A=>A.find((A=>isVerboseFunction(A)))??Be.findLast((d=>A.includes(d)));const isVerboseFunction=A=>typeof A==="function";const Be=["none","short","full"];const joinCommand=(A,d)=>{const p=[A,...d];const C=p.join(" ");const S=p.map((A=>quoteString(escapeControlCharacters(A)))).join(" ");return{command:C,escapedCommand:S}};const escapeLines=A=>(0,fe.stripVTControlCharacters)(A).split("\n").map((A=>escapeControlCharacters(A))).join("\n");const escapeControlCharacters=A=>A.replaceAll(Ie,(A=>escapeControlCharacter(A)));const escapeControlCharacter=A=>{const d=Se[A];if(d!==undefined){return d}const p=A.codePointAt(0);const C=p.toString(16);return p<=we?`\\u${C.padStart(4,"0")}`:`\\U${C}`};const getSpecialCharRegExp=()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return/[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}};const Ie=getSpecialCharRegExp();const Se={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const we=65535;const quoteString=A=>{if(Qe.test(A)){return A}return he.platform==="win32"?`"${A.replaceAll('"','""')}"`:`'${A.replaceAll("'","'\\''")}'`};const Qe=/^[\w./-]+$/;function isUnicodeSupported(){const{env:A}=he;const{TERM:d,TERM_PROGRAM:p}=A;if(he.platform!=="win32"){return d!=="linux"}return Boolean(A.WT_SESSION)||Boolean(A.TERMINUS_SUBLIME)||A.ConEmuTask==="{cmd::Cmder}"||p==="Terminus-Sublime"||p==="vscode"||d==="xterm-256color"||d==="alacritty"||d==="rxvt-unicode"||d==="rxvt-unicode-256color"||A.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const ve={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"█",squareDarkShade:"▓",squareMediumShade:"▒",squareLightShade:"░",squareTop:"▀",squareBottom:"▄",squareLeft:"▌",squareRight:"▐",squareCenter:"■",bullet:"●",dot:"",ellipsis:"…",pointerSmall:"",triangleUp:"▲",triangleUpSmall:"▴",triangleDown:"▼",triangleDownSmall:"▾",triangleLeftSmall:"◂",triangleRightSmall:"▸",home:"⌂",heart:"♥",musicNote:"♪",musicNoteBeamed:"♫",arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",arrowLeftRight:"↔",arrowUpDown:"↕",almostEqual:"≈",notEqual:"≠",lessOrEqual:"≤",greaterOrEqual:"≥",identical:"≡",infinity:"∞",subscriptZero:"₀",subscriptOne:"₁",subscriptTwo:"₂",subscriptThree:"₃",subscriptFour:"₄",subscriptFive:"₅",subscriptSix:"₆",subscriptSeven:"₇",subscriptEight:"₈",subscriptNine:"₉",oneHalf:"½",oneThird:"⅓",oneQuarter:"¼",oneFifth:"⅕",oneSixth:"⅙",oneEighth:"⅛",twoThirds:"⅔",twoFifths:"⅖",threeQuarters:"¾",threeFifths:"⅗",threeEighths:"⅜",fourFifths:"⅘",fiveSixths:"⅚",fiveEighths:"⅝",sevenEighths:"⅞",line:"─",lineBold:"━",lineDouble:"═",lineDashed0:"┄",lineDashed1:"┅",lineDashed2:"┈",lineDashed3:"┉",lineDashed4:"╌",lineDashed5:"╍",lineDashed6:"╴",lineDashed7:"╶",lineDashed8:"╸",lineDashed9:"╺",lineDashed10:"╼",lineDashed11:"╾",lineDashed12:"",lineDashed13:"",lineDashed14:"",lineDashed15:"",lineVertical:"│",lineVerticalBold:"┃",lineVerticalDouble:"║",lineVerticalDashed0:"┆",lineVerticalDashed1:"┇",lineVerticalDashed2:"┊",lineVerticalDashed3:"┋",lineVerticalDashed4:"╎",lineVerticalDashed5:"╏",lineVerticalDashed6:"╵",lineVerticalDashed7:"╷",lineVerticalDashed8:"╹",lineVerticalDashed9:"╻",lineVerticalDashed10:"╽",lineVerticalDashed11:"╿",lineDownLeft:"┐",lineDownLeftArc:"╮",lineDownBoldLeftBold:"┓",lineDownBoldLeft:"┒",lineDownLeftBold:"┑",lineDownDoubleLeftDouble:"╗",lineDownDoubleLeft:"╖",lineDownLeftDouble:"╕",lineDownRight:"┌",lineDownRightArc:"╭",lineDownBoldRightBold:"┏",lineDownBoldRight:"┎",lineDownRightBold:"┍",lineDownDoubleRightDouble:"╔",lineDownDoubleRight:"╓",lineDownRightDouble:"╒",lineUpLeft:"┘",lineUpLeftArc:"╯",lineUpBoldLeftBold:"┛",lineUpBoldLeft:"┚",lineUpLeftBold:"┙",lineUpDoubleLeftDouble:"╝",lineUpDoubleLeft:"╜",lineUpLeftDouble:"╛",lineUpRight:"└",lineUpRightArc:"╰",lineUpBoldRightBold:"┗",lineUpBoldRight:"┖",lineUpRightBold:"┕",lineUpDoubleRightDouble:"╚",lineUpDoubleRight:"╙",lineUpRightDouble:"╘",lineUpDownLeft:"┤",lineUpBoldDownBoldLeftBold:"┫",lineUpBoldDownBoldLeft:"┨",lineUpDownLeftBold:"┥",lineUpBoldDownLeftBold:"┩",lineUpDownBoldLeftBold:"┪",lineUpDownBoldLeft:"┧",lineUpBoldDownLeft:"┦",lineUpDoubleDownDoubleLeftDouble:"╣",lineUpDoubleDownDoubleLeft:"╢",lineUpDownLeftDouble:"╡",lineUpDownRight:"├",lineUpBoldDownBoldRightBold:"┣",lineUpBoldDownBoldRight:"┠",lineUpDownRightBold:"┝",lineUpBoldDownRightBold:"┡",lineUpDownBoldRightBold:"┢",lineUpDownBoldRight:"┟",lineUpBoldDownRight:"┞",lineUpDoubleDownDoubleRightDouble:"╠",lineUpDoubleDownDoubleRight:"╟",lineUpDownRightDouble:"╞",lineDownLeftRight:"┬",lineDownBoldLeftBoldRightBold:"┳",lineDownLeftBoldRightBold:"┯",lineDownBoldLeftRight:"┰",lineDownBoldLeftBoldRight:"┱",lineDownBoldLeftRightBold:"┲",lineDownLeftRightBold:"┮",lineDownLeftBoldRight:"┭",lineDownDoubleLeftDoubleRightDouble:"╦",lineDownDoubleLeftRight:"╥",lineDownLeftDoubleRightDouble:"╤",lineUpLeftRight:"┴",lineUpBoldLeftBoldRightBold:"┻",lineUpLeftBoldRightBold:"┷",lineUpBoldLeftRight:"┸",lineUpBoldLeftBoldRight:"┹",lineUpBoldLeftRightBold:"┺",lineUpLeftRightBold:"┶",lineUpLeftBoldRight:"┵",lineUpDoubleLeftDoubleRightDouble:"╩",lineUpDoubleLeftRight:"╨",lineUpLeftDoubleRightDouble:"╧",lineUpDownLeftRight:"┼",lineUpBoldDownBoldLeftBoldRightBold:"╋",lineUpDownBoldLeftBoldRightBold:"╈",lineUpBoldDownLeftBoldRightBold:"╇",lineUpBoldDownBoldLeftRightBold:"╊",lineUpBoldDownBoldLeftBoldRight:"╉",lineUpBoldDownLeftRight:"╀",lineUpDownBoldLeftRight:"╁",lineUpDownLeftBoldRight:"┽",lineUpDownLeftRightBold:"┾",lineUpBoldDownBoldLeftRight:"╂",lineUpDownLeftBoldRightBold:"┿",lineUpBoldDownLeftBoldRight:"╃",lineUpBoldDownLeftRightBold:"╄",lineUpDownBoldLeftBoldRight:"╅",lineUpDownBoldLeftRightBold:"╆",lineUpDoubleDownDoubleLeftDoubleRightDouble:"╬",lineUpDoubleDownDoubleLeftRight:"╫",lineUpDownLeftDoubleRightDouble:"╪",lineCross:"",lineBackslash:"╲",lineSlash:""};const Re={tick:"✔",info:"",warning:"⚠",cross:"✘",squareSmall:"◻",squareSmallFilled:"◼",circle:"◯",circleFilled:"◉",circleDotted:"◌",circleDouble:"◎",circleCircle:"ⓞ",circleCross:"ⓧ",circlePipe:"Ⓘ",radioOn:"◉",radioOff:"◯",checkboxOn:"☒",checkboxOff:"☐",checkboxCircleOn:"ⓧ",checkboxCircleOff:"Ⓘ",pointer:"",triangleUpOutline:"△",triangleLeft:"◀",triangleRight:"▶",lozenge:"◆",lozengeOutline:"◇",hamburger:"☰",smiley:"㋡",mustache:"෴",star:"★",play:"▶",nodejs:"⬢",oneSeventh:"⅐",oneNinth:"⅑",oneTenth:"⅒"};const Ne={tick:"√",info:"i",warning:"‼",cross:"×",squareSmall:"□",squareSmallFilled:"■",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(○)",circleCross:"(×)",circlePipe:"(│)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[×]",checkboxOff:"[ ]",checkboxCircleOn:"(×)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"∆",triangleLeft:"◄",triangleRight:"►",lozenge:"♦",lozengeOutline:"◊",hamburger:"≡",smiley:"☺",mustache:"┌─┐",star:"✶",play:"►",nodejs:"♦",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"};const De={...ve,...Re};const xe={...ve,...Ne};const Te=isUnicodeSupported();const _e=Te?De:xe;const Pe=_e;const ke=Object.entries(Re);const replaceSymbols=(A,{useFallback:d=!Te}={})=>{if(d){for(const[d,p]of ke){A=A.replaceAll(p,xe[d])}}return A};const Oe=A(import.meta.url)("node:tty");const Fe=Oe?.WriteStream?.prototype?.hasColors?.()??false;const format=(A,d)=>{if(!Fe){return A=>A}const p=`[${A}m`;const C=`[${d}m`;return A=>{const S=A+"";let v=S.indexOf(C);if(v===-1){return p+S+C}let T=p;let _=0;const V=d===22;const Z=(V?C:"")+p;while(v!==-1){T+=S.slice(_,v)+Z;_=v+C.length;v=S.indexOf(C,_)}T+=S.slice(_)+C;return T}};const Le=format(0,0);const Me=format(1,22);const Ue=format(2,22);const He=format(3,23);const Ge=format(4,24);const qe=format(53,55);const je=format(7,27);const ze=format(8,28);const Ve=format(9,29);const We=format(30,39);const Ye=format(31,39);const Je=format(32,39);const $e=format(33,39);const Ke=format(34,39);const Xe=format(35,39);const Ze=format(36,39);const at=format(37,39);const ct=format(90,39);const At=format(40,49);const pt=format(41,49);const ft=format(42,49);const gt=format(43,49);const mt=format(44,49);const yt=format(45,49);const Et=format(46,49);const bt=format(47,49);const Ct=format(100,49);const Bt=format(91,39);const It=format(92,39);const St=format(93,39);const wt=format(94,39);const Qt=format(95,39);const vt=format(96,39);const Rt=format(97,39);const Nt=format(101,49);const Dt=format(102,49);const xt=format(103,49);const Tt=format(104,49);const _t=format(105,49);const Pt=format(106,49);const kt=format(107,49);const defaultVerboseFunction=({type:A,message:d,timestamp:p,piped:C,commandId:S,result:{failed:v=false}={},options:{reject:T=true}})=>{const _=serializeTimestamp(p);const V=Ot[A]({failed:v,reject:T,piped:C});const Z=Ft[A]({reject:T});return`${ct(`[${_}]`)} ${ct(`[${S}]`)} ${Z(V)} ${Z(d)}`};const serializeTimestamp=A=>`${padField(A.getHours(),2)}:${padField(A.getMinutes(),2)}:${padField(A.getSeconds(),2)}.${padField(A.getMilliseconds(),3)}`;const padField=(A,d)=>String(A).padStart(d,"0");const getFinalIcon=({failed:A,reject:d})=>{if(!A){return Pe.tick}return d?Pe.cross:Pe.warning};const Ot={command:({piped:A})=>A?"|":"$",output:()=>" ",ipc:()=>"*",error:getFinalIcon,duration:getFinalIcon};const identity=A=>A;const Ft={command:()=>Me,output:()=>identity,ipc:()=>identity,error:({reject:A})=>A?Bt:St,duration:()=>ct};const applyVerboseOnLines=(A,d,p)=>{const C=getVerboseFunction(d,p);return A.map((({verboseLine:A,verboseObject:d})=>applyVerboseFunction(A,d,C))).filter((A=>A!==undefined)).map((A=>appendNewline(A))).join("")};const applyVerboseFunction=(A,d,p)=>{if(p===undefined){return A}const C=p(A,d);if(typeof C==="string"){return C}};const appendNewline=A=>A.endsWith("\n")?A:`${A}\n`;const verboseLog=({type:A,verboseMessage:d,fdNumber:p,verboseInfo:C,result:S})=>{const v=getVerboseObject({type:A,result:S,verboseInfo:C});const T=getPrintedLines(d,v);const _=applyVerboseOnLines(T,C,p);if(_!==""){console.warn(_.slice(0,-1))}};const getVerboseObject=({type:A,result:d,verboseInfo:{escapedCommand:p,commandId:C,rawOptions:{piped:S=false,...v}}})=>({type:A,escapedCommand:p,commandId:`${C}`,timestamp:new Date,piped:S,result:d,options:v});const getPrintedLines=(A,d)=>A.split("\n").map((A=>getPrintedLine({...d,message:A})));const getPrintedLine=A=>{const d=defaultVerboseFunction(A);return{verboseLine:d,verboseObject:A}};const serializeVerboseMessage=A=>{const d=typeof A==="string"?A:(0,fe.inspect)(A);const p=escapeLines(d);return p.replaceAll("\t"," ".repeat(Lt))};const Lt=2;const logCommand=(A,d)=>{if(!isVerbose(d)){return}verboseLog({type:"command",verboseMessage:A,verboseInfo:d})};const getVerboseInfo=(A,d,p)=>{validateVerbose(A);const C=getCommandId(A);return{verbose:A,escapedCommand:d,commandId:C,rawOptions:p}};const getCommandId=A=>isVerbose({verbose:A})?Mt++:undefined;let Mt=0n;const validateVerbose=A=>{for(const d of A){if(d===false){throw new TypeError('The "verbose: false" option was renamed to "verbose: \'none\'".')}if(d===true){throw new TypeError('The "verbose: true" option was renamed to "verbose: \'short\'".')}if(!Be.includes(d)&&!isVerboseFunction(d)){const A=Be.map((A=>`'${A}'`)).join(", ");throw new TypeError(`The "verbose" option must not be ${d}. Allowed values are: ${A} or a function.`)}}};const getStartTime=()=>he.hrtime.bigint();const getDurationMs=A=>Number(he.hrtime.bigint()-A)/1e6;const handleCommand=(A,d,p)=>{const C=getStartTime();const{command:S,escapedCommand:v}=joinCommand(A,d);const T=normalizeFdSpecificOption(p,"verbose");const _=getVerboseInfo(T,v,{...p});logCommand(v,_);return{command:S,escapedCommand:v,startTime:C,verboseInfo:_}};var Ut=C(76186);function pathKey(A={}){const{env:d=process.env,platform:p=process.platform}=A;if(p!=="win32"){return"PATH"}return Object.keys(d).reverse().find((A=>A.toUpperCase()==="PATH"))||"Path"}var Ht=C(51467);const npmRunPath=({cwd:A=he.cwd(),path:d=he.env[pathKey()],preferLocal:p=true,execPath:C=he.execPath,addExecPath:S=true}={})=>{const T=v.resolve((0,Ht.b0)(A));const _=[];const V=d.split(v.delimiter);if(p){applyPreferLocal(_,V,T)}if(S){applyExecPath(_,V,C,T)}return d===""||d===v.delimiter?`${_.join(v.delimiter)}${d}`:[..._,d].join(v.delimiter)};const applyPreferLocal=(A,d,p)=>{for(const C of(0,Ht.n5)(p)){const p=v.join(C,"node_modules/.bin");if(!d.includes(p)){A.push(p)}}};const applyExecPath=(A,d,p,C)=>{const S=v.resolve(C,(0,Ht.b0)(p),"..");if(!d.includes(S)){A.push(S)}};const npmRunPathEnv=({env:A=he.env,...d}={})=>{A={...A};const p=pathKey({env:A});d.path=A[p];A[p]=npmRunPath(d);return A};const Gt=A(import.meta.url)("node:timers/promises");const getFinalError=(A,d,p)=>{const C=p?ExecaSyncError:ExecaError;const S=A instanceof DiscardedError?{}:{cause:A};return new C(d,S)};class DiscardedError extends Error{}const setErrorName=(A,d)=>{Object.defineProperty(A.prototype,"name",{value:d,writable:true,enumerable:false,configurable:true});Object.defineProperty(A.prototype,qt,{value:true,writable:false,enumerable:false,configurable:false})};const isExecaError=A=>isErrorInstance(A)&&qt in A;const qt=Symbol("isExecaError");const isErrorInstance=A=>Object.prototype.toString.call(A)==="[object Error]";class ExecaError extends Error{}setErrorName(ExecaError,ExecaError.name);class ExecaSyncError extends Error{}setErrorName(ExecaSyncError,ExecaSyncError.name);var jt=C(48161);const getRealtimeSignals=()=>{const A=Vt-zt+1;return Array.from({length:A},getRealtimeSignal)};const getRealtimeSignal=(A,d)=>({name:`SIGRT${d+1}`,number:zt+d,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"});const zt=34;const Vt=64;const Wt=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:true},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:true},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:true},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];const getSignals=()=>{const A=getRealtimeSignals();const d=[...Wt,...A].map(normalizeSignal);return d};const normalizeSignal=({name:A,number:d,description:p,action:C,forced:S=false,standard:v})=>{const{signals:{[A]:T}}=jt.constants;const _=T!==undefined;const V=_?T:d;return{name:A,number:V,description:p,supported:_,action:C,forced:S,standard:v}};const getSignalsByName=()=>{const A=getSignals();return Object.fromEntries(A.map(getSignalByName))};const getSignalByName=({name:A,number:d,description:p,supported:C,action:S,forced:v,standard:T})=>[A,{name:A,number:d,description:p,supported:C,action:S,forced:v,standard:T}];const Yt=getSignalsByName();const getSignalsByNumber=()=>{const A=getSignals();const d=Vt+1;const p=Array.from({length:d},((d,p)=>getSignalByNumber(p,A)));return Object.assign({},...p)};const getSignalByNumber=(A,d)=>{const p=findSignalByNumber(A,d);if(p===undefined){return{}}const{name:C,description:S,supported:v,action:T,forced:_,standard:V}=p;return{[A]:{name:C,number:A,description:S,supported:v,action:T,forced:_,standard:V}}};const findSignalByNumber=(A,d)=>{const p=d.find((({name:d})=>jt.constants.signals[d]===A));if(p!==undefined){return p}return d.find((d=>d.number===A))};const Jt=getSignalsByNumber();const normalizeKillSignal=A=>{const d="option `killSignal`";if(A===0){throw new TypeError(`Invalid ${d}: 0 cannot be used.`)}return signal_normalizeSignal(A,d)};const normalizeSignalArgument=A=>A===0?A:signal_normalizeSignal(A,"`subprocess.kill()`'s argument");const signal_normalizeSignal=(A,d)=>{if(Number.isInteger(A)){return normalizeSignalInteger(A,d)}if(typeof A==="string"){return normalizeSignalName(A,d)}throw new TypeError(`Invalid ${d} ${String(A)}: it must be a string or an integer.\n${getAvailableSignals()}`)};const normalizeSignalInteger=(A,d)=>{if($t.has(A)){return $t.get(A)}throw new TypeError(`Invalid ${d} ${A}: this signal integer does not exist.\n${getAvailableSignals()}`)};const getSignalsIntegerToName=()=>new Map(Object.entries(jt.constants.signals).reverse().map((([A,d])=>[d,A])));const $t=getSignalsIntegerToName();const normalizeSignalName=(A,d)=>{if(A in jt.constants.signals){return A}if(A.toUpperCase()in jt.constants.signals){throw new TypeError(`Invalid ${d} '${A}': please rename it to '${A.toUpperCase()}'.`)}throw new TypeError(`Invalid ${d} '${A}': this signal name does not exist.\n${getAvailableSignals()}`)};const getAvailableSignals=()=>`Available signal names: ${getAvailableSignalNames()}.\nAvailable signal numbers: ${getAvailableSignalIntegers()}.`;const getAvailableSignalNames=()=>Object.keys(jt.constants.signals).sort().map((A=>`'${A}'`)).join(", ");const getAvailableSignalIntegers=()=>[...new Set(Object.values(jt.constants.signals).sort(((A,d)=>A-d)))].join(", ");const getSignalDescription=A=>Yt[A].description;const normalizeForceKillAfterDelay=A=>{if(A===false){return A}if(A===true){return Kt}if(!Number.isFinite(A)||A<0){throw new TypeError(`Expected the \`forceKillAfterDelay\` option to be a non-negative integer, got \`${A}\` (${typeof A})`)}return A};const Kt=1e3*5;const subprocessKill=({kill:A,options:{forceKillAfterDelay:d,killSignal:p},onInternalError:C,context:S,controller:v},T,_)=>{const{signal:V,error:Z}=parseKillArguments(T,_,p);emitKillError(Z,C);const ee=A(V);setKillTimeout({kill:A,signal:V,forceKillAfterDelay:d,killSignal:p,killResult:ee,context:S,controller:v});return ee};const parseKillArguments=(A,d,p)=>{const[C=p,S]=isErrorInstance(A)?[undefined,A]:[A,d];if(typeof C!=="string"&&!Number.isInteger(C)){throw new TypeError(`The first argument must be an error instance or a signal name string/integer: ${String(C)}`)}if(S!==undefined&&!isErrorInstance(S)){throw new TypeError(`The second argument is optional. If specified, it must be an error instance: ${S}`)}return{signal:normalizeSignalArgument(C),error:S}};const emitKillError=(A,d)=>{if(A!==undefined){d.reject(A)}};const setKillTimeout=async({kill:A,signal:d,forceKillAfterDelay:p,killSignal:C,killResult:S,context:v,controller:T})=>{if(d===C&&S){killOnTimeout({kill:A,forceKillAfterDelay:p,context:v,controllerSignal:T.signal})}};const killOnTimeout=async({kill:A,forceKillAfterDelay:d,context:p,controllerSignal:C})=>{if(d===false){return}try{await(0,Gt.setTimeout)(d,undefined,{signal:C});if(A("SIGKILL")){p.isForcefullyTerminated??=true}}catch{}};var Xt=C(78474);const onAbortedSignal=async(A,d)=>{if(!A.aborted){await(0,Xt.once)(A,"abort",{signal:d})}};const validateCancelSignal=({cancelSignal:A})=>{if(A!==undefined&&Object.prototype.toString.call(A)!=="[object AbortSignal]"){throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(A)}`)}};const throwOnCancel=({subprocess:A,cancelSignal:d,gracefulCancel:p,context:C,controller:S})=>d===undefined||p?[]:[terminateOnCancel(A,d,C,S)];const terminateOnCancel=async(A,d,p,{signal:C})=>{await onAbortedSignal(d,C);p.terminationReason??="cancel";A.kill();throw d.reason};const validateIpcMethod=({methodName:A,isSubprocess:d,ipc:p,isConnected:C})=>{validateIpcOption(A,d,p);validateConnection(A,d,C)};const validateIpcOption=(A,d,p)=>{if(!p){throw new Error(`${getMethodName(A,d)} can only be used if the \`ipc\` option is \`true\`.`)}};const validateConnection=(A,d,p)=>{if(!p){throw new Error(`${getMethodName(A,d)} cannot be used: the ${getOtherProcessName(d)} has already exited or disconnected.`)}};const throwOnEarlyDisconnect=A=>{throw new Error(`${getMethodName("getOneMessage",A)} could not complete: the ${getOtherProcessName(A)} exited or disconnected.`)};const throwOnStrictDeadlockError=A=>{throw new Error(`${getMethodName("sendMessage",A)} failed: the ${getOtherProcessName(A)} is sending a message too, instead of listening to incoming messages.\nThis can be fixed by both sending a message and listening to incoming messages at the same time:\n\nconst [receivedMessage] = await Promise.all([\n\t${getMethodName("getOneMessage",A)},\n\t${getMethodName("sendMessage",A,"message, {strict: true}")},\n]);`)};const getStrictResponseError=(A,d)=>new Error(`${getMethodName("sendMessage",d)} failed when sending an acknowledgment response to the ${getOtherProcessName(d)}.`,{cause:A});const throwOnMissingStrict=A=>{throw new Error(`${getMethodName("sendMessage",A)} failed: the ${getOtherProcessName(A)} is not listening to incoming messages.`)};const throwOnStrictDisconnect=A=>{throw new Error(`${getMethodName("sendMessage",A)} failed: the ${getOtherProcessName(A)} exited without listening to incoming messages.`)};const getAbortDisconnectError=()=>new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);const throwOnMissingParent=()=>{throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.")};const handleEpipeError=({error:A,methodName:d,isSubprocess:p})=>{if(A.code==="EPIPE"){throw new Error(`${getMethodName(d,p)} cannot be used: the ${getOtherProcessName(p)} is disconnecting.`,{cause:A})}};const handleSerializationError=({error:A,methodName:d,isSubprocess:p,message:C})=>{if(isSerializationError(A)){throw new Error(`${getMethodName(d,p)}'s argument type is invalid: the message cannot be serialized: ${String(C)}.`,{cause:A})}};const isSerializationError=({code:A,message:d})=>Zt.has(A)||er.some((A=>d.includes(A)));const Zt=new Set(["ERR_MISSING_ARGS","ERR_INVALID_ARG_TYPE"]);const er=["could not be cloned","circular structure","call stack size exceeded"];const getMethodName=(A,d,p="")=>A==="cancelSignal"?"`cancelSignal`'s `controller.abort()`":`${getNamespaceName(d)}${A}(${p})`;const getNamespaceName=A=>A?"":"subprocess.";const getOtherProcessName=A=>A?"parent process":"subprocess";const disconnect=A=>{if(A.connected){A.disconnect()}};const createDeferred=()=>{const A={};const d=new Promise(((d,p)=>{Object.assign(A,{resolve:d,reject:p})}));return Object.assign(d,A)};const getToStream=(A,d="stdin")=>{const p=true;const{options:C,fileDescriptors:S}=tr.get(A);const v=getFdNumber(S,d,p);const T=A.stdio[v];if(T===null){throw new TypeError(getInvalidStdioOptionMessage(v,d,C,p))}return T};const getFromStream=(A,d="stdout")=>{const p=false;const{options:C,fileDescriptors:S}=tr.get(A);const v=getFdNumber(S,d,p);const T=v==="all"?A.all:A.stdio[v];if(T===null||T===undefined){throw new TypeError(getInvalidStdioOptionMessage(v,d,C,p))}return T};const tr=new WeakMap;const getFdNumber=(A,d,p)=>{const C=parseFdNumber(d,p);validateFdNumber(C,d,p,A);return C};const parseFdNumber=(A,d)=>{const p=parseFd(A);if(p!==undefined){return p}const{validOptions:C,defaultValue:S}=d?{validOptions:'"stdin"',defaultValue:"stdin"}:{validOptions:'"stdout", "stderr", "all"',defaultValue:"stdout"};throw new TypeError(`"${getOptionName(d)}" must not be "${A}".\nIt must be ${C} or "fd3", "fd4" (and so on).\nIt is optional and defaults to "${S}".`)};const validateFdNumber=(A,d,p,C)=>{const S=C[getUsedDescriptor(A)];if(S===undefined){throw new TypeError(`"${getOptionName(p)}" must not be ${d}. That file descriptor does not exist.\nPlease set the "stdio" option to ensure that file descriptor exists.`)}if(S.direction==="input"&&!p){throw new TypeError(`"${getOptionName(p)}" must not be ${d}. It must be a readable stream, not writable.`)}if(S.direction!=="input"&&p){throw new TypeError(`"${getOptionName(p)}" must not be ${d}. It must be a writable stream, not readable.`)}};const getInvalidStdioOptionMessage=(A,d,p,C)=>{if(A==="all"&&!p.all){return'The "all" option must be true to use "from: \'all\'".'}const{optionName:S,optionValue:v}=getInvalidStdioOption(A,p);return`The "${S}: ${serializeOptionValue(v)}" option is incompatible with using "${getOptionName(C)}: ${serializeOptionValue(d)}".\nPlease set this option with "pipe" instead.`};const getInvalidStdioOption=(A,{stdin:d,stdout:p,stderr:C,stdio:S})=>{const v=getUsedDescriptor(A);if(v===0&&d!==undefined){return{optionName:"stdin",optionValue:d}}if(v===1&&p!==undefined){return{optionName:"stdout",optionValue:p}}if(v===2&&C!==undefined){return{optionName:"stderr",optionValue:C}}return{optionName:`stdio[${v}]`,optionValue:S[v]}};const getUsedDescriptor=A=>A==="all"?1:A;const getOptionName=A=>A?"to":"from";const serializeOptionValue=A=>{if(typeof A==="string"){return`'${A}'`}return typeof A==="number"?`${A}`:"Stream"};const incrementMaxListeners=(A,d,p)=>{const C=A.getMaxListeners();if(C===0||C===Number.POSITIVE_INFINITY){return}A.setMaxListeners(C+d);(0,Xt.addAbortListener)(p,(()=>{A.setMaxListeners(A.getMaxListeners()-d)}))};const addReference=(A,d)=>{if(d){addReferenceCount(A)}};const addReferenceCount=A=>{A.refCounted()};const removeReference=(A,d)=>{if(d){removeReferenceCount(A)}};const removeReferenceCount=A=>{A.unrefCounted()};const undoAddedReferences=(A,d)=>{if(d){removeReferenceCount(A);removeReferenceCount(A)}};const redoAddedReferences=(A,d)=>{if(d){addReferenceCount(A);addReferenceCount(A)}};const onMessage=async({anyProcess:A,channel:d,isSubprocess:p,ipcEmitter:C},S)=>{if(handleStrictResponse(S)||handleAbort(S)){return}if(!rr.has(A)){rr.set(A,[])}const v=rr.get(A);v.push(S);if(v.length>1){return}while(v.length>0){await waitForOutgoingMessages(A,C,S);await Gt.scheduler.yield();const T=await handleStrictRequest({wrappedMessage:v[0],anyProcess:A,channel:d,isSubprocess:p,ipcEmitter:C});v.shift();C.emit("message",T);C.emit("message:done")}};const onDisconnect=async({anyProcess:A,channel:d,isSubprocess:p,ipcEmitter:C,boundOnMessage:S})=>{abortOnDisconnect();const v=rr.get(A);while(v?.length>0){await(0,Xt.once)(C,"message:done")}A.removeListener("message",S);redoAddedReferences(d,p);C.connected=false;C.emit("disconnect")};const rr=new WeakMap;const getIpcEmitter=(A,d,p)=>{if(nr.has(A)){return nr.get(A)}const C=new Xt.EventEmitter;C.connected=true;nr.set(A,C);forwardEvents({ipcEmitter:C,anyProcess:A,channel:d,isSubprocess:p});return C};const nr=new WeakMap;const forwardEvents=({ipcEmitter:A,anyProcess:d,channel:p,isSubprocess:C})=>{const S=onMessage.bind(undefined,{anyProcess:d,channel:p,isSubprocess:C,ipcEmitter:A});d.on("message",S);d.once("disconnect",onDisconnect.bind(undefined,{anyProcess:d,channel:p,isSubprocess:C,ipcEmitter:A,boundOnMessage:S}));undoAddedReferences(p,C)};const isConnected=A=>{const d=nr.get(A);return d===undefined?A.channel!==null:d.connected};const handleSendStrict=({anyProcess:A,channel:d,isSubprocess:p,message:C,strict:S})=>{if(!S){return C}const v=getIpcEmitter(A,d,p);const T=hasMessageListeners(A,v);return{id:ir++,type:or,message:C,hasListeners:T}};let ir=0n;const validateStrictDeadlock=(A,d)=>{if(d?.type!==or||d.hasListeners){return}for(const{id:d}of A){if(d!==undefined){sr[d].resolve({isDeadlock:true,hasListeners:false})}}};const handleStrictRequest=async({wrappedMessage:A,anyProcess:d,channel:p,isSubprocess:C,ipcEmitter:S})=>{if(A?.type!==or||!d.connected){return A}const{id:v,message:T}=A;const _={id:v,type:ar,message:hasMessageListeners(d,S)};try{await sendMessage({anyProcess:d,channel:p,isSubprocess:C,ipc:true},_)}catch(A){S.emit("strict:error",A)}return T};const handleStrictResponse=A=>{if(A?.type!==ar){return false}const{id:d,message:p}=A;sr[d]?.resolve({isDeadlock:false,hasListeners:p});return true};const waitForStrictResponse=async(A,d,p)=>{if(A?.type!==or){return}const C=createDeferred();sr[A.id]=C;const S=new AbortController;try{const{isDeadlock:A,hasListeners:v}=await Promise.race([C,throwOnDisconnect(d,p,S)]);if(A){throwOnStrictDeadlockError(p)}if(!v){throwOnMissingStrict(p)}}finally{S.abort();delete sr[A.id]}};const sr={};const throwOnDisconnect=async(A,d,{signal:p})=>{incrementMaxListeners(A,1,p);await(0,Xt.once)(A,"disconnect",{signal:p});throwOnStrictDisconnect(d)};const or="execa:ipc:request";const ar="execa:ipc:response";const startSendMessage=(A,d,p)=>{if(!lr.has(A)){lr.set(A,new Set)}const C=lr.get(A);const S=createDeferred();const v=p?d.id:undefined;const T={onMessageSent:S,id:v};C.add(T);return{outgoingMessages:C,outgoingMessage:T}};const endSendMessage=({outgoingMessages:A,outgoingMessage:d})=>{A.delete(d);d.onMessageSent.resolve()};const waitForOutgoingMessages=async(A,d,p)=>{while(!hasMessageListeners(A,d)&&lr.get(A)?.size>0){const d=[...lr.get(A)];validateStrictDeadlock(d,p);await Promise.all(d.map((({onMessageSent:A})=>A)))}};const lr=new WeakMap;const hasMessageListeners=(A,d)=>d.listenerCount("message")>getMinListenerCount(A);const getMinListenerCount=A=>tr.has(A)&&!getFdSpecificValue(tr.get(A).options.buffer,"ipc")?1:0;const sendMessage=({anyProcess:A,channel:d,isSubprocess:p,ipc:C},S,{strict:v=false}={})=>{const T="sendMessage";validateIpcMethod({methodName:T,isSubprocess:p,ipc:C,isConnected:A.connected});return sendMessageAsync({anyProcess:A,channel:d,methodName:T,isSubprocess:p,message:S,strict:v})};const sendMessageAsync=async({anyProcess:A,channel:d,methodName:p,isSubprocess:C,message:S,strict:v})=>{const T=handleSendStrict({anyProcess:A,channel:d,isSubprocess:C,message:S,strict:v});const _=startSendMessage(A,T,v);try{await sendOneMessage({anyProcess:A,methodName:p,isSubprocess:C,wrappedMessage:T,message:S})}catch(d){disconnect(A);throw d}finally{endSendMessage(_)}};const sendOneMessage=async({anyProcess:A,methodName:d,isSubprocess:p,wrappedMessage:C,message:S})=>{const v=getSendMethod(A);try{await Promise.all([waitForStrictResponse(C,A,p),v(C)])}catch(A){handleEpipeError({error:A,methodName:d,isSubprocess:p});handleSerializationError({error:A,methodName:d,isSubprocess:p,message:S});throw A}};const getSendMethod=A=>{if(cr.has(A)){return cr.get(A)}const d=(0,fe.promisify)(A.send.bind(A));cr.set(A,d);return d};const cr=new WeakMap;const sendAbort=(A,d)=>{const p="cancelSignal";validateConnection(p,false,A.connected);return sendOneMessage({anyProcess:A,methodName:p,isSubprocess:false,wrappedMessage:{type:Ar,message:d},message:d})};const getCancelSignal=async({anyProcess:A,channel:d,isSubprocess:p,ipc:C})=>{await startIpc({anyProcess:A,channel:d,isSubprocess:p,ipc:C});return dr.signal};const startIpc=async({anyProcess:A,channel:d,isSubprocess:p,ipc:C})=>{if(ur){return}ur=true;if(!C){throwOnMissingParent();return}if(d===null){abortOnDisconnect();return}getIpcEmitter(A,d,p);await Gt.scheduler.yield()};let ur=false;const handleAbort=A=>{if(A?.type!==Ar){return false}dr.abort(A.message);return true};const Ar="execa:ipc:cancel";const abortOnDisconnect=()=>{dr.abort(getAbortDisconnectError())};const dr=new AbortController;const validateGracefulCancel=({gracefulCancel:A,cancelSignal:d,ipc:p,serialization:C})=>{if(!A){return}if(d===undefined){throw new Error("The `cancelSignal` option must be defined when setting the `gracefulCancel` option.")}if(!p){throw new Error("The `ipc` option cannot be false when setting the `gracefulCancel` option.")}if(C==="json"){throw new Error("The `serialization` option cannot be 'json' when setting the `gracefulCancel` option.")}};const throwOnGracefulCancel=({subprocess:A,cancelSignal:d,gracefulCancel:p,forceKillAfterDelay:C,context:S,controller:v})=>p?[sendOnAbort({subprocess:A,cancelSignal:d,forceKillAfterDelay:C,context:S,controller:v})]:[];const sendOnAbort=async({subprocess:A,cancelSignal:d,forceKillAfterDelay:p,context:C,controller:{signal:S}})=>{await onAbortedSignal(d,S);const v=getReason(d);await sendAbort(A,v);killOnTimeout({kill:A.kill,forceKillAfterDelay:p,context:C,controllerSignal:S});C.terminationReason??="gracefulCancel";throw d.reason};const getReason=({reason:A})=>{if(!(A instanceof DOMException)){return A}const d=new Error(A.message);Object.defineProperty(d,"stack",{value:A.stack,enumerable:false,configurable:true,writable:true});return d};const validateTimeout=({timeout:A})=>{if(A!==undefined&&(!Number.isFinite(A)||A<0)){throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${A}\` (${typeof A})`)}};const throwOnTimeout=(A,d,p,C)=>d===0||d===undefined?[]:[killAfterTimeout(A,d,p,C)];const killAfterTimeout=async(A,d,p,{signal:C})=>{await(0,Gt.setTimeout)(d,undefined,{signal:C});p.terminationReason??="timeout";A.kill();throw new DiscardedError};const mapNode=({options:A})=>{if(A.node===false){throw new TypeError('The "node" option cannot be false with `execaNode()`.')}return{options:{...A,node:true}}};const handleNodeOption=(A,d,{node:p=false,nodePath:C=he.execPath,nodeOptions:S=he.execArgv.filter((A=>!A.startsWith("--inspect"))),cwd:T,execPath:_,...V})=>{if(_!==undefined){throw new TypeError('The "execPath" option has been removed. Please use the "nodePath" option instead.')}const Z=safeNormalizeFileUrl(C,'The "nodePath" option');const ee=v.resolve(T,Z);const te={...V,nodePath:ee,node:p,cwd:T};if(!p){return[A,d,te]}if(v.basename(A,".exe")==="node"){throw new TypeError('When the "node" option is true, the first argument does not need to be "node".')}return[ee,[...S,A,...d],{ipc:true,...te,shell:false}]};const pr=A(import.meta.url)("node:v8");const validateIpcInputOption=({ipcInput:A,ipc:d,serialization:p})=>{if(A===undefined){return}if(!d){throw new Error("The `ipcInput` option cannot be set unless the `ipc` option is `true`.")}fr[p](A)};const validateAdvancedInput=A=>{try{(0,pr.serialize)(A)}catch(A){throw new Error("The `ipcInput` option is not serializable with a structured clone.",{cause:A})}};const validateJsonInput=A=>{try{JSON.stringify(A)}catch(A){throw new Error("The `ipcInput` option is not serializable with JSON.",{cause:A})}};const fr={advanced:validateAdvancedInput,json:validateJsonInput};const sendIpcInput=async(A,d)=>{if(d===undefined){return}await A.sendMessage(d)};const validateEncoding=({encoding:A})=>{if(mr.has(A)){return}const d=getCorrectEncoding(A);if(d!==undefined){throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(A)}\`.\nPlease rename it to ${serializeEncoding(d)}.`)}const p=[...mr].map((A=>serializeEncoding(A))).join(", ");throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(A)}\`.\nPlease rename it to one of: ${p}.`)};const hr=new Set(["utf8","utf16le"]);const gr=new Set(["buffer","hex","base64","base64url","latin1","ascii"]);const mr=new Set([...hr,...gr]);const getCorrectEncoding=A=>{if(A===null){return"buffer"}if(typeof A!=="string"){return}const d=A.toLowerCase();if(d in yr){return yr[d]}if(mr.has(d)){return d}};const yr={"utf-8":"utf8","utf-16le":"utf16le","ucs-2":"utf16le",ucs2:"utf16le",binary:"latin1"};const serializeEncoding=A=>typeof A==="string"?`"${A}"`:String(A);const normalizeCwd=(A=getDefaultCwd())=>{const d=safeNormalizeFileUrl(A,'The "cwd" option');return v.resolve(d)};const getDefaultCwd=()=>{try{return he.cwd()}catch(A){A.message=`The current directory does not exist.\n${A.message}`;throw A}};const fixCwdError=(A,d)=>{if(d===getDefaultCwd()){return A}let p;try{p=(0,S.statSync)(d)}catch(p){return`The "cwd" option is invalid: ${d}.\n${p.message}\n${A}`}if(!p.isDirectory()){return`The "cwd" option is not a directory: ${d}.\n${A}`}return A};const normalizeOptions=(A,d,p)=>{p.cwd=normalizeCwd(p.cwd);const[C,S,T]=handleNodeOption(A,d,p);const{command:_,args:V,options:Z}=Ut._parse(C,S,T);const ee=normalizeFdSpecificOptions(Z);const te=addDefaultOptions(ee);validateTimeout(te);validateEncoding(te);validateIpcInputOption(te);validateCancelSignal(te);validateGracefulCancel(te);te.shell=normalizeFileUrl(te.shell);te.env=getEnv(te);te.killSignal=normalizeKillSignal(te.killSignal);te.forceKillAfterDelay=normalizeForceKillAfterDelay(te.forceKillAfterDelay);te.lines=te.lines.map(((A,d)=>A&&!gr.has(te.encoding)&&te.buffer[d]));if(he.platform==="win32"&&v.basename(_,".exe")==="cmd"){V.unshift("/q")}return{file:_,commandArguments:V,options:te}};const addDefaultOptions=({extendEnv:A=true,preferLocal:d=false,cwd:p,localDir:C=p,encoding:S="utf8",reject:v=true,cleanup:T=true,all:_=false,windowsHide:V=true,killSignal:Z="SIGTERM",forceKillAfterDelay:ee=true,gracefulCancel:te=false,ipcInput:re,ipc:ne=re!==undefined||te,serialization:ie="advanced",...se})=>({...se,extendEnv:A,preferLocal:d,cwd:p,localDirectory:C,encoding:S,reject:v,cleanup:T,all:_,windowsHide:V,killSignal:Z,forceKillAfterDelay:ee,gracefulCancel:te,ipcInput:re,ipc:ne,serialization:ie});const getEnv=({env:A,extendEnv:d,preferLocal:p,node:C,localDirectory:S,nodePath:v})=>{const T=d?{...he.env,...A}:A;if(p||C){return npmRunPathEnv({env:T,cwd:S,execPath:v,preferLocal:p,addExecPath:C})}return T};const concatenateShell=(A,d,p)=>p.shell&&d.length>0?[[A,...d].join(" "),[],p]:[A,d,p];function strip_final_newline_stripFinalNewline(A){if(typeof A==="string"){return stripFinalNewlineString(A)}if(!(ArrayBuffer.isView(A)&&A.BYTES_PER_ELEMENT===1)){throw new Error("Input must be a string or a Uint8Array")}return stripFinalNewlineBinary(A)}const stripFinalNewlineString=A=>A.at(-1)===Er?A.slice(0,A.at(-2)===Cr?-2:-1):A;const stripFinalNewlineBinary=A=>A.at(-1)===br?A.subarray(0,A.at(-2)===Br?-2:-1):A;const Er="\n";const br=Er.codePointAt(0);const Cr="\r";const Br=Cr.codePointAt(0);function isStream(A,{checkOpen:d=true}={}){return A!==null&&typeof A==="object"&&(A.writable||A.readable||!d||A.writable===undefined&&A.readable===undefined)&&typeof A.pipe==="function"}function isWritableStream(A,{checkOpen:d=true}={}){return isStream(A,{checkOpen:d})&&(A.writable||!d)&&typeof A.write==="function"&&typeof A.end==="function"&&typeof A.writable==="boolean"&&typeof A.writableObjectMode==="boolean"&&typeof A.destroy==="function"&&typeof A.destroyed==="boolean"}function isReadableStream(A,{checkOpen:d=true}={}){return isStream(A,{checkOpen:d})&&(A.readable||!d)&&typeof A.read==="function"&&typeof A.readable==="boolean"&&typeof A.readableObjectMode==="boolean"&&typeof A.destroy==="function"&&typeof A.destroyed==="boolean"}function isDuplexStream(A,d){return isWritableStream(A,d)&&isReadableStream(A,d)}function isTransformStream(A,d){return isDuplexStream(A,d)&&typeof A._transform==="function"}const Ir=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);class c{#E;#b;#C=!1;#B=void 0;constructor(A,d){this.#E=A,this.#b=d}next(){const e=()=>this.#I();return this.#B=this.#B?this.#B.then(e,e):e(),this.#B}return(A){const t=()=>this.#S(A);return this.#B?this.#B.then(t,t):t()}async#I(){if(this.#C)return{done:!0,value:void 0};let A;try{A=await this.#E.read()}catch(A){throw this.#B=void 0,this.#C=!0,this.#E.releaseLock(),A}return A.done&&(this.#B=void 0,this.#C=!0,this.#E.releaseLock()),A}async#S(A){if(this.#C)return{done:!0,value:A};if(this.#C=!0,!this.#b){const d=this.#E.cancel(A);return this.#E.releaseLock(),await d,{done:!0,value:A}}return this.#E.releaseLock(),{done:!0,value:A}}}const Sr=Symbol();function i(){return this[Sr].next()}Object.defineProperty(i,"name",{value:"next"});function o(A){return this[Sr].return(A)}Object.defineProperty(o,"name",{value:"return"});const wr=Object.create(Ir,{next:{enumerable:!0,configurable:!0,writable:!0,value:i},return:{enumerable:!0,configurable:!0,writable:!0,value:o}});function h({preventCancel:A=!1}={}){const d=this.getReader(),p=new c(d,A),C=Object.create(wr);return C[Sr]=p,C}const getAsyncIterable=A=>{if(isReadableStream(A,{checkOpen:false})&&vr.on!==undefined){return getStreamIterable(A)}if(typeof A?.[Symbol.asyncIterator]==="function"){return A}if(Qr.call(A)==="[object ReadableStream]"){return h.call(A)}throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")};const{toString:Qr}=Object.prototype;const getStreamIterable=async function*(A){const d=new AbortController;const p={};handleStreamEnd(A,d,p);try{for await(const[p]of vr.on(A,"data",{signal:d.signal})){yield p}}catch(A){if(p.error!==undefined){throw p.error}else if(!d.signal.aborted){throw A}}finally{A.destroy()}};const handleStreamEnd=async(A,d,p)=>{try{await vr.finished(A,{cleanup:true,readable:true,writable:false,error:false})}catch(A){p.error=A}finally{d.abort()}};const vr={};const getStreamContents=async(A,{init:d,convertChunk:p,getSize:C,truncateChunk:S,addChunk:v,getFinalChunk:T,finalize:_},{maxBuffer:V=Number.POSITIVE_INFINITY}={})=>{const Z=getAsyncIterable(A);const ee=d();ee.length=0;try{for await(const A of Z){const d=getChunkType(A);const T=p[d](A,ee);appendChunk({convertedChunk:T,state:ee,getSize:C,truncateChunk:S,addChunk:v,maxBuffer:V})}appendFinalChunk({state:ee,convertChunk:p,getSize:C,truncateChunk:S,addChunk:v,getFinalChunk:T,maxBuffer:V});return _(ee)}catch(A){const d=typeof A==="object"&&A!==null?A:new Error(A);d.bufferedData=_(ee);throw d}};const appendFinalChunk=({state:A,getSize:d,truncateChunk:p,addChunk:C,getFinalChunk:S,maxBuffer:v})=>{const T=S(A);if(T!==undefined){appendChunk({convertedChunk:T,state:A,getSize:d,truncateChunk:p,addChunk:C,maxBuffer:v})}};const appendChunk=({convertedChunk:A,state:d,getSize:p,truncateChunk:C,addChunk:S,maxBuffer:v})=>{const T=p(A);const _=d.length+T;if(_<=v){addNewChunk(A,d,S,_);return}const V=C(A,v-d.length);if(V!==undefined){addNewChunk(V,d,S,v)}throw new MaxBufferError};const addNewChunk=(A,d,p,C)=>{d.contents=p(A,d,C);d.length=C};const getChunkType=A=>{const d=typeof A;if(d==="string"){return"string"}if(d!=="object"||A===null){return"others"}if(globalThis.Buffer?.isBuffer(A)){return"buffer"}const p=Rr.call(A);if(p==="[object ArrayBuffer]"){return"arrayBuffer"}if(p==="[object DataView]"){return"dataView"}if(Number.isInteger(A.byteLength)&&Number.isInteger(A.byteOffset)&&Rr.call(A.buffer)==="[object ArrayBuffer]"){return"typedArray"}return"others"};const{toString:Rr}=Object.prototype;class MaxBufferError extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}}const handleMaxBuffer=({error:A,stream:d,readableObjectMode:p,lines:C,encoding:S,fdNumber:v})=>{if(!(A instanceof MaxBufferError)){throw A}if(v==="all"){return A}const T=getMaxBufferUnit(p,C,S);A.maxBufferInfo={fdNumber:v,unit:T};d.destroy();throw A};const getMaxBufferUnit=(A,d,p)=>{if(A){return"objects"}if(d){return"lines"}if(p==="buffer"){return"bytes"}return"characters"};const checkIpcMaxBuffer=(A,d,p)=>{if(d.length!==p){return}const C=new MaxBufferError;C.maxBufferInfo={fdNumber:"ipc"};throw C};const getMaxBufferMessage=(A,d)=>{const{streamName:p,threshold:C,unit:S}=getMaxBufferInfo(A,d);return`Command's ${p} was larger than ${C} ${S}`};const getMaxBufferInfo=(A,d)=>{if(A?.maxBufferInfo===undefined){return{streamName:"output",threshold:d[1],unit:"bytes"}}const{maxBufferInfo:{fdNumber:p,unit:C}}=A;delete A.maxBufferInfo;const S=getFdSpecificValue(d,p);if(p==="ipc"){return{streamName:"IPC output",threshold:S,unit:"messages"}}return{streamName:getStreamName(p),threshold:S,unit:C}};const isMaxBufferSync=(A,d,p)=>A?.code==="ENOBUFS"&&d!==null&&d.some((A=>A!==null&&A.length>getMaxBufferSync(p)));const truncateMaxBufferSync=(A,d,p)=>{if(!d){return A}const C=getMaxBufferSync(p);return A.length>C?A.slice(0,C):A};const getMaxBufferSync=([,A])=>A;const createMessages=({stdio:A,all:d,ipcOutput:p,originalError:C,signal:S,signalDescription:v,exitCode:T,escapedCommand:_,timedOut:V,isCanceled:Z,isGracefullyCanceled:ee,isMaxBuffer:te,isForcefullyTerminated:re,forceKillAfterDelay:ne,killSignal:ie,maxBuffer:se,timeout:oe,cwd:ae})=>{const le=C?.code;const ce=getErrorPrefix({originalError:C,timedOut:V,timeout:oe,isMaxBuffer:te,maxBuffer:se,errorCode:le,signal:S,signalDescription:v,exitCode:T,isCanceled:Z,isGracefullyCanceled:ee,isForcefullyTerminated:re,forceKillAfterDelay:ne,killSignal:ie});const ue=getOriginalMessage(C,ae);const Ae=ue===undefined?"":`\n${ue}`;const de=`${ce}: ${_}${Ae}`;const pe=d===undefined?[A[2],A[1]]:[d];const fe=[de,...pe,...A.slice(3),p.map((A=>serializeIpcMessage(A))).join("\n")].map((A=>escapeLines(strip_final_newline_stripFinalNewline(serializeMessagePart(A))))).filter(Boolean).join("\n\n");return{originalMessage:ue,shortMessage:de,message:fe}};const getErrorPrefix=({originalError:A,timedOut:d,timeout:p,isMaxBuffer:C,maxBuffer:S,errorCode:v,signal:T,signalDescription:_,exitCode:V,isCanceled:Z,isGracefullyCanceled:ee,isForcefullyTerminated:te,forceKillAfterDelay:re,killSignal:ne})=>{const ie=getForcefulSuffix(te,re);if(d){return`Command timed out after ${p} milliseconds${ie}`}if(ee){if(T===undefined){return`Command was gracefully canceled with exit code ${V}`}return te?`Command was gracefully canceled${ie}`:`Command was gracefully canceled with ${T} (${_})`}if(Z){return`Command was canceled${ie}`}if(C){return`${getMaxBufferMessage(A,S)}${ie}`}if(v!==undefined){return`Command failed with ${v}${ie}`}if(te){return`Command was killed with ${ne} (${getSignalDescription(ne)})${ie}`}if(T!==undefined){return`Command was killed with ${T} (${_})`}if(V!==undefined){return`Command failed with exit code ${V}`}return"Command failed"};const getForcefulSuffix=(A,d)=>A?` and was forcefully terminated after ${d} milliseconds`:"";const getOriginalMessage=(A,d)=>{if(A instanceof DiscardedError){return}const p=isExecaError(A)?A.originalMessage:String(A?.message??A);const C=escapeLines(fixCwdError(p,d));return C===""?undefined:C};const serializeIpcMessage=A=>typeof A==="string"?A:(0,fe.inspect)(A);const serializeMessagePart=A=>Array.isArray(A)?A.map((A=>strip_final_newline_stripFinalNewline(serializeMessageItem(A)))).filter(Boolean).join("\n"):serializeMessageItem(A);const serializeMessageItem=A=>{if(typeof A==="string"){return A}if(isUint8Array(A)){return uint8ArrayToString(A)}return""};const makeSuccessResult=({command:A,escapedCommand:d,stdio:p,all:C,ipcOutput:S,options:{cwd:v},startTime:T})=>omitUndefinedProperties({command:A,escapedCommand:d,cwd:v,durationMs:getDurationMs(T),failed:false,timedOut:false,isCanceled:false,isGracefullyCanceled:false,isTerminated:false,isMaxBuffer:false,isForcefullyTerminated:false,exitCode:0,stdout:p[1],stderr:p[2],all:C,stdio:p,ipcOutput:S,pipedFrom:[]});const makeEarlyError=({error:A,command:d,escapedCommand:p,fileDescriptors:C,options:S,startTime:v,isSync:T})=>makeError({error:A,command:d,escapedCommand:p,startTime:v,timedOut:false,isCanceled:false,isGracefullyCanceled:false,isMaxBuffer:false,isForcefullyTerminated:false,stdio:Array.from({length:C.length}),ipcOutput:[],options:S,isSync:T});const makeError=({error:A,command:d,escapedCommand:p,startTime:C,timedOut:S,isCanceled:v,isGracefullyCanceled:T,isMaxBuffer:_,isForcefullyTerminated:V,exitCode:Z,signal:ee,stdio:te,all:re,ipcOutput:ne,options:{timeoutDuration:ie,timeout:se=ie,forceKillAfterDelay:oe,killSignal:ae,cwd:le,maxBuffer:ce},isSync:ue})=>{const{exitCode:Ae,signal:de,signalDescription:pe}=normalizeExitPayload(Z,ee);const{originalMessage:fe,shortMessage:he,message:ge}=createMessages({stdio:te,all:re,ipcOutput:ne,originalError:A,signal:de,signalDescription:pe,exitCode:Ae,escapedCommand:p,timedOut:S,isCanceled:v,isGracefullyCanceled:T,isMaxBuffer:_,isForcefullyTerminated:V,forceKillAfterDelay:oe,killSignal:ae,maxBuffer:ce,timeout:se,cwd:le});const me=getFinalError(A,ge,ue);Object.assign(me,getErrorProperties({error:me,command:d,escapedCommand:p,startTime:C,timedOut:S,isCanceled:v,isGracefullyCanceled:T,isMaxBuffer:_,isForcefullyTerminated:V,exitCode:Ae,signal:de,signalDescription:pe,stdio:te,all:re,ipcOutput:ne,cwd:le,originalMessage:fe,shortMessage:he}));return me};const getErrorProperties=({error:A,command:d,escapedCommand:p,startTime:C,timedOut:S,isCanceled:v,isGracefullyCanceled:T,isMaxBuffer:_,isForcefullyTerminated:V,exitCode:Z,signal:ee,signalDescription:te,stdio:re,all:ne,ipcOutput:ie,cwd:se,originalMessage:oe,shortMessage:ae})=>omitUndefinedProperties({shortMessage:ae,originalMessage:oe,command:d,escapedCommand:p,cwd:se,durationMs:getDurationMs(C),failed:true,timedOut:S,isCanceled:v,isGracefullyCanceled:T,isTerminated:ee!==undefined,isMaxBuffer:_,isForcefullyTerminated:V,exitCode:Z,signal:ee,signalDescription:te,code:A.cause?.code,stdout:re[1],stderr:re[2],all:ne,stdio:re,ipcOutput:ie,pipedFrom:[]});const omitUndefinedProperties=A=>Object.fromEntries(Object.entries(A).filter((([,A])=>A!==undefined)));const normalizeExitPayload=(A,d)=>{const p=A===null?undefined:A;const C=d===null?undefined:d;const S=C===undefined?undefined:getSignalDescription(d);return{exitCode:p,signal:C,signalDescription:S}};const toZeroIfInfinity=A=>Number.isFinite(A)?A:0;function parseNumber(A){return{days:Math.trunc(A/864e5),hours:Math.trunc(A/36e5%24),minutes:Math.trunc(A/6e4%60),seconds:Math.trunc(A/1e3%60),milliseconds:Math.trunc(A%1e3),microseconds:Math.trunc(toZeroIfInfinity(A*1e3)%1e3),nanoseconds:Math.trunc(toZeroIfInfinity(A*1e6)%1e3)}}function parseBigint(A){return{days:A/86400000n,hours:A/3600000n%24n,minutes:A/60000n%60n,seconds:A/1000n%60n,milliseconds:A%1000n,microseconds:0n,nanoseconds:0n}}function parseMilliseconds(A){switch(typeof A){case"number":{if(Number.isFinite(A)){return parseNumber(A)}break}case"bigint":{return parseBigint(A)}}throw new TypeError("Expected a finite number or bigint")}const isZero=A=>A===0||A===0n;const pluralize=(A,d)=>d===1||d===1n?A:`${A}s`;const Nr=1e-7;const Dr=24n*60n*60n*1000n;function prettyMilliseconds(A,d){const p=typeof A==="bigint";if(!p&&!Number.isFinite(A)){throw new TypeError("Expected a finite number or bigint")}d={...d};const C=A<0?"-":"";A=A<0?-A:A;if(d.colonNotation){d.compact=false;d.formatSubMilliseconds=false;d.separateMilliseconds=false;d.verbose=false}if(d.compact){d.unitCount=1;d.secondsDecimalDigits=0;d.millisecondsDecimalDigits=0}let S=[];const floorDecimals=(A,d)=>{const p=Math.floor(A*10**d+Nr);const C=Math.round(p)/10**d;return C.toFixed(d)};const add=(A,p,C,v)=>{if((S.length===0||!d.colonNotation)&&isZero(A)&&!(d.colonNotation&&C==="m")){return}v??=String(A);if(d.colonNotation){const A=v.includes(".")?v.split(".")[0].length:v.length;const d=S.length>0?2:1;v="0".repeat(Math.max(0,d-A))+v}else{v+=d.verbose?" "+pluralize(p,A):C}S.push(v)};const v=parseMilliseconds(A);const T=BigInt(v.days);if(d.hideYearAndDays){add(BigInt(T)*24n+BigInt(v.hours),"hour","h")}else{if(d.hideYear){add(T,"day","d")}else{add(T/365n,"year","y");add(T%365n,"day","d")}add(Number(v.hours),"hour","h")}add(Number(v.minutes),"minute","m");if(!d.hideSeconds){if(d.separateMilliseconds||d.formatSubMilliseconds||!d.colonNotation&&A<1e3&&!d.subSecondsAsDecimals){const A=Number(v.seconds);const p=Number(v.milliseconds);const C=Number(v.microseconds);const S=Number(v.nanoseconds);add(A,"second","s");if(d.formatSubMilliseconds){add(p,"millisecond","ms");add(C,"microsecond","µs");add(S,"nanosecond","ns")}else{const A=p+C/1e3+S/1e6;const v=typeof d.millisecondsDecimalDigits==="number"?d.millisecondsDecimalDigits:0;const T=A>=1?Math.round(A):Math.ceil(A);const _=v?A.toFixed(v):T;add(Number.parseFloat(_),"millisecond","ms",_)}}else{const C=(p?Number(A%Dr):A)/1e3%60;const S=typeof d.secondsDecimalDigits==="number"?d.secondsDecimalDigits:1;const v=floorDecimals(C,S);const T=d.keepDecimalsOnWholeSeconds?v:v.replace(/\.0+$/,"");add(Number.parseFloat(T),"second","s",T)}}if(S.length===0){return C+"0"+(d.verbose?" milliseconds":"ms")}const _=d.colonNotation?":":" ";if(typeof d.unitCount==="number"){S=S.slice(0,Math.max(d.unitCount,1))}return C+S.join(_)}const logError=(A,d)=>{if(A.failed){verboseLog({type:"error",verboseMessage:A.shortMessage,verboseInfo:d,result:A})}};const logResult=(A,d)=>{if(!isVerbose(d)){return}logError(A,d);logDuration(A,d)};const logDuration=(A,d)=>{const p=`(done in ${prettyMilliseconds(A.durationMs)})`;verboseLog({type:"duration",verboseMessage:p,verboseInfo:d,result:A})};const handleResult=(A,d,{reject:p})=>{logResult(A,d);if(A.failed&&p){throw A}return A};const getStdioItemType=(A,d)=>{if(isAsyncGenerator(A)){return"asyncGenerator"}if(isSyncGenerator(A)){return"generator"}if(isUrl(A)){return"fileUrl"}if(isFilePathObject(A)){return"filePath"}if(isWebStream(A)){return"webStream"}if(isStream(A,{checkOpen:false})){return"native"}if(isUint8Array(A)){return"uint8Array"}if(isAsyncIterableObject(A)){return"asyncIterable"}if(isIterableObject(A)){return"iterable"}if(type_isTransformStream(A)){return getTransformStreamType({transform:A},d)}if(isTransformOptions(A)){return getTransformObjectType(A,d)}return"native"};const getTransformObjectType=(A,d)=>{if(isDuplexStream(A.transform,{checkOpen:false})){return getDuplexType(A,d)}if(type_isTransformStream(A.transform)){return getTransformStreamType(A,d)}return getGeneratorObjectType(A,d)};const getDuplexType=(A,d)=>{validateNonGeneratorType(A,d,"Duplex stream");return"duplex"};const getTransformStreamType=(A,d)=>{validateNonGeneratorType(A,d,"web TransformStream");return"webTransform"};const validateNonGeneratorType=({final:A,binary:d,objectMode:p},C,S)=>{checkUndefinedOption(A,`${C}.final`,S);checkUndefinedOption(d,`${C}.binary`,S);checkBooleanOption(p,`${C}.objectMode`)};const checkUndefinedOption=(A,d,p)=>{if(A!==undefined){throw new TypeError(`The \`${d}\` option can only be defined when using a generator, not a ${p}.`)}};const getGeneratorObjectType=({transform:A,final:d,binary:p,objectMode:C},S)=>{if(A!==undefined&&!isGenerator(A)){throw new TypeError(`The \`${S}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`)}if(isDuplexStream(d,{checkOpen:false})){throw new TypeError(`The \`${S}.final\` option must not be a Duplex stream.`)}if(type_isTransformStream(d)){throw new TypeError(`The \`${S}.final\` option must not be a web TransformStream.`)}if(d!==undefined&&!isGenerator(d)){throw new TypeError(`The \`${S}.final\` option must be a generator.`)}checkBooleanOption(p,`${S}.binary`);checkBooleanOption(C,`${S}.objectMode`);return isAsyncGenerator(A)||isAsyncGenerator(d)?"asyncGenerator":"generator"};const checkBooleanOption=(A,d)=>{if(A!==undefined&&typeof A!=="boolean"){throw new TypeError(`The \`${d}\` option must use a boolean.`)}};const isGenerator=A=>isAsyncGenerator(A)||isSyncGenerator(A);const isAsyncGenerator=A=>Object.prototype.toString.call(A)==="[object AsyncGeneratorFunction]";const isSyncGenerator=A=>Object.prototype.toString.call(A)==="[object GeneratorFunction]";const isTransformOptions=A=>isPlainObject(A)&&(A.transform!==undefined||A.final!==undefined);const isUrl=A=>Object.prototype.toString.call(A)==="[object URL]";const isRegularUrl=A=>isUrl(A)&&A.protocol!=="file:";const isFilePathObject=A=>isPlainObject(A)&&Object.keys(A).length>0&&Object.keys(A).every((A=>xr.has(A)))&&isFilePathString(A.file);const xr=new Set(["file","append"]);const isFilePathString=A=>typeof A==="string";const isUnknownStdioString=(A,d)=>A==="native"&&typeof d==="string"&&!Tr.has(d);const Tr=new Set(["ipc","ignore","inherit","overlapped","pipe"]);const type_isReadableStream=A=>Object.prototype.toString.call(A)==="[object ReadableStream]";const type_isWritableStream=A=>Object.prototype.toString.call(A)==="[object WritableStream]";const isWebStream=A=>type_isReadableStream(A)||type_isWritableStream(A);const type_isTransformStream=A=>type_isReadableStream(A?.readable)&&type_isWritableStream(A?.writable);const isAsyncIterableObject=A=>isObject(A)&&typeof A[Symbol.asyncIterator]==="function";const isIterableObject=A=>isObject(A)&&typeof A[Symbol.iterator]==="function";const isObject=A=>typeof A==="object"&&A!==null;const _r=new Set(["generator","asyncGenerator","duplex","webTransform"]);const Pr=new Set(["fileUrl","filePath","fileNumber"]);const kr=new Set(["fileUrl","filePath"]);const Or=new Set([...kr,"webStream","nodeStream"]);const Fr=new Set(["webTransform","duplex"]);const Lr={generator:"a generator",asyncGenerator:"an async generator",fileUrl:"a file URL",filePath:"a file path string",fileNumber:"a file descriptor number",webStream:"a web stream",nodeStream:"a Node.js stream",webTransform:"a web TransformStream",duplex:"a Duplex stream",native:"any value",iterable:"an iterable",asyncIterable:"an async iterable",string:"a string",uint8Array:"a Uint8Array"};const getTransformObjectModes=(A,d,p,C)=>C==="output"?getOutputObjectModes(A,d,p):getInputObjectModes(A,d,p);const getOutputObjectModes=(A,d,p)=>{const C=d!==0&&p[d-1].value.readableObjectMode;const S=A??C;return{writableObjectMode:C,readableObjectMode:S}};const getInputObjectModes=(A,d,p)=>{const C=d===0?A===true:p[d-1].value.readableObjectMode;const S=d!==p.length-1&&(A??C);return{writableObjectMode:C,readableObjectMode:S}};const getFdObjectMode=(A,d)=>{const p=A.findLast((({type:A})=>_r.has(A)));if(p===undefined){return false}return d==="input"?p.value.writableObjectMode:p.value.readableObjectMode};const normalizeTransforms=(A,d,p,C)=>[...A.filter((({type:A})=>!_r.has(A))),...getTransforms(A,d,p,C)];const getTransforms=(A,d,p,{encoding:C})=>{const S=A.filter((({type:A})=>_r.has(A)));const v=Array.from({length:S.length});for(const[A,T]of Object.entries(S)){v[A]=normalizeTransform({stdioItem:T,index:Number(A),newTransforms:v,optionName:d,direction:p,encoding:C})}return sortTransforms(v,p)};const normalizeTransform=({stdioItem:A,stdioItem:{type:d},index:p,newTransforms:C,optionName:S,direction:v,encoding:T})=>{if(d==="duplex"){return normalizeDuplex({stdioItem:A,optionName:S})}if(d==="webTransform"){return normalizeTransformStream({stdioItem:A,index:p,newTransforms:C,direction:v})}return normalizeGenerator({stdioItem:A,index:p,newTransforms:C,direction:v,encoding:T})};const normalizeDuplex=({stdioItem:A,stdioItem:{value:{transform:d,transform:{writableObjectMode:p,readableObjectMode:C},objectMode:S=C}},optionName:v})=>{if(S&&!C){throw new TypeError(`The \`${v}.objectMode\` option can only be \`true\` if \`new Duplex({objectMode: true})\` is used.`)}if(!S&&C){throw new TypeError(`The \`${v}.objectMode\` option cannot be \`false\` if \`new Duplex({objectMode: true})\` is used.`)}return{...A,value:{transform:d,writableObjectMode:p,readableObjectMode:C}}};const normalizeTransformStream=({stdioItem:A,stdioItem:{value:d},index:p,newTransforms:C,direction:S})=>{const{transform:v,objectMode:T}=isPlainObject(d)?d:{transform:d};const{writableObjectMode:_,readableObjectMode:V}=getTransformObjectModes(T,p,C,S);return{...A,value:{transform:v,writableObjectMode:_,readableObjectMode:V}}};const normalizeGenerator=({stdioItem:A,stdioItem:{value:d},index:p,newTransforms:C,direction:S,encoding:v})=>{const{transform:T,final:_,binary:V=false,preserveNewlines:Z=false,objectMode:ee}=isPlainObject(d)?d:{transform:d};const te=V||gr.has(v);const{writableObjectMode:re,readableObjectMode:ne}=getTransformObjectModes(ee,p,C,S);return{...A,value:{transform:T,final:_,binary:te,preserveNewlines:Z,writableObjectMode:re,readableObjectMode:ne}}};const sortTransforms=(A,d)=>d==="input"?A.reverse():A;const getStreamDirection=(A,d,p)=>{const C=A.map((A=>getStdioItemDirection(A,d)));if(C.includes("input")&&C.includes("output")){throw new TypeError(`The \`${p}\` option must not be an array of both readable and writable values.`)}return C.find(Boolean)??Hr};const getStdioItemDirection=({type:A,value:d},p)=>Mr[p]??Ur[A](d);const Mr=["input","output","output"];const anyDirection=()=>undefined;const alwaysInput=()=>"input";const Ur={generator:anyDirection,asyncGenerator:anyDirection,fileUrl:anyDirection,filePath:anyDirection,iterable:alwaysInput,asyncIterable:alwaysInput,uint8Array:alwaysInput,webStream:A=>type_isWritableStream(A)?"output":"input",nodeStream(A){if(!isReadableStream(A,{checkOpen:false})){return"output"}return isWritableStream(A,{checkOpen:false})?undefined:"input"},webTransform:anyDirection,duplex:anyDirection,native(A){const d=getStandardStreamDirection(A);if(d!==undefined){return d}if(isStream(A,{checkOpen:false})){return Ur.nodeStream(A)}}};const getStandardStreamDirection=A=>{if([0,he.stdin].includes(A)){return"input"}if([1,2,he.stdout,he.stderr].includes(A)){return"output"}};const Hr="output";const normalizeIpcStdioArray=(A,d)=>d&&!A.includes("ipc")?[...A,"ipc"]:A;const normalizeStdioOption=({stdio:A,ipc:d,buffer:p,...C},S,v)=>{const T=getStdioArray(A,C).map(((A,d)=>stdio_option_addDefaultValue(A,d)));return v?normalizeStdioSync(T,p,S):normalizeIpcStdioArray(T,d)};const getStdioArray=(A,d)=>{if(A===undefined){return me.map((A=>d[A]))}if(hasAlias(d)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${me.map((A=>`\`${A}\``)).join(", ")}`)}if(typeof A==="string"){return[A,A,A]}if(!Array.isArray(A)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof A}\``)}const p=Math.max(A.length,me.length);return Array.from({length:p},((d,p)=>A[p]))};const hasAlias=A=>me.some((d=>A[d]!==undefined));const stdio_option_addDefaultValue=(A,d)=>{if(Array.isArray(A)){return A.map((A=>stdio_option_addDefaultValue(A,d)))}if(A===null||A===undefined){return d>=me.length?"ignore":"pipe"}return A};const normalizeStdioSync=(A,d,p)=>A.map(((A,C)=>!d[C]&&C!==0&&!isFullVerbose(p,C)&&isOutputPipeOnly(A)?"ignore":A));const isOutputPipeOnly=A=>A==="pipe"||Array.isArray(A)&&A.every((A=>A==="pipe"));const handleNativeStream=({stdioItem:A,stdioItem:{type:d},isStdioArray:p,fdNumber:C,direction:S,isSync:v})=>{if(!p||d!=="native"){return A}return v?handleNativeStreamSync({stdioItem:A,fdNumber:C,direction:S}):handleNativeStreamAsync({stdioItem:A,fdNumber:C})};const handleNativeStreamSync=({stdioItem:A,stdioItem:{value:d,optionName:p},fdNumber:C,direction:S})=>{const v=getTargetFd({value:d,optionName:p,fdNumber:C,direction:S});if(v!==undefined){return v}if(isStream(d,{checkOpen:false})){throw new TypeError(`The \`${p}: Stream\` option cannot both be an array and include a stream with synchronous methods.`)}return A};const getTargetFd=({value:A,optionName:d,fdNumber:p,direction:C})=>{const v=getTargetFdNumber(A,p);if(v===undefined){return}if(C==="output"){return{type:"fileNumber",value:v,optionName:d}}if(Oe.isatty(v)){throw new TypeError(`The \`${d}: ${serializeOptionValue(A)}\` option is invalid: it cannot be a TTY with synchronous methods.`)}return{type:"uint8Array",value:bufferToUint8Array((0,S.readFileSync)(v)),optionName:d}};const getTargetFdNumber=(A,d)=>{if(A==="inherit"){return d}if(typeof A==="number"){return A}const p=ge.indexOf(A);if(p!==-1){return p}};const handleNativeStreamAsync=({stdioItem:A,stdioItem:{value:d,optionName:p},fdNumber:C})=>{if(d==="inherit"){return{type:"nodeStream",value:getStandardStream(C,d,p),optionName:p}}if(typeof d==="number"){return{type:"nodeStream",value:getStandardStream(d,d,p),optionName:p}}if(isStream(d,{checkOpen:false})){return{type:"nodeStream",value:d,optionName:p}}return A};const getStandardStream=(A,d,p)=>{const C=ge[A];if(C===undefined){throw new TypeError(`The \`${p}: ${d}\` option is invalid: no such standard stream.`)}return C};const handleInputOptions=({input:A,inputFile:d},p)=>p===0?[...handleInputOption(A),...handleInputFileOption(d)]:[];const handleInputOption=A=>A===undefined?[]:[{type:getInputType(A),value:A,optionName:"input"}];const getInputType=A=>{if(isReadableStream(A,{checkOpen:false})){return"nodeStream"}if(typeof A==="string"){return"string"}if(isUint8Array(A)){return"uint8Array"}throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.")};const handleInputFileOption=A=>A===undefined?[]:[{...getInputFileType(A),optionName:"inputFile"}];const getInputFileType=A=>{if(isUrl(A)){return{type:"fileUrl",value:A}}if(isFilePathString(A)){return{type:"filePath",value:{file:A}}}throw new Error("The `inputFile` option must be a file path string or a file URL.")};const filterDuplicates=A=>A.filter(((d,p)=>A.every(((A,C)=>d.value!==A.value||p>=C||d.type==="generator"||d.type==="asyncGenerator"))));const getDuplicateStream=({stdioItem:{type:A,value:d,optionName:p},direction:C,fileDescriptors:S,isSync:v})=>{const T=getOtherStdioItems(S,A);if(T.length===0){return}if(v){validateDuplicateStreamSync({otherStdioItems:T,type:A,value:d,optionName:p,direction:C});return}if(Or.has(A)){return getDuplicateStreamInstance({otherStdioItems:T,type:A,value:d,optionName:p,direction:C})}if(Fr.has(A)){validateDuplicateTransform({otherStdioItems:T,type:A,value:d,optionName:p})}};const getOtherStdioItems=(A,d)=>A.flatMap((({direction:A,stdioItems:p})=>p.filter((A=>A.type===d)).map((d=>({...d,direction:A})))));const validateDuplicateStreamSync=({otherStdioItems:A,type:d,value:p,optionName:C,direction:S})=>{if(kr.has(d)){getDuplicateStreamInstance({otherStdioItems:A,type:d,value:p,optionName:C,direction:S})}};const getDuplicateStreamInstance=({otherStdioItems:A,type:d,value:p,optionName:C,direction:S})=>{const v=A.filter((A=>hasSameValue(A,p)));if(v.length===0){return}const T=v.find((A=>A.direction!==S));throwOnDuplicateStream(T,C,d);return S==="output"?v[0].stream:undefined};const hasSameValue=({type:A,value:d},p)=>{if(A==="filePath"){return d.file===p.file}if(A==="fileUrl"){return d.href===p.href}return d===p};const validateDuplicateTransform=({otherStdioItems:A,type:d,value:p,optionName:C})=>{const S=A.find((({value:{transform:A}})=>A===p.transform));throwOnDuplicateStream(S,C,d)};const throwOnDuplicateStream=(A,d,p)=>{if(A!==undefined){throw new TypeError(`The \`${A.optionName}\` and \`${d}\` options must not target ${Lr[p]} that is the same.`)}};const handleStdio=(A,d,p,C)=>{const S=normalizeStdioOption(d,p,C);const v=S.map(((A,p)=>getFileDescriptor({stdioOption:A,fdNumber:p,options:d,isSync:C})));const T=getFinalFileDescriptors({initialFileDescriptors:v,addProperties:A,options:d,isSync:C});d.stdio=T.map((({stdioItems:A})=>forwardStdio(A)));return T};const getFileDescriptor=({stdioOption:A,fdNumber:d,options:p,isSync:C})=>{const S=getStreamName(d);const{stdioItems:v,isStdioArray:T}=initializeStdioItems({stdioOption:A,fdNumber:d,options:p,optionName:S});const _=getStreamDirection(v,d,S);const V=v.map((A=>handleNativeStream({stdioItem:A,isStdioArray:T,fdNumber:d,direction:_,isSync:C})));const Z=normalizeTransforms(V,S,_,p);const ee=getFdObjectMode(Z,_);validateFileObjectMode(Z,ee);return{direction:_,objectMode:ee,stdioItems:Z}};const initializeStdioItems=({stdioOption:A,fdNumber:d,options:p,optionName:C})=>{const S=Array.isArray(A)?A:[A];const v=[...S.map((A=>initializeStdioItem(A,C))),...handleInputOptions(p,d)];const T=filterDuplicates(v);const _=T.length>1;validateStdioArray(T,_,C);validateStreams(T);return{stdioItems:T,isStdioArray:_}};const initializeStdioItem=(A,d)=>({type:getStdioItemType(A,d),value:A,optionName:d});const validateStdioArray=(A,d,p)=>{if(A.length===0){throw new TypeError(`The \`${p}\` option must not be an empty array.`)}if(!d){return}for(const{value:d,optionName:p}of A){if(Gr.has(d)){throw new Error(`The \`${p}\` option must not include \`${d}\`.`)}}};const Gr=new Set(["ignore","ipc"]);const validateStreams=A=>{for(const d of A){validateFileStdio(d)}};const validateFileStdio=({type:A,value:d,optionName:p})=>{if(isRegularUrl(d)){throw new TypeError(`The \`${p}: URL\` option must use the \`file:\` scheme.\nFor example, you can use the \`pathToFileURL()\` method of the \`url\` core module.`)}if(isUnknownStdioString(A,d)){throw new TypeError(`The \`${p}: { file: '...' }\` option must be used instead of \`${p}: '...'\`.`)}};const validateFileObjectMode=(A,d)=>{if(!d){return}const p=A.find((({type:A})=>Pr.has(A)));if(p!==undefined){throw new TypeError(`The \`${p.optionName}\` option cannot use both files and transforms in objectMode.`)}};const getFinalFileDescriptors=({initialFileDescriptors:A,addProperties:d,options:p,isSync:C})=>{const S=[];try{for(const v of A){S.push(getFinalFileDescriptor({fileDescriptor:v,fileDescriptors:S,addProperties:d,options:p,isSync:C}))}return S}catch(A){cleanupCustomStreams(S);throw A}};const getFinalFileDescriptor=({fileDescriptor:{direction:A,objectMode:d,stdioItems:p},fileDescriptors:C,addProperties:S,options:v,isSync:T})=>{const _=p.map((d=>addStreamProperties({stdioItem:d,addProperties:S,direction:A,options:v,fileDescriptors:C,isSync:T})));return{direction:A,objectMode:d,stdioItems:_}};const addStreamProperties=({stdioItem:A,addProperties:d,direction:p,options:C,fileDescriptors:S,isSync:v})=>{const T=getDuplicateStream({stdioItem:A,direction:p,fileDescriptors:S,isSync:v});if(T!==undefined){return{...A,stream:T}}return{...A,...d[p][A.type](A,C)}};const cleanupCustomStreams=A=>{for(const{stdioItems:d}of A){for(const{stream:A}of d){if(A!==undefined&&!isStandardStream(A)){A.destroy()}}}};const forwardStdio=A=>{if(A.length>1){return A.some((({value:A})=>A==="overlapped"))?"overlapped":"pipe"}const[{type:d,value:p}]=A;return d==="native"?p:"pipe"};const handleStdioSync=(A,d)=>handleStdio(jr,A,d,true);const forbiddenIfSync=({type:A,optionName:d})=>{throwInvalidSyncValue(d,Lr[A])};const forbiddenNativeIfSync=({optionName:A,value:d})=>{if(d==="ipc"||d==="overlapped"){throwInvalidSyncValue(A,`"${d}"`)}return{}};const throwInvalidSyncValue=(A,d)=>{throw new TypeError(`The \`${A}\` option cannot be ${d} with synchronous methods.`)};const qr={generator(){},asyncGenerator:forbiddenIfSync,webStream:forbiddenIfSync,nodeStream:forbiddenIfSync,webTransform:forbiddenIfSync,duplex:forbiddenIfSync,asyncIterable:forbiddenIfSync,native:forbiddenNativeIfSync};const jr={input:{...qr,fileUrl:({value:A})=>({contents:[bufferToUint8Array((0,S.readFileSync)(A))]}),filePath:({value:{file:A}})=>({contents:[bufferToUint8Array((0,S.readFileSync)(A))]}),fileNumber:forbiddenIfSync,iterable:({value:A})=>({contents:[...A]}),string:({value:A})=>({contents:[A]}),uint8Array:({value:A})=>({contents:[A]})},output:{...qr,fileUrl:({value:A})=>({path:A}),filePath:({value:{file:A,append:d}})=>({path:A,append:d}),fileNumber:({value:A})=>({path:A}),iterable:forbiddenIfSync,string:forbiddenIfSync,uint8Array:forbiddenIfSync}};const stripNewline=(A,{stripFinalNewline:d},p)=>getStripFinalNewline(d,p)&&A!==undefined&&!Array.isArray(A)?strip_final_newline_stripFinalNewline(A):A;const getStripFinalNewline=(A,d)=>d==="all"?A[1]||A[2]:A[d];var zr=C(57075);const getSplitLinesGenerator=(A,d,p,C)=>A||p?undefined:initializeSplitLines(d,C);const splitLinesSync=(A,d,p)=>p?A.flatMap((A=>splitLinesItemSync(A,d))):splitLinesItemSync(A,d);const splitLinesItemSync=(A,d)=>{const{transform:p,final:C}=initializeSplitLines(d,{});return[...p(A),...C()]};const initializeSplitLines=(A,d)=>{d.previousChunks="";return{transform:splitGenerator.bind(undefined,d,A),final:linesFinal.bind(undefined,d)}};const splitGenerator=function*(A,d,p){if(typeof p!=="string"){yield p;return}let{previousChunks:C}=A;let S=-1;for(let v=0;v<p.length;v+=1){if(p[v]==="\n"){const T=getNewlineLength(p,v,d,A);let _=p.slice(S+1,v+1-T);if(C.length>0){_=concatString(C,_);C=""}yield _;S=v}}if(S!==p.length-1){C=concatString(C,p.slice(S+1))}A.previousChunks=C};const getNewlineLength=(A,d,p,C)=>{if(p){return 0}C.isWindowsNewline=d!==0&&A[d-1]==="\r";return C.isWindowsNewline?2:1};const linesFinal=function*({previousChunks:A}){if(A.length>0){yield A}};const getAppendNewlineGenerator=({binary:A,preserveNewlines:d,readableObjectMode:p,state:C})=>A||d||p?undefined:{transform:appendNewlineGenerator.bind(undefined,C)};const appendNewlineGenerator=function*({isWindowsNewline:A=false},d){const{unixNewline:p,windowsNewline:C,LF:S,concatBytes:v}=typeof d==="string"?Vr:Wr;if(d.at(-1)===S){yield d;return}const T=A?C:p;yield v(d,T)};const concatString=(A,d)=>`${A}${d}`;const Vr={windowsNewline:"\r\n",unixNewline:"\n",LF:"\n",concatBytes:concatString};const concatUint8Array=(A,d)=>{const p=new Uint8Array(A.length+d.length);p.set(A,0);p.set(d,A.length);return p};const Wr={windowsNewline:new Uint8Array([13,10]),unixNewline:new Uint8Array([10]),LF:10,concatBytes:concatUint8Array};var Yr=C(4573);const getValidateTransformInput=(A,d)=>A?undefined:validateStringTransformInput.bind(undefined,d);const validateStringTransformInput=function*(A,d){if(typeof d!=="string"&&!isUint8Array(d)&&!Yr.Buffer.isBuffer(d)){throw new TypeError(`The \`${A}\` option's transform must use "objectMode: true" to receive as input: ${typeof d}.`)}yield d};const getValidateTransformReturn=(A,d)=>A?validateObjectTransformReturn.bind(undefined,d):validateStringTransformReturn.bind(undefined,d);const validateObjectTransformReturn=function*(A,d){validateEmptyReturn(A,d);yield d};const validateStringTransformReturn=function*(A,d){validateEmptyReturn(A,d);if(typeof d!=="string"&&!isUint8Array(d)){throw new TypeError(`The \`${A}\` option's function must yield a string or an Uint8Array, not ${typeof d}.`)}yield d};const validateEmptyReturn=(A,d)=>{if(d===null||d===undefined){throw new TypeError(`The \`${A}\` option's function must not call \`yield ${d}\`.\nInstead, \`yield\` should either be called with a value, or not be called at all. For example:\n if (condition) { yield value; }`)}};const getEncodingTransformGenerator=(A,d,p)=>{if(p){return}if(A){return{transform:encodingUint8ArrayGenerator.bind(undefined,new TextEncoder)}}const C=new le.StringDecoder(d);return{transform:encodingStringGenerator.bind(undefined,C),final:encodingStringFinal.bind(undefined,C)}};const encodingUint8ArrayGenerator=function*(A,d){if(Yr.Buffer.isBuffer(d)){yield bufferToUint8Array(d)}else if(typeof d==="string"){yield A.encode(d)}else{yield d}};const encodingStringGenerator=function*(A,d){yield isUint8Array(d)?A.write(d):d};const encodingStringFinal=function*(A){const d=A.end();if(d!==""){yield d}};const Jr=(0,fe.callbackify)((async(A,d,p,C)=>{d.currentIterable=A(...p);try{for await(const A of d.currentIterable){C.push(A)}}finally{delete d.currentIterable}}));const transformChunk=async function*(A,d,p){if(p===d.length){yield A;return}const{transform:C=identityGenerator}=d[p];for await(const S of C(A)){yield*transformChunk(S,d,p+1)}};const finalChunks=async function*(A){for(const[d,{final:p}]of Object.entries(A)){yield*generatorFinalChunks(p,Number(d),A)}};const generatorFinalChunks=async function*(A,d,p){if(A===undefined){return}for await(const C of A()){yield*transformChunk(C,p,d+1)}};const $r=(0,fe.callbackify)((async({currentIterable:A},d)=>{if(A!==undefined){await(d?A.throw(d):A.return());return}if(d){throw d}}));const identityGenerator=function*(A){yield A};const pushChunksSync=(A,d,p,C)=>{try{for(const C of A(...d)){p.push(C)}C()}catch(A){C(A)}};const runTransformSync=(A,d)=>[...d.flatMap((d=>[...transformChunkSync(d,A,0)])),...finalChunksSync(A)];const transformChunkSync=function*(A,d,p){if(p===d.length){yield A;return}const{transform:C=run_sync_identityGenerator}=d[p];for(const S of C(A)){yield*transformChunkSync(S,d,p+1)}};const finalChunksSync=function*(A){for(const[d,{final:p}]of Object.entries(A)){yield*generatorFinalChunksSync(p,Number(d),A)}};const generatorFinalChunksSync=function*(A,d,p){if(A===undefined){return}for(const C of A()){yield*transformChunkSync(C,p,d+1)}};const run_sync_identityGenerator=function*(A){yield A};const generatorToStream=({value:A,value:{transform:d,final:p,writableObjectMode:C,readableObjectMode:S},optionName:v},{encoding:T})=>{const _={};const V=addInternalGenerators(A,T,v);const Z=isAsyncGenerator(d);const ee=isAsyncGenerator(p);const te=Z?Jr.bind(undefined,transformChunk,_):pushChunksSync.bind(undefined,transformChunkSync);const re=Z||ee?Jr.bind(undefined,finalChunks,_):pushChunksSync.bind(undefined,finalChunksSync);const ne=Z||ee?$r.bind(undefined,_):undefined;const ie=new zr.Transform({writableObjectMode:C,writableHighWaterMark:(0,zr.getDefaultHighWaterMark)(C),readableObjectMode:S,readableHighWaterMark:(0,zr.getDefaultHighWaterMark)(S),transform(A,d,p){te([A,V,0],this,p)},flush(A){re([V],this,A)},destroy:ne});return{stream:ie}};const runGeneratorsSync=(A,d,p,C)=>{const S=d.filter((({type:A})=>A==="generator"));const v=C?S.reverse():S;for(const{value:d,optionName:C}of v){const S=addInternalGenerators(d,p,C);A=runTransformSync(S,A)}return A};const addInternalGenerators=({transform:A,final:d,binary:p,writableObjectMode:C,readableObjectMode:S,preserveNewlines:v},T,_)=>{const V={};return[{transform:getValidateTransformInput(C,_)},getEncodingTransformGenerator(p,T,C),getSplitLinesGenerator(p,v,C,V),{transform:A,final:d},{transform:getValidateTransformReturn(S,_)},getAppendNewlineGenerator({binary:p,preserveNewlines:v,readableObjectMode:S,state:V})].filter(Boolean)};const addInputOptionsSync=(A,d)=>{for(const p of getInputFdNumbers(A)){addInputOptionSync(A,p,d)}};const getInputFdNumbers=A=>new Set(Object.entries(A).filter((([,{direction:A}])=>A==="input")).map((([A])=>Number(A))));const addInputOptionSync=(A,d,p)=>{const{stdioItems:C}=A[d];const S=C.filter((({contents:A})=>A!==undefined));if(S.length===0){return}if(d!==0){const[{type:A,optionName:d}]=S;throw new TypeError(`Only the \`stdin\` option, not \`${d}\`, can be ${Lr[A]} with synchronous methods.`)}const v=S.map((({contents:A})=>A));const T=v.map((A=>applySingleInputGeneratorsSync(A,C)));p.input=joinToUint8Array(T)};const applySingleInputGeneratorsSync=(A,d)=>{const p=runGeneratorsSync(A,d,"utf8",true);validateSerializable(p);return joinToUint8Array(p)};const validateSerializable=A=>{const d=A.find((A=>typeof A!=="string"&&!isUint8Array(A)));if(d!==undefined){throw new TypeError(`The \`stdin\` option is invalid: when passing objects as input, a transform must be used to serialize them to strings or Uint8Arrays: ${d}.`)}};const shouldLogOutput=({stdioItems:A,encoding:d,verboseInfo:p,fdNumber:C})=>C!=="all"&&isFullVerbose(p,C)&&!gr.has(d)&&fdUsesVerbose(C)&&(A.some((({type:A,value:d})=>A==="native"&&Kr.has(d)))||A.every((({type:A})=>_r.has(A))));const fdUsesVerbose=A=>A===1||A===2;const Kr=new Set(["pipe","overlapped"]);const logLines=async(A,d,p,C)=>{for await(const S of A){if(!isPipingStream(d)){logLine(S,p,C)}}};const logLinesSync=(A,d,p)=>{for(const C of A){logLine(C,d,p)}};const isPipingStream=A=>A._readableState.pipes.length>0;const logLine=(A,d,p)=>{const C=serializeVerboseMessage(A);verboseLog({type:"output",verboseMessage:C,fdNumber:d,verboseInfo:p})};const transformOutputSync=({fileDescriptors:A,syncResult:{output:d},options:p,isMaxBuffer:C,verboseInfo:S})=>{if(d===null){return{output:Array.from({length:3})}}const v={};const T=new Set([]);const _=d.map(((d,_)=>transformOutputResultSync({result:d,fileDescriptors:A,fdNumber:_,state:v,outputFiles:T,isMaxBuffer:C,verboseInfo:S},p)));return{output:_,...v}};const transformOutputResultSync=({result:A,fileDescriptors:d,fdNumber:p,state:C,outputFiles:S,isMaxBuffer:v,verboseInfo:T},{buffer:_,encoding:V,lines:Z,stripFinalNewline:ee,maxBuffer:te})=>{if(A===null){return}const re=truncateMaxBufferSync(A,v,te);const ne=bufferToUint8Array(re);const{stdioItems:ie,objectMode:se}=d[p];const oe=runOutputGeneratorsSync([ne],ie,V,C);const{serializedResult:ae,finalResult:le=ae}=serializeChunks({chunks:oe,objectMode:se,encoding:V,lines:Z,stripFinalNewline:ee,fdNumber:p});logOutputSync({serializedResult:ae,fdNumber:p,state:C,verboseInfo:T,encoding:V,stdioItems:ie,objectMode:se});const ce=_[p]?le:undefined;try{if(C.error===undefined){writeToFiles(ae,ie,S)}return ce}catch(A){C.error=A;return ce}};const runOutputGeneratorsSync=(A,d,p,C)=>{try{return runGeneratorsSync(A,d,p,false)}catch(d){C.error=d;return A}};const serializeChunks=({chunks:A,objectMode:d,encoding:p,lines:C,stripFinalNewline:S,fdNumber:v})=>{if(d){return{serializedResult:A}}if(p==="buffer"){return{serializedResult:joinToUint8Array(A)}}const T=joinToString(A,p);if(C[v]){return{serializedResult:T,finalResult:splitLinesSync(T,!S[v],d)}}return{serializedResult:T}};const logOutputSync=({serializedResult:A,fdNumber:d,state:p,verboseInfo:C,encoding:S,stdioItems:v,objectMode:T})=>{if(!shouldLogOutput({stdioItems:v,encoding:S,verboseInfo:C,fdNumber:d})){return}const _=splitLinesSync(A,false,T);try{logLinesSync(_,d,C)}catch(A){p.error??=A}};const writeToFiles=(A,d,p)=>{for(const{path:C,append:v}of d.filter((({type:A})=>Pr.has(A)))){const d=typeof C==="string"?C:C.toString();if(v||p.has(d)){(0,S.appendFileSync)(C,A)}else{p.add(d);(0,S.writeFileSync)(C,A)}}};const getAllSync=([,A,d],p)=>{if(!p.all){return}if(A===undefined){return d}if(d===undefined){return A}if(Array.isArray(A)){return Array.isArray(d)?[...A,...d]:[...A,stripNewline(d,p,"all")]}if(Array.isArray(d)){return[stripNewline(A,p,"all"),...d]}if(isUint8Array(A)&&isUint8Array(d)){return concatUint8Arrays([A,d])}return`${A}${d}`};const waitForExit=async(A,d)=>{const[p,C]=await waitForExitOrError(A);d.isForcefullyTerminated??=false;return[p,C]};const waitForExitOrError=async A=>{const[d,p]=await Promise.allSettled([(0,Xt.once)(A,"spawn"),(0,Xt.once)(A,"exit")]);if(d.status==="rejected"){return[]}return p.status==="rejected"?waitForSubprocessExit(A):p.value};const waitForSubprocessExit=async A=>{try{return await(0,Xt.once)(A,"exit")}catch{return waitForSubprocessExit(A)}};const waitForSuccessfulExit=async A=>{const[d,p]=await A;if(!isSubprocessErrorExit(d,p)&&isFailedExit(d,p)){throw new DiscardedError}return[d,p]};const isSubprocessErrorExit=(A,d)=>A===undefined&&d===undefined;const isFailedExit=(A,d)=>A!==0||d!==null;const getExitResultSync=({error:A,status:d,signal:p,output:C},{maxBuffer:S})=>{const v=getResultError(A,d,p);const T=v?.code==="ETIMEDOUT";const _=isMaxBufferSync(v,C,S);return{resultError:v,exitCode:d,signal:p,timedOut:T,isMaxBuffer:_}};const getResultError=(A,d,p)=>{if(A!==undefined){return A}return isFailedExit(d,p)?new DiscardedError:undefined};const execaCoreSync=(A,d,p)=>{const{file:C,commandArguments:S,command:v,escapedCommand:T,startTime:_,verboseInfo:V,options:Z,fileDescriptors:ee}=handleSyncArguments(A,d,p);const te=spawnSubprocessSync({file:C,commandArguments:S,options:Z,command:v,escapedCommand:T,verboseInfo:V,fileDescriptors:ee,startTime:_});return handleResult(te,V,Z)};const handleSyncArguments=(A,d,p)=>{const{command:C,escapedCommand:S,startTime:v,verboseInfo:T}=handleCommand(A,d,p);const _=normalizeSyncOptions(p);const{file:V,commandArguments:Z,options:ee}=normalizeOptions(A,d,_);validateSyncOptions(ee);const te=handleStdioSync(ee,T);return{file:V,commandArguments:Z,command:C,escapedCommand:S,startTime:v,verboseInfo:T,options:ee,fileDescriptors:te}};const normalizeSyncOptions=A=>A.node&&!A.ipc?{...A,ipc:false}:A;const validateSyncOptions=({ipc:A,ipcInput:d,detached:p,cancelSignal:C})=>{if(d){throwInvalidSyncOption("ipcInput")}if(A){throwInvalidSyncOption("ipc: true")}if(p){throwInvalidSyncOption("detached: true")}if(C){throwInvalidSyncOption("cancelSignal")}};const throwInvalidSyncOption=A=>{throw new TypeError(`The "${A}" option cannot be used with synchronous methods.`)};const spawnSubprocessSync=({file:A,commandArguments:d,options:p,command:C,escapedCommand:S,verboseInfo:v,fileDescriptors:T,startTime:_})=>{const V=runSubprocessSync({file:A,commandArguments:d,options:p,command:C,escapedCommand:S,fileDescriptors:T,startTime:_});if(V.failed){return V}const{resultError:Z,exitCode:ee,signal:te,timedOut:re,isMaxBuffer:ne}=getExitResultSync(V,p);const{output:ie,error:se=Z}=transformOutputSync({fileDescriptors:T,syncResult:V,options:p,isMaxBuffer:ne,verboseInfo:v});const oe=ie.map(((A,d)=>stripNewline(A,p,d)));const ae=stripNewline(getAllSync(ie,p),p,"all");return getSyncResult({error:se,exitCode:ee,signal:te,timedOut:re,isMaxBuffer:ne,stdio:oe,all:ae,options:p,command:C,escapedCommand:S,startTime:_})};const runSubprocessSync=({file:A,commandArguments:d,options:p,command:C,escapedCommand:S,fileDescriptors:v,startTime:T})=>{try{addInputOptionsSync(v,p);const C=normalizeSpawnSyncOptions(p);return(0,ae.spawnSync)(...concatenateShell(A,d,C))}catch(A){return makeEarlyError({error:A,command:C,escapedCommand:S,fileDescriptors:v,options:p,startTime:T,isSync:true})}};const normalizeSpawnSyncOptions=({encoding:A,maxBuffer:d,...p})=>({...p,encoding:"buffer",maxBuffer:getMaxBufferSync(d)});const getSyncResult=({error:A,exitCode:d,signal:p,timedOut:C,isMaxBuffer:S,stdio:v,all:T,options:_,command:V,escapedCommand:Z,startTime:ee})=>A===undefined?makeSuccessResult({command:V,escapedCommand:Z,stdio:v,all:T,ipcOutput:[],options:_,startTime:ee}):makeError({error:A,command:V,escapedCommand:Z,timedOut:C,isCanceled:false,isGracefullyCanceled:false,isMaxBuffer:S,isForcefullyTerminated:false,exitCode:d,signal:p,stdio:v,all:T,ipcOutput:[],options:_,startTime:ee,isSync:true});const getOneMessage=({anyProcess:A,channel:d,isSubprocess:p,ipc:C},{reference:S=true,filter:v}={})=>{validateIpcMethod({methodName:"getOneMessage",isSubprocess:p,ipc:C,isConnected:isConnected(A)});return getOneMessageAsync({anyProcess:A,channel:d,isSubprocess:p,filter:v,reference:S})};const getOneMessageAsync=async({anyProcess:A,channel:d,isSubprocess:p,filter:C,reference:S})=>{addReference(d,S);const v=getIpcEmitter(A,d,p);const T=new AbortController;try{return await Promise.race([getMessage(v,C,T),get_one_throwOnDisconnect(v,p,T),throwOnStrictError(v,p,T)])}catch(d){disconnect(A);throw d}finally{T.abort();removeReference(d,S)}};const getMessage=async(A,d,{signal:p})=>{if(d===undefined){const[d]=await(0,Xt.once)(A,"message",{signal:p});return d}for await(const[C]of(0,Xt.on)(A,"message",{signal:p})){if(d(C)){return C}}};const get_one_throwOnDisconnect=async(A,d,{signal:p})=>{await(0,Xt.once)(A,"disconnect",{signal:p});throwOnEarlyDisconnect(d)};const throwOnStrictError=async(A,d,{signal:p})=>{const[C]=await(0,Xt.once)(A,"strict:error",{signal:p});throw getStrictResponseError(C,d)};const getEachMessage=({anyProcess:A,channel:d,isSubprocess:p,ipc:C},{reference:S=true}={})=>loopOnMessages({anyProcess:A,channel:d,isSubprocess:p,ipc:C,shouldAwait:!p,reference:S});const loopOnMessages=({anyProcess:A,channel:d,isSubprocess:p,ipc:C,shouldAwait:S,reference:v})=>{validateIpcMethod({methodName:"getEachMessage",isSubprocess:p,ipc:C,isConnected:isConnected(A)});addReference(d,v);const T=getIpcEmitter(A,d,p);const _=new AbortController;const V={};stopOnDisconnect(A,T,_);abortOnStrictError({ipcEmitter:T,isSubprocess:p,controller:_,state:V});return iterateOnMessages({anyProcess:A,channel:d,ipcEmitter:T,isSubprocess:p,shouldAwait:S,controller:_,state:V,reference:v})};const stopOnDisconnect=async(A,d,p)=>{try{await(0,Xt.once)(d,"disconnect",{signal:p.signal});p.abort()}catch{}};const abortOnStrictError=async({ipcEmitter:A,isSubprocess:d,controller:p,state:C})=>{try{const[S]=await(0,Xt.once)(A,"strict:error",{signal:p.signal});C.error=getStrictResponseError(S,d);p.abort()}catch{}};const iterateOnMessages=async function*({anyProcess:A,channel:d,ipcEmitter:p,isSubprocess:C,shouldAwait:S,controller:v,state:T,reference:_}){try{for await(const[A]of(0,Xt.on)(p,"message",{signal:v.signal})){throwIfStrictError(T);yield A}}catch{throwIfStrictError(T)}finally{v.abort();removeReference(d,_);if(!C){disconnect(A)}if(S){await A}}};const throwIfStrictError=({error:A})=>{if(A){throw A}};const addIpcMethods=(A,{ipc:d})=>{Object.assign(A,getIpcMethods(A,false,d))};const getIpcExport=()=>{const A=he;const d=true;const p=he.channel!==undefined;return{...getIpcMethods(A,d,p),getCancelSignal:getCancelSignal.bind(undefined,{anyProcess:A,channel:A.channel,isSubprocess:d,ipc:p})}};const getIpcMethods=(A,d,p)=>({sendMessage:sendMessage.bind(undefined,{anyProcess:A,channel:A.channel,isSubprocess:d,ipc:p}),getOneMessage:getOneMessage.bind(undefined,{anyProcess:A,channel:A.channel,isSubprocess:d,ipc:p}),getEachMessage:getEachMessage.bind(undefined,{anyProcess:A,channel:A.channel,isSubprocess:d,ipc:p})});const handleEarlyError=({error:A,command:d,escapedCommand:p,fileDescriptors:C,options:S,startTime:v,verboseInfo:T})=>{cleanupCustomStreams(C);const _=new ae.ChildProcess;createDummyStreams(_,C);Object.assign(_,{readable:readable,writable:writable,duplex:duplex});const V=makeEarlyError({error:A,command:d,escapedCommand:p,fileDescriptors:C,options:S,startTime:v,isSync:false});const Z=handleDummyPromise(V,T,S);return{subprocess:_,promise:Z}};const createDummyStreams=(A,d)=>{const p=createDummyStream();const C=createDummyStream();const S=createDummyStream();const v=Array.from({length:d.length-3},createDummyStream);const T=createDummyStream();const _=[p,C,S,...v];Object.assign(A,{stdin:p,stdout:C,stderr:S,all:T,stdio:_})};const createDummyStream=()=>{const A=new zr.PassThrough;A.end();return A};const readable=()=>new zr.Readable({read(){}});const writable=()=>new zr.Writable({write(){}});const duplex=()=>new zr.Duplex({read(){},write(){}});const handleDummyPromise=async(A,d,p)=>handleResult(A,d,p);const handleStdioAsync=(A,d)=>handleStdio(Zr,A,d,false);const forbiddenIfAsync=({type:A,optionName:d})=>{throw new TypeError(`The \`${d}\` option cannot be ${Lr[A]}.`)};const Xr={fileNumber:forbiddenIfAsync,generator:generatorToStream,asyncGenerator:generatorToStream,nodeStream:({value:A})=>({stream:A}),webTransform({value:{transform:A,writableObjectMode:d,readableObjectMode:p}}){const C=d||p;const S=zr.Duplex.fromWeb(A,{objectMode:C});return{stream:S}},duplex:({value:{transform:A}})=>({stream:A}),native(){}};const Zr={input:{...Xr,fileUrl:({value:A})=>({stream:(0,S.createReadStream)(A)}),filePath:({value:{file:A}})=>({stream:(0,S.createReadStream)(A)}),webStream:({value:A})=>({stream:zr.Readable.fromWeb(A)}),iterable:({value:A})=>({stream:zr.Readable.from(A)}),asyncIterable:({value:A})=>({stream:zr.Readable.from(A)}),string:({value:A})=>({stream:zr.Readable.from(A)}),uint8Array:({value:A})=>({stream:zr.Readable.from(Yr.Buffer.from(A))})},output:{...Xr,fileUrl:({value:A})=>({stream:(0,S.createWriteStream)(A)}),filePath:({value:{file:A,append:d}})=>({stream:(0,S.createWriteStream)(A,d?{flags:"a"}:{})}),webStream:({value:A})=>({stream:zr.Writable.fromWeb(A)}),iterable:forbiddenIfAsync,asyncIterable:forbiddenIfAsync,string:forbiddenIfAsync,uint8Array:forbiddenIfAsync}};var en=C(85956);var tn=C(46466);const pipeStreams=(A,d)=>{A.pipe(d);onSourceFinish(A,d);onDestinationFinish(A,d)};const onSourceFinish=async(A,d)=>{if(isStandardStream(A)||isStandardStream(d)){return}try{await(0,tn.finished)(A,{cleanup:true,readable:true,writable:false})}catch{}endDestinationStream(d)};const endDestinationStream=A=>{if(A.writable){A.end()}};const onDestinationFinish=async(A,d)=>{if(isStandardStream(A)||isStandardStream(d)){return}try{await(0,tn.finished)(d,{cleanup:true,readable:false,writable:true})}catch{}abortSourceStream(A)};const abortSourceStream=A=>{if(A.readable){A.destroy()}};const pipeOutputAsync=(A,d,p)=>{const C=new Map;for(const[S,{stdioItems:v,direction:T}]of Object.entries(d)){for(const{stream:d}of v.filter((({type:A})=>_r.has(A)))){pipeTransform(A,d,T,S)}for(const{stream:d}of v.filter((({type:A})=>!_r.has(A)))){pipeStdioItem({subprocess:A,stream:d,direction:T,fdNumber:S,pipeGroups:C,controller:p})}}for(const[A,d]of C.entries()){const p=d.length===1?d[0]:(0,en.A)(d);pipeStreams(p,A)}};const pipeTransform=(A,d,p,C)=>{if(p==="output"){pipeStreams(A.stdio[C],d)}else{pipeStreams(d,A.stdio[C])}const S=rn[C];if(S!==undefined){A[S]=d}A.stdio[C]=d};const rn=["stdin","stdout","stderr"];const pipeStdioItem=({subprocess:A,stream:d,direction:p,fdNumber:C,pipeGroups:S,controller:v})=>{if(d===undefined){return}setStandardStreamMaxListeners(d,v);const[T,_]=p==="output"?[d,A.stdio[C]]:[A.stdio[C],d];const V=S.get(T)??[];S.set(T,[...V,_])};const setStandardStreamMaxListeners=(A,{signal:d})=>{if(isStandardStream(A)){incrementMaxListeners(A,nn,d)}};const nn=2;const sn=[];sn.push("SIGHUP","SIGINT","SIGTERM");if(process.platform!=="win32"){sn.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){sn.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT")}const processOk=A=>!!A&&typeof A==="object"&&typeof A.removeListener==="function"&&typeof A.emit==="function"&&typeof A.reallyExit==="function"&&typeof A.listeners==="function"&&typeof A.kill==="function"&&typeof A.pid==="number"&&typeof A.on==="function";const an=Symbol.for("signal-exit emitter");const ln=globalThis;const cn=Object.defineProperty.bind(Object);class Emitter{emitted={afterExit:false,exit:false};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(ln[an]){return ln[an]}cn(ln,an,{value:this,writable:false,enumerable:false,configurable:false})}on(A,d){this.listeners[A].push(d)}removeListener(A,d){const p=this.listeners[A];const C=p.indexOf(d);if(C===-1){return}if(C===0&&p.length===1){p.length=0}else{p.splice(C,1)}}emit(A,d,p){if(this.emitted[A]){return false}this.emitted[A]=true;let C=false;for(const S of this.listeners[A]){C=S(d,p)===true||C}if(A==="exit"){C=this.emit("afterExit",d,p)||C}return C}}class SignalExitBase{}const signalExitWrap=A=>({onExit(d,p){return A.onExit(d,p)},load(){return A.load()},unload(){return A.unload()}});class SignalExitFallback extends SignalExitBase{onExit(){return()=>{}}load(){}unload(){}}class SignalExit extends SignalExitBase{#w=un.platform==="win32"?"SIGINT":"SIGHUP";#Q=new Emitter;#v;#R;#N;#D={};#x=false;constructor(A){super();this.#v=A;this.#D={};for(const d of sn){this.#D[d]=()=>{const p=this.#v.listeners(d);let{count:C}=this.#Q;const S=A;if(typeof S.__signal_exit_emitter__==="object"&&typeof S.__signal_exit_emitter__.count==="number"){C+=S.__signal_exit_emitter__.count}if(p.length===C){this.unload();const p=this.#Q.emit("exit",null,d);const C=d==="SIGHUP"?this.#w:d;if(!p)A.kill(A.pid,C)}}}this.#N=A.reallyExit;this.#R=A.emit}onExit(A,d){if(!processOk(this.#v)){return()=>{}}if(this.#x===false){this.load()}const p=d?.alwaysLast?"afterExit":"exit";this.#Q.on(p,A);return()=>{this.#Q.removeListener(p,A);if(this.#Q.listeners["exit"].length===0&&this.#Q.listeners["afterExit"].length===0){this.unload()}}}load(){if(this.#x){return}this.#x=true;this.#Q.count+=1;for(const A of sn){try{const d=this.#D[A];if(d)this.#v.on(A,d)}catch(A){}}this.#v.emit=(A,...d)=>this.#T(A,...d);this.#v.reallyExit=A=>this.#_(A)}unload(){if(!this.#x){return}this.#x=false;sn.forEach((A=>{const d=this.#D[A];if(!d){throw new Error("Listener not defined for signal: "+A)}try{this.#v.removeListener(A,d)}catch(A){}}));this.#v.emit=this.#R;this.#v.reallyExit=this.#N;this.#Q.count-=1}#_(A){if(!processOk(this.#v)){return 0}this.#v.exitCode=A||0;this.#Q.emit("exit",this.#v.exitCode,null);return this.#N.call(this.#v,this.#v.exitCode)}#T(A,...d){const p=this.#R;if(A==="exit"&&processOk(this.#v)){if(typeof d[0]==="number"){this.#v.exitCode=d[0]}const C=p.call(this.#v,A,...d);this.#Q.emit("exit",this.#v.exitCode,null);return C}else{return p.call(this.#v,A,...d)}}}const un=globalThis.process;const{onExit:An,load:dn,unload:pn}=signalExitWrap(processOk(un)?new SignalExit(un):new SignalExitFallback);const cleanupOnExit=(A,{cleanup:d,detached:p},{signal:C})=>{if(!d||p){return}const S=An((()=>{A.kill()}));(0,Xt.addAbortListener)(C,(()=>{S()}))};const normalizePipeArguments=({source:A,sourcePromise:d,boundOptions:p,createNested:C},...S)=>{const v=getStartTime();const{destination:T,destinationStream:_,destinationError:V,from:Z,unpipeSignal:ee}=getDestinationStream(p,C,S);const{sourceStream:te,sourceError:re}=getSourceStream(A,Z);const{options:ne,fileDescriptors:ie}=tr.get(A);return{sourcePromise:d,sourceStream:te,sourceOptions:ne,sourceError:re,destination:T,destinationStream:_,destinationError:V,unpipeSignal:ee,fileDescriptors:ie,startTime:v}};const getDestinationStream=(A,d,p)=>{try{const{destination:C,pipeOptions:{from:S,to:v,unpipeSignal:T}={}}=getDestination(A,d,...p);const _=getToStream(C,v);return{destination:C,destinationStream:_,from:S,unpipeSignal:T}}catch(A){return{destinationError:A}}};const getDestination=(A,d,p,...C)=>{if(Array.isArray(p)){const S=d(mapDestinationArguments,A)(p,...C);return{destination:S,pipeOptions:A}}if(typeof p==="string"||p instanceof URL||isDenoExecPath(p)){if(Object.keys(A).length>0){throw new TypeError('Please use .pipe("file", ..., options) or .pipe(execa("file", ..., options)) instead of .pipe(options)("file", ...).')}const[S,v,T]=normalizeParameters(p,...C);const _=d(mapDestinationArguments)(S,v,T);return{destination:_,pipeOptions:T}}if(tr.has(p)){if(Object.keys(A).length>0){throw new TypeError("Please use .pipe(options)`command` or .pipe($(options)`command`) instead of .pipe(options)($`command`).")}return{destination:p,pipeOptions:C[0]}}throw new TypeError(`The first argument must be a template string, an options object, or an Execa subprocess: ${p}`)};const mapDestinationArguments=({options:A})=>({options:{...A,stdin:"pipe",piped:true}});const getSourceStream=(A,d)=>{try{const p=getFromStream(A,d);return{sourceStream:p}}catch(A){return{sourceError:A}}};const handlePipeArgumentsError=({sourceStream:A,sourceError:d,destinationStream:p,destinationError:C,fileDescriptors:S,sourceOptions:v,startTime:T})=>{const _=getPipeArgumentsError({sourceStream:A,sourceError:d,destinationStream:p,destinationError:C});if(_!==undefined){throw createNonCommandError({error:_,fileDescriptors:S,sourceOptions:v,startTime:T})}};const getPipeArgumentsError=({sourceStream:A,sourceError:d,destinationStream:p,destinationError:C})=>{if(d!==undefined&&C!==undefined){return C}if(C!==undefined){abortSourceStream(A);return C}if(d!==undefined){endDestinationStream(p);return d}};const createNonCommandError=({error:A,fileDescriptors:d,sourceOptions:p,startTime:C})=>makeEarlyError({error:A,command:hn,escapedCommand:hn,fileDescriptors:d,options:p,startTime:C,isSync:false});const hn="source.pipe(destination)";const waitForBothSubprocesses=async A=>{const[{status:d,reason:p,value:C=p},{status:S,reason:v,value:T=v}]=await A;if(!T.pipedFrom.includes(C)){T.pipedFrom.push(C)}if(S==="rejected"){throw T}if(d==="rejected"){throw C}return T};const pipeSubprocessStream=(A,d,p)=>{const C=gn.has(d)?pipeMoreSubprocessStream(A,d):pipeFirstSubprocessStream(A,d);incrementMaxListeners(A,mn,p.signal);incrementMaxListeners(d,yn,p.signal);cleanupMergedStreamsMap(d);return C};const pipeFirstSubprocessStream=(A,d)=>{const p=(0,en.A)([A]);pipeStreams(p,d);gn.set(d,p);return p};const pipeMoreSubprocessStream=(A,d)=>{const p=gn.get(d);p.add(A);return p};const cleanupMergedStreamsMap=async A=>{try{await(0,tn.finished)(A,{cleanup:true,readable:false,writable:true})}catch{}gn.delete(A)};const gn=new WeakMap;const mn=2;const yn=1;const unpipeOnAbort=(A,d)=>A===undefined?[]:[unpipeOnSignalAbort(A,d)];const unpipeOnSignalAbort=async(A,{sourceStream:d,mergedStream:p,fileDescriptors:C,sourceOptions:S,startTime:v})=>{await(0,fe.aborted)(A,d);await p.remove(d);const T=new Error("Pipe canceled by `unpipeSignal` option.");throw createNonCommandError({error:T,fileDescriptors:C,sourceOptions:S,startTime:v})};const pipeToSubprocess=(A,...d)=>{if(isPlainObject(d[0])){return pipeToSubprocess.bind(undefined,{...A,boundOptions:{...A.boundOptions,...d[0]}})}const{destination:p,...C}=normalizePipeArguments(A,...d);const S=handlePipePromise({...C,destination:p});S.pipe=pipeToSubprocess.bind(undefined,{...A,source:p,sourcePromise:S,boundOptions:{}});return S};const handlePipePromise=async({sourcePromise:A,sourceStream:d,sourceOptions:p,sourceError:C,destination:S,destinationStream:v,destinationError:T,unpipeSignal:_,fileDescriptors:V,startTime:Z})=>{const ee=getSubprocessPromises(A,S);handlePipeArgumentsError({sourceStream:d,sourceError:C,destinationStream:v,destinationError:T,fileDescriptors:V,sourceOptions:p,startTime:Z});const te=new AbortController;try{const A=pipeSubprocessStream(d,v,te);return await Promise.race([waitForBothSubprocesses(ee),...unpipeOnAbort(_,{sourceStream:d,mergedStream:A,sourceOptions:p,fileDescriptors:V,startTime:Z})])}finally{te.abort()}};const getSubprocessPromises=(A,d)=>Promise.allSettled([A,d]);const utils_identity=A=>A;const noop=()=>undefined;const getContentsProperty=({contents:A})=>A;const throwObjectStream=A=>{throw new Error(`Streams in object mode are not supported: ${String(A)}`)};const getLengthProperty=A=>A.length;async function getStreamAsArray(A,d){return getStreamContents(A,En,d)}const initArray=()=>({contents:[]});const increment=()=>1;const addArrayChunk=(A,{contents:d})=>{d.push(A);return d};const En={init:initArray,convertChunk:{string:utils_identity,buffer:utils_identity,arrayBuffer:utils_identity,dataView:utils_identity,typedArray:utils_identity,others:utils_identity},getSize:increment,truncateChunk:noop,addChunk:addArrayChunk,getFinalChunk:noop,finalize:getContentsProperty};async function getStreamAsArrayBuffer(A,d){return getStreamContents(A,Bn,d)}const initArrayBuffer=()=>({contents:new ArrayBuffer(0)});const useTextEncoder=A=>bn.encode(A);const bn=new TextEncoder;const useUint8Array=A=>new Uint8Array(A);const useUint8ArrayWithOffset=A=>new Uint8Array(A.buffer,A.byteOffset,A.byteLength);const truncateArrayBufferChunk=(A,d)=>A.slice(0,d);const addArrayBufferChunk=(A,{contents:d,length:p},C)=>{const S=hasArrayBufferResize()?resizeArrayBuffer(d,C):resizeArrayBufferSlow(d,C);new Uint8Array(S).set(A,p);return S};const resizeArrayBufferSlow=(A,d)=>{if(d<=A.byteLength){return A}const p=new ArrayBuffer(getNewContentsLength(d));new Uint8Array(p).set(new Uint8Array(A),0);return p};const resizeArrayBuffer=(A,d)=>{if(d<=A.maxByteLength){A.resize(d);return A}const p=new ArrayBuffer(d,{maxByteLength:getNewContentsLength(d)});new Uint8Array(p).set(new Uint8Array(A),0);return p};const getNewContentsLength=A=>Cn**Math.ceil(Math.log(A)/Math.log(Cn));const Cn=2;const finalizeArrayBuffer=({contents:A,length:d})=>hasArrayBufferResize()?A:A.slice(0,d);const hasArrayBufferResize=()=>"resize"in ArrayBuffer.prototype;const Bn={init:initArrayBuffer,convertChunk:{string:useTextEncoder,buffer:useUint8Array,arrayBuffer:useUint8Array,dataView:useUint8ArrayWithOffset,typedArray:useUint8ArrayWithOffset,others:throwObjectStream},getSize:getLengthProperty,truncateChunk:truncateArrayBufferChunk,addChunk:addArrayBufferChunk,getFinalChunk:noop,finalize:finalizeArrayBuffer};async function getStreamAsString(A,d){return getStreamContents(A,In,d)}const initString=()=>({contents:"",textDecoder:new TextDecoder});const useTextDecoder=(A,{textDecoder:d})=>d.decode(A,{stream:true});const addStringChunk=(A,{contents:d})=>d+A;const truncateStringChunk=(A,d)=>A.slice(0,d);const getFinalStringChunk=({textDecoder:A})=>{const d=A.decode();return d===""?undefined:d};const In={init:initString,convertChunk:{string:utils_identity,buffer:useTextDecoder,arrayBuffer:useTextDecoder,dataView:useTextDecoder,typedArray:useTextDecoder,others:throwObjectStream},getSize:getLengthProperty,truncateChunk:truncateStringChunk,addChunk:addStringChunk,getFinalChunk:getFinalStringChunk,finalize:getContentsProperty};const iterateOnSubprocessStream=({subprocessStdout:A,subprocess:d,binary:p,shouldEncode:C,encoding:S,preserveNewlines:v})=>{const T=new AbortController;stopReadingOnExit(d,T);return iterateOnStream({stream:A,controller:T,binary:p,shouldEncode:!A.readableObjectMode&&C,encoding:S,shouldSplit:!A.readableObjectMode,preserveNewlines:v})};const stopReadingOnExit=async(A,d)=>{try{await A}catch{}finally{d.abort()}};const iterateForResult=({stream:A,onStreamEnd:d,lines:p,encoding:C,stripFinalNewline:S,allMixed:v})=>{const T=new AbortController;stopReadingOnStreamEnd(d,T,A);const _=A.readableObjectMode&&!v;return iterateOnStream({stream:A,controller:T,binary:C==="buffer",shouldEncode:!_,encoding:C,shouldSplit:!_&&p,preserveNewlines:!S})};const stopReadingOnStreamEnd=async(A,d,p)=>{try{await A}catch{p.destroy()}finally{d.abort()}};const iterateOnStream=({stream:A,controller:d,binary:p,shouldEncode:C,encoding:S,shouldSplit:v,preserveNewlines:T})=>{const _=(0,Xt.on)(A,"data",{signal:d.signal,highWaterMark:wn,highWatermark:wn});return iterateOnData({onStdoutChunk:_,controller:d,binary:p,shouldEncode:C,encoding:S,shouldSplit:v,preserveNewlines:T})};const Sn=(0,zr.getDefaultHighWaterMark)(true);const wn=Sn;const iterateOnData=async function*({onStdoutChunk:A,controller:d,binary:p,shouldEncode:C,encoding:S,shouldSplit:v,preserveNewlines:T}){const _=getGenerators({binary:p,shouldEncode:C,encoding:S,shouldSplit:v,preserveNewlines:T});try{for await(const[d]of A){yield*transformChunkSync(d,_,0)}}catch(A){if(!d.signal.aborted){throw A}}finally{yield*finalChunksSync(_)}};const getGenerators=({binary:A,shouldEncode:d,encoding:p,shouldSplit:C,preserveNewlines:S})=>[getEncodingTransformGenerator(A,p,!d),getSplitLinesGenerator(A,S,!C,{})].filter(Boolean);const getStreamOutput=async({stream:A,onStreamEnd:d,fdNumber:p,encoding:C,buffer:S,maxBuffer:v,lines:T,allMixed:_,stripFinalNewline:V,verboseInfo:Z,streamInfo:ee})=>{const te=logOutputAsync({stream:A,onStreamEnd:d,fdNumber:p,encoding:C,allMixed:_,verboseInfo:Z,streamInfo:ee});if(!S){await Promise.all([resumeStream(A),te]);return}const re=getStripFinalNewline(V,p);const ne=iterateForResult({stream:A,onStreamEnd:d,lines:T,encoding:C,stripFinalNewline:re,allMixed:_});const[ie]=await Promise.all([contents_getStreamContents({stream:A,iterable:ne,fdNumber:p,encoding:C,maxBuffer:v,lines:T}),te]);return ie};const logOutputAsync=async({stream:A,onStreamEnd:d,fdNumber:p,encoding:C,allMixed:S,verboseInfo:v,streamInfo:{fileDescriptors:T}})=>{if(!shouldLogOutput({stdioItems:T[p]?.stdioItems,encoding:C,verboseInfo:v,fdNumber:p})){return}const _=iterateForResult({stream:A,onStreamEnd:d,lines:true,encoding:C,stripFinalNewline:true,allMixed:S});await logLines(_,A,p,v)};const resumeStream=async A=>{await(0,Gt.setImmediate)();if(A.readableFlowing===null){A.resume()}};const contents_getStreamContents=async({stream:A,stream:{readableObjectMode:d},iterable:p,fdNumber:C,encoding:S,maxBuffer:v,lines:T})=>{try{if(d||T){return await getStreamAsArray(p,{maxBuffer:v})}if(S==="buffer"){return new Uint8Array(await getStreamAsArrayBuffer(p,{maxBuffer:v}))}return await getStreamAsString(p,{maxBuffer:v})}catch(p){return handleBufferedData(handleMaxBuffer({error:p,stream:A,readableObjectMode:d,lines:T,encoding:S,fdNumber:C}))}};const getBufferedData=async A=>{try{return await A}catch(A){return handleBufferedData(A)}};const handleBufferedData=({bufferedData:A})=>isArrayBuffer(A)?new Uint8Array(A):A;const waitForStream=async(A,d,p,{isSameDirection:C,stopOnExit:S=false}={})=>{const v=handleStdinDestroy(A,p);const T=new AbortController;try{await Promise.race([...S?[p.exitPromise]:[],(0,tn.finished)(A,{cleanup:true,signal:T.signal})])}catch(A){if(!v.stdinCleanedUp){handleStreamError(A,d,p,C)}}finally{T.abort()}};const handleStdinDestroy=(A,{originalStreams:[d],subprocess:p})=>{const C={stdinCleanedUp:false};if(A===d){spyOnStdinDestroy(A,p,C)}return C};const spyOnStdinDestroy=(A,d,p)=>{const{_destroy:C}=A;A._destroy=(...S)=>{setStdinCleanedUp(d,p);C.call(A,...S)}};const setStdinCleanedUp=({exitCode:A,signalCode:d},p)=>{if(A!==null||d!==null){p.stdinCleanedUp=true}};const handleStreamError=(A,d,p,C)=>{if(!shouldIgnoreStreamError(A,d,p,C)){throw A}};const shouldIgnoreStreamError=(A,d,p,C=true)=>{if(p.propagating){return isStreamEpipe(A)||isStreamAbort(A)}p.propagating=true;return isInputFileDescriptor(p,d)===C?isStreamEpipe(A):isStreamAbort(A)};const isInputFileDescriptor=({fileDescriptors:A},d)=>d!=="all"&&A[d].direction==="input";const isStreamAbort=A=>A?.code==="ERR_STREAM_PREMATURE_CLOSE";const isStreamEpipe=A=>A?.code==="EPIPE";const waitForStdioStreams=({subprocess:A,encoding:d,buffer:p,maxBuffer:C,lines:S,stripFinalNewline:v,verboseInfo:T,streamInfo:_})=>A.stdio.map(((A,V)=>waitForSubprocessStream({stream:A,fdNumber:V,encoding:d,buffer:p[V],maxBuffer:C[V],lines:S[V],allMixed:false,stripFinalNewline:v,verboseInfo:T,streamInfo:_})));const waitForSubprocessStream=async({stream:A,fdNumber:d,encoding:p,buffer:C,maxBuffer:S,lines:v,allMixed:T,stripFinalNewline:_,verboseInfo:V,streamInfo:Z})=>{if(!A){return}const ee=waitForStream(A,d,Z);if(isInputFileDescriptor(Z,d)){await ee;return}const[te]=await Promise.all([getStreamOutput({stream:A,onStreamEnd:ee,fdNumber:d,encoding:p,buffer:C,maxBuffer:S,lines:v,allMixed:T,stripFinalNewline:_,verboseInfo:V,streamInfo:Z}),ee]);return te};const makeAllStream=({stdout:A,stderr:d},{all:p})=>p&&(A||d)?(0,en.A)([A,d].filter(Boolean)):undefined;const waitForAllStream=({subprocess:A,encoding:d,buffer:p,maxBuffer:C,lines:S,stripFinalNewline:v,verboseInfo:T,streamInfo:_})=>waitForSubprocessStream({...getAllStream(A,p),fdNumber:"all",encoding:d,maxBuffer:C[1]+C[2],lines:S[1]||S[2],allMixed:getAllMixed(A),stripFinalNewline:v,verboseInfo:T,streamInfo:_});const getAllStream=({stdout:A,stderr:d,all:p},[,C,S])=>{const v=C||S;if(!v){return{stream:p,buffer:v}}if(!C){return{stream:d,buffer:v}}if(!S){return{stream:A,buffer:v}}return{stream:p,buffer:v}};const getAllMixed=({all:A,stdout:d,stderr:p})=>A&&d&&p&&d.readableObjectMode!==p.readableObjectMode;const shouldLogIpc=A=>isFullVerbose(A,"ipc");const logIpcOutput=(A,d)=>{const p=serializeVerboseMessage(A);verboseLog({type:"ipc",verboseMessage:p,fdNumber:"ipc",verboseInfo:d})};const waitForIpcOutput=async({subprocess:A,buffer:d,maxBuffer:p,ipc:C,ipcOutput:S,verboseInfo:v})=>{if(!C){return S}const T=shouldLogIpc(v);const _=getFdSpecificValue(d,"ipc");const V=getFdSpecificValue(p,"ipc");for await(const d of loopOnMessages({anyProcess:A,channel:A.channel,isSubprocess:false,ipc:C,shouldAwait:false,reference:true})){if(_){checkIpcMaxBuffer(A,S,V);S.push(d)}if(T){logIpcOutput(d,v)}}return S};const getBufferedIpcOutput=async(A,d)=>{await Promise.allSettled([A]);return d};const waitForSubprocessResult=async({subprocess:A,options:{encoding:d,buffer:p,maxBuffer:C,lines:S,timeoutDuration:v,cancelSignal:T,gracefulCancel:_,forceKillAfterDelay:V,stripFinalNewline:Z,ipc:ee,ipcInput:te},context:re,verboseInfo:ne,fileDescriptors:ie,originalStreams:se,onInternalError:oe,controller:ae})=>{const le=waitForExit(A,re);const ce={originalStreams:se,fileDescriptors:ie,subprocess:A,exitPromise:le,propagating:false};const ue=waitForStdioStreams({subprocess:A,encoding:d,buffer:p,maxBuffer:C,lines:S,stripFinalNewline:Z,verboseInfo:ne,streamInfo:ce});const Ae=waitForAllStream({subprocess:A,encoding:d,buffer:p,maxBuffer:C,lines:S,stripFinalNewline:Z,verboseInfo:ne,streamInfo:ce});const de=[];const pe=waitForIpcOutput({subprocess:A,buffer:p,maxBuffer:C,ipc:ee,ipcOutput:de,verboseInfo:ne});const fe=waitForOriginalStreams(se,A,ce);const he=waitForCustomStreamsEnd(ie,ce);try{return await Promise.race([Promise.all([{},waitForSuccessfulExit(le),Promise.all(ue),Ae,pe,sendIpcInput(A,te),...fe,...he]),oe,throwOnSubprocessError(A,ae),...throwOnTimeout(A,v,re,ae),...throwOnCancel({subprocess:A,cancelSignal:T,gracefulCancel:_,context:re,controller:ae}),...throwOnGracefulCancel({subprocess:A,cancelSignal:T,gracefulCancel:_,forceKillAfterDelay:V,context:re,controller:ae})])}catch(A){re.terminationReason??="other";return Promise.all([{error:A},le,Promise.all(ue.map((A=>getBufferedData(A)))),getBufferedData(Ae),getBufferedIpcOutput(pe,de),Promise.allSettled(fe),Promise.allSettled(he)])}};const waitForOriginalStreams=(A,d,p)=>A.map(((A,C)=>A===d.stdio[C]?undefined:waitForStream(A,C,p)));const waitForCustomStreamsEnd=(A,d)=>A.flatMap((({stdioItems:A},p)=>A.filter((({value:A,stream:d=A})=>isStream(d,{checkOpen:false})&&!isStandardStream(d))).map((({type:A,value:C,stream:S=C})=>waitForStream(S,p,d,{isSameDirection:_r.has(A),stopOnExit:A==="native"})))));const throwOnSubprocessError=async(A,{signal:d})=>{const[p]=await(0,Xt.once)(A,"error",{signal:d});throw p};const initializeConcurrentStreams=()=>({readableDestroy:new WeakMap,writableFinal:new WeakMap,writableDestroy:new WeakMap});const addConcurrentStream=(A,d,p)=>{const C=A[p];if(!C.has(d)){C.set(d,[])}const S=C.get(d);const v=createDeferred();S.push(v);const T=v.resolve.bind(v);return{resolve:T,promises:S}};const waitForConcurrentStreams=async({resolve:A,promises:d},p)=>{A();const[C]=await Promise.race([Promise.allSettled([true,p]),Promise.all([false,...d])]);return!C};const safeWaitForSubprocessStdin=async A=>{if(A===undefined){return}try{await waitForSubprocessStdin(A)}catch{}};const safeWaitForSubprocessStdout=async A=>{if(A===undefined){return}try{await waitForSubprocessStdout(A)}catch{}};const waitForSubprocessStdin=async A=>{await(0,tn.finished)(A,{cleanup:true,readable:false,writable:true})};const waitForSubprocessStdout=async A=>{await(0,tn.finished)(A,{cleanup:true,readable:true,writable:false})};const waitForSubprocess=async(A,d)=>{await A;if(d){throw d}};const destroyOtherStream=(A,d,p)=>{if(p&&!isStreamAbort(p)){A.destroy(p)}else if(d){A.destroy()}};const createReadable=({subprocess:A,concurrentStreams:d,encoding:p},{from:C,binary:S=true,preserveNewlines:v=true}={})=>{const T=S||gr.has(p);const{subprocessStdout:_,waitReadableDestroy:V}=getSubprocessStdout(A,C,d);const{readableEncoding:Z,readableObjectMode:ee,readableHighWaterMark:te}=getReadableOptions(_,T);const{read:re,onStdoutDataDone:ne}=getReadableMethods({subprocessStdout:_,subprocess:A,binary:T,encoding:p,preserveNewlines:v});const ie=new zr.Readable({read:re,destroy:(0,fe.callbackify)(onReadableDestroy.bind(undefined,{subprocessStdout:_,subprocess:A,waitReadableDestroy:V})),highWaterMark:te,objectMode:ee,encoding:Z});onStdoutFinished({subprocessStdout:_,onStdoutDataDone:ne,readable:ie,subprocess:A});return ie};const getSubprocessStdout=(A,d,p)=>{const C=getFromStream(A,d);const S=addConcurrentStream(p,C,"readableDestroy");return{subprocessStdout:C,waitReadableDestroy:S}};const getReadableOptions=({readableEncoding:A,readableObjectMode:d,readableHighWaterMark:p},C)=>C?{readableEncoding:A,readableObjectMode:d,readableHighWaterMark:p}:{readableEncoding:A,readableObjectMode:true,readableHighWaterMark:Sn};const getReadableMethods=({subprocessStdout:A,subprocess:d,binary:p,encoding:C,preserveNewlines:S})=>{const v=createDeferred();const T=iterateOnSubprocessStream({subprocessStdout:A,subprocess:d,binary:p,shouldEncode:!p,encoding:C,preserveNewlines:S});return{read(){onRead(this,T,v)},onStdoutDataDone:v}};const onRead=async(A,d,p)=>{try{const{value:C,done:S}=await d.next();if(S){p.resolve()}else{A.push(C)}}catch{}};const onStdoutFinished=async({subprocessStdout:A,onStdoutDataDone:d,readable:p,subprocess:C,subprocessStdin:S})=>{try{await waitForSubprocessStdout(A);await C;await safeWaitForSubprocessStdin(S);await d;if(p.readable){p.push(null)}}catch(A){await safeWaitForSubprocessStdin(S);destroyOtherReadable(p,A)}};const onReadableDestroy=async({subprocessStdout:A,subprocess:d,waitReadableDestroy:p},C)=>{if(await waitForConcurrentStreams(p,d)){destroyOtherReadable(A,C);await waitForSubprocess(d,C)}};const destroyOtherReadable=(A,d)=>{destroyOtherStream(A,A.readable,d)};const createWritable=({subprocess:A,concurrentStreams:d},{to:p}={})=>{const{subprocessStdin:C,waitWritableFinal:S,waitWritableDestroy:v}=getSubprocessStdin(A,p,d);const T=new zr.Writable({...getWritableMethods(C,A,S),destroy:(0,fe.callbackify)(onWritableDestroy.bind(undefined,{subprocessStdin:C,subprocess:A,waitWritableFinal:S,waitWritableDestroy:v})),highWaterMark:C.writableHighWaterMark,objectMode:C.writableObjectMode});onStdinFinished(C,T);return T};const getSubprocessStdin=(A,d,p)=>{const C=getToStream(A,d);const S=addConcurrentStream(p,C,"writableFinal");const v=addConcurrentStream(p,C,"writableDestroy");return{subprocessStdin:C,waitWritableFinal:S,waitWritableDestroy:v}};const getWritableMethods=(A,d,p)=>({write:onWrite.bind(undefined,A),final:(0,fe.callbackify)(onWritableFinal.bind(undefined,A,d,p))});const onWrite=(A,d,p,C)=>{if(A.write(d,p)){C()}else{A.once("drain",C)}};const onWritableFinal=async(A,d,p)=>{if(await waitForConcurrentStreams(p,d)){if(A.writable){A.end()}await d}};const onStdinFinished=async(A,d,p)=>{try{await waitForSubprocessStdin(A);if(d.writable){d.end()}}catch(A){await safeWaitForSubprocessStdout(p);destroyOtherWritable(d,A)}};const onWritableDestroy=async({subprocessStdin:A,subprocess:d,waitWritableFinal:p,waitWritableDestroy:C},S)=>{await waitForConcurrentStreams(p,d);if(await waitForConcurrentStreams(C,d)){destroyOtherWritable(A,S);await waitForSubprocess(d,S)}};const destroyOtherWritable=(A,d)=>{destroyOtherStream(A,A.writable,d)};const createDuplex=({subprocess:A,concurrentStreams:d,encoding:p},{from:C,to:S,binary:v=true,preserveNewlines:T=true}={})=>{const _=v||gr.has(p);const{subprocessStdout:V,waitReadableDestroy:Z}=getSubprocessStdout(A,C,d);const{subprocessStdin:ee,waitWritableFinal:te,waitWritableDestroy:re}=getSubprocessStdin(A,S,d);const{readableEncoding:ne,readableObjectMode:ie,readableHighWaterMark:se}=getReadableOptions(V,_);const{read:oe,onStdoutDataDone:ae}=getReadableMethods({subprocessStdout:V,subprocess:A,binary:_,encoding:p,preserveNewlines:T});const le=new zr.Duplex({read:oe,...getWritableMethods(ee,A,te),destroy:(0,fe.callbackify)(onDuplexDestroy.bind(undefined,{subprocessStdout:V,subprocessStdin:ee,subprocess:A,waitReadableDestroy:Z,waitWritableFinal:te,waitWritableDestroy:re})),readableHighWaterMark:se,writableHighWaterMark:ee.writableHighWaterMark,readableObjectMode:ie,writableObjectMode:ee.writableObjectMode,encoding:ne});onStdoutFinished({subprocessStdout:V,onStdoutDataDone:ae,readable:le,subprocess:A,subprocessStdin:ee});onStdinFinished(ee,le,V);return le};const onDuplexDestroy=async({subprocessStdout:A,subprocessStdin:d,subprocess:p,waitReadableDestroy:C,waitWritableFinal:S,waitWritableDestroy:v},T)=>{await Promise.all([onReadableDestroy({subprocessStdout:A,subprocess:p,waitReadableDestroy:C},T),onWritableDestroy({subprocessStdin:d,subprocess:p,waitWritableFinal:S,waitWritableDestroy:v},T)])};const createIterable=(A,d,{from:p,binary:C=false,preserveNewlines:S=false}={})=>{const v=C||gr.has(d);const T=getFromStream(A,p);const _=iterateOnSubprocessStream({subprocessStdout:T,subprocess:A,binary:v,shouldEncode:true,encoding:d,preserveNewlines:S});return iterateOnStdoutData(_,T,A)};const iterateOnStdoutData=async function*(A,d,p){try{yield*A}finally{if(d.readable){d.destroy()}await p}};const addConvertedStreams=(A,{encoding:d})=>{const p=initializeConcurrentStreams();A.readable=createReadable.bind(undefined,{subprocess:A,concurrentStreams:p,encoding:d});A.writable=createWritable.bind(undefined,{subprocess:A,concurrentStreams:p});A.duplex=createDuplex.bind(undefined,{subprocess:A,concurrentStreams:p,encoding:d});A.iterable=createIterable.bind(undefined,A,d);A[Symbol.asyncIterator]=createIterable.bind(undefined,A,d,{})};const mergePromise=(A,d)=>{for(const[p,C]of vn){const S=C.value.bind(d);Reflect.defineProperty(A,p,{...C,value:S})}};const Qn=(async()=>{})().constructor.prototype;const vn=["then","catch","finally"].map((A=>[A,Reflect.getOwnPropertyDescriptor(Qn,A)]));const execaCoreAsync=(A,d,p,C)=>{const{file:S,commandArguments:v,command:T,escapedCommand:_,startTime:V,verboseInfo:Z,options:ee,fileDescriptors:te}=handleAsyncArguments(A,d,p);const{subprocess:re,promise:ne}=spawnSubprocessAsync({file:S,commandArguments:v,options:ee,startTime:V,verboseInfo:Z,command:T,escapedCommand:_,fileDescriptors:te});re.pipe=pipeToSubprocess.bind(undefined,{source:re,sourcePromise:ne,boundOptions:{},createNested:C});mergePromise(re,ne);tr.set(re,{options:ee,fileDescriptors:te});return re};const handleAsyncArguments=(A,d,p)=>{const{command:C,escapedCommand:S,startTime:v,verboseInfo:T}=handleCommand(A,d,p);const{file:_,commandArguments:V,options:Z}=normalizeOptions(A,d,p);const ee=handleAsyncOptions(Z);const te=handleStdioAsync(ee,T);return{file:_,commandArguments:V,command:C,escapedCommand:S,startTime:v,verboseInfo:T,options:ee,fileDescriptors:te}};const handleAsyncOptions=({timeout:A,signal:d,...p})=>{if(d!==undefined){throw new TypeError('The "signal" option has been renamed to "cancelSignal" instead.')}return{...p,timeoutDuration:A}};const spawnSubprocessAsync=({file:A,commandArguments:d,options:p,startTime:C,verboseInfo:S,command:v,escapedCommand:T,fileDescriptors:_})=>{let V;try{V=(0,ae.spawn)(...concatenateShell(A,d,p))}catch(A){return handleEarlyError({error:A,command:v,escapedCommand:T,fileDescriptors:_,options:p,startTime:C,verboseInfo:S})}const Z=new AbortController;(0,Xt.setMaxListeners)(Number.POSITIVE_INFINITY,Z.signal);const ee=[...V.stdio];pipeOutputAsync(V,_,Z);cleanupOnExit(V,p,Z);const te={};const re=createDeferred();V.kill=subprocessKill.bind(undefined,{kill:V.kill.bind(V),options:p,onInternalError:re,context:te,controller:Z});V.all=makeAllStream(V,p);addConvertedStreams(V,p);addIpcMethods(V,p);const ne=handlePromise({subprocess:V,options:p,startTime:C,verboseInfo:S,fileDescriptors:_,originalStreams:ee,command:v,escapedCommand:T,context:te,onInternalError:re,controller:Z});return{subprocess:V,promise:ne}};const handlePromise=async({subprocess:A,options:d,startTime:p,verboseInfo:C,fileDescriptors:S,originalStreams:v,command:T,escapedCommand:_,context:V,onInternalError:Z,controller:ee})=>{const[te,[re,ne],ie,se,oe]=await waitForSubprocessResult({subprocess:A,options:d,context:V,verboseInfo:C,fileDescriptors:S,originalStreams:v,onInternalError:Z,controller:ee});ee.abort();Z.resolve();const ae=ie.map(((A,p)=>stripNewline(A,d,p)));const le=stripNewline(se,d,"all");const ce=getAsyncResult({errorInfo:te,exitCode:re,signal:ne,stdio:ae,all:le,ipcOutput:oe,context:V,options:d,command:T,escapedCommand:_,startTime:p});return handleResult(ce,C,d)};const getAsyncResult=({errorInfo:A,exitCode:d,signal:p,stdio:C,all:S,ipcOutput:v,context:T,options:_,command:V,escapedCommand:Z,startTime:ee})=>"error"in A?makeError({error:A.error,command:V,escapedCommand:Z,timedOut:T.terminationReason==="timeout",isCanceled:T.terminationReason==="cancel"||T.terminationReason==="gracefulCancel",isGracefullyCanceled:T.terminationReason==="gracefulCancel",isMaxBuffer:A.error instanceof MaxBufferError,isForcefullyTerminated:T.isForcefullyTerminated,exitCode:d,signal:p,stdio:C,all:S,ipcOutput:v,options:_,startTime:ee,isSync:false}):makeSuccessResult({command:V,escapedCommand:Z,stdio:C,all:S,ipcOutput:v,options:_,startTime:ee});const mergeOptions=(A,d)=>{const p=Object.fromEntries(Object.entries(d).map((([d,p])=>[d,mergeOption(d,A[d],p)])));return{...A,...p}};const mergeOption=(A,d,p)=>{if(Rn.has(A)&&isPlainObject(d)&&isPlainObject(p)){return{...d,...p}}return p};const Rn=new Set(["env",...Ce]);const createExeca=(A,d,p,C)=>{const createNested=(A,d,C)=>createExeca(A,d,p,C);const boundExeca=(...S)=>callBoundExeca({mapArguments:A,deepOptions:p,boundOptions:d,setBoundExeca:C,createNested:createNested},...S);if(C!==undefined){C(boundExeca,createNested,d)}return boundExeca};const callBoundExeca=({mapArguments:A,deepOptions:d={},boundOptions:p={},setBoundExeca:C,createNested:S},v,...T)=>{if(isPlainObject(v)){return S(A,mergeOptions(p,v),C)}const{file:_,commandArguments:V,options:Z,isSync:ee}=parseArguments({mapArguments:A,firstArgument:v,nextArguments:T,deepOptions:d,boundOptions:p});return ee?execaCoreSync(_,V,Z):execaCoreAsync(_,V,Z,S)};const parseArguments=({mapArguments:A,firstArgument:d,nextArguments:p,deepOptions:C,boundOptions:S})=>{const v=isTemplateString(d)?parseTemplates(d,p):[d,...p];const[T,_,V]=normalizeParameters(...v);const Z=mergeOptions(mergeOptions(C,S),V);const{file:ee=T,commandArguments:te=_,options:re=Z,isSync:ne=false}=A({file:T,commandArguments:_,options:Z});return{file:ee,commandArguments:te,options:re,isSync:ne}};const mapCommandAsync=({file:A,commandArguments:d})=>parseCommand(A,d);const mapCommandSync=({file:A,commandArguments:d})=>({...parseCommand(A,d),isSync:true});const parseCommand=(A,d)=>{if(d.length>0){throw new TypeError(`The command and its arguments must be passed as a single string: ${A} ${d}.`)}const[p,...C]=parseCommandString(A);return{file:p,commandArguments:C}};const parseCommandString=A=>{if(typeof A!=="string"){throw new TypeError(`The command must be a string: ${String(A)}.`)}const d=A.trim();if(d===""){return[]}const p=[];for(const A of d.split(Nn)){const d=p.at(-1);if(d&&d.endsWith("\\")){p[p.length-1]=`${d.slice(0,-1)} ${A}`}else{p.push(A)}}return p};const Nn=/ +/g;const setScriptSync=(A,d,p)=>{A.sync=d(mapScriptSync,p);A.s=A.sync};const mapScriptAsync=({options:A})=>getScriptOptions(A);const mapScriptSync=({options:A})=>({...getScriptOptions(A),isSync:true});const getScriptOptions=A=>({options:{...getScriptStdinOption(A),...A}});const getScriptStdinOption=({input:A,inputFile:d,stdio:p})=>A===undefined&&d===undefined&&p===undefined?{stdin:"inherit"}:{};const Dn={preferLocal:true};const xn=createExeca((()=>({})));const Tn=createExeca((()=>({isSync:true})));const _n=createExeca(mapCommandAsync);const Pn=createExeca(mapCommandSync);const kn=createExeca(mapNode);const On=createExeca(mapScriptAsync,{},Dn,setScriptSync);const{sendMessage:Fn,getOneMessage:Ln,getEachMessage:Mn,getCancelSignal:Un}=getIpcExport();var Hn=C(71635);var Gn=C(79896);var qn=C(16928);var jn=C.n(qn);var zn=C(17898);var Vn=C.n(zn);function _tryParseJsonConfig(A){try{const d=JSON.parse(A);return d}catch(A){const d=A.message;console.error(`Couldn't parse --config flag as inline JSON. This error can be ignored if it's a file path. Source: "${d}"`);return null}}function _tryParseJson5Config(A){try{const d=Vn().parse(A);return d}catch(A){const d=A.message;console.error(`Couldn't parse --config flag as inline JSON. This error can be ignored if it's a file path. Source: "${d}"`);return null}}function _tryParseTomlConfig(A){try{const d=se.parse(A);return d}catch(A){const d=A.message;console.error(`Couldn't parse --config flag as inline JSON. This error can be ignored if it's a file path. Source: "${d}"`);return null}}function readPlatformConfig(A,d){let p=(0,qn.join)(A,`tauri.${d}.conf.json`);if((0,Gn.existsSync)(p)){const A=(0,Gn.readFileSync)(p).toString();const d=_tryParseJsonConfig(A);if(d)return d}p=(0,qn.join)(A,`tauri.${d}.conf.json5`);if((0,Gn.existsSync)(p)){const A=(0,Gn.readFileSync)(p).toString();const d=_tryParseJson5Config(A);if(d)return d}p=(0,qn.join)(A,`Tauri.${d}.toml`);if((0,Gn.existsSync)(p)){const A=(0,Gn.readFileSync)(p).toString();const d=_tryParseTomlConfig(A);if(d)return d}return null}function readCustomConfig(A){if(!(0,Gn.existsSync)(A)){throw new Error(`Provided config path \`${A}\` does not exist.`)}const d=(0,Gn.readFileSync)(A).toString();const p=jn().extname(A);if(p===".json"){const A=_tryParseJsonConfig(d);if(A)return A}if(p===".json5"){const A=_tryParseJson5Config(d);if(A)return A}if(p===".toml"){const A=_tryParseTomlConfig(d);if(A)return A}throw new Error(`Couldn't parse \`${A}\` as ${p.substring(1)}.`)}class TauriConfig{constructor(A){this.identifier=A}static fromBaseConfig(A){if((0,Gn.existsSync)((0,qn.join)(A,"tauri.conf.json"))){const d=(0,Gn.readFileSync)((0,qn.join)(A,"tauri.conf.json")).toString();const p=_tryParseJsonConfig(d);if(p){return this.fromV2Base(p)}console.error("Found tauri.conf.json file but couldn't parse it as JSON.")}if((0,Gn.existsSync)((0,qn.join)(A,"tauri.conf.json5"))){const d=(0,Gn.readFileSync)((0,qn.join)(A,"tauri.conf.json5")).toString();const p=_tryParseJson5Config(d);if(p){return this.fromV2Base(p)}console.error("Found tauri.conf.json5 file but couldn't parse it as JSON5.")}if((0,Gn.existsSync)((0,qn.join)(A,"Tauri.toml"))){const d=(0,Gn.readFileSync)((0,qn.join)(A,"Tauri.toml")).toString();const p=_tryParseTomlConfig(d);if(p){return this.fromV2Base(p)}console.error("Found Tauri.toml file but couldn't parse it as TOML.")}throw new Error("Couldn't locate or parse tauri config.")}static fromV2Base(A){if(!A.identifier){throw Error("base config has no bundle identifier.")}const d=new TauriConfig(A.identifier);d.productName=A.productName;d.mainBinaryName=A.mainBinaryName;d.version=A.version;d.frontendDist=A.build?.frontendDist;d.beforeBuildCommand=A.build?.beforeBuildCommand;d.rpmRelease=A.bundle?.linux?.rpm?.release;d.wixLanguage=A.bundle?.windows?.wix?.language;d.unzippedSigs=A.bundle?.createUpdaterArtifacts===true;return d}mergeConfig(A){this.identifier=A.identifier??this.identifier;this.productName=A.productName??this.productName;this.mainBinaryName=A.mainBinaryName??this.mainBinaryName;this.version=A.version??this.version;this.frontendDist=A.build?.frontendDist??this.frontendDist;this.beforeBuildCommand=A.build?.beforeBuildCommand??this.beforeBuildCommand;this.rpmRelease=A.bundle?.linux?.rpm?.release??this.rpmRelease;this.wixLanguage=A.bundle?.windows?.wix?.language??this.wixLanguage;this.unzippedSigs=A.bundle?.createUpdaterArtifacts!=null?A.bundle?.createUpdaterArtifacts===true:this.unzippedSigs}mergePlatformConfig(A,d){const p=readPlatformConfig(A,d);if(p){this.mergeConfig(p)}}mergeUserConfig(A,d){let p=_tryParseJsonConfig(d);if(!p){const C=jn().isAbsolute(d)?d:jn().join(A,d);p=readCustomConfig(C)}if(p){this.mergeConfig(p)}else{console.error(`Couldn't read --config: ${d}`)}}}var Wn=C(51455);const toPath=A=>A instanceof URL?(0,oe.fileURLToPath)(A):A;async function findUp(A,{cwd:d=process.cwd(),type:p="file",stopAt:C}={}){let S=path.resolve(toPath(d)??"");const{root:v}=path.parse(S);C=path.resolve(S,toPath(C??v));const T=path.isAbsolute(A);while(S){const d=T?A:path.join(S,A);try{const A=await fsPromises.stat(d);if(p==="file"&&A.isFile()||p==="directory"&&A.isDirectory()){return d}}catch{}if(S===C||S===v){break}S=path.dirname(S)}}function findUpSync(A,{cwd:d=he.cwd(),type:p="file",stopAt:C}={}){let T=v.resolve(toPath(d)??"");const{root:_}=v.parse(T);C=v.resolve(T,toPath(C)??_);const V=v.isAbsolute(A);while(T){const d=V?A:v.join(T,A);try{const A=S.statSync(d,{throwIfNoEntry:false});if(p==="file"&&A?.isFile()||p==="directory"&&A?.isDirectory()){return d}}catch{}if(T===C||T===_){break}T=v.dirname(T)}}const Yn=[".app.tar.gz.sig",".app.tar.gz",".dmg",".AppImage.tar.gz.sig",".AppImage.tar.gz",".AppImage.sig",".AppImage",".deb.sig",".deb",".rpm.sig",".rpm",".msi.zip.sig",".msi.zip",".msi.sig",".msi",".nsis.zip.sig",".nsis.zip",".exe.sig",".exe"];function parseAsset(A){const d=path.basename(A);const p=Yn.filter((A=>d.includes(A)));const C=p[0]||path.extname(A);const S=d.replace(C,"");let v="";if(C===".app.tar.gz.sig"||C===".app.tar.gz"){if(A.includes("universal-apple-darwin")){v="universal"}else if(A.includes("aarch64-apple-darwin")){v="aarch64"}else if(A.includes("x86_64-apple-darwin")){v="x64"}else{v=process.arch==="arm64"?"aarch64":"x64"}}return{basename:d,ext:C,filename:S,arch:v}}function renderNamePattern(A,d){return A.replace(/\[(\w+)]/g,((A,p)=>{if(!Object.prototype.hasOwnProperty.call(d,p)){return A}const C=d[p];return C}))}function getAssetName(A,d){if(A.name==="latest.json"){return"latest.json"}if(d){return renderNamePattern(d,A)}else{if(A.ext!==".app.tar.gz"&&A.ext!==".app.tar.gz.sig"&&A.name!=="binary"){return(0,v.basename)(A.path)}const d=(0,v.basename)(A.path,A.ext);const p="_"+A.arch;let C="";if(A.name==="binary"){C="_"+A.platform}return d+C+p+A.ext}}function createArtifact({path:A,name:d,debug:p,platform:C,arch:S,bundle:T,version:_}){const V=(0,v.basename)(A);const Z=Yn.filter((A=>V.includes(A)));const ee=Z[0]||(0,v.extname)(A);let te;if(d==="binary"||[".app",".dmg",".exe",".msi",".deb",".rpm",".AppImage"].includes(ee)){te=`${C}-${S}-${T}`}return{path:A,name:d,mode:p?"debug":"release",platform:C==="macos"?"darwin":C,arch:S,bundle:T,ext:ee,version:_,setup:T==="nsis"?"-setup":"",_setup:T==="nsis"?"_setup":"",workflowArtifactName:te}}function getPackageJson(A){const d=(0,v.join)(A,"package.json");if((0,S.existsSync)(d)){const A=(0,S.readFileSync)(d).toString();return JSON.parse(A)}return null}function getTauriDir(A){const d=(0,Hn.Hz)(["**/tauri.conf.json","**/tauri.conf.json5","**/Tauri.toml"],{gitignore:true,cwd:A,ignore:["**/target","**/node_modules"]});if(d.length===0){return null}return(0,v.resolve)(A,d[0],"..")}function getWorkspaceDir(A){const d=A;while(A.length&&A[A.length-1]!==v.sep){const p=(0,v.join)(A,"Cargo.toml");if((0,S.existsSync)(p)){const C=se.parse((0,S.readFileSync)(p).toString());if(C.workspace?.members){const p=["**/target","**/node_modules"];if(C.workspace.exclude)p.push(...C.workspace.exclude);const S=(0,Hn.Hz)(C.workspace.members,{cwd:A,ignore:p,expandDirectories:false,onlyFiles:false});if(S.some((p=>(0,v.resolve)(A,p)===d))){return A}}}A=(0,v.normalize)((0,v.join)(A,".."))}return null}function getTargetDir(A,d,p){const C=(0,v.join)(A,"target");let _=d;let V;let Z;if(process.env.CARGO_TARGET_DIR){V=process.env.CARGO_TARGET_DIR??C}while(_.length&&_[_.length-1]!==v.sep){let A=(0,v.join)(_,".cargo/config");if(!(0,S.existsSync)(A)){A=(0,v.join)(_,".cargo/config.toml")}if((0,S.existsSync)(A)){const d=se.parse((0,S.readFileSync)(A).toString());if(!V&&d.build?.["target-dir"]){const A=d.build["target-dir"];if(T().isAbsolute(A)){V=A}else{V=(0,v.normalize)((0,v.join)(_,A))}}if(!p&&!Z&&typeof d.build?.target==="string"){Z=d.build.target}}if(V&&Z)break;_=(0,v.normalize)((0,v.join)(_,".."))}if(V){return(0,v.normalize)((0,v.join)(V,Z??""))}return(0,v.normalize)((0,v.join)(C,Z??""))}function getCargoManifest(A){const d=(0,v.join)(A,"Cargo.toml");const p=se.parse((0,S.readFileSync)(d).toString());let C=p.package.name;let T=p.package.version;if(typeof p.package.version=="object"||typeof p.package.name=="object"){const d=getWorkspaceDir(A);if(!d){throw new Error("Could not find workspace directory, but version and/or name specifies to use workspace package")}const p=(0,v.join)(d,"Cargo.toml");const _=se.parse((0,S.readFileSync)(p).toString());if(typeof C==="object"&&_?.workspace?.package?.name!==undefined){C=_.workspace.package.name}if(typeof T==="object"&&_?.workspace?.package?.version!==undefined){T=_.workspace.package.version}}return{...p,package:{...p.package,name:C,version:T}}}function hasDependency(A,d){const p=getPackageJson(d);return p&&(p.dependencies?.[A]||p.devDependencies?.[A])}function hasTauriScript(A){const d=getPackageJson(A);return!!d&&!!d.scripts?.["tauri"]}function usesNpm(A){if(findUpSync("package-lock.json",{cwd:A})){if(isRunnerInstalled("npm")){return true}else{console.warn("package-lock.json detected but couldn't find `npm` executable.")}}return false}function usesYarn(A){if(findUpSync("yarn.lock",{cwd:A})){if(isRunnerInstalled("yarn")){return true}else{console.warn("yarn.lock detected but couldn't find `yarn` executable.")}}return false}function usesPnpm(A){if(findUpSync("pnpm-lock.yaml",{cwd:A})){if(isRunnerInstalled("pnpm")){return true}else{console.warn("pnpm-lock.yaml detected but couldn't find `pnpm` executable.")}}return false}function usesBun(A){if(findUpSync("bun.lockb",{cwd:A})||findUpSync("bun.lock",{cwd:A})){if(isRunnerInstalled("bun")){return true}else{console.warn("bun.lock(b) detected but couldn't find `bun` executable.")}}return false}function isRunnerInstalled(A){const d=process.platform==="win32"?"where.exe":"which";try{return Tn(d,[A]).exitCode===0}catch(A){return false}}async function execCommand(A,d,{cwd:p}={},C={}){console.log(`running ${A}`,d);const S=xn(A,d,{cwd:p,env:{FORCE_COLOR:"0",...C},lines:true,stdio:"pipe",reject:false});S.stdout?.on("data",(A=>{process.stdout.write(A)}));S.stderr?.on("data",(A=>{process.stderr.write(A)}));return new Promise(((p,C)=>{S.on("exit",(S=>{if(S&&S>0){C(new Error(`Command "${A} ${JSON.stringify(d)}" failed with exit code ${S}`))}else{p()}}))}))}function getInfo(A,d,p){const C=getTauriDir(A);if(C!==null){let T;let _;let V="en-US";let Z="1";const ee=TauriConfig.fromBaseConfig(C);if(d){ee.mergePlatformConfig(C,d.platform)}if(p){ee.mergeUserConfig(A,p)}T=ee?.productName;if(ee.version?.endsWith(".json")){const A=(0,v.join)(C,ee?.version);const d=(0,S.readFileSync)(A).toString();_=JSON.parse(d).version}else{_=ee?.version}const te=getCargoManifest(C);if(!(T&&_)){T=T??te.package.name;_=_??te.package.version}if(!(T&&_)){console.error("Could not determine package name and version.");process.exit(1)}if(ee.wixLanguage){V=ee.wixLanguage}if(ee.rpmRelease){Z=ee.rpmRelease}return{tauriPath:C,name:T,mainBinaryName:ee.mainBinaryName||te.package.name,version:_,wixLanguage:V,rpmRelease:Z,unzippedSigs:ee.unzippedSigs===true}}else{throw Error("Couldn't detect Tauri dir")}}function getTargetInfo(A){let d=process.arch;let p=process.platform==="win32"?"windows":process.platform==="darwin"?"macos":"linux";if(A){if(A.includes("windows")){p="windows"}else if(A.includes("darwin")||A.includes("macos")){p="macos"}else if(A.includes("linux")){p="linux"}else if(A.includes("android")){p="android"}else if(A.includes("ios")){p="ios"}if(A.includes("-")){d=A.split("-")[0]}}return{arch:d,platform:p}}async function retry(A,d){for(let p=1;p<=d;p++){try{return await A()}catch(A){if(p===d)throw A;console.log(`Attempt ${p} failed, retrying...`)}}}function deleteGiteaReleaseAsset(A,d,p,C,S){return A.request("DELETE /repos/{owner}/{repo}/releases/{release_id}/assets/{asset_id}",{owner:d,repo:p,release_id:C,asset_id:S})}function ghAssetName(A,d){return getAssetName(A,d).trim().replace(/[^a-zA-Z0-9_-]/g,".").replace(/\.\./g,".")}},42613:d=>{d.exports=A(import.meta.url)("assert")},90290:d=>{d.exports=A(import.meta.url)("async_hooks")},20181:d=>{d.exports=A(import.meta.url)("buffer")},35317:d=>{d.exports=A(import.meta.url)("child_process")},64236:d=>{d.exports=A(import.meta.url)("console")},49140:d=>{d.exports=A(import.meta.url)("constants")},76982:d=>{d.exports=A(import.meta.url)("crypto")},31637:d=>{d.exports=A(import.meta.url)("diagnostics_channel")},24434:d=>{d.exports=A(import.meta.url)("events")},79896:d=>{d.exports=A(import.meta.url)("fs")},91943:d=>{d.exports=A(import.meta.url)("fs/promises")},58611:d=>{d.exports=A(import.meta.url)("http")},85675:d=>{d.exports=A(import.meta.url)("http2")},65692:d=>{d.exports=A(import.meta.url)("https")},69278:d=>{d.exports=A(import.meta.url)("net")},4573:d=>{d.exports=A(import.meta.url)("node:buffer")},31421:d=>{d.exports=A(import.meta.url)("node:child_process")},77598:d=>{d.exports=A(import.meta.url)("node:crypto")},78474:d=>{d.exports=A(import.meta.url)("node:events")},73024:d=>{d.exports=A(import.meta.url)("node:fs")},51455:d=>{d.exports=A(import.meta.url)("node:fs/promises")},37067:d=>{d.exports=A(import.meta.url)("node:http")},44708:d=>{d.exports=A(import.meta.url)("node:https")},48161:d=>{d.exports=A(import.meta.url)("node:os")},76760:d=>{d.exports=A(import.meta.url)("node:path")},1708:d=>{d.exports=A(import.meta.url)("node:process")},57075:d=>{d.exports=A(import.meta.url)("node:stream")},46466:d=>{d.exports=A(import.meta.url)("node:stream/promises")},46193:d=>{d.exports=A(import.meta.url)("node:string_decoder")},73136:d=>{d.exports=A(import.meta.url)("node:url")},57975:d=>{d.exports=A(import.meta.url)("node:util")},38522:d=>{d.exports=A(import.meta.url)("node:zlib")},70857:d=>{d.exports=A(import.meta.url)("os")},16928:d=>{d.exports=A(import.meta.url)("path")},82987:d=>{d.exports=A(import.meta.url)("perf_hooks")},83480:d=>{d.exports=A(import.meta.url)("querystring")},2203:d=>{d.exports=A(import.meta.url)("stream")},63774:d=>{d.exports=A(import.meta.url)("stream/web")},13193:d=>{d.exports=A(import.meta.url)("string_decoder")},53557:d=>{d.exports=A(import.meta.url)("timers")},64756:d=>{d.exports=A(import.meta.url)("tls")},52018:d=>{d.exports=A(import.meta.url)("tty")},87016:d=>{d.exports=A(import.meta.url)("url")},39023:d=>{d.exports=A(import.meta.url)("util")},98253:d=>{d.exports=A(import.meta.url)("util/types")},28167:d=>{d.exports=A(import.meta.url)("worker_threads")},43106:d=>{d.exports=A(import.meta.url)("zlib")},43049:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;class AbortError extends Error{constructor(A){super(A);this.name="AbortError"}}d.AbortError=AbortError},49797:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;var C=p(43049);Object.defineProperty(d,"AbortError",{enumerable:true,get:function(){return C.AbortError}})},34630:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureKeyCredential=void 0;class AzureKeyCredential{_key;get key(){return this._key}constructor(A){if(!A){throw new Error("key must be a non-empty string")}this._key=A}update(A){this._key=A}}d.AzureKeyCredential=AzureKeyCredential},77887:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureNamedKeyCredential=void 0;d.isNamedKeyCredential=isNamedKeyCredential;const C=p(33e3);class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(A,d){if(!A||!d){throw new TypeError("name and key must be non-empty strings")}this._name=A;this._key=d}update(A,d){if(!A||!d){throw new TypeError("newName and newKey must be non-empty strings")}this._name=A;this._key=d}}d.AzureNamedKeyCredential=AzureNamedKeyCredential;function isNamedKeyCredential(A){return(0,C.isObjectWithProperties)(A,["name","key"])&&typeof A.key==="string"&&typeof A.name==="string"}},85648:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureSASCredential=void 0;d.isSASCredential=isSASCredential;const C=p(33e3);class AzureSASCredential{_signature;get signature(){return this._signature}constructor(A){if(!A){throw new Error("shared access signature must be a non-empty string")}this._signature=A}update(A){if(!A){throw new Error("shared access signature must be a non-empty string")}this._signature=A}}d.AzureSASCredential=AzureSASCredential;function isSASCredential(A){return(0,C.isObjectWithProperties)(A,["signature"])&&typeof A.signature==="string"}},38401:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isTokenCredential=d.isSASCredential=d.AzureSASCredential=d.isNamedKeyCredential=d.AzureNamedKeyCredential=d.isKeyCredential=d.AzureKeyCredential=void 0;var C=p(34630);Object.defineProperty(d,"AzureKeyCredential",{enumerable:true,get:function(){return C.AzureKeyCredential}});var S=p(55075);Object.defineProperty(d,"isKeyCredential",{enumerable:true,get:function(){return S.isKeyCredential}});var v=p(77887);Object.defineProperty(d,"AzureNamedKeyCredential",{enumerable:true,get:function(){return v.AzureNamedKeyCredential}});Object.defineProperty(d,"isNamedKeyCredential",{enumerable:true,get:function(){return v.isNamedKeyCredential}});var T=p(85648);Object.defineProperty(d,"AzureSASCredential",{enumerable:true,get:function(){return T.AzureSASCredential}});Object.defineProperty(d,"isSASCredential",{enumerable:true,get:function(){return T.isSASCredential}});var _=p(3313);Object.defineProperty(d,"isTokenCredential",{enumerable:true,get:function(){return _.isTokenCredential}})},55075:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isKeyCredential=isKeyCredential;const C=p(33e3);function isKeyCredential(A){return(0,C.isObjectWithProperties)(A,["key"])&&typeof A.key==="string"}},3313:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isBearerToken=isBearerToken;d.isPopToken=isPopToken;d.isTokenCredential=isTokenCredential;function isBearerToken(A){return!A.tokenType||A.tokenType==="Bearer"}function isPopToken(A){return A.tokenType==="pop"}function isTokenCredential(A){const d=A;return d&&typeof d.getToken==="function"&&(d.signRequest===undefined||d.getToken.length>0)}},32975:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.parseCAEChallenge=parseCAEChallenge;d.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const C=p(45469);const S=p(65652);function parseCAEChallenge(A){const d=`, ${A.trim()}`.split(", Bearer ").filter((A=>A));return d.map((A=>{const d=`${A.trim()}, `.split('", ').filter((A=>A));const p=d.map((A=>(([A,d])=>({[A]:d}))(A.trim().split('="'))));return p.reduce(((A,d)=>({...A,...d})),{})}))}async function authorizeRequestOnClaimChallenge(A){const{scopes:d,response:p}=A;const v=A.logger||C.logger;const T=p.headers.get("WWW-Authenticate");if(!T){v.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const _=parseCAEChallenge(T)||[];const V=_.find((A=>A.claims));if(!V){v.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const Z=await A.getAccessToken(V.scope?[V.scope]:d,{claims:(0,S.decodeStringToString)(V.claims)});if(!Z){return false}A.request.headers.set("Authorization",`${Z.tokenType??"Bearer"} ${Z.token}`);return true}},37993:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.authorizeRequestOnTenantChallenge=void 0;const p={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(A){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(A)}const authorizeRequestOnTenantChallenge=async A=>{const d=requestToOptions(A.request);const C=getChallenge(A.response);if(C){const S=parseChallenge(C);const v=buildScopes(A,S);const T=extractTenantId(S);if(!T){return false}const _=await A.getAccessToken(v,{...d,tenantId:T});if(!_){return false}A.request.headers.set(p.HeaderConstants.AUTHORIZATION,`${_.tokenType??"Bearer"} ${_.token}`);return true}return false};d.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(A){const d=new URL(A.authorization_uri);const p=d.pathname.split("/");const C=p[1];if(C&&isUuid(C)){return C}return undefined}function buildScopes(A,d){if(!d.resource_id){return A.scopes}const C=new URL(d.resource_id);C.pathname=p.DefaultScope;let S=C.toString();if(S==="https://disk.azure.com/.default"){S="https://disk.azure.com//.default"}return[S]}function getChallenge(A){const d=A.headers.get("WWW-Authenticate");if(A.status===401&&d){return d}return}function parseChallenge(A){const d=A.slice("Bearer ".length);const p=`${d.trim()} `.split(" ").filter((A=>A));const C=p.map((A=>(([A,d])=>({[A]:d}))(A.trim().split("="))));return C.reduce(((A,d)=>({...A,...d})),{})}function requestToOptions(A){return{abortSignal:A.abortSignal,requestOptions:{timeout:A.timeout},tracingOptions:A.tracingOptions}}},65652:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.encodeString=encodeString;d.encodeByteArray=encodeByteArray;d.decodeString=decodeString;d.decodeStringToString=decodeStringToString;function encodeString(A){return Buffer.from(A).toString("base64")}function encodeByteArray(A){const d=A instanceof Buffer?A:Buffer.from(A.buffer);return d.toString("base64")}function decodeString(A){return Buffer.from(A,"base64")}function decodeStringToString(A){return Buffer.from(A,"base64").toString()}},68548:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.deserializationPolicyName=void 0;d.deserializationPolicy=deserializationPolicy;const C=p(43791);const S=p(81591);const v=p(43315);const T=p(56225);const _=["application/json","text/json"];const V=["application/xml","application/atom+xml"];d.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(A={}){const p=A.expectedContentTypes?.json??_;const S=A.expectedContentTypes?.xml??V;const v=A.parseXML;const T=A.serializerOptions;const Z={xml:{rootName:T?.xml.rootName??"",includeRoot:T?.xml.includeRoot??false,xmlCharKey:T?.xml.xmlCharKey??C.XML_CHARKEY}};return{name:d.deserializationPolicyName,async sendRequest(A,d){const C=await d(A);return deserializeResponseBody(p,S,C,Z,v)}}}function getOperationResponseMap(A){let d;const p=A.request;const C=(0,T.getOperationRequestInfo)(p);const S=C?.operationSpec;if(S){if(!C?.operationResponseGetter){d=S.responses[A.status]}else{d=C?.operationResponseGetter(S,A)}}return d}function shouldDeserializeResponse(A){const d=A.request;const p=(0,T.getOperationRequestInfo)(d);const C=p?.shouldDeserialize;let S;if(C===undefined){S=true}else if(typeof C==="boolean"){S=C}else{S=C(A)}return S}async function deserializeResponseBody(A,d,p,C,_){const V=await parse(A,d,p,C,_);if(!shouldDeserializeResponse(V)){return V}const Z=(0,T.getOperationRequestInfo)(V.request);const ee=Z?.operationSpec;if(!ee||!ee.responses){return V}const te=getOperationResponseMap(V);const{error:re,shouldReturnResponse:ne}=handleErrorResponse(V,ee,te,C);if(re){throw re}else if(ne){return V}if(te){if(te.bodyMapper){let A=V.parsedBody;if(ee.isXML&&te.bodyMapper.type.name===v.MapperTypeNames.Sequence){A=typeof A==="object"?A[te.bodyMapper.xmlElementName]:[]}try{V.parsedBody=ee.serializer.deserialize(te.bodyMapper,A,"operationRes.parsedBody",C)}catch(A){const d=new S.RestError(`Error ${A} occurred in deserializing the responseBody - ${V.bodyAsText}`,{statusCode:V.status,request:V.request,response:V});throw d}}else if(ee.httpMethod==="HEAD"){V.parsedBody=p.status>=200&&p.status<300}if(te.headersMapper){V.parsedHeaders=ee.serializer.deserialize(te.headersMapper,V.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return V}function isOperationSpecEmpty(A){const d=Object.keys(A.responses);return d.length===0||d.length===1&&d[0]==="default"}function handleErrorResponse(A,d,p,C){const T=200<=A.status&&A.status<300;const _=isOperationSpecEmpty(d)?T:!!p;if(_){if(p){if(!p.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const V=p??d.responses.default;const Z=A.request.streamResponseStatusCodes?.has(A.status)?`Unexpected status code: ${A.status}`:A.bodyAsText;const ee=new S.RestError(Z,{statusCode:A.status,request:A.request,response:A});if(!V&&!(A.parsedBody?.error?.code&&A.parsedBody?.error?.message)){throw ee}const te=V?.bodyMapper;const re=V?.headersMapper;try{if(A.parsedBody){const p=A.parsedBody;let S;if(te){let A=p;if(d.isXML&&te.type.name===v.MapperTypeNames.Sequence){A=[];const d=te.xmlElementName;if(typeof p==="object"&&d){A=p[d]}}S=d.serializer.deserialize(te,A,"error.response.parsedBody",C)}const T=p.error||S||p;ee.code=T.code;if(T.message){ee.message=T.message}if(te){ee.response.parsedBody=S}}if(A.headers&&re){ee.response.parsedHeaders=d.serializer.deserialize(re,A.headers.toJSON(),"operationRes.parsedHeaders")}}catch(d){ee.message=`Error "${d.message}" occurred in deserializing the responseBody - "${A.bodyAsText}" for the default response.`}return{error:ee,shouldReturnResponse:false}}async function parse(A,d,p,C,v){if(!p.request.streamResponseStatusCodes?.has(p.status)&&p.bodyAsText){const T=p.bodyAsText;const _=p.headers.get("Content-Type")||"";const V=!_?[]:_.split(";").map((A=>A.toLowerCase()));try{if(V.length===0||V.some((d=>A.indexOf(d)!==-1))){p.parsedBody=JSON.parse(T);return p}else if(V.some((A=>d.indexOf(A)!==-1))){if(!v){throw new Error("Parsing XML not supported.")}const A=await v(T,C.xml);p.parsedBody=A;return p}}catch(A){const d=`Error "${A}" occurred while parsing the response body - ${p.bodyAsText}.`;const C=A.code||S.RestError.PARSE_ERROR;const v=new S.RestError(d,{code:C,statusCode:p.status,request:p.request,response:p});throw v}}return p}},39664:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const C=p(81591);let S;function getCachedDefaultHttpClient(){if(!S){S=(0,C.createDefaultHttpClient)()}return S}},99307:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.authorizeRequestOnTenantChallenge=d.authorizeRequestOnClaimChallenge=d.serializationPolicyName=d.serializationPolicy=d.deserializationPolicyName=d.deserializationPolicy=d.XML_CHARKEY=d.XML_ATTRKEY=d.createClientPipeline=d.ServiceClient=d.MapperTypeNames=d.createSerializer=void 0;var C=p(43315);Object.defineProperty(d,"createSerializer",{enumerable:true,get:function(){return C.createSerializer}});Object.defineProperty(d,"MapperTypeNames",{enumerable:true,get:function(){return C.MapperTypeNames}});var S=p(19299);Object.defineProperty(d,"ServiceClient",{enumerable:true,get:function(){return S.ServiceClient}});var v=p(18913);Object.defineProperty(d,"createClientPipeline",{enumerable:true,get:function(){return v.createClientPipeline}});var T=p(43791);Object.defineProperty(d,"XML_ATTRKEY",{enumerable:true,get:function(){return T.XML_ATTRKEY}});Object.defineProperty(d,"XML_CHARKEY",{enumerable:true,get:function(){return T.XML_CHARKEY}});var _=p(68548);Object.defineProperty(d,"deserializationPolicy",{enumerable:true,get:function(){return _.deserializationPolicy}});Object.defineProperty(d,"deserializationPolicyName",{enumerable:true,get:function(){return _.deserializationPolicyName}});var V=p(22153);Object.defineProperty(d,"serializationPolicy",{enumerable:true,get:function(){return V.serializationPolicy}});Object.defineProperty(d,"serializationPolicyName",{enumerable:true,get:function(){return V.serializationPolicyName}});var Z=p(32975);Object.defineProperty(d,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return Z.authorizeRequestOnClaimChallenge}});var ee=p(37993);Object.defineProperty(d,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return ee.authorizeRequestOnTenantChallenge}})},68299:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;d.getPathStringFromParameter=getPathStringFromParameter;const C=p(43315);function getStreamingResponseStatusCodes(A){const d=new Set;for(const p in A.responses){const S=A.responses[p];if(S.bodyMapper&&S.bodyMapper.type.name===C.MapperTypeNames.Stream){d.add(Number(p))}}return d}function getPathStringFromParameter(A){const{parameterPath:d,mapper:p}=A;let C;if(typeof d==="string"){C=d}else if(Array.isArray(d)){C=d.join(".")}else{C=p.serializedName}return C}},43791:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=void 0;d.XML_ATTRKEY="$";d.XML_CHARKEY="_"},45469:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const C=p(2764);d.logger=(0,C.createClientLogger)("core-client")},56225:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;d.getOperationRequestInfo=getOperationRequestInfo;const C=p(29582);function getOperationArgumentValueFromParameter(A,d,p){let C=d.parameterPath;const S=d.mapper;let v;if(typeof C==="string"){C=[C]}if(Array.isArray(C)){if(C.length>0){if(S.isConstant){v=S.defaultValue}else{let d=getPropertyFromParameterPath(A,C);if(!d.propertyFound&&p){d=getPropertyFromParameterPath(p,C)}let T=false;if(!d.propertyFound){T=S.required||C[0]==="options"&&C.length===2}v=T?S.defaultValue:d.propertyValue}}}else{if(S.required){v={}}for(const d in C){const T=S.type.modelProperties[d];const _=C[d];const V=getOperationArgumentValueFromParameter(A,{parameterPath:_,mapper:T},p);if(V!==undefined){if(!v){v={}}v[d]=V}}}return v}function getPropertyFromParameterPath(A,d){const p={propertyFound:false};let C=0;for(;C<d.length;++C){const p=d[C];if(A&&p in A){A=A[p]}else{break}}if(C===d.length){p.propertyValue=A;p.propertyFound=true}return p}const S=Symbol.for("@azure/core-client original request");function hasOriginalRequest(A){return S in A}function getOperationRequestInfo(A){if(hasOriginalRequest(A)){return getOperationRequestInfo(A[S])}let d=C.state.operationRequestMap.get(A);if(!d){d={};C.state.operationRequestMap.set(A,d)}return d}},18913:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createClientPipeline=createClientPipeline;const C=p(68548);const S=p(81591);const v=p(22153);function createClientPipeline(A={}){const d=(0,S.createPipelineFromOptions)(A??{});if(A.credentialOptions){d.addPolicy((0,S.bearerTokenAuthenticationPolicy)({credential:A.credentialOptions.credential,scopes:A.credentialOptions.credentialScopes}))}d.addPolicy((0,v.serializationPolicy)(A.serializationOptions),{phase:"Serialize"});d.addPolicy((0,C.deserializationPolicy)(A.deserializationOptions),{phase:"Deserialize"});return d}},22153:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.serializationPolicyName=void 0;d.serializationPolicy=serializationPolicy;d.serializeHeaders=serializeHeaders;d.serializeRequestBody=serializeRequestBody;const C=p(43791);const S=p(56225);const v=p(43315);const T=p(68299);d.serializationPolicyName="serializationPolicy";function serializationPolicy(A={}){const p=A.stringifyXML;return{name:d.serializationPolicyName,async sendRequest(A,d){const C=(0,S.getOperationRequestInfo)(A);const v=C?.operationSpec;const T=C?.operationArguments;if(v&&T){serializeHeaders(A,T,v);serializeRequestBody(A,T,v,p)}return d(A)}}}function serializeHeaders(A,d,p){if(p.headerParameters){for(const C of p.headerParameters){let v=(0,S.getOperationArgumentValueFromParameter)(d,C);if(v!==null&&v!==undefined||C.mapper.required){v=p.serializer.serialize(C.mapper,v,(0,T.getPathStringFromParameter)(C));const d=C.mapper.headerCollectionPrefix;if(d){for(const p of Object.keys(v)){A.headers.set(d+p,v[p])}}else{A.headers.set(C.mapper.serializedName||(0,T.getPathStringFromParameter)(C),v)}}}}const C=d.options?.requestOptions?.customHeaders;if(C){for(const d of Object.keys(C)){A.headers.set(d,C[d])}}}function serializeRequestBody(A,d,p,_=function(){throw new Error("XML serialization unsupported!")}){const V=d.options?.serializerOptions;const Z={xml:{rootName:V?.xml.rootName??"",includeRoot:V?.xml.includeRoot??false,xmlCharKey:V?.xml.xmlCharKey??C.XML_CHARKEY}};const ee=Z.xml.xmlCharKey;if(p.requestBody&&p.requestBody.mapper){A.body=(0,S.getOperationArgumentValueFromParameter)(d,p.requestBody);const C=p.requestBody.mapper;const{required:V,serializedName:te,xmlName:re,xmlElementName:ne,xmlNamespace:ie,xmlNamespacePrefix:se,nullable:oe}=C;const ae=C.type.name;try{if(A.body!==undefined&&A.body!==null||oe&&A.body===null||V){const d=(0,T.getPathStringFromParameter)(p.requestBody);A.body=p.serializer.serialize(C,A.body,d,Z);const S=ae===v.MapperTypeNames.Stream;if(p.isXML){const d=se?`xmlns:${se}`:"xmlns";const p=getXmlValueWithNamespace(ie,d,ae,A.body,Z);if(ae===v.MapperTypeNames.Sequence){A.body=_(prepareXMLRootList(p,ne||re||te,d,ie),{rootName:re||te,xmlCharKey:ee})}else if(!S){A.body=_(p,{rootName:re||te,xmlCharKey:ee})}}else if(ae===v.MapperTypeNames.String&&(p.contentType?.match("text/plain")||p.mediaType==="text")){return}else if(!S){A.body=JSON.stringify(A.body)}}}catch(A){throw new Error(`Error "${A.message}" occurred in serializing the payload - ${JSON.stringify(te,undefined," ")}.`)}}else if(p.formDataParameters&&p.formDataParameters.length>0){A.formData={};for(const C of p.formDataParameters){const v=(0,S.getOperationArgumentValueFromParameter)(d,C);if(v!==undefined&&v!==null){const d=C.mapper.serializedName||(0,T.getPathStringFromParameter)(C);A.formData[d]=p.serializer.serialize(C.mapper,v,(0,T.getPathStringFromParameter)(C),Z)}}}}function getXmlValueWithNamespace(A,d,p,S,v){if(A&&!["Composite","Sequence","Dictionary"].includes(p)){const p={};p[v.xml.xmlCharKey]=S;p[C.XML_ATTRKEY]={[d]:A};return p}return S}function prepareXMLRootList(A,d,p,S){if(!Array.isArray(A)){A=[A]}if(!p||!S){return{[d]:A}}const v={[d]:A};v[C.XML_ATTRKEY]={[p]:S};return v}},43315:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MapperTypeNames=void 0;d.createSerializer=createSerializer;const C=p(67892);const S=C.__importStar(p(65652));const v=p(43791);const T=p(76758);class SerializerImpl{modelMappers;isXML;constructor(A={},d=false){this.modelMappers=A;this.isXML=d}validateConstraints(A,d,p){const failValidation=(A,C)=>{throw new Error(`"${p}" with value "${d}" should satisfy the constraint "${A}": ${C}.`)};if(A.constraints&&d!==undefined&&d!==null){const{ExclusiveMaximum:p,ExclusiveMinimum:C,InclusiveMaximum:S,InclusiveMinimum:v,MaxItems:T,MaxLength:_,MinItems:V,MinLength:Z,MultipleOf:ee,Pattern:te,UniqueItems:re}=A.constraints;if(p!==undefined&&d>=p){failValidation("ExclusiveMaximum",p)}if(C!==undefined&&d<=C){failValidation("ExclusiveMinimum",C)}if(S!==undefined&&d>S){failValidation("InclusiveMaximum",S)}if(v!==undefined&&d<v){failValidation("InclusiveMinimum",v)}if(T!==undefined&&d.length>T){failValidation("MaxItems",T)}if(_!==undefined&&d.length>_){failValidation("MaxLength",_)}if(V!==undefined&&d.length<V){failValidation("MinItems",V)}if(Z!==undefined&&d.length<Z){failValidation("MinLength",Z)}if(ee!==undefined&&d%ee!==0){failValidation("MultipleOf",ee)}if(te){const A=typeof te==="string"?new RegExp(te):te;if(typeof d!=="string"||d.match(A)===null){failValidation("Pattern",te)}}if(re&&d.some(((A,d,p)=>p.indexOf(A)!==d))){failValidation("UniqueItems",re)}}}serialize(A,d,p,C={xml:{}}){const S={xml:{rootName:C.xml.rootName??"",includeRoot:C.xml.includeRoot??false,xmlCharKey:C.xml.xmlCharKey??v.XML_CHARKEY}};let T={};const _=A.type.name;if(!p){p=A.serializedName}if(_.match(/^Sequence$/i)!==null){T=[]}if(A.isConstant){d=A.defaultValue}const{required:V,nullable:Z}=A;if(V&&Z&&d===undefined){throw new Error(`${p} cannot be undefined.`)}if(V&&!Z&&(d===undefined||d===null)){throw new Error(`${p} cannot be null or undefined.`)}if(!V&&Z===false&&d===null){throw new Error(`${p} cannot be null.`)}if(d===undefined||d===null){T=d}else{if(_.match(/^any$/i)!==null){T=d}else if(_.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){T=serializeBasicTypes(_,p,d)}else if(_.match(/^Enum$/i)!==null){const C=A;T=serializeEnumType(p,C.type.allowedValues,d)}else if(_.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){T=serializeDateTypes(_,d,p)}else if(_.match(/^ByteArray$/i)!==null){T=serializeByteArrayType(p,d)}else if(_.match(/^Base64Url$/i)!==null){T=serializeBase64UrlType(p,d)}else if(_.match(/^Sequence$/i)!==null){T=serializeSequenceType(this,A,d,p,Boolean(this.isXML),S)}else if(_.match(/^Dictionary$/i)!==null){T=serializeDictionaryType(this,A,d,p,Boolean(this.isXML),S)}else if(_.match(/^Composite$/i)!==null){T=serializeCompositeType(this,A,d,p,Boolean(this.isXML),S)}}return T}deserialize(A,d,p,C={xml:{}}){const T={xml:{rootName:C.xml.rootName??"",includeRoot:C.xml.includeRoot??false,xmlCharKey:C.xml.xmlCharKey??v.XML_CHARKEY},ignoreUnknownProperties:C.ignoreUnknownProperties??false};if(d===undefined||d===null){if(this.isXML&&A.type.name==="Sequence"&&!A.xmlIsWrapped){d=[]}if(A.defaultValue!==undefined){d=A.defaultValue}return d}let _;const V=A.type.name;if(!p){p=A.serializedName}if(V.match(/^Composite$/i)!==null){_=deserializeCompositeType(this,A,d,p,T)}else{if(this.isXML){const A=T.xml.xmlCharKey;if(d[v.XML_ATTRKEY]!==undefined&&d[A]!==undefined){d=d[A]}}if(V.match(/^Number$/i)!==null){_=parseFloat(d);if(isNaN(_)){_=d}}else if(V.match(/^Boolean$/i)!==null){if(d==="true"){_=true}else if(d==="false"){_=false}else{_=d}}else if(V.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){_=d}else if(V.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){_=new Date(d)}else if(V.match(/^UnixTime$/i)!==null){_=unixTimeToDate(d)}else if(V.match(/^ByteArray$/i)!==null){_=S.decodeString(d)}else if(V.match(/^Base64Url$/i)!==null){_=base64UrlToByteArray(d)}else if(V.match(/^Sequence$/i)!==null){_=deserializeSequenceType(this,A,d,p,T)}else if(V.match(/^Dictionary$/i)!==null){_=deserializeDictionaryType(this,A,d,p,T)}}if(A.isConstant){_=A.defaultValue}return _}}function createSerializer(A={},d=false){return new SerializerImpl(A,d)}function trimEnd(A,d){let p=A.length;while(p-1>=0&&A[p-1]===d){--p}return A.substr(0,p)}function bufferToBase64Url(A){if(!A){return undefined}if(!(A instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const d=S.encodeByteArray(A);return trimEnd(d,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(A){if(!A){return undefined}if(A&&typeof A.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}A=A.replace(/-/g,"+").replace(/_/g,"/");return S.decodeString(A)}function splitSerializeName(A){const d=[];let p="";if(A){const C=A.split(".");for(const A of C){if(A.charAt(A.length-1)==="\\"){p+=A.substr(0,A.length-1)+"."}else{p+=A;d.push(p);p=""}}}return d}function dateToUnixTime(A){if(!A){return undefined}if(typeof A.valueOf()==="string"){A=new Date(A)}return Math.floor(A.getTime()/1e3)}function unixTimeToDate(A){if(!A){return undefined}return new Date(A*1e3)}function serializeBasicTypes(A,d,p){if(p!==null&&p!==undefined){if(A.match(/^Number$/i)!==null){if(typeof p!=="number"){throw new Error(`${d} with value ${p} must be of type number.`)}}else if(A.match(/^String$/i)!==null){if(typeof p.valueOf()!=="string"){throw new Error(`${d} with value "${p}" must be of type string.`)}}else if(A.match(/^Uuid$/i)!==null){if(!(typeof p.valueOf()==="string"&&(0,T.isValidUuid)(p))){throw new Error(`${d} with value "${p}" must be of type string and a valid uuid.`)}}else if(A.match(/^Boolean$/i)!==null){if(typeof p!=="boolean"){throw new Error(`${d} with value ${p} must be of type boolean.`)}}else if(A.match(/^Stream$/i)!==null){const A=typeof p;if(A!=="string"&&typeof p.pipe!=="function"&&typeof p.tee!=="function"&&!(p instanceof ArrayBuffer)&&!ArrayBuffer.isView(p)&&!((typeof Blob==="function"||typeof Blob==="object")&&p instanceof Blob)&&A!=="function"){throw new Error(`${d} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return p}function serializeEnumType(A,d,p){if(!d){throw new Error(`Please provide a set of allowedValues to validate ${A} as an Enum Type.`)}const C=d.some((A=>{if(typeof A.valueOf()==="string"){return A.toLowerCase()===p.toLowerCase()}return A===p}));if(!C){throw new Error(`${p} is not a valid value for ${A}. The valid values are: ${JSON.stringify(d)}.`)}return p}function serializeByteArrayType(A,d){if(d!==undefined&&d!==null){if(!(d instanceof Uint8Array)){throw new Error(`${A} must be of type Uint8Array.`)}d=S.encodeByteArray(d)}return d}function serializeBase64UrlType(A,d){if(d!==undefined&&d!==null){if(!(d instanceof Uint8Array)){throw new Error(`${A} must be of type Uint8Array.`)}d=bufferToBase64Url(d)}return d}function serializeDateTypes(A,d,p){if(d!==undefined&&d!==null){if(A.match(/^Date$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in ISO8601 format.`)}d=d instanceof Date?d.toISOString().substring(0,10):new Date(d).toISOString().substring(0,10)}else if(A.match(/^DateTime$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in ISO8601 format.`)}d=d instanceof Date?d.toISOString():new Date(d).toISOString()}else if(A.match(/^DateTimeRfc1123$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in RFC-1123 format.`)}d=d instanceof Date?d.toUTCString():new Date(d).toUTCString()}else if(A.match(/^UnixTime$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}d=dateToUnixTime(d)}else if(A.match(/^TimeSpan$/i)!==null){if(!(0,T.isDuration)(d)){throw new Error(`${p} must be a string in ISO 8601 format. Instead was "${d}".`)}}}return d}function serializeSequenceType(A,d,p,C,S,T){if(!Array.isArray(p)){throw new Error(`${C} must be of type Array.`)}let _=d.type.element;if(!_||typeof _!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${C}.`)}if(_.type.name==="Composite"&&_.type.className){_=A.modelMappers[_.type.className]??_}const V=[];for(let d=0;d<p.length;d++){const Z=A.serialize(_,p[d],C,T);if(S&&_.xmlNamespace){const A=_.xmlNamespacePrefix?`xmlns:${_.xmlNamespacePrefix}`:"xmlns";if(_.type.name==="Composite"){V[d]={...Z};V[d][v.XML_ATTRKEY]={[A]:_.xmlNamespace}}else{V[d]={};V[d][T.xml.xmlCharKey]=Z;V[d][v.XML_ATTRKEY]={[A]:_.xmlNamespace}}}else{V[d]=Z}}return V}function serializeDictionaryType(A,d,p,C,S,T){if(typeof p!=="object"){throw new Error(`${C} must be of type object.`)}const _=d.type.value;if(!_||typeof _!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${C}.`)}const V={};for(const d of Object.keys(p)){const v=A.serialize(_,p[d],C,T);V[d]=getXmlObjectValue(_,v,S,T)}if(S&&d.xmlNamespace){const A=d.xmlNamespacePrefix?`xmlns:${d.xmlNamespacePrefix}`:"xmlns";const p=V;p[v.XML_ATTRKEY]={[A]:d.xmlNamespace};return p}return V}function resolveAdditionalProperties(A,d,p){const C=d.type.additionalProperties;if(!C&&d.type.className){const C=resolveReferencedMapper(A,d,p);return C?.type.additionalProperties}return C}function resolveReferencedMapper(A,d,p){const C=d.type.className;if(!C){throw new Error(`Class name for model "${p}" is not provided in the mapper "${JSON.stringify(d,undefined,2)}".`)}return A.modelMappers[C]}function resolveModelProperties(A,d,p){let C=d.type.modelProperties;if(!C){const S=resolveReferencedMapper(A,d,p);if(!S){throw new Error(`mapper() cannot be null or undefined for model "${d.type.className}".`)}C=S?.type.modelProperties;if(!C){throw new Error(`modelProperties cannot be null or undefined in the `+`mapper "${JSON.stringify(S)}" of type "${d.type.className}" for object "${p}".`)}}return C}function serializeCompositeType(A,d,p,C,S,T){if(getPolymorphicDiscriminatorRecursively(A,d)){d=getPolymorphicMapper(A,d,p,"clientName")}if(p!==undefined&&p!==null){const _={};const V=resolveModelProperties(A,d,C);for(const Z of Object.keys(V)){const ee=V[Z];if(ee.readOnly){continue}let te;let re=_;if(A.isXML){if(ee.xmlIsWrapped){te=ee.xmlName}else{te=ee.xmlElementName||ee.xmlName}}else{const A=splitSerializeName(ee.serializedName);te=A.pop();for(const d of A){const A=re[d];if((A===undefined||A===null)&&(p[Z]!==undefined&&p[Z]!==null||ee.defaultValue!==undefined)){re[d]={}}re=re[d]}}if(re!==undefined&&re!==null){if(S&&d.xmlNamespace){const A=d.xmlNamespacePrefix?`xmlns:${d.xmlNamespacePrefix}`:"xmlns";re[v.XML_ATTRKEY]={...re[v.XML_ATTRKEY],[A]:d.xmlNamespace}}const _=ee.serializedName!==""?C+"."+ee.serializedName:C;let V=p[Z];const ne=getPolymorphicDiscriminatorRecursively(A,d);if(ne&&ne.clientName===Z&&(V===undefined||V===null)){V=d.serializedName}const ie=A.serialize(ee,V,_,T);if(ie!==undefined&&te!==undefined&&te!==null){const A=getXmlObjectValue(ee,ie,S,T);if(S&&ee.xmlIsAttribute){re[v.XML_ATTRKEY]=re[v.XML_ATTRKEY]||{};re[v.XML_ATTRKEY][te]=ie}else if(S&&ee.xmlIsWrapped){re[te]={[ee.xmlElementName]:A}}else{re[te]=A}}}}const Z=resolveAdditionalProperties(A,d,C);if(Z){const d=Object.keys(V);for(const S in p){const v=d.every((A=>A!==S));if(v){_[S]=A.serialize(Z,p[S],C+'["'+S+'"]',T)}}}return _}return p}function getXmlObjectValue(A,d,p,C){if(!p||!A.xmlNamespace){return d}const S=A.xmlNamespacePrefix?`xmlns:${A.xmlNamespacePrefix}`:"xmlns";const T={[S]:A.xmlNamespace};if(["Composite"].includes(A.type.name)){if(d[v.XML_ATTRKEY]){return d}else{const A={...d};A[v.XML_ATTRKEY]=T;return A}}const _={};_[C.xml.xmlCharKey]=d;_[v.XML_ATTRKEY]=T;return _}function isSpecialXmlProperty(A,d){return[v.XML_ATTRKEY,d.xml.xmlCharKey].includes(A)}function deserializeCompositeType(A,d,p,C,S){const T=S.xml.xmlCharKey??v.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(A,d)){d=getPolymorphicMapper(A,d,p,"serializedName")}const _=resolveModelProperties(A,d,C);let V={};const Z=[];for(const ee of Object.keys(_)){const te=_[ee];const re=splitSerializeName(_[ee].serializedName);Z.push(re[0]);const{serializedName:ne,xmlName:ie,xmlElementName:se}=te;let oe=C;if(ne!==""&&ne!==undefined){oe=C+"."+ne}const ae=te.headerCollectionPrefix;if(ae){const d={};for(const C of Object.keys(p)){if(C.startsWith(ae)){d[C.substring(ae.length)]=A.deserialize(te.type.value,p[C],oe,S)}Z.push(C)}V[ee]=d}else if(A.isXML){if(te.xmlIsAttribute&&p[v.XML_ATTRKEY]){V[ee]=A.deserialize(te,p[v.XML_ATTRKEY][ie],oe,S)}else if(te.xmlIsMsText){if(p[T]!==undefined){V[ee]=p[T]}else if(typeof p==="string"){V[ee]=p}}else{const d=se||ie||ne;if(te.xmlIsWrapped){const d=p[ie];const C=d?.[se]??[];V[ee]=A.deserialize(te,C,oe,S);Z.push(ie)}else{const C=p[d];V[ee]=A.deserialize(te,C,oe,S);Z.push(d)}}}else{let C;let v=p;let T=0;for(const A of re){if(!v)break;T++;v=v[A]}if(v===null&&T<re.length){v=undefined}C=v;const Z=d.type.polymorphicDiscriminator;if(Z&&ee===Z.clientName&&(C===undefined||C===null)){C=d.serializedName}let ne;if(Array.isArray(p[ee])&&_[ee].serializedName===""){C=p[ee];const d=A.deserialize(te,C,oe,S);for(const[A,p]of Object.entries(V)){if(!Object.prototype.hasOwnProperty.call(d,A)){d[A]=p}}V=d}else if(C!==undefined||te.defaultValue!==undefined){ne=A.deserialize(te,C,oe,S);V[ee]=ne}}}const ee=d.type.additionalProperties;if(ee){const isAdditionalProperty=A=>{for(const d in _){const p=splitSerializeName(_[d].serializedName);if(p[0]===A){return false}}return true};for(const d in p){if(isAdditionalProperty(d)){V[d]=A.deserialize(ee,p[d],C+'["'+d+'"]',S)}}}else if(p&&!S.ignoreUnknownProperties){for(const A of Object.keys(p)){if(V[A]===undefined&&!Z.includes(A)&&!isSpecialXmlProperty(A,S)){V[A]=p[A]}}}return V}function deserializeDictionaryType(A,d,p,C,S){const v=d.type.value;if(!v||typeof v!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${C}`)}if(p){const d={};for(const T of Object.keys(p)){d[T]=A.deserialize(v,p[T],C,S)}return d}return p}function deserializeSequenceType(A,d,p,C,S){let v=d.type.element;if(!v||typeof v!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${C}`)}if(p){if(!Array.isArray(p)){p=[p]}if(v.type.name==="Composite"&&v.type.className){v=A.modelMappers[v.type.className]??v}const d=[];for(let T=0;T<p.length;T++){d[T]=A.deserialize(v,p[T],`${C}[${T}]`,S)}return d}return p}function getIndexDiscriminator(A,d,p){const C=[p];while(C.length){const p=C.shift();const S=d===p?d:p+"."+d;if(Object.prototype.hasOwnProperty.call(A,S)){return A[S]}else{for(const[d,S]of Object.entries(A)){if(d.startsWith(p+".")&&S.type.uberParent===p&&S.type.className){C.push(S.type.className)}}}}return undefined}function getPolymorphicMapper(A,d,p,C){const S=getPolymorphicDiscriminatorRecursively(A,d);if(S){let v=S[C];if(v){if(C==="serializedName"){v=v.replace(/\\/gi,"")}const S=p[v];const T=d.type.uberParent??d.type.className;if(typeof S==="string"&&T){const p=getIndexDiscriminator(A.modelMappers.discriminators,S,T);if(p){d=p}}}}return d}function getPolymorphicDiscriminatorRecursively(A,d){return d.type.polymorphicDiscriminator||getPolymorphicDiscriminatorSafely(A,d.type.uberParent)||getPolymorphicDiscriminatorSafely(A,d.type.className)}function getPolymorphicDiscriminatorSafely(A,d){return d&&A.modelMappers[d]&&A.modelMappers[d].type.polymorphicDiscriminator}d.MapperTypeNames={Base64Url:"Base64Url",Boolean:"Boolean",ByteArray:"ByteArray",Composite:"Composite",Date:"Date",DateTime:"DateTime",DateTimeRfc1123:"DateTimeRfc1123",Dictionary:"Dictionary",Enum:"Enum",Number:"Number",Object:"Object",Sequence:"Sequence",String:"String",Stream:"Stream",TimeSpan:"TimeSpan",UnixTime:"UnixTime"}},19299:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceClient=void 0;const C=p(81591);const S=p(18913);const v=p(76758);const T=p(39664);const _=p(56225);const V=p(56353);const Z=p(68299);const ee=p(45469);class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(A={}){this._requestContentType=A.requestContentType;this._endpoint=A.endpoint??A.baseUri;if(A.baseUri){ee.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=A.allowInsecureConnection;this._httpClient=A.httpClient||(0,T.getCachedDefaultHttpClient)();this.pipeline=A.pipeline||createDefaultPipeline(A);if(A.additionalPolicies?.length){for(const{policy:d,position:p}of A.additionalPolicies){const A=p==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(d,{afterPhase:A})}}}async sendRequest(A){return this.pipeline.sendRequest(this._httpClient,A)}async sendOperationRequest(A,d){const p=d.baseUrl||this._endpoint;if(!p){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 S=(0,V.getRequestUrl)(p,d,A,this);const T=(0,C.createPipelineRequest)({url:S});T.method=d.httpMethod;const ee=(0,_.getOperationRequestInfo)(T);ee.operationSpec=d;ee.operationArguments=A;const te=d.contentType||this._requestContentType;if(te&&d.requestBody){T.headers.set("Content-Type",te)}const re=A.options;if(re){const A=re.requestOptions;if(A){if(A.timeout){T.timeout=A.timeout}if(A.onUploadProgress){T.onUploadProgress=A.onUploadProgress}if(A.onDownloadProgress){T.onDownloadProgress=A.onDownloadProgress}if(A.shouldDeserialize!==undefined){ee.shouldDeserialize=A.shouldDeserialize}if(A.allowInsecureConnection){T.allowInsecureConnection=true}}if(re.abortSignal){T.abortSignal=re.abortSignal}if(re.tracingOptions){T.tracingOptions=re.tracingOptions}}if(this._allowInsecureConnection){T.allowInsecureConnection=true}if(T.streamResponseStatusCodes===undefined){T.streamResponseStatusCodes=(0,Z.getStreamingResponseStatusCodes)(d)}try{const A=await this.sendRequest(T);const p=(0,v.flattenResponse)(A,d.responses[A.status]);if(re?.onResponse){re.onResponse(A,p)}return p}catch(A){if(typeof A==="object"&&A?.response){const p=A.response;const C=(0,v.flattenResponse)(p,d.responses[A.statusCode]||d.responses["default"]);A.details=C;if(re?.onResponse){re.onResponse(p,C,A)}}throw A}}}d.ServiceClient=ServiceClient;function createDefaultPipeline(A){const d=getCredentialScopes(A);const p=A.credential&&d?{credentialScopes:d,credential:A.credential}:undefined;return(0,S.createClientPipeline)({...A,credentialOptions:p})}function getCredentialScopes(A){if(A.credentialScopes){return A.credentialScopes}if(A.endpoint){return`${A.endpoint}/.default`}if(A.baseUri){return`${A.baseUri}/.default`}if(A.credential&&!A.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},29582:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.state=void 0;d.state={operationRequestMap:new WeakMap}},56353:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRequestUrl=getRequestUrl;d.appendQueryParams=appendQueryParams;const C=p(56225);const S=p(68299);const v={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(A,d,p,C){const S=calculateUrlReplacements(d,p,C);let v=false;let T=replaceAll(A,S);if(d.path){let A=replaceAll(d.path,S);if(d.path==="/{nextLink}"&&A.startsWith("/")){A=A.substring(1)}if(isAbsoluteUrl(A)){T=A;v=true}else{T=appendPath(T,A)}}const{queryParams:_,sequenceParams:V}=calculateQueryParameters(d,p,C);T=appendQueryParams(T,_,V,v);return T}function replaceAll(A,d){let p=A;for(const[A,C]of d){p=p.split(A).join(C)}return p}function calculateUrlReplacements(A,d,p){const v=new Map;if(A.urlParameters?.length){for(const T of A.urlParameters){let _=(0,C.getOperationArgumentValueFromParameter)(d,T,p);const V=(0,S.getPathStringFromParameter)(T);_=A.serializer.serialize(T.mapper,_,V);if(!T.skipEncoding){_=encodeURIComponent(_)}v.set(`{${T.mapper.serializedName||V}}`,_)}}return v}function isAbsoluteUrl(A){return A.includes("://")}function appendPath(A,d){if(!d){return A}const p=new URL(A);let C=p.pathname;if(!C.endsWith("/")){C=`${C}/`}if(d.startsWith("/")){d=d.substring(1)}const S=d.indexOf("?");if(S!==-1){const A=d.substring(0,S);const v=d.substring(S+1);C=C+A;if(v){p.search=p.search?`${p.search}&${v}`:v}}else{C=C+d}p.pathname=C;return p.toString()}function calculateQueryParameters(A,d,p){const T=new Map;const _=new Set;if(A.queryParameters?.length){for(const V of A.queryParameters){if(V.mapper.type.name==="Sequence"&&V.mapper.serializedName){_.add(V.mapper.serializedName)}let Z=(0,C.getOperationArgumentValueFromParameter)(d,V,p);if(Z!==undefined&&Z!==null||V.mapper.required){Z=A.serializer.serialize(V.mapper,Z,(0,S.getPathStringFromParameter)(V));const d=V.collectionFormat?v[V.collectionFormat]:"";if(Array.isArray(Z)){Z=Z.map((A=>{if(A===null||A===undefined){return""}return A}))}if(V.collectionFormat==="Multi"&&Z.length===0){continue}else if(Array.isArray(Z)&&(V.collectionFormat==="SSV"||V.collectionFormat==="TSV")){Z=Z.join(d)}if(!V.skipEncoding){if(Array.isArray(Z)){Z=Z.map((A=>encodeURIComponent(A)))}else{Z=encodeURIComponent(Z)}}if(Array.isArray(Z)&&(V.collectionFormat==="CSV"||V.collectionFormat==="Pipes")){Z=Z.join(d)}T.set(V.mapper.serializedName||(0,S.getPathStringFromParameter)(V),Z)}}}return{queryParams:T,sequenceParams:_}}function simpleParseQueryParams(A){const d=new Map;if(!A||A[0]!=="?"){return d}A=A.slice(1);const p=A.split("&");for(const A of p){const[p,C]=A.split("=",2);const S=d.get(p);if(S){if(Array.isArray(S)){S.push(C)}else{d.set(p,[S,C])}}else{d.set(p,C)}}return d}function appendQueryParams(A,d,p,C=false){if(d.size===0){return A}const S=new URL(A);const v=simpleParseQueryParams(S.search);for(const[A,S]of d){const d=v.get(A);if(Array.isArray(d)){if(Array.isArray(S)){d.push(...S);const p=new Set(d);v.set(A,Array.from(p))}else{d.push(S)}}else if(d){if(Array.isArray(S)){S.unshift(d)}else if(p.has(A)){v.set(A,[d,S])}if(!C){v.set(A,S)}}else{v.set(A,S)}}const T=[];for(const[A,d]of v){if(typeof d==="string"){T.push(`${A}=${d}`)}else if(Array.isArray(d)){for(const p of d){T.push(`${A}=${p}`)}}else{T.push(`${A}=${d}`)}}S.search=T.length?`?${T.join("&")}`:"";return S.toString()}},76758:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isPrimitiveBody=isPrimitiveBody;d.isDuration=isDuration;d.isValidUuid=isValidUuid;d.flattenResponse=flattenResponse;function isPrimitiveBody(A,d){return d!=="Composite"&&d!=="Dictionary"&&(typeof A==="string"||typeof A==="number"||typeof A==="boolean"||d?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||A===undefined||A===null)}const p=/^(-|\+)?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(A){return p.test(A)}const C=/^[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(A){return C.test(A)}function handleNullableResponseAndWrappableBody(A){const d={...A.headers,...A.body};if(A.hasNullableType&&Object.getOwnPropertyNames(d).length===0){return A.shouldWrapBody?{body:null}:null}else{return A.shouldWrapBody?{...A.headers,body:A.body}:d}}function flattenResponse(A,d){const p=A.parsedHeaders;if(A.request.method==="HEAD"){return{...p,body:A.parsedBody}}const C=d&&d.bodyMapper;const S=Boolean(C?.nullable);const v=C?.type.name;if(v==="Stream"){return{...p,blobBody:A.blobBody,readableStreamBody:A.readableStreamBody}}const T=v==="Composite"&&C.type.modelProperties||{};const _=Object.keys(T).some((A=>T[A].serializedName===""));if(v==="Sequence"||_){const d=A.parsedBody??[];for(const p of Object.keys(T)){if(T[p].serializedName){d[p]=A.parsedBody?.[p]}}if(p){for(const A of Object.keys(p)){d[A]=p[A]}}return S&&!A.parsedBody&&!p&&Object.getOwnPropertyNames(T).length===0?null:d}return handleNullableResponseAndWrappableBody({body:A.parsedBody,headers:p,hasNullableType:S,shouldWrapBody:isPrimitiveBody(A.parsedBody,v)})}},91364:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ExtendedServiceClient=void 0;const C=p(49855);const S=p(81591);const v=p(99307);const T=p(52809);class ExtendedServiceClient extends v.ServiceClient{constructor(A){super(A);if(A.keepAliveOptions?.enable===false&&!(0,C.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,C.createDisableKeepAlivePolicy)())}if(A.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:S.redirectPolicyName})}}async sendOperationRequest(A,d){const p=A?.options?.onResponse;let C;function onResponse(A,d,S){C=A;if(p){p(A,d,S)}}A.options={...A.options,onResponse:onResponse};const S=await super.sendOperationRequest(A,d);if(C){Object.defineProperty(S,"_response",{value:(0,T.toCompatResponse)(C)})}return S}}d.ExtendedServiceClient=ExtendedServiceClient},52510:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.convertHttpClient=convertHttpClient;const C=p(52809);const S=p(93722);function convertHttpClient(A){return{sendRequest:async d=>{const p=await A.sendRequest((0,S.toWebResourceLike)(d,{createProxy:true}));return(0,C.toPipelineResponse)(p)}}}},80976:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toHttpHeadersLike=d.convertHttpClient=d.disableKeepAlivePolicyName=d.HttpPipelineLogLevel=d.createRequestPolicyFactoryPolicy=d.requestPolicyFactoryPolicyName=d.ExtendedServiceClient=void 0;var C=p(91364);Object.defineProperty(d,"ExtendedServiceClient",{enumerable:true,get:function(){return C.ExtendedServiceClient}});var S=p(96522);Object.defineProperty(d,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return S.requestPolicyFactoryPolicyName}});Object.defineProperty(d,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return S.createRequestPolicyFactoryPolicy}});Object.defineProperty(d,"HttpPipelineLogLevel",{enumerable:true,get:function(){return S.HttpPipelineLogLevel}});var v=p(49855);Object.defineProperty(d,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return v.disableKeepAlivePolicyName}});var T=p(52510);Object.defineProperty(d,"convertHttpClient",{enumerable:true,get:function(){return T.convertHttpClient}});var _=p(93722);Object.defineProperty(d,"toHttpHeadersLike",{enumerable:true,get:function(){return _.toHttpHeadersLike}})},49855:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.disableKeepAlivePolicyName=void 0;d.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;d.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy;d.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:d.disableKeepAlivePolicyName,async sendRequest(A,d){A.disableKeepAlive=true;return d(A)}}}function pipelineContainsDisableKeepAlivePolicy(A){return A.getOrderedPolicies().some((A=>A.name===d.disableKeepAlivePolicyName))}},96522:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.requestPolicyFactoryPolicyName=d.HttpPipelineLogLevel=void 0;d.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy;const C=p(93722);const S=p(52809);var v;(function(A){A[A["ERROR"]=1]="ERROR";A[A["INFO"]=3]="INFO";A[A["OFF"]=0]="OFF";A[A["WARNING"]=2]="WARNING"})(v||(d.HttpPipelineLogLevel=v={}));const T={log(A,d){},shouldLog(A){return false}};d.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(A){const p=A.slice().reverse();return{name:d.requestPolicyFactoryPolicyName,async sendRequest(A,d){let v={async sendRequest(A){const p=await d((0,C.toPipelineRequest)(A));return(0,S.toCompatResponse)(p,{createProxy:true})}};for(const A of p){v=A.create(v,T)}const _=(0,C.toWebResourceLike)(A,{createProxy:true});const V=await v.sendRequest(_);return(0,S.toPipelineResponse)(V)}}}},52809:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCompatResponse=toCompatResponse;d.toPipelineResponse=toPipelineResponse;const C=p(81591);const S=p(93722);const v=Symbol("Original FullOperationResponse");function toCompatResponse(A,d){let p=(0,S.toWebResourceLike)(A.request);let C=(0,S.toHttpHeadersLike)(A.headers);if(d?.createProxy){return new Proxy(A,{get(d,S,T){if(S==="headers"){return C}else if(S==="request"){return p}else if(S===v){return A}return Reflect.get(d,S,T)},set(A,d,S,v){if(d==="headers"){C=S}else if(d==="request"){p=S}return Reflect.set(A,d,S,v)}})}else{return{...A,request:p,headers:C}}}function toPipelineResponse(A){const d=A;const p=d[v];const T=(0,C.createHttpHeaders)(A.headers.toJson({preserveCase:true}));if(p){p.headers=T;return p}else{return{...A,headers:T,request:(0,S.toPipelineRequest)(A.request)}}}},93722:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.HttpHeaders=void 0;d.toPipelineRequest=toPipelineRequest;d.toWebResourceLike=toWebResourceLike;d.toHttpHeadersLike=toHttpHeadersLike;const C=p(81591);const S=Symbol("Original PipelineRequest");const v=Symbol.for("@azure/core-client original request");function toPipelineRequest(A,d={}){const p=A;const T=p[S];const _=(0,C.createHttpHeaders)(A.headers.toJson({preserveCase:true}));if(T){T.headers=_;return T}else{const p=(0,C.createPipelineRequest)({url:A.url,method:A.method,headers:_,withCredentials:A.withCredentials,timeout:A.timeout,requestId:A.requestId,abortSignal:A.abortSignal,body:A.body,formData:A.formData,disableKeepAlive:!!A.keepAlive,onDownloadProgress:A.onDownloadProgress,onUploadProgress:A.onUploadProgress,proxySettings:A.proxySettings,streamResponseStatusCodes:A.streamResponseStatusCodes,agent:A.agent,requestOverrides:A.requestOverrides});if(d.originalRequest){p[v]=d.originalRequest}return p}}function toWebResourceLike(A,d){const p=d?.originalRequest??A;const C={url:A.url,method:A.method,headers:toHttpHeadersLike(A.headers),withCredentials:A.withCredentials,timeout:A.timeout,requestId:A.headers.get("x-ms-client-request-id")||A.requestId,abortSignal:A.abortSignal,body:A.body,formData:A.formData,keepAlive:!!A.disableKeepAlive,onDownloadProgress:A.onDownloadProgress,onUploadProgress:A.onUploadProgress,proxySettings:A.proxySettings,streamResponseStatusCodes:A.streamResponseStatusCodes,agent:A.agent,requestOverrides:A.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(d?.createProxy){return new Proxy(C,{get(d,v,T){if(v===S){return A}else if(v==="clone"){return()=>toWebResourceLike(toPipelineRequest(C,{originalRequest:p}),{createProxy:true,originalRequest:p})}return Reflect.get(d,v,T)},set(d,p,C,S){if(p==="keepAlive"){A.disableKeepAlive=!C}const v=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof p==="string"&&v.includes(p)){A[p]=C}return Reflect.set(d,p,C,S)}})}else{return C}}function toHttpHeadersLike(A){return new HttpHeaders(A.toJSON({preserveCase:true}))}function getHeaderKey(A){return A.toLowerCase()}class HttpHeaders{_headersMap;constructor(A){this._headersMap={};if(A){for(const d in A){this.set(d,A[d])}}}set(A,d){this._headersMap[getHeaderKey(A)]={name:A,value:d.toString()}}get(A){const d=this._headersMap[getHeaderKey(A)];return!d?undefined:d.value}contains(A){return!!this._headersMap[getHeaderKey(A)]}remove(A){const d=this.contains(A);delete this._headersMap[getHeaderKey(A)];return d}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const A=[];for(const d in this._headersMap){A.push(this._headersMap[d])}return A}headerNames(){const A=[];const d=this.headersArray();for(let p=0;p<d.length;++p){A.push(d[p].name)}return A}headerValues(){const A=[];const d=this.headersArray();for(let p=0;p<d.length;++p){A.push(d[p].value)}return A}toJson(A={}){const d={};if(A.preserveCase){for(const A in this._headersMap){const p=this._headersMap[A];d[p.name]=p.value}}else{for(const A in this._headersMap){const p=this._headersMap[A];d[getHeaderKey(p.name)]=p.value}}return d}toString(){return JSON.stringify(this.toJson({preserveCase:true}))}clone(){const A={};for(const d in this._headersMap){const p=this._headersMap[d];A[p.name]=p.value}return new HttpHeaders(A)}}d.HttpHeaders=HttpHeaders},19733:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.pollHttpOperation=d.isOperationError=d.getResourceLocation=d.getOperationStatus=d.getOperationLocation=d.initHttpOperation=d.getStatusFromInitialResponse=d.getErrorFromResponse=d.parseRetryAfter=d.inferLroMode=void 0;const C=p(60459);const S=p(40567);function getOperationLocationPollingUrl(A){const{azureAsyncOperation:d,operationLocation:p}=A;return p!==null&&p!==void 0?p:d}function getLocationHeader(A){return A.headers["location"]}function getOperationLocationHeader(A){return A.headers["operation-location"]}function getAzureAsyncOperationHeader(A){return A.headers["azure-asyncoperation"]}function findResourceLocation(A){var d;const{location:p,requestMethod:C,requestPath:S,resourceLocationConfig:v}=A;switch(C){case"PUT":{return S}case"DELETE":{return undefined}case"PATCH":{return(d=getDefault())!==null&&d!==void 0?d:S}default:{return getDefault()}}function getDefault(){switch(v){case"azure-async-operation":{return undefined}case"original-uri":{return S}case"location":default:{return p}}}}function inferLroMode(A){const{rawResponse:d,requestMethod:p,requestPath:C,resourceLocationConfig:S}=A;const v=getOperationLocationHeader(d);const T=getAzureAsyncOperationHeader(d);const _=getOperationLocationPollingUrl({operationLocation:v,azureAsyncOperation:T});const V=getLocationHeader(d);const Z=p===null||p===void 0?void 0:p.toLocaleUpperCase();if(_!==undefined){return{mode:"OperationLocation",operationLocation:_,resourceLocation:findResourceLocation({requestMethod:Z,location:V,requestPath:C,resourceLocationConfig:S})}}else if(V!==undefined){return{mode:"ResourceLocation",operationLocation:V}}else if(Z==="PUT"&&C){return{mode:"Body",operationLocation:C}}else{return undefined}}d.inferLroMode=inferLroMode;function transformStatus(A){const{status:d,statusCode:p}=A;if(typeof d!=="string"&&d!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${d}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(d===null||d===void 0?void 0:d.toLocaleLowerCase()){case undefined:return toOperationStatus(p);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:{S.logger.verbose(`LRO: unrecognized operation status: ${d}`);return d}}}function getStatus(A){var d;const{status:p}=(d=A.body)!==null&&d!==void 0?d:{};return transformStatus({status:p,statusCode:A.statusCode})}function getProvisioningState(A){var d,p;const{properties:C,provisioningState:S}=(d=A.body)!==null&&d!==void 0?d:{};const v=(p=C===null||C===void 0?void 0:C.provisioningState)!==null&&p!==void 0?p:S;return transformStatus({status:v,statusCode:A.statusCode})}function toOperationStatus(A){if(A===202){return"running"}else if(A<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:A}){const d=A.headers["retry-after"];if(d!==undefined){const A=parseInt(d);return isNaN(A)?calculatePollingIntervalFromDate(new Date(d)):A*1e3}return undefined}d.parseRetryAfter=parseRetryAfter;function getErrorFromResponse(A){const d=accessBodyProperty(A,"error");if(!d){S.logger.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!d.code||!d.message){S.logger.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return d}d.getErrorFromResponse=getErrorFromResponse;function calculatePollingIntervalFromDate(A){const d=Math.floor((new Date).getTime());const p=A.getTime();if(d<p){return p-d}return undefined}function getStatusFromInitialResponse(A){const{response:d,state:p,operationLocation:C}=A;function helper(){var A;const C=(A=p.config.metadata)===null||A===void 0?void 0:A["mode"];switch(C){case undefined:return toOperationStatus(d.rawResponse.statusCode);case"Body":return getOperationStatus(d,p);default:return"running"}}const S=helper();return S==="running"&&C===undefined?"succeeded":S}d.getStatusFromInitialResponse=getStatusFromInitialResponse;async function initHttpOperation(A){const{stateProxy:d,resourceLocationConfig:p,processResult:S,lro:v,setErrorAsResult:T}=A;return(0,C.initOperation)({init:async()=>{const A=await v.sendInitialRequest();const d=inferLroMode({rawResponse:A.rawResponse,requestPath:v.requestPath,requestMethod:v.requestMethod,resourceLocationConfig:p});return Object.assign({response:A,operationLocation:d===null||d===void 0?void 0:d.operationLocation,resourceLocation:d===null||d===void 0?void 0:d.resourceLocation},(d===null||d===void 0?void 0:d.mode)?{metadata:{mode:d.mode}}:{})},stateProxy:d,processResult:S?({flatResponse:A},d)=>S(A,d):({flatResponse:A})=>A,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:T})}d.initHttpOperation=initHttpOperation;function getOperationLocation({rawResponse:A},d){var p;const C=(p=d.config.metadata)===null||p===void 0?void 0:p["mode"];switch(C){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(A),azureAsyncOperation:getAzureAsyncOperationHeader(A)})}case"ResourceLocation":{return getLocationHeader(A)}case"Body":default:{return undefined}}}d.getOperationLocation=getOperationLocation;function getOperationStatus({rawResponse:A},d){var p;const C=(p=d.config.metadata)===null||p===void 0?void 0:p["mode"];switch(C){case"OperationLocation":{return getStatus(A)}case"ResourceLocation":{return toOperationStatus(A.statusCode)}case"Body":{return getProvisioningState(A)}default:throw new Error(`Internal error: Unexpected operation mode: ${C}`)}}d.getOperationStatus=getOperationStatus;function accessBodyProperty({flatResponse:A,rawResponse:d},p){var C,S;return(C=A===null||A===void 0?void 0:A[p])!==null&&C!==void 0?C:(S=d.body)===null||S===void 0?void 0:S[p]}function getResourceLocation(A,d){const p=accessBodyProperty(A,"resourceLocation");if(p&&typeof p==="string"){d.config.resourceLocation=p}return d.config.resourceLocation}d.getResourceLocation=getResourceLocation;function isOperationError(A){return A.name==="RestError"}d.isOperationError=isOperationError;async function pollHttpOperation(A){const{lro:d,stateProxy:p,options:S,processResult:v,updateState:T,setDelay:_,state:V,setErrorAsResult:Z}=A;return(0,C.pollOperation)({state:V,stateProxy:p,setDelay:_,processResult:v?({flatResponse:A},d)=>v(A,d):({flatResponse:A})=>A,getError:getErrorFromResponse,updateState:T,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:S,poll:async(A,p)=>d.sendPollRequest(A,p),setErrorAsResult:Z})}d.pollHttpOperation=pollHttpOperation},99376:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpPoller=void 0;const C=p(19733);const S=p(63538);async function createHttpPoller(A,d){const{resourceLocationConfig:p,intervalInMs:v,processResult:T,restoreFrom:_,updateState:V,withOperationLocation:Z,resolveOnUnsuccessful:ee=false}=d||{};return(0,S.buildCreatePoller)({getStatusFromInitialResponse:C.getStatusFromInitialResponse,getStatusFromPollResponse:C.getOperationStatus,isOperationError:C.isOperationError,getOperationLocation:C.getOperationLocation,getResourceLocation:C.getResourceLocation,getPollingInterval:C.parseRetryAfter,getError:C.getErrorFromResponse,resolveOnUnsuccessful:ee})({init:async()=>{const d=await A.sendInitialRequest();const S=(0,C.inferLroMode)({rawResponse:d.rawResponse,requestPath:A.requestPath,requestMethod:A.requestMethod,resourceLocationConfig:p});return Object.assign({response:d,operationLocation:S===null||S===void 0?void 0:S.operationLocation,resourceLocation:S===null||S===void 0?void 0:S.resourceLocation},(S===null||S===void 0?void 0:S.mode)?{metadata:{mode:S.mode}}:{})},poll:A.sendPollRequest},{intervalInMs:v,withOperationLocation:Z,restoreFrom:_,updateState:V,processResult:T?({flatResponse:A},d)=>T(A,d):({flatResponse:A})=>A})}d.createHttpPoller=createHttpPoller},61311:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpPoller=void 0;const C=p(67892);var S=p(99376);Object.defineProperty(d,"createHttpPoller",{enumerable:true,get:function(){return S.createHttpPoller}});C.__exportStar(p(28013),d);C.__exportStar(p(12581),d);C.__exportStar(p(34693),d)},28013:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.LroEngine=void 0;var C=p(89020);Object.defineProperty(d,"LroEngine",{enumerable:true,get:function(){return C.LroEngine}})},89020:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.LroEngine=void 0;const C=p(58e3);const S=p(8831);const v=p(12581);const T=p(60459);class LroEngine extends v.Poller{constructor(A,d){const{intervalInMs:p=S.POLL_INTERVAL_IN_MS,resumeFrom:v,resolveOnUnsuccessful:_=false,isDone:V,lroResourceLocationConfig:Z,processResult:ee,updateState:te}=d||{};const re=v?(0,T.deserializeState)(v):{};const ne=new C.GenericPollOperation(re,A,!_,Z,ee,te,V);super(ne);this.resolveOnUnsuccessful=_;this.config={intervalInMs:p};ne.setPollerConfig(this.config)}delay(){return new Promise((A=>setTimeout((()=>A()),this.config.intervalInMs)))}}d.LroEngine=LroEngine},58e3:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.GenericPollOperation=void 0;const C=p(19733);const S=p(40567);const createStateProxy=()=>({initState:A=>({config:A,isStarted:true}),setCanceled:A=>A.isCancelled=true,setError:(A,d)=>A.error=d,setResult:(A,d)=>A.result=d,setRunning:A=>A.isStarted=true,setSucceeded:A=>A.isCompleted=true,setFailed:()=>{},getError:A=>A.error,getResult:A=>A.result,isCanceled:A=>!!A.isCancelled,isFailed:A=>!!A.error,isRunning:A=>!!A.isStarted,isSucceeded:A=>Boolean(A.isCompleted&&!A.isCancelled&&!A.error)});class GenericPollOperation{constructor(A,d,p,C,S,v,T){this.state=A;this.lro=d;this.setErrorAsResult=p;this.lroResourceLocationConfig=C;this.processResult=S;this.updateState=v;this.isDone=T}setPollerConfig(A){this.pollerConfig=A}async update(A){var d;const p=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await(0,C.initHttpOperation)({lro:this.lro,stateProxy:p,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const S=this.updateState;const v=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await(0,C.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:p,processResult:this.processResult,updateState:S?(A,{rawResponse:d})=>S(A,d):undefined,isDone:v?({flatResponse:A},d)=>v(A,d):undefined,options:A,setDelay:A=>{this.pollerConfig.intervalInMs=A},setErrorAsResult:this.setErrorAsResult})}(d=A===null||A===void 0?void 0:A.fireProgress)===null||d===void 0?void 0:d.call(A,this.state);return this}async cancel(){S.logger.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}d.GenericPollOperation=GenericPollOperation},34693:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},12581:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Poller=d.PollerCancelledError=d.PollerStoppedError=void 0;class PollerStoppedError extends Error{constructor(A){super(A);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}d.PollerStoppedError=PollerStoppedError;class PollerCancelledError extends Error{constructor(A){super(A);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}d.PollerCancelledError=PollerCancelledError;class Poller{constructor(A){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=A;this.promise=new Promise(((A,d)=>{this.resolve=A;this.reject=d}));this.promise.catch((()=>{}))}async startPolling(A={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(A);await this.delay()}}async pollOnce(A={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:A.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(A){for(const d of this.pollProgressCallbacks){d(A)}}async cancelOnce(A={}){this.operation=await this.operation.cancel(A)}poll(A={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(A);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 A=new PollerCancelledError("Operation was canceled");this.reject(A);throw A}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(A={}){if(this.stopped){this.startPolling(A).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(A){this.pollProgressCallbacks.push(A);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((d=>d!==A))}}isDone(){const A=this.operation.state;return Boolean(A.isCompleted||A.isCancelled||A.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(A={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(A)}else if(A.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const A=this.operation.state;return A.result}toString(){return this.operation.toString()}}d.Poller=Poller},40567:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const C=p(2764);d.logger=(0,C.createClientLogger)("core-lro")},8831:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.terminalStates=d.POLL_INTERVAL_IN_MS=void 0;d.POLL_INTERVAL_IN_MS=2e3;d.terminalStates=["succeeded","canceled","failed"]},60459:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.pollOperation=d.initOperation=d.deserializeState=void 0;const C=p(40567);const S=p(8831);function deserializeState(A){try{return JSON.parse(A).state}catch(d){throw new Error(`Unable to deserialize input state: ${A}`)}}d.deserializeState=deserializeState;function setStateError(A){const{state:d,stateProxy:p,isOperationError:C}=A;return A=>{if(C(A)){p.setError(d,A);p.setFailed(d)}throw A}}function appendReadableErrorMessage(A,d){let p=A;if(p.slice(-1)!=="."){p=p+"."}return p+" "+d}function simplifyError(A){let d=A.message;let p=A.code;let C=A;while(C.innererror){C=C.innererror;p=C.code;d=appendReadableErrorMessage(d,C.message)}return{code:p,message:d}}function processOperationStatus(A){const{state:d,stateProxy:p,status:S,isDone:v,processResult:T,getError:_,response:V,setErrorAsResult:Z}=A;switch(S){case"succeeded":{p.setSucceeded(d);break}case"failed":{const A=_===null||_===void 0?void 0:_(V);let S="";if(A){const{code:d,message:p}=simplifyError(A);S=`. ${d}. ${p}`}const v=`The long-running operation has failed${S}`;p.setError(d,new Error(v));p.setFailed(d);C.logger.warning(v);break}case"canceled":{p.setCanceled(d);break}}if((v===null||v===void 0?void 0:v(V,d))||v===undefined&&["succeeded","canceled"].concat(Z?[]:["failed"]).includes(S)){p.setResult(d,buildResult({response:V,state:d,processResult:T}))}}function buildResult(A){const{processResult:d,response:p,state:C}=A;return d?d(p,C):p}async function initOperation(A){const{init:d,stateProxy:p,processResult:S,getOperationStatus:v,withOperationLocation:T,setErrorAsResult:_}=A;const{operationLocation:V,resourceLocation:Z,metadata:ee,response:te}=await d();if(V)T===null||T===void 0?void 0:T(V,false);const re={metadata:ee,operationLocation:V,resourceLocation:Z};C.logger.verbose(`LRO: Operation description:`,re);const ne=p.initState(re);const ie=v({response:te,state:ne,operationLocation:V});processOperationStatus({state:ne,status:ie,stateProxy:p,response:te,setErrorAsResult:_,processResult:S});return ne}d.initOperation=initOperation;async function pollOperationHelper(A){const{poll:d,state:p,stateProxy:v,operationLocation:T,getOperationStatus:_,getResourceLocation:V,isOperationError:Z,options:ee}=A;const te=await d(T,ee).catch(setStateError({state:p,stateProxy:v,isOperationError:Z}));const re=_(te,p);C.logger.verbose(`LRO: Status:\n\tPolling from: ${p.config.operationLocation}\n\tOperation status: ${re}\n\tPolling status: ${S.terminalStates.includes(re)?"Stopped":"Running"}`);if(re==="succeeded"){const A=V(te,p);if(A!==undefined){return{response:await d(A).catch(setStateError({state:p,stateProxy:v,isOperationError:Z})),status:re}}}return{response:te,status:re}}async function pollOperation(A){const{poll:d,state:p,stateProxy:C,options:v,getOperationStatus:T,getResourceLocation:_,getOperationLocation:V,isOperationError:Z,withOperationLocation:ee,getPollingInterval:te,processResult:re,getError:ne,updateState:ie,setDelay:se,isDone:oe,setErrorAsResult:ae}=A;const{operationLocation:le}=p.config;if(le!==undefined){const{response:A,status:ce}=await pollOperationHelper({poll:d,getOperationStatus:T,state:p,stateProxy:C,operationLocation:le,getResourceLocation:_,isOperationError:Z,options:v});processOperationStatus({status:ce,response:A,state:p,stateProxy:C,isDone:oe,processResult:re,getError:ne,setErrorAsResult:ae});if(!S.terminalStates.includes(ce)){const d=te===null||te===void 0?void 0:te(A);if(d)se(d);const C=V===null||V===void 0?void 0:V(A,p);if(C!==undefined){const A=le!==C;p.config.operationLocation=C;ee===null||ee===void 0?void 0:ee(C,A)}else ee===null||ee===void 0?void 0:ee(le,false)}ie===null||ie===void 0?void 0:ie(p,A)}}d.pollOperation=pollOperation},63538:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildCreatePoller=void 0;const C=p(60459);const S=p(8831);const v=p(33e3);const createStateProxy=()=>({initState:A=>({status:"running",config:A}),setCanceled:A=>A.status="canceled",setError:(A,d)=>A.error=d,setResult:(A,d)=>A.result=d,setRunning:A=>A.status="running",setSucceeded:A=>A.status="succeeded",setFailed:A=>A.status="failed",getError:A=>A.error,getResult:A=>A.result,isCanceled:A=>A.status==="canceled",isFailed:A=>A.status==="failed",isRunning:A=>A.status==="running",isSucceeded:A=>A.status==="succeeded"});function buildCreatePoller(A){const{getOperationLocation:d,getStatusFromInitialResponse:p,getStatusFromPollResponse:T,isOperationError:_,getResourceLocation:V,getPollingInterval:Z,getError:ee,resolveOnUnsuccessful:te}=A;return async({init:A,poll:re},ne)=>{const{processResult:ie,updateState:se,withOperationLocation:oe,intervalInMs:ae=S.POLL_INTERVAL_IN_MS,restoreFrom:le}=ne||{};const ce=createStateProxy();const ue=oe?(()=>{let A=false;return(d,p)=>{if(p)oe(d);else if(!A)oe(d);A=true}})():undefined;const Ae=le?(0,C.deserializeState)(le):await(0,C.initOperation)({init:A,stateProxy:ce,processResult:ie,getOperationStatus:p,withOperationLocation:ue,setErrorAsResult:!te});let de;const pe=new AbortController;const fe=new Map;const handleProgressEvents=async()=>fe.forEach((A=>A(Ae)));const he="Operation was canceled";let ge=ae;const me={getOperationState:()=>Ae,getResult:()=>Ae.result,isDone:()=>["succeeded","failed","canceled"].includes(Ae.status),isStopped:()=>de===undefined,stopPolling:()=>{pe.abort()},toString:()=>JSON.stringify({state:Ae}),onProgress:A=>{const d=Symbol();fe.set(d,A);return()=>fe.delete(d)},pollUntilDone:A=>de!==null&&de!==void 0?de:de=(async()=>{const{abortSignal:d}=A||{};function abortListener(){pe.abort()}const p=pe.signal;if(d===null||d===void 0?void 0:d.aborted){pe.abort()}else if(!p.aborted){d===null||d===void 0?void 0:d.addEventListener("abort",abortListener,{once:true})}try{if(!me.isDone()){await me.poll({abortSignal:p});while(!me.isDone()){await(0,v.delay)(ge,{abortSignal:p});await me.poll({abortSignal:p})}}}finally{d===null||d===void 0?void 0:d.removeEventListener("abort",abortListener)}if(te){return me.getResult()}else{switch(Ae.status){case"succeeded":return me.getResult();case"canceled":throw new Error(he);case"failed":throw Ae.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{de=undefined})),async poll(A){if(te){if(me.isDone())return}else{switch(Ae.status){case"succeeded":return;case"canceled":throw new Error(he);case"failed":throw Ae.error}}await(0,C.pollOperation)({poll:re,state:Ae,stateProxy:ce,getOperationLocation:d,isOperationError:_,withOperationLocation:ue,getPollingInterval:Z,getOperationStatus:T,getResourceLocation:V,processResult:ie,getError:ee,updateState:se,options:A,setDelay:A=>{ge=A},setErrorAsResult:!te});await handleProgressEvents();if(!te){switch(Ae.status){case"canceled":throw new Error(he);case"failed":throw Ae.error}}}};return me}}d.buildCreatePoller=buildCreatePoller},4154:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_RETRY_POLICY_COUNT=d.SDK_VERSION=void 0;d.SDK_VERSION="1.22.2";d.DEFAULT_RETRY_POLICY_COUNT=3},45179:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineFromOptions=createPipelineFromOptions;const C=p(37454);const S=p(23357);const v=p(34126);const T=p(69184);const _=p(23560);const V=p(62926);const Z=p(7671);const ee=p(52768);const te=p(33e3);const re=p(11164);const ne=p(59155);const ie=p(24429);const se=p(64581);const oe=p(83438);const ae=p(11193);function createPipelineFromOptions(A){const d=(0,S.createEmptyPipeline)();if(te.isNodeLike){if(A.agent){d.addPolicy((0,ie.agentPolicy)(A.agent))}if(A.tlsOptions){d.addPolicy((0,se.tlsPolicy)(A.tlsOptions))}d.addPolicy((0,re.proxyPolicy)(A.proxyOptions));d.addPolicy((0,V.decompressResponsePolicy)())}d.addPolicy((0,ae.wrapAbortSignalLikePolicy)());d.addPolicy((0,ee.formDataPolicy)(),{beforePolicies:[_.multipartPolicyName]});d.addPolicy((0,T.userAgentPolicy)(A.userAgentOptions));d.addPolicy((0,ne.setClientRequestIdPolicy)(A.telemetryOptions?.clientRequestIdHeaderName));d.addPolicy((0,_.multipartPolicy)(),{afterPhase:"Deserialize"});d.addPolicy((0,Z.defaultRetryPolicy)(A.retryOptions),{phase:"Retry"});d.addPolicy((0,oe.tracingPolicy)({...A.userAgentOptions,...A.loggingOptions}),{afterPhase:"Retry"});if(te.isNodeLike){d.addPolicy((0,v.redirectPolicy)(A.redirectOptions),{afterPhase:"Retry"})}d.addPolicy((0,C.logPolicy)(A.loggingOptions),{afterPhase:"Sign"});return d}},96469:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultHttpClient=createDefaultHttpClient;const C=p(60957);const S=p(17310);function createDefaultHttpClient(){const A=(0,C.createDefaultHttpClient)();return{async sendRequest(d){const{abortSignal:p,cleanup:C}=d.abortSignal?(0,S.wrapAbortSignalLike)(d.abortSignal):{};try{d.abortSignal=p;return await A.sendRequest(d)}finally{C?.()}}}}},59033:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpHeaders=createHttpHeaders;const C=p(60957);function createHttpHeaders(A){return(0,C.createHttpHeaders)(A)}},81591:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createFileFromStream=d.createFile=d.agentPolicyName=d.agentPolicy=d.auxiliaryAuthenticationHeaderPolicyName=d.auxiliaryAuthenticationHeaderPolicy=d.ndJsonPolicyName=d.ndJsonPolicy=d.bearerTokenAuthenticationPolicyName=d.bearerTokenAuthenticationPolicy=d.formDataPolicyName=d.formDataPolicy=d.tlsPolicyName=d.tlsPolicy=d.userAgentPolicyName=d.userAgentPolicy=d.defaultRetryPolicy=d.tracingPolicyName=d.tracingPolicy=d.retryPolicy=d.throttlingRetryPolicyName=d.throttlingRetryPolicy=d.systemErrorRetryPolicyName=d.systemErrorRetryPolicy=d.redirectPolicyName=d.redirectPolicy=d.getDefaultProxySettings=d.proxyPolicyName=d.proxyPolicy=d.multipartPolicyName=d.multipartPolicy=d.logPolicyName=d.logPolicy=d.setClientRequestIdPolicyName=d.setClientRequestIdPolicy=d.exponentialRetryPolicyName=d.exponentialRetryPolicy=d.decompressResponsePolicyName=d.decompressResponsePolicy=d.isRestError=d.RestError=d.createPipelineRequest=d.createHttpHeaders=d.createDefaultHttpClient=d.createPipelineFromOptions=d.createEmptyPipeline=void 0;var C=p(23357);Object.defineProperty(d,"createEmptyPipeline",{enumerable:true,get:function(){return C.createEmptyPipeline}});var S=p(45179);Object.defineProperty(d,"createPipelineFromOptions",{enumerable:true,get:function(){return S.createPipelineFromOptions}});var v=p(96469);Object.defineProperty(d,"createDefaultHttpClient",{enumerable:true,get:function(){return v.createDefaultHttpClient}});var T=p(59033);Object.defineProperty(d,"createHttpHeaders",{enumerable:true,get:function(){return T.createHttpHeaders}});var _=p(14444);Object.defineProperty(d,"createPipelineRequest",{enumerable:true,get:function(){return _.createPipelineRequest}});var V=p(36155);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return V.RestError}});Object.defineProperty(d,"isRestError",{enumerable:true,get:function(){return V.isRestError}});var Z=p(62926);Object.defineProperty(d,"decompressResponsePolicy",{enumerable:true,get:function(){return Z.decompressResponsePolicy}});Object.defineProperty(d,"decompressResponsePolicyName",{enumerable:true,get:function(){return Z.decompressResponsePolicyName}});var ee=p(5745);Object.defineProperty(d,"exponentialRetryPolicy",{enumerable:true,get:function(){return ee.exponentialRetryPolicy}});Object.defineProperty(d,"exponentialRetryPolicyName",{enumerable:true,get:function(){return ee.exponentialRetryPolicyName}});var te=p(59155);Object.defineProperty(d,"setClientRequestIdPolicy",{enumerable:true,get:function(){return te.setClientRequestIdPolicy}});Object.defineProperty(d,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return te.setClientRequestIdPolicyName}});var re=p(37454);Object.defineProperty(d,"logPolicy",{enumerable:true,get:function(){return re.logPolicy}});Object.defineProperty(d,"logPolicyName",{enumerable:true,get:function(){return re.logPolicyName}});var ne=p(23560);Object.defineProperty(d,"multipartPolicy",{enumerable:true,get:function(){return ne.multipartPolicy}});Object.defineProperty(d,"multipartPolicyName",{enumerable:true,get:function(){return ne.multipartPolicyName}});var ie=p(11164);Object.defineProperty(d,"proxyPolicy",{enumerable:true,get:function(){return ie.proxyPolicy}});Object.defineProperty(d,"proxyPolicyName",{enumerable:true,get:function(){return ie.proxyPolicyName}});Object.defineProperty(d,"getDefaultProxySettings",{enumerable:true,get:function(){return ie.getDefaultProxySettings}});var se=p(34126);Object.defineProperty(d,"redirectPolicy",{enumerable:true,get:function(){return se.redirectPolicy}});Object.defineProperty(d,"redirectPolicyName",{enumerable:true,get:function(){return se.redirectPolicyName}});var oe=p(1431);Object.defineProperty(d,"systemErrorRetryPolicy",{enumerable:true,get:function(){return oe.systemErrorRetryPolicy}});Object.defineProperty(d,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return oe.systemErrorRetryPolicyName}});var ae=p(66495);Object.defineProperty(d,"throttlingRetryPolicy",{enumerable:true,get:function(){return ae.throttlingRetryPolicy}});Object.defineProperty(d,"throttlingRetryPolicyName",{enumerable:true,get:function(){return ae.throttlingRetryPolicyName}});var le=p(58126);Object.defineProperty(d,"retryPolicy",{enumerable:true,get:function(){return le.retryPolicy}});var ce=p(83438);Object.defineProperty(d,"tracingPolicy",{enumerable:true,get:function(){return ce.tracingPolicy}});Object.defineProperty(d,"tracingPolicyName",{enumerable:true,get:function(){return ce.tracingPolicyName}});var ue=p(7671);Object.defineProperty(d,"defaultRetryPolicy",{enumerable:true,get:function(){return ue.defaultRetryPolicy}});var Ae=p(69184);Object.defineProperty(d,"userAgentPolicy",{enumerable:true,get:function(){return Ae.userAgentPolicy}});Object.defineProperty(d,"userAgentPolicyName",{enumerable:true,get:function(){return Ae.userAgentPolicyName}});var de=p(64581);Object.defineProperty(d,"tlsPolicy",{enumerable:true,get:function(){return de.tlsPolicy}});Object.defineProperty(d,"tlsPolicyName",{enumerable:true,get:function(){return de.tlsPolicyName}});var pe=p(52768);Object.defineProperty(d,"formDataPolicy",{enumerable:true,get:function(){return pe.formDataPolicy}});Object.defineProperty(d,"formDataPolicyName",{enumerable:true,get:function(){return pe.formDataPolicyName}});var fe=p(25558);Object.defineProperty(d,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return fe.bearerTokenAuthenticationPolicy}});Object.defineProperty(d,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return fe.bearerTokenAuthenticationPolicyName}});var he=p(52234);Object.defineProperty(d,"ndJsonPolicy",{enumerable:true,get:function(){return he.ndJsonPolicy}});Object.defineProperty(d,"ndJsonPolicyName",{enumerable:true,get:function(){return he.ndJsonPolicyName}});var ge=p(22029);Object.defineProperty(d,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return ge.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(d,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return ge.auxiliaryAuthenticationHeaderPolicyName}});var me=p(24429);Object.defineProperty(d,"agentPolicy",{enumerable:true,get:function(){return me.agentPolicy}});Object.defineProperty(d,"agentPolicyName",{enumerable:true,get:function(){return me.agentPolicyName}});var ye=p(69056);Object.defineProperty(d,"createFile",{enumerable:true,get:function(){return ye.createFile}});Object.defineProperty(d,"createFileFromStream",{enumerable:true,get:function(){return ye.createFileFromStream}})},87305:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const C=p(2764);d.logger=(0,C.createClientLogger)("core-rest-pipeline")},23357:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createEmptyPipeline=createEmptyPipeline;const C=p(60957);function createEmptyPipeline(){return(0,C.createEmptyPipeline)()}},14444:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineRequest=createPipelineRequest;const C=p(60957);function createPipelineRequest(A){return(0,C.createPipelineRequest)(A)}},24429:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.agentPolicyName=void 0;d.agentPolicy=agentPolicy;const C=p(43507);d.agentPolicyName=C.agentPolicyName;function agentPolicy(A){return(0,C.agentPolicy)(A)}},22029:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.auxiliaryAuthenticationHeaderPolicyName=void 0;d.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const C=p(31493);const S=p(87305);d.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const v="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(A){const{scopes:d,getAccessToken:p,request:C}=A;const S={abortSignal:C.abortSignal,tracingOptions:C.tracingOptions};return(await p(d,S))?.token??""}function auxiliaryAuthenticationHeaderPolicy(A){const{credentials:p,scopes:T}=A;const _=A.logger||S.logger;const V=new WeakMap;return{name:d.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(A,S){if(!A.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!p||p.length===0){_.info(`${d.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return S(A)}const Z=[];for(const d of p){let p=V.get(d);if(!p){p=(0,C.createTokenCycler)(d);V.set(d,p)}Z.push(sendAuthorizeRequest({scopes:Array.isArray(T)?T:[T],request:A,getAccessToken:p,logger:_}))}const ee=(await Promise.all(Z)).filter((A=>Boolean(A)));if(ee.length===0){_.warning(`None of the auxiliary tokens are valid. ${v} header will not be set.`);return S(A)}A.headers.set(v,ee.map((A=>`Bearer ${A}`)).join(", "));return S(A)}}}},25558:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.bearerTokenAuthenticationPolicyName=void 0;d.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;d.parseChallenges=parseChallenges;const C=p(31493);const S=p(87305);const v=p(36155);d.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(A,d){try{return[await d(A),undefined]}catch(A){if((0,v.isRestError)(A)&&A.response){return[A.response,A]}else{throw A}}}async function defaultAuthorizeRequest(A){const{scopes:d,getAccessToken:p,request:C}=A;const S={abortSignal:C.abortSignal,tracingOptions:C.tracingOptions,enableCae:true};const v=await p(d,S);if(v){A.request.headers.set("Authorization",`Bearer ${v.token}`)}}function isChallengeResponse(A){return A.status===401&&A.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(A,d){const{scopes:p}=A;const C=await A.getAccessToken(p,{enableCae:true,claims:d});if(!C){return false}A.request.headers.set("Authorization",`${C.tokenType??"Bearer"} ${C.token}`);return true}function bearerTokenAuthenticationPolicy(A){const{credential:p,scopes:v,challengeCallbacks:T}=A;const _=A.logger||S.logger;const V={authorizeRequest:T?.authorizeRequest?.bind(T)??defaultAuthorizeRequest,authorizeRequestOnChallenge:T?.authorizeRequestOnChallenge?.bind(T)};const Z=p?(0,C.createTokenCycler)(p):()=>Promise.resolve(null);return{name:d.bearerTokenAuthenticationPolicyName,async sendRequest(A,d){if(!A.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await V.authorizeRequest({scopes:Array.isArray(v)?v:[v],request:A,getAccessToken:Z,logger:_});let p;let C;let S;[p,C]=await trySendRequest(A,d);if(isChallengeResponse(p)){let T=getCaeChallengeClaims(p.headers.get("WWW-Authenticate"));if(T){let V;try{V=atob(T)}catch(A){_.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${T}`);return p}S=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(v)?v:[v],response:p,request:A,getAccessToken:Z,logger:_},V);if(S){[p,C]=await trySendRequest(A,d)}}else if(V.authorizeRequestOnChallenge){S=await V.authorizeRequestOnChallenge({scopes:Array.isArray(v)?v:[v],request:A,response:p,getAccessToken:Z,logger:_});if(S){[p,C]=await trySendRequest(A,d)}if(isChallengeResponse(p)){T=getCaeChallengeClaims(p.headers.get("WWW-Authenticate"));if(T){let V;try{V=atob(T)}catch(A){_.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${T}`);return p}S=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(v)?v:[v],response:p,request:A,getAccessToken:Z,logger:_},V);if(S){[p,C]=await trySendRequest(A,d)}}}}}if(C){throw C}else{return p}}}}function parseChallenges(A){const d=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const p=/(\w+)="([^"]*)"/g;const C=[];let S;while((S=d.exec(A))!==null){const A=S[1];const d=S[2];const v={};let T;while((T=p.exec(d))!==null){v[T[1]]=T[2]}C.push({scheme:A,params:v})}return C}function getCaeChallengeClaims(A){if(!A){return}const d=parseChallenges(A);return d.find((A=>A.scheme==="Bearer"&&A.params.claims&&A.params.error==="insufficient_claims"))?.params.claims}},62926:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.decompressResponsePolicyName=void 0;d.decompressResponsePolicy=decompressResponsePolicy;const C=p(43507);d.decompressResponsePolicyName=C.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,C.decompressResponsePolicy)()}},7671:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultRetryPolicyName=void 0;d.defaultRetryPolicy=defaultRetryPolicy;const C=p(43507);d.defaultRetryPolicyName=C.defaultRetryPolicyName;function defaultRetryPolicy(A={}){return(0,C.defaultRetryPolicy)(A)}},5745:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryPolicyName=void 0;d.exponentialRetryPolicy=exponentialRetryPolicy;const C=p(43507);d.exponentialRetryPolicyName=C.exponentialRetryPolicyName;function exponentialRetryPolicy(A={}){return(0,C.exponentialRetryPolicy)(A)}},52768:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.formDataPolicyName=void 0;d.formDataPolicy=formDataPolicy;const C=p(43507);d.formDataPolicyName=C.formDataPolicyName;function formDataPolicy(){return(0,C.formDataPolicy)()}},37454:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logPolicyName=void 0;d.logPolicy=logPolicy;const C=p(87305);const S=p(43507);d.logPolicyName=S.logPolicyName;function logPolicy(A={}){return(0,S.logPolicy)({logger:C.logger.info,...A})}},23560:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.multipartPolicyName=void 0;d.multipartPolicy=multipartPolicy;const C=p(43507);const S=p(69056);d.multipartPolicyName=C.multipartPolicyName;function multipartPolicy(){const A=(0,C.multipartPolicy)();return{name:d.multipartPolicyName,sendRequest:async(d,p)=>{if(d.multipartBody){for(const A of d.multipartBody.parts){if((0,S.hasRawContent)(A.body)){A.body=(0,S.getRawContent)(A.body)}}}return A.sendRequest(d,p)}}}},52234:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ndJsonPolicyName=void 0;d.ndJsonPolicy=ndJsonPolicy;d.ndJsonPolicyName="ndJsonPolicy";function ndJsonPolicy(){return{name:d.ndJsonPolicyName,async sendRequest(A,d){if(typeof A.body==="string"&&A.body.startsWith("[")){const d=JSON.parse(A.body);if(Array.isArray(d)){A.body=d.map((A=>JSON.stringify(A)+"\n")).join("")}}return d(A)}}}},11164:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.proxyPolicyName=void 0;d.getDefaultProxySettings=getDefaultProxySettings;d.proxyPolicy=proxyPolicy;const C=p(43507);d.proxyPolicyName=C.proxyPolicyName;function getDefaultProxySettings(A){return(0,C.getDefaultProxySettings)(A)}function proxyPolicy(A,d){return(0,C.proxyPolicy)(A,d)}},34126:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.redirectPolicyName=void 0;d.redirectPolicy=redirectPolicy;const C=p(43507);d.redirectPolicyName=C.redirectPolicyName;function redirectPolicy(A={}){return(0,C.redirectPolicy)(A)}},58126:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.retryPolicy=retryPolicy;const C=p(2764);const S=p(4154);const v=p(43507);const T=(0,C.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(A,d={maxRetries:S.DEFAULT_RETRY_POLICY_COUNT}){return(0,v.retryPolicy)(A,{logger:T,...d})}},59155:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.setClientRequestIdPolicyName=void 0;d.setClientRequestIdPolicy=setClientRequestIdPolicy;d.setClientRequestIdPolicyName="setClientRequestIdPolicy";function setClientRequestIdPolicy(A="x-ms-client-request-id"){return{name:d.setClientRequestIdPolicyName,async sendRequest(d,p){if(!d.headers.has(A)){d.headers.set(A,d.requestId)}return p(d)}}}},1431:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.systemErrorRetryPolicyName=void 0;d.systemErrorRetryPolicy=systemErrorRetryPolicy;const C=p(43507);d.systemErrorRetryPolicyName=C.systemErrorRetryPolicyName;function systemErrorRetryPolicy(A={}){return(0,C.systemErrorRetryPolicy)(A)}},66495:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.throttlingRetryPolicyName=void 0;d.throttlingRetryPolicy=throttlingRetryPolicy;const C=p(43507);d.throttlingRetryPolicyName=C.throttlingRetryPolicyName;function throttlingRetryPolicy(A={}){return(0,C.throttlingRetryPolicy)(A)}},64581:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tlsPolicyName=void 0;d.tlsPolicy=tlsPolicy;const C=p(43507);d.tlsPolicyName=C.tlsPolicyName;function tlsPolicy(A){return(0,C.tlsPolicy)(A)}},83438:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tracingPolicyName=void 0;d.tracingPolicy=tracingPolicy;const C=p(26637);const S=p(4154);const v=p(57356);const T=p(87305);const _=p(33e3);const V=p(36155);const Z=p(38233);d.tracingPolicyName="tracingPolicy";function tracingPolicy(A={}){const p=(0,v.getUserAgentValue)(A.userAgentPrefix);const C=new Z.Sanitizer({additionalAllowedQueryParameters:A.additionalAllowedQueryParameters});const S=tryCreateTracingClient();return{name:d.tracingPolicyName,async sendRequest(A,d){if(!S){return d(A)}const v=await p;const T={"http.url":C.sanitizeUrl(A.url),"http.method":A.method,"http.user_agent":v,requestId:A.requestId};if(v){T["http.user_agent"]=v}const{span:_,tracingContext:V}=tryCreateSpan(S,A,T)??{};if(!_||!V){return d(A)}try{const p=await S.withContext(V,d,A);tryProcessResponse(_,p);return p}catch(A){tryProcessError(_,A);throw A}}}}function tryCreateTracingClient(){try{return(0,C.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:S.SDK_VERSION})}catch(A){T.logger.warning(`Error when creating the TracingClient: ${(0,_.getErrorMessage)(A)}`);return undefined}}function tryCreateSpan(A,d,p){try{const{span:C,updatedOptions:S}=A.startSpan(`HTTP ${d.method}`,{tracingOptions:d.tracingOptions},{spanKind:"client",spanAttributes:p});if(!C.isRecording()){C.end();return undefined}const v=A.createRequestHeaders(S.tracingOptions.tracingContext);for(const[A,p]of Object.entries(v)){d.headers.set(A,p)}return{span:C,tracingContext:S.tracingOptions.tracingContext}}catch(A){T.logger.warning(`Skipping creating a tracing span due to an error: ${(0,_.getErrorMessage)(A)}`);return undefined}}function tryProcessError(A,d){try{A.setStatus({status:"error",error:(0,_.isError)(d)?d:undefined});if((0,V.isRestError)(d)&&d.statusCode){A.setAttribute("http.status_code",d.statusCode)}A.end()}catch(A){T.logger.warning(`Skipping tracing span processing due to an error: ${(0,_.getErrorMessage)(A)}`)}}function tryProcessResponse(A,d){try{A.setAttribute("http.status_code",d.status);const p=d.headers.get("x-ms-request-id");if(p){A.setAttribute("serviceRequestId",p)}if(d.status>=400){A.setStatus({status:"error"})}A.end()}catch(A){T.logger.warning(`Skipping tracing span processing due to an error: ${(0,_.getErrorMessage)(A)}`)}}},69184:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=void 0;d.userAgentPolicy=userAgentPolicy;const C=p(57356);const S=(0,C.getUserAgentHeaderName)();d.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(A={}){const p=(0,C.getUserAgentValue)(A.userAgentPrefix);return{name:d.userAgentPolicyName,async sendRequest(A,d){if(!A.headers.has(S)){A.headers.set(S,await p)}return d(A)}}}},11193:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.wrapAbortSignalLikePolicyName=void 0;d.wrapAbortSignalLikePolicy=wrapAbortSignalLikePolicy;const C=p(17310);d.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:d.wrapAbortSignalLikePolicyName,sendRequest:async(A,d)=>{if(!A.abortSignal){return d(A)}const{abortSignal:p,cleanup:S}=(0,C.wrapAbortSignalLike)(A.abortSignal);A.abortSignal=p;try{return await d(A)}finally{S?.()}}}}},36155:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RestError=void 0;d.isRestError=isRestError;const C=p(60957);d.RestError=C.RestError;function isRestError(A){return(0,C.isRestError)(A)}},69056:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.hasRawContent=hasRawContent;d.getRawContent=getRawContent;d.createFileFromStream=createFileFromStream;d.createFile=createFile;const C=p(33e3);function isNodeReadableStream(A){return Boolean(A&&typeof A["pipe"]==="function")}const S={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 v=Symbol("rawContent");function hasRawContent(A){return typeof A[v]==="function"}function getRawContent(A){if(hasRawContent(A)){return A[v]()}else{return A}}function createFileFromStream(A,d,p={}){return{...S,type:p.type??"",lastModified:p.lastModified??(new Date).getTime(),webkitRelativePath:p.webkitRelativePath??"",size:p.size??-1,name:d,stream:()=>{const d=A();if(isNodeReadableStream(d)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return d},[v]:A}}function createFile(A,d,p={}){if(C.isNodeLike){return{...S,type:p.type??"",lastModified:p.lastModified??(new Date).getTime(),webkitRelativePath:p.webkitRelativePath??"",size:A.byteLength,name:d,arrayBuffer:async()=>A.buffer,stream:()=>new Blob([toArrayBuffer(A)]).stream(),[v]:()=>A}}else{return new File([toArrayBuffer(A)],d,p)}}function toArrayBuffer(A){if("resize"in A.buffer){return A}return A.map((A=>A))}},31493:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_CYCLER_OPTIONS=void 0;d.createTokenCycler=createTokenCycler;const C=p(33e3);d.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(A,d,p){async function tryGetAccessToken(){if(Date.now()<p){try{return await A()}catch{return null}}else{const d=await A();if(d===null){throw new Error("Failed to refresh access token.")}return d}}let S=await tryGetAccessToken();while(S===null){await(0,C.delay)(d);S=await tryGetAccessToken()}return S}function createTokenCycler(A,p){let C=null;let S=null;let v;const T={...d.DEFAULT_CYCLER_OPTIONS,...p};const _={get isRefreshing(){return C!==null},get shouldRefresh(){if(_.isRefreshing){return false}if(S?.refreshAfterTimestamp&&S.refreshAfterTimestamp<Date.now()){return true}return(S?.expiresOnTimestamp??0)-T.refreshWindowInMs<Date.now()},get mustRefresh(){return S===null||S.expiresOnTimestamp-T.forcedRefreshWindowInMs<Date.now()}};function refresh(d,p){if(!_.isRefreshing){const tryGetAccessToken=()=>A.getToken(d,p);C=beginRefresh(tryGetAccessToken,T.retryIntervalInMs,S?.expiresOnTimestamp??Date.now()).then((A=>{C=null;S=A;v=p.tenantId;return S})).catch((A=>{C=null;S=null;v=undefined;throw A}))}return C}return async(A,d)=>{const p=Boolean(d.claims);const C=v!==d.tenantId;if(p){S=null}const T=C||p||_.mustRefresh;if(T){return refresh(A,d)}if(_.shouldRefresh){refresh(A,d)}return S}}},57356:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentHeaderName=getUserAgentHeaderName;d.getUserAgentValue=getUserAgentValue;const C=p(82599);const S=p(4154);function getUserAgentString(A){const d=[];for(const[p,C]of A){const A=C?`${p}/${C}`:p;d.push(A)}return d.join(" ")}function getUserAgentHeaderName(){return(0,C.getHeaderName)()}async function getUserAgentValue(A){const d=new Map;d.set("core-rest-pipeline",S.SDK_VERSION);await(0,C.setPlatformSpecificData)(d);const p=getUserAgentString(d);const v=A?`${A} ${p}`:p;return v}},82599:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHeaderName=getHeaderName;d.setPlatformSpecificData=setPlatformSpecificData;const C=p(67892);const S=C.__importDefault(p(48161));const v=C.__importDefault(p(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(A){if(v.default&&v.default.versions){const d=`${S.default.type()} ${S.default.release()}; ${S.default.arch()}`;const p=v.default.versions;if(p.bun){A.set("Bun",`${p.bun} (${d})`)}else if(p.deno){A.set("Deno",`${p.deno} (${d})`)}else if(p.node){A.set("Node",`${p.node} (${d})`)}}}},17310:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.wrapAbortSignalLike=wrapAbortSignalLike;function wrapAbortSignalLike(A){if(A instanceof AbortSignal){return{abortSignal:A}}if(A.aborted){return{abortSignal:AbortSignal.abort(A.reason)}}const d=new AbortController;let p=true;function cleanup(){if(p){A.removeEventListener("abort",listener);p=false}}function listener(){d.abort(A.reason);cleanup()}A.addEventListener("abort",listener);return{abortSignal:d.signal,cleanup:cleanup}}},26637:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createTracingClient=d.useInstrumenter=void 0;var C=p(60771);Object.defineProperty(d,"useInstrumenter",{enumerable:true,get:function(){return C.useInstrumenter}});var S=p(55216);Object.defineProperty(d,"createTracingClient",{enumerable:true,get:function(){return S.createTracingClient}})},60771:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultTracingSpan=createDefaultTracingSpan;d.createDefaultInstrumenter=createDefaultInstrumenter;d.useInstrumenter=useInstrumenter;d.getInstrumenter=getInstrumenter;const C=p(40156);const S=p(74480);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(A,d)=>({span:createDefaultTracingSpan(),tracingContext:(0,C.createTracingContext)({parentContext:d.tracingContext})}),withContext(A,d,...p){return d(...p)}}}function useInstrumenter(A){S.state.instrumenterImplementation=A}function getInstrumenter(){if(!S.state.instrumenterImplementation){S.state.instrumenterImplementation=createDefaultInstrumenter()}return S.state.instrumenterImplementation}},74480:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.state=void 0;d.state={instrumenterImplementation:undefined}},55216:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createTracingClient=createTracingClient;const C=p(60771);const S=p(40156);function createTracingClient(A){const{namespace:d,packageName:p,packageVersion:v}=A;function startSpan(A,T,_){const V=(0,C.getInstrumenter)().startSpan(A,{..._,packageName:p,packageVersion:v,tracingContext:T?.tracingOptions?.tracingContext});let Z=V.tracingContext;const ee=V.span;if(!Z.getValue(S.knownContextKeys.namespace)){Z=Z.setValue(S.knownContextKeys.namespace,d)}ee.setAttribute("az.namespace",Z.getValue(S.knownContextKeys.namespace));const te=Object.assign({},T,{tracingOptions:{...T?.tracingOptions,tracingContext:Z}});return{span:ee,updatedOptions:te}}async function withSpan(A,d,p,C){const{span:S,updatedOptions:v}=startSpan(A,d,C);try{const A=await withContext(v.tracingOptions.tracingContext,(()=>Promise.resolve(p(v,S))));S.setStatus({status:"success"});return A}catch(A){S.setStatus({status:"error",error:A});throw A}finally{S.end()}}function withContext(A,d,...p){return(0,C.getInstrumenter)().withContext(A,d,...p)}function parseTraceparentHeader(A){return(0,C.getInstrumenter)().parseTraceparentHeader(A)}function createRequestHeaders(A){return(0,C.getInstrumenter)().createRequestHeaders(A)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},40156:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.TracingContextImpl=d.knownContextKeys=void 0;d.createTracingContext=createTracingContext;d.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(A={}){let p=new TracingContextImpl(A.parentContext);if(A.span){p=p.setValue(d.knownContextKeys.span,A.span)}if(A.namespace){p=p.setValue(d.knownContextKeys.namespace,A.namespace)}return p}class TracingContextImpl{_contextMap;constructor(A){this._contextMap=A instanceof TracingContextImpl?new Map(A._contextMap):new Map}setValue(A,d){const p=new TracingContextImpl(this);p._contextMap.set(A,d);return p}getValue(A){return this._contextMap.get(A)}deleteValue(A){const d=new TracingContextImpl(this);d._contextMap.delete(A);return d}}d.TracingContextImpl=TracingContextImpl},35428:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(A,d){const p=new AbortController;function abortHandler(){p.abort()}d?.abortSignal?.addEventListener("abort",abortHandler);try{return await Promise.race(A.map((A=>A({abortSignal:p.signal}))))}finally{p.abort();d?.abortSignal?.removeEventListener("abort",abortHandler)}}},61969:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createAbortablePromise=createAbortablePromise;const C=p(49797);function createAbortablePromise(A,d){const{cleanupBeforeAbort:p,abortSignal:S,abortErrorMsg:v}=d??{};return new Promise(((d,T)=>{function rejectOnAbort(){T(new C.AbortError(v??"The operation was aborted."))}function removeListeners(){S?.removeEventListener("abort",onAbort)}function onAbort(){p?.();removeListeners();rejectOnAbort()}if(S?.aborted){return rejectOnAbort()}try{A((A=>{removeListeners();d(A)}),(A=>{removeListeners();T(A)}))}catch(A){T(A)}S?.addEventListener("abort",onAbort)}))}},85311:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.delay=delay;d.calculateRetryDelay=calculateRetryDelay;const C=p(61969);const S=p(38233);const v="The delay was aborted.";function delay(A,d){let p;const{abortSignal:S,abortErrorMsg:T}=d??{};return(0,C.createAbortablePromise)((d=>{p=setTimeout(d,A)}),{cleanupBeforeAbort:()=>clearTimeout(p),abortSignal:S,abortErrorMsg:T??v})}function calculateRetryDelay(A,d){const p=d.retryDelayInMs*Math.pow(2,A);const C=Math.min(d.maxRetryDelayInMs,p);const v=C/2+(0,S.getRandomIntegerInclusive)(0,C/2);return{retryAfterInMs:v}}},74778:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getErrorMessage=getErrorMessage;const C=p(38233);function getErrorMessage(A){if((0,C.isError)(A)){return A.message}else{let d;try{if(typeof A==="object"&&A){d=JSON.stringify(A)}else{d=String(A)}}catch(A){d="[unable to stringify input]"}return`Unknown error ${d}`}}},33e3:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isWebWorker=d.isReactNative=d.isNodeRuntime=d.isNodeLike=d.isNode=d.isDeno=d.isBun=d.isBrowser=d.objectHasProperty=d.isObjectWithProperties=d.isDefined=d.getErrorMessage=d.delay=d.createAbortablePromise=d.cancelablePromiseRace=void 0;d.calculateRetryDelay=calculateRetryDelay;d.computeSha256Hash=computeSha256Hash;d.computeSha256Hmac=computeSha256Hmac;d.getRandomIntegerInclusive=getRandomIntegerInclusive;d.isError=isError;d.isObject=isObject;d.randomUUID=randomUUID;d.uint8ArrayToString=uint8ArrayToString;d.stringToUint8Array=stringToUint8Array;const C=p(67892);const S=C.__importStar(p(38233));var v=p(35428);Object.defineProperty(d,"cancelablePromiseRace",{enumerable:true,get:function(){return v.cancelablePromiseRace}});var T=p(61969);Object.defineProperty(d,"createAbortablePromise",{enumerable:true,get:function(){return T.createAbortablePromise}});var _=p(85311);Object.defineProperty(d,"delay",{enumerable:true,get:function(){return _.delay}});var V=p(74778);Object.defineProperty(d,"getErrorMessage",{enumerable:true,get:function(){return V.getErrorMessage}});var Z=p(21004);Object.defineProperty(d,"isDefined",{enumerable:true,get:function(){return Z.isDefined}});Object.defineProperty(d,"isObjectWithProperties",{enumerable:true,get:function(){return Z.isObjectWithProperties}});Object.defineProperty(d,"objectHasProperty",{enumerable:true,get:function(){return Z.objectHasProperty}});function calculateRetryDelay(A,d){return S.calculateRetryDelay(A,d)}function computeSha256Hash(A,d){return S.computeSha256Hash(A,d)}function computeSha256Hmac(A,d,p){return S.computeSha256Hmac(A,d,p)}function getRandomIntegerInclusive(A,d){return S.getRandomIntegerInclusive(A,d)}function isError(A){return S.isError(A)}function isObject(A){return S.isObject(A)}function randomUUID(){return S.randomUUID()}d.isBrowser=S.isBrowser;d.isBun=S.isBun;d.isDeno=S.isDeno;d.isNode=S.isNodeLike;d.isNodeLike=S.isNodeLike;d.isNodeRuntime=S.isNodeRuntime;d.isReactNative=S.isReactNative;d.isWebWorker=S.isWebWorker;function uint8ArrayToString(A,d){return S.uint8ArrayToString(A,d)}function stringToUint8Array(A,d){return S.stringToUint8Array(A,d)}},21004:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isDefined=isDefined;d.isObjectWithProperties=isObjectWithProperties;d.objectHasProperty=objectHasProperty;function isDefined(A){return typeof A!=="undefined"&&A!==null}function isObjectWithProperties(A,d){if(!isDefined(A)||typeof A!=="object"){return false}for(const p of d){if(!objectHasProperty(A,p)){return false}}return true}function objectHasProperty(A,d){return isDefined(A)&&typeof A==="object"&&d in A}},64928:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=d.parseXML=d.stringifyXML=void 0;var C=p(89017);Object.defineProperty(d,"stringifyXML",{enumerable:true,get:function(){return C.stringifyXML}});Object.defineProperty(d,"parseXML",{enumerable:true,get:function(){return C.parseXML}});var S=p(3610);Object.defineProperty(d,"XML_ATTRKEY",{enumerable:true,get:function(){return S.XML_ATTRKEY}});Object.defineProperty(d,"XML_CHARKEY",{enumerable:true,get:function(){return S.XML_CHARKEY}})},3610:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=void 0;d.XML_ATTRKEY="$";d.XML_CHARKEY="_"},89017:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stringifyXML=stringifyXML;d.parseXML=parseXML;const C=p(62209);const S=p(3610);function getCommonOptions(A){var d;return{attributesGroupName:S.XML_ATTRKEY,textNodeName:(d=A.xmlCharKey)!==null&&d!==void 0?d:S.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(A={}){var d,p;return Object.assign(Object.assign({},getCommonOptions(A)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(d=A.rootName)!==null&&d!==void 0?d:"root",cdataPropName:(p=A.cdataPropName)!==null&&p!==void 0?p:"__cdata"})}function getParserOptions(A={}){return Object.assign(Object.assign({},getCommonOptions(A)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:A.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(A,d={}){const p=getSerializerOptions(d);const S=new C.XMLBuilder(p);const v={[p.rootNodeName]:A};const T=S.build(v);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${T}`.replace(/\n/g,"")}async function parseXML(A,d={}){if(!A){throw new Error("Document is empty")}const p=C.XMLValidator.validate(A);if(p!==true){throw p}const S=new C.XMLParser(getParserOptions(d));const v=S.parse(A);if(v["?xml"]){delete v["?xml"]}if(!d.includeRoot){for(const A of Object.keys(v)){const d=v[A];return typeof d==="object"?Object.assign({},d):d}}return v}},2764:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureLogger=void 0;d.setLogLevel=setLogLevel;d.getLogLevel=getLogLevel;d.createClientLogger=createClientLogger;const C=p(32033);const S=(0,C.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});d.AzureLogger=S.logger;function setLogLevel(A){S.setLogLevel(A)}function getLogLevel(){return S.getLogLevel()}function createClientLogger(A){return S.createClientLogger(A)}},4766:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},20285:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BatchResponseParser=void 0;const C=p(81591);const S=p(80976);const v=p(9386);const T=p(66948);const _=p(32763);const V=": ";const Z=" ";const ee=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(A,d){if(!A||!A.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!d||d.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=A;this.subRequests=d;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${v.HTTP_LINE_ENDING}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==v.HTTPURLConnection.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const A=await(0,T.getBodyAsText)(this.batchResponse);const d=A.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const p=d.length;if(p!==this.subRequests.size&&p!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const te=new Array(p);let re=0;let ne=0;for(let A=0;A<p;A++){const p=d[A];const T={};T.headers=(0,S.toHttpHeadersLike)((0,C.createHttpHeaders)());const ie=p.split(`${v.HTTP_LINE_ENDING}`);let se=false;let oe=false;let ae=false;let le=ee;for(const A of ie){if(!se){if(A.startsWith(v.HeaderConstants.CONTENT_ID)){le=parseInt(A.split(V)[1])}if(A.startsWith(v.HTTP_VERSION_1_1)){se=true;const d=A.split(Z);T.status=parseInt(d[1]);T.statusMessage=d.slice(2).join(Z)}continue}if(A.trim()===""){if(!oe){oe=true}continue}if(!oe){if(A.indexOf(V)===-1){throw new Error(`Invalid state: find non-empty line '${A}' without HTTP header delimiter '${V}'.`)}const d=A.split(V);T.headers.set(d[0],d[1]);if(d[0]===v.HeaderConstants.X_MS_ERROR_CODE){T.errorCode=d[1];ae=true}}else{if(!T.bodyAsText){T.bodyAsText=""}T.bodyAsText+=A}}if(le!==ee&&Number.isInteger(le)&&le>=0&&le<this.subRequests.size&&te[le]===undefined){T._request=this.subRequests.get(le);te[le]=T}else{_.logger.error(`subResponses[${A}] is dropped as the Content-ID is not found or invalid, Content-ID: ${le}`)}if(ae){ne++}else{re++}}return{subResponses:te,subResponsesSucceededCount:re,subResponsesFailedCount:ne}}}d.BatchResponseParser=BatchResponseParser},66948:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getBodyAsText=getBodyAsText;d.utf8ByteLength=utf8ByteLength;const C=p(73170);const S=p(9386);async function getBodyAsText(A){let d=Buffer.alloc(S.BATCH_MAX_PAYLOAD_IN_BYTES);const p=await(0,C.streamToBuffer2)(A.readableStreamBody,d);d=d.slice(0,p);return d.toString()}function utf8ByteLength(A){return Buffer.byteLength(A)}},27776:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBatch=void 0;const C=p(33e3);const S=p(38401);const v=p(81591);const T=p(33e3);const _=p(13360);const V=p(59813);const Z=p(39948);const ee=p(33543);const te=p(98915);const re=p(64928);const ne=p(9386);const ie=p(64220);const se=p(67985);const oe=p(99307);const ae=p(61154);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(A,d){await Z.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(A);await d();this.batchRequest.postAddSubRequest(A)}finally{await Z.Mutex.unlock(this.batch)}}setBatchType(A){if(!this.batchType){this.batchType=A}if(this.batchType!==A){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(A,d,p){let C;let v;if(typeof A==="string"&&(T.isNodeLike&&d instanceof ie.StorageSharedKeyCredential||d instanceof _.AnonymousCredential||(0,S.isTokenCredential)(d))){C=A;v=d}else if(A instanceof V.BlobClient){C=A.url;v=A.credential;p=d}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!p){p={}}return se.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",p,(async A=>{this.setBatchType("delete");await this.addSubRequestInternal({url:C,credential:v},(async()=>{await new V.BlobClient(C,this.batchRequest.createPipeline(v)).delete(A)}))}))}async setBlobAccessTier(A,d,p,C){let v;let Z;let ee;if(typeof A==="string"&&(T.isNodeLike&&d instanceof ie.StorageSharedKeyCredential||d instanceof _.AnonymousCredential||(0,S.isTokenCredential)(d))){v=A;Z=d;ee=p}else if(A instanceof V.BlobClient){v=A.url;Z=A.credential;ee=d;C=p}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!C){C={}}return se.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",C,(async A=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:v,credential:Z},(async()=>{await new V.BlobClient(v,this.batchRequest.createPipeline(Z)).setAccessTier(ee,A)}))}))}}d.BlobBatch=BlobBatch;class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const A=(0,C.randomUUID)();this.boundary=`batch_${A}`;this.subRequestPrefix=`--${this.boundary}${ne.HTTP_LINE_ENDING}${ne.HeaderConstants.CONTENT_TYPE}: application/http${ne.HTTP_LINE_ENDING}${ne.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(A){const d=(0,v.createEmptyPipeline)();d.addPolicy((0,oe.serializationPolicy)({stringifyXML:re.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});d.addPolicy(batchHeaderFilterPolicy());d.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if((0,S.isTokenCredential)(A)){d.addPolicy((0,v.bearerTokenAuthenticationPolicy)({credential:A,scopes:ne.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:oe.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(A instanceof ie.StorageSharedKeyCredential){d.addPolicy((0,ae.storageSharedKeyCredentialPolicy)({accountName:A.accountName,accountKey:A.accountKey}),{phase:"Sign"})}const p=new ee.Pipeline([]);p._credential=A;p._corePipeline=d;return p}appendSubRequestToBody(A){this.body+=[this.subRequestPrefix,`${ne.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${A.method.toString()} ${(0,te.getURLPathAndQuery)(A.url)} ${ne.HTTP_VERSION_1_1}${ne.HTTP_LINE_ENDING}`].join(ne.HTTP_LINE_ENDING);for(const[d,p]of A.headers){this.body+=`${d}: ${p}${ne.HTTP_LINE_ENDING}`}this.body+=ne.HTTP_LINE_ENDING}preAddSubRequest(A){if(this.operationCount>=ne.BATCH_MAX_REQUEST){throw new RangeError(`Cannot exceed ${ne.BATCH_MAX_REQUEST} sub requests in a single batch`)}const d=(0,te.getURLPath)(A.url);if(!d||d===""){throw new RangeError(`Invalid url for sub request: '${A.url}'`)}}postAddSubRequest(A){this.subRequests.set(this.operationCount,A);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${ne.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(A){return{name:"batchRequestAssemblePolicy",async sendRequest(d){A.appendSubRequestToBody(d);return{request:d,status:200,headers:(0,v.createHttpHeaders)()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(A,d){let p="";for(const[d]of A.headers){if((0,te.iEqual)(d,ne.HeaderConstants.X_MS_VERSION)){p=d}}if(p!==""){A.headers.delete(p)}return d(A)}}}},37683:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBatchClient=void 0;const C=p(20285);const S=p(66948);const v=p(27776);const T=p(67985);const _=p(13360);const V=p(64754);const Z=p(33543);const ee=p(98915);class BlobBatchClient{serviceOrContainerContext;constructor(A,d,p){let C;if((0,Z.isPipelineLike)(d)){C=d}else if(!d){C=(0,Z.newPipeline)(new _.AnonymousCredential,p)}else{C=(0,Z.newPipeline)(d,p)}const S=new V.StorageContextClient(A,(0,Z.getCoreClientOptions)(C));const v=(0,ee.getURLPath)(A);if(v&&v!=="/"){this.serviceOrContainerContext=S.container}else{this.serviceOrContainerContext=S.service}}createBatch(){return new v.BlobBatch}async deleteBlobs(A,d,p){const C=new v.BlobBatch;for(const S of A){if(typeof S==="string"){await C.deleteBlob(S,d,p)}else{await C.deleteBlob(S,d)}}return this.submitBatch(C)}async setBlobsAccessTier(A,d,p,C){const S=new v.BlobBatch;for(const v of A){if(typeof v==="string"){await S.setBlobAccessTier(v,d,p,C)}else{await S.setBlobAccessTier(v,d,p)}}return this.submitBatch(S)}async submitBatch(A,d={}){if(!A||A.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return T.tracingClient.withSpan("BlobBatchClient-submitBatch",d,(async d=>{const p=A.getHttpRequestBody();const v=(0,ee.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,S.utf8ByteLength)(p),A.getMultiPartContentType(),p,{...d}));const T=new C.BatchResponseParser(v,A.getSubRequests());const _=await T.parseBatchResponse();const V={_response:v._response,contentType:v.contentType,errorCode:v.errorCode,requestId:v.requestId,clientRequestId:v.clientRequestId,version:v.version,subResponses:_.subResponses,subResponsesSucceededCount:_.subResponsesSucceededCount,subResponsesFailedCount:_.subResponsesFailedCount};return V}))}}d.BlobBatchClient=BlobBatchClient},83341:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobDownloadResponse=void 0;const C=p(33e3);const S=p(81473);class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return C.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(A,d,p,C,v={}){this.originalResponse=A;this.blobDownloadStream=new S.RetriableReadableStream(this.originalResponse.readableStreamBody,d,p,C,v)}}d.BlobDownloadResponse=BlobDownloadResponse},51029:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobLeaseClient=void 0;const C=p(33e3);const S=p(9386);const v=p(67985);const T=p(98915);class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(A,d){const p=A.storageClientContext;this._url=A.url;if(A.name===undefined){this._isContainer=true;this._containerOrBlobOperation=p.container}else{this._isContainer=false;this._containerOrBlobOperation=p.blob}if(!d){d=(0,C.randomUUID)()}this._leaseId=d}async acquireLease(A,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==S.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==S.ETagNone||d.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 v.tracingClient.withSpan("BlobLeaseClient-acquireLease",d,(async p=>(0,T.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:d.abortSignal,duration:A,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:p.tracingOptions}))))}async changeLease(A,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==S.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==S.ETagNone||d.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 v.tracingClient.withSpan("BlobLeaseClient-changeLease",d,(async p=>{const C=(0,T.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,A,{abortSignal:d.abortSignal,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}));this._leaseId=A;return C}))}async releaseLease(A={}){if(this._isContainer&&(A.conditions?.ifMatch&&A.conditions?.ifMatch!==S.ETagNone||A.conditions?.ifNoneMatch&&A.conditions?.ifNoneMatch!==S.ETagNone||A.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 v.tracingClient.withSpan("BlobLeaseClient-releaseLease",A,(async d=>(0,T.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:A.abortSignal,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async renewLease(A={}){if(this._isContainer&&(A.conditions?.ifMatch&&A.conditions?.ifMatch!==S.ETagNone||A.conditions?.ifNoneMatch&&A.conditions?.ifNoneMatch!==S.ETagNone||A.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 v.tracingClient.withSpan("BlobLeaseClient-renewLease",A,(async d=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:A.abortSignal,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},tracingOptions:d.tracingOptions})))}async breakLease(A,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==S.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==S.ETagNone||d.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 v.tracingClient.withSpan("BlobLeaseClient-breakLease",d,(async p=>{const C={abortSignal:d.abortSignal,breakPeriod:A,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions};return(0,T.assertResponse)(await this._containerOrBlobOperation.breakLease(C))}))}}d.BlobLeaseClient=BlobLeaseClient},54183:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobQueryResponse=void 0;const C=p(33e3);const S=p(17097);class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return undefined}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){return undefined}get readableStreamBody(){return C.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(A,d={}){this.originalResponse=A;this.blobDownloadStream=new S.BlobQuickQueryStream(this.originalResponse.readableStreamBody,d)}}d.BlobQueryResponse=BlobQueryResponse},91352:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobServiceClient=void 0;const C=p(38401);const S=p(81591);const v=p(33e3);const T=p(33543);const _=p(83745);const V=p(98915);const Z=p(64220);const ee=p(13360);const te=p(98915);const re=p(67985);const ne=p(37683);const ie=p(84827);const se=p(56139);const oe=p(10319);const ae=p(89159);class BlobServiceClient extends ie.StorageClient{serviceContext;static fromConnectionString(A,d){d=d||{};const p=(0,V.extractConnectionStringParts)(A);if(p.kind==="AccountConnString"){if(v.isNodeLike){const A=new Z.StorageSharedKeyCredential(p.accountName,p.accountKey);if(!d.proxyOptions){d.proxyOptions=(0,S.getDefaultProxySettings)(p.proxyUri)}const C=(0,T.newPipeline)(A,d);return new BlobServiceClient(p.url,C)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(p.kind==="SASConnString"){const A=(0,T.newPipeline)(new ee.AnonymousCredential,d);return new BlobServiceClient(p.url+"?"+p.accountSas,A)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(A,d,p){let S;if((0,T.isPipelineLike)(d)){S=d}else if(v.isNodeLike&&d instanceof Z.StorageSharedKeyCredential||d instanceof ee.AnonymousCredential||(0,C.isTokenCredential)(d)){S=(0,T.newPipeline)(d,p)}else{S=(0,T.newPipeline)(new ee.AnonymousCredential,p)}super(A,S);this.serviceContext=this.storageClientContext.service}getContainerClient(A){return new _.ContainerClient((0,V.appendToURLPath)(this.url,encodeURIComponent(A)),this.pipeline)}async createContainer(A,d={}){return re.tracingClient.withSpan("BlobServiceClient-createContainer",d,(async d=>{const p=this.getContainerClient(A);const C=await p.create(d);return{containerClient:p,containerCreateResponse:C}}))}async deleteContainer(A,d={}){return re.tracingClient.withSpan("BlobServiceClient-deleteContainer",d,(async d=>{const p=this.getContainerClient(A);return p.delete(d)}))}async undeleteContainer(A,d,p={}){return re.tracingClient.withSpan("BlobServiceClient-undeleteContainer",p,(async C=>{const S=this.getContainerClient(p.destinationContainerName||A);const v=S["storageClientContext"].container;const T=(0,te.assertResponse)(await v.restore({deletedContainerName:A,deletedContainerVersion:d,tracingOptions:C.tracingOptions}));return{containerClient:S,containerUndeleteResponse:T}}))}async getProperties(A={}){return re.tracingClient.withSpan("BlobServiceClient-getProperties",A,(async d=>(0,te.assertResponse)(await this.serviceContext.getProperties({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions}))))}async setProperties(A,d={}){return re.tracingClient.withSpan("BlobServiceClient-setProperties",d,(async p=>(0,te.assertResponse)(await this.serviceContext.setProperties(A,{abortSignal:d.abortSignal,tracingOptions:p.tracingOptions}))))}async getStatistics(A={}){return re.tracingClient.withSpan("BlobServiceClient-getStatistics",A,(async d=>(0,te.assertResponse)(await this.serviceContext.getStatistics({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions}))))}async getAccountInfo(A={}){return re.tracingClient.withSpan("BlobServiceClient-getAccountInfo",A,(async d=>(0,te.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions}))))}async listContainersSegment(A,d={}){return re.tracingClient.withSpan("BlobServiceClient-listContainersSegment",d,(async p=>(0,te.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:d.abortSignal,marker:A,...d,include:typeof d.include==="string"?[d.include]:d.include,tracingOptions:p.tracingOptions}))))}async findBlobsByTagsSegment(A,d,p={}){return re.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",p,(async C=>{const S=(0,te.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:p.abortSignal,where:A,marker:d,maxPageSize:p.maxPageSize,tracingOptions:C.tracingOptions}));const v={...S,_response:S._response,blobs:S.blobs.map((A=>{let d="";if(A.tags?.blobTagSet.length===1){d=A.tags.blobTagSet[0].value}return{...A,tags:(0,V.toTags)(A.tags),tagValue:d}}))};return v}))}async*findBlobsByTagsSegments(A,d,p={}){let C;if(!!d||d===undefined){do{C=await this.findBlobsByTagsSegment(A,d,p);C.blobs=C.blobs||[];d=C.continuationToken;yield C}while(d)}}async*findBlobsByTagsItems(A,d={}){let p;for await(const C of this.findBlobsByTagsSegments(A,p,d)){yield*C.blobs}}findBlobsByTags(A,d={}){const p={...d};const C=this.findBlobsByTagsItems(A,p);return{next(){return C.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.findBlobsByTagsSegments(A,d.continuationToken,{maxPageSize:d.maxPageSize,...p})}}async*listSegments(A,d={}){let p;if(!!A||A===undefined){do{p=await this.listContainersSegment(A,d);p.containerItems=p.containerItems||[];A=p.continuationToken;yield await p}while(A)}}async*listItems(A={}){let d;for await(const p of this.listSegments(d,A)){yield*p.containerItems}}listContainers(A={}){if(A.prefix===""){A.prefix=undefined}const d=[];if(A.includeDeleted){d.push("deleted")}if(A.includeMetadata){d.push("metadata")}if(A.includeSystem){d.push("system")}const p={...A,...d.length>0?{include:d}:{}};const C=this.listItems(p);return{next(){return C.next()},[Symbol.asyncIterator](){return this},byPage:(A={})=>this.listSegments(A.continuationToken,{maxPageSize:A.maxPageSize,...p})}}async getUserDelegationKey(A,d,p={}){return re.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",p,(async C=>{const S=(0,te.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,te.truncatedISO8061Date)(A,false),expiresOn:(0,te.truncatedISO8061Date)(d,false)},{abortSignal:p.abortSignal,tracingOptions:C.tracingOptions}));const v={signedObjectId:S.signedObjectId,signedTenantId:S.signedTenantId,signedStartsOn:new Date(S.signedStartsOn),signedExpiresOn:new Date(S.signedExpiresOn),signedService:S.signedService,signedVersion:S.signedVersion,value:S.value};const T={_response:S._response,requestId:S.requestId,clientRequestId:S.clientRequestId,version:S.version,date:S.date,errorCode:S.errorCode,...v};return T}))}getBlobBatchClient(){return new ne.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(A,d=se.AccountSASPermissions.parse("r"),p="sco",C={}){if(!(this.credential instanceof Z.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(A===undefined){const d=new Date;A=new Date(d.getTime()+3600*1e3)}const S=(0,oe.generateAccountSASQueryParameters)({permissions:d,expiresOn:A,resourceTypes:p,services:ae.AccountSASServices.parse("b").toString(),...C},this.credential).toString();return(0,V.appendToURLQuery)(this.url,S)}generateSasStringToSign(A,d=se.AccountSASPermissions.parse("r"),p="sco",C={}){if(!(this.credential instanceof Z.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(A===undefined){const d=new Date;A=new Date(d.getTime()+3600*1e3)}return(0,oe.generateAccountSASQueryParametersInternal)({permissions:d,expiresOn:A,resourceTypes:p,services:ae.AccountSASServices.parse("b").toString(),...C},this.credential).stringToSign}}d.BlobServiceClient=BlobServiceClient},59813:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PageBlobClient=d.BlockBlobClient=d.AppendBlobClient=d.BlobClient=void 0;const C=p(81591);const S=p(38401);const v=p(33e3);const T=p(33e3);const _=p(83341);const V=p(54183);const Z=p(13360);const ee=p(64220);const te=p(37647);const re=p(50507);const ne=p(33543);const ie=p(22958);const se=p(19456);const oe=p(84827);const ae=p(14539);const le=p(13507);const ce=p(9386);const ue=p(67985);const Ae=p(98915);const de=p(73170);const pe=p(38147);const fe=p(51029);class BlobClient extends oe.StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(A,d,p,T){T=T||{};let _;let V;if((0,ne.isPipelineLike)(d)){V=A;_=d}else if(v.isNodeLike&&d instanceof ee.StorageSharedKeyCredential||d instanceof Z.AnonymousCredential||(0,S.isTokenCredential)(d)){V=A;T=p;_=(0,ne.newPipeline)(d,T)}else if(!d&&typeof d!=="string"){V=A;if(p&&typeof p!=="string"){T=p}_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const S=d;const te=p;const re=(0,Ae.extractConnectionStringParts)(A);if(re.kind==="AccountConnString"){if(v.isNodeLike){const A=new ee.StorageSharedKeyCredential(re.accountName,re.accountKey);V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te));if(!T.proxyOptions){T.proxyOptions=(0,C.getDefaultProxySettings)(re.proxyUri)}_=(0,ne.newPipeline)(A,T)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(re.kind==="SASConnString"){V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te))+"?"+re.accountSas;_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}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(V,_);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=(0,Ae.getURLParameter)(this.url,ce.URLConstants.Parameters.SNAPSHOT);this._versionId=(0,Ae.getURLParameter)(this.url,ce.URLConstants.Parameters.VERSIONID)}withSnapshot(A){return new BlobClient((0,Ae.setURLParameter)(this.url,ce.URLConstants.Parameters.SNAPSHOT,A.length===0?undefined:A),this.pipeline)}withVersion(A){return new BlobClient((0,Ae.setURLParameter)(this.url,ce.URLConstants.Parameters.VERSIONID,A.length===0?undefined:A),this.pipeline)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline)}async download(A=0,d,p={}){p.conditions=p.conditions||{};p.conditions=p.conditions||{};(0,te.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlobClient-download",p,(async C=>{const S=(0,Ae.assertResponse)(await this.blobContext.download({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onDownloadProgress:v.isNodeLike?undefined:p.onProgress},range:A===0&&!d?undefined:(0,se.rangeToString)({offset:A,count:d}),rangeGetContentMD5:p.rangeGetContentMD5,rangeGetContentCRC64:p.rangeGetContentCrc64,snapshot:p.snapshot,cpkInfo:p.customerProvidedKey,tracingOptions:C.tracingOptions}));const T={...S,_response:S._response,objectReplicationDestinationPolicyId:S.objectReplicationPolicyId,objectReplicationSourceProperties:(0,Ae.parseObjectReplicationRecord)(S.objectReplicationRules)};if(!v.isNodeLike){return T}if(p.maxRetryRequests===undefined||p.maxRetryRequests<0){p.maxRetryRequests=ce.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS}if(S.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!S.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new _.BlobDownloadResponse(T,(async d=>{const C={leaseAccessConditions:p.conditions,modifiedAccessConditions:{ifMatch:p.conditions.ifMatch||S.etag,ifModifiedSince:p.conditions.ifModifiedSince,ifNoneMatch:p.conditions.ifNoneMatch,ifUnmodifiedSince:p.conditions.ifUnmodifiedSince,ifTags:p.conditions?.tagConditions},range:(0,se.rangeToString)({count:A+S.contentLength-d,offset:d}),rangeGetContentMD5:p.rangeGetContentMD5,rangeGetContentCRC64:p.rangeGetContentCrc64,snapshot:p.snapshot,cpkInfo:p.customerProvidedKey};return(await this.blobContext.download({abortSignal:p.abortSignal,...C})).readableStreamBody}),A,S.contentLength,{maxRetryRequests:p.maxRetryRequests,onProgress:p.onProgress})}))}async exists(A={}){return ue.tracingClient.withSpan("BlobClient-exists",A,(async d=>{try{(0,te.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:A.abortSignal,customerProvidedKey:A.customerProvidedKey,conditions:A.conditions,tracingOptions:d.tracingOptions});return true}catch(A){if(A.statusCode===404){return false}else if(A.statusCode===409&&(A.details.errorCode===ce.BlobUsesCustomerSpecifiedEncryptionMsg||A.details.errorCode===ce.BlobDoesNotUseCustomerSpecifiedEncryption)){return true}throw A}}))}async getProperties(A={}){A.conditions=A.conditions||{};(0,te.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlobClient-getProperties",A,(async d=>{const p=(0,Ae.assertResponse)(await this.blobContext.getProperties({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},cpkInfo:A.customerProvidedKey,tracingOptions:d.tracingOptions}));return{...p,_response:p._response,objectReplicationDestinationPolicyId:p.objectReplicationPolicyId,objectReplicationSourceProperties:(0,Ae.parseObjectReplicationRecord)(p.objectReplicationRules)}}))}async delete(A={}){A.conditions=A.conditions||{};return ue.tracingClient.withSpan("BlobClient-delete",A,(async d=>(0,Ae.assertResponse)(await this.blobContext.delete({abortSignal:A.abortSignal,deleteSnapshots:A.deleteSnapshots,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async deleteIfExists(A={}){return ue.tracingClient.withSpan("BlobClient-deleteIfExists",A,(async A=>{try{const d=(0,Ae.assertResponse)(await this.delete(A));return{succeeded:true,...d,_response:d._response}}catch(A){if(A.details?.errorCode==="BlobNotFound"){return{succeeded:false,...A.response?.parsedHeaders,_response:A.response}}throw A}}))}async undelete(A={}){return ue.tracingClient.withSpan("BlobClient-undelete",A,(async d=>(0,Ae.assertResponse)(await this.blobContext.undelete({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions}))))}async setHTTPHeaders(A,d={}){d.conditions=d.conditions||{};(0,te.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlobClient-setHTTPHeaders",d,(async p=>(0,Ae.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:d.abortSignal,blobHttpHeaders:A,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}async setMetadata(A,d={}){d.conditions=d.conditions||{};(0,te.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlobClient-setMetadata",d,(async p=>(0,Ae.assertResponse)(await this.blobContext.setMetadata({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:A,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async setTags(A,d={}){return ue.tracingClient.withSpan("BlobClient-setTags",d,(async p=>(0,Ae.assertResponse)(await this.blobContext.setTags({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions,tags:(0,Ae.toBlobTags)(A)}))))}async getTags(A={}){return ue.tracingClient.withSpan("BlobClient-getTags",A,(async d=>{const p=(0,Ae.assertResponse)(await this.blobContext.getTags({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},tracingOptions:d.tracingOptions}));const C={...p,_response:p._response,tags:(0,Ae.toTags)({blobTagSet:p.blobTagSet})||{}};return C}))}getBlobLeaseClient(A){return new fe.BlobLeaseClient(this,A)}async createSnapshot(A={}){A.conditions=A.conditions||{};(0,te.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlobClient-createSnapshot",A,(async d=>(0,Ae.assertResponse)(await this.blobContext.createSnapshot({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,metadata:A.metadata,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,tracingOptions:d.tracingOptions}))))}async beginCopyFromURL(A,d={}){const p={abortCopyFromURL:(...A)=>this.abortCopyFromURL(...A),getProperties:(...A)=>this.getProperties(...A),startCopyFromURL:(...A)=>this.startCopyFromURL(...A)};const C=new ie.BlobBeginCopyFromUrlPoller({blobClient:p,copySource:A,intervalInMs:d.intervalInMs,onProgress:d.onProgress,resumeFrom:d.resumeFrom,startCopyFromURLOptions:d});await C.poll();return C}async abortCopyFromURL(A,d={}){return ue.tracingClient.withSpan("BlobClient-abortCopyFromURL",d,(async p=>(0,Ae.assertResponse)(await this.blobContext.abortCopyFromURL(A,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))))}async syncCopyFromURL(A,d={}){d.conditions=d.conditions||{};d.sourceConditions=d.sourceConditions||{};return ue.tracingClient.withSpan("BlobClient-syncCopyFromURL",d,(async p=>(0,Ae.assertResponse)(await this.blobContext.copyFromURL(A,{abortSignal:d.abortSignal,metadata:d.metadata,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions?.ifMatch,sourceIfModifiedSince:d.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:d.sourceContentMD5,copySourceAuthorization:(0,Ae.httpAuthorizationToString)(d.sourceAuthorization),tier:(0,te.toAccessTier)(d.tier),blobTagsString:(0,Ae.toBlobTagsString)(d.tags),immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,encryptionScope:d.encryptionScope,copySourceTags:d.copySourceTags,fileRequestIntent:d.sourceShareTokenIntent,tracingOptions:p.tracingOptions}))))}async setAccessTier(A,d={}){return ue.tracingClient.withSpan("BlobClient-setAccessTier",d,(async p=>(0,Ae.assertResponse)(await this.blobContext.setTier((0,te.toAccessTier)(A),{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},rehydratePriority:d.rehydratePriority,tracingOptions:p.tracingOptions}))))}async downloadToBuffer(A,d,p,C={}){let S;let v=0;let T=0;let _=C;if(A instanceof Buffer){S=A;v=d||0;T=typeof p==="number"?p:0}else{v=typeof A==="number"?A:0;T=typeof d==="number"?d:0;_=p||{}}let V=_.blockSize??0;if(V<0){throw new RangeError("blockSize option must be >= 0")}if(V===0){V=ce.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}if(v<0){throw new RangeError("offset option must be >= 0")}if(T&&T<=0){throw new RangeError("count option must be greater than 0")}if(!_.conditions){_.conditions={}}return ue.tracingClient.withSpan("BlobClient-downloadToBuffer",_,(async A=>{if(!T){const d=await this.getProperties({..._,tracingOptions:A.tracingOptions});T=d.contentLength-v;if(T<0){throw new RangeError(`offset ${v} shouldn't be larger than blob size ${d.contentLength}`)}}if(!S){try{S=Buffer.alloc(T)}catch(A){throw new Error(`Unable to allocate the buffer of size: ${T}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${A.message}`)}}if(S.length<T){throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${T}`)}let d=0;const p=new ae.Batch(_.concurrency);for(let C=v;C<v+T;C=C+V){p.addOperation((async()=>{let p=v+T;if(C+V<p){p=C+V}const Z=await this.download(C,p-C,{abortSignal:_.abortSignal,conditions:_.conditions,maxRetryRequests:_.maxRetryRequestsPerBlock,customerProvidedKey:_.customerProvidedKey,tracingOptions:A.tracingOptions});const ee=Z.readableStreamBody;await(0,de.streamToBuffer)(ee,S,C-v,p-v);d+=p-C;if(_.onProgress){_.onProgress({loadedBytes:d})}}))}await p.do();return S}))}async downloadToFile(A,d=0,p,C={}){return ue.tracingClient.withSpan("BlobClient-downloadToFile",C,(async S=>{const v=await this.download(d,p,{...C,tracingOptions:S.tracingOptions});if(v.readableStreamBody){await(0,de.readStreamToLocalFile)(v.readableStreamBody,A)}v.blobDownloadStream=undefined;return v}))}getBlobAndContainerNamesFromUrl(){let A;let d;try{const p=new URL(this.url);if(p.host.split(".")[1]==="blob"){const C=p.pathname.match("/([^/]*)(/(.*))?");A=C[1];d=C[3]}else if((0,Ae.isIpEndpointStyle)(p)){const C=p.pathname.match("/([^/]*)/([^/]*)(/(.*))?");A=C[2];d=C[4]}else{const C=p.pathname.match("/([^/]*)(/(.*))?");A=C[1];d=C[3]}A=decodeURIComponent(A);d=decodeURIComponent(d);d=d.replace(/\\/g,"/");if(!A){throw new Error("Provided containerName is invalid.")}return{blobName:d,containerName:A}}catch(A){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(A,d={}){return ue.tracingClient.withSpan("BlobClient-startCopyFromURL",d,(async p=>{d.conditions=d.conditions||{};d.sourceConditions=d.sourceConditions||{};return(0,Ae.assertResponse)(await this.blobContext.startCopyFromURL(A,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions.ifMatch,sourceIfModifiedSince:d.sourceConditions.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions.ifUnmodifiedSince,sourceIfTags:d.sourceConditions.tagConditions},immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,rehydratePriority:d.rehydratePriority,tier:(0,te.toAccessTier)(d.tier),blobTagsString:(0,Ae.toBlobTagsString)(d.tags),sealBlob:d.sealBlob,tracingOptions:p.tracingOptions}))}))}generateSasUrl(A){return new Promise((d=>{if(!(this.credential instanceof ee.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const p=(0,pe.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...A},this.credential).toString();d((0,Ae.appendToURLQuery)(this.url,p))}))}generateSasStringToSign(A){if(!(this.credential instanceof ee.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,pe.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...A},this.credential).stringToSign}generateUserDelegationSasUrl(A,d){return new Promise((p=>{const C=(0,pe.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...A},d,this.accountName).toString();p((0,Ae.appendToURLQuery)(this.url,C))}))}generateUserDelegationSasStringToSign(A,d){return(0,pe.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...A},d,this.accountName).stringToSign}async deleteImmutabilityPolicy(A={}){return ue.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",A,(async A=>(0,Ae.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:A.tracingOptions}))))}async setImmutabilityPolicy(A,d={}){return ue.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",d,(async d=>(0,Ae.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:A.expiriesOn,immutabilityPolicyMode:A.policyMode,tracingOptions:d.tracingOptions}))))}async setLegalHold(A,d={}){return ue.tracingClient.withSpan("BlobClient-setLegalHold",d,(async d=>(0,Ae.assertResponse)(await this.blobContext.setLegalHold(A,{tracingOptions:d.tracingOptions}))))}async getAccountInfo(A={}){return ue.tracingClient.withSpan("BlobClient-getAccountInfo",A,(async d=>(0,Ae.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions}))))}}d.BlobClient=BlobClient;class AppendBlobClient extends BlobClient{appendBlobContext;constructor(A,d,p,T){let _;let V;T=T||{};if((0,ne.isPipelineLike)(d)){V=A;_=d}else if(v.isNodeLike&&d instanceof ee.StorageSharedKeyCredential||d instanceof Z.AnonymousCredential||(0,S.isTokenCredential)(d)){V=A;T=p;_=(0,ne.newPipeline)(d,T)}else if(!d&&typeof d!=="string"){V=A;_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const S=d;const te=p;const re=(0,Ae.extractConnectionStringParts)(A);if(re.kind==="AccountConnString"){if(v.isNodeLike){const A=new ee.StorageSharedKeyCredential(re.accountName,re.accountKey);V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te));if(!T.proxyOptions){T.proxyOptions=(0,C.getDefaultProxySettings)(re.proxyUri)}_=(0,ne.newPipeline)(A,T)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(re.kind==="SASConnString"){V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te))+"?"+re.accountSas;_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}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(V,_);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(A){return new AppendBlobClient((0,Ae.setURLParameter)(this.url,ce.URLConstants.Parameters.SNAPSHOT,A.length===0?undefined:A),this.pipeline)}async create(A={}){A.conditions=A.conditions||{};(0,te.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("AppendBlobClient-create",A,(async d=>(0,Ae.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:A.abortSignal,blobHttpHeaders:A.blobHTTPHeaders,leaseAccessConditions:A.conditions,metadata:A.metadata,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,immutabilityPolicyExpiry:A.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:A.immutabilityPolicy?.policyMode,legalHold:A.legalHold,blobTagsString:(0,Ae.toBlobTagsString)(A.tags),tracingOptions:d.tracingOptions}))))}async createIfNotExists(A={}){const d={ifNoneMatch:ce.ETagAny};return ue.tracingClient.withSpan("AppendBlobClient-createIfNotExists",A,(async A=>{try{const p=(0,Ae.assertResponse)(await this.create({...A,conditions:d}));return{succeeded:true,...p,_response:p._response}}catch(A){if(A.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...A.response?.parsedHeaders,_response:A.response}}throw A}}))}async seal(A={}){A.conditions=A.conditions||{};return ue.tracingClient.withSpan("AppendBlobClient-seal",A,(async d=>(0,Ae.assertResponse)(await this.appendBlobContext.seal({abortSignal:A.abortSignal,appendPositionAccessConditions:A.conditions,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async appendBlock(A,d,p={}){p.conditions=p.conditions||{};(0,te.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("AppendBlobClient-appendBlock",p,(async C=>(0,Ae.assertResponse)(await this.appendBlobContext.appendBlock(d,A,{abortSignal:p.abortSignal,appendPositionAccessConditions:p.conditions,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},transactionalContentMD5:p.transactionalContentMD5,transactionalContentCrc64:p.transactionalContentCrc64,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:C.tracingOptions}))))}async appendBlockFromURL(A,d,p,C={}){C.conditions=C.conditions||{};C.sourceConditions=C.sourceConditions||{};(0,te.ensureCpkIfSpecified)(C.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",C,(async S=>(0,Ae.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(A,0,{abortSignal:C.abortSignal,sourceRange:(0,se.rangeToString)({offset:d,count:p}),sourceContentMD5:C.sourceContentMD5,sourceContentCrc64:C.sourceContentCrc64,leaseAccessConditions:C.conditions,appendPositionAccessConditions:C.conditions,modifiedAccessConditions:{...C.conditions,ifTags:C.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:C.sourceConditions?.ifMatch,sourceIfModifiedSince:C.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:C.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:C.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,Ae.httpAuthorizationToString)(C.sourceAuthorization),cpkInfo:C.customerProvidedKey,encryptionScope:C.encryptionScope,fileRequestIntent:C.sourceShareTokenIntent,tracingOptions:S.tracingOptions}))))}}d.AppendBlobClient=AppendBlobClient;class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(A,d,p,T){let _;let V;T=T||{};if((0,ne.isPipelineLike)(d)){V=A;_=d}else if(v.isNodeLike&&d instanceof ee.StorageSharedKeyCredential||d instanceof Z.AnonymousCredential||(0,S.isTokenCredential)(d)){V=A;T=p;_=(0,ne.newPipeline)(d,T)}else if(!d&&typeof d!=="string"){V=A;if(p&&typeof p!=="string"){T=p}_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const S=d;const te=p;const re=(0,Ae.extractConnectionStringParts)(A);if(re.kind==="AccountConnString"){if(v.isNodeLike){const A=new ee.StorageSharedKeyCredential(re.accountName,re.accountKey);V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te));if(!T.proxyOptions){T.proxyOptions=(0,C.getDefaultProxySettings)(re.proxyUri)}_=(0,ne.newPipeline)(A,T)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(re.kind==="SASConnString"){V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te))+"?"+re.accountSas;_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}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(V,_);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(A){return new BlockBlobClient((0,Ae.setURLParameter)(this.url,ce.URLConstants.Parameters.SNAPSHOT,A.length===0?undefined:A),this.pipeline)}async query(A,d={}){(0,te.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);if(!v.isNodeLike){throw new Error("This operation currently is only supported in Node.js.")}return ue.tracingClient.withSpan("BlockBlobClient-query",d,(async p=>{const C=(0,Ae.assertResponse)(await this._blobContext.query({abortSignal:d.abortSignal,queryRequest:{queryType:"SQL",expression:A,inputSerialization:(0,Ae.toQuerySerialization)(d.inputTextConfiguration),outputSerialization:(0,Ae.toQuerySerialization)(d.outputTextConfiguration)},leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,tracingOptions:p.tracingOptions}));return new V.BlobQueryResponse(C,{abortSignal:d.abortSignal,onProgress:d.onProgress,onError:d.onError})}))}async upload(A,d,p={}){p.conditions=p.conditions||{};(0,te.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlockBlobClient-upload",p,(async C=>(0,Ae.assertResponse)(await this.blockBlobContext.upload(d,A,{abortSignal:p.abortSignal,blobHttpHeaders:p.blobHTTPHeaders,leaseAccessConditions:p.conditions,metadata:p.metadata,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,immutabilityPolicyExpiry:p.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:p.immutabilityPolicy?.policyMode,legalHold:p.legalHold,tier:(0,te.toAccessTier)(p.tier),blobTagsString:(0,Ae.toBlobTagsString)(p.tags),tracingOptions:C.tracingOptions}))))}async syncUploadFromURL(A,d={}){d.conditions=d.conditions||{};(0,te.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",d,(async p=>(0,Ae.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,A,{...d,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions?.ifMatch,sourceIfModifiedSince:d.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions?.ifUnmodifiedSince,sourceIfTags:d.sourceConditions?.tagConditions},cpkInfo:d.customerProvidedKey,copySourceAuthorization:(0,Ae.httpAuthorizationToString)(d.sourceAuthorization),tier:(0,te.toAccessTier)(d.tier),blobTagsString:(0,Ae.toBlobTagsString)(d.tags),copySourceTags:d.copySourceTags,fileRequestIntent:d.sourceShareTokenIntent,tracingOptions:p.tracingOptions}))))}async stageBlock(A,d,p,C={}){(0,te.ensureCpkIfSpecified)(C.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlockBlobClient-stageBlock",C,(async S=>(0,Ae.assertResponse)(await this.blockBlobContext.stageBlock(A,p,d,{abortSignal:C.abortSignal,leaseAccessConditions:C.conditions,requestOptions:{onUploadProgress:C.onProgress},transactionalContentMD5:C.transactionalContentMD5,transactionalContentCrc64:C.transactionalContentCrc64,cpkInfo:C.customerProvidedKey,encryptionScope:C.encryptionScope,tracingOptions:S.tracingOptions}))))}async stageBlockFromURL(A,d,p=0,C,S={}){(0,te.ensureCpkIfSpecified)(S.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",S,(async v=>(0,Ae.assertResponse)(await this.blockBlobContext.stageBlockFromURL(A,0,d,{abortSignal:S.abortSignal,leaseAccessConditions:S.conditions,sourceContentMD5:S.sourceContentMD5,sourceContentCrc64:S.sourceContentCrc64,sourceRange:p===0&&!C?undefined:(0,se.rangeToString)({offset:p,count:C}),cpkInfo:S.customerProvidedKey,encryptionScope:S.encryptionScope,copySourceAuthorization:(0,Ae.httpAuthorizationToString)(S.sourceAuthorization),fileRequestIntent:S.sourceShareTokenIntent,tracingOptions:v.tracingOptions}))))}async commitBlockList(A,d={}){d.conditions=d.conditions||{};(0,te.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("BlockBlobClient-commitBlockList",d,(async p=>(0,Ae.assertResponse)(await this.blockBlobContext.commitBlockList({latest:A},{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,te.toAccessTier)(d.tier),blobTagsString:(0,Ae.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async getBlockList(A,d={}){return ue.tracingClient.withSpan("BlockBlobClient-getBlockList",d,(async p=>{const C=(0,Ae.assertResponse)(await this.blockBlobContext.getBlockList(A,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}));if(!C.committedBlocks){C.committedBlocks=[]}if(!C.uncommittedBlocks){C.uncommittedBlocks=[]}return C}))}async uploadData(A,d={}){return ue.tracingClient.withSpan("BlockBlobClient-uploadData",d,(async d=>{if(v.isNodeLike){let p;if(A instanceof Buffer){p=A}else if(A instanceof ArrayBuffer){p=Buffer.from(A)}else{A=A;p=Buffer.from(A.buffer,A.byteOffset,A.byteLength)}return this.uploadSeekableInternal(((A,d)=>p.slice(A,A+d)),p.byteLength,d)}else{const p=new Blob([A]);return this.uploadSeekableInternal(((A,d)=>p.slice(A,A+d)),p.size,d)}}))}async uploadBrowserData(A,d={}){return ue.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",d,(async d=>{const p=new Blob([A]);return this.uploadSeekableInternal(((A,d)=>p.slice(A,A+d)),p.size,d)}))}async uploadSeekableInternal(A,d,p={}){let C=p.blockSize??0;if(C<0||C>ce.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES){throw new RangeError(`blockSize option must be >= 0 and <= ${ce.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`)}const S=p.maxSingleShotSize??ce.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(S<0||S>ce.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${ce.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`)}if(C===0){if(d>ce.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*ce.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`${d} is too larger to upload to a block blob.`)}if(d>S){C=Math.ceil(d/ce.BLOCK_BLOB_MAX_BLOCKS);if(C<ce.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES){C=ce.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}}}if(!p.blobHTTPHeaders){p.blobHTTPHeaders={}}if(!p.conditions){p.conditions={}}return ue.tracingClient.withSpan("BlockBlobClient-uploadSeekableInternal",p,(async v=>{if(d<=S){return(0,Ae.assertResponse)(await this.upload(A(0,d),d,v))}const _=Math.floor((d-1)/C)+1;if(_>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 V=[];const Z=(0,T.randomUUID)();let ee=0;const te=new ae.Batch(p.concurrency);for(let S=0;S<_;S++){te.addOperation((async()=>{const T=(0,Ae.generateBlockID)(Z,S);const te=C*S;const re=S===_-1?d:te+C;const ne=re-te;V.push(T);await this.stageBlock(T,A(te,ne),ne,{abortSignal:p.abortSignal,conditions:p.conditions,encryptionScope:p.encryptionScope,tracingOptions:v.tracingOptions});ee+=ne;if(p.onProgress){p.onProgress({loadedBytes:ee})}}))}await te.do();return this.commitBlockList(V,v)}))}async uploadFile(A,d={}){return ue.tracingClient.withSpan("BlockBlobClient-uploadFile",d,(async p=>{const C=(await(0,de.fsStat)(A)).size;return this.uploadSeekableInternal(((d,p)=>()=>(0,de.fsCreateReadStream)(A,{autoClose:true,end:p?d+p-1:Infinity,start:d})),C,{...d,tracingOptions:p.tracingOptions})}))}async uploadStream(A,d=ce.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,p=5,C={}){if(!C.blobHTTPHeaders){C.blobHTTPHeaders={}}if(!C.conditions){C.conditions={}}return ue.tracingClient.withSpan("BlockBlobClient-uploadStream",C,(async S=>{let v=0;const _=(0,T.randomUUID)();let V=0;const Z=[];const ee=new le.BufferScheduler(A,d,p,(async(A,d)=>{const p=(0,Ae.generateBlockID)(_,v);Z.push(p);v++;await this.stageBlock(p,A,d,{customerProvidedKey:C.customerProvidedKey,conditions:C.conditions,encryptionScope:C.encryptionScope,tracingOptions:S.tracingOptions});V+=d;if(C.onProgress){C.onProgress({loadedBytes:V})}}),Math.ceil(p/4*3));await ee.do();return(0,Ae.assertResponse)(await this.commitBlockList(Z,{...C,tracingOptions:S.tracingOptions}))}))}}d.BlockBlobClient=BlockBlobClient;class PageBlobClient extends BlobClient{pageBlobContext;constructor(A,d,p,T){let _;let V;T=T||{};if((0,ne.isPipelineLike)(d)){V=A;_=d}else if(v.isNodeLike&&d instanceof ee.StorageSharedKeyCredential||d instanceof Z.AnonymousCredential||(0,S.isTokenCredential)(d)){V=A;T=p;_=(0,ne.newPipeline)(d,T)}else if(!d&&typeof d!=="string"){V=A;_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const S=d;const te=p;const re=(0,Ae.extractConnectionStringParts)(A);if(re.kind==="AccountConnString"){if(v.isNodeLike){const A=new ee.StorageSharedKeyCredential(re.accountName,re.accountKey);V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te));if(!T.proxyOptions){T.proxyOptions=(0,C.getDefaultProxySettings)(re.proxyUri)}_=(0,ne.newPipeline)(A,T)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(re.kind==="SASConnString"){V=(0,Ae.appendToURLPath)((0,Ae.appendToURLPath)(re.url,encodeURIComponent(S)),encodeURIComponent(te))+"?"+re.accountSas;_=(0,ne.newPipeline)(new Z.AnonymousCredential,T)}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(V,_);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(A){return new PageBlobClient((0,Ae.setURLParameter)(this.url,ce.URLConstants.Parameters.SNAPSHOT,A.length===0?undefined:A),this.pipeline)}async create(A,d={}){d.conditions=d.conditions||{};(0,te.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("PageBlobClient-create",d,(async p=>(0,Ae.assertResponse)(await this.pageBlobContext.create(0,A,{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,blobSequenceNumber:d.blobSequenceNumber,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,te.toAccessTier)(d.tier),blobTagsString:(0,Ae.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async createIfNotExists(A,d={}){return ue.tracingClient.withSpan("PageBlobClient-createIfNotExists",d,(async p=>{try{const C={ifNoneMatch:ce.ETagAny};const S=(0,Ae.assertResponse)(await this.create(A,{...d,conditions:C,tracingOptions:p.tracingOptions}));return{succeeded:true,...S,_response:S._response}}catch(A){if(A.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...A.response?.parsedHeaders,_response:A.response}}throw A}}))}async uploadPages(A,d,p,C={}){C.conditions=C.conditions||{};(0,te.ensureCpkIfSpecified)(C.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("PageBlobClient-uploadPages",C,(async S=>(0,Ae.assertResponse)(await this.pageBlobContext.uploadPages(p,A,{abortSignal:C.abortSignal,leaseAccessConditions:C.conditions,modifiedAccessConditions:{...C.conditions,ifTags:C.conditions?.tagConditions},requestOptions:{onUploadProgress:C.onProgress},range:(0,se.rangeToString)({offset:d,count:p}),sequenceNumberAccessConditions:C.conditions,transactionalContentMD5:C.transactionalContentMD5,transactionalContentCrc64:C.transactionalContentCrc64,cpkInfo:C.customerProvidedKey,encryptionScope:C.encryptionScope,tracingOptions:S.tracingOptions}))))}async uploadPagesFromURL(A,d,p,C,S={}){S.conditions=S.conditions||{};S.sourceConditions=S.sourceConditions||{};(0,te.ensureCpkIfSpecified)(S.customerProvidedKey,this.isHttps);return ue.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",S,(async v=>(0,Ae.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(A,(0,se.rangeToString)({offset:d,count:C}),0,(0,se.rangeToString)({offset:p,count:C}),{abortSignal:S.abortSignal,sourceContentMD5:S.sourceContentMD5,sourceContentCrc64:S.sourceContentCrc64,leaseAccessConditions:S.conditions,sequenceNumberAccessConditions:S.conditions,modifiedAccessConditions:{...S.conditions,ifTags:S.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:S.sourceConditions?.ifMatch,sourceIfModifiedSince:S.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:S.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:S.sourceConditions?.ifUnmodifiedSince},cpkInfo:S.customerProvidedKey,encryptionScope:S.encryptionScope,copySourceAuthorization:(0,Ae.httpAuthorizationToString)(S.sourceAuthorization),fileRequestIntent:S.sourceShareTokenIntent,tracingOptions:v.tracingOptions}))))}async clearPages(A=0,d,p={}){p.conditions=p.conditions||{};return ue.tracingClient.withSpan("PageBlobClient-clearPages",p,(async C=>(0,Ae.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,se.rangeToString)({offset:A,count:d}),sequenceNumberAccessConditions:p.conditions,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:C.tracingOptions}))))}async getPageRanges(A=0,d,p={}){p.conditions=p.conditions||{};return ue.tracingClient.withSpan("PageBlobClient-getPageRanges",p,(async C=>{const S=(0,Ae.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,se.rangeToString)({offset:A,count:d}),tracingOptions:C.tracingOptions}));return(0,re.rangeResponseFromModel)(S)}))}async listPageRangesSegment(A=0,d,p,C={}){return ue.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",C,(async S=>(0,Ae.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:C.abortSignal,leaseAccessConditions:C.conditions,modifiedAccessConditions:{...C.conditions,ifTags:C.conditions?.tagConditions},range:(0,se.rangeToString)({offset:A,count:d}),marker:p,maxPageSize:C.maxPageSize,tracingOptions:S.tracingOptions}))))}async*listPageRangeItemSegments(A=0,d,p,C={}){let S;if(!!p||p===undefined){do{S=await this.listPageRangesSegment(A,d,p,C);p=S.continuationToken;yield await S}while(p)}}async*listPageRangeItems(A=0,d,p={}){let C;for await(const S of this.listPageRangeItemSegments(A,d,C,p)){yield*(0,Ae.ExtractPageRangeInfoItems)(S)}}listPageRanges(A=0,d,p={}){p.conditions=p.conditions||{};const C=this.listPageRangeItems(A,d,p);return{next(){return C.next()},[Symbol.asyncIterator](){return this},byPage:(C={})=>this.listPageRangeItemSegments(A,d,C.continuationToken,{maxPageSize:C.maxPageSize,...p})}}async getPageRangesDiff(A,d,p,C={}){C.conditions=C.conditions||{};return ue.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",C,(async S=>{const v=(0,Ae.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:C.abortSignal,leaseAccessConditions:C.conditions,modifiedAccessConditions:{...C.conditions,ifTags:C.conditions?.tagConditions},prevsnapshot:p,range:(0,se.rangeToString)({offset:A,count:d}),tracingOptions:S.tracingOptions}));return(0,re.rangeResponseFromModel)(v)}))}async listPageRangesDiffSegment(A,d,p,C,S={}){return ue.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",S,(async v=>(0,Ae.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:S?.abortSignal,leaseAccessConditions:S?.conditions,modifiedAccessConditions:{...S?.conditions,ifTags:S?.conditions?.tagConditions},prevsnapshot:p,range:(0,se.rangeToString)({offset:A,count:d}),marker:C,maxPageSize:S?.maxPageSize,tracingOptions:v.tracingOptions}))))}async*listPageRangeDiffItemSegments(A,d,p,C,S){let v;if(!!C||C===undefined){do{v=await this.listPageRangesDiffSegment(A,d,p,C,S);C=v.continuationToken;yield await v}while(C)}}async*listPageRangeDiffItems(A,d,p,C){let S;for await(const v of this.listPageRangeDiffItemSegments(A,d,p,S,C)){yield*(0,Ae.ExtractPageRangeInfoItems)(v)}}listPageRangesDiff(A,d,p,C={}){C.conditions=C.conditions||{};const S=this.listPageRangeDiffItems(A,d,p,{...C});return{next(){return S.next()},[Symbol.asyncIterator](){return this},byPage:(S={})=>this.listPageRangeDiffItemSegments(A,d,p,S.continuationToken,{maxPageSize:S.maxPageSize,...C})}}async getPageRangesDiffForManagedDisks(A,d,p,C={}){C.conditions=C.conditions||{};return ue.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",C,(async S=>{const v=(0,Ae.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:C.abortSignal,leaseAccessConditions:C.conditions,modifiedAccessConditions:{...C.conditions,ifTags:C.conditions?.tagConditions},prevSnapshotUrl:p,range:(0,se.rangeToString)({offset:A,count:d}),tracingOptions:S.tracingOptions}));return(0,re.rangeResponseFromModel)(v)}))}async resize(A,d={}){d.conditions=d.conditions||{};return ue.tracingClient.withSpan("PageBlobClient-resize",d,(async p=>(0,Ae.assertResponse)(await this.pageBlobContext.resize(A,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async updateSequenceNumber(A,d,p={}){p.conditions=p.conditions||{};return ue.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",p,(async C=>(0,Ae.assertResponse)(await this.pageBlobContext.updateSequenceNumber(A,{abortSignal:p.abortSignal,blobSequenceNumber:d,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},tracingOptions:C.tracingOptions}))))}async startCopyIncremental(A,d={}){return ue.tracingClient.withSpan("PageBlobClient-startCopyIncremental",d,(async p=>(0,Ae.assertResponse)(await this.pageBlobContext.copyIncremental(A,{abortSignal:d.abortSignal,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}}d.PageBlobClient=PageBlobClient},83745:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerClient=void 0;const C=p(81591);const S=p(33e3);const v=p(38401);const T=p(13360);const _=p(64220);const V=p(33543);const Z=p(84827);const ee=p(67985);const te=p(98915);const re=p(38147);const ne=p(51029);const ie=p(59813);const se=p(37683);class ContainerClient extends Z.StorageClient{containerContext;_containerName;get containerName(){return this._containerName}constructor(A,d,p){let Z;let ee;p=p||{};if((0,V.isPipelineLike)(d)){ee=A;Z=d}else if(S.isNodeLike&&d instanceof _.StorageSharedKeyCredential||d instanceof T.AnonymousCredential||(0,v.isTokenCredential)(d)){ee=A;Z=(0,V.newPipeline)(d,p)}else if(!d&&typeof d!=="string"){ee=A;Z=(0,V.newPipeline)(new T.AnonymousCredential,p)}else if(d&&typeof d==="string"){const v=d;const re=(0,te.extractConnectionStringParts)(A);if(re.kind==="AccountConnString"){if(S.isNodeLike){const A=new _.StorageSharedKeyCredential(re.accountName,re.accountKey);ee=(0,te.appendToURLPath)(re.url,encodeURIComponent(v));if(!p.proxyOptions){p.proxyOptions=(0,C.getDefaultProxySettings)(re.proxyUri)}Z=(0,V.newPipeline)(A,p)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(re.kind==="SASConnString"){ee=(0,te.appendToURLPath)(re.url,encodeURIComponent(v))+"?"+re.accountSas;Z=(0,V.newPipeline)(new T.AnonymousCredential,p)}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(ee,Z);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(A={}){return ee.tracingClient.withSpan("ContainerClient-create",A,(async A=>(0,te.assertResponse)(await this.containerContext.create(A))))}async createIfNotExists(A={}){return ee.tracingClient.withSpan("ContainerClient-createIfNotExists",A,(async A=>{try{const d=await this.create(A);return{succeeded:true,...d,_response:d._response}}catch(A){if(A.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...A.response?.parsedHeaders,_response:A.response}}else{throw A}}}))}async exists(A={}){return ee.tracingClient.withSpan("ContainerClient-exists",A,(async d=>{try{await this.getProperties({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions});return true}catch(A){if(A.statusCode===404){return false}throw A}}))}getBlobClient(A){return new ie.BlobClient((0,te.appendToURLPath)(this.url,(0,te.EscapePath)(A)),this.pipeline)}getAppendBlobClient(A){return new ie.AppendBlobClient((0,te.appendToURLPath)(this.url,(0,te.EscapePath)(A)),this.pipeline)}getBlockBlobClient(A){return new ie.BlockBlobClient((0,te.appendToURLPath)(this.url,(0,te.EscapePath)(A)),this.pipeline)}getPageBlobClient(A){return new ie.PageBlobClient((0,te.appendToURLPath)(this.url,(0,te.EscapePath)(A)),this.pipeline)}async getProperties(A={}){if(!A.conditions){A.conditions={}}return ee.tracingClient.withSpan("ContainerClient-getProperties",A,(async d=>(0,te.assertResponse)(await this.containerContext.getProperties({abortSignal:A.abortSignal,...A.conditions,tracingOptions:d.tracingOptions}))))}async delete(A={}){if(!A.conditions){A.conditions={}}return ee.tracingClient.withSpan("ContainerClient-delete",A,(async d=>(0,te.assertResponse)(await this.containerContext.delete({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,modifiedAccessConditions:A.conditions,tracingOptions:d.tracingOptions}))))}async deleteIfExists(A={}){return ee.tracingClient.withSpan("ContainerClient-deleteIfExists",A,(async A=>{try{const d=await this.delete(A);return{succeeded:true,...d,_response:d._response}}catch(A){if(A.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...A.response?.parsedHeaders,_response:A.response}}throw A}}))}async setMetadata(A,d={}){if(!d.conditions){d.conditions={}}if(d.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return ee.tracingClient.withSpan("ContainerClient-setMetadata",d,(async p=>(0,te.assertResponse)(await this.containerContext.setMetadata({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:A,modifiedAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))))}async getAccessPolicy(A={}){if(!A.conditions){A.conditions={}}return ee.tracingClient.withSpan("ContainerClient-getAccessPolicy",A,(async d=>{const p=(0,te.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,tracingOptions:d.tracingOptions}));const C={_response:p._response,blobPublicAccess:p.blobPublicAccess,date:p.date,etag:p.etag,errorCode:p.errorCode,lastModified:p.lastModified,requestId:p.requestId,clientRequestId:p.clientRequestId,signedIdentifiers:[],version:p.version};for(const A of p){let d=undefined;if(A.accessPolicy){d={permissions:A.accessPolicy.permissions};if(A.accessPolicy.expiresOn){d.expiresOn=new Date(A.accessPolicy.expiresOn)}if(A.accessPolicy.startsOn){d.startsOn=new Date(A.accessPolicy.startsOn)}}C.signedIdentifiers.push({accessPolicy:d,id:A.id})}return C}))}async setAccessPolicy(A,d,p={}){p.conditions=p.conditions||{};return ee.tracingClient.withSpan("ContainerClient-setAccessPolicy",p,(async C=>{const S=[];for(const A of d||[]){S.push({accessPolicy:{expiresOn:A.accessPolicy.expiresOn?(0,te.truncatedISO8061Date)(A.accessPolicy.expiresOn):"",permissions:A.accessPolicy.permissions,startsOn:A.accessPolicy.startsOn?(0,te.truncatedISO8061Date)(A.accessPolicy.startsOn):""},id:A.id})}return(0,te.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:p.abortSignal,access:A,containerAcl:S,leaseAccessConditions:p.conditions,modifiedAccessConditions:p.conditions,tracingOptions:C.tracingOptions}))}))}getBlobLeaseClient(A){return new ne.BlobLeaseClient(this,A)}async uploadBlockBlob(A,d,p,C={}){return ee.tracingClient.withSpan("ContainerClient-uploadBlockBlob",C,(async C=>{const S=this.getBlockBlobClient(A);const v=await S.upload(d,p,C);return{blockBlobClient:S,response:v}}))}async deleteBlob(A,d={}){return ee.tracingClient.withSpan("ContainerClient-deleteBlob",d,(async p=>{let C=this.getBlobClient(A);if(d.versionId){C=C.withVersion(d.versionId)}return C.delete(p)}))}async listBlobFlatSegment(A,d={}){return ee.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",d,(async p=>{const C=(0,te.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:A,...d,tracingOptions:p.tracingOptions}));const S={...C,_response:{...C._response,parsedBody:(0,te.ConvertInternalResponseOfListBlobFlat)(C._response.parsedBody)},segment:{...C.segment,blobItems:C.segment.blobItems.map((A=>{const d={...A,name:(0,te.BlobNameToString)(A.name),tags:(0,te.toTags)(A.blobTags),objectReplicationSourceProperties:(0,te.parseObjectReplicationRecord)(A.objectReplicationMetadata)};return d}))}};return S}))}async listBlobHierarchySegment(A,d,p={}){return ee.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",p,(async C=>{const S=(0,te.assertResponse)(await this.containerContext.listBlobHierarchySegment(A,{marker:d,...p,tracingOptions:C.tracingOptions}));const v={...S,_response:{...S._response,parsedBody:(0,te.ConvertInternalResponseOfListBlobHierarchy)(S._response.parsedBody)},segment:{...S.segment,blobItems:S.segment.blobItems.map((A=>{const d={...A,name:(0,te.BlobNameToString)(A.name),tags:(0,te.toTags)(A.blobTags),objectReplicationSourceProperties:(0,te.parseObjectReplicationRecord)(A.objectReplicationMetadata)};return d})),blobPrefixes:S.segment.blobPrefixes?.map((A=>{const d={...A,name:(0,te.BlobNameToString)(A.name)};return d}))}};return v}))}async*listSegments(A,d={}){let p;if(!!A||A===undefined){do{p=await this.listBlobFlatSegment(A,d);A=p.continuationToken;yield await p}while(A)}}async*listItems(A={}){let d;for await(const p of this.listSegments(d,A)){yield*p.segment.blobItems}}listBlobsFlat(A={}){const d=[];if(A.includeCopy){d.push("copy")}if(A.includeDeleted){d.push("deleted")}if(A.includeMetadata){d.push("metadata")}if(A.includeSnapshots){d.push("snapshots")}if(A.includeVersions){d.push("versions")}if(A.includeUncommitedBlobs){d.push("uncommittedblobs")}if(A.includeTags){d.push("tags")}if(A.includeDeletedWithVersions){d.push("deletedwithversions")}if(A.includeImmutabilityPolicy){d.push("immutabilitypolicy")}if(A.includeLegalHold){d.push("legalhold")}if(A.prefix===""){A.prefix=undefined}const p={...A,...d.length>0?{include:d}:{}};const C=this.listItems(p);return{next(){return C.next()},[Symbol.asyncIterator](){return this},byPage:(A={})=>this.listSegments(A.continuationToken,{maxPageSize:A.maxPageSize,...p})}}async*listHierarchySegments(A,d,p={}){let C;if(!!d||d===undefined){do{C=await this.listBlobHierarchySegment(A,d,p);d=C.continuationToken;yield await C}while(d)}}async*listItemsByHierarchy(A,d={}){let p;for await(const C of this.listHierarchySegments(A,p,d)){const A=C.segment;if(A.blobPrefixes){for(const d of A.blobPrefixes){yield{kind:"prefix",...d}}}for(const d of A.blobItems){yield{kind:"blob",...d}}}}listBlobsByHierarchy(A,d={}){if(A===""){throw new RangeError("delimiter should contain one or more characters")}const p=[];if(d.includeCopy){p.push("copy")}if(d.includeDeleted){p.push("deleted")}if(d.includeMetadata){p.push("metadata")}if(d.includeSnapshots){p.push("snapshots")}if(d.includeVersions){p.push("versions")}if(d.includeUncommitedBlobs){p.push("uncommittedblobs")}if(d.includeTags){p.push("tags")}if(d.includeDeletedWithVersions){p.push("deletedwithversions")}if(d.includeImmutabilityPolicy){p.push("immutabilitypolicy")}if(d.includeLegalHold){p.push("legalhold")}if(d.prefix===""){d.prefix=undefined}const C={...d,...p.length>0?{include:p}:{}};const S=this.listItemsByHierarchy(A,C);return{async next(){return S.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.listHierarchySegments(A,d.continuationToken,{maxPageSize:d.maxPageSize,...C})}}async findBlobsByTagsSegment(A,d,p={}){return ee.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",p,(async C=>{const S=(0,te.assertResponse)(await this.containerContext.filterBlobs({abortSignal:p.abortSignal,where:A,marker:d,maxPageSize:p.maxPageSize,tracingOptions:C.tracingOptions}));const v={...S,_response:S._response,blobs:S.blobs.map((A=>{let d="";if(A.tags?.blobTagSet.length===1){d=A.tags.blobTagSet[0].value}return{...A,tags:(0,te.toTags)(A.tags),tagValue:d}}))};return v}))}async*findBlobsByTagsSegments(A,d,p={}){let C;if(!!d||d===undefined){do{C=await this.findBlobsByTagsSegment(A,d,p);C.blobs=C.blobs||[];d=C.continuationToken;yield C}while(d)}}async*findBlobsByTagsItems(A,d={}){let p;for await(const C of this.findBlobsByTagsSegments(A,p,d)){yield*C.blobs}}findBlobsByTags(A,d={}){const p={...d};const C=this.findBlobsByTagsItems(A,p);return{next(){return C.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.findBlobsByTagsSegments(A,d.continuationToken,{maxPageSize:d.maxPageSize,...p})}}async getAccountInfo(A={}){return ee.tracingClient.withSpan("ContainerClient-getAccountInfo",A,(async d=>(0,te.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:A.abortSignal,tracingOptions:d.tracingOptions}))))}getContainerNameFromUrl(){let A;try{const d=new URL(this.url);if(d.hostname.split(".")[1]==="blob"){A=d.pathname.split("/")[1]}else if((0,te.isIpEndpointStyle)(d)){A=d.pathname.split("/")[2]}else{A=d.pathname.split("/")[1]}A=decodeURIComponent(A);if(!A){throw new Error("Provided containerName is invalid.")}return A}catch(A){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(A){return new Promise((d=>{if(!(this.credential instanceof _.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const p=(0,re.generateBlobSASQueryParameters)({containerName:this._containerName,...A},this.credential).toString();d((0,te.appendToURLQuery)(this.url,p))}))}generateSasStringToSign(A){if(!(this.credential instanceof _.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,...A},this.credential).stringToSign}generateUserDelegationSasUrl(A,d){return new Promise((p=>{const C=(0,re.generateBlobSASQueryParameters)({containerName:this._containerName,...A},d,this.accountName).toString();p((0,te.appendToURLQuery)(this.url,C))}))}generateUserDelegationSasStringToSign(A,d){return(0,re.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...A},d,this.accountName).stringToSign}getBlobBatchClient(){return new se.BlobBatchClient(this.url,this.pipeline)}}d.ContainerClient=ContainerClient},50507:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.rangeResponseFromModel=rangeResponseFromModel;function rangeResponseFromModel(A){const d=(A._response.parsedBody.pageRange||[]).map((A=>({offset:A.start,count:A.end-A.start})));const p=(A._response.parsedBody.clearRange||[]).map((A=>({offset:A.start,count:A.end-A.start})));return{...A,pageRange:d,clearRange:p,_response:{...A._response,parsedBody:{pageRange:d,clearRange:p}}}}},33543:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Pipeline=d.StorageOAuthScopes=void 0;d.isPipelineLike=isPipelineLike;d.newPipeline=newPipeline;d.getCoreClientOptions=getCoreClientOptions;d.getCredentialFromPipeline=getCredentialFromPipeline;const C=p(80976);const S=p(81591);const v=p(99307);const T=p(64928);const _=p(38401);const V=p(32763);const Z=p(64574);const ee=p(64220);const te=p(13360);const re=p(9386);Object.defineProperty(d,"StorageOAuthScopes",{enumerable:true,get:function(){return re.StorageOAuthScopes}});const ne=p(13507);const ie=p(12391);const se=p(46221);const oe=p(61154);const ae=p(92156);const le=p(77348);function isPipelineLike(A){if(!A||typeof A!=="object"){return false}const d=A;return Array.isArray(d.factories)&&typeof d.options==="object"&&typeof d.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(A,d={}){this.factories=A;this.options=d}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}d.Pipeline=Pipeline;function newPipeline(A,d={}){if(!A){A=new te.AnonymousCredential}const p=new Pipeline([],d);p._credential=A;return p}function processDownlevelPipeline(A){const d=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(A.factories.length){const p=A.factories.filter((A=>!d.some((d=>d(A)))));if(p.length){const A=p.some((A=>isInjectorPolicyFactory(A)));return{wrappedPolicies:(0,C.createRequestPolicyFactoryPolicy)(p),afterRetry:A}}}return undefined}function getCoreClientOptions(A){const{httpClient:d,...p}=A.options;let Z=A._coreHttpClient;if(!Z){Z=d?(0,C.convertHttpClient)(d):(0,ne.getCachedDefaultHttpClient)();A._coreHttpClient=Z}let te=A._corePipeline;if(!te){const d=`azsdk-js-azure-storage-blob/${re.SDK_VERSION}`;const C=p.userAgentOptions&&p.userAgentOptions.userAgentPrefix?`${p.userAgentOptions.userAgentPrefix} ${d}`:`${d}`;te=(0,v.createClientPipeline)({...p,loggingOptions:{additionalAllowedHeaderNames:re.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:re.StorageBlobLoggingAllowedQueryParameters,logger:V.logger.info},userAgentOptions:{userAgentPrefix:C},serializationOptions:{stringifyXML:T.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:T.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});te.removePolicy({phase:"Retry"});te.removePolicy({name:S.decompressResponsePolicyName});te.addPolicy((0,le.storageCorrectContentLengthPolicy)());te.addPolicy((0,se.storageRetryPolicy)(p.retryOptions),{phase:"Retry"});te.addPolicy((0,ne.storageRequestFailureDetailsParserPolicy)());te.addPolicy((0,ie.storageBrowserPolicy)());const Z=processDownlevelPipeline(A);if(Z){te.addPolicy(Z.wrappedPolicies,Z.afterRetry?{afterPhase:"Retry"}:undefined)}const ae=getCredentialFromPipeline(A);if((0,_.isTokenCredential)(ae)){te.addPolicy((0,S.bearerTokenAuthenticationPolicy)({credential:ae,scopes:p.audience??re.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:v.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(ae instanceof ee.StorageSharedKeyCredential){te.addPolicy((0,oe.storageSharedKeyCredentialPolicy)({accountName:ae.accountName,accountKey:ae.accountKey}),{phase:"Sign"})}A._corePipeline=te}return{...p,allowInsecureConnection:true,httpClient:Z,pipeline:te}}function getCredentialFromPipeline(A){if(A._credential){return A._credential}let d=new te.AnonymousCredential;for(const p of A.factories){if((0,_.isTokenCredential)(p.credential)){d=p.credential}else if(isStorageSharedKeyCredential(p)){return p}}return d}function isStorageSharedKeyCredential(A){if(A instanceof ee.StorageSharedKeyCredential){return true}return A.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(A){if(A instanceof te.AnonymousCredential){return true}return A.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(A){return(0,_.isTokenCredential)(A.credential)}function isStorageBrowserPolicyFactory(A){if(A instanceof ae.StorageBrowserPolicyFactory){return true}return A.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(A){if(A instanceof Z.StorageRetryPolicyFactory){return true}return A.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(A){return A.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(A){return A.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(A){const d=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const p={sendRequest:async A=>({request:A,headers:A.headers.clone(),status:500})};const C={log(A,d){},shouldLog(A){return false}};const S=A.create(p,C);const v=S.constructor.name;return d.some((A=>v.startsWith(A)))}},19456:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.rangeToString=rangeToString;function rangeToString(A){if(A.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(A.count&&A.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 A.count?`bytes=${A.offset}-${A.offset+A.count-1}`:`bytes=${A.offset}-`}},92156:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicyFactory=d.StorageBrowserPolicy=void 0;const C=p(66687);Object.defineProperty(d,"StorageBrowserPolicy",{enumerable:true,get:function(){return C.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(A,d){return new C.StorageBrowserPolicy(A,d)}}d.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},84827:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const C=p(64754);const S=p(33543);const v=p(98915);class StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(A,d){this.url=(0,v.escapeURLPath)(A);this.accountName=(0,v.getAccountNameFromUrl)(A);this.pipeline=d;this.storageClientContext=new C.StorageContextClient(this.url,(0,S.getCoreClientOptions)(d));this.isHttps=(0,v.iEqual)((0,v.getURLScheme)(this.url)||"","https");this.credential=(0,S.getCredentialFromPipeline)(d);const p=this.storageClientContext;p.requestContentType=undefined}}d.StorageClient=StorageClient},64754:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageContextClient=void 0;const C=p(76546);class StorageContextClient extends C.StorageClient{async sendOperationRequest(A,d){const p={...d};if(p.path==="/{containerName}"||p.path==="/{containerName}/{blob}"){p.path=""}return super.sendOperationRequest(A,p)}}d.StorageContextClient=StorageContextClient},64574:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyFactory=d.StorageRetryPolicy=d.StorageRetryPolicyType=void 0;const C=p(21613);Object.defineProperty(d,"StorageRetryPolicy",{enumerable:true,get:function(){return C.StorageRetryPolicy}});const S=p(26941);Object.defineProperty(d,"StorageRetryPolicyType",{enumerable:true,get:function(){return S.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(A){this.retryOptions=A}create(A,d){return new C.StorageRetryPolicy(A,d,this.retryOptions)}}d.StorageRetryPolicyFactory=StorageRetryPolicyFactory},13360:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredential=void 0;const C=p(74090);const S=p(44175);class AnonymousCredential extends S.Credential{create(A,d){return new C.AnonymousCredentialPolicy(A,d)}}d.AnonymousCredential=AnonymousCredential},44175:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Credential=void 0;class Credential{create(A,d){throw new Error("Method should be implemented in children classes.")}}d.Credential=Credential},64220:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredential=void 0;const C=p(77598);const S=p(47318);const v=p(44175);class StorageSharedKeyCredential extends v.Credential{accountName;accountKey;constructor(A,d){super();this.accountName=A;this.accountKey=Buffer.from(d,"base64")}create(A,d){return new S.StorageSharedKeyCredentialPolicy(A,d,this)}computeHMACSHA256(A){return(0,C.createHmac)("sha256",this.accountKey).update(A,"utf8").digest("base64")}}d.StorageSharedKeyCredential=StorageSharedKeyCredential},20061:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.UserDelegationKeyCredential=void 0;const C=p(77598);class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(A,d){this.accountName=A;this.userDelegationKey=d;this.key=Buffer.from(d.value,"base64")}computeHMACSHA256(A){return(0,C.createHmac)("sha256",this.key).update(A,"utf8").digest("base64")}}d.UserDelegationKeyCredential=UserDelegationKeyCredential},76546:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const C=p(67892);C.__exportStar(p(93433),d);var S=p(36244);Object.defineProperty(d,"StorageClient",{enumerable:true,get:function(){return S.StorageClient}});C.__exportStar(p(52597),d)},93433:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.KnownStorageErrorCode=d.KnownBlobExpiryOptions=d.KnownFileShareTokenIntent=d.KnownEncryptionAlgorithmType=void 0;var p;(function(A){A["AES256"]="AES256"})(p||(d.KnownEncryptionAlgorithmType=p={}));var C;(function(A){A["Backup"]="backup"})(C||(d.KnownFileShareTokenIntent=C={}));var S;(function(A){A["NeverExpire"]="NeverExpire";A["RelativeToCreation"]="RelativeToCreation";A["RelativeToNow"]="RelativeToNow";A["Absolute"]="Absolute"})(S||(d.KnownBlobExpiryOptions=S={}));var v;(function(A){A["AccountAlreadyExists"]="AccountAlreadyExists";A["AccountBeingCreated"]="AccountBeingCreated";A["AccountIsDisabled"]="AccountIsDisabled";A["AuthenticationFailed"]="AuthenticationFailed";A["AuthorizationFailure"]="AuthorizationFailure";A["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";A["ConditionNotMet"]="ConditionNotMet";A["EmptyMetadataKey"]="EmptyMetadataKey";A["InsufficientAccountPermissions"]="InsufficientAccountPermissions";A["InternalError"]="InternalError";A["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";A["InvalidHeaderValue"]="InvalidHeaderValue";A["InvalidHttpVerb"]="InvalidHttpVerb";A["InvalidInput"]="InvalidInput";A["InvalidMd5"]="InvalidMd5";A["InvalidMetadata"]="InvalidMetadata";A["InvalidQueryParameterValue"]="InvalidQueryParameterValue";A["InvalidRange"]="InvalidRange";A["InvalidResourceName"]="InvalidResourceName";A["InvalidUri"]="InvalidUri";A["InvalidXmlDocument"]="InvalidXmlDocument";A["InvalidXmlNodeValue"]="InvalidXmlNodeValue";A["Md5Mismatch"]="Md5Mismatch";A["MetadataTooLarge"]="MetadataTooLarge";A["MissingContentLengthHeader"]="MissingContentLengthHeader";A["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";A["MissingRequiredHeader"]="MissingRequiredHeader";A["MissingRequiredXmlNode"]="MissingRequiredXmlNode";A["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";A["OperationTimedOut"]="OperationTimedOut";A["OutOfRangeInput"]="OutOfRangeInput";A["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";A["RequestBodyTooLarge"]="RequestBodyTooLarge";A["ResourceTypeMismatch"]="ResourceTypeMismatch";A["RequestUrlFailedToParse"]="RequestUrlFailedToParse";A["ResourceAlreadyExists"]="ResourceAlreadyExists";A["ResourceNotFound"]="ResourceNotFound";A["ServerBusy"]="ServerBusy";A["UnsupportedHeader"]="UnsupportedHeader";A["UnsupportedXmlNode"]="UnsupportedXmlNode";A["UnsupportedQueryParameter"]="UnsupportedQueryParameter";A["UnsupportedHttpVerb"]="UnsupportedHttpVerb";A["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";A["BlobAlreadyExists"]="BlobAlreadyExists";A["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";A["BlobNotFound"]="BlobNotFound";A["BlobOverwritten"]="BlobOverwritten";A["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";A["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";A["BlockCountExceedsLimit"]="BlockCountExceedsLimit";A["BlockListTooLong"]="BlockListTooLong";A["CannotChangeToLowerTier"]="CannotChangeToLowerTier";A["CannotVerifyCopySource"]="CannotVerifyCopySource";A["ContainerAlreadyExists"]="ContainerAlreadyExists";A["ContainerBeingDeleted"]="ContainerBeingDeleted";A["ContainerDisabled"]="ContainerDisabled";A["ContainerNotFound"]="ContainerNotFound";A["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";A["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";A["CopyIdMismatch"]="CopyIdMismatch";A["FeatureVersionMismatch"]="FeatureVersionMismatch";A["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";A["IncrementalCopyOfEarlierVersionSnapshotNotAllowed"]="IncrementalCopyOfEarlierVersionSnapshotNotAllowed";A["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";A["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";A["InvalidBlobOrBlock"]="InvalidBlobOrBlock";A["InvalidBlobTier"]="InvalidBlobTier";A["InvalidBlobType"]="InvalidBlobType";A["InvalidBlockId"]="InvalidBlockId";A["InvalidBlockList"]="InvalidBlockList";A["InvalidOperation"]="InvalidOperation";A["InvalidPageRange"]="InvalidPageRange";A["InvalidSourceBlobType"]="InvalidSourceBlobType";A["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";A["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";A["LeaseAlreadyPresent"]="LeaseAlreadyPresent";A["LeaseAlreadyBroken"]="LeaseAlreadyBroken";A["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";A["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";A["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";A["LeaseIdMissing"]="LeaseIdMissing";A["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";A["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";A["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";A["LeaseLost"]="LeaseLost";A["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";A["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";A["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";A["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";A["NoAuthenticationInformation"]="NoAuthenticationInformation";A["NoPendingCopyOperation"]="NoPendingCopyOperation";A["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";A["PendingCopyOperation"]="PendingCopyOperation";A["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";A["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";A["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";A["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";A["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";A["SnapshotCountExceeded"]="SnapshotCountExceeded";A["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";A["SnapshotsPresent"]="SnapshotsPresent";A["SourceConditionNotMet"]="SourceConditionNotMet";A["SystemInUse"]="SystemInUse";A["TargetConditionNotMet"]="TargetConditionNotMet";A["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";A["BlobBeingRehydrated"]="BlobBeingRehydrated";A["BlobArchived"]="BlobArchived";A["BlobNotArchived"]="BlobNotArchived";A["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";A["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";A["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";A["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";A["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";A["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(v||(d.KnownStorageErrorCode=v={}))},41423:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceGetUserDelegationKeyHeaders=d.ServiceListContainersSegmentExceptionHeaders=d.ServiceListContainersSegmentHeaders=d.ServiceGetStatisticsExceptionHeaders=d.ServiceGetStatisticsHeaders=d.ServiceGetPropertiesExceptionHeaders=d.ServiceGetPropertiesHeaders=d.ServiceSetPropertiesExceptionHeaders=d.ServiceSetPropertiesHeaders=d.ArrowField=d.ArrowConfiguration=d.JsonTextConfiguration=d.DelimitedTextConfiguration=d.QueryFormat=d.QuerySerialization=d.QueryRequest=d.ClearRange=d.PageRange=d.PageList=d.Block=d.BlockList=d.BlockLookupList=d.BlobPrefix=d.BlobHierarchyListSegment=d.ListBlobsHierarchySegmentResponse=d.BlobPropertiesInternal=d.BlobName=d.BlobItemInternal=d.BlobFlatListSegment=d.ListBlobsFlatSegmentResponse=d.AccessPolicy=d.SignedIdentifier=d.BlobTag=d.BlobTags=d.FilterBlobItem=d.FilterBlobSegment=d.UserDelegationKey=d.KeyInfo=d.ContainerProperties=d.ContainerItem=d.ListContainersSegmentResponse=d.GeoReplication=d.BlobServiceStatistics=d.StorageError=d.StaticWebsite=d.CorsRule=d.Metrics=d.RetentionPolicy=d.Logging=d.BlobServiceProperties=void 0;d.BlobUndeleteHeaders=d.BlobDeleteExceptionHeaders=d.BlobDeleteHeaders=d.BlobGetPropertiesExceptionHeaders=d.BlobGetPropertiesHeaders=d.BlobDownloadExceptionHeaders=d.BlobDownloadHeaders=d.ContainerGetAccountInfoExceptionHeaders=d.ContainerGetAccountInfoHeaders=d.ContainerListBlobHierarchySegmentExceptionHeaders=d.ContainerListBlobHierarchySegmentHeaders=d.ContainerListBlobFlatSegmentExceptionHeaders=d.ContainerListBlobFlatSegmentHeaders=d.ContainerChangeLeaseExceptionHeaders=d.ContainerChangeLeaseHeaders=d.ContainerBreakLeaseExceptionHeaders=d.ContainerBreakLeaseHeaders=d.ContainerRenewLeaseExceptionHeaders=d.ContainerRenewLeaseHeaders=d.ContainerReleaseLeaseExceptionHeaders=d.ContainerReleaseLeaseHeaders=d.ContainerAcquireLeaseExceptionHeaders=d.ContainerAcquireLeaseHeaders=d.ContainerFilterBlobsExceptionHeaders=d.ContainerFilterBlobsHeaders=d.ContainerSubmitBatchExceptionHeaders=d.ContainerSubmitBatchHeaders=d.ContainerRenameExceptionHeaders=d.ContainerRenameHeaders=d.ContainerRestoreExceptionHeaders=d.ContainerRestoreHeaders=d.ContainerSetAccessPolicyExceptionHeaders=d.ContainerSetAccessPolicyHeaders=d.ContainerGetAccessPolicyExceptionHeaders=d.ContainerGetAccessPolicyHeaders=d.ContainerSetMetadataExceptionHeaders=d.ContainerSetMetadataHeaders=d.ContainerDeleteExceptionHeaders=d.ContainerDeleteHeaders=d.ContainerGetPropertiesExceptionHeaders=d.ContainerGetPropertiesHeaders=d.ContainerCreateExceptionHeaders=d.ContainerCreateHeaders=d.ServiceFilterBlobsExceptionHeaders=d.ServiceFilterBlobsHeaders=d.ServiceSubmitBatchExceptionHeaders=d.ServiceSubmitBatchHeaders=d.ServiceGetAccountInfoExceptionHeaders=d.ServiceGetAccountInfoHeaders=d.ServiceGetUserDelegationKeyExceptionHeaders=void 0;d.PageBlobGetPageRangesHeaders=d.PageBlobUploadPagesFromURLExceptionHeaders=d.PageBlobUploadPagesFromURLHeaders=d.PageBlobClearPagesExceptionHeaders=d.PageBlobClearPagesHeaders=d.PageBlobUploadPagesExceptionHeaders=d.PageBlobUploadPagesHeaders=d.PageBlobCreateExceptionHeaders=d.PageBlobCreateHeaders=d.BlobSetTagsExceptionHeaders=d.BlobSetTagsHeaders=d.BlobGetTagsExceptionHeaders=d.BlobGetTagsHeaders=d.BlobQueryExceptionHeaders=d.BlobQueryHeaders=d.BlobGetAccountInfoExceptionHeaders=d.BlobGetAccountInfoHeaders=d.BlobSetTierExceptionHeaders=d.BlobSetTierHeaders=d.BlobAbortCopyFromURLExceptionHeaders=d.BlobAbortCopyFromURLHeaders=d.BlobCopyFromURLExceptionHeaders=d.BlobCopyFromURLHeaders=d.BlobStartCopyFromURLExceptionHeaders=d.BlobStartCopyFromURLHeaders=d.BlobCreateSnapshotExceptionHeaders=d.BlobCreateSnapshotHeaders=d.BlobBreakLeaseExceptionHeaders=d.BlobBreakLeaseHeaders=d.BlobChangeLeaseExceptionHeaders=d.BlobChangeLeaseHeaders=d.BlobRenewLeaseExceptionHeaders=d.BlobRenewLeaseHeaders=d.BlobReleaseLeaseExceptionHeaders=d.BlobReleaseLeaseHeaders=d.BlobAcquireLeaseExceptionHeaders=d.BlobAcquireLeaseHeaders=d.BlobSetMetadataExceptionHeaders=d.BlobSetMetadataHeaders=d.BlobSetLegalHoldExceptionHeaders=d.BlobSetLegalHoldHeaders=d.BlobDeleteImmutabilityPolicyExceptionHeaders=d.BlobDeleteImmutabilityPolicyHeaders=d.BlobSetImmutabilityPolicyExceptionHeaders=d.BlobSetImmutabilityPolicyHeaders=d.BlobSetHttpHeadersExceptionHeaders=d.BlobSetHttpHeadersHeaders=d.BlobSetExpiryExceptionHeaders=d.BlobSetExpiryHeaders=d.BlobUndeleteExceptionHeaders=void 0;d.BlockBlobGetBlockListExceptionHeaders=d.BlockBlobGetBlockListHeaders=d.BlockBlobCommitBlockListExceptionHeaders=d.BlockBlobCommitBlockListHeaders=d.BlockBlobStageBlockFromURLExceptionHeaders=d.BlockBlobStageBlockFromURLHeaders=d.BlockBlobStageBlockExceptionHeaders=d.BlockBlobStageBlockHeaders=d.BlockBlobPutBlobFromUrlExceptionHeaders=d.BlockBlobPutBlobFromUrlHeaders=d.BlockBlobUploadExceptionHeaders=d.BlockBlobUploadHeaders=d.AppendBlobSealExceptionHeaders=d.AppendBlobSealHeaders=d.AppendBlobAppendBlockFromUrlExceptionHeaders=d.AppendBlobAppendBlockFromUrlHeaders=d.AppendBlobAppendBlockExceptionHeaders=d.AppendBlobAppendBlockHeaders=d.AppendBlobCreateExceptionHeaders=d.AppendBlobCreateHeaders=d.PageBlobCopyIncrementalExceptionHeaders=d.PageBlobCopyIncrementalHeaders=d.PageBlobUpdateSequenceNumberExceptionHeaders=d.PageBlobUpdateSequenceNumberHeaders=d.PageBlobResizeExceptionHeaders=d.PageBlobResizeHeaders=d.PageBlobGetPageRangesDiffExceptionHeaders=d.PageBlobGetPageRangesDiffHeaders=d.PageBlobGetPageRangesExceptionHeaders=void 0;d.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};d.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};d.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};d.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};d.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};d.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};d.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};d.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};d.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};d.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};d.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};d.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}}}}};d.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};d.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};d.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};d.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};d.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};d.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};d.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};d.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};d.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};d.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};d.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};d.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};d.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};d.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};d.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};d.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};d.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};d.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};d.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};d.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};d.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};d.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};d.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};d.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};d.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};d.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};d.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};d.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};d.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};d.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};d.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};d.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};d.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}},23469:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.action3=d.action2=d.leaseId1=d.action1=d.proposedLeaseId=d.duration=d.action=d.comp10=d.sourceLeaseId=d.sourceContainerName=d.comp9=d.deletedContainerVersion=d.deletedContainerName=d.comp8=d.containerAcl=d.comp7=d.comp6=d.ifUnmodifiedSince=d.ifModifiedSince=d.leaseId=d.preventEncryptionScopeOverride=d.defaultEncryptionScope=d.access=d.metadata=d.restype2=d.where=d.comp5=d.multipartContentType=d.contentLength=d.comp4=d.body=d.restype1=d.comp3=d.keyInfo=d.include=d.maxPageSize=d.marker=d.prefix=d.comp2=d.comp1=d.accept1=d.requestId=d.version=d.timeoutInSeconds=d.comp=d.restype=d.url=d.accept=d.blobServiceProperties=d.contentType=void 0;d.fileRequestIntent=d.copySourceTags=d.copySourceAuthorization=d.sourceContentMD5=d.xMsRequiresSync=d.legalHold1=d.sealBlob=d.blobTagsString=d.copySource=d.sourceIfTags=d.sourceIfNoneMatch=d.sourceIfMatch=d.sourceIfUnmodifiedSince=d.sourceIfModifiedSince=d.rehydratePriority=d.tier=d.comp14=d.encryptionScope=d.legalHold=d.comp13=d.immutabilityPolicyMode=d.immutabilityPolicyExpiry=d.comp12=d.blobContentDisposition=d.blobContentLanguage=d.blobContentEncoding=d.blobContentMD5=d.blobContentType=d.blobCacheControl=d.expiresOn=d.expiryOptions=d.comp11=d.blobDeleteType=d.deleteSnapshots=d.ifTags=d.ifNoneMatch=d.ifMatch=d.encryptionAlgorithm=d.encryptionKeySha256=d.encryptionKey=d.rangeGetContentCRC64=d.rangeGetContentMD5=d.range=d.versionId=d.snapshot=d.delimiter=d.include1=d.proposedLeaseId1=d.action4=d.breakPeriod=void 0;d.listType=d.comp25=d.blocks=d.blockId=d.comp24=d.copySourceBlobProperties=d.blobType2=d.comp23=d.sourceRange1=d.appendPosition=d.maxSize=d.comp22=d.blobType1=d.comp21=d.sequenceNumberAction=d.prevSnapshotUrl=d.prevsnapshot=d.comp20=d.range1=d.sourceContentCrc64=d.sourceRange=d.sourceUrl=d.pageWrite1=d.ifSequenceNumberEqualTo=d.ifSequenceNumberLessThan=d.ifSequenceNumberLessThanOrEqualTo=d.pageWrite=d.comp19=d.accept2=d.body1=d.contentType1=d.blobSequenceNumber=d.blobContentLength=d.blobType=d.transactionalContentCrc64=d.transactionalContentMD5=d.tags=d.comp18=d.comp17=d.queryRequest=d.tier1=d.comp16=d.copyId=d.copyActionAbortConstant=d.comp15=void 0;const C=p(41423);d.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};d.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:C.BlobServiceProperties};d.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.url={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};d.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};d.version={parameterPath:"version",mapper:{defaultValue:"2025-11-05",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};d.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};d.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};d.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};d.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};d.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};d.keyInfo={parameterPath:"keyInfo",mapper:C.KeyInfo};d.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.body={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};d.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};d.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};d.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};d.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};d.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};d.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};d.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};d.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};d.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};d.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};d.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};d.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};d.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};d.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};d.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};d.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};d.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};d.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};d.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};d.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};d.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};d.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};d.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};d.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};d.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};d.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};d.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};d.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};d.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};d.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};d.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};d.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};d.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};d.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};d.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};d.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};d.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};d.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};d.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};d.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};d.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};d.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};d.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};d.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};d.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};d.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};d.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};d.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};d.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};d.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};d.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};d.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};d.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};d.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};d.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};d.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};d.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};d.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};d.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};d.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};d.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};d.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};d.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};d.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};d.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};d.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};d.queryRequest={parameterPath:["options","queryRequest"],mapper:C.QueryRequest};d.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tags={parameterPath:["options","tags"],mapper:C.BlobTags};d.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};d.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};d.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};d.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};d.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};d.body1={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};d.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};d.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};d.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};d.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};d.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};d.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};d.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};d.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};d.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};d.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};d.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};d.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};d.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};d.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};d.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};d.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};d.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};d.blocks={parameterPath:"blocks",mapper:C.BlockLookupList};d.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}},74910:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AppendBlobImpl=void 0;const C=p(67892);const S=C.__importStar(p(99307));const v=C.__importStar(p(41423));const T=C.__importStar(p(23469));class AppendBlobImpl{client;constructor(A){this.client=A}create(A,d){return this.client.sendOperationRequest({contentLength:A,options:d},V)}appendBlock(A,d,p){return this.client.sendOperationRequest({contentLength:A,body:d,options:p},Z)}appendBlockFromUrl(A,d,p){return this.client.sendOperationRequest({sourceUrl:A,contentLength:d,options:p},ee)}seal(A){return this.client.sendOperationRequest({options:A},te)}}d.AppendBlobImpl=AppendBlobImpl;const _=S.createSerializer(v,true);const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.AppendBlobCreateHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.AppendBlobCreateExceptionHeaders}},queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.blobTagsString,T.legalHold1,T.blobType1],isXML:true,serializer:_};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.AppendBlobAppendBlockHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.AppendBlobAppendBlockExceptionHeaders}},requestBody:T.body1,queryParameters:[T.timeoutInSeconds,T.comp22],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.contentLength,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope,T.transactionalContentMD5,T.transactionalContentCrc64,T.contentType1,T.accept2,T.maxSize,T.appendPosition],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp22],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceContentMD5,T.copySourceAuthorization,T.fileRequestIntent,T.transactionalContentMD5,T.sourceUrl,T.sourceContentCrc64,T.maxSize,T.appendPosition,T.sourceRange1],isXML:true,serializer:_};const te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.AppendBlobSealHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.AppendBlobSealExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp23],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.appendPosition],isXML:true,serializer:_}},83354:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobImpl=void 0;const C=p(67892);const S=C.__importStar(p(99307));const v=C.__importStar(p(41423));const T=C.__importStar(p(23469));class BlobImpl{client;constructor(A){this.client=A}download(A){return this.client.sendOperationRequest({options:A},V)}getProperties(A){return this.client.sendOperationRequest({options:A},Z)}delete(A){return this.client.sendOperationRequest({options:A},ee)}undelete(A){return this.client.sendOperationRequest({options:A},te)}setExpiry(A,d){return this.client.sendOperationRequest({expiryOptions:A,options:d},re)}setHttpHeaders(A){return this.client.sendOperationRequest({options:A},ne)}setImmutabilityPolicy(A){return this.client.sendOperationRequest({options:A},ie)}deleteImmutabilityPolicy(A){return this.client.sendOperationRequest({options:A},se)}setLegalHold(A,d){return this.client.sendOperationRequest({legalHold:A,options:d},oe)}setMetadata(A){return this.client.sendOperationRequest({options:A},ae)}acquireLease(A){return this.client.sendOperationRequest({options:A},le)}releaseLease(A,d){return this.client.sendOperationRequest({leaseId:A,options:d},ce)}renewLease(A,d){return this.client.sendOperationRequest({leaseId:A,options:d},ue)}changeLease(A,d,p){return this.client.sendOperationRequest({leaseId:A,proposedLeaseId:d,options:p},Ae)}breakLease(A){return this.client.sendOperationRequest({options:A},de)}createSnapshot(A){return this.client.sendOperationRequest({options:A},pe)}startCopyFromURL(A,d){return this.client.sendOperationRequest({copySource:A,options:d},fe)}copyFromURL(A,d){return this.client.sendOperationRequest({copySource:A,options:d},he)}abortCopyFromURL(A,d){return this.client.sendOperationRequest({copyId:A,options:d},ge)}setTier(A,d){return this.client.sendOperationRequest({tier:A,options:d},me)}getAccountInfo(A){return this.client.sendOperationRequest({options:A},ye)}query(A){return this.client.sendOperationRequest({options:A},Ee)}getTags(A){return this.client.sendOperationRequest({options:A},be)}setTags(A){return this.client.sendOperationRequest({options:A},Ce)}}d.BlobImpl=BlobImpl;const _=S.createSerializer(v,true);const V={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:v.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:v.BlobDownloadHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobDownloadExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.range,T.rangeGetContentMD5,T.rangeGetContentCRC64,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const Z={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:v.BlobGetPropertiesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobGetPropertiesExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const ee={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:v.BlobDeleteHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobDeleteExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId,T.blobDeleteType],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.ifTags,T.deleteSnapshots],isXML:true,serializer:_};const te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobUndeleteHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobUndeleteExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp8],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobSetExpiryHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetExpiryExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp11],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.expiryOptions,T.expiresOn],isXML:true,serializer:_};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobSetHttpHeadersHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[T.comp,T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition],isXML:true,serializer:_};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId,T.comp12],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifUnmodifiedSince,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode],isXML:true,serializer:_};const se={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:v.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId,T.comp12],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobSetLegalHoldHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetLegalHoldExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId,T.comp13],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.legalHold],isXML:true,serializer:_};const ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobSetMetadataHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetMetadataExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp6],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope],isXML:true,serializer:_};const le={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlobAcquireLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobAcquireLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.action,T.duration,T.proposedLeaseId,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobReleaseLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobReleaseLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.action1,T.leaseId1,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const ue={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobRenewLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobRenewLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.leaseId1,T.action2,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobChangeLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobChangeLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.leaseId1,T.action4,T.proposedLeaseId1,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const de={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:v.BlobBreakLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobBreakLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.action3,T.breakPeriod,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const pe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlobCreateSnapshotHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobCreateSnapshotExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp14],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope],isXML:true,serializer:_};const fe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:v.BlobStartCopyFromURLHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.ifTags,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.tier,T.rehydratePriority,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceIfTags,T.copySource,T.blobTagsString,T.sealBlob,T.legalHold1],isXML:true,serializer:_};const he={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:v.BlobCopyFromURLHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobCopyFromURLExceptionHeaders}},queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.ifTags,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.tier,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.copySource,T.blobTagsString,T.legalHold1,T.xMsRequiresSync,T.sourceContentMD5,T.copySourceAuthorization,T.copySourceTags,T.fileRequestIntent],isXML:true,serializer:_};const ge={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:v.BlobAbortCopyFromURLHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp15,T.copyId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.copyActionAbortConstant],isXML:true,serializer:_};const me={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.BlobSetTierHeaders},202:{headersMapper:v.BlobSetTierHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetTierExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId,T.comp16],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifTags,T.rehydratePriority,T.tier1],isXML:true,serializer:_};const ye={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:v.BlobGetAccountInfoHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobGetAccountInfoExceptionHeaders}},queryParameters:[T.comp,T.timeoutInSeconds,T.restype1],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const Ee={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:v.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:v.BlobQueryHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobQueryExceptionHeaders}},requestBody:T.queryRequest,queryParameters:[T.timeoutInSeconds,T.snapshot,T.comp17],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const be={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:v.BlobTags,headersMapper:v.BlobGetTagsHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobGetTagsExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.versionId,T.comp18],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifTags],isXML:true,serializer:_};const Ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:v.BlobSetTagsHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlobSetTagsExceptionHeaders}},requestBody:T.tags,queryParameters:[T.timeoutInSeconds,T.versionId,T.comp18],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId,T.leaseId,T.ifTags,T.transactionalContentMD5,T.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_}},99231:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlockBlobImpl=void 0;const C=p(67892);const S=C.__importStar(p(99307));const v=C.__importStar(p(41423));const T=C.__importStar(p(23469));class BlockBlobImpl{client;constructor(A){this.client=A}upload(A,d,p){return this.client.sendOperationRequest({contentLength:A,body:d,options:p},V)}putBlobFromUrl(A,d,p){return this.client.sendOperationRequest({contentLength:A,copySource:d,options:p},Z)}stageBlock(A,d,p,C){return this.client.sendOperationRequest({blockId:A,contentLength:d,body:p,options:C},ee)}stageBlockFromURL(A,d,p,C){return this.client.sendOperationRequest({blockId:A,contentLength:d,sourceUrl:p,options:C},te)}commitBlockList(A,d){return this.client.sendOperationRequest({blocks:A,options:d},re)}getBlockList(A,d){return this.client.sendOperationRequest({listType:A,options:d},ne)}}d.BlockBlobImpl=BlockBlobImpl;const _=S.createSerializer(v,true);const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlockBlobUploadHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlockBlobUploadExceptionHeaders}},requestBody:T.body1,queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.contentLength,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.tier,T.blobTagsString,T.legalHold1,T.transactionalContentMD5,T.transactionalContentCrc64,T.contentType1,T.accept2,T.blobType2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.encryptionScope,T.tier,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceIfTags,T.copySource,T.blobTagsString,T.sourceContentMD5,T.copySourceAuthorization,T.copySourceTags,T.fileRequestIntent,T.transactionalContentMD5,T.blobType2,T.copySourceBlobProperties],isXML:true,serializer:_};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlockBlobStageBlockHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlockBlobStageBlockExceptionHeaders}},requestBody:T.body1,queryParameters:[T.timeoutInSeconds,T.comp24,T.blockId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.contentLength,T.leaseId,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.encryptionScope,T.transactionalContentMD5,T.transactionalContentCrc64,T.contentType1,T.accept2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_};const te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp24,T.blockId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.leaseId,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.encryptionScope,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceContentMD5,T.copySourceAuthorization,T.fileRequestIntent,T.sourceUrl,T.sourceContentCrc64,T.sourceRange1],isXML:true,serializer:_};const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.BlockBlobCommitBlockListHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlockBlobCommitBlockListExceptionHeaders}},requestBody:T.blocks,queryParameters:[T.timeoutInSeconds,T.comp25],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.tier,T.blobTagsString,T.legalHold1,T.transactionalContentMD5,T.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const ne={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:v.BlockList,headersMapper:v.BlockBlobGetBlockListHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.comp25,T.listType],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifTags],isXML:true,serializer:_}},80402:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerImpl=void 0;const C=p(67892);const S=C.__importStar(p(99307));const v=C.__importStar(p(41423));const T=C.__importStar(p(23469));class ContainerImpl{client;constructor(A){this.client=A}create(A){return this.client.sendOperationRequest({options:A},V)}getProperties(A){return this.client.sendOperationRequest({options:A},Z)}delete(A){return this.client.sendOperationRequest({options:A},ee)}setMetadata(A){return this.client.sendOperationRequest({options:A},te)}getAccessPolicy(A){return this.client.sendOperationRequest({options:A},re)}setAccessPolicy(A){return this.client.sendOperationRequest({options:A},ne)}restore(A){return this.client.sendOperationRequest({options:A},ie)}rename(A,d){return this.client.sendOperationRequest({sourceContainerName:A,options:d},se)}submitBatch(A,d,p,C){return this.client.sendOperationRequest({contentLength:A,multipartContentType:d,body:p,options:C},oe)}filterBlobs(A){return this.client.sendOperationRequest({options:A},ae)}acquireLease(A){return this.client.sendOperationRequest({options:A},le)}releaseLease(A,d){return this.client.sendOperationRequest({leaseId:A,options:d},ce)}renewLease(A,d){return this.client.sendOperationRequest({leaseId:A,options:d},ue)}breakLease(A){return this.client.sendOperationRequest({options:A},Ae)}changeLease(A,d,p){return this.client.sendOperationRequest({leaseId:A,proposedLeaseId:d,options:p},de)}listBlobFlatSegment(A){return this.client.sendOperationRequest({options:A},pe)}listBlobHierarchySegment(A,d){return this.client.sendOperationRequest({delimiter:A,options:d},fe)}getAccountInfo(A){return this.client.sendOperationRequest({options:A},he)}}d.ContainerImpl=ContainerImpl;const _=S.createSerializer(v,true);const V={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:v.ContainerCreateHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerCreateExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.metadata,T.access,T.defaultEncryptionScope,T.preventEncryptionScopeOverride],isXML:true,serializer:_};const Z={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:v.ContainerGetPropertiesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerGetPropertiesExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId],isXML:true,serializer:_};const ee={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:v.ContainerDeleteHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerDeleteExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince],isXML:true,serializer:_};const te={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:v.ContainerSetMetadataHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerSetMetadataExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp6],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.metadata,T.leaseId,T.ifModifiedSince],isXML:true,serializer:_};const re={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:v.ContainerGetAccessPolicyHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp7],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId],isXML:true,serializer:_};const ne={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:v.ContainerSetAccessPolicyHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerSetAccessPolicyExceptionHeaders}},requestBody:T.containerAcl,queryParameters:[T.timeoutInSeconds,T.restype2,T.comp7],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId,T.access,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const ie={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:v.ContainerRestoreHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerRestoreExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp8],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.deletedContainerName,T.deletedContainerVersion],isXML:true,serializer:_};const se={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:v.ContainerRenameHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerRenameExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp9],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.sourceContainerName,T.sourceLeaseId],isXML:true,serializer:_};const oe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:v.ContainerSubmitBatchHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerSubmitBatchExceptionHeaders}},requestBody:T.body,queryParameters:[T.timeoutInSeconds,T.comp4,T.restype2],urlParameters:[T.url],headerParameters:[T.accept,T.version,T.requestId,T.contentLength,T.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const ae={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:v.FilterBlobSegment,headersMapper:v.ContainerFilterBlobsHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerFilterBlobsExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.marker,T.maxPageSize,T.comp5,T.where,T.restype2],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const le={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:v.ContainerAcquireLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.action,T.duration,T.proposedLeaseId],isXML:true,serializer:_};const ce={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:v.ContainerReleaseLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.action1,T.leaseId1],isXML:true,serializer:_};const ue={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:v.ContainerRenewLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerRenewLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.leaseId1,T.action2],isXML:true,serializer:_};const Ae={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:v.ContainerBreakLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerBreakLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.action3,T.breakPeriod],isXML:true,serializer:_};const de={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:v.ContainerChangeLeaseHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerChangeLeaseExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.restype2,T.comp10],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.leaseId1,T.action4,T.proposedLeaseId1],isXML:true,serializer:_};const pe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:v.ListBlobsFlatSegmentResponse,headersMapper:v.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp2,T.prefix,T.marker,T.maxPageSize,T.restype2,T.include1],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const fe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:v.ListBlobsHierarchySegmentResponse,headersMapper:v.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp2,T.prefix,T.marker,T.maxPageSize,T.restype2,T.include1,T.delimiter],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const he={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:v.ContainerGetAccountInfoHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[T.comp,T.timeoutInSeconds,T.restype1],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_}},21305:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(67892);C.__exportStar(p(94570),d);C.__exportStar(p(80402),d);C.__exportStar(p(83354),d);C.__exportStar(p(2721),d);C.__exportStar(p(74910),d);C.__exportStar(p(99231),d)},2721:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PageBlobImpl=void 0;const C=p(67892);const S=C.__importStar(p(99307));const v=C.__importStar(p(41423));const T=C.__importStar(p(23469));class PageBlobImpl{client;constructor(A){this.client=A}create(A,d,p){return this.client.sendOperationRequest({contentLength:A,blobContentLength:d,options:p},V)}uploadPages(A,d,p){return this.client.sendOperationRequest({contentLength:A,body:d,options:p},Z)}clearPages(A,d){return this.client.sendOperationRequest({contentLength:A,options:d},ee)}uploadPagesFromURL(A,d,p,C,S){return this.client.sendOperationRequest({sourceUrl:A,sourceRange:d,contentLength:p,range:C,options:S},te)}getPageRanges(A){return this.client.sendOperationRequest({options:A},re)}getPageRangesDiff(A){return this.client.sendOperationRequest({options:A},ne)}resize(A,d){return this.client.sendOperationRequest({blobContentLength:A,options:d},ie)}updateSequenceNumber(A,d){return this.client.sendOperationRequest({sequenceNumberAction:A,options:d},se)}copyIncremental(A,d){return this.client.sendOperationRequest({copySource:A,options:d},oe)}}d.PageBlobImpl=PageBlobImpl;const _=S.createSerializer(v,true);const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.PageBlobCreateHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobCreateExceptionHeaders}},queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.tier,T.blobTagsString,T.legalHold1,T.blobType,T.blobContentLength,T.blobSequenceNumber],isXML:true,serializer:_};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.PageBlobUploadPagesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobUploadPagesExceptionHeaders}},requestBody:T.body1,queryParameters:[T.timeoutInSeconds,T.comp19],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.contentLength,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.range,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope,T.transactionalContentMD5,T.transactionalContentCrc64,T.contentType1,T.accept2,T.pageWrite,T.ifSequenceNumberLessThanOrEqualTo,T.ifSequenceNumberLessThan,T.ifSequenceNumberEqualTo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.PageBlobClearPagesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobClearPagesExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp19],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.range,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope,T.ifSequenceNumberLessThanOrEqualTo,T.ifSequenceNumberLessThan,T.ifSequenceNumberEqualTo,T.pageWrite1],isXML:true,serializer:_};const te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:v.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp19],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceContentMD5,T.copySourceAuthorization,T.fileRequestIntent,T.pageWrite,T.ifSequenceNumberLessThanOrEqualTo,T.ifSequenceNumberLessThan,T.ifSequenceNumberEqualTo,T.sourceUrl,T.sourceRange,T.sourceContentCrc64,T.range1],isXML:true,serializer:_};const re={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:v.PageList,headersMapper:v.PageBlobGetPageRangesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.marker,T.maxPageSize,T.snapshot,T.comp20],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.range,T.ifMatch,T.ifNoneMatch,T.ifTags],isXML:true,serializer:_};const ne={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:v.PageList,headersMapper:v.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.marker,T.maxPageSize,T.snapshot,T.comp20,T.prevsnapshot],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.range,T.ifMatch,T.ifNoneMatch,T.ifTags,T.prevSnapshotUrl],isXML:true,serializer:_};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.PageBlobResizeHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobResizeExceptionHeaders}},queryParameters:[T.comp,T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.encryptionScope,T.blobContentLength],isXML:true,serializer:_};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:v.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[T.comp,T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobSequenceNumber,T.sequenceNumberAction],isXML:true,serializer:_};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:v.PageBlobCopyIncrementalHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp21],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.ifModifiedSince,T.ifUnmodifiedSince,T.ifMatch,T.ifNoneMatch,T.ifTags,T.copySource],isXML:true,serializer:_}},94570:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceImpl=void 0;const C=p(67892);const S=C.__importStar(p(99307));const v=C.__importStar(p(41423));const T=C.__importStar(p(23469));class ServiceImpl{client;constructor(A){this.client=A}setProperties(A,d){return this.client.sendOperationRequest({blobServiceProperties:A,options:d},V)}getProperties(A){return this.client.sendOperationRequest({options:A},Z)}getStatistics(A){return this.client.sendOperationRequest({options:A},ee)}listContainersSegment(A){return this.client.sendOperationRequest({options:A},te)}getUserDelegationKey(A,d){return this.client.sendOperationRequest({keyInfo:A,options:d},re)}getAccountInfo(A){return this.client.sendOperationRequest({options:A},ne)}submitBatch(A,d,p,C){return this.client.sendOperationRequest({contentLength:A,multipartContentType:d,body:p,options:C},ie)}filterBlobs(A){return this.client.sendOperationRequest({options:A},se)}}d.ServiceImpl=ServiceImpl;const _=S.createSerializer(v,true);const V={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:v.ServiceSetPropertiesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceSetPropertiesExceptionHeaders}},requestBody:T.blobServiceProperties,queryParameters:[T.restype,T.comp,T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const Z={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:v.BlobServiceProperties,headersMapper:v.ServiceGetPropertiesHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceGetPropertiesExceptionHeaders}},queryParameters:[T.restype,T.comp,T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const ee={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:v.BlobServiceStatistics,headersMapper:v.ServiceGetStatisticsHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceGetStatisticsExceptionHeaders}},queryParameters:[T.restype,T.timeoutInSeconds,T.comp1],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const te={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:v.ListContainersSegmentResponse,headersMapper:v.ServiceListContainersSegmentHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp2,T.prefix,T.marker,T.maxPageSize,T.include],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const re={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:v.UserDelegationKey,headersMapper:v.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:T.keyInfo,queryParameters:[T.restype,T.timeoutInSeconds,T.comp3],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const ne={path:"/",httpMethod:"GET",responses:{200:{headersMapper:v.ServiceGetAccountInfoHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[T.comp,T.timeoutInSeconds,T.restype1],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_};const ie={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:v.ServiceSubmitBatchHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceSubmitBatchExceptionHeaders}},requestBody:T.body,queryParameters:[T.timeoutInSeconds,T.comp4],urlParameters:[T.url],headerParameters:[T.accept,T.version,T.requestId,T.contentLength,T.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_};const se={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:v.FilterBlobSegment,headersMapper:v.ServiceFilterBlobsHeaders},default:{bodyMapper:v.StorageError,headersMapper:v.ServiceFilterBlobsExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.marker,T.maxPageSize,T.comp5,T.where],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1],isXML:true,serializer:_}},36242:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},42294:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},26003:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},2718:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},52597:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(67892);C.__exportStar(p(87126),d);C.__exportStar(p(2718),d);C.__exportStar(p(42294),d);C.__exportStar(p(85517),d);C.__exportStar(p(36242),d);C.__exportStar(p(26003),d)},85517:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},87126:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},36244:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const C=p(67892);const S=C.__importStar(p(80976));const v=p(21305);class StorageClient extends S.ExtendedServiceClient{url;version;constructor(A,d){if(A===undefined){throw new Error("'url' cannot be null")}if(!d){d={}}const p={requestContentType:"application/json; charset=utf-8"};const C=`azsdk-js-azure-storage-blob/12.29.1`;const S=d.userAgentOptions&&d.userAgentOptions.userAgentPrefix?`${d.userAgentOptions.userAgentPrefix} ${C}`:`${C}`;const T={...p,...d,userAgentOptions:{userAgentPrefix:S},endpoint:d.endpoint??d.baseUri??"{url}"};super(T);this.url=A;this.version=d.version||"2025-11-05";this.service=new v.ServiceImpl(this);this.container=new v.ContainerImpl(this);this.blob=new v.BlobImpl(this);this.pageBlob=new v.PageBlobImpl(this);this.appendBlob=new v.AppendBlobImpl(this);this.blockBlob=new v.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}d.StorageClient=StorageClient},13430:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.KnownEncryptionAlgorithmType=void 0;var p;(function(A){A["AES256"]="AES256"})(p||(d.KnownEncryptionAlgorithmType=p={}))},32917:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=d.RestError=d.BaseRequestPolicy=d.StorageOAuthScopes=d.newPipeline=d.isPipelineLike=d.Pipeline=d.getBlobServiceAccountAudience=d.StorageBlobAudience=d.PremiumPageBlobTier=d.BlockBlobTier=d.generateBlobSASQueryParameters=d.generateAccountSASQueryParameters=void 0;const C=p(67892);const S=p(81591);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return S.RestError}});C.__exportStar(p(91352),d);C.__exportStar(p(59813),d);C.__exportStar(p(83745),d);C.__exportStar(p(51029),d);C.__exportStar(p(56139),d);C.__exportStar(p(49286),d);C.__exportStar(p(89159),d);var v=p(10319);Object.defineProperty(d,"generateAccountSASQueryParameters",{enumerable:true,get:function(){return v.generateAccountSASQueryParameters}});C.__exportStar(p(27776),d);C.__exportStar(p(37683),d);C.__exportStar(p(4766),d);C.__exportStar(p(7831),d);var T=p(38147);Object.defineProperty(d,"generateBlobSASQueryParameters",{enumerable:true,get:function(){return T.generateBlobSASQueryParameters}});C.__exportStar(p(92156),d);C.__exportStar(p(32739),d);C.__exportStar(p(13360),d);C.__exportStar(p(44175),d);C.__exportStar(p(64220),d);var _=p(37647);Object.defineProperty(d,"BlockBlobTier",{enumerable:true,get:function(){return _.BlockBlobTier}});Object.defineProperty(d,"PremiumPageBlobTier",{enumerable:true,get:function(){return _.PremiumPageBlobTier}});Object.defineProperty(d,"StorageBlobAudience",{enumerable:true,get:function(){return _.StorageBlobAudience}});Object.defineProperty(d,"getBlobServiceAccountAudience",{enumerable:true,get:function(){return _.getBlobServiceAccountAudience}});var V=p(33543);Object.defineProperty(d,"Pipeline",{enumerable:true,get:function(){return V.Pipeline}});Object.defineProperty(d,"isPipelineLike",{enumerable:true,get:function(){return V.isPipelineLike}});Object.defineProperty(d,"newPipeline",{enumerable:true,get:function(){return V.newPipeline}});Object.defineProperty(d,"StorageOAuthScopes",{enumerable:true,get:function(){return V.StorageOAuthScopes}});C.__exportStar(p(64574),d);var Z=p(30679);Object.defineProperty(d,"BaseRequestPolicy",{enumerable:true,get:function(){return Z.BaseRequestPolicy}});C.__exportStar(p(74090),d);C.__exportStar(p(39809),d);C.__exportStar(p(64574),d);C.__exportStar(p(47318),d);C.__exportStar(p(65424),d);C.__exportStar(p(13430),d);var ee=p(32763);Object.defineProperty(d,"logger",{enumerable:true,get:function(){return ee.logger}})},58691:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AVRO_SCHEMA_KEY=d.AVRO_CODEC_KEY=d.AVRO_INIT_BYTES=d.AVRO_SYNC_MARKER_SIZE=void 0;d.AVRO_SYNC_MARKER_SIZE=16;d.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);d.AVRO_CODEC_KEY="avro.codec";d.AVRO_SCHEMA_KEY="avro.schema"},53355:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroType=d.AvroParser=void 0;class AvroParser{static async readFixedBytes(A,d,p={}){const C=await A.read(d,{abortSignal:p.abortSignal});if(C.length!==d){throw new Error("Hit stream end.")}return C}static async readByte(A,d={}){const p=await AvroParser.readFixedBytes(A,1,d);return p[0]}static async readZigZagLong(A,d={}){let p=0;let C=0;let S,v,T;do{S=await AvroParser.readByte(A,d);v=S&128;p|=(S&127)<<C;C+=7}while(v&&C<28);if(v){p=p;T=268435456;do{S=await AvroParser.readByte(A,d);p+=(S&127)*T;T*=128}while(S&128);const C=(p%2?-(p+1):p)/2;if(C<Number.MIN_SAFE_INTEGER||C>Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return C}return p>>1^-(p&1)}static async readLong(A,d={}){return AvroParser.readZigZagLong(A,d)}static async readInt(A,d={}){return AvroParser.readZigZagLong(A,d)}static async readNull(){return null}static async readBoolean(A,d={}){const p=await AvroParser.readByte(A,d);if(p===1){return true}else if(p===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(A,d={}){const p=await AvroParser.readFixedBytes(A,4,d);const C=new DataView(p.buffer,p.byteOffset,p.byteLength);return C.getFloat32(0,true)}static async readDouble(A,d={}){const p=await AvroParser.readFixedBytes(A,8,d);const C=new DataView(p.buffer,p.byteOffset,p.byteLength);return C.getFloat64(0,true)}static async readBytes(A,d={}){const p=await AvroParser.readLong(A,d);if(p<0){throw new Error("Bytes size was negative.")}return A.read(p,{abortSignal:d.abortSignal})}static async readString(A,d={}){const p=await AvroParser.readBytes(A,d);const C=new TextDecoder;return C.decode(p)}static async readMapPair(A,d,p={}){const C=await AvroParser.readString(A,p);const S=await d(A,p);return{key:C,value:S}}static async readMap(A,d,p={}){const readPairMethod=(A,p={})=>AvroParser.readMapPair(A,d,p);const C=await AvroParser.readArray(A,readPairMethod,p);const S={};for(const A of C){S[A.key]=A.value}return S}static async readArray(A,d,p={}){const C=[];for(let S=await AvroParser.readLong(A,p);S!==0;S=await AvroParser.readLong(A,p)){if(S<0){await AvroParser.readLong(A,p);S=-S}while(S--){const S=await d(A,p);C.push(S)}}return C}}d.AvroParser=AvroParser;var p;(function(A){A["RECORD"]="record";A["ENUM"]="enum";A["ARRAY"]="array";A["MAP"]="map";A["UNION"]="union";A["FIXED"]="fixed"})(p||(p={}));var C;(function(A){A["NULL"]="null";A["BOOLEAN"]="boolean";A["INT"]="int";A["LONG"]="long";A["FLOAT"]="float";A["DOUBLE"]="double";A["BYTES"]="bytes";A["STRING"]="string"})(C||(C={}));class AvroType{static fromSchema(A){if(typeof A==="string"){return AvroType.fromStringSchema(A)}else if(Array.isArray(A)){return AvroType.fromArraySchema(A)}else{return AvroType.fromObjectSchema(A)}}static fromStringSchema(A){switch(A){case C.NULL:case C.BOOLEAN:case C.INT:case C.LONG:case C.FLOAT:case C.DOUBLE:case C.BYTES:case C.STRING:return new AvroPrimitiveType(A);default:throw new Error(`Unexpected Avro type ${A}`)}}static fromArraySchema(A){return new AvroUnionType(A.map(AvroType.fromSchema))}static fromObjectSchema(A){const d=A.type;try{return AvroType.fromStringSchema(d)}catch{}switch(d){case p.RECORD:if(A.aliases){throw new Error(`aliases currently is not supported, schema: ${A}`)}if(!A.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${A}`)}const C={};if(!A.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${A}`)}for(const d of A.fields){C[d.name]=AvroType.fromSchema(d.type)}return new AvroRecordType(C,A.name);case p.ENUM:if(A.aliases){throw new Error(`aliases currently is not supported, schema: ${A}`)}if(!A.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${A}`)}return new AvroEnumType(A.symbols);case p.MAP:if(!A.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${A}`)}return new AvroMapType(AvroType.fromSchema(A.values));case p.ARRAY:case p.FIXED:default:throw new Error(`Unexpected Avro type ${d} in ${A}`)}}}d.AvroType=AvroType;class AvroPrimitiveType extends AvroType{_primitive;constructor(A){super();this._primitive=A}read(A,d={}){switch(this._primitive){case C.NULL:return AvroParser.readNull();case C.BOOLEAN:return AvroParser.readBoolean(A,d);case C.INT:return AvroParser.readInt(A,d);case C.LONG:return AvroParser.readLong(A,d);case C.FLOAT:return AvroParser.readFloat(A,d);case C.DOUBLE:return AvroParser.readDouble(A,d);case C.BYTES:return AvroParser.readBytes(A,d);case C.STRING:return AvroParser.readString(A,d);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(A){super();this._symbols=A}async read(A,d={}){const p=await AvroParser.readInt(A,d);return this._symbols[p]}}class AvroUnionType extends AvroType{_types;constructor(A){super();this._types=A}async read(A,d={}){const p=await AvroParser.readInt(A,d);return this._types[p].read(A,d)}}class AvroMapType extends AvroType{_itemType;constructor(A){super();this._itemType=A}read(A,d={}){const readItemMethod=(A,d)=>this._itemType.read(A,d);return AvroParser.readMap(A,readItemMethod,d)}}class AvroRecordType extends AvroType{_name;_fields;constructor(A,d){super();this._fields=A;this._name=d}async read(A,d={}){const p={};p["$schema"]=this._name;for(const C in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,C)){p[C]=await this._fields[C].read(A,d)}}return p}}},92616:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadable=void 0;class AvroReadable{}d.AvroReadable=AvroReadable},40092:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadableFromStream=void 0;const C=p(92616);const S=p(49797);const v=p(20181);const T=new S.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends C.AvroReadable{_position;_readable;toUint8Array(A){if(typeof A==="string"){return v.Buffer.from(A)}return A}constructor(A){super();this._readable=A;this._position=0}get position(){return this._position}async read(A,d={}){if(d.abortSignal?.aborted){throw T}if(A<0){throw new Error(`size parameter should be positive: ${A}`)}if(A===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const p=this._readable.read(A);if(p){this._position+=p.length;return this.toUint8Array(p)}else{return new Promise(((p,C)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(d.abortSignal){d.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const d=this._readable.read(A);if(d){this._position+=d.length;cleanUp();p(this.toUint8Array(d))}};const rejectCallback=()=>{cleanUp();C()};const abortHandler=()=>{cleanUp();C(T)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(d.abortSignal){d.abortSignal.addEventListener("abort",abortHandler)}}))}}}d.AvroReadableFromStream=AvroReadableFromStream},94875:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReader=void 0;const C=p(58691);const S=p(53355);const v=p(1142);class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(A,d,p,C){this._dataStream=A;this._headerStream=d||A;this._initialized=false;this._blockOffset=p||0;this._objectIndex=C||0;this._initialBlockOffset=p||0}async initialize(A={}){const d=await S.AvroParser.readFixedBytes(this._headerStream,C.AVRO_INIT_BYTES.length,{abortSignal:A.abortSignal});if(!(0,v.arraysEqual)(d,C.AVRO_INIT_BYTES)){throw new Error("Stream is not an Avro file.")}this._metadata=await S.AvroParser.readMap(this._headerStream,S.AvroParser.readString,{abortSignal:A.abortSignal});const p=this._metadata[C.AVRO_CODEC_KEY];if(!(p===undefined||p===null||p==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await S.AvroParser.readFixedBytes(this._headerStream,C.AVRO_SYNC_MARKER_SIZE,{abortSignal:A.abortSignal});const T=JSON.parse(this._metadata[C.AVRO_SCHEMA_KEY]);this._itemType=S.AvroType.fromSchema(T);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await S.AvroParser.readLong(this._dataStream,{abortSignal:A.abortSignal});await S.AvroParser.readLong(this._dataStream,{abortSignal:A.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let d=0;d<this._objectIndex;d++){await this._itemType.read(this._dataStream,{abortSignal:A.abortSignal});this._itemsRemainingInBlock--}}}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(A={}){if(!this._initialized){await this.initialize(A)}while(this.hasNext()){const d=await this._itemType.read(this._dataStream,{abortSignal:A.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const d=await S.AvroParser.readFixedBytes(this._dataStream,C.AVRO_SYNC_MARKER_SIZE,{abortSignal:A.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!(0,v.arraysEqual)(this._syncMarker,d)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await S.AvroParser.readLong(this._dataStream,{abortSignal:A.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await S.AvroParser.readLong(this._dataStream,{abortSignal:A.abortSignal})}}yield d}}}d.AvroReader=AvroReader},71338:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadableFromStream=d.AvroReadable=d.AvroReader=void 0;var C=p(94875);Object.defineProperty(d,"AvroReader",{enumerable:true,get:function(){return C.AvroReader}});var S=p(92616);Object.defineProperty(d,"AvroReadable",{enumerable:true,get:function(){return S.AvroReadable}});var v=p(40092);Object.defineProperty(d,"AvroReadableFromStream",{enumerable:true,get:function(){return v.AvroReadableFromStream}})},1142:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.arraysEqual=arraysEqual;function arraysEqual(A,d){if(A===d)return true;if(A==null||d==null)return false;if(A.length!==d.length)return false;for(let p=0;p<A.length;++p){if(A[p]!==d[p])return false}return true}},32763:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const C=p(2764);d.logger=(0,C.createClientLogger)("storage-blob")},37647:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBlobAudience=d.PremiumPageBlobTier=d.BlockBlobTier=void 0;d.toAccessTier=toAccessTier;d.ensureCpkIfSpecified=ensureCpkIfSpecified;d.getBlobServiceAccountAudience=getBlobServiceAccountAudience;const C=p(9386);var S;(function(A){A["Hot"]="Hot";A["Cool"]="Cool";A["Cold"]="Cold";A["Archive"]="Archive"})(S||(d.BlockBlobTier=S={}));var v;(function(A){A["P4"]="P4";A["P6"]="P6";A["P10"]="P10";A["P15"]="P15";A["P20"]="P20";A["P30"]="P30";A["P40"]="P40";A["P50"]="P50";A["P60"]="P60";A["P70"]="P70";A["P80"]="P80"})(v||(d.PremiumPageBlobTier=v={}));function toAccessTier(A){if(A===undefined){return undefined}return A}function ensureCpkIfSpecified(A,d){if(A&&!d){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(A&&!A.encryptionAlgorithm){A.encryptionAlgorithm=C.EncryptionAlgorithmAES25}}var T;(function(A){A["StorageOAuthScopes"]="https://storage.azure.com/.default";A["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(T||(d.StorageBlobAudience=T={}));function getBlobServiceAccountAudience(A){return`https://${A}.blob.core.windows.net/.default`}},74090:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredentialPolicy=void 0;const C=p(39809);class AnonymousCredentialPolicy extends C.CredentialPolicy{constructor(A,d){super(A,d)}}d.AnonymousCredentialPolicy=AnonymousCredentialPolicy},39809:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CredentialPolicy=void 0;const C=p(30679);class CredentialPolicy extends C.BaseRequestPolicy{sendRequest(A){return this._nextPolicy.sendRequest(this.signRequest(A))}signRequest(A){return A}}d.CredentialPolicy=CredentialPolicy},30679:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(A,d){this._nextPolicy=A;this._options=d}shouldLog(A){return this._options.shouldLog(A)}log(A,d){this._options.log(A,d)}}d.BaseRequestPolicy=BaseRequestPolicy},66687:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicy=void 0;const C=p(30679);const S=p(33e3);const v=p(9386);const T=p(98915);class StorageBrowserPolicy extends C.BaseRequestPolicy{constructor(A,d){super(A,d)}async sendRequest(A){if(S.isNodeLike){return this._nextPolicy.sendRequest(A)}if(A.method.toUpperCase()==="GET"||A.method.toUpperCase()==="HEAD"){A.url=(0,T.setURLParameter)(A.url,v.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}A.headers.remove(v.HeaderConstants.COOKIE);A.headers.remove(v.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(A)}}d.StorageBrowserPolicy=StorageBrowserPolicy},12391:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageBrowserPolicyName=void 0;d.storageBrowserPolicy=storageBrowserPolicy;const C=p(33e3);const S=p(9386);const v=p(98915);d.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:d.storageBrowserPolicyName,async sendRequest(A,d){if(C.isNodeLike){return d(A)}if(A.method==="GET"||A.method==="HEAD"){A.url=(0,v.setURLParameter)(A.url,S.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}A.headers.delete(S.HeaderConstants.COOKIE);A.headers.delete(S.HeaderConstants.CONTENT_LENGTH);return d(A)}}}},77348:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageCorrectContentLengthPolicyName=void 0;d.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const C=p(9386);d.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(A){if(A.body&&(typeof A.body==="string"||Buffer.isBuffer(A.body))&&A.body.length>0){A.headers.set(C.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(A.body))}}return{name:d.storageCorrectContentLengthPolicyName,async sendRequest(A,d){correctContentLength(A);return d(A)}}}},21613:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicy=void 0;d.NewRetryPolicyFactory=NewRetryPolicyFactory;const C=p(49797);const S=p(30679);const v=p(9386);const T=p(98915);const _=p(32763);const V=p(26941);function NewRetryPolicyFactory(A){return{create:(d,p)=>new StorageRetryPolicy(d,p,A)}}const Z={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:V.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const ee=new C.AbortError("The operation was aborted.");class StorageRetryPolicy extends S.BaseRequestPolicy{retryOptions;constructor(A,d,p=Z){super(A,d);this.retryOptions={retryPolicyType:p.retryPolicyType?p.retryPolicyType:Z.retryPolicyType,maxTries:p.maxTries&&p.maxTries>=1?Math.floor(p.maxTries):Z.maxTries,tryTimeoutInMs:p.tryTimeoutInMs&&p.tryTimeoutInMs>=0?p.tryTimeoutInMs:Z.tryTimeoutInMs,retryDelayInMs:p.retryDelayInMs&&p.retryDelayInMs>=0?Math.min(p.retryDelayInMs,p.maxRetryDelayInMs?p.maxRetryDelayInMs:Z.maxRetryDelayInMs):Z.retryDelayInMs,maxRetryDelayInMs:p.maxRetryDelayInMs&&p.maxRetryDelayInMs>=0?p.maxRetryDelayInMs:Z.maxRetryDelayInMs,secondaryHost:p.secondaryHost?p.secondaryHost:Z.secondaryHost}}async sendRequest(A){return this.attemptSendRequest(A,false,1)}async attemptSendRequest(A,d,p){const C=A.clone();const S=d||!this.retryOptions.secondaryHost||!(A.method==="GET"||A.method==="HEAD"||A.method==="OPTIONS")||p%2===1;if(!S){C.url=(0,T.setURLHost)(C.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){C.url=(0,T.setURLParameter)(C.url,v.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let V;try{_.logger.info(`RetryPolicy: =====> Try=${p} ${S?"Primary":"Secondary"}`);V=await this._nextPolicy.sendRequest(C);if(!this.shouldRetry(S,p,V)){return V}d=d||!S&&V.status===404}catch(A){_.logger.error(`RetryPolicy: Caught error, message: ${A.message}, code: ${A.code}`);if(!this.shouldRetry(S,p,V,A)){throw A}}await this.delay(S,p,A.abortSignal);return this.attemptSendRequest(A,d,++p)}shouldRetry(A,d,p,C){if(d>=this.retryOptions.maxTries){_.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const S=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(C){for(const A of S){if(C.name.toUpperCase().includes(A)||C.message.toUpperCase().includes(A)||C.code&&C.code.toString().toUpperCase()===A){_.logger.info(`RetryPolicy: Network error ${A} found, will retry.`);return true}}}if(p||C){const d=p?p.status:C?C.statusCode:0;if(!A&&d===404){_.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){_.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const A=p.headers.get(v.HeaderConstants.X_MS_CopySourceErrorCode);if(A!==undefined){switch(A){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(C?.code==="PARSE_ERROR"&&C?.message.startsWith(`Error "Error: Unclosed root tag`)){_.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(A,d,p){let C=0;if(A){switch(this.retryOptions.retryPolicyType){case V.StorageRetryPolicyType.EXPONENTIAL:C=Math.min((Math.pow(2,d-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case V.StorageRetryPolicyType.FIXED:C=this.retryOptions.retryDelayInMs;break}}else{C=Math.random()*1e3}_.logger.info(`RetryPolicy: Delay for ${C}ms`);return(0,T.delay)(C,p,ee)}}d.StorageRetryPolicy=StorageRetryPolicy},26941:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyType=void 0;var p;(function(A){A[A["EXPONENTIAL"]=0]="EXPONENTIAL";A[A["FIXED"]=1]="FIXED"})(p||(d.StorageRetryPolicyType=p={}))},46221:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRetryPolicyName=void 0;d.storageRetryPolicy=storageRetryPolicy;const C=p(49797);const S=p(81591);const v=p(33e3);const T=p(64574);const _=p(9386);const V=p(98915);const Z=p(32763);d.storageRetryPolicyName="storageRetryPolicy";const ee={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:T.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const te=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const re=new C.AbortError("The operation was aborted.");function storageRetryPolicy(A={}){const p=A.retryPolicyType??ee.retryPolicyType;const C=A.maxTries??ee.maxTries;const ne=A.retryDelayInMs??ee.retryDelayInMs;const ie=A.maxRetryDelayInMs??ee.maxRetryDelayInMs;const se=A.secondaryHost??ee.secondaryHost;const oe=A.tryTimeoutInMs??ee.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:A,attempt:d,response:p,error:S}){if(d>=C){Z.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${C}, no further try.`);return false}if(S){for(const A of te){if(S.name.toUpperCase().includes(A)||S.message.toUpperCase().includes(A)||S.code&&S.code.toString().toUpperCase()===A){Z.logger.info(`RetryPolicy: Network error ${A} found, will retry.`);return true}}if(S?.code==="PARSE_ERROR"&&S?.message.startsWith(`Error "Error: Unclosed root tag`)){Z.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(p||S){const d=p?.status??S?.statusCode??0;if(!A&&d===404){Z.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){Z.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const A=p.headers.get(_.HeaderConstants.X_MS_CopySourceErrorCode);if(A!==undefined){switch(A){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(A,d){let C=0;if(A){switch(p){case T.StorageRetryPolicyType.EXPONENTIAL:C=Math.min((Math.pow(2,d-1)-1)*ne,ie);break;case T.StorageRetryPolicyType.FIXED:C=ne;break}}else{C=Math.random()*1e3}Z.logger.info(`RetryPolicy: Delay for ${C}ms`);return C}return{name:d.storageRetryPolicyName,async sendRequest(A,d){if(oe){A.url=(0,V.setURLParameter)(A.url,_.URLConstants.Parameters.TIMEOUT,String(Math.floor(oe/1e3)))}const p=A.url;const C=se?(0,V.setURLHost)(A.url,se):undefined;let T=false;let ee=1;let te=true;let ne;let ie;while(te){const _=T||!C||!["GET","HEAD","OPTIONS"].includes(A.method)||ee%2===1;A.url=_?p:C;ne=undefined;ie=undefined;try{Z.logger.info(`RetryPolicy: =====> Try=${ee} ${_?"Primary":"Secondary"}`);ne=await d(A);T=T||!_&&ne.status===404}catch(A){if((0,S.isRestError)(A)){Z.logger.error(`RetryPolicy: Caught error, message: ${A.message}, code: ${A.code}`);ie=A}else{Z.logger.error(`RetryPolicy: Caught error, message: ${(0,v.getErrorMessage)(A)}`);throw A}}te=shouldRetry({isPrimaryRetry:_,attempt:ee,response:ne,error:ie});if(te){await(0,V.delay)(calculateDelay(_,ee),A.abortSignal,re)}ee++}if(ne){return ne}throw ie??new S.RestError("RetryPolicy failed without known error.")}}}},47318:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredentialPolicy=void 0;const C=p(9386);const S=p(98915);const v=p(39809);const T=p(81179);class StorageSharedKeyCredentialPolicy extends v.CredentialPolicy{factory;constructor(A,d,p){super(A,d);this.factory=p}signRequest(A){A.headers.set(C.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(A.body&&(typeof A.body==="string"||A.body!==undefined)&&A.body.length>0){A.headers.set(C.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(A.body))}const d=[A.method.toUpperCase(),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(A,C.HeaderConstants.DATE),this.getHeaderValueToSign(A,C.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(A,C.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(A,C.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(A,C.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(A,C.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(A)+this.getCanonicalizedResourceString(A);const p=this.factory.computeHMACSHA256(d);A.headers.set(C.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${p}`);return A}getHeaderValueToSign(A,d){const p=A.headers.get(d);if(!p){return""}if(d===C.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}getCanonicalizedHeadersString(A){let d=A.headers.headersArray().filter((A=>A.name.toLowerCase().startsWith(C.HeaderConstants.PREFIX_FOR_STORAGE)));d.sort(((A,d)=>(0,T.compareHeader)(A.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((A,d,p)=>{if(d>0&&A.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((A=>{p+=`${A.name.toLowerCase().trimRight()}:${A.value.trimLeft()}\n`}));return p}getCanonicalizedResourceString(A){const d=(0,S.getURLPath)(A.url)||"/";let p="";p+=`/${this.factory.accountName}${d}`;const C=(0,S.getURLQueries)(A.url);const v={};if(C){const A=[];for(const d in C){if(Object.prototype.hasOwnProperty.call(C,d)){const p=d.toLowerCase();v[p]=C[d];A.push(p)}}A.sort();for(const d of A){p+=`\n${d}:${decodeURIComponent(v[d])}`}}return p}}d.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},61154:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageSharedKeyCredentialPolicyName=void 0;d.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const C=p(77598);const S=p(9386);const v=p(98915);const T=p(81179);d.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(A){function signRequest(d){d.headers.set(S.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(d.body&&(typeof d.body==="string"||Buffer.isBuffer(d.body))&&d.body.length>0){d.headers.set(S.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(d.body))}const p=[d.method.toUpperCase(),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(d,S.HeaderConstants.DATE),getHeaderValueToSign(d,S.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(d,S.HeaderConstants.IF_MATCH),getHeaderValueToSign(d,S.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(d,S.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(d,S.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(d)+getCanonicalizedResourceString(d);const v=(0,C.createHmac)("sha256",A.accountKey).update(p,"utf8").digest("base64");d.headers.set(S.HeaderConstants.AUTHORIZATION,`SharedKey ${A.accountName}:${v}`)}function getHeaderValueToSign(A,d){const p=A.headers.get(d);if(!p){return""}if(d===S.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}function getCanonicalizedHeadersString(A){let d=[];for(const[p,C]of A.headers){if(p.toLowerCase().startsWith(S.HeaderConstants.PREFIX_FOR_STORAGE)){d.push({name:p,value:C})}}d.sort(((A,d)=>(0,T.compareHeader)(A.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((A,d,p)=>{if(d>0&&A.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((A=>{p+=`${A.name.toLowerCase().trimRight()}:${A.value.trimLeft()}\n`}));return p}function getCanonicalizedResourceString(d){const p=(0,v.getURLPath)(d.url)||"/";let C="";C+=`/${A.accountName}${p}`;const S=(0,v.getURLQueries)(d.url);const T={};if(S){const A=[];for(const d in S){if(Object.prototype.hasOwnProperty.call(S,d)){const p=d.toLowerCase();T[p]=S[d];A.push(p)}}A.sort();for(const d of A){C+=`\n${d}:${decodeURIComponent(T[d])}`}}return C}return{name:d.storageSharedKeyCredentialPolicyName,async sendRequest(A,d){signRequest(A);return d(A)}}}},22958:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBeginCopyFromUrlPoller=void 0;const C=p(33e3);const S=p(61311);class BlobBeginCopyFromUrlPoller extends S.Poller{intervalInMs;constructor(A){const{blobClient:d,copySource:p,intervalInMs:C=15e3,onProgress:S,resumeFrom:v,startCopyFromURLOptions:T}=A;let _;if(v){_=JSON.parse(v).state}const V=makeBlobBeginCopyFromURLPollOperation({..._,blobClient:d,copySource:p,startCopyFromURLOptions:T});super(V);if(typeof S==="function"){this.onProgress(S)}this.intervalInMs=C}delay(){return(0,C.delay)(this.intervalInMs)}}d.BlobBeginCopyFromUrlPoller=BlobBeginCopyFromUrlPoller;const v=async function cancel(A={}){const d=this.state;const{copyId:p}=d;if(d.isCompleted){return makeBlobBeginCopyFromURLPollOperation(d)}if(!p){d.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(d)}await d.blobClient.abortCopyFromURL(p,{abortSignal:A.abortSignal});d.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(d)};const T=async function update(A={}){const d=this.state;const{blobClient:p,copySource:C,startCopyFromURLOptions:S}=d;if(!d.isStarted){d.isStarted=true;const A=await p.startCopyFromURL(C,S);d.copyId=A.copyId;if(A.copyStatus==="success"){d.result=A;d.isCompleted=true}}else if(!d.isCompleted){try{const p=await d.blobClient.getProperties({abortSignal:A.abortSignal});const{copyStatus:C,copyProgress:S}=p;const v=d.copyProgress;if(S){d.copyProgress=S}if(C==="pending"&&S!==v&&typeof A.fireProgress==="function"){A.fireProgress(d)}else if(C==="success"){d.result=p;d.isCompleted=true}else if(C==="failed"){d.error=new Error(`Blob copy failed with reason: "${p.copyStatusDescription||"unknown"}"`);d.isCompleted=true}}catch(A){d.error=A;d.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(d)};const _=function toString(){return JSON.stringify({state:this.state},((A,d)=>{if(A==="blobClient"){return undefined}return d}))};function makeBlobBeginCopyFromURLPollOperation(A){return{state:{...A},cancel:v,toString:_,update:T}}},56139:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASPermissions=void 0;class AccountSASPermissions{static parse(A){const d=new AccountSASPermissions;for(const p of A){switch(p){case"r":d.read=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"x":d.deleteVersion=true;break;case"l":d.list=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"u":d.update=true;break;case"p":d.process=true;break;case"t":d.tag=true;break;case"f":d.filter=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${p}`)}}return d}static from(A){const d=new AccountSASPermissions;if(A.read){d.read=true}if(A.write){d.write=true}if(A.delete){d.delete=true}if(A.deleteVersion){d.deleteVersion=true}if(A.filter){d.filter=true}if(A.tag){d.tag=true}if(A.list){d.list=true}if(A.add){d.add=true}if(A.create){d.create=true}if(A.update){d.update=true}if(A.process){d.process=true}if(A.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(A.permanentDelete){d.permanentDelete=true}return d}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 A=[];if(this.read){A.push("r")}if(this.write){A.push("w")}if(this.delete){A.push("d")}if(this.deleteVersion){A.push("x")}if(this.filter){A.push("f")}if(this.tag){A.push("t")}if(this.list){A.push("l")}if(this.add){A.push("a")}if(this.create){A.push("c")}if(this.update){A.push("u")}if(this.process){A.push("p")}if(this.setImmutabilityPolicy){A.push("i")}if(this.permanentDelete){A.push("y")}return A.join("")}}d.AccountSASPermissions=AccountSASPermissions},49286:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASResourceTypes=void 0;class AccountSASResourceTypes{static parse(A){const d=new AccountSASResourceTypes;for(const p of A){switch(p){case"s":d.service=true;break;case"c":d.container=true;break;case"o":d.object=true;break;default:throw new RangeError(`Invalid resource type: ${p}`)}}return d}service=false;container=false;object=false;toString(){const A=[];if(this.service){A.push("s")}if(this.container){A.push("c")}if(this.object){A.push("o")}return A.join("")}}d.AccountSASResourceTypes=AccountSASResourceTypes},89159:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASServices=void 0;class AccountSASServices{static parse(A){const d=new AccountSASServices;for(const p of A){switch(p){case"b":d.blob=true;break;case"f":d.file=true;break;case"q":d.queue=true;break;case"t":d.table=true;break;default:throw new RangeError(`Invalid service character: ${p}`)}}return d}blob=false;file=false;queue=false;table=false;toString(){const A=[];if(this.blob){A.push("b")}if(this.table){A.push("t")}if(this.queue){A.push("q")}if(this.file){A.push("f")}return A.join("")}}d.AccountSASServices=AccountSASServices},10319:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.generateAccountSASQueryParameters=generateAccountSASQueryParameters;d.generateAccountSASQueryParametersInternal=generateAccountSASQueryParametersInternal;const C=p(56139);const S=p(49286);const v=p(89159);const T=p(98562);const _=p(65424);const V=p(9386);const Z=p(98915);function generateAccountSASQueryParameters(A,d){return generateAccountSASQueryParametersInternal(A,d).sasQueryParameters}function generateAccountSASQueryParametersInternal(A,d){const p=A.version?A.version:V.SERVICE_VERSION;if(A.permissions&&A.permissions.setImmutabilityPolicy&&p<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(A.permissions&&A.permissions.deleteVersion&&p<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(A.permissions&&A.permissions.permanentDelete&&p<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(A.permissions&&A.permissions.tag&&p<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(A.permissions&&A.permissions.filter&&p<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(A.encryptionScope&&p<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const ee=C.AccountSASPermissions.parse(A.permissions.toString());const te=v.AccountSASServices.parse(A.services).toString();const re=S.AccountSASResourceTypes.parse(A.resourceTypes).toString();let ne;if(p>="2020-12-06"){ne=[d.accountName,ee,te,re,A.startsOn?(0,Z.truncatedISO8061Date)(A.startsOn,false):"",(0,Z.truncatedISO8061Date)(A.expiresOn,false),A.ipRange?(0,T.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",p,A.encryptionScope?A.encryptionScope:"",""].join("\n")}else{ne=[d.accountName,ee,te,re,A.startsOn?(0,Z.truncatedISO8061Date)(A.startsOn,false):"",(0,Z.truncatedISO8061Date)(A.expiresOn,false),A.ipRange?(0,T.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",p,""].join("\n")}const ie=d.computeHMACSHA256(ne);return{sasQueryParameters:new _.SASQueryParameters(p,ie,ee.toString(),te,re,A.protocol,A.startsOn,A.expiresOn,A.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,A.encryptionScope),stringToSign:ne}}},7831:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobSASPermissions=void 0;class BlobSASPermissions{static parse(A){const d=new BlobSASPermissions;for(const p of A){switch(p){case"r":d.read=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"x":d.deleteVersion=true;break;case"t":d.tag=true;break;case"m":d.move=true;break;case"e":d.execute=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${p}`)}}return d}static from(A){const d=new BlobSASPermissions;if(A.read){d.read=true}if(A.add){d.add=true}if(A.create){d.create=true}if(A.write){d.write=true}if(A.delete){d.delete=true}if(A.deleteVersion){d.deleteVersion=true}if(A.tag){d.tag=true}if(A.move){d.move=true}if(A.execute){d.execute=true}if(A.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(A.permanentDelete){d.permanentDelete=true}return d}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const A=[];if(this.read){A.push("r")}if(this.add){A.push("a")}if(this.create){A.push("c")}if(this.write){A.push("w")}if(this.delete){A.push("d")}if(this.deleteVersion){A.push("x")}if(this.tag){A.push("t")}if(this.move){A.push("m")}if(this.execute){A.push("e")}if(this.setImmutabilityPolicy){A.push("i")}if(this.permanentDelete){A.push("y")}return A.join("")}}d.BlobSASPermissions=BlobSASPermissions},38147:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.generateBlobSASQueryParameters=generateBlobSASQueryParameters;d.generateBlobSASQueryParametersInternal=generateBlobSASQueryParametersInternal;const C=p(7831);const S=p(32739);const v=p(64220);const T=p(20061);const _=p(98562);const V=p(65424);const Z=p(9386);const ee=p(98915);function generateBlobSASQueryParameters(A,d,p){return generateBlobSASQueryParametersInternal(A,d,p).sasQueryParameters}function generateBlobSASQueryParametersInternal(A,d,p){const C=A.version?A.version:Z.SERVICE_VERSION;const S=d instanceof v.StorageSharedKeyCredential?d:undefined;let _;if(S===undefined&&p!==undefined){_=new T.UserDelegationKeyCredential(p,d)}if(S===undefined&&_===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(C>="2020-12-06"){if(S!==undefined){return generateBlobSASQueryParameters20201206(A,S)}else{if(C>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(A,_)}else{return generateBlobSASQueryParametersUDK20201206(A,_)}}}if(C>="2018-11-09"){if(S!==undefined){return generateBlobSASQueryParameters20181109(A,S)}else{if(C>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(A,_)}else{return generateBlobSASQueryParametersUDK20181109(A,_)}}}if(C>="2015-04-05"){if(S!==undefined){return generateBlobSASQueryParameters20150405(A,S)}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(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.identifier&&!(A.permissions&&A.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";if(A.blobName){p="b"}let v;if(A.permissions){if(A.blobName){v=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{v=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const T=[v?v:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),A.identifier,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,A.cacheControl?A.cacheControl:"",A.contentDisposition?A.contentDisposition:"",A.contentEncoding?A.contentEncoding:"",A.contentLanguage?A.contentLanguage:"",A.contentType?A.contentType:""].join("\n");const Z=d.computeHMACSHA256(T);return{sasQueryParameters:new V.SASQueryParameters(A.version,Z,v,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType),stringToSign:T}}function generateBlobSASQueryParameters20181109(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.identifier&&!(A.permissions&&A.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";let v=A.snapshotTime;if(A.blobName){p="b";if(A.snapshotTime){p="bs"}else if(A.versionId){p="bv";v=A.versionId}}let T;if(A.permissions){if(A.blobName){T=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{T=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const Z=[T?T:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),A.identifier,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,p,v,A.cacheControl?A.cacheControl:"",A.contentDisposition?A.contentDisposition:"",A.contentEncoding?A.contentEncoding:"",A.contentLanguage?A.contentLanguage:"",A.contentType?A.contentType:""].join("\n");const te=d.computeHMACSHA256(Z);return{sasQueryParameters:new V.SASQueryParameters(A.version,te,T,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType),stringToSign:Z}}function generateBlobSASQueryParameters20201206(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.identifier&&!(A.permissions&&A.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";let v=A.snapshotTime;if(A.blobName){p="b";if(A.snapshotTime){p="bs"}else if(A.versionId){p="bv";v=A.versionId}}let T;if(A.permissions){if(A.blobName){T=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{T=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const Z=[T?T:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),A.identifier,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,p,v,A.encryptionScope,A.cacheControl?A.cacheControl:"",A.contentDisposition?A.contentDisposition:"",A.contentEncoding?A.contentEncoding:"",A.contentLanguage?A.contentLanguage:"",A.contentType?A.contentType:""].join("\n");const te=d.computeHMACSHA256(Z);return{sasQueryParameters:new V.SASQueryParameters(A.version,te,T,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType,undefined,undefined,undefined,A.encryptionScope),stringToSign:Z}}function generateBlobSASQueryParametersUDK20181109(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.permissions||!A.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let v=A.snapshotTime;if(A.blobName){p="b";if(A.snapshotTime){p="bs"}else if(A.versionId){p="bv";v=A.versionId}}let T;if(A.permissions){if(A.blobName){T=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{T=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const Z=[T?T:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,p,v,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType].join("\n");const te=d.computeHMACSHA256(Z);return{sasQueryParameters:new V.SASQueryParameters(A.version,te,T,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType,d.userDelegationKey),stringToSign:Z}}function generateBlobSASQueryParametersUDK20200210(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.permissions||!A.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let v=A.snapshotTime;if(A.blobName){p="b";if(A.snapshotTime){p="bs"}else if(A.versionId){p="bv";v=A.versionId}}let T;if(A.permissions){if(A.blobName){T=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{T=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const Z=[T?T:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,A.preauthorizedAgentObjectId,undefined,A.correlationId,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,p,v,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType].join("\n");const te=d.computeHMACSHA256(Z);return{sasQueryParameters:new V.SASQueryParameters(A.version,te,T,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType,d.userDelegationKey,A.preauthorizedAgentObjectId,A.correlationId),stringToSign:Z}}function generateBlobSASQueryParametersUDK20201206(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.permissions||!A.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let v=A.snapshotTime;if(A.blobName){p="b";if(A.snapshotTime){p="bs"}else if(A.versionId){p="bv";v=A.versionId}}let T;if(A.permissions){if(A.blobName){T=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{T=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const Z=[T?T:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,A.preauthorizedAgentObjectId,undefined,A.correlationId,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,p,v,A.encryptionScope,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType].join("\n");const te=d.computeHMACSHA256(Z);return{sasQueryParameters:new V.SASQueryParameters(A.version,te,T,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType,d.userDelegationKey,A.preauthorizedAgentObjectId,A.correlationId,A.encryptionScope),stringToSign:Z}}function generateBlobSASQueryParametersUDK20250705(A,d){A=SASSignatureValuesSanityCheckAndAutofill(A);if(!A.permissions||!A.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let v=A.snapshotTime;if(A.blobName){p="b";if(A.snapshotTime){p="bs"}else if(A.versionId){p="bv";v=A.versionId}}let T;if(A.permissions){if(A.blobName){T=C.BlobSASPermissions.parse(A.permissions.toString()).toString()}else{T=S.ContainerSASPermissions.parse(A.permissions.toString()).toString()}}const Z=[T?T:"",A.startsOn?(0,ee.truncatedISO8061Date)(A.startsOn,false):"",A.expiresOn?(0,ee.truncatedISO8061Date)(A.expiresOn,false):"",getCanonicalName(d.accountName,A.containerName,A.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ee.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,A.preauthorizedAgentObjectId,undefined,A.correlationId,undefined,undefined,A.ipRange?(0,_.ipRangeToString)(A.ipRange):"",A.protocol?A.protocol:"",A.version,p,v,A.encryptionScope,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType].join("\n");const te=d.computeHMACSHA256(Z);return{sasQueryParameters:new V.SASQueryParameters(A.version,te,T,undefined,undefined,A.protocol,A.startsOn,A.expiresOn,A.ipRange,A.identifier,p,A.cacheControl,A.contentDisposition,A.contentEncoding,A.contentLanguage,A.contentType,d.userDelegationKey,A.preauthorizedAgentObjectId,A.correlationId,A.encryptionScope),stringToSign:Z}}function getCanonicalName(A,d,p){const C=[`/blob/${A}/${d}`];if(p){C.push(`/${p}`)}return C.join("")}function SASSignatureValuesSanityCheckAndAutofill(A){const d=A.version?A.version:Z.SERVICE_VERSION;if(A.snapshotTime&&d<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(A.blobName===undefined&&A.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(A.versionId&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(A.blobName===undefined&&A.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(A.permissions&&A.permissions.setImmutabilityPolicy&&d<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(A.permissions&&A.permissions.deleteVersion&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(A.permissions&&A.permissions.permanentDelete&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(A.permissions&&A.permissions.tag&&d<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(d<"2020-02-10"&&A.permissions&&(A.permissions.move||A.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(d<"2021-04-10"&&A.permissions&&A.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(d<"2020-02-10"&&(A.preauthorizedAgentObjectId||A.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(A.encryptionScope&&d<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}A.version=d;return A}},32739:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerSASPermissions=void 0;class ContainerSASPermissions{static parse(A){const d=new ContainerSASPermissions;for(const p of A){switch(p){case"r":d.read=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"l":d.list=true;break;case"t":d.tag=true;break;case"x":d.deleteVersion=true;break;case"m":d.move=true;break;case"e":d.execute=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;case"f":d.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${p}`)}}return d}static from(A){const d=new ContainerSASPermissions;if(A.read){d.read=true}if(A.add){d.add=true}if(A.create){d.create=true}if(A.write){d.write=true}if(A.delete){d.delete=true}if(A.list){d.list=true}if(A.deleteVersion){d.deleteVersion=true}if(A.tag){d.tag=true}if(A.move){d.move=true}if(A.execute){d.execute=true}if(A.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(A.permanentDelete){d.permanentDelete=true}if(A.filterByTags){d.filterByTags=true}return d}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 A=[];if(this.read){A.push("r")}if(this.add){A.push("a")}if(this.create){A.push("c")}if(this.write){A.push("w")}if(this.delete){A.push("d")}if(this.deleteVersion){A.push("x")}if(this.list){A.push("l")}if(this.tag){A.push("t")}if(this.move){A.push("m")}if(this.execute){A.push("e")}if(this.setImmutabilityPolicy){A.push("i")}if(this.permanentDelete){A.push("y")}if(this.filterByTags){A.push("f")}return A.join("")}}d.ContainerSASPermissions=ContainerSASPermissions},65424:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SASQueryParameters=d.SASProtocol=void 0;const C=p(98562);const S=p(98915);var v;(function(A){A["Https"]="https";A["HttpsAndHttp"]="https,http"})(v||(d.SASProtocol=v={}));class SASQueryParameters{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined}constructor(A,d,p,C,S,v,T,_,V,Z,ee,te,re,ne,ie,se,oe,ae,le,ce){this.version=A;this.signature=d;if(p!==undefined&&typeof p!=="string"){this.permissions=p.permissions;this.services=p.services;this.resourceTypes=p.resourceTypes;this.protocol=p.protocol;this.startsOn=p.startsOn;this.expiresOn=p.expiresOn;this.ipRangeInner=p.ipRange;this.identifier=p.identifier;this.encryptionScope=p.encryptionScope;this.resource=p.resource;this.cacheControl=p.cacheControl;this.contentDisposition=p.contentDisposition;this.contentEncoding=p.contentEncoding;this.contentLanguage=p.contentLanguage;this.contentType=p.contentType;if(p.userDelegationKey){this.signedOid=p.userDelegationKey.signedObjectId;this.signedTenantId=p.userDelegationKey.signedTenantId;this.signedStartsOn=p.userDelegationKey.signedStartsOn;this.signedExpiresOn=p.userDelegationKey.signedExpiresOn;this.signedService=p.userDelegationKey.signedService;this.signedVersion=p.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=p.preauthorizedAgentObjectId;this.correlationId=p.correlationId}}else{this.services=C;this.resourceTypes=S;this.expiresOn=_;this.permissions=p;this.protocol=v;this.startsOn=T;this.ipRangeInner=V;this.encryptionScope=ce;this.identifier=Z;this.resource=ee;this.cacheControl=te;this.contentDisposition=re;this.contentEncoding=ne;this.contentLanguage=ie;this.contentType=se;if(oe){this.signedOid=oe.signedObjectId;this.signedTenantId=oe.signedTenantId;this.signedStartsOn=oe.signedStartsOn;this.signedExpiresOn=oe.signedExpiresOn;this.signedService=oe.signedService;this.signedVersion=oe.signedVersion;this.preauthorizedAgentObjectId=ae;this.correlationId=le}}}toString(){const A=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid"];const d=[];for(const p of A){switch(p){case"sv":this.tryAppendQueryParameter(d,p,this.version);break;case"ss":this.tryAppendQueryParameter(d,p,this.services);break;case"srt":this.tryAppendQueryParameter(d,p,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(d,p,this.protocol);break;case"st":this.tryAppendQueryParameter(d,p,this.startsOn?(0,S.truncatedISO8061Date)(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(d,p,this.expiresOn?(0,S.truncatedISO8061Date)(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(d,p,this.ipRange?(0,C.ipRangeToString)(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(d,p,this.identifier);break;case"ses":this.tryAppendQueryParameter(d,p,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(d,p,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(d,p,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(d,p,this.signedStartsOn?(0,S.truncatedISO8061Date)(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(d,p,this.signedExpiresOn?(0,S.truncatedISO8061Date)(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(d,p,this.signedService);break;case"skv":this.tryAppendQueryParameter(d,p,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(d,p,this.resource);break;case"sp":this.tryAppendQueryParameter(d,p,this.permissions);break;case"sig":this.tryAppendQueryParameter(d,p,this.signature);break;case"rscc":this.tryAppendQueryParameter(d,p,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(d,p,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(d,p,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(d,p,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(d,p,this.contentType);break;case"saoid":this.tryAppendQueryParameter(d,p,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(d,p,this.correlationId);break}}return d.join("&")}tryAppendQueryParameter(A,d,p){if(!p){return}d=encodeURIComponent(d);p=encodeURIComponent(p);if(d.length>0&&p.length>0){A.push(`${d}=${p}`)}}}d.SASQueryParameters=SASQueryParameters},98562:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ipRangeToString=ipRangeToString;function ipRangeToString(A){return A.end?`${A.start}-${A.end}`:A.start}},14539:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Batch=void 0;const C=p(24434);var S;(function(A){A[A["Good"]=0]="Good";A[A["Error"]=1]="Error"})(S||(S={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=S.Good;emitter;constructor(A=5){if(A<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=A;this.emitter=new C.EventEmitter}addOperation(A){this.operations.push((async()=>{try{this.actives++;await A();this.actives--;this.completed++;this.parallelExecute()}catch(A){this.emitter.emit("error",A)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((A,d)=>{this.emitter.on("finish",A);this.emitter.on("error",(A=>{this.state=S.Error;d(A)}))}))}nextOperation(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null}parallelExecute(){if(this.state===S.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){const A=this.nextOperation();if(A){A()}else{return}}}}d.Batch=Batch},17097:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobQuickQueryStream=void 0;const C=p(57075);const S=p(71338);class BlobQuickQueryStream extends C.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(A,d={}){super();this.source=A;this.onProgress=d.onProgress;this.onError=d.onError;this.avroReader=new S.AvroReader(new S.AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:d.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((A=>{this.emit("error",A)}))}}async readInternal(){this.avroPaused=false;let A;do{A=await this.avroIter.next();if(A.done){break}const d=A.value;const p=d.$schema;if(typeof p!=="string"){throw Error("Missing schema in avro record.")}switch(p){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const A=d.data;if(A instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(A))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const A=d.bytesScanned;if(typeof A!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:A})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const A=d.totalBytes;if(typeof A!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:A})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const A=d.fatal;if(typeof A!=="boolean"){throw Error("Invalid fatal in avro error record.")}const p=d.name;if(typeof p!=="string"){throw Error("Invalid name in avro error record.")}const C=d.description;if(typeof C!=="string"){throw Error("Invalid description in avro error record.")}const S=d.position;if(typeof S!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:S,name:p,isFatal:A,description:C})}break;default:throw Error(`Unknown schema ${p} in avro progress record.`)}}while(!A.done&&!this.avroPaused)}}d.BlobQuickQueryStream=BlobQuickQueryStream},39948:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Mutex=void 0;var p;(function(A){A[A["LOCKED"]=0]="LOCKED";A[A["UNLOCKED"]=1]="UNLOCKED"})(p||(p={}));class Mutex{static async lock(A){return new Promise((d=>{if(this.keys[A]===undefined||this.keys[A]===p.UNLOCKED){this.keys[A]=p.LOCKED;d()}else{this.onUnlockEvent(A,(()=>{this.keys[A]=p.LOCKED;d()}))}}))}static async unlock(A){return new Promise((d=>{if(this.keys[A]===p.LOCKED){this.emitUnlockEvent(A)}delete this.keys[A];d()}))}static keys={};static listeners={};static onUnlockEvent(A,d){if(this.listeners[A]===undefined){this.listeners[A]=[d]}else{this.listeners[A].push(d)}}static emitUnlockEvent(A){if(this.listeners[A]!==undefined&&this.listeners[A].length>0){const d=this.listeners[A].shift();setImmediate((()=>{d.call(this)}))}}}d.Mutex=Mutex},81473:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RetriableReadableStream=void 0;const C=p(49797);const S=p(57075);class RetriableReadableStream extends S.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(A,d,p,C,S={}){super({highWaterMark:S.highWaterMark});this.getter=d;this.source=A;this.start=p;this.offset=p;this.end=p+C-1;this.maxRetryRequests=S.maxRetryRequests&&S.maxRetryRequests>=0?S.maxRetryRequests:0;this.onProgress=S.onProgress;this.options=S;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=A=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=A.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(A)){this.source.pause()}};sourceAbortedHandler=()=>{const A=new C.AbortError("The operation was aborted.");this.destroy(A)};sourceErrorOrEndHandler=A=>{if(A&&A.name==="AbortError"){this.destroy(A);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries<this.maxRetryRequests){this.retries+=1;this.getter(this.offset).then((A=>{this.source=A;this.setSourceEventHandlers();return})).catch((A=>{this.destroy(A)}))}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(A,d){this.removeSourceEventHandlers();this.source.destroy();d(A===null?undefined:A)}}d.RetriableReadableStream=RetriableReadableStream},81179:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.compareHeader=compareHeader;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 C=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 S=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(A,d){if(isLessThan(A,d))return-1;return 1}function isLessThan(A,d){const v=[p,C,S];let T=0;let _=0;let V=0;while(T<v.length){if(T===v.length-1&&_!==V){return _>V}const p=_<A.length?v[T][A[_].charCodeAt(0)]:1;const C=V<d.length?v[T][d[V].charCodeAt(0)]:1;if(p===1&&C===1){_=0;V=0;++T}else if(p===C){++_;++V}else if(p===0){++_}else if(C===0){++V}else{return p<C}}return false}},9386:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.PathStylePorts=d.BlobDoesNotUseCustomerSpecifiedEncryption=d.BlobUsesCustomerSpecifiedEncryptionMsg=d.StorageBlobLoggingAllowedQueryParameters=d.StorageBlobLoggingAllowedHeaderNames=d.DevelopmentConnectionString=d.EncryptionAlgorithmAES25=d.HTTP_VERSION_1_1=d.HTTP_LINE_ENDING=d.BATCH_MAX_PAYLOAD_IN_BYTES=d.BATCH_MAX_REQUEST=d.SIZE_1_MB=d.ETagAny=d.ETagNone=d.HeaderConstants=d.HTTPURLConnection=d.URLConstants=d.StorageOAuthScopes=d.REQUEST_TIMEOUT=d.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=d.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=d.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=d.BLOCK_BLOB_MAX_BLOCKS=d.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=d.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=d.SERVICE_VERSION=d.SDK_VERSION=void 0;d.SDK_VERSION="12.29.1";d.SERVICE_VERSION="2025-11-05";d.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;d.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;d.BLOCK_BLOB_MAX_BLOCKS=5e4;d.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;d.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;d.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;d.REQUEST_TIMEOUT=100*1e3;d.StorageOAuthScopes="https://storage.azure.com/.default";d.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};d.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};d.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};d.ETagNone="";d.ETagAny="*";d.SIZE_1_MB=1*1024*1024;d.BATCH_MAX_REQUEST=256;d.BATCH_MAX_PAYLOAD_IN_BYTES=4*d.SIZE_1_MB;d.HTTP_LINE_ENDING="\r\n";d.HTTP_VERSION_1_1="HTTP/1.1";d.EncryptionAlgorithmAES25="AES256";d.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;d.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];d.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];d.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";d.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";d.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},67985:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tracingClient=void 0;const C=p(26637);const S=p(9386);d.tracingClient=(0,C.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:S.SDK_VERSION,namespace:"Microsoft.Storage"})},98915:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.escapeURLPath=escapeURLPath;d.getValueInConnString=getValueInConnString;d.extractConnectionStringParts=extractConnectionStringParts;d.appendToURLPath=appendToURLPath;d.setURLParameter=setURLParameter;d.getURLParameter=getURLParameter;d.setURLHost=setURLHost;d.getURLPath=getURLPath;d.getURLScheme=getURLScheme;d.getURLPathAndQuery=getURLPathAndQuery;d.getURLQueries=getURLQueries;d.appendToURLQuery=appendToURLQuery;d.truncatedISO8061Date=truncatedISO8061Date;d.base64encode=base64encode;d.base64decode=base64decode;d.generateBlockID=generateBlockID;d.delay=delay;d.padStart=padStart;d.sanitizeURL=sanitizeURL;d.sanitizeHeaders=sanitizeHeaders;d.iEqual=iEqual;d.getAccountNameFromUrl=getAccountNameFromUrl;d.isIpEndpointStyle=isIpEndpointStyle;d.toBlobTagsString=toBlobTagsString;d.toBlobTags=toBlobTags;d.toTags=toTags;d.toQuerySerialization=toQuerySerialization;d.parseObjectReplicationRecord=parseObjectReplicationRecord;d.attachCredential=attachCredential;d.httpAuthorizationToString=httpAuthorizationToString;d.BlobNameToString=BlobNameToString;d.ConvertInternalResponseOfListBlobFlat=ConvertInternalResponseOfListBlobFlat;d.ConvertInternalResponseOfListBlobHierarchy=ConvertInternalResponseOfListBlobHierarchy;d.ExtractPageRangeInfoItems=ExtractPageRangeInfoItems;d.EscapePath=EscapePath;d.assertResponse=assertResponse;const C=p(81591);const S=p(33e3);const v=p(9386);function escapeURLPath(A){const d=new URL(A);let p=d.pathname;p=p||"/";p=escape(p);d.pathname=p;return d.toString()}function getProxyUriFromDevConnString(A){let d="";if(A.search("DevelopmentStorageProxyUri=")!==-1){const p=A.split(";");for(const A of p){if(A.trim().startsWith("DevelopmentStorageProxyUri=")){d=A.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return d}function getValueInConnString(A,d){const p=A.split(";");for(const A of p){if(A.trim().startsWith(d)){return A.trim().match(d+"=(.*)")[1]}}return""}function extractConnectionStringParts(A){let d="";if(A.startsWith("UseDevelopmentStorage=true")){d=getProxyUriFromDevConnString(A);A=v.DevelopmentConnectionString}let p=getValueInConnString(A,"BlobEndpoint");p=p.endsWith("/")?p.slice(0,-1):p;if(A.search("DefaultEndpointsProtocol=")!==-1&&A.search("AccountKey=")!==-1){let C="";let S="";let v=Buffer.from("accountKey","base64");let T="";S=getValueInConnString(A,"AccountName");v=Buffer.from(getValueInConnString(A,"AccountKey"),"base64");if(!p){C=getValueInConnString(A,"DefaultEndpointsProtocol");const d=C.toLowerCase();if(d!=="https"&&d!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}T=getValueInConnString(A,"EndpointSuffix");if(!T){throw new Error("Invalid EndpointSuffix in the provided Connection String")}p=`${C}://${S}.blob.${T}`}if(!S){throw new Error("Invalid AccountName in the provided Connection String")}else if(v.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:p,accountName:S,accountKey:v,proxyUri:d}}else{let d=getValueInConnString(A,"SharedAccessSignature");let C=getValueInConnString(A,"AccountName");if(!C){C=getAccountNameFromUrl(p)}if(!p){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!d){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(d.startsWith("?")){d=d.substring(1)}return{kind:"SASConnString",url:p,accountName:C,accountSas:d}}}function escape(A){return encodeURIComponent(A).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(A,d){const p=new URL(A);let C=p.pathname;C=C?C.endsWith("/")?`${C}${d}`:`${C}/${d}`:d;p.pathname=C;return p.toString()}function setURLParameter(A,d,p){const C=new URL(A);const S=encodeURIComponent(d);const v=p?encodeURIComponent(p):undefined;const T=C.search===""?"?":C.search;const _=[];for(const A of T.slice(1).split("&")){if(A){const[d]=A.split("=",2);if(d!==S){_.push(A)}}}if(v){_.push(`${S}=${v}`)}C.search=_.length?`?${_.join("&")}`:"";return C.toString()}function getURLParameter(A,d){const p=new URL(A);return p.searchParams.get(d)??undefined}function setURLHost(A,d){const p=new URL(A);p.hostname=d;return p.toString()}function getURLPath(A){try{const d=new URL(A);return d.pathname}catch(A){return undefined}}function getURLScheme(A){try{const d=new URL(A);return d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol}catch(A){return undefined}}function getURLPathAndQuery(A){const d=new URL(A);const p=d.pathname;if(!p){throw new RangeError("Invalid url without valid path.")}let C=d.search||"";C=C.trim();if(C!==""){C=C.startsWith("?")?C:`?${C}`}return`${p}${C}`}function getURLQueries(A){let d=new URL(A).search;if(!d){return{}}d=d.trim();d=d.startsWith("?")?d.substring(1):d;let p=d.split("&");p=p.filter((A=>{const d=A.indexOf("=");const p=A.lastIndexOf("=");return d>0&&d===p&&p<A.length-1}));const C={};for(const A of p){const d=A.split("=");const p=d[0];const S=d[1];C[p]=S}return C}function appendToURLQuery(A,d){const p=new URL(A);let C=p.search;if(C){C+="&"+d}else{C=d}p.search=C;return p.toString()}function truncatedISO8061Date(A,d=true){const p=A.toISOString();return d?p.substring(0,p.length-1)+"0000"+"Z":p.substring(0,p.length-5)+"Z"}function base64encode(A){return!S.isNodeLike?btoa(A):Buffer.from(A).toString("base64")}function base64decode(A){return!S.isNodeLike?atob(A):Buffer.from(A,"base64").toString()}function generateBlockID(A,d){const p=48;const C=6;const S=p-C;if(A.length>S){A=A.slice(0,S)}const v=A+padStart(d.toString(),p-A.length,"0");return base64encode(v)}async function delay(A,d,p){return new Promise(((C,S)=>{let v;const abortHandler=()=>{if(v!==undefined){clearTimeout(v)}S(p)};const resolveHandler=()=>{if(d!==undefined){d.removeEventListener("abort",abortHandler)}C()};v=setTimeout(resolveHandler,A);if(d!==undefined){d.addEventListener("abort",abortHandler)}}))}function padStart(A,d,p=" "){if(String.prototype.padStart){return A.padStart(d,p)}p=p||" ";if(A.length>d){return A}else{d=d-A.length;if(d>p.length){p+=p.repeat(d/p.length)}return p.slice(0,d)+A}}function sanitizeURL(A){let d=A;if(getURLParameter(d,v.URLConstants.Parameters.SIGNATURE)){d=setURLParameter(d,v.URLConstants.Parameters.SIGNATURE,"*****")}return d}function sanitizeHeaders(A){const d=(0,C.createHttpHeaders)();for(const[p,C]of A){if(p.toLowerCase()===v.HeaderConstants.AUTHORIZATION.toLowerCase()){d.set(p,"*****")}else if(p.toLowerCase()===v.HeaderConstants.X_MS_COPY_SOURCE){d.set(p,sanitizeURL(C))}else{d.set(p,C)}}return d}function iEqual(A,d){return A.toLocaleLowerCase()===d.toLocaleLowerCase()}function getAccountNameFromUrl(A){const d=new URL(A);let p;try{if(d.hostname.split(".")[1]==="blob"){p=d.hostname.split(".")[0]}else if(isIpEndpointStyle(d)){p=d.pathname.split("/")[1]}else{p=""}return p}catch(A){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(A){const d=A.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(d)||Boolean(A.port)&&v.PathStylePorts.includes(A.port)}function toBlobTagsString(A){if(A===undefined){return undefined}const d=[];for(const p in A){if(Object.prototype.hasOwnProperty.call(A,p)){const C=A[p];d.push(`${encodeURIComponent(p)}=${encodeURIComponent(C)}`)}}return d.join("&")}function toBlobTags(A){if(A===undefined){return undefined}const d={blobTagSet:[]};for(const p in A){if(Object.prototype.hasOwnProperty.call(A,p)){const C=A[p];d.blobTagSet.push({key:p,value:C})}}return d}function toTags(A){if(A===undefined){return undefined}const d={};for(const p of A.blobTagSet){d[p.key]=p.value}return d}function toQuerySerialization(A){if(A===undefined){return undefined}switch(A.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:A.columnSeparator||",",fieldQuote:A.fieldQuote||"",recordSeparator:A.recordSeparator,escapeChar:A.escapeCharacter||"",headersPresent:A.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:A.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:A.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(A){if(!A){return undefined}if("policy-id"in A){return undefined}const d=[];for(const p in A){const C=p.split("_");const S="or-";if(C[0].startsWith(S)){C[0]=C[0].substring(S.length)}const v={ruleId:C[1],replicationStatus:A[p]};const T=d.findIndex((A=>A.policyId===C[0]));if(T>-1){d[T].rules.push(v)}else{d.push({policyId:C[0],rules:[v]})}}return d}function attachCredential(A,d){A.credential=d;return A}function httpAuthorizationToString(A){return A?A.scheme+" "+A.value:undefined}function BlobNameToString(A){if(A.encoded){return decodeURIComponent(A.content)}else{return A.content}}function ConvertInternalResponseOfListBlobFlat(A){return{...A,segment:{blobItems:A.segment.blobItems.map((A=>{const d={...A,name:BlobNameToString(A.name)};return d}))}}}function ConvertInternalResponseOfListBlobHierarchy(A){return{...A,segment:{blobPrefixes:A.segment.blobPrefixes?.map((A=>{const d={...A,name:BlobNameToString(A.name)};return d})),blobItems:A.segment.blobItems.map((A=>{const d={...A,name:BlobNameToString(A.name)};return d}))}}}function*ExtractPageRangeInfoItems(A){let d=[];let p=[];if(A.pageRange)d=A.pageRange;if(A.clearRange)p=A.clearRange;let C=0;let S=0;while(C<d.length&&S<p.length){if(d[C].start<p[S].start){yield{start:d[C].start,end:d[C].end,isClear:false};++C}else{yield{start:p[S].start,end:p[S].end,isClear:true};++S}}for(;C<d.length;++C){yield{start:d[C].start,end:d[C].end,isClear:false}}for(;S<p.length;++S){yield{start:p[S].start,end:p[S].end,isClear:true}}}function EscapePath(A){const d=A.split("/");for(let A=0;A<d.length;A++){d[A]=encodeURIComponent(d[A])}return d.join("/")}function assertResponse(A){if(`_response`in A){return A}throw new TypeError(`Unexpected response object ${A}`)}},73170:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.fsCreateReadStream=d.fsStat=void 0;d.streamToBuffer=streamToBuffer;d.streamToBuffer2=streamToBuffer2;d.streamToBuffer3=streamToBuffer3;d.readStreamToLocalFile=readStreamToLocalFile;const C=p(67892);const S=C.__importDefault(p(73024));const v=C.__importDefault(p(57975));const T=p(9386);async function streamToBuffer(A,d,p,C,S){let v=0;const _=C-p;return new Promise(((C,V)=>{const Z=setTimeout((()=>V(new Error(`The operation cannot be completed in timeout.`))),T.REQUEST_TIMEOUT);A.on("readable",(()=>{if(v>=_){clearTimeout(Z);C();return}let T=A.read();if(!T){return}if(typeof T==="string"){T=Buffer.from(T,S)}const V=v+T.length>_?_-v:T.length;d.fill(T.slice(0,V),p+v,p+v+V);v+=V}));A.on("end",(()=>{clearTimeout(Z);if(v<_){V(new Error(`Stream drains before getting enough data needed. Data read: ${v}, data need: ${_}`))}C()}));A.on("error",(A=>{clearTimeout(Z);V(A)}))}))}async function streamToBuffer2(A,d,p){let C=0;const S=d.length;return new Promise(((v,T)=>{A.on("readable",(()=>{let v=A.read();if(!v){return}if(typeof v==="string"){v=Buffer.from(v,p)}if(C+v.length>S){T(new Error(`Stream exceeds buffer size. Buffer size: ${S}`));return}d.fill(v,C,C+v.length);C+=v.length}));A.on("end",(()=>{v(C)}));A.on("error",T)}))}async function streamToBuffer3(A,d){return new Promise(((p,C)=>{const S=[];A.on("data",(A=>{S.push(typeof A==="string"?Buffer.from(A,d):A)}));A.on("end",(()=>{p(Buffer.concat(S))}));A.on("error",C)}))}async function readStreamToLocalFile(A,d){return new Promise(((p,C)=>{const v=S.default.createWriteStream(d);A.on("error",(A=>{C(A)}));v.on("error",(A=>{C(A)}));v.on("close",p);A.pipe(v)}))}d.fsStat=v.default.promisify(S.default.stat);d.fsCreateReadStream=S.default.createReadStream},3092:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BufferScheduler=void 0;const C=p(24434);const S=p(88126);class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new C.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(A,d,p,C,S,v){if(d<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${d}`)}if(p<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${p}`)}if(S<=0){throw new RangeError(`concurrency must be larger than 0, current is ${S}`)}this.bufferSize=d;this.maxBuffers=p;this.readable=A;this.outgoingHandler=C;this.concurrency=S;this.encoding=v}async do(){return new Promise(((A,d)=>{this.readable.on("data",(A=>{A=typeof A==="string"?Buffer.from(A,this.encoding):A;this.appendUnresolvedData(A);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(A=>{this.emitter.emit("error",A)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(A=>{this.isError=true;this.readable.pause();d(A)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){const p=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler((()=>p.getReadableStream()),p.size,this.offset).then(A).catch(d)}else if(this.unresolvedLength>=this.bufferSize){return}else{A()}}}))}))}appendUnresolvedData(A){this.unresolvedDataArray.push(A);this.unresolvedLength+=A.length}shiftBufferFromUnresolvedDataArray(A){if(!A){A=new S.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{A.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=A.size;return A}resolveData(){while(this.unresolvedLength>=this.bufferSize){let A;if(this.incoming.length>0){A=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(A)}else{if(this.numBuffers<this.maxBuffers){A=this.shiftBufferFromUnresolvedDataArray();this.numBuffers++}else{return false}}this.outgoing.push(A);this.triggerOutgoingHandlers()}return true}async triggerOutgoingHandlers(){let A;do{if(this.executingOutgoingHandlers>=this.concurrency){return}A=this.outgoing.shift();if(A){this.triggerOutgoingHandler(A)}}while(A)}async triggerOutgoingHandler(A){const d=A.size;this.executingOutgoingHandlers++;this.offset+=d;try{await this.outgoingHandler((()=>A.getReadableStream()),d,this.offset-d)}catch(A){this.emitter.emit("error",A);return}this.executingOutgoingHandlers--;this.reuseBuffer(A);this.emitter.emit("checkEnd")}reuseBuffer(A){this.incoming.push(A);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}d.BufferScheduler=BufferScheduler},14712:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BuffersStream=void 0;const C=p(57075);class BuffersStream extends C.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(A,d,p){super(p);this.buffers=A;this.byteLength=d;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let C=0;for(const A of this.buffers){C+=A.byteLength}if(C<this.byteLength){throw new Error("Data size shouldn't be larger than the total length of buffers.")}}_read(A){if(this.pushedBytesLength>=this.byteLength){this.push(null)}if(!A){A=this.readableHighWaterMark}const d=[];let p=0;while(p<A&&this.pushedBytesLength<this.byteLength){const C=this.byteLength-this.pushedBytesLength;const S=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer;const v=Math.min(S,C);if(v>A-p){const C=this.byteOffsetInCurrentBuffer+A-p;d.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,C));this.pushedBytesLength+=A-p;this.byteOffsetInCurrentBuffer=C;p=A;break}else{const A=this.byteOffsetInCurrentBuffer+v;d.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,A));if(v===S){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=A}this.pushedBytesLength+=v;p+=v}}if(d.length>1){this.push(Buffer.concat(d))}else if(d.length===1){this.push(d[0])}}}d.BuffersStream=BuffersStream},88126:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PooledBuffer=void 0;const C=p(67892);const S=p(14712);const v=C.__importDefault(p(4573));const T=v.default.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(A,d,p){this.capacity=A;this._size=0;const C=Math.ceil(A/T);for(let d=0;d<C;d++){let p=d===C-1?A%T:T;if(p===0){p=T}this.buffers.push(Buffer.allocUnsafe(p))}if(d){this.fill(d,p)}}fill(A,d){this._size=Math.min(this.capacity,d);let p=0,C=0,S=0,v=0,T=0;while(T<this._size){const d=A[p];const _=this.buffers[C];const V=d.copy(_,S,v);T+=V;v+=V;S+=V;if(v===d.length){p++;v=0}if(S===_.length){C++;S=0}}A.splice(0,p);if(A.length>0){A[0]=A[0].slice(v)}}getReadableStream(){return new S.BuffersStream(this.buffers,this.size)}}d.PooledBuffer=PooledBuffer},30782:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicyFactory=d.StorageBrowserPolicy=void 0;const C=p(65473);Object.defineProperty(d,"StorageBrowserPolicy",{enumerable:true,get:function(){return C.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(A,d){return new C.StorageBrowserPolicy(A,d)}}d.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},87848:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyFactory=d.StorageRetryPolicy=d.StorageRetryPolicyType=void 0;const C=p(65975);Object.defineProperty(d,"StorageRetryPolicy",{enumerable:true,get:function(){return C.StorageRetryPolicy}});const S=p(73087);Object.defineProperty(d,"StorageRetryPolicyType",{enumerable:true,get:function(){return S.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(A){this.retryOptions=A}create(A,d){return new C.StorageRetryPolicy(A,d,this.retryOptions)}}d.StorageRetryPolicyFactory=StorageRetryPolicyFactory},16125:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const C=p(81591);let S;function getCachedDefaultHttpClient(){if(!S){S=(0,C.createDefaultHttpClient)()}return S}},3422:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredential=void 0;const C=p(36936);const S=p(7069);class AnonymousCredential extends S.Credential{create(A,d){return new C.AnonymousCredentialPolicy(A,d)}}d.AnonymousCredential=AnonymousCredential},7069:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Credential=void 0;class Credential{create(A,d){throw new Error("Method should be implemented in children classes.")}}d.Credential=Credential},76590:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredential=void 0;const C=p(77598);const S=p(9640);const v=p(7069);class StorageSharedKeyCredential extends v.Credential{accountName;accountKey;constructor(A,d){super();this.accountName=A;this.accountKey=Buffer.from(d,"base64")}create(A,d){return new S.StorageSharedKeyCredentialPolicy(A,d,this)}computeHMACSHA256(A){return(0,C.createHmac)("sha256",this.accountKey).update(A,"utf8").digest("base64")}}d.StorageSharedKeyCredential=StorageSharedKeyCredential},13507:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=d.getCachedDefaultHttpClient=void 0;const C=p(67892);C.__exportStar(p(3092),d);var S=p(16125);Object.defineProperty(d,"getCachedDefaultHttpClient",{enumerable:true,get:function(){return S.getCachedDefaultHttpClient}});C.__exportStar(p(30782),d);C.__exportStar(p(3422),d);C.__exportStar(p(7069),d);C.__exportStar(p(76590),d);C.__exportStar(p(87848),d);var v=p(3165);Object.defineProperty(d,"BaseRequestPolicy",{enumerable:true,get:function(){return v.BaseRequestPolicy}});C.__exportStar(p(36936),d);C.__exportStar(p(21503),d);C.__exportStar(p(65473),d);C.__exportStar(p(57641),d);C.__exportStar(p(30134),d);C.__exportStar(p(73087),d);C.__exportStar(p(65975),d);C.__exportStar(p(67135),d);C.__exportStar(p(9640),d);C.__exportStar(p(30332),d);C.__exportStar(p(87848),d);C.__exportStar(p(14047),d)},85541:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const C=p(2764);d.logger=(0,C.createClientLogger)("storage-common")},36936:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredentialPolicy=void 0;const C=p(21503);class AnonymousCredentialPolicy extends C.CredentialPolicy{constructor(A,d){super(A,d)}}d.AnonymousCredentialPolicy=AnonymousCredentialPolicy},21503:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CredentialPolicy=void 0;const C=p(3165);class CredentialPolicy extends C.BaseRequestPolicy{sendRequest(A){return this._nextPolicy.sendRequest(this.signRequest(A))}signRequest(A){return A}}d.CredentialPolicy=CredentialPolicy},3165:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(A,d){this._nextPolicy=A;this._options=d}shouldLog(A){return this._options.shouldLog(A)}log(A,d){this._options.log(A,d)}}d.BaseRequestPolicy=BaseRequestPolicy},65473:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicy=void 0;const C=p(3165);const S=p(33e3);const v=p(8484);const T=p(60481);class StorageBrowserPolicy extends C.BaseRequestPolicy{constructor(A,d){super(A,d)}async sendRequest(A){if(S.isNodeLike){return this._nextPolicy.sendRequest(A)}if(A.method.toUpperCase()==="GET"||A.method.toUpperCase()==="HEAD"){A.url=(0,T.setURLParameter)(A.url,v.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}A.headers.remove(v.HeaderConstants.COOKIE);A.headers.remove(v.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(A)}}d.StorageBrowserPolicy=StorageBrowserPolicy},57641:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageBrowserPolicyName=void 0;d.storageBrowserPolicy=storageBrowserPolicy;const C=p(33e3);const S=p(8484);const v=p(60481);d.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:d.storageBrowserPolicyName,async sendRequest(A,d){if(C.isNodeLike){return d(A)}if(A.method==="GET"||A.method==="HEAD"){A.url=(0,v.setURLParameter)(A.url,S.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}A.headers.delete(S.HeaderConstants.COOKIE);A.headers.delete(S.HeaderConstants.CONTENT_LENGTH);return d(A)}}}},30134:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageCorrectContentLengthPolicyName=void 0;d.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const C=p(8484);d.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(A){if(A.body&&(typeof A.body==="string"||Buffer.isBuffer(A.body))&&A.body.length>0){A.headers.set(C.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(A.body))}}return{name:d.storageCorrectContentLengthPolicyName,async sendRequest(A,d){correctContentLength(A);return d(A)}}}},14047:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRequestFailureDetailsParserPolicyName=void 0;d.storageRequestFailureDetailsParserPolicy=storageRequestFailureDetailsParserPolicy;d.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:d.storageRequestFailureDetailsParserPolicyName,async sendRequest(A,d){try{const p=await d(A);return p}catch(A){if(typeof A==="object"&&A!==null&&A.response&&A.response.parsedBody){if(A.response.parsedBody.code==="InvalidHeaderValue"&&A.response.parsedBody.HeaderName==="x-ms-version"){A.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 A}}}}},65975:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicy=void 0;d.NewRetryPolicyFactory=NewRetryPolicyFactory;const C=p(49797);const S=p(3165);const v=p(8484);const T=p(60481);const _=p(85541);const V=p(73087);function NewRetryPolicyFactory(A){return{create:(d,p)=>new StorageRetryPolicy(d,p,A)}}const Z={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:V.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const ee=new C.AbortError("The operation was aborted.");class StorageRetryPolicy extends S.BaseRequestPolicy{retryOptions;constructor(A,d,p=Z){super(A,d);this.retryOptions={retryPolicyType:p.retryPolicyType?p.retryPolicyType:Z.retryPolicyType,maxTries:p.maxTries&&p.maxTries>=1?Math.floor(p.maxTries):Z.maxTries,tryTimeoutInMs:p.tryTimeoutInMs&&p.tryTimeoutInMs>=0?p.tryTimeoutInMs:Z.tryTimeoutInMs,retryDelayInMs:p.retryDelayInMs&&p.retryDelayInMs>=0?Math.min(p.retryDelayInMs,p.maxRetryDelayInMs?p.maxRetryDelayInMs:Z.maxRetryDelayInMs):Z.retryDelayInMs,maxRetryDelayInMs:p.maxRetryDelayInMs&&p.maxRetryDelayInMs>=0?p.maxRetryDelayInMs:Z.maxRetryDelayInMs,secondaryHost:p.secondaryHost?p.secondaryHost:Z.secondaryHost}}async sendRequest(A){return this.attemptSendRequest(A,false,1)}async attemptSendRequest(A,d,p){const C=A.clone();const S=d||!this.retryOptions.secondaryHost||!(A.method==="GET"||A.method==="HEAD"||A.method==="OPTIONS")||p%2===1;if(!S){C.url=(0,T.setURLHost)(C.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){C.url=(0,T.setURLParameter)(C.url,v.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let V;try{_.logger.info(`RetryPolicy: =====> Try=${p} ${S?"Primary":"Secondary"}`);V=await this._nextPolicy.sendRequest(C);if(!this.shouldRetry(S,p,V)){return V}d=d||!S&&V.status===404}catch(A){_.logger.error(`RetryPolicy: Caught error, message: ${A.message}, code: ${A.code}`);if(!this.shouldRetry(S,p,V,A)){throw A}}await this.delay(S,p,A.abortSignal);return this.attemptSendRequest(A,d,++p)}shouldRetry(A,d,p,C){if(d>=this.retryOptions.maxTries){_.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const S=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(C){for(const A of S){if(C.name.toUpperCase().includes(A)||C.message.toUpperCase().includes(A)||C.code&&C.code.toString().toUpperCase()===A){_.logger.info(`RetryPolicy: Network error ${A} found, will retry.`);return true}}}if(p||C){const d=p?p.status:C?C.statusCode:0;if(!A&&d===404){_.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){_.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const A=p.headers.get(v.HeaderConstants.X_MS_CopySourceErrorCode);if(A!==undefined){switch(A){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(C?.code==="PARSE_ERROR"&&C?.message.startsWith(`Error "Error: Unclosed root tag`)){_.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(A,d,p){let C=0;if(A){switch(this.retryOptions.retryPolicyType){case V.StorageRetryPolicyType.EXPONENTIAL:C=Math.min((Math.pow(2,d-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case V.StorageRetryPolicyType.FIXED:C=this.retryOptions.retryDelayInMs;break}}else{C=Math.random()*1e3}_.logger.info(`RetryPolicy: Delay for ${C}ms`);return(0,T.delay)(C,p,ee)}}d.StorageRetryPolicy=StorageRetryPolicy},73087:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyType=void 0;var p;(function(A){A[A["EXPONENTIAL"]=0]="EXPONENTIAL";A[A["FIXED"]=1]="FIXED"})(p||(d.StorageRetryPolicyType=p={}))},67135:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRetryPolicyName=void 0;d.storageRetryPolicy=storageRetryPolicy;const C=p(49797);const S=p(81591);const v=p(33e3);const T=p(87848);const _=p(8484);const V=p(60481);const Z=p(85541);d.storageRetryPolicyName="storageRetryPolicy";const ee={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:T.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const te=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const re=new C.AbortError("The operation was aborted.");function storageRetryPolicy(A={}){const p=A.retryPolicyType??ee.retryPolicyType;const C=A.maxTries??ee.maxTries;const ne=A.retryDelayInMs??ee.retryDelayInMs;const ie=A.maxRetryDelayInMs??ee.maxRetryDelayInMs;const se=A.secondaryHost??ee.secondaryHost;const oe=A.tryTimeoutInMs??ee.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:A,attempt:d,response:p,error:S}){if(d>=C){Z.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${C}, no further try.`);return false}if(S){for(const A of te){if(S.name.toUpperCase().includes(A)||S.message.toUpperCase().includes(A)||S.code&&S.code.toString().toUpperCase()===A){Z.logger.info(`RetryPolicy: Network error ${A} found, will retry.`);return true}}if(S?.code==="PARSE_ERROR"&&S?.message.startsWith(`Error "Error: Unclosed root tag`)){Z.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(p||S){const d=p?.status??S?.statusCode??0;if(!A&&d===404){Z.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){Z.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const A=p.headers.get(_.HeaderConstants.X_MS_CopySourceErrorCode);if(A!==undefined){switch(A){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(A,d){let C=0;if(A){switch(p){case T.StorageRetryPolicyType.EXPONENTIAL:C=Math.min((Math.pow(2,d-1)-1)*ne,ie);break;case T.StorageRetryPolicyType.FIXED:C=ne;break}}else{C=Math.random()*1e3}Z.logger.info(`RetryPolicy: Delay for ${C}ms`);return C}return{name:d.storageRetryPolicyName,async sendRequest(A,d){if(oe){A.url=(0,V.setURLParameter)(A.url,_.URLConstants.Parameters.TIMEOUT,String(Math.floor(oe/1e3)))}const p=A.url;const C=se?(0,V.setURLHost)(A.url,se):undefined;let T=false;let ee=1;let te=true;let ne;let ie;while(te){const _=T||!C||!["GET","HEAD","OPTIONS"].includes(A.method)||ee%2===1;A.url=_?p:C;ne=undefined;ie=undefined;try{Z.logger.info(`RetryPolicy: =====> Try=${ee} ${_?"Primary":"Secondary"}`);ne=await d(A);T=T||!_&&ne.status===404}catch(A){if((0,S.isRestError)(A)){Z.logger.error(`RetryPolicy: Caught error, message: ${A.message}, code: ${A.code}`);ie=A}else{Z.logger.error(`RetryPolicy: Caught error, message: ${(0,v.getErrorMessage)(A)}`);throw A}}te=shouldRetry({isPrimaryRetry:_,attempt:ee,response:ne,error:ie});if(te){await(0,V.delay)(calculateDelay(_,ee),A.abortSignal,re)}ee++}if(ne){return ne}throw ie??new S.RestError("RetryPolicy failed without known error.")}}}},9640:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredentialPolicy=void 0;const C=p(8484);const S=p(60481);const v=p(21503);const T=p(41349);class StorageSharedKeyCredentialPolicy extends v.CredentialPolicy{factory;constructor(A,d,p){super(A,d);this.factory=p}signRequest(A){A.headers.set(C.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(A.body&&(typeof A.body==="string"||A.body!==undefined)&&A.body.length>0){A.headers.set(C.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(A.body))}const d=[A.method.toUpperCase(),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(A,C.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(A,C.HeaderConstants.DATE),this.getHeaderValueToSign(A,C.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(A,C.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(A,C.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(A,C.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(A,C.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(A)+this.getCanonicalizedResourceString(A);const p=this.factory.computeHMACSHA256(d);A.headers.set(C.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${p}`);return A}getHeaderValueToSign(A,d){const p=A.headers.get(d);if(!p){return""}if(d===C.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}getCanonicalizedHeadersString(A){let d=A.headers.headersArray().filter((A=>A.name.toLowerCase().startsWith(C.HeaderConstants.PREFIX_FOR_STORAGE)));d.sort(((A,d)=>(0,T.compareHeader)(A.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((A,d,p)=>{if(d>0&&A.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((A=>{p+=`${A.name.toLowerCase().trimRight()}:${A.value.trimLeft()}\n`}));return p}getCanonicalizedResourceString(A){const d=(0,S.getURLPath)(A.url)||"/";let p="";p+=`/${this.factory.accountName}${d}`;const C=(0,S.getURLQueries)(A.url);const v={};if(C){const A=[];for(const d in C){if(Object.prototype.hasOwnProperty.call(C,d)){const p=d.toLowerCase();v[p]=C[d];A.push(p)}}A.sort();for(const d of A){p+=`\n${d}:${decodeURIComponent(v[d])}`}}return p}}d.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},30332:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageSharedKeyCredentialPolicyName=void 0;d.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const C=p(77598);const S=p(8484);const v=p(60481);const T=p(41349);d.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(A){function signRequest(d){d.headers.set(S.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(d.body&&(typeof d.body==="string"||Buffer.isBuffer(d.body))&&d.body.length>0){d.headers.set(S.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(d.body))}const p=[d.method.toUpperCase(),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(d,S.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(d,S.HeaderConstants.DATE),getHeaderValueToSign(d,S.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(d,S.HeaderConstants.IF_MATCH),getHeaderValueToSign(d,S.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(d,S.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(d,S.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(d)+getCanonicalizedResourceString(d);const v=(0,C.createHmac)("sha256",A.accountKey).update(p,"utf8").digest("base64");d.headers.set(S.HeaderConstants.AUTHORIZATION,`SharedKey ${A.accountName}:${v}`)}function getHeaderValueToSign(A,d){const p=A.headers.get(d);if(!p){return""}if(d===S.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}function getCanonicalizedHeadersString(A){let d=[];for(const[p,C]of A.headers){if(p.toLowerCase().startsWith(S.HeaderConstants.PREFIX_FOR_STORAGE)){d.push({name:p,value:C})}}d.sort(((A,d)=>(0,T.compareHeader)(A.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((A,d,p)=>{if(d>0&&A.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((A=>{p+=`${A.name.toLowerCase().trimRight()}:${A.value.trimLeft()}\n`}));return p}function getCanonicalizedResourceString(d){const p=(0,v.getURLPath)(d.url)||"/";let C="";C+=`/${A.accountName}${p}`;const S=(0,v.getURLQueries)(d.url);const T={};if(S){const A=[];for(const d in S){if(Object.prototype.hasOwnProperty.call(S,d)){const p=d.toLowerCase();T[p]=S[d];A.push(p)}}A.sort();for(const d of A){C+=`\n${d}:${decodeURIComponent(T[d])}`}}return C}return{name:d.storageSharedKeyCredentialPolicyName,async sendRequest(A,d){signRequest(A);return d(A)}}}},41349:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.compareHeader=compareHeader;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 C=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 S=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(A,d){if(isLessThan(A,d))return-1;return 1}function isLessThan(A,d){const v=[p,C,S];let T=0;let _=0;let V=0;while(T<v.length){if(T===v.length-1&&_!==V){return _>V}const p=_<A.length?v[T][A[_].charCodeAt(0)]:1;const C=V<d.length?v[T][d[V].charCodeAt(0)]:1;if(p===1&&C===1){_=0;V=0;++T}else if(p===C){++_;++V}else if(p===0){++_}else if(C===0){++V}else{return p<C}}return false}},8484:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.PathStylePorts=d.DevelopmentConnectionString=d.HeaderConstants=d.URLConstants=d.SDK_VERSION=void 0;d.SDK_VERSION="1.0.0";d.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};d.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};d.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;d.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},60481:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.escapeURLPath=escapeURLPath;d.getValueInConnString=getValueInConnString;d.extractConnectionStringParts=extractConnectionStringParts;d.appendToURLPath=appendToURLPath;d.setURLParameter=setURLParameter;d.getURLParameter=getURLParameter;d.setURLHost=setURLHost;d.getURLPath=getURLPath;d.getURLScheme=getURLScheme;d.getURLPathAndQuery=getURLPathAndQuery;d.getURLQueries=getURLQueries;d.appendToURLQuery=appendToURLQuery;d.truncatedISO8061Date=truncatedISO8061Date;d.base64encode=base64encode;d.base64decode=base64decode;d.generateBlockID=generateBlockID;d.delay=delay;d.padStart=padStart;d.sanitizeURL=sanitizeURL;d.sanitizeHeaders=sanitizeHeaders;d.iEqual=iEqual;d.getAccountNameFromUrl=getAccountNameFromUrl;d.isIpEndpointStyle=isIpEndpointStyle;d.attachCredential=attachCredential;d.httpAuthorizationToString=httpAuthorizationToString;d.EscapePath=EscapePath;d.assertResponse=assertResponse;const C=p(81591);const S=p(33e3);const v=p(8484);function escapeURLPath(A){const d=new URL(A);let p=d.pathname;p=p||"/";p=escape(p);d.pathname=p;return d.toString()}function getProxyUriFromDevConnString(A){let d="";if(A.search("DevelopmentStorageProxyUri=")!==-1){const p=A.split(";");for(const A of p){if(A.trim().startsWith("DevelopmentStorageProxyUri=")){d=A.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return d}function getValueInConnString(A,d){const p=A.split(";");for(const A of p){if(A.trim().startsWith(d)){return A.trim().match(d+"=(.*)")[1]}}return""}function extractConnectionStringParts(A){let d="";if(A.startsWith("UseDevelopmentStorage=true")){d=getProxyUriFromDevConnString(A);A=v.DevelopmentConnectionString}let p=getValueInConnString(A,"BlobEndpoint");p=p.endsWith("/")?p.slice(0,-1):p;if(A.search("DefaultEndpointsProtocol=")!==-1&&A.search("AccountKey=")!==-1){let C="";let S="";let v=Buffer.from("accountKey","base64");let T="";S=getValueInConnString(A,"AccountName");v=Buffer.from(getValueInConnString(A,"AccountKey"),"base64");if(!p){C=getValueInConnString(A,"DefaultEndpointsProtocol");const d=C.toLowerCase();if(d!=="https"&&d!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}T=getValueInConnString(A,"EndpointSuffix");if(!T){throw new Error("Invalid EndpointSuffix in the provided Connection String")}p=`${C}://${S}.blob.${T}`}if(!S){throw new Error("Invalid AccountName in the provided Connection String")}else if(v.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:p,accountName:S,accountKey:v,proxyUri:d}}else{let d=getValueInConnString(A,"SharedAccessSignature");let C=getValueInConnString(A,"AccountName");if(!C){C=getAccountNameFromUrl(p)}if(!p){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!d){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(d.startsWith("?")){d=d.substring(1)}return{kind:"SASConnString",url:p,accountName:C,accountSas:d}}}function escape(A){return encodeURIComponent(A).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(A,d){const p=new URL(A);let C=p.pathname;C=C?C.endsWith("/")?`${C}${d}`:`${C}/${d}`:d;p.pathname=C;return p.toString()}function setURLParameter(A,d,p){const C=new URL(A);const S=encodeURIComponent(d);const v=p?encodeURIComponent(p):undefined;const T=C.search===""?"?":C.search;const _=[];for(const A of T.slice(1).split("&")){if(A){const[d]=A.split("=",2);if(d!==S){_.push(A)}}}if(v){_.push(`${S}=${v}`)}C.search=_.length?`?${_.join("&")}`:"";return C.toString()}function getURLParameter(A,d){const p=new URL(A);return p.searchParams.get(d)??undefined}function setURLHost(A,d){const p=new URL(A);p.hostname=d;return p.toString()}function getURLPath(A){try{const d=new URL(A);return d.pathname}catch(A){return undefined}}function getURLScheme(A){try{const d=new URL(A);return d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol}catch(A){return undefined}}function getURLPathAndQuery(A){const d=new URL(A);const p=d.pathname;if(!p){throw new RangeError("Invalid url without valid path.")}let C=d.search||"";C=C.trim();if(C!==""){C=C.startsWith("?")?C:`?${C}`}return`${p}${C}`}function getURLQueries(A){let d=new URL(A).search;if(!d){return{}}d=d.trim();d=d.startsWith("?")?d.substring(1):d;let p=d.split("&");p=p.filter((A=>{const d=A.indexOf("=");const p=A.lastIndexOf("=");return d>0&&d===p&&p<A.length-1}));const C={};for(const A of p){const d=A.split("=");const p=d[0];const S=d[1];C[p]=S}return C}function appendToURLQuery(A,d){const p=new URL(A);let C=p.search;if(C){C+="&"+d}else{C=d}p.search=C;return p.toString()}function truncatedISO8061Date(A,d=true){const p=A.toISOString();return d?p.substring(0,p.length-1)+"0000"+"Z":p.substring(0,p.length-5)+"Z"}function base64encode(A){return!S.isNodeLike?btoa(A):Buffer.from(A).toString("base64")}function base64decode(A){return!S.isNodeLike?atob(A):Buffer.from(A,"base64").toString()}function generateBlockID(A,d){const p=48;const C=6;const S=p-C;if(A.length>S){A=A.slice(0,S)}const v=A+padStart(d.toString(),p-A.length,"0");return base64encode(v)}async function delay(A,d,p){return new Promise(((C,S)=>{let v;const abortHandler=()=>{if(v!==undefined){clearTimeout(v)}S(p)};const resolveHandler=()=>{if(d!==undefined){d.removeEventListener("abort",abortHandler)}C()};v=setTimeout(resolveHandler,A);if(d!==undefined){d.addEventListener("abort",abortHandler)}}))}function padStart(A,d,p=" "){if(String.prototype.padStart){return A.padStart(d,p)}p=p||" ";if(A.length>d){return A}else{d=d-A.length;if(d>p.length){p+=p.repeat(d/p.length)}return p.slice(0,d)+A}}function sanitizeURL(A){let d=A;if(getURLParameter(d,v.URLConstants.Parameters.SIGNATURE)){d=setURLParameter(d,v.URLConstants.Parameters.SIGNATURE,"*****")}return d}function sanitizeHeaders(A){const d=(0,C.createHttpHeaders)();for(const[p,C]of A){if(p.toLowerCase()===v.HeaderConstants.AUTHORIZATION.toLowerCase()){d.set(p,"*****")}else if(p.toLowerCase()===v.HeaderConstants.X_MS_COPY_SOURCE){d.set(p,sanitizeURL(C))}else{d.set(p,C)}}return d}function iEqual(A,d){return A.toLocaleLowerCase()===d.toLocaleLowerCase()}function getAccountNameFromUrl(A){const d=new URL(A);let p;try{if(d.hostname.split(".")[1]==="blob"){p=d.hostname.split(".")[0]}else if(isIpEndpointStyle(d)){p=d.pathname.split("/")[1]}else{p=""}return p}catch(A){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(A){const d=A.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(d)||Boolean(A.port)&&v.PathStylePorts.includes(A.port)}function attachCredential(A,d){A.credential=d;return A}function httpAuthorizationToString(A){return A?A.scheme+" "+A.value:undefined}function EscapePath(A){const d=A.split("/");for(let A=0;A<d.length;A++){d[A]=encodeURIComponent(d[A])}return d.join("/")}function assertResponse(A){if(`_response`in A){return A}throw new TypeError(`Unexpected response object ${A}`)}},12682:(A,d,p)=>{const C=p(57075).Writable;const S=p(57975).inherits;const v=p(15868);const T=p(22424);const _=p(52035);const V=45;const Z=Buffer.from("-");const ee=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(A){if(!(this instanceof Dicer)){return new Dicer(A)}C.call(this,A);if(!A||!A.headerFirst&&typeof A.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof A.boundary==="string"){this.setBoundary(A.boundary)}else{this._bparser=undefined}this._headerFirst=A.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:A.partHwm};this._pause=false;const d=this;this._hparser=new _(A);this._hparser.on("header",(function(A){d._inHeader=false;d._part.emit("header",A)}))}S(Dicer,C);Dicer.prototype.emit=function(A){if(A==="finish"&&!this._realFinish){if(!this._finished){const A=this;process.nextTick((function(){A.emit("error",new Error("Unexpected end of multipart data"));if(A._part&&!A._ignoreData){const d=A._isPreamble?"Preamble":"Part";A._part.emit("error",new Error(d+" terminated early due to unexpected end of multipart data"));A._part.push(null);process.nextTick((function(){A._realFinish=true;A.emit("finish");A._realFinish=false}));return}A._realFinish=true;A.emit("finish");A._realFinish=false}))}}else{C.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(A,d,p){if(!this._hparser&&!this._bparser){return p()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new T(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const d=this._hparser.push(A);if(!this._inHeader&&d!==undefined&&d<A.length){A=A.slice(d)}else{return p()}}if(this._firstWrite){this._bparser.push(ee);this._firstWrite=false}this._bparser.push(A);if(this._pause){this._cb=p}else{p()}};Dicer.prototype.reset=function(){this._part=undefined;this._bparser=undefined;this._hparser=undefined};Dicer.prototype.setBoundary=function(A){const d=this;this._bparser=new v("\r\n--"+A);this._bparser.on("info",(function(A,p,C,S){d._oninfo(A,p,C,S)}))};Dicer.prototype._ignore=function(){if(this._part&&!this._ignoreData){this._ignoreData=true;this._part.on("error",EMPTY_FN);this._part.resume()}};Dicer.prototype._oninfo=function(A,d,p,C){let S;const v=this;let _=0;let ee;let te=true;if(!this._part&&this._justMatched&&d){while(this._dashes<2&&p+_<C){if(d[p+_]===V){++_;++this._dashes}else{if(this._dashes){S=Z}this._dashes=0;break}}if(this._dashes===2){if(p+_<C&&this.listenerCount("trailer")!==0){this.emit("trailer",d.slice(p+_,C))}this.reset();this._finished=true;if(v._parts===0){v._realFinish=true;v.emit("finish");v._realFinish=false}}if(this._dashes){return}}if(this._justMatched){this._justMatched=false}if(!this._part){this._part=new T(this._partOpts);this._part._read=function(A){v._unpause()};if(this._isPreamble&&this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else if(this._isPreamble!==true&&this.listenerCount("part")!==0){this.emit("part",this._part)}else{this._ignore()}if(!this._isPreamble){this._inHeader=true}}if(d&&p<C&&!this._ignoreData){if(this._isPreamble||!this._inHeader){if(S){te=this._part.push(S)}te=this._part.push(d.slice(p,C));if(!te){this._pause=true}}else if(!this._isPreamble&&this._inHeader){if(S){this._hparser.push(S)}ee=this._hparser.push(d.slice(p,C));if(!this._inHeader&&ee!==undefined&&ee<C){this._oninfo(false,d,p+ee,C)}}}if(A){this._hparser.reset();if(this._isPreamble){this._isPreamble=false}else{if(p!==C){++this._parts;this._part.on("end",(function(){if(--v._parts===0){if(v._finished){v._realFinish=true;v.emit("finish");v._realFinish=false}else{v._unpause()}}}))}}this._part.push(null);this._part=undefined;this._ignoreData=false;this._justMatched=true;this._dashes=0}};Dicer.prototype._unpause=function(){if(!this._pause){return}this._pause=false;if(this._cb){const A=this._cb;this._cb=undefined;A()}};A.exports=Dicer},52035:(A,d,p)=>{const C=p(78474).EventEmitter;const S=p(57975).inherits;const v=p(44165);const T=p(15868);const _=Buffer.from("\r\n\r\n");const V=/\r\n/g;const Z=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(A){C.call(this);A=A||{};const d=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=v(A,"maxHeaderPairs",2e3);this.maxHeaderSize=v(A,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new T(_);this.ss.on("info",(function(A,p,C,S){if(p&&!d.maxed){if(d.nread+S-C>=d.maxHeaderSize){S=d.maxHeaderSize-d.nread+C;d.nread=d.maxHeaderSize;d.maxed=true}else{d.nread+=S-C}d.buffer+=p.toString("binary",C,S)}if(A){d._finish()}}))}S(HeaderParser,C);HeaderParser.prototype.push=function(A){const d=this.ss.push(A);if(this.finished){return d}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const A=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",A)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const A=this.buffer.split(V);const d=A.length;let p,C;for(var S=0;S<d;++S){if(A[S].length===0){continue}if(A[S][0]==="\t"||A[S][0]===" "){if(C){this.header[C][this.header[C].length-1]+=A[S];continue}}const d=A[S].indexOf(":");if(d===-1||d===0){return}p=Z.exec(A[S]);C=p[1].toLowerCase();this.header[C]=this.header[C]||[];this.header[C].push(p[2]||"");if(++this.npairs===this.maxHeaderPairs){break}}};A.exports=HeaderParser},22424:(A,d,p)=>{const C=p(57975).inherits;const S=p(57075).Readable;function PartStream(A){S.call(this,A)}C(PartStream,S);PartStream.prototype._read=function(A){};A.exports=PartStream},15868:(A,d,p)=>{const C=p(78474).EventEmitter;const S=p(57975).inherits;function SBMH(A){if(typeof A==="string"){A=Buffer.from(A)}if(!Buffer.isBuffer(A)){throw new TypeError("The needle has to be a String or a Buffer.")}const d=A.length;if(d===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(d>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(d);this._lookbehind_size=0;this._needle=A;this._bufpos=0;this._lookbehind=Buffer.alloc(d);for(var p=0;p<d-1;++p){this._occ[A[p]]=d-1-p}}S(SBMH,C);SBMH.prototype.reset=function(){this._lookbehind_size=0;this.matches=0;this._bufpos=0};SBMH.prototype.push=function(A,d){if(!Buffer.isBuffer(A)){A=Buffer.from(A,"binary")}const p=A.length;this._bufpos=d||0;let C;while(C!==p&&this.matches<this.maxMatches){C=this._sbmh_feed(A)}return C};SBMH.prototype._sbmh_feed=function(A){const d=A.length;const p=this._needle;const C=p.length;const S=p[C-1];let v=-this._lookbehind_size;let T;if(v<0){while(v<0&&v<=d-C){T=this._sbmh_lookup_char(A,v+C-1);if(T===S&&this._sbmh_memcmp(A,v,C-1)){this._lookbehind_size=0;++this.matches;this.emit("info",true);return this._bufpos=v+C}v+=this._occ[T]}if(v<0){while(v<0&&!this._sbmh_memcmp(A,v,d-v)){++v}}if(v>=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const p=this._lookbehind_size+v;if(p>0){this.emit("info",false,this._lookbehind,0,p)}this._lookbehind.copy(this._lookbehind,0,p,this._lookbehind_size-p);this._lookbehind_size-=p;A.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=d;this._bufpos=d;return d}}v+=(v>=0)*this._bufpos;if(A.indexOf(p,v)!==-1){v=A.indexOf(p,v);++this.matches;if(v>0){this.emit("info",true,A,this._bufpos,v)}else{this.emit("info",true)}return this._bufpos=v+C}else{v=d-C}while(v<d&&(A[v]!==p[0]||Buffer.compare(A.subarray(v,v+d-v),p.subarray(0,d-v))!==0)){++v}if(v<d){A.copy(this._lookbehind,0,v,v+(d-v));this._lookbehind_size=d-v}if(v>0){this.emit("info",false,A,this._bufpos,v<d?v:d)}this._bufpos=d;return d};SBMH.prototype._sbmh_lookup_char=function(A,d){return d<0?this._lookbehind[this._lookbehind_size+d]:A[d]};SBMH.prototype._sbmh_memcmp=function(A,d,p){for(var C=0;C<p;++C){if(this._sbmh_lookup_char(A,d+C)!==this._needle[C]){return false}}return true};A.exports=SBMH},62105:(A,d,p)=>{const C=p(57075).Writable;const{inherits:S}=p(57975);const v=p(12682);const T=p(73548);const _=p(55915);const V=p(81493);function Busboy(A){if(!(this instanceof Busboy)){return new Busboy(A)}if(typeof A!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof A.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof A.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:d,...p}=A;this.opts={autoDestroy:false,...p};C.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(d);this._finished=false}S(Busboy,C);Busboy.prototype.emit=function(A){if(A==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}C.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(A){const d=V(A["content-type"]);const p={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:A,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:d,preservePath:this.opts.preservePath};if(T.detect.test(d[0])){return new T(this,p)}if(_.detect.test(d[0])){return new _(this,p)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(A,d,p){this._parser.write(A,p)};A.exports=Busboy;A.exports["default"]=Busboy;A.exports.Busboy=Busboy;A.exports.Dicer=v},73548:(A,d,p)=>{const{Readable:C}=p(57075);const{inherits:S}=p(57975);const v=p(12682);const T=p(81493);const _=p(7015);const V=p(61744);const Z=p(44165);const ee=/^boundary$/i;const te=/^form-data$/i;const re=/^charset$/i;const ne=/^filename$/i;const ie=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(A,d){let p;let C;const S=this;let se;const oe=d.limits;const ae=d.isPartAFile||((A,d,p)=>d==="application/octet-stream"||p!==undefined);const le=d.parsedConType||[];const ce=d.defCharset||"utf8";const ue=d.preservePath;const Ae={highWaterMark:d.fileHwm};for(p=0,C=le.length;p<C;++p){if(Array.isArray(le[p])&&ee.test(le[p][0])){se=le[p][1];break}}function checkFinished(){if(Ce===0&&Se&&!A._done){Se=false;S.end()}}if(typeof se!=="string"){throw new Error("Multipart: Boundary not found")}const de=Z(oe,"fieldSize",1*1024*1024);const pe=Z(oe,"fileSize",Infinity);const fe=Z(oe,"files",Infinity);const he=Z(oe,"fields",Infinity);const ge=Z(oe,"parts",Infinity);const me=Z(oe,"headerPairs",2e3);const ye=Z(oe,"headerSize",80*1024);let Ee=0;let be=0;let Ce=0;let Be;let Ie;let Se=false;this._needDrain=false;this._pause=false;this._cb=undefined;this._nparts=0;this._boy=A;const we={boundary:se,maxHeaderPairs:me,maxHeaderSize:ye,partHwm:Ae.highWaterMark,highWaterMark:d.highWaterMark};this.parser=new v(we);this.parser.on("drain",(function(){S._needDrain=false;if(S._cb&&!S._pause){const A=S._cb;S._cb=undefined;A()}})).on("part",(function onPart(d){if(++S._nparts>ge){S.parser.removeListener("part",onPart);S.parser.on("part",skipPart);A.hitPartsLimit=true;A.emit("partsLimit");return skipPart(d)}if(Ie){const A=Ie;A.emit("end");A.removeAllListeners("end")}d.on("header",(function(v){let Z;let ee;let se;let oe;let le;let ge;let me=0;if(v["content-type"]){se=T(v["content-type"][0]);if(se[0]){Z=se[0].toLowerCase();for(p=0,C=se.length;p<C;++p){if(re.test(se[p][0])){oe=se[p][1].toLowerCase();break}}}}if(Z===undefined){Z="text/plain"}if(oe===undefined){oe=ce}if(v["content-disposition"]){se=T(v["content-disposition"][0]);if(!te.test(se[0])){return skipPart(d)}for(p=0,C=se.length;p<C;++p){if(ie.test(se[p][0])){ee=se[p][1]}else if(ne.test(se[p][0])){ge=se[p][1];if(!ue){ge=V(ge)}}}}else{return skipPart(d)}if(v["content-transfer-encoding"]){le=v["content-transfer-encoding"][0].toLowerCase()}else{le="7bit"}let ye,Se;if(ae(ee,Z,ge)){if(Ee===fe){if(!A.hitFilesLimit){A.hitFilesLimit=true;A.emit("filesLimit")}return skipPart(d)}++Ee;if(A.listenerCount("file")===0){S.parser._ignore();return}++Ce;const p=new FileStream(Ae);Be=p;p.on("end",(function(){--Ce;S._pause=false;checkFinished();if(S._cb&&!S._needDrain){const A=S._cb;S._cb=undefined;A()}}));p._read=function(A){if(!S._pause){return}S._pause=false;if(S._cb&&!S._needDrain){const A=S._cb;S._cb=undefined;A()}};A.emit("file",ee,p,ge,le,Z);ye=function(A){if((me+=A.length)>pe){const C=pe-me+A.length;if(C>0){p.push(A.slice(0,C))}p.truncated=true;p.bytesRead=pe;d.removeAllListeners("data");p.emit("limit");return}else if(!p.push(A)){S._pause=true}p.bytesRead=me};Se=function(){Be=undefined;p.push(null)}}else{if(be===he){if(!A.hitFieldsLimit){A.hitFieldsLimit=true;A.emit("fieldsLimit")}return skipPart(d)}++be;++Ce;let p="";let C=false;Ie=d;ye=function(A){if((me+=A.length)>de){const S=de-(me-A.length);p+=A.toString("binary",0,S);C=true;d.removeAllListeners("data")}else{p+=A.toString("binary")}};Se=function(){Ie=undefined;if(p.length){p=_(p,"binary",oe)}A.emit("field",ee,p,false,C,le,Z);--Ce;checkFinished()}}d._readableState.sync=false;d.on("data",ye);d.on("end",Se)})).on("error",(function(A){if(Be){Be.emit("error",A)}}))})).on("error",(function(d){A.emit("error",d)})).on("finish",(function(){Se=true;checkFinished()}))}Multipart.prototype.write=function(A,d){const p=this.parser.write(A);if(p&&!this._pause){d()}else{this._needDrain=!p;this._cb=d}};Multipart.prototype.end=function(){const A=this;if(A.parser.writable){A.parser.end()}else if(!A._boy._done){process.nextTick((function(){A._boy._done=true;A._boy.emit("finish")}))}};function skipPart(A){A.resume()}function FileStream(A){C.call(this,A);this.bytesRead=0;this.truncated=false}S(FileStream,C);FileStream.prototype._read=function(A){};A.exports=Multipart},55915:(A,d,p)=>{const C=p(45332);const S=p(7015);const v=p(44165);const T=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(A,d){const p=d.limits;const S=d.parsedConType;this.boy=A;this.fieldSizeLimit=v(p,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=v(p,"fieldNameSize",100);this.fieldsLimit=v(p,"fields",Infinity);let _;for(var V=0,Z=S.length;V<Z;++V){if(Array.isArray(S[V])&&T.test(S[V][0])){_=S[V][1].toLowerCase();break}}if(_===undefined){_=d.defCharset||"utf8"}this.decoder=new C;this.charset=_;this._fields=0;this._state="key";this._checkingBytes=true;this._bytesKey=0;this._bytesVal=0;this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._hitLimit=false}UrlEncoded.prototype.write=function(A,d){if(this._fields===this.fieldsLimit){if(!this.boy.hitFieldsLimit){this.boy.hitFieldsLimit=true;this.boy.emit("fieldsLimit")}return d()}let p;let C;let v;let T=0;const _=A.length;while(T<_){if(this._state==="key"){p=C=undefined;for(v=T;v<_;++v){if(!this._checkingBytes){++T}if(A[v]===61){p=v;break}else if(A[v]===38){C=v;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesKey}}if(p!==undefined){if(p>T){this._key+=this.decoder.write(A.toString("binary",T,p))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();T=p+1}else if(C!==undefined){++this._fields;let p;const v=this._keyTrunc;if(C>T){p=this._key+=this.decoder.write(A.toString("binary",T,C))}else{p=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(p.length){this.boy.emit("field",S(p,"binary",this.charset),"",v,false)}T=C+1;if(this._fields===this.fieldsLimit){return d()}}else if(this._hitLimit){if(v>T){this._key+=this.decoder.write(A.toString("binary",T,v))}T=v;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(T<_){this._key+=this.decoder.write(A.toString("binary",T))}T=_}}else{C=undefined;for(v=T;v<_;++v){if(!this._checkingBytes){++T}if(A[v]===38){C=v;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesVal}}if(C!==undefined){++this._fields;if(C>T){this._val+=this.decoder.write(A.toString("binary",T,C))}this.boy.emit("field",S(this._key,"binary",this.charset),S(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();T=C+1;if(this._fields===this.fieldsLimit){return d()}}else if(this._hitLimit){if(v>T){this._val+=this.decoder.write(A.toString("binary",T,v))}T=v;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(T<_){this._val+=this.decoder.write(A.toString("binary",T))}T=_}}}d()};UrlEncoded.prototype.end=function(){if(this.boy._done){return}if(this._state==="key"&&this._key.length>0){this.boy.emit("field",S(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",S(this._key,"binary",this.charset),S(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};A.exports=UrlEncoded},45332:A=>{const d=/\+/g;const p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(A){A=A.replace(d," ");let C="";let S=0;let v=0;const T=A.length;for(;S<T;++S){if(this.buffer!==undefined){if(!p[A.charCodeAt(S)]){C+="%"+this.buffer;this.buffer=undefined;--S}else{this.buffer+=A[S];++v;if(this.buffer.length===2){C+=String.fromCharCode(parseInt(this.buffer,16));this.buffer=undefined}}}else if(A[S]==="%"){if(S>v){C+=A.substring(v,S);v=S}this.buffer="";++v}}if(v<T&&this.buffer===undefined){C+=A.substring(v)}return C};Decoder.prototype.reset=function(){this.buffer=undefined};A.exports=Decoder},61744:A=>{A.exports=function basename(A){if(typeof A!=="string"){return""}for(var d=A.length-1;d>=0;--d){switch(A.charCodeAt(d)){case 47:case 92:A=A.slice(d+1);return A===".."||A==="."?"":A}}return A===".."||A==="."?"":A}},7015:function(A){const d=new TextDecoder("utf-8");const p=new Map([["utf-8",d],["utf8",d]]);function getDecoder(A){let d;while(true){switch(A){case"utf-8":case"utf8":return C.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return C.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return C.utf16le;case"base64":return C.base64;default:if(d===undefined){d=true;A=A.toLowerCase();continue}return C.other.bind(A)}}}const C={utf8:(A,d)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,d)}return A.utf8Slice(0,A.length)},latin1:(A,d)=>{if(A.length===0){return""}if(typeof A==="string"){return A}return A.latin1Slice(0,A.length)},utf16le:(A,d)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,d)}return A.ucs2Slice(0,A.length)},base64:(A,d)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,d)}return A.base64Slice(0,A.length)},other:(A,d)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,d)}if(p.has(this.toString())){try{return p.get(this).decode(A)}catch{}}return typeof A==="string"?A:A.toString()}};function decodeText(A,d,p){if(A){return getDecoder(p)(A,d)}return A}A.exports=decodeText},44165:A=>{A.exports=function getLimit(A,d,p){if(!A||A[d]===undefined||A[d]===null){return p}if(typeof A[d]!=="number"||isNaN(A[d])){throw new TypeError("Limit "+d+" is not a valid number")}return A[d]}},81493:(A,d,p)=>{const C=p(7015);const S=/%[a-fA-F0-9][a-fA-F0-9]/g;const v={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(A){return v[A]}const T=0;const _=1;const V=2;const Z=3;function parseParams(A){const d=[];let p=T;let v="";let ee=false;let te=false;let re=0;let ne="";const ie=A.length;for(var se=0;se<ie;++se){const ie=A[se];if(ie==="\\"&&ee){if(te){te=false}else{te=true;continue}}else if(ie==='"'){if(!te){if(ee){ee=false;p=T}else{ee=true}continue}else{te=false}}else{if(te&&ee){ne+="\\"}te=false;if((p===V||p===Z)&&ie==="'"){if(p===V){p=Z;v=ne.substring(1)}else{p=_}ne="";continue}else if(p===T&&(ie==="*"||ie==="=")&&d.length){p=ie==="*"?V:_;d[re]=[ne,undefined];ne="";continue}else if(!ee&&ie===";"){p=T;if(v){if(ne.length){ne=C(ne.replace(S,encodedReplacer),"binary",v)}v=""}else if(ne.length){ne=C(ne,"binary","utf8")}if(d[re]===undefined){d[re]=ne}else{d[re][1]=ne}ne="";++re;continue}else if(!ee&&(ie===" "||ie==="\t")){continue}}ne+=ie}if(v&&ne.length){ne=C(ne.replace(S,encodedReplacer),"binary",v)}else if(ne){ne=C(ne,"binary","utf8")}if(d[re]===undefined){if(ne){d[re]=ne}}else{d[re][1]=ne}return d}A.exports=parseParams},37455:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;class AbortError extends Error{constructor(A){super(A);this.name="AbortError"}}d.AbortError=AbortError},48006:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isOAuth2TokenCredential=isOAuth2TokenCredential;d.isBearerTokenCredential=isBearerTokenCredential;d.isBasicCredential=isBasicCredential;d.isApiKeyCredential=isApiKeyCredential;function isOAuth2TokenCredential(A){return"getOAuth2Token"in A}function isBearerTokenCredential(A){return"getBearerToken"in A}function isBasicCredential(A){return"username"in A&&"password"in A}function isApiKeyCredential(A){return"key"in A}},37248:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},30196:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true})},86247:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.apiVersionPolicyName=void 0;d.apiVersionPolicy=apiVersionPolicy;d.apiVersionPolicyName="ApiVersionPolicy";function apiVersionPolicy(A){return{name:d.apiVersionPolicyName,sendRequest:(d,p)=>{const C=new URL(d.url);if(!C.searchParams.get("api-version")&&A.apiVersion){d.url=`${d.url}${Array.from(C.searchParams.keys()).length>0?"&":"?"}api-version=${A.apiVersion}`}return p(d)}}}},78005:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultPipeline=createDefaultPipeline;d.getCachedDefaultHttpsClient=getCachedDefaultHttpsClient;const C=p(80475);const S=p(97589);const v=p(86247);const T=p(48006);const _=p(97274);const V=p(22535);const Z=p(82368);const ee=p(50842);let te;function createDefaultPipeline(A={}){const d=(0,S.createPipelineFromOptions)(A);d.addPolicy((0,v.apiVersionPolicy)(A));const{credential:p,authSchemes:C,allowInsecureConnection:te}=A;if(p){if((0,T.isApiKeyCredential)(p)){d.addPolicy((0,_.apiKeyAuthenticationPolicy)({authSchemes:C,credential:p,allowInsecureConnection:te}))}else if((0,T.isBasicCredential)(p)){d.addPolicy((0,V.basicAuthenticationPolicy)({authSchemes:C,credential:p,allowInsecureConnection:te}))}else if((0,T.isBearerTokenCredential)(p)){d.addPolicy((0,Z.bearerAuthenticationPolicy)({authSchemes:C,credential:p,allowInsecureConnection:te}))}else if((0,T.isOAuth2TokenCredential)(p)){d.addPolicy((0,ee.oauth2AuthenticationPolicy)({authSchemes:C,credential:p,allowInsecureConnection:te}))}}return d}function getCachedDefaultHttpsClient(){if(!te){te=(0,C.createDefaultHttpClient)()}return te}},2338:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getClient=getClient;const C=p(78005);const S=p(42526);const v=p(45263);const T=p(15777);function getClient(A,d={}){const p=d.pipeline??(0,C.createDefaultPipeline)(d);if(d.additionalPolicies?.length){for(const{policy:A,position:C}of d.additionalPolicies){const d=C==="perRetry"?"Sign":undefined;p.addPolicy(A,{afterPhase:d})}}const{allowInsecureConnection:S,httpClient:T}=d;const _=d.endpoint??A;const client=(A,...d)=>{const getUrl=p=>(0,v.buildRequestUrl)(_,A,d,{allowInsecureConnection:S,...p});return{get:(A={})=>buildOperation("GET",getUrl(A),p,A,S,T),post:(A={})=>buildOperation("POST",getUrl(A),p,A,S,T),put:(A={})=>buildOperation("PUT",getUrl(A),p,A,S,T),patch:(A={})=>buildOperation("PATCH",getUrl(A),p,A,S,T),delete:(A={})=>buildOperation("DELETE",getUrl(A),p,A,S,T),head:(A={})=>buildOperation("HEAD",getUrl(A),p,A,S,T),options:(A={})=>buildOperation("OPTIONS",getUrl(A),p,A,S,T),trace:(A={})=>buildOperation("TRACE",getUrl(A),p,A,S,T)}};return{path:client,pathUnchecked:client,pipeline:p}}function buildOperation(A,d,p,C,v,_){v=C.allowInsecureConnection??v;return{then:function(T,V){return(0,S.sendRequest)(A,d,p,{...C,allowInsecureConnection:v},_).then(T,V)},async asBrowserStream(){if(T.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,S.sendRequest)(A,d,p,{...C,allowInsecureConnection:v,responseAsStream:true},_)}},async asNodeStream(){if(T.isNodeLike){return(0,S.sendRequest)(A,d,p,{...C,allowInsecureConnection:v,responseAsStream:true},_)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}},44093:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildBodyPart=buildBodyPart;d.buildMultipartBody=buildMultipartBody;const C=p(39885);const S=p(38411);const v=p(62408);const T=p(86974);function getHeaderValue(A,d){if(A.headers){const p=Object.keys(A.headers).find((A=>A.toLowerCase()===d.toLowerCase()));if(p){return A.headers[p]}}return undefined}function getPartContentType(A){const d=getHeaderValue(A,"content-type");if(d){return d}if(A.contentType===null){return undefined}if(A.contentType){return A.contentType}const{body:p}=A;if(p===null||p===undefined){return undefined}if(typeof p==="string"||typeof p==="number"||typeof p==="boolean"){return"text/plain; charset=UTF-8"}if(p instanceof Blob){return p.type||"application/octet-stream"}if((0,T.isBinaryBody)(p)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(A){return JSON.stringify(A)}function getContentDisposition(A){const d=getHeaderValue(A,"content-disposition");if(d){return d}if(A.dispositionType===undefined&&A.name===undefined&&A.filename===undefined){return undefined}const p=A.dispositionType??"form-data";let C=p;if(A.name){C+=`; name=${escapeDispositionField(A.name)}`}let S=undefined;if(A.filename){S=A.filename}else if(typeof File!=="undefined"&&A.body instanceof File){const d=A.body.name;if(d!==""){S=d}}if(S){C+=`; filename=${escapeDispositionField(S)}`}return C}function normalizeBody(A,d){if(A===undefined){return new Uint8Array([])}if((0,T.isBinaryBody)(A)){return A}if(typeof A==="string"||typeof A==="number"||typeof A==="boolean"){return(0,v.stringToUint8Array)(String(A),"utf-8")}if(d&&/application\/(.+\+)?json(;.+)?/i.test(String(d))){return(0,v.stringToUint8Array)(JSON.stringify(A),"utf-8")}throw new C.RestError(`Unsupported body/content-type combination: ${A}, ${d}`)}function buildBodyPart(A){const d=getPartContentType(A);const p=getContentDisposition(A);const C=(0,S.createHttpHeaders)(A.headers??{});if(d){C.set("content-type",d)}if(p){C.set("content-disposition",p)}const v=normalizeBody(A.body,d);return{headers:C,body:v}}function buildMultipartBody(A){return{parts:A.map(buildBodyPart)}}},89440:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.operationOptionsToRequestParameters=operationOptionsToRequestParameters;function operationOptionsToRequestParameters(A){return{allowInsecureConnection:A.requestOptions?.allowInsecureConnection,timeout:A.requestOptions?.timeout,skipUrlEncoding:A.requestOptions?.skipUrlEncoding,abortSignal:A.abortSignal,onUploadProgress:A.requestOptions?.onUploadProgress,onDownloadProgress:A.requestOptions?.onDownloadProgress,headers:{...A.requestOptions?.headers},onResponse:A.onResponse}}},71365:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createRestError=createRestError;const C=p(39885);const S=p(38411);function createRestError(A,d){const p=typeof A==="string"?d:A;const S=p.body?.error??p.body;const v=typeof A==="string"?A:S?.message??`Unexpected status code: ${p.status}`;return new C.RestError(v,{statusCode:statusCodeToNumber(p.status),code:S?.code,request:p.request,response:toPipelineResponse(p)})}function toPipelineResponse(A){return{headers:(0,S.createHttpHeaders)(A.headers),request:A.request,status:statusCodeToNumber(A.status)??-1}}function statusCodeToNumber(A){const d=Number.parseInt(A);return Number.isNaN(d)?undefined:d}},42526:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sendRequest=sendRequest;const C=p(39885);const S=p(38411);const v=p(90738);const T=p(78005);const _=p(86974);const V=p(44093);async function sendRequest(A,d,p,S={},v){const _=v??(0,T.getCachedDefaultHttpsClient)();const V=buildPipelineRequest(A,d,S);try{const A=await p.sendRequest(_,V);const d=A.headers.toJSON();const C=A.readableStreamBody??A.browserStreamBody;const v=S.responseAsStream||C!==undefined?undefined:getResponseBody(A);const T=C??v;if(S?.onResponse){S.onResponse({...A,request:V,rawHeaders:d,parsedBody:v})}return{request:V,headers:d,status:`${A.status}`,body:T}}catch(A){if((0,C.isRestError)(A)&&A.response&&S.onResponse){const{response:d}=A;const p=d.headers.toJSON();S?.onResponse({...d,request:V,rawHeaders:p},A)}throw A}}function getRequestContentType(A={}){return A.contentType??A.headers?.["content-type"]??getContentType(A.body)}function getContentType(A){if(ArrayBuffer.isView(A)){return"application/octet-stream"}if(typeof A==="string"){try{JSON.parse(A);return"application/json"}catch(A){return undefined}}return"application/json"}function buildPipelineRequest(A,d,p={}){const C=getRequestContentType(p);const{body:T,multipartBody:_}=getRequestBody(p.body,C);const V=T!==undefined||_!==undefined;const Z=(0,S.createHttpHeaders)({...p.headers?p.headers:{},accept:p.accept??p.headers?.accept??"application/json",...V&&C&&{"content-type":C}});return(0,v.createPipelineRequest)({url:d,method:A,body:T,multipartBody:_,headers:Z,allowInsecureConnection:p.allowInsecureConnection,abortSignal:p.abortSignal,onUploadProgress:p.onUploadProgress,onDownloadProgress:p.onDownloadProgress,timeout:p.timeout,enableBrowserStreams:true,streamResponseStatusCodes:p.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(A,d=""){if(A===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&A instanceof FormData){return{body:A}}if((0,_.isReadableStream)(A)){return{body:A}}if(ArrayBuffer.isView(A)){return{body:A instanceof Uint8Array?A:JSON.stringify(A)}}const p=d.split(";")[0];switch(p){case"application/json":return{body:JSON.stringify(A)};case"multipart/form-data":if(Array.isArray(A)){return{multipartBody:(0,V.buildMultipartBody)(A)}}return{body:JSON.stringify(A)};case"text/plain":return{body:String(A)};default:if(typeof A==="string"){return{body:A}}return{body:JSON.stringify(A)}}}function getResponseBody(A){const d=A.headers.get("content-type")??"";const p=d.split(";")[0];const C=A.bodyAsText??"";if(p==="text/plain"){return String(C)}try{return C?JSON.parse(C):undefined}catch(d){if(p==="application/json"){throw createParseError(A,d)}return String(C)}}function createParseError(A,d){const p=`Error "${d}" occurred while parsing the response body - ${A.bodyAsText}.`;const S=d.code??C.RestError.PARSE_ERROR;return new C.RestError(p,{code:S,statusCode:A.status,request:A.request,response:A})}},45263:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildRequestUrl=buildRequestUrl;d.buildBaseUrl=buildBaseUrl;d.replaceAll=replaceAll;function isQueryParameterWithOptions(A){const d=A.value;return d!==undefined&&d.toString!==undefined&&typeof d.toString==="function"}function buildRequestUrl(A,d,p,C={}){if(d.startsWith("https://")||d.startsWith("http://")){return d}A=buildBaseUrl(A,C);d=buildRoutePath(d,p,C);const S=appendQueryParams(`${A}/${d}`,C);const v=new URL(S);return v.toString().replace(/([^:]\/)\/+/g,"$1")}function getQueryParamValue(A,d,p,C){let S;if(p==="pipeDelimited"){S="|"}else if(p==="spaceDelimited"){S="%20"}else{S=","}let v;if(Array.isArray(C)){v=C}else if(typeof C==="object"&&C.toString===Object.prototype.toString){v=Object.entries(C).flat()}else{v=[C]}const T=v.map((p=>{if(p===null||p===undefined){return""}if(!p.toString||typeof p.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${A} can't`)}const C=p.toISOString!==undefined?p.toISOString():p.toString();return d?C:encodeURIComponent(C)})).join(S);return`${d?A:encodeURIComponent(A)}=${T}`}function appendQueryParams(A,d={}){if(!d.queryParameters){return A}const p=new URL(A);const C=d.queryParameters;const S=[];for(const A of Object.keys(C)){const p=C[A];if(p===undefined||p===null){continue}const v=isQueryParameterWithOptions(p);const T=v?p.value:p;const _=v?p.explode??false:false;const V=v&&p.style?p.style:"form";if(_){if(Array.isArray(T)){for(const p of T){S.push(getQueryParamValue(A,d.skipUrlEncoding??false,V,p))}}else if(typeof T==="object"){for(const[A,p]of Object.entries(T)){S.push(getQueryParamValue(A,d.skipUrlEncoding??false,V,p))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{S.push(getQueryParamValue(A,d.skipUrlEncoding??false,V,T))}}if(p.search!==""){p.search+="&"}p.search+=S.join("&");return p.toString()}function buildBaseUrl(A,d){if(!d.pathParameters){return A}const p=d.pathParameters;for(const[C,S]of Object.entries(p)){if(S===undefined||S===null){throw new Error(`Path parameters ${C} must not be undefined or null`)}if(!S.toString||typeof S.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${C} can't`)}let p=S.toISOString!==undefined?S.toISOString():String(S);if(!d.skipUrlEncoding){p=encodeURIComponent(S)}A=replaceAll(A,`{${C}}`,p)??""}return A}function buildRoutePath(A,d,p={}){for(const C of d){const d=typeof C==="object"&&(C.allowReserved??false);let S=typeof C==="object"?C.value:C;if(!p.skipUrlEncoding&&!d){S=encodeURIComponent(S)}A=A.replace(/\{[\w-]+\}/,String(S))}return A}function replaceAll(A,d,p){return!A||!d?A:A.split(d).join(p||"")}},35124:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_RETRY_POLICY_COUNT=d.SDK_VERSION=void 0;d.SDK_VERSION="0.3.2";d.DEFAULT_RETRY_POLICY_COUNT=3},97589:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineFromOptions=createPipelineFromOptions;const C=p(45108);const S=p(46415);const v=p(8884);const T=p(49046);const _=p(82576);const V=p(46893);const Z=p(94910);const ee=p(15777);const te=p(67010);const re=p(66683);const ne=p(40023);const ie=p(72858);function createPipelineFromOptions(A){const d=(0,S.createEmptyPipeline)();if(ee.isNodeLike){if(A.agent){d.addPolicy((0,re.agentPolicy)(A.agent))}if(A.tlsOptions){d.addPolicy((0,ne.tlsPolicy)(A.tlsOptions))}d.addPolicy((0,te.proxyPolicy)(A.proxyOptions));d.addPolicy((0,_.decompressResponsePolicy)())}d.addPolicy((0,Z.formDataPolicy)(),{beforePolicies:[ie.multipartPolicyName]});d.addPolicy((0,T.userAgentPolicy)(A.userAgentOptions));d.addPolicy((0,ie.multipartPolicy)(),{afterPhase:"Deserialize"});d.addPolicy((0,V.defaultRetryPolicy)(A.retryOptions),{phase:"Retry"});if(ee.isNodeLike){d.addPolicy((0,v.redirectPolicy)(A.redirectOptions),{afterPhase:"Retry"})}d.addPolicy((0,C.logPolicy)(A.loggingOptions),{afterPhase:"Sign"});return d}},80475:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultHttpClient=createDefaultHttpClient;const C=p(67170);function createDefaultHttpClient(){return(0,C.createNodeHttpClient)()}},38411:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpHeaders=createHttpHeaders;function normalizeName(A){return A.toLowerCase()}function*headerIterator(A){for(const d of A.values()){yield[d.name,d.value]}}class HttpHeadersImpl{_headersMap;constructor(A){this._headersMap=new Map;if(A){for(const d of Object.keys(A)){this.set(d,A[d])}}}set(A,d){this._headersMap.set(normalizeName(A),{name:A,value:String(d).trim()})}get(A){return this._headersMap.get(normalizeName(A))?.value}has(A){return this._headersMap.has(normalizeName(A))}delete(A){this._headersMap.delete(normalizeName(A))}toJSON(A={}){const d={};if(A.preserveCase){for(const A of this._headersMap.values()){d[A.name]=A.value}}else{for(const[A,p]of this._headersMap){d[A]=p.value}}return d}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(A){return new HttpHeadersImpl(A)}},60957:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createRestError=d.operationOptionsToRequestParameters=d.getClient=d.createDefaultHttpClient=d.uint8ArrayToString=d.stringToUint8Array=d.isRestError=d.RestError=d.createEmptyPipeline=d.createPipelineRequest=d.createHttpHeaders=d.TypeSpecRuntimeLogger=d.setLogLevel=d.getLogLevel=d.createClientLogger=d.AbortError=void 0;const C=p(67892);var S=p(37455);Object.defineProperty(d,"AbortError",{enumerable:true,get:function(){return S.AbortError}});var v=p(87516);Object.defineProperty(d,"createClientLogger",{enumerable:true,get:function(){return v.createClientLogger}});Object.defineProperty(d,"getLogLevel",{enumerable:true,get:function(){return v.getLogLevel}});Object.defineProperty(d,"setLogLevel",{enumerable:true,get:function(){return v.setLogLevel}});Object.defineProperty(d,"TypeSpecRuntimeLogger",{enumerable:true,get:function(){return v.TypeSpecRuntimeLogger}});var T=p(38411);Object.defineProperty(d,"createHttpHeaders",{enumerable:true,get:function(){return T.createHttpHeaders}});C.__exportStar(p(30196),d);C.__exportStar(p(37248),d);var _=p(90738);Object.defineProperty(d,"createPipelineRequest",{enumerable:true,get:function(){return _.createPipelineRequest}});var V=p(46415);Object.defineProperty(d,"createEmptyPipeline",{enumerable:true,get:function(){return V.createEmptyPipeline}});var Z=p(39885);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return Z.RestError}});Object.defineProperty(d,"isRestError",{enumerable:true,get:function(){return Z.isRestError}});var ee=p(62408);Object.defineProperty(d,"stringToUint8Array",{enumerable:true,get:function(){return ee.stringToUint8Array}});Object.defineProperty(d,"uint8ArrayToString",{enumerable:true,get:function(){return ee.uint8ArrayToString}});var te=p(80475);Object.defineProperty(d,"createDefaultHttpClient",{enumerable:true,get:function(){return te.createDefaultHttpClient}});var re=p(2338);Object.defineProperty(d,"getClient",{enumerable:true,get:function(){return re.getClient}});var ne=p(89440);Object.defineProperty(d,"operationOptionsToRequestParameters",{enumerable:true,get:function(){return ne.operationOptionsToRequestParameters}});var ie=p(71365);Object.defineProperty(d,"createRestError",{enumerable:true,get:function(){return ie.createRestError}})},83155:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const C=p(87516);d.logger=(0,C.createClientLogger)("ts-http-runtime")},47801:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const C=p(98340);const S=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let v;let T=[];let _=[];const V=[];if(S){enable(S)}const Z=Object.assign((A=>createDebugger(A)),{enable:enable,enabled:enabled,disable:disable,log:C.log});function enable(A){v=A;T=[];_=[];const d=A.split(",").map((A=>A.trim()));for(const A of d){if(A.startsWith("-")){_.push(A.substring(1))}else{T.push(A)}}for(const A of V){A.enabled=enabled(A.namespace)}}function enabled(A){if(A.endsWith("*")){return true}for(const d of _){if(namespaceMatches(A,d)){return false}}for(const d of T){if(namespaceMatches(A,d)){return true}}return false}function namespaceMatches(A,d){if(d.indexOf("*")===-1){return A===d}let p=d;if(d.indexOf("**")!==-1){const A=[];let C="";for(const p of d){if(p==="*"&&C==="*"){continue}else{C=p;A.push(p)}}p=A.join("")}let C=0;let S=0;const v=p.length;const T=A.length;let _=-1;let V=-1;while(C<T&&S<v){if(p[S]==="*"){_=S;S++;if(S===v){return true}while(A[C]!==p[S]){C++;if(C===T){return false}}V=C;C++;S++;continue}else if(p[S]===A[C]){S++;C++}else if(_>=0){S=_+1;C=V+1;if(C===T){return false}while(A[C]!==p[S]){C++;if(C===T){return false}}V=C;C++;S++;continue}else{return false}}const Z=C===A.length;const ee=S===p.length;const te=S===p.length-1&&p[S]==="*";return Z&&(ee||te)}function disable(){const A=v||"";enable("");return A}function createDebugger(A){const d=Object.assign(debug,{enabled:enabled(A),destroy:destroy,log:Z.log,namespace:A,extend:extend});function debug(...p){if(!d.enabled){return}if(p.length>0){p[0]=`${A} ${p[0]}`}d.log(...p)}V.push(d);return d}function destroy(){const A=V.indexOf(this);if(A>=0){V.splice(A,1);return true}return false}function extend(A){const d=createDebugger(`${this.namespace}:${A}`);d.log=this.log;return d}d["default"]=Z},32033:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createLoggerContext=void 0;var C=p(87516);Object.defineProperty(d,"createLoggerContext",{enumerable:true,get:function(){return C.createLoggerContext}})},98340:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.log=log;const C=p(67892);const S=p(48161);const v=C.__importDefault(p(57975));const T=C.__importDefault(p(1708));function log(A,...d){T.default.stderr.write(`${v.default.format(A,...d)}${S.EOL}`)}},87516:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.TypeSpecRuntimeLogger=void 0;d.createLoggerContext=createLoggerContext;d.setLogLevel=setLogLevel;d.getLogLevel=getLogLevel;d.createClientLogger=createClientLogger;const C=p(67892);const S=C.__importDefault(p(47801));const v=["verbose","info","warning","error"];const T={verbose:400,info:300,warning:200,error:100};function patchLogMethod(A,d){d.log=(...d)=>{A.log(...d)}}function isTypeSpecRuntimeLogLevel(A){return v.includes(A)}function createLoggerContext(A){const d=new Set;const p=typeof process!=="undefined"&&process.env&&process.env[A.logLevelEnvVarName]||undefined;let C;const _=(0,S.default)(A.namespace);_.log=(...A)=>{S.default.log(...A)};function contextSetLogLevel(A){if(A&&!isTypeSpecRuntimeLogLevel(A)){throw new Error(`Unknown log level '${A}'. Acceptable values: ${v.join(",")}`)}C=A;const p=[];for(const A of d){if(shouldEnable(A)){p.push(A.namespace)}}S.default.enable(p.join(","))}if(p){if(isTypeSpecRuntimeLogLevel(p)){contextSetLogLevel(p)}else{console.error(`${A.logLevelEnvVarName} set to unknown log level '${p}'; logging is not enabled. Acceptable values: ${v.join(", ")}.`)}}function shouldEnable(A){return Boolean(C&&T[A.level]<=T[C])}function createLogger(A,p){const C=Object.assign(A.extend(p),{level:p});patchLogMethod(A,C);if(shouldEnable(C)){const A=S.default.disable();S.default.enable(A+","+C.namespace)}d.add(C);return C}function contextGetLogLevel(){return C}function contextCreateClientLogger(A){const d=_.extend(A);patchLogMethod(_,d);return{error:createLogger(d,"error"),warning:createLogger(d,"warning"),info:createLogger(d,"info"),verbose:createLogger(d,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:_}}const _=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});d.TypeSpecRuntimeLogger=_.logger;function setLogLevel(A){_.setLogLevel(A)}function getLogLevel(){return _.getLogLevel()}function createClientLogger(A){return _.createClientLogger(A)}},67170:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getBodyLength=getBodyLength;d.createNodeHttpClient=createNodeHttpClient;const C=p(67892);const S=C.__importDefault(p(37067));const v=C.__importDefault(p(44708));const T=C.__importDefault(p(38522));const _=p(57075);const V=p(37455);const Z=p(38411);const ee=p(39885);const te=p(83155);const re=p(87017);const ne={};function isReadableStream(A){return A&&typeof A.pipe==="function"}function isStreamComplete(A){if(A.readable===false){return Promise.resolve()}return new Promise((d=>{const handler=()=>{d();A.removeListener("close",handler);A.removeListener("end",handler);A.removeListener("error",handler)};A.on("close",handler);A.on("end",handler);A.on("error",handler)}))}function isArrayBuffer(A){return A&&typeof A.byteLength==="number"}class ReportTransform extends _.Transform{loadedBytes=0;progressCallback;_transform(A,d,p){this.push(A);this.loadedBytes+=A.length;try{this.progressCallback({loadedBytes:this.loadedBytes});p()}catch(A){p(A)}}constructor(A){super();this.progressCallback=A}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(A){const d=new AbortController;let p;if(A.abortSignal){if(A.abortSignal.aborted){throw new V.AbortError("The operation was aborted. Request has already been canceled.")}p=A=>{if(A.type==="abort"){d.abort()}};A.abortSignal.addEventListener("abort",p)}let C;if(A.timeout>0){C=setTimeout((()=>{const p=new re.Sanitizer;te.logger.info(`request to '${p.sanitizeUrl(A.url)}' timed out. canceling...`);d.abort()}),A.timeout)}const S=A.headers.get("Accept-Encoding");const v=S?.includes("gzip")||S?.includes("deflate");let T=typeof A.body==="function"?A.body():A.body;if(T&&!A.headers.has("Content-Length")){const d=getBodyLength(T);if(d!==null){A.headers.set("Content-Length",d)}}let _;try{if(T&&A.onUploadProgress){const d=A.onUploadProgress;const p=new ReportTransform(d);p.on("error",(A=>{te.logger.error("Error in upload progress",A)}));if(isReadableStream(T)){T.pipe(p)}else{p.end(T)}T=p}const p=await this.makeRequest(A,d,T);if(C!==undefined){clearTimeout(C)}const S=getResponseHeaders(p);const V=p.statusCode??0;const Z={status:V,headers:S,request:A};if(A.method==="HEAD"){p.resume();return Z}_=v?getDecodedResponseStream(p,S):p;const ee=A.onDownloadProgress;if(ee){const A=new ReportTransform(ee);A.on("error",(A=>{te.logger.error("Error in download progress",A)}));_.pipe(A);_=A}if(A.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||A.streamResponseStatusCodes?.has(Z.status)){Z.readableStreamBody=_}else{Z.bodyAsText=await streamToText(_)}return Z}finally{if(A.abortSignal&&p){let d=Promise.resolve();if(isReadableStream(T)){d=isStreamComplete(T)}let C=Promise.resolve();if(isReadableStream(_)){C=isStreamComplete(_)}Promise.all([d,C]).then((()=>{if(p){A.abortSignal?.removeEventListener("abort",p)}})).catch((A=>{te.logger.warning("Error when cleaning up abortListener on httpRequest",A)}))}}}makeRequest(A,d,p){const C=new URL(A.url);const T=C.protocol!=="https:";if(T&&!A.allowInsecureConnection){throw new Error(`Cannot connect to ${A.url} while allowInsecureConnection is false.`)}const _=A.agent??this.getOrCreateAgent(A,T);const Z={agent:_,hostname:C.hostname,path:`${C.pathname}${C.search}`,port:C.port,method:A.method,headers:A.headers.toJSON({preserveCase:true}),...A.requestOverrides};return new Promise(((C,_)=>{const re=T?S.default.request(Z,C):v.default.request(Z,C);re.once("error",(d=>{_(new ee.RestError(d.message,{code:d.code??ee.RestError.REQUEST_SEND_ERROR,request:A}))}));d.signal.addEventListener("abort",(()=>{const A=new V.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");re.destroy(A);_(A)}));if(p&&isReadableStream(p)){p.pipe(re)}else if(p){if(typeof p==="string"||Buffer.isBuffer(p)){re.end(p)}else if(isArrayBuffer(p)){re.end(ArrayBuffer.isView(p)?Buffer.from(p.buffer):Buffer.from(p))}else{te.logger.error("Unrecognized body type",p);_(new ee.RestError("Unrecognized body type"))}}else{re.end()}}))}getOrCreateAgent(A,d){const p=A.disableKeepAlive;if(d){if(p){return S.default.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new S.default.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(p&&!A.tlsSettings){return v.default.globalAgent}const d=A.tlsSettings??ne;let C=this.cachedHttpsAgents.get(d);if(C&&C.options.keepAlive===!p){return C}te.logger.info("No cached TLS Agent exist, creating a new Agent");C=new v.default.Agent({keepAlive:!p,...d});this.cachedHttpsAgents.set(d,C);return C}}}function getResponseHeaders(A){const d=(0,Z.createHttpHeaders)();for(const p of Object.keys(A.headers)){const C=A.headers[p];if(Array.isArray(C)){if(C.length>0){d.set(p,C[0])}}else if(C){d.set(p,C)}}return d}function getDecodedResponseStream(A,d){const p=d.get("Content-Encoding");if(p==="gzip"){const d=T.default.createGunzip();A.pipe(d);return d}else if(p==="deflate"){const d=T.default.createInflate();A.pipe(d);return d}return A}function streamToText(A){return new Promise(((d,p)=>{const C=[];A.on("data",(A=>{if(Buffer.isBuffer(A)){C.push(A)}else{C.push(Buffer.from(A))}}));A.on("end",(()=>{d(Buffer.concat(C).toString("utf8"))}));A.on("error",(A=>{if(A&&A?.name==="AbortError"){p(A)}else{p(new ee.RestError(`Error reading response as text: ${A.message}`,{code:ee.RestError.PARSE_ERROR}))}}))}))}function getBodyLength(A){if(!A){return 0}else if(Buffer.isBuffer(A)){return A.length}else if(isReadableStream(A)){return null}else if(isArrayBuffer(A)){return A.byteLength}else if(typeof A==="string"){return Buffer.from(A).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}},46415:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createEmptyPipeline=createEmptyPipeline;const p=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(A){this._policies=A?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(A,d={}){if(d.phase&&d.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(d.phase&&!p.has(d.phase)){throw new Error(`Invalid phase name: ${d.phase}`)}if(d.afterPhase&&!p.has(d.afterPhase)){throw new Error(`Invalid afterPhase name: ${d.afterPhase}`)}this._policies.push({policy:A,options:d});this._orderedPolicies=undefined}removePolicy(A){const d=[];this._policies=this._policies.filter((p=>{if(A.name&&p.policy.name===A.name||A.phase&&p.options.phase===A.phase){d.push(p.policy);return false}else{return true}}));this._orderedPolicies=undefined;return d}sendRequest(A,d){const p=this.getOrderedPolicies();const C=p.reduceRight(((A,d)=>p=>d.sendRequest(p,A)),(d=>A.sendRequest(d)));return C(d)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const A=[];const d=new Map;function createPhase(A){return{name:A,policies:new Set,hasRun:false,hasAfterPolicies:false}}const p=createPhase("Serialize");const C=createPhase("None");const S=createPhase("Deserialize");const v=createPhase("Retry");const T=createPhase("Sign");const _=[p,C,S,v,T];function getPhase(A){if(A==="Retry"){return v}else if(A==="Serialize"){return p}else if(A==="Deserialize"){return S}else if(A==="Sign"){return T}else{return C}}for(const A of this._policies){const p=A.policy;const C=A.options;const S=p.name;if(d.has(S)){throw new Error("Duplicate policy names not allowed in pipeline")}const v={policy:p,dependsOn:new Set,dependants:new Set};if(C.afterPhase){v.afterPhase=getPhase(C.afterPhase);v.afterPhase.hasAfterPolicies=true}d.set(S,v);const T=getPhase(C.phase);T.policies.add(v)}for(const A of this._policies){const{policy:p,options:C}=A;const S=p.name;const v=d.get(S);if(!v){throw new Error(`Missing node for policy ${S}`)}if(C.afterPolicies){for(const A of C.afterPolicies){const p=d.get(A);if(p){v.dependsOn.add(p);p.dependants.add(v)}}}if(C.beforePolicies){for(const A of C.beforePolicies){const p=d.get(A);if(p){p.dependsOn.add(v);v.dependants.add(p)}}}}function walkPhase(p){p.hasRun=true;for(const C of p.policies){if(C.afterPhase&&(!C.afterPhase.hasRun||C.afterPhase.policies.size)){continue}if(C.dependsOn.size===0){A.push(C.policy);for(const A of C.dependants){A.dependsOn.delete(C)}d.delete(C.policy.name);p.policies.delete(C)}}}function walkPhases(){for(const A of _){walkPhase(A);if(A.policies.size>0&&A!==C){if(!C.hasRun){walkPhase(C)}return}if(A.hasAfterPolicies){walkPhase(C)}}}let V=0;while(d.size>0){V++;const d=A.length;walkPhases();if(A.length<=d&&V>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return A}}function createEmptyPipeline(){return HttpPipeline.create()}},90738:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineRequest=createPipelineRequest;const C=p(38411);const S=p(58066);class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(A){this.url=A.url;this.body=A.body;this.headers=A.headers??(0,C.createHttpHeaders)();this.method=A.method??"GET";this.timeout=A.timeout??0;this.multipartBody=A.multipartBody;this.formData=A.formData;this.disableKeepAlive=A.disableKeepAlive??false;this.proxySettings=A.proxySettings;this.streamResponseStatusCodes=A.streamResponseStatusCodes;this.withCredentials=A.withCredentials??false;this.abortSignal=A.abortSignal;this.onUploadProgress=A.onUploadProgress;this.onDownloadProgress=A.onDownloadProgress;this.requestId=A.requestId||(0,S.randomUUID)();this.allowInsecureConnection=A.allowInsecureConnection??false;this.enableBrowserStreams=A.enableBrowserStreams??false;this.requestOverrides=A.requestOverrides;this.authSchemes=A.authSchemes}}function createPipelineRequest(A){return new PipelineRequestImpl(A)}},66683:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.agentPolicyName=void 0;d.agentPolicy=agentPolicy;d.agentPolicyName="agentPolicy";function agentPolicy(A){return{name:d.agentPolicyName,sendRequest:async(d,p)=>{if(!d.agent){d.agent=A}return p(d)}}}},97274:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.apiKeyAuthenticationPolicyName=void 0;d.apiKeyAuthenticationPolicy=apiKeyAuthenticationPolicy;const C=p(3153);d.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(A){return{name:d.apiKeyAuthenticationPolicyName,async sendRequest(d,p){(0,C.ensureSecureConnection)(d,A);const S=(d.authSchemes??A.authSchemes)?.find((A=>A.kind==="apiKey"));if(!S){return p(d)}if(S.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${S.apiKeyLocation}`)}d.headers.set(S.name,A.credential.key);return p(d)}}}},22535:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.basicAuthenticationPolicyName=void 0;d.basicAuthenticationPolicy=basicAuthenticationPolicy;const C=p(62408);const S=p(3153);d.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function basicAuthenticationPolicy(A){return{name:d.basicAuthenticationPolicyName,async sendRequest(d,p){(0,S.ensureSecureConnection)(d,A);const v=(d.authSchemes??A.authSchemes)?.find((A=>A.kind==="http"&&A.scheme==="basic"));if(!v){return p(d)}const{username:T,password:_}=A.credential;const V=(0,C.uint8ArrayToString)((0,C.stringToUint8Array)(`${T}:${_}`,"utf-8"),"base64");d.headers.set("Authorization",`Basic ${V}`);return p(d)}}}},82368:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.bearerAuthenticationPolicyName=void 0;d.bearerAuthenticationPolicy=bearerAuthenticationPolicy;const C=p(3153);d.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(A){return{name:d.bearerAuthenticationPolicyName,async sendRequest(d,p){(0,C.ensureSecureConnection)(d,A);const S=(d.authSchemes??A.authSchemes)?.find((A=>A.kind==="http"&&A.scheme==="bearer"));if(!S){return p(d)}const v=await A.credential.getBearerToken({abortSignal:d.abortSignal});d.headers.set("Authorization",`Bearer ${v}`);return p(d)}}}},3153:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ensureSecureConnection=ensureSecureConnection;const C=p(83155);let S=false;function allowInsecureConnection(A,d){if(d.allowInsecureConnection&&A.allowInsecureConnection){const d=new URL(A.url);if(d.hostname==="localhost"||d.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const A="Sending token over insecure transport. Assume any token issued is compromised.";C.logger.warning(A);if(typeof process?.emitWarning==="function"&&!S){S=true;process.emitWarning(A)}}function ensureSecureConnection(A,d){if(!A.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(A,d)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}},50842:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.oauth2AuthenticationPolicyName=void 0;d.oauth2AuthenticationPolicy=oauth2AuthenticationPolicy;const C=p(3153);d.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(A){return{name:d.oauth2AuthenticationPolicyName,async sendRequest(d,p){(0,C.ensureSecureConnection)(d,A);const S=(d.authSchemes??A.authSchemes)?.find((A=>A.kind==="oauth2"));if(!S){return p(d)}const v=await A.credential.getOAuth2Token(S.flows,{abortSignal:d.abortSignal});d.headers.set("Authorization",`Bearer ${v}`);return p(d)}}}},82576:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.decompressResponsePolicyName=void 0;d.decompressResponsePolicy=decompressResponsePolicy;d.decompressResponsePolicyName="decompressResponsePolicy";function decompressResponsePolicy(){return{name:d.decompressResponsePolicyName,async sendRequest(A,d){if(A.method!=="HEAD"){A.headers.set("Accept-Encoding","gzip,deflate")}return d(A)}}}},46893:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultRetryPolicyName=void 0;d.defaultRetryPolicy=defaultRetryPolicy;const C=p(25687);const S=p(79199);const v=p(87180);const T=p(35124);d.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(A={}){return{name:d.defaultRetryPolicyName,sendRequest:(0,v.retryPolicy)([(0,S.throttlingRetryStrategy)(),(0,C.exponentialRetryStrategy)(A)],{maxRetries:A.maxRetries??T.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},60519:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryPolicyName=void 0;d.exponentialRetryPolicy=exponentialRetryPolicy;const C=p(25687);const S=p(87180);const v=p(35124);d.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(A={}){return(0,S.retryPolicy)([(0,C.exponentialRetryStrategy)({...A,ignoreSystemErrors:true})],{maxRetries:A.maxRetries??v.DEFAULT_RETRY_POLICY_COUNT})}},94910:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.formDataPolicyName=void 0;d.formDataPolicy=formDataPolicy;const C=p(62408);const S=p(15777);const v=p(38411);d.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(A){const d={};for(const[p,C]of A.entries()){d[p]??=[];d[p].push(C)}return d}function formDataPolicy(){return{name:d.formDataPolicyName,async sendRequest(A,d){if(S.isNodeLike&&typeof FormData!=="undefined"&&A.body instanceof FormData){A.formData=formDataToFormDataMap(A.body);A.body=undefined}if(A.formData){const d=A.headers.get("Content-Type");if(d&&d.indexOf("application/x-www-form-urlencoded")!==-1){A.body=wwwFormUrlEncode(A.formData)}else{await prepareFormData(A.formData,A)}A.formData=undefined}return d(A)}}}function wwwFormUrlEncode(A){const d=new URLSearchParams;for(const[p,C]of Object.entries(A)){if(Array.isArray(C)){for(const A of C){d.append(p,A.toString())}}else{d.append(p,C.toString())}}return d.toString()}async function prepareFormData(A,d){const p=d.headers.get("Content-Type");if(p&&!p.startsWith("multipart/form-data")){return}d.headers.set("Content-Type",p??"multipart/form-data");const S=[];for(const[d,p]of Object.entries(A)){for(const A of Array.isArray(p)?p:[p]){if(typeof A==="string"){S.push({headers:(0,v.createHttpHeaders)({"Content-Disposition":`form-data; name="${d}"`}),body:(0,C.stringToUint8Array)(A,"utf-8")})}else if(A===undefined||A===null||typeof A!=="object"){throw new Error(`Unexpected value for key ${d}: ${A}. Value should be serialized to string first.`)}else{const p=A.name||"blob";const C=(0,v.createHttpHeaders)();C.set("Content-Disposition",`form-data; name="${d}"; filename="${p}"`);C.set("Content-Type",A.type||"application/octet-stream");S.push({headers:C,body:A})}}}d.multipartBody={parts:S}}},43507:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=d.userAgentPolicy=d.tlsPolicyName=d.tlsPolicy=d.redirectPolicyName=d.redirectPolicy=d.getDefaultProxySettings=d.proxyPolicyName=d.proxyPolicy=d.multipartPolicyName=d.multipartPolicy=d.logPolicyName=d.logPolicy=d.formDataPolicyName=d.formDataPolicy=d.throttlingRetryPolicyName=d.throttlingRetryPolicy=d.systemErrorRetryPolicyName=d.systemErrorRetryPolicy=d.retryPolicy=d.exponentialRetryPolicyName=d.exponentialRetryPolicy=d.defaultRetryPolicyName=d.defaultRetryPolicy=d.decompressResponsePolicyName=d.decompressResponsePolicy=d.agentPolicyName=d.agentPolicy=void 0;var C=p(66683);Object.defineProperty(d,"agentPolicy",{enumerable:true,get:function(){return C.agentPolicy}});Object.defineProperty(d,"agentPolicyName",{enumerable:true,get:function(){return C.agentPolicyName}});var S=p(82576);Object.defineProperty(d,"decompressResponsePolicy",{enumerable:true,get:function(){return S.decompressResponsePolicy}});Object.defineProperty(d,"decompressResponsePolicyName",{enumerable:true,get:function(){return S.decompressResponsePolicyName}});var v=p(46893);Object.defineProperty(d,"defaultRetryPolicy",{enumerable:true,get:function(){return v.defaultRetryPolicy}});Object.defineProperty(d,"defaultRetryPolicyName",{enumerable:true,get:function(){return v.defaultRetryPolicyName}});var T=p(60519);Object.defineProperty(d,"exponentialRetryPolicy",{enumerable:true,get:function(){return T.exponentialRetryPolicy}});Object.defineProperty(d,"exponentialRetryPolicyName",{enumerable:true,get:function(){return T.exponentialRetryPolicyName}});var _=p(87180);Object.defineProperty(d,"retryPolicy",{enumerable:true,get:function(){return _.retryPolicy}});var V=p(87849);Object.defineProperty(d,"systemErrorRetryPolicy",{enumerable:true,get:function(){return V.systemErrorRetryPolicy}});Object.defineProperty(d,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return V.systemErrorRetryPolicyName}});var Z=p(34197);Object.defineProperty(d,"throttlingRetryPolicy",{enumerable:true,get:function(){return Z.throttlingRetryPolicy}});Object.defineProperty(d,"throttlingRetryPolicyName",{enumerable:true,get:function(){return Z.throttlingRetryPolicyName}});var ee=p(94910);Object.defineProperty(d,"formDataPolicy",{enumerable:true,get:function(){return ee.formDataPolicy}});Object.defineProperty(d,"formDataPolicyName",{enumerable:true,get:function(){return ee.formDataPolicyName}});var te=p(45108);Object.defineProperty(d,"logPolicy",{enumerable:true,get:function(){return te.logPolicy}});Object.defineProperty(d,"logPolicyName",{enumerable:true,get:function(){return te.logPolicyName}});var re=p(72858);Object.defineProperty(d,"multipartPolicy",{enumerable:true,get:function(){return re.multipartPolicy}});Object.defineProperty(d,"multipartPolicyName",{enumerable:true,get:function(){return re.multipartPolicyName}});var ne=p(67010);Object.defineProperty(d,"proxyPolicy",{enumerable:true,get:function(){return ne.proxyPolicy}});Object.defineProperty(d,"proxyPolicyName",{enumerable:true,get:function(){return ne.proxyPolicyName}});Object.defineProperty(d,"getDefaultProxySettings",{enumerable:true,get:function(){return ne.getDefaultProxySettings}});var ie=p(8884);Object.defineProperty(d,"redirectPolicy",{enumerable:true,get:function(){return ie.redirectPolicy}});Object.defineProperty(d,"redirectPolicyName",{enumerable:true,get:function(){return ie.redirectPolicyName}});var se=p(40023);Object.defineProperty(d,"tlsPolicy",{enumerable:true,get:function(){return se.tlsPolicy}});Object.defineProperty(d,"tlsPolicyName",{enumerable:true,get:function(){return se.tlsPolicyName}});var oe=p(49046);Object.defineProperty(d,"userAgentPolicy",{enumerable:true,get:function(){return oe.userAgentPolicy}});Object.defineProperty(d,"userAgentPolicyName",{enumerable:true,get:function(){return oe.userAgentPolicyName}})},45108:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logPolicyName=void 0;d.logPolicy=logPolicy;const C=p(83155);const S=p(87017);d.logPolicyName="logPolicy";function logPolicy(A={}){const p=A.logger??C.logger.info;const v=new S.Sanitizer({additionalAllowedHeaderNames:A.additionalAllowedHeaderNames,additionalAllowedQueryParameters:A.additionalAllowedQueryParameters});return{name:d.logPolicyName,async sendRequest(A,d){if(!p.enabled){return d(A)}p(`Request: ${v.sanitize(A)}`);const C=await d(A);p(`Response status code: ${C.status}`);p(`Headers: ${v.sanitize(C.headers)}`);return C}}}},72858:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.multipartPolicyName=void 0;d.multipartPolicy=multipartPolicy;const C=p(62408);const S=p(86974);const v=p(58066);const T=p(12820);function generateBoundary(){return`----AzSDKFormBoundary${(0,v.randomUUID)()}`}function encodeHeaders(A){let d="";for(const[p,C]of A){d+=`${p}: ${C}\r\n`}return d}function getLength(A){if(A instanceof Uint8Array){return A.byteLength}else if((0,S.isBlob)(A)){return A.size===-1?undefined:A.size}else{return undefined}}function getTotalLength(A){let d=0;for(const p of A){const A=getLength(p);if(A===undefined){return undefined}else{d+=A}}return d}async function buildRequestBody(A,d,p){const S=[(0,C.stringToUint8Array)(`--${p}`,"utf-8"),...d.flatMap((A=>[(0,C.stringToUint8Array)("\r\n","utf-8"),(0,C.stringToUint8Array)(encodeHeaders(A.headers),"utf-8"),(0,C.stringToUint8Array)("\r\n","utf-8"),A.body,(0,C.stringToUint8Array)(`\r\n--${p}`,"utf-8")])),(0,C.stringToUint8Array)("--\r\n\r\n","utf-8")];const v=getTotalLength(S);if(v){A.headers.set("Content-Length",v)}A.body=await(0,T.concat)(S)}d.multipartPolicyName="multipartPolicy";const _=70;const V=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(A){if(A.length>_){throw new Error(`Multipart boundary "${A}" exceeds maximum length of 70 characters`)}if(Array.from(A).some((A=>!V.has(A)))){throw new Error(`Multipart boundary "${A}" contains invalid characters`)}}function multipartPolicy(){return{name:d.multipartPolicyName,async sendRequest(A,d){if(!A.multipartBody){return d(A)}if(A.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let p=A.multipartBody.boundary;const C=A.headers.get("Content-Type")??"multipart/mixed";const S=C.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!S){throw new Error(`Got multipart request body, but content-type header was not multipart: ${C}`)}const[,v,T]=S;if(T&&p&&T!==p){throw new Error(`Multipart boundary was specified as ${T} in the header, but got ${p} in the request body`)}p??=T;if(p){assertValidBoundary(p)}else{p=generateBoundary()}A.headers.set("Content-Type",`${v}; boundary=${p}`);await buildRequestBody(A,A.multipartBody.parts,p);A.multipartBody=undefined;return d(A)}}}},67010:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.globalNoProxyList=d.proxyPolicyName=void 0;d.loadNoProxy=loadNoProxy;d.getDefaultProxySettings=getDefaultProxySettings;d.proxyPolicy=proxyPolicy;const C=p(31475);const S=p(74249);const v=p(83155);const T="HTTPS_PROXY";const _="HTTP_PROXY";const V="ALL_PROXY";const Z="NO_PROXY";d.proxyPolicyName="proxyPolicy";d.globalNoProxyList=[];let ee=false;const te=new Map;function getEnvironmentValue(A){if(process.env[A]){return process.env[A]}else if(process.env[A.toLowerCase()]){return process.env[A.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const A=getEnvironmentValue(T);const d=getEnvironmentValue(V);const p=getEnvironmentValue(_);return A||d||p}function isBypassed(A,d,p){if(d.length===0){return false}const C=new URL(A).hostname;if(p?.has(C)){return p.get(C)}let S=false;for(const A of d){if(A[0]==="."){if(C.endsWith(A)){S=true}else{if(C.length===A.length-1&&C===A.slice(1)){S=true}}}else{if(C===A){S=true}}}p?.set(C,S);return S}function loadNoProxy(){const A=getEnvironmentValue(Z);ee=true;if(A){return A.split(",").map((A=>A.trim())).filter((A=>A.length))}return[]}function getDefaultProxySettings(A){if(!A){A=loadEnvironmentProxyValue();if(!A){return undefined}}const d=new URL(A);const p=d.protocol?d.protocol+"//":"";return{host:p+d.hostname,port:Number.parseInt(d.port||"80"),username:d.username,password:d.password}}function getDefaultProxySettingsInternal(){const A=loadEnvironmentProxyValue();return A?new URL(A):undefined}function getUrlFromProxySettings(A){let d;try{d=new URL(A.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${A.host}".`)}d.port=String(A.port);if(A.username){d.username=A.username}if(A.password){d.password=A.password}return d}function setProxyAgentOnRequest(A,d,p){if(A.agent){return}const T=new URL(A.url);const _=T.protocol!=="https:";if(A.tlsSettings){v.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const V=A.headers.toJSON();if(_){if(!d.httpProxyAgent){d.httpProxyAgent=new S.HttpProxyAgent(p,{headers:V})}A.agent=d.httpProxyAgent}else{if(!d.httpsProxyAgent){d.httpsProxyAgent=new C.HttpsProxyAgent(p,{headers:V})}A.agent=d.httpsProxyAgent}}function proxyPolicy(A,p){if(!ee){d.globalNoProxyList.push(...loadNoProxy())}const C=A?getUrlFromProxySettings(A):getDefaultProxySettingsInternal();const S={};return{name:d.proxyPolicyName,async sendRequest(A,v){if(!A.proxySettings&&C&&!isBypassed(A.url,p?.customNoProxyList??d.globalNoProxyList,p?.customNoProxyList?undefined:te)){setProxyAgentOnRequest(A,S,C)}else if(A.proxySettings){setProxyAgentOnRequest(A,S,getUrlFromProxySettings(A.proxySettings))}return v(A)}}}},8884:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.redirectPolicyName=void 0;d.redirectPolicy=redirectPolicy;d.redirectPolicyName="redirectPolicy";const p=["GET","HEAD"];function redirectPolicy(A={}){const{maxRetries:p=20}=A;return{name:d.redirectPolicyName,async sendRequest(A,d){const C=await d(A);return handleRedirect(d,C,p)}}}async function handleRedirect(A,d,C,S=0){const{request:v,status:T,headers:_}=d;const V=_.get("location");if(V&&(T===300||T===301&&p.includes(v.method)||T===302&&p.includes(v.method)||T===303&&v.method==="POST"||T===307)&&S<C){const d=new URL(V,v.url);v.url=d.toString();if(T===303){v.method="GET";v.headers.delete("Content-Length");delete v.body}v.headers.delete("Authorization");const p=await A(v);return handleRedirect(A,p,C,S+1)}return d}},87180:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.retryPolicy=retryPolicy;const C=p(67943);const S=p(37455);const v=p(87516);const T=p(35124);const _=(0,v.createClientLogger)("ts-http-runtime retryPolicy");const V="retryPolicy";function retryPolicy(A,d={maxRetries:T.DEFAULT_RETRY_POLICY_COUNT}){const p=d.logger||_;return{name:V,async sendRequest(v,_){let V;let Z;let ee=-1;e:while(true){ee+=1;V=undefined;Z=undefined;try{p.info(`Retry ${ee}: Attempting to send request`,v.requestId);V=await _(v);p.info(`Retry ${ee}: Received a response from request`,v.requestId)}catch(A){p.error(`Retry ${ee}: Received an error from request`,v.requestId);Z=A;if(!A||Z.name!=="RestError"){throw A}V=Z.response}if(v.abortSignal?.aborted){p.error(`Retry ${ee}: Request aborted.`);const A=new S.AbortError;throw A}if(ee>=(d.maxRetries??T.DEFAULT_RETRY_POLICY_COUNT)){p.info(`Retry ${ee}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(Z){throw Z}else if(V){return V}else{throw new Error("Maximum retries reached with no response or error to throw")}}p.info(`Retry ${ee}: Processing ${A.length} retry strategies.`);t:for(const d of A){const A=d.logger||p;A.info(`Retry ${ee}: Processing retry strategy ${d.name}.`);const S=d.retry({retryCount:ee,response:V,responseError:Z});if(S.skipStrategy){A.info(`Retry ${ee}: Skipped.`);continue t}const{errorToThrow:T,retryAfterInMs:_,redirectTo:te}=S;if(T){A.error(`Retry ${ee}: Retry strategy ${d.name} throws error:`,T);throw T}if(_||_===0){A.info(`Retry ${ee}: Retry strategy ${d.name} retries after ${_}`);await(0,C.delay)(_,undefined,{abortSignal:v.abortSignal});continue e}if(te){A.info(`Retry ${ee}: Retry strategy ${d.name} redirects to ${te}`);v.url=te;continue e}}if(Z){p.info(`None of the retry strategies could work with the received error. Throwing it.`);throw Z}if(V){p.info(`None of the retry strategies could work with the received response. Returning it.`);return V}}}}}},87849:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.systemErrorRetryPolicyName=void 0;d.systemErrorRetryPolicy=systemErrorRetryPolicy;const C=p(25687);const S=p(87180);const v=p(35124);d.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(A={}){return{name:d.systemErrorRetryPolicyName,sendRequest:(0,S.retryPolicy)([(0,C.exponentialRetryStrategy)({...A,ignoreHttpStatusCodes:true})],{maxRetries:A.maxRetries??v.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},34197:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.throttlingRetryPolicyName=void 0;d.throttlingRetryPolicy=throttlingRetryPolicy;const C=p(79199);const S=p(87180);const v=p(35124);d.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(A={}){return{name:d.throttlingRetryPolicyName,sendRequest:(0,S.retryPolicy)([(0,C.throttlingRetryStrategy)()],{maxRetries:A.maxRetries??v.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},40023:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.tlsPolicyName=void 0;d.tlsPolicy=tlsPolicy;d.tlsPolicyName="tlsPolicy";function tlsPolicy(A){return{name:d.tlsPolicyName,sendRequest:async(d,p)=>{if(!d.tlsSettings){d.tlsSettings=A}return p(d)}}}},49046:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=void 0;d.userAgentPolicy=userAgentPolicy;const C=p(53918);const S=(0,C.getUserAgentHeaderName)();d.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(A={}){const p=(0,C.getUserAgentValue)(A.userAgentPrefix);return{name:d.userAgentPolicyName,async sendRequest(A,d){if(!A.headers.has(S)){A.headers.set(S,await p)}return d(A)}}}},39885:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RestError=void 0;d.isRestError=isRestError;const C=p(16356);const S=p(1122);const v=p(87017);const T=new v.Sanitizer;class RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(A,d={}){super(A);this.name="RestError";this.code=d.code;this.statusCode=d.statusCode;Object.defineProperty(this,"request",{value:d.request,enumerable:false});Object.defineProperty(this,"response",{value:d.response,enumerable:false});const p=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,S.custom,{value:()=>`RestError: ${this.message} \n ${T.sanitize({...this,request:{...this.request,agent:p},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}d.RestError=RestError;function isRestError(A){if(A instanceof RestError){return true}return(0,C.isError)(A)&&A.name==="RestError"}},25687:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryStrategy=exponentialRetryStrategy;d.isExponentialRetryResponse=isExponentialRetryResponse;d.isSystemError=isSystemError;const C=p(63721);const S=p(79199);const v=1e3;const T=1e3*64;function exponentialRetryStrategy(A={}){const d=A.retryDelayInMs??v;const p=A.maxRetryDelayInMs??T;return{name:"exponentialRetryStrategy",retry({retryCount:v,response:T,responseError:_}){const V=isSystemError(_);const Z=V&&A.ignoreSystemErrors;const ee=isExponentialRetryResponse(T);const te=ee&&A.ignoreHttpStatusCodes;const re=T&&((0,S.isThrottlingRetryResponse)(T)||!ee);if(re||te||Z){return{skipStrategy:true}}if(_&&!V&&!ee){return{errorToThrow:_}}return(0,C.calculateRetryDelay)(v,{retryDelayInMs:d,maxRetryDelayInMs:p})}}}function isExponentialRetryResponse(A){return Boolean(A&&A.status!==undefined&&(A.status>=500||A.status===408)&&A.status!==501&&A.status!==505)}function isSystemError(A){if(!A){return false}return A.code==="ETIMEDOUT"||A.code==="ESOCKETTIMEDOUT"||A.code==="ECONNREFUSED"||A.code==="ECONNRESET"||A.code==="ENOENT"||A.code==="ENOTFOUND"}},79199:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isThrottlingRetryResponse=isThrottlingRetryResponse;d.throttlingRetryStrategy=throttlingRetryStrategy;const C=p(67943);const S="Retry-After";const v=["retry-after-ms","x-ms-retry-after-ms",S];function getRetryAfterInMs(A){if(!(A&&[429,503].includes(A.status)))return undefined;try{for(const d of v){const p=(0,C.parseHeaderValueAsNumber)(A,d);if(p===0||p){const A=d===S?1e3:1;return p*A}}const d=A.headers.get(S);if(!d)return;const p=Date.parse(d);const T=p-Date.now();return Number.isFinite(T)?Math.max(0,T):undefined}catch{return undefined}}function isThrottlingRetryResponse(A){return Number.isFinite(getRetryAfterInMs(A))}function throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:A}){const d=getRetryAfterInMs(A);if(!Number.isFinite(d)){return{skipStrategy:true}}return{retryAfterInMs:d}}}}},62408:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.uint8ArrayToString=uint8ArrayToString;d.stringToUint8Array=stringToUint8Array;function uint8ArrayToString(A,d){return Buffer.from(A).toString(d)}function stringToUint8Array(A,d){return Buffer.from(A,d)}},15777:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isReactNative=d.isNodeRuntime=d.isNodeLike=d.isBun=d.isDeno=d.isWebWorker=d.isBrowser=void 0;d.isBrowser=typeof window!=="undefined"&&typeof window.document!=="undefined";d.isWebWorker=typeof self==="object"&&typeof self?.importScripts==="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope");d.isDeno=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";d.isBun=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";d.isNodeLike=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean(globalThis.process.versions?.node);d.isNodeRuntime=d.isNodeLike&&!d.isBun&&!d.isDeno;d.isReactNative=typeof navigator!=="undefined"&&navigator?.product==="ReactNative"},12820:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.concat=concat;const C=p(2203);const S=p(86974);async function*streamAsyncIterator(){const A=this.getReader();try{while(true){const{done:d,value:p}=await A.read();if(d){return}yield p}}finally{A.releaseLock()}}function makeAsyncIterable(A){if(!A[Symbol.asyncIterator]){A[Symbol.asyncIterator]=streamAsyncIterator.bind(A)}if(!A.values){A.values=streamAsyncIterator.bind(A)}}function ensureNodeStream(A){if(A instanceof ReadableStream){makeAsyncIterable(A);return C.Readable.fromWeb(A)}else{return A}}function toStream(A){if(A instanceof Uint8Array){return C.Readable.from(Buffer.from(A))}else if((0,S.isBlob)(A)){return ensureNodeStream(A.stream())}else{return ensureNodeStream(A)}}async function concat(A){return function(){const d=A.map((A=>typeof A==="function"?A():A)).map(toStream);return C.Readable.from(async function*(){for(const A of d){for await(const d of A){yield d}}}())}}},63721:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.calculateRetryDelay=calculateRetryDelay;const C=p(93503);function calculateRetryDelay(A,d){const p=d.retryDelayInMs*Math.pow(2,A);const S=Math.min(d.maxRetryDelayInMs,p);const v=S/2+(0,C.getRandomIntegerInclusive)(0,S/2);return{retryAfterInMs:v}}},16356:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isError=isError;const C=p(33419);function isError(A){if((0,C.isObject)(A)){const d=typeof A.name==="string";const p=typeof A.message==="string";return d&&p}return false}},67943:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.delay=delay;d.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const C=p(37455);const S="The operation was aborted.";function delay(A,d,p){return new Promise(((v,T)=>{let _=undefined;let V=undefined;const rejectOnAbort=()=>T(new C.AbortError(p?.abortErrorMsg?p?.abortErrorMsg:S));const removeListeners=()=>{if(p?.abortSignal&&V){p.abortSignal.removeEventListener("abort",V)}};V=()=>{if(_){clearTimeout(_)}removeListeners();return rejectOnAbort()};if(p?.abortSignal&&p.abortSignal.aborted){return rejectOnAbort()}_=setTimeout((()=>{removeListeners();v(d)}),A);if(p?.abortSignal){p.abortSignal.addEventListener("abort",V)}}))}function parseHeaderValueAsNumber(A,d){const p=A.headers.get(d);if(!p)return;const C=Number(p);if(Number.isNaN(C))return;return C}},1122:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.custom=void 0;const C=p(57975);d.custom=C.inspect.custom},38233:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Sanitizer=d.uint8ArrayToString=d.stringToUint8Array=d.isWebWorker=d.isReactNative=d.isDeno=d.isNodeRuntime=d.isNodeLike=d.isBun=d.isBrowser=d.randomUUID=d.computeSha256Hmac=d.computeSha256Hash=d.isError=d.isObject=d.getRandomIntegerInclusive=d.calculateRetryDelay=void 0;var C=p(63721);Object.defineProperty(d,"calculateRetryDelay",{enumerable:true,get:function(){return C.calculateRetryDelay}});var S=p(93503);Object.defineProperty(d,"getRandomIntegerInclusive",{enumerable:true,get:function(){return S.getRandomIntegerInclusive}});var v=p(33419);Object.defineProperty(d,"isObject",{enumerable:true,get:function(){return v.isObject}});var T=p(16356);Object.defineProperty(d,"isError",{enumerable:true,get:function(){return T.isError}});var _=p(73775);Object.defineProperty(d,"computeSha256Hash",{enumerable:true,get:function(){return _.computeSha256Hash}});Object.defineProperty(d,"computeSha256Hmac",{enumerable:true,get:function(){return _.computeSha256Hmac}});var V=p(58066);Object.defineProperty(d,"randomUUID",{enumerable:true,get:function(){return V.randomUUID}});var Z=p(15777);Object.defineProperty(d,"isBrowser",{enumerable:true,get:function(){return Z.isBrowser}});Object.defineProperty(d,"isBun",{enumerable:true,get:function(){return Z.isBun}});Object.defineProperty(d,"isNodeLike",{enumerable:true,get:function(){return Z.isNodeLike}});Object.defineProperty(d,"isNodeRuntime",{enumerable:true,get:function(){return Z.isNodeRuntime}});Object.defineProperty(d,"isDeno",{enumerable:true,get:function(){return Z.isDeno}});Object.defineProperty(d,"isReactNative",{enumerable:true,get:function(){return Z.isReactNative}});Object.defineProperty(d,"isWebWorker",{enumerable:true,get:function(){return Z.isWebWorker}});var ee=p(62408);Object.defineProperty(d,"stringToUint8Array",{enumerable:true,get:function(){return ee.stringToUint8Array}});Object.defineProperty(d,"uint8ArrayToString",{enumerable:true,get:function(){return ee.uint8ArrayToString}});var te=p(87017);Object.defineProperty(d,"Sanitizer",{enumerable:true,get:function(){return te.Sanitizer}})},33419:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isObject=isObject;function isObject(A){return typeof A==="object"&&A!==null&&!Array.isArray(A)&&!(A instanceof RegExp)&&!(A instanceof Date)}},93503:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(A,d){A=Math.ceil(A);d=Math.floor(d);const p=Math.floor(Math.random()*(d-A+1));return p+A}},87017:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Sanitizer=void 0;const C=p(33419);const S="REDACTED";const v=["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 T=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:A=[],additionalAllowedQueryParameters:d=[]}={}){A=v.concat(A);d=T.concat(d);this.allowedHeaderNames=new Set(A.map((A=>A.toLowerCase())));this.allowedQueryParameters=new Set(d.map((A=>A.toLowerCase())))}sanitize(A){const d=new Set;return JSON.stringify(A,((A,p)=>{if(p instanceof Error){return{...p,name:p.name,message:p.message}}if(A==="headers"){return this.sanitizeHeaders(p)}else if(A==="url"){return this.sanitizeUrl(p)}else if(A==="query"){return this.sanitizeQuery(p)}else if(A==="body"){return undefined}else if(A==="response"){return undefined}else if(A==="operationSpec"){return undefined}else if(Array.isArray(p)||(0,C.isObject)(p)){if(d.has(p)){return"[Circular]"}d.add(p)}return p}),2)}sanitizeUrl(A){if(typeof A!=="string"||A===null||A===""){return A}const d=new URL(A);if(!d.search){return A}for(const[A]of d.searchParams){if(!this.allowedQueryParameters.has(A.toLowerCase())){d.searchParams.set(A,S)}}return d.toString()}sanitizeHeaders(A){const d={};for(const p of Object.keys(A)){if(this.allowedHeaderNames.has(p.toLowerCase())){d[p]=A[p]}else{d[p]=S}}return d}sanitizeQuery(A){if(typeof A!=="object"||A===null){return A}const d={};for(const p of Object.keys(A)){if(this.allowedQueryParameters.has(p.toLowerCase())){d[p]=A[p]}else{d[p]=S}}return d}}d.Sanitizer=Sanitizer},73775:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.computeSha256Hmac=computeSha256Hmac;d.computeSha256Hash=computeSha256Hash;const C=p(77598);async function computeSha256Hmac(A,d,p){const S=Buffer.from(A,"base64");return(0,C.createHmac)("sha256",S).update(d).digest(p)}async function computeSha256Hash(A,d){return(0,C.createHash)("sha256").update(A).digest(d)}},86974:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isNodeReadableStream=isNodeReadableStream;d.isWebReadableStream=isWebReadableStream;d.isBinaryBody=isBinaryBody;d.isReadableStream=isReadableStream;d.isBlob=isBlob;function isNodeReadableStream(A){return Boolean(A&&typeof A["pipe"]==="function")}function isWebReadableStream(A){return Boolean(A&&typeof A.getReader==="function"&&typeof A.tee==="function")}function isBinaryBody(A){return A!==undefined&&(A instanceof Uint8Array||isReadableStream(A)||typeof A==="function"||A instanceof Blob)}function isReadableStream(A){return isNodeReadableStream(A)||isWebReadableStream(A)}function isBlob(A){return typeof A.stream==="function"}},53918:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentHeaderName=getUserAgentHeaderName;d.getUserAgentValue=getUserAgentValue;const C=p(46181);const S=p(35124);function getUserAgentString(A){const d=[];for(const[p,C]of A){const A=C?`${p}/${C}`:p;d.push(A)}return d.join(" ")}function getUserAgentHeaderName(){return(0,C.getHeaderName)()}async function getUserAgentValue(A){const d=new Map;d.set("ts-http-runtime",S.SDK_VERSION);await(0,C.setPlatformSpecificData)(d);const p=getUserAgentString(d);const v=A?`${A} ${p}`:p;return v}},46181:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHeaderName=getHeaderName;d.setPlatformSpecificData=setPlatformSpecificData;const C=p(67892);const S=C.__importDefault(p(48161));const v=C.__importDefault(p(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(A){if(v.default&&v.default.versions){const d=`${S.default.type()} ${S.default.release()}; ${S.default.arch()}`;const p=v.default.versions;if(p.bun){A.set("Bun",`${p.bun} (${d})`)}else if(p.deno){A.set("Deno",`${p.deno} (${d})`)}else if(p.node){A.set("Node",`${p.node} (${d})`)}}}},58066:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.randomUUID=randomUUID;function randomUUID(){return crypto.randomUUID()}},70104:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Glob=void 0;const C=p(76362);const S=p(73136);const v=p(82918);const T=p(42386);const _=p(74740);const V=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(A,d){if(!d)throw new TypeError("glob options required");this.withFileTypes=!!d.withFileTypes;this.signal=d.signal;this.follow=!!d.follow;this.dot=!!d.dot;this.dotRelative=!!d.dotRelative;this.nodir=!!d.nodir;this.mark=!!d.mark;if(!d.cwd){this.cwd=""}else if(d.cwd instanceof URL||d.cwd.startsWith("file://")){d.cwd=(0,S.fileURLToPath)(d.cwd)}this.cwd=d.cwd||"";this.root=d.root;this.magicalBraces=!!d.magicalBraces;this.nobrace=!!d.nobrace;this.noext=!!d.noext;this.realpath=!!d.realpath;this.absolute=d.absolute;this.includeChildMatches=d.includeChildMatches!==false;this.noglobstar=!!d.noglobstar;this.matchBase=!!d.matchBase;this.maxDepth=typeof d.maxDepth==="number"?d.maxDepth:Infinity;this.stat=!!d.stat;this.ignore=d.ignore;if(this.withFileTypes&&this.absolute!==undefined){throw new Error("cannot set absolute and withFileTypes:true")}if(typeof A==="string"){A=[A]}this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){A=A.map((A=>A.replace(/\\/g,"/")))}if(this.matchBase){if(d.noglobstar){throw new TypeError("base matching requires globstar")}A=A.map((A=>A.includes("/")?A:`./**/${A}`))}this.pattern=A;this.platform=d.platform||V;this.opts={...d,platform:this.platform};if(d.scurry){this.scurry=d.scurry;if(d.nocase!==undefined&&d.nocase!==d.scurry.nocase){throw new Error("nocase option contradicts provided scurry option")}}else{const A=d.platform==="win32"?v.PathScurryWin32:d.platform==="darwin"?v.PathScurryDarwin:d.platform?v.PathScurryPosix:v.PathScurry;this.scurry=new A(this.cwd,{nocase:d.nocase,fs:d.fs})}this.nocase=this.scurry.nocase;const p=this.platform==="darwin"||this.platform==="win32";const _={...d,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:p,nocomment:true,noext:this.noext,nonegate:true,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug};const Z=this.pattern.map((A=>new C.Minimatch(A,_)));const[ee,te]=Z.reduce(((A,d)=>{A[0].push(...d.set);A[1].push(...d.globParts);return A}),[[],[]]);this.patterns=ee.map(((A,d)=>{const p=te[d];if(!p)throw new Error("invalid pattern object");return new T.Pattern(A,p,0,this.platform)}))}async walk(){return[...await new _.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 _.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 _.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 _.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()}}d.Glob=Glob},79362:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.hasMagic=void 0;const C=p(76362);const hasMagic=(A,d={})=>{if(!Array.isArray(A)){A=[A]}for(const p of A){if(new C.Minimatch(p,d).hasMagic())return true}return false};d.hasMagic=hasMagic},29920:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Ignore=void 0;const C=p(76362);const S=p(42386);const v=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Ignore{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(A,{nobrace:d,nocase:p,noext:C,noglobstar:S,platform:T=v}){this.relative=[];this.absolute=[];this.relativeChildren=[];this.absoluteChildren=[];this.platform=T;this.mmopts={dot:true,nobrace:d,nocase:p,noext:C,noglobstar:S,optimizationLevel:2,platform:T,nocomment:true,nonegate:true};for(const d of A)this.add(d)}add(A){const d=new C.Minimatch(A,this.mmopts);for(let A=0;A<d.set.length;A++){const p=d.set[A];const v=d.globParts[A];if(!p||!v){throw new Error("invalid pattern object")}while(p[0]==="."&&v[0]==="."){p.shift();v.shift()}const T=new S.Pattern(p,v,0,this.platform);const _=new C.Minimatch(T.globString(),this.mmopts);const V=v[v.length-1]==="**";const Z=T.isAbsolute();if(Z)this.absolute.push(_);else this.relative.push(_);if(V){if(Z)this.absoluteChildren.push(_);else this.relativeChildren.push(_)}}}ignored(A){const d=A.fullpath();const p=`${d}/`;const C=A.relative()||".";const S=`${C}/`;for(const A of this.relative){if(A.match(C)||A.match(S))return true}for(const A of this.absolute){if(A.match(d)||A.match(p))return true}return false}childrenIgnored(A){const d=A.fullpath()+"/";const p=(A.relative()||".")+"/";for(const A of this.relativeChildren){if(A.match(p))return true}for(const A of this.absoluteChildren){if(A.match(d))return true}return false}}d.Ignore=Ignore},91768:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.glob=d.sync=d.iterate=d.iterateSync=d.stream=d.streamSync=d.Ignore=d.hasMagic=d.Glob=d.unescape=d.escape=void 0;d.globStreamSync=globStreamSync;d.globStream=globStream;d.globSync=globSync;d.globIterateSync=globIterateSync;d.globIterate=globIterate;const C=p(76362);const S=p(70104);const v=p(79362);var T=p(76362);Object.defineProperty(d,"escape",{enumerable:true,get:function(){return T.escape}});Object.defineProperty(d,"unescape",{enumerable:true,get:function(){return T.unescape}});var _=p(70104);Object.defineProperty(d,"Glob",{enumerable:true,get:function(){return _.Glob}});var V=p(79362);Object.defineProperty(d,"hasMagic",{enumerable:true,get:function(){return V.hasMagic}});var Z=p(29920);Object.defineProperty(d,"Ignore",{enumerable:true,get:function(){return Z.Ignore}});function globStreamSync(A,d={}){return new S.Glob(A,d).streamSync()}function globStream(A,d={}){return new S.Glob(A,d).stream()}function globSync(A,d={}){return new S.Glob(A,d).walkSync()}async function glob_(A,d={}){return new S.Glob(A,d).walk()}function globIterateSync(A,d={}){return new S.Glob(A,d).iterateSync()}function globIterate(A,d={}){return new S.Glob(A,d).iterate()}d.streamSync=globStreamSync;d.stream=Object.assign(globStream,{sync:globStreamSync});d.iterateSync=globIterateSync;d.iterate=Object.assign(globIterate,{sync:globIterateSync});d.sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync});d.glob=Object.assign(glob_,{glob:glob_,globSync:globSync,sync:d.sync,globStream:globStream,stream:d.stream,globStreamSync:globStreamSync,streamSync:d.streamSync,globIterate:globIterate,iterate:d.iterate,globIterateSync:globIterateSync,iterateSync:d.iterateSync,Glob:S.Glob,hasMagic:v.hasMagic,escape:C.escape,unescape:C.unescape});d.glob.glob=d.glob},42386:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Pattern=void 0;const C=p(76362);const isPatternList=A=>A.length>=1;const isGlobList=A=>A.length>=1;class Pattern{#P;#k;#O;length;#F;#L;#M;#U;#H;#G;#q=true;constructor(A,d,p,C){if(!isPatternList(A)){throw new TypeError("empty pattern list")}if(!isGlobList(d)){throw new TypeError("empty glob list")}if(d.length!==A.length){throw new TypeError("mismatched pattern list and glob list lengths")}this.length=A.length;if(p<0||p>=this.length){throw new TypeError("index out of range")}this.#P=A;this.#k=d;this.#O=p;this.#F=C;if(this.#O===0){if(this.isUNC()){const[A,d,p,C,...S]=this.#P;const[v,T,_,V,...Z]=this.#k;if(S[0]===""){S.shift();Z.shift()}const ee=[A,d,p,C,""].join("/");const te=[v,T,_,V,""].join("/");this.#P=[ee,...S];this.#k=[te,...Z];this.length=this.#P.length}else if(this.isDrive()||this.isAbsolute()){const[A,...d]=this.#P;const[p,...C]=this.#k;if(d[0]===""){d.shift();C.shift()}const S=A+"/";const v=p+"/";this.#P=[S,...d];this.#k=[v,...C];this.length=this.#P.length}}}pattern(){return this.#P[this.#O]}isString(){return typeof this.#P[this.#O]==="string"}isGlobstar(){return this.#P[this.#O]===C.GLOBSTAR}isRegExp(){return this.#P[this.#O]instanceof RegExp}globString(){return this.#M=this.#M||(this.#O===0?this.isAbsolute()?this.#k[0]+this.#k.slice(1).join("/"):this.#k.join("/"):this.#k.slice(this.#O).join("/"))}hasMore(){return this.length>this.#O+1}rest(){if(this.#L!==undefined)return this.#L;if(!this.hasMore())return this.#L=null;this.#L=new Pattern(this.#P,this.#k,this.#O+1,this.#F);this.#L.#G=this.#G;this.#L.#H=this.#H;this.#L.#U=this.#U;return this.#L}isUNC(){const A=this.#P;return this.#H!==undefined?this.#H:this.#H=this.#F==="win32"&&this.#O===0&&A[0]===""&&A[1]===""&&typeof A[2]==="string"&&!!A[2]&&typeof A[3]==="string"&&!!A[3]}isDrive(){const A=this.#P;return this.#U!==undefined?this.#U:this.#U=this.#F==="win32"&&this.#O===0&&this.length>1&&typeof A[0]==="string"&&/^[a-z]:$/i.test(A[0])}isAbsolute(){const A=this.#P;return this.#G!==undefined?this.#G:this.#G=A[0]===""&&A.length>1||this.isDrive()||this.isUNC()}root(){const A=this.#P[0];return typeof A==="string"&&this.isAbsolute()&&this.#O===0?A:""}checkFollowGlobstar(){return!(this.#O===0||!this.isGlobstar()||!this.#q)}markFollowGlobstar(){if(this.#O===0||!this.isGlobstar()||!this.#q)return false;this.#q=false;return true}}d.Pattern=Pattern},7612:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Processor=d.SubWalks=d.MatchRecord=d.HasWalkedCache=void 0;const C=p(76362);class HasWalkedCache{store;constructor(A=new Map){this.store=A}copy(){return new HasWalkedCache(new Map(this.store))}hasWalked(A,d){return this.store.get(A.fullpath())?.has(d.globString())}storeWalked(A,d){const p=A.fullpath();const C=this.store.get(p);if(C)C.add(d.globString());else this.store.set(p,new Set([d.globString()]))}}d.HasWalkedCache=HasWalkedCache;class MatchRecord{store=new Map;add(A,d,p){const C=(d?2:0)|(p?1:0);const S=this.store.get(A);this.store.set(A,S===undefined?C:C&S)}entries(){return[...this.store.entries()].map((([A,d])=>[A,!!(d&2),!!(d&1)]))}}d.MatchRecord=MatchRecord;class SubWalks{store=new Map;add(A,d){if(!A.canReaddir()){return}const p=this.store.get(A);if(p){if(!p.find((A=>A.globString()===d.globString()))){p.push(d)}}else this.store.set(A,[d])}get(A){const d=this.store.get(A);if(!d){throw new Error("attempting to walk unknown path")}return d}entries(){return this.keys().map((A=>[A,this.store.get(A)]))}keys(){return[...this.store.keys()].filter((A=>A.canReaddir()))}}d.SubWalks=SubWalks;class Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(A,d){this.opts=A;this.follow=!!A.follow;this.dot=!!A.dot;this.hasWalkedCache=d?d.copy():new HasWalkedCache}processPatterns(A,d){this.patterns=d;const p=d.map((d=>[A,d]));for(let[A,d]of p){this.hasWalkedCache.storeWalked(A,d);const p=d.root();const S=d.isAbsolute()&&this.opts.absolute!==false;if(p){A=A.resolve(p==="/"&&this.opts.root!==undefined?this.opts.root:p);const C=d.rest();if(!C){this.matches.add(A,true,false);continue}else{d=C}}if(A.isENOENT())continue;let v;let T;let _=false;while(typeof(v=d.pattern())==="string"&&(T=d.rest())){const p=A.resolve(v);A=p;d=T;_=true}v=d.pattern();T=d.rest();if(_){if(this.hasWalkedCache.hasWalked(A,d))continue;this.hasWalkedCache.storeWalked(A,d)}if(typeof v==="string"){const d=v===".."||v===""||v===".";this.matches.add(A.resolve(v),S,d);continue}else if(v===C.GLOBSTAR){if(!A.isSymbolicLink()||this.follow||d.checkFollowGlobstar()){this.subwalks.add(A,d)}const p=T?.pattern();const C=T?.rest();if(!T||(p===""||p===".")&&!C){this.matches.add(A,S,p===""||p===".")}else{if(p===".."){const d=A.parent||A;if(!C)this.matches.add(d,S,true);else if(!this.hasWalkedCache.hasWalked(d,C)){this.subwalks.add(d,C)}}}}else if(v instanceof RegExp){this.subwalks.add(A,d)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Processor(this.opts,this.hasWalkedCache)}filterEntries(A,d){const p=this.subwalks.get(A);const S=this.child();for(const A of d){for(const d of p){const p=d.isAbsolute();const v=d.pattern();const T=d.rest();if(v===C.GLOBSTAR){S.testGlobstar(A,d,T,p)}else if(v instanceof RegExp){S.testRegExp(A,v,T,p)}else{S.testString(A,v,T,p)}}}return S}testGlobstar(A,d,p,C){if(this.dot||!A.name.startsWith(".")){if(!d.hasMore()){this.matches.add(A,C,false)}if(A.canReaddir()){if(this.follow||!A.isSymbolicLink()){this.subwalks.add(A,d)}else if(A.isSymbolicLink()){if(p&&d.checkFollowGlobstar()){this.subwalks.add(A,p)}else if(d.markFollowGlobstar()){this.subwalks.add(A,d)}}}}if(p){const d=p.pattern();if(typeof d==="string"&&d!==".."&&d!==""&&d!=="."){this.testString(A,d,p.rest(),C)}else if(d===".."){const d=A.parent||A;this.subwalks.add(d,p)}else if(d instanceof RegExp){this.testRegExp(A,d,p.rest(),C)}}}testRegExp(A,d,p,C){if(!d.test(A.name))return;if(!p){this.matches.add(A,C,false)}else{this.subwalks.add(A,p)}}testString(A,d,p,C){if(!A.isNamed(d))return;if(!p){this.matches.add(A,C,false)}else{this.subwalks.add(A,p)}}}d.Processor=Processor},74740:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.GlobStream=d.GlobWalker=d.GlobUtil=void 0;const C=p(87874);const S=p(29920);const v=p(7612);const makeIgnore=(A,d)=>typeof A==="string"?new S.Ignore([A],d):Array.isArray(A)?new S.Ignore(A,d):A;class GlobUtil{path;patterns;opts;seen=new Set;paused=false;aborted=false;#j=[];#z;#V;signal;maxDepth;includeChildMatches;constructor(A,d,p){this.patterns=A;this.path=d;this.opts=p;this.#V=!p.posix&&p.platform==="win32"?"\\":"/";this.includeChildMatches=p.includeChildMatches!==false;if(p.ignore||!this.includeChildMatches){this.#z=makeIgnore(p.ignore??[],p);if(!this.includeChildMatches&&typeof this.#z.add!=="function"){const A="cannot ignore child matches, ignore lacks add() method.";throw new Error(A)}}this.maxDepth=p.maxDepth||Infinity;if(p.signal){this.signal=p.signal;this.signal.addEventListener("abort",(()=>{this.#j.length=0}))}}#W(A){return this.seen.has(A)||!!this.#z?.ignored?.(A)}#Y(A){return!!this.#z?.childrenIgnored?.(A)}pause(){this.paused=true}resume(){if(this.signal?.aborted)return;this.paused=false;let A=undefined;while(!this.paused&&(A=this.#j.shift())){A()}}onResume(A){if(this.signal?.aborted)return;if(!this.paused){A()}else{this.#j.push(A)}}async matchCheck(A,d){if(d&&this.opts.nodir)return undefined;let p;if(this.opts.realpath){p=A.realpathCached()||await A.realpath();if(!p)return undefined;A=p}const C=A.isUnknown()||this.opts.stat;const S=C?await A.lstat():A;if(this.opts.follow&&this.opts.nodir&&S?.isSymbolicLink()){const A=await S.realpath();if(A&&(A.isUnknown()||this.opts.stat)){await A.lstat()}}return this.matchCheckTest(S,d)}matchCheckTest(A,d){return A&&(this.maxDepth===Infinity||A.depth()<=this.maxDepth)&&(!d||A.canReaddir())&&(!this.opts.nodir||!A.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!A.isSymbolicLink()||!A.realpathCached()?.isDirectory())&&!this.#W(A)?A:undefined}matchCheckSync(A,d){if(d&&this.opts.nodir)return undefined;let p;if(this.opts.realpath){p=A.realpathCached()||A.realpathSync();if(!p)return undefined;A=p}const C=A.isUnknown()||this.opts.stat;const S=C?A.lstatSync():A;if(this.opts.follow&&this.opts.nodir&&S?.isSymbolicLink()){const A=S.realpathSync();if(A&&(A?.isUnknown()||this.opts.stat)){A.lstatSync()}}return this.matchCheckTest(S,d)}matchFinish(A,d){if(this.#W(A))return;if(!this.includeChildMatches&&this.#z?.add){const d=`${A.relativePosix()}/**`;this.#z.add(d)}const p=this.opts.absolute===undefined?d:this.opts.absolute;this.seen.add(A);const C=this.opts.mark&&A.isDirectory()?this.#V:"";if(this.opts.withFileTypes){this.matchEmit(A)}else if(p){const d=this.opts.posix?A.fullpathPosix():A.fullpath();this.matchEmit(d+C)}else{const d=this.opts.posix?A.relativePosix():A.relative();const p=this.opts.dotRelative&&!d.startsWith(".."+this.#V)?"."+this.#V:"";this.matchEmit(!d?"."+C:p+d+C)}}async match(A,d,p){const C=await this.matchCheck(A,p);if(C)this.matchFinish(C,d)}matchSync(A,d,p){const C=this.matchCheckSync(A,p);if(C)this.matchFinish(C,d)}walkCB(A,d,p){if(this.signal?.aborted)p();this.walkCB2(A,d,new v.Processor(this.opts),p)}walkCB2(A,d,p,C){if(this.#Y(A))return C();if(this.signal?.aborted)C();if(this.paused){this.onResume((()=>this.walkCB2(A,d,p,C)));return}p.processPatterns(A,d);let S=1;const next=()=>{if(--S===0)C()};for(const[A,d,C]of p.matches.entries()){if(this.#W(A))continue;S++;this.match(A,d,C).then((()=>next()))}for(const A of p.subwalkTargets()){if(this.maxDepth!==Infinity&&A.depth()>=this.maxDepth){continue}S++;const d=A.readdirCached();if(A.calledReaddir())this.walkCB3(A,d,p,next);else{A.readdirCB(((d,C)=>this.walkCB3(A,C,p,next)),true)}}next()}walkCB3(A,d,p,C){p=p.filterEntries(A,d);let S=1;const next=()=>{if(--S===0)C()};for(const[A,d,C]of p.matches.entries()){if(this.#W(A))continue;S++;this.match(A,d,C).then((()=>next()))}for(const[A,d]of p.subwalks.entries()){S++;this.walkCB2(A,d,p.child(),next)}next()}walkCBSync(A,d,p){if(this.signal?.aborted)p();this.walkCB2Sync(A,d,new v.Processor(this.opts),p)}walkCB2Sync(A,d,p,C){if(this.#Y(A))return C();if(this.signal?.aborted)C();if(this.paused){this.onResume((()=>this.walkCB2Sync(A,d,p,C)));return}p.processPatterns(A,d);let S=1;const next=()=>{if(--S===0)C()};for(const[A,d,C]of p.matches.entries()){if(this.#W(A))continue;this.matchSync(A,d,C)}for(const A of p.subwalkTargets()){if(this.maxDepth!==Infinity&&A.depth()>=this.maxDepth){continue}S++;const d=A.readdirSync();this.walkCB3Sync(A,d,p,next)}next()}walkCB3Sync(A,d,p,C){p=p.filterEntries(A,d);let S=1;const next=()=>{if(--S===0)C()};for(const[A,d,C]of p.matches.entries()){if(this.#W(A))continue;this.matchSync(A,d,C)}for(const[A,d]of p.subwalks.entries()){S++;this.walkCB2Sync(A,d,p.child(),next)}next()}}d.GlobUtil=GlobUtil;class GlobWalker extends GlobUtil{matches=new Set;constructor(A,d,p){super(A,d,p)}matchEmit(A){this.matches.add(A)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){await this.path.lstat()}await new Promise(((A,d)=>{this.walkCB(this.path,this.patterns,(()=>{if(this.signal?.aborted){d(this.signal.reason)}else{A(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}}d.GlobWalker=GlobWalker;class GlobStream extends GlobUtil{results;constructor(A,d,p){super(A,d,p);this.results=new C.Minipass({signal:this.signal,objectMode:true});this.results.on("drain",(()=>this.resume()));this.results.on("resume",(()=>this.resume()))}matchEmit(A){this.results.write(A);if(!this.results.flowing)this.pause()}stream(){const A=this.path;if(A.isUnknown()){A.lstat().then((()=>{this.walkCB(A,this.patterns,(()=>this.results.end()))}))}else{this.walkCB(A,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}}d.GlobStream=GlobStream},23514:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.LRUCache=void 0;const p=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const C=new Set;const S=typeof process==="object"&&!!process?process:{};const emitWarning=(A,d,p,C)=>{typeof S.emitWarning==="function"?S.emitWarning(A,d,p,C):console.error(`[${p}] ${d}: ${A}`)};let v=globalThis.AbortController;let T=globalThis.AbortSignal;if(typeof v==="undefined"){T=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(A,d){this._onabort.push(d)}};v=class AbortController{constructor(){warnACPolyfill()}signal=new T;abort(A){if(this.signal.aborted)return;this.signal.reason=A;this.signal.aborted=true;for(const d of this.signal._onabort){d(A)}this.signal.onabort?.(A)}};let A=S.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!A)return;A=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=A=>!C.has(A);const _=Symbol("type");const isPosInt=A=>A&&A===Math.floor(A)&&A>0&&isFinite(A);const getUintArray=A=>!isPosInt(A)?null:A<=Math.pow(2,8)?Uint8Array:A<=Math.pow(2,16)?Uint16Array:A<=Math.pow(2,32)?Uint32Array:A<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(A){super(A);this.fill(0)}}class Stack{heap;length;static#J=false;static create(A){const d=getUintArray(A);if(!d)return[];Stack.#J=true;const p=new Stack(A,d);Stack.#J=false;return p}constructor(A,d){if(!Stack.#J){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new d(A);this.length=0}push(A){this.heap[this.length++]=A}pop(){return this.heap[--this.length]}}class LRUCache{#$;#K;#X;#Z;#ee;#te;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#re;#ne;#ie;#se;#oe;#ae;#le;#ce;#ue;#Ae;#de;#pe;#fe;#he;#ge;#me;#ye;static unsafeExposeInternals(A){return{starts:A.#fe,ttls:A.#he,sizes:A.#pe,keyMap:A.#ie,keyList:A.#se,valList:A.#oe,next:A.#ae,prev:A.#le,get head(){return A.#ce},get tail(){return A.#ue},free:A.#Ae,isBackgroundFetch:d=>A.#Ee(d),backgroundFetch:(d,p,C,S)=>A.#be(d,p,C,S),moveToTail:d=>A.#Ce(d),indexes:d=>A.#Be(d),rindexes:d=>A.#Ie(d),isStale:d=>A.#Se(d)}}get max(){return this.#$}get maxSize(){return this.#K}get calculatedSize(){return this.#ne}get size(){return this.#re}get fetchMethod(){return this.#ee}get memoMethod(){return this.#te}get dispose(){return this.#X}get disposeAfter(){return this.#Z}constructor(A){const{max:d=0,ttl:p,ttlResolution:S=1,ttlAutopurge:v,updateAgeOnGet:T,updateAgeOnHas:_,allowStale:V,dispose:Z,disposeAfter:ee,noDisposeOnSet:te,noUpdateTTL:re,maxSize:ne=0,maxEntrySize:ie=0,sizeCalculation:se,fetchMethod:oe,memoMethod:ae,noDeleteOnFetchRejection:le,noDeleteOnStaleGet:ce,allowStaleOnFetchRejection:ue,allowStaleOnFetchAbort:Ae,ignoreFetchAbort:de}=A;if(d!==0&&!isPosInt(d)){throw new TypeError("max option must be a nonnegative integer")}const pe=d?getUintArray(d):Array;if(!pe){throw new Error("invalid max value: "+d)}this.#$=d;this.#K=ne;this.maxEntrySize=ie||this.#K;this.sizeCalculation=se;if(this.sizeCalculation){if(!this.#K&&!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(ae!==undefined&&typeof ae!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#te=ae;if(oe!==undefined&&typeof oe!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#ee=oe;this.#me=!!oe;this.#ie=new Map;this.#se=new Array(d).fill(undefined);this.#oe=new Array(d).fill(undefined);this.#ae=new pe(d);this.#le=new pe(d);this.#ce=0;this.#ue=0;this.#Ae=Stack.create(d);this.#re=0;this.#ne=0;if(typeof Z==="function"){this.#X=Z}if(typeof ee==="function"){this.#Z=ee;this.#de=[]}else{this.#Z=undefined;this.#de=undefined}this.#ge=!!this.#X;this.#ye=!!this.#Z;this.noDisposeOnSet=!!te;this.noUpdateTTL=!!re;this.noDeleteOnFetchRejection=!!le;this.allowStaleOnFetchRejection=!!ue;this.allowStaleOnFetchAbort=!!Ae;this.ignoreFetchAbort=!!de;if(this.maxEntrySize!==0){if(this.#K!==0){if(!isPosInt(this.#K)){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.#we()}this.allowStale=!!V;this.noDeleteOnStaleGet=!!ce;this.updateAgeOnGet=!!T;this.updateAgeOnHas=!!_;this.ttlResolution=isPosInt(S)||S===0?S:1;this.ttlAutopurge=!!v;this.ttl=p||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#Qe()}if(this.#$===0&&this.ttl===0&&this.#K===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#$&&!this.#K){const A="LRU_CACHE_UNBOUNDED";if(shouldWarn(A)){C.add(A);const d="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(d,"UnboundedCacheWarning",A,LRUCache)}}}getRemainingTTL(A){return this.#ie.has(A)?Infinity:0}#Qe(){const A=new ZeroArray(this.#$);const d=new ZeroArray(this.#$);this.#he=A;this.#fe=d;this.#ve=(C,S,v=p.now())=>{d[C]=S!==0?v:0;A[C]=S;if(S!==0&&this.ttlAutopurge){const A=setTimeout((()=>{if(this.#Se(C)){this.#Re(this.#se[C],"expire")}}),S+1);if(A.unref){A.unref()}}};this.#Ne=C=>{d[C]=A[C]!==0?p.now():0};this.#De=(p,S)=>{if(A[S]){const v=A[S];const T=d[S];if(!v||!T)return;p.ttl=v;p.start=T;p.now=C||getNow();const _=p.now-T;p.remainingTTL=v-_}};let C=0;const getNow=()=>{const A=p.now();if(this.ttlResolution>0){C=A;const d=setTimeout((()=>C=0),this.ttlResolution);if(d.unref){d.unref()}}return A};this.getRemainingTTL=p=>{const S=this.#ie.get(p);if(S===undefined){return 0}const v=A[S];const T=d[S];if(!v||!T){return Infinity}const _=(C||getNow())-T;return v-_};this.#Se=p=>{const S=d[p];const v=A[p];return!!v&&!!S&&(C||getNow())-S>v}}#Ne=()=>{};#De=()=>{};#ve=()=>{};#Se=()=>false;#we(){const A=new ZeroArray(this.#$);this.#ne=0;this.#pe=A;this.#xe=d=>{this.#ne-=A[d];A[d]=0};this.#Te=(A,d,p,C)=>{if(this.#Ee(d)){return 0}if(!isPosInt(p)){if(C){if(typeof C!=="function"){throw new TypeError("sizeCalculation must be a function")}p=C(d,A);if(!isPosInt(p)){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 p};this.#_e=(d,p,C)=>{A[d]=p;if(this.#K){const p=this.#K-A[d];while(this.#ne>p){this.#Pe(true)}}this.#ne+=A[d];if(C){C.entrySize=p;C.totalCalculatedSize=this.#ne}}}#xe=A=>{};#_e=(A,d,p)=>{};#Te=(A,d,p,C)=>{if(p||C){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#Be({allowStale:A=this.allowStale}={}){if(this.#re){for(let d=this.#ue;true;){if(!this.#ke(d)){break}if(A||!this.#Se(d)){yield d}if(d===this.#ce){break}else{d=this.#le[d]}}}}*#Ie({allowStale:A=this.allowStale}={}){if(this.#re){for(let d=this.#ce;true;){if(!this.#ke(d)){break}if(A||!this.#Se(d)){yield d}if(d===this.#ue){break}else{d=this.#ae[d]}}}}#ke(A){return A!==undefined&&this.#ie.get(this.#se[A])===A}*entries(){for(const A of this.#Be()){if(this.#oe[A]!==undefined&&this.#se[A]!==undefined&&!this.#Ee(this.#oe[A])){yield[this.#se[A],this.#oe[A]]}}}*rentries(){for(const A of this.#Ie()){if(this.#oe[A]!==undefined&&this.#se[A]!==undefined&&!this.#Ee(this.#oe[A])){yield[this.#se[A],this.#oe[A]]}}}*keys(){for(const A of this.#Be()){const d=this.#se[A];if(d!==undefined&&!this.#Ee(this.#oe[A])){yield d}}}*rkeys(){for(const A of this.#Ie()){const d=this.#se[A];if(d!==undefined&&!this.#Ee(this.#oe[A])){yield d}}}*values(){for(const A of this.#Be()){const d=this.#oe[A];if(d!==undefined&&!this.#Ee(this.#oe[A])){yield this.#oe[A]}}}*rvalues(){for(const A of this.#Ie()){const d=this.#oe[A];if(d!==undefined&&!this.#Ee(this.#oe[A])){yield this.#oe[A]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(A,d={}){for(const p of this.#Be()){const C=this.#oe[p];const S=this.#Ee(C)?C.__staleWhileFetching:C;if(S===undefined)continue;if(A(S,this.#se[p],this)){return this.get(this.#se[p],d)}}}forEach(A,d=this){for(const p of this.#Be()){const C=this.#oe[p];const S=this.#Ee(C)?C.__staleWhileFetching:C;if(S===undefined)continue;A.call(d,S,this.#se[p],this)}}rforEach(A,d=this){for(const p of this.#Ie()){const C=this.#oe[p];const S=this.#Ee(C)?C.__staleWhileFetching:C;if(S===undefined)continue;A.call(d,S,this.#se[p],this)}}purgeStale(){let A=false;for(const d of this.#Ie({allowStale:true})){if(this.#Se(d)){this.#Re(this.#se[d],"expire");A=true}}return A}info(A){const d=this.#ie.get(A);if(d===undefined)return undefined;const C=this.#oe[d];const S=this.#Ee(C)?C.__staleWhileFetching:C;if(S===undefined)return undefined;const v={value:S};if(this.#he&&this.#fe){const A=this.#he[d];const C=this.#fe[d];if(A&&C){const d=A-(p.now()-C);v.ttl=d;v.start=Date.now()}}if(this.#pe){v.size=this.#pe[d]}return v}dump(){const A=[];for(const d of this.#Be({allowStale:true})){const C=this.#se[d];const S=this.#oe[d];const v=this.#Ee(S)?S.__staleWhileFetching:S;if(v===undefined||C===undefined)continue;const T={value:v};if(this.#he&&this.#fe){T.ttl=this.#he[d];const A=p.now()-this.#fe[d];T.start=Math.floor(Date.now()-A)}if(this.#pe){T.size=this.#pe[d]}A.unshift([C,T])}return A}load(A){this.clear();for(const[d,C]of A){if(C.start){const A=Date.now()-C.start;C.start=p.now()-A}this.set(d,C.value,C)}}set(A,d,p={}){if(d===undefined){this.delete(A);return this}const{ttl:C=this.ttl,start:S,noDisposeOnSet:v=this.noDisposeOnSet,sizeCalculation:T=this.sizeCalculation,status:_}=p;let{noUpdateTTL:V=this.noUpdateTTL}=p;const Z=this.#Te(A,d,p.size||0,T);if(this.maxEntrySize&&Z>this.maxEntrySize){if(_){_.set="miss";_.maxEntrySizeExceeded=true}this.#Re(A,"set");return this}let ee=this.#re===0?undefined:this.#ie.get(A);if(ee===undefined){ee=this.#re===0?this.#ue:this.#Ae.length!==0?this.#Ae.pop():this.#re===this.#$?this.#Pe(false):this.#re;this.#se[ee]=A;this.#oe[ee]=d;this.#ie.set(A,ee);this.#ae[this.#ue]=ee;this.#le[ee]=this.#ue;this.#ue=ee;this.#re++;this.#_e(ee,Z,_);if(_)_.set="add";V=false}else{this.#Ce(ee);const p=this.#oe[ee];if(d!==p){if(this.#me&&this.#Ee(p)){p.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:d}=p;if(d!==undefined&&!v){if(this.#ge){this.#X?.(d,A,"set")}if(this.#ye){this.#de?.push([d,A,"set"])}}}else if(!v){if(this.#ge){this.#X?.(p,A,"set")}if(this.#ye){this.#de?.push([p,A,"set"])}}this.#xe(ee);this.#_e(ee,Z,_);this.#oe[ee]=d;if(_){_.set="replace";const A=p&&this.#Ee(p)?p.__staleWhileFetching:p;if(A!==undefined)_.oldValue=A}}else if(_){_.set="update"}}if(C!==0&&!this.#he){this.#Qe()}if(this.#he){if(!V){this.#ve(ee,C,S)}if(_)this.#De(_,ee)}if(!v&&this.#ye&&this.#de){const A=this.#de;let d;while(d=A?.shift()){this.#Z?.(...d)}}return this}pop(){try{while(this.#re){const A=this.#oe[this.#ce];this.#Pe(true);if(this.#Ee(A)){if(A.__staleWhileFetching){return A.__staleWhileFetching}}else if(A!==undefined){return A}}}finally{if(this.#ye&&this.#de){const A=this.#de;let d;while(d=A?.shift()){this.#Z?.(...d)}}}}#Pe(A){const d=this.#ce;const p=this.#se[d];const C=this.#oe[d];if(this.#me&&this.#Ee(C)){C.__abortController.abort(new Error("evicted"))}else if(this.#ge||this.#ye){if(this.#ge){this.#X?.(C,p,"evict")}if(this.#ye){this.#de?.push([C,p,"evict"])}}this.#xe(d);if(A){this.#se[d]=undefined;this.#oe[d]=undefined;this.#Ae.push(d)}if(this.#re===1){this.#ce=this.#ue=0;this.#Ae.length=0}else{this.#ce=this.#ae[d]}this.#ie.delete(p);this.#re--;return d}has(A,d={}){const{updateAgeOnHas:p=this.updateAgeOnHas,status:C}=d;const S=this.#ie.get(A);if(S!==undefined){const A=this.#oe[S];if(this.#Ee(A)&&A.__staleWhileFetching===undefined){return false}if(!this.#Se(S)){if(p){this.#Ne(S)}if(C){C.has="hit";this.#De(C,S)}return true}else if(C){C.has="stale";this.#De(C,S)}}else if(C){C.has="miss"}return false}peek(A,d={}){const{allowStale:p=this.allowStale}=d;const C=this.#ie.get(A);if(C===undefined||!p&&this.#Se(C)){return}const S=this.#oe[C];return this.#Ee(S)?S.__staleWhileFetching:S}#be(A,d,p,C){const S=d===undefined?undefined:this.#oe[d];if(this.#Ee(S)){return S}const T=new v;const{signal:_}=p;_?.addEventListener("abort",(()=>T.abort(_.reason)),{signal:T.signal});const V={signal:T.signal,options:p,context:C};const cb=(C,S=false)=>{const{aborted:v}=T.signal;const _=p.ignoreFetchAbort&&C!==undefined;if(p.status){if(v&&!S){p.status.fetchAborted=true;p.status.fetchError=T.signal.reason;if(_)p.status.fetchAbortIgnored=true}else{p.status.fetchResolved=true}}if(v&&!_&&!S){return fetchFail(T.signal.reason)}const ee=Z;if(this.#oe[d]===Z){if(C===undefined){if(ee.__staleWhileFetching){this.#oe[d]=ee.__staleWhileFetching}else{this.#Re(A,"fetch")}}else{if(p.status)p.status.fetchUpdated=true;this.set(A,C,V.options)}}return C};const eb=A=>{if(p.status){p.status.fetchRejected=true;p.status.fetchError=A}return fetchFail(A)};const fetchFail=C=>{const{aborted:S}=T.signal;const v=S&&p.allowStaleOnFetchAbort;const _=v||p.allowStaleOnFetchRejection;const V=_||p.noDeleteOnFetchRejection;const ee=Z;if(this.#oe[d]===Z){const p=!V||ee.__staleWhileFetching===undefined;if(p){this.#Re(A,"fetch")}else if(!v){this.#oe[d]=ee.__staleWhileFetching}}if(_){if(p.status&&ee.__staleWhileFetching!==undefined){p.status.returnedStale=true}return ee.__staleWhileFetching}else if(ee.__returned===ee){throw C}};const pcall=(d,C)=>{const v=this.#ee?.(A,S,V);if(v&&v instanceof Promise){v.then((A=>d(A===undefined?undefined:A)),C)}T.signal.addEventListener("abort",(()=>{if(!p.ignoreFetchAbort||p.allowStaleOnFetchAbort){d(undefined);if(p.allowStaleOnFetchAbort){d=A=>cb(A,true)}}}))};if(p.status)p.status.fetchDispatched=true;const Z=new Promise(pcall).then(cb,eb);const ee=Object.assign(Z,{__abortController:T,__staleWhileFetching:S,__returned:undefined});if(d===undefined){this.set(A,ee,{...V.options,status:undefined});d=this.#ie.get(A)}else{this.#oe[d]=ee}return ee}#Ee(A){if(!this.#me)return false;const d=A;return!!d&&d instanceof Promise&&d.hasOwnProperty("__staleWhileFetching")&&d.__abortController instanceof v}async fetch(A,d={}){const{allowStale:p=this.allowStale,updateAgeOnGet:C=this.updateAgeOnGet,noDeleteOnStaleGet:S=this.noDeleteOnStaleGet,ttl:v=this.ttl,noDisposeOnSet:T=this.noDisposeOnSet,size:_=0,sizeCalculation:V=this.sizeCalculation,noUpdateTTL:Z=this.noUpdateTTL,noDeleteOnFetchRejection:ee=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:te=this.allowStaleOnFetchRejection,ignoreFetchAbort:re=this.ignoreFetchAbort,allowStaleOnFetchAbort:ne=this.allowStaleOnFetchAbort,context:ie,forceRefresh:se=false,status:oe,signal:ae}=d;if(!this.#me){if(oe)oe.fetch="get";return this.get(A,{allowStale:p,updateAgeOnGet:C,noDeleteOnStaleGet:S,status:oe})}const le={allowStale:p,updateAgeOnGet:C,noDeleteOnStaleGet:S,ttl:v,noDisposeOnSet:T,size:_,sizeCalculation:V,noUpdateTTL:Z,noDeleteOnFetchRejection:ee,allowStaleOnFetchRejection:te,allowStaleOnFetchAbort:ne,ignoreFetchAbort:re,status:oe,signal:ae};let ce=this.#ie.get(A);if(ce===undefined){if(oe)oe.fetch="miss";const d=this.#be(A,ce,le,ie);return d.__returned=d}else{const d=this.#oe[ce];if(this.#Ee(d)){const A=p&&d.__staleWhileFetching!==undefined;if(oe){oe.fetch="inflight";if(A)oe.returnedStale=true}return A?d.__staleWhileFetching:d.__returned=d}const S=this.#Se(ce);if(!se&&!S){if(oe)oe.fetch="hit";this.#Ce(ce);if(C){this.#Ne(ce)}if(oe)this.#De(oe,ce);return d}const v=this.#be(A,ce,le,ie);const T=v.__staleWhileFetching!==undefined;const _=T&&p;if(oe){oe.fetch=S?"stale":"refresh";if(_&&S)oe.returnedStale=true}return _?v.__staleWhileFetching:v.__returned=v}}async forceFetch(A,d={}){const p=await this.fetch(A,d);if(p===undefined)throw new Error("fetch() returned undefined");return p}memo(A,d={}){const p=this.#te;if(!p){throw new Error("no memoMethod provided to constructor")}const{context:C,forceRefresh:S,...v}=d;const T=this.get(A,v);if(!S&&T!==undefined)return T;const _=p(A,T,{options:v,context:C});this.set(A,_,v);return _}get(A,d={}){const{allowStale:p=this.allowStale,updateAgeOnGet:C=this.updateAgeOnGet,noDeleteOnStaleGet:S=this.noDeleteOnStaleGet,status:v}=d;const T=this.#ie.get(A);if(T!==undefined){const d=this.#oe[T];const _=this.#Ee(d);if(v)this.#De(v,T);if(this.#Se(T)){if(v)v.get="stale";if(!_){if(!S){this.#Re(A,"expire")}if(v&&p)v.returnedStale=true;return p?d:undefined}else{if(v&&p&&d.__staleWhileFetching!==undefined){v.returnedStale=true}return p?d.__staleWhileFetching:undefined}}else{if(v)v.get="hit";if(_){return d.__staleWhileFetching}this.#Ce(T);if(C){this.#Ne(T)}return d}}else if(v){v.get="miss"}}#Oe(A,d){this.#le[d]=A;this.#ae[A]=d}#Ce(A){if(A!==this.#ue){if(A===this.#ce){this.#ce=this.#ae[A]}else{this.#Oe(this.#le[A],this.#ae[A])}this.#Oe(this.#ue,A);this.#ue=A}}delete(A){return this.#Re(A,"delete")}#Re(A,d){let p=false;if(this.#re!==0){const C=this.#ie.get(A);if(C!==undefined){p=true;if(this.#re===1){this.#Fe(d)}else{this.#xe(C);const p=this.#oe[C];if(this.#Ee(p)){p.__abortController.abort(new Error("deleted"))}else if(this.#ge||this.#ye){if(this.#ge){this.#X?.(p,A,d)}if(this.#ye){this.#de?.push([p,A,d])}}this.#ie.delete(A);this.#se[C]=undefined;this.#oe[C]=undefined;if(C===this.#ue){this.#ue=this.#le[C]}else if(C===this.#ce){this.#ce=this.#ae[C]}else{const A=this.#le[C];this.#ae[A]=this.#ae[C];const d=this.#ae[C];this.#le[d]=this.#le[C]}this.#re--;this.#Ae.push(C)}}}if(this.#ye&&this.#de?.length){const A=this.#de;let d;while(d=A?.shift()){this.#Z?.(...d)}}return p}clear(){return this.#Fe("delete")}#Fe(A){for(const d of this.#Ie({allowStale:true})){const p=this.#oe[d];if(this.#Ee(p)){p.__abortController.abort(new Error("deleted"))}else{const C=this.#se[d];if(this.#ge){this.#X?.(p,C,A)}if(this.#ye){this.#de?.push([p,C,A])}}}this.#ie.clear();this.#oe.fill(undefined);this.#se.fill(undefined);if(this.#he&&this.#fe){this.#he.fill(0);this.#fe.fill(0)}if(this.#pe){this.#pe.fill(0)}this.#ce=0;this.#ue=0;this.#Ae.length=0;this.#ne=0;this.#re=0;if(this.#ye&&this.#de){const A=this.#de;let d;while(d=A?.shift()){this.#Z?.(...d)}}}}d.LRUCache=LRUCache},21842:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertValidPattern=void 0;const p=1024*64;const assertValidPattern=A=>{if(typeof A!=="string"){throw new TypeError("invalid pattern")}if(A.length>p){throw new TypeError("pattern is too long")}};d.assertValidPattern=assertValidPattern},15778:(A,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AST=void 0;const C=p(66331);const S=p(96284);const v=new Set(["!","?","+","*","@"]);const isExtglobType=A=>v.has(A);const T="(?!(?:^|/)\\.\\.?(?:$|/))";const _="(?!\\.)";const V=new Set(["[","."]);const Z=new Set(["..","."]);const ee=new Set("().*{}+?[]^$\\!");const regExpEscape=A=>A.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const te="[^/]";const re=te+"*?";const ne=te+"+?";class AST{type;#Le;#Me;#Ue=false;#He=[];#Ge;#qe;#je;#ze=false;#Ve;#We;#Ye=false;constructor(A,d,p={}){this.type=A;if(A)this.#Me=true;this.#Ge=d;this.#Le=this.#Ge?this.#Ge.#Le:this;this.#Ve=this.#Le===this?p:this.#Le.#Ve;this.#je=this.#Le===this?[]:this.#Le.#je;if(A==="!"&&!this.#Le.#ze)this.#je.push(this);this.#qe=this.#Ge?this.#Ge.#He.length:0}get hasMagic(){if(this.#Me!==undefined)return this.#Me;for(const A of this.#He){if(typeof A==="string")continue;if(A.type||A.hasMagic)return this.#Me=true}return this.#Me}toString(){if(this.#We!==undefined)return this.#We;if(!this.type){return this.#We=this.#He.map((A=>String(A))).join("")}else{return this.#We=this.type+"("+this.#He.map((A=>String(A))).join("|")+")"}}#Je(){if(this!==this.#Le)throw new Error("should only call on root");if(this.#ze)return this;this.toString();this.#ze=true;let A;while(A=this.#je.pop()){if(A.type!=="!")continue;let d=A;let p=d.#Ge;while(p){for(let C=d.#qe+1;!p.type&&C<p.#He.length;C++){for(const d of A.#He){if(typeof d==="string"){throw new Error("string part in extglob AST??")}d.copyIn(p.#He[C])}}d=p;p=d.#Ge}}return this}push(...A){for(const d of A){if(d==="")continue;if(typeof d!=="string"&&!(d instanceof AST&&d.#Ge===this)){throw new Error("invalid part: "+d)}this.#He.push(d)}}toJSON(){const A=this.type===null?this.#He.slice().map((A=>typeof A==="string"?A:A.toJSON())):[this.type,...this.#He.map((A=>A.toJSON()))];if(this.isStart()&&!this.type)A.unshift([]);if(this.isEnd()&&(this===this.#Le||this.#Le.#ze&&this.#Ge?.type==="!")){A.push({})}return A}isStart(){if(this.#Le===this)return true;if(!this.#Ge?.isStart())return false;if(this.#qe===0)return true;const A=this.#Ge;for(let d=0;d<this.#qe;d++){const p=A.#He[d];if(!(p instanceof AST&&p.type==="!")){return false}}return true}isEnd(){if(this.#Le===this)return true;if(this.#Ge?.type==="!")return true;if(!this.#Ge?.isEnd())return false;if(!this.type)return this.#Ge?.isEnd();const A=this.#Ge?this.#Ge.#He.length:0;return this.#qe===A-1}copyIn(A){if(typeof A==="string")this.push(A);else this.push(A.clone(this))}clone(A){const d=new AST(this.type,A);for(const A of this.#He){d.copyIn(A)}return d}static#$e(A,d,p,C){let S=false;let v=false;let T=-1;let _=false;if(d.type===null){let V=p;let Z="";while(V<A.length){const p=A.charAt(V++);if(S||p==="\\"){S=!S;Z+=p;continue}if(v){if(V===T+1){if(p==="^"||p==="!"){_=true}}else if(p==="]"&&!(V===T+2&&_)){v=false}Z+=p;continue}else if(p==="["){v=true;T=V;_=false;Z+=p;continue}if(!C.noext&&isExtglobType(p)&&A.charAt(V)==="("){d.push(Z);Z="";const S=new AST(p,d);V=AST.#$e(A,S,V,C);d.push(S);continue}Z+=p}d.push(Z);return V}let V=p+1;let Z=new AST(null,d);const ee=[];let te="";while(V<A.length){const p=A.charAt(V++);if(S||p==="\\"){S=!S;te+=p;continue}if(v){if(V===T+1){if(p==="^"||p==="!"){_=true}}else if(p==="]"&&!(V===T+2&&_)){v=false}te+=p;continue}else if(p==="["){v=true;T=V;_=false;te+=p;continue}if(isExtglobType(p)&&A.charAt(V)==="("){Z.push(te);te="";const d=new AST(p,Z);Z.push(d);V=AST.#$e(A,d,V,C);continue}if(p==="|"){Z.push(te);te="";ee.push(Z);Z=new AST(null,d);continue}if(p===")"){if(te===""&&d.#He.length===0){d.#Ye=true}Z.push(te);te="";d.push(...ee,Z);return V}te+=p}d.type=null;d.#Me=undefined;d.#He=[A.substring(p-1)];return V}static fromGlob(A,d={}){const p=new AST(null,undefined,d);AST.#$e(A,p,0,d);return p}toMMPattern(){if(this!==this.#Le)return this.#Le.toMMPattern();const A=this.toString();const[d,p,C,S]=this.toRegExpSource();const v=C||this.#Me||this.#Ve.nocase&&!this.#Ve.nocaseMagicOnly&&A.toUpperCase()!==A.toLowerCase();if(!v){return p}const T=(this.#Ve.nocase?"i":"")+(S?"u":"");return Object.assign(new RegExp(`^${d}$`,T),{_src:d,_glob:A})}get options(){return this.#Ve}toRegExpSource(A){const d=A??!!this.#Ve.dot;if(this.#Le===this)this.#Je();if(!this.type){const p=this.isStart()&&this.isEnd();const C=this.#He.map((d=>{const[C,S,v,T]=typeof d==="string"?AST.#Ke(d,this.#Me,p):d.toRegExpSource(A);this.#Me=this.#Me||v;this.#Ue=this.#Ue||T;return C})).join("");let v="";if(this.isStart()){if(typeof this.#He[0]==="string"){const p=this.#He.length===1&&Z.has(this.#He[0]);if(!p){const p=V;const S=d&&p.has(C.charAt(0))||C.startsWith("\\.")&&p.has(C.charAt(2))||C.startsWith("\\.\\.")&&p.has(C.charAt(4));const Z=!d&&!A&&p.has(C.charAt(0));v=S?T:Z?_:""}}}let ee="";if(this.isEnd()&&this.#Le.#ze&&this.#Ge?.type==="!"){ee="(?:$|\\/)"}const te=v+C+ee;return[te,(0,S.unescape)(C),this.#Me=!!this.#Me,this.#Ue]}const p=this.type==="*"||this.type==="+";const C=this.type==="!"?"(?:(?!(?:":"(?:";let v=this.#Xe(d);if(this.isStart()&&this.isEnd()&&!v&&this.type!=="!"){const A=this.toString();this.#He=[A];this.type=null;this.#Me=undefined;return[A,(0,S.unescape)(this.toString()),false,false]}let ee=!p||A||d||!_?"":this.#Xe(true);if(ee===v){ee=""}if(ee){v=`(?:${v})(?:${ee})*?`}let te="";if(this.type==="!"&&this.#Ye){te=(this.isStart()&&!d?_:"")+ne}else{const p=this.type==="!"?"))"+(this.isStart()&&!d&&!A?_:"")+re+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&ee?")":this.type==="*"&&ee?`)?`:`)${this.type}`;te=C+v+p}return[te,(0,S.unescape)(v),this.#Me=!!this.#Me,this.#Ue]}#Xe(A){return this.#He.map((d=>{if(typeof d==="string"){throw new Error("string type in extglob ast??")}const[p,C,S,v]=d.toRegExpSource(A);this.#Ue=this.#Ue||v;return p})).filter((A=>!(this.isStart()&&this.isEnd())||!!A)).join("|")}static#Ke(A,d,p=false){let v=false;let T="";let _=false;for(let S=0;S<A.length;S++){const V=A.charAt(S);if(v){v=false;T+=(ee.has(V)?"\\":"")+V;continue}if(V==="\\"){if(S===A.length-1){T+="\\\\"}else{v=true}continue}if(V==="["){const[p,v,V,Z]=(0,C.parseClass)(A,S);if(V){T+=p;_=_||v;S+=V-1;d=d||Z;continue}}if(V==="*"){if(p&&A==="*")T+=ne;else T+=re;d=true;continue}if(V==="?"){T+=te;d=true;continue}T+=regExpEscape(V)}return[T,(0,S.unescape)(A),!!d,_]}}d.AST=AST},66331:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.parseClass=void 0;const p={"[: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=A=>A.replace(/[[\]\\-]/g,"\\$&");const regexpEscape=A=>A.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const rangesToString=A=>A.join("");const parseClass=(A,d)=>{const C=d;if(A.charAt(C)!=="["){throw new Error("not in a brace expression")}const S=[];const v=[];let T=C+1;let _=false;let V=false;let Z=false;let ee=false;let te=C;let re="";e:while(T<A.length){const d=A.charAt(T);if((d==="!"||d==="^")&&T===C+1){ee=true;T++;continue}if(d==="]"&&_&&!Z){te=T+1;break}_=true;if(d==="\\"){if(!Z){Z=true;T++;continue}}if(d==="["&&!Z){for(const[d,[_,Z,ee]]of Object.entries(p)){if(A.startsWith(d,T)){if(re){return["$.",false,A.length-C,true]}T+=d.length;if(ee)v.push(_);else S.push(_);V=V||Z;continue e}}}Z=false;if(re){if(d>re){S.push(braceEscape(re)+"-"+braceEscape(d))}else if(d===re){S.push(braceEscape(d))}re="";T++;continue}if(A.startsWith("-]",T+1)){S.push(braceEscape(d+"-"));T+=2;continue}if(A.startsWith("-",T+1)){re=d;T+=2;continue}S.push(braceEscape(d));T++}if(te<T){return["",false,0,false]}if(!S.length&&!v.length){return["$.",false,A.length-C,true]}if(v.length===0&&S.length===1&&/^\\?.$/.test(S[0])&&!ee){const A=S[0].length===2?S[0].slice(-1):S[0];return[regexpEscape(A),false,te-C,false]}const ne="["+(ee?"^":"")+rangesToString(S)+"]";const ie="["+(ee?"":"^")+rangesToString(v)+"]";const se=S.length&&v.length?"("+ne+"|"+ie+")":S.length?ne:ie;return[se,V,te-C,true]};d.parseClass=parseClass},98803:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.escape=void 0;const escape=(A,{windowsPathsNoEscape:d=false}={})=>d?A.replace(/[?*()[\]]/g,"[$&]"):A.replace(/[?*()[\]\\]/g,"\\$&");d.escape=escape},76362:function(A,d,p){var C=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.unescape=d.escape=d.AST=d.Minimatch=d.match=d.makeRe=d.braceExpand=d.defaults=d.filter=d.GLOBSTAR=d.sep=d.minimatch=void 0;const S=C(p(23033));const v=p(21842);const T=p(15778);const _=p(98803);const V=p(96284);const minimatch=(A,d,p={})=>{(0,v.assertValidPattern)(d);if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(A)};d.minimatch=minimatch;const Z=/^\*+([^+@!?\*\[\(]*)$/;const starDotExtTest=A=>d=>!d.startsWith(".")&&d.endsWith(A);const starDotExtTestDot=A=>d=>d.endsWith(A);const starDotExtTestNocase=A=>{A=A.toLowerCase();return d=>!d.startsWith(".")&&d.toLowerCase().endsWith(A)};const starDotExtTestNocaseDot=A=>{A=A.toLowerCase();return d=>d.toLowerCase().endsWith(A)};const ee=/^\*+\.\*+$/;const starDotStarTest=A=>!A.startsWith(".")&&A.includes(".");const starDotStarTestDot=A=>A!=="."&&A!==".."&&A.includes(".");const te=/^\.\*+$/;const dotStarTest=A=>A!=="."&&A!==".."&&A.startsWith(".");const re=/^\*+$/;const starTest=A=>A.length!==0&&!A.startsWith(".");const starTestDot=A=>A.length!==0&&A!=="."&&A!=="..";const ne=/^\?+([^+@!?\*\[\(]*)?$/;const qmarksTestNocase=([A,d=""])=>{const p=qmarksTestNoExt([A]);if(!d)return p;d=d.toLowerCase();return A=>p(A)&&A.toLowerCase().endsWith(d)};const qmarksTestNocaseDot=([A,d=""])=>{const p=qmarksTestNoExtDot([A]);if(!d)return p;d=d.toLowerCase();return A=>p(A)&&A.toLowerCase().endsWith(d)};const qmarksTestDot=([A,d=""])=>{const p=qmarksTestNoExtDot([A]);return!d?p:A=>p(A)&&A.endsWith(d)};const qmarksTest=([A,d=""])=>{const p=qmarksTestNoExt([A]);return!d?p:A=>p(A)&&A.endsWith(d)};const qmarksTestNoExt=([A])=>{const d=A.length;return A=>A.length===d&&!A.startsWith(".")};const qmarksTestNoExtDot=([A])=>{const d=A.length;return A=>A.length===d&&A!=="."&&A!==".."};const ie=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";const se={win32:{sep:"\\"},posix:{sep:"/"}};d.sep=ie==="win32"?se.win32.sep:se.posix.sep;d.minimatch.sep=d.sep;d.GLOBSTAR=Symbol("globstar **");d.minimatch.GLOBSTAR=d.GLOBSTAR;const oe="[^/]";const ae=oe+"*?";const le="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const ce="(?:(?!(?:\\/|^)\\.).)*?";const filter=(A,p={})=>C=>(0,d.minimatch)(C,A,p);d.filter=filter;d.minimatch.filter=d.filter;const ext=(A,d={})=>Object.assign({},A,d);const defaults=A=>{if(!A||typeof A!=="object"||!Object.keys(A).length){return d.minimatch}const p=d.minimatch;const m=(d,C,S={})=>p(d,C,ext(A,S));return Object.assign(m,{Minimatch:class Minimatch extends p.Minimatch{constructor(d,p={}){super(d,ext(A,p))}static defaults(d){return p.defaults(ext(A,d)).Minimatch}},AST:class AST extends p.AST{constructor(d,p,C={}){super(d,p,ext(A,C))}static fromGlob(d,C={}){return p.AST.fromGlob(d,ext(A,C))}},unescape:(d,C={})=>p.unescape(d,ext(A,C)),escape:(d,C={})=>p.escape(d,ext(A,C)),filter:(d,C={})=>p.filter(d,ext(A,C)),defaults:d=>p.defaults(ext(A,d)),makeRe:(d,C={})=>p.makeRe(d,ext(A,C)),braceExpand:(d,C={})=>p.braceExpand(d,ext(A,C)),match:(d,C,S={})=>p.match(d,C,ext(A,S)),sep:p.sep,GLOBSTAR:d.GLOBSTAR})};d.defaults=defaults;d.minimatch.defaults=d.defaults;const braceExpand=(A,d={})=>{(0,v.assertValidPattern)(A);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(A)){return[A]}return(0,S.default)(A)};d.braceExpand=braceExpand;d.minimatch.braceExpand=d.braceExpand;const makeRe=(A,d={})=>new Minimatch(A,d).makeRe();d.makeRe=makeRe;d.minimatch.makeRe=d.makeRe;const match=(A,d,p={})=>{const C=new Minimatch(d,p);A=A.filter((A=>C.match(A)));if(C.options.nonull&&!A.length){A.push(d)}return A};d.match=match;d.minimatch.match=d.match;const ue=/[?*]|[+@!]\(.*?\)|\[|\]/;const regExpEscape=A=>A.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Minimatch{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(A,d={}){(0,v.assertValidPattern)(A);d=d||{};this.options=d;this.pattern=A;this.platform=d.platform||ie;this.isWindows=this.platform==="win32";this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.preserveMultipleSlashes=!!d.preserveMultipleSlashes;this.regexp=null;this.negate=false;this.nonegate=!!d.nonegate;this.comment=false;this.empty=false;this.partial=!!d.partial;this.nocase=!!this.options.nocase;this.windowsNoMagicRoot=d.windowsNoMagicRoot!==undefined?d.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 A of this.set){for(const d of A){if(typeof d!=="string")return true}}return false}debug(...A){}make(){const A=this.pattern;const d=this.options;if(!d.nocomment&&A.charAt(0)==="#"){this.comment=true;return}if(!A){this.empty=true;return}this.parseNegate();this.globSet=[...new Set(this.braceExpand())];if(d.debug){this.debug=(...A)=>console.error(...A)}this.debug(this.pattern,this.globSet);const p=this.globSet.map((A=>this.slashSplit(A)));this.globParts=this.preprocess(p);this.debug(this.pattern,this.globParts);let C=this.globParts.map(((A,d,p)=>{if(this.isWindows&&this.windowsNoMagicRoot){const d=A[0]===""&&A[1]===""&&(A[2]==="?"||!ue.test(A[2]))&&!ue.test(A[3]);const p=/^[a-z]:/i.test(A[0]);if(d){return[...A.slice(0,4),...A.slice(4).map((A=>this.parse(A)))]}else if(p){return[A[0],...A.slice(1).map((A=>this.parse(A)))]}}return A.map((A=>this.parse(A)))}));this.debug(this.pattern,C);this.set=C.filter((A=>A.indexOf(false)===-1));if(this.isWindows){for(let A=0;A<this.set.length;A++){const d=this.set[A];if(d[0]===""&&d[1]===""&&this.globParts[A][2]==="?"&&typeof d[3]==="string"&&/^[a-z]:$/i.test(d[3])){d[2]="?"}}}this.debug(this.pattern,this.set)}preprocess(A){if(this.options.noglobstar){for(let d=0;d<A.length;d++){for(let p=0;p<A[d].length;p++){if(A[d][p]==="**"){A[d][p]="*"}}}}const{optimizationLevel:d=1}=this.options;if(d>=2){A=this.firstPhasePreProcess(A);A=this.secondPhasePreProcess(A)}else if(d>=1){A=this.levelOneOptimize(A)}else{A=this.adjascentGlobstarOptimize(A)}return A}adjascentGlobstarOptimize(A){return A.map((A=>{let d=-1;while(-1!==(d=A.indexOf("**",d+1))){let p=d;while(A[p+1]==="**"){p++}if(p!==d){A.splice(d,p-d)}}return A}))}levelOneOptimize(A){return A.map((A=>{A=A.reduce(((A,d)=>{const p=A[A.length-1];if(d==="**"&&p==="**"){return A}if(d===".."){if(p&&p!==".."&&p!=="."&&p!=="**"){A.pop();return A}}A.push(d);return A}),[]);return A.length===0?[""]:A}))}levelTwoFileOptimize(A){if(!Array.isArray(A)){A=this.slashSplit(A)}let d=false;do{d=false;if(!this.preserveMultipleSlashes){for(let p=1;p<A.length-1;p++){const C=A[p];if(p===1&&C===""&&A[0]==="")continue;if(C==="."||C===""){d=true;A.splice(p,1);p--}}if(A[0]==="."&&A.length===2&&(A[1]==="."||A[1]==="")){d=true;A.pop()}}let p=0;while(-1!==(p=A.indexOf("..",p+1))){const C=A[p-1];if(C&&C!=="."&&C!==".."&&C!=="**"){d=true;A.splice(p-1,2);p-=2}}}while(d);return A.length===0?[""]:A}firstPhasePreProcess(A){let d=false;do{d=false;for(let p of A){let C=-1;while(-1!==(C=p.indexOf("**",C+1))){let S=C;while(p[S+1]==="**"){S++}if(S>C){p.splice(C+1,S-C)}let v=p[C+1];const T=p[C+2];const _=p[C+3];if(v!=="..")continue;if(!T||T==="."||T===".."||!_||_==="."||_===".."){continue}d=true;p.splice(C,1);const V=p.slice(0);V[C]="**";A.push(V);C--}if(!this.preserveMultipleSlashes){for(let A=1;A<p.length-1;A++){const C=p[A];if(A===1&&C===""&&p[0]==="")continue;if(C==="."||C===""){d=true;p.splice(A,1);A--}}if(p[0]==="."&&p.length===2&&(p[1]==="."||p[1]==="")){d=true;p.pop()}}let S=0;while(-1!==(S=p.indexOf("..",S+1))){const A=p[S-1];if(A&&A!=="."&&A!==".."&&A!=="**"){d=true;const A=S===1&&p[S+1]==="**";const C=A?["."]:[];p.splice(S-1,2,...C);if(p.length===0)p.push("");S-=2}}}}while(d);return A}secondPhasePreProcess(A){for(let d=0;d<A.length-1;d++){for(let p=d+1;p<A.length;p++){const C=this.partsMatch(A[d],A[p],!this.preserveMultipleSlashes);if(C){A[d]=[];A[p]=C;break}}}return A.filter((A=>A.length))}partsMatch(A,d,p=false){let C=0;let S=0;let v=[];let T="";while(C<A.length&&S<d.length){if(A[C]===d[S]){v.push(T==="b"?d[S]:A[C]);C++;S++}else if(p&&A[C]==="**"&&d[S]===A[C+1]){v.push(A[C]);C++}else if(p&&d[S]==="**"&&A[C]===d[S+1]){v.push(d[S]);S++}else if(A[C]==="*"&&d[S]&&(this.options.dot||!d[S].startsWith("."))&&d[S]!=="**"){if(T==="b")return false;T="a";v.push(A[C]);C++;S++}else if(d[S]==="*"&&A[C]&&(this.options.dot||!A[C].startsWith("."))&&A[C]!=="**"){if(T==="a")return false;T="b";v.push(d[S]);C++;S++}else{return false}}return A.length===d.length&&v}parseNegate(){if(this.nonegate)return;const A=this.pattern;let d=false;let p=0;for(let C=0;C<A.length&&A.charAt(C)==="!";C++){d=!d;p++}if(p)this.pattern=A.slice(p);this.negate=d}matchOne(A,p,C=false){const S=this.options;if(this.isWindows){const d=typeof A[0]==="string"&&/^[a-z]:$/i.test(A[0]);const C=!d&&A[0]===""&&A[1]===""&&A[2]==="?"&&/^[a-z]:$/i.test(A[3]);const S=typeof p[0]==="string"&&/^[a-z]:$/i.test(p[0]);const v=!S&&p[0]===""&&p[1]===""&&p[2]==="?"&&typeof p[3]==="string"&&/^[a-z]:$/i.test(p[3]);const T=C?3:d?0:undefined;const _=v?3:S?0:undefined;if(typeof T==="number"&&typeof _==="number"){const[d,C]=[A[T],p[_]];if(d.toLowerCase()===C.toLowerCase()){p[_]=d;if(_>T){p=p.slice(_)}else if(T>_){A=A.slice(T)}}}}const{optimizationLevel:v=1}=this.options;if(v>=2){A=this.levelTwoFileOptimize(A)}this.debug("matchOne",this,{file:A,pattern:p});this.debug("matchOne",A.length,p.length);for(var T=0,_=0,V=A.length,Z=p.length;T<V&&_<Z;T++,_++){this.debug("matchOne loop");var ee=p[_];var te=A[T];this.debug(p,ee,te);if(ee===false){return false}if(ee===d.GLOBSTAR){this.debug("GLOBSTAR",[p,ee,te]);var re=T;var ne=_+1;if(ne===Z){this.debug("** at the end");for(;T<V;T++){if(A[T]==="."||A[T]===".."||!S.dot&&A[T].charAt(0)===".")return false}return true}while(re<V){var ie=A[re];this.debug("\nglobstar while",A,re,p,ne,ie);if(this.matchOne(A.slice(re),p.slice(ne),C)){this.debug("globstar found match!",re,V,ie);return true}else{if(ie==="."||ie===".."||!S.dot&&ie.charAt(0)==="."){this.debug("dot detected!",A,re,p,ne);break}this.debug("globstar swallow a segment, and continue");re++}}if(C){this.debug("\n>>> no match, partial?",A,re,p,ne);if(re===V){return true}}return false}let v;if(typeof ee==="string"){v=te===ee;this.debug("string match",ee,te,v)}else{v=ee.test(te);this.debug("pattern match",ee,te,v)}if(!v)return false}if(T===V&&_===Z){return true}else if(T===V){return C}else if(_===Z){return T===V-1&&A[T]===""}else{throw new Error("wtf?")}}braceExpand(){return(0,d.braceExpand)(this.pattern,this.options)}parse(A){(0,v.assertValidPattern)(A);const p=this.options;if(A==="**")return d.GLOBSTAR;if(A==="")return"";let C;let S=null;if(C=A.match(re)){S=p.dot?starTestDot:starTest}else if(C=A.match(Z)){S=(p.nocase?p.dot?starDotExtTestNocaseDot:starDotExtTestNocase:p.dot?starDotExtTestDot:starDotExtTest)(C[1])}else if(C=A.match(ne)){S=(p.nocase?p.dot?qmarksTestNocaseDot:qmarksTestNocase:p.dot?qmarksTestDot:qmarksTest)(C)}else if(C=A.match(ee)){S=p.dot?starDotStarTestDot:starDotStarTest}else if(C=A.match(te)){S=dotStarTest}const _=T.AST.fromGlob(A,this.options).toMMPattern();if(S&&typeof _==="object"){Reflect.defineProperty(_,"test",{value:S})}return _}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const A=this.set;if(!A.length){this.regexp=false;return this.regexp}const p=this.options;const C=p.noglobstar?ae:p.dot?le:ce;const S=new Set(p.nocase?["i"]:[]);let v=A.map((A=>{const p=A.map((A=>{if(A instanceof RegExp){for(const d of A.flags.split(""))S.add(d)}return typeof A==="string"?regExpEscape(A):A===d.GLOBSTAR?d.GLOBSTAR:A._src}));p.forEach(((A,S)=>{const v=p[S+1];const T=p[S-1];if(A!==d.GLOBSTAR||T===d.GLOBSTAR){return}if(T===undefined){if(v!==undefined&&v!==d.GLOBSTAR){p[S+1]="(?:\\/|"+C+"\\/)?"+v}else{p[S]=C}}else if(v===undefined){p[S-1]=T+"(?:\\/|"+C+")?"}else if(v!==d.GLOBSTAR){p[S-1]=T+"(?:\\/|\\/"+C+"\\/)"+v;p[S+1]=d.GLOBSTAR}}));return p.filter((A=>A!==d.GLOBSTAR)).join("/")})).join("|");const[T,_]=A.length>1?["(?:",")"]:["",""];v="^"+T+v+_+"$";if(this.negate)v="^(?!"+v+").+$";try{this.regexp=new RegExp(v,[...S].join(""))}catch(A){this.regexp=false}return this.regexp}slashSplit(A){if(this.preserveMultipleSlashes){return A.split("/")}else if(this.isWindows&&/^\/\/[^\/]+/.test(A)){return["",...A.split(/\/+/)]}else{return A.split(/\/+/)}}match(A,d=this.partial){this.debug("match",A,this.pattern);if(this.comment){return false}if(this.empty){return A===""}if(A==="/"&&d){return true}const p=this.options;if(this.isWindows){A=A.split("\\").join("/")}const C=this.slashSplit(A);this.debug(this.pattern,"split",C);const S=this.set;this.debug(this.pattern,"set",S);let v=C[C.length-1];if(!v){for(let A=C.length-2;!v&&A>=0;A--){v=C[A]}}for(let A=0;A<S.length;A++){const T=S[A];let _=C;if(p.matchBase&&T.length===1){_=[v]}const V=this.matchOne(_,T,d);if(V){if(p.flipNegate){return true}return!this.negate}}if(p.flipNegate){return false}return this.negate}static defaults(A){return d.minimatch.defaults(A).Minimatch}}d.Minimatch=Minimatch;var Ae=p(15778);Object.defineProperty(d,"AST",{enumerable:true,get:function(){return Ae.AST}});var de=p(98803);Object.defineProperty(d,"escape",{enumerable:true,get:function(){return de.escape}});var pe=p(96284);Object.defineProperty(d,"unescape",{enumerable:true,get:function(){return pe.unescape}});d.minimatch.AST=T.AST;d.minimatch.Minimatch=Minimatch;d.minimatch.escape=_.escape;d.minimatch.unescape=V.unescape},96284:(A,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.unescape=void 0;const unescape=(A,{windowsPathsNoEscape:d=false}={})=>d?A.replace(/\[([^\/\\])\]/g,"$1"):A.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");d.unescape=unescape},87874:function(A,d,p){var C=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(d,"__esModule",{value:true});d.Minipass=d.isWritable=d.isReadable=d.isStream=void 0;const S=typeof process==="object"&&process?process:{stdout:null,stderr:null};const v=p(78474);const T=C(p(57075));const _=p(46193);const isStream=A=>!!A&&typeof A==="object"&&(A instanceof Minipass||A instanceof T.default||(0,d.isReadable)(A)||(0,d.isWritable)(A));d.isStream=isStream;const isReadable=A=>!!A&&typeof A==="object"&&A instanceof v.EventEmitter&&typeof A.pipe==="function"&&A.pipe!==T.default.Writable.prototype.pipe;d.isReadable=isReadable;const isWritable=A=>!!A&&typeof A==="object"&&A instanceof v.EventEmitter&&typeof A.write==="function"&&typeof A.end==="function";d.isWritable=isWritable;const V=Symbol("EOF");const Z=Symbol("maybeEmitEnd");const ee=Symbol("emittedEnd");const te=Symbol("emittingEnd");const re=Symbol("emittedError");const ne=Symbol("closed");const ie=Symbol("read");const se=Symbol("flush");const oe=Symbol("flushChunk");const ae=Symbol("encoding");const le=Symbol("decoder");const ce=Symbol("flowing");const ue=Symbol("paused");const Ae=Symbol("resume");const de=Symbol("buffer");const pe=Symbol("pipes");const fe=Symbol("bufferLength");const he=Symbol("bufferPush");const ge=Symbol("bufferShift");const me=Symbol("objectMode");const ye=Symbol("destroyed");const Ee=Symbol("error");const be=Symbol("emitData");const Ce=Symbol("emitEnd");const Be=Symbol("emitEnd2");const Ie=Symbol("async");const Se=Symbol("abort");const we=Symbol("aborted");const Qe=Symbol("signal");const ve=Symbol("dataListeners");const Re=Symbol("discarded");const defer=A=>Promise.resolve().then(A);const nodefer=A=>A();const isEndish=A=>A==="end"||A==="finish"||A==="prefinish";const isArrayBufferLike=A=>A instanceof ArrayBuffer||!!A&&typeof A==="object"&&A.constructor&&A.constructor.name==="ArrayBuffer"&&A.byteLength>=0;const isArrayBufferView=A=>!Buffer.isBuffer(A)&&ArrayBuffer.isView(A);class Pipe{src;dest;opts;ondrain;constructor(A,d,p){this.src=A;this.dest=d;this.opts=p;this.ondrain=()=>A[Ae]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(A){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(A,d,p){super(A,d,p);this.proxyErrors=A=>d.emit("error",A);A.on("error",this.proxyErrors)}}const isObjectModeOptions=A=>!!A.objectMode;const isEncodingOptions=A=>!A.objectMode&&!!A.encoding&&A.encoding!=="buffer";class Minipass extends v.EventEmitter{[ce]=false;[ue]=false;[pe]=[];[de]=[];[me];[ae];[Ie];[le];[V]=false;[ee]=false;[te]=false;[ne]=false;[re]=null;[fe]=0;[ye]=false;[Qe];[we]=false;[ve]=0;[Re]=false;writable=true;readable=true;constructor(...A){const d=A[0]||{};super();if(d.objectMode&&typeof d.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(d)){this[me]=true;this[ae]=null}else if(isEncodingOptions(d)){this[ae]=d.encoding;this[me]=false}else{this[me]=false;this[ae]=null}this[Ie]=!!d.async;this[le]=this[ae]?new _.StringDecoder(this[ae]):null;if(d&&d.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[de]})}if(d&&d.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[pe]})}const{signal:p}=d;if(p){this[Qe]=p;if(p.aborted){this[Se]()}else{p.addEventListener("abort",(()=>this[Se]()))}}}get bufferLength(){return this[fe]}get encoding(){return this[ae]}set encoding(A){throw new Error("Encoding must be set at instantiation time")}setEncoding(A){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[me]}set objectMode(A){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[Ie]}set["async"](A){this[Ie]=this[Ie]||!!A}[Se](){this[we]=true;this.emit("abort",this[Qe]?.reason);this.destroy(this[Qe]?.reason)}get aborted(){return this[we]}set aborted(A){}write(A,d,p){if(this[we])return false;if(this[V])throw new Error("write after end");if(this[ye]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof d==="function"){p=d;d="utf8"}if(!d)d="utf8";const C=this[Ie]?defer:nodefer;if(!this[me]&&!Buffer.isBuffer(A)){if(isArrayBufferView(A)){A=Buffer.from(A.buffer,A.byteOffset,A.byteLength)}else if(isArrayBufferLike(A)){A=Buffer.from(A)}else if(typeof A!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[me]){if(this[ce]&&this[fe]!==0)this[se](true);if(this[ce])this.emit("data",A);else this[he](A);if(this[fe]!==0)this.emit("readable");if(p)C(p);return this[ce]}if(!A.length){if(this[fe]!==0)this.emit("readable");if(p)C(p);return this[ce]}if(typeof A==="string"&&!(d===this[ae]&&!this[le]?.lastNeed)){A=Buffer.from(A,d)}if(Buffer.isBuffer(A)&&this[ae]){A=this[le].write(A)}if(this[ce]&&this[fe]!==0)this[se](true);if(this[ce])this.emit("data",A);else this[he](A);if(this[fe]!==0)this.emit("readable");if(p)C(p);return this[ce]}read(A){if(this[ye])return null;this[Re]=false;if(this[fe]===0||A===0||A&&A>this[fe]){this[Z]();return null}if(this[me])A=null;if(this[de].length>1&&!this[me]){this[de]=[this[ae]?this[de].join(""):Buffer.concat(this[de],this[fe])]}const d=this[ie](A||null,this[de][0]);this[Z]();return d}[ie](A,d){if(this[me])this[ge]();else{const p=d;if(A===p.length||A===null)this[ge]();else if(typeof p==="string"){this[de][0]=p.slice(A);d=p.slice(0,A);this[fe]-=A}else{this[de][0]=p.subarray(A);d=p.subarray(0,A);this[fe]-=A}}this.emit("data",d);if(!this[de].length&&!this[V])this.emit("drain");return d}end(A,d,p){if(typeof A==="function"){p=A;A=undefined}if(typeof d==="function"){p=d;d="utf8"}if(A!==undefined)this.write(A,d);if(p)this.once("end",p);this[V]=true;this.writable=false;if(this[ce]||!this[ue])this[Z]();return this}[Ae](){if(this[ye])return;if(!this[ve]&&!this[pe].length){this[Re]=true}this[ue]=false;this[ce]=true;this.emit("resume");if(this[de].length)this[se]();else if(this[V])this[Z]();else this.emit("drain")}resume(){return this[Ae]()}pause(){this[ce]=false;this[ue]=true;this[Re]=false}get destroyed(){return this[ye]}get flowing(){return this[ce]}get paused(){return this[ue]}[he](A){if(this[me])this[fe]+=1;else this[fe]+=A.length;this[de].push(A)}[ge](){if(this[me])this[fe]-=1;else this[fe]-=this[de][0].length;return this[de].shift()}[se](A=false){do{}while(this[oe](this[ge]())&&this[de].length);if(!A&&!this[de].length&&!this[V])this.emit("drain")}[oe](A){this.emit("data",A);return this[ce]}pipe(A,d){if(this[ye])return A;this[Re]=false;const p=this[ee];d=d||{};if(A===S.stdout||A===S.stderr)d.end=false;else d.end=d.end!==false;d.proxyErrors=!!d.proxyErrors;if(p){if(d.end)A.end()}else{this[pe].push(!d.proxyErrors?new Pipe(this,A,d):new PipeProxyErrors(this,A,d));if(this[Ie])defer((()=>this[Ae]()));else this[Ae]()}return A}unpipe(A){const d=this[pe].find((d=>d.dest===A));if(d){if(this[pe].length===1){if(this[ce]&&this[ve]===0){this[ce]=false}this[pe]=[]}else this[pe].splice(this[pe].indexOf(d),1);d.unpipe()}}addListener(A,d){return this.on(A,d)}on(A,d){const p=super.on(A,d);if(A==="data"){this[Re]=false;this[ve]++;if(!this[pe].length&&!this[ce]){this[Ae]()}}else if(A==="readable"&&this[fe]!==0){super.emit("readable")}else if(isEndish(A)&&this[ee]){super.emit(A);this.removeAllListeners(A)}else if(A==="error"&&this[re]){const A=d;if(this[Ie])defer((()=>A.call(this,this[re])));else A.call(this,this[re])}return p}removeListener(A,d){return this.off(A,d)}off(A,d){const p=super.off(A,d);if(A==="data"){this[ve]=this.listeners("data").length;if(this[ve]===0&&!this[Re]&&!this[pe].length){this[ce]=false}}return p}removeAllListeners(A){const d=super.removeAllListeners(A);if(A==="data"||A===undefined){this[ve]=0;if(!this[Re]&&!this[pe].length){this[ce]=false}}return d}get emittedEnd(){return this[ee]}[Z](){if(!this[te]&&!this[ee]&&!this[ye]&&this[de].length===0&&this[V]){this[te]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[ne])this.emit("close");this[te]=false}}emit(A,...d){const p=d[0];if(A!=="error"&&A!=="close"&&A!==ye&&this[ye]){return false}else if(A==="data"){return!this[me]&&!p?false:this[Ie]?(defer((()=>this[be](p))),true):this[be](p)}else if(A==="end"){return this[Ce]()}else if(A==="close"){this[ne]=true;if(!this[ee]&&!this[ye])return false;const A=super.emit("close");this.removeAllListeners("close");return A}else if(A==="error"){this[re]=p;super.emit(Ee,p);const A=!this[Qe]||this.listeners("error").length?super.emit("error",p):false;this[Z]();return A}else if(A==="resume"){const A=super.emit("resume");this[Z]();return A}else if(A==="finish"||A==="prefinish"){const d=super.emit(A);this.removeAllListeners(A);return d}const C=super.emit(A,...d);this[Z]();return C}[be](A){for(const d of this[pe]){if(d.dest.write(A)===false)this.pause()}const d=this[Re]?false:super.emit("data",A);this[Z]();return d}[Ce](){if(this[ee])return false;this[ee]=true;this.readable=false;return this[Ie]?(defer((()=>this[Be]())),true):this[Be]()}[Be](){if(this[le]){const A=this[le].end();if(A){for(const d of this[pe]){d.dest.write(A)}if(!this[Re])super.emit("data",A)}}for(const A of this[pe]){A.end()}const A=super.emit("end");this.removeAllListeners("end");return A}async collect(){const A=Object.assign([],{dataLength:0});if(!this[me])A.dataLength=0;const d=this.promise();this.on("data",(d=>{A.push(d);if(!this[me])A.dataLength+=d.length}));await d;return A}async concat(){if(this[me]){throw new Error("cannot concat in objectMode")}const A=await this.collect();return this[ae]?A.join(""):Buffer.concat(A,A.dataLength)}async promise(){return new Promise(((A,d)=>{this.on(ye,(()=>d(new Error("stream destroyed"))));this.on("error",(A=>d(A)));this.on("end",(()=>A()))}))}[Symbol.asyncIterator](){this[Re]=false;let A=false;const stop=async()=>{this.pause();A=true;return{value:undefined,done:true}};const next=()=>{if(A)return stop();const d=this.read();if(d!==null)return Promise.resolve({done:false,value:d});if(this[V])return stop();let p;let C;const onerr=A=>{this.off("data",ondata);this.off("end",onend);this.off(ye,ondestroy);stop();C(A)};const ondata=A=>{this.off("error",onerr);this.off("end",onend);this.off(ye,ondestroy);this.pause();p({value:A,done:!!this[V]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(ye,ondestroy);stop();p({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((A,d)=>{C=d;p=A;this.once(ye,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.iterator](){this[Re]=false;let A=false;const stop=()=>{this.pause();this.off(Ee,stop);this.off(ye,stop);this.off("end",stop);A=true;return{done:true,value:undefined}};const next=()=>{if(A)return stop();const d=this.read();return d===null?stop():{done:false,value:d}};this.once("end",stop);this.once(Ee,stop);this.once(ye,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(A){if(this[ye]){if(A)this.emit("error",A);else this.emit(ye);return this}this[ye]=true;this[Re]=true;this[de].length=0;this[fe]=0;const d=this;if(typeof d.close==="function"&&!this[ne])d.close();if(A)this.emit("error",A);else this.emit(ye);return this}static get isStream(){return d.isStream}}d.Minipass=Minipass},82918:function(A,d,p){var C=this&&this.__createBinding||(Object.create?function(A,d,p,C){if(C===undefined)C=p;var S=Object.getOwnPropertyDescriptor(d,p);if(!S||("get"in S?!d.__esModule:S.writable||S.configurable)){S={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(A,C,S)}:function(A,d,p,C){if(C===undefined)C=p;A[C]=d[p]});var S=this&&this.__setModuleDefault||(Object.create?function(A,d){Object.defineProperty(A,"default",{enumerable:true,value:d})}:function(A,d){A["default"]=d});var v=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var d={};if(A!=null)for(var p in A)if(p!=="default"&&Object.prototype.hasOwnProperty.call(A,p))C(d,A,p);S(d,A);return d};Object.defineProperty(d,"__esModule",{value:true});d.PathScurry=d.Path=d.PathScurryDarwin=d.PathScurryPosix=d.PathScurryWin32=d.PathScurryBase=d.PathPosix=d.PathWin32=d.PathBase=d.ChildrenCache=d.ResolveCache=void 0;const T=p(23514);const _=p(76760);const V=p(73136);const Z=p(79896);const ee=v(p(73024));const te=Z.realpathSync.native;const re=p(51455);const ne=p(87874);const ie={lstatSync:Z.lstatSync,readdir:Z.readdir,readdirSync:Z.readdirSync,readlinkSync:Z.readlinkSync,realpathSync:te,promises:{lstat:re.lstat,readdir:re.readdir,readlink:re.readlink,realpath:re.realpath}};const fsFromOption=A=>!A||A===ie||A===ee?ie:{...ie,...A,promises:{...ie.promises,...A.promises||{}}};const se=/^\\\\\?\\([a-z]:)\\?$/i;const uncToDrive=A=>A.replace(/\//g,"\\").replace(se,"$1\\");const oe=/[\\\/]/;const ae=0;const le=1;const ce=2;const ue=4;const Ae=6;const de=8;const pe=10;const fe=12;const he=15;const ge=~he;const me=16;const ye=32;const Ee=64;const be=128;const Ce=256;const Be=512;const Ie=Ee|be|Be;const Se=1023;const entToType=A=>A.isFile()?de:A.isDirectory()?ue:A.isSymbolicLink()?pe:A.isCharacterDevice()?ce:A.isBlockDevice()?Ae:A.isSocket()?fe:A.isFIFO()?le:ae;const we=new Map;const normalize=A=>{const d=we.get(A);if(d)return d;const p=A.normalize("NFKD");we.set(A,p);return p};const Qe=new Map;const normalizeNocase=A=>{const d=Qe.get(A);if(d)return d;const p=normalize(A.toLowerCase());Qe.set(A,p);return p};class ResolveCache extends T.LRUCache{constructor(){super({max:256})}}d.ResolveCache=ResolveCache;class ChildrenCache extends T.LRUCache{constructor(A=16*1024){super({maxSize:A,sizeCalculation:A=>A.length+1})}}d.ChildrenCache=ChildrenCache;const ve=Symbol("PathScurry setAsCwd");class PathBase{name;root;roots;parent;nocase;isCWD=false;#Ze;#et;get dev(){return this.#et}#tt;get mode(){return this.#tt}#rt;get nlink(){return this.#rt}#nt;get uid(){return this.#nt}#it;get gid(){return this.#it}#st;get rdev(){return this.#st}#ot;get blksize(){return this.#ot}#at;get ino(){return this.#at}#re;get size(){return this.#re}#lt;get blocks(){return this.#lt}#ct;get atimeMs(){return this.#ct}#ut;get mtimeMs(){return this.#ut}#At;get ctimeMs(){return this.#At}#dt;get birthtimeMs(){return this.#dt}#pt;get atime(){return this.#pt}#ft;get mtime(){return this.#ft}#ht;get ctime(){return this.#ht}#gt;get birthtime(){return this.#gt}#mt;#yt;#Et;#bt;#Ct;#Bt;#It;#St;#wt;#Qt;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(A,d=ae,p,C,S,v,T){this.name=A;this.#mt=S?normalizeNocase(A):normalize(A);this.#It=d&Se;this.nocase=S;this.roots=C;this.root=p||this;this.#St=v;this.#Et=T.fullpath;this.#Ct=T.relative;this.#Bt=T.relativePosix;this.parent=T.parent;if(this.parent){this.#Ze=this.parent.#Ze}else{this.#Ze=fsFromOption(T.fs)}}depth(){if(this.#yt!==undefined)return this.#yt;if(!this.parent)return this.#yt=0;return this.#yt=this.parent.depth()+1}childrenCache(){return this.#St}resolve(A){if(!A){return this}const d=this.getRootString(A);const p=A.substring(d.length);const C=p.split(this.splitSep);const S=d?this.getRoot(d).#vt(C):this.#vt(C);return S}#vt(A){let d=this;for(const p of A){d=d.child(p)}return d}children(){const A=this.#St.get(this);if(A){return A}const d=Object.assign([],{provisional:0});this.#St.set(this,d);this.#It&=~me;return d}child(A,d){if(A===""||A==="."){return this}if(A===".."){return this.parent||this}const p=this.children();const C=this.nocase?normalizeNocase(A):normalize(A);for(const A of p){if(A.#mt===C){return A}}const S=this.parent?this.sep:"";const v=this.#Et?this.#Et+S+A:undefined;const T=this.newChild(A,ae,{...d,parent:this,fullpath:v});if(!this.canReaddir()){T.#It|=be}p.push(T);return T}relative(){if(this.isCWD)return"";if(this.#Ct!==undefined){return this.#Ct}const A=this.name;const d=this.parent;if(!d){return this.#Ct=this.name}const p=d.relative();return p+(!p||!d.parent?"":this.sep)+A}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#Bt!==undefined)return this.#Bt;const A=this.name;const d=this.parent;if(!d){return this.#Bt=this.fullpathPosix()}const p=d.relativePosix();return p+(!p||!d.parent?"":"/")+A}fullpath(){if(this.#Et!==undefined){return this.#Et}const A=this.name;const d=this.parent;if(!d){return this.#Et=this.name}const p=d.fullpath();const C=p+(!d.parent?"":this.sep)+A;return this.#Et=C}fullpathPosix(){if(this.#bt!==undefined)return this.#bt;if(this.sep==="/")return this.#bt=this.fullpath();if(!this.parent){const A=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(A)){return this.#bt=`//?/${A}`}else{return this.#bt=A}}const A=this.parent;const d=A.fullpathPosix();const p=d+(!d||!A.parent?"":"/")+this.name;return this.#bt=p}isUnknown(){return(this.#It&he)===ae}isType(A){return this[`is${A}`]()}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.#It&he)===de}isDirectory(){return(this.#It&he)===ue}isCharacterDevice(){return(this.#It&he)===ce}isBlockDevice(){return(this.#It&he)===Ae}isFIFO(){return(this.#It&he)===le}isSocket(){return(this.#It&he)===fe}isSymbolicLink(){return(this.#It&pe)===pe}lstatCached(){return this.#It&ye?this:undefined}readlinkCached(){return this.#wt}realpathCached(){return this.#Qt}readdirCached(){const A=this.children();return A.slice(0,A.provisional)}canReadlink(){if(this.#wt)return true;if(!this.parent)return false;const A=this.#It&he;return!(A!==ae&&A!==pe||this.#It&Ce||this.#It&be)}calledReaddir(){return!!(this.#It&me)}isENOENT(){return!!(this.#It&be)}isNamed(A){return!this.nocase?this.#mt===normalize(A):this.#mt===normalizeNocase(A)}async readlink(){const A=this.#wt;if(A){return A}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const A=await this.#Ze.promises.readlink(this.fullpath());const d=(await this.parent.realpath())?.resolve(A);if(d){return this.#wt=d}}catch(A){this.#Rt(A.code);return undefined}}readlinkSync(){const A=this.#wt;if(A){return A}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const A=this.#Ze.readlinkSync(this.fullpath());const d=this.parent.realpathSync()?.resolve(A);if(d){return this.#wt=d}}catch(A){this.#Rt(A.code);return undefined}}#Nt(A){this.#It|=me;for(let d=A.provisional;d<A.length;d++){const p=A[d];if(p)p.#Dt()}}#Dt(){if(this.#It&be)return;this.#It=(this.#It|be)&ge;this.#xt()}#xt(){const A=this.children();A.provisional=0;for(const d of A){d.#Dt()}}#Tt(){this.#It|=Be;this.#_t()}#_t(){if(this.#It&Ee)return;let A=this.#It;if((A&he)===ue)A&=ge;this.#It=A|Ee;this.#xt()}#Pt(A=""){if(A==="ENOTDIR"||A==="EPERM"){this.#_t()}else if(A==="ENOENT"){this.#Dt()}else{this.children().provisional=0}}#kt(A=""){if(A==="ENOTDIR"){const A=this.parent;A.#_t()}else if(A==="ENOENT"){this.#Dt()}}#Rt(A=""){let d=this.#It;d|=Ce;if(A==="ENOENT")d|=be;if(A==="EINVAL"||A==="UNKNOWN"){d&=ge}this.#It=d;if(A==="ENOTDIR"&&this.parent){this.parent.#_t()}}#Ot(A,d){return this.#Ft(A,d)||this.#Lt(A,d)}#Lt(A,d){const p=entToType(A);const C=this.newChild(A.name,p,{parent:this});const S=C.#It&he;if(S!==ue&&S!==pe&&S!==ae){C.#It|=Ee}d.unshift(C);d.provisional++;return C}#Ft(A,d){for(let p=d.provisional;p<d.length;p++){const C=d[p];const S=this.nocase?normalizeNocase(A.name):normalize(A.name);if(S!==C.#mt){continue}return this.#Mt(A,C,p,d)}}#Mt(A,d,p,C){const S=d.name;d.#It=d.#It&ge|entToType(A);if(S!==A.name)d.name=A.name;if(p!==C.provisional){if(p===C.length-1)C.pop();else C.splice(p,1);C.unshift(d)}C.provisional++;return d}async lstat(){if((this.#It&be)===0){try{this.#Ut(await this.#Ze.promises.lstat(this.fullpath()));return this}catch(A){this.#kt(A.code)}}}lstatSync(){if((this.#It&be)===0){try{this.#Ut(this.#Ze.lstatSync(this.fullpath()));return this}catch(A){this.#kt(A.code)}}}#Ut(A){const{atime:d,atimeMs:p,birthtime:C,birthtimeMs:S,blksize:v,blocks:T,ctime:_,ctimeMs:V,dev:Z,gid:ee,ino:te,mode:re,mtime:ne,mtimeMs:ie,nlink:se,rdev:oe,size:le,uid:ce}=A;this.#pt=d;this.#ct=p;this.#gt=C;this.#dt=S;this.#ot=v;this.#lt=T;this.#ht=_;this.#At=V;this.#et=Z;this.#it=ee;this.#at=te;this.#tt=re;this.#ft=ne;this.#ut=ie;this.#rt=se;this.#st=oe;this.#re=le;this.#nt=ce;const Ae=entToType(A);this.#It=this.#It&ge|Ae|ye;if(Ae!==ae&&Ae!==ue&&Ae!==pe){this.#It|=Ee}}#Ht=[];#Gt=false;#qt(A){this.#Gt=false;const d=this.#Ht.slice();this.#Ht.length=0;d.forEach((d=>d(null,A)))}readdirCB(A,d=false){if(!this.canReaddir()){if(d)A(null,[]);else queueMicrotask((()=>A(null,[])));return}const p=this.children();if(this.calledReaddir()){const C=p.slice(0,p.provisional);if(d)A(null,C);else queueMicrotask((()=>A(null,C)));return}this.#Ht.push(A);if(this.#Gt){return}this.#Gt=true;const C=this.fullpath();this.#Ze.readdir(C,{withFileTypes:true},((A,d)=>{if(A){this.#Pt(A.code);p.provisional=0}else{for(const A of d){this.#Ot(A,p)}this.#Nt(p)}this.#qt(p.slice(0,p.provisional));return}))}#jt;async readdir(){if(!this.canReaddir()){return[]}const A=this.children();if(this.calledReaddir()){return A.slice(0,A.provisional)}const d=this.fullpath();if(this.#jt){await this.#jt}else{let resolve=()=>{};this.#jt=new Promise((A=>resolve=A));try{for(const p of await this.#Ze.promises.readdir(d,{withFileTypes:true})){this.#Ot(p,A)}this.#Nt(A)}catch(d){this.#Pt(d.code);A.provisional=0}this.#jt=undefined;resolve()}return A.slice(0,A.provisional)}readdirSync(){if(!this.canReaddir()){return[]}const A=this.children();if(this.calledReaddir()){return A.slice(0,A.provisional)}const d=this.fullpath();try{for(const p of this.#Ze.readdirSync(d,{withFileTypes:true})){this.#Ot(p,A)}this.#Nt(A)}catch(d){this.#Pt(d.code);A.provisional=0}return A.slice(0,A.provisional)}canReaddir(){if(this.#It&Ie)return false;const A=he&this.#It;if(!(A===ae||A===ue||A===pe)){return false}return true}shouldWalk(A,d){return(this.#It&ue)===ue&&!(this.#It&Ie)&&!A.has(this)&&(!d||d(this))}async realpath(){if(this.#Qt)return this.#Qt;if((Be|Ce|be)&this.#It)return undefined;try{const A=await this.#Ze.promises.realpath(this.fullpath());return this.#Qt=this.resolve(A)}catch(A){this.#Tt()}}realpathSync(){if(this.#Qt)return this.#Qt;if((Be|Ce|be)&this.#It)return undefined;try{const A=this.#Ze.realpathSync(this.fullpath());return this.#Qt=this.resolve(A)}catch(A){this.#Tt()}}[ve](A){if(A===this)return;A.isCWD=false;this.isCWD=true;const d=new Set([]);let p=[];let C=this;while(C&&C.parent){d.add(C);C.#Ct=p.join(this.sep);C.#Bt=p.join("/");C=C.parent;p.push("..")}C=A;while(C&&C.parent&&!d.has(C)){C.#Ct=undefined;C.#Bt=undefined;C=C.parent}}}d.PathBase=PathBase;class PathWin32 extends PathBase{sep="\\";splitSep=oe;constructor(A,d=ae,p,C,S,v,T){super(A,d,p,C,S,v,T)}newChild(A,d=ae,p={}){return new PathWin32(A,d,this.root,this.roots,this.nocase,this.childrenCache(),p)}getRootString(A){return _.win32.parse(A).root}getRoot(A){A=uncToDrive(A.toUpperCase());if(A===this.root.name){return this.root}for(const[d,p]of Object.entries(this.roots)){if(this.sameRoot(A,d)){return this.roots[A]=p}}return this.roots[A]=new PathScurryWin32(A,this).root}sameRoot(A,d=this.root.name){A=A.toUpperCase().replace(/\//g,"\\").replace(se,"$1\\");return A===d}}d.PathWin32=PathWin32;class PathPosix extends PathBase{splitSep="/";sep="/";constructor(A,d=ae,p,C,S,v,T){super(A,d,p,C,S,v,T)}getRootString(A){return A.startsWith("/")?"/":""}getRoot(A){return this.root}newChild(A,d=ae,p={}){return new PathPosix(A,d,this.root,this.roots,this.nocase,this.childrenCache(),p)}}d.PathPosix=PathPosix;class PathScurryBase{root;rootPath;roots;cwd;#zt;#Vt;#St;nocase;#Ze;constructor(A=process.cwd(),d,p,{nocase:C,childrenCacheSize:S=16*1024,fs:v=ie}={}){this.#Ze=fsFromOption(v);if(A instanceof URL||A.startsWith("file://")){A=(0,V.fileURLToPath)(A)}const T=d.resolve(A);this.roots=Object.create(null);this.rootPath=this.parseRootPath(T);this.#zt=new ResolveCache;this.#Vt=new ResolveCache;this.#St=new ChildrenCache(S);const _=T.substring(this.rootPath.length).split(p);if(_.length===1&&!_[0]){_.pop()}if(C===undefined){throw new TypeError("must provide nocase setting to PathScurryBase ctor")}this.nocase=C;this.root=this.newRoot(this.#Ze);this.roots[this.rootPath]=this.root;let Z=this.root;let ee=_.length-1;const te=d.sep;let re=this.rootPath;let ne=false;for(const A of _){const d=ee--;Z=Z.child(A,{relative:new Array(d).fill("..").join(te),relativePosix:new Array(d).fill("..").join("/"),fullpath:re+=(ne?"":te)+A});ne=true}this.cwd=Z}depth(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return A.depth()}childrenCache(){return this.#St}resolve(...A){let d="";for(let p=A.length-1;p>=0;p--){const C=A[p];if(!C||C===".")continue;d=d?`${C}/${d}`:C;if(this.isAbsolute(C)){break}}const p=this.#zt.get(d);if(p!==undefined){return p}const C=this.cwd.resolve(d).fullpath();this.#zt.set(d,C);return C}resolvePosix(...A){let d="";for(let p=A.length-1;p>=0;p--){const C=A[p];if(!C||C===".")continue;d=d?`${C}/${d}`:C;if(this.isAbsolute(C)){break}}const p=this.#Vt.get(d);if(p!==undefined){return p}const C=this.cwd.resolve(d).fullpathPosix();this.#Vt.set(d,C);return C}relative(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return A.relative()}relativePosix(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return A.relativePosix()}basename(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return A.name}dirname(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return(A.parent||A).fullpath()}async readdir(A=this.cwd,d={withFileTypes:true}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p}=d;if(!A.canReaddir()){return[]}else{const d=await A.readdir();return p?d:d.map((A=>A.name))}}readdirSync(A=this.cwd,d={withFileTypes:true}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p=true}=d;if(!A.canReaddir()){return[]}else if(p){return A.readdirSync()}else{return A.readdirSync().map((A=>A.name))}}async lstat(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return A.lstat()}lstatSync(A=this.cwd){if(typeof A==="string"){A=this.cwd.resolve(A)}return A.lstatSync()}async readlink(A=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A.withFileTypes;A=this.cwd}const p=await A.readlink();return d?p:p?.fullpath()}readlinkSync(A=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A.withFileTypes;A=this.cwd}const p=A.readlinkSync();return d?p:p?.fullpath()}async realpath(A=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A.withFileTypes;A=this.cwd}const p=await A.realpath();return d?p:p?.fullpath()}realpathSync(A=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A.withFileTypes;A=this.cwd}const p=A.realpathSync();return d?p:p?.fullpath()}async walk(A=this.cwd,d={}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p=true,follow:C=false,filter:S,walkFilter:v}=d;const T=[];if(!S||S(A)){T.push(p?A:A.fullpath())}const _=new Set;const walk=(A,d)=>{_.add(A);A.readdirCB(((A,V)=>{if(A){return d(A)}let Z=V.length;if(!Z)return d();const next=()=>{if(--Z===0){d()}};for(const A of V){if(!S||S(A)){T.push(p?A:A.fullpath())}if(C&&A.isSymbolicLink()){A.realpath().then((A=>A?.isUnknown()?A.lstat():A)).then((A=>A?.shouldWalk(_,v)?walk(A,next):next()))}else{if(A.shouldWalk(_,v)){walk(A,next)}else{next()}}}}),true)};const V=A;return new Promise(((A,d)=>{walk(V,(p=>{if(p)return d(p);A(T)}))}))}walkSync(A=this.cwd,d={}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p=true,follow:C=false,filter:S,walkFilter:v}=d;const T=[];if(!S||S(A)){T.push(p?A:A.fullpath())}const _=new Set([A]);for(const A of _){const d=A.readdirSync();for(const A of d){if(!S||S(A)){T.push(p?A:A.fullpath())}let d=A;if(A.isSymbolicLink()){if(!(C&&(d=A.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(_,v)){_.add(d)}}}return T}[Symbol.asyncIterator](){return this.iterate()}iterate(A=this.cwd,d={}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}return this.stream(A,d)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(A=this.cwd,d={}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p=true,follow:C=false,filter:S,walkFilter:v}=d;if(!S||S(A)){yield p?A:A.fullpath()}const T=new Set([A]);for(const A of T){const d=A.readdirSync();for(const A of d){if(!S||S(A)){yield p?A:A.fullpath()}let d=A;if(A.isSymbolicLink()){if(!(C&&(d=A.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(T,v)){T.add(d)}}}}stream(A=this.cwd,d={}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p=true,follow:C=false,filter:S,walkFilter:v}=d;const T=new ne.Minipass({objectMode:true});if(!S||S(A)){T.write(p?A:A.fullpath())}const _=new Set;const V=[A];let Z=0;const process=()=>{let A=false;while(!A){const d=V.shift();if(!d){if(Z===0)T.end();return}Z++;_.add(d);const onReaddir=(d,te,re=false)=>{if(d)return T.emit("error",d);if(C&&!re){const A=[];for(const d of te){if(d.isSymbolicLink()){A.push(d.realpath().then((A=>A?.isUnknown()?A.lstat():A)))}}if(A.length){Promise.all(A).then((()=>onReaddir(null,te,true)));return}}for(const d of te){if(d&&(!S||S(d))){if(!T.write(p?d:d.fullpath())){A=true}}}Z--;for(const A of te){const d=A.realpathCached()||A;if(d.shouldWalk(_,v)){V.push(d)}}if(A&&!T.flowing){T.once("drain",process)}else if(!ee){process()}};let ee=true;d.readdirCB(onReaddir,true);ee=false}};process();return T}streamSync(A=this.cwd,d={}){if(typeof A==="string"){A=this.cwd.resolve(A)}else if(!(A instanceof PathBase)){d=A;A=this.cwd}const{withFileTypes:p=true,follow:C=false,filter:S,walkFilter:v}=d;const T=new ne.Minipass({objectMode:true});const _=new Set;if(!S||S(A)){T.write(p?A:A.fullpath())}const V=[A];let Z=0;const process=()=>{let A=false;while(!A){const d=V.shift();if(!d){if(Z===0)T.end();return}Z++;_.add(d);const ee=d.readdirSync();for(const d of ee){if(!S||S(d)){if(!T.write(p?d:d.fullpath())){A=true}}}Z--;for(const A of ee){let d=A;if(A.isSymbolicLink()){if(!(C&&(d=A.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(_,v)){V.push(d)}}}if(A&&!T.flowing)T.once("drain",process)};process();return T}chdir(A=this.cwd){const d=this.cwd;this.cwd=typeof A==="string"?this.cwd.resolve(A):A;this.cwd[ve](d)}}d.PathScurryBase=PathScurryBase;class PathScurryWin32 extends PathScurryBase{sep="\\";constructor(A=process.cwd(),d={}){const{nocase:p=true}=d;super(A,_.win32,"\\",{...d,nocase:p});this.nocase=p;for(let A=this.cwd;A;A=A.parent){A.nocase=this.nocase}}parseRootPath(A){return _.win32.parse(A).root.toUpperCase()}newRoot(A){return new PathWin32(this.rootPath,ue,undefined,this.roots,this.nocase,this.childrenCache(),{fs:A})}isAbsolute(A){return A.startsWith("/")||A.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(A)}}d.PathScurryWin32=PathScurryWin32;class PathScurryPosix extends PathScurryBase{sep="/";constructor(A=process.cwd(),d={}){const{nocase:p=false}=d;super(A,_.posix,"/",{...d,nocase:p});this.nocase=p}parseRootPath(A){return"/"}newRoot(A){return new PathPosix(this.rootPath,ue,undefined,this.roots,this.nocase,this.childrenCache(),{fs:A})}isAbsolute(A){return A.startsWith("/")}}d.PathScurryPosix=PathScurryPosix;class PathScurryDarwin extends PathScurryPosix{constructor(A=process.cwd(),d={}){const{nocase:p=true}=d;super(A,{...d,nocase:p})}}d.PathScurryDarwin=PathScurryDarwin;d.Path=process.platform==="win32"?PathWin32:PathPosix;d.PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix},57212:A=>{function getDefaultExportFromCjs(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A["default"]:A}const d=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(A){if(Buffer.isBuffer(A)){return A}if(typeof A==="number"){return Buffer.alloc(A)}else if(typeof A==="string"){return Buffer.from(A)}else{throw new Error("input must be buffer, number, or string, received "+typeof A)}}function bufferizeInt(A){const d=ensureBuffer(4);d.writeInt32BE(A,0);return d}function _crc32(A,p){A=ensureBuffer(A);if(Buffer.isBuffer(p)){p=p.readUInt32BE(0)}let C=~~p^-1;for(var S=0;S<A.length;S++){C=d[(C^A[S])&255]^C>>>8}return C^-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 p=crc32;const C=getDefaultExportFromCjs(p);A.exports=C},62209:A=>{(()=>{"use strict";var d={d:(A,p)=>{for(var C in p)d.o(p,C)&&!d.o(A,C)&&Object.defineProperty(A,C,{enumerable:!0,get:p[C]})},o:(A,d)=>Object.prototype.hasOwnProperty.call(A,d),r:A=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})}},p={};d.r(p),d.d(p,{XMLBuilder:()=>lt,XMLParser:()=>tt,XMLValidator:()=>le});const C=":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",S=new RegExp("^["+C+"]["+C+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(A,d){const p=[];let C=d.exec(A);for(;C;){const S=[];S.startIndex=d.lastIndex-C[0].length;const v=C.length;for(let A=0;A<v;A++)S.push(C[A]);p.push(S),C=d.exec(A)}return p}const r=function(A){return!(null==S.exec(A))},v={allowBooleanAttributes:!1,unpairedTags:[]};function a(A,d){d=Object.assign({},v,d);const p=[];let C=!1,S=!1;"\ufeff"===A[0]&&(A=A.substr(1));for(let v=0;v<A.length;v++)if("<"===A[v]&&"?"===A[v+1]){if(v+=2,v=u(A,v),v.err)return v}else{if("<"!==A[v]){if(l(A[v]))continue;return x("InvalidChar","char '"+A[v]+"' is not expected.",b(A,v))}{let T=v;if(v++,"!"===A[v]){v=h(A,v);continue}{let _=!1;"/"===A[v]&&(_=!0,v++);let V="";for(;v<A.length&&">"!==A[v]&&" "!==A[v]&&"\t"!==A[v]&&"\n"!==A[v]&&"\r"!==A[v];v++)V+=A[v];if(V=V.trim(),"/"===V[V.length-1]&&(V=V.substring(0,V.length-1),v--),!r(V)){let d;return d=0===V.trim().length?"Invalid space after '<'.":"Tag '"+V+"' is an invalid name.",x("InvalidTag",d,b(A,v))}const Z=f(A,v);if(!1===Z)return x("InvalidAttr","Attributes for '"+V+"' have open quote.",b(A,v));let ee=Z.value;if(v=Z.index,"/"===ee[ee.length-1]){const p=v-ee.length;ee=ee.substring(0,ee.length-1);const S=g(ee,d);if(!0!==S)return x(S.err.code,S.err.msg,b(A,p+S.err.line));C=!0}else if(_){if(!Z.tagClosed)return x("InvalidTag","Closing tag '"+V+"' doesn't have proper closing.",b(A,v));if(ee.trim().length>0)return x("InvalidTag","Closing tag '"+V+"' can't have attributes or invalid starting.",b(A,T));if(0===p.length)return x("InvalidTag","Closing tag '"+V+"' has not been opened.",b(A,T));{const d=p.pop();if(V!==d.tagName){let p=b(A,d.tagStartPos);return x("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+V+"'.",b(A,T))}0==p.length&&(S=!0)}}else{const _=g(ee,d);if(!0!==_)return x(_.err.code,_.err.msg,b(A,v-ee.length+_.err.line));if(!0===S)return x("InvalidXml","Multiple possible root nodes found.",b(A,v));-1!==d.unpairedTags.indexOf(V)||p.push({tagName:V,tagStartPos:T}),C=!0}for(v++;v<A.length;v++)if("<"===A[v]){if("!"===A[v+1]){v++,v=h(A,v);continue}if("?"!==A[v+1])break;if(v=u(A,++v),v.err)return v}else if("&"===A[v]){const d=m(A,v);if(-1==d)return x("InvalidChar","char '&' is not expected.",b(A,v));v=d}else if(!0===S&&!l(A[v]))return x("InvalidXml","Extra text at the end",b(A,v));"<"===A[v]&&v--}}}return C?1==p.length?x("InvalidTag","Unclosed tag '"+p[0].tagName+"'.",b(A,p[0].tagStartPos)):!(p.length>0)||x("InvalidXml","Invalid '"+JSON.stringify(p.map((A=>A.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(A){return" "===A||"\t"===A||"\n"===A||"\r"===A}function u(A,d){const p=d;for(;d<A.length;d++)if("?"!=A[d]&&" "!=A[d]);else{const C=A.substr(p,d-p);if(d>5&&"xml"===C)return x("InvalidXml","XML declaration allowed only at the start of the document.",b(A,d));if("?"==A[d]&&">"==A[d+1]){d++;break}}return d}function h(A,d){if(A.length>d+5&&"-"===A[d+1]&&"-"===A[d+2]){for(d+=3;d<A.length;d++)if("-"===A[d]&&"-"===A[d+1]&&">"===A[d+2]){d+=2;break}}else if(A.length>d+8&&"D"===A[d+1]&&"O"===A[d+2]&&"C"===A[d+3]&&"T"===A[d+4]&&"Y"===A[d+5]&&"P"===A[d+6]&&"E"===A[d+7]){let p=1;for(d+=8;d<A.length;d++)if("<"===A[d])p++;else if(">"===A[d]&&(p--,0===p))break}else if(A.length>d+9&&"["===A[d+1]&&"C"===A[d+2]&&"D"===A[d+3]&&"A"===A[d+4]&&"T"===A[d+5]&&"A"===A[d+6]&&"["===A[d+7])for(d+=8;d<A.length;d++)if("]"===A[d]&&"]"===A[d+1]&&">"===A[d+2]){d+=2;break}return d}const T='"',_="'";function f(A,d){let p="",C="",S=!1;for(;d<A.length;d++){if(A[d]===T||A[d]===_)""===C?C=A[d]:C!==A[d]||(C="");else if(">"===A[d]&&""===C){S=!0;break}p+=A[d]}return""===C&&{value:p,index:d,tagClosed:S}}const V=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(A,d){const p=s(A,V),C={};for(let A=0;A<p.length;A++){if(0===p[A][1].length)return x("InvalidAttr","Attribute '"+p[A][2]+"' has no space in starting.",E(p[A]));if(void 0!==p[A][3]&&void 0===p[A][4])return x("InvalidAttr","Attribute '"+p[A][2]+"' is without value.",E(p[A]));if(void 0===p[A][3]&&!d.allowBooleanAttributes)return x("InvalidAttr","boolean attribute '"+p[A][2]+"' is not allowed.",E(p[A]));const S=p[A][2];if(!N(S))return x("InvalidAttr","Attribute '"+S+"' is an invalid name.",E(p[A]));if(C.hasOwnProperty(S))return x("InvalidAttr","Attribute '"+S+"' is repeated.",E(p[A]));C[S]=1}return!0}function m(A,d){if(";"===A[++d])return-1;if("#"===A[d])return function(A,d){let p=/\d/;for("x"===A[d]&&(d++,p=/[\da-fA-F]/);d<A.length;d++){if(";"===A[d])return d;if(!A[d].match(p))break}return-1}(A,++d);let p=0;for(;d<A.length;d++,p++)if(!(A[d].match(/\w/)&&p<20)){if(";"===A[d])break;return-1}return d}function x(A,d,p){return{err:{code:A,msg:d,line:p.line||p,col:p.col}}}function N(A){return r(A)}function b(A,d){const p=A.substring(0,d).split(/\r?\n/);return{line:p.length,col:p[p.length-1].length+1}}function E(A){return A.startIndex+A[1].length}const 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},tagValueProcessor:function(A,d){return d},attributeValueProcessor:function(A,d){return d},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(A,d,p){return A},captureMetaData:!1};let ee;ee="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class y{constructor(A){this.tagname=A,this.child=[],this[":@"]={}}add(A,d){"__proto__"===A&&(A="#__proto__"),this.child.push({[A]:d})}addChild(A,d){"__proto__"===A.tagname&&(A.tagname="#__proto__"),A[":@"]&&Object.keys(A[":@"]).length>0?this.child.push({[A.tagname]:A.child,":@":A[":@"]}):this.child.push({[A.tagname]:A.child}),void 0!==d&&(this.child[this.child.length-1][ee]={startIndex:d})}static getMetaDataSymbol(){return ee}}class w{constructor(A){this.suppressValidationErr=!A}readDocType(A,d){const p={};if("O"!==A[d+3]||"C"!==A[d+4]||"T"!==A[d+5]||"Y"!==A[d+6]||"P"!==A[d+7]||"E"!==A[d+8])throw new Error("Invalid Tag instead of DOCTYPE");{d+=9;let C=1,S=!1,v=!1,T="";for(;d<A.length;d++)if("<"!==A[d]||v)if(">"===A[d]){if(v?"-"===A[d-1]&&"-"===A[d-2]&&(v=!1,C--):C--,0===C)break}else"["===A[d]?S=!0:T+=A[d];else{if(S&&P(A,"!ENTITY",d)){let C,S;d+=7,[C,S,d]=this.readEntityExp(A,d+1,this.suppressValidationErr),-1===S.indexOf("&")&&(p[C]={regx:RegExp(`&${C};`,"g"),val:S})}else if(S&&P(A,"!ELEMENT",d)){d+=8;const{index:p}=this.readElementExp(A,d+1);d=p}else if(S&&P(A,"!ATTLIST",d))d+=8;else if(S&&P(A,"!NOTATION",d)){d+=9;const{index:p}=this.readNotationExp(A,d+1,this.suppressValidationErr);d=p}else{if(!P(A,"!--",d))throw new Error("Invalid DOCTYPE");v=!0}C++,T=""}if(0!==C)throw new Error("Unclosed DOCTYPE")}return{entities:p,i:d}}readEntityExp(A,d){d=I(A,d);let p="";for(;d<A.length&&!/\s/.test(A[d])&&'"'!==A[d]&&"'"!==A[d];)p+=A[d],d++;if(O(p),d=I(A,d),!this.suppressValidationErr){if("SYSTEM"===A.substring(d,d+6).toUpperCase())throw new Error("External entities are not supported");if("%"===A[d])throw new Error("Parameter entities are not supported")}let C="";return[d,C]=this.readIdentifierVal(A,d,"entity"),[p,C,--d]}readNotationExp(A,d){d=I(A,d);let p="";for(;d<A.length&&!/\s/.test(A[d]);)p+=A[d],d++;!this.suppressValidationErr&&O(p),d=I(A,d);const C=A.substring(d,d+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==C&&"PUBLIC"!==C)throw new Error(`Expected SYSTEM or PUBLIC, found "${C}"`);d+=C.length,d=I(A,d);let S=null,v=null;if("PUBLIC"===C)[d,S]=this.readIdentifierVal(A,d,"publicIdentifier"),'"'!==A[d=I(A,d)]&&"'"!==A[d]||([d,v]=this.readIdentifierVal(A,d,"systemIdentifier"));else if("SYSTEM"===C&&([d,v]=this.readIdentifierVal(A,d,"systemIdentifier"),!this.suppressValidationErr&&!v))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:p,publicIdentifier:S,systemIdentifier:v,index:--d}}readIdentifierVal(A,d,p){let C="";const S=A[d];if('"'!==S&&"'"!==S)throw new Error(`Expected quoted string, found "${S}"`);for(d++;d<A.length&&A[d]!==S;)C+=A[d],d++;if(A[d]!==S)throw new Error(`Unterminated ${p} value`);return[++d,C]}readElementExp(A,d){d=I(A,d);let p="";for(;d<A.length&&!/\s/.test(A[d]);)p+=A[d],d++;if(!this.suppressValidationErr&&!r(p))throw new Error(`Invalid element name: "${p}"`);let C="";if("E"===A[d=I(A,d)]&&P(A,"MPTY",d))d+=4;else if("A"===A[d]&&P(A,"NY",d))d+=2;else if("("===A[d]){for(d++;d<A.length&&")"!==A[d];)C+=A[d],d++;if(")"!==A[d])throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${A[d]}"`);return{elementName:p,contentModel:C.trim(),index:d}}readAttlistExp(A,d){d=I(A,d);let p="";for(;d<A.length&&!/\s/.test(A[d]);)p+=A[d],d++;O(p),d=I(A,d);let C="";for(;d<A.length&&!/\s/.test(A[d]);)C+=A[d],d++;if(!O(C))throw new Error(`Invalid attribute name: "${C}"`);d=I(A,d);let S="";if("NOTATION"===A.substring(d,d+8).toUpperCase()){if(S="NOTATION","("!==A[d=I(A,d+=8)])throw new Error(`Expected '(', found "${A[d]}"`);d++;let p=[];for(;d<A.length&&")"!==A[d];){let C="";for(;d<A.length&&"|"!==A[d]&&")"!==A[d];)C+=A[d],d++;if(C=C.trim(),!O(C))throw new Error(`Invalid notation name: "${C}"`);p.push(C),"|"===A[d]&&(d++,d=I(A,d))}if(")"!==A[d])throw new Error("Unterminated list of notations");d++,S+=" ("+p.join("|")+")"}else{for(;d<A.length&&!/\s/.test(A[d]);)S+=A[d],d++;const p=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!p.includes(S.toUpperCase()))throw new Error(`Invalid attribute type: "${S}"`)}d=I(A,d);let v="";return"#REQUIRED"===A.substring(d,d+8).toUpperCase()?(v="#REQUIRED",d+=8):"#IMPLIED"===A.substring(d,d+7).toUpperCase()?(v="#IMPLIED",d+=7):[d,v]=this.readIdentifierVal(A,d,"ATTLIST"),{elementName:p,attributeName:C,attributeType:S,defaultValue:v,index:d}}}const I=(A,d)=>{for(;d<A.length&&/\s/.test(A[d]);)d++;return d};function P(A,d,p){for(let C=0;C<d.length;C++)if(d[C]!==A[p+C+1])return!1;return!0}function O(A){if(r(A))return A;throw new Error(`Invalid entity name ${A}`)}const te=/^[-+]?0x[a-fA-F0-9]+$/,re=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ne={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};const ie=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function $(A){return"function"==typeof A?A:Array.isArray(A)?d=>{for(const p of A){if("string"==typeof p&&d===p)return!0;if(p instanceof RegExp&&p.test(d))return!0}}:()=>!1}class D{constructor(A){if(this.options=A,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(A,d)=>String.fromCodePoint(Number.parseInt(d,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(A,d)=>String.fromCodePoint(Number.parseInt(d,16))}},this.addExternalEntities=j,this.parseXml=L,this.parseTextData=M,this.resolveNameSpace=F,this.buildAttributesMap=k,this.isItStopNode=Y,this.replaceEntitiesValue=B,this.readStopNodeData=W,this.saveTextToParentTag=R,this.addChild=U,this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let A=0;A<this.options.stopNodes.length;A++){const d=this.options.stopNodes[A];"string"==typeof d&&(d.startsWith("*.")?this.stopNodesWildcard.add(d.substring(2)):this.stopNodesExact.add(d))}}}}function j(A){const d=Object.keys(A);for(let p=0;p<d.length;p++){const C=d[p];this.lastEntities[C]={regex:new RegExp("&"+C+";","g"),val:A[C]}}}function M(A,d,p,C,S,v,T){if(void 0!==A&&(this.options.trimValues&&!C&&(A=A.trim()),A.length>0)){T||(A=this.replaceEntitiesValue(A));const C=this.options.tagValueProcessor(d,A,p,S,v);return null==C?A:typeof C!=typeof A||C!==A?C:this.options.trimValues||A.trim()===A?q(A,this.options.parseTagValue,this.options.numberParseOptions):A}}function F(A){if(this.options.removeNSPrefix){const d=A.split(":"),p="/"===A.charAt(0)?"/":"";if("xmlns"===d[0])return"";2===d.length&&(A=p+d[1])}return A}const se=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function k(A,d,p){if(!0!==this.options.ignoreAttributes&&"string"==typeof A){const p=s(A,se),C=p.length,S={};for(let A=0;A<C;A++){const C=this.resolveNameSpace(p[A][1]);if(this.ignoreAttributesFn(C,d))continue;let v=p[A][4],T=this.options.attributeNamePrefix+C;if(C.length)if(this.options.transformAttributeName&&(T=this.options.transformAttributeName(T)),"__proto__"===T&&(T="#__proto__"),void 0!==v){this.options.trimValues&&(v=v.trim()),v=this.replaceEntitiesValue(v);const A=this.options.attributeValueProcessor(C,v,d);S[T]=null==A?v:typeof A!=typeof v||A!==v?A:q(v,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(S[T]=!0)}if(!Object.keys(S).length)return;if(this.options.attributesGroupName){const A={};return A[this.options.attributesGroupName]=S,A}return S}}const L=function(A){A=A.replace(/\r\n?/g,"\n");const d=new y("!xml");let p=d,C="",S="";const v=new w(this.options.processEntities);for(let T=0;T<A.length;T++)if("<"===A[T])if("/"===A[T+1]){const d=G(A,">",T,"Closing Tag is not closed.");let v=A.substring(T+2,d).trim();if(this.options.removeNSPrefix){const A=v.indexOf(":");-1!==A&&(v=v.substr(A+1))}this.options.transformTagName&&(v=this.options.transformTagName(v)),p&&(C=this.saveTextToParentTag(C,p,S));const _=S.substring(S.lastIndexOf(".")+1);if(v&&-1!==this.options.unpairedTags.indexOf(v))throw new Error(`Unpaired tag can not be used as closing tag: </${v}>`);let V=0;_&&-1!==this.options.unpairedTags.indexOf(_)?(V=S.lastIndexOf(".",S.lastIndexOf(".")-1),this.tagsNodeStack.pop()):V=S.lastIndexOf("."),S=S.substring(0,V),p=this.tagsNodeStack.pop(),C="",T=d}else if("?"===A[T+1]){let d=X(A,T,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");if(C=this.saveTextToParentTag(C,p,S),this.options.ignoreDeclaration&&"?xml"===d.tagName||this.options.ignorePiTags);else{const A=new y(d.tagName);A.add(this.options.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&(A[":@"]=this.buildAttributesMap(d.tagExp,S,d.tagName)),this.addChild(p,A,S,T)}T=d.closeIndex+1}else if("!--"===A.substr(T+1,3)){const d=G(A,"--\x3e",T+4,"Comment is not closed.");if(this.options.commentPropName){const v=A.substring(T+4,d-2);C=this.saveTextToParentTag(C,p,S),p.add(this.options.commentPropName,[{[this.options.textNodeName]:v}])}T=d}else if("!D"===A.substr(T+1,2)){const d=v.readDocType(A,T);this.docTypeEntities=d.entities,T=d.i}else if("!["===A.substr(T+1,2)){const d=G(A,"]]>",T,"CDATA is not closed.")-2,v=A.substring(T+9,d);C=this.saveTextToParentTag(C,p,S);let _=this.parseTextData(v,p.tagname,S,!0,!1,!0,!0);null==_&&(_=""),this.options.cdataPropName?p.add(this.options.cdataPropName,[{[this.options.textNodeName]:v}]):p.add(this.options.textNodeName,_),T=d+2}else{let v=X(A,T,this.options.removeNSPrefix),_=v.tagName;const V=v.rawTagName;let Z=v.tagExp,ee=v.attrExpPresent,te=v.closeIndex;this.options.transformTagName&&(_=this.options.transformTagName(_)),p&&C&&"!xml"!==p.tagname&&(C=this.saveTextToParentTag(C,p,S,!1));const re=p;re&&-1!==this.options.unpairedTags.indexOf(re.tagname)&&(p=this.tagsNodeStack.pop(),S=S.substring(0,S.lastIndexOf("."))),_!==d.tagname&&(S+=S?"."+_:_);const ne=T;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,S,_)){let d="";if(Z.length>0&&Z.lastIndexOf("/")===Z.length-1)"/"===_[_.length-1]?(_=_.substr(0,_.length-1),S=S.substr(0,S.length-1),Z=_):Z=Z.substr(0,Z.length-1),T=v.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(_))T=v.closeIndex;else{const p=this.readStopNodeData(A,V,te+1);if(!p)throw new Error(`Unexpected end of ${V}`);T=p.i,d=p.tagContent}const C=new y(_);_!==Z&&ee&&(C[":@"]=this.buildAttributesMap(Z,S,_)),d&&(d=this.parseTextData(d,_,S,!0,ee,!0,!0)),S=S.substr(0,S.lastIndexOf(".")),C.add(this.options.textNodeName,d),this.addChild(p,C,S,ne)}else{if(Z.length>0&&Z.lastIndexOf("/")===Z.length-1){"/"===_[_.length-1]?(_=_.substr(0,_.length-1),S=S.substr(0,S.length-1),Z=_):Z=Z.substr(0,Z.length-1),this.options.transformTagName&&(_=this.options.transformTagName(_));const A=new y(_);_!==Z&&ee&&(A[":@"]=this.buildAttributesMap(Z,S,_)),this.addChild(p,A,S,ne),S=S.substr(0,S.lastIndexOf("."))}else{const A=new y(_);this.tagsNodeStack.push(p),_!==Z&&ee&&(A[":@"]=this.buildAttributesMap(Z,S,_)),this.addChild(p,A,S,ne),p=A}C="",T=te}}else C+=A[T];return d.child};function U(A,d,p,C){this.options.captureMetaData||(C=void 0);const S=this.options.updateTag(d.tagname,p,d[":@"]);!1===S||("string"==typeof S?(d.tagname=S,A.addChild(d,C)):A.addChild(d,C))}const B=function(A){if(this.options.processEntities){for(let d in this.docTypeEntities){const p=this.docTypeEntities[d];A=A.replace(p.regx,p.val)}for(let d in this.lastEntities){const p=this.lastEntities[d];A=A.replace(p.regex,p.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){const p=this.htmlEntities[d];A=A.replace(p.regex,p.val)}A=A.replace(this.ampEntity.regex,this.ampEntity.val)}return A};function R(A,d,p,C){return A&&(void 0===C&&(C=0===d.child.length),void 0!==(A=this.parseTextData(A,d.tagname,p,!1,!!d[":@"]&&0!==Object.keys(d[":@"]).length,C))&&""!==A&&d.add(this.options.textNodeName,A),A=""),A}function Y(A,d,p,C){return!(!d||!d.has(C))||!(!A||!A.has(p))}function G(A,d,p,C){const S=A.indexOf(d,p);if(-1===S)throw new Error(C);return S+d.length-1}function X(A,d,p,C=">"){const S=function(A,d,p=">"){let C,S="";for(let v=d;v<A.length;v++){let d=A[v];if(C)d===C&&(C="");else if('"'===d||"'"===d)C=d;else if(d===p[0]){if(!p[1])return{data:S,index:v};if(A[v+1]===p[1])return{data:S,index:v}}else"\t"===d&&(d=" ");S+=d}}(A,d+1,C);if(!S)return;let v=S.data;const T=S.index,_=v.search(/\s/);let V=v,Z=!0;-1!==_&&(V=v.substring(0,_),v=v.substring(_+1).trimStart());const ee=V;if(p){const A=V.indexOf(":");-1!==A&&(V=V.substr(A+1),Z=V!==S.data.substr(A+1))}return{tagName:V,tagExp:v,closeIndex:T,attrExpPresent:Z,rawTagName:ee}}function W(A,d,p){const C=p;let S=1;for(;p<A.length;p++)if("<"===A[p])if("/"===A[p+1]){const v=G(A,">",p,`${d} is not closed`);if(A.substring(p+2,v).trim()===d&&(S--,0===S))return{tagContent:A.substring(C,p),i:v};p=v}else if("?"===A[p+1])p=G(A,"?>",p+1,"StopNode is not closed.");else if("!--"===A.substr(p+1,3))p=G(A,"--\x3e",p+3,"StopNode is not closed.");else if("!["===A.substr(p+1,2))p=G(A,"]]>",p,"StopNode is not closed.")-2;else{const C=X(A,p,">");C&&((C&&C.tagName)===d&&"/"!==C.tagExp[C.tagExp.length-1]&&S++,p=C.closeIndex)}}function q(A,d,p){if(d&&"string"==typeof A){const d=A.trim();return"true"===d||"false"!==d&&function(A,d={}){if(d=Object.assign({},ne,d),!A||"string"!=typeof A)return A;let p=A.trim();if(void 0!==d.skipLike&&d.skipLike.test(p))return A;if("0"===A)return 0;if(d.hex&&te.test(p))return function(A){if(parseInt)return parseInt(A,16);if(Number.parseInt)return Number.parseInt(A,16);if(window&&window.parseInt)return window.parseInt(A,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(p);if(-1!==p.search(/.+[eE].+/))return function(A,d,p){if(!p.eNotation)return A;const C=d.match(ie);if(C){let S=C[1]||"";const v=-1===C[3].indexOf("e")?"E":"e",T=C[2],_=S?A[T.length+1]===v:A[T.length]===v;return T.length>1&&_?A:1!==T.length||!C[3].startsWith(`.${v}`)&&C[3][0]!==v?p.leadingZeros&&!_?(d=(C[1]||"")+C[3],Number(d)):A:Number(d)}return A}(A,p,d);{const S=re.exec(p);if(S){const v=S[1]||"",T=S[2];let _=(C=S[3])&&-1!==C.indexOf(".")?("."===(C=C.replace(/0+$/,""))?C="0":"."===C[0]?C="0"+C:"."===C[C.length-1]&&(C=C.substring(0,C.length-1)),C):C;const V=v?"."===A[T.length+1]:"."===A[T.length];if(!d.leadingZeros&&(T.length>1||1===T.length&&!V))return A;{const C=Number(p),S=String(C);if(0===C||-0===C)return C;if(-1!==S.search(/[eE]/))return d.eNotation?C:A;if(-1!==p.indexOf("."))return"0"===S||S===_||S===`${v}${_}`?C:A;let V=T?_:p;return T?V===S||v+V===S?C:A:V===S||V===v+S?C:A}}return A}var C}(A,p)}return void 0!==A?A:""}const oe=y.getMetaDataSymbol();function K(A,d){return Q(A,d)}function Q(A,d,p){let C;const S={};for(let v=0;v<A.length;v++){const T=A[v],_=z(T);let V="";if(V=void 0===p?_:p+"."+_,_===d.textNodeName)void 0===C?C=T[_]:C+=""+T[_];else{if(void 0===_)continue;if(T[_]){let A=Q(T[_],d,V);const p=H(A,d);void 0!==T[oe]&&(A[oe]=T[oe]),T[":@"]?J(A,T[":@"],V,d):1!==Object.keys(A).length||void 0===A[d.textNodeName]||d.alwaysCreateTextNode?0===Object.keys(A).length&&(d.alwaysCreateTextNode?A[d.textNodeName]="":A=""):A=A[d.textNodeName],void 0!==S[_]&&S.hasOwnProperty(_)?(Array.isArray(S[_])||(S[_]=[S[_]]),S[_].push(A)):d.isArray(_,V,p)?S[_]=[A]:S[_]=A}}}return"string"==typeof C?C.length>0&&(S[d.textNodeName]=C):void 0!==C&&(S[d.textNodeName]=C),S}function z(A){const d=Object.keys(A);for(let A=0;A<d.length;A++){const p=d[A];if(":@"!==p)return p}}function J(A,d,p,C){if(d){const S=Object.keys(d),v=S.length;for(let T=0;T<v;T++){const v=S[T];C.isArray(v,p+"."+v,!0,!0)?A[v]=[d[v]]:A[v]=d[v]}}}function H(A,d){const{textNodeName:p}=d,C=Object.keys(A).length;return 0===C||!(1!==C||!A[p]&&"boolean"!=typeof A[p]&&0!==A[p])}class tt{constructor(A){this.externalEntities={},this.options=function(A){return Object.assign({},Z,A)}(A)}parse(A,d){if("string"!=typeof A&&A.toString)A=A.toString();else if("string"!=typeof A)throw new Error("XML data is accepted in String or Bytes[] form.");if(d){!0===d&&(d={});const p=a(A,d);if(!0!==p)throw Error(`${p.err.msg}:${p.err.line}:${p.err.col}`)}const p=new D(this.options);p.addExternalEntities(this.externalEntities);const C=p.parseXml(A);return this.options.preserveOrder||void 0===C?C:K(C,this.options)}addEntity(A,d){if(-1!==d.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==A.indexOf("&")||-1!==A.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===d)throw new Error("An entity with value '&' is not permitted");this.externalEntities[A]=d}static getMetaDataSymbol(){return y.getMetaDataSymbol()}}function et(A,d){let p="";return d.format&&d.indentBy.length>0&&(p="\n"),it(A,d,"",p)}function it(A,d,p,C){let S="",v=!1;for(let T=0;T<A.length;T++){const _=A[T],V=nt(_);if(void 0===V)continue;let Z="";if(Z=0===p.length?V:`${p}.${V}`,V===d.textNodeName){let A=_[V];rt(Z,d)||(A=d.tagValueProcessor(V,A),A=ot(A,d)),v&&(S+=C),S+=A,v=!1;continue}if(V===d.cdataPropName){v&&(S+=C),S+=`<![CDATA[${_[V][0][d.textNodeName]}]]>`,v=!1;continue}if(V===d.commentPropName){S+=C+`\x3c!--${_[V][0][d.textNodeName]}--\x3e`,v=!0;continue}if("?"===V[0]){const A=st(_[":@"],d),p="?xml"===V?"":C;let T=_[V][0][d.textNodeName];T=0!==T.length?" "+T:"",S+=p+`<${V}${T}${A}?>`,v=!0;continue}let ee=C;""!==ee&&(ee+=d.indentBy);const te=C+`<${V}${st(_[":@"],d)}`,re=it(_[V],d,Z,ee);-1!==d.unpairedTags.indexOf(V)?d.suppressUnpairedNode?S+=te+">":S+=te+"/>":re&&0!==re.length||!d.suppressEmptyNode?re&&re.endsWith(">")?S+=te+`>${re}${C}</${V}>`:(S+=te+">",re&&""!==C&&(re.includes("/>")||re.includes("</"))?S+=C+d.indentBy+re+C:S+=re,S+=`</${V}>`):S+=te+"/>",v=!0}return S}function nt(A){const d=Object.keys(A);for(let p=0;p<d.length;p++){const C=d[p];if(A.hasOwnProperty(C)&&":@"!==C)return C}}function st(A,d){let p="";if(A&&!d.ignoreAttributes)for(let C in A){if(!A.hasOwnProperty(C))continue;let S=d.attributeValueProcessor(C,A[C]);S=ot(S,d),!0===S&&d.suppressBooleanAttributes?p+=` ${C.substr(d.attributeNamePrefix.length)}`:p+=` ${C.substr(d.attributeNamePrefix.length)}="${S}"`}return p}function rt(A,d){let p=(A=A.substr(0,A.length-d.textNodeName.length-1)).substr(A.lastIndexOf(".")+1);for(let C in d.stopNodes)if(d.stopNodes[C]===A||d.stopNodes[C]==="*."+p)return!0;return!1}function ot(A,d){if(A&&A.length>0&&d.processEntities)for(let p=0;p<d.entities.length;p++){const C=d.entities[p];A=A.replace(C.regex,C.val)}return A}const ae={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(A,d){return d},attributeValueProcessor:function(A,d){return d},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function lt(A){this.options=Object.assign({},ae,A),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=dt),this.processTextOrObjNode=ut,this.options.format?(this.indentate=ht,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ut(A,d,p,C){const S=this.j2x(A,p+1,C.concat(d));return void 0!==A[this.options.textNodeName]&&1===Object.keys(A).length?this.buildTextValNode(A[this.options.textNodeName],d,S.attrStr,p):this.buildObjectNode(S.val,d,S.attrStr,p)}function ht(A){return this.options.indentBy.repeat(A)}function dt(A){return!(!A.startsWith(this.options.attributeNamePrefix)||A===this.options.textNodeName)&&A.substr(this.attrPrefixLen)}lt.prototype.build=function(A){return this.options.preserveOrder?et(A,this.options):(Array.isArray(A)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(A={[this.options.arrayNodeName]:A}),this.j2x(A,0,[]).val)},lt.prototype.j2x=function(A,d,p){let C="",S="";const v=p.join(".");for(let T in A)if(Object.prototype.hasOwnProperty.call(A,T))if(void 0===A[T])this.isAttribute(T)&&(S+="");else if(null===A[T])this.isAttribute(T)||T===this.options.cdataPropName?S+="":"?"===T[0]?S+=this.indentate(d)+"<"+T+"?"+this.tagEndChar:S+=this.indentate(d)+"<"+T+"/"+this.tagEndChar;else if(A[T]instanceof Date)S+=this.buildTextValNode(A[T],T,"",d);else if("object"!=typeof A[T]){const p=this.isAttribute(T);if(p&&!this.ignoreAttributesFn(p,v))C+=this.buildAttrPairStr(p,""+A[T]);else if(!p)if(T===this.options.textNodeName){let d=this.options.tagValueProcessor(T,""+A[T]);S+=this.replaceEntitiesValue(d)}else S+=this.buildTextValNode(A[T],T,"",d)}else if(Array.isArray(A[T])){const C=A[T].length;let v="",_="";for(let V=0;V<C;V++){const C=A[T][V];if(void 0===C);else if(null===C)"?"===T[0]?S+=this.indentate(d)+"<"+T+"?"+this.tagEndChar:S+=this.indentate(d)+"<"+T+"/"+this.tagEndChar;else if("object"==typeof C)if(this.options.oneListGroup){const A=this.j2x(C,d+1,p.concat(T));v+=A.val,this.options.attributesGroupName&&C.hasOwnProperty(this.options.attributesGroupName)&&(_+=A.attrStr)}else v+=this.processTextOrObjNode(C,T,d,p);else if(this.options.oneListGroup){let A=this.options.tagValueProcessor(T,C);A=this.replaceEntitiesValue(A),v+=A}else v+=this.buildTextValNode(C,T,"",d)}this.options.oneListGroup&&(v=this.buildObjectNode(v,T,_,d)),S+=v}else if(this.options.attributesGroupName&&T===this.options.attributesGroupName){const d=Object.keys(A[T]),p=d.length;for(let S=0;S<p;S++)C+=this.buildAttrPairStr(d[S],""+A[T][d[S]])}else S+=this.processTextOrObjNode(A[T],T,d,p);return{attrStr:C,val:S}},lt.prototype.buildAttrPairStr=function(A,d){return d=this.options.attributeValueProcessor(A,""+d),d=this.replaceEntitiesValue(d),this.options.suppressBooleanAttributes&&"true"===d?" "+A:" "+A+'="'+d+'"'},lt.prototype.buildObjectNode=function(A,d,p,C){if(""===A)return"?"===d[0]?this.indentate(C)+"<"+d+p+"?"+this.tagEndChar:this.indentate(C)+"<"+d+p+this.closeTag(d)+this.tagEndChar;{let S="</"+d+this.tagEndChar,v="";return"?"===d[0]&&(v="?",S=""),!p&&""!==p||-1!==A.indexOf("<")?!1!==this.options.commentPropName&&d===this.options.commentPropName&&0===v.length?this.indentate(C)+`\x3c!--${A}--\x3e`+this.newLine:this.indentate(C)+"<"+d+p+v+this.tagEndChar+A+this.indentate(C)+S:this.indentate(C)+"<"+d+p+v+">"+A+S}},lt.prototype.closeTag=function(A){let d="";return-1!==this.options.unpairedTags.indexOf(A)?this.options.suppressUnpairedNode||(d="/"):d=this.options.suppressEmptyNode?"/":`></${A}`,d},lt.prototype.buildTextValNode=function(A,d,p,C){if(!1!==this.options.cdataPropName&&d===this.options.cdataPropName)return this.indentate(C)+`<![CDATA[${A}]]>`+this.newLine;if(!1!==this.options.commentPropName&&d===this.options.commentPropName)return this.indentate(C)+`\x3c!--${A}--\x3e`+this.newLine;if("?"===d[0])return this.indentate(C)+"<"+d+p+"?"+this.tagEndChar;{let S=this.options.tagValueProcessor(d,A);return S=this.replaceEntitiesValue(S),""===S?this.indentate(C)+"<"+d+p+this.closeTag(d)+this.tagEndChar:this.indentate(C)+"<"+d+p+">"+S+"</"+d+this.tagEndChar}},lt.prototype.replaceEntitiesValue=function(A){if(A&&A.length>0&&this.options.processEntities)for(let d=0;d<this.options.entities.length;d++){const p=this.options.entities[d];A=A.replace(p.regex,p.val)}return A};const le={validate:a};A.exports=p})()},85956:(A,d,p)=>{p.d(d,{A:()=>mergeStreams});var C=p(78474);var S=p(57075);var v=p(46466);function mergeStreams(A){if(!Array.isArray(A)){throw new TypeError(`Expected an array, got \`${typeof A}\`.`)}for(const d of A){validateStream(d)}const d=A.some((({readableObjectMode:A})=>A));const p=getHighWaterMark(A,d);const C=new MergedStream({objectMode:d,writableHighWaterMark:p,readableHighWaterMark:p});for(const d of A){C.add(d)}return C}const getHighWaterMark=(A,d)=>{if(A.length===0){return(0,S.getDefaultHighWaterMark)(d)}const p=A.filter((({readableObjectMode:A})=>A===d)).map((({readableHighWaterMark:A})=>A));return Math.max(...p)};class MergedStream extends S.PassThrough{#Wt=new Set([]);#Yt=new Set([]);#Jt=new Set([]);#$t;#Kt=Symbol("unpipe");#Xt=new WeakMap;add(A){validateStream(A);if(this.#Wt.has(A)){return}this.#Wt.add(A);this.#$t??=onMergedStreamFinished(this,this.#Wt,this.#Kt);const d=endWhenStreamsDone({passThroughStream:this,stream:A,streams:this.#Wt,ended:this.#Yt,aborted:this.#Jt,onFinished:this.#$t,unpipeEvent:this.#Kt});this.#Xt.set(A,d);A.pipe(this,{end:false})}async remove(A){validateStream(A);if(!this.#Wt.has(A)){return false}const d=this.#Xt.get(A);if(d===undefined){return false}this.#Xt.delete(A);A.unpipe(this);await d;return true}}const onMergedStreamFinished=async(A,d,p)=>{updateMaxListeners(A,T);const C=new AbortController;try{await Promise.race([onMergedStreamEnd(A,C),onInputStreamsUnpipe(A,d,p,C)])}finally{C.abort();updateMaxListeners(A,-T)}};const onMergedStreamEnd=async(A,{signal:d})=>{try{await(0,v.finished)(A,{signal:d,cleanup:true})}catch(d){errorOrAbortStream(A,d);throw d}};const onInputStreamsUnpipe=async(A,d,p,{signal:S})=>{for await(const[v]of(0,C.on)(A,"unpipe",{signal:S})){if(d.has(v)){v.emit(p)}}};const validateStream=A=>{if(typeof A?.pipe!=="function"){throw new TypeError(`Expected a readable stream, got: \`${typeof A}\`.`)}};const endWhenStreamsDone=async({passThroughStream:A,stream:d,streams:p,ended:C,aborted:S,onFinished:v,unpipeEvent:T})=>{updateMaxListeners(A,_);const V=new AbortController;try{await Promise.race([afterMergedStreamFinished(v,d,V),onInputStreamEnd({passThroughStream:A,stream:d,streams:p,ended:C,aborted:S,controller:V}),onInputStreamUnpipe({stream:d,streams:p,ended:C,aborted:S,unpipeEvent:T,controller:V})])}finally{V.abort();updateMaxListeners(A,-_)}if(p.size>0&&p.size===C.size+S.size){if(C.size===0&&S.size>0){abortStream(A)}else{endStream(A)}}};const afterMergedStreamFinished=async(A,d,{signal:p})=>{try{await A;if(!p.aborted){abortStream(d)}}catch(A){if(!p.aborted){errorOrAbortStream(d,A)}}};const onInputStreamEnd=async({passThroughStream:A,stream:d,streams:p,ended:C,aborted:S,controller:{signal:T}})=>{try{await(0,v.finished)(d,{signal:T,cleanup:true,readable:true,writable:false});if(p.has(d)){C.add(d)}}catch(C){if(T.aborted||!p.has(d)){return}if(isAbortError(C)){S.add(d)}else{errorStream(A,C)}}};const onInputStreamUnpipe=async({stream:A,streams:d,ended:p,aborted:S,unpipeEvent:v,controller:{signal:T}})=>{await(0,C.once)(A,v,{signal:T});if(!A.readable){return(0,C.once)(T,"abort",{signal:T})}d.delete(A);p.delete(A);S.delete(A)};const endStream=A=>{if(A.writable){A.end()}};const errorOrAbortStream=(A,d)=>{if(isAbortError(d)){abortStream(A)}else{errorStream(A,d)}};const isAbortError=A=>A?.code==="ERR_STREAM_PREMATURE_CLOSE";const abortStream=A=>{if(A.readable||A.writable){A.destroy()}};const errorStream=(A,d)=>{if(!A.destroyed){A.once("error",noop);A.destroy(d)}};const noop=()=>{};const updateMaxListeners=(A,d)=>{const p=A.getMaxListeners();if(p!==0&&p!==Number.POSITIVE_INFINITY){A.setMaxListeners(p+d)}};const T=2;const _=1},71635:(A,d,p)=>{p.d(d,{Hz:()=>de});var C=p(1708);var S=p(73024);var v=p(76760);var T=p(57075);var _=p(85956);var V=p(80197);var Z=p(51455);async function isType(A,d,p){if(typeof p!=="string"){throw new TypeError(`Expected a string, got ${typeof p}`)}try{const C=await Z[A](p);return C[d]()}catch(A){if(A.code==="ENOENT"){return false}throw A}}function isTypeSync(A,d,p){if(typeof p!=="string"){throw new TypeError(`Expected a string, got ${typeof p}`)}try{return S[A](p)[d]()}catch(A){if(A.code==="ENOENT"){return false}throw A}}const ee=isType.bind(undefined,"stat","isFile");const te=isType.bind(undefined,"stat","isDirectory");const re=isType.bind(undefined,"lstat","isSymbolicLink");const ne=isTypeSync.bind(undefined,"statSync","isFile");const ie=isTypeSync.bind(undefined,"statSync","isDirectory");const se=isTypeSync.bind(undefined,"lstatSync","isSymbolicLink");var oe=p(51467);var ae=p(94877);function slash(A){const d=A.startsWith("\\\\?\\");if(d){return A}return A.replace(/\\/g,"/")}const isNegativePattern=A=>A[0]==="!";const le=["**/node_modules","**/flow-typed","**/coverage","**/.git"];const ce={absolute:true,dot:true};const ue="**/.gitignore";const applyBaseToPattern=(A,d)=>{if(!d){return A}const p=isNegativePattern(A);const C=p?A.slice(1):A;const S=C.indexOf("/");const T=S!==-1&&S!==C.length-1;let _;if(!T){_=v.posix.join(d,"**",C)}else if(C.startsWith("/")){_=v.posix.join(d,C.slice(1))}else{_=v.posix.join(d,C)}return p?"!"+_:_};const parseIgnoreFile=(A,d)=>{const p=slash(v.relative(d,v.dirname(A.filePath)));return A.content.split(/\r?\n/).filter((A=>A&&!A.startsWith("#"))).map((A=>applyBaseToPattern(A,p)))};const toRelativePath=(A,d)=>{d=slash(d);if(v.isAbsolute(A)){if(slash(A).startsWith(d)){return v.relative(d,A)}throw new Error(`Path ${A} is not in cwd ${d}`)}if(A.startsWith("./")){return A.slice(2)}if(A.startsWith("../")){return undefined}return A};const getIsIgnoredPredicate=(A,d)=>{const p=A.flatMap((A=>parseIgnoreFile(A,d)));const C=ae().add(p);return A=>{A=(0,oe.b0)(A);A=toRelativePath(A,d);if(A===undefined){return false}return A?C.ignores(slash(A)):false}};const normalizeOptions=(A={})=>({cwd:(0,oe.b0)(A.cwd)??C.cwd(),suppressErrors:Boolean(A.suppressErrors),deep:typeof A.deep==="number"?A.deep:Number.POSITIVE_INFINITY,ignore:[...A.ignore??[],...le]});const isIgnoredByIgnoreFiles=async(A,d)=>{const{cwd:p,suppressErrors:C,deep:S,ignore:v}=normalizeOptions(d);const T=await V(A,{cwd:p,suppressErrors:C,deep:S,ignore:v,...ce});const _=await Promise.all(T.map((async A=>({filePath:A,content:await Z.readFile(A,"utf8")}))));return getIsIgnoredPredicate(_,p)};const isIgnoredByIgnoreFilesSync=(A,d)=>{const{cwd:p,suppressErrors:C,deep:v,ignore:T}=normalizeOptions(d);const _=V.sync(A,{cwd:p,suppressErrors:C,deep:v,ignore:T,...ce});const Z=_.map((A=>({filePath:A,content:S.readFileSync(A,"utf8")})));return getIsIgnoredPredicate(Z,p)};const isGitIgnored=A=>isIgnoredByIgnoreFiles(ue,A);const isGitIgnoredSync=A=>isIgnoredByIgnoreFilesSync(ue,A);const assertPatternsInput=A=>{if(A.some((A=>typeof A!=="string"))){throw new TypeError("Patterns must be a string or an array of strings")}};const normalizePathForDirectoryGlob=(A,d)=>{const p=isNegativePattern(A)?A.slice(1):A;return v.isAbsolute(p)?p:v.join(d,p)};const shouldExpandGlobstarDirectory=A=>{const d=A?.match(/\*\*\/([^/]+)$/);if(!d){return false}const p=d[1];const C=/[*?[\]{}]/.test(p);const S=v.extname(p)&&!p.startsWith(".");return!C&&!S};const getDirectoryGlob=({directoryPath:A,files:d,extensions:p})=>{const C=p?.length>0?`.${p.length>1?`{${p.join(",")}}`:p[0]}`:"";return d?d.map((d=>v.posix.join(A,`**/${v.extname(d)?d:`${d}${C}`}`))):[v.posix.join(A,`**${C?`/*${C}`:""}`)]};const directoryToGlob=async(A,{cwd:d=C.cwd(),files:p,extensions:S}={})=>{const v=await Promise.all(A.map((async A=>{const C=isNegativePattern(A)?A.slice(1):A;if(shouldExpandGlobstarDirectory(C)){return getDirectoryGlob({directoryPath:A,files:p,extensions:S})}const v=normalizePathForDirectoryGlob(A,d);return await te(v)?getDirectoryGlob({directoryPath:A,files:p,extensions:S}):A})));return v.flat()};const directoryToGlobSync=(A,{cwd:d=C.cwd(),files:p,extensions:S}={})=>A.flatMap((A=>{const C=isNegativePattern(A)?A.slice(1):A;if(shouldExpandGlobstarDirectory(C)){return getDirectoryGlob({directoryPath:A,files:p,extensions:S})}const v=normalizePathForDirectoryGlob(A,d);return ie(v)?getDirectoryGlob({directoryPath:A,files:p,extensions:S}):A}));const toPatternsArray=A=>{A=[...new Set([A].flat())];assertPatternsInput(A);return A};const checkCwdOption=A=>{if(!A){return}let d;try{d=S.statSync(A)}catch{return}if(!d.isDirectory()){throw new Error("The `cwd` option must be a path to a directory")}};const globby_normalizeOptions=(A={})=>{A={...A,ignore:A.ignore??[],expandDirectories:A.expandDirectories??true,cwd:(0,oe.b0)(A.cwd)};checkCwdOption(A.cwd);return A};const normalizeArguments=A=>async(d,p)=>A(toPatternsArray(d),globby_normalizeOptions(p));const normalizeArgumentsSync=A=>(d,p)=>A(toPatternsArray(d),globby_normalizeOptions(p));const getIgnoreFilesPatterns=A=>{const{ignoreFiles:d,gitignore:p}=A;const C=d?toPatternsArray(d):[];if(p){C.push(ue)}return C};const getFilter=async A=>{const d=getIgnoreFilesPatterns(A);return createFilterFunction(d.length>0&&await isIgnoredByIgnoreFiles(d,A))};const getFilterSync=A=>{const d=getIgnoreFilesPatterns(A);return createFilterFunction(d.length>0&&isIgnoredByIgnoreFilesSync(d,A))};const createFilterFunction=A=>{const d=new Set;return p=>{const C=v.normalize(p.path??p);if(d.has(C)||A&&A(C)){return false}d.add(C);return true}};const unionFastGlobResults=(A,d)=>A.flat().filter((A=>d(A)));const convertNegativePatterns=(A,d)=>{const p=[];while(A.length>0){const C=A.findIndex((A=>isNegativePattern(A)));if(C===-1){p.push({patterns:A,options:d});break}const S=A[C].slice(1);for(const A of p){A.options.ignore.push(S)}if(C!==0){p.push({patterns:A.slice(0,C),options:{...d,ignore:[...d.ignore,S]}})}A=A.slice(C+1)}return p};const normalizeExpandDirectoriesOption=(A,d)=>({...d?{cwd:d}:{},...Array.isArray(A)?{files:A}:A});const generateTasks=async(A,d)=>{const p=convertNegativePatterns(A,d);const{cwd:C,expandDirectories:S}=d;if(!S){return p}const v=normalizeExpandDirectoriesOption(S,C);return Promise.all(p.map((async A=>{let{patterns:d,options:p}=A;[d,p.ignore]=await Promise.all([directoryToGlob(d,v),directoryToGlob(p.ignore,{cwd:C})]);return{patterns:d,options:p}})))};const generateTasksSync=(A,d)=>{const p=convertNegativePatterns(A,d);const{cwd:C,expandDirectories:S}=d;if(!S){return p}const v=normalizeExpandDirectoriesOption(S,C);return p.map((A=>{let{patterns:d,options:p}=A;d=directoryToGlobSync(d,v);p.ignore=directoryToGlobSync(p.ignore,{cwd:C});return{patterns:d,options:p}}))};const Ae=normalizeArguments((async(A,d)=>{const[p,C]=await Promise.all([generateTasks(A,d),getFilter(d)]);const S=await Promise.all(p.map((A=>V(A.patterns,A.options))));return unionFastGlobResults(S,C)}));const de=normalizeArgumentsSync(((A,d)=>{const p=generateTasksSync(A,d);const C=getFilterSync(d);const S=p.map((A=>V.sync(A.patterns,A.options)));return unionFastGlobResults(S,C)}));const pe=normalizeArgumentsSync(((A,d)=>{const p=generateTasksSync(A,d);const C=getFilterSync(d);const S=p.map((A=>V.stream(A.patterns,A.options)));if(S.length===0){return T.Readable.from([])}const v=(0,_.A)(S).filter((A=>C(A)));return v}));const fe=normalizeArgumentsSync(((A,d)=>A.some((A=>V.isDynamicPattern(A,d)))));const he=normalizeArguments(generateTasks);const ge=normalizeArgumentsSync(generateTasksSync);const{convertPathToPattern:me}=V},28445:(A,d,p)=>{p.d(d,{A:()=>parseArgsStringToArgv});function parseArgsStringToArgv(A,d,p){var C=/([^\s'"]([^\s'"]*(['"])([^\3]*?)\3)+[^\s'"]*)|[^\s'"]+|(['"])([^\5]*?)\5/gi;var S=A;var v=[];if(d){v.push(d)}if(p){v.push(p)}var T;do{T=C.exec(S);if(T!==null){v.push(firstString(T[1],T[6],T[0]))}}while(T!==null);return v}function firstString(){var A=[];for(var d=0;d<arguments.length;d++){A[d]=arguments[d]}for(var p=0;p<A.length;p++){var C=A[p];if(typeof C==="string"){return C}}}},51467:(A,d,p)=>{p.d(d,{b0:()=>toPath,n5:()=>traversePathUp});var C=p(57975);var S=p(31421);var v=p(76760);var T=p(73136);const _=(0,C.promisify)(S.execFile);function toPath(A){return A instanceof URL?(0,T.fileURLToPath)(A):A}function rootDirectory(A){return path.parse(toPath(A)).root}function traversePathUp(A){return{*[Symbol.iterator](){let d=v.resolve(toPath(A));let p;while(p!==d){yield d;p=d;d=v.resolve(d,"..")}}}}const V=null&&10*1024*1024;async function execFile(A,d,p={}){return _(A,d,{maxBuffer:V,...p})}function execFileSync(A,d=[],p={}){return execFileSyncOriginal(A,d,{maxBuffer:V,encoding:"utf8",stdio:"pipe",...p})}},39586:A=>{A.exports=JSON.parse('{"name":"@actions/artifact","version":"4.0.0","preview":true,"description":"Actions artifact lib","keywords":["github","actions","artifact"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/artifact","license":"MIT","main":"lib/artifact.js","types":"lib/artifact.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/artifact"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"cd ../../ && npm run test ./packages/artifact","bootstrap":"cd ../../ && npm run bootstrap","tsc-run":"tsc","tsc":"npm run bootstrap && npm run tsc-run","gen:docs":"typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.10.0","@actions/github":"^6.0.1","@actions/http-client":"^2.1.0","@azure/core-http":"^3.0.5","@azure/storage-blob":"^12.15.0","@octokit/core":"^5.2.1","@octokit/plugin-request-log":"^1.0.4","@octokit/plugin-retry":"^3.0.9","@octokit/request":"^8.4.1","@octokit/request-error":"^5.1.1","@protobuf-ts/plugin":"^2.2.3-alpha.1","archiver":"^7.0.1","jwt-decode":"^3.1.2","unzip-stream":"^0.3.1"},"devDependencies":{"@types/archiver":"^5.3.2","@types/unzip-stream":"^0.3.4","typedoc":"^0.28.13","typedoc-plugin-markdown":"^3.17.1","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')}};var p={};function __nccwpck_require__(A){var C=p[A];if(C!==undefined){return C.exports}var S=p[A]={id:A,loaded:false,exports:{}};var v=true;try{d[A].call(S.exports,S,S.exports,__nccwpck_require__);v=false}finally{if(v)delete p[A]}S.loaded=true;return S.exports}(()=>{var A=typeof Symbol==="function"?Symbol("webpack queues"):"__webpack_queues__";var d=typeof Symbol==="function"?Symbol("webpack exports"):"__webpack_exports__";var p=typeof Symbol==="function"?Symbol("webpack error"):"__webpack_error__";var resolveQueue=A=>{if(A&&A.d<1){A.d=1;A.forEach((A=>A.r--));A.forEach((A=>A.r--?A.r++:A()))}};var wrapDeps=C=>C.map((C=>{if(C!==null&&typeof C==="object"){if(C[A])return C;if(C.then){var S=[];S.d=0;C.then((A=>{v[d]=A;resolveQueue(S)}),(A=>{v[p]=A;resolveQueue(S)}));var v={};v[A]=A=>A(S);return v}}var T={};T[A]=A=>{};T[d]=C;return T}));__nccwpck_require__.a=(C,S,v)=>{var T;v&&((T=[]).d=-1);var _=new Set;var V=C.exports;var Z;var ee;var te;var re=new Promise(((A,d)=>{te=d;ee=A}));re[d]=V;re[A]=A=>(T&&A(T),_.forEach(A),re["catch"]((A=>{})));C.exports=re;S((C=>{Z=wrapDeps(C);var S;var getResult=()=>Z.map((A=>{if(A[p])throw A[p];return A[d]}));var v=new Promise((d=>{S=()=>d(getResult);S.r=0;var fnQueue=A=>A!==T&&!_.has(A)&&(_.add(A),A&&!A.d&&(S.r++,A.push(S)));Z.map((d=>d[A](fnQueue)))}));return S.r?v:getResult()}),(A=>(A?te(re[p]=A):ee(V),resolveQueue(T))));T&&T.d<0&&(T.d=0)}})();(()=>{__nccwpck_require__.n=A=>{var d=A&&A.__esModule?()=>A["default"]:()=>A;__nccwpck_require__.d(d,{a:d});return d}})();(()=>{__nccwpck_require__.d=(A,d)=>{for(var p in d){if(__nccwpck_require__.o(d,p)&&!__nccwpck_require__.o(A,p)){Object.defineProperty(A,p,{enumerable:true,get:d[p]})}}}})();(()=>{__nccwpck_require__.o=(A,d)=>Object.prototype.hasOwnProperty.call(A,d)})();(()=>{__nccwpck_require__.nmd=A=>{A.paths=[];if(!A.children)A.children=[];return A}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var C=__nccwpck_require__(46866);C=await C;