mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-12-26 23:21:27 +01:00
89 lines
2.6 MiB
Generated
89 lines
2.6 MiB
Generated
require('./sourcemap-register.js');(()=>{var i={76846:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__exportStar||function(i,c){for(var d in i)if(d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d))p(c,i,d)};Object.defineProperty(c,"__esModule",{value:true});const C=d(64487);A(d(13776),c);A(d(45655),c);A(d(64487),c);const S=new C.DefaultArtifactClient;c["default"]=S},35592:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Timestamp=void 0;const p=d(68886);const A=d(68886);const C=d(68886);const S=d(68886);const v=d(68886);const _=d(68886);const T=d(68886);class Timestamp$Type extends T.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const c=Date.now();i.seconds=_.PbLong.from(Math.floor(c/1e3)).toString();i.nanos=c%1e3*1e6;return i}toDate(i){return new Date(_.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const c=this.create();const d=i.getTime();c.seconds=_.PbLong.from(Math.floor(d/1e3)).toString();c.nanos=d%1e3*1e6;return c}internalJsonWrite(i,c){let d=_.PbLong.from(i.seconds).toNumber()*1e3;if(d<Date.parse("0001-01-01T00:00:00Z")||d>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(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let p="Z";if(i.nanos>0){let c=(i.nanos+1e9).toString().substring(1);if(c.substring(3)==="000000")p="."+c.substring(0,3)+"Z";else if(c.substring(6)==="000")p="."+c.substring(0,6)+"Z";else p="."+c+"Z"}return new Date(d).toISOString().replace(".000Z",p)}internalJsonRead(i,c,d){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,v.typeofJsonValue)(i)+".");let p=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!p)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let A=Date.parse(p[1]+"-"+p[2]+"-"+p[3]+"T"+p[4]+":"+p[5]+":"+p[6]+(p[8]?p[8]:"Z"));if(Number.isNaN(A))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(A<Date.parse("0001-01-01T00:00:00Z")||A>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(!d)d=this.create();d.seconds=_.PbLong.from(A/1e3).toString();d.nanos=0;if(p[7])d.nanos=parseInt("1"+p[7]+"0".repeat(9-p[7].length))-1e9;return d}create(i){const c={seconds:"0",nanos:0};globalThis.Object.defineProperty(c,S.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,C.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let C=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:C.seconds=i.int64().toString();break;case 2:C.nanos=i.int32();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?A.UnknownFieldHandler.onRead:S)(this.typeName,C,c,p,v)}}return C}internalBinaryWrite(i,c,d){if(i.seconds!=="0")c.tag(1,p.WireType.Varint).int64(i.seconds);if(i.nanos!==0)c.tag(2,p.WireType.Varint).int32(i.nanos);let C=d.writeUnknownFields;if(C!==false)(C==true?A.UnknownFieldHandler.onWrite:C)(this.typeName,i,c);return c}}c.Timestamp=new Timestamp$Type},78806:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BytesValue=c.StringValue=c.BoolValue=c.UInt32Value=c.Int32Value=c.UInt64Value=c.Int64Value=c.FloatValue=c.DoubleValue=void 0;const p=d(68886);const A=d(68886);const C=d(68886);const S=d(68886);const v=d(68886);const _=d(68886);const T=d(68886);class DoubleValue$Type extends T.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,1,undefined,"value");return d}create(i){const c={value:0};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.double();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!==0)c.tag(1,C.WireType.Bit64).double(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.DoubleValue=new DoubleValue$Type;class FloatValue$Type extends T.MessageType{constructor(){super("google.protobuf.FloatValue",[{no:1,name:"value",kind:"scalar",T:2}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(1,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,1,undefined,"value");return d}create(i){const c={value:0};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.float();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!==0)c.tag(1,C.WireType.Bit32).float(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FloatValue=new FloatValue$Type;class Int64Value$Type extends T.MessageType{constructor(){super("google.protobuf.Int64Value",[{no:1,name:"value",kind:"scalar",T:3}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(p.ScalarType.INT64,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,p.ScalarType.INT64,A.LongType.STRING,"value");return d}create(i){const c={value:"0"};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.int64().toString();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!=="0")c.tag(1,C.WireType.Varint).int64(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.Int64Value=new Int64Value$Type;class UInt64Value$Type extends T.MessageType{constructor(){super("google.protobuf.UInt64Value",[{no:1,name:"value",kind:"scalar",T:4}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(p.ScalarType.UINT64,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,p.ScalarType.UINT64,A.LongType.STRING,"value");return d}create(i){const c={value:"0"};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.uint64().toString();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!=="0")c.tag(1,C.WireType.Varint).uint64(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.UInt64Value=new UInt64Value$Type;class Int32Value$Type extends T.MessageType{constructor(){super("google.protobuf.Int32Value",[{no:1,name:"value",kind:"scalar",T:5}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(5,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,5,undefined,"value");return d}create(i){const c={value:0};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.int32();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!==0)c.tag(1,C.WireType.Varint).int32(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.Int32Value=new Int32Value$Type;class UInt32Value$Type extends T.MessageType{constructor(){super("google.protobuf.UInt32Value",[{no:1,name:"value",kind:"scalar",T:13}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(13,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,13,undefined,"value");return d}create(i){const c={value:0};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.uint32();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!==0)c.tag(1,C.WireType.Varint).uint32(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.UInt32Value=new UInt32Value$Type;class BoolValue$Type extends T.MessageType{constructor(){super("google.protobuf.BoolValue",[{no:1,name:"value",kind:"scalar",T:8}])}internalJsonWrite(i,c){return i.value}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,8,undefined,"value");return d}create(i){const c={value:false};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.bool();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!==false)c.tag(1,C.WireType.Varint).bool(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.BoolValue=new BoolValue$Type;class StringValue$Type extends T.MessageType{constructor(){super("google.protobuf.StringValue",[{no:1,name:"value",kind:"scalar",T:9}])}internalJsonWrite(i,c){return i.value}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,9,undefined,"value");return d}create(i){const c={value:""};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.string();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value!=="")c.tag(1,C.WireType.LengthDelimited).string(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.StringValue=new StringValue$Type;class BytesValue$Type extends T.MessageType{constructor(){super("google.protobuf.BytesValue",[{no:1,name:"value",kind:"scalar",T:12}])}internalJsonWrite(i,c){return this.refJsonWriter.scalar(12,i.value,"value",false,true)}internalJsonRead(i,c,d){if(!d)d=this.create();d.value=this.refJsonReader.scalar(i,12,undefined,"value");return d}create(i){const c={value:new Uint8Array(0)};globalThis.Object.defineProperty(c,_.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,v.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),C=i.pos+c;while(i.pos<C){let[c,p]=i.tag();switch(c){case 1:A.value=i.bytes();break;default:let C=d.readUnknownField;if(C==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(C!==false)(C===true?S.UnknownFieldHandler.onRead:C)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.value.length)c.tag(1,C.WireType.LengthDelimited).bytes(i.value);let p=d.writeUnknownFields;if(p!==false)(p==true?S.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.BytesValue=new BytesValue$Type},44216:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__exportStar||function(i,c){for(var d in i)if(d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d))p(c,i,d)};Object.defineProperty(c,"__esModule",{value:true});A(d(35592),c);A(d(78806),c);A(d(68614),c);A(d(31800),c)},68614:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ArtifactService=c.DeleteArtifactResponse=c.DeleteArtifactRequest=c.GetSignedArtifactURLResponse=c.GetSignedArtifactURLRequest=c.ListArtifactsResponse_MonolithArtifact=c.ListArtifactsResponse=c.ListArtifactsRequest=c.FinalizeArtifactResponse=c.FinalizeArtifactRequest=c.CreateArtifactResponse=c.CreateArtifactRequest=c.FinalizeMigratedArtifactResponse=c.FinalizeMigratedArtifactRequest=c.MigrateArtifactResponse=c.MigrateArtifactRequest=void 0;const p=d(44420);const A=d(68886);const C=d(68886);const S=d(68886);const v=d(68886);const _=d(68886);const T=d(78806);const V=d(78806);const Z=d(35592);class MigrateArtifactRequest$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.MigrateArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"message",T:()=>Z.Timestamp}])}create(i){const c={workflowRunBackendId:"",name:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.name=i.string();break;case 3:A.expiresAt=Z.Timestamp.internalBinaryRead(i,i.uint32(),d,A.expiresAt);break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.name!=="")c.tag(2,A.WireType.LengthDelimited).string(i.name);if(i.expiresAt)Z.Timestamp.internalBinaryWrite(i.expiresAt,c.tag(3,A.WireType.LengthDelimited).fork(),d).join();let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.MigrateArtifactRequest=new MigrateArtifactRequest$Type;class MigrateArtifactResponse$Type extends _.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(i){const c={ok:false,signedUploadUrl:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.signedUploadUrl=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.signedUploadUrl!=="")c.tag(2,A.WireType.LengthDelimited).string(i.signedUploadUrl);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.MigrateArtifactResponse=new MigrateArtifactResponse$Type;class FinalizeMigratedArtifactRequest$Type extends _.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(i){const c={workflowRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.name=i.string();break;case 3:A.size=i.int64().toString();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.name!=="")c.tag(2,A.WireType.LengthDelimited).string(i.name);if(i.size!=="0")c.tag(3,A.WireType.Varint).int64(i.size);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FinalizeMigratedArtifactRequest=new FinalizeMigratedArtifactRequest$Type;class FinalizeMigratedArtifactResponse$Type extends _.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(i){const c={ok:false,artifactId:"0"};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.artifactId=i.int64().toString();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.artifactId!=="0")c.tag(2,A.WireType.Varint).int64(i.artifactId);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FinalizeMigratedArtifactResponse=new FinalizeMigratedArtifactResponse$Type;class CreateArtifactRequest$Type extends _.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:()=>Z.Timestamp},{no:5,name:"version",kind:"scalar",T:5}])}create(i){const c={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.workflowJobRunBackendId=i.string();break;case 3:A.name=i.string();break;case 4:A.expiresAt=Z.Timestamp.internalBinaryRead(i,i.uint32(),d,A.expiresAt);break;case 5:A.version=i.int32();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.workflowJobRunBackendId!=="")c.tag(2,A.WireType.LengthDelimited).string(i.workflowJobRunBackendId);if(i.name!=="")c.tag(3,A.WireType.LengthDelimited).string(i.name);if(i.expiresAt)Z.Timestamp.internalBinaryWrite(i.expiresAt,c.tag(4,A.WireType.LengthDelimited).fork(),d).join();if(i.version!==0)c.tag(5,A.WireType.Varint).int32(i.version);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.CreateArtifactRequest=new CreateArtifactRequest$Type;class CreateArtifactResponse$Type extends _.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(i){const c={ok:false,signedUploadUrl:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.signedUploadUrl=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.signedUploadUrl!=="")c.tag(2,A.WireType.LengthDelimited).string(i.signedUploadUrl);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.CreateArtifactResponse=new CreateArtifactResponse$Type;class FinalizeArtifactRequest$Type extends _.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:()=>V.StringValue}])}create(i){const c={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.workflowJobRunBackendId=i.string();break;case 3:A.name=i.string();break;case 4:A.size=i.int64().toString();break;case 5:A.hash=V.StringValue.internalBinaryRead(i,i.uint32(),d,A.hash);break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.workflowJobRunBackendId!=="")c.tag(2,A.WireType.LengthDelimited).string(i.workflowJobRunBackendId);if(i.name!=="")c.tag(3,A.WireType.LengthDelimited).string(i.name);if(i.size!=="0")c.tag(4,A.WireType.Varint).int64(i.size);if(i.hash)V.StringValue.internalBinaryWrite(i.hash,c.tag(5,A.WireType.LengthDelimited).fork(),d).join();let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FinalizeArtifactRequest=new FinalizeArtifactRequest$Type;class FinalizeArtifactResponse$Type extends _.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(i){const c={ok:false,artifactId:"0"};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.artifactId=i.int64().toString();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.artifactId!=="0")c.tag(2,A.WireType.Varint).int64(i.artifactId);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FinalizeArtifactResponse=new FinalizeArtifactResponse$Type;class ListArtifactsRequest$Type extends _.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:()=>V.StringValue},{no:4,name:"id_filter",kind:"message",T:()=>T.Int64Value}])}create(i){const c={workflowRunBackendId:"",workflowJobRunBackendId:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.workflowJobRunBackendId=i.string();break;case 3:A.nameFilter=V.StringValue.internalBinaryRead(i,i.uint32(),d,A.nameFilter);break;case 4:A.idFilter=T.Int64Value.internalBinaryRead(i,i.uint32(),d,A.idFilter);break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.workflowJobRunBackendId!=="")c.tag(2,A.WireType.LengthDelimited).string(i.workflowJobRunBackendId);if(i.nameFilter)V.StringValue.internalBinaryWrite(i.nameFilter,c.tag(3,A.WireType.LengthDelimited).fork(),d).join();if(i.idFilter)T.Int64Value.internalBinaryWrite(i.idFilter,c.tag(4,A.WireType.LengthDelimited).fork(),d).join();let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.ListArtifactsRequest=new ListArtifactsRequest$Type;class ListArtifactsResponse$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.ListArtifactsResponse",[{no:1,name:"artifacts",kind:"message",repeat:1,T:()=>c.ListArtifactsResponse_MonolithArtifact}])}create(i){const c={artifacts:[]};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,d,p,A){let S=A!==null&&A!==void 0?A:this.create(),v=i.pos+d;while(i.pos<v){let[d,A]=i.tag();switch(d){case 1:S.artifacts.push(c.ListArtifactsResponse_MonolithArtifact.internalBinaryRead(i,i.uint32(),p));break;default:let v=p.readUnknownField;if(v==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${A}) for ${this.typeName}`);let _=i.skip(A);if(v!==false)(v===true?C.UnknownFieldHandler.onRead:v)(this.typeName,S,d,A,_)}}return S}internalBinaryWrite(i,d,p){for(let C=0;C<i.artifacts.length;C++)c.ListArtifactsResponse_MonolithArtifact.internalBinaryWrite(i.artifacts[C],d.tag(1,A.WireType.LengthDelimited).fork(),p).join();let S=p.writeUnknownFields;if(S!==false)(S==true?C.UnknownFieldHandler.onWrite:S)(this.typeName,i,d);return d}}c.ListArtifactsResponse=new ListArtifactsResponse$Type;class ListArtifactsResponse_MonolithArtifact$Type extends _.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:()=>Z.Timestamp},{no:7,name:"digest",kind:"message",T:()=>V.StringValue}])}create(i){const c={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.workflowJobRunBackendId=i.string();break;case 3:A.databaseId=i.int64().toString();break;case 4:A.name=i.string();break;case 5:A.size=i.int64().toString();break;case 6:A.createdAt=Z.Timestamp.internalBinaryRead(i,i.uint32(),d,A.createdAt);break;case 7:A.digest=V.StringValue.internalBinaryRead(i,i.uint32(),d,A.digest);break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.workflowJobRunBackendId!=="")c.tag(2,A.WireType.LengthDelimited).string(i.workflowJobRunBackendId);if(i.databaseId!=="0")c.tag(3,A.WireType.Varint).int64(i.databaseId);if(i.name!=="")c.tag(4,A.WireType.LengthDelimited).string(i.name);if(i.size!=="0")c.tag(5,A.WireType.Varint).int64(i.size);if(i.createdAt)Z.Timestamp.internalBinaryWrite(i.createdAt,c.tag(6,A.WireType.LengthDelimited).fork(),d).join();if(i.digest)V.StringValue.internalBinaryWrite(i.digest,c.tag(7,A.WireType.LengthDelimited).fork(),d).join();let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.ListArtifactsResponse_MonolithArtifact=new ListArtifactsResponse_MonolithArtifact$Type;class GetSignedArtifactURLRequest$Type extends _.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(i){const c={workflowRunBackendId:"",workflowJobRunBackendId:"",name:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.workflowJobRunBackendId=i.string();break;case 3:A.name=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.workflowJobRunBackendId!=="")c.tag(2,A.WireType.LengthDelimited).string(i.workflowJobRunBackendId);if(i.name!=="")c.tag(3,A.WireType.LengthDelimited).string(i.name);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.GetSignedArtifactURLRequest=new GetSignedArtifactURLRequest$Type;class GetSignedArtifactURLResponse$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.GetSignedArtifactURLResponse",[{no:1,name:"signed_url",kind:"scalar",T:9}])}create(i){const c={signedUrl:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.signedUrl=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.signedUrl!=="")c.tag(1,A.WireType.LengthDelimited).string(i.signedUrl);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.GetSignedArtifactURLResponse=new GetSignedArtifactURLResponse$Type;class DeleteArtifactRequest$Type extends _.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(i){const c={workflowRunBackendId:"",workflowJobRunBackendId:"",name:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.workflowRunBackendId=i.string();break;case 2:A.workflowJobRunBackendId=i.string();break;case 3:A.name=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.workflowRunBackendId!=="")c.tag(1,A.WireType.LengthDelimited).string(i.workflowRunBackendId);if(i.workflowJobRunBackendId!=="")c.tag(2,A.WireType.LengthDelimited).string(i.workflowJobRunBackendId);if(i.name!=="")c.tag(3,A.WireType.LengthDelimited).string(i.name);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.DeleteArtifactRequest=new DeleteArtifactRequest$Type;class DeleteArtifactResponse$Type extends _.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(i){const c={ok:false,artifactId:"0"};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.artifactId=i.int64().toString();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.artifactId!=="0")c.tag(2,A.WireType.Varint).int64(i.artifactId);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.DeleteArtifactResponse=new DeleteArtifactResponse$Type;c.ArtifactService=new p.ServiceType("github.actions.results.api.v1.ArtifactService",[{name:"CreateArtifact",options:{},I:c.CreateArtifactRequest,O:c.CreateArtifactResponse},{name:"FinalizeArtifact",options:{},I:c.FinalizeArtifactRequest,O:c.FinalizeArtifactResponse},{name:"ListArtifacts",options:{},I:c.ListArtifactsRequest,O:c.ListArtifactsResponse},{name:"GetSignedArtifactURL",options:{},I:c.GetSignedArtifactURLRequest,O:c.GetSignedArtifactURLResponse},{name:"DeleteArtifact",options:{},I:c.DeleteArtifactRequest,O:c.DeleteArtifactResponse},{name:"MigrateArtifact",options:{},I:c.MigrateArtifactRequest,O:c.MigrateArtifactResponse},{name:"FinalizeMigratedArtifact",options:{},I:c.FinalizeMigratedArtifactRequest,O:c.FinalizeMigratedArtifactResponse}])},31800:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ArtifactServiceClientProtobuf=c.ArtifactServiceClientJSON=void 0;const p=d(68614);class ArtifactServiceClientJSON{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const c=p.CreateArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/json",c);return d.then((i=>p.CreateArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeArtifact(i){const c=p.FinalizeArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",c);return d.then((i=>p.FinalizeArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}ListArtifacts(i){const c=p.ListArtifactsRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",c);return d.then((i=>p.ListArtifactsResponse.fromJson(i,{ignoreUnknownFields:true})))}GetSignedArtifactURL(i){const c=p.GetSignedArtifactURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",c);return d.then((i=>p.GetSignedArtifactURLResponse.fromJson(i,{ignoreUnknownFields:true})))}DeleteArtifact(i){const c=p.DeleteArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",c);return d.then((i=>p.DeleteArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}}c.ArtifactServiceClientJSON=ArtifactServiceClientJSON;class ArtifactServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const c=p.CreateArtifactRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/protobuf",c);return d.then((i=>p.CreateArtifactResponse.fromBinary(i)))}FinalizeArtifact(i){const c=p.FinalizeArtifactRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/protobuf",c);return d.then((i=>p.FinalizeArtifactResponse.fromBinary(i)))}ListArtifacts(i){const c=p.ListArtifactsRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/protobuf",c);return d.then((i=>p.ListArtifactsResponse.fromBinary(i)))}GetSignedArtifactURL(i){const c=p.GetSignedArtifactURLRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/protobuf",c);return d.then((i=>p.GetSignedArtifactURLResponse.fromBinary(i)))}DeleteArtifact(i){const c=p.DeleteArtifactRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/protobuf",c);return d.then((i=>p.DeleteArtifactResponse.fromBinary(i)))}}c.ArtifactServiceClientProtobuf=ArtifactServiceClientProtobuf},64487:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var A=this&&this.__rest||function(i,c){var d={};for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p)&&c.indexOf(p)<0)d[p]=i[p];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var A=0,p=Object.getOwnPropertySymbols(i);A<p.length;A++){if(c.indexOf(p[A])<0&&Object.prototype.propertyIsEnumerable.call(i,p[A]))d[p[A]]=i[p[A]]}return d};Object.defineProperty(c,"__esModule",{value:true});c.DefaultArtifactClient=void 0;const C=d(37484);const S=d(72938);const v=d(48392);const _=d(93542);const T=d(67964);const V=d(2327);const Z=d(8808);const ee=d(45655);class DefaultArtifactClient{uploadArtifact(i,c,d,A){return p(this,void 0,void 0,(function*(){try{if((0,S.isGhes)()){throw new ee.GHESNotSupportedError}return(0,v.uploadArtifact)(i,c,d,A)}catch(i){(0,C.warning)(`Artifact upload failed with error: ${i}.\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 i}}))}downloadArtifact(i,c){return p(this,void 0,void 0,(function*(){try{if((0,S.isGhes)()){throw new ee.GHESNotSupportedError}if(c===null||c===void 0?void 0:c.findBy){const{findBy:{repositoryOwner:d,repositoryName:p,token:C}}=c,S=A(c,["findBy"]);return(0,_.downloadArtifactPublic)(i,d,p,C,S)}return(0,_.downloadArtifactInternal)(i,c)}catch(i){(0,C.warning)(`Download Artifact failed with error: ${i}.\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 i}}))}listArtifacts(i){return p(this,void 0,void 0,(function*(){try{if((0,S.isGhes)()){throw new ee.GHESNotSupportedError}if(i===null||i===void 0?void 0:i.findBy){const{findBy:{workflowRunId:c,repositoryOwner:d,repositoryName:p,token:A}}=i;return(0,Z.listArtifactsPublic)(c,d,p,A,i===null||i===void 0?void 0:i.latest)}return(0,Z.listArtifactsInternal)(i===null||i===void 0?void 0:i.latest)}catch(i){(0,C.warning)(`Listing Artifacts failed with error: ${i}.\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 i}}))}getArtifact(i,c){return p(this,void 0,void 0,(function*(){try{if((0,S.isGhes)()){throw new ee.GHESNotSupportedError}if(c===null||c===void 0?void 0:c.findBy){const{findBy:{workflowRunId:d,repositoryOwner:p,repositoryName:A,token:C}}=c;return(0,V.getArtifactPublic)(i,d,p,A,C)}return(0,V.getArtifactInternal)(i)}catch(i){(0,C.warning)(`Get Artifact failed with error: ${i}.\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 i}}))}deleteArtifact(i,c){return p(this,void 0,void 0,(function*(){try{if((0,S.isGhes)()){throw new ee.GHESNotSupportedError}if(c===null||c===void 0?void 0:c.findBy){const{findBy:{repositoryOwner:d,repositoryName:p,workflowRunId:A,token:C}}=c;return(0,T.deleteArtifactPublic)(i,A,d,p,C)}return(0,T.deleteArtifactInternal)(i)}catch(i){(0,C.warning)(`Delete Artifact failed with error: ${i}.\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 i}}))}}c.DefaultArtifactClient=DefaultArtifactClient},67964:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.deleteArtifactPublic=deleteArtifactPublic;c.deleteArtifactInternal=deleteArtifactInternal;const A=d(37484);const C=d(93228);const S=d(89387);const v=d(38361);const _=d(38006);const T=d(6966);const V=d(33450);const Z=d(87417);const ee=d(41631);const te=d(44216);const re=d(2327);const ne=d(45655);function deleteArtifactPublic(i,c,d,A,Z){return p(this,void 0,void 0,(function*(){var p;const[ee,te]=(0,v.getRetryOptions)(_.defaults);const ie={log:undefined,userAgent:(0,S.getUserAgentString)(),previews:undefined,retry:ee,request:te};const se=(0,C.getOctokit)(Z,ie,V.retry,T.requestLog);const oe=yield(0,re.getArtifactPublic)(i,c,d,A,Z);const ae=yield se.rest.actions.deleteArtifact({owner:d,repo:A,artifact_id:oe.artifact.id});if(ae.status!==204){throw new ne.InvalidResponseError(`Invalid response from GitHub API: ${ae.status} (${(p=ae===null||ae===void 0?void 0:ae.headers)===null||p===void 0?void 0:p["x-github-request-id"]})`)}return{id:oe.artifact.id}}))}function deleteArtifactInternal(i){return p(this,void 0,void 0,(function*(){const c=(0,Z.internalArtifactTwirpClient)();const{workflowRunBackendId:d,workflowJobRunBackendId:p}=(0,ee.getBackendIdsFromToken)();const C={workflowRunBackendId:d,workflowJobRunBackendId:p,nameFilter:te.StringValue.create({value:i})};const S=yield c.ListArtifacts(C);if(S.artifacts.length===0){throw new ne.ArtifactNotFoundError(`Artifact not found for name: ${i}`)}let v=S.artifacts[0];if(S.artifacts.length>1){v=S.artifacts.sort(((i,c)=>Number(c.databaseId)-Number(i.databaseId)))[0];(0,A.debug)(`More than one artifact found for a single name, returning newest (id: ${v.databaseId})`)}const _={workflowRunBackendId:v.workflowRunBackendId,workflowJobRunBackendId:v.workflowJobRunBackendId,name:v.name};const T=yield c.DeleteArtifact(_);(0,A.info)(`Artifact '${i}' (ID: ${T.artifactId}) deleted`);return{id:Number(T.artifactId)}}))}},93542:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.streamExtractExternal=streamExtractExternal;c.downloadArtifactPublic=downloadArtifactPublic;c.downloadArtifactInternal=downloadArtifactInternal;const _=v(d(91943));const T=C(d(76982));const V=C(d(2203));const Z=C(d(93228));const ee=C(d(37484));const te=C(d(54844));const re=v(d(33991));const ne=d(89387);const ie=d(72938);const se=d(87417);const oe=d(44216);const ae=d(41631);const le=d(45655);const scrubQueryParameters=i=>{const c=new URL(i);c.search="";return c.toString()};function exists(i){return S(this,void 0,void 0,(function*(){try{yield _.default.access(i);return true}catch(i){if(i.code==="ENOENT"){return false}else{throw i}}}))}function streamExtract(i,c){return S(this,void 0,void 0,(function*(){let d=0;while(d<5){try{return yield streamExtractExternal(i,c)}catch(i){d++;ee.debug(`Failed to download artifact after ${d} retries due to ${i.message}. Retrying in 5 seconds...`);yield new Promise((i=>setTimeout(i,5e3)))}}throw new Error(`Artifact download failed after ${d} retries.`)}))}function streamExtractExternal(i,c){return S(this,arguments,void 0,(function*(i,c,d={timeout:30*1e3}){const p=new te.HttpClient((0,ne.getUserAgentString)());const A=yield p.get(i);if(A.message.statusCode!==200){throw new Error(`Unexpected HTTP response from blob storage: ${A.message.statusCode} ${A.message.statusMessage}`)}let C=undefined;return new Promise(((i,p)=>{const timerFn=()=>{const i=new Error(`Blob storage chunk did not respond in ${d.timeout}ms`);A.message.destroy(i);p(i)};const S=setTimeout(timerFn,d.timeout);const v=T.createHash("sha256").setEncoding("hex");const _=new V.PassThrough;A.message.pipe(_);_.pipe(v);const Z=_;Z.on("data",(()=>{S.refresh()})).on("error",(i=>{ee.debug(`response.message: Artifact download failed: ${i.message}`);clearTimeout(S);p(i)})).pipe(re.default.Extract({path:c})).on("close",(()=>{clearTimeout(S);if(v){v.end();C=v.read();ee.info(`SHA256 digest of downloaded artifact is ${C}`)}i({sha256Digest:`sha256:${C}`})})).on("error",(i=>{p(i)}))}))}))}function downloadArtifactPublic(i,c,d,p,A){return S(this,void 0,void 0,(function*(){const C=yield resolveOrCreateDirectory(A===null||A===void 0?void 0:A.path);const S=Z.getOctokit(p);let v=false;ee.info(`Downloading artifact '${i}' from '${c}/${d}'`);const{headers:_,status:T}=yield S.rest.actions.downloadArtifact({owner:c,repo:d,artifact_id:i,archive_format:"zip",request:{redirect:"manual"}});if(T!==302){throw new Error(`Unable to download artifact. Unexpected status: ${T}`)}const{location:V}=_;if(!V){throw new Error(`Unable to redirect to artifact download url`)}ee.info(`Redirecting to blob download url: ${scrubQueryParameters(V)}`);try{ee.info(`Starting download of artifact to: ${C}`);const i=yield streamExtract(V,C);ee.info(`Artifact download completed successfully.`);if(A===null||A===void 0?void 0:A.expectedHash){if((A===null||A===void 0?void 0:A.expectedHash)!==i.sha256Digest){v=true;ee.debug(`Computed digest: ${i.sha256Digest}`);ee.debug(`Expected digest: ${A.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:C,digestMismatch:v}}))}function downloadArtifactInternal(i,c){return S(this,void 0,void 0,(function*(){const d=yield resolveOrCreateDirectory(c===null||c===void 0?void 0:c.path);const p=(0,se.internalArtifactTwirpClient)();let A=false;const{workflowRunBackendId:C,workflowJobRunBackendId:S}=(0,ae.getBackendIdsFromToken)();const v={workflowRunBackendId:C,workflowJobRunBackendId:S,idFilter:oe.Int64Value.create({value:i.toString()})};const{artifacts:_}=yield p.ListArtifacts(v);if(_.length===0){throw new le.ArtifactNotFoundError(`No artifacts found for ID: ${i}\nAre you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`)}if(_.length>1){ee.warning("Multiple artifacts found, defaulting to first.")}const T={workflowRunBackendId:_[0].workflowRunBackendId,workflowJobRunBackendId:_[0].workflowJobRunBackendId,name:_[0].name};const{signedUrl:V}=yield p.GetSignedArtifactURL(T);ee.info(`Redirecting to blob download url: ${scrubQueryParameters(V)}`);try{ee.info(`Starting download of artifact to: ${d}`);const i=yield streamExtract(V,d);ee.info(`Artifact download completed successfully.`);if(c===null||c===void 0?void 0:c.expectedHash){if((c===null||c===void 0?void 0:c.expectedHash)!==i.sha256Digest){A=true;ee.debug(`Computed digest: ${i.sha256Digest}`);ee.debug(`Expected digest: ${c.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:d,digestMismatch:A}}))}function resolveOrCreateDirectory(){return S(this,arguments,void 0,(function*(i=(0,ie.getGitHubWorkspaceDir)()){if(!(yield exists(i))){ee.debug(`Artifact destination folder does not exist, creating: ${i}`);yield _.default.mkdir(i,{recursive:true})}else{ee.debug(`Artifact destination folder already exists: ${i}`)}return i}))}},2327:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.getArtifactPublic=getArtifactPublic;c.getArtifactInternal=getArtifactInternal;const v=d(93228);const _=d(33450);const T=C(d(37484));const V=d(38006);const Z=d(38361);const ee=d(6966);const te=d(41631);const re=d(89387);const ne=d(87417);const ie=d(44216);const se=d(45655);function getArtifactPublic(i,c,d,p,A){return S(this,void 0,void 0,(function*(){var C;const[S,te]=(0,Z.getRetryOptions)(V.defaults);const ne={log:undefined,userAgent:(0,re.getUserAgentString)(),previews:undefined,retry:S,request:te};const ie=(0,v.getOctokit)(A,ne,_.retry,ee.requestLog);const oe=yield ie.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:d,repo:p,run_id:c,name:i});if(oe.status!==200){throw new se.InvalidResponseError(`Invalid response from GitHub API: ${oe.status} (${(C=oe===null||oe===void 0?void 0:oe.headers)===null||C===void 0?void 0:C["x-github-request-id"]})`)}if(oe.data.artifacts.length===0){throw new se.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let ae=oe.data.artifacts[0];if(oe.data.artifacts.length>1){ae=oe.data.artifacts.sort(((i,c)=>c.id-i.id))[0];T.debug(`More than one artifact found for a single name, returning newest (id: ${ae.id})`)}return{artifact:{name:ae.name,id:ae.id,size:ae.size_in_bytes,createdAt:ae.created_at?new Date(ae.created_at):undefined,digest:ae.digest}}}))}function getArtifactInternal(i){return S(this,void 0,void 0,(function*(){var c;const d=(0,ne.internalArtifactTwirpClient)();const{workflowRunBackendId:p,workflowJobRunBackendId:A}=(0,te.getBackendIdsFromToken)();const C={workflowRunBackendId:p,workflowJobRunBackendId:A,nameFilter:ie.StringValue.create({value:i})};const S=yield d.ListArtifacts(C);if(S.artifacts.length===0){throw new se.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let v=S.artifacts[0];if(S.artifacts.length>1){v=S.artifacts.sort(((i,c)=>Number(c.databaseId)-Number(i.databaseId)))[0];T.debug(`More than one artifact found for a single name, returning newest (id: ${v.databaseId})`)}return{artifact:{name:v.name,id:Number(v.databaseId),size:Number(v.size),createdAt:v.createdAt?ie.Timestamp.toDate(v.createdAt):undefined,digest:(c=v.digest)===null||c===void 0?void 0:c.value}}}))}},8808:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.listArtifactsPublic=listArtifactsPublic;c.listArtifactsInternal=listArtifactsInternal;const A=d(37484);const C=d(93228);const S=d(89387);const v=d(38361);const _=d(38006);const T=d(6966);const V=d(33450);const Z=d(87417);const ee=d(41631);const te=d(72938);const re=d(44216);const ne=(0,te.getMaxArtifactListCount)();const ie=100;const se=Math.ceil(ne/ie);function listArtifactsPublic(i,c,d,Z){return p(this,arguments,void 0,(function*(i,c,d,p,Z=false){(0,A.info)(`Fetching artifact list for workflow run ${i} in repository ${c}/${d}`);let ee=[];const[te,re]=(0,v.getRetryOptions)(_.defaults);const oe={log:undefined,userAgent:(0,S.getUserAgentString)(),previews:undefined,retry:te,request:re};const ae=(0,C.getOctokit)(p,oe,V.retry,T.requestLog);let le=1;const{data:ce}=yield ae.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:c,repo:d,run_id:i,per_page:ie,page:le});let ue=Math.ceil(ce.total_count/ie);const de=ce.total_count;if(de>ne){(0,A.warning)(`Workflow run ${i} has ${de} artifacts, exceeding the limit of ${ne}. Results will be incomplete as only the first ${ne} artifacts will be returned`);ue=se}for(const i of ce.artifacts){ee.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}le++;for(le;le<=ue;le++){(0,A.debug)(`Fetching page ${le} of artifact list`);const{data:p}=yield ae.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:c,repo:d,run_id:i,per_page:ie,page:le});for(const i of p.artifacts){ee.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}}if(Z){ee=filterLatest(ee)}(0,A.info)(`Found ${ee.length} artifact(s)`);return{artifacts:ee}}))}function listArtifactsInternal(){return p(this,arguments,void 0,(function*(i=false){const c=(0,Z.internalArtifactTwirpClient)();const{workflowRunBackendId:d,workflowJobRunBackendId:p}=(0,ee.getBackendIdsFromToken)();const C={workflowRunBackendId:d,workflowJobRunBackendId:p};const S=yield c.ListArtifacts(C);let v=S.artifacts.map((i=>{var c;return{name:i.name,id:Number(i.databaseId),size:Number(i.size),createdAt:i.createdAt?re.Timestamp.toDate(i.createdAt):undefined,digest:(c=i.digest)===null||c===void 0?void 0:c.value}}));if(i){v=filterLatest(v)}(0,A.info)(`Found ${v.length} artifact(s)`);return{artifacts:v}}))}function filterLatest(i){i.sort(((i,c)=>c.id-i.id));const c=[];const d=new Set;for(const p of i){if(!d.has(p.name)){c.push(p);d.add(p.name)}}return c}},38361:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.getRetryOptions=getRetryOptions;const S=C(d(37484));const v=5;const _=[400,401,403,404,422];function getRetryOptions(i,c=v,d=_){var p;if(c<=0){return[{enabled:false},i.request]}const A={enabled:true};if(d.length>0){A.doNotRetry=d}const C=Object.assign(Object.assign({},i.request),{retries:c});S.debug(`GitHub client configured with: (retries: ${C.retries}, retry-exempt-status-code: ${(p=A.doNotRetry)!==null&&p!==void 0?p:"octokit default: [400, 401, 403, 404, 422]"})`);return[A,C]}},87417:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.internalArtifactTwirpClient=internalArtifactTwirpClient;const A=d(54844);const C=d(44552);const S=d(37484);const v=d(44216);const _=d(72938);const T=d(89387);const V=d(45655);const Z=d(41631);class ArtifactHttpClient{constructor(i,c,d,p){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const S=(0,_.getRuntimeToken)();this.baseUrl=(0,_.getResultsServiceUrl)();if(c){this.maxAttempts=c}if(d){this.baseRetryIntervalMilliseconds=d}if(p){this.retryMultiplier=p}this.httpClient=new A.HttpClient(i,[new C.BearerCredentialHandler(S)])}request(i,c,d,A){return p(this,void 0,void 0,(function*(){const C=new URL(`/twirp/${i}/${c}`,this.baseUrl).href;(0,S.debug)(`[Request] ${c} ${C}`);const v={"Content-Type":d};try{const{body:i}=yield this.retryableRequest((()=>p(this,void 0,void 0,(function*(){return this.httpClient.post(C,JSON.stringify(A),v)}))));return i}catch(i){throw new Error(`Failed to ${c}: ${i.message}`)}}))}retryableRequest(i){return p(this,void 0,void 0,(function*(){let c=0;let d="";let p="";while(c<this.maxAttempts){let A=false;try{const c=yield i();const C=c.message.statusCode;p=yield c.readBody();(0,S.debug)(`[Response] - ${c.message.statusCode}`);(0,S.debug)(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);const v=JSON.parse(p);(0,Z.maskSecretUrls)(v);(0,S.debug)(`Body: ${JSON.stringify(v,null,2)}`);if(this.isSuccessStatusCode(C)){return{response:c,body:v}}A=this.isRetryableHttpStatusCode(C);d=`Failed request: (${C}) ${c.message.statusMessage}`;if(v.msg){if(V.UsageError.isUsageErrorMessage(v.msg)){throw new V.UsageError}d=`${d}: ${v.msg}`}}catch(i){if(i instanceof SyntaxError){(0,S.debug)(`Raw Body: ${p}`)}if(i instanceof V.UsageError){throw i}if(V.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new V.NetworkError(i===null||i===void 0?void 0:i.code)}A=true;d=i.message}if(!A){throw new Error(`Received non-retryable error: ${d}`)}if(c+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${d}`)}const C=this.getExponentialRetryTimeMilliseconds(c);(0,S.info)(`Attempt ${c+1} of ${this.maxAttempts} failed with error: ${d}. Retrying request in ${C} ms...`);yield this.sleep(C);c++}throw new Error(`Request failed`)}))}isSuccessStatusCode(i){if(!i)return false;return i>=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const c=[A.HttpCodes.BadGateway,A.HttpCodes.GatewayTimeout,A.HttpCodes.InternalServerError,A.HttpCodes.ServiceUnavailable,A.HttpCodes.TooManyRequests];return c.includes(i)}sleep(i){return p(this,void 0,void 0,(function*(){return new Promise((c=>setTimeout(c,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const c=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const d=c*this.retryMultiplier;return Math.trunc(Math.random()*(d-c)+c)}}function internalArtifactTwirpClient(i){const c=new ArtifactHttpClient((0,T.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new v.ArtifactServiceClientJSON(c)}},72938:function(i,c,d){"use strict";var p=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.getUploadChunkSize=getUploadChunkSize;c.getRuntimeToken=getRuntimeToken;c.getResultsServiceUrl=getResultsServiceUrl;c.isGhes=isGhes;c.getGitHubWorkspaceDir=getGitHubWorkspaceDir;c.getConcurrency=getConcurrency;c.getUploadChunkTimeout=getUploadChunkTimeout;c.getMaxArtifactListCount=getMaxArtifactListCount;const A=p(d(70857));const C=d(37484);function getUploadChunkSize(){return 8*1024*1024}function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}function getResultsServiceUrl(){const i=process.env["ACTIONS_RESULTS_URL"];if(!i){throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable")}return new URL(i).origin}function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const c=i.hostname.trimEnd().toUpperCase();const d=c==="GITHUB.COM";const p=c.endsWith(".GHE.COM");const A=c.endsWith(".LOCALHOST");return!d&&!p&&!A}function getGitHubWorkspaceDir(){const i=process.env["GITHUB_WORKSPACE"];if(!i){throw new Error("Unable to get the GITHUB_WORKSPACE env variable")}return i}function getConcurrency(){const i=A.default.cpus().length;let c=32;if(i>4){const d=16*i;c=d>300?300:d}const d=process.env["ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY"];if(d){const i=parseInt(d);if(isNaN(i)||i<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable")}if(i<c){(0,C.info)(`Set concurrency based on the value set in ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY.`);return i}(0,C.info)(`ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY is higher than the cap of ${c} based on the number of cpus. Set it to the maximum value allowed.`);return c}return 5}function getUploadChunkTimeout(){const i=process.env["ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS"];if(!i){return 3e5}const c=parseInt(i);if(isNaN(c)){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS env variable")}return c}function getMaxArtifactListCount(){const i=process.env["ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT"]||"1000";const c=parseInt(i);if(isNaN(c)||c<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT env variable")}return c}},45655:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.UsageError=c.NetworkError=c.GHESNotSupportedError=c.ArtifactNotFoundError=c.InvalidResponseError=c.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let c="No files were found to upload";if(i.length>0){c+=`: ${i.join(", ")}`}super(c);this.files=i;this.name="FilesNotFoundError"}}c.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}c.InvalidResponseError=InvalidResponseError;class ArtifactNotFoundError extends Error{constructor(i="Artifact not found"){super(i);this.name="ArtifactNotFoundError"}}c.ArtifactNotFoundError=ArtifactNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}c.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const c=`Unable to make request: ${i}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(c);this.code=i;this.name="NetworkError"}}c.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Artifact storage quota has been hit. Unable to upload any new artifacts. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(i);this.name="UsageError"}}c.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")}},13776:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},89387:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getUserAgentString=getUserAgentString;const p=d(2822);function getUserAgentString(){return`@actions/artifact-${p.version}`}},41631:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.getBackendIdsFromToken=getBackendIdsFromToken;c.maskSigUrl=maskSigUrl;c.maskSecretUrls=maskSecretUrls;const v=C(d(37484));const _=d(72938);const T=S(d(79699));const V=d(37484);const Z=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function getBackendIdsFromToken(){const i=(0,_.getRuntimeToken)();const c=(0,T.default)(i);if(!c.scp){throw Z}const d=c.scp.split(" ");if(d.length===0){throw Z}for(const i of d){const c=i.split(":");if((c===null||c===void 0?void 0:c[0])!=="Actions.Results"){continue}if(c.length!==3){throw Z}const d={workflowRunBackendId:c[1],workflowJobRunBackendId:c[2]};v.debug(`Workflow Run Backend ID: ${d.workflowRunBackendId}`);v.debug(`Workflow Job Run Backend ID: ${d.workflowJobRunBackendId}`);return d}throw Z}function maskSigUrl(i){if(!i)return;try{const c=new URL(i);const d=c.searchParams.get("sig");if(d){(0,V.setSecret)(d);(0,V.setSecret)(encodeURIComponent(d))}}catch(c){(0,V.debug)(`Failed to parse URL: ${i} ${c instanceof Error?c.message:String(c)}`)}}function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,V.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_url"in i&&typeof i.signed_url==="string"){maskSigUrl(i.signed_url)}}},30645:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.uploadZipToBlobStorage=uploadZipToBlobStorage;const v=d(71400);const _=d(72938);const T=C(d(37484));const V=C(d(76982));const Z=C(d(2203));const ee=d(45655);function uploadZipToBlobStorage(i,c){return S(this,void 0,void 0,(function*(){let d=0;let p=Date.now();const A=new AbortController;const chunkTimer=i=>S(this,void 0,void 0,(function*(){return new Promise(((c,d)=>{const C=setInterval((()=>{if(Date.now()-p>i){d(new Error("Upload progress stalled."))}}),i);A.signal.addEventListener("abort",(()=>{clearInterval(C);c()}))}))}));const C=(0,_.getConcurrency)();const te=(0,_.getUploadChunkSize)();const re=new v.BlobClient(i);const ne=re.getBlockBlobClient();T.debug(`Uploading artifact zip to blob storage with maxConcurrency: ${C}, bufferSize: ${te}`);const uploadCallback=i=>{T.info(`Uploaded bytes ${i.loadedBytes}`);d=i.loadedBytes;p=Date.now()};const ie={blobHTTPHeaders:{blobContentType:"zip"},onProgress:uploadCallback,abortSignal:A.signal};let se=undefined;const oe=new Z.PassThrough;const ae=V.createHash("sha256");c.pipe(oe);c.pipe(ae).setEncoding("hex");T.info("Beginning upload of artifact content to blob storage");try{yield Promise.race([ne.uploadStream(oe,te,C,ie),chunkTimer((0,_.getUploadChunkTimeout)())])}catch(i){if(ee.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new ee.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}finally{A.abort()}T.info("Finished uploading artifact content to blob storage!");ae.end();se=ae.read();T.info(`SHA256 digest of uploaded artifact zip is ${se}`);if(d===0){T.warning(`No data was uploaded to blob storage. Reported upload byte count is 0.`)}return{uploadSize:d,sha256Hash:se}}))}},89190:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.validateArtifactName=validateArtifactName;c.validateFilePath=validateFilePath;const p=d(37484);const A=new Map([['"',' Double quote "'],[":"," Colon :"],["<"," Less than <"],[">"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],["\n"," Line feed \\n"]]);const C=new Map([...A,["\\"," Backslash \\"],["/"," Forward slash /"]]);function validateArtifactName(i){if(!i){throw new Error(`Provided artifact name input during validation is empty`)}for(const[c,d]of C){if(i.includes(c)){throw new Error(`The artifact name is not valid: ${i}. Contains the following character: ${d}\n \nInvalid characters include: ${Array.from(C.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,p.info)(`Artifact name is valid!`)}function validateFilePath(i){if(!i){throw new Error(`Provided file path input during validation is empty`)}for(const[c,d]of A){if(i.includes(c)){throw new Error(`The path for one of the files in artifact is not valid: ${i}. Contains the following character: ${d}\n \nInvalid characters include: ${Array.from(A.values()).toString()}\n \nThe following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.\n `)}}}},47252:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.getExpiration=getExpiration;const S=d(44216);const v=C(d(37484));function getExpiration(i){if(!i){return undefined}const c=getRetentionDays();if(c&&c<i){v.warning(`Retention days cannot be greater than the maximum allowed retention set within the repository. Using ${c} instead.`);i=c}const d=new Date;d.setDate(d.getDate()+i);return S.Timestamp.fromDate(d)}function getRetentionDays(){const i=process.env["GITHUB_RETENTION_DAYS"];if(!i){return undefined}const c=parseInt(i);if(isNaN(c)){return undefined}return c}},48392:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.uploadArtifact=uploadArtifact;const v=C(d(37484));const _=d(47252);const T=d(89190);const V=d(87417);const Z=d(5067);const ee=d(41631);const te=d(30645);const re=d(37257);const ne=d(44216);const ie=d(45655);function uploadArtifact(i,c,d,p){return S(this,void 0,void 0,(function*(){(0,T.validateArtifactName)(i);(0,Z.validateRootDirectory)(d);const A=(0,Z.getUploadZipSpecification)(c,d);if(A.length===0){throw new ie.FilesNotFoundError(A.flatMap((i=>i.sourcePath?[i.sourcePath]:[])))}const C=(0,ee.getBackendIdsFromToken)();const S=(0,V.internalArtifactTwirpClient)();const se={workflowRunBackendId:C.workflowRunBackendId,workflowJobRunBackendId:C.workflowJobRunBackendId,name:i,version:4};const oe=(0,_.getExpiration)(p===null||p===void 0?void 0:p.retentionDays);if(oe){se.expiresAt=oe}const ae=yield S.CreateArtifact(se);if(!ae.ok){throw new ie.InvalidResponseError("CreateArtifact: response from backend was not ok")}const le=yield(0,re.createZipUploadStream)(A,p===null||p===void 0?void 0:p.compressionLevel);const ce=yield(0,te.uploadZipToBlobStorage)(ae.signedUploadUrl,le);const ue={workflowRunBackendId:C.workflowRunBackendId,workflowJobRunBackendId:C.workflowJobRunBackendId,name:i,size:ce.uploadSize?ce.uploadSize.toString():"0"};if(ce.sha256Hash){ue.hash=ne.StringValue.create({value:`sha256:${ce.sha256Hash}`})}v.info(`Finalizing artifact upload`);const de=yield S.FinalizeArtifact(ue);if(!de.ok){throw new ie.InvalidResponseError("FinalizeArtifact: response from backend was not ok")}const fe=BigInt(de.artifactId);v.info(`Artifact ${i}.zip successfully finalized. Artifact ID ${fe}`);return{size:ce.uploadSize,digest:ce.sha256Hash,id:Number(fe)}}))}},5067:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.validateRootDirectory=validateRootDirectory;c.getUploadZipSpecification=getUploadZipSpecification;const S=C(d(79896));const v=d(37484);const _=d(16928);const T=d(89190);function validateRootDirectory(i){if(!S.existsSync(i)){throw new Error(`The provided rootDirectory ${i} does not exist`)}if(!S.statSync(i).isDirectory()){throw new Error(`The provided rootDirectory ${i} is not a valid directory`)}(0,v.info)(`Root directory input is valid!`)}function getUploadZipSpecification(i,c){const d=[];c=(0,_.normalize)(c);c=(0,_.resolve)(c);for(let p of i){const i=S.lstatSync(p,{throwIfNoEntry:false});if(!i){throw new Error(`File ${p} does not exist`)}if(!i.isDirectory()){p=(0,_.normalize)(p);p=(0,_.resolve)(p);if(!p.startsWith(c)){throw new Error(`The rootDirectory: ${c} is not a parent directory of the file: ${p}`)}const A=p.replace(c,"");(0,T.validateFilePath)(A);d.push({sourcePath:p,destinationPath:A,stats:i})}else{const A=p.replace(c,"");(0,T.validateFilePath)(A);d.push({sourcePath:null,destinationPath:A,stats:i})}}return d}},37257:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.ZipUploadStream=c.DEFAULT_COMPRESSION_LEVEL=void 0;c.createZipUploadStream=createZipUploadStream;const v=C(d(2203));const _=d(91943);const T=C(d(99392));const V=C(d(37484));const Z=d(72938);c.DEFAULT_COMPRESSION_LEVEL=6;class ZipUploadStream extends v.Transform{constructor(i){super({highWaterMark:i})}_transform(i,c,d){d(null,i)}}c.ZipUploadStream=ZipUploadStream;function createZipUploadStream(i){return S(this,arguments,void 0,(function*(i,d=c.DEFAULT_COMPRESSION_LEVEL){V.debug(`Creating Artifact archive with compressionLevel: ${d}`);const p=T.create("zip",{highWaterMark:(0,Z.getUploadChunkSize)(),zlib:{level:d}});p.on("error",zipErrorCallback);p.on("warning",zipWarningCallback);p.on("finish",zipFinishCallback);p.on("end",zipEndCallback);for(const c of i){if(c.sourcePath!==null){let i=c.sourcePath;if(c.stats.isSymbolicLink()){i=yield(0,_.realpath)(c.sourcePath)}p.file(i,{name:c.destinationPath})}else{p.append("",{name:c.destinationPath})}}const A=(0,Z.getUploadChunkSize)();const C=new ZipUploadStream(A);V.debug(`Zip write high watermark value ${C.writableHighWaterMark}`);V.debug(`Zip read high watermark value ${C.readableHighWaterMark}`);p.pipe(C);p.finalize();return C}))}const zipErrorCallback=i=>{V.error("An error has occurred while creating the zip file for upload");V.info(i);throw new Error("An error has occurred during zip creation for the artifact")};const zipWarningCallback=i=>{if(i.code==="ENOENT"){V.warning("ENOENT warning during artifact zip creation. No such file or directory");V.info(i)}else{V.warning(`A non-blocking warning has occurred during artifact zip creation: ${i.code}`);V.info(i)}};const zipFinishCallback=()=>{V.debug("Zip stream for upload has finished.")};const zipEndCallback=()=>{V.debug("Zip stream for upload has ended.")}},5116:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.FinalizeCacheError=c.ReserveCacheError=c.ValidationError=void 0;c.isFeatureAvailable=isFeatureAvailable;c.restoreCache=restoreCache;c.saveCache=saveCache;const v=C(d(37484));const _=C(d(16928));const T=C(d(98299));const V=C(d(73171));const Z=C(d(96819));const ee=d(17606);const te=d(95321);const re=d(54844);class ValidationError extends Error{constructor(i){super(i);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}c.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(i){super(i);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}c.ReserveCacheError=ReserveCacheError;class FinalizeCacheError extends Error{constructor(i){super(i);this.name="FinalizeCacheError";Object.setPrototypeOf(this,FinalizeCacheError.prototype)}}c.FinalizeCacheError=FinalizeCacheError;function checkPaths(i){if(!i||i.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(i){if(i.length>512){throw new ValidationError(`Key Validation Error: ${i} cannot be larger than 512 characters.`)}const c=/^[^,]*$/;if(!c.test(i)){throw new ValidationError(`Key Validation Error: ${i} cannot contain commas.`)}}function isFeatureAvailable(){const i=(0,ee.getCacheServiceVersion)();switch(i){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(i,c,d,p){return S(this,arguments,void 0,(function*(i,c,d,p,A=false){const C=(0,ee.getCacheServiceVersion)();v.debug(`Cache service version: ${C}`);checkPaths(i);switch(C){case"v2":return yield restoreCacheV2(i,c,d,p,A);case"v1":default:return yield restoreCacheV1(i,c,d,p,A)}}))}function restoreCacheV1(i,c,d,p){return S(this,arguments,void 0,(function*(i,c,d,p,A=false){d=d||[];const C=[c,...d];v.debug("Resolved Keys:");v.debug(JSON.stringify(C));if(C.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of C){checkKey(i)}const S=yield T.getCompressionMethod();let Z="";try{const c=yield V.getCacheEntry(C,i,{compressionMethod:S,enableCrossOsArchive:A});if(!(c===null||c===void 0?void 0:c.archiveLocation)){return undefined}if(p===null||p===void 0?void 0:p.lookupOnly){v.info("Lookup only - skipping download");return c.cacheKey}Z=_.join(yield T.createTempDirectory(),T.getCacheFileName(S));v.debug(`Archive Path: ${Z}`);yield V.downloadCache(c.archiveLocation,Z,p);if(v.isDebug()){yield(0,te.listTar)(Z,S)}const d=T.getArchiveFileSizeInBytes(Z);v.info(`Cache Size: ~${Math.round(d/(1024*1024))} MB (${d} B)`);yield(0,te.extractTar)(Z,S);v.info("Cache restored successfully");return c.cacheKey}catch(i){const c=i;if(c.name===ValidationError.name){throw i}else{if(c instanceof re.HttpClientError&&typeof c.statusCode==="number"&&c.statusCode>=500){v.error(`Failed to restore: ${i.message}`)}else{v.warning(`Failed to restore: ${i.message}`)}}}finally{try{yield T.unlinkFile(Z)}catch(i){v.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function restoreCacheV2(i,c,d,p){return S(this,arguments,void 0,(function*(i,c,d,p,A=false){p=Object.assign(Object.assign({},p),{useAzureSdk:true});d=d||[];const C=[c,...d];v.debug("Resolved Keys:");v.debug(JSON.stringify(C));if(C.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of C){checkKey(i)}let S="";try{const ee=Z.internalCacheTwirpClient();const re=yield T.getCompressionMethod();const ne={key:c,restoreKeys:d,version:T.getCacheVersion(i,re,A)};const ie=yield ee.GetCacheEntryDownloadURL(ne);if(!ie.ok){v.debug(`Cache not found for version ${ne.version} of keys: ${C.join(", ")}`);return undefined}const se=ne.key!==ie.matchedKey;if(se){v.info(`Cache hit for restore-key: ${ie.matchedKey}`)}else{v.info(`Cache hit for: ${ie.matchedKey}`)}if(p===null||p===void 0?void 0:p.lookupOnly){v.info("Lookup only - skipping download");return ie.matchedKey}S=_.join(yield T.createTempDirectory(),T.getCacheFileName(re));v.debug(`Archive path: ${S}`);v.debug(`Starting download of archive to: ${S}`);yield V.downloadCache(ie.signedDownloadUrl,S,p);const oe=T.getArchiveFileSizeInBytes(S);v.info(`Cache Size: ~${Math.round(oe/(1024*1024))} MB (${oe} B)`);if(v.isDebug()){yield(0,te.listTar)(S,re)}yield(0,te.extractTar)(S,re);v.info("Cache restored successfully");return ie.matchedKey}catch(i){const c=i;if(c.name===ValidationError.name){throw i}else{if(c instanceof re.HttpClientError&&typeof c.statusCode==="number"&&c.statusCode>=500){v.error(`Failed to restore: ${i.message}`)}else{v.warning(`Failed to restore: ${i.message}`)}}}finally{try{if(S){yield T.unlinkFile(S)}}catch(i){v.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function saveCache(i,c,d){return S(this,arguments,void 0,(function*(i,c,d,p=false){const A=(0,ee.getCacheServiceVersion)();v.debug(`Cache service version: ${A}`);checkPaths(i);checkKey(c);switch(A){case"v2":return yield saveCacheV2(i,c,d,p);case"v1":default:return yield saveCacheV1(i,c,d,p)}}))}function saveCacheV1(i,c,d){return S(this,arguments,void 0,(function*(i,c,d,p=false){var A,C,S,Z,ne;const ie=yield T.getCompressionMethod();let se=-1;const oe=yield T.resolvePaths(i);v.debug("Cache Paths:");v.debug(`${JSON.stringify(oe)}`);if(oe.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const ae=yield T.createTempDirectory();const le=_.join(ae,T.getCacheFileName(ie));v.debug(`Archive Path: ${le}`);try{yield(0,te.createTar)(ae,oe,ie);if(v.isDebug()){yield(0,te.listTar)(le,ie)}const _=10*1024*1024*1024;const re=T.getArchiveFileSizeInBytes(le);v.debug(`File Size: ${re}`);if(re>_&&!(0,ee.isGhes)()){throw new Error(`Cache size of ~${Math.round(re/(1024*1024))} MB (${re} B) is over the 10GB limit, not saving cache.`)}v.debug("Reserving Cache");const ce=yield V.reserveCache(c,i,{compressionMethod:ie,enableCrossOsArchive:p,cacheSize:re});if((A=ce===null||ce===void 0?void 0:ce.result)===null||A===void 0?void 0:A.cacheId){se=(C=ce===null||ce===void 0?void 0:ce.result)===null||C===void 0?void 0:C.cacheId}else if((ce===null||ce===void 0?void 0:ce.statusCode)===400){throw new Error((Z=(S=ce===null||ce===void 0?void 0:ce.error)===null||S===void 0?void 0:S.message)!==null&&Z!==void 0?Z:`Cache size of ~${Math.round(re/(1024*1024))} MB (${re} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${c}, another job may be creating this cache. More details: ${(ne=ce===null||ce===void 0?void 0:ce.error)===null||ne===void 0?void 0:ne.message}`)}v.debug(`Saving Cache (ID: ${se})`);yield V.saveCache(se,le,"",d)}catch(i){const c=i;if(c.name===ValidationError.name){throw i}else if(c.name===ReserveCacheError.name){v.info(`Failed to save: ${c.message}`)}else{if(c instanceof re.HttpClientError&&typeof c.statusCode==="number"&&c.statusCode>=500){v.error(`Failed to save: ${c.message}`)}else{v.warning(`Failed to save: ${c.message}`)}}}finally{try{yield T.unlinkFile(le)}catch(i){v.debug(`Failed to delete archive: ${i}`)}}return se}))}function saveCacheV2(i,c,d){return S(this,arguments,void 0,(function*(i,c,d,p=false){d=Object.assign(Object.assign({},d),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const A=yield T.getCompressionMethod();const C=Z.internalCacheTwirpClient();let S=-1;const ee=yield T.resolvePaths(i);v.debug("Cache Paths:");v.debug(`${JSON.stringify(ee)}`);if(ee.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const ne=yield T.createTempDirectory();const ie=_.join(ne,T.getCacheFileName(A));v.debug(`Archive Path: ${ie}`);try{yield(0,te.createTar)(ne,ee,A);if(v.isDebug()){yield(0,te.listTar)(ie,A)}const _=T.getArchiveFileSizeInBytes(ie);v.debug(`File Size: ${_}`);d.archiveSizeBytes=_;v.debug("Reserving Cache");const Z=T.getCacheVersion(i,A,p);const re={key:c,version:Z};let se;try{const i=yield C.CreateCacheEntry(re);if(!i.ok){if(i.message){v.warning(`Cache reservation failed: ${i.message}`)}throw new Error(i.message||"Response was not ok")}se=i.signedUploadUrl}catch(i){v.debug(`Failed to reserve cache: ${i}`);throw new ReserveCacheError(`Unable to reserve cache with key ${c}, another job may be creating this cache.`)}v.debug(`Attempting to upload cache located at: ${ie}`);yield V.saveCache(S,ie,se,d);const oe={key:c,version:Z,sizeBytes:`${_}`};const ae=yield C.FinalizeCacheEntryUpload(oe);v.debug(`FinalizeCacheEntryUploadResponse: ${ae.ok}`);if(!ae.ok){if(ae.message){throw new FinalizeCacheError(ae.message)}throw new Error(`Unable to finalize cache with key ${c}, another job may be finalizing this cache.`)}S=parseInt(ae.entryId)}catch(i){const c=i;if(c.name===ValidationError.name){throw i}else if(c.name===ReserveCacheError.name){v.info(`Failed to save: ${c.message}`)}else if(c.name===FinalizeCacheError.name){v.warning(c.message)}else{if(c instanceof re.HttpClientError&&typeof c.statusCode==="number"&&c.statusCode>=500){v.error(`Failed to save: ${c.message}`)}else{v.warning(`Failed to save: ${c.message}`)}}}finally{try{yield T.unlinkFile(ie)}catch(i){v.debug(`Failed to delete archive: ${i}`)}}return S}))}},93156:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CacheService=c.GetCacheEntryDownloadURLResponse=c.GetCacheEntryDownloadURLRequest=c.FinalizeCacheEntryUploadResponse=c.FinalizeCacheEntryUploadRequest=c.CreateCacheEntryResponse=c.CreateCacheEntryRequest=void 0;const p=d(76762);const A=d(88372);const C=d(88372);const S=d(88372);const v=d(88372);const _=d(88372);const T=d(89444);class CreateCacheEntryRequest$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>T.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(i){const c={key:"",version:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.metadata=T.CacheMetadata.internalBinaryRead(i,i.uint32(),d,A.metadata);break;case 2:A.key=i.string();break;case 3:A.version=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.metadata)T.CacheMetadata.internalBinaryWrite(i.metadata,c.tag(1,A.WireType.LengthDelimited).fork(),d).join();if(i.key!=="")c.tag(2,A.WireType.LengthDelimited).string(i.key);if(i.version!=="")c.tag(3,A.WireType.LengthDelimited).string(i.version);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.CreateCacheEntryRequest=new CreateCacheEntryRequest$Type;class CreateCacheEntryResponse$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(i){const c={ok:false,signedUploadUrl:"",message:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.signedUploadUrl=i.string();break;case 3:A.message=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.signedUploadUrl!=="")c.tag(2,A.WireType.LengthDelimited).string(i.signedUploadUrl);if(i.message!=="")c.tag(3,A.WireType.LengthDelimited).string(i.message);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.CreateCacheEntryResponse=new CreateCacheEntryResponse$Type;class FinalizeCacheEntryUploadRequest$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>T.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(i){const c={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.metadata=T.CacheMetadata.internalBinaryRead(i,i.uint32(),d,A.metadata);break;case 2:A.key=i.string();break;case 3:A.sizeBytes=i.int64().toString();break;case 4:A.version=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.metadata)T.CacheMetadata.internalBinaryWrite(i.metadata,c.tag(1,A.WireType.LengthDelimited).fork(),d).join();if(i.key!=="")c.tag(2,A.WireType.LengthDelimited).string(i.key);if(i.sizeBytes!=="0")c.tag(3,A.WireType.Varint).int64(i.sizeBytes);if(i.version!=="")c.tag(4,A.WireType.LengthDelimited).string(i.version);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FinalizeCacheEntryUploadRequest=new FinalizeCacheEntryUploadRequest$Type;class FinalizeCacheEntryUploadResponse$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(i){const c={ok:false,entryId:"0",message:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.entryId=i.int64().toString();break;case 3:A.message=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.entryId!=="0")c.tag(2,A.WireType.Varint).int64(i.entryId);if(i.message!=="")c.tag(3,A.WireType.LengthDelimited).string(i.message);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.FinalizeCacheEntryUploadResponse=new FinalizeCacheEntryUploadResponse$Type;class GetCacheEntryDownloadURLRequest$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>T.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(i){const c={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.metadata=T.CacheMetadata.internalBinaryRead(i,i.uint32(),d,A.metadata);break;case 2:A.key=i.string();break;case 3:A.restoreKeys.push(i.string());break;case 4:A.version=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.metadata)T.CacheMetadata.internalBinaryWrite(i.metadata,c.tag(1,A.WireType.LengthDelimited).fork(),d).join();if(i.key!=="")c.tag(2,A.WireType.LengthDelimited).string(i.key);for(let d=0;d<i.restoreKeys.length;d++)c.tag(3,A.WireType.LengthDelimited).string(i.restoreKeys[d]);if(i.version!=="")c.tag(4,A.WireType.LengthDelimited).string(i.version);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.GetCacheEntryDownloadURLRequest=new GetCacheEntryDownloadURLRequest$Type;class GetCacheEntryDownloadURLResponse$Type extends _.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(i){const c={ok:false,signedDownloadUrl:"",matchedKey:""};globalThis.Object.defineProperty(c,v.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,S.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:A.ok=i.bool();break;case 2:A.signedDownloadUrl=i.string();break;case 3:A.matchedKey=i.string();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?C.UnknownFieldHandler.onRead:S)(this.typeName,A,c,p,v)}}return A}internalBinaryWrite(i,c,d){if(i.ok!==false)c.tag(1,A.WireType.Varint).bool(i.ok);if(i.signedDownloadUrl!=="")c.tag(2,A.WireType.LengthDelimited).string(i.signedDownloadUrl);if(i.matchedKey!=="")c.tag(3,A.WireType.LengthDelimited).string(i.matchedKey);let p=d.writeUnknownFields;if(p!==false)(p==true?C.UnknownFieldHandler.onWrite:p)(this.typeName,i,c);return c}}c.GetCacheEntryDownloadURLResponse=new GetCacheEntryDownloadURLResponse$Type;c.CacheService=new p.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:c.CreateCacheEntryRequest,O:c.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:c.FinalizeCacheEntryUploadRequest,O:c.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:c.GetCacheEntryDownloadURLRequest,O:c.GetCacheEntryDownloadURLResponse}])},11486:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CacheServiceClientProtobuf=c.CacheServiceClientJSON=void 0;const p=d(93156);class CacheServiceClientJSON{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const c=p.CreateCacheEntryRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",c);return d.then((i=>p.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(i){const c=p.FinalizeCacheEntryUploadRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",c);return d.then((i=>p.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(i){const c=p.GetCacheEntryDownloadURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const d=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",c);return d.then((i=>p.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:true})))}}c.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const c=p.CreateCacheEntryRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",c);return d.then((i=>p.CreateCacheEntryResponse.fromBinary(i)))}FinalizeCacheEntryUpload(i){const c=p.FinalizeCacheEntryUploadRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",c);return d.then((i=>p.FinalizeCacheEntryUploadResponse.fromBinary(i)))}GetCacheEntryDownloadURL(i){const c=p.GetCacheEntryDownloadURLRequest.toBinary(i);const d=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",c);return d.then((i=>p.GetCacheEntryDownloadURLResponse.fromBinary(i)))}}c.CacheServiceClientProtobuf=CacheServiceClientProtobuf},89444:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CacheMetadata=void 0;const p=d(88372);const A=d(88372);const C=d(88372);const S=d(88372);const v=d(88372);const _=d(29425);class CacheMetadata$Type extends v.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>_.CacheScope}])}create(i){const c={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(c,S.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,C.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let C=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:C.repositoryId=i.int64().toString();break;case 2:C.scope.push(_.CacheScope.internalBinaryRead(i,i.uint32(),d));break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?A.UnknownFieldHandler.onRead:S)(this.typeName,C,c,p,v)}}return C}internalBinaryWrite(i,c,d){if(i.repositoryId!=="0")c.tag(1,p.WireType.Varint).int64(i.repositoryId);for(let A=0;A<i.scope.length;A++)_.CacheScope.internalBinaryWrite(i.scope[A],c.tag(2,p.WireType.LengthDelimited).fork(),d).join();let C=d.writeUnknownFields;if(C!==false)(C==true?A.UnknownFieldHandler.onWrite:C)(this.typeName,i,c);return c}}c.CacheMetadata=new CacheMetadata$Type},29425:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CacheScope=void 0;const p=d(88372);const A=d(88372);const C=d(88372);const S=d(88372);const v=d(88372);class CacheScope$Type extends v.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(i){const c={scope:"",permission:"0"};globalThis.Object.defineProperty(c,S.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,C.reflectionMergePartial)(this,c,i);return c}internalBinaryRead(i,c,d,p){let C=p!==null&&p!==void 0?p:this.create(),S=i.pos+c;while(i.pos<S){let[c,p]=i.tag();switch(c){case 1:C.scope=i.string();break;case 2:C.permission=i.int64().toString();break;default:let S=d.readUnknownField;if(S==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${p}) for ${this.typeName}`);let v=i.skip(p);if(S!==false)(S===true?A.UnknownFieldHandler.onRead:S)(this.typeName,C,c,p,v)}}return C}internalBinaryWrite(i,c,d){if(i.scope!=="")c.tag(1,p.WireType.LengthDelimited).string(i.scope);if(i.permission!=="0")c.tag(2,p.WireType.Varint).int64(i.permission);let C=d.writeUnknownFields;if(C!==false)(C==true?A.UnknownFieldHandler.onWrite:C)(this.typeName,i,c);return c}}c.CacheScope=new CacheScope$Type},73171:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.getCacheEntry=getCacheEntry;c.downloadCache=downloadCache;c.reserveCache=reserveCache;c.saveCache=saveCache;const v=C(d(37484));const _=d(54844);const T=d(44552);const V=C(d(79896));const Z=d(87016);const ee=C(d(98299));const te=d(35268);const re=d(75067);const ne=d(98356);const ie=d(32846);const se=d(17606);const oe=d(41899);function getCacheApiUrl(i){const c=(0,se.getCacheServiceURL)();if(!c){throw new Error("Cache Service Url not found, unable to restore cache.")}const d=`${c}_apis/artifactcache/${i}`;v.debug(`Resource Url: ${d}`);return d}function createAcceptHeader(i,c){return`${i};api-version=${c}`}function getRequestOptions(){const i={headers:{Accept:createAcceptHeader("application/json","6.0-preview.1")}};return i}function createHttpClient(){const i=process.env["ACTIONS_RUNTIME_TOKEN"]||"";const c=new T.BearerCredentialHandler(i);return new _.HttpClient((0,oe.getUserAgentString)(),[c],getRequestOptions())}function getCacheEntry(i,c,d){return S(this,void 0,void 0,(function*(){const p=createHttpClient();const A=ee.getCacheVersion(c,d===null||d===void 0?void 0:d.compressionMethod,d===null||d===void 0?void 0:d.enableCrossOsArchive);const C=`cache?keys=${encodeURIComponent(i.join(","))}&version=${A}`;const _=yield(0,ie.retryTypedResponse)("getCacheEntry",(()=>S(this,void 0,void 0,(function*(){return p.getJson(getCacheApiUrl(C))}))));if(_.statusCode===204){if(v.isDebug()){yield printCachesListForDiagnostics(i[0],p,A)}return null}if(!(0,ie.isSuccessStatusCode)(_.statusCode)){throw new Error(`Cache service responded with ${_.statusCode}`)}const T=_.result;const V=T===null||T===void 0?void 0:T.archiveLocation;if(!V){throw new Error("Cache not found.")}v.setSecret(V);v.debug(`Cache Result:`);v.debug(JSON.stringify(T));return T}))}function printCachesListForDiagnostics(i,c,d){return S(this,void 0,void 0,(function*(){const p=`caches?key=${encodeURIComponent(i)}`;const A=yield(0,ie.retryTypedResponse)("listCache",(()=>S(this,void 0,void 0,(function*(){return c.getJson(getCacheApiUrl(p))}))));if(A.statusCode===200){const c=A.result;const p=c===null||c===void 0?void 0:c.totalCount;if(p&&p>0){v.debug(`No matching cache found for cache key '${i}', version '${d} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const i of(c===null||c===void 0?void 0:c.artifactCaches)||[]){v.debug(`Cache Key: ${i===null||i===void 0?void 0:i.cacheKey}, Cache Version: ${i===null||i===void 0?void 0:i.cacheVersion}, Cache Scope: ${i===null||i===void 0?void 0:i.scope}, Cache Created: ${i===null||i===void 0?void 0:i.creationTime}`)}}}}))}function downloadCache(i,c,d){return S(this,void 0,void 0,(function*(){const p=new Z.URL(i);const A=(0,ne.getDownloadOptions)(d);if(p.hostname.endsWith(".blob.core.windows.net")){if(A.useAzureSdk){yield(0,re.downloadCacheStorageSDK)(i,c,A)}else if(A.concurrentBlobDownloads){yield(0,re.downloadCacheHttpClientConcurrent)(i,c,A)}else{yield(0,re.downloadCacheHttpClient)(i,c)}}else{yield(0,re.downloadCacheHttpClient)(i,c)}}))}function reserveCache(i,c,d){return S(this,void 0,void 0,(function*(){const p=createHttpClient();const A=ee.getCacheVersion(c,d===null||d===void 0?void 0:d.compressionMethod,d===null||d===void 0?void 0:d.enableCrossOsArchive);const C={key:i,version:A,cacheSize:d===null||d===void 0?void 0:d.cacheSize};const v=yield(0,ie.retryTypedResponse)("reserveCache",(()=>S(this,void 0,void 0,(function*(){return p.postJson(getCacheApiUrl("caches"),C)}))));return v}))}function getContentRange(i,c){return`bytes ${i}-${c}/*`}function uploadChunk(i,c,d,p,A){return S(this,void 0,void 0,(function*(){v.debug(`Uploading chunk of size ${A-p+1} bytes at offset ${p} with content range: ${getContentRange(p,A)}`);const C={"Content-Type":"application/octet-stream","Content-Range":getContentRange(p,A)};const _=yield(0,ie.retryHttpClientResponse)(`uploadChunk (start: ${p}, end: ${A})`,(()=>S(this,void 0,void 0,(function*(){return i.sendStream("PATCH",c,d(),C)}))));if(!(0,ie.isSuccessStatusCode)(_.message.statusCode)){throw new Error(`Cache service responded with ${_.message.statusCode} during upload chunk.`)}}))}function uploadFile(i,c,d,p){return S(this,void 0,void 0,(function*(){const A=ee.getArchiveFileSizeInBytes(d);const C=getCacheApiUrl(`caches/${c.toString()}`);const _=V.openSync(d,"r");const T=(0,ne.getUploadOptions)(p);const Z=ee.assertDefined("uploadConcurrency",T.uploadConcurrency);const te=ee.assertDefined("uploadChunkSize",T.uploadChunkSize);const re=[...new Array(Z).keys()];v.debug("Awaiting all uploads");let ie=0;try{yield Promise.all(re.map((()=>S(this,void 0,void 0,(function*(){while(ie<A){const c=Math.min(A-ie,te);const p=ie;const S=ie+c-1;ie+=te;yield uploadChunk(i,C,(()=>V.createReadStream(d,{fd:_,start:p,end:S,autoClose:false}).on("error",(i=>{throw new Error(`Cache upload failed because file read failed with ${i.message}`)}))),p,S)}})))))}finally{V.closeSync(_)}return}))}function commitCache(i,c,d){return S(this,void 0,void 0,(function*(){const p={size:d};return yield(0,ie.retryTypedResponse)("commitCache",(()=>S(this,void 0,void 0,(function*(){return i.postJson(getCacheApiUrl(`caches/${c.toString()}`),p)}))))}))}function saveCache(i,c,d,p){return S(this,void 0,void 0,(function*(){const A=(0,ne.getUploadOptions)(p);if(A.useAzureSdk){if(!d){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,te.uploadCacheArchiveSDK)(d,c,p)}else{const d=createHttpClient();v.debug("Upload cache");yield uploadFile(d,i,c,p);v.debug("Commiting cache");const A=ee.getArchiveFileSizeInBytes(c);v.info(`Cache Size: ~${Math.round(A/(1024*1024))} MB (${A} B)`);const C=yield commitCache(d,i,A);if(!(0,ie.isSuccessStatusCode)(C.statusCode)){throw new Error(`Cache service responded with ${C.statusCode} during commit cache.`)}v.info("Cache saved successfully")}}))}},98299:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=i[Symbol.asyncIterator],d;return c?c.call(i):(i=typeof __values==="function"?__values(i):i[Symbol.iterator](),d={},verb("next"),verb("throw"),verb("return"),d[Symbol.asyncIterator]=function(){return this},d);function verb(c){d[c]=i[c]&&function(d){return new Promise((function(p,A){d=i[c](d),settle(p,A,d.done,d.value)}))}}function settle(i,c,d,p){Promise.resolve(p).then((function(c){i({value:c,done:d})}),c)}};Object.defineProperty(c,"__esModule",{value:true});c.createTempDirectory=createTempDirectory;c.getArchiveFileSizeInBytes=getArchiveFileSizeInBytes;c.resolvePaths=resolvePaths;c.unlinkFile=unlinkFile;c.getCompressionMethod=getCompressionMethod;c.getCacheFileName=getCacheFileName;c.getGnuTarPathOnWindows=getGnuTarPathOnWindows;c.assertDefined=assertDefined;c.getCacheVersion=getCacheVersion;c.getRuntimeToken=getRuntimeToken;const _=C(d(37484));const T=C(d(95236));const V=C(d(47206));const Z=C(d(94994));const ee=C(d(76982));const te=C(d(79896));const re=C(d(16928));const ne=C(d(53272));const ie=C(d(39023));const se=d(58287);const oe="1.0";function createTempDirectory(){return S(this,void 0,void 0,(function*(){const i=process.platform==="win32";let c=process.env["RUNNER_TEMP"]||"";if(!c){let d;if(i){d=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){d="/Users"}else{d="/home"}}c=re.join(d,"actions","temp")}const d=re.join(c,ee.randomUUID());yield Z.mkdirP(d);return d}))}function getArchiveFileSizeInBytes(i){return te.statSync(i).size}function resolvePaths(i){return S(this,void 0,void 0,(function*(){var c,d,p,A;var C;const S=[];const T=(C=process.env["GITHUB_WORKSPACE"])!==null&&C!==void 0?C:process.cwd();const Z=yield V.create(i.join("\n"),{implicitDescendants:false});try{for(var ee=true,te=v(Z.globGenerator()),ne;ne=yield te.next(),c=ne.done,!c;ee=true){A=ne.value;ee=false;const i=A;const c=re.relative(T,i).replace(new RegExp(`\\${re.sep}`,"g"),"/");_.debug(`Matched: ${c}`);if(c===""){S.push(".")}else{S.push(`${c}`)}}}catch(i){d={error:i}}finally{try{if(!ee&&!c&&(p=te.return))yield p.call(te)}finally{if(d)throw d.error}}return S}))}function unlinkFile(i){return S(this,void 0,void 0,(function*(){return ie.promisify(te.unlink)(i)}))}function getVersion(i){return S(this,arguments,void 0,(function*(i,c=[]){let d="";c.push("--version");_.debug(`Checking ${i} ${c.join(" ")}`);try{yield T.exec(`${i}`,c,{ignoreReturnCode:true,silent:true,listeners:{stdout:i=>d+=i.toString(),stderr:i=>d+=i.toString()}})}catch(i){_.debug(i.message)}d=d.trim();_.debug(d);return d}))}function getCompressionMethod(){return S(this,void 0,void 0,(function*(){const i=yield getVersion("zstd",["--quiet"]);const c=ne.clean(i);_.debug(`zstd version: ${c}`);if(i===""){return se.CompressionMethod.Gzip}else{return se.CompressionMethod.ZstdWithoutLong}}))}function getCacheFileName(i){return i===se.CompressionMethod.Gzip?se.CacheFilename.Gzip:se.CacheFilename.Zstd}function getGnuTarPathOnWindows(){return S(this,void 0,void 0,(function*(){if(te.existsSync(se.GnuTarPathOnWindows)){return se.GnuTarPathOnWindows}const i=yield getVersion("tar");return i.toLowerCase().includes("gnu tar")?Z.which("tar"):""}))}function assertDefined(i,c){if(c===undefined){throw Error(`Expected ${i} but value was undefiend`)}return c}function getCacheVersion(i,c,d=false){const p=i.slice();if(c){p.push(c)}if(process.platform==="win32"&&!d){p.push("windows-only")}p.push(oe);return ee.createHash("sha256").update(p.join("|")).digest("hex")}function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}},17606:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isGhes=isGhes;c.getCacheServiceVersion=getCacheServiceVersion;c.getCacheServiceURL=getCacheServiceURL;function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const c=i.hostname.trimEnd().toUpperCase();const d=c==="GITHUB.COM";const p=c.endsWith(".GHE.COM");const A=c.endsWith(".LOCALHOST");return!d&&!p&&!A}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}function getCacheServiceURL(){const i=getCacheServiceVersion();switch(i){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${i}`)}}},58287:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CacheFileSizeLimit=c.ManifestFilename=c.TarFilename=c.SystemTarPathOnWindows=c.GnuTarPathOnWindows=c.SocketTimeout=c.DefaultRetryDelay=c.DefaultRetryAttempts=c.ArchiveToolType=c.CompressionMethod=c.CacheFilename=void 0;var d;(function(i){i["Gzip"]="cache.tgz";i["Zstd"]="cache.tzst"})(d||(c.CacheFilename=d={}));var p;(function(i){i["Gzip"]="gzip";i["ZstdWithoutLong"]="zstd-without-long";i["Zstd"]="zstd"})(p||(c.CompressionMethod=p={}));var A;(function(i){i["GNU"]="gnu";i["BSD"]="bsd"})(A||(c.ArchiveToolType=A={}));c.DefaultRetryAttempts=2;c.DefaultRetryDelay=5e3;c.SocketTimeout=5e3;c.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;c.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;c.TarFilename="cache.tar";c.ManifestFilename="manifest.txt";c.CacheFileSizeLimit=10*Math.pow(1024,3)},75067:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.DownloadProgress=void 0;c.downloadCacheHttpClient=downloadCacheHttpClient;c.downloadCacheHttpClientConcurrent=downloadCacheHttpClientConcurrent;c.downloadCacheStorageSDK=downloadCacheStorageSDK;const v=C(d(37484));const _=d(54844);const T=d(71400);const V=C(d(20181));const Z=C(d(79896));const ee=C(d(2203));const te=C(d(39023));const re=C(d(98299));const ne=d(58287);const ie=d(32846);const se=d(39048);function pipeResponseToStream(i,c){return S(this,void 0,void 0,(function*(){const d=te.promisify(ee.pipeline);yield d(i.message,c)}))}class DownloadProgress{constructor(i){this.contentLength=i;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(i){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=i;this.receivedBytes=0;v.debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(i){this.receivedBytes=i}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const i=this.segmentOffset+this.receivedBytes;const c=(100*(i/this.contentLength)).toFixed(1);const d=Date.now()-this.startTime;const p=(i/(1024*1024)/(d/1e3)).toFixed(1);v.info(`Received ${i} of ${this.contentLength} (${c}%), ${p} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return i=>{this.setReceivedBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}c.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(i,c){return S(this,void 0,void 0,(function*(){const d=Z.createWriteStream(c);const p=new _.HttpClient("actions/cache");const A=yield(0,ie.retryHttpClientResponse)("downloadCache",(()=>S(this,void 0,void 0,(function*(){return p.get(i)}))));A.message.socket.setTimeout(ne.SocketTimeout,(()=>{A.message.destroy();v.debug(`Aborting download, socket timed out after ${ne.SocketTimeout} ms`)}));yield pipeResponseToStream(A,d);const C=A.message.headers["content-length"];if(C){const i=parseInt(C);const d=re.getArchiveFileSizeInBytes(c);if(d!==i){throw new Error(`Incomplete download. Expected file size: ${i}, actual file size: ${d}`)}}else{v.debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(i,c,d){return S(this,void 0,void 0,(function*(){var p;const A=yield Z.promises.open(c,"w");const C=new _.HttpClient("actions/cache",undefined,{socketTimeout:d.timeoutInMs,keepAlive:true});try{const c=yield(0,ie.retryHttpClientResponse)("downloadCacheMetadata",(()=>S(this,void 0,void 0,(function*(){return yield C.request("HEAD",i,null,{})}))));const v=c.message.headers["content-length"];if(v===undefined||v===null){throw new Error("Content-Length not found on blob response")}const _=parseInt(v);if(Number.isNaN(_)){throw new Error(`Could not interpret Content-Length: ${_}`)}const T=[];const V=4*1024*1024;for(let c=0;c<_;c+=V){const d=Math.min(V,_-c);T.push({offset:c,promiseGetter:()=>S(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(C,i,c,d)}))})}T.reverse();let Z=0;let ee=0;const te=new DownloadProgress(_);te.startDisplayTimer();const re=te.onProgress();const ne=[];let se;const waitAndWrite=()=>S(this,void 0,void 0,(function*(){const i=yield Promise.race(Object.values(ne));yield A.write(i.buffer,0,i.count,i.offset);Z--;delete ne[i.offset];ee+=i.count;re({loadedBytes:ee})}));while(se=T.pop()){ne[se.offset]=se.promiseGetter();Z++;if(Z>=((p=d.downloadConcurrency)!==null&&p!==void 0?p:10)){yield waitAndWrite()}}while(Z>0){yield waitAndWrite()}}finally{C.dispose();yield A.close()}}))}function downloadSegmentRetry(i,c,d,p){return S(this,void 0,void 0,(function*(){const A=5;let C=0;while(true){try{const A=3e4;const C=yield promiseWithTimeout(A,downloadSegment(i,c,d,p));if(typeof C==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return C}catch(i){if(C>=A){throw i}C++}}}))}function downloadSegment(i,c,d,p){return S(this,void 0,void 0,(function*(){const A=yield(0,ie.retryHttpClientResponse)("downloadCachePart",(()=>S(this,void 0,void 0,(function*(){return yield i.get(c,{Range:`bytes=${d}-${d+p-1}`})}))));if(!A.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:d,count:p,buffer:yield A.readBodyBuffer()}}))}function downloadCacheStorageSDK(i,c,d){return S(this,void 0,void 0,(function*(){var p;const A=new T.BlockBlobClient(i,undefined,{retryOptions:{tryTimeoutInMs:d.timeoutInMs}});const C=yield A.getProperties();const S=(p=C.contentLength)!==null&&p!==void 0?p:-1;if(S<0){v.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(i,c)}else{const i=Math.min(134217728,V.constants.MAX_LENGTH);const p=new DownloadProgress(S);const C=Z.openSync(c,"w");try{p.startDisplayTimer();const c=new se.AbortController;const v=c.signal;while(!p.isDone()){const _=p.segmentOffset+p.segmentSize;const T=Math.min(i,S-_);p.nextSegment(T);const V=yield promiseWithTimeout(d.segmentTimeoutInMs||36e5,A.downloadToBuffer(_,T,{abortSignal:v,concurrency:d.downloadConcurrency,onProgress:p.onProgress()}));if(V==="timeout"){c.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(V)){Z.writeFileSync(C,V)}}}finally{p.stopDisplayTimer();Z.closeSync(C)}}}))}const promiseWithTimeout=(i,c)=>S(void 0,void 0,void 0,(function*(){let d;const p=new Promise((c=>{d=setTimeout((()=>c("timeout")),i)}));return Promise.race([c,p]).then((i=>{clearTimeout(d);return i}))}))},32846:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.isSuccessStatusCode=isSuccessStatusCode;c.isServerErrorStatusCode=isServerErrorStatusCode;c.isRetryableStatusCode=isRetryableStatusCode;c.retry=retry;c.retryTypedResponse=retryTypedResponse;c.retryHttpClientResponse=retryHttpClientResponse;const v=C(d(37484));const _=d(54844);const T=d(58287);function isSuccessStatusCode(i){if(!i){return false}return i>=200&&i<300}function isServerErrorStatusCode(i){if(!i){return true}return i>=500}function isRetryableStatusCode(i){if(!i){return false}const c=[_.HttpCodes.BadGateway,_.HttpCodes.ServiceUnavailable,_.HttpCodes.GatewayTimeout];return c.includes(i)}function sleep(i){return S(this,void 0,void 0,(function*(){return new Promise((c=>setTimeout(c,i)))}))}function retry(i,c,d){return S(this,arguments,void 0,(function*(i,c,d,p=T.DefaultRetryAttempts,A=T.DefaultRetryDelay,C=undefined){let S="";let _=1;while(_<=p){let T=undefined;let V=undefined;let Z=false;try{T=yield c()}catch(i){if(C){T=C(i)}Z=true;S=i.message}if(T){V=d(T);if(!isServerErrorStatusCode(V)){return T}}if(V){Z=isRetryableStatusCode(V);S=`Cache service responded with ${V}`}v.debug(`${i} - Attempt ${_} of ${p} failed with error: ${S}`);if(!Z){v.debug(`${i} - Error is not retryable`);break}yield sleep(A);_++}throw Error(`${i} failed: ${S}`)}))}function retryTypedResponse(i,c){return S(this,arguments,void 0,(function*(i,c,d=T.DefaultRetryAttempts,p=T.DefaultRetryDelay){return yield retry(i,c,(i=>i.statusCode),d,p,(i=>{if(i instanceof _.HttpClientError){return{statusCode:i.statusCode,result:null,headers:{},error:i}}else{return undefined}}))}))}function retryHttpClientResponse(i,c){return S(this,arguments,void 0,(function*(i,c,d=T.DefaultRetryAttempts,p=T.DefaultRetryDelay){return yield retry(i,c,(i=>i.message.statusCode),d,p)}))}},96819:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.internalCacheTwirpClient=internalCacheTwirpClient;const A=d(37484);const C=d(41899);const S=d(50263);const v=d(17606);const _=d(98299);const T=d(44552);const V=d(54844);const Z=d(11486);const ee=d(27564);class CacheServiceClient{constructor(i,c,d,p){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const A=(0,_.getRuntimeToken)();this.baseUrl=(0,v.getCacheServiceURL)();if(c){this.maxAttempts=c}if(d){this.baseRetryIntervalMilliseconds=d}if(p){this.retryMultiplier=p}this.httpClient=new V.HttpClient(i,[new T.BearerCredentialHandler(A)])}request(i,c,d,C){return p(this,void 0,void 0,(function*(){const S=new URL(`/twirp/${i}/${c}`,this.baseUrl).href;(0,A.debug)(`[Request] ${c} ${S}`);const v={"Content-Type":d};try{const{body:i}=yield this.retryableRequest((()=>p(this,void 0,void 0,(function*(){return this.httpClient.post(S,JSON.stringify(C),v)}))));return i}catch(i){throw new Error(`Failed to ${c}: ${i.message}`)}}))}retryableRequest(i){return p(this,void 0,void 0,(function*(){let c=0;let d="";let p="";while(c<this.maxAttempts){let C=false;try{const c=yield i();const v=c.message.statusCode;p=yield c.readBody();(0,A.debug)(`[Response] - ${c.message.statusCode}`);(0,A.debug)(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);const _=JSON.parse(p);(0,ee.maskSecretUrls)(_);(0,A.debug)(`Body: ${JSON.stringify(_,null,2)}`);if(this.isSuccessStatusCode(v)){return{response:c,body:_}}C=this.isRetryableHttpStatusCode(v);d=`Failed request: (${v}) ${c.message.statusMessage}`;if(_.msg){if(S.UsageError.isUsageErrorMessage(_.msg)){throw new S.UsageError}d=`${d}: ${_.msg}`}}catch(i){if(i instanceof SyntaxError){(0,A.debug)(`Raw Body: ${p}`)}if(i instanceof S.UsageError){throw i}if(S.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new S.NetworkError(i===null||i===void 0?void 0:i.code)}C=true;d=i.message}if(!C){throw new Error(`Received non-retryable error: ${d}`)}if(c+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${d}`)}const v=this.getExponentialRetryTimeMilliseconds(c);(0,A.info)(`Attempt ${c+1} of ${this.maxAttempts} failed with error: ${d}. Retrying request in ${v} ms...`);yield this.sleep(v);c++}throw new Error(`Request failed`)}))}isSuccessStatusCode(i){if(!i)return false;return i>=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const c=[V.HttpCodes.BadGateway,V.HttpCodes.GatewayTimeout,V.HttpCodes.InternalServerError,V.HttpCodes.ServiceUnavailable,V.HttpCodes.TooManyRequests];return c.includes(i)}sleep(i){return p(this,void 0,void 0,(function*(){return new Promise((c=>setTimeout(c,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const c=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const d=c*this.retryMultiplier;return Math.trunc(Math.random()*(d-c)+c)}}function internalCacheTwirpClient(i){const c=new CacheServiceClient((0,C.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new Z.CacheServiceClientJSON(c)}},50263:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.UsageError=c.NetworkError=c.GHESNotSupportedError=c.CacheNotFoundError=c.InvalidResponseError=c.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let c="No files were found to upload";if(i.length>0){c+=`: ${i.join(", ")}`}super(c);this.files=i;this.name="FilesNotFoundError"}}c.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}c.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(i="Cache not found"){super(i);this.name="CacheNotFoundError"}}c.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}c.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const c=`Unable to make request: ${i}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(c);this.code=i;this.name="NetworkError"}}c.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(i);this.name="UsageError"}}c.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")}},41899:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getUserAgentString=getUserAgentString;const p=d(64012);function getUserAgentString(){return`@actions/cache-${p.version}`}},27564:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.maskSigUrl=maskSigUrl;c.maskSecretUrls=maskSecretUrls;const p=d(37484);function maskSigUrl(i){if(!i)return;try{const c=new URL(i);const d=c.searchParams.get("sig");if(d){(0,p.setSecret)(d);(0,p.setSecret)(encodeURIComponent(d))}}catch(c){(0,p.debug)(`Failed to parse URL: ${i} ${c instanceof Error?c.message:String(c)}`)}}function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,p.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_download_url"in i&&typeof i.signed_download_url==="string"){maskSigUrl(i.signed_download_url)}}},95321:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.listTar=listTar;c.extractTar=extractTar;c.createTar=createTar;const v=d(95236);const _=C(d(94994));const T=d(79896);const V=C(d(16928));const Z=C(d(98299));const ee=d(58287);const te=process.platform==="win32";function getTarPath(){return S(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const i=yield Z.getGnuTarPathOnWindows();const c=ee.SystemTarPathOnWindows;if(i){return{path:i,type:ee.ArchiveToolType.GNU}}else if((0,T.existsSync)(c)){return{path:c,type:ee.ArchiveToolType.BSD}}break}case"darwin":{const i=yield _.which("gtar",false);if(i){return{path:i,type:ee.ArchiveToolType.GNU}}else{return{path:yield _.which("tar",true),type:ee.ArchiveToolType.BSD}}}default:break}return{path:yield _.which("tar",true),type:ee.ArchiveToolType.GNU}}))}function getTarArgs(i,c,d){return S(this,arguments,void 0,(function*(i,c,d,p=""){const A=[`"${i.path}"`];const C=Z.getCacheFileName(c);const S="cache.tar";const v=getWorkingDirectory();const _=i.type===ee.ArchiveToolType.BSD&&c!==ee.CompressionMethod.Gzip&&te;switch(d){case"create":A.push("--posix","-cf",_?S:C.replace(new RegExp(`\\${V.sep}`,"g"),"/"),"--exclude",_?S:C.replace(new RegExp(`\\${V.sep}`,"g"),"/"),"-P","-C",v.replace(new RegExp(`\\${V.sep}`,"g"),"/"),"--files-from",ee.ManifestFilename);break;case"extract":A.push("-xf",_?S:p.replace(new RegExp(`\\${V.sep}`,"g"),"/"),"-P","-C",v.replace(new RegExp(`\\${V.sep}`,"g"),"/"));break;case"list":A.push("-tf",_?S:p.replace(new RegExp(`\\${V.sep}`,"g"),"/"),"-P");break}if(i.type===ee.ArchiveToolType.GNU){switch(process.platform){case"win32":A.push("--force-local");break;case"darwin":A.push("--delay-directory-restore");break}}return A}))}function getCommands(i,c){return S(this,arguments,void 0,(function*(i,c,d=""){let p;const A=yield getTarPath();const C=yield getTarArgs(A,i,c,d);const S=c!=="create"?yield getDecompressionProgram(A,i,d):yield getCompressionProgram(A,i);const v=A.type===ee.ArchiveToolType.BSD&&i!==ee.CompressionMethod.Gzip&&te;if(v&&c!=="create"){p=[[...S].join(" "),[...C].join(" ")]}else{p=[[...C].join(" "),[...S].join(" ")]}if(v){return p}return[p.join(" ")]}))}function getWorkingDirectory(){var i;return(i=process.env["GITHUB_WORKSPACE"])!==null&&i!==void 0?i:process.cwd()}function getDecompressionProgram(i,c,d){return S(this,void 0,void 0,(function*(){const p=i.type===ee.ArchiveToolType.BSD&&c!==ee.CompressionMethod.Gzip&&te;switch(c){case ee.CompressionMethod.Zstd:return p?["zstd -d --long=30 --force -o",ee.TarFilename,d.replace(new RegExp(`\\${V.sep}`,"g"),"/")]:["--use-compress-program",te?'"zstd -d --long=30"':"unzstd --long=30"];case ee.CompressionMethod.ZstdWithoutLong:return p?["zstd -d --force -o",ee.TarFilename,d.replace(new RegExp(`\\${V.sep}`,"g"),"/")]:["--use-compress-program",te?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(i,c){return S(this,void 0,void 0,(function*(){const d=Z.getCacheFileName(c);const p=i.type===ee.ArchiveToolType.BSD&&c!==ee.CompressionMethod.Gzip&&te;switch(c){case ee.CompressionMethod.Zstd:return p?["zstd -T0 --long=30 --force -o",d.replace(new RegExp(`\\${V.sep}`,"g"),"/"),ee.TarFilename]:["--use-compress-program",te?'"zstd -T0 --long=30"':"zstdmt --long=30"];case ee.CompressionMethod.ZstdWithoutLong:return p?["zstd -T0 --force -o",d.replace(new RegExp(`\\${V.sep}`,"g"),"/"),ee.TarFilename]:["--use-compress-program",te?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(i,c){return S(this,void 0,void 0,(function*(){for(const d of i){try{yield(0,v.exec)(d,undefined,{cwd:c,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(i){throw new Error(`${d.split(" ")[0]} failed with error: ${i===null||i===void 0?void 0:i.message}`)}}}))}function listTar(i,c){return S(this,void 0,void 0,(function*(){const d=yield getCommands(c,"list",i);yield execCommands(d)}))}function extractTar(i,c){return S(this,void 0,void 0,(function*(){const d=getWorkingDirectory();yield _.mkdirP(d);const p=yield getCommands(c,"extract",i);yield execCommands(p)}))}function createTar(i,c,d){return S(this,void 0,void 0,(function*(){(0,T.writeFileSync)(V.join(i,ee.ManifestFilename),c.join("\n"));const p=yield getCommands(d,"create");yield execCommands(p,i)}))}},35268:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.UploadProgress=void 0;c.uploadCacheArchiveSDK=uploadCacheArchiveSDK;const v=C(d(37484));const _=d(71400);const T=d(50263);class UploadProgress{constructor(i){this.contentLength=i;this.sentBytes=0;this.displayedComplete=false;this.startTime=Date.now()}setSentBytes(i){this.sentBytes=i}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const i=this.sentBytes;const c=(100*(i/this.contentLength)).toFixed(1);const d=Date.now()-this.startTime;const p=(i/(1024*1024)/(d/1e3)).toFixed(1);v.info(`Sent ${i} of ${this.contentLength} (${c}%), ${p} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return i=>{this.setSentBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}c.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(i,c,d){return S(this,void 0,void 0,(function*(){var p;const A=new _.BlobClient(i);const C=A.getBlockBlobClient();const S=new UploadProgress((p=d===null||d===void 0?void 0:d.archiveSizeBytes)!==null&&p!==void 0?p:0);const V={blockSize:d===null||d===void 0?void 0:d.uploadChunkSize,concurrency:d===null||d===void 0?void 0:d.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:S.onProgress()};try{S.startDisplayTimer();v.debug(`BlobClient: ${A.name}:${A.accountName}:${A.containerName}`);const i=yield C.uploadFile(c,V);if(i._response.status>=400){throw new T.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${i._response.status}`)}return i}catch(i){v.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${i.message}`);throw i}finally{S.stopDisplayTimer()}}))}},98356:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.getUploadOptions=getUploadOptions;c.getDownloadOptions=getDownloadOptions;const S=C(d(37484));function getUploadOptions(i){const c={useAzureSdk:false,uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(i){if(typeof i.useAzureSdk==="boolean"){c.useAzureSdk=i.useAzureSdk}if(typeof i.uploadConcurrency==="number"){c.uploadConcurrency=i.uploadConcurrency}if(typeof i.uploadChunkSize==="number"){c.uploadChunkSize=i.uploadChunkSize}}c.uploadConcurrency=!isNaN(Number(process.env["CACHE_UPLOAD_CONCURRENCY"]))?Math.min(32,Number(process.env["CACHE_UPLOAD_CONCURRENCY"])):c.uploadConcurrency;c.uploadChunkSize=!isNaN(Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"]))?Math.min(128*1024*1024,Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"])*1024*1024):c.uploadChunkSize;S.debug(`Use Azure SDK: ${c.useAzureSdk}`);S.debug(`Upload concurrency: ${c.uploadConcurrency}`);S.debug(`Upload chunk size: ${c.uploadChunkSize}`);return c}function getDownloadOptions(i){const c={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(i){if(typeof i.useAzureSdk==="boolean"){c.useAzureSdk=i.useAzureSdk}if(typeof i.concurrentBlobDownloads==="boolean"){c.concurrentBlobDownloads=i.concurrentBlobDownloads}if(typeof i.downloadConcurrency==="number"){c.downloadConcurrency=i.downloadConcurrency}if(typeof i.timeoutInMs==="number"){c.timeoutInMs=i.timeoutInMs}if(typeof i.segmentTimeoutInMs==="number"){c.segmentTimeoutInMs=i.segmentTimeoutInMs}if(typeof i.lookupOnly==="boolean"){c.lookupOnly=i.lookupOnly}}const d=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(d&&!isNaN(Number(d))&&isFinite(Number(d))){c.segmentTimeoutInMs=Number(d)*60*1e3}S.debug(`Use Azure SDK: ${c.useAzureSdk}`);S.debug(`Download concurrency: ${c.downloadConcurrency}`);S.debug(`Request timeout (ms): ${c.timeoutInMs}`);S.debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);S.debug(`Segment download timeout (ms): ${c.segmentTimeoutInMs}`);S.debug(`Lookup only: ${c.lookupOnly}`);return c}},39048:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});const d=new WeakMap;const p=new WeakMap;class AbortSignal{constructor(){this.onabort=null;d.set(this,[]);p.set(this,false)}get aborted(){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return p.get(this)}static get none(){return new AbortSignal}addEventListener(i,c){if(!d.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const p=d.get(this);p.push(c)}removeEventListener(i,c){if(!d.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const p=d.get(this);const A=p.indexOf(c);if(A>-1){p.splice(A,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const c=d.get(i);if(c){c.slice().forEach((c=>{c.call(i,{type:"abort"})}))}p.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const c of i){if(c.aborted){this.abort()}else{c.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const c=new AbortSignal;const d=setTimeout(abortSignal,i,c);if(typeof d.unref==="function"){d.unref()}return c}}c.AbortController=AbortController;c.AbortError=AbortError;c.AbortSignal=AbortSignal},23311:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.requests=d;this.headers=p;this.response=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d,p]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:c,status:d,trailers:p}}))}}c.ClientStreamingCall=ClientStreamingCall},69499:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Deferred=c.DeferredState=void 0;var d;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(d=c.DeferredState||(c.DeferredState={}));class Deferred{constructor(i=true){this._state=d.PENDING;this._promise=new Promise(((i,c)=>{this._resolve=i;this._reject=c}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==d.PENDING)throw new Error(`cannot resolve ${d[this.state].toLowerCase()}`);this._resolve(i);this._state=d.RESOLVED}reject(i){if(this.state!==d.PENDING)throw new Error(`cannot reject ${d[this.state].toLowerCase()}`);this._reject(i);this._state=d.REJECTED}resolvePending(i){if(this._state===d.PENDING)this.resolve(i)}rejectPending(i){if(this._state===d.PENDING)this.reject(i)}}c.Deferred=Deferred},40800:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.requests=d;this.headers=p;this.responses=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:c,trailers:d}}))}}c.DuplexStreamingCall=DuplexStreamingCall},76762:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(42554);Object.defineProperty(c,"ServiceType",{enumerable:true,get:function(){return p.ServiceType}});var A=d(83402);Object.defineProperty(c,"readMethodOptions",{enumerable:true,get:function(){return A.readMethodOptions}});Object.defineProperty(c,"readMethodOption",{enumerable:true,get:function(){return A.readMethodOption}});Object.defineProperty(c,"readServiceOption",{enumerable:true,get:function(){return A.readServiceOption}});var C=d(50422);Object.defineProperty(c,"RpcError",{enumerable:true,get:function(){return C.RpcError}});var S=d(63474);Object.defineProperty(c,"mergeRpcOptions",{enumerable:true,get:function(){return S.mergeRpcOptions}});var v=d(58788);Object.defineProperty(c,"RpcOutputStreamController",{enumerable:true,get:function(){return v.RpcOutputStreamController}});var _=d(37816);Object.defineProperty(c,"TestTransport",{enumerable:true,get:function(){return _.TestTransport}});var T=d(69499);Object.defineProperty(c,"Deferred",{enumerable:true,get:function(){return T.Deferred}});Object.defineProperty(c,"DeferredState",{enumerable:true,get:function(){return T.DeferredState}});var V=d(40800);Object.defineProperty(c,"DuplexStreamingCall",{enumerable:true,get:function(){return V.DuplexStreamingCall}});var Z=d(23311);Object.defineProperty(c,"ClientStreamingCall",{enumerable:true,get:function(){return Z.ClientStreamingCall}});var ee=d(22715);Object.defineProperty(c,"ServerStreamingCall",{enumerable:true,get:function(){return ee.ServerStreamingCall}});var te=d(80738);Object.defineProperty(c,"UnaryCall",{enumerable:true,get:function(){return te.UnaryCall}});var re=d(84359);Object.defineProperty(c,"stackIntercept",{enumerable:true,get:function(){return re.stackIntercept}});Object.defineProperty(c,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return re.stackDuplexStreamingInterceptors}});Object.defineProperty(c,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return re.stackClientStreamingInterceptors}});Object.defineProperty(c,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return re.stackServerStreamingInterceptors}});Object.defineProperty(c,"stackUnaryInterceptors",{enumerable:true,get:function(){return re.stackUnaryInterceptors}});var ne=d(44626);Object.defineProperty(c,"ServerCallContextController",{enumerable:true,get:function(){return ne.ServerCallContextController}})},83402:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.readServiceOption=c.readMethodOption=c.readMethodOptions=c.normalizeMethodInfo=void 0;const p=d(88372);function normalizeMethodInfo(i,c){var d,A,C;let S=i;S.service=c;S.localName=(d=S.localName)!==null&&d!==void 0?d:p.lowerCamelCase(S.name);S.serverStreaming=!!S.serverStreaming;S.clientStreaming=!!S.clientStreaming;S.options=(A=S.options)!==null&&A!==void 0?A:{};S.idempotency=(C=S.idempotency)!==null&&C!==void 0?C:undefined;return S}c.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,c,d,p){var A;const C=(A=i.methods.find(((i,d)=>i.localName===c||d===c)))===null||A===void 0?void 0:A.options;return C&&C[d]?p.fromJson(C[d]):undefined}c.readMethodOptions=readMethodOptions;function readMethodOption(i,c,d,p){var A;const C=(A=i.methods.find(((i,d)=>i.localName===c||d===c)))===null||A===void 0?void 0:A.options;if(!C){return undefined}const S=C[d];if(S===undefined){return S}return p?p.fromJson(S):S}c.readMethodOption=readMethodOption;function readServiceOption(i,c,d){const p=i.options;if(!p){return undefined}const A=p[c];if(A===undefined){return A}return d?d.fromJson(A):A}c.readServiceOption=readServiceOption},50422:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RpcError=void 0;class RpcError extends Error{constructor(i,c="UNKNOWN",d){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=c;this.meta=d!==null&&d!==void 0?d:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let c=Object.entries(this.meta);if(c.length){i.push("");i.push("Meta:");for(let[d,p]of c){i.push(` ${d}: ${p}`)}}return i.join("\n")}}c.RpcError=RpcError},84359:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.stackDuplexStreamingInterceptors=c.stackClientStreamingInterceptors=c.stackServerStreamingInterceptors=c.stackUnaryInterceptors=c.stackIntercept=void 0;const p=d(88372);function stackIntercept(i,c,d,A,C){var S,v,_,T;if(i=="unary"){let tail=(i,d,p)=>c.unary(i,d,p);for(const i of((S=A.interceptors)!==null&&S!==void 0?S:[]).filter((i=>i.interceptUnary)).reverse()){const c=tail;tail=(d,p,A)=>i.interceptUnary(c,d,p,A)}return tail(d,C,A)}if(i=="serverStreaming"){let tail=(i,d,p)=>c.serverStreaming(i,d,p);for(const i of((v=A.interceptors)!==null&&v!==void 0?v:[]).filter((i=>i.interceptServerStreaming)).reverse()){const c=tail;tail=(d,p,A)=>i.interceptServerStreaming(c,d,p,A)}return tail(d,C,A)}if(i=="clientStreaming"){let tail=(i,d)=>c.clientStreaming(i,d);for(const i of((_=A.interceptors)!==null&&_!==void 0?_:[]).filter((i=>i.interceptClientStreaming)).reverse()){const c=tail;tail=(d,p)=>i.interceptClientStreaming(c,d,p)}return tail(d,A)}if(i=="duplex"){let tail=(i,d)=>c.duplex(i,d);for(const i of((T=A.interceptors)!==null&&T!==void 0?T:[]).filter((i=>i.interceptDuplex)).reverse()){const c=tail;tail=(d,p)=>i.interceptDuplex(c,d,p)}return tail(d,A)}p.assertNever(i)}c.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,c,d,p){return stackIntercept("unary",i,c,p,d)}c.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,c,d,p){return stackIntercept("serverStreaming",i,c,p,d)}c.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,c,d){return stackIntercept("clientStreaming",i,c,d)}c.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,c,d){return stackIntercept("duplex",i,c,d)}c.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},63474:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.mergeRpcOptions=void 0;const p=d(88372);function mergeRpcOptions(i,c){if(!c)return i;let d={};copy(i,d);copy(c,d);for(let A of Object.keys(c)){let C=c[A];switch(A){case"jsonOptions":d.jsonOptions=p.mergeJsonOptions(i.jsonOptions,d.jsonOptions);break;case"binaryOptions":d.binaryOptions=p.mergeBinaryOptions(i.binaryOptions,d.binaryOptions);break;case"meta":d.meta={};copy(i.meta,d.meta);copy(c.meta,d.meta);break;case"interceptors":d.interceptors=i.interceptors?i.interceptors.concat(C):C.concat();break}}return d}c.mergeRpcOptions=mergeRpcOptions;function copy(i,c){if(!i)return;let d=c;for(let[c,p]of Object.entries(i)){if(p instanceof Date)d[c]=new Date(p.getTime());else if(Array.isArray(p))d[c]=p.concat();else d[c]=p}}},58788:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RpcOutputStreamController=void 0;const p=d(69499);const A=d(88372);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,c){c.push(i);return()=>{let d=c.indexOf(i);if(d>=0)c.splice(d,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,c,d){A.assert((i?1:0)+(c?1:0)+(d?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(c)this.notifyError(c);if(d)this.notifyComplete()}notifyMessage(i){A.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((c=>c(i)));this._lis.nxt.forEach((c=>c(i,undefined,false)))}notifyError(i){A.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((c=>c(i)));this._lis.nxt.forEach((c=>c(undefined,i,false)));this.clearLis()}notifyComplete(){A.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let i=this._itState;A.assert(i,"bad state");A.assert(!i.p,"iterator contract broken");let c=i.q.shift();if(c)return"value"in c?Promise.resolve(c):Promise.reject(c);i.p=new p.Deferred;return i.p.promise}}}pushIt(i){let c=this._itState;if(c.p){const d=c.p;A.assert(d.state==p.DeferredState.PENDING,"iterator contract broken");"value"in i?d.resolve(i):d.reject(i);delete c.p}else{c.q.push(i)}}}c.RpcOutputStreamController=RpcOutputStreamController},44626:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,c,d,p,A={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=c;this.deadline=d;this.trailers={};this._sendRH=p;this.status=A}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const c=this._listeners;c.push(i);return()=>{let d=c.indexOf(i);if(d>=0)c.splice(d,1)}}}c.ServerCallContextController=ServerCallContextController},22715:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.request=d;this.headers=p;this.responses=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:c,trailers:d}}))}}c.ServerStreamingCall=ServerStreamingCall},42554:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServiceType=void 0;const p=d(83402);class ServiceType{constructor(i,c,d){this.typeName=i;this.methods=c.map((i=>p.normalizeMethodInfo(i,this)));this.options=d!==null&&d!==void 0?d:{}}}c.ServiceType=ServiceType},37816:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.TestTransport=void 0;const A=d(50422);const C=d(88372);const S=d(58788);const v=d(63474);const _=d(80738);const T=d(22715);const V=d(23311);const Z=d(40800);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var i;const c=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return c instanceof A.RpcError?Promise.reject(c):Promise.resolve(c)}promiseSingleResponse(i){if(this.data.response instanceof A.RpcError){return Promise.reject(this.data.response)}let c;if(Array.isArray(this.data.response)){C.assert(this.data.response.length>0);c=this.data.response[0]}else if(this.data.response!==undefined){c=this.data.response}else{c=i.O.create()}C.assert(i.O.is(c));return Promise.resolve(c)}streamResponses(i,c,d){return p(this,void 0,void 0,(function*(){const p=[];if(this.data.response===undefined){p.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let c of this.data.response){C.assert(i.O.is(c));p.push(c)}}else if(!(this.data.response instanceof A.RpcError)){C.assert(i.O.is(this.data.response));p.push(this.data.response)}try{yield delay(this.responseDelay,d)(undefined)}catch(i){c.notifyError(i);return}if(this.data.response instanceof A.RpcError){c.notifyError(this.data.response);return}for(let i of p){c.notifyMessage(i);try{yield delay(this.betweenResponseDelay,d)(undefined)}catch(i){c.notifyError(i);return}}if(this.data.status instanceof A.RpcError){c.notifyError(this.data.status);return}if(this.data.trailers instanceof A.RpcError){c.notifyError(this.data.trailers);return}c.notifyComplete()}))}promiseStatus(){var i;const c=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return c instanceof A.RpcError?Promise.reject(c):Promise.resolve(c)}promiseTrailers(){var i;const c=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return c instanceof A.RpcError?Promise.reject(c):Promise.resolve(c)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let c of i){c.catch((()=>{}))}}}mergeOptions(i){return v.mergeRpcOptions({},i)}unary(i,c,d){var p;const A=(p=d.meta)!==null&&p!==void 0?p:{},C=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),S=C.catch((i=>{})).then(delay(this.responseDelay,d.abort)).then((c=>this.promiseSingleResponse(i))),v=S.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseStatus())),T=S.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(v,T);this.lastInput={single:c};return new _.UnaryCall(i,A,c,C,S,v,T)}serverStreaming(i,c,d){var p;const A=(p=d.meta)!==null&&p!==void 0?p:{},C=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),v=new S.RpcOutputStreamController,_=C.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(i,v,d.abort))).then(delay(this.afterResponseDelay,d.abort)),V=_.then((()=>this.promiseStatus())),Z=_.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(V,Z);this.lastInput={single:c};return new T.ServerStreamingCall(i,A,c,C,v,V,Z)}clientStreaming(i,c){var d;const p=(d=c.meta)!==null&&d!==void 0?d:{},A=this.promiseHeaders().then(delay(this.headerDelay,c.abort)),C=A.catch((i=>{})).then(delay(this.responseDelay,c.abort)).then((c=>this.promiseSingleResponse(i))),S=C.catch((i=>{})).then(delay(this.afterResponseDelay,c.abort)).then((i=>this.promiseStatus())),v=C.catch((i=>{})).then(delay(this.afterResponseDelay,c.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(S,v);this.lastInput=new TestInputStream(this.data,c.abort);return new V.ClientStreamingCall(i,p,this.lastInput,A,C,S,v)}duplex(i,c){var d;const p=(d=c.meta)!==null&&d!==void 0?d:{},A=this.promiseHeaders().then(delay(this.headerDelay,c.abort)),C=new S.RpcOutputStreamController,v=A.then(delay(this.responseDelay,c.abort)).catch((()=>{})).then((()=>this.streamResponses(i,C,c.abort))).then(delay(this.afterResponseDelay,c.abort)),_=v.then((()=>this.promiseStatus())),T=v.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(_,T);this.lastInput=new TestInputStream(this.data,c.abort);return new Z.DuplexStreamingCall(i,p,this.lastInput,A,C,_,T)}}c.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,c){return d=>new Promise(((p,C)=>{if(c===null||c===void 0?void 0:c.aborted){C(new A.RpcError("user cancel","CANCELLED"))}else{const S=setTimeout((()=>p(d)),i);if(c){c.addEventListener("abort",(i=>{clearTimeout(S);C(new A.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,c){this._completed=false;this._sent=[];this.data=i;this.abort=c}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof A.RpcError){return Promise.reject(this.data.inputMessage)}const c=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(c,this.abort))}complete(){if(this.data.inputComplete instanceof A.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},80738:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.UnaryCall=void 0;class UnaryCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.request=d;this.headers=p;this.response=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d,p]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:c,status:d,trailers:p}}))}}c.UnaryCall=UnaryCall},46468:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.assertFloat32=c.assertUInt32=c.assertInt32=c.assertNever=c.assert=void 0;function assert(i,c){if(!i){throw new Error(c)}}c.assert=assert;function assertNever(i,c){throw new Error(c!==null&&c!==void 0?c:"Unexpected object: "+i)}c.assertNever=assertNever;const d=34028234663852886e22,p=-34028234663852886e22,A=4294967295,C=2147483647,S=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>C||i<S)throw new Error("invalid int 32: "+i)}c.assertInt32=assertInt32;function assertUInt32(i){if(typeof i!=="number")throw new Error("invalid uint 32: "+typeof i);if(!Number.isInteger(i)||i>A||i<0)throw new Error("invalid uint 32: "+i)}c.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>d||i<p)throw new Error("invalid float 32: "+i)}c.assertFloat32=assertFloat32},36689:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.base64encode=c.base64decode=void 0;let d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let p=[];for(let i=0;i<d.length;i++)p[d[i].charCodeAt(0)]=i;p["-".charCodeAt(0)]=d.indexOf("+");p["_".charCodeAt(0)]=d.indexOf("/");function base64decode(i){let c=i.length*3/4;if(i[i.length-2]=="=")c-=2;else if(i[i.length-1]=="=")c-=1;let d=new Uint8Array(c),A=0,C=0,S,v=0;for(let c=0;c<i.length;c++){S=p[i.charCodeAt(c)];if(S===undefined){switch(i[c]){case"=":C=0;case"\n":case"\r":case"\t":case" ":continue;default:throw Error(`invalid base64 string.`)}}switch(C){case 0:v=S;C=1;break;case 1:d[A++]=v<<2|(S&48)>>4;v=S;C=2;break;case 2:d[A++]=(v&15)<<4|(S&60)>>2;v=S;C=3;break;case 3:d[A++]=(v&3)<<6|S;C=0;break}}if(C==1)throw Error(`invalid base64 string.`);return d.subarray(0,A)}c.base64decode=base64decode;function base64encode(i){let c="",p=0,A,C=0;for(let S=0;S<i.length;S++){A=i[S];switch(p){case 0:c+=d[A>>2];C=(A&3)<<4;p=1;break;case 1:c+=d[C|A>>4];C=(A&15)<<2;p=2;break;case 2:c+=d[C|A>>6];c+=d[A&63];p=0;break}}if(p){c+=d[C];c+="=";if(p==1)c+="="}return c}c.base64encode=base64encode},66690:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.WireType=c.mergeBinaryOptions=c.UnknownFieldHandler=void 0;var d;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(c,d,p,A,C)=>{let S=is(d)?d[i.symbol]:d[i.symbol]=[];S.push({no:p,wireType:A,data:C})};i.onWrite=(c,d,p)=>{for(let{no:c,wireType:A,data:C}of i.list(d))p.tag(c,A).raw(C)};i.list=(c,d)=>{if(is(c)){let p=c[i.symbol];return d?p.filter((i=>i.no==d)):p}return[]};i.last=(c,d)=>i.list(c,d).slice(-1)[0];const is=c=>c&&Array.isArray(c[i.symbol])})(d=c.UnknownFieldHandler||(c.UnknownFieldHandler={}));function mergeBinaryOptions(i,c){return Object.assign(Object.assign({},i),c)}c.mergeBinaryOptions=mergeBinaryOptions;var p;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(p=c.WireType||(c.WireType={}))},8887:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BinaryReader=c.binaryReadOptions=void 0;const p=d(66690);const A=d(55579);const C=d(20365);const S={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},S),i):S}c.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,c){this.varint64=C.varint64read;this.uint32=C.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=c!==null&&c!==void 0?c:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),c=i>>>3,d=i&7;if(c<=0||d<0||d>5)throw new Error("illegal tag: field no "+c+" wire type "+d);return[c,d]}skip(i){let c=this.pos;switch(i){case p.WireType.Varint:while(this.buf[this.pos++]&128){}break;case p.WireType.Bit64:this.pos+=4;case p.WireType.Bit32:this.pos+=4;break;case p.WireType.LengthDelimited:let c=this.uint32();this.pos+=c;break;case p.WireType.StartGroup:let d;while((d=this.tag()[1])!==p.WireType.EndGroup){this.skip(d)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(c,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new A.PbLong(...this.varint64())}uint64(){return new A.PbULong(...this.varint64())}sint64(){let[i,c]=this.varint64();let d=-(i&1);i=(i>>>1|(c&1)<<31)^d;c=c>>>1^d;return new A.PbLong(i,c)}bool(){let[i,c]=this.varint64();return i!==0||c!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new A.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new A.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let i=this.uint32();let c=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(c,c+i)}string(){return this.textDecoder.decode(this.bytes())}}c.BinaryReader=BinaryReader},4839:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BinaryWriter=c.binaryWriteOptions=void 0;const p=d(55579);const A=d(20365);const C=d(46468);const S={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},S),i):S}c.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let c=0;c<this.chunks.length;c++)i+=this.chunks[c].length;let c=new Uint8Array(i);let d=0;for(let i=0;i<this.chunks.length;i++){c.set(this.chunks[i],d);d+=this.chunks[i].length}this.chunks=[];return c}fork(){this.stack.push({chunks:this.chunks,buf:this.buf});this.chunks=[];this.buf=[];return this}join(){let i=this.finish();let c=this.stack.pop();if(!c)throw new Error("invalid state, fork stack empty");this.chunks=c.chunks;this.buf=c.buf;this.uint32(i.byteLength);return this.raw(i)}tag(i,c){return this.uint32((i<<3|c)>>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){C.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){C.assertInt32(i);A.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let c=this.textEncoder.encode(i);this.uint32(c.byteLength);return this.raw(c)}float(i){C.assertFloat32(i);let c=new Uint8Array(4);new DataView(c.buffer).setFloat32(0,i,true);return this.raw(c)}double(i){let c=new Uint8Array(8);new DataView(c.buffer).setFloat64(0,i,true);return this.raw(c)}fixed32(i){C.assertUInt32(i);let c=new Uint8Array(4);new DataView(c.buffer).setUint32(0,i,true);return this.raw(c)}sfixed32(i){C.assertInt32(i);let c=new Uint8Array(4);new DataView(c.buffer).setInt32(0,i,true);return this.raw(c)}sint32(i){C.assertInt32(i);i=(i<<1^i>>31)>>>0;A.varint32write(i,this.buf);return this}sfixed64(i){let c=new Uint8Array(8);let d=new DataView(c.buffer);let A=p.PbLong.from(i);d.setInt32(0,A.lo,true);d.setInt32(4,A.hi,true);return this.raw(c)}fixed64(i){let c=new Uint8Array(8);let d=new DataView(c.buffer);let A=p.PbULong.from(i);d.setInt32(0,A.lo,true);d.setInt32(4,A.hi,true);return this.raw(c)}int64(i){let c=p.PbLong.from(i);A.varint64write(c.lo,c.hi,this.buf);return this}sint64(i){let c=p.PbLong.from(i),d=c.hi>>31,C=c.lo<<1^d,S=(c.hi<<1|c.lo>>>31)^d;A.varint64write(C,S,this.buf);return this}uint64(i){let c=p.PbULong.from(i);A.varint64write(c.lo,c.hi,this.buf);return this}}c.BinaryWriter=BinaryWriter},46959:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.listEnumNumbers=c.listEnumNames=c.listEnumValues=c.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let c of Object.keys(i)){let d=parseInt(c);if(!Number.isNaN(d)){let c=i[d];if(c===undefined)return false;if(i[c]!==d)return false}else{let d=i[c];if(d===undefined)return false;if(typeof d!=="number")return false;if(i[d]===undefined)return false}}return true}c.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let c=[];for(let[d,p]of Object.entries(i))if(typeof p=="number")c.push({name:d,number:p});return c}c.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}c.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,c,d)=>d.indexOf(i)==c))}c.listEnumNumbers=listEnumNumbers},20365:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.varint32read=c.varint32write=c.int64toString=c.int64fromString=c.varint64write=c.varint64read=void 0;function varint64read(){let i=0;let c=0;for(let d=0;d<28;d+=7){let p=this.buf[this.pos++];i|=(p&127)<<d;if((p&128)==0){this.assertBounds();return[i,c]}}let d=this.buf[this.pos++];i|=(d&15)<<28;c=(d&112)>>4;if((d&128)==0){this.assertBounds();return[i,c]}for(let d=3;d<=31;d+=7){let p=this.buf[this.pos++];c|=(p&127)<<d;if((p&128)==0){this.assertBounds();return[i,c]}}throw new Error("invalid varint")}c.varint64read=varint64read;function varint64write(i,c,d){for(let p=0;p<28;p=p+7){const A=i>>>p;const C=!(A>>>7==0&&c==0);const S=(C?A|128:A)&255;d.push(S);if(!C){return}}const p=i>>>28&15|(c&7)<<4;const A=!(c>>3==0);d.push((A?p|128:p)&255);if(!A){return}for(let i=3;i<31;i=i+7){const p=c>>>i;const A=!(p>>>7==0);const C=(A?p|128:p)&255;d.push(C);if(!A){return}}d.push(c>>>31&1)}c.varint64write=varint64write;const d=(1<<16)*(1<<16);function int64fromString(i){let c=i[0]=="-";if(c)i=i.slice(1);const p=1e6;let A=0;let C=0;function add1e6digit(c,S){const v=Number(i.slice(c,S));C*=p;A=A*p+v;if(A>=d){C=C+(A/d|0);A=A%d}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[c,A,C]}c.int64fromString=int64fromString;function int64toString(i,c){if(c>>>0<=2097151){return""+(d*c+(i>>>0))}let p=i&16777215;let A=(i>>>24|c<<8)>>>0&16777215;let C=c>>16&65535;let S=p+A*6777216+C*6710656;let v=A+C*8147497;let _=C*2;let T=1e7;if(S>=T){v+=Math.floor(S/T);S%=T}if(v>=T){_+=Math.floor(v/T);v%=T}function decimalFrom1e7(i,c){let d=i?String(i):"";if(c){return"0000000".slice(d.length)+d}return d}return decimalFrom1e7(_,0)+decimalFrom1e7(v,_)+decimalFrom1e7(S,1)}c.int64toString=int64toString;function varint32write(i,c){if(i>=0){while(i>127){c.push(i&127|128);i=i>>>7}c.push(i)}else{for(let d=0;d<9;d++){c.push(i&127|128);i=i>>7}c.push(1)}}c.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let c=i&127;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&127)<<7;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&127)<<14;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&127)<<21;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&15)<<28;for(let c=5;(i&128)!==0&&c<10;c++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return c>>>0}c.varint32read=varint32read},88372:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(58369);Object.defineProperty(c,"typeofJsonValue",{enumerable:true,get:function(){return p.typeofJsonValue}});Object.defineProperty(c,"isJsonObject",{enumerable:true,get:function(){return p.isJsonObject}});var A=d(36689);Object.defineProperty(c,"base64decode",{enumerable:true,get:function(){return A.base64decode}});Object.defineProperty(c,"base64encode",{enumerable:true,get:function(){return A.base64encode}});var C=d(55424);Object.defineProperty(c,"utf8read",{enumerable:true,get:function(){return C.utf8read}});var S=d(66690);Object.defineProperty(c,"WireType",{enumerable:true,get:function(){return S.WireType}});Object.defineProperty(c,"mergeBinaryOptions",{enumerable:true,get:function(){return S.mergeBinaryOptions}});Object.defineProperty(c,"UnknownFieldHandler",{enumerable:true,get:function(){return S.UnknownFieldHandler}});var v=d(8887);Object.defineProperty(c,"BinaryReader",{enumerable:true,get:function(){return v.BinaryReader}});Object.defineProperty(c,"binaryReadOptions",{enumerable:true,get:function(){return v.binaryReadOptions}});var _=d(4839);Object.defineProperty(c,"BinaryWriter",{enumerable:true,get:function(){return _.BinaryWriter}});Object.defineProperty(c,"binaryWriteOptions",{enumerable:true,get:function(){return _.binaryWriteOptions}});var T=d(55579);Object.defineProperty(c,"PbLong",{enumerable:true,get:function(){return T.PbLong}});Object.defineProperty(c,"PbULong",{enumerable:true,get:function(){return T.PbULong}});var V=d(33389);Object.defineProperty(c,"jsonReadOptions",{enumerable:true,get:function(){return V.jsonReadOptions}});Object.defineProperty(c,"jsonWriteOptions",{enumerable:true,get:function(){return V.jsonWriteOptions}});Object.defineProperty(c,"mergeJsonOptions",{enumerable:true,get:function(){return V.mergeJsonOptions}});var Z=d(41371);Object.defineProperty(c,"MESSAGE_TYPE",{enumerable:true,get:function(){return Z.MESSAGE_TYPE}});var ee=d(4172);Object.defineProperty(c,"MessageType",{enumerable:true,get:function(){return ee.MessageType}});var te=d(40528);Object.defineProperty(c,"ScalarType",{enumerable:true,get:function(){return te.ScalarType}});Object.defineProperty(c,"LongType",{enumerable:true,get:function(){return te.LongType}});Object.defineProperty(c,"RepeatType",{enumerable:true,get:function(){return te.RepeatType}});Object.defineProperty(c,"normalizeFieldInfo",{enumerable:true,get:function(){return te.normalizeFieldInfo}});Object.defineProperty(c,"readFieldOptions",{enumerable:true,get:function(){return te.readFieldOptions}});Object.defineProperty(c,"readFieldOption",{enumerable:true,get:function(){return te.readFieldOption}});Object.defineProperty(c,"readMessageOption",{enumerable:true,get:function(){return te.readMessageOption}});var re=d(55649);Object.defineProperty(c,"ReflectionTypeCheck",{enumerable:true,get:function(){return re.ReflectionTypeCheck}});var ne=d(40868);Object.defineProperty(c,"reflectionCreate",{enumerable:true,get:function(){return ne.reflectionCreate}});var ie=d(412);Object.defineProperty(c,"reflectionScalarDefault",{enumerable:true,get:function(){return ie.reflectionScalarDefault}});var se=d(48674);Object.defineProperty(c,"reflectionMergePartial",{enumerable:true,get:function(){return se.reflectionMergePartial}});var oe=d(78197);Object.defineProperty(c,"reflectionEquals",{enumerable:true,get:function(){return oe.reflectionEquals}});var ae=d(72161);Object.defineProperty(c,"ReflectionBinaryReader",{enumerable:true,get:function(){return ae.ReflectionBinaryReader}});var le=d(45325);Object.defineProperty(c,"ReflectionBinaryWriter",{enumerable:true,get:function(){return le.ReflectionBinaryWriter}});var ce=d(85240);Object.defineProperty(c,"ReflectionJsonReader",{enumerable:true,get:function(){return ce.ReflectionJsonReader}});var ue=d(55572);Object.defineProperty(c,"ReflectionJsonWriter",{enumerable:true,get:function(){return ue.ReflectionJsonWriter}});var de=d(75556);Object.defineProperty(c,"containsMessageType",{enumerable:true,get:function(){return de.containsMessageType}});var fe=d(74857);Object.defineProperty(c,"isOneofGroup",{enumerable:true,get:function(){return fe.isOneofGroup}});Object.defineProperty(c,"setOneofValue",{enumerable:true,get:function(){return fe.setOneofValue}});Object.defineProperty(c,"getOneofValue",{enumerable:true,get:function(){return fe.getOneofValue}});Object.defineProperty(c,"clearOneofValue",{enumerable:true,get:function(){return fe.clearOneofValue}});Object.defineProperty(c,"getSelectedOneofValue",{enumerable:true,get:function(){return fe.getSelectedOneofValue}});var pe=d(46959);Object.defineProperty(c,"listEnumValues",{enumerable:true,get:function(){return pe.listEnumValues}});Object.defineProperty(c,"listEnumNames",{enumerable:true,get:function(){return pe.listEnumNames}});Object.defineProperty(c,"listEnumNumbers",{enumerable:true,get:function(){return pe.listEnumNumbers}});Object.defineProperty(c,"isEnumObject",{enumerable:true,get:function(){return pe.isEnumObject}});var Ae=d(54959);Object.defineProperty(c,"lowerCamelCase",{enumerable:true,get:function(){return Ae.lowerCamelCase}});var he=d(46468);Object.defineProperty(c,"assert",{enumerable:true,get:function(){return he.assert}});Object.defineProperty(c,"assertNever",{enumerable:true,get:function(){return he.assertNever}});Object.defineProperty(c,"assertInt32",{enumerable:true,get:function(){return he.assertInt32}});Object.defineProperty(c,"assertUInt32",{enumerable:true,get:function(){return he.assertUInt32}});Object.defineProperty(c,"assertFloat32",{enumerable:true,get:function(){return he.assertFloat32}})},33389:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.mergeJsonOptions=c.jsonWriteOptions=c.jsonReadOptions=void 0;const d={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},p={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},p),i):p}c.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},d),i):d}c.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,c){var d,p;let A=Object.assign(Object.assign({},i),c);A.typeRegistry=[...(d=i===null||i===void 0?void 0:i.typeRegistry)!==null&&d!==void 0?d:[],...(p=c===null||c===void 0?void 0:c.typeRegistry)!==null&&p!==void 0?p:[]];return A}c.mergeJsonOptions=mergeJsonOptions},58369:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isJsonObject=c.typeofJsonValue=void 0;function typeofJsonValue(i){let c=typeof i;if(c=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return c}c.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}c.isJsonObject=isJsonObject},54959:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.lowerCamelCase=void 0;function lowerCamelCase(i){let c=false;const d=[];for(let p=0;p<i.length;p++){let A=i.charAt(p);if(A=="_"){c=true}else if(/\d/.test(A)){d.push(A);c=true}else if(c){d.push(A.toUpperCase());c=false}else if(p==0){d.push(A.toLowerCase())}else{d.push(A)}}return d.join("")}c.lowerCamelCase=lowerCamelCase},41371:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.MESSAGE_TYPE=void 0;c.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},4172:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.MessageType=void 0;const p=d(41371);const A=d(40528);const C=d(55649);const S=d(85240);const v=d(55572);const _=d(72161);const T=d(45325);const V=d(40868);const Z=d(48674);const ee=d(58369);const te=d(33389);const re=d(78197);const ne=d(4839);const ie=d(8887);const se=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const oe=se[p.MESSAGE_TYPE]={};class MessageType{constructor(i,c,d){this.defaultCheckDepth=16;this.typeName=i;this.fields=c.map(A.normalizeFieldInfo);this.options=d!==null&&d!==void 0?d:{};oe.value=this;this.messagePrototype=Object.create(null,se);this.refTypeCheck=new C.ReflectionTypeCheck(this);this.refJsonReader=new S.ReflectionJsonReader(this);this.refJsonWriter=new v.ReflectionJsonWriter(this);this.refBinReader=new _.ReflectionBinaryReader(this);this.refBinWriter=new T.ReflectionBinaryWriter(this)}create(i){let c=V.reflectionCreate(this);if(i!==undefined){Z.reflectionMergePartial(this,c,i)}return c}clone(i){let c=this.create();Z.reflectionMergePartial(this,c,i);return c}equals(i,c){return re.reflectionEquals(this,i,c)}is(i,c=this.defaultCheckDepth){return this.refTypeCheck.is(i,c,false)}isAssignable(i,c=this.defaultCheckDepth){return this.refTypeCheck.is(i,c,true)}mergePartial(i,c){Z.reflectionMergePartial(this,i,c)}fromBinary(i,c){let d=ie.binaryReadOptions(c);return this.internalBinaryRead(d.readerFactory(i),i.byteLength,d)}fromJson(i,c){return this.internalJsonRead(i,te.jsonReadOptions(c))}fromJsonString(i,c){let d=JSON.parse(i);return this.fromJson(d,c)}toJson(i,c){return this.internalJsonWrite(i,te.jsonWriteOptions(c))}toJsonString(i,c){var d;let p=this.toJson(i,c);return JSON.stringify(p,null,(d=c===null||c===void 0?void 0:c.prettySpaces)!==null&&d!==void 0?d:0)}toBinary(i,c){let d=ne.binaryWriteOptions(c);return this.internalBinaryWrite(i,d.writerFactory(),d).finish()}internalJsonRead(i,c,d){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let p=d!==null&&d!==void 0?d:this.create();this.refJsonReader.read(i,p,c);return p}throw new Error(`Unable to parse message ${this.typeName} from JSON ${ee.typeofJsonValue(i)}.`)}internalJsonWrite(i,c){return this.refJsonWriter.write(i,c)}internalBinaryWrite(i,c,d){this.refBinWriter.write(i,c,d);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create();this.refBinReader.read(i,A,d,c);return A}}c.MessageType=MessageType},74857:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getSelectedOneofValue=c.clearOneofValue=c.setUnknownOneofValue=c.setOneofValue=c.getOneofValue=c.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}c.isOneofGroup=isOneofGroup;function getOneofValue(i,c){return i[c]}c.getOneofValue=getOneofValue;function setOneofValue(i,c,d){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=c;if(d!==undefined){i[c]=d}}c.setOneofValue=setOneofValue;function setUnknownOneofValue(i,c,d){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=c;if(d!==undefined&&c!==undefined){i[c]=d}}c.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}c.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}c.getSelectedOneofValue=getSelectedOneofValue},55579:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PbLong=c.PbULong=c.detectBi=void 0;const p=d(20365);let A;function detectBi(){const i=new DataView(new ArrayBuffer(8));const c=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";A=c?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}c.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const C=/^-?[0-9]+$/;const S=4294967296;const v=2147483648;class SharedPbLong{constructor(i,c){this.lo=i|0;this.hi=c|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*S+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(A)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=A.C(i);case"number":if(i===0)return this.ZERO;i=A.C(i);case"bigint":if(!i)return this.ZERO;if(i<A.UMIN)throw new Error("signed value for ulong");if(i>A.UMAX)throw new Error("ulong too large");A.V.setBigUint64(0,i,true);return new PbULong(A.V.getInt32(0,true),A.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!C.test(i))throw new Error("string is no integer");let[c,d,A]=p.int64fromString(i);if(c)throw new Error("signed value for ulong");return new PbULong(d,A);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/S)}throw new Error("unknown value "+typeof i)}toString(){return A?this.toBigInt().toString():p.int64toString(this.lo,this.hi)}toBigInt(){assertBi(A);A.V.setInt32(0,this.lo,true);A.V.setInt32(4,this.hi,true);return A.V.getBigUint64(0,true)}}c.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(A)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=A.C(i);case"number":if(i===0)return this.ZERO;i=A.C(i);case"bigint":if(!i)return this.ZERO;if(i<A.MIN)throw new Error("signed long too small");if(i>A.MAX)throw new Error("signed long too large");A.V.setBigInt64(0,i,true);return new PbLong(A.V.getInt32(0,true),A.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!C.test(i))throw new Error("string is no integer");let[c,d,A]=p.int64fromString(i);if(c){if(A>v||A==v&&d!=0)throw new Error("signed long too small")}else if(A>=v)throw new Error("signed long too large");let _=new PbLong(d,A);return c?_.negate():_;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/S):new PbLong(-i,-i/S).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&v)!==0}negate(){let i=~this.hi,c=this.lo;if(c)c=~c+1;else i+=1;return new PbLong(c,i)}toString(){if(A)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+p.int64toString(i.lo,i.hi)}return p.int64toString(this.lo,this.hi)}toBigInt(){assertBi(A);A.V.setInt32(0,this.lo,true);A.V.setInt32(4,this.hi,true);return A.V.getBigInt64(0,true)}}c.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},55424:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let c=0,d=[],p=[],A=0,C;let S=i.length;while(c<S){C=i[c++];if(C<128)p[A++]=C;else if(C>191&&C<224)p[A++]=(C&31)<<6|i[c++]&63;else if(C>239&&C<365){C=((C&7)<<18|(i[c++]&63)<<12|(i[c++]&63)<<6|i[c++]&63)-65536;p[A++]=55296+(C>>10);p[A++]=56320+(C&1023)}else p[A++]=(C&15)<<12|(i[c++]&63)<<6|i[c++]&63;if(A>8191){d.push(fromCharCodes(p));A=0}}if(d.length){if(A)d.push(fromCharCodes(p.slice(0,A)));return d.join("")}return fromCharCodes(p.slice(0,A))}c.utf8read=utf8read},72161:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionBinaryReader=void 0;const p=d(66690);const A=d(40528);const C=d(32344);const S=d(412);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const c=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(c.map((i=>[i.no,i])))}}read(i,c,d,C){this.prepare();const S=C===undefined?i.len:i.pos+C;while(i.pos<S){const[C,S]=i.tag(),v=this.fieldNoToField.get(C);if(!v){let A=d.readUnknownField;if(A=="throw")throw new Error(`Unknown field ${C} (wire type ${S}) for ${this.info.typeName}`);let v=i.skip(S);if(A!==false)(A===true?p.UnknownFieldHandler.onRead:A)(this.info.typeName,c,C,S,v);continue}let _=c,T=v.repeat,V=v.localName;if(v.oneof){_=_[v.oneof];if(_.oneofKind!==V)_=c[v.oneof]={oneofKind:V}}switch(v.kind){case"scalar":case"enum":let c=v.kind=="enum"?A.ScalarType.INT32:v.T;let C=v.kind=="scalar"?v.L:undefined;if(T){let d=_[V];if(S==p.WireType.LengthDelimited&&c!=A.ScalarType.STRING&&c!=A.ScalarType.BYTES){let p=i.uint32()+i.pos;while(i.pos<p)d.push(this.scalar(i,c,C))}else d.push(this.scalar(i,c,C))}else _[V]=this.scalar(i,c,C);break;case"message":if(T){let c=_[V];let p=v.T().internalBinaryRead(i,i.uint32(),d);c.push(p)}else _[V]=v.T().internalBinaryRead(i,i.uint32(),d,_[V]);break;case"map":let[Z,ee]=this.mapEntry(v,i,d);_[V][Z]=ee;break}}}mapEntry(i,c,d){let p=c.uint32();let C=c.pos+p;let v=undefined;let _=undefined;while(c.pos<C){let[p,C]=c.tag();switch(p){case 1:if(i.K==A.ScalarType.BOOL)v=c.bool().toString();else v=this.scalar(c,i.K,A.LongType.STRING);break;case 2:switch(i.V.kind){case"scalar":_=this.scalar(c,i.V.T,i.V.L);break;case"enum":_=c.int32();break;case"message":_=i.V.T().internalBinaryRead(c,c.uint32(),d);break}break;default:throw new Error(`Unknown field ${p} (wire type ${C}) in map entry for ${this.info.typeName}#${i.name}`)}}if(v===undefined){let c=S.reflectionScalarDefault(i.K);v=i.K==A.ScalarType.BOOL?c.toString():c}if(_===undefined)switch(i.V.kind){case"scalar":_=S.reflectionScalarDefault(i.V.T,i.V.L);break;case"enum":_=0;break;case"message":_=i.V.T().create();break}return[v,_]}scalar(i,c,d){switch(c){case A.ScalarType.INT32:return i.int32();case A.ScalarType.STRING:return i.string();case A.ScalarType.BOOL:return i.bool();case A.ScalarType.DOUBLE:return i.double();case A.ScalarType.FLOAT:return i.float();case A.ScalarType.INT64:return C.reflectionLongConvert(i.int64(),d);case A.ScalarType.UINT64:return C.reflectionLongConvert(i.uint64(),d);case A.ScalarType.FIXED64:return C.reflectionLongConvert(i.fixed64(),d);case A.ScalarType.FIXED32:return i.fixed32();case A.ScalarType.BYTES:return i.bytes();case A.ScalarType.UINT32:return i.uint32();case A.ScalarType.SFIXED32:return i.sfixed32();case A.ScalarType.SFIXED64:return C.reflectionLongConvert(i.sfixed64(),d);case A.ScalarType.SINT32:return i.sint32();case A.ScalarType.SINT64:return C.reflectionLongConvert(i.sint64(),d)}}}c.ReflectionBinaryReader=ReflectionBinaryReader},45325:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionBinaryWriter=void 0;const p=d(66690);const A=d(40528);const C=d(46468);const S=d(55579);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,c)=>i.no-c.no))}}write(i,c,d){this.prepare();for(const p of this.fields){let S,v,_=p.repeat,T=p.localName;if(p.oneof){const c=i[p.oneof];if(c.oneofKind!==T)continue;S=c[T];v=true}else{S=i[T];v=false}switch(p.kind){case"scalar":case"enum":let i=p.kind=="enum"?A.ScalarType.INT32:p.T;if(_){C.assert(Array.isArray(S));if(_==A.RepeatType.PACKED)this.packed(c,i,p.no,S);else for(const d of S)this.scalar(c,i,p.no,d,true)}else if(S===undefined)C.assert(p.opt);else this.scalar(c,i,p.no,S,v||p.opt);break;case"message":if(_){C.assert(Array.isArray(S));for(const i of S)this.message(c,d,p.T(),p.no,i)}else{this.message(c,d,p.T(),p.no,S)}break;case"map":C.assert(typeof S=="object"&&S!==null);for(const[i,A]of Object.entries(S))this.mapEntry(c,d,p,i,A);break}}let S=d.writeUnknownFields;if(S!==false)(S===true?p.UnknownFieldHandler.onWrite:S)(this.info.typeName,i,c)}mapEntry(i,c,d,S,v){i.tag(d.no,p.WireType.LengthDelimited);i.fork();let _=S;switch(d.K){case A.ScalarType.INT32:case A.ScalarType.FIXED32:case A.ScalarType.UINT32:case A.ScalarType.SFIXED32:case A.ScalarType.SINT32:_=Number.parseInt(S);break;case A.ScalarType.BOOL:C.assert(S=="true"||S=="false");_=S=="true";break}this.scalar(i,d.K,1,_,true);switch(d.V.kind){case"scalar":this.scalar(i,d.V.T,2,v,true);break;case"enum":this.scalar(i,A.ScalarType.INT32,2,v,true);break;case"message":this.message(i,c,d.V.T(),2,v);break}i.join()}message(i,c,d,A,C){if(C===undefined)return;d.internalBinaryWrite(C,i.tag(A,p.WireType.LengthDelimited).fork(),c);i.join()}scalar(i,c,d,p,A){let[C,S,v]=this.scalarInfo(c,p);if(!v||A){i.tag(d,C);i[S](p)}}packed(i,c,d,S){if(!S.length)return;C.assert(c!==A.ScalarType.BYTES&&c!==A.ScalarType.STRING);i.tag(d,p.WireType.LengthDelimited);i.fork();let[,v]=this.scalarInfo(c);for(let c=0;c<S.length;c++)i[v](S[c]);i.join()}scalarInfo(i,c){let d=p.WireType.Varint;let C;let v=c===undefined;let _=c===0;switch(i){case A.ScalarType.INT32:C="int32";break;case A.ScalarType.STRING:_=v||!c.length;d=p.WireType.LengthDelimited;C="string";break;case A.ScalarType.BOOL:_=c===false;C="bool";break;case A.ScalarType.UINT32:C="uint32";break;case A.ScalarType.DOUBLE:d=p.WireType.Bit64;C="double";break;case A.ScalarType.FLOAT:d=p.WireType.Bit32;C="float";break;case A.ScalarType.INT64:_=v||S.PbLong.from(c).isZero();C="int64";break;case A.ScalarType.UINT64:_=v||S.PbULong.from(c).isZero();C="uint64";break;case A.ScalarType.FIXED64:_=v||S.PbULong.from(c).isZero();d=p.WireType.Bit64;C="fixed64";break;case A.ScalarType.BYTES:_=v||!c.byteLength;d=p.WireType.LengthDelimited;C="bytes";break;case A.ScalarType.FIXED32:d=p.WireType.Bit32;C="fixed32";break;case A.ScalarType.SFIXED32:d=p.WireType.Bit32;C="sfixed32";break;case A.ScalarType.SFIXED64:_=v||S.PbLong.from(c).isZero();d=p.WireType.Bit64;C="sfixed64";break;case A.ScalarType.SINT32:C="sint32";break;case A.ScalarType.SINT64:_=v||S.PbLong.from(c).isZero();C="sint64";break}return[d,C,v||_]}}c.ReflectionBinaryWriter=ReflectionBinaryWriter},75556:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.containsMessageType=void 0;const p=d(41371);function containsMessageType(i){return i[p.MESSAGE_TYPE]!=null}c.containsMessageType=containsMessageType},40868:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionCreate=void 0;const p=d(412);const A=d(41371);function reflectionCreate(i){const c=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},A.MESSAGE_TYPE,{value:i});for(let d of i.fields){let i=d.localName;if(d.opt)continue;if(d.oneof)c[d.oneof]={oneofKind:undefined};else if(d.repeat)c[i]=[];else switch(d.kind){case"scalar":c[i]=p.reflectionScalarDefault(d.T,d.L);break;case"enum":c[i]=0;break;case"map":c[i]={};break}}return c}c.reflectionCreate=reflectionCreate},78197:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionEquals=void 0;const p=d(40528);function reflectionEquals(i,c,d){if(c===d)return true;if(!c||!d)return false;for(let C of i.fields){let i=C.localName;let S=C.oneof?c[C.oneof][i]:c[i];let v=C.oneof?d[C.oneof][i]:d[i];switch(C.kind){case"enum":case"scalar":let i=C.kind=="enum"?p.ScalarType.INT32:C.T;if(!(C.repeat?repeatedPrimitiveEq(i,S,v):primitiveEq(i,S,v)))return false;break;case"map":if(!(C.V.kind=="message"?repeatedMsgEq(C.V.T(),A(S),A(v)):repeatedPrimitiveEq(C.V.kind=="enum"?p.ScalarType.INT32:C.V.T,A(S),A(v))))return false;break;case"message":let c=C.T();if(!(C.repeat?repeatedMsgEq(c,S,v):c.equals(S,v)))return false;break}}return true}c.reflectionEquals=reflectionEquals;const A=Object.values;function primitiveEq(i,c,d){if(c===d)return true;if(i!==p.ScalarType.BYTES)return false;let A=c;let C=d;if(A.length!==C.length)return false;for(let i=0;i<A.length;i++)if(A[i]!=C[i])return false;return true}function repeatedPrimitiveEq(i,c,d){if(c.length!==d.length)return false;for(let p=0;p<c.length;p++)if(!primitiveEq(i,c[p],d[p]))return false;return true}function repeatedMsgEq(i,c,d){if(c.length!==d.length)return false;for(let p=0;p<c.length;p++)if(!i.equals(c[p],d[p]))return false;return true}},40528:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.readMessageOption=c.readFieldOption=c.readFieldOptions=c.normalizeFieldInfo=c.RepeatType=c.LongType=c.ScalarType=void 0;const p=d(54959);var A;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(A=c.ScalarType||(c.ScalarType={}));var C;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(C=c.LongType||(c.LongType={}));var S;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(S=c.RepeatType||(c.RepeatType={}));function normalizeFieldInfo(i){var c,d,A,C;i.localName=(c=i.localName)!==null&&c!==void 0?c:p.lowerCamelCase(i.name);i.jsonName=(d=i.jsonName)!==null&&d!==void 0?d:p.lowerCamelCase(i.name);i.repeat=(A=i.repeat)!==null&&A!==void 0?A:S.NO;i.opt=(C=i.opt)!==null&&C!==void 0?C:i.repeat?false:i.oneof?false:i.kind=="message";return i}c.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,c,d,p){var A;const C=(A=i.fields.find(((i,d)=>i.localName==c||d==c)))===null||A===void 0?void 0:A.options;return C&&C[d]?p.fromJson(C[d]):undefined}c.readFieldOptions=readFieldOptions;function readFieldOption(i,c,d,p){var A;const C=(A=i.fields.find(((i,d)=>i.localName==c||d==c)))===null||A===void 0?void 0:A.options;if(!C){return undefined}const S=C[d];if(S===undefined){return S}return p?p.fromJson(S):S}c.readFieldOption=readFieldOption;function readMessageOption(i,c,d){const p=i.options;const A=p[c];if(A===undefined){return A}return d?d.fromJson(A):A}c.readMessageOption=readMessageOption},85240:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionJsonReader=void 0;const p=d(58369);const A=d(36689);const C=d(40528);const S=d(55579);const v=d(46468);const _=d(32344);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const c=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of c){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,c,d){if(!i){let i=p.typeofJsonValue(d);if(i=="number"||i=="boolean")i=d.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${c}`)}}read(i,c,d){this.prepare();const A=[];for(const[S,v]of Object.entries(i)){const i=this.fMap[S];if(!i){if(!d.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${S}`);continue}const _=i.localName;let T;if(i.oneof){if(v===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(A.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);A.push(i.oneof);T=c[i.oneof]={oneofKind:_}}else{T=c}if(i.kind=="map"){if(v===null){continue}this.assert(p.isJsonObject(v),i.name,v);const c=T[_];for(const[p,A]of Object.entries(v)){this.assert(A!==null,i.name+" map value",null);let S;switch(i.V.kind){case"message":S=i.V.T().internalJsonRead(A,d);break;case"enum":S=this.enum(i.V.T(),A,i.name,d.ignoreUnknownFields);if(S===false)continue;break;case"scalar":S=this.scalar(A,i.V.T,i.V.L,i.name);break}this.assert(S!==undefined,i.name+" map value",A);let v=p;if(i.K==C.ScalarType.BOOL)v=v=="true"?true:v=="false"?false:v;v=this.scalar(v,i.K,C.LongType.STRING,i.name).toString();c[v]=S}}else if(i.repeat){if(v===null)continue;this.assert(Array.isArray(v),i.name,v);const c=T[_];for(const p of v){this.assert(p!==null,i.name,null);let A;switch(i.kind){case"message":A=i.T().internalJsonRead(p,d);break;case"enum":A=this.enum(i.T(),p,i.name,d.ignoreUnknownFields);if(A===false)continue;break;case"scalar":A=this.scalar(p,i.T,i.L,i.name);break}this.assert(A!==undefined,i.name,v);c.push(A)}}else{switch(i.kind){case"message":if(v===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}T[_]=i.T().internalJsonRead(v,d,T[_]);break;case"enum":if(v===null)continue;let c=this.enum(i.T(),v,i.name,d.ignoreUnknownFields);if(c===false)continue;T[_]=c;break;case"scalar":if(v===null)continue;T[_]=this.scalar(v,i.T,i.L,i.name);break}}}}enum(i,c,d,p){if(i[0]=="google.protobuf.NullValue")v.assert(c===null||c==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${d}, enum ${i[0]} only accepts null.`);if(c===null)return 0;switch(typeof c){case"number":v.assert(Number.isInteger(c),`Unable to parse field ${this.info.typeName}#${d}, enum can only be integral number, got ${c}.`);return c;case"string":let A=c;if(i[2]&&c.substring(0,i[2].length)===i[2])A=c.substring(i[2].length);let C=i[1][A];if(typeof C==="undefined"&&p){return false}v.assert(typeof C=="number",`Unable to parse field ${this.info.typeName}#${d}, enum ${i[0]} has no value for "${c}".`);return C}v.assert(false,`Unable to parse field ${this.info.typeName}#${d}, cannot parse enum value from ${typeof c}".`)}scalar(i,c,d,p){let T;try{switch(c){case C.ScalarType.DOUBLE:case C.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){T="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){T="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let p=Number(i);if(Number.isNaN(p)){T="not a number";break}if(!Number.isFinite(p)){T="too large or small";break}if(c==C.ScalarType.FLOAT)v.assertFloat32(p);return p;case C.ScalarType.INT32:case C.ScalarType.FIXED32:case C.ScalarType.SFIXED32:case C.ScalarType.SINT32:case C.ScalarType.UINT32:if(i===null)return 0;let V;if(typeof i=="number")V=i;else if(i==="")T="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)T="extra whitespace";else V=Number(i)}if(V===undefined)break;if(c==C.ScalarType.UINT32)v.assertUInt32(V);else v.assertInt32(V);return V;case C.ScalarType.INT64:case C.ScalarType.SFIXED64:case C.ScalarType.SINT64:if(i===null)return _.reflectionLongConvert(S.PbLong.ZERO,d);if(typeof i!="number"&&typeof i!="string")break;return _.reflectionLongConvert(S.PbLong.from(i),d);case C.ScalarType.FIXED64:case C.ScalarType.UINT64:if(i===null)return _.reflectionLongConvert(S.PbULong.ZERO,d);if(typeof i!="number"&&typeof i!="string")break;return _.reflectionLongConvert(S.PbULong.from(i),d);case C.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case C.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){T="extra whitespace";break}try{encodeURIComponent(i)}catch(T){T="invalid UTF8";break}return i;case C.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return A.base64decode(i)}}catch(i){T=i.message}this.assert(false,p+(T?" - "+T:""),i)}}c.ReflectionJsonReader=ReflectionJsonReader},55572:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionJsonWriter=void 0;const p=d(36689);const A=d(55579);const C=d(40528);const S=d(46468);class ReflectionJsonWriter{constructor(i){var c;this.fields=(c=i.fields)!==null&&c!==void 0?c:[]}write(i,c){const d={},p=i;for(const i of this.fields){if(!i.oneof){let A=this.field(i,p[i.localName],c);if(A!==undefined)d[c.useProtoFieldName?i.name:i.jsonName]=A;continue}const A=p[i.oneof];if(A.oneofKind!==i.localName)continue;const C=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},c),{emitDefaultValues:true}):c;let v=this.field(i,A[i.localName],C);S.assert(v!==undefined);d[c.useProtoFieldName?i.name:i.jsonName]=v}return d}field(i,c,d){let p=undefined;if(i.kind=="map"){S.assert(typeof c=="object"&&c!==null);const A={};switch(i.V.kind){case"scalar":for(const[d,p]of Object.entries(c)){const c=this.scalar(i.V.T,p,i.name,false,true);S.assert(c!==undefined);A[d.toString()]=c}break;case"message":const p=i.V.T();for(const[C,v]of Object.entries(c)){const c=this.message(p,v,i.name,d);S.assert(c!==undefined);A[C.toString()]=c}break;case"enum":const C=i.V.T();for(const[p,v]of Object.entries(c)){S.assert(v===undefined||typeof v=="number");const c=this.enum(C,v,i.name,false,true,d.enumAsInteger);S.assert(c!==undefined);A[p.toString()]=c}break}if(d.emitDefaultValues||Object.keys(A).length>0)p=A}else if(i.repeat){S.assert(Array.isArray(c));const A=[];switch(i.kind){case"scalar":for(let d=0;d<c.length;d++){const p=this.scalar(i.T,c[d],i.name,i.opt,true);S.assert(p!==undefined);A.push(p)}break;case"enum":const p=i.T();for(let C=0;C<c.length;C++){S.assert(c[C]===undefined||typeof c[C]=="number");const v=this.enum(p,c[C],i.name,i.opt,true,d.enumAsInteger);S.assert(v!==undefined);A.push(v)}break;case"message":const C=i.T();for(let p=0;p<c.length;p++){const v=this.message(C,c[p],i.name,d);S.assert(v!==undefined);A.push(v)}break}if(d.emitDefaultValues||A.length>0||d.emitDefaultValues)p=A}else{switch(i.kind){case"scalar":p=this.scalar(i.T,c,i.name,i.opt,d.emitDefaultValues);break;case"enum":p=this.enum(i.T(),c,i.name,i.opt,d.emitDefaultValues,d.enumAsInteger);break;case"message":p=this.message(i.T(),c,i.name,d);break}}return p}enum(i,c,d,p,A,C){if(i[0]=="google.protobuf.NullValue")return!A&&!p?undefined:null;if(c===undefined){S.assert(p);return undefined}if(c===0&&!A&&!p)return undefined;S.assert(typeof c=="number");S.assert(Number.isInteger(c));if(C||!i[1].hasOwnProperty(c))return c;if(i[2])return i[2]+i[1][c];return i[1][c]}message(i,c,d,p){if(c===undefined)return p.emitDefaultValues?null:undefined;return i.internalJsonWrite(c,p)}scalar(i,c,d,v,_){if(c===undefined){S.assert(v);return undefined}const T=_||v;switch(i){case C.ScalarType.INT32:case C.ScalarType.SFIXED32:case C.ScalarType.SINT32:if(c===0)return T?0:undefined;S.assertInt32(c);return c;case C.ScalarType.FIXED32:case C.ScalarType.UINT32:if(c===0)return T?0:undefined;S.assertUInt32(c);return c;case C.ScalarType.FLOAT:S.assertFloat32(c);case C.ScalarType.DOUBLE:if(c===0)return T?0:undefined;S.assert(typeof c=="number");if(Number.isNaN(c))return"NaN";if(c===Number.POSITIVE_INFINITY)return"Infinity";if(c===Number.NEGATIVE_INFINITY)return"-Infinity";return c;case C.ScalarType.STRING:if(c==="")return T?"":undefined;S.assert(typeof c=="string");return c;case C.ScalarType.BOOL:if(c===false)return T?false:undefined;S.assert(typeof c=="boolean");return c;case C.ScalarType.UINT64:case C.ScalarType.FIXED64:S.assert(typeof c=="number"||typeof c=="string"||typeof c=="bigint");let i=A.PbULong.from(c);if(i.isZero()&&!T)return undefined;return i.toString();case C.ScalarType.INT64:case C.ScalarType.SFIXED64:case C.ScalarType.SINT64:S.assert(typeof c=="number"||typeof c=="string"||typeof c=="bigint");let d=A.PbLong.from(c);if(d.isZero()&&!T)return undefined;return d.toString();case C.ScalarType.BYTES:S.assert(c instanceof Uint8Array);if(!c.byteLength)return T?"":undefined;return p.base64encode(c)}}}c.ReflectionJsonWriter=ReflectionJsonWriter},32344:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionLongConvert=void 0;const p=d(40528);function reflectionLongConvert(i,c){switch(c){case p.LongType.BIGINT:return i.toBigInt();case p.LongType.NUMBER:return i.toNumber();default:return i.toString()}}c.reflectionLongConvert=reflectionLongConvert},48674:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionMergePartial=void 0;function reflectionMergePartial(i,c,d){let p,A=d,C;for(let d of i.fields){let i=d.localName;if(d.oneof){const S=A[d.oneof];if((S===null||S===void 0?void 0:S.oneofKind)==undefined){continue}p=S[i];C=c[d.oneof];C.oneofKind=S.oneofKind;if(p==undefined){delete C[i];continue}}else{p=A[i];C=c;if(p==undefined){continue}}if(d.repeat)C[i].length=p.length;switch(d.kind){case"scalar":case"enum":if(d.repeat)for(let c=0;c<p.length;c++)C[i][c]=p[c];else C[i]=p;break;case"message":let c=d.T();if(d.repeat)for(let d=0;d<p.length;d++)C[i][d]=c.create(p[d]);else if(C[i]===undefined)C[i]=c.create(p);else c.mergePartial(C[i],p);break;case"map":switch(d.V.kind){case"scalar":case"enum":Object.assign(C[i],p);break;case"message":let c=d.V.T();for(let d of Object.keys(p))C[i][d]=c.create(p[d]);break}break}}}c.reflectionMergePartial=reflectionMergePartial},412:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionScalarDefault=void 0;const p=d(40528);const A=d(32344);const C=d(55579);function reflectionScalarDefault(i,c=p.LongType.STRING){switch(i){case p.ScalarType.BOOL:return false;case p.ScalarType.UINT64:case p.ScalarType.FIXED64:return A.reflectionLongConvert(C.PbULong.ZERO,c);case p.ScalarType.INT64:case p.ScalarType.SFIXED64:case p.ScalarType.SINT64:return A.reflectionLongConvert(C.PbLong.ZERO,c);case p.ScalarType.DOUBLE:case p.ScalarType.FLOAT:return 0;case p.ScalarType.BYTES:return new Uint8Array(0);case p.ScalarType.STRING:return"";default:return 0}}c.reflectionScalarDefault=reflectionScalarDefault},55649:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionTypeCheck=void 0;const p=d(40528);const A=d(74857);class ReflectionTypeCheck{constructor(i){var c;this.fields=(c=i.fields)!==null&&c!==void 0?c:[]}prepare(){if(this.data)return;const i=[],c=[],d=[];for(let p of this.fields){if(p.oneof){if(!d.includes(p.oneof)){d.push(p.oneof);i.push(p.oneof);c.push(p.oneof)}}else{c.push(p.localName);switch(p.kind){case"scalar":case"enum":if(!p.opt||p.repeat)i.push(p.localName);break;case"message":if(p.repeat)i.push(p.localName);break;case"map":i.push(p.localName);break}}}this.data={req:i,known:c,oneofs:Object.values(d)}}is(i,c,d=false){if(c<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let p=Object.keys(i),C=this.data;if(p.length<C.req.length||C.req.some((i=>!p.includes(i))))return false;if(!d){if(p.some((i=>!C.known.includes(i))))return false}if(c<1){return true}for(const p of C.oneofs){const C=i[p];if(!A.isOneofGroup(C))return false;if(C.oneofKind===undefined)continue;const S=this.fields.find((i=>i.localName===C.oneofKind));if(!S)return false;if(!this.field(C[C.oneofKind],S,d,c))return false}for(const p of this.fields){if(p.oneof!==undefined)continue;if(!this.field(i[p.localName],p,d,c))return false}return true}field(i,c,d,A){let C=c.repeat;switch(c.kind){case"scalar":if(i===undefined)return c.opt;if(C)return this.scalars(i,c.T,A,c.L);return this.scalar(i,c.T,c.L);case"enum":if(i===undefined)return c.opt;if(C)return this.scalars(i,p.ScalarType.INT32,A);return this.scalar(i,p.ScalarType.INT32);case"message":if(i===undefined)return true;if(C)return this.messages(i,c.T(),d,A);return this.message(i,c.T(),d,A);case"map":if(typeof i!="object"||i===null)return false;if(A<2)return true;if(!this.mapKeys(i,c.K,A))return false;switch(c.V.kind){case"scalar":return this.scalars(Object.values(i),c.V.T,A,c.V.L);case"enum":return this.scalars(Object.values(i),p.ScalarType.INT32,A);case"message":return this.messages(Object.values(i),c.V.T(),d,A)}break}return true}message(i,c,d,p){if(d){return c.isAssignable(i,p)}return c.is(i,p)}messages(i,c,d,p){if(!Array.isArray(i))return false;if(p<2)return true;if(d){for(let d=0;d<i.length&&d<p;d++)if(!c.isAssignable(i[d],p-1))return false}else{for(let d=0;d<i.length&&d<p;d++)if(!c.is(i[d],p-1))return false}return true}scalar(i,c,d){let A=typeof i;switch(c){case p.ScalarType.UINT64:case p.ScalarType.FIXED64:case p.ScalarType.INT64:case p.ScalarType.SFIXED64:case p.ScalarType.SINT64:switch(d){case p.LongType.BIGINT:return A=="bigint";case p.LongType.NUMBER:return A=="number"&&!isNaN(i);default:return A=="string"}case p.ScalarType.BOOL:return A=="boolean";case p.ScalarType.STRING:return A=="string";case p.ScalarType.BYTES:return i instanceof Uint8Array;case p.ScalarType.DOUBLE:case p.ScalarType.FLOAT:return A=="number"&&!isNaN(i);default:return A=="number"&&Number.isInteger(i)}}scalars(i,c,d,p){if(!Array.isArray(i))return false;if(d<2)return true;if(Array.isArray(i))for(let A=0;A<i.length&&A<d;A++)if(!this.scalar(i[A],c,p))return false;return true}mapKeys(i,c,d){let A=Object.keys(i);switch(c){case p.ScalarType.INT32:case p.ScalarType.FIXED32:case p.ScalarType.SFIXED32:case p.ScalarType.SINT32:case p.ScalarType.UINT32:return this.scalars(A.slice(0,d).map((i=>parseInt(i))),c,d);case p.ScalarType.BOOL:return this.scalars(A.slice(0,d).map((i=>i=="true"?true:i=="false"?false:i)),c,d);default:return this.scalars(A,c,d,p.LongType.STRING)}}}c.ReflectionTypeCheck=ReflectionTypeCheck},53272:(i,c)=>{c=i.exports=SemVer;var d;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){d=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{d=function(){}}c.SEMVER_SPEC_VERSION="2.0.0";var p=256;var A=Number.MAX_SAFE_INTEGER||9007199254740991;var C=16;var S=p-6;var v=c.re=[];var _=c.safeRe=[];var T=c.src=[];var V=c.tokens={};var Z=0;function tok(i){V[i]=Z++}var ee="[a-zA-Z0-9-]";var te=[["\\s",1],["\\d",p],[ee,S]];function makeSafeRe(i){for(var c=0;c<te.length;c++){var d=te[c][0];var p=te[c][1];i=i.split(d+"*").join(d+"{0,"+p+"}").split(d+"+").join(d+"{1,"+p+"}")}return i}tok("NUMERICIDENTIFIER");T[V.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");T[V.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");T[V.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+ee+"*";tok("MAINVERSION");T[V.MAINVERSION]="("+T[V.NUMERICIDENTIFIER]+")\\."+"("+T[V.NUMERICIDENTIFIER]+")\\."+"("+T[V.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");T[V.MAINVERSIONLOOSE]="("+T[V.NUMERICIDENTIFIERLOOSE]+")\\."+"("+T[V.NUMERICIDENTIFIERLOOSE]+")\\."+"("+T[V.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");T[V.PRERELEASEIDENTIFIER]="(?:"+T[V.NUMERICIDENTIFIER]+"|"+T[V.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");T[V.PRERELEASEIDENTIFIERLOOSE]="(?:"+T[V.NUMERICIDENTIFIERLOOSE]+"|"+T[V.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");T[V.PRERELEASE]="(?:-("+T[V.PRERELEASEIDENTIFIER]+"(?:\\."+T[V.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");T[V.PRERELEASELOOSE]="(?:-?("+T[V.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+T[V.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");T[V.BUILDIDENTIFIER]=ee+"+";tok("BUILD");T[V.BUILD]="(?:\\+("+T[V.BUILDIDENTIFIER]+"(?:\\."+T[V.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");T[V.FULLPLAIN]="v?"+T[V.MAINVERSION]+T[V.PRERELEASE]+"?"+T[V.BUILD]+"?";T[V.FULL]="^"+T[V.FULLPLAIN]+"$";tok("LOOSEPLAIN");T[V.LOOSEPLAIN]="[v=\\s]*"+T[V.MAINVERSIONLOOSE]+T[V.PRERELEASELOOSE]+"?"+T[V.BUILD]+"?";tok("LOOSE");T[V.LOOSE]="^"+T[V.LOOSEPLAIN]+"$";tok("GTLT");T[V.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");T[V.XRANGEIDENTIFIERLOOSE]=T[V.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");T[V.XRANGEIDENTIFIER]=T[V.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");T[V.XRANGEPLAIN]="[v=\\s]*("+T[V.XRANGEIDENTIFIER]+")"+"(?:\\.("+T[V.XRANGEIDENTIFIER]+")"+"(?:\\.("+T[V.XRANGEIDENTIFIER]+")"+"(?:"+T[V.PRERELEASE]+")?"+T[V.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");T[V.XRANGEPLAINLOOSE]="[v=\\s]*("+T[V.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+T[V.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+T[V.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+T[V.PRERELEASELOOSE]+")?"+T[V.BUILD]+"?"+")?)?";tok("XRANGE");T[V.XRANGE]="^"+T[V.GTLT]+"\\s*"+T[V.XRANGEPLAIN]+"$";tok("XRANGELOOSE");T[V.XRANGELOOSE]="^"+T[V.GTLT]+"\\s*"+T[V.XRANGEPLAINLOOSE]+"$";tok("COERCE");T[V.COERCE]="(^|[^\\d])"+"(\\d{1,"+C+"})"+"(?:\\.(\\d{1,"+C+"}))?"+"(?:\\.(\\d{1,"+C+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");v[V.COERCERTL]=new RegExp(T[V.COERCE],"g");_[V.COERCERTL]=new RegExp(makeSafeRe(T[V.COERCE]),"g");tok("LONETILDE");T[V.LONETILDE]="(?:~>?)";tok("TILDETRIM");T[V.TILDETRIM]="(\\s*)"+T[V.LONETILDE]+"\\s+";v[V.TILDETRIM]=new RegExp(T[V.TILDETRIM],"g");_[V.TILDETRIM]=new RegExp(makeSafeRe(T[V.TILDETRIM]),"g");var re="$1~";tok("TILDE");T[V.TILDE]="^"+T[V.LONETILDE]+T[V.XRANGEPLAIN]+"$";tok("TILDELOOSE");T[V.TILDELOOSE]="^"+T[V.LONETILDE]+T[V.XRANGEPLAINLOOSE]+"$";tok("LONECARET");T[V.LONECARET]="(?:\\^)";tok("CARETTRIM");T[V.CARETTRIM]="(\\s*)"+T[V.LONECARET]+"\\s+";v[V.CARETTRIM]=new RegExp(T[V.CARETTRIM],"g");_[V.CARETTRIM]=new RegExp(makeSafeRe(T[V.CARETTRIM]),"g");var ne="$1^";tok("CARET");T[V.CARET]="^"+T[V.LONECARET]+T[V.XRANGEPLAIN]+"$";tok("CARETLOOSE");T[V.CARETLOOSE]="^"+T[V.LONECARET]+T[V.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");T[V.COMPARATORLOOSE]="^"+T[V.GTLT]+"\\s*("+T[V.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");T[V.COMPARATOR]="^"+T[V.GTLT]+"\\s*("+T[V.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");T[V.COMPARATORTRIM]="(\\s*)"+T[V.GTLT]+"\\s*("+T[V.LOOSEPLAIN]+"|"+T[V.XRANGEPLAIN]+")";v[V.COMPARATORTRIM]=new RegExp(T[V.COMPARATORTRIM],"g");_[V.COMPARATORTRIM]=new RegExp(makeSafeRe(T[V.COMPARATORTRIM]),"g");var ie="$1$2$3";tok("HYPHENRANGE");T[V.HYPHENRANGE]="^\\s*("+T[V.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+T[V.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");T[V.HYPHENRANGELOOSE]="^\\s*("+T[V.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+T[V.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");T[V.STAR]="(<|>)?=?\\s*\\*";for(var se=0;se<Z;se++){d(se,T[se]);if(!v[se]){v[se]=new RegExp(T[se]);_[se]=new RegExp(makeSafeRe(T[se]))}}c.parse=parse;function parse(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof SemVer){return i}if(typeof i!=="string"){return null}if(i.length>p){return null}var d=c.loose?_[V.LOOSE]:_[V.FULL];if(!d.test(i)){return null}try{return new SemVer(i,c)}catch(i){return null}}c.valid=valid;function valid(i,c){var d=parse(i,c);return d?d.version:null}c.clean=clean;function clean(i,c){var d=parse(i.trim().replace(/^[=v]+/,""),c);return d?d.version:null}c.SemVer=SemVer;function SemVer(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof SemVer){if(i.loose===c.loose){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError("Invalid Version: "+i)}if(i.length>p){throw new TypeError("version is longer than "+p+" characters")}if(!(this instanceof SemVer)){return new SemVer(i,c)}d("SemVer",i,c);this.options=c;this.loose=!!c.loose;var C=i.trim().match(c.loose?_[V.LOOSE]:_[V.FULL]);if(!C){throw new TypeError("Invalid Version: "+i)}this.raw=i;this.major=+C[1];this.minor=+C[2];this.patch=+C[3];if(this.major>A||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>A||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>A||this.patch<0){throw new TypeError("Invalid patch version")}if(!C[4]){this.prerelease=[]}else{this.prerelease=C[4].split(".").map((function(i){if(/^[0-9]+$/.test(i)){var c=+i;if(c>=0&&c<A){return c}}return i}))}this.build=C[5]?C[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(i){d("SemVer.compare",this.version,this.options,i);if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}return this.compareMain(i)||this.comparePre(i)};SemVer.prototype.compareMain=function(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}return compareIdentifiers(this.major,i.major)||compareIdentifiers(this.minor,i.minor)||compareIdentifiers(this.patch,i.patch)};SemVer.prototype.comparePre=function(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.prerelease.length&&!i.prerelease.length){return-1}else if(!this.prerelease.length&&i.prerelease.length){return 1}else if(!this.prerelease.length&&!i.prerelease.length){return 0}var c=0;do{var p=this.prerelease[c];var A=i.prerelease[c];d("prerelease compare",c,p,A);if(p===undefined&&A===undefined){return 0}else if(A===undefined){return 1}else if(p===undefined){return-1}else if(p===A){continue}else{return compareIdentifiers(p,A)}}while(++c)};SemVer.prototype.compareBuild=function(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}var c=0;do{var p=this.build[c];var A=i.build[c];d("prerelease compare",c,p,A);if(p===undefined&&A===undefined){return 0}else if(A===undefined){return 1}else if(p===undefined){return-1}else if(p===A){continue}else{return compareIdentifiers(p,A)}}while(++c)};SemVer.prototype.inc=function(i,c){switch(i){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",c);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",c);break;case"prepatch":this.prerelease.length=0;this.inc("patch",c);this.inc("pre",c);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",c)}this.inc("pre",c);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var d=this.prerelease.length;while(--d>=0){if(typeof this.prerelease[d]==="number"){this.prerelease[d]++;d=-2}}if(d===-1){this.prerelease.push(0)}}if(c){if(this.prerelease[0]===c){if(isNaN(this.prerelease[1])){this.prerelease=[c,0]}}else{this.prerelease=[c,0]}}break;default:throw new Error("invalid increment argument: "+i)}this.format();this.raw=this.version;return this};c.inc=inc;function inc(i,c,d,p){if(typeof d==="string"){p=d;d=undefined}try{return new SemVer(i,d).inc(c,p).version}catch(i){return null}}c.diff=diff;function diff(i,c){if(eq(i,c)){return null}else{var d=parse(i);var p=parse(c);var A="";if(d.prerelease.length||p.prerelease.length){A="pre";var C="prerelease"}for(var S in d){if(S==="major"||S==="minor"||S==="patch"){if(d[S]!==p[S]){return A+S}}}return C}}c.compareIdentifiers=compareIdentifiers;var oe=/^[0-9]+$/;function compareIdentifiers(i,c){var d=oe.test(i);var p=oe.test(c);if(d&&p){i=+i;c=+c}return i===c?0:d&&!p?-1:p&&!d?1:i<c?-1:1}c.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(i,c){return compareIdentifiers(c,i)}c.major=major;function major(i,c){return new SemVer(i,c).major}c.minor=minor;function minor(i,c){return new SemVer(i,c).minor}c.patch=patch;function patch(i,c){return new SemVer(i,c).patch}c.compare=compare;function compare(i,c,d){return new SemVer(i,d).compare(new SemVer(c,d))}c.compareLoose=compareLoose;function compareLoose(i,c){return compare(i,c,true)}c.compareBuild=compareBuild;function compareBuild(i,c,d){var p=new SemVer(i,d);var A=new SemVer(c,d);return p.compare(A)||p.compareBuild(A)}c.rcompare=rcompare;function rcompare(i,c,d){return compare(c,i,d)}c.sort=sort;function sort(i,d){return i.sort((function(i,p){return c.compareBuild(i,p,d)}))}c.rsort=rsort;function rsort(i,d){return i.sort((function(i,p){return c.compareBuild(p,i,d)}))}c.gt=gt;function gt(i,c,d){return compare(i,c,d)>0}c.lt=lt;function lt(i,c,d){return compare(i,c,d)<0}c.eq=eq;function eq(i,c,d){return compare(i,c,d)===0}c.neq=neq;function neq(i,c,d){return compare(i,c,d)!==0}c.gte=gte;function gte(i,c,d){return compare(i,c,d)>=0}c.lte=lte;function lte(i,c,d){return compare(i,c,d)<=0}c.cmp=cmp;function cmp(i,c,d,p){switch(c){case"===":if(typeof i==="object")i=i.version;if(typeof d==="object")d=d.version;return i===d;case"!==":if(typeof i==="object")i=i.version;if(typeof d==="object")d=d.version;return i!==d;case"":case"=":case"==":return eq(i,d,p);case"!=":return neq(i,d,p);case">":return gt(i,d,p);case">=":return gte(i,d,p);case"<":return lt(i,d,p);case"<=":return lte(i,d,p);default:throw new TypeError("Invalid operator: "+c)}}c.Comparator=Comparator;function Comparator(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof Comparator){if(i.loose===!!c.loose){return i}else{i=i.value}}if(!(this instanceof Comparator)){return new Comparator(i,c)}i=i.trim().split(/\s+/).join(" ");d("comparator",i,c);this.options=c;this.loose=!!c.loose;this.parse(i);if(this.semver===ae){this.value=""}else{this.value=this.operator+this.semver.version}d("comp",this)}var ae={};Comparator.prototype.parse=function(i){var c=this.options.loose?_[V.COMPARATORLOOSE]:_[V.COMPARATOR];var d=i.match(c);if(!d){throw new TypeError("Invalid comparator: "+i)}this.operator=d[1]!==undefined?d[1]:"";if(this.operator==="="){this.operator=""}if(!d[2]){this.semver=ae}else{this.semver=new SemVer(d[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(i){d("Comparator.test",i,this.options.loose);if(this.semver===ae||i===ae){return true}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}return cmp(i,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(i,c){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}var d;if(this.operator===""){if(this.value===""){return true}d=new Range(i.value,c);return satisfies(this.value,d,c)}else if(i.operator===""){if(i.value===""){return true}d=new Range(this.value,c);return satisfies(i.semver,d,c)}var p=(this.operator===">="||this.operator===">")&&(i.operator===">="||i.operator===">");var A=(this.operator==="<="||this.operator==="<")&&(i.operator==="<="||i.operator==="<");var C=this.semver.version===i.semver.version;var S=(this.operator===">="||this.operator==="<=")&&(i.operator===">="||i.operator==="<=");var v=cmp(this.semver,"<",i.semver,c)&&((this.operator===">="||this.operator===">")&&(i.operator==="<="||i.operator==="<"));var _=cmp(this.semver,">",i.semver,c)&&((this.operator==="<="||this.operator==="<")&&(i.operator===">="||i.operator===">"));return p||A||C&&S||v||_};c.Range=Range;function Range(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof Range){if(i.loose===!!c.loose&&i.includePrerelease===!!c.includePrerelease){return i}else{return new Range(i.raw,c)}}if(i instanceof Comparator){return new Range(i.value,c)}if(!(this instanceof Range)){return new Range(i,c)}this.options=c;this.loose=!!c.loose;this.includePrerelease=!!c.includePrerelease;this.raw=i.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((function(i){return this.parseRange(i.trim())}),this).filter((function(i){return i.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+this.raw)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(i){return i.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(i){var c=this.options.loose;var p=c?_[V.HYPHENRANGELOOSE]:_[V.HYPHENRANGE];i=i.replace(p,hyphenReplace);d("hyphen replace",i);i=i.replace(_[V.COMPARATORTRIM],ie);d("comparator trim",i,_[V.COMPARATORTRIM]);i=i.replace(_[V.TILDETRIM],re);i=i.replace(_[V.CARETTRIM],ne);i=i.split(/\s+/).join(" ");var A=c?_[V.COMPARATORLOOSE]:_[V.COMPARATOR];var C=i.split(" ").map((function(i){return parseComparator(i,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){C=C.filter((function(i){return!!i.match(A)}))}C=C.map((function(i){return new Comparator(i,this.options)}),this);return C};Range.prototype.intersects=function(i,c){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(d){return isSatisfiable(d,c)&&i.set.some((function(i){return isSatisfiable(i,c)&&d.every((function(d){return i.every((function(i){return d.intersects(i,c)}))}))}))}))};function isSatisfiable(i,c){var d=true;var p=i.slice();var A=p.pop();while(d&&p.length){d=p.every((function(i){return A.intersects(i,c)}));A=p.pop()}return d}c.toComparators=toComparators;function toComparators(i,c){return new Range(i,c).set.map((function(i){return i.map((function(i){return i.value})).join(" ").trim().split(" ")}))}function parseComparator(i,c){d("comp",i,c);i=replaceCarets(i,c);d("caret",i);i=replaceTildes(i,c);d("tildes",i);i=replaceXRanges(i,c);d("xrange",i);i=replaceStars(i,c);d("stars",i);return i}function isX(i){return!i||i.toLowerCase()==="x"||i==="*"}function replaceTildes(i,c){return i.trim().split(/\s+/).map((function(i){return replaceTilde(i,c)})).join(" ")}function replaceTilde(i,c){var p=c.loose?_[V.TILDELOOSE]:_[V.TILDE];return i.replace(p,(function(c,p,A,C,S){d("tilde",i,c,p,A,C,S);var v;if(isX(p)){v=""}else if(isX(A)){v=">="+p+".0.0 <"+(+p+1)+".0.0"}else if(isX(C)){v=">="+p+"."+A+".0 <"+p+"."+(+A+1)+".0"}else if(S){d("replaceTilde pr",S);v=">="+p+"."+A+"."+C+"-"+S+" <"+p+"."+(+A+1)+".0"}else{v=">="+p+"."+A+"."+C+" <"+p+"."+(+A+1)+".0"}d("tilde return",v);return v}))}function replaceCarets(i,c){return i.trim().split(/\s+/).map((function(i){return replaceCaret(i,c)})).join(" ")}function replaceCaret(i,c){d("caret",i,c);var p=c.loose?_[V.CARETLOOSE]:_[V.CARET];return i.replace(p,(function(c,p,A,C,S){d("caret",i,c,p,A,C,S);var v;if(isX(p)){v=""}else if(isX(A)){v=">="+p+".0.0 <"+(+p+1)+".0.0"}else if(isX(C)){if(p==="0"){v=">="+p+"."+A+".0 <"+p+"."+(+A+1)+".0"}else{v=">="+p+"."+A+".0 <"+(+p+1)+".0.0"}}else if(S){d("replaceCaret pr",S);if(p==="0"){if(A==="0"){v=">="+p+"."+A+"."+C+"-"+S+" <"+p+"."+A+"."+(+C+1)}else{v=">="+p+"."+A+"."+C+"-"+S+" <"+p+"."+(+A+1)+".0"}}else{v=">="+p+"."+A+"."+C+"-"+S+" <"+(+p+1)+".0.0"}}else{d("no pr");if(p==="0"){if(A==="0"){v=">="+p+"."+A+"."+C+" <"+p+"."+A+"."+(+C+1)}else{v=">="+p+"."+A+"."+C+" <"+p+"."+(+A+1)+".0"}}else{v=">="+p+"."+A+"."+C+" <"+(+p+1)+".0.0"}}d("caret return",v);return v}))}function replaceXRanges(i,c){d("replaceXRanges",i,c);return i.split(/\s+/).map((function(i){return replaceXRange(i,c)})).join(" ")}function replaceXRange(i,c){i=i.trim();var p=c.loose?_[V.XRANGELOOSE]:_[V.XRANGE];return i.replace(p,(function(p,A,C,S,v,_){d("xRange",i,p,A,C,S,v,_);var T=isX(C);var V=T||isX(S);var Z=V||isX(v);var ee=Z;if(A==="="&&ee){A=""}_=c.includePrerelease?"-0":"";if(T){if(A===">"||A==="<"){p="<0.0.0-0"}else{p="*"}}else if(A&&ee){if(V){S=0}v=0;if(A===">"){A=">=";if(V){C=+C+1;S=0;v=0}else{S=+S+1;v=0}}else if(A==="<="){A="<";if(V){C=+C+1}else{S=+S+1}}p=A+C+"."+S+"."+v+_}else if(V){p=">="+C+".0.0"+_+" <"+(+C+1)+".0.0"+_}else if(Z){p=">="+C+"."+S+".0"+_+" <"+C+"."+(+S+1)+".0"+_}d("xRange return",p);return p}))}function replaceStars(i,c){d("replaceStars",i,c);return i.trim().replace(_[V.STAR],"")}function hyphenReplace(i,c,d,p,A,C,S,v,_,T,V,Z,ee){if(isX(d)){c=""}else if(isX(p)){c=">="+d+".0.0"}else if(isX(A)){c=">="+d+"."+p+".0"}else{c=">="+c}if(isX(_)){v=""}else if(isX(T)){v="<"+(+_+1)+".0.0"}else if(isX(V)){v="<"+_+"."+(+T+1)+".0"}else if(Z){v="<="+_+"."+T+"."+V+"-"+Z}else{v="<="+v}return(c+" "+v).trim()}Range.prototype.test=function(i){if(!i){return false}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}for(var c=0;c<this.set.length;c++){if(testSet(this.set[c],i,this.options)){return true}}return false};function testSet(i,c,p){for(var A=0;A<i.length;A++){if(!i[A].test(c)){return false}}if(c.prerelease.length&&!p.includePrerelease){for(A=0;A<i.length;A++){d(i[A].semver);if(i[A].semver===ae){continue}if(i[A].semver.prerelease.length>0){var C=i[A].semver;if(C.major===c.major&&C.minor===c.minor&&C.patch===c.patch){return true}}}return false}return true}c.satisfies=satisfies;function satisfies(i,c,d){try{c=new Range(c,d)}catch(i){return false}return c.test(i)}c.maxSatisfying=maxSatisfying;function maxSatisfying(i,c,d){var p=null;var A=null;try{var C=new Range(c,d)}catch(i){return null}i.forEach((function(i){if(C.test(i)){if(!p||A.compare(i)===-1){p=i;A=new SemVer(p,d)}}}));return p}c.minSatisfying=minSatisfying;function minSatisfying(i,c,d){var p=null;var A=null;try{var C=new Range(c,d)}catch(i){return null}i.forEach((function(i){if(C.test(i)){if(!p||A.compare(i)===1){p=i;A=new SemVer(p,d)}}}));return p}c.minVersion=minVersion;function minVersion(i,c){i=new Range(i,c);var d=new SemVer("0.0.0");if(i.test(d)){return d}d=new SemVer("0.0.0-0");if(i.test(d)){return d}d=null;for(var p=0;p<i.set.length;++p){var A=i.set[p];A.forEach((function(i){var c=new SemVer(i.semver.version);switch(i.operator){case">":if(c.prerelease.length===0){c.patch++}else{c.prerelease.push(0)}c.raw=c.format();case"":case">=":if(!d||gt(d,c)){d=c}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}}))}if(d&&i.test(d)){return d}return null}c.validRange=validRange;function validRange(i,c){try{return new Range(i,c).range||"*"}catch(i){return null}}c.ltr=ltr;function ltr(i,c,d){return outside(i,c,"<",d)}c.gtr=gtr;function gtr(i,c,d){return outside(i,c,">",d)}c.outside=outside;function outside(i,c,d,p){i=new SemVer(i,p);c=new Range(c,p);var A,C,S,v,_;switch(d){case">":A=gt;C=lte;S=lt;v=">";_=">=";break;case"<":A=lt;C=gte;S=gt;v="<";_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(i,c,p)){return false}for(var T=0;T<c.set.length;++T){var V=c.set[T];var Z=null;var ee=null;V.forEach((function(i){if(i.semver===ae){i=new Comparator(">=0.0.0")}Z=Z||i;ee=ee||i;if(A(i.semver,Z.semver,p)){Z=i}else if(S(i.semver,ee.semver,p)){ee=i}}));if(Z.operator===v||Z.operator===_){return false}if((!ee.operator||ee.operator===v)&&C(i,ee.semver)){return false}else if(ee.operator===_&&S(i,ee.semver)){return false}}return true}c.prerelease=prerelease;function prerelease(i,c){var d=parse(i,c);return d&&d.prerelease.length?d.prerelease:null}c.intersects=intersects;function intersects(i,c,d){i=new Range(i,d);c=new Range(c,d);return i.intersects(c)}c.coerce=coerce;function coerce(i,c){if(i instanceof SemVer){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}c=c||{};var d=null;if(!c.rtl){d=i.match(_[V.COERCE])}else{var p;while((p=_[V.COERCERTL].exec(i))&&(!d||d.index+d[0].length!==i.length)){if(!d||p.index+p[0].length!==d.index+d[0].length){d=p}_[V.COERCERTL].lastIndex=p.index+p[1].length+p[2].length}_[V.COERCERTL].lastIndex=-1}if(d===null){return null}return parse(d[2]+"."+(d[3]||"0")+"."+(d[4]||"0"),c)}},44914:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.issueCommand=issueCommand;c.issue=issue;const S=C(d(70857));const v=d(30302);function issueCommand(i,c,d){const p=new Command(i,c,d);process.stdout.write(p.toString()+S.EOL)}function issue(i,c=""){issueCommand(i,{},c)}const _="::";class Command{constructor(i,c,d){if(!i){i="missing.command"}this.command=i;this.properties=c;this.message=d}toString(){let i=_+this.command;if(this.properties&&Object.keys(this.properties).length>0){i+=" ";let c=true;for(const d in this.properties){if(this.properties.hasOwnProperty(d)){const p=this.properties[d];if(p){if(c){c=false}else{i+=","}i+=`${d}=${escapeProperty(p)}`}}}}i+=`${_}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,v.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,v.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},37484:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.platform=c.toPlatformPath=c.toWin32Path=c.toPosixPath=c.markdownSummary=c.summary=c.ExitCode=void 0;c.exportVariable=exportVariable;c.setSecret=setSecret;c.addPath=addPath;c.getInput=getInput;c.getMultilineInput=getMultilineInput;c.getBooleanInput=getBooleanInput;c.setOutput=setOutput;c.setCommandEcho=setCommandEcho;c.setFailed=setFailed;c.isDebug=isDebug;c.debug=debug;c.error=error;c.warning=warning;c.notice=notice;c.info=info;c.startGroup=startGroup;c.endGroup=endGroup;c.group=group;c.saveState=saveState;c.getState=getState;c.getIDToken=getIDToken;const v=d(44914);const _=d(24753);const T=d(30302);const V=C(d(70857));const Z=C(d(16928));const ee=d(35306);var te;(function(i){i[i["Success"]=0]="Success";i[i["Failure"]=1]="Failure"})(te||(c.ExitCode=te={}));function exportVariable(i,c){const d=(0,T.toCommandValue)(c);process.env[i]=d;const p=process.env["GITHUB_ENV"]||"";if(p){return(0,_.issueFileCommand)("ENV",(0,_.prepareKeyValueMessage)(i,c))}(0,v.issueCommand)("set-env",{name:i},d)}function setSecret(i){(0,v.issueCommand)("add-mask",{},i)}function addPath(i){const c=process.env["GITHUB_PATH"]||"";if(c){(0,_.issueFileCommand)("PATH",i)}else{(0,v.issueCommand)("add-path",{},i)}process.env["PATH"]=`${i}${Z.delimiter}${process.env["PATH"]}`}function getInput(i,c){const d=process.env[`INPUT_${i.replace(/ /g,"_").toUpperCase()}`]||"";if(c&&c.required&&!d){throw new Error(`Input required and not supplied: ${i}`)}if(c&&c.trimWhitespace===false){return d}return d.trim()}function getMultilineInput(i,c){const d=getInput(i,c).split("\n").filter((i=>i!==""));if(c&&c.trimWhitespace===false){return d}return d.map((i=>i.trim()))}function getBooleanInput(i,c){const d=["true","True","TRUE"];const p=["false","False","FALSE"];const A=getInput(i,c);if(d.includes(A))return true;if(p.includes(A))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,c){const d=process.env["GITHUB_OUTPUT"]||"";if(d){return(0,_.issueFileCommand)("OUTPUT",(0,_.prepareKeyValueMessage)(i,c))}process.stdout.write(V.EOL);(0,v.issueCommand)("set-output",{name:i},(0,T.toCommandValue)(c))}function setCommandEcho(i){(0,v.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=te.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,v.issueCommand)("debug",{},i)}function error(i,c={}){(0,v.issueCommand)("error",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}function warning(i,c={}){(0,v.issueCommand)("warning",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}function notice(i,c={}){(0,v.issueCommand)("notice",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+V.EOL)}function startGroup(i){(0,v.issue)("group",i)}function endGroup(){(0,v.issue)("endgroup")}function group(i,c){return S(this,void 0,void 0,(function*(){startGroup(i);let d;try{d=yield c()}finally{endGroup()}return d}))}function saveState(i,c){const d=process.env["GITHUB_STATE"]||"";if(d){return(0,_.issueFileCommand)("STATE",(0,_.prepareKeyValueMessage)(i,c))}(0,v.issueCommand)("save-state",{name:i},(0,T.toCommandValue)(c))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return S(this,void 0,void 0,(function*(){return yield ee.OidcClient.getIDToken(i)}))}var re=d(71847);Object.defineProperty(c,"summary",{enumerable:true,get:function(){return re.summary}});var ne=d(71847);Object.defineProperty(c,"markdownSummary",{enumerable:true,get:function(){return ne.markdownSummary}});var ie=d(31976);Object.defineProperty(c,"toPosixPath",{enumerable:true,get:function(){return ie.toPosixPath}});Object.defineProperty(c,"toWin32Path",{enumerable:true,get:function(){return ie.toWin32Path}});Object.defineProperty(c,"toPlatformPath",{enumerable:true,get:function(){return ie.toPlatformPath}});c.platform=C(d(18968))},24753:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.issueFileCommand=issueFileCommand;c.prepareKeyValueMessage=prepareKeyValueMessage;const S=C(d(76982));const v=C(d(79896));const _=C(d(70857));const T=d(30302);function issueFileCommand(i,c){const d=process.env[`GITHUB_${i}`];if(!d){throw new Error(`Unable to find environment variable for file command ${i}`)}if(!v.existsSync(d)){throw new Error(`Missing file at path: ${d}`)}v.appendFileSync(d,`${(0,T.toCommandValue)(c)}${_.EOL}`,{encoding:"utf8"})}function prepareKeyValueMessage(i,c){const d=`ghadelimiter_${S.randomUUID()}`;const p=(0,T.toCommandValue)(c);if(i.includes(d)){throw new Error(`Unexpected input: name should not contain the delimiter "${d}"`)}if(p.includes(d)){throw new Error(`Unexpected input: value should not contain the delimiter "${d}"`)}return`${i}<<${d}${_.EOL}${p}${_.EOL}${d}`}},35306:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.OidcClient=void 0;const A=d(54844);const C=d(44552);const S=d(37484);class OidcClient{static createHttpClient(i=true,c=10){const d={allowRetries:i,maxRetries:c};return new A.HttpClient("actions/oidc-client",[new C.BearerCredentialHandler(OidcClient.getRequestToken())],d)}static getRequestToken(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return i}static getIDTokenUrl(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return i}static getCall(i){return p(this,void 0,void 0,(function*(){var c;const d=OidcClient.createHttpClient();const p=yield d.getJson(i).catch((i=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const A=(c=p.result)===null||c===void 0?void 0:c.value;if(!A){throw new Error("Response json body do not have ID Token field")}return A}))}static getIDToken(i){return p(this,void 0,void 0,(function*(){try{let c=OidcClient.getIDTokenUrl();if(i){const d=encodeURIComponent(i);c=`${c}&audience=${d}`}(0,S.debug)(`ID token url is ${c}`);const d=yield OidcClient.getCall(c);(0,S.setSecret)(d);return d}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}c.OidcClient=OidcClient},31976:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.toPosixPath=toPosixPath;c.toWin32Path=toWin32Path;c.toPlatformPath=toPlatformPath;const S=C(d(16928));function toPosixPath(i){return i.replace(/[\\]/g,"/")}function toWin32Path(i){return i.replace(/[/]/g,"\\")}function toPlatformPath(i){return i.replace(/[/\\]/g,S.sep)}},18968:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.isLinux=c.isMacOS=c.isWindows=c.arch=c.platform=void 0;c.getDetails=getDetails;const _=v(d(70857));const T=C(d(95236));const getWindowsInfo=()=>S(void 0,void 0,void 0,(function*(){const{stdout:i}=yield T.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:c}=yield T.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:c.trim(),version:i.trim()}}));const getMacOsInfo=()=>S(void 0,void 0,void 0,(function*(){var i,c,d,p;const{stdout:A}=yield T.getExecOutput("sw_vers",undefined,{silent:true});const C=(c=(i=A.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&c!==void 0?c:"";const S=(p=(d=A.match(/ProductName:\s*(.+)/))===null||d===void 0?void 0:d[1])!==null&&p!==void 0?p:"";return{name:S,version:C}}));const getLinuxInfo=()=>S(void 0,void 0,void 0,(function*(){const{stdout:i}=yield T.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[c,d]=i.trim().split("\n");return{name:c,version:d}}));c.platform=_.default.platform();c.arch=_.default.arch();c.isWindows=c.platform==="win32";c.isMacOS=c.platform==="darwin";c.isLinux=c.platform==="linux";function getDetails(){return S(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield c.isWindows?getWindowsInfo():c.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:c.platform,arch:c.arch,isWindows:c.isWindows,isMacOS:c.isMacOS,isLinux:c.isLinux})}))}},71847:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.summary=c.markdownSummary=c.SUMMARY_DOCS_URL=c.SUMMARY_ENV_VAR=void 0;const A=d(70857);const C=d(79896);const{access:S,appendFile:v,writeFile:_}=C.promises;c.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";c.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 p(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[c.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${c.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield S(i,C.constants.R_OK|C.constants.W_OK)}catch(c){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,c,d={}){const p=Object.entries(d).map((([i,c])=>` ${i}="${c}"`)).join("");if(!c){return`<${i}${p}>`}return`<${i}${p}>${c}</${i}>`}write(i){return p(this,void 0,void 0,(function*(){const c=!!(i===null||i===void 0?void 0:i.overwrite);const d=yield this.filePath();const p=c?_:v;yield p(d,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return p(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(i,c=false){this._buffer+=i;return c?this.addEOL():this}addEOL(){return this.addRaw(A.EOL)}addCodeBlock(i,c){const d=Object.assign({},c&&{lang:c});const p=this.wrap("pre",this.wrap("code",i),d);return this.addRaw(p).addEOL()}addList(i,c=false){const d=c?"ol":"ul";const p=i.map((i=>this.wrap("li",i))).join("");const A=this.wrap(d,p);return this.addRaw(A).addEOL()}addTable(i){const c=i.map((i=>{const c=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:c,data:d,colspan:p,rowspan:A}=i;const C=c?"th":"td";const S=Object.assign(Object.assign({},p&&{colspan:p}),A&&{rowspan:A});return this.wrap(C,d,S)})).join("");return this.wrap("tr",c)})).join("");const d=this.wrap("table",c);return this.addRaw(d).addEOL()}addDetails(i,c){const d=this.wrap("details",this.wrap("summary",i)+c);return this.addRaw(d).addEOL()}addImage(i,c,d){const{width:p,height:A}=d||{};const C=Object.assign(Object.assign({},p&&{width:p}),A&&{height:A});const S=this.wrap("img",null,Object.assign({src:i,alt:c},C));return this.addRaw(S).addEOL()}addHeading(i,c){const d=`h${c}`;const p=["h1","h2","h3","h4","h5","h6"].includes(d)?d:"h1";const A=this.wrap(p,i);return this.addRaw(A).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,c){const d=Object.assign({},c&&{cite:c});const p=this.wrap("blockquote",i,d);return this.addRaw(p).addEOL()}addLink(i,c){const d=this.wrap("a",i,{href:c});return this.addRaw(d).addEOL()}}const T=new Summary;c.markdownSummary=T;c.summary=T},30302:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.toCommandValue=toCommandValue;c.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},95236:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.exec=exec;c.getExecOutput=getExecOutput;const v=d(13193);const _=C(d(6665));function exec(i,c,d){return S(this,void 0,void 0,(function*(){const p=_.argStringToArray(i);if(p.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const A=p[0];c=p.slice(1).concat(c||[]);const C=new _.ToolRunner(A,c,d);return C.exec()}))}function getExecOutput(i,c,d){return S(this,void 0,void 0,(function*(){var p,A;let C="";let S="";const _=new v.StringDecoder("utf8");const T=new v.StringDecoder("utf8");const V=(p=d===null||d===void 0?void 0:d.listeners)===null||p===void 0?void 0:p.stdout;const Z=(A=d===null||d===void 0?void 0:d.listeners)===null||A===void 0?void 0:A.stderr;const stdErrListener=i=>{S+=T.write(i);if(Z){Z(i)}};const stdOutListener=i=>{C+=_.write(i);if(V){V(i)}};const ee=Object.assign(Object.assign({},d===null||d===void 0?void 0:d.listeners),{stdout:stdOutListener,stderr:stdErrListener});const te=yield exec(i,c,Object.assign(Object.assign({},d),{listeners:ee}));C+=_.end();S+=T.end();return{exitCode:te,stdout:C,stderr:S}}))}},6665:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.ToolRunner=void 0;c.argStringToArray=argStringToArray;const v=C(d(70857));const _=C(d(24434));const T=C(d(35317));const V=C(d(16928));const Z=C(d(94994));const ee=C(d(75207));const te=d(53557);const re=process.platform==="win32";class ToolRunner extends _.EventEmitter{constructor(i,c,d){super();if(!i){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=i;this.args=c||[];this.options=d||{}}_debug(i){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(i)}}_getCommandString(i,c){const d=this._getSpawnFileName();const p=this._getSpawnArgs(i);let A=c?"":"[command]";if(re){if(this._isCmdFile()){A+=d;for(const i of p){A+=` ${i}`}}else if(i.windowsVerbatimArguments){A+=`"${d}"`;for(const i of p){A+=` ${i}`}}else{A+=this._windowsQuoteCmdArg(d);for(const i of p){A+=` ${this._windowsQuoteCmdArg(i)}`}}}else{A+=d;for(const i of p){A+=` ${i}`}}return A}_processLineBuffer(i,c,d){try{let p=c+i.toString();let A=p.indexOf(v.EOL);while(A>-1){const i=p.substring(0,A);d(i);p=p.substring(A+v.EOL.length);A=p.indexOf(v.EOL)}return p}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(re){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(re){if(this._isCmdFile()){let c=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const d of this.args){c+=" ";c+=i.windowsVerbatimArguments?d:this._windowsQuoteCmdArg(d)}c+='"';return[c]}}return this.args}_endsWith(i,c){return i.endsWith(c)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const c=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let d=false;for(const p of i){if(c.some((i=>i===p))){d=true;break}}if(!d){return i}let p='"';let A=true;for(let c=i.length;c>0;c--){p+=i[c-1];if(A&&i[c-1]==="\\"){p+="\\"}else if(i[c-1]==='"'){A=true;p+='"'}else{A=false}}p+='"';return p.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let c='"';let d=true;for(let p=i.length;p>0;p--){c+=i[p-1];if(d&&i[p-1]==="\\"){c+="\\"}else if(i[p-1]==='"'){d=true;c+="\\"}else{d=false}}c+='"';return c.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const c={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};c.outStream=i.outStream||process.stdout;c.errStream=i.errStream||process.stderr;return c}_getSpawnOptions(i,c){i=i||{};const d={};d.cwd=i.cwd;d.env=i.env;d["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){d.argv0=`"${c}"`}return d}exec(){return S(this,void 0,void 0,(function*(){if(!ee.isRooted(this.toolPath)&&(this.toolPath.includes("/")||re&&this.toolPath.includes("\\"))){this.toolPath=V.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield Z.which(this.toolPath,true);return new Promise(((i,c)=>S(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const d=this._cloneExecOptions(this.options);if(!d.silent&&d.outStream){d.outStream.write(this._getCommandString(d)+v.EOL)}const p=new ExecState(d,this.toolPath);p.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield ee.exists(this.options.cwd))){return c(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const A=this._getSpawnFileName();const C=T.spawn(A,this._getSpawnArgs(d),this._getSpawnOptions(this.options,A));let S="";if(C.stdout){C.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!d.silent&&d.outStream){d.outStream.write(i)}S=this._processLineBuffer(i,S,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let _="";if(C.stderr){C.stderr.on("data",(i=>{p.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!d.silent&&d.errStream&&d.outStream){const c=d.failOnStdErr?d.errStream:d.outStream;c.write(i)}_=this._processLineBuffer(i,_,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}C.on("error",(i=>{p.processError=i.message;p.processExited=true;p.processClosed=true;p.CheckComplete()}));C.on("exit",(i=>{p.processExitCode=i;p.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);p.CheckComplete()}));C.on("close",(i=>{p.processExitCode=i;p.processExited=true;p.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);p.CheckComplete()}));p.on("done",((d,p)=>{if(S.length>0){this.emit("stdline",S)}if(_.length>0){this.emit("errline",_)}C.removeAllListeners();if(d){c(d)}else{i(p)}}));if(this.options.input){if(!C.stdin){throw new Error("child process missing stdin")}C.stdin.end(this.options.input)}}))))}))}}c.ToolRunner=ToolRunner;function argStringToArray(i){const c=[];let d=false;let p=false;let A="";function append(i){if(p&&i!=='"'){A+="\\"}A+=i;p=false}for(let C=0;C<i.length;C++){const S=i.charAt(C);if(S==='"'){if(!p){d=!d}else{append(S)}continue}if(S==="\\"&&p){append(S);continue}if(S==="\\"&&d){p=true;continue}if(S===" "&&!d){if(A.length>0){c.push(A);A=""}continue}append(S)}if(A.length>0){c.push(A.trim())}return c}class ExecState extends _.EventEmitter{constructor(i,c){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(!c){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=c;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,te.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const c=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(c)}i._setResult()}}},51648:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Context=void 0;const p=d(79896);const A=d(70857);class Context{constructor(){var i,c,d;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,p.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,p.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${A.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10);this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(i=process.env.GITHUB_API_URL)!==null&&i!==void 0?i:`https://api.github.com`;this.serverUrl=(c=process.env.GITHUB_SERVER_URL)!==null&&c!==void 0?c:`https://github.com`;this.graphqlUrl=(d=process.env.GITHUB_GRAPHQL_URL)!==null&&d!==void 0?d:`https://api.github.com/graphql`}get issue(){const i=this.payload;return Object.assign(Object.assign({},this.repo),{number:(i.issue||i.pull_request||i).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[i,c]=process.env.GITHUB_REPOSITORY.split("/");return{owner:i,repo:c}}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'")}}c.Context=Context},93228:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.getOctokit=c.context=void 0;const S=C(d(51648));const v=d(38006);c.context=new S.Context;function getOctokit(i,c,...d){const p=v.GitHub.plugin(...d);return new p((0,v.getOctokitOptions)(i,c))}c.getOctokit=getOctokit},65156:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.getApiBaseUrl=c.getProxyFetch=c.getProxyAgentDispatcher=c.getProxyAgent=c.getAuthString=void 0;const v=C(d(89659));const _=d(46752);function getAuthString(i,c){if(!i&&!c.auth){throw new Error("Parameter token or opts.auth is required")}else if(i&&c.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof c.auth==="string"?c.auth:`token ${i}`}c.getAuthString=getAuthString;function getProxyAgent(i){const c=new v.HttpClient;return c.getAgent(i)}c.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(i){const c=new v.HttpClient;return c.getAgentDispatcher(i)}c.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(i){const c=getProxyAgentDispatcher(i);const proxyFetch=(i,d)=>S(this,void 0,void 0,(function*(){return(0,_.fetch)(i,Object.assign(Object.assign({},d),{dispatcher:c}))}));return proxyFetch}c.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}c.getApiBaseUrl=getApiBaseUrl},38006:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.getOctokitOptions=c.GitHub=c.defaults=c.context=void 0;const S=C(d(51648));const v=C(d(65156));const _=d(38452);const T=d(75726);const V=d(37731);c.context=new S.Context;const Z=v.getApiBaseUrl();c.defaults={baseUrl:Z,request:{agent:v.getProxyAgent(Z),fetch:v.getProxyFetch(Z)}};c.GitHub=_.Octokit.plugin(T.restEndpointMethods,V.paginateRest).defaults(c.defaults);function getOctokitOptions(i,c){const d=Object.assign({},c||{});const p=v.getAuthString(i,d);if(p){d.auth=p}return d}c.getOctokitOptions=getOctokitOptions},89659:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.HttpClient=c.isHttps=c.HttpClientResponse=c.HttpClientError=c.getProxyUrl=c.MediaTypes=c.Headers=c.HttpCodes=void 0;const v=C(d(58611));const _=C(d(65692));const T=C(d(83335));const V=C(d(20770));const Z=d(46752);var ee;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(ee||(c.HttpCodes=ee={}));var te;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(te||(c.Headers=te={}));var re;(function(i){i["ApplicationJson"]="application/json"})(re||(c.MediaTypes=re={}));function getProxyUrl(i){const c=T.getProxyUrl(new URL(i));return c?c.href:""}c.getProxyUrl=getProxyUrl;const ne=[ee.MovedPermanently,ee.ResourceMoved,ee.SeeOther,ee.TemporaryRedirect,ee.PermanentRedirect];const ie=[ee.BadGateway,ee.ServiceUnavailable,ee.GatewayTimeout];const se=["OPTIONS","GET","DELETE","HEAD"];const oe=10;const ae=5;class HttpClientError extends Error{constructor(i,c){super(i);this.name="HttpClientError";this.statusCode=c;Object.setPrototypeOf(this,HttpClientError.prototype)}}c.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){let c=Buffer.alloc(0);this.message.on("data",(i=>{c=Buffer.concat([c,i])}));this.message.on("end",(()=>{i(c.toString())}))}))))}))}readBodyBuffer(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){const c=[];this.message.on("data",(i=>{c.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(c))}))}))))}))}}c.HttpClientResponse=HttpClientResponse;function isHttps(i){const c=new URL(i);return c.protocol==="https:"}c.isHttps=isHttps;class HttpClient{constructor(i,c,d){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=i;this.handlers=c||[];this.requestOptions=d;if(d){if(d.ignoreSslError!=null){this._ignoreSslError=d.ignoreSslError}this._socketTimeout=d.socketTimeout;if(d.allowRedirects!=null){this._allowRedirects=d.allowRedirects}if(d.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=d.allowRedirectDowngrade}if(d.maxRedirects!=null){this._maxRedirects=Math.max(d.maxRedirects,0)}if(d.keepAlive!=null){this._keepAlive=d.keepAlive}if(d.allowRetries!=null){this._allowRetries=d.allowRetries}if(d.maxRetries!=null){this._maxRetries=d.maxRetries}}}options(i,c){return S(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,c||{})}))}get(i,c){return S(this,void 0,void 0,(function*(){return this.request("GET",i,null,c||{})}))}del(i,c){return S(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,c||{})}))}post(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("POST",i,c,d||{})}))}patch(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PATCH",i,c,d||{})}))}put(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PUT",i,c,d||{})}))}head(i,c){return S(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,c||{})}))}sendStream(i,c,d,p){return S(this,void 0,void 0,(function*(){return this.request(i,c,d,p)}))}getJson(i,c={}){return S(this,void 0,void 0,(function*(){c[te.Accept]=this._getExistingOrDefaultHeader(c,te.Accept,re.ApplicationJson);const d=yield this.get(i,c);return this._processResponse(d,this.requestOptions)}))}postJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[te.Accept]=this._getExistingOrDefaultHeader(d,te.Accept,re.ApplicationJson);d[te.ContentType]=this._getExistingOrDefaultHeader(d,te.ContentType,re.ApplicationJson);const A=yield this.post(i,p,d);return this._processResponse(A,this.requestOptions)}))}putJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[te.Accept]=this._getExistingOrDefaultHeader(d,te.Accept,re.ApplicationJson);d[te.ContentType]=this._getExistingOrDefaultHeader(d,te.ContentType,re.ApplicationJson);const A=yield this.put(i,p,d);return this._processResponse(A,this.requestOptions)}))}patchJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[te.Accept]=this._getExistingOrDefaultHeader(d,te.Accept,re.ApplicationJson);d[te.ContentType]=this._getExistingOrDefaultHeader(d,te.ContentType,re.ApplicationJson);const A=yield this.patch(i,p,d);return this._processResponse(A,this.requestOptions)}))}request(i,c,d,p){return S(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const A=new URL(c);let C=this._prepareRequest(i,A,p);const S=this._allowRetries&&se.includes(i)?this._maxRetries+1:1;let v=0;let _;do{_=yield this.requestRaw(C,d);if(_&&_.message&&_.message.statusCode===ee.Unauthorized){let i;for(const c of this.handlers){if(c.canHandleAuthentication(_)){i=c;break}}if(i){return i.handleAuthentication(this,C,d)}else{return _}}let c=this._maxRedirects;while(_.message.statusCode&&ne.includes(_.message.statusCode)&&this._allowRedirects&&c>0){const S=_.message.headers["location"];if(!S){break}const v=new URL(S);if(A.protocol==="https:"&&A.protocol!==v.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 _.readBody();if(v.hostname!==A.hostname){for(const i in p){if(i.toLowerCase()==="authorization"){delete p[i]}}}C=this._prepareRequest(i,v,p);_=yield this.requestRaw(C,d);c--}if(!_.message.statusCode||!ie.includes(_.message.statusCode)){return _}v+=1;if(v<S){yield _.readBody();yield this._performExponentialBackoff(v)}}while(v<S);return _}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{function callbackForResult(i,c){if(i){p(i)}else if(!c){p(new Error("Unknown error"))}else{d(c)}}this.requestRawWithCallback(i,c,callbackForResult)}))}))}requestRawWithCallback(i,c,d){if(typeof c==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(c,"utf8")}let p=false;function handleResult(i,c){if(!p){p=true;d(i,c)}}const A=i.httpModule.request(i.options,(i=>{const c=new HttpClientResponse(i);handleResult(undefined,c)}));let C;A.on("socket",(i=>{C=i}));A.setTimeout(this._socketTimeout||3*6e4,(()=>{if(C){C.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));A.on("error",(function(i){handleResult(i)}));if(c&&typeof c==="string"){A.write(c,"utf8")}if(c&&typeof c!=="string"){c.on("close",(function(){A.end()}));c.pipe(A)}else{A.end()}}getAgent(i){const c=new URL(i);return this._getAgent(c)}getAgentDispatcher(i){const c=new URL(i);const d=T.getProxyUrl(c);const p=d&&d.hostname;if(!p){return}return this._getProxyAgentDispatcher(c,d)}_prepareRequest(i,c,d){const p={};p.parsedUrl=c;const A=p.parsedUrl.protocol==="https:";p.httpModule=A?_:v;const C=A?443:80;p.options={};p.options.host=p.parsedUrl.hostname;p.options.port=p.parsedUrl.port?parseInt(p.parsedUrl.port):C;p.options.path=(p.parsedUrl.pathname||"")+(p.parsedUrl.search||"");p.options.method=i;p.options.headers=this._mergeHeaders(d);if(this.userAgent!=null){p.options.headers["user-agent"]=this.userAgent}p.options.agent=this._getAgent(p.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(p.options)}}return p}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,c,d){let p;if(this.requestOptions&&this.requestOptions.headers){p=lowercaseKeys(this.requestOptions.headers)[c]}return i[c]||p||d}_getAgent(i){let c;const d=T.getProxyUrl(i);const p=d&&d.hostname;if(this._keepAlive&&p){c=this._proxyAgent}if(this._keepAlive&&!p){c=this._agent}if(c){return c}const A=i.protocol==="https:";let C=100;if(this.requestOptions){C=this.requestOptions.maxSockets||v.globalAgent.maxSockets}if(d&&d.hostname){const i={maxSockets:C,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(d.username||d.password)&&{proxyAuth:`${d.username}:${d.password}`}),{host:d.hostname,port:d.port})};let p;const S=d.protocol==="https:";if(A){p=S?V.httpsOverHttps:V.httpsOverHttp}else{p=S?V.httpOverHttps:V.httpOverHttp}c=p(i);this._proxyAgent=c}if(this._keepAlive&&!c){const i={keepAlive:this._keepAlive,maxSockets:C};c=A?new _.Agent(i):new v.Agent(i);this._agent=c}if(!c){c=A?_.globalAgent:v.globalAgent}if(A&&this._ignoreSslError){c.options=Object.assign(c.options||{},{rejectUnauthorized:false})}return c}_getProxyAgentDispatcher(i,c){let d;if(this._keepAlive){d=this._proxyAgentDispatcher}if(d){return d}const p=i.protocol==="https:";d=new Z.ProxyAgent(Object.assign({uri:c.href,pipelining:!this._keepAlive?0:1},(c.username||c.password)&&{token:`${c.username}:${c.password}`}));this._proxyAgentDispatcher=d;if(p&&this._ignoreSslError){d.options=Object.assign(d.options.requestTls||{},{rejectUnauthorized:false})}return d}_performExponentialBackoff(i){return S(this,void 0,void 0,(function*(){i=Math.min(oe,i);const c=ae*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),c)))}))}_processResponse(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>S(this,void 0,void 0,(function*(){const A=i.message.statusCode||0;const C={statusCode:A,result:null,headers:{}};if(A===ee.NotFound){d(C)}function dateTimeDeserializer(i,c){if(typeof c==="string"){const i=new Date(c);if(!isNaN(i.valueOf())){return i}}return c}let S;let v;try{v=yield i.readBody();if(v&&v.length>0){if(c&&c.deserializeDates){S=JSON.parse(v,dateTimeDeserializer)}else{S=JSON.parse(v)}C.result=S}C.headers=i.message.headers}catch(i){}if(A>299){let i;if(S&&S.message){i=S.message}else if(v&&v.length>0){i=v}else{i=`Failed request: (${A})`}const c=new HttpClientError(i,A);c.result=C.result;p(c)}else{d(C)}}))))}))}}c.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((c,d)=>(c[d.toLowerCase()]=i[d],c)),{})},83335:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.checkBypass=c.getProxyUrl=void 0;function getProxyUrl(i){const c=i.protocol==="https:";if(checkBypass(i)){return undefined}const d=(()=>{if(c){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(d){try{return new URL(d)}catch(i){if(!d.startsWith("http://")&&!d.startsWith("https://"))return new URL(`http://${d}`)}}else{return undefined}}c.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const c=i.hostname;if(isLoopbackAddress(c)){return true}const d=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!d){return false}let p;if(i.port){p=Number(i.port)}else if(i.protocol==="http:"){p=80}else if(i.protocol==="https:"){p=443}const A=[i.hostname.toUpperCase()];if(typeof p==="number"){A.push(`${A[0]}:${p}`)}for(const i of d.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||A.some((c=>c===i||c.endsWith(`.${i}`)||i.startsWith(".")&&c.endsWith(`${i}`)))){return true}}return false}c.checkBypass=checkBypass;function isLoopbackAddress(i){const c=i.toLowerCase();return c==="localhost"||c.startsWith("127.")||c.startsWith("[::1]")||c.startsWith("[0:0:0:0:0:0:0:1]")}},38452:(i,c,d)=>{"use strict";var p=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)p(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,v)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let _ of C(c))if(!S.call(i,_)&&_!==d)p(i,_,{get:()=>c[_],enumerable:!(v=A(c,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(p({},"__esModule",{value:true}),i);var v={};__export(v,{Octokit:()=>re});i.exports=__toCommonJS(v);var _=d(33843);var T=d(52732);var V=d(99755);var Z=d(70007);var ee=d(77864);var te="5.0.1";var re=class{static{this.VERSION=te}static defaults(i){const c=class extends(this){constructor(...c){const d=c[0]||{};if(typeof i==="function"){super(i(d));return}super(Object.assign({},i,d,d.userAgent&&i.userAgent?{userAgent:`${d.userAgent} ${i.userAgent}`}:null))}};return c}static{this.plugins=[]}static plugin(...i){const c=this.plugins;const d=class extends(this){static{this.plugins=c.concat(i.filter((i=>!c.includes(i))))}};return d}constructor(i={}){const c=new T.Collection;const d={baseUrl:V.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:c.bind(null,"request")}),mediaType:{previews:[],format:""}};d.headers["user-agent"]=[i.userAgent,`octokit-core.js/${te} ${(0,_.getUserAgent)()}`].filter(Boolean).join(" ");if(i.baseUrl){d.baseUrl=i.baseUrl}if(i.previews){d.mediaType.previews=i.previews}if(i.timeZone){d.headers["time-zone"]=i.timeZone}this.request=V.request.defaults(d);this.graphql=(0,Z.withCustomRequest)(this.request).defaults(d);this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},i.log);this.hook=c;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{const d=(0,ee.createTokenAuth)(i.auth);c.wrap("request",d.hook);this.auth=d}}else{const{authStrategy:d,...p}=i;const A=d(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:p},i.auth));c.wrap("request",A.hook);this.auth=A}const p=this.constructor;p.plugins.forEach((c=>{Object.assign(this,c(this,i))}))}};0&&0},68688:(i,c,d)=>{"use strict";var p=Object.create;var A=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var v=Object.getPrototypeOf;var _=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)A(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,p)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let v of S(c))if(!_.call(i,v)&&v!==d)A(i,v,{get:()=>c[v],enumerable:!(p=C(c,v))||p.enumerable})}return i};var __toESM=(i,c,d)=>(d=i!=null?p(v(i)):{},__copyProps(c||!i||!i.__esModule?A(d,"default",{value:i,enumerable:true}):d,i));var __toCommonJS=i=>__copyProps(A({},"__esModule",{value:true}),i);var T={};__export(T,{RequestError:()=>re});i.exports=__toCommonJS(T);var V=d(14150);var Z=__toESM(d(55560));var ee=(0,Z.default)((i=>console.warn(i)));var te=(0,Z.default)((i=>console.warn(i)));var re=class extends Error{constructor(i,c,d){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=c;let p;if("headers"in d&&typeof d.headers!=="undefined"){p=d.headers}if("response"in d){this.response=d.response;p=d.response.headers}const A=Object.assign({},d.request);if(d.request.headers.authorization){A.headers=Object.assign({},d.request.headers,{authorization:d.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}A.url=A.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=A;Object.defineProperty(this,"code",{get(){ee(new V.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return c}});Object.defineProperty(this,"headers",{get(){te(new V.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return p||{}}})}};0&&0},99755:(i,c,d)=>{"use strict";var p=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)p(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,v)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let _ of C(c))if(!S.call(i,_)&&_!==d)p(i,_,{get:()=>c[_],enumerable:!(v=A(c,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(p({},"__esModule",{value:true}),i);var v={};__export(v,{request:()=>te});i.exports=__toCommonJS(v);var _=d(54471);var T=d(33843);var V="8.1.4";var Z=d(93407);var ee=d(68688);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var c,d,p;const A=i.request&&i.request.log?i.request.log:console;const C=((c=i.request)==null?void 0:c.parseSuccessResponseBody)!==false;if((0,Z.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let S={};let v;let _;let{fetch:T}=globalThis;if((d=i.request)==null?void 0:d.fetch){T=i.request.fetch}if(!T){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 T(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(p=i.request)==null?void 0:p.signal,...i.body&&{duplex:"half"}}).then((async c=>{_=c.url;v=c.status;for(const i of c.headers){S[i[0]]=i[1]}if("deprecation"in S){const c=S.link&&S.link.match(/<([^>]+)>; rel="deprecation"/);const d=c&&c.pop();A.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${S.sunset}${d?`. See ${d}`:""}`)}if(v===204||v===205){return}if(i.method==="HEAD"){if(v<400){return}throw new ee.RequestError(c.statusText,v,{response:{url:_,status:v,headers:S,data:void 0},request:i})}if(v===304){throw new ee.RequestError("Not modified",v,{response:{url:_,status:v,headers:S,data:await getResponseData(c)},request:i})}if(v>=400){const d=await getResponseData(c);const p=new ee.RequestError(toErrorMessage(d),v,{response:{url:_,status:v,headers:S,data:d},request:i});throw p}return C?await getResponseData(c):c.body})).then((i=>({status:v,url:_,headers:S,data:i}))).catch((c=>{if(c instanceof ee.RequestError)throw c;else if(c.name==="AbortError")throw c;let d=c.message;if(c.name==="TypeError"&&"cause"in c){if(c.cause instanceof Error){d=c.cause.message}else if(typeof c.cause==="string"){d=c.cause}}throw new ee.RequestError(d,500,{request:i})}))}async function getResponseData(i){const c=i.headers.get("content-type");if(/application\/json/.test(c)){return i.json()}if(!c||/^text\/|charset=utf-8$/.test(c)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,c){const d=i.defaults(c);const newApi=function(i,c){const p=d.merge(i,c);if(!p.request||!p.request.hook){return fetchWrapper(d.parse(p))}const request2=(i,c)=>fetchWrapper(d.parse(d.merge(i,c)));Object.assign(request2,{endpoint:d,defaults:withDefaults.bind(null,d)});return p.request.hook(request2,p)};return Object.assign(newApi,{endpoint:d,defaults:withDefaults.bind(null,d)})}var te=withDefaults(_.endpoint,{headers:{"user-agent":`octokit-request.js/${V} ${(0,T.getUserAgent)()}`}});0&&0},37731:i=>{"use strict";var c=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)c(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,C,S,v)=>{if(C&&typeof C==="object"||typeof C==="function"){for(let _ of p(C))if(!A.call(i,_)&&_!==S)c(i,_,{get:()=>C[_],enumerable:!(v=d(C,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(c({},"__esModule",{value:true}),i);var C={};__export(C,{composePaginateRest:()=>v,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>_});i.exports=__toCommonJS(C);var S="9.2.2";function normalizePaginatedListResponse(i){if(!i.data){return{...i,data:[]}}const c="total_count"in i.data&&!("url"in i.data);if(!c)return i;const d=i.data.incomplete_results;const p=i.data.repository_selection;const A=i.data.total_count;delete i.data.incomplete_results;delete i.data.repository_selection;delete i.data.total_count;const C=Object.keys(i.data)[0];const S=i.data[C];i.data=S;if(typeof d!=="undefined"){i.data.incomplete_results=d}if(typeof p!=="undefined"){i.data.repository_selection=p}i.data.total_count=A;return i}function iterator(i,c,d){const p=typeof c==="function"?c.endpoint(d):i.request.endpoint(c,d);const A=typeof c==="function"?c:i.request;const C=p.method;const S=p.headers;let v=p.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!v)return{done:true};try{const i=await A({method:C,url:v,headers:S});const c=normalizePaginatedListResponse(i);v=((c.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:c}}catch(i){if(i.status!==409)throw i;v="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(i,c,d,p){if(typeof d==="function"){p=d;d=void 0}return gather(i,[],iterator(i,c,d)[Symbol.asyncIterator](),p)}function gather(i,c,d,p){return d.next().then((A=>{if(A.done){return c}let C=false;function done(){C=true}c=c.concat(p?p(A.value,done):A.value.data);if(C){return c}return gather(i,c,d,p)}))}var v=Object.assign(paginate,{iterator:iterator});var _=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(i){if(typeof i==="string"){return _.includes(i)}else{return false}}function paginateRest(i){return{paginate:Object.assign(paginate.bind(null,i),{iterator:iterator.bind(null,i)})}}paginateRest.VERSION=S;0&&0},75726:i=>{"use strict";var c=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)c(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,C,S,v)=>{if(C&&typeof C==="object"||typeof C==="function"){for(let _ of p(C))if(!A.call(i,_)&&_!==S)c(i,_,{get:()=>C[_],enumerable:!(v=d(C,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(c({},"__esModule",{value:true}),i);var C={};__export(C,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});i.exports=__toCommonJS(C);var S="10.4.0";var v={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 T=new Map;for(const[i,c]of Object.entries(_)){for(const[d,p]of Object.entries(c)){const[c,A,C]=p;const[S,v]=c.split(/ /);const _=Object.assign({method:S,url:v},A);if(!T.has(i)){T.set(i,new Map)}T.get(i).set(d,{scope:i,methodName:d,endpointDefaults:_,decorations:C})}}var V={has({scope:i},c){return T.get(i).has(c)},getOwnPropertyDescriptor(i,c){return{value:this.get(i,c),configurable:true,writable:true,enumerable:true}},defineProperty(i,c,d){Object.defineProperty(i.cache,c,d);return true},deleteProperty(i,c){delete i.cache[c];return true},ownKeys({scope:i}){return[...T.get(i).keys()]},set(i,c,d){return i.cache[c]=d},get({octokit:i,scope:c,cache:d},p){if(d[p]){return d[p]}const A=T.get(c).get(p);if(!A){return void 0}const{endpointDefaults:C,decorations:S}=A;if(S){d[p]=decorate(i,c,p,C,S)}else{d[p]=i.request.defaults(C)}return d[p]}};function endpointsToMethods(i){const c={};for(const d of T.keys()){c[d]=new Proxy({octokit:i,scope:d,cache:{}},V)}return c}function decorate(i,c,d,p,A){const C=i.request.defaults(p);function withDecorations(...p){let S=C.endpoint.merge(...p);if(A.mapToData){S=Object.assign({},S,{data:S[A.mapToData],[A.mapToData]:void 0});return C(S)}if(A.renamed){const[p,C]=A.renamed;i.log.warn(`octokit.${c}.${d}() has been renamed to octokit.${p}.${C}()`)}if(A.deprecated){i.log.warn(A.deprecated)}if(A.renamedParameters){const S=C.endpoint.merge(...p);for(const[p,C]of Object.entries(A.renamedParameters)){if(p in S){i.log.warn(`"${p}" parameter is deprecated for "octokit.${c}.${d}()". Use "${C}" instead`);if(!(C in S)){S[C]=S[p]}delete S[p]}}return C(S)}return C(...p)}return Object.assign(withDecorations,C)}function restEndpointMethods(i){const c=endpointsToMethods(i);return{rest:c}}restEndpointMethods.VERSION=S;function legacyRestEndpointMethods(i){const c=endpointsToMethods(i);return{...c,rest:c}}legacyRestEndpointMethods.VERSION=S;0&&0},47206:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.hashFiles=c.create=void 0;const A=d(10103);const C=d(73608);function create(i,c){return p(this,void 0,void 0,(function*(){return yield A.DefaultGlobber.create(i,c)}))}c.create=create;function hashFiles(i,c="",d,A=false){return p(this,void 0,void 0,(function*(){let p=true;if(d&&typeof d.followSymbolicLinks==="boolean"){p=d.followSymbolicLinks}const S=yield create(i,{followSymbolicLinks:p});return(0,C.hashFiles)(S,c,A)}))}c.hashFiles=hashFiles},18164:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.getOptions=void 0;const S=C(d(54270));function getOptions(i){const c={followSymbolicLinks:true,implicitDescendants:true,matchDirectories:true,omitBrokenSymbolicLinks:true,excludeHiddenFiles:false};if(i){if(typeof i.followSymbolicLinks==="boolean"){c.followSymbolicLinks=i.followSymbolicLinks;S.debug(`followSymbolicLinks '${c.followSymbolicLinks}'`)}if(typeof i.implicitDescendants==="boolean"){c.implicitDescendants=i.implicitDescendants;S.debug(`implicitDescendants '${c.implicitDescendants}'`)}if(typeof i.matchDirectories==="boolean"){c.matchDirectories=i.matchDirectories;S.debug(`matchDirectories '${c.matchDirectories}'`)}if(typeof i.omitBrokenSymbolicLinks==="boolean"){c.omitBrokenSymbolicLinks=i.omitBrokenSymbolicLinks;S.debug(`omitBrokenSymbolicLinks '${c.omitBrokenSymbolicLinks}'`)}if(typeof i.excludeHiddenFiles==="boolean"){c.excludeHiddenFiles=i.excludeHiddenFiles;S.debug(`excludeHiddenFiles '${c.excludeHiddenFiles}'`)}}return c}c.getOptions=getOptions},10103:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=i[Symbol.asyncIterator],d;return c?c.call(i):(i=typeof __values==="function"?__values(i):i[Symbol.iterator](),d={},verb("next"),verb("throw"),verb("return"),d[Symbol.asyncIterator]=function(){return this},d);function verb(c){d[c]=i[c]&&function(d){return new Promise((function(p,A){d=i[c](d),settle(p,A,d.done,d.value)}))}}function settle(i,c,d,p){Promise.resolve(p).then((function(c){i({value:c,done:d})}),c)}};var _=this&&this.__await||function(i){return this instanceof _?(this.v=i,this):new _(i)};var T=this&&this.__asyncGenerator||function(i,c,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var p=d.apply(i,c||[]),A,C=[];return A={},verb("next"),verb("throw"),verb("return"),A[Symbol.asyncIterator]=function(){return this},A;function verb(i){if(p[i])A[i]=function(c){return new Promise((function(d,p){C.push([i,c,d,p])>1||resume(i,c)}))}}function resume(i,c){try{step(p[i](c))}catch(i){settle(C[0][3],i)}}function step(i){i.value instanceof _?Promise.resolve(i.value.v).then(fulfill,reject):settle(C[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,c){if(i(c),C.shift(),C.length)resume(C[0][0],C[0][1])}};Object.defineProperty(c,"__esModule",{value:true});c.DefaultGlobber=void 0;const V=C(d(54270));const Z=C(d(79896));const ee=C(d(18164));const te=C(d(16928));const re=C(d(98891));const ne=d(62644);const ie=d(25370);const se=d(79890);const oe=process.platform==="win32";class DefaultGlobber{constructor(i){this.patterns=[];this.searchPaths=[];this.options=ee.getOptions(i)}getSearchPaths(){return this.searchPaths.slice()}glob(){var i,c,d,p;return S(this,void 0,void 0,(function*(){const A=[];try{for(var C=true,S=v(this.globGenerator()),_;_=yield S.next(),i=_.done,!i;C=true){p=_.value;C=false;const i=p;A.push(i)}}catch(i){c={error:i}}finally{try{if(!C&&!i&&(d=S.return))yield d.call(S)}finally{if(c)throw c.error}}return A}))}globGenerator(){return T(this,arguments,(function*globGenerator_1(){const i=ee.getOptions(this.options);const c=[];for(const d of this.patterns){c.push(d);if(i.implicitDescendants&&(d.trailingSeparator||d.segments[d.segments.length-1]!=="**")){c.push(new ie.Pattern(d.negate,true,d.segments.concat("**")))}}const d=[];for(const i of re.getSearchPaths(c)){V.debug(`Search path '${i}'`);try{yield _(Z.promises.lstat(i))}catch(i){if(i.code==="ENOENT"){continue}throw i}d.unshift(new se.SearchState(i,1))}const p=[];while(d.length){const A=d.pop();const C=re.match(c,A.path);const S=!!C||re.partialMatch(c,A.path);if(!C&&!S){continue}const v=yield _(DefaultGlobber.stat(A,i,p));if(!v){continue}if(i.excludeHiddenFiles&&te.basename(A.path).match(/^\./)){continue}if(v.isDirectory()){if(C&ne.MatchKind.Directory&&i.matchDirectories){yield yield _(A.path)}else if(!S){continue}const c=A.level+1;const p=(yield _(Z.promises.readdir(A.path))).map((i=>new se.SearchState(te.join(A.path,i),c)));d.push(...p.reverse())}else if(C&ne.MatchKind.File){yield yield _(A.path)}}}))}static create(i,c){return S(this,void 0,void 0,(function*(){const d=new DefaultGlobber(c);if(oe){i=i.replace(/\r\n/g,"\n");i=i.replace(/\r/g,"\n")}const p=i.split("\n").map((i=>i.trim()));for(const i of p){if(!i||i.startsWith("#")){continue}else{d.patterns.push(new ie.Pattern(i))}}d.searchPaths.push(...re.getSearchPaths(d.patterns));return d}))}static stat(i,c,d){return S(this,void 0,void 0,(function*(){let p;if(c.followSymbolicLinks){try{p=yield Z.promises.stat(i.path)}catch(d){if(d.code==="ENOENT"){if(c.omitBrokenSymbolicLinks){V.debug(`Broken symlink '${i.path}'`);return undefined}throw new Error(`No information found for the path '${i.path}'. This may indicate a broken symbolic link.`)}throw d}}else{p=yield Z.promises.lstat(i.path)}if(p.isDirectory()&&c.followSymbolicLinks){const c=yield Z.promises.realpath(i.path);while(d.length>=i.level){d.pop()}if(d.some((i=>i===c))){V.debug(`Symlink cycle detected for path '${i.path}' and realpath '${c}'`);return undefined}d.push(c)}return p}))}}c.DefaultGlobber=DefaultGlobber},73608:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=i[Symbol.asyncIterator],d;return c?c.call(i):(i=typeof __values==="function"?__values(i):i[Symbol.iterator](),d={},verb("next"),verb("throw"),verb("return"),d[Symbol.asyncIterator]=function(){return this},d);function verb(c){d[c]=i[c]&&function(d){return new Promise((function(p,A){d=i[c](d),settle(p,A,d.done,d.value)}))}}function settle(i,c,d,p){Promise.resolve(p).then((function(c){i({value:c,done:d})}),c)}};Object.defineProperty(c,"__esModule",{value:true});c.hashFiles=void 0;const _=C(d(76982));const T=C(d(54270));const V=C(d(79896));const Z=C(d(2203));const ee=C(d(39023));const te=C(d(16928));function hashFiles(i,c,d=false){var p,A,C,re;var ne;return S(this,void 0,void 0,(function*(){const S=d?T.info:T.debug;let ie=false;const se=c?c:(ne=process.env["GITHUB_WORKSPACE"])!==null&&ne!==void 0?ne:process.cwd();const oe=_.createHash("sha256");let ae=0;try{for(var le=true,ce=v(i.globGenerator()),ue;ue=yield ce.next(),p=ue.done,!p;le=true){re=ue.value;le=false;const i=re;S(i);if(!i.startsWith(`${se}${te.sep}`)){S(`Ignore '${i}' since it is not under GITHUB_WORKSPACE.`);continue}if(V.statSync(i).isDirectory()){S(`Skip directory '${i}'.`);continue}const c=_.createHash("sha256");const d=ee.promisify(Z.pipeline);yield d(V.createReadStream(i),c);oe.write(c.digest());ae++;if(!ie){ie=true}}}catch(i){A={error:i}}finally{try{if(!le&&!p&&(C=ce.return))yield C.call(ce)}finally{if(A)throw A.error}}oe.end();if(ie){S(`Found ${ae} files to hash.`);return oe.digest("hex")}else{S(`No matches found for glob`);return""}}))}c.hashFiles=hashFiles},62644:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.MatchKind=void 0;var d;(function(i){i[i["None"]=0]="None";i[i["Directory"]=1]="Directory";i[i["File"]=2]="File";i[i["All"]=3]="All"})(d||(c.MatchKind=d={}))},84138:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.safeTrimTrailingSeparator=c.normalizeSeparators=c.hasRoot=c.hasAbsoluteRoot=c.ensureAbsoluteRoot=c.dirname=void 0;const v=C(d(16928));const _=S(d(42613));const T=process.platform==="win32";function dirname(i){i=safeTrimTrailingSeparator(i);if(T&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(i)){return i}let c=v.dirname(i);if(T&&/^\\\\[^\\]+\\[^\\]+\\$/.test(c)){c=safeTrimTrailingSeparator(c)}return c}c.dirname=dirname;function ensureAbsoluteRoot(i,c){(0,_.default)(i,`ensureAbsoluteRoot parameter 'root' must not be empty`);(0,_.default)(c,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(c)){return c}if(T){if(c.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let i=process.cwd();(0,_.default)(i.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${i}'`);if(c[0].toUpperCase()===i[0].toUpperCase()){if(c.length===2){return`${c[0]}:\\${i.substr(3)}`}else{if(!i.endsWith("\\")){i+="\\"}return`${c[0]}:\\${i.substr(3)}${c.substr(2)}`}}else{return`${c[0]}:\\${c.substr(2)}`}}else if(normalizeSeparators(c).match(/^\\$|^\\[^\\]/)){const i=process.cwd();(0,_.default)(i.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${i}'`);return`${i[0]}:\\${c.substr(1)}`}}(0,_.default)(hasAbsoluteRoot(i),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(i.endsWith("/")||T&&i.endsWith("\\")){}else{i+=v.sep}return i+c}c.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(i){(0,_.default)(i,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);i=normalizeSeparators(i);if(T){return i.startsWith("\\\\")||/^[A-Z]:\\/i.test(i)}return i.startsWith("/")}c.hasAbsoluteRoot=hasAbsoluteRoot;function hasRoot(i){(0,_.default)(i,`isRooted parameter 'itemPath' must not be empty`);i=normalizeSeparators(i);if(T){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}c.hasRoot=hasRoot;function normalizeSeparators(i){i=i||"";if(T){i=i.replace(/\//g,"\\");const c=/^\\\\+[^\\]/.test(i);return(c?"\\":"")+i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}c.normalizeSeparators=normalizeSeparators;function safeTrimTrailingSeparator(i){if(!i){return""}i=normalizeSeparators(i);if(!i.endsWith(v.sep)){return i}if(i===v.sep){return i}if(T&&/^[A-Z]:\\$/i.test(i)){return i}return i.substr(0,i.length-1)}c.safeTrimTrailingSeparator=safeTrimTrailingSeparator},76617:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Path=void 0;const v=C(d(16928));const _=C(d(84138));const T=S(d(42613));const V=process.platform==="win32";class Path{constructor(i){this.segments=[];if(typeof i==="string"){(0,T.default)(i,`Parameter 'itemPath' must not be empty`);i=_.safeTrimTrailingSeparator(i);if(!_.hasRoot(i)){this.segments=i.split(v.sep)}else{let c=i;let d=_.dirname(c);while(d!==c){const i=v.basename(c);this.segments.unshift(i);c=d;d=_.dirname(c)}this.segments.unshift(c)}}else{(0,T.default)(i.length>0,`Parameter 'itemPath' must not be an empty array`);for(let c=0;c<i.length;c++){let d=i[c];(0,T.default)(d,`Parameter 'itemPath' must not contain any empty segments`);d=_.normalizeSeparators(i[c]);if(c===0&&_.hasRoot(d)){d=_.safeTrimTrailingSeparator(d);(0,T.default)(d===_.dirname(d),`Parameter 'itemPath' root segment contains information for multiple segments`);this.segments.push(d)}else{(0,T.default)(!d.includes(v.sep),`Parameter 'itemPath' contains unexpected path separators`);this.segments.push(d)}}}}toString(){let i=this.segments[0];let c=i.endsWith(v.sep)||V&&/^[A-Z]:$/i.test(i);for(let d=1;d<this.segments.length;d++){if(c){c=false}else{i+=v.sep}i+=this.segments[d]}return i}}c.Path=Path},98891:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.partialMatch=c.match=c.getSearchPaths=void 0;const S=C(d(84138));const v=d(62644);const _=process.platform==="win32";function getSearchPaths(i){i=i.filter((i=>!i.negate));const c={};for(const d of i){const i=_?d.searchPath.toUpperCase():d.searchPath;c[i]="candidate"}const d=[];for(const p of i){const i=_?p.searchPath.toUpperCase():p.searchPath;if(c[i]==="included"){continue}let A=false;let C=i;let v=S.dirname(C);while(v!==C){if(c[v]){A=true;break}C=v;v=S.dirname(C)}if(!A){d.push(p.searchPath);c[i]="included"}}return d}c.getSearchPaths=getSearchPaths;function match(i,c){let d=v.MatchKind.None;for(const p of i){if(p.negate){d&=~p.match(c)}else{d|=p.match(c)}}return d}c.match=match;function partialMatch(i,c){return i.some((i=>!i.negate&&i.partialMatch(c)))}c.partialMatch=partialMatch},25370:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Pattern=void 0;const v=C(d(70857));const _=C(d(16928));const T=C(d(84138));const V=S(d(42613));const Z=d(43772);const ee=d(62644);const te=d(76617);const re=process.platform==="win32";class Pattern{constructor(i,c=false,d,p){this.negate=false;let A;if(typeof i==="string"){A=i.trim()}else{d=d||[];(0,V.default)(d.length,`Parameter 'segments' must not empty`);const c=Pattern.getLiteral(d[0]);(0,V.default)(c&&T.hasAbsoluteRoot(c),`Parameter 'segments' first element must be a root path`);A=new te.Path(d).toString().trim();if(i){A=`!${A}`}}while(A.startsWith("!")){this.negate=!this.negate;A=A.substr(1).trim()}A=Pattern.fixupPattern(A,p);this.segments=new te.Path(A).segments;this.trailingSeparator=T.normalizeSeparators(A).endsWith(_.sep);A=T.safeTrimTrailingSeparator(A);let C=false;const S=this.segments.map((i=>Pattern.getLiteral(i))).filter((i=>!C&&!(C=i==="")));this.searchPath=new te.Path(S).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(S[0]),re?"i":"");this.isImplicitPattern=c;const v={dot:true,nobrace:true,nocase:re,nocomment:true,noext:true,nonegate:true};A=re?A.replace(/\\/g,"/"):A;this.minimatch=new Z.Minimatch(A,v)}match(i){if(this.segments[this.segments.length-1]==="**"){i=T.normalizeSeparators(i);if(!i.endsWith(_.sep)&&this.isImplicitPattern===false){i=`${i}${_.sep}`}}else{i=T.safeTrimTrailingSeparator(i)}if(this.minimatch.match(i)){return this.trailingSeparator?ee.MatchKind.Directory:ee.MatchKind.All}return ee.MatchKind.None}partialMatch(i){i=T.safeTrimTrailingSeparator(i);if(T.dirname(i)===i){return this.rootRegExp.test(i)}return this.minimatch.matchOne(i.split(re?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(i){return(re?i:i.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(i,c){(0,V.default)(i,"pattern cannot be empty");const d=new te.Path(i).segments.map((i=>Pattern.getLiteral(i)));(0,V.default)(d.every(((i,c)=>(i!=="."||c===0)&&i!=="..")),`Invalid pattern '${i}'. Relative pathing '.' and '..' is not allowed.`);(0,V.default)(!T.hasRoot(i)||d[0],`Invalid pattern '${i}'. Root segment must not contain globs.`);i=T.normalizeSeparators(i);if(i==="."||i.startsWith(`.${_.sep}`)){i=Pattern.globEscape(process.cwd())+i.substr(1)}else if(i==="~"||i.startsWith(`~${_.sep}`)){c=c||v.homedir();(0,V.default)(c,"Unable to determine HOME directory");(0,V.default)(T.hasAbsoluteRoot(c),`Expected HOME directory to be a rooted path. Actual '${c}'`);i=Pattern.globEscape(c)+i.substr(1)}else if(re&&(i.match(/^[A-Z]:$/i)||i.match(/^[A-Z]:[^\\]/i))){let c=T.ensureAbsoluteRoot("C:\\dummy-root",i.substr(0,2));if(i.length>2&&!c.endsWith("\\")){c+="\\"}i=Pattern.globEscape(c)+i.substr(2)}else if(re&&(i==="\\"||i.match(/^\\[^\\]/))){let c=T.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!c.endsWith("\\")){c+="\\"}i=Pattern.globEscape(c)+i.substr(1)}else{i=T.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),i)}return T.normalizeSeparators(i)}static getLiteral(i){let c="";for(let d=0;d<i.length;d++){const p=i[d];if(p==="\\"&&!re&&d+1<i.length){c+=i[++d];continue}else if(p==="*"||p==="?"){return""}else if(p==="["&&d+1<i.length){let p="";let A=-1;for(let c=d+1;c<i.length;c++){const d=i[c];if(d==="\\"&&!re&&c+1<i.length){p+=i[++c];continue}else if(d==="]"){A=c;break}else{p+=d}}if(A>=0){if(p.length>1){return""}if(p){c+=p;d=A;continue}}}c+=p}return c}static regExpEscape(i){return i.replace(/[[\\^$.|?*+()]/g,"\\$&")}}c.Pattern=Pattern},79890:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.SearchState=void 0;class SearchState{constructor(i,c){this.path=i;this.level=c}}c.SearchState=SearchState},76240:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.issue=c.issueCommand=void 0;const S=C(d(70857));const v=d(6804);function issueCommand(i,c,d){const p=new Command(i,c,d);process.stdout.write(p.toString()+S.EOL)}c.issueCommand=issueCommand;function issue(i,c=""){issueCommand(i,{},c)}c.issue=issue;const _="::";class Command{constructor(i,c,d){if(!i){i="missing.command"}this.command=i;this.properties=c;this.message=d}toString(){let i=_+this.command;if(this.properties&&Object.keys(this.properties).length>0){i+=" ";let c=true;for(const d in this.properties){if(this.properties.hasOwnProperty(d)){const p=this.properties[d];if(p){if(c){c=false}else{i+=","}i+=`${d}=${escapeProperty(p)}`}}}}i+=`${_}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,v.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,v.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},54270:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.platform=c.toPlatformPath=c.toWin32Path=c.toPosixPath=c.markdownSummary=c.summary=c.getIDToken=c.getState=c.saveState=c.group=c.endGroup=c.startGroup=c.info=c.notice=c.warning=c.error=c.debug=c.isDebug=c.setFailed=c.setCommandEcho=c.setOutput=c.getBooleanInput=c.getMultilineInput=c.getInput=c.addPath=c.setSecret=c.exportVariable=c.ExitCode=void 0;const v=d(76240);const _=d(86359);const T=d(6804);const V=C(d(70857));const Z=C(d(16928));const ee=d(76228);var te;(function(i){i[i["Success"]=0]="Success";i[i["Failure"]=1]="Failure"})(te||(c.ExitCode=te={}));function exportVariable(i,c){const d=(0,T.toCommandValue)(c);process.env[i]=d;const p=process.env["GITHUB_ENV"]||"";if(p){return(0,_.issueFileCommand)("ENV",(0,_.prepareKeyValueMessage)(i,c))}(0,v.issueCommand)("set-env",{name:i},d)}c.exportVariable=exportVariable;function setSecret(i){(0,v.issueCommand)("add-mask",{},i)}c.setSecret=setSecret;function addPath(i){const c=process.env["GITHUB_PATH"]||"";if(c){(0,_.issueFileCommand)("PATH",i)}else{(0,v.issueCommand)("add-path",{},i)}process.env["PATH"]=`${i}${Z.delimiter}${process.env["PATH"]}`}c.addPath=addPath;function getInput(i,c){const d=process.env[`INPUT_${i.replace(/ /g,"_").toUpperCase()}`]||"";if(c&&c.required&&!d){throw new Error(`Input required and not supplied: ${i}`)}if(c&&c.trimWhitespace===false){return d}return d.trim()}c.getInput=getInput;function getMultilineInput(i,c){const d=getInput(i,c).split("\n").filter((i=>i!==""));if(c&&c.trimWhitespace===false){return d}return d.map((i=>i.trim()))}c.getMultilineInput=getMultilineInput;function getBooleanInput(i,c){const d=["true","True","TRUE"];const p=["false","False","FALSE"];const A=getInput(i,c);if(d.includes(A))return true;if(p.includes(A))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}c.getBooleanInput=getBooleanInput;function setOutput(i,c){const d=process.env["GITHUB_OUTPUT"]||"";if(d){return(0,_.issueFileCommand)("OUTPUT",(0,_.prepareKeyValueMessage)(i,c))}process.stdout.write(V.EOL);(0,v.issueCommand)("set-output",{name:i},(0,T.toCommandValue)(c))}c.setOutput=setOutput;function setCommandEcho(i){(0,v.issue)("echo",i?"on":"off")}c.setCommandEcho=setCommandEcho;function setFailed(i){process.exitCode=te.Failure;error(i)}c.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}c.isDebug=isDebug;function debug(i){(0,v.issueCommand)("debug",{},i)}c.debug=debug;function error(i,c={}){(0,v.issueCommand)("error",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}c.error=error;function warning(i,c={}){(0,v.issueCommand)("warning",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}c.warning=warning;function notice(i,c={}){(0,v.issueCommand)("notice",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}c.notice=notice;function info(i){process.stdout.write(i+V.EOL)}c.info=info;function startGroup(i){(0,v.issue)("group",i)}c.startGroup=startGroup;function endGroup(){(0,v.issue)("endgroup")}c.endGroup=endGroup;function group(i,c){return S(this,void 0,void 0,(function*(){startGroup(i);let d;try{d=yield c()}finally{endGroup()}return d}))}c.group=group;function saveState(i,c){const d=process.env["GITHUB_STATE"]||"";if(d){return(0,_.issueFileCommand)("STATE",(0,_.prepareKeyValueMessage)(i,c))}(0,v.issueCommand)("save-state",{name:i},(0,T.toCommandValue)(c))}c.saveState=saveState;function getState(i){return process.env[`STATE_${i}`]||""}c.getState=getState;function getIDToken(i){return S(this,void 0,void 0,(function*(){return yield ee.OidcClient.getIDToken(i)}))}c.getIDToken=getIDToken;var re=d(3345);Object.defineProperty(c,"summary",{enumerable:true,get:function(){return re.summary}});var ne=d(3345);Object.defineProperty(c,"markdownSummary",{enumerable:true,get:function(){return ne.markdownSummary}});var ie=d(85642);Object.defineProperty(c,"toPosixPath",{enumerable:true,get:function(){return ie.toPosixPath}});Object.defineProperty(c,"toWin32Path",{enumerable:true,get:function(){return ie.toWin32Path}});Object.defineProperty(c,"toPlatformPath",{enumerable:true,get:function(){return ie.toPlatformPath}});c.platform=C(d(93458))},86359:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.prepareKeyValueMessage=c.issueFileCommand=void 0;const S=C(d(76982));const v=C(d(79896));const _=C(d(70857));const T=d(6804);function issueFileCommand(i,c){const d=process.env[`GITHUB_${i}`];if(!d){throw new Error(`Unable to find environment variable for file command ${i}`)}if(!v.existsSync(d)){throw new Error(`Missing file at path: ${d}`)}v.appendFileSync(d,`${(0,T.toCommandValue)(c)}${_.EOL}`,{encoding:"utf8"})}c.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(i,c){const d=`ghadelimiter_${S.randomUUID()}`;const p=(0,T.toCommandValue)(c);if(i.includes(d)){throw new Error(`Unexpected input: name should not contain the delimiter "${d}"`)}if(p.includes(d)){throw new Error(`Unexpected input: value should not contain the delimiter "${d}"`)}return`${i}<<${d}${_.EOL}${p}${_.EOL}${d}`}c.prepareKeyValueMessage=prepareKeyValueMessage},76228:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.OidcClient=void 0;const A=d(55074);const C=d(23950);const S=d(54270);class OidcClient{static createHttpClient(i=true,c=10){const d={allowRetries:i,maxRetries:c};return new A.HttpClient("actions/oidc-client",[new C.BearerCredentialHandler(OidcClient.getRequestToken())],d)}static getRequestToken(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return i}static getIDTokenUrl(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return i}static getCall(i){var c;return p(this,void 0,void 0,(function*(){const d=OidcClient.createHttpClient();const p=yield d.getJson(i).catch((i=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const A=(c=p.result)===null||c===void 0?void 0:c.value;if(!A){throw new Error("Response json body do not have ID Token field")}return A}))}static getIDToken(i){return p(this,void 0,void 0,(function*(){try{let c=OidcClient.getIDTokenUrl();if(i){const d=encodeURIComponent(i);c=`${c}&audience=${d}`}(0,S.debug)(`ID token url is ${c}`);const d=yield OidcClient.getCall(c);(0,S.setSecret)(d);return d}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}c.OidcClient=OidcClient},85642:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.toPlatformPath=c.toWin32Path=c.toPosixPath=void 0;const S=C(d(16928));function toPosixPath(i){return i.replace(/[\\]/g,"/")}c.toPosixPath=toPosixPath;function toWin32Path(i){return i.replace(/[/]/g,"\\")}c.toWin32Path=toWin32Path;function toPlatformPath(i){return i.replace(/[/\\]/g,S.sep)}c.toPlatformPath=toPlatformPath},93458:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.getDetails=c.isLinux=c.isMacOS=c.isWindows=c.arch=c.platform=void 0;const _=v(d(70857));const T=C(d(50318));const getWindowsInfo=()=>S(void 0,void 0,void 0,(function*(){const{stdout:i}=yield T.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:c}=yield T.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:c.trim(),version:i.trim()}}));const getMacOsInfo=()=>S(void 0,void 0,void 0,(function*(){var i,c,d,p;const{stdout:A}=yield T.getExecOutput("sw_vers",undefined,{silent:true});const C=(c=(i=A.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&c!==void 0?c:"";const S=(p=(d=A.match(/ProductName:\s*(.+)/))===null||d===void 0?void 0:d[1])!==null&&p!==void 0?p:"";return{name:S,version:C}}));const getLinuxInfo=()=>S(void 0,void 0,void 0,(function*(){const{stdout:i}=yield T.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[c,d]=i.trim().split("\n");return{name:c,version:d}}));c.platform=_.default.platform();c.arch=_.default.arch();c.isWindows=c.platform==="win32";c.isMacOS=c.platform==="darwin";c.isLinux=c.platform==="linux";function getDetails(){return S(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield c.isWindows?getWindowsInfo():c.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:c.platform,arch:c.arch,isWindows:c.isWindows,isMacOS:c.isMacOS,isLinux:c.isLinux})}))}c.getDetails=getDetails},3345:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.summary=c.markdownSummary=c.SUMMARY_DOCS_URL=c.SUMMARY_ENV_VAR=void 0;const A=d(70857);const C=d(79896);const{access:S,appendFile:v,writeFile:_}=C.promises;c.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";c.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 p(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[c.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${c.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield S(i,C.constants.R_OK|C.constants.W_OK)}catch(c){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,c,d={}){const p=Object.entries(d).map((([i,c])=>` ${i}="${c}"`)).join("");if(!c){return`<${i}${p}>`}return`<${i}${p}>${c}</${i}>`}write(i){return p(this,void 0,void 0,(function*(){const c=!!(i===null||i===void 0?void 0:i.overwrite);const d=yield this.filePath();const p=c?_:v;yield p(d,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return p(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(i,c=false){this._buffer+=i;return c?this.addEOL():this}addEOL(){return this.addRaw(A.EOL)}addCodeBlock(i,c){const d=Object.assign({},c&&{lang:c});const p=this.wrap("pre",this.wrap("code",i),d);return this.addRaw(p).addEOL()}addList(i,c=false){const d=c?"ol":"ul";const p=i.map((i=>this.wrap("li",i))).join("");const A=this.wrap(d,p);return this.addRaw(A).addEOL()}addTable(i){const c=i.map((i=>{const c=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:c,data:d,colspan:p,rowspan:A}=i;const C=c?"th":"td";const S=Object.assign(Object.assign({},p&&{colspan:p}),A&&{rowspan:A});return this.wrap(C,d,S)})).join("");return this.wrap("tr",c)})).join("");const d=this.wrap("table",c);return this.addRaw(d).addEOL()}addDetails(i,c){const d=this.wrap("details",this.wrap("summary",i)+c);return this.addRaw(d).addEOL()}addImage(i,c,d){const{width:p,height:A}=d||{};const C=Object.assign(Object.assign({},p&&{width:p}),A&&{height:A});const S=this.wrap("img",null,Object.assign({src:i,alt:c},C));return this.addRaw(S).addEOL()}addHeading(i,c){const d=`h${c}`;const p=["h1","h2","h3","h4","h5","h6"].includes(d)?d:"h1";const A=this.wrap(p,i);return this.addRaw(A).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,c){const d=Object.assign({},c&&{cite:c});const p=this.wrap("blockquote",i,d);return this.addRaw(p).addEOL()}addLink(i,c){const d=this.wrap("a",i,{href:c});return this.addRaw(d).addEOL()}}const T=new Summary;c.markdownSummary=T;c.summary=T},6804:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.toCommandProperties=c.toCommandValue=void 0;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}c.toCommandValue=toCommandValue;function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}c.toCommandProperties=toCommandProperties},50318:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.getExecOutput=c.exec=void 0;const v=d(13193);const _=C(d(18311));function exec(i,c,d){return S(this,void 0,void 0,(function*(){const p=_.argStringToArray(i);if(p.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const A=p[0];c=p.slice(1).concat(c||[]);const C=new _.ToolRunner(A,c,d);return C.exec()}))}c.exec=exec;function getExecOutput(i,c,d){var p,A;return S(this,void 0,void 0,(function*(){let C="";let S="";const _=new v.StringDecoder("utf8");const T=new v.StringDecoder("utf8");const V=(p=d===null||d===void 0?void 0:d.listeners)===null||p===void 0?void 0:p.stdout;const Z=(A=d===null||d===void 0?void 0:d.listeners)===null||A===void 0?void 0:A.stderr;const stdErrListener=i=>{S+=T.write(i);if(Z){Z(i)}};const stdOutListener=i=>{C+=_.write(i);if(V){V(i)}};const ee=Object.assign(Object.assign({},d===null||d===void 0?void 0:d.listeners),{stdout:stdOutListener,stderr:stdErrListener});const te=yield exec(i,c,Object.assign(Object.assign({},d),{listeners:ee}));C+=_.end();S+=T.end();return{exitCode:te,stdout:C,stderr:S}}))}c.getExecOutput=getExecOutput},18311:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.argStringToArray=c.ToolRunner=void 0;const v=C(d(70857));const _=C(d(24434));const T=C(d(35317));const V=C(d(16928));const Z=C(d(96444));const ee=C(d(61885));const te=d(53557);const re=process.platform==="win32";class ToolRunner extends _.EventEmitter{constructor(i,c,d){super();if(!i){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=i;this.args=c||[];this.options=d||{}}_debug(i){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(i)}}_getCommandString(i,c){const d=this._getSpawnFileName();const p=this._getSpawnArgs(i);let A=c?"":"[command]";if(re){if(this._isCmdFile()){A+=d;for(const i of p){A+=` ${i}`}}else if(i.windowsVerbatimArguments){A+=`"${d}"`;for(const i of p){A+=` ${i}`}}else{A+=this._windowsQuoteCmdArg(d);for(const i of p){A+=` ${this._windowsQuoteCmdArg(i)}`}}}else{A+=d;for(const i of p){A+=` ${i}`}}return A}_processLineBuffer(i,c,d){try{let p=c+i.toString();let A=p.indexOf(v.EOL);while(A>-1){const i=p.substring(0,A);d(i);p=p.substring(A+v.EOL.length);A=p.indexOf(v.EOL)}return p}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(re){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(re){if(this._isCmdFile()){let c=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const d of this.args){c+=" ";c+=i.windowsVerbatimArguments?d:this._windowsQuoteCmdArg(d)}c+='"';return[c]}}return this.args}_endsWith(i,c){return i.endsWith(c)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const c=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let d=false;for(const p of i){if(c.some((i=>i===p))){d=true;break}}if(!d){return i}let p='"';let A=true;for(let c=i.length;c>0;c--){p+=i[c-1];if(A&&i[c-1]==="\\"){p+="\\"}else if(i[c-1]==='"'){A=true;p+='"'}else{A=false}}p+='"';return p.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let c='"';let d=true;for(let p=i.length;p>0;p--){c+=i[p-1];if(d&&i[p-1]==="\\"){c+="\\"}else if(i[p-1]==='"'){d=true;c+="\\"}else{d=false}}c+='"';return c.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const c={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};c.outStream=i.outStream||process.stdout;c.errStream=i.errStream||process.stderr;return c}_getSpawnOptions(i,c){i=i||{};const d={};d.cwd=i.cwd;d.env=i.env;d["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){d.argv0=`"${c}"`}return d}exec(){return S(this,void 0,void 0,(function*(){if(!ee.isRooted(this.toolPath)&&(this.toolPath.includes("/")||re&&this.toolPath.includes("\\"))){this.toolPath=V.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield Z.which(this.toolPath,true);return new Promise(((i,c)=>S(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const d=this._cloneExecOptions(this.options);if(!d.silent&&d.outStream){d.outStream.write(this._getCommandString(d)+v.EOL)}const p=new ExecState(d,this.toolPath);p.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield ee.exists(this.options.cwd))){return c(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const A=this._getSpawnFileName();const C=T.spawn(A,this._getSpawnArgs(d),this._getSpawnOptions(this.options,A));let S="";if(C.stdout){C.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!d.silent&&d.outStream){d.outStream.write(i)}S=this._processLineBuffer(i,S,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let _="";if(C.stderr){C.stderr.on("data",(i=>{p.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!d.silent&&d.errStream&&d.outStream){const c=d.failOnStdErr?d.errStream:d.outStream;c.write(i)}_=this._processLineBuffer(i,_,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}C.on("error",(i=>{p.processError=i.message;p.processExited=true;p.processClosed=true;p.CheckComplete()}));C.on("exit",(i=>{p.processExitCode=i;p.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);p.CheckComplete()}));C.on("close",(i=>{p.processExitCode=i;p.processExited=true;p.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);p.CheckComplete()}));p.on("done",((d,p)=>{if(S.length>0){this.emit("stdline",S)}if(_.length>0){this.emit("errline",_)}C.removeAllListeners();if(d){c(d)}else{i(p)}}));if(this.options.input){if(!C.stdin){throw new Error("child process missing stdin")}C.stdin.end(this.options.input)}}))))}))}}c.ToolRunner=ToolRunner;function argStringToArray(i){const c=[];let d=false;let p=false;let A="";function append(i){if(p&&i!=='"'){A+="\\"}A+=i;p=false}for(let C=0;C<i.length;C++){const S=i.charAt(C);if(S==='"'){if(!p){d=!d}else{append(S)}continue}if(S==="\\"&&p){append(S);continue}if(S==="\\"&&d){p=true;continue}if(S===" "&&!d){if(A.length>0){c.push(A);A=""}continue}append(S)}if(A.length>0){c.push(A.trim())}return c}c.argStringToArray=argStringToArray;class ExecState extends _.EventEmitter{constructor(i,c){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(!c){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=c;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=te.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const c=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(c)}i._setResult()}}},23950:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.PersonalAccessTokenCredentialHandler=c.BearerCredentialHandler=c.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,c){this.username=i;this.password=c}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},55074:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.HttpClient=c.isHttps=c.HttpClientResponse=c.HttpClientError=c.getProxyUrl=c.MediaTypes=c.Headers=c.HttpCodes=void 0;const v=C(d(58611));const _=C(d(65692));const T=C(d(35486));const V=C(d(20770));var Z;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(Z=c.HttpCodes||(c.HttpCodes={}));var ee;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(ee=c.Headers||(c.Headers={}));var te;(function(i){i["ApplicationJson"]="application/json"})(te=c.MediaTypes||(c.MediaTypes={}));function getProxyUrl(i){const c=T.getProxyUrl(new URL(i));return c?c.href:""}c.getProxyUrl=getProxyUrl;const re=[Z.MovedPermanently,Z.ResourceMoved,Z.SeeOther,Z.TemporaryRedirect,Z.PermanentRedirect];const ne=[Z.BadGateway,Z.ServiceUnavailable,Z.GatewayTimeout];const ie=["OPTIONS","GET","DELETE","HEAD"];const se=10;const oe=5;class HttpClientError extends Error{constructor(i,c){super(i);this.name="HttpClientError";this.statusCode=c;Object.setPrototypeOf(this,HttpClientError.prototype)}}c.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){let c=Buffer.alloc(0);this.message.on("data",(i=>{c=Buffer.concat([c,i])}));this.message.on("end",(()=>{i(c.toString())}))}))))}))}readBodyBuffer(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){const c=[];this.message.on("data",(i=>{c.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(c))}))}))))}))}}c.HttpClientResponse=HttpClientResponse;function isHttps(i){const c=new URL(i);return c.protocol==="https:"}c.isHttps=isHttps;class HttpClient{constructor(i,c,d){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=i;this.handlers=c||[];this.requestOptions=d;if(d){if(d.ignoreSslError!=null){this._ignoreSslError=d.ignoreSslError}this._socketTimeout=d.socketTimeout;if(d.allowRedirects!=null){this._allowRedirects=d.allowRedirects}if(d.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=d.allowRedirectDowngrade}if(d.maxRedirects!=null){this._maxRedirects=Math.max(d.maxRedirects,0)}if(d.keepAlive!=null){this._keepAlive=d.keepAlive}if(d.allowRetries!=null){this._allowRetries=d.allowRetries}if(d.maxRetries!=null){this._maxRetries=d.maxRetries}}}options(i,c){return S(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,c||{})}))}get(i,c){return S(this,void 0,void 0,(function*(){return this.request("GET",i,null,c||{})}))}del(i,c){return S(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,c||{})}))}post(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("POST",i,c,d||{})}))}patch(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PATCH",i,c,d||{})}))}put(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PUT",i,c,d||{})}))}head(i,c){return S(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,c||{})}))}sendStream(i,c,d,p){return S(this,void 0,void 0,(function*(){return this.request(i,c,d,p)}))}getJson(i,c={}){return S(this,void 0,void 0,(function*(){c[ee.Accept]=this._getExistingOrDefaultHeader(c,ee.Accept,te.ApplicationJson);const d=yield this.get(i,c);return this._processResponse(d,this.requestOptions)}))}postJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[ee.Accept]=this._getExistingOrDefaultHeader(d,ee.Accept,te.ApplicationJson);d[ee.ContentType]=this._getExistingOrDefaultHeader(d,ee.ContentType,te.ApplicationJson);const A=yield this.post(i,p,d);return this._processResponse(A,this.requestOptions)}))}putJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[ee.Accept]=this._getExistingOrDefaultHeader(d,ee.Accept,te.ApplicationJson);d[ee.ContentType]=this._getExistingOrDefaultHeader(d,ee.ContentType,te.ApplicationJson);const A=yield this.put(i,p,d);return this._processResponse(A,this.requestOptions)}))}patchJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[ee.Accept]=this._getExistingOrDefaultHeader(d,ee.Accept,te.ApplicationJson);d[ee.ContentType]=this._getExistingOrDefaultHeader(d,ee.ContentType,te.ApplicationJson);const A=yield this.patch(i,p,d);return this._processResponse(A,this.requestOptions)}))}request(i,c,d,p){return S(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const A=new URL(c);let C=this._prepareRequest(i,A,p);const S=this._allowRetries&&ie.includes(i)?this._maxRetries+1:1;let v=0;let _;do{_=yield this.requestRaw(C,d);if(_&&_.message&&_.message.statusCode===Z.Unauthorized){let i;for(const c of this.handlers){if(c.canHandleAuthentication(_)){i=c;break}}if(i){return i.handleAuthentication(this,C,d)}else{return _}}let c=this._maxRedirects;while(_.message.statusCode&&re.includes(_.message.statusCode)&&this._allowRedirects&&c>0){const S=_.message.headers["location"];if(!S){break}const v=new URL(S);if(A.protocol==="https:"&&A.protocol!==v.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 _.readBody();if(v.hostname!==A.hostname){for(const i in p){if(i.toLowerCase()==="authorization"){delete p[i]}}}C=this._prepareRequest(i,v,p);_=yield this.requestRaw(C,d);c--}if(!_.message.statusCode||!ne.includes(_.message.statusCode)){return _}v+=1;if(v<S){yield _.readBody();yield this._performExponentialBackoff(v)}}while(v<S);return _}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{function callbackForResult(i,c){if(i){p(i)}else if(!c){p(new Error("Unknown error"))}else{d(c)}}this.requestRawWithCallback(i,c,callbackForResult)}))}))}requestRawWithCallback(i,c,d){if(typeof c==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(c,"utf8")}let p=false;function handleResult(i,c){if(!p){p=true;d(i,c)}}const A=i.httpModule.request(i.options,(i=>{const c=new HttpClientResponse(i);handleResult(undefined,c)}));let C;A.on("socket",(i=>{C=i}));A.setTimeout(this._socketTimeout||3*6e4,(()=>{if(C){C.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));A.on("error",(function(i){handleResult(i)}));if(c&&typeof c==="string"){A.write(c,"utf8")}if(c&&typeof c!=="string"){c.on("close",(function(){A.end()}));c.pipe(A)}else{A.end()}}getAgent(i){const c=new URL(i);return this._getAgent(c)}_prepareRequest(i,c,d){const p={};p.parsedUrl=c;const A=p.parsedUrl.protocol==="https:";p.httpModule=A?_:v;const C=A?443:80;p.options={};p.options.host=p.parsedUrl.hostname;p.options.port=p.parsedUrl.port?parseInt(p.parsedUrl.port):C;p.options.path=(p.parsedUrl.pathname||"")+(p.parsedUrl.search||"");p.options.method=i;p.options.headers=this._mergeHeaders(d);if(this.userAgent!=null){p.options.headers["user-agent"]=this.userAgent}p.options.agent=this._getAgent(p.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(p.options)}}return p}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,c,d){let p;if(this.requestOptions&&this.requestOptions.headers){p=lowercaseKeys(this.requestOptions.headers)[c]}return i[c]||p||d}_getAgent(i){let c;const d=T.getProxyUrl(i);const p=d&&d.hostname;if(this._keepAlive&&p){c=this._proxyAgent}if(this._keepAlive&&!p){c=this._agent}if(c){return c}const A=i.protocol==="https:";let C=100;if(this.requestOptions){C=this.requestOptions.maxSockets||v.globalAgent.maxSockets}if(d&&d.hostname){const i={maxSockets:C,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(d.username||d.password)&&{proxyAuth:`${d.username}:${d.password}`}),{host:d.hostname,port:d.port})};let p;const S=d.protocol==="https:";if(A){p=S?V.httpsOverHttps:V.httpsOverHttp}else{p=S?V.httpOverHttps:V.httpOverHttp}c=p(i);this._proxyAgent=c}if(this._keepAlive&&!c){const i={keepAlive:this._keepAlive,maxSockets:C};c=A?new _.Agent(i):new v.Agent(i);this._agent=c}if(!c){c=A?_.globalAgent:v.globalAgent}if(A&&this._ignoreSslError){c.options=Object.assign(c.options||{},{rejectUnauthorized:false})}return c}_performExponentialBackoff(i){return S(this,void 0,void 0,(function*(){i=Math.min(se,i);const c=oe*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),c)))}))}_processResponse(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>S(this,void 0,void 0,(function*(){const A=i.message.statusCode||0;const C={statusCode:A,result:null,headers:{}};if(A===Z.NotFound){d(C)}function dateTimeDeserializer(i,c){if(typeof c==="string"){const i=new Date(c);if(!isNaN(i.valueOf())){return i}}return c}let S;let v;try{v=yield i.readBody();if(v&&v.length>0){if(c&&c.deserializeDates){S=JSON.parse(v,dateTimeDeserializer)}else{S=JSON.parse(v)}C.result=S}C.headers=i.message.headers}catch(i){}if(A>299){let i;if(S&&S.message){i=S.message}else if(v&&v.length>0){i=v}else{i=`Failed request: (${A})`}const c=new HttpClientError(i,A);c.result=C.result;p(c)}else{d(C)}}))))}))}}c.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((c,d)=>(c[d.toLowerCase()]=i[d],c)),{})},35486:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.checkBypass=c.getProxyUrl=void 0;function getProxyUrl(i){const c=i.protocol==="https:";if(checkBypass(i)){return undefined}const d=(()=>{if(c){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(d){try{return new URL(d)}catch(i){if(!d.startsWith("http://")&&!d.startsWith("https://"))return new URL(`http://${d}`)}}else{return undefined}}c.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const c=i.hostname;if(isLoopbackAddress(c)){return true}const d=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!d){return false}let p;if(i.port){p=Number(i.port)}else if(i.protocol==="http:"){p=80}else if(i.protocol==="https:"){p=443}const A=[i.hostname.toUpperCase()];if(typeof p==="number"){A.push(`${A[0]}:${p}`)}for(const i of d.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||A.some((c=>c===i||c.endsWith(`.${i}`)||i.startsWith(".")&&c.endsWith(`${i}`)))){return true}}return false}c.checkBypass=checkBypass;function isLoopbackAddress(i){const c=i.toLowerCase();return c==="localhost"||c.startsWith("127.")||c.startsWith("[::1]")||c.startsWith("[0:0:0:0:0:0:0:1]")}},61885:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v;Object.defineProperty(c,"__esModule",{value:true});c.getCmdPath=c.tryGetExecutablePath=c.isRooted=c.isDirectory=c.exists=c.READONLY=c.UV_FS_O_EXLOCK=c.IS_WINDOWS=c.unlink=c.symlink=c.stat=c.rmdir=c.rm=c.rename=c.readlink=c.readdir=c.open=c.mkdir=c.lstat=c.copyFile=c.chmod=void 0;const _=C(d(79896));const T=C(d(16928));v=_.promises,c.chmod=v.chmod,c.copyFile=v.copyFile,c.lstat=v.lstat,c.mkdir=v.mkdir,c.open=v.open,c.readdir=v.readdir,c.readlink=v.readlink,c.rename=v.rename,c.rm=v.rm,c.rmdir=v.rmdir,c.stat=v.stat,c.symlink=v.symlink,c.unlink=v.unlink;c.IS_WINDOWS=process.platform==="win32";c.UV_FS_O_EXLOCK=268435456;c.READONLY=_.constants.O_RDONLY;function exists(i){return S(this,void 0,void 0,(function*(){try{yield c.stat(i)}catch(i){if(i.code==="ENOENT"){return false}throw i}return true}))}c.exists=exists;function isDirectory(i,d=false){return S(this,void 0,void 0,(function*(){const p=d?yield c.stat(i):yield c.lstat(i);return p.isDirectory()}))}c.isDirectory=isDirectory;function isRooted(i){i=normalizeSeparators(i);if(!i){throw new Error('isRooted() parameter "p" cannot be empty')}if(c.IS_WINDOWS){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}c.isRooted=isRooted;function tryGetExecutablePath(i,d){return S(this,void 0,void 0,(function*(){let p=undefined;try{p=yield c.stat(i)}catch(c){if(c.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${c}`)}}if(p&&p.isFile()){if(c.IS_WINDOWS){const c=T.extname(i).toUpperCase();if(d.some((i=>i.toUpperCase()===c))){return i}}else{if(isUnixExecutable(p)){return i}}}const A=i;for(const C of d){i=A+C;p=undefined;try{p=yield c.stat(i)}catch(c){if(c.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${c}`)}}if(p&&p.isFile()){if(c.IS_WINDOWS){try{const d=T.dirname(i);const p=T.basename(i).toUpperCase();for(const A of yield c.readdir(d)){if(p===A.toUpperCase()){i=T.join(d,A);break}}}catch(c){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${c}`)}return i}else{if(isUnixExecutable(p)){return i}}}}return""}))}c.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(i){i=i||"";if(c.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&i.gid===process.getgid()||(i.mode&64)>0&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}c.getCmdPath=getCmdPath},96444:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.findInPath=c.which=c.mkdirP=c.rmRF=c.mv=c.cp=void 0;const v=d(42613);const _=C(d(16928));const T=C(d(61885));function cp(i,c,d={}){return S(this,void 0,void 0,(function*(){const{force:p,recursive:A,copySourceDirectory:C}=readCopyOptions(d);const S=(yield T.exists(c))?yield T.stat(c):null;if(S&&S.isFile()&&!p){return}const v=S&&S.isDirectory()&&C?_.join(c,_.basename(i)):c;if(!(yield T.exists(i))){throw new Error(`no such file or directory: ${i}`)}const V=yield T.stat(i);if(V.isDirectory()){if(!A){throw new Error(`Failed to copy. ${i} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(i,v,0,p)}}else{if(_.relative(i,v)===""){throw new Error(`'${v}' and '${i}' are the same file`)}yield copyFile(i,v,p)}}))}c.cp=cp;function mv(i,c,d={}){return S(this,void 0,void 0,(function*(){if(yield T.exists(c)){let p=true;if(yield T.isDirectory(c)){c=_.join(c,_.basename(i));p=yield T.exists(c)}if(p){if(d.force==null||d.force){yield rmRF(c)}else{throw new Error("Destination already exists")}}}yield mkdirP(_.dirname(c));yield T.rename(i,c)}))}c.mv=mv;function rmRF(i){return S(this,void 0,void 0,(function*(){if(T.IS_WINDOWS){if(/[*"<>|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield T.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}c.rmRF=rmRF;function mkdirP(i){return S(this,void 0,void 0,(function*(){v.ok(i,"a path argument must be provided");yield T.mkdir(i,{recursive:true})}))}c.mkdirP=mkdirP;function which(i,c){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(c){const c=yield which(i,false);if(!c){if(T.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${i}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return c}const d=yield findInPath(i);if(d&&d.length>0){return d[0]}return""}))}c.which=which;function findInPath(i){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const c=[];if(T.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(_.delimiter)){if(i){c.push(i)}}}if(T.isRooted(i)){const d=yield T.tryGetExecutablePath(i,c);if(d){return[d]}return[]}if(i.includes(_.sep)){return[]}const d=[];if(process.env.PATH){for(const i of process.env.PATH.split(_.delimiter)){if(i){d.push(i)}}}const p=[];for(const A of d){const d=yield T.tryGetExecutablePath(_.join(A,i),c);if(d){p.push(d)}}return p}))}c.findInPath=findInPath;function readCopyOptions(i){const c=i.force==null?true:i.force;const d=Boolean(i.recursive);const p=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:c,recursive:d,copySourceDirectory:p}}function cpDirRecursive(i,c,d,p){return S(this,void 0,void 0,(function*(){if(d>=255)return;d++;yield mkdirP(c);const A=yield T.readdir(i);for(const C of A){const A=`${i}/${C}`;const S=`${c}/${C}`;const v=yield T.lstat(A);if(v.isDirectory()){yield cpDirRecursive(A,S,d,p)}else{yield copyFile(A,S,p)}}yield T.chmod(c,(yield T.stat(i)).mode)}))}function copyFile(i,c,d){return S(this,void 0,void 0,(function*(){if((yield T.lstat(i)).isSymbolicLink()){try{yield T.lstat(c);yield T.unlink(c)}catch(i){if(i.code==="EPERM"){yield T.chmod(c,"0666");yield T.unlink(c)}}const d=yield T.readlink(i);yield T.symlink(d,c,T.IS_WINDOWS?"junction":null)}else if(!(yield T.exists(c))||d){yield T.copyFile(i,c)}}))}},44552:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.PersonalAccessTokenCredentialHandler=c.BearerCredentialHandler=c.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,c){this.username=i;this.password=c}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.HttpClient=c.HttpClientResponse=c.HttpClientError=c.MediaTypes=c.Headers=c.HttpCodes=void 0;c.getProxyUrl=getProxyUrl;c.isHttps=isHttps;const v=C(d(58611));const _=C(d(65692));const T=C(d(54988));const V=C(d(20770));const Z=d(46752);var ee;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(ee||(c.HttpCodes=ee={}));var te;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(te||(c.Headers=te={}));var re;(function(i){i["ApplicationJson"]="application/json"})(re||(c.MediaTypes=re={}));function getProxyUrl(i){const c=T.getProxyUrl(new URL(i));return c?c.href:""}const ne=[ee.MovedPermanently,ee.ResourceMoved,ee.SeeOther,ee.TemporaryRedirect,ee.PermanentRedirect];const ie=[ee.BadGateway,ee.ServiceUnavailable,ee.GatewayTimeout];const se=["OPTIONS","GET","DELETE","HEAD"];const oe=10;const ae=5;class HttpClientError extends Error{constructor(i,c){super(i);this.name="HttpClientError";this.statusCode=c;Object.setPrototypeOf(this,HttpClientError.prototype)}}c.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){let c=Buffer.alloc(0);this.message.on("data",(i=>{c=Buffer.concat([c,i])}));this.message.on("end",(()=>{i(c.toString())}))}))))}))}readBodyBuffer(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){const c=[];this.message.on("data",(i=>{c.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(c))}))}))))}))}}c.HttpClientResponse=HttpClientResponse;function isHttps(i){const c=new URL(i);return c.protocol==="https:"}class HttpClient{constructor(i,c,d){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=i;this.handlers=c||[];this.requestOptions=d;if(d){if(d.ignoreSslError!=null){this._ignoreSslError=d.ignoreSslError}this._socketTimeout=d.socketTimeout;if(d.allowRedirects!=null){this._allowRedirects=d.allowRedirects}if(d.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=d.allowRedirectDowngrade}if(d.maxRedirects!=null){this._maxRedirects=Math.max(d.maxRedirects,0)}if(d.keepAlive!=null){this._keepAlive=d.keepAlive}if(d.allowRetries!=null){this._allowRetries=d.allowRetries}if(d.maxRetries!=null){this._maxRetries=d.maxRetries}}}options(i,c){return S(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,c||{})}))}get(i,c){return S(this,void 0,void 0,(function*(){return this.request("GET",i,null,c||{})}))}del(i,c){return S(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,c||{})}))}post(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("POST",i,c,d||{})}))}patch(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PATCH",i,c,d||{})}))}put(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PUT",i,c,d||{})}))}head(i,c){return S(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,c||{})}))}sendStream(i,c,d,p){return S(this,void 0,void 0,(function*(){return this.request(i,c,d,p)}))}getJson(i){return S(this,arguments,void 0,(function*(i,c={}){c[te.Accept]=this._getExistingOrDefaultHeader(c,te.Accept,re.ApplicationJson);const d=yield this.get(i,c);return this._processResponse(d,this.requestOptions)}))}postJson(i,c){return S(this,arguments,void 0,(function*(i,c,d={}){const p=JSON.stringify(c,null,2);d[te.Accept]=this._getExistingOrDefaultHeader(d,te.Accept,re.ApplicationJson);d[te.ContentType]=this._getExistingOrDefaultContentTypeHeader(d,re.ApplicationJson);const A=yield this.post(i,p,d);return this._processResponse(A,this.requestOptions)}))}putJson(i,c){return S(this,arguments,void 0,(function*(i,c,d={}){const p=JSON.stringify(c,null,2);d[te.Accept]=this._getExistingOrDefaultHeader(d,te.Accept,re.ApplicationJson);d[te.ContentType]=this._getExistingOrDefaultContentTypeHeader(d,re.ApplicationJson);const A=yield this.put(i,p,d);return this._processResponse(A,this.requestOptions)}))}patchJson(i,c){return S(this,arguments,void 0,(function*(i,c,d={}){const p=JSON.stringify(c,null,2);d[te.Accept]=this._getExistingOrDefaultHeader(d,te.Accept,re.ApplicationJson);d[te.ContentType]=this._getExistingOrDefaultContentTypeHeader(d,re.ApplicationJson);const A=yield this.patch(i,p,d);return this._processResponse(A,this.requestOptions)}))}request(i,c,d,p){return S(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const A=new URL(c);let C=this._prepareRequest(i,A,p);const S=this._allowRetries&&se.includes(i)?this._maxRetries+1:1;let v=0;let _;do{_=yield this.requestRaw(C,d);if(_&&_.message&&_.message.statusCode===ee.Unauthorized){let i;for(const c of this.handlers){if(c.canHandleAuthentication(_)){i=c;break}}if(i){return i.handleAuthentication(this,C,d)}else{return _}}let c=this._maxRedirects;while(_.message.statusCode&&ne.includes(_.message.statusCode)&&this._allowRedirects&&c>0){const S=_.message.headers["location"];if(!S){break}const v=new URL(S);if(A.protocol==="https:"&&A.protocol!==v.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 _.readBody();if(v.hostname!==A.hostname){for(const i in p){if(i.toLowerCase()==="authorization"){delete p[i]}}}C=this._prepareRequest(i,v,p);_=yield this.requestRaw(C,d);c--}if(!_.message.statusCode||!ie.includes(_.message.statusCode)){return _}v+=1;if(v<S){yield _.readBody();yield this._performExponentialBackoff(v)}}while(v<S);return _}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{function callbackForResult(i,c){if(i){p(i)}else if(!c){p(new Error("Unknown error"))}else{d(c)}}this.requestRawWithCallback(i,c,callbackForResult)}))}))}requestRawWithCallback(i,c,d){if(typeof c==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(c,"utf8")}let p=false;function handleResult(i,c){if(!p){p=true;d(i,c)}}const A=i.httpModule.request(i.options,(i=>{const c=new HttpClientResponse(i);handleResult(undefined,c)}));let C;A.on("socket",(i=>{C=i}));A.setTimeout(this._socketTimeout||3*6e4,(()=>{if(C){C.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));A.on("error",(function(i){handleResult(i)}));if(c&&typeof c==="string"){A.write(c,"utf8")}if(c&&typeof c!=="string"){c.on("close",(function(){A.end()}));c.pipe(A)}else{A.end()}}getAgent(i){const c=new URL(i);return this._getAgent(c)}getAgentDispatcher(i){const c=new URL(i);const d=T.getProxyUrl(c);const p=d&&d.hostname;if(!p){return}return this._getProxyAgentDispatcher(c,d)}_prepareRequest(i,c,d){const p={};p.parsedUrl=c;const A=p.parsedUrl.protocol==="https:";p.httpModule=A?_:v;const C=A?443:80;p.options={};p.options.host=p.parsedUrl.hostname;p.options.port=p.parsedUrl.port?parseInt(p.parsedUrl.port):C;p.options.path=(p.parsedUrl.pathname||"")+(p.parsedUrl.search||"");p.options.method=i;p.options.headers=this._mergeHeaders(d);if(this.userAgent!=null){p.options.headers["user-agent"]=this.userAgent}p.options.agent=this._getAgent(p.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(p.options)}}return p}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,c,d){let p;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[c];if(i){p=typeof i==="number"?i.toString():i}}const A=i[c];if(A!==undefined){return typeof A==="number"?A.toString():A}if(p!==undefined){return p}return d}_getExistingOrDefaultContentTypeHeader(i,c){let d;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[te.ContentType];if(i){if(typeof i==="number"){d=String(i)}else if(Array.isArray(i)){d=i.join(", ")}else{d=i}}}const p=i[te.ContentType];if(p!==undefined){if(typeof p==="number"){return String(p)}else if(Array.isArray(p)){return p.join(", ")}else{return p}}if(d!==undefined){return d}return c}_getAgent(i){let c;const d=T.getProxyUrl(i);const p=d&&d.hostname;if(this._keepAlive&&p){c=this._proxyAgent}if(!p){c=this._agent}if(c){return c}const A=i.protocol==="https:";let C=100;if(this.requestOptions){C=this.requestOptions.maxSockets||v.globalAgent.maxSockets}if(d&&d.hostname){const i={maxSockets:C,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(d.username||d.password)&&{proxyAuth:`${d.username}:${d.password}`}),{host:d.hostname,port:d.port})};let p;const S=d.protocol==="https:";if(A){p=S?V.httpsOverHttps:V.httpsOverHttp}else{p=S?V.httpOverHttps:V.httpOverHttp}c=p(i);this._proxyAgent=c}if(!c){const i={keepAlive:this._keepAlive,maxSockets:C};c=A?new _.Agent(i):new v.Agent(i);this._agent=c}if(A&&this._ignoreSslError){c.options=Object.assign(c.options||{},{rejectUnauthorized:false})}return c}_getProxyAgentDispatcher(i,c){let d;if(this._keepAlive){d=this._proxyAgentDispatcher}if(d){return d}const p=i.protocol==="https:";d=new Z.ProxyAgent(Object.assign({uri:c.href,pipelining:!this._keepAlive?0:1},(c.username||c.password)&&{token:`Basic ${Buffer.from(`${c.username}:${c.password}`).toString("base64")}`}));this._proxyAgentDispatcher=d;if(p&&this._ignoreSslError){d.options=Object.assign(d.options.requestTls||{},{rejectUnauthorized:false})}return d}_performExponentialBackoff(i){return S(this,void 0,void 0,(function*(){i=Math.min(oe,i);const c=ae*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),c)))}))}_processResponse(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>S(this,void 0,void 0,(function*(){const A=i.message.statusCode||0;const C={statusCode:A,result:null,headers:{}};if(A===ee.NotFound){d(C)}function dateTimeDeserializer(i,c){if(typeof c==="string"){const i=new Date(c);if(!isNaN(i.valueOf())){return i}}return c}let S;let v;try{v=yield i.readBody();if(v&&v.length>0){if(c&&c.deserializeDates){S=JSON.parse(v,dateTimeDeserializer)}else{S=JSON.parse(v)}C.result=S}C.headers=i.message.headers}catch(i){}if(A>299){let i;if(S&&S.message){i=S.message}else if(v&&v.length>0){i=v}else{i=`Failed request: (${A})`}const c=new HttpClientError(i,A);c.result=C.result;p(c)}else{d(C)}}))))}))}}c.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((c,d)=>(c[d.toLowerCase()]=i[d],c)),{})},54988:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getProxyUrl=getProxyUrl;c.checkBypass=checkBypass;function getProxyUrl(i){const c=i.protocol==="https:";if(checkBypass(i)){return undefined}const d=(()=>{if(c){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(d){try{return new DecodedURL(d)}catch(i){if(!d.startsWith("http://")&&!d.startsWith("https://"))return new DecodedURL(`http://${d}`)}}else{return undefined}}function checkBypass(i){if(!i.hostname){return false}const c=i.hostname;if(isLoopbackAddress(c)){return true}const d=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!d){return false}let p;if(i.port){p=Number(i.port)}else if(i.protocol==="http:"){p=80}else if(i.protocol==="https:"){p=443}const A=[i.hostname.toUpperCase()];if(typeof p==="number"){A.push(`${A[0]}:${p}`)}for(const i of d.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||A.some((c=>c===i||c.endsWith(`.${i}`)||i.startsWith(".")&&c.endsWith(`${i}`)))){return true}}return false}function isLoopbackAddress(i){const c=i.toLowerCase();return c==="localhost"||c.startsWith("127.")||c.startsWith("[::1]")||c.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(i,c){super(i,c);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},75207:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v;Object.defineProperty(c,"__esModule",{value:true});c.READONLY=c.UV_FS_O_EXLOCK=c.IS_WINDOWS=c.unlink=c.symlink=c.stat=c.rmdir=c.rm=c.rename=c.readdir=c.open=c.mkdir=c.lstat=c.copyFile=c.chmod=void 0;c.readlink=readlink;c.exists=exists;c.isDirectory=isDirectory;c.isRooted=isRooted;c.tryGetExecutablePath=tryGetExecutablePath;c.getCmdPath=getCmdPath;const _=C(d(79896));const T=C(d(16928));v=_.promises,c.chmod=v.chmod,c.copyFile=v.copyFile,c.lstat=v.lstat,c.mkdir=v.mkdir,c.open=v.open,c.readdir=v.readdir,c.rename=v.rename,c.rm=v.rm,c.rmdir=v.rmdir,c.stat=v.stat,c.symlink=v.symlink,c.unlink=v.unlink;c.IS_WINDOWS=process.platform==="win32";function readlink(i){return S(this,void 0,void 0,(function*(){const d=yield _.promises.readlink(i);if(c.IS_WINDOWS&&!d.endsWith("\\")){return`${d}\\`}return d}))}c.UV_FS_O_EXLOCK=268435456;c.READONLY=_.constants.O_RDONLY;function exists(i){return S(this,void 0,void 0,(function*(){try{yield(0,c.stat)(i)}catch(i){if(i.code==="ENOENT"){return false}throw i}return true}))}function isDirectory(i){return S(this,arguments,void 0,(function*(i,d=false){const p=d?yield(0,c.stat)(i):yield(0,c.lstat)(i);return p.isDirectory()}))}function isRooted(i){i=normalizeSeparators(i);if(!i){throw new Error('isRooted() parameter "p" cannot be empty')}if(c.IS_WINDOWS){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}function tryGetExecutablePath(i,d){return S(this,void 0,void 0,(function*(){let p=undefined;try{p=yield(0,c.stat)(i)}catch(c){if(c.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${c}`)}}if(p&&p.isFile()){if(c.IS_WINDOWS){const c=T.extname(i).toUpperCase();if(d.some((i=>i.toUpperCase()===c))){return i}}else{if(isUnixExecutable(p)){return i}}}const A=i;for(const C of d){i=A+C;p=undefined;try{p=yield(0,c.stat)(i)}catch(c){if(c.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${c}`)}}if(p&&p.isFile()){if(c.IS_WINDOWS){try{const d=T.dirname(i);const p=T.basename(i).toUpperCase();for(const A of yield(0,c.readdir)(d)){if(p===A.toUpperCase()){i=T.join(d,A);break}}}catch(c){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${c}`)}return i}else{if(isUnixExecutable(p)){return i}}}}return""}))}function normalizeSeparators(i){i=i||"";if(c.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&process.getgid!==undefined&&i.gid===process.getgid()||(i.mode&64)>0&&process.getuid!==undefined&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}},94994:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.cp=cp;c.mv=mv;c.rmRF=rmRF;c.mkdirP=mkdirP;c.which=which;c.findInPath=findInPath;const v=d(42613);const _=C(d(16928));const T=C(d(75207));function cp(i,c){return S(this,arguments,void 0,(function*(i,c,d={}){const{force:p,recursive:A,copySourceDirectory:C}=readCopyOptions(d);const S=(yield T.exists(c))?yield T.stat(c):null;if(S&&S.isFile()&&!p){return}const v=S&&S.isDirectory()&&C?_.join(c,_.basename(i)):c;if(!(yield T.exists(i))){throw new Error(`no such file or directory: ${i}`)}const V=yield T.stat(i);if(V.isDirectory()){if(!A){throw new Error(`Failed to copy. ${i} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(i,v,0,p)}}else{if(_.relative(i,v)===""){throw new Error(`'${v}' and '${i}' are the same file`)}yield copyFile(i,v,p)}}))}function mv(i,c){return S(this,arguments,void 0,(function*(i,c,d={}){if(yield T.exists(c)){let p=true;if(yield T.isDirectory(c)){c=_.join(c,_.basename(i));p=yield T.exists(c)}if(p){if(d.force==null||d.force){yield rmRF(c)}else{throw new Error("Destination already exists")}}}yield mkdirP(_.dirname(c));yield T.rename(i,c)}))}function rmRF(i){return S(this,void 0,void 0,(function*(){if(T.IS_WINDOWS){if(/[*"<>|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield T.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}function mkdirP(i){return S(this,void 0,void 0,(function*(){(0,v.ok)(i,"a path argument must be provided");yield T.mkdir(i,{recursive:true})}))}function which(i,c){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(c){const c=yield which(i,false);if(!c){if(T.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${i}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return c}const d=yield findInPath(i);if(d&&d.length>0){return d[0]}return""}))}function findInPath(i){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const c=[];if(T.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(_.delimiter)){if(i){c.push(i)}}}if(T.isRooted(i)){const d=yield T.tryGetExecutablePath(i,c);if(d){return[d]}return[]}if(i.includes(_.sep)){return[]}const d=[];if(process.env.PATH){for(const i of process.env.PATH.split(_.delimiter)){if(i){d.push(i)}}}const p=[];for(const A of d){const d=yield T.tryGetExecutablePath(_.join(A,i),c);if(d){p.push(d)}}return p}))}function readCopyOptions(i){const c=i.force==null?true:i.force;const d=Boolean(i.recursive);const p=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:c,recursive:d,copySourceDirectory:p}}function cpDirRecursive(i,c,d,p){return S(this,void 0,void 0,(function*(){if(d>=255)return;d++;yield mkdirP(c);const A=yield T.readdir(i);for(const C of A){const A=`${i}/${C}`;const S=`${c}/${C}`;const v=yield T.lstat(A);if(v.isDirectory()){yield cpDirRecursive(A,S,d,p)}else{yield copyFile(A,S,p)}}yield T.chmod(c,(yield T.stat(i)).mode)}))}function copyFile(i,c,d){return S(this,void 0,void 0,(function*(){if((yield T.lstat(i)).isSymbolicLink()){try{yield T.lstat(c);yield T.unlink(c)}catch(i){if(i.code==="EPERM"){yield T.chmod(c,"0666");yield T.unlink(c)}}const d=yield T.readlink(i);yield T.symlink(d,c,T.IS_WINDOWS?"junction":null)}else if(!(yield T.exists(c))||d){yield T.copyFile(i,c)}}))}},58036:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c._readLinuxVersionFile=c._getOsVersion=c._findMatch=void 0;const v=C(d(46193));const _=d(77409);const T=d(70857);const V=d(35317);const Z=d(79896);function _findMatch(c,d,p,A){return S(this,void 0,void 0,(function*(){const C=T.platform();let S;let V;let Z;for(const S of p){const p=S.version;(0,_.debug)(`check ${p} satisfies ${c}`);if(v.satisfies(p,c)&&(!d||S.stable===d)){Z=S.files.find((c=>{(0,_.debug)(`${c.arch}===${A} && ${c.platform}===${C}`);let d=c.arch===A&&c.platform===C;if(d&&c.platform_version){const p=i.exports._getOsVersion();if(p===c.platform_version){d=true}else{d=v.satisfies(p,c.platform_version)}}return d}));if(Z){(0,_.debug)(`matched ${S.version}`);V=S;break}}}if(V&&Z){S=Object.assign({},V);S.files=[Z]}return S}))}c._findMatch=_findMatch;function _getOsVersion(){const c=T.platform();let d="";if(c==="darwin"){d=V.execSync("sw_vers -productVersion").toString()}else if(c==="linux"){const c=i.exports._readLinuxVersionFile();if(c){const i=c.split("\n");for(const c of i){const i=c.split("=");if(i.length===2&&(i[0].trim()==="VERSION_ID"||i[0].trim()==="DISTRIB_RELEASE")){d=i[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return d}c._getOsVersion=_getOsVersion;function _readLinuxVersionFile(){const i="/etc/lsb-release";const c="/etc/os-release";let d="";if(Z.existsSync(i)){d=Z.readFileSync(i).toString()}else if(Z.existsSync(c)){d=Z.readFileSync(c).toString()}return d}c._readLinuxVersionFile=_readLinuxVersionFile},67380:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.RetryHelper=void 0;const v=C(d(77409));class RetryHelper{constructor(i,c,d){if(i<1){throw new Error("max attempts should be greater than or equal to 1")}this.maxAttempts=i;this.minSeconds=Math.floor(c);this.maxSeconds=Math.floor(d);if(this.minSeconds>this.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(i,c){return S(this,void 0,void 0,(function*(){let d=1;while(d<this.maxAttempts){try{return yield i()}catch(i){if(c&&!c(i)){throw i}v.info(i.message)}const p=this.getSleepAmount();v.info(`Waiting ${p} seconds before trying again`);yield this.sleep(p);d++}return yield i()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(i){return S(this,void 0,void 0,(function*(){return new Promise((c=>setTimeout(c,i*1e3)))}))}}c.RetryHelper=RetryHelper},33472:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.evaluateVersions=c.isExplicitVersion=c.findFromManifest=c.getManifestFromRepo=c.findAllVersions=c.find=c.cacheFile=c.cacheDir=c.extractZip=c.extractXar=c.extractTar=c.extract7z=c.downloadTool=c.HTTPError=void 0;const v=C(d(77409));const _=C(d(67523));const T=C(d(76982));const V=C(d(79896));const Z=C(d(58036));const ee=C(d(70857));const te=C(d(16928));const re=C(d(28389));const ne=C(d(46193));const ie=C(d(2203));const se=C(d(39023));const oe=d(42613);const ae=d(19497);const le=d(67380);class HTTPError extends Error{constructor(i){super(`Unexpected HTTP response: ${i}`);this.httpStatusCode=i;Object.setPrototypeOf(this,new.target.prototype)}}c.HTTPError=HTTPError;const ce=process.platform==="win32";const ue=process.platform==="darwin";const de="actions/tool-cache";function downloadTool(i,c,d,p){return S(this,void 0,void 0,(function*(){c=c||te.join(_getTempDirectory(),T.randomUUID());yield _.mkdirP(te.dirname(c));v.debug(`Downloading ${i}`);v.debug(`Destination ${c}`);const A=3;const C=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10);const V=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);const Z=new le.RetryHelper(A,C,V);return yield Z.execute((()=>S(this,void 0,void 0,(function*(){return yield downloadToolAttempt(i,c||"",d,p)}))),(i=>{if(i instanceof HTTPError&&i.httpStatusCode){if(i.httpStatusCode<500&&i.httpStatusCode!==408&&i.httpStatusCode!==429){return false}}return true}))}))}c.downloadTool=downloadTool;function downloadToolAttempt(i,c,d,p){return S(this,void 0,void 0,(function*(){if(V.existsSync(c)){throw new Error(`Destination file path ${c} already exists`)}const A=new re.HttpClient(de,[],{allowRetries:false});if(d){v.debug("set auth");if(p===undefined){p={}}p.authorization=d}const C=yield A.get(i,p);if(C.message.statusCode!==200){const c=new HTTPError(C.message.statusCode);v.debug(`Failed to download from "${i}". Code(${C.message.statusCode}) Message(${C.message.statusMessage})`);throw c}const S=se.promisify(ie.pipeline);const T=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>C.message));const Z=T();let ee=false;try{yield S(Z,V.createWriteStream(c));v.debug("download complete");ee=true;return c}finally{if(!ee){v.debug("download failed");try{yield _.rmRF(c)}catch(i){v.debug(`Failed to delete '${c}'. ${i.message}`)}}}}))}function extract7z(i,c,d){return S(this,void 0,void 0,(function*(){(0,oe.ok)(ce,"extract7z() not supported on current OS");(0,oe.ok)(i,'parameter "file" is required');c=yield _createExtractFolder(c);const p=process.cwd();process.chdir(c);if(d){try{const c=v.isDebug()?"-bb1":"-bb0";const p=["x",c,"-bd","-sccUTF-8",i];const A={silent:true};yield(0,ae.exec)(`"${d}"`,p,A)}finally{process.chdir(p)}}else{const d=te.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const A=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const C=c.replace(/'/g,"''").replace(/"|\n|\r/g,"");const S=`& '${d}' -Source '${A}' -Target '${C}'`;const v=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",S];const T={silent:true};try{const i=yield _.which("powershell",true);yield(0,ae.exec)(`"${i}"`,v,T)}finally{process.chdir(p)}}return c}))}c.extract7z=extract7z;function extractTar(i,c,d="xz"){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'file' is required")}c=yield _createExtractFolder(c);v.debug("Checking tar --version");let p="";yield(0,ae.exec)("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:i=>p+=i.toString(),stderr:i=>p+=i.toString()}});v.debug(p.trim());const A=p.toUpperCase().includes("GNU TAR");let C;if(d instanceof Array){C=d}else{C=[d]}if(v.isDebug()&&!d.includes("v")){C.push("-v")}let S=c;let _=i;if(ce&&A){C.push("--force-local");S=c.replace(/\\/g,"/");_=i.replace(/\\/g,"/")}if(A){C.push("--warning=no-unknown-keyword");C.push("--overwrite")}C.push("-C",S,"-f",_);yield(0,ae.exec)(`tar`,C);return c}))}c.extractTar=extractTar;function extractXar(i,c,d=[]){return S(this,void 0,void 0,(function*(){(0,oe.ok)(ue,"extractXar() not supported on current OS");(0,oe.ok)(i,'parameter "file" is required');c=yield _createExtractFolder(c);let p;if(d instanceof Array){p=d}else{p=[d]}p.push("-x","-C",c,"-f",i);if(v.isDebug()){p.push("-v")}const A=yield _.which("xar",true);yield(0,ae.exec)(`"${A}"`,_unique(p));return c}))}c.extractXar=extractXar;function extractZip(i,c){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'file' is required")}c=yield _createExtractFolder(c);if(ce){yield extractZipWin(i,c)}else{yield extractZipNix(i,c)}return c}))}c.extractZip=extractZip;function extractZipWin(i,c){return S(this,void 0,void 0,(function*(){const d=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const p=c.replace(/'/g,"''").replace(/"|\n|\r/g,"");const A=yield _.which("pwsh",false);if(A){const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${d}', '${p}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${d}' -DestinationPath '${p}' -Force } else { throw $_ } } ;`].join(" ");const c=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];v.debug(`Using pwsh at path: ${A}`);yield(0,ae.exec)(`"${A}"`,c)}else{const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${d}' -DestinationPath '${p}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${d}', '${p}', $true) }`].join(" ");const c=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];const A=yield _.which("powershell",true);v.debug(`Using powershell at path: ${A}`);yield(0,ae.exec)(`"${A}"`,c)}}))}function extractZipNix(i,c){return S(this,void 0,void 0,(function*(){const d=yield _.which("unzip",true);const p=[i];if(!v.isDebug()){p.unshift("-q")}p.unshift("-o");yield(0,ae.exec)(`"${d}"`,p,{cwd:c})}))}function cacheDir(i,c,d,p){return S(this,void 0,void 0,(function*(){d=ne.clean(d)||d;p=p||ee.arch();v.debug(`Caching tool ${c} ${d} ${p}`);v.debug(`source dir: ${i}`);if(!V.statSync(i).isDirectory()){throw new Error("sourceDir is not a directory")}const A=yield _createToolPath(c,d,p);for(const c of V.readdirSync(i)){const d=te.join(i,c);yield _.cp(d,A,{recursive:true})}_completeToolPath(c,d,p);return A}))}c.cacheDir=cacheDir;function cacheFile(i,c,d,p,A){return S(this,void 0,void 0,(function*(){p=ne.clean(p)||p;A=A||ee.arch();v.debug(`Caching tool ${d} ${p} ${A}`);v.debug(`source file: ${i}`);if(!V.statSync(i).isFile()){throw new Error("sourceFile is not a file")}const C=yield _createToolPath(d,p,A);const S=te.join(C,c);v.debug(`destination file ${S}`);yield _.cp(i,S);_completeToolPath(d,p,A);return C}))}c.cacheFile=cacheFile;function find(i,c,d){if(!i){throw new Error("toolName parameter is required")}if(!c){throw new Error("versionSpec parameter is required")}d=d||ee.arch();if(!isExplicitVersion(c)){const p=findAllVersions(i,d);const A=evaluateVersions(p,c);c=A}let p="";if(c){c=ne.clean(c)||"";const A=te.join(_getCacheDirectory(),i,c,d);v.debug(`checking cache: ${A}`);if(V.existsSync(A)&&V.existsSync(`${A}.complete`)){v.debug(`Found tool in cache ${i} ${c} ${d}`);p=A}else{v.debug("not found")}}return p}c.find=find;function findAllVersions(i,c){const d=[];c=c||ee.arch();const p=te.join(_getCacheDirectory(),i);if(V.existsSync(p)){const i=V.readdirSync(p);for(const A of i){if(isExplicitVersion(A)){const i=te.join(p,A,c||"");if(V.existsSync(i)&&V.existsSync(`${i}.complete`)){d.push(A)}}}}return d}c.findAllVersions=findAllVersions;function getManifestFromRepo(i,c,d,p="master"){return S(this,void 0,void 0,(function*(){let A=[];const C=`https://api.github.com/repos/${i}/${c}/git/trees/${p}`;const S=new re.HttpClient("tool-cache");const _={};if(d){v.debug("set auth");_.authorization=d}const T=yield S.getJson(C,_);if(!T.result){return A}let V="";for(const i of T.result.tree){if(i.path==="versions-manifest.json"){V=i.url;break}}_["accept"]="application/vnd.github.VERSION.raw";let Z=yield(yield S.get(V,_)).readBody();if(Z){Z=Z.replace(/^\uFEFF/,"");try{A=JSON.parse(Z)}catch(i){v.debug("Invalid json")}}return A}))}c.getManifestFromRepo=getManifestFromRepo;function findFromManifest(i,c,d,p=ee.arch()){return S(this,void 0,void 0,(function*(){const A=yield Z._findMatch(i,c,d,p);return A}))}c.findFromManifest=findFromManifest;function _createExtractFolder(i){return S(this,void 0,void 0,(function*(){if(!i){i=te.join(_getTempDirectory(),T.randomUUID())}yield _.mkdirP(i);return i}))}function _createToolPath(i,c,d){return S(this,void 0,void 0,(function*(){const p=te.join(_getCacheDirectory(),i,ne.clean(c)||c,d||"");v.debug(`destination ${p}`);const A=`${p}.complete`;yield _.rmRF(p);yield _.rmRF(A);yield _.mkdirP(p);return p}))}function _completeToolPath(i,c,d){const p=te.join(_getCacheDirectory(),i,ne.clean(c)||c,d||"");const A=`${p}.complete`;V.writeFileSync(A,"");v.debug("finished caching tool")}function isExplicitVersion(i){const c=ne.clean(i)||"";v.debug(`isExplicit: ${c}`);const d=ne.valid(c)!=null;v.debug(`explicit? ${d}`);return d}c.isExplicitVersion=isExplicitVersion;function evaluateVersions(i,c){let d="";v.debug(`evaluating ${i.length} versions`);i=i.sort(((i,c)=>{if(ne.gt(i,c)){return 1}return-1}));for(let p=i.length-1;p>=0;p--){const A=i[p];const C=ne.satisfies(A,c);if(C){d=A;break}}if(d){v.debug(`matched: ${d}`)}else{v.debug("match not found")}return d}c.evaluateVersions=evaluateVersions;function _getCacheDirectory(){const i=process.env["RUNNER_TOOL_CACHE"]||"";(0,oe.ok)(i,"Expected RUNNER_TOOL_CACHE to be defined");return i}function _getTempDirectory(){const i=process.env["RUNNER_TEMP"]||"";(0,oe.ok)(i,"Expected RUNNER_TEMP to be defined");return i}function _getGlobal(i,c){const d=global[i];return d!==undefined?d:c}function _unique(i){return Array.from(new Set(i))}},91069:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.issue=c.issueCommand=void 0;const S=C(d(70857));const v=d(48529);function issueCommand(i,c,d){const p=new Command(i,c,d);process.stdout.write(p.toString()+S.EOL)}c.issueCommand=issueCommand;function issue(i,c=""){issueCommand(i,{},c)}c.issue=issue;const _="::";class Command{constructor(i,c,d){if(!i){i="missing.command"}this.command=i;this.properties=c;this.message=d}toString(){let i=_+this.command;if(this.properties&&Object.keys(this.properties).length>0){i+=" ";let c=true;for(const d in this.properties){if(this.properties.hasOwnProperty(d)){const p=this.properties[d];if(p){if(c){c=false}else{i+=","}i+=`${d}=${escapeProperty(p)}`}}}}i+=`${_}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,v.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,v.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},77409:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.platform=c.toPlatformPath=c.toWin32Path=c.toPosixPath=c.markdownSummary=c.summary=c.getIDToken=c.getState=c.saveState=c.group=c.endGroup=c.startGroup=c.info=c.notice=c.warning=c.error=c.debug=c.isDebug=c.setFailed=c.setCommandEcho=c.setOutput=c.getBooleanInput=c.getMultilineInput=c.getInput=c.addPath=c.setSecret=c.exportVariable=c.ExitCode=void 0;const v=d(91069);const _=d(24528);const T=d(48529);const V=C(d(70857));const Z=C(d(16928));const ee=d(20791);var te;(function(i){i[i["Success"]=0]="Success";i[i["Failure"]=1]="Failure"})(te||(c.ExitCode=te={}));function exportVariable(i,c){const d=(0,T.toCommandValue)(c);process.env[i]=d;const p=process.env["GITHUB_ENV"]||"";if(p){return(0,_.issueFileCommand)("ENV",(0,_.prepareKeyValueMessage)(i,c))}(0,v.issueCommand)("set-env",{name:i},d)}c.exportVariable=exportVariable;function setSecret(i){(0,v.issueCommand)("add-mask",{},i)}c.setSecret=setSecret;function addPath(i){const c=process.env["GITHUB_PATH"]||"";if(c){(0,_.issueFileCommand)("PATH",i)}else{(0,v.issueCommand)("add-path",{},i)}process.env["PATH"]=`${i}${Z.delimiter}${process.env["PATH"]}`}c.addPath=addPath;function getInput(i,c){const d=process.env[`INPUT_${i.replace(/ /g,"_").toUpperCase()}`]||"";if(c&&c.required&&!d){throw new Error(`Input required and not supplied: ${i}`)}if(c&&c.trimWhitespace===false){return d}return d.trim()}c.getInput=getInput;function getMultilineInput(i,c){const d=getInput(i,c).split("\n").filter((i=>i!==""));if(c&&c.trimWhitespace===false){return d}return d.map((i=>i.trim()))}c.getMultilineInput=getMultilineInput;function getBooleanInput(i,c){const d=["true","True","TRUE"];const p=["false","False","FALSE"];const A=getInput(i,c);if(d.includes(A))return true;if(p.includes(A))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}c.getBooleanInput=getBooleanInput;function setOutput(i,c){const d=process.env["GITHUB_OUTPUT"]||"";if(d){return(0,_.issueFileCommand)("OUTPUT",(0,_.prepareKeyValueMessage)(i,c))}process.stdout.write(V.EOL);(0,v.issueCommand)("set-output",{name:i},(0,T.toCommandValue)(c))}c.setOutput=setOutput;function setCommandEcho(i){(0,v.issue)("echo",i?"on":"off")}c.setCommandEcho=setCommandEcho;function setFailed(i){process.exitCode=te.Failure;error(i)}c.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}c.isDebug=isDebug;function debug(i){(0,v.issueCommand)("debug",{},i)}c.debug=debug;function error(i,c={}){(0,v.issueCommand)("error",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}c.error=error;function warning(i,c={}){(0,v.issueCommand)("warning",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}c.warning=warning;function notice(i,c={}){(0,v.issueCommand)("notice",(0,T.toCommandProperties)(c),i instanceof Error?i.toString():i)}c.notice=notice;function info(i){process.stdout.write(i+V.EOL)}c.info=info;function startGroup(i){(0,v.issue)("group",i)}c.startGroup=startGroup;function endGroup(){(0,v.issue)("endgroup")}c.endGroup=endGroup;function group(i,c){return S(this,void 0,void 0,(function*(){startGroup(i);let d;try{d=yield c()}finally{endGroup()}return d}))}c.group=group;function saveState(i,c){const d=process.env["GITHUB_STATE"]||"";if(d){return(0,_.issueFileCommand)("STATE",(0,_.prepareKeyValueMessage)(i,c))}(0,v.issueCommand)("save-state",{name:i},(0,T.toCommandValue)(c))}c.saveState=saveState;function getState(i){return process.env[`STATE_${i}`]||""}c.getState=getState;function getIDToken(i){return S(this,void 0,void 0,(function*(){return yield ee.OidcClient.getIDToken(i)}))}c.getIDToken=getIDToken;var re=d(98544);Object.defineProperty(c,"summary",{enumerable:true,get:function(){return re.summary}});var ne=d(98544);Object.defineProperty(c,"markdownSummary",{enumerable:true,get:function(){return ne.markdownSummary}});var ie=d(58205);Object.defineProperty(c,"toPosixPath",{enumerable:true,get:function(){return ie.toPosixPath}});Object.defineProperty(c,"toWin32Path",{enumerable:true,get:function(){return ie.toWin32Path}});Object.defineProperty(c,"toPlatformPath",{enumerable:true,get:function(){return ie.toPlatformPath}});c.platform=C(d(50069))},24528:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.prepareKeyValueMessage=c.issueFileCommand=void 0;const S=C(d(76982));const v=C(d(79896));const _=C(d(70857));const T=d(48529);function issueFileCommand(i,c){const d=process.env[`GITHUB_${i}`];if(!d){throw new Error(`Unable to find environment variable for file command ${i}`)}if(!v.existsSync(d)){throw new Error(`Missing file at path: ${d}`)}v.appendFileSync(d,`${(0,T.toCommandValue)(c)}${_.EOL}`,{encoding:"utf8"})}c.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(i,c){const d=`ghadelimiter_${S.randomUUID()}`;const p=(0,T.toCommandValue)(c);if(i.includes(d)){throw new Error(`Unexpected input: name should not contain the delimiter "${d}"`)}if(p.includes(d)){throw new Error(`Unexpected input: value should not contain the delimiter "${d}"`)}return`${i}<<${d}${_.EOL}${p}${_.EOL}${d}`}c.prepareKeyValueMessage=prepareKeyValueMessage},20791:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.OidcClient=void 0;const A=d(28389);const C=d(55499);const S=d(77409);class OidcClient{static createHttpClient(i=true,c=10){const d={allowRetries:i,maxRetries:c};return new A.HttpClient("actions/oidc-client",[new C.BearerCredentialHandler(OidcClient.getRequestToken())],d)}static getRequestToken(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return i}static getIDTokenUrl(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return i}static getCall(i){var c;return p(this,void 0,void 0,(function*(){const d=OidcClient.createHttpClient();const p=yield d.getJson(i).catch((i=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const A=(c=p.result)===null||c===void 0?void 0:c.value;if(!A){throw new Error("Response json body do not have ID Token field")}return A}))}static getIDToken(i){return p(this,void 0,void 0,(function*(){try{let c=OidcClient.getIDTokenUrl();if(i){const d=encodeURIComponent(i);c=`${c}&audience=${d}`}(0,S.debug)(`ID token url is ${c}`);const d=yield OidcClient.getCall(c);(0,S.setSecret)(d);return d}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}c.OidcClient=OidcClient},58205:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.toPlatformPath=c.toWin32Path=c.toPosixPath=void 0;const S=C(d(16928));function toPosixPath(i){return i.replace(/[\\]/g,"/")}c.toPosixPath=toPosixPath;function toWin32Path(i){return i.replace(/[/]/g,"\\")}c.toWin32Path=toWin32Path;function toPlatformPath(i){return i.replace(/[/\\]/g,S.sep)}c.toPlatformPath=toPlatformPath},50069:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.getDetails=c.isLinux=c.isMacOS=c.isWindows=c.arch=c.platform=void 0;const _=v(d(70857));const T=C(d(19497));const getWindowsInfo=()=>S(void 0,void 0,void 0,(function*(){const{stdout:i}=yield T.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:c}=yield T.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:c.trim(),version:i.trim()}}));const getMacOsInfo=()=>S(void 0,void 0,void 0,(function*(){var i,c,d,p;const{stdout:A}=yield T.getExecOutput("sw_vers",undefined,{silent:true});const C=(c=(i=A.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&c!==void 0?c:"";const S=(p=(d=A.match(/ProductName:\s*(.+)/))===null||d===void 0?void 0:d[1])!==null&&p!==void 0?p:"";return{name:S,version:C}}));const getLinuxInfo=()=>S(void 0,void 0,void 0,(function*(){const{stdout:i}=yield T.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[c,d]=i.trim().split("\n");return{name:c,version:d}}));c.platform=_.default.platform();c.arch=_.default.arch();c.isWindows=c.platform==="win32";c.isMacOS=c.platform==="darwin";c.isLinux=c.platform==="linux";function getDetails(){return S(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield c.isWindows?getWindowsInfo():c.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:c.platform,arch:c.arch,isWindows:c.isWindows,isMacOS:c.isMacOS,isLinux:c.isLinux})}))}c.getDetails=getDetails},98544:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.summary=c.markdownSummary=c.SUMMARY_DOCS_URL=c.SUMMARY_ENV_VAR=void 0;const A=d(70857);const C=d(79896);const{access:S,appendFile:v,writeFile:_}=C.promises;c.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";c.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 p(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[c.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${c.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield S(i,C.constants.R_OK|C.constants.W_OK)}catch(c){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,c,d={}){const p=Object.entries(d).map((([i,c])=>` ${i}="${c}"`)).join("");if(!c){return`<${i}${p}>`}return`<${i}${p}>${c}</${i}>`}write(i){return p(this,void 0,void 0,(function*(){const c=!!(i===null||i===void 0?void 0:i.overwrite);const d=yield this.filePath();const p=c?_:v;yield p(d,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return p(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(i,c=false){this._buffer+=i;return c?this.addEOL():this}addEOL(){return this.addRaw(A.EOL)}addCodeBlock(i,c){const d=Object.assign({},c&&{lang:c});const p=this.wrap("pre",this.wrap("code",i),d);return this.addRaw(p).addEOL()}addList(i,c=false){const d=c?"ol":"ul";const p=i.map((i=>this.wrap("li",i))).join("");const A=this.wrap(d,p);return this.addRaw(A).addEOL()}addTable(i){const c=i.map((i=>{const c=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:c,data:d,colspan:p,rowspan:A}=i;const C=c?"th":"td";const S=Object.assign(Object.assign({},p&&{colspan:p}),A&&{rowspan:A});return this.wrap(C,d,S)})).join("");return this.wrap("tr",c)})).join("");const d=this.wrap("table",c);return this.addRaw(d).addEOL()}addDetails(i,c){const d=this.wrap("details",this.wrap("summary",i)+c);return this.addRaw(d).addEOL()}addImage(i,c,d){const{width:p,height:A}=d||{};const C=Object.assign(Object.assign({},p&&{width:p}),A&&{height:A});const S=this.wrap("img",null,Object.assign({src:i,alt:c},C));return this.addRaw(S).addEOL()}addHeading(i,c){const d=`h${c}`;const p=["h1","h2","h3","h4","h5","h6"].includes(d)?d:"h1";const A=this.wrap(p,i);return this.addRaw(A).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,c){const d=Object.assign({},c&&{cite:c});const p=this.wrap("blockquote",i,d);return this.addRaw(p).addEOL()}addLink(i,c){const d=this.wrap("a",i,{href:c});return this.addRaw(d).addEOL()}}const T=new Summary;c.markdownSummary=T;c.summary=T},48529:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.toCommandProperties=c.toCommandValue=void 0;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}c.toCommandValue=toCommandValue;function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}c.toCommandProperties=toCommandProperties},19497:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.getExecOutput=c.exec=void 0;const v=d(13193);const _=C(d(42112));function exec(i,c,d){return S(this,void 0,void 0,(function*(){const p=_.argStringToArray(i);if(p.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const A=p[0];c=p.slice(1).concat(c||[]);const C=new _.ToolRunner(A,c,d);return C.exec()}))}c.exec=exec;function getExecOutput(i,c,d){var p,A;return S(this,void 0,void 0,(function*(){let C="";let S="";const _=new v.StringDecoder("utf8");const T=new v.StringDecoder("utf8");const V=(p=d===null||d===void 0?void 0:d.listeners)===null||p===void 0?void 0:p.stdout;const Z=(A=d===null||d===void 0?void 0:d.listeners)===null||A===void 0?void 0:A.stderr;const stdErrListener=i=>{S+=T.write(i);if(Z){Z(i)}};const stdOutListener=i=>{C+=_.write(i);if(V){V(i)}};const ee=Object.assign(Object.assign({},d===null||d===void 0?void 0:d.listeners),{stdout:stdOutListener,stderr:stdErrListener});const te=yield exec(i,c,Object.assign(Object.assign({},d),{listeners:ee}));C+=_.end();S+=T.end();return{exitCode:te,stdout:C,stderr:S}}))}c.getExecOutput=getExecOutput},42112:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.argStringToArray=c.ToolRunner=void 0;const v=C(d(70857));const _=C(d(24434));const T=C(d(35317));const V=C(d(16928));const Z=C(d(67523));const ee=C(d(55996));const te=d(53557);const re=process.platform==="win32";class ToolRunner extends _.EventEmitter{constructor(i,c,d){super();if(!i){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=i;this.args=c||[];this.options=d||{}}_debug(i){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(i)}}_getCommandString(i,c){const d=this._getSpawnFileName();const p=this._getSpawnArgs(i);let A=c?"":"[command]";if(re){if(this._isCmdFile()){A+=d;for(const i of p){A+=` ${i}`}}else if(i.windowsVerbatimArguments){A+=`"${d}"`;for(const i of p){A+=` ${i}`}}else{A+=this._windowsQuoteCmdArg(d);for(const i of p){A+=` ${this._windowsQuoteCmdArg(i)}`}}}else{A+=d;for(const i of p){A+=` ${i}`}}return A}_processLineBuffer(i,c,d){try{let p=c+i.toString();let A=p.indexOf(v.EOL);while(A>-1){const i=p.substring(0,A);d(i);p=p.substring(A+v.EOL.length);A=p.indexOf(v.EOL)}return p}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(re){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(re){if(this._isCmdFile()){let c=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const d of this.args){c+=" ";c+=i.windowsVerbatimArguments?d:this._windowsQuoteCmdArg(d)}c+='"';return[c]}}return this.args}_endsWith(i,c){return i.endsWith(c)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const c=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let d=false;for(const p of i){if(c.some((i=>i===p))){d=true;break}}if(!d){return i}let p='"';let A=true;for(let c=i.length;c>0;c--){p+=i[c-1];if(A&&i[c-1]==="\\"){p+="\\"}else if(i[c-1]==='"'){A=true;p+='"'}else{A=false}}p+='"';return p.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let c='"';let d=true;for(let p=i.length;p>0;p--){c+=i[p-1];if(d&&i[p-1]==="\\"){c+="\\"}else if(i[p-1]==='"'){d=true;c+="\\"}else{d=false}}c+='"';return c.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const c={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};c.outStream=i.outStream||process.stdout;c.errStream=i.errStream||process.stderr;return c}_getSpawnOptions(i,c){i=i||{};const d={};d.cwd=i.cwd;d.env=i.env;d["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){d.argv0=`"${c}"`}return d}exec(){return S(this,void 0,void 0,(function*(){if(!ee.isRooted(this.toolPath)&&(this.toolPath.includes("/")||re&&this.toolPath.includes("\\"))){this.toolPath=V.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield Z.which(this.toolPath,true);return new Promise(((i,c)=>S(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const d=this._cloneExecOptions(this.options);if(!d.silent&&d.outStream){d.outStream.write(this._getCommandString(d)+v.EOL)}const p=new ExecState(d,this.toolPath);p.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield ee.exists(this.options.cwd))){return c(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const A=this._getSpawnFileName();const C=T.spawn(A,this._getSpawnArgs(d),this._getSpawnOptions(this.options,A));let S="";if(C.stdout){C.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!d.silent&&d.outStream){d.outStream.write(i)}S=this._processLineBuffer(i,S,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let _="";if(C.stderr){C.stderr.on("data",(i=>{p.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!d.silent&&d.errStream&&d.outStream){const c=d.failOnStdErr?d.errStream:d.outStream;c.write(i)}_=this._processLineBuffer(i,_,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}C.on("error",(i=>{p.processError=i.message;p.processExited=true;p.processClosed=true;p.CheckComplete()}));C.on("exit",(i=>{p.processExitCode=i;p.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);p.CheckComplete()}));C.on("close",(i=>{p.processExitCode=i;p.processExited=true;p.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);p.CheckComplete()}));p.on("done",((d,p)=>{if(S.length>0){this.emit("stdline",S)}if(_.length>0){this.emit("errline",_)}C.removeAllListeners();if(d){c(d)}else{i(p)}}));if(this.options.input){if(!C.stdin){throw new Error("child process missing stdin")}C.stdin.end(this.options.input)}}))))}))}}c.ToolRunner=ToolRunner;function argStringToArray(i){const c=[];let d=false;let p=false;let A="";function append(i){if(p&&i!=='"'){A+="\\"}A+=i;p=false}for(let C=0;C<i.length;C++){const S=i.charAt(C);if(S==='"'){if(!p){d=!d}else{append(S)}continue}if(S==="\\"&&p){append(S);continue}if(S==="\\"&&d){p=true;continue}if(S===" "&&!d){if(A.length>0){c.push(A);A=""}continue}append(S)}if(A.length>0){c.push(A.trim())}return c}c.argStringToArray=argStringToArray;class ExecState extends _.EventEmitter{constructor(i,c){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(!c){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=c;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=te.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const c=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(c)}i._setResult()}}},55499:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.PersonalAccessTokenCredentialHandler=c.BearerCredentialHandler=c.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,c){this.username=i;this.password=c}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return d(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}c.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},28389:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.HttpClient=c.isHttps=c.HttpClientResponse=c.HttpClientError=c.getProxyUrl=c.MediaTypes=c.Headers=c.HttpCodes=void 0;const v=C(d(58611));const _=C(d(65692));const T=C(d(69869));const V=C(d(20770));var Z;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(Z=c.HttpCodes||(c.HttpCodes={}));var ee;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(ee=c.Headers||(c.Headers={}));var te;(function(i){i["ApplicationJson"]="application/json"})(te=c.MediaTypes||(c.MediaTypes={}));function getProxyUrl(i){const c=T.getProxyUrl(new URL(i));return c?c.href:""}c.getProxyUrl=getProxyUrl;const re=[Z.MovedPermanently,Z.ResourceMoved,Z.SeeOther,Z.TemporaryRedirect,Z.PermanentRedirect];const ne=[Z.BadGateway,Z.ServiceUnavailable,Z.GatewayTimeout];const ie=["OPTIONS","GET","DELETE","HEAD"];const se=10;const oe=5;class HttpClientError extends Error{constructor(i,c){super(i);this.name="HttpClientError";this.statusCode=c;Object.setPrototypeOf(this,HttpClientError.prototype)}}c.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){let c=Buffer.alloc(0);this.message.on("data",(i=>{c=Buffer.concat([c,i])}));this.message.on("end",(()=>{i(c.toString())}))}))))}))}readBodyBuffer(){return S(this,void 0,void 0,(function*(){return new Promise((i=>S(this,void 0,void 0,(function*(){const c=[];this.message.on("data",(i=>{c.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(c))}))}))))}))}}c.HttpClientResponse=HttpClientResponse;function isHttps(i){const c=new URL(i);return c.protocol==="https:"}c.isHttps=isHttps;class HttpClient{constructor(i,c,d){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=i;this.handlers=c||[];this.requestOptions=d;if(d){if(d.ignoreSslError!=null){this._ignoreSslError=d.ignoreSslError}this._socketTimeout=d.socketTimeout;if(d.allowRedirects!=null){this._allowRedirects=d.allowRedirects}if(d.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=d.allowRedirectDowngrade}if(d.maxRedirects!=null){this._maxRedirects=Math.max(d.maxRedirects,0)}if(d.keepAlive!=null){this._keepAlive=d.keepAlive}if(d.allowRetries!=null){this._allowRetries=d.allowRetries}if(d.maxRetries!=null){this._maxRetries=d.maxRetries}}}options(i,c){return S(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,c||{})}))}get(i,c){return S(this,void 0,void 0,(function*(){return this.request("GET",i,null,c||{})}))}del(i,c){return S(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,c||{})}))}post(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("POST",i,c,d||{})}))}patch(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PATCH",i,c,d||{})}))}put(i,c,d){return S(this,void 0,void 0,(function*(){return this.request("PUT",i,c,d||{})}))}head(i,c){return S(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,c||{})}))}sendStream(i,c,d,p){return S(this,void 0,void 0,(function*(){return this.request(i,c,d,p)}))}getJson(i,c={}){return S(this,void 0,void 0,(function*(){c[ee.Accept]=this._getExistingOrDefaultHeader(c,ee.Accept,te.ApplicationJson);const d=yield this.get(i,c);return this._processResponse(d,this.requestOptions)}))}postJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[ee.Accept]=this._getExistingOrDefaultHeader(d,ee.Accept,te.ApplicationJson);d[ee.ContentType]=this._getExistingOrDefaultHeader(d,ee.ContentType,te.ApplicationJson);const A=yield this.post(i,p,d);return this._processResponse(A,this.requestOptions)}))}putJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[ee.Accept]=this._getExistingOrDefaultHeader(d,ee.Accept,te.ApplicationJson);d[ee.ContentType]=this._getExistingOrDefaultHeader(d,ee.ContentType,te.ApplicationJson);const A=yield this.put(i,p,d);return this._processResponse(A,this.requestOptions)}))}patchJson(i,c,d={}){return S(this,void 0,void 0,(function*(){const p=JSON.stringify(c,null,2);d[ee.Accept]=this._getExistingOrDefaultHeader(d,ee.Accept,te.ApplicationJson);d[ee.ContentType]=this._getExistingOrDefaultHeader(d,ee.ContentType,te.ApplicationJson);const A=yield this.patch(i,p,d);return this._processResponse(A,this.requestOptions)}))}request(i,c,d,p){return S(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const A=new URL(c);let C=this._prepareRequest(i,A,p);const S=this._allowRetries&&ie.includes(i)?this._maxRetries+1:1;let v=0;let _;do{_=yield this.requestRaw(C,d);if(_&&_.message&&_.message.statusCode===Z.Unauthorized){let i;for(const c of this.handlers){if(c.canHandleAuthentication(_)){i=c;break}}if(i){return i.handleAuthentication(this,C,d)}else{return _}}let c=this._maxRedirects;while(_.message.statusCode&&re.includes(_.message.statusCode)&&this._allowRedirects&&c>0){const S=_.message.headers["location"];if(!S){break}const v=new URL(S);if(A.protocol==="https:"&&A.protocol!==v.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 _.readBody();if(v.hostname!==A.hostname){for(const i in p){if(i.toLowerCase()==="authorization"){delete p[i]}}}C=this._prepareRequest(i,v,p);_=yield this.requestRaw(C,d);c--}if(!_.message.statusCode||!ne.includes(_.message.statusCode)){return _}v+=1;if(v<S){yield _.readBody();yield this._performExponentialBackoff(v)}}while(v<S);return _}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{function callbackForResult(i,c){if(i){p(i)}else if(!c){p(new Error("Unknown error"))}else{d(c)}}this.requestRawWithCallback(i,c,callbackForResult)}))}))}requestRawWithCallback(i,c,d){if(typeof c==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(c,"utf8")}let p=false;function handleResult(i,c){if(!p){p=true;d(i,c)}}const A=i.httpModule.request(i.options,(i=>{const c=new HttpClientResponse(i);handleResult(undefined,c)}));let C;A.on("socket",(i=>{C=i}));A.setTimeout(this._socketTimeout||3*6e4,(()=>{if(C){C.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));A.on("error",(function(i){handleResult(i)}));if(c&&typeof c==="string"){A.write(c,"utf8")}if(c&&typeof c!=="string"){c.on("close",(function(){A.end()}));c.pipe(A)}else{A.end()}}getAgent(i){const c=new URL(i);return this._getAgent(c)}_prepareRequest(i,c,d){const p={};p.parsedUrl=c;const A=p.parsedUrl.protocol==="https:";p.httpModule=A?_:v;const C=A?443:80;p.options={};p.options.host=p.parsedUrl.hostname;p.options.port=p.parsedUrl.port?parseInt(p.parsedUrl.port):C;p.options.path=(p.parsedUrl.pathname||"")+(p.parsedUrl.search||"");p.options.method=i;p.options.headers=this._mergeHeaders(d);if(this.userAgent!=null){p.options.headers["user-agent"]=this.userAgent}p.options.agent=this._getAgent(p.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(p.options)}}return p}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,c,d){let p;if(this.requestOptions&&this.requestOptions.headers){p=lowercaseKeys(this.requestOptions.headers)[c]}return i[c]||p||d}_getAgent(i){let c;const d=T.getProxyUrl(i);const p=d&&d.hostname;if(this._keepAlive&&p){c=this._proxyAgent}if(this._keepAlive&&!p){c=this._agent}if(c){return c}const A=i.protocol==="https:";let C=100;if(this.requestOptions){C=this.requestOptions.maxSockets||v.globalAgent.maxSockets}if(d&&d.hostname){const i={maxSockets:C,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(d.username||d.password)&&{proxyAuth:`${d.username}:${d.password}`}),{host:d.hostname,port:d.port})};let p;const S=d.protocol==="https:";if(A){p=S?V.httpsOverHttps:V.httpsOverHttp}else{p=S?V.httpOverHttps:V.httpOverHttp}c=p(i);this._proxyAgent=c}if(this._keepAlive&&!c){const i={keepAlive:this._keepAlive,maxSockets:C};c=A?new _.Agent(i):new v.Agent(i);this._agent=c}if(!c){c=A?_.globalAgent:v.globalAgent}if(A&&this._ignoreSslError){c.options=Object.assign(c.options||{},{rejectUnauthorized:false})}return c}_performExponentialBackoff(i){return S(this,void 0,void 0,(function*(){i=Math.min(se,i);const c=oe*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),c)))}))}_processResponse(i,c){return S(this,void 0,void 0,(function*(){return new Promise(((d,p)=>S(this,void 0,void 0,(function*(){const A=i.message.statusCode||0;const C={statusCode:A,result:null,headers:{}};if(A===Z.NotFound){d(C)}function dateTimeDeserializer(i,c){if(typeof c==="string"){const i=new Date(c);if(!isNaN(i.valueOf())){return i}}return c}let S;let v;try{v=yield i.readBody();if(v&&v.length>0){if(c&&c.deserializeDates){S=JSON.parse(v,dateTimeDeserializer)}else{S=JSON.parse(v)}C.result=S}C.headers=i.message.headers}catch(i){}if(A>299){let i;if(S&&S.message){i=S.message}else if(v&&v.length>0){i=v}else{i=`Failed request: (${A})`}const c=new HttpClientError(i,A);c.result=C.result;p(c)}else{d(C)}}))))}))}}c.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((c,d)=>(c[d.toLowerCase()]=i[d],c)),{})},69869:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.checkBypass=c.getProxyUrl=void 0;function getProxyUrl(i){const c=i.protocol==="https:";if(checkBypass(i)){return undefined}const d=(()=>{if(c){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(d){try{return new URL(d)}catch(i){if(!d.startsWith("http://")&&!d.startsWith("https://"))return new URL(`http://${d}`)}}else{return undefined}}c.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const c=i.hostname;if(isLoopbackAddress(c)){return true}const d=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!d){return false}let p;if(i.port){p=Number(i.port)}else if(i.protocol==="http:"){p=80}else if(i.protocol==="https:"){p=443}const A=[i.hostname.toUpperCase()];if(typeof p==="number"){A.push(`${A[0]}:${p}`)}for(const i of d.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||A.some((c=>c===i||c.endsWith(`.${i}`)||i.startsWith(".")&&c.endsWith(`${i}`)))){return true}}return false}c.checkBypass=checkBypass;function isLoopbackAddress(i){const c=i.toLowerCase();return c==="localhost"||c.startsWith("127.")||c.startsWith("[::1]")||c.startsWith("[0:0:0:0:0:0:0:1]")}},55996:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v;Object.defineProperty(c,"__esModule",{value:true});c.getCmdPath=c.tryGetExecutablePath=c.isRooted=c.isDirectory=c.exists=c.READONLY=c.UV_FS_O_EXLOCK=c.IS_WINDOWS=c.unlink=c.symlink=c.stat=c.rmdir=c.rm=c.rename=c.readlink=c.readdir=c.open=c.mkdir=c.lstat=c.copyFile=c.chmod=void 0;const _=C(d(79896));const T=C(d(16928));v=_.promises,c.chmod=v.chmod,c.copyFile=v.copyFile,c.lstat=v.lstat,c.mkdir=v.mkdir,c.open=v.open,c.readdir=v.readdir,c.readlink=v.readlink,c.rename=v.rename,c.rm=v.rm,c.rmdir=v.rmdir,c.stat=v.stat,c.symlink=v.symlink,c.unlink=v.unlink;c.IS_WINDOWS=process.platform==="win32";c.UV_FS_O_EXLOCK=268435456;c.READONLY=_.constants.O_RDONLY;function exists(i){return S(this,void 0,void 0,(function*(){try{yield c.stat(i)}catch(i){if(i.code==="ENOENT"){return false}throw i}return true}))}c.exists=exists;function isDirectory(i,d=false){return S(this,void 0,void 0,(function*(){const p=d?yield c.stat(i):yield c.lstat(i);return p.isDirectory()}))}c.isDirectory=isDirectory;function isRooted(i){i=normalizeSeparators(i);if(!i){throw new Error('isRooted() parameter "p" cannot be empty')}if(c.IS_WINDOWS){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}c.isRooted=isRooted;function tryGetExecutablePath(i,d){return S(this,void 0,void 0,(function*(){let p=undefined;try{p=yield c.stat(i)}catch(c){if(c.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${c}`)}}if(p&&p.isFile()){if(c.IS_WINDOWS){const c=T.extname(i).toUpperCase();if(d.some((i=>i.toUpperCase()===c))){return i}}else{if(isUnixExecutable(p)){return i}}}const A=i;for(const C of d){i=A+C;p=undefined;try{p=yield c.stat(i)}catch(c){if(c.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${c}`)}}if(p&&p.isFile()){if(c.IS_WINDOWS){try{const d=T.dirname(i);const p=T.basename(i).toUpperCase();for(const A of yield c.readdir(d)){if(p===A.toUpperCase()){i=T.join(d,A);break}}}catch(c){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${c}`)}return i}else{if(isUnixExecutable(p)){return i}}}}return""}))}c.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(i){i=i||"";if(c.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&i.gid===process.getgid()||(i.mode&64)>0&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}c.getCmdPath=getCmdPath},67523:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;Object.defineProperty(i,p,{enumerable:true,get:function(){return c[d]}})}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.findInPath=c.which=c.mkdirP=c.rmRF=c.mv=c.cp=void 0;const v=d(42613);const _=C(d(16928));const T=C(d(55996));function cp(i,c,d={}){return S(this,void 0,void 0,(function*(){const{force:p,recursive:A,copySourceDirectory:C}=readCopyOptions(d);const S=(yield T.exists(c))?yield T.stat(c):null;if(S&&S.isFile()&&!p){return}const v=S&&S.isDirectory()&&C?_.join(c,_.basename(i)):c;if(!(yield T.exists(i))){throw new Error(`no such file or directory: ${i}`)}const V=yield T.stat(i);if(V.isDirectory()){if(!A){throw new Error(`Failed to copy. ${i} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(i,v,0,p)}}else{if(_.relative(i,v)===""){throw new Error(`'${v}' and '${i}' are the same file`)}yield copyFile(i,v,p)}}))}c.cp=cp;function mv(i,c,d={}){return S(this,void 0,void 0,(function*(){if(yield T.exists(c)){let p=true;if(yield T.isDirectory(c)){c=_.join(c,_.basename(i));p=yield T.exists(c)}if(p){if(d.force==null||d.force){yield rmRF(c)}else{throw new Error("Destination already exists")}}}yield mkdirP(_.dirname(c));yield T.rename(i,c)}))}c.mv=mv;function rmRF(i){return S(this,void 0,void 0,(function*(){if(T.IS_WINDOWS){if(/[*"<>|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield T.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}c.rmRF=rmRF;function mkdirP(i){return S(this,void 0,void 0,(function*(){v.ok(i,"a path argument must be provided");yield T.mkdir(i,{recursive:true})}))}c.mkdirP=mkdirP;function which(i,c){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(c){const c=yield which(i,false);if(!c){if(T.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${i}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return c}const d=yield findInPath(i);if(d&&d.length>0){return d[0]}return""}))}c.which=which;function findInPath(i){return S(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const c=[];if(T.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(_.delimiter)){if(i){c.push(i)}}}if(T.isRooted(i)){const d=yield T.tryGetExecutablePath(i,c);if(d){return[d]}return[]}if(i.includes(_.sep)){return[]}const d=[];if(process.env.PATH){for(const i of process.env.PATH.split(_.delimiter)){if(i){d.push(i)}}}const p=[];for(const A of d){const d=yield T.tryGetExecutablePath(_.join(A,i),c);if(d){p.push(d)}}return p}))}c.findInPath=findInPath;function readCopyOptions(i){const c=i.force==null?true:i.force;const d=Boolean(i.recursive);const p=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:c,recursive:d,copySourceDirectory:p}}function cpDirRecursive(i,c,d,p){return S(this,void 0,void 0,(function*(){if(d>=255)return;d++;yield mkdirP(c);const A=yield T.readdir(i);for(const C of A){const A=`${i}/${C}`;const S=`${c}/${C}`;const v=yield T.lstat(A);if(v.isDirectory()){yield cpDirRecursive(A,S,d,p)}else{yield copyFile(A,S,p)}}yield T.chmod(c,(yield T.stat(i)).mode)}))}function copyFile(i,c,d){return S(this,void 0,void 0,(function*(){if((yield T.lstat(i)).isSymbolicLink()){try{yield T.lstat(c);yield T.unlink(c)}catch(i){if(i.code==="EPERM"){yield T.chmod(c,"0666");yield T.unlink(c)}}const d=yield T.readlink(i);yield T.symlink(d,c,T.IS_WINDOWS?"junction":null)}else if(!(yield T.exists(c))||d){yield T.copyFile(i,c)}}))}},46193:(i,c)=>{c=i.exports=SemVer;var d;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){d=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{d=function(){}}c.SEMVER_SPEC_VERSION="2.0.0";var p=256;var A=Number.MAX_SAFE_INTEGER||9007199254740991;var C=16;var S=c.re=[];var v=c.src=[];var _=c.tokens={};var T=0;function tok(i){_[i]=T++}tok("NUMERICIDENTIFIER");v[_.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");v[_.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");v[_.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");v[_.MAINVERSION]="("+v[_.NUMERICIDENTIFIER]+")\\."+"("+v[_.NUMERICIDENTIFIER]+")\\."+"("+v[_.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");v[_.MAINVERSIONLOOSE]="("+v[_.NUMERICIDENTIFIERLOOSE]+")\\."+"("+v[_.NUMERICIDENTIFIERLOOSE]+")\\."+"("+v[_.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");v[_.PRERELEASEIDENTIFIER]="(?:"+v[_.NUMERICIDENTIFIER]+"|"+v[_.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");v[_.PRERELEASEIDENTIFIERLOOSE]="(?:"+v[_.NUMERICIDENTIFIERLOOSE]+"|"+v[_.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");v[_.PRERELEASE]="(?:-("+v[_.PRERELEASEIDENTIFIER]+"(?:\\."+v[_.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");v[_.PRERELEASELOOSE]="(?:-?("+v[_.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+v[_.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");v[_.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");v[_.BUILD]="(?:\\+("+v[_.BUILDIDENTIFIER]+"(?:\\."+v[_.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");v[_.FULLPLAIN]="v?"+v[_.MAINVERSION]+v[_.PRERELEASE]+"?"+v[_.BUILD]+"?";v[_.FULL]="^"+v[_.FULLPLAIN]+"$";tok("LOOSEPLAIN");v[_.LOOSEPLAIN]="[v=\\s]*"+v[_.MAINVERSIONLOOSE]+v[_.PRERELEASELOOSE]+"?"+v[_.BUILD]+"?";tok("LOOSE");v[_.LOOSE]="^"+v[_.LOOSEPLAIN]+"$";tok("GTLT");v[_.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");v[_.XRANGEIDENTIFIERLOOSE]=v[_.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");v[_.XRANGEIDENTIFIER]=v[_.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");v[_.XRANGEPLAIN]="[v=\\s]*("+v[_.XRANGEIDENTIFIER]+")"+"(?:\\.("+v[_.XRANGEIDENTIFIER]+")"+"(?:\\.("+v[_.XRANGEIDENTIFIER]+")"+"(?:"+v[_.PRERELEASE]+")?"+v[_.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");v[_.XRANGEPLAINLOOSE]="[v=\\s]*("+v[_.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+v[_.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+v[_.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+v[_.PRERELEASELOOSE]+")?"+v[_.BUILD]+"?"+")?)?";tok("XRANGE");v[_.XRANGE]="^"+v[_.GTLT]+"\\s*"+v[_.XRANGEPLAIN]+"$";tok("XRANGELOOSE");v[_.XRANGELOOSE]="^"+v[_.GTLT]+"\\s*"+v[_.XRANGEPLAINLOOSE]+"$";tok("COERCE");v[_.COERCE]="(^|[^\\d])"+"(\\d{1,"+C+"})"+"(?:\\.(\\d{1,"+C+"}))?"+"(?:\\.(\\d{1,"+C+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");S[_.COERCERTL]=new RegExp(v[_.COERCE],"g");tok("LONETILDE");v[_.LONETILDE]="(?:~>?)";tok("TILDETRIM");v[_.TILDETRIM]="(\\s*)"+v[_.LONETILDE]+"\\s+";S[_.TILDETRIM]=new RegExp(v[_.TILDETRIM],"g");var V="$1~";tok("TILDE");v[_.TILDE]="^"+v[_.LONETILDE]+v[_.XRANGEPLAIN]+"$";tok("TILDELOOSE");v[_.TILDELOOSE]="^"+v[_.LONETILDE]+v[_.XRANGEPLAINLOOSE]+"$";tok("LONECARET");v[_.LONECARET]="(?:\\^)";tok("CARETTRIM");v[_.CARETTRIM]="(\\s*)"+v[_.LONECARET]+"\\s+";S[_.CARETTRIM]=new RegExp(v[_.CARETTRIM],"g");var Z="$1^";tok("CARET");v[_.CARET]="^"+v[_.LONECARET]+v[_.XRANGEPLAIN]+"$";tok("CARETLOOSE");v[_.CARETLOOSE]="^"+v[_.LONECARET]+v[_.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");v[_.COMPARATORLOOSE]="^"+v[_.GTLT]+"\\s*("+v[_.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");v[_.COMPARATOR]="^"+v[_.GTLT]+"\\s*("+v[_.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");v[_.COMPARATORTRIM]="(\\s*)"+v[_.GTLT]+"\\s*("+v[_.LOOSEPLAIN]+"|"+v[_.XRANGEPLAIN]+")";S[_.COMPARATORTRIM]=new RegExp(v[_.COMPARATORTRIM],"g");var ee="$1$2$3";tok("HYPHENRANGE");v[_.HYPHENRANGE]="^\\s*("+v[_.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+v[_.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");v[_.HYPHENRANGELOOSE]="^\\s*("+v[_.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+v[_.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");v[_.STAR]="(<|>)?=?\\s*\\*";for(var te=0;te<T;te++){d(te,v[te]);if(!S[te]){S[te]=new RegExp(v[te])}}c.parse=parse;function parse(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof SemVer){return i}if(typeof i!=="string"){return null}if(i.length>p){return null}var d=c.loose?S[_.LOOSE]:S[_.FULL];if(!d.test(i)){return null}try{return new SemVer(i,c)}catch(i){return null}}c.valid=valid;function valid(i,c){var d=parse(i,c);return d?d.version:null}c.clean=clean;function clean(i,c){var d=parse(i.trim().replace(/^[=v]+/,""),c);return d?d.version:null}c.SemVer=SemVer;function SemVer(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof SemVer){if(i.loose===c.loose){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError("Invalid Version: "+i)}if(i.length>p){throw new TypeError("version is longer than "+p+" characters")}if(!(this instanceof SemVer)){return new SemVer(i,c)}d("SemVer",i,c);this.options=c;this.loose=!!c.loose;var C=i.trim().match(c.loose?S[_.LOOSE]:S[_.FULL]);if(!C){throw new TypeError("Invalid Version: "+i)}this.raw=i;this.major=+C[1];this.minor=+C[2];this.patch=+C[3];if(this.major>A||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>A||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>A||this.patch<0){throw new TypeError("Invalid patch version")}if(!C[4]){this.prerelease=[]}else{this.prerelease=C[4].split(".").map((function(i){if(/^[0-9]+$/.test(i)){var c=+i;if(c>=0&&c<A){return c}}return i}))}this.build=C[5]?C[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(i){d("SemVer.compare",this.version,this.options,i);if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}return this.compareMain(i)||this.comparePre(i)};SemVer.prototype.compareMain=function(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}return compareIdentifiers(this.major,i.major)||compareIdentifiers(this.minor,i.minor)||compareIdentifiers(this.patch,i.patch)};SemVer.prototype.comparePre=function(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.prerelease.length&&!i.prerelease.length){return-1}else if(!this.prerelease.length&&i.prerelease.length){return 1}else if(!this.prerelease.length&&!i.prerelease.length){return 0}var c=0;do{var p=this.prerelease[c];var A=i.prerelease[c];d("prerelease compare",c,p,A);if(p===undefined&&A===undefined){return 0}else if(A===undefined){return 1}else if(p===undefined){return-1}else if(p===A){continue}else{return compareIdentifiers(p,A)}}while(++c)};SemVer.prototype.compareBuild=function(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}var c=0;do{var p=this.build[c];var A=i.build[c];d("prerelease compare",c,p,A);if(p===undefined&&A===undefined){return 0}else if(A===undefined){return 1}else if(p===undefined){return-1}else if(p===A){continue}else{return compareIdentifiers(p,A)}}while(++c)};SemVer.prototype.inc=function(i,c){switch(i){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",c);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",c);break;case"prepatch":this.prerelease.length=0;this.inc("patch",c);this.inc("pre",c);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",c)}this.inc("pre",c);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var d=this.prerelease.length;while(--d>=0){if(typeof this.prerelease[d]==="number"){this.prerelease[d]++;d=-2}}if(d===-1){this.prerelease.push(0)}}if(c){if(this.prerelease[0]===c){if(isNaN(this.prerelease[1])){this.prerelease=[c,0]}}else{this.prerelease=[c,0]}}break;default:throw new Error("invalid increment argument: "+i)}this.format();this.raw=this.version;return this};c.inc=inc;function inc(i,c,d,p){if(typeof d==="string"){p=d;d=undefined}try{return new SemVer(i,d).inc(c,p).version}catch(i){return null}}c.diff=diff;function diff(i,c){if(eq(i,c)){return null}else{var d=parse(i);var p=parse(c);var A="";if(d.prerelease.length||p.prerelease.length){A="pre";var C="prerelease"}for(var S in d){if(S==="major"||S==="minor"||S==="patch"){if(d[S]!==p[S]){return A+S}}}return C}}c.compareIdentifiers=compareIdentifiers;var re=/^[0-9]+$/;function compareIdentifiers(i,c){var d=re.test(i);var p=re.test(c);if(d&&p){i=+i;c=+c}return i===c?0:d&&!p?-1:p&&!d?1:i<c?-1:1}c.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(i,c){return compareIdentifiers(c,i)}c.major=major;function major(i,c){return new SemVer(i,c).major}c.minor=minor;function minor(i,c){return new SemVer(i,c).minor}c.patch=patch;function patch(i,c){return new SemVer(i,c).patch}c.compare=compare;function compare(i,c,d){return new SemVer(i,d).compare(new SemVer(c,d))}c.compareLoose=compareLoose;function compareLoose(i,c){return compare(i,c,true)}c.compareBuild=compareBuild;function compareBuild(i,c,d){var p=new SemVer(i,d);var A=new SemVer(c,d);return p.compare(A)||p.compareBuild(A)}c.rcompare=rcompare;function rcompare(i,c,d){return compare(c,i,d)}c.sort=sort;function sort(i,d){return i.sort((function(i,p){return c.compareBuild(i,p,d)}))}c.rsort=rsort;function rsort(i,d){return i.sort((function(i,p){return c.compareBuild(p,i,d)}))}c.gt=gt;function gt(i,c,d){return compare(i,c,d)>0}c.lt=lt;function lt(i,c,d){return compare(i,c,d)<0}c.eq=eq;function eq(i,c,d){return compare(i,c,d)===0}c.neq=neq;function neq(i,c,d){return compare(i,c,d)!==0}c.gte=gte;function gte(i,c,d){return compare(i,c,d)>=0}c.lte=lte;function lte(i,c,d){return compare(i,c,d)<=0}c.cmp=cmp;function cmp(i,c,d,p){switch(c){case"===":if(typeof i==="object")i=i.version;if(typeof d==="object")d=d.version;return i===d;case"!==":if(typeof i==="object")i=i.version;if(typeof d==="object")d=d.version;return i!==d;case"":case"=":case"==":return eq(i,d,p);case"!=":return neq(i,d,p);case">":return gt(i,d,p);case">=":return gte(i,d,p);case"<":return lt(i,d,p);case"<=":return lte(i,d,p);default:throw new TypeError("Invalid operator: "+c)}}c.Comparator=Comparator;function Comparator(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof Comparator){if(i.loose===!!c.loose){return i}else{i=i.value}}if(!(this instanceof Comparator)){return new Comparator(i,c)}d("comparator",i,c);this.options=c;this.loose=!!c.loose;this.parse(i);if(this.semver===ne){this.value=""}else{this.value=this.operator+this.semver.version}d("comp",this)}var ne={};Comparator.prototype.parse=function(i){var c=this.options.loose?S[_.COMPARATORLOOSE]:S[_.COMPARATOR];var d=i.match(c);if(!d){throw new TypeError("Invalid comparator: "+i)}this.operator=d[1]!==undefined?d[1]:"";if(this.operator==="="){this.operator=""}if(!d[2]){this.semver=ne}else{this.semver=new SemVer(d[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(i){d("Comparator.test",i,this.options.loose);if(this.semver===ne||i===ne){return true}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}return cmp(i,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(i,c){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}var d;if(this.operator===""){if(this.value===""){return true}d=new Range(i.value,c);return satisfies(this.value,d,c)}else if(i.operator===""){if(i.value===""){return true}d=new Range(this.value,c);return satisfies(i.semver,d,c)}var p=(this.operator===">="||this.operator===">")&&(i.operator===">="||i.operator===">");var A=(this.operator==="<="||this.operator==="<")&&(i.operator==="<="||i.operator==="<");var C=this.semver.version===i.semver.version;var S=(this.operator===">="||this.operator==="<=")&&(i.operator===">="||i.operator==="<=");var v=cmp(this.semver,"<",i.semver,c)&&((this.operator===">="||this.operator===">")&&(i.operator==="<="||i.operator==="<"));var _=cmp(this.semver,">",i.semver,c)&&((this.operator==="<="||this.operator==="<")&&(i.operator===">="||i.operator===">"));return p||A||C&&S||v||_};c.Range=Range;function Range(i,c){if(!c||typeof c!=="object"){c={loose:!!c,includePrerelease:false}}if(i instanceof Range){if(i.loose===!!c.loose&&i.includePrerelease===!!c.includePrerelease){return i}else{return new Range(i.raw,c)}}if(i instanceof Comparator){return new Range(i.value,c)}if(!(this instanceof Range)){return new Range(i,c)}this.options=c;this.loose=!!c.loose;this.includePrerelease=!!c.includePrerelease;this.raw=i;this.set=i.split(/\s*\|\|\s*/).map((function(i){return this.parseRange(i.trim())}),this).filter((function(i){return i.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+i)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(i){return i.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(i){var c=this.options.loose;i=i.trim();var p=c?S[_.HYPHENRANGELOOSE]:S[_.HYPHENRANGE];i=i.replace(p,hyphenReplace);d("hyphen replace",i);i=i.replace(S[_.COMPARATORTRIM],ee);d("comparator trim",i,S[_.COMPARATORTRIM]);i=i.replace(S[_.TILDETRIM],V);i=i.replace(S[_.CARETTRIM],Z);i=i.split(/\s+/).join(" ");var A=c?S[_.COMPARATORLOOSE]:S[_.COMPARATOR];var C=i.split(" ").map((function(i){return parseComparator(i,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){C=C.filter((function(i){return!!i.match(A)}))}C=C.map((function(i){return new Comparator(i,this.options)}),this);return C};Range.prototype.intersects=function(i,c){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(d){return isSatisfiable(d,c)&&i.set.some((function(i){return isSatisfiable(i,c)&&d.every((function(d){return i.every((function(i){return d.intersects(i,c)}))}))}))}))};function isSatisfiable(i,c){var d=true;var p=i.slice();var A=p.pop();while(d&&p.length){d=p.every((function(i){return A.intersects(i,c)}));A=p.pop()}return d}c.toComparators=toComparators;function toComparators(i,c){return new Range(i,c).set.map((function(i){return i.map((function(i){return i.value})).join(" ").trim().split(" ")}))}function parseComparator(i,c){d("comp",i,c);i=replaceCarets(i,c);d("caret",i);i=replaceTildes(i,c);d("tildes",i);i=replaceXRanges(i,c);d("xrange",i);i=replaceStars(i,c);d("stars",i);return i}function isX(i){return!i||i.toLowerCase()==="x"||i==="*"}function replaceTildes(i,c){return i.trim().split(/\s+/).map((function(i){return replaceTilde(i,c)})).join(" ")}function replaceTilde(i,c){var p=c.loose?S[_.TILDELOOSE]:S[_.TILDE];return i.replace(p,(function(c,p,A,C,S){d("tilde",i,c,p,A,C,S);var v;if(isX(p)){v=""}else if(isX(A)){v=">="+p+".0.0 <"+(+p+1)+".0.0"}else if(isX(C)){v=">="+p+"."+A+".0 <"+p+"."+(+A+1)+".0"}else if(S){d("replaceTilde pr",S);v=">="+p+"."+A+"."+C+"-"+S+" <"+p+"."+(+A+1)+".0"}else{v=">="+p+"."+A+"."+C+" <"+p+"."+(+A+1)+".0"}d("tilde return",v);return v}))}function replaceCarets(i,c){return i.trim().split(/\s+/).map((function(i){return replaceCaret(i,c)})).join(" ")}function replaceCaret(i,c){d("caret",i,c);var p=c.loose?S[_.CARETLOOSE]:S[_.CARET];return i.replace(p,(function(c,p,A,C,S){d("caret",i,c,p,A,C,S);var v;if(isX(p)){v=""}else if(isX(A)){v=">="+p+".0.0 <"+(+p+1)+".0.0"}else if(isX(C)){if(p==="0"){v=">="+p+"."+A+".0 <"+p+"."+(+A+1)+".0"}else{v=">="+p+"."+A+".0 <"+(+p+1)+".0.0"}}else if(S){d("replaceCaret pr",S);if(p==="0"){if(A==="0"){v=">="+p+"."+A+"."+C+"-"+S+" <"+p+"."+A+"."+(+C+1)}else{v=">="+p+"."+A+"."+C+"-"+S+" <"+p+"."+(+A+1)+".0"}}else{v=">="+p+"."+A+"."+C+"-"+S+" <"+(+p+1)+".0.0"}}else{d("no pr");if(p==="0"){if(A==="0"){v=">="+p+"."+A+"."+C+" <"+p+"."+A+"."+(+C+1)}else{v=">="+p+"."+A+"."+C+" <"+p+"."+(+A+1)+".0"}}else{v=">="+p+"."+A+"."+C+" <"+(+p+1)+".0.0"}}d("caret return",v);return v}))}function replaceXRanges(i,c){d("replaceXRanges",i,c);return i.split(/\s+/).map((function(i){return replaceXRange(i,c)})).join(" ")}function replaceXRange(i,c){i=i.trim();var p=c.loose?S[_.XRANGELOOSE]:S[_.XRANGE];return i.replace(p,(function(p,A,C,S,v,_){d("xRange",i,p,A,C,S,v,_);var T=isX(C);var V=T||isX(S);var Z=V||isX(v);var ee=Z;if(A==="="&&ee){A=""}_=c.includePrerelease?"-0":"";if(T){if(A===">"||A==="<"){p="<0.0.0-0"}else{p="*"}}else if(A&&ee){if(V){S=0}v=0;if(A===">"){A=">=";if(V){C=+C+1;S=0;v=0}else{S=+S+1;v=0}}else if(A==="<="){A="<";if(V){C=+C+1}else{S=+S+1}}p=A+C+"."+S+"."+v+_}else if(V){p=">="+C+".0.0"+_+" <"+(+C+1)+".0.0"+_}else if(Z){p=">="+C+"."+S+".0"+_+" <"+C+"."+(+S+1)+".0"+_}d("xRange return",p);return p}))}function replaceStars(i,c){d("replaceStars",i,c);return i.trim().replace(S[_.STAR],"")}function hyphenReplace(i,c,d,p,A,C,S,v,_,T,V,Z,ee){if(isX(d)){c=""}else if(isX(p)){c=">="+d+".0.0"}else if(isX(A)){c=">="+d+"."+p+".0"}else{c=">="+c}if(isX(_)){v=""}else if(isX(T)){v="<"+(+_+1)+".0.0"}else if(isX(V)){v="<"+_+"."+(+T+1)+".0"}else if(Z){v="<="+_+"."+T+"."+V+"-"+Z}else{v="<="+v}return(c+" "+v).trim()}Range.prototype.test=function(i){if(!i){return false}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}for(var c=0;c<this.set.length;c++){if(testSet(this.set[c],i,this.options)){return true}}return false};function testSet(i,c,p){for(var A=0;A<i.length;A++){if(!i[A].test(c)){return false}}if(c.prerelease.length&&!p.includePrerelease){for(A=0;A<i.length;A++){d(i[A].semver);if(i[A].semver===ne){continue}if(i[A].semver.prerelease.length>0){var C=i[A].semver;if(C.major===c.major&&C.minor===c.minor&&C.patch===c.patch){return true}}}return false}return true}c.satisfies=satisfies;function satisfies(i,c,d){try{c=new Range(c,d)}catch(i){return false}return c.test(i)}c.maxSatisfying=maxSatisfying;function maxSatisfying(i,c,d){var p=null;var A=null;try{var C=new Range(c,d)}catch(i){return null}i.forEach((function(i){if(C.test(i)){if(!p||A.compare(i)===-1){p=i;A=new SemVer(p,d)}}}));return p}c.minSatisfying=minSatisfying;function minSatisfying(i,c,d){var p=null;var A=null;try{var C=new Range(c,d)}catch(i){return null}i.forEach((function(i){if(C.test(i)){if(!p||A.compare(i)===1){p=i;A=new SemVer(p,d)}}}));return p}c.minVersion=minVersion;function minVersion(i,c){i=new Range(i,c);var d=new SemVer("0.0.0");if(i.test(d)){return d}d=new SemVer("0.0.0-0");if(i.test(d)){return d}d=null;for(var p=0;p<i.set.length;++p){var A=i.set[p];A.forEach((function(i){var c=new SemVer(i.semver.version);switch(i.operator){case">":if(c.prerelease.length===0){c.patch++}else{c.prerelease.push(0)}c.raw=c.format();case"":case">=":if(!d||gt(d,c)){d=c}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}}))}if(d&&i.test(d)){return d}return null}c.validRange=validRange;function validRange(i,c){try{return new Range(i,c).range||"*"}catch(i){return null}}c.ltr=ltr;function ltr(i,c,d){return outside(i,c,"<",d)}c.gtr=gtr;function gtr(i,c,d){return outside(i,c,">",d)}c.outside=outside;function outside(i,c,d,p){i=new SemVer(i,p);c=new Range(c,p);var A,C,S,v,_;switch(d){case">":A=gt;C=lte;S=lt;v=">";_=">=";break;case"<":A=lt;C=gte;S=gt;v="<";_="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(i,c,p)){return false}for(var T=0;T<c.set.length;++T){var V=c.set[T];var Z=null;var ee=null;V.forEach((function(i){if(i.semver===ne){i=new Comparator(">=0.0.0")}Z=Z||i;ee=ee||i;if(A(i.semver,Z.semver,p)){Z=i}else if(S(i.semver,ee.semver,p)){ee=i}}));if(Z.operator===v||Z.operator===_){return false}if((!ee.operator||ee.operator===v)&&C(i,ee.semver)){return false}else if(ee.operator===_&&S(i,ee.semver)){return false}}return true}c.prerelease=prerelease;function prerelease(i,c){var d=parse(i,c);return d&&d.prerelease.length?d.prerelease:null}c.intersects=intersects;function intersects(i,c,d){i=new Range(i,d);c=new Range(c,d);return i.intersects(c)}c.coerce=coerce;function coerce(i,c){if(i instanceof SemVer){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}c=c||{};var d=null;if(!c.rtl){d=i.match(S[_.COERCE])}else{var p;while((p=S[_.COERCERTL].exec(i))&&(!d||d.index+d[0].length!==i.length)){if(!d||p.index+p[0].length!==d.index+d[0].length){d=p}S[_.COERCERTL].lastIndex=p.index+p[1].length+p[2].length}S[_.COERCERTL].lastIndex=-1}if(d===null){return null}return parse(d[2]+"."+(d[3]||"0")+"."+(d[4]||"0"),c)}},15862:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(45004);var A=d(81391);var C=d(7132);const S=p.createClientLogger("core-lro");const v=2e3;const _=["succeeded","canceled","failed"];function deserializeState(i){try{return JSON.parse(i).state}catch(c){throw new Error(`Unable to deserialize input state: ${i}`)}}function setStateError(i){const{state:c,stateProxy:d,isOperationError:p}=i;return i=>{if(p(i)){d.setError(c,i);d.setFailed(c)}throw i}}function appendReadableErrorMessage(i,c){let d=i;if(d.slice(-1)!=="."){d=d+"."}return d+" "+c}function simplifyError(i){let c=i.message;let d=i.code;let p=i;while(p.innererror){p=p.innererror;d=p.code;c=appendReadableErrorMessage(c,p.message)}return{code:d,message:c}}function processOperationStatus(i){const{state:c,stateProxy:d,status:p,isDone:A,processResult:C,getError:v,response:_,setErrorAsResult:T}=i;switch(p){case"succeeded":{d.setSucceeded(c);break}case"failed":{const i=v===null||v===void 0?void 0:v(_);let p="";if(i){const{code:c,message:d}=simplifyError(i);p=`. ${c}. ${d}`}const A=`The long-running operation has failed${p}`;d.setError(c,new Error(A));d.setFailed(c);S.warning(A);break}case"canceled":{d.setCanceled(c);break}}if((A===null||A===void 0?void 0:A(_,c))||A===undefined&&["succeeded","canceled"].concat(T?[]:["failed"]).includes(p)){d.setResult(c,buildResult({response:_,state:c,processResult:C}))}}function buildResult(i){const{processResult:c,response:d,state:p}=i;return c?c(d,p):d}async function initOperation(i){const{init:c,stateProxy:d,processResult:p,getOperationStatus:A,withOperationLocation:C,setErrorAsResult:v}=i;const{operationLocation:_,resourceLocation:T,metadata:V,response:Z}=await c();if(_)C===null||C===void 0?void 0:C(_,false);const ee={metadata:V,operationLocation:_,resourceLocation:T};S.verbose(`LRO: Operation description:`,ee);const te=d.initState(ee);const re=A({response:Z,state:te,operationLocation:_});processOperationStatus({state:te,status:re,stateProxy:d,response:Z,setErrorAsResult:v,processResult:p});return te}async function pollOperationHelper(i){const{poll:c,state:d,stateProxy:p,operationLocation:A,getOperationStatus:C,getResourceLocation:v,isOperationError:T,options:V}=i;const Z=await c(A,V).catch(setStateError({state:d,stateProxy:p,isOperationError:T}));const ee=C(Z,d);S.verbose(`LRO: Status:\n\tPolling from: ${d.config.operationLocation}\n\tOperation status: ${ee}\n\tPolling status: ${_.includes(ee)?"Stopped":"Running"}`);if(ee==="succeeded"){const i=v(Z,d);if(i!==undefined){return{response:await c(i).catch(setStateError({state:d,stateProxy:p,isOperationError:T})),status:ee}}}return{response:Z,status:ee}}async function pollOperation(i){const{poll:c,state:d,stateProxy:p,options:A,getOperationStatus:C,getResourceLocation:S,getOperationLocation:v,isOperationError:T,withOperationLocation:V,getPollingInterval:Z,processResult:ee,getError:te,updateState:re,setDelay:ne,isDone:ie,setErrorAsResult:se}=i;const{operationLocation:oe}=d.config;if(oe!==undefined){const{response:i,status:ae}=await pollOperationHelper({poll:c,getOperationStatus:C,state:d,stateProxy:p,operationLocation:oe,getResourceLocation:S,isOperationError:T,options:A});processOperationStatus({status:ae,response:i,state:d,stateProxy:p,isDone:ie,processResult:ee,getError:te,setErrorAsResult:se});if(!_.includes(ae)){const c=Z===null||Z===void 0?void 0:Z(i);if(c)ne(c);const p=v===null||v===void 0?void 0:v(i,d);if(p!==undefined){const i=oe!==p;d.config.operationLocation=p;V===null||V===void 0?void 0:V(p,i)}else V===null||V===void 0?void 0:V(oe,false)}re===null||re===void 0?void 0:re(d,i)}}function getOperationLocationPollingUrl(i){const{azureAsyncOperation:c,operationLocation:d}=i;return d!==null&&d!==void 0?d:c}function getLocationHeader(i){return i.headers["location"]}function getOperationLocationHeader(i){return i.headers["operation-location"]}function getAzureAsyncOperationHeader(i){return i.headers["azure-asyncoperation"]}function findResourceLocation(i){var c;const{location:d,requestMethod:p,requestPath:A,resourceLocationConfig:C}=i;switch(p){case"PUT":{return A}case"DELETE":{return undefined}case"PATCH":{return(c=getDefault())!==null&&c!==void 0?c:A}default:{return getDefault()}}function getDefault(){switch(C){case"azure-async-operation":{return undefined}case"original-uri":{return A}case"location":default:{return d}}}}function inferLroMode(i){const{rawResponse:c,requestMethod:d,requestPath:p,resourceLocationConfig:A}=i;const C=getOperationLocationHeader(c);const S=getAzureAsyncOperationHeader(c);const v=getOperationLocationPollingUrl({operationLocation:C,azureAsyncOperation:S});const _=getLocationHeader(c);const T=d===null||d===void 0?void 0:d.toLocaleUpperCase();if(v!==undefined){return{mode:"OperationLocation",operationLocation:v,resourceLocation:findResourceLocation({requestMethod:T,location:_,requestPath:p,resourceLocationConfig:A})}}else if(_!==undefined){return{mode:"ResourceLocation",operationLocation:_}}else if(T==="PUT"&&p){return{mode:"Body",operationLocation:p}}else{return undefined}}function transformStatus(i){const{status:c,statusCode:d}=i;if(typeof c!=="string"&&c!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${c}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(c===null||c===void 0?void 0:c.toLocaleLowerCase()){case undefined:return toOperationStatus(d);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.verbose(`LRO: unrecognized operation status: ${c}`);return c}}}function getStatus(i){var c;const{status:d}=(c=i.body)!==null&&c!==void 0?c:{};return transformStatus({status:d,statusCode:i.statusCode})}function getProvisioningState(i){var c,d;const{properties:p,provisioningState:A}=(c=i.body)!==null&&c!==void 0?c:{};const C=(d=p===null||p===void 0?void 0:p.provisioningState)!==null&&d!==void 0?d:A;return transformStatus({status:C,statusCode:i.statusCode})}function toOperationStatus(i){if(i===202){return"running"}else if(i<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:i}){const c=i.headers["retry-after"];if(c!==undefined){const i=parseInt(c);return isNaN(i)?calculatePollingIntervalFromDate(new Date(c)):i*1e3}return undefined}function getErrorFromResponse(i){const c=i.flatResponse.error;if(!c){S.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!c.code||!c.message){S.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return c}function calculatePollingIntervalFromDate(i){const c=Math.floor((new Date).getTime());const d=i.getTime();if(c<d){return d-c}return undefined}function getStatusFromInitialResponse(i){const{response:c,state:d,operationLocation:p}=i;function helper(){var i;const p=(i=d.config.metadata)===null||i===void 0?void 0:i["mode"];switch(p){case undefined:return toOperationStatus(c.rawResponse.statusCode);case"Body":return getOperationStatus(c,d);default:return"running"}}const A=helper();return A==="running"&&p===undefined?"succeeded":A}async function initHttpOperation(i){const{stateProxy:c,resourceLocationConfig:d,processResult:p,lro:A,setErrorAsResult:C}=i;return initOperation({init:async()=>{const i=await A.sendInitialRequest();const c=inferLroMode({rawResponse:i.rawResponse,requestPath:A.requestPath,requestMethod:A.requestMethod,resourceLocationConfig:d});return Object.assign({response:i,operationLocation:c===null||c===void 0?void 0:c.operationLocation,resourceLocation:c===null||c===void 0?void 0:c.resourceLocation},(c===null||c===void 0?void 0:c.mode)?{metadata:{mode:c.mode}}:{})},stateProxy:c,processResult:p?({flatResponse:i},c)=>p(i,c):({flatResponse:i})=>i,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:C})}function getOperationLocation({rawResponse:i},c){var d;const p=(d=c.config.metadata)===null||d===void 0?void 0:d["mode"];switch(p){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(i),azureAsyncOperation:getAzureAsyncOperationHeader(i)})}case"ResourceLocation":{return getLocationHeader(i)}case"Body":default:{return undefined}}}function getOperationStatus({rawResponse:i},c){var d;const p=(d=c.config.metadata)===null||d===void 0?void 0:d["mode"];switch(p){case"OperationLocation":{return getStatus(i)}case"ResourceLocation":{return toOperationStatus(i.statusCode)}case"Body":{return getProvisioningState(i)}default:throw new Error(`Internal error: Unexpected operation mode: ${p}`)}}function getResourceLocation({flatResponse:i},c){if(typeof i==="object"){const d=i.resourceLocation;if(d!==undefined){c.config.resourceLocation=d}}return c.config.resourceLocation}function isOperationError(i){return i.name==="RestError"}async function pollHttpOperation(i){const{lro:c,stateProxy:d,options:p,processResult:A,updateState:C,setDelay:S,state:v,setErrorAsResult:_}=i;return pollOperation({state:v,stateProxy:d,setDelay:S,processResult:A?({flatResponse:i},c)=>A(i,c):({flatResponse:i})=>i,getError:getErrorFromResponse,updateState:C,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:p,poll:async(i,d)=>c.sendPollRequest(i,d),setErrorAsResult:_})}const createStateProxy$1=()=>({initState:i=>({status:"running",config:i}),setCanceled:i=>i.status="canceled",setError:(i,c)=>i.error=c,setResult:(i,c)=>i.result=c,setRunning:i=>i.status="running",setSucceeded:i=>i.status="succeeded",setFailed:i=>i.status="failed",getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>i.status==="canceled",isFailed:i=>i.status==="failed",isRunning:i=>i.status==="running",isSucceeded:i=>i.status==="succeeded"});function buildCreatePoller(i){const{getOperationLocation:c,getStatusFromInitialResponse:d,getStatusFromPollResponse:p,isOperationError:S,getResourceLocation:_,getPollingInterval:T,getError:V,resolveOnUnsuccessful:Z}=i;return async({init:i,poll:ee},te)=>{const{processResult:re,updateState:ne,withOperationLocation:ie,intervalInMs:se=v,restoreFrom:oe}=te||{};const ae=createStateProxy$1();const le=ie?(()=>{let i=false;return(c,d)=>{if(d)ie(c);else if(!i)ie(c);i=true}})():undefined;const ce=oe?deserializeState(oe):await initOperation({init:i,stateProxy:ae,processResult:re,getOperationStatus:d,withOperationLocation:le,setErrorAsResult:!Z});let ue;const de=new A.AbortController;const fe=new Map;const handleProgressEvents=async()=>fe.forEach((i=>i(ce)));const pe="Operation was canceled";let Ae=se;const he={getOperationState:()=>ce,getResult:()=>ce.result,isDone:()=>["succeeded","failed","canceled"].includes(ce.status),isStopped:()=>ue===undefined,stopPolling:()=>{de.abort()},toString:()=>JSON.stringify({state:ce}),onProgress:i=>{const c=Symbol();fe.set(c,i);return()=>fe.delete(c)},pollUntilDone:i=>ue!==null&&ue!==void 0?ue:ue=(async()=>{const{abortSignal:c}=i||{};const{signal:d}=c?new A.AbortController([c,de.signal]):de;if(!he.isDone()){await he.poll({abortSignal:d});while(!he.isDone()){await C.delay(Ae,{abortSignal:d});await he.poll({abortSignal:d})}}if(Z){return he.getResult()}else{switch(ce.status){case"succeeded":return he.getResult();case"canceled":throw new Error(pe);case"failed":throw ce.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{ue=undefined})),async poll(i){if(Z){if(he.isDone())return}else{switch(ce.status){case"succeeded":return;case"canceled":throw new Error(pe);case"failed":throw ce.error}}await pollOperation({poll:ee,state:ce,stateProxy:ae,getOperationLocation:c,isOperationError:S,withOperationLocation:le,getPollingInterval:T,getOperationStatus:p,getResourceLocation:_,processResult:re,getError:V,updateState:ne,options:i,setDelay:i=>{Ae=i},setErrorAsResult:!Z});await handleProgressEvents();if(!Z){switch(ce.status){case"canceled":throw new Error(pe);case"failed":throw ce.error}}}};return he}}async function createHttpPoller(i,c){const{resourceLocationConfig:d,intervalInMs:p,processResult:A,restoreFrom:C,updateState:S,withOperationLocation:v,resolveOnUnsuccessful:_=false}=c||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:_})({init:async()=>{const c=await i.sendInitialRequest();const p=inferLroMode({rawResponse:c.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:d});return Object.assign({response:c,operationLocation:p===null||p===void 0?void 0:p.operationLocation,resourceLocation:p===null||p===void 0?void 0:p.resourceLocation},(p===null||p===void 0?void 0:p.mode)?{metadata:{mode:p.mode}}:{})},poll:i.sendPollRequest},{intervalInMs:p,withOperationLocation:v,restoreFrom:C,updateState:S,processResult:A?({flatResponse:i},c)=>A(i,c):({flatResponse:i})=>i})}const createStateProxy=()=>({initState:i=>({config:i,isStarted:true}),setCanceled:i=>i.isCancelled=true,setError:(i,c)=>i.error=c,setResult:(i,c)=>i.result=c,setRunning:i=>i.isStarted=true,setSucceeded:i=>i.isCompleted=true,setFailed:()=>{},getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>!!i.isCancelled,isFailed:i=>!!i.error,isRunning:i=>!!i.isStarted,isSucceeded:i=>Boolean(i.isCompleted&&!i.isCancelled&&!i.error)});class GenericPollOperation{constructor(i,c,d,p,A,C,S){this.state=i;this.lro=c;this.setErrorAsResult=d;this.lroResourceLocationConfig=p;this.processResult=A;this.updateState=C;this.isDone=S}setPollerConfig(i){this.pollerConfig=i}async update(i){var c;const d=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:d,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const p=this.updateState;const A=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:d,processResult:this.processResult,updateState:p?(i,{rawResponse:c})=>p(i,c):undefined,isDone:A?({flatResponse:i},c)=>A(i,c):undefined,options:i,setDelay:i=>{this.pollerConfig.intervalInMs=i},setErrorAsResult:this.setErrorAsResult})}(c=i===null||i===void 0?void 0:i.fireProgress)===null||c===void 0?void 0:c.call(i,this.state);return this}async cancel(){S.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(i){super(i);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(i){super(i);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(i){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=i;this.promise=new Promise(((i,c)=>{this.resolve=i;this.reject=c}));this.promise.catch((()=>{}))}async startPolling(i={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(i);await this.delay()}}async pollOnce(i={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:i.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(i){for(const c of this.pollProgressCallbacks){c(i)}}async cancelOnce(i={}){this.operation=await this.operation.cancel(i)}poll(i={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(i);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const i=new PollerCancelledError("Operation was canceled");this.reject(i);throw i}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(i={}){if(this.stopped){this.startPolling(i).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(i){this.pollProgressCallbacks.push(i);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((c=>c!==i))}}isDone(){const i=this.operation.state;return Boolean(i.isCompleted||i.isCancelled||i.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(i={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(i)}else if(i.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const i=this.operation.state;return i.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(i,c){const{intervalInMs:d=v,resumeFrom:p,resolveOnUnsuccessful:A=false,isDone:C,lroResourceLocationConfig:S,processResult:_,updateState:T}=c||{};const V=p?deserializeState(p):{};const Z=new GenericPollOperation(V,i,!A,S,_,T,C);super(Z);this.resolveOnUnsuccessful=A;this.config={intervalInMs:d};Z.setPollerConfig(this.config)}delay(){return new Promise((i=>setTimeout((()=>i()),this.config.intervalInMs)))}}c.LroEngine=LroEngine;c.Poller=Poller;c.PollerCancelledError=PollerCancelledError;c.PollerStoppedError=PollerStoppedError;c.createHttpPoller=createHttpPoller},81391:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});const d=new WeakMap;const p=new WeakMap;class AbortSignal{constructor(){this.onabort=null;d.set(this,[]);p.set(this,false)}get aborted(){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return p.get(this)}static get none(){return new AbortSignal}addEventListener(i,c){if(!d.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const p=d.get(this);p.push(c)}removeEventListener(i,c){if(!d.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const p=d.get(this);const A=p.indexOf(c);if(A>-1){p.splice(A,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const c=d.get(i);if(c){c.slice().forEach((c=>{c.call(i,{type:"abort"})}))}p.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const c of i){if(c.aborted){this.abort()}else{c.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const c=new AbortSignal;const d=setTimeout(abortSignal,i,c);if(typeof d.unref==="function"){d.unref()}return c}}c.AbortController=AbortController;c.AbortError=AbortError;c.AbortSignal=AbortSignal},7132:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(81391);var A=d(76982);function createAbortablePromise(i,c){const{cleanupBeforeAbort:d,abortSignal:A,abortErrorMsg:C}=c!==null&&c!==void 0?c:{};return new Promise(((c,S)=>{function rejectOnAbort(){S(new p.AbortError(C!==null&&C!==void 0?C:"The operation was aborted."))}function removeListeners(){A===null||A===void 0?void 0:A.removeEventListener("abort",onAbort)}function onAbort(){d===null||d===void 0?void 0:d();removeListeners();rejectOnAbort()}if(A===null||A===void 0?void 0:A.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();c(i)}),(i=>{removeListeners();S(i)}))}catch(i){S(i)}A===null||A===void 0?void 0:A.addEventListener("abort",onAbort)}))}const C="The delay was aborted.";function delay(i,c){let d;const{abortSignal:p,abortErrorMsg:A}=c!==null&&c!==void 0?c:{};return createAbortablePromise((c=>{d=setTimeout(c,i)}),{cleanupBeforeAbort:()=>clearTimeout(d),abortSignal:p,abortErrorMsg:A!==null&&A!==void 0?A:C})}function getRandomIntegerInclusive(i,c){i=Math.ceil(i);c=Math.floor(c);const d=Math.floor(Math.random()*(c-i+1));return d+i}function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}function isError(i){if(isObject(i)){const c=typeof i.name==="string";const d=typeof i.message==="string";return c&&d}return false}function getErrorMessage(i){if(isError(i)){return i.message}else{let c;try{if(typeof i==="object"&&i){c=JSON.stringify(i)}else{c=String(i)}}catch(i){c="[unable to stringify input]"}return`Unknown error ${c}`}}async function computeSha256Hmac(i,c,d){const p=Buffer.from(i,"base64");return A.createHmac("sha256",p).update(c).digest(d)}async function computeSha256Hash(i,c){return A.createHash("sha256").update(i).digest(c)}function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,c){if(!isDefined(i)||typeof i!=="object"){return false}for(const d of c){if(!objectHasProperty(i,d)){return false}}return true}function objectHasProperty(i,c){return isDefined(i)&&typeof i==="object"&&c in i}function generateUUID(){let i="";for(let c=0;c<32;c++){const d=Math.floor(Math.random()*16);if(c===12){i+="4"}else if(c===16){i+=d&3|8}else{i+=d.toString(16)}if(c===7||c===11||c===15||c===19){i+="-"}}return i}var S;let v=typeof((S=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||S===void 0?void 0:S.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):A.randomUUID;if(!v){v=generateUUID}function randomUUID(){return v()}var _,T,V,Z;const ee=typeof window!=="undefined"&&typeof window.document!=="undefined";const te=typeof self==="object"&&typeof(self===null||self===void 0?void 0:self.importScripts)==="function"&&(((_=self.constructor)===null||_===void 0?void 0:_.name)==="DedicatedWorkerGlobalScope"||((T=self.constructor)===null||T===void 0?void 0:T.name)==="ServiceWorkerGlobalScope"||((V=self.constructor)===null||V===void 0?void 0:V.name)==="SharedWorkerGlobalScope");const re=typeof process!=="undefined"&&Boolean(process.version)&&Boolean((Z=process.versions)===null||Z===void 0?void 0:Z.node);const ne=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";const ie=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";const se=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative";function uint8ArrayToString(i,c){switch(c){case"utf-8":return uint8ArrayToUtf8String(i);case"base64":return uint8ArrayToBase64(i);case"base64url":return uint8ArrayToBase64Url(i)}}function stringToUint8Array(i,c){switch(c){case"utf-8":return utf8StringToUint8Array(i);case"base64":return base64ToUint8Array(i);case"base64url":return base64UrlToUint8Array(i)}}function uint8ArrayToBase64(i){return Buffer.from(i).toString("base64")}function uint8ArrayToBase64Url(i){return Buffer.from(i).toString("base64url")}function uint8ArrayToUtf8String(i){return Buffer.from(i).toString("utf-8")}function utf8StringToUint8Array(i){return Buffer.from(i)}function base64ToUint8Array(i){return Buffer.from(i,"base64")}function base64UrlToUint8Array(i){return Buffer.from(i,"base64url")}c.computeSha256Hash=computeSha256Hash;c.computeSha256Hmac=computeSha256Hmac;c.createAbortablePromise=createAbortablePromise;c.delay=delay;c.getErrorMessage=getErrorMessage;c.getRandomIntegerInclusive=getRandomIntegerInclusive;c.isBrowser=ee;c.isBun=ie;c.isDefined=isDefined;c.isDeno=ne;c.isError=isError;c.isNode=re;c.isObject=isObject;c.isObjectWithProperties=isObjectWithProperties;c.isReactNative=se;c.isWebWorker=te;c.objectHasProperty=objectHasProperty;c.randomUUID=randomUUID;c.stringToUint8Array=stringToUint8Array;c.uint8ArrayToString=uint8ArrayToString},45004:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(70857);var A=d(39023);function _interopDefaultLegacy(i){return i&&typeof i==="object"&&"default"in i?i:{default:i}}var C=_interopDefaultLegacy(A);function log(i,...c){process.stderr.write(`${C["default"].format(i,...c)}${p.EOL}`)}const S=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let v;let _=[];let T=[];const V=[];if(S){enable(S)}const Z=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(i){v=i;_=[];T=[];const c=/\*/g;const d=i.split(",").map((i=>i.trim().replace(c,".*?")));for(const i of d){if(i.startsWith("-")){T.push(new RegExp(`^${i.substr(1)}$`))}else{_.push(new RegExp(`^${i}$`))}}for(const i of V){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const c of T){if(c.test(i)){return false}}for(const c of _){if(c.test(i)){return true}}return false}function disable(){const i=v||"";enable("");return i}function createDebugger(i){const c=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:Z.log,namespace:i,extend:extend});function debug(...d){if(!c.enabled){return}if(d.length>0){d[0]=`${i} ${d[0]}`}c.log(...d)}V.push(c);return c}function destroy(){const i=V.indexOf(this);if(i>=0){V.splice(i,1);return true}return false}function extend(i){const c=createDebugger(`${this.namespace}:${i}`);c.log=this.log;return c}var ee=Z;const te=new Set;const re=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let ne;const ie=ee("azure");ie.log=(...i)=>{ee.log(...i)};const se=["verbose","info","warning","error"];if(re){if(isAzureLogLevel(re)){setLogLevel(re)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${re}'; logging is not enabled. Acceptable values: ${se.join(", ")}.`)}}function setLogLevel(i){if(i&&!isAzureLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${se.join(",")}`)}ne=i;const c=[];for(const i of te){if(shouldEnable(i)){c.push(i.namespace)}}ee.enable(c.join(","))}function getLogLevel(){return ne}const oe={verbose:400,info:300,warning:200,error:100};function createClientLogger(i){const c=ie.extend(i);patchLogMethod(ie,c);return{error:createLogger(c,"error"),warning:createLogger(c,"warning"),info:createLogger(c,"info"),verbose:createLogger(c,"verbose")}}function patchLogMethod(i,c){c.log=(...c)=>{i.log(...c)}}function createLogger(i,c){const d=Object.assign(i.extend(c),{level:c});patchLogMethod(i,d);if(shouldEnable(d)){const i=ee.disable();ee.enable(i+","+d.namespace)}te.add(d);return d}function shouldEnable(i){return Boolean(ne&&oe[i.level]<=oe[ne])}function isAzureLogLevel(i){return se.includes(i)}c.AzureLogger=ie;c.createClientLogger=createClientLogger;c.getLogLevel=getLogLevel;c.setLogLevel=setLogLevel},93849:i=>{var c;var d;var p;var A;var C;var S;var v;var _;var T;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 de;var fe;var pe;var Ae;var he;var ge;var me;var ye;var Ee;var be;(function(c){var d=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){c(createExporter(d,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){c(createExporter(d,createExporter(i.exports)))}else{c(createExporter(d))}function createExporter(i,c){if(i!==d){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(d,p){return i[d]=c?c(d,p):p}}})((function(i){var Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d))i[d]=c[d]};c=function(i,c){if(typeof c!=="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");Ce(i,c);function __(){this.constructor=i}i.prototype=c===null?Object.create(c):(__.prototype=c.prototype,new __)};d=Object.assign||function(i){for(var c,d=1,p=arguments.length;d<p;d++){c=arguments[d];for(var A in c)if(Object.prototype.hasOwnProperty.call(c,A))i[A]=c[A]}return i};p=function(i,c){var d={};for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p)&&c.indexOf(p)<0)d[p]=i[p];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var A=0,p=Object.getOwnPropertySymbols(i);A<p.length;A++){if(c.indexOf(p[A])<0&&Object.prototype.propertyIsEnumerable.call(i,p[A]))d[p[A]]=i[p[A]]}return d};A=function(i,c,d,p){var A=arguments.length,C=A<3?c:p===null?p=Object.getOwnPropertyDescriptor(c,d):p,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")C=Reflect.decorate(i,c,d,p);else for(var v=i.length-1;v>=0;v--)if(S=i[v])C=(A<3?S(C):A>3?S(c,d,C):S(c,d))||C;return A>3&&C&&Object.defineProperty(c,d,C),C};C=function(i,c){return function(d,p){c(d,p,i)}};S=function(i,c,d,p,A,C){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var S=p.kind,v=S==="getter"?"get":S==="setter"?"set":"value";var _=!c&&i?p["static"]?i:i.prototype:null;var T=c||(_?Object.getOwnPropertyDescriptor(_,p.name):{});var V,Z=false;for(var ee=d.length-1;ee>=0;ee--){var te={};for(var re in p)te[re]=re==="access"?{}:p[re];for(var re in p.access)te.access[re]=p.access[re];te.addInitializer=function(i){if(Z)throw new TypeError("Cannot add initializers after decoration has completed");C.push(accept(i||null))};var ne=(0,d[ee])(S==="accessor"?{get:T.get,set:T.set}:T[v],te);if(S==="accessor"){if(ne===void 0)continue;if(ne===null||typeof ne!=="object")throw new TypeError("Object expected");if(V=accept(ne.get))T.get=V;if(V=accept(ne.set))T.set=V;if(V=accept(ne.init))A.unshift(V)}else if(V=accept(ne)){if(S==="field")A.unshift(V);else T[v]=V}}if(_)Object.defineProperty(_,p.name,T);Z=true};v=function(i,c,d){var p=arguments.length>2;for(var A=0;A<c.length;A++){d=p?c[A].call(i,d):c[A].call(i)}return p?d:void 0};_=function(i){return typeof i==="symbol"?i:"".concat(i)};T=function(i,c,d){if(typeof c==="symbol")c=c.description?"[".concat(c.description,"]"):"";return Object.defineProperty(i,"name",{configurable:true,value:d?"".concat(d," ",c):c})};V=function(i,c){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(i,c)};Z=function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};ee=function(i,c){var d={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},p,A,C,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=verb(0),S["throw"]=verb(1),S["return"]=verb(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function verb(i){return function(c){return step([i,c])}}function step(v){if(p)throw new TypeError("Generator is already executing.");while(S&&(S=0,v[0]&&(d=0)),d)try{if(p=1,A&&(C=v[0]&2?A["return"]:v[0]?A["throw"]||((C=A["return"])&&C.call(A),0):A.next)&&!(C=C.call(A,v[1])).done)return C;if(A=0,C)v=[v[0]&2,C.value];switch(v[0]){case 0:case 1:C=v;break;case 4:d.label++;return{value:v[1],done:false};case 5:d.label++;A=v[1];v=[0];continue;case 7:v=d.ops.pop();d.trys.pop();continue;default:if(!(C=d.trys,C=C.length>0&&C[C.length-1])&&(v[0]===6||v[0]===2)){d=0;continue}if(v[0]===3&&(!C||v[1]>C[0]&&v[1]<C[3])){d.label=v[1];break}if(v[0]===6&&d.label<C[1]){d.label=C[1];C=v;break}if(C&&d.label<C[2]){d.label=C[2];d.ops.push(v);break}if(C[2])d.ops.pop();d.trys.pop();continue}v=c.call(i,d)}catch(i){v=[6,i];A=0}finally{p=C=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:true}}};te=function(i,c){for(var d in i)if(d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d))me(c,i,d)};me=Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]};re=function(i){var c=typeof Symbol==="function"&&Symbol.iterator,d=c&&i[c],p=0;if(d)return d.call(i);if(i&&typeof i.length==="number")return{next:function(){if(i&&p>=i.length)i=void 0;return{value:i&&i[p++],done:!i}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};ne=function(i,c){var d=typeof Symbol==="function"&&i[Symbol.iterator];if(!d)return i;var p=d.call(i),A,C=[],S;try{while((c===void 0||c-- >0)&&!(A=p.next()).done)C.push(A.value)}catch(i){S={error:i}}finally{try{if(A&&!A.done&&(d=p["return"]))d.call(p)}finally{if(S)throw S.error}}return C};ie=function(){for(var i=[],c=0;c<arguments.length;c++)i=i.concat(ne(arguments[c]));return i};se=function(){for(var i=0,c=0,d=arguments.length;c<d;c++)i+=arguments[c].length;for(var p=Array(i),A=0,c=0;c<d;c++)for(var C=arguments[c],S=0,v=C.length;S<v;S++,A++)p[A]=C[S];return p};oe=function(i,c,d){if(d||arguments.length===2)for(var p=0,A=c.length,C;p<A;p++){if(C||!(p in c)){if(!C)C=Array.prototype.slice.call(c,0,p);C[p]=c[p]}}return i.concat(C||Array.prototype.slice.call(c))};ae=function(i){return this instanceof ae?(this.v=i,this):new ae(i)};le=function(i,c,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var p=d.apply(i,c||[]),A,C=[];return A=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),verb("next"),verb("throw"),verb("return",awaitReturn),A[Symbol.asyncIterator]=function(){return this},A;function awaitReturn(i){return function(c){return Promise.resolve(c).then(i,reject)}}function verb(i,c){if(p[i]){A[i]=function(c){return new Promise((function(d,p){C.push([i,c,d,p])>1||resume(i,c)}))};if(c)A[i]=c(A[i])}}function resume(i,c){try{step(p[i](c))}catch(i){settle(C[0][3],i)}}function step(i){i.value instanceof ae?Promise.resolve(i.value.v).then(fulfill,reject):settle(C[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,c){if(i(c),C.shift(),C.length)resume(C[0][0],C[0][1])}};ce=function(i){var c,d;return c={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),c[Symbol.iterator]=function(){return this},c;function verb(p,A){c[p]=i[p]?function(c){return(d=!d)?{value:ae(i[p](c)),done:false}:A?A(c):c}:A}};ue=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=i[Symbol.asyncIterator],d;return c?c.call(i):(i=typeof re==="function"?re(i):i[Symbol.iterator](),d={},verb("next"),verb("throw"),verb("return"),d[Symbol.asyncIterator]=function(){return this},d);function verb(c){d[c]=i[c]&&function(d){return new Promise((function(p,A){d=i[c](d),settle(p,A,d.done,d.value)}))}}function settle(i,c,d,p){Promise.resolve(p).then((function(c){i({value:c,done:d})}),c)}};de=function(i,c){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:c})}else{i.raw=c}return i};var we=Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};fe=function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),p=0;p<d.length;p++)if(d[p]!=="default")me(c,i,d[p]);we(c,i);return c};pe=function(i){return i&&i.__esModule?i:{default:i}};Ae=function(i,c,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof c==="function"?i!==c||!p:!c.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(i):p?p.value:c.get(i)};he=function(i,c,d,p,A){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!A)throw new TypeError("Private accessor was defined without a setter");if(typeof c==="function"?i!==c||!A:!c.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?A.call(i,d):A?A.value=d:c.set(i,d),d};ge=function(i,c){if(c===null||typeof c!=="object"&&typeof c!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof i==="function"?c===i:i.has(c)};ye=function(i,c,d){if(c!==null&&c!==void 0){if(typeof c!=="object"&&typeof c!=="function")throw new TypeError("Object expected.");var p,A;if(d){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");p=c[Symbol.asyncDispose]}if(p===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");p=c[Symbol.dispose];if(d)A=p}if(typeof p!=="function")throw new TypeError("Object not disposable.");if(A)p=function(){try{A.call(this)}catch(i){return Promise.reject(i)}};i.stack.push({value:c,dispose:p,async:d})}else if(d){i.stack.push({async:true})}return c};var Ie=typeof SuppressedError==="function"?SuppressedError:function(i,c,d){var p=new Error(d);return p.name="SuppressedError",p.error=i,p.suppressed=c,p};Ee=function(i){function fail(c){i.error=i.hasError?new Ie(c,i.error,"An error was suppressed during disposal."):c;i.hasError=true}var c,d=0;function next(){while(c=i.stack.pop()){try{if(!c.async&&d===1)return d=0,i.stack.push(c),Promise.resolve().then(next);if(c.dispose){var p=c.dispose.call(c.value);if(c.async)return d|=2,Promise.resolve(p).then(next,(function(i){fail(i);return next()}))}else d|=1}catch(i){fail(i)}}if(d===1)return i.hasError?Promise.reject(i.error):Promise.resolve();if(i.hasError)throw i.error}return next()};be=function(i,c){if(typeof i==="string"&&/^\.\.?\//.test(i)){return i.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(i,d,p,A,C){return d?c?".jsx":".js":p&&(!A||!C)?i:p+A+"."+C.toLowerCase()+"js"}))}return i};i("__extends",c);i("__assign",d);i("__rest",p);i("__decorate",A);i("__param",C);i("__esDecorate",S);i("__runInitializers",v);i("__propKey",_);i("__setFunctionName",T);i("__metadata",V);i("__awaiter",Z);i("__generator",ee);i("__exportStar",te);i("__createBinding",me);i("__values",re);i("__read",ne);i("__spread",ie);i("__spreadArrays",se);i("__spreadArray",oe);i("__await",ae);i("__asyncGenerator",le);i("__asyncDelegator",ce);i("__asyncValues",ue);i("__makeTemplateObject",de);i("__importStar",fe);i("__importDefault",pe);i("__classPrivateFieldGet",Ae);i("__classPrivateFieldSet",he);i("__classPrivateFieldIn",ge);i("__addDisposableResource",ye);i("__disposeResources",Ee);i("__rewriteRelativeImportExtension",be)}));0&&0},59199:i=>{var c;var d;var p;var A;var C;var S;var v;var _;var T;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 de;var fe;var pe;var Ae;var he;var ge;var me;var ye;var Ee;var be;(function(c){var d=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){c(createExporter(d,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){c(createExporter(d,createExporter(i.exports)))}else{c(createExporter(d))}function createExporter(i,c){if(i!==d){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(d,p){return i[d]=c?c(d,p):p}}})((function(i){var Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d))i[d]=c[d]};c=function(i,c){if(typeof c!=="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");Ce(i,c);function __(){this.constructor=i}i.prototype=c===null?Object.create(c):(__.prototype=c.prototype,new __)};d=Object.assign||function(i){for(var c,d=1,p=arguments.length;d<p;d++){c=arguments[d];for(var A in c)if(Object.prototype.hasOwnProperty.call(c,A))i[A]=c[A]}return i};p=function(i,c){var d={};for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p)&&c.indexOf(p)<0)d[p]=i[p];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var A=0,p=Object.getOwnPropertySymbols(i);A<p.length;A++){if(c.indexOf(p[A])<0&&Object.prototype.propertyIsEnumerable.call(i,p[A]))d[p[A]]=i[p[A]]}return d};A=function(i,c,d,p){var A=arguments.length,C=A<3?c:p===null?p=Object.getOwnPropertyDescriptor(c,d):p,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")C=Reflect.decorate(i,c,d,p);else for(var v=i.length-1;v>=0;v--)if(S=i[v])C=(A<3?S(C):A>3?S(c,d,C):S(c,d))||C;return A>3&&C&&Object.defineProperty(c,d,C),C};C=function(i,c){return function(d,p){c(d,p,i)}};S=function(i,c,d,p,A,C){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var S=p.kind,v=S==="getter"?"get":S==="setter"?"set":"value";var _=!c&&i?p["static"]?i:i.prototype:null;var T=c||(_?Object.getOwnPropertyDescriptor(_,p.name):{});var V,Z=false;for(var ee=d.length-1;ee>=0;ee--){var te={};for(var re in p)te[re]=re==="access"?{}:p[re];for(var re in p.access)te.access[re]=p.access[re];te.addInitializer=function(i){if(Z)throw new TypeError("Cannot add initializers after decoration has completed");C.push(accept(i||null))};var ne=(0,d[ee])(S==="accessor"?{get:T.get,set:T.set}:T[v],te);if(S==="accessor"){if(ne===void 0)continue;if(ne===null||typeof ne!=="object")throw new TypeError("Object expected");if(V=accept(ne.get))T.get=V;if(V=accept(ne.set))T.set=V;if(V=accept(ne.init))A.unshift(V)}else if(V=accept(ne)){if(S==="field")A.unshift(V);else T[v]=V}}if(_)Object.defineProperty(_,p.name,T);Z=true};v=function(i,c,d){var p=arguments.length>2;for(var A=0;A<c.length;A++){d=p?c[A].call(i,d):c[A].call(i)}return p?d:void 0};_=function(i){return typeof i==="symbol"?i:"".concat(i)};T=function(i,c,d){if(typeof c==="symbol")c=c.description?"[".concat(c.description,"]"):"";return Object.defineProperty(i,"name",{configurable:true,value:d?"".concat(d," ",c):c})};V=function(i,c){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(i,c)};Z=function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};ee=function(i,c){var d={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},p,A,C,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=verb(0),S["throw"]=verb(1),S["return"]=verb(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function verb(i){return function(c){return step([i,c])}}function step(v){if(p)throw new TypeError("Generator is already executing.");while(S&&(S=0,v[0]&&(d=0)),d)try{if(p=1,A&&(C=v[0]&2?A["return"]:v[0]?A["throw"]||((C=A["return"])&&C.call(A),0):A.next)&&!(C=C.call(A,v[1])).done)return C;if(A=0,C)v=[v[0]&2,C.value];switch(v[0]){case 0:case 1:C=v;break;case 4:d.label++;return{value:v[1],done:false};case 5:d.label++;A=v[1];v=[0];continue;case 7:v=d.ops.pop();d.trys.pop();continue;default:if(!(C=d.trys,C=C.length>0&&C[C.length-1])&&(v[0]===6||v[0]===2)){d=0;continue}if(v[0]===3&&(!C||v[1]>C[0]&&v[1]<C[3])){d.label=v[1];break}if(v[0]===6&&d.label<C[1]){d.label=C[1];C=v;break}if(C&&d.label<C[2]){d.label=C[2];d.ops.push(v);break}if(C[2])d.ops.pop();d.trys.pop();continue}v=c.call(i,d)}catch(i){v=[6,i];A=0}finally{p=C=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:true}}};te=function(i,c){for(var d in i)if(d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d))me(c,i,d)};me=Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]};re=function(i){var c=typeof Symbol==="function"&&Symbol.iterator,d=c&&i[c],p=0;if(d)return d.call(i);if(i&&typeof i.length==="number")return{next:function(){if(i&&p>=i.length)i=void 0;return{value:i&&i[p++],done:!i}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};ne=function(i,c){var d=typeof Symbol==="function"&&i[Symbol.iterator];if(!d)return i;var p=d.call(i),A,C=[],S;try{while((c===void 0||c-- >0)&&!(A=p.next()).done)C.push(A.value)}catch(i){S={error:i}}finally{try{if(A&&!A.done&&(d=p["return"]))d.call(p)}finally{if(S)throw S.error}}return C};ie=function(){for(var i=[],c=0;c<arguments.length;c++)i=i.concat(ne(arguments[c]));return i};se=function(){for(var i=0,c=0,d=arguments.length;c<d;c++)i+=arguments[c].length;for(var p=Array(i),A=0,c=0;c<d;c++)for(var C=arguments[c],S=0,v=C.length;S<v;S++,A++)p[A]=C[S];return p};oe=function(i,c,d){if(d||arguments.length===2)for(var p=0,A=c.length,C;p<A;p++){if(C||!(p in c)){if(!C)C=Array.prototype.slice.call(c,0,p);C[p]=c[p]}}return i.concat(C||Array.prototype.slice.call(c))};ae=function(i){return this instanceof ae?(this.v=i,this):new ae(i)};le=function(i,c,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var p=d.apply(i,c||[]),A,C=[];return A=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),verb("next"),verb("throw"),verb("return",awaitReturn),A[Symbol.asyncIterator]=function(){return this},A;function awaitReturn(i){return function(c){return Promise.resolve(c).then(i,reject)}}function verb(i,c){if(p[i]){A[i]=function(c){return new Promise((function(d,p){C.push([i,c,d,p])>1||resume(i,c)}))};if(c)A[i]=c(A[i])}}function resume(i,c){try{step(p[i](c))}catch(i){settle(C[0][3],i)}}function step(i){i.value instanceof ae?Promise.resolve(i.value.v).then(fulfill,reject):settle(C[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,c){if(i(c),C.shift(),C.length)resume(C[0][0],C[0][1])}};ce=function(i){var c,d;return c={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),c[Symbol.iterator]=function(){return this},c;function verb(p,A){c[p]=i[p]?function(c){return(d=!d)?{value:ae(i[p](c)),done:false}:A?A(c):c}:A}};ue=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=i[Symbol.asyncIterator],d;return c?c.call(i):(i=typeof re==="function"?re(i):i[Symbol.iterator](),d={},verb("next"),verb("throw"),verb("return"),d[Symbol.asyncIterator]=function(){return this},d);function verb(c){d[c]=i[c]&&function(d){return new Promise((function(p,A){d=i[c](d),settle(p,A,d.done,d.value)}))}}function settle(i,c,d,p){Promise.resolve(p).then((function(c){i({value:c,done:d})}),c)}};de=function(i,c){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:c})}else{i.raw=c}return i};var we=Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};fe=function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),p=0;p<d.length;p++)if(d[p]!=="default")me(c,i,d[p]);we(c,i);return c};pe=function(i){return i&&i.__esModule?i:{default:i}};Ae=function(i,c,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof c==="function"?i!==c||!p:!c.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(i):p?p.value:c.get(i)};he=function(i,c,d,p,A){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!A)throw new TypeError("Private accessor was defined without a setter");if(typeof c==="function"?i!==c||!A:!c.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?A.call(i,d):A?A.value=d:c.set(i,d),d};ge=function(i,c){if(c===null||typeof c!=="object"&&typeof c!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof i==="function"?c===i:i.has(c)};ye=function(i,c,d){if(c!==null&&c!==void 0){if(typeof c!=="object"&&typeof c!=="function")throw new TypeError("Object expected.");var p,A;if(d){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");p=c[Symbol.asyncDispose]}if(p===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");p=c[Symbol.dispose];if(d)A=p}if(typeof p!=="function")throw new TypeError("Object not disposable.");if(A)p=function(){try{A.call(this)}catch(i){return Promise.reject(i)}};i.stack.push({value:c,dispose:p,async:d})}else if(d){i.stack.push({async:true})}return c};var Ie=typeof SuppressedError==="function"?SuppressedError:function(i,c,d){var p=new Error(d);return p.name="SuppressedError",p.error=i,p.suppressed=c,p};Ee=function(i){function fail(c){i.error=i.hasError?new Ie(c,i.error,"An error was suppressed during disposal."):c;i.hasError=true}var c,d=0;function next(){while(c=i.stack.pop()){try{if(!c.async&&d===1)return d=0,i.stack.push(c),Promise.resolve().then(next);if(c.dispose){var p=c.dispose.call(c.value);if(c.async)return d|=2,Promise.resolve(p).then(next,(function(i){fail(i);return next()}))}else d|=1}catch(i){fail(i)}}if(d===1)return i.hasError?Promise.reject(i.error):Promise.resolve();if(i.hasError)throw i.error}return next()};be=function(i,c){if(typeof i==="string"&&/^\.\.?\//.test(i)){return i.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(i,d,p,A,C){return d?c?".jsx":".js":p&&(!A||!C)?i:p+A+"."+C.toLowerCase()+"js"}))}return i};i("__extends",c);i("__assign",d);i("__rest",p);i("__decorate",A);i("__param",C);i("__esDecorate",S);i("__runInitializers",v);i("__propKey",_);i("__setFunctionName",T);i("__metadata",V);i("__awaiter",Z);i("__generator",ee);i("__exportStar",te);i("__createBinding",me);i("__values",re);i("__read",ne);i("__spread",ie);i("__spreadArrays",se);i("__spreadArray",oe);i("__await",ae);i("__asyncGenerator",le);i("__asyncDelegator",ce);i("__asyncValues",ue);i("__makeTemplateObject",de);i("__importStar",fe);i("__importDefault",pe);i("__classPrivateFieldGet",Ae);i("__classPrivateFieldSet",he);i("__classPrivateFieldIn",ge);i("__addDisposableResource",ye);i("__disposeResources",Ee);i("__rewriteRelativeImportExtension",be)}));0&&0},70581:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Cache=void 0;const _=v(d(79896));const T=v(d(70857));const V=v(d(16928));const Z=C(d(37484));const ee=C(d(33472));const te=C(d(5116));const re=C(d(39023));class Cache{constructor(i){this.opts=i;this.ghaCacheKey=re.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform());this.ghaNoCache=this.opts.ghaNoCache;this.cacheDir=V.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform());this.cachePath=V.default.join(this.cacheDir,this.opts.cacheFile);if(!_.default.existsSync(this.cacheDir)){_.default.mkdirSync(this.cacheDir,{recursive:true})}}save(i,c){return S(this,void 0,void 0,(function*(){Z.debug(`Cache.save ${i}`);const d=this.copyToCache(i);const p=yield ee.cacheDir(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());Z.debug(`Cache.save cached to hosted tool cache ${p}`);if(!this.ghaNoCache&&te.isFeatureAvailable()){if(c){try{Z.debug(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`);yield te.saveCache([this.cacheDir],this.ghaCacheKey)}catch(i){Z.warning(`Failed to save cache: ${i}`)}}else{Z.debug(`Cache.save sending ${this.ghaCacheKey} to post state`);Z.saveState(Cache.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}))}}return d}))}find(){return S(this,void 0,void 0,(function*(){try{let i=ee.find(this.opts.htcName,this.opts.htcVersion,this.platform());if(i){Z.info(`Restored from hosted tool cache ${i}`);return this.copyToCache(`${i}/${this.opts.cacheFile}`)}if(!this.ghaNoCache&&te.isFeatureAvailable()){Z.debug(`GitHub Actions cache feature available`);if(yield te.restoreCache([this.cacheDir],this.ghaCacheKey)){Z.info(`Restored ${this.ghaCacheKey} from GitHub Actions cache`);i=yield ee.cacheDir(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());Z.info(`Cached to hosted tool cache ${i}`);return this.copyToCache(`${i}/${this.opts.cacheFile}`)}}else if(this.ghaNoCache){Z.info(`GitHub Actions cache disabled`)}else{Z.info(`GitHub Actions cache feature not available`)}}catch(i){Z.warning(`Failed to restore cache: ${i}`)}return""}))}static post(){return S(this,void 0,void 0,(function*(){const i=Z.getState(Cache.POST_CACHE_KEY);if(!i){Z.info(`State not set`);return Promise.resolve(undefined)}let c;try{c=JSON.parse(i)}catch(i){throw new Error(`Failed to parse cache post state: ${i}`)}if(!c.dir||!c.key){throw new Error(`Invalid cache post state: ${i}`)}try{Z.info(`Caching ${c.key} to GitHub Actions cache`);yield te.saveCache([c.dir],c.key)}catch(i){Z.warning(`Failed to save cache: ${i}`)}return c}))}copyToCache(i){Z.info(`Copying ${i} to ${this.cachePath}`);_.default.copyFileSync(i,this.cachePath);return this.cachePath}platform(){const i=process.config.variables.arm_version;return`${T.default.platform()}-${T.default.arch()}${i?"v"+i:""}`}}c.Cache=Cache;Cache.POST_CACHE_KEY="postCache"},32272:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Context=void 0;const v=S(d(79896));const _=S(d(70857));const T=S(d(16928));const V=C(d(51288));const Z=C(d(93228));const ee=d(36060);class Context{static ensureDirExists(i){v.default.mkdirSync(i,{recursive:true});return i}static tmpDir(){return Context._tmpDir}static tmpName(i){return V.tmpNameSync(i)}static gitRef(){return Context.parseGitRef(Z.context.ref,Z.context.sha)}static parseGitRef(i,c){const d=!!(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF&&process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF==="true");if(c&&i&&!i.startsWith("refs/")){i=`refs/heads/${i}`}if(c&&!i.startsWith(`refs/pull/`)){i=c}else if(i.startsWith(`refs/pull/`)&&d){i=i.replace(/\/merge$/g,"/head")}return i}static gitContext(){return`${ee.GitHub.serverURL}/${Z.context.repo.owner}/${Z.context.repo.repo}.git#${Context.gitRef()}`}}c.Context=Context;Context._tmpDir=v.default.mkdtempSync(T.default.join(Context.ensureDirExists(process.env.RUNNER_TEMP||_.default.tmpdir()),"docker-actions-toolkit-"))},5803:function(i,c,d){"use strict";var p=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.limaYamlData=c.dockerServiceLogsPs1Data=c.setupDockerWinPs1Data=c.limaYaml=c.dockerServiceLogsPs1=c.setupDockerWinPs1=void 0;const A=p(d(79896));const C=d(32272);const setupDockerWinPs1=()=>get("docker-setup-win.ps1",c.setupDockerWinPs1Data);c.setupDockerWinPs1=setupDockerWinPs1;const dockerServiceLogsPs1=()=>get("docker-service-logs.ps1",c.dockerServiceLogsPs1Data);c.dockerServiceLogsPs1=dockerServiceLogsPs1;const limaYaml=()=>get("lima.yaml",c.limaYamlData);c.limaYaml=limaYaml;const get=(i,c,d)=>{const p=C.Context.tmpName({template:`docker-asset-XXXXXX-${i}`,tmpdir:C.Context.tmpDir()});A.default.writeFileSync(p,c);if(d){A.default.chmodSync(p,d)}return p};c.setupDockerWinPs1Data=`\n[CmdletBinding()]\nparam(\n [Parameter(Mandatory = $true)]\n [string]$ToolDir,\n\n [Parameter(Mandatory = $true)]\n [string]$RunDir,\n\n [Parameter(Mandatory = $true)]\n [string]$DockerHostSocket,\n\n [Parameter(Mandatory = $false)]\n [string]$DockerHostTCP,\n\n [Parameter(Mandatory = $false)]\n [string]$DaemonConfig)\n\n$pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion\nWrite-Host "PowerShell version: $pwver"\n\n# Create run directory\nNew-Item -ItemType Directory "$RunDir" -ErrorAction SilentlyContinue | Out-Null\n\n# Remove existing service\nif (Get-Service docker -ErrorAction SilentlyContinue) {\n $dockerVersion = (docker version -f "{{.Server.Version}}")\n Write-Host "Current installed Docker version: $dockerVersion"\n # stop service\n Stop-Service -Force -Name docker\n Write-Host "Service stopped"\n # remove service\n sc.exe delete "docker"\n # removes event log entry. we could use "Remove-EventLog -LogName -Source docker"\n # but this cmd is not available atm\n $ErrorActionPreference = "SilentlyContinue"\n & reg delete "HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker" /f 2>&1 | Out-Null\n $ErrorActionPreference = "Stop"\n Write-Host "Service removed"\n}\n\n$env:Path = "$ToolDir;" + [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")\nWrite-Host "Path: $env:Path"\n\n$env:DOCKER_HOST = $DockerHostSocket\nWrite-Host "DOCKER_HOST: $env:DOCKER_HOST"\n\nif ($DaemonConfig) {\n Write-Host "Writing Docker daemon config"\n New-Item -ItemType Directory -Force -Path "$env:ProgramData\\Docker\\config"\n $DaemonConfig | Out-File -FilePath "$env:ProgramData\\Docker\\config\\daemon.json"\n}\n\n$arguments = @(\n "--host=$DockerHostSocket",\n "--data-root=$RunDir\\\\moby-root",\n "--exec-root=$RunDir\\\\moby-exec",\n "--pidfile=$RunDir\\\\docker.pid",\n "--register-service"\n)\nif ($DockerHostTCP) {\n $arguments += "--host=$DockerHostTCP"\n}\n\nWrite-Host "Creating service"\nNew-Item -ItemType Directory "$RunDir\\moby-root" -ErrorAction SilentlyContinue | Out-Null\nNew-Item -ItemType Directory "$RunDir\\moby-exec" -ErrorAction SilentlyContinue | Out-Null\nStart-Process -Wait -NoNewWindow "$ToolDir\\dockerd" -ArgumentList $arguments\nWrite-Host "Starting service"\nStart-Service -Name docker\nWrite-Host "Service started successfully!"\n\n$tries=20\nWrite-Host "Waiting for Docker daemon to start..."\nWhile ($true) {\n $ErrorActionPreference = "SilentlyContinue"\n & "$ToolDir\\docker" version | Out-Null\n $ErrorActionPreference = "Stop"\n If ($LastExitCode -eq 0) {\n break\n }\n $tries--\n If ($tries -le 0) {\n Throw "Failed to get a response from Docker daemon"\n }\n Write-Host -NoNewline "."\n Start-Sleep -Seconds 1\n}\nWrite-Host "Docker daemon started successfully!"\n`;c.dockerServiceLogsPs1Data=`\nGet-WinEvent -ea SilentlyContinue \`\n -FilterHashtable @{ProviderName= "docker"; LogName = "application"} |\n Sort-Object @{Expression="TimeCreated";Descending=$false} |\n ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"}\n`;c.limaYamlData=`\n# Source:\n# - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml\n\n# VM type: "qemu" or "vz" (on macOS 13 and later).\n# The vmType can be specified only on creating the instance.\n# The vmType of existing instances cannot be changed.\n# Builtin default: "qemu"\nvmType: qemu\n\n# OS: "Linux".\n# Builtin default: "Linux"\nos: null\n\n# Arch: "default", "x86_64", "aarch64".\n# Builtin default: "default" (corresponds to the host architecture)\narch: null\n\nimages:\n{{#each customImages}}\n- location: "{{location}}"\n arch: "{{arch}}"\n digest: "{{digest}}"\n{{/each}}\n- location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/ubuntu-24.04-server-cloudimg-amd64.img"\n arch: "x86_64"\n digest: "sha256:f1652d29d497fb7c623433705c9fca6525d1311b11294a0f495eed55c7639d1f"\n kernel:\n location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic"\n digest: "sha256:67cd9af083515de2101de032b49a64fc4b65778e5383df6ef21cf788a3f4688e"\n cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check"\n initrd:\n location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic"\n digest: "sha256:f257d581c44f66da2d80c7c5dc3fa598ce76ef313d6e27b368683e8030a9e8fd"\n- location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/ubuntu-24.04-server-cloudimg-arm64.img"\n arch: "aarch64"\n digest: "sha256:bbecbb88100ee65497927ed0da247ba15af576a8855004182cf3c87265e25d35"\n# Fallback to the latest release image.\n# Hint: run \`limactl prune\` to invalidate the cache\n- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img\n arch: "x86_64"\n- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-arm64.img\n arch: "aarch64"\n\n# CPUs\n# Builtin default: min(4, host CPU cores)\ncpus: null\n\n# Memory size\n# Builtin default: min("4GiB", half of host memory)\nmemory: null\n\n# Disk size\n# Builtin default: "100GiB"\ndisk: 60GiB\n\n# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest\n# Builtin default: null (Mount nothing)\n# This file: Mount the home as read-only, /tmp/lima as writable\nmounts:\n- location: "~"\n- location: "/tmp/lima"\n writable: true\n\n# Mount type for above mounts, such as "reverse-sshfs" (from sshocker), "9p" (EXPERIMENTAL, from QEMU’s virtio-9p-pci, aka virtfs),\n# or "virtiofs" (EXPERIMENTAL, needs \`vmType: vz\`)\n# Builtin default: "reverse-sshfs" (for QEMU), "virtiofs" (for vz)\nmountType: null\n\ncontainerd:\n system: false\n user: false\n\nprovision:\n- mode: system\n # This script defines the host.docker.internal hostname when hostResolver is disabled.\n # It is also needed for lima 0.8.2 and earlier, which does not support hostResolver.hosts.\n # Names defined in /etc/hosts inside the VM are not resolved inside containers when\n # using the hostResolver; use hostResolver.hosts instead (requires lima 0.8.3 or later).\n script: |\n #!/bin/sh\n sed -i 's/host.lima.internal.*/host.lima.internal host.docker.internal/' /etc/hosts\n- mode: system\n script: |\n #!/bin/sh\n apt-get install -f -y iptables\n- mode: system\n script: |\n #!/bin/bash\n set -eux -o pipefail\n command -v docker >/dev/null 2>&1 && exit 0\n if [ ! -e /etc/systemd/system/docker.socket.d/override.conf ]; then\n mkdir -p /etc/systemd/system/docker.socket.d\n # Alternatively we could just add the user to the "docker" group, but that requires restarting the user session\n cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf\n [Socket]\n SocketUser=\${LIMA_CIDATA_USER}\n EOF\n fi\n if [ ! -e /etc/docker/daemon.json ]; then\n mkdir -p /etc/docker\n cat <<-EOF >/etc/docker/daemon.json\n {{stringify daemonConfig}}\n EOF\n fi\n export DEBIAN_FRONTEND=noninteractive\n if [ "{{srcType}}" == "archive" ]; then\n curl -fsSL https://get.docker.com | sh -s -- --channel {{srcArchiveChannel}} --version {{srcArchiveVersion}}\n sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}} --containerd=/run/containerd/containerd.sock|' /usr/lib/systemd/system/docker.service\n systemctl daemon-reload\n systemctl restart docker\n systemctl status docker.socket || true\n systemctl status docker.service || true\n elif [ "{{srcType}}" == "image" ]; then\n arch=$(uname -m)\n case $arch in\n x86_64) arch=amd64;;\n aarch64) arch=arm64;;\n esac\n url="https://github.com/crazy-max/undock/releases/download/v0.10.0/undock_0.10.0_linux_$arch.tar.gz"\n\n wget "$url" -O /tmp/undock.tar.gz\n tar -C /usr/local/bin -xvf /tmp/undock.tar.gz\n undock --version\n\n HOME=/tmp undock moby/moby-bin:{{srcImageTag}} /usr/local/bin\n\n wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.service -O /etc/systemd/system/docker.service\n wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.socket -O /etc/systemd/system/docker.socket\n\n sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}}|' /etc/systemd/system/docker.service\n sed -i 's|containerd.service||' /etc/systemd/system/docker.service\n if ! getent group docker; then\n groupadd --system docker\n fi\n systemctl daemon-reload\n fail=0\n if ! systemctl enable --now docker; then\n fail=1\n fi\n systemctl status docker.socket || true\n systemctl status docker.service || true\n exit $fail\n fi\n\nprobes:\n- script: |\n #!/bin/bash\n set -eux -o pipefail\n # Don't check for docker CLI as it's not installed in the VM (only on the host)\n if ! timeout 60s bash -c "until pgrep dockerd; do sleep 3; done"; then\n echo >&2 "dockerd is not running"\n exit 1\n fi\n hint: See "/var/log/cloud-init-output.log". in the guest\n\nhostResolver:\n # Don't use local system resolver\n enabled: false\n # hostResolver.hosts requires lima 0.8.3 or later. Names defined here will also\n # resolve inside containers, and not just inside the VM itself.\n hosts:\n host.docker.internal: host.lima.internal\n\n# Use custom DNS servers instead of the host's DNS settings\ndns:\n - 1.1.1.1\n - 1.0.0.1\n\nportForwards:\n- guestSocket: "/var/run/docker.sock"\n hostSocket: "{{dockerSock}}"\n{{#if localTCPPort}}\n- guestPort: 2375\n hostPort: {{localTCPPort}}\n{{/if}}\n\naudio:\n # EXPERIMENTAL\n # QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss".\n # VZ driver, use "vz" as device name\n # Choosing "none" will mute the audio output, and not play any sound.\n # Builtin default: ""\n device: none\n`},73490:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Docker=void 0;const _=v(d(79896));const T=v(d(70857));const V=v(d(16928));const Z=C(d(37484));const ee=C(d(94994));const te=d(32272);const re=d(70581);const ne=d(55162);const ie=d(23651);class Docker{static get configDir(){return process.env.DOCKER_CONFIG||V.default.join(T.default.homedir(),".docker")}static configFile(){const i=V.default.join(Docker.configDir,"config.json");if(!_.default.existsSync(i)){return undefined}return JSON.parse(_.default.readFileSync(i,{encoding:"utf-8"}))}static isAvailable(){return S(this,void 0,void 0,(function*(){return yield ee.which("docker",true).then((i=>{Z.debug(`Docker.isAvailable ok: ${i}`);return true})).catch((i=>{Z.debug(`Docker.isAvailable error: ${i}`);return false}))}))}static isDaemonRunning(){return S(this,void 0,void 0,(function*(){try{yield Docker.getExecOutput([`version`],{silent:true});return true}catch(i){return false}}))}static exec(i,c){return S(this,void 0,void 0,(function*(){return ne.Exec.exec("docker",i,Docker.execOptions(c))}))}static getExecOutput(i,c){return S(this,void 0,void 0,(function*(){return ne.Exec.getExecOutput("docker",i,Docker.execOptions(c))}))}static execOptions(i){if(!i){i={}}if(!i.env){i.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"})}else{i.env.DOCKER_CONTENT_TRUST="false"}return i}static context(i){return S(this,void 0,void 0,(function*(){const c=["context","inspect","--format","{{.Name}}"];if(i){c.push(i)}return yield Docker.getExecOutput(c,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}return i.stdout.trim()}))}))}static contextInspect(i){return S(this,void 0,void 0,(function*(){const c=["context","inspect","--format=json"];if(i){c.push(i)}return yield Docker.getExecOutput(c,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim())[0]}))}))}static printVersion(){return S(this,void 0,void 0,(function*(){yield Docker.exec(["version"])}))}static printInfo(){return S(this,void 0,void 0,(function*(){yield Docker.exec(["info"])}))}static parseRepoTag(i){let c;const d=i.indexOf("@");const p=i.lastIndexOf(":");if(d>=0){c=d}else if(p>=0){c=p}else{return{repository:i,tag:"latest"}}const A=i.slice(c+1);if(A.indexOf("/")===-1){return{repository:i.slice(0,c),tag:A}}return{repository:i,tag:"latest"}}static pull(i,c){return S(this,void 0,void 0,(function*(){const d=Docker.parseRepoTag(i);const p=d.repository.replace(/[^a-zA-Z0-9.]+/g,"--");const A=d.tag.replace(/[^a-zA-Z0-9.]+/g,"--");const C=new re.Cache({htcName:p,htcVersion:A,baseCacheDir:V.default.join(Docker.configDir,".cache","images",p),cacheFile:"image.tar"});let v;if(c){v=yield C.find();if(v){Z.info(`Image found from cache in ${v}`);yield Docker.getExecOutput(["load","-i",v],{ignoreReturnCode:true}).then((i=>{var c,d,p;if(i.stderr.length>0&&i.exitCode!=0){Z.warning(`Failed to load image from cache: ${(p=(d=(c=i.stderr.match(/(.*)\s*$/))===null||c===void 0?void 0:c[0])===null||d===void 0?void 0:d.trim())!==null&&p!==void 0?p:"unknown error"}`)}}))}}let _=true;yield Docker.getExecOutput(["pull",i],{ignoreReturnCode:true}).then((i=>{var c,d,p;if(i.stderr.length>0&&i.exitCode!=0){_=false;const A=(p=(d=(c=i.stderr.match(/(.*)\s*$/))===null||c===void 0?void 0:c[0])===null||d===void 0?void 0:d.trim())!==null&&p!==void 0?p:"unknown error";if(v){Z.warning(`Failed to pull image, using one from cache: ${A}`)}else{throw new Error(A)}}}));if(c&&_){const c=V.default.join(te.Context.tmpDir(),`${ie.Util.hash(i)}.tar`);yield Docker.getExecOutput(["save","-o",c,i],{ignoreReturnCode:true}).then((i=>S(this,void 0,void 0,(function*(){var d,p,A;if(i.stderr.length>0&&i.exitCode!=0){Z.warning(`Failed to save image: ${(A=(p=(d=i.stderr.match(/(.*)\s*$/))===null||d===void 0?void 0:d[0])===null||p===void 0?void 0:p.trim())!==null&&A!==void 0?A:"unknown error"}`)}else{const i=yield C.save(c);Z.info(`Image cached to ${i}`)}}))))}}))}}c.Docker=Docker},45155:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Install=void 0;const _=C(d(35317));const T=v(d(79896));const V=v(d(91943));const Z=v(d(70857));const ee=v(d(16928));const te=v(d(45195));const re=C(d(88508));const ne=C(d(37484));const ie=C(d(94994));const se=C(d(33472));const oe=d(32272);const ae=d(73490);const le=d(55162);const ce=d(36060);const ue=d(6258);const de=d(16634);const fe=d(23651);const pe=d(5803);class Install{constructor(i){this.limaInstanceName="docker-actions-toolkit";this.runDir=i.runDir;this.source=i.source||{type:"archive",version:"latest",channel:"stable"};this.contextName=i.contextName||"setup-docker-action";this.daemonConfig=i.daemonConfig;this.rootless=i.rootless||false;this.localTCPPort=i.localTCPPort;this.regctl=i.regctl||new ue.Regctl;this.undock=i.undock||new de.Undock;this.githubToken=i.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||oe.Context.tmpDir()}download(){return S(this,void 0,void 0,(function*(){let i;let c;const d=Z.default.platform();switch(this.source.type){case"image":{this._version=this.source.tag;c=`docker-image`;i=yield this.downloadSourceImage(d);break}case"archive":{const d=this.source.version;const p=this.source.channel;c=`docker-archive-${p}`;this._version=d;ne.info(`Downloading Docker ${d} from ${this.source.channel} at download.docker.com`);i=yield this.downloadSourceArchive("docker",this.source);if(this.rootless){ne.info(`Downloading Docker rootless extras ${d} from ${this.source.channel} at download.docker.com`);const c=yield this.downloadSourceArchive("docker-rootless-extras",this.source);T.default.readdirSync(c).forEach((d=>{const p=ee.default.join(c,d);const A=ee.default.join(i,d);T.default.copyFileSync(p,A)}))}break}}ne.info("Fixing perms");T.default.readdir(ee.default.join(i),(function(c,d){if(c){throw c}d.forEach((function(c,d){if(!fe.Util.isDirectory(ee.default.join(i,c))){T.default.chmodSync(ee.default.join(i,c),"0755")}}))}));const p=yield se.cacheDir(i,c,this._version.replace(/(0+)([1-9]+)/,"$2"));ne.addPath(p);ne.info("Added Docker to PATH");this._toolDir=p;return p}))}downloadSourceImage(i){return S(this,void 0,void 0,(function*(){var c,d;const p=ee.default.join(oe.Context.tmpDir(),"docker-install-image");const A=`dockereng/cli-bin:${this._version}`;const C=`moby/moby-bin:${this._version}`;ne.info(`Downloading Docker CLI from ${A}`);yield this.undock.run({source:A,dist:p});if(["win32","linux"].includes(i)){ne.info(`Downloading Docker engine from ${C}`);yield this.undock.run({source:C,dist:p})}else if(i=="darwin"){try{const i=yield this.imageConfig(C,"linux/arm64");ne.debug(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(i)}`);this.gitCommit=(d=(c=i.config)===null||c===void 0?void 0:c.Labels)===null||d===void 0?void 0:d["org.opencontainers.image.revision"];if(!this.gitCommit){throw new Error(`No git revision can be determined from the image`)}}catch(i){ne.warning(i);this.gitCommit="master"}ne.debug(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else{ne.warning(`Docker engine not supported on ${i}, only the Docker cli will be available`)}return p}))}downloadSourceArchive(i,c){return S(this,void 0,void 0,(function*(){const d=yield Install.getRelease(c.version,this.githubToken);this._version=d.tag_name.replace(/^(docker-)?v+/,"");ne.debug(`docker.Install.downloadSourceArchive version: ${this._version}`);const p=this.downloadURL(i,this._version,c.channel);ne.info(`Downloading ${p}`);const A=yield se.downloadTool(p);ne.debug(`docker.Install.downloadSourceArchive downloadPath: ${A}`);let C;if(Z.default.platform()=="win32"){C=yield se.extractZip(A,C)}else{C=yield se.extractTar(A,C)}if(fe.Util.isDirectory(ee.default.join(C,i))){C=ee.default.join(C,i)}ne.debug(`docker.Install.downloadSourceArchive extractFolder: ${C}`);return C}))}install(){return S(this,void 0,void 0,(function*(){if(!this.toolDir){throw new Error("toolDir must be set. Run download first.")}if(!this.runDir){throw new Error("runDir must be set")}const i=Z.default.platform();if(this.rootless&&i!="linux"){throw new Error(`rootless is only supported on linux`)}switch(i){case"darwin":{return yield this.installDarwin()}case"linux":{return yield this.installLinux()}case"win32":{return yield this.installWindows()}default:{throw new Error(`Unsupported platform: ${Z.default.platform()}`)}}}))}installDarwin(){return S(this,void 0,void 0,(function*(){if(this.source.type=="image"&&!this.gitCommit){throw new Error("gitCommit must be set. Run download first.")}const i=this.source;const c=ee.default.join(Z.default.homedir(),".lima",this.limaInstanceName);yield ie.mkdirP(c);const d=`unix://${c}/docker.sock`;if(!(yield Install.limaInstalled())){yield this.brewInstall("lima")}yield ne.group("Lima version",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("lima",["--version"])}))));yield ne.group("Creating lima config",(()=>S(this,void 0,void 0,(function*(){let d={};if(this.daemonConfig){d=JSON.parse(this.daemonConfig)}re.registerHelper("stringify",(function(i){return new re.SafeString(JSON.stringify(i))}));const p=i;const A=re.compile(pe.limaYamlData)({customImages:Install.limaCustomImages(),daemonConfig:d,dockerSock:`${c}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:i.type,srcArchiveVersion:this._version,srcArchiveChannel:p.channel,srcImageTag:i.tag});ne.info(`Writing lima config to ${ee.default.join(c,"lima.yaml")}`);T.default.writeFileSync(ee.default.join(c,"lima.yaml"),A);ne.info(A)}))));if(!(yield Install.qemuInstalled())){yield this.brewInstall("qemu")}const p=yield Install.qemuBin();yield ne.group("QEMU version",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec(p,["--version"])}))));const A=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});yield ne.group("Starting lima instance",(()=>S(this,void 0,void 0,(function*(){var i;const d=["start",`--name=${this.limaInstanceName}`,`--timeout=${(i=process.env.LIMA_START_TIMEOUT)!==null&&i!==void 0?i:"15m"}`];if(process.env.LIMA_START_ARGS){d.push(process.env.LIMA_START_ARGS)}try{yield le.Exec.exec(`limactl ${d.join(" ")}`,[],{env:A})}catch(i){V.default.readdir(c).then((i=>{i.filter((i=>ee.default.extname(i)===".log")).forEach((i=>{const d=ee.default.join(c,i);const p=T.default.readFileSync(d,{encoding:"utf8"}).trim();if(p.length>0){ne.info(`### ${d}:\n${p}`)}}))})).catch((()=>{}));throw i}}))));yield ne.group("Create Docker context",(()=>S(this,void 0,void 0,(function*(){yield ae.Docker.exec(["context","create",this.contextName,"--docker",`host=${d}`]);yield ae.Docker.exec(["context","use",this.contextName])}))));return d}))}installLinux(){return S(this,void 0,void 0,(function*(){const i=`unix://${ee.default.join(this.runDir,"docker.sock")}`;yield ie.mkdirP(this.runDir);const c=ee.default.join(this.runDir,"daemon.json");yield T.default.writeFileSync(c,"{}");let d=undefined;const p="/etc/docker/daemon.json";if(T.default.existsSync(p)){yield ne.group("Default Docker daemon config found",(()=>S(this,void 0,void 0,(function*(){ne.info(JSON.stringify(JSON.parse(T.default.readFileSync(p,{encoding:"utf8"})),null,2))}))));d=JSON.parse(T.default.readFileSync(p,{encoding:"utf8"}))}if(this.daemonConfig){d=Object.assign(d||{},JSON.parse(this.daemonConfig))}if(d){const i=JSON.stringify(d,null,2);yield ne.group("Writing Docker daemon config",(()=>S(this,void 0,void 0,(function*(){T.default.writeFileSync(c,i);ne.info(i)}))))}const A=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||undefined});yield ne.group("Start Docker daemon",(()=>S(this,void 0,void 0,(function*(){const d=yield ie.which("bash",true);let p=`${this.toolDir}/dockerd`;if(this.rootless){p=`${this.toolDir}/dockerd-rootless.sh`;if(T.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")){yield le.Exec.exec("sudo",["sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"])}}let C=`${p} --host="${i}" --config-file="${c}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;if(this.localTCPPort){C+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`}ne.info(`[command] ${C}`);let v="sudo";if(this.rootless){v+=" -u \\#1001"}const V=yield _.spawn(`${v} env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${d} << EOF\n( ${C} 2>&1 | tee "${this.runDir}/dockerd.log" ) &\nEOF`,[],{env:A,detached:true,shell:true,stdio:["ignore",process.stdout,process.stderr]});V.unref();yield fe.Util.sleep(3);const Z=10;yield(0,te.default)((c=>S(this,void 0,void 0,(function*(){try{yield le.Exec.getExecOutput(`docker version`,undefined,{silent:true,env:Object.assign({},A,{DOCKER_HOST:i,DOCKER_CONTENT_TRUST:"false"})})}catch(i){c(i)}}))),{retries:Z,minTimeout:1e3,onRetry:(i,c)=>{ne.info(`${i}. Retrying (${c}/${Z})...`)}});ne.info(`Docker daemon started started successfully`)}))));yield ne.group("Create Docker context",(()=>S(this,void 0,void 0,(function*(){yield ae.Docker.exec(["context","create",this.contextName,"--docker",`host=${i}`]);yield ae.Docker.exec(["context","use",this.contextName])}))));return i}))}installWindows(){return S(this,void 0,void 0,(function*(){const i="npipe:////./pipe/setup_docker_action";let c=undefined;const d=ee.default.join(this.runDir,"daemon.json");if(T.default.existsSync(d)){yield ne.group("Default Docker daemon config found",(()=>S(this,void 0,void 0,(function*(){ne.info(JSON.stringify(JSON.parse(T.default.readFileSync(d,{encoding:"utf8"})),null,2))}))));c=JSON.parse(T.default.readFileSync(d,{encoding:"utf8"}))}if(this.daemonConfig){c=Object.assign(c||{},JSON.parse(this.daemonConfig))}let p="{}";if(c){p=JSON.stringify(c,null,2);yield ne.group("Docker daemon config",(()=>S(this,void 0,void 0,(function*(){ne.info(p)}))))}const A={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:i,DaemonConfig:p};if(this.localTCPPort){A["DockerHostTCP"]=`tcp://127.0.0.1:${this.localTCPPort}`}yield ne.group("Install Docker daemon service",(()=>S(this,void 0,void 0,(function*(){const i=yield fe.Util.powershellCommand((0,pe.setupDockerWinPs1)(),A);yield le.Exec.exec(i.command,i.args);const c=yield fe.Util.powershellCommand((0,pe.dockerServiceLogsPs1)());yield le.Exec.exec(c.command,c.args)}))));yield ne.group("Create Docker context",(()=>S(this,void 0,void 0,(function*(){yield ae.Docker.exec(["context","create",this.contextName,"--docker",`host=${i}`]);yield ae.Docker.exec(["context","use",this.contextName])}))));return i}))}tearDown(){return S(this,void 0,void 0,(function*(){if(!this.runDir){throw new Error("runDir must be set")}switch(Z.default.platform()){case"darwin":{yield this.tearDownDarwin();break}case"linux":{yield this.tearDownLinux();break}case"win32":{yield this.tearDownWindows();break}default:{throw new Error(`Unsupported platform: ${Z.default.platform()}`)}}yield ne.group(`Cleaning up toolDir`,(()=>S(this,void 0,void 0,(function*(){if(!this._toolDir){return}T.default.rmSync(this._toolDir,{recursive:true,force:true})}))))}))}tearDownDarwin(){return S(this,void 0,void 0,(function*(){yield ne.group("Docker daemon logs",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("limactl",["shell","--tty=false",this.limaInstanceName,"sudo","journalctl","-u","docker.service","-l","--no-pager"]).catch((()=>{ne.warning(`Failed to get Docker daemon logs`)}))}))));yield ne.group("Stopping lima instance",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}))));yield ne.group("Removing lima instance",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}))));yield ne.group("Removing Docker context",(()=>S(this,void 0,void 0,(function*(){yield ae.Docker.exec(["context","rm","-f",this.contextName])}))));yield ne.group(`Cleaning up runDir`,(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("sudo",["rm","-rf",this.runDir])}))))}))}tearDownLinux(){return S(this,void 0,void 0,(function*(){yield ne.group("Docker daemon logs",(()=>S(this,void 0,void 0,(function*(){ne.info(T.default.readFileSync(ee.default.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}))));yield ne.group("Stopping Docker daemon",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("sudo",["kill","-s","SIGTERM",T.default.readFileSync(ee.default.join(this.runDir,"docker.pid")).toString().trim()]);yield fe.Util.sleep(5)}))));yield ne.group("Removing Docker context",(()=>S(this,void 0,void 0,(function*(){yield ae.Docker.exec(["context","rm","-f",this.contextName])}))));yield ne.group(`Cleaning up runDir`,(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:true,failOnStdErr:false})}))))}))}tearDownWindows(){return S(this,void 0,void 0,(function*(){yield ne.group("Docker daemon logs",(()=>S(this,void 0,void 0,(function*(){const i=yield fe.Util.powershellCommand((0,pe.dockerServiceLogsPs1)());yield le.Exec.exec(i.command,i.args)}))));yield ne.group("Removing Docker context",(()=>S(this,void 0,void 0,(function*(){yield ae.Docker.exec(["context","rm","-f",this.contextName])}))));yield ne.group("Stopping Docker daemon service",(()=>S(this,void 0,void 0,(function*(){yield le.Exec.exec("powershell",["-Command",`Stop-Service -Name docker -Force`])}))))}))}downloadURL(i,c,d){const p=Install.platformOS();const A=Install.platformArch();const C=p==="win"?".zip":".tgz";return`https://download.docker.com/${p}/static/${d}/${A}/${i}-${c}${C}`}static platformOS(){switch(Z.default.platform()){case"darwin":{return"mac"}case"linux":{return"linux"}case"win32":{return"win"}default:{return Z.default.platform()}}}static platformArch(){switch(Z.default.arch()){case"x64":{return"x86_64"}case"ppc64":{return"ppc64le"}case"arm64":{return"aarch64"}case"arm":{const i=process.config.variables.arm_version;switch(i){case 6:{return"armel"}case 7:{return"armhf"}default:{return`v${i}`}}}default:{return Z.default.arch()}}}static limaInstalled(){return S(this,void 0,void 0,(function*(){return yield ie.which("lima",true).then((i=>{ne.debug(`docker.Install.limaInstalled ok: ${i}`);return true})).catch((i=>{ne.debug(`docker.Install.limaInstalled error: ${i}`);return false}))}))}static qemuBin(){return S(this,void 0,void 0,(function*(){switch(Z.default.arch()){case"x64":{return`qemu-system-x86_64`}case"arm64":{return`qemu-system-aarch64`}default:{return`qemu-system-${Z.default.arch()}`}}}))}static qemuInstalled(){return S(this,void 0,void 0,(function*(){return yield ie.which(yield Install.qemuBin(),true).then((i=>{ne.debug(`docker.Install.qemuInstalled ok: ${i}`);return true})).catch((i=>{ne.debug(`docker.Install.qemuInstalled error: ${i}`);return false}))}))}static getRelease(i,c){return S(this,void 0,void 0,(function*(){const d=new ce.GitHub({token:c});const p=yield d.releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!p[i]){if(!p["v"+i]){throw new Error(`Cannot find Docker release ${i} in releases JSON`)}return p["v"+i]}return p[i]}))}static limaCustomImages(){const i=[];const c=process.env.LIMA_IMAGES;if(!c){return i}for(const d of fe.Util.getList(c,{ignoreComma:true,comment:"#"})){const c=d.indexOf(":");const p=d.substring(0,c).trim();const A=d.indexOf("@");const C=d.substring(c+1,A!==-1?A:undefined).trim();const S=A!==-1?d.substring(A+1).trim():"";i.push({location:C,arch:p,digest:S})}return i}imageConfig(i,c){return S(this,void 0,void 0,(function*(){var d;const p=yield this.regctl.manifestGet({image:i,platform:c});const A=(d=p===null||p===void 0?void 0:p.config)===null||d===void 0?void 0:d.digest;if(!A){throw new Error(`No config digest found for image ${i}`)}const C=yield this.regctl.blobGet({repository:i,digest:A});return JSON.parse(C)}))}brewInstall(i,c){return S(this,void 0,void 0,(function*(){const d=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});yield ne.group(`Installing ${i}`,(()=>S(this,void 0,void 0,(function*(){if(!c){yield le.Exec.exec("brew",["install",i])}else{const p="docker-actions-toolkit/tap";const A=yield le.Exec.getExecOutput("brew",["tap"],{ignoreReturnCode:true,silent:true,env:d}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}for(const c of i.stdout.trim().split("\n")){if(c.includes(p)){return true}}return false}));if(!A){yield le.Exec.exec("brew",["tap-new",p],{env:d})}const C=yield le.Exec.getExecOutput("brew",["--repo",p],{ignoreReturnCode:true,silent:true,env:d}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}return i.stdout.trim()}));const S=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${c}/Formula/${i.charAt(0)}/${i}.rb`;yield se.downloadTool(S,ee.default.join(C,"Formula",`${i}.rb`));const v=yield le.Exec.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:true,silent:true,env:d}).then((c=>{if(c.stderr.length>0&&c.exitCode!=0){throw new Error(c.stderr)}for(const d of c.stdout.trim().split("\n")){if(d.trim()==i){return true}}return false}));if(v){yield le.Exec.exec("brew",["uninstall",i,"--ignore-dependencies"],{env:d})}yield le.Exec.exec("brew",["install",`${p}/${i}`],{env:d})}}))))}))}}c.Install=Install},55162:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.Exec=void 0;const v=C(d(37484));const _=C(d(95236));class Exec{static exec(i,c,d){return S(this,void 0,void 0,(function*(){v.debug(`Exec.exec: ${i} ${c===null||c===void 0?void 0:c.join(" ")}`);return _.exec(i,c,d)}))}static getExecOutput(i,c,d){return S(this,void 0,void 0,(function*(){v.debug(`Exec.getExecOutput: ${i} ${c===null||c===void 0?void 0:c.join(" ")}`);return _.getExecOutput(i,c,d)}))}}c.Exec=Exec},36060:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.GitHub=void 0;const _=v(d(76982));const T=v(d(79896));const V=v(d(61528));const Z=d(74281);const ee=v(d(70857));const te=v(d(16928));const re=d(44216);const ne=d(87417);const ie=d(72938);const se=d(41631);const oe=d(47252);const ae=d(76846);const le=C(d(37484));const ce=C(d(93228));const ue=C(d(54844));const de=d(71400);const fe=d(7560);const pe=d(23651);class GitHub{constructor(i){this.githubToken=(i===null||i===void 0?void 0:i.token)||process.env.GITHUB_TOKEN;this.octokit=ce.getOctokit(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get(Object.assign({},ce.context.repo)).then((i=>i.data))}releases(i,c){return S(this,void 0,void 0,(function*(){let d;try{d=yield this.releasesRaw(i,c)}catch(p){if(!this.githubToken){throw p}d=yield this.releasesRaw(i,c,this.githubToken)}return d}))}releasesRaw(i,c,d){return S(this,void 0,void 0,(function*(){const p=`https://raw.githubusercontent.com/${c.owner}/${c.repo}/${c.ref}/${c.path}`;const A=new ue.HttpClient("docker-actions-toolkit");const C=yield A.get(p,d?{Authorization:`token ${d}`}:undefined);const S=yield C.readBody();const v=C.message.statusCode||500;if(v>=400){throw new Error(`Failed to get ${i} releases from ${p} with status code ${v}: ${S}`)}return JSON.parse(S)}))}static get context(){return ce.context}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){return(0,ie.isGhes)()}static get repository(){return`${ce.context.repo.owner}/${ce.context.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:ce.context.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(i){return`${GitHub.serverURL}/${GitHub.repository}/actions/runs/${GitHub.runId}${i?`/attempts/${GitHub.runAttempt}`:""}`}static get actionsRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"]||"";return i?(0,fe.jwtDecode)(i):undefined}static printActionsRuntimeTokenACs(){return S(this,void 0,void 0,(function*(){let i;try{i=GitHub.actionsRuntimeToken}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${i.message}`)}if(!i){throw new Error(`ACTIONS_RUNTIME_TOKEN not set`)}try{JSON.parse(`${i.ac}`).forEach((i=>{let c;switch(i.Permission){case 1:c="read";break;case 2:c="write";break;case 3:c="read/write";break;default:c=`unimplemented (${i.Permission})`}le.info(`${i.Scope}: ${c}`)}))}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${i.message}`)}}))}static uploadArtifact(i){return S(this,void 0,void 0,(function*(){if(GitHub.isGHES){throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.")}const c=te.default.basename(i.filename);const d=(0,se.getBackendIdsFromToken)();const p=(0,ne.internalArtifactTwirpClient)();le.info(`Uploading ${c} to blob storage`);const A={workflowRunBackendId:d.workflowRunBackendId,workflowJobRunBackendId:d.workflowJobRunBackendId,name:c,version:4};const C=(0,oe.getExpiration)(i===null||i===void 0?void 0:i.retentionDays);if(C){A.expiresAt=C}const S=yield p.CreateArtifact(A);if(!S.ok){throw new ae.InvalidResponseError("cannot create artifact client")}let v=0;const V=new de.BlobClient(S.signedUploadUrl);const Z=V.getBlockBlobClient();const ee={blobContentDisposition:`attachment; filename="${c}"`};if(i.mimeType){ee.blobContentType=i.mimeType}le.debug(`Upload headers: ${JSON.stringify(ee)}`);try{le.info("Beginning upload of artifact content to blob storage");yield Z.uploadFile(i.filename,{blobHTTPHeaders:ee,onProgress:i=>{le.info(`Uploaded bytes ${i.loadedBytes}`);v=i.loadedBytes}})}catch(i){if(ae.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new ae.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}le.info("Finished uploading artifact content to blob storage!");const ie=_.default.createHash("sha256").update(T.default.readFileSync(i.filename)).digest("hex");le.info(`SHA256 hash of uploaded artifact is ${ie}`);const ce={workflowRunBackendId:d.workflowRunBackendId,workflowJobRunBackendId:d.workflowJobRunBackendId,name:c,size:v?v.toString():"0"};if(ie){ce.hash=re.StringValue.create({value:`sha256:${ie}`})}le.info(`Finalizing artifact upload`);const ue=yield p.FinalizeArtifact(ce);if(!ue.ok){throw new ae.InvalidResponseError("Cannot finalize artifact upload")}const fe=BigInt(ue.artifactId);le.info(`Artifact successfully finalized (${fe})`);const pe=`${GitHub.workflowRunURL()}/artifacts/${fe}`;le.info(`Artifact download URL: ${pe}`);return{id:Number(fe),filename:c,size:v,url:pe}}))}static writeBuildSummary(i){return S(this,void 0,void 0,(function*(){var c,d,p;const addLink=function(i,c,d=false){return`<a href="${c}">${i}</a>`+(d?ee.default.EOL:"")};const A=i.exportRes.refs.length;const C=A>0?(c=i.exportRes.refs)===null||c===void 0?void 0:c[0]:undefined;const S=C?(d=i.exportRes.summaries)===null||d===void 0?void 0:d[C]:undefined;const v=i.driver==="cloud"&&i.endpoint?(p=i.endpoint)===null||p===void 0?void 0:p.replace(/^cloud:\/\//,"").split("/")[0]:undefined;const _=le.summary.addHeading("Docker Build summary",2);if(v&&A===1&&C&&S){const i=GitHub.formatDBCBuildURL(v,C,S.defaultPlatform);_.addRaw(`<p>`).addRaw(`For a detailed look at the build, you can check the results at:`).addRaw("</p>").addRaw(`<p>`).addRaw(`:whale: ${addLink(`<strong>${i}</strong>`,i)}`).addRaw(`</p>`)}if(i.uploadRes){const c=`./${GitHub.runId}/${i.uploadRes.url.split("/").slice(-2).join("/")}`;if(v&&A===1){_.addRaw(`<p>`).addRaw(`You can also download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("</p>")}else{_.addRaw(`<p>`).addRaw(`For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("</p>")}_.addRaw(`<p>`).addRaw(`:arrow_down: ${addLink(`<strong>${pe.Util.stringToUnicodeEntities(i.uploadRes.filename)}</strong>`,c)} (${pe.Util.formatFileSize(i.uploadRes.size)} - includes <strong>${A} build record${A>1?"s":""}</strong>)`).addRaw(`</p>`)}else if(i.exportRes.summaries){_.addRaw(`<p>`).addRaw(`The following table provides a brief summary of your build.`).addBreak().addRaw(`For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw(`</p>`)}_.addRaw(`<p>`).addRaw(`Find this useful? `).addRaw(addLink("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("</p>");if(i.exportRes.summaries){_.addRaw("<p>");const c=[[{header:true,data:"ID"},{header:true,data:"Name"},{header:true,data:"Status"},{header:true,data:"Cached"},{header:true,data:"Duration"},...v&&A>1?[{header:true,data:"Build result URL"}]:[]]];let d;for(const p in i.exportRes.summaries){if(Object.prototype.hasOwnProperty.call(i.exportRes.summaries,p)){const C=i.exportRes.summaries[p];c.push([{data:`<code>${p.substring(0,6).toUpperCase()}</code>`},{data:`<strong>${pe.Util.stringToUnicodeEntities(C.name)}</strong>`},{data:`${C.status==="completed"?":white_check_mark:":C.status==="canceled"?":no_entry_sign:":":x:"} ${C.status}`},{data:`${C.numCachedSteps>0?Math.round(C.numCachedSteps/C.numTotalSteps*100):0}%`},{data:C.duration},...v&&A>1?[{data:addLink(":whale: Open",GitHub.formatDBCBuildURL(v,p,C.defaultPlatform))}]:[]]);if(C.error){d=C.error}}}_.addTable([...c]);_.addRaw(`</p>`);if(d){_.addRaw(`<blockquote>`);if(pe.Util.countLines(d)>10){_.addRaw(`<details><summary><strong>Error</strong></summary>`).addCodeBlock(V.default.encode(d),"text").addRaw(`</details>`)}else{_.addRaw(`<strong>Error</strong>`).addBreak().addRaw(`<p>`).addCodeBlock(V.default.encode(d),"text").addRaw(`</p>`)}_.addRaw(`</blockquote>`)}}if(i.inputs){_.addRaw(`<details><summary><strong>Build inputs</strong></summary>`).addCodeBlock((0,Z.dump)(i.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw(`</details>`)}if(i.bakeDefinition){_.addRaw(`<details><summary><strong>Bake definition</strong></summary>`).addCodeBlock(JSON.stringify(i.bakeDefinition,null,2),"json").addRaw(`</details>`)}le.info(`Writing summary`);yield _.addSeparator().write()}))}static formatDBCBuildURL(i,c,d){return`https://app.docker.com/build/accounts/${i}/builds/${(d!==null&&d!==void 0?d:"linux/amd64").replace("/","-")}/${c}`}}c.GitHub=GitHub},19995:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.run=run;const v=C(d(37484));const _=d(70581);const T=!!process.env["STATE_isPost"];if(!T){v.saveState("isPost","true")}function run(i,c){return S(this,void 0,void 0,(function*(){if(!T){try{yield i()}catch(i){v.setFailed(i.message)}}else{if(c){yield c()}yield v.group(`Post cache`,(()=>S(this,void 0,void 0,(function*(){yield _.Cache.post()}))))}}))}},24514:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Install=void 0;const _=v(d(79896));const T=v(d(70857));const V=v(d(16928));const Z=C(d(37484));const ee=C(d(33472));const te=C(d(91955));const re=C(d(39023));const ne=d(70581);const ie=d(32272);const se=d(36060);class Install{constructor(i){this.githubToken=(i===null||i===void 0?void 0:i.githubToken)||process.env.GITHUB_TOKEN}download(i,c){return S(this,void 0,void 0,(function*(){const d=yield Install.getDownloadVersion(i);Z.debug(`Install.download version: ${d.version}`);const p=yield Install.getRelease(d,this.githubToken);Z.debug(`Install.download release tag name: ${p.tag_name}`);const A=yield this.vspec(p.tag_name);Z.debug(`Install.download vspec: ${A}`);const C=te.clean(A)||"";if(!te.valid(C)){throw new Error(`Invalid regclient version "${A}".`)}const S=new ne.Cache({htcName:"regctl-dl-bin",htcVersion:A,baseCacheDir:V.default.join(T.default.homedir(),".bin"),cacheFile:T.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:c});const v=yield S.find();if(v){Z.info(`regctl binary found in ${v}`);return v}const _=re.format(d.downloadURL,A,this.filename());Z.info(`Downloading ${_}`);const ie=yield ee.downloadTool(_,undefined,this.githubToken);Z.debug(`Install.download htcDownloadPath: ${ie}`);const se=yield S.save(ie);Z.info(`Cached to ${se}`);return se}))}install(i,c){return S(this,void 0,void 0,(function*(){c=c||ie.Context.tmpDir();const d=V.default.join(c,"regctl-bin");if(!_.default.existsSync(d)){_.default.mkdirSync(d,{recursive:true})}const p=T.default.platform()=="win32"?"regctl.exe":"regctl";const A=V.default.join(d,p);_.default.copyFileSync(i,A);Z.info("Fixing perms");_.default.chmodSync(A,"0755");Z.addPath(d);Z.info("Added regctl to PATH");Z.info(`Binary path: ${A}`);return A}))}filename(){let i;switch(T.default.arch()){case"x64":{i="amd64";break}case"ppc64":{i="ppc64le";break}case"arm":{const c=process.config.variables.arm_version;i=c?"armv"+c:"arm";break}default:{i=T.default.arch();break}}const c=T.default.platform()=="win32"?"windows":T.default.platform();const d=T.default.platform()=="win32"?".exe":"";return re.format("regctl-%s-%s%s",c,i,d)}vspec(i){return S(this,void 0,void 0,(function*(){const c=i.replace(/^v+|v+$/g,"");Z.info(`Use ${c} version spec cache key for ${i}`);return c}))}static getDownloadVersion(i){return S(this,void 0,void 0,(function*(){return{version:i,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}))}static getRelease(i,c){return S(this,void 0,void 0,(function*(){const d=new se.GitHub({token:c});const p=yield d.releases("regclient",i.contentOpts);if(!p[i.version]){throw new Error(`Cannot find regclient release ${i.version} in releases JSON`)}return p[i.version]}))}}c.Install=Install},6258:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.Regctl=void 0;const v=C(d(37484));const _=C(d(91955));const T=d(55162);class Regctl{constructor(i){this.binPath=(i===null||i===void 0?void 0:i.binPath)||"regctl";this._version="";this._versionOnce=false}blobGet(i){return S(this,void 0,void 0,(function*(){return yield T.Exec.getExecOutput(this.binPath,["blob","get",i.repository,i.digest],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return i.stdout}))}))}manifestGet(i){return S(this,void 0,void 0,(function*(){var c;return yield T.Exec.getExecOutput(this.binPath,["manifest","get",i.image,`--platform=${(c=i.platform)!==null&&c!==void 0?c:"local"}`,`--format={{json .}}`],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim())}))}))}isAvailable(){return S(this,void 0,void 0,(function*(){const i=yield T.Exec.getExecOutput(this.binPath,[],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){v.debug(`Regctl.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{v.debug(`Regctl.isAvailable error: ${i}`);return false}));v.debug(`Regctl.isAvailable: ${i}`);return i}))}version(){return S(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=yield T.Exec.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return i.stdout.trim()}));return this._version}))}printVersion(){return S(this,void 0,void 0,(function*(){yield T.Exec.exec(this.binPath,["version"],{failOnStdErr:false})}))}versionSatisfies(i,c){return S(this,void 0,void 0,(function*(){const d=c!==null&&c!==void 0?c:yield this.version();if(!d){v.debug(`Regctl.versionSatisfies false: undefined version`);return false}const p=_.satisfies(d,i)||/^[0-9a-f]{7}$/.exec(d)!==null;v.debug(`Regctl.versionSatisfies ${d} statisfies ${i}: ${p}`);return p}))}}c.Regctl=Regctl},83211:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Install=void 0;const _=v(d(79896));const T=v(d(70857));const V=v(d(16928));const Z=C(d(37484));const ee=C(d(33472));const te=C(d(91955));const re=C(d(39023));const ne=d(70581);const ie=d(32272);const se=d(36060);class Install{constructor(i){this.githubToken=(i===null||i===void 0?void 0:i.githubToken)||process.env.GITHUB_TOKEN}download(i,c){return S(this,void 0,void 0,(function*(){const d=yield Install.getDownloadVersion(i);Z.debug(`Install.download version: ${d.version}`);const p=yield Install.getRelease(d,this.githubToken);Z.debug(`Install.download release tag name: ${p.tag_name}`);const A=yield this.vspec(p.tag_name);Z.debug(`Install.download vspec: ${A}`);const C=te.clean(A)||"";if(!te.valid(C)){throw new Error(`Invalid Undock version "${A}".`)}const S=new ne.Cache({htcName:"undock-dl-bin",htcVersion:A,baseCacheDir:V.default.join(T.default.homedir(),".bin"),cacheFile:T.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:c});const v=yield S.find();if(v){Z.info(`Undock binary found in ${v}`);return v}const _=re.format(d.downloadURL,A,this.filename(A));Z.info(`Downloading ${_}`);const ie=yield ee.downloadTool(_,undefined,this.githubToken);Z.debug(`Install.download htcDownloadPath: ${ie}`);let se;if(T.default.platform()=="win32"){se=yield ee.extractZip(ie)}else{se=yield ee.extractTar(ie)}Z.info(`Extracted to ${se}`);const oe=V.default.join(se,T.default.platform()=="win32"?"undock.exe":"undock");Z.debug(`Install.download exePath: ${oe}`);const ae=yield S.save(oe);Z.info(`Cached to ${ae}`);return ae}))}install(i,c){return S(this,void 0,void 0,(function*(){c=c||ie.Context.tmpDir();const d=V.default.join(c,"undock-bin");if(!_.default.existsSync(d)){_.default.mkdirSync(d,{recursive:true})}const p=T.default.platform()=="win32"?"undock.exe":"undock";const A=V.default.join(d,p);_.default.copyFileSync(i,A);Z.info("Fixing perms");_.default.chmodSync(A,"0755");Z.addPath(d);Z.info("Added Undock to PATH");Z.info(`Binary path: ${A}`);return A}))}filename(i){let c;switch(T.default.arch()){case"x64":{c="amd64";break}case"ppc64":{c="ppc64le";break}case"arm":{const i=process.config.variables.arm_version;c=i?"armv"+i:"arm";break}default:{c=T.default.arch();break}}const d=T.default.platform()=="win32"?"windows":T.default.platform();const p=T.default.platform()=="win32"?".zip":".tar.gz";return re.format("undock_%s_%s_%s%s",i,d,c,p)}vspec(i){return S(this,void 0,void 0,(function*(){const c=i.replace(/^v+|v+$/g,"");Z.info(`Use ${c} version spec cache key for ${i}`);return c}))}static getDownloadVersion(i){return S(this,void 0,void 0,(function*(){return{version:i,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}))}static getRelease(i,c){return S(this,void 0,void 0,(function*(){const d=new se.GitHub({token:c});const p=yield d.releases("Undock",i.contentOpts);if(!p[i.version]){throw new Error(`Cannot find Undock release ${i.version} in releases JSON`)}return p[i.version]}))}}c.Install=Install},16634:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.Undock=void 0;const v=C(d(37484));const _=C(d(91955));const T=d(55162);class Undock{constructor(i){this.binPath=(i===null||i===void 0?void 0:i.binPath)||"undock";this._version="";this._versionOnce=false}run(i){return S(this,void 0,void 0,(function*(){if(!i.source){throw new Error("source is required")}if(!i.dist){throw new Error("dist is required")}const c=[];if(i.logLevel){c.push(`--log-level=${i.logLevel}`)}if(i.logCaller){c.push("--log-caller")}if(i.cacheDir){c.push(`--cachedir=${i.cacheDir}`)}if(i.platform){c.push(`--platform=${i.platform}`)}if(i.all){c.push("--all")}if(i.include){i.include.forEach((i=>{c.push(`--include=${i}`)}))}if(i.insecure){c.push("--insecure")}if(i.rmDist){c.push("--rm-dist")}if(i.wrap){c.push("--wrap")}c.push(i.source,i.dist);yield T.Exec.exec(this.binPath,c,{failOnStdErr:false})}))}isAvailable(){return S(this,void 0,void 0,(function*(){const i=yield T.Exec.getExecOutput(this.binPath,[],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){v.debug(`Undock.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{v.debug(`Undock.isAvailable error: ${i}`);return false}));v.debug(`Undock.isAvailable: ${i}`);return i}))}version(){return S(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=yield T.Exec.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return i.stdout.trim()}));return this._version}))}printVersion(){return S(this,void 0,void 0,(function*(){yield T.Exec.exec(this.binPath,["--version"],{failOnStdErr:false})}))}versionSatisfies(i,c){return S(this,void 0,void 0,(function*(){const d=c!==null&&c!==void 0?c:yield this.version();if(!d){v.debug(`Undock.versionSatisfies false: undefined version`);return false}const p=_.satisfies(d,i)||/^[0-9a-f]{7}$/.exec(d)!==null;v.debug(`Undock.versionSatisfies ${d} statisfies ${i}: ${p}`);return p}))}}c.Undock=Undock},23651:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Util=void 0;const _=v(d(76982));const T=v(d(79896));const V=v(d(16928));const Z=C(d(37484));const ee=C(d(94994));const te=d(61110);class Util{static getInputList(i,c){return this.getList(Z.getInput(i),c)}static getList(i,c){const d=[];if(i==""){return d}const p=(0,te.parse)(i,{columns:false,relaxQuotes:true,comment:c===null||c===void 0?void 0:c.comment,relaxColumnCount:true,skipEmptyLines:true,quote:c===null||c===void 0?void 0:c.quote});for(const i of p){if(i.length==1){if(c===null||c===void 0?void 0:c.ignoreComma){d.push(i[0])}else{d.push(...i[0].split(","))}}else if(!(c===null||c===void 0?void 0:c.ignoreComma)){d.push(...i)}else{d.push(i.join(","))}}return d.filter((i=>i)).map((i=>i.trim()))}static getInputNumber(i){const c=Z.getInput(i);if(!c){return undefined}return parseInt(c)}static asyncForEach(i,c){return S(this,void 0,void 0,(function*(){for(let d=0;d<i.length;d++){yield c(i[d],d,i)}}))}static isValidURL(i){let c;try{c=new URL(i)}catch(i){return false}return c.protocol==="http:"||c.protocol==="https:"}static isValidRef(i){if(Util.isValidURL(i)){return true}for(const c of["git://","github.com/","git@"]){if(i.startsWith(c)){return true}}return false}static powershellCommand(i,c){return S(this,void 0,void 0,(function*(){const d=yield ee.which("powershell",true);const p=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const A=[];if(c){for(const i in c){A.push(`-${i} '${c[i].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`)}}return{command:`"${d}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${p}' ${A.join(" ")}`]}}))}static isDirectory(i){try{return T.default.lstatSync(i).isDirectory()}catch(i){}return false}static trimPrefix(i,c){if(!i||!c){return i}const d=i.indexOf(c);if(d!==0){return i}return i.substring(c.length)}static trimSuffix(i,c){if(!i||!c){return i}const d=i.lastIndexOf(c);if(d===-1||d+c.length!==i.length){return i}return i.substring(0,d)}static sleep(i){return new Promise((c=>setTimeout(c,i*1e3)))}static hash(i){return _.default.createHash("sha256").update(i).digest("hex")}static parseBool(i){switch(i){case"1":case"t":case"T":case"true":case"TRUE":case"True":return true;case"0":case"f":case"F":case"false":case"FALSE":case"False":return false;default:throw new Error(`parseBool syntax error: ${i}`)}}static formatFileSize(i){if(i===0)return"0 Bytes";const c=1024;const d=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];const p=Math.floor(Math.log(i)/Math.log(c));return parseFloat((i/Math.pow(c,p)).toFixed(2))+" "+d[p]}static generateRandomString(i=10){const c=_.default.randomBytes(Math.ceil(i/2));return c.toString("hex").slice(0,i)}static stringToUnicodeEntities(i){return Array.from(i).map((i=>`&#x${i.charCodeAt(0).toString(16)};`)).join("")}static countLines(i){return i.split(/\r\n|\r|\n/).length}static isPathRelativeTo(i,c){const d=V.default.resolve(i);const p=V.default.resolve(c);return p.startsWith(d.endsWith(V.default.sep)?d:`${d}${V.default.sep}`)}static formatDuration(i){if(i===0)return"0s";const c=Math.floor(i/1e9);const d=Math.floor(c/3600);const p=Math.floor(c%3600/60);const A=c%60;const C=[];if(d)C.push(`${d}h`);if(p)C.push(`${p}m`);if(A||C.length===0)C.push(`${A}s`);return C.join("")}}c.Util=Util},81046:(i,c,d)=>{"use strict";const p=Symbol("SemVer ANY");class Comparator{static get ANY(){return p}constructor(i,c){c=A(c);if(i instanceof Comparator){if(i.loose===!!c.loose){return i}else{i=i.value}}i=i.trim().split(/\s+/).join(" ");_("comparator",i,c);this.options=c;this.loose=!!c.loose;this.parse(i);if(this.semver===p){this.value=""}else{this.value=this.operator+this.semver.version}_("comp",this)}parse(i){const c=this.options.loose?C[S.COMPARATORLOOSE]:C[S.COMPARATOR];const d=i.match(c);if(!d){throw new TypeError(`Invalid comparator: ${i}`)}this.operator=d[1]!==undefined?d[1]:"";if(this.operator==="="){this.operator=""}if(!d[2]){this.semver=p}else{this.semver=new T(d[2],this.options.loose)}}toString(){return this.value}test(i){_("Comparator.test",i,this.options.loose);if(this.semver===p||i===p){return true}if(typeof i==="string"){try{i=new T(i,this.options)}catch(i){return false}}return v(i,this.operator,this.semver,this.options)}intersects(i,c){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new V(i.value,c).test(this.value)}else if(i.operator===""){if(i.value===""){return true}return new V(this.value,c).test(i.semver)}c=A(c);if(c.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")){return false}if(!c.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&i.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&i.operator.startsWith("<")){return true}if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")){return true}if(v(this.semver,"<",i.semver,c)&&this.operator.startsWith(">")&&i.operator.startsWith("<")){return true}if(v(this.semver,">",i.semver,c)&&this.operator.startsWith("<")&&i.operator.startsWith(">")){return true}return false}}i.exports=Comparator;const A=d(5385);const{safeRe:C,t:S}=d(74836);const v=d(47721);const _=d(12814);const T=d(55186);const V=d(13177)},13177:(i,c,d)=>{"use strict";const p=/\s+/g;class Range{constructor(i,c){c=S(c);if(i instanceof Range){if(i.loose===!!c.loose&&i.includePrerelease===!!c.includePrerelease){return i}else{return new Range(i.raw,c)}}if(i instanceof v){this.raw=i.value;this.set=[[i]];this.formatted=undefined;return this}this.options=c;this.loose=!!c.loose;this.includePrerelease=!!c.includePrerelease;this.raw=i.trim().replace(p," ");this.set=this.raw.split("||").map((i=>this.parseRange(i.trim()))).filter((i=>i.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const i=this.set[0];this.set=this.set.filter((i=>!isNullSet(i[0])));if(this.set.length===0){this.set=[i]}else if(this.set.length>1){for(const i of this.set){if(i.length===1&&isAny(i[0])){this.set=[i];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let i=0;i<this.set.length;i++){if(i>0){this.formatted+="||"}const c=this.set[i];for(let i=0;i<c.length;i++){if(i>0){this.formatted+=" "}this.formatted+=c[i].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){const c=(this.options.includePrerelease&&ne)|(this.options.loose&&ie);const d=c+":"+i;const p=C.get(d);if(p){return p}const A=this.options.loose;const S=A?V[Z.HYPHENRANGELOOSE]:V[Z.HYPHENRANGE];i=i.replace(S,hyphenReplace(this.options.includePrerelease));_("hyphen replace",i);i=i.replace(V[Z.COMPARATORTRIM],ee);_("comparator trim",i);i=i.replace(V[Z.TILDETRIM],te);_("tilde trim",i);i=i.replace(V[Z.CARETTRIM],re);_("caret trim",i);let T=i.split(" ").map((i=>parseComparator(i,this.options))).join(" ").split(/\s+/).map((i=>replaceGTE0(i,this.options)));if(A){T=T.filter((i=>{_("loose invalid filter",i,this.options);return!!i.match(V[Z.COMPARATORLOOSE])}))}_("range list",T);const se=new Map;const oe=T.map((i=>new v(i,this.options)));for(const i of oe){if(isNullSet(i)){return[i]}se.set(i.value,i)}if(se.size>1&&se.has("")){se.delete("")}const ae=[...se.values()];C.set(d,ae);return ae}intersects(i,c){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((d=>isSatisfiable(d,c)&&i.set.some((i=>isSatisfiable(i,c)&&d.every((d=>i.every((i=>d.intersects(i,c)))))))))}test(i){if(!i){return false}if(typeof i==="string"){try{i=new T(i,this.options)}catch(i){return false}}for(let c=0;c<this.set.length;c++){if(testSet(this.set[c],i,this.options)){return true}}return false}}i.exports=Range;const A=d(59896);const C=new A;const S=d(5385);const v=d(81046);const _=d(12814);const T=d(55186);const{safeRe:V,t:Z,comparatorTrimReplace:ee,tildeTrimReplace:te,caretTrimReplace:re}=d(74836);const{FLAG_INCLUDE_PRERELEASE:ne,FLAG_LOOSE:ie}=d(68504);const isNullSet=i=>i.value==="<0.0.0-0";const isAny=i=>i.value==="";const isSatisfiable=(i,c)=>{let d=true;const p=i.slice();let A=p.pop();while(d&&p.length){d=p.every((i=>A.intersects(i,c)));A=p.pop()}return d};const parseComparator=(i,c)=>{i=i.replace(V[Z.BUILD],"");_("comp",i,c);i=replaceCarets(i,c);_("caret",i);i=replaceTildes(i,c);_("tildes",i);i=replaceXRanges(i,c);_("xrange",i);i=replaceStars(i,c);_("stars",i);return i};const isX=i=>!i||i.toLowerCase()==="x"||i==="*";const replaceTildes=(i,c)=>i.trim().split(/\s+/).map((i=>replaceTilde(i,c))).join(" ");const replaceTilde=(i,c)=>{const d=c.loose?V[Z.TILDELOOSE]:V[Z.TILDE];return i.replace(d,((c,d,p,A,C)=>{_("tilde",i,c,d,p,A,C);let S;if(isX(d)){S=""}else if(isX(p)){S=`>=${d}.0.0 <${+d+1}.0.0-0`}else if(isX(A)){S=`>=${d}.${p}.0 <${d}.${+p+1}.0-0`}else if(C){_("replaceTilde pr",C);S=`>=${d}.${p}.${A}-${C} <${d}.${+p+1}.0-0`}else{S=`>=${d}.${p}.${A} <${d}.${+p+1}.0-0`}_("tilde return",S);return S}))};const replaceCarets=(i,c)=>i.trim().split(/\s+/).map((i=>replaceCaret(i,c))).join(" ");const replaceCaret=(i,c)=>{_("caret",i,c);const d=c.loose?V[Z.CARETLOOSE]:V[Z.CARET];const p=c.includePrerelease?"-0":"";return i.replace(d,((c,d,A,C,S)=>{_("caret",i,c,d,A,C,S);let v;if(isX(d)){v=""}else if(isX(A)){v=`>=${d}.0.0${p} <${+d+1}.0.0-0`}else if(isX(C)){if(d==="0"){v=`>=${d}.${A}.0${p} <${d}.${+A+1}.0-0`}else{v=`>=${d}.${A}.0${p} <${+d+1}.0.0-0`}}else if(S){_("replaceCaret pr",S);if(d==="0"){if(A==="0"){v=`>=${d}.${A}.${C}-${S} <${d}.${A}.${+C+1}-0`}else{v=`>=${d}.${A}.${C}-${S} <${d}.${+A+1}.0-0`}}else{v=`>=${d}.${A}.${C}-${S} <${+d+1}.0.0-0`}}else{_("no pr");if(d==="0"){if(A==="0"){v=`>=${d}.${A}.${C}${p} <${d}.${A}.${+C+1}-0`}else{v=`>=${d}.${A}.${C}${p} <${d}.${+A+1}.0-0`}}else{v=`>=${d}.${A}.${C} <${+d+1}.0.0-0`}}_("caret return",v);return v}))};const replaceXRanges=(i,c)=>{_("replaceXRanges",i,c);return i.split(/\s+/).map((i=>replaceXRange(i,c))).join(" ")};const replaceXRange=(i,c)=>{i=i.trim();const d=c.loose?V[Z.XRANGELOOSE]:V[Z.XRANGE];return i.replace(d,((d,p,A,C,S,v)=>{_("xRange",i,d,p,A,C,S,v);const T=isX(A);const V=T||isX(C);const Z=V||isX(S);const ee=Z;if(p==="="&&ee){p=""}v=c.includePrerelease?"-0":"";if(T){if(p===">"||p==="<"){d="<0.0.0-0"}else{d="*"}}else if(p&&ee){if(V){C=0}S=0;if(p===">"){p=">=";if(V){A=+A+1;C=0;S=0}else{C=+C+1;S=0}}else if(p==="<="){p="<";if(V){A=+A+1}else{C=+C+1}}if(p==="<"){v="-0"}d=`${p+A}.${C}.${S}${v}`}else if(V){d=`>=${A}.0.0${v} <${+A+1}.0.0-0`}else if(Z){d=`>=${A}.${C}.0${v} <${A}.${+C+1}.0-0`}_("xRange return",d);return d}))};const replaceStars=(i,c)=>{_("replaceStars",i,c);return i.trim().replace(V[Z.STAR],"")};const replaceGTE0=(i,c)=>{_("replaceGTE0",i,c);return i.trim().replace(V[c.includePrerelease?Z.GTE0PRE:Z.GTE0],"")};const hyphenReplace=i=>(c,d,p,A,C,S,v,_,T,V,Z,ee)=>{if(isX(p)){d=""}else if(isX(A)){d=`>=${p}.0.0${i?"-0":""}`}else if(isX(C)){d=`>=${p}.${A}.0${i?"-0":""}`}else if(S){d=`>=${d}`}else{d=`>=${d}${i?"-0":""}`}if(isX(T)){_=""}else if(isX(V)){_=`<${+T+1}.0.0-0`}else if(isX(Z)){_=`<${T}.${+V+1}.0-0`}else if(ee){_=`<=${T}.${V}.${Z}-${ee}`}else if(i){_=`<${T}.${V}.${+Z+1}-0`}else{_=`<=${_}`}return`${d} ${_}`.trim()};const testSet=(i,c,d)=>{for(let d=0;d<i.length;d++){if(!i[d].test(c)){return false}}if(c.prerelease.length&&!d.includePrerelease){for(let d=0;d<i.length;d++){_(i[d].semver);if(i[d].semver===v.ANY){continue}if(i[d].semver.prerelease.length>0){const p=i[d].semver;if(p.major===c.major&&p.minor===c.minor&&p.patch===c.patch){return true}}}return false}return true}},55186:(i,c,d)=>{"use strict";const p=d(12814);const{MAX_LENGTH:A,MAX_SAFE_INTEGER:C}=d(68504);const{safeRe:S,t:v}=d(74836);const _=d(5385);const{compareIdentifiers:T}=d(77865);class SemVer{constructor(i,c){c=_(c);if(i instanceof SemVer){if(i.loose===!!c.loose&&i.includePrerelease===!!c.includePrerelease){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`)}if(i.length>A){throw new TypeError(`version is longer than ${A} characters`)}p("SemVer",i,c);this.options=c;this.loose=!!c.loose;this.includePrerelease=!!c.includePrerelease;const d=i.trim().match(c.loose?S[v.LOOSE]:S[v.FULL]);if(!d){throw new TypeError(`Invalid Version: ${i}`)}this.raw=i;this.major=+d[1];this.minor=+d[2];this.patch=+d[3];if(this.major>C||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>C||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>C||this.patch<0){throw new TypeError("Invalid patch version")}if(!d[4]){this.prerelease=[]}else{this.prerelease=d[4].split(".").map((i=>{if(/^[0-9]+$/.test(i)){const c=+i;if(c>=0&&c<C){return c}}return i}))}this.build=d[5]?d[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(i){p("SemVer.compare",this.version,this.options,i);if(!(i instanceof SemVer)){if(typeof i==="string"&&i===this.version){return 0}i=new SemVer(i,this.options)}if(i.version===this.version){return 0}return this.compareMain(i)||this.comparePre(i)}compareMain(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.major<i.major){return-1}if(this.major>i.major){return 1}if(this.minor<i.minor){return-1}if(this.minor>i.minor){return 1}if(this.patch<i.patch){return-1}if(this.patch>i.patch){return 1}return 0}comparePre(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.prerelease.length&&!i.prerelease.length){return-1}else if(!this.prerelease.length&&i.prerelease.length){return 1}else if(!this.prerelease.length&&!i.prerelease.length){return 0}let c=0;do{const d=this.prerelease[c];const A=i.prerelease[c];p("prerelease compare",c,d,A);if(d===undefined&&A===undefined){return 0}else if(A===undefined){return 1}else if(d===undefined){return-1}else if(d===A){continue}else{return T(d,A)}}while(++c)}compareBuild(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}let c=0;do{const d=this.build[c];const A=i.build[c];p("build compare",c,d,A);if(d===undefined&&A===undefined){return 0}else if(A===undefined){return 1}else if(d===undefined){return-1}else if(d===A){continue}else{return T(d,A)}}while(++c)}inc(i,c,d){if(i.startsWith("pre")){if(!c&&d===false){throw new Error("invalid increment argument: identifier is empty")}if(c){const i=`-${c}`.match(this.options.loose?S[v.PRERELEASELOOSE]:S[v.PRERELEASE]);if(!i||i[1]!==c){throw new Error(`invalid identifier: ${c}`)}}}switch(i){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",c,d);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",c,d);break;case"prepatch":this.prerelease.length=0;this.inc("patch",c,d);this.inc("pre",c,d);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",c,d)}this.inc("pre",c,d);break;case"release":if(this.prerelease.length===0){throw new Error(`version ${this.raw} is not a prerelease`)}this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const i=Number(d)?1:0;if(this.prerelease.length===0){this.prerelease=[i]}else{let p=this.prerelease.length;while(--p>=0){if(typeof this.prerelease[p]==="number"){this.prerelease[p]++;p=-2}}if(p===-1){if(c===this.prerelease.join(".")&&d===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(i)}}if(c){let p=[c,i];if(d===false){p=[c]}if(T(this.prerelease[0],c)===0){if(isNaN(this.prerelease[1])){this.prerelease=p}}else{this.prerelease=p}}break}default:throw new Error(`invalid increment argument: ${i}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}i.exports=SemVer},85436:(i,c,d)=>{"use strict";const p=d(57526);const clean=(i,c)=>{const d=p(i.trim().replace(/^[=v]+/,""),c);return d?d.version:null};i.exports=clean},47721:(i,c,d)=>{"use strict";const p=d(14107);const A=d(7705);const C=d(87962);const S=d(55603);const v=d(40525);const _=d(13966);const cmp=(i,c,d,T)=>{switch(c){case"===":if(typeof i==="object"){i=i.version}if(typeof d==="object"){d=d.version}return i===d;case"!==":if(typeof i==="object"){i=i.version}if(typeof d==="object"){d=d.version}return i!==d;case"":case"=":case"==":return p(i,d,T);case"!=":return A(i,d,T);case">":return C(i,d,T);case">=":return S(i,d,T);case"<":return v(i,d,T);case"<=":return _(i,d,T);default:throw new TypeError(`Invalid operator: ${c}`)}};i.exports=cmp},76356:(i,c,d)=>{"use strict";const p=d(55186);const A=d(57526);const{safeRe:C,t:S}=d(74836);const coerce=(i,c)=>{if(i instanceof p){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}c=c||{};let d=null;if(!c.rtl){d=i.match(c.includePrerelease?C[S.COERCEFULL]:C[S.COERCE])}else{const p=c.includePrerelease?C[S.COERCERTLFULL]:C[S.COERCERTL];let A;while((A=p.exec(i))&&(!d||d.index+d[0].length!==i.length)){if(!d||A.index+A[0].length!==d.index+d[0].length){d=A}p.lastIndex=A.index+A[1].length+A[2].length}p.lastIndex=-1}if(d===null){return null}const v=d[2];const _=d[3]||"0";const T=d[4]||"0";const V=c.includePrerelease&&d[5]?`-${d[5]}`:"";const Z=c.includePrerelease&&d[6]?`+${d[6]}`:"";return A(`${v}.${_}.${T}${V}${Z}`,c)};i.exports=coerce},72147:(i,c,d)=>{"use strict";const p=d(55186);const compareBuild=(i,c,d)=>{const A=new p(i,d);const C=new p(c,d);return A.compare(C)||A.compareBuild(C)};i.exports=compareBuild},28545:(i,c,d)=>{"use strict";const p=d(10018);const compareLoose=(i,c)=>p(i,c,true);i.exports=compareLoose},10018:(i,c,d)=>{"use strict";const p=d(55186);const compare=(i,c,d)=>new p(i,d).compare(new p(c,d));i.exports=compare},17290:(i,c,d)=>{"use strict";const p=d(57526);const diff=(i,c)=>{const d=p(i,null,true);const A=p(c,null,true);const C=d.compare(A);if(C===0){return null}const S=C>0;const v=S?d:A;const _=S?A:d;const T=!!v.prerelease.length;const V=!!_.prerelease.length;if(V&&!T){if(!_.patch&&!_.minor){return"major"}if(_.compareMain(v)===0){if(_.minor&&!_.patch){return"minor"}return"patch"}}const Z=T?"pre":"";if(d.major!==A.major){return Z+"major"}if(d.minor!==A.minor){return Z+"minor"}if(d.patch!==A.patch){return Z+"patch"}return"prerelease"};i.exports=diff},14107:(i,c,d)=>{"use strict";const p=d(10018);const eq=(i,c,d)=>p(i,c,d)===0;i.exports=eq},87962:(i,c,d)=>{"use strict";const p=d(10018);const gt=(i,c,d)=>p(i,c,d)>0;i.exports=gt},55603:(i,c,d)=>{"use strict";const p=d(10018);const gte=(i,c,d)=>p(i,c,d)>=0;i.exports=gte},2317:(i,c,d)=>{"use strict";const p=d(55186);const inc=(i,c,d,A,C)=>{if(typeof d==="string"){C=A;A=d;d=undefined}try{return new p(i instanceof p?i.version:i,d).inc(c,A,C).version}catch(i){return null}};i.exports=inc},40525:(i,c,d)=>{"use strict";const p=d(10018);const lt=(i,c,d)=>p(i,c,d)<0;i.exports=lt},13966:(i,c,d)=>{"use strict";const p=d(10018);const lte=(i,c,d)=>p(i,c,d)<=0;i.exports=lte},14716:(i,c,d)=>{"use strict";const p=d(55186);const major=(i,c)=>new p(i,c).major;i.exports=major},97968:(i,c,d)=>{"use strict";const p=d(55186);const minor=(i,c)=>new p(i,c).minor;i.exports=minor},7705:(i,c,d)=>{"use strict";const p=d(10018);const neq=(i,c,d)=>p(i,c,d)!==0;i.exports=neq},57526:(i,c,d)=>{"use strict";const p=d(55186);const parse=(i,c,d=false)=>{if(i instanceof p){return i}try{return new p(i,c)}catch(i){if(!d){return null}throw i}};i.exports=parse},34807:(i,c,d)=>{"use strict";const p=d(55186);const patch=(i,c)=>new p(i,c).patch;i.exports=patch},5039:(i,c,d)=>{"use strict";const p=d(57526);const prerelease=(i,c)=>{const d=p(i,c);return d&&d.prerelease.length?d.prerelease:null};i.exports=prerelease},85236:(i,c,d)=>{"use strict";const p=d(10018);const rcompare=(i,c,d)=>p(c,i,d);i.exports=rcompare},49547:(i,c,d)=>{"use strict";const p=d(72147);const rsort=(i,c)=>i.sort(((i,d)=>p(d,i,c)));i.exports=rsort},36076:(i,c,d)=>{"use strict";const p=d(13177);const satisfies=(i,c,d)=>{try{c=new p(c,d)}catch(i){return false}return c.test(i)};i.exports=satisfies},26293:(i,c,d)=>{"use strict";const p=d(72147);const sort=(i,c)=>i.sort(((i,d)=>p(i,d,c)));i.exports=sort},32475:(i,c,d)=>{"use strict";const p=d(57526);const valid=(i,c)=>{const d=p(i,c);return d?d.version:null};i.exports=valid},91955:(i,c,d)=>{"use strict";const p=d(74836);const A=d(68504);const C=d(55186);const S=d(77865);const v=d(57526);const _=d(32475);const T=d(85436);const V=d(2317);const Z=d(17290);const ee=d(14716);const te=d(97968);const re=d(34807);const ne=d(5039);const ie=d(10018);const se=d(85236);const oe=d(28545);const ae=d(72147);const le=d(26293);const ce=d(49547);const ue=d(87962);const de=d(40525);const fe=d(14107);const pe=d(7705);const Ae=d(55603);const he=d(13966);const ge=d(47721);const me=d(76356);const ye=d(81046);const Ee=d(13177);const be=d(36076);const Ce=d(48465);const we=d(11550);const Ie=d(29820);const Se=d(82271);const ve=d(88816);const Be=d(26317);const Re=d(45133);const _e=d(58548);const Ne=d(69118);const Qe=d(43139);const Te=d(13474);i.exports={parse:v,valid:_,clean:T,inc:V,diff:Z,major:ee,minor:te,patch:re,prerelease:ne,compare:ie,rcompare:se,compareLoose:oe,compareBuild:ae,sort:le,rsort:ce,gt:ue,lt:de,eq:fe,neq:pe,gte:Ae,lte:he,cmp:ge,coerce:me,Comparator:ye,Range:Ee,satisfies:be,toComparators:Ce,maxSatisfying:we,minSatisfying:Ie,minVersion:Se,validRange:ve,outside:Be,gtr:Re,ltr:_e,intersects:Ne,simplifyRange:Qe,subset:Te,SemVer:C,re:p.re,src:p.src,tokens:p.t,SEMVER_SPEC_VERSION:A.SEMVER_SPEC_VERSION,RELEASE_TYPES:A.RELEASE_TYPES,compareIdentifiers:S.compareIdentifiers,rcompareIdentifiers:S.rcompareIdentifiers}},68504:i=>{"use strict";const c="2.0.0";const d=256;const p=Number.MAX_SAFE_INTEGER||9007199254740991;const A=16;const C=d-6;const S=["major","premajor","minor","preminor","patch","prepatch","prerelease"];i.exports={MAX_LENGTH:d,MAX_SAFE_COMPONENT_LENGTH:A,MAX_SAFE_BUILD_LENGTH:C,MAX_SAFE_INTEGER:p,RELEASE_TYPES:S,SEMVER_SPEC_VERSION:c,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},12814:i=>{"use strict";const c=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};i.exports=c},77865:i=>{"use strict";const c=/^[0-9]+$/;const compareIdentifiers=(i,d)=>{if(typeof i==="number"&&typeof d==="number"){return i===d?0:i<d?-1:1}const p=c.test(i);const A=c.test(d);if(p&&A){i=+i;d=+d}return i===d?0:p&&!A?-1:A&&!p?1:i<d?-1:1};const rcompareIdentifiers=(i,c)=>compareIdentifiers(c,i);i.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},59896:i=>{"use strict";class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(i){const c=this.map.get(i);if(c===undefined){return undefined}else{this.map.delete(i);this.map.set(i,c);return c}}delete(i){return this.map.delete(i)}set(i,c){const d=this.delete(i);if(!d&&c!==undefined){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(i,c)}return this}}i.exports=LRUCache},5385:i=>{"use strict";const c=Object.freeze({loose:true});const d=Object.freeze({});const parseOptions=i=>{if(!i){return d}if(typeof i!=="object"){return c}return i};i.exports=parseOptions},74836:(i,c,d)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:p,MAX_SAFE_BUILD_LENGTH:A,MAX_LENGTH:C}=d(68504);const S=d(12814);c=i.exports={};const v=c.re=[];const _=c.safeRe=[];const T=c.src=[];const V=c.safeSrc=[];const Z=c.t={};let ee=0;const te="[a-zA-Z0-9-]";const re=[["\\s",1],["\\d",C],[te,A]];const makeSafeRegex=i=>{for(const[c,d]of re){i=i.split(`${c}*`).join(`${c}{0,${d}}`).split(`${c}+`).join(`${c}{1,${d}}`)}return i};const createToken=(i,c,d)=>{const p=makeSafeRegex(c);const A=ee++;S(i,A,c);Z[i]=A;T[A]=c;V[A]=p;v[A]=new RegExp(c,d?"g":undefined);_[A]=new RegExp(p,d?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${te}*`);createToken("MAINVERSION",`(${T[Z.NUMERICIDENTIFIER]})\\.`+`(${T[Z.NUMERICIDENTIFIER]})\\.`+`(${T[Z.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${T[Z.NUMERICIDENTIFIERLOOSE]})\\.`+`(${T[Z.NUMERICIDENTIFIERLOOSE]})\\.`+`(${T[Z.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${T[Z.NONNUMERICIDENTIFIER]}|${T[Z.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${T[Z.NONNUMERICIDENTIFIER]}|${T[Z.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${T[Z.PRERELEASEIDENTIFIER]}(?:\\.${T[Z.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${T[Z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[Z.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${te}+`);createToken("BUILD",`(?:\\+(${T[Z.BUILDIDENTIFIER]}(?:\\.${T[Z.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${T[Z.MAINVERSION]}${T[Z.PRERELEASE]}?${T[Z.BUILD]}?`);createToken("FULL",`^${T[Z.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${T[Z.MAINVERSIONLOOSE]}${T[Z.PRERELEASELOOSE]}?${T[Z.BUILD]}?`);createToken("LOOSE",`^${T[Z.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${T[Z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${T[Z.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${T[Z.XRANGEIDENTIFIER]})`+`(?:\\.(${T[Z.XRANGEIDENTIFIER]})`+`(?:\\.(${T[Z.XRANGEIDENTIFIER]})`+`(?:${T[Z.PRERELEASE]})?${T[Z.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${T[Z.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${T[Z.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${T[Z.XRANGEIDENTIFIERLOOSE]})`+`(?:${T[Z.PRERELEASELOOSE]})?${T[Z.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${T[Z.GTLT]}\\s*${T[Z.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${T[Z.GTLT]}\\s*${T[Z.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${p}})`+`(?:\\.(\\d{1,${p}}))?`+`(?:\\.(\\d{1,${p}}))?`);createToken("COERCE",`${T[Z.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",T[Z.COERCEPLAIN]+`(?:${T[Z.PRERELEASE]})?`+`(?:${T[Z.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",T[Z.COERCE],true);createToken("COERCERTLFULL",T[Z.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${T[Z.LONETILDE]}\\s+`,true);c.tildeTrimReplace="$1~";createToken("TILDE",`^${T[Z.LONETILDE]}${T[Z.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${T[Z.LONETILDE]}${T[Z.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${T[Z.LONECARET]}\\s+`,true);c.caretTrimReplace="$1^";createToken("CARET",`^${T[Z.LONECARET]}${T[Z.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${T[Z.LONECARET]}${T[Z.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${T[Z.GTLT]}\\s*(${T[Z.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${T[Z.GTLT]}\\s*(${T[Z.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${T[Z.GTLT]}\\s*(${T[Z.LOOSEPLAIN]}|${T[Z.XRANGEPLAIN]})`,true);c.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${T[Z.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${T[Z.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${T[Z.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${T[Z.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},45133:(i,c,d)=>{"use strict";const p=d(26317);const gtr=(i,c,d)=>p(i,c,">",d);i.exports=gtr},69118:(i,c,d)=>{"use strict";const p=d(13177);const intersects=(i,c,d)=>{i=new p(i,d);c=new p(c,d);return i.intersects(c,d)};i.exports=intersects},58548:(i,c,d)=>{"use strict";const p=d(26317);const ltr=(i,c,d)=>p(i,c,"<",d);i.exports=ltr},11550:(i,c,d)=>{"use strict";const p=d(55186);const A=d(13177);const maxSatisfying=(i,c,d)=>{let C=null;let S=null;let v=null;try{v=new A(c,d)}catch(i){return null}i.forEach((i=>{if(v.test(i)){if(!C||S.compare(i)===-1){C=i;S=new p(C,d)}}}));return C};i.exports=maxSatisfying},29820:(i,c,d)=>{"use strict";const p=d(55186);const A=d(13177);const minSatisfying=(i,c,d)=>{let C=null;let S=null;let v=null;try{v=new A(c,d)}catch(i){return null}i.forEach((i=>{if(v.test(i)){if(!C||S.compare(i)===1){C=i;S=new p(C,d)}}}));return C};i.exports=minSatisfying},82271:(i,c,d)=>{"use strict";const p=d(55186);const A=d(13177);const C=d(87962);const minVersion=(i,c)=>{i=new A(i,c);let d=new p("0.0.0");if(i.test(d)){return d}d=new p("0.0.0-0");if(i.test(d)){return d}d=null;for(let c=0;c<i.set.length;++c){const A=i.set[c];let S=null;A.forEach((i=>{const c=new p(i.semver.version);switch(i.operator){case">":if(c.prerelease.length===0){c.patch++}else{c.prerelease.push(0)}c.raw=c.format();case"":case">=":if(!S||C(c,S)){S=c}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}));if(S&&(!d||C(d,S))){d=S}}if(d&&i.test(d)){return d}return null};i.exports=minVersion},26317:(i,c,d)=>{"use strict";const p=d(55186);const A=d(81046);const{ANY:C}=A;const S=d(13177);const v=d(36076);const _=d(87962);const T=d(40525);const V=d(13966);const Z=d(55603);const outside=(i,c,d,ee)=>{i=new p(i,ee);c=new S(c,ee);let te,re,ne,ie,se;switch(d){case">":te=_;re=V;ne=T;ie=">";se=">=";break;case"<":te=T;re=Z;ne=_;ie="<";se="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(v(i,c,ee)){return false}for(let d=0;d<c.set.length;++d){const p=c.set[d];let S=null;let v=null;p.forEach((i=>{if(i.semver===C){i=new A(">=0.0.0")}S=S||i;v=v||i;if(te(i.semver,S.semver,ee)){S=i}else if(ne(i.semver,v.semver,ee)){v=i}}));if(S.operator===ie||S.operator===se){return false}if((!v.operator||v.operator===ie)&&re(i,v.semver)){return false}else if(v.operator===se&&ne(i,v.semver)){return false}}return true};i.exports=outside},43139:(i,c,d)=>{"use strict";const p=d(36076);const A=d(10018);i.exports=(i,c,d)=>{const C=[];let S=null;let v=null;const _=i.sort(((i,c)=>A(i,c,d)));for(const i of _){const A=p(i,c,d);if(A){v=i;if(!S){S=i}}else{if(v){C.push([S,v])}v=null;S=null}}if(S){C.push([S,null])}const T=[];for(const[i,c]of C){if(i===c){T.push(i)}else if(!c&&i===_[0]){T.push("*")}else if(!c){T.push(`>=${i}`)}else if(i===_[0]){T.push(`<=${c}`)}else{T.push(`${i} - ${c}`)}}const V=T.join(" || ");const Z=typeof c.raw==="string"?c.raw:String(c);return V.length<Z.length?V:c}},13474:(i,c,d)=>{"use strict";const p=d(13177);const A=d(81046);const{ANY:C}=A;const S=d(36076);const v=d(10018);const subset=(i,c,d={})=>{if(i===c){return true}i=new p(i,d);c=new p(c,d);let A=false;e:for(const p of i.set){for(const i of c.set){const c=simpleSubset(p,i,d);A=A||c!==null;if(c){continue e}}if(A){return false}}return true};const _=[new A(">=0.0.0-0")];const T=[new A(">=0.0.0")];const simpleSubset=(i,c,d)=>{if(i===c){return true}if(i.length===1&&i[0].semver===C){if(c.length===1&&c[0].semver===C){return true}else if(d.includePrerelease){i=_}else{i=T}}if(c.length===1&&c[0].semver===C){if(d.includePrerelease){return true}else{c=T}}const p=new Set;let A,V;for(const c of i){if(c.operator===">"||c.operator===">="){A=higherGT(A,c,d)}else if(c.operator==="<"||c.operator==="<="){V=lowerLT(V,c,d)}else{p.add(c.semver)}}if(p.size>1){return null}let Z;if(A&&V){Z=v(A.semver,V.semver,d);if(Z>0){return null}else if(Z===0&&(A.operator!==">="||V.operator!=="<=")){return null}}for(const i of p){if(A&&!S(i,String(A),d)){return null}if(V&&!S(i,String(V),d)){return null}for(const p of c){if(!S(i,String(p),d)){return false}}return true}let ee,te;let re,ne;let ie=V&&!d.includePrerelease&&V.semver.prerelease.length?V.semver:false;let se=A&&!d.includePrerelease&&A.semver.prerelease.length?A.semver:false;if(ie&&ie.prerelease.length===1&&V.operator==="<"&&ie.prerelease[0]===0){ie=false}for(const i of c){ne=ne||i.operator===">"||i.operator===">=";re=re||i.operator==="<"||i.operator==="<=";if(A){if(se){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===se.major&&i.semver.minor===se.minor&&i.semver.patch===se.patch){se=false}}if(i.operator===">"||i.operator===">="){ee=higherGT(A,i,d);if(ee===i&&ee!==A){return false}}else if(A.operator===">="&&!S(A.semver,String(i),d)){return false}}if(V){if(ie){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===ie.major&&i.semver.minor===ie.minor&&i.semver.patch===ie.patch){ie=false}}if(i.operator==="<"||i.operator==="<="){te=lowerLT(V,i,d);if(te===i&&te!==V){return false}}else if(V.operator==="<="&&!S(V.semver,String(i),d)){return false}}if(!i.operator&&(V||A)&&Z!==0){return false}}if(A&&re&&!V&&Z!==0){return false}if(V&&ne&&!A&&Z!==0){return false}if(se||ie){return false}return true};const higherGT=(i,c,d)=>{if(!i){return c}const p=v(i.semver,c.semver,d);return p>0?i:p<0?c:c.operator===">"&&i.operator===">="?c:i};const lowerLT=(i,c,d)=>{if(!i){return c}const p=v(i.semver,c.semver,d);return p<0?i:p>0?c:c.operator==="<"&&i.operator==="<="?c:i};i.exports=subset},48465:(i,c,d)=>{"use strict";const p=d(13177);const toComparators=(i,c)=>new p(i,c).set.map((i=>i.map((i=>i.value)).join(" ").trim().split(" ")));i.exports=toComparators},88816:(i,c,d)=>{"use strict";const p=d(13177);const validRange=(i,c)=>{try{return new p(i,c).range||"*"}catch(i){return null}};i.exports=validRange},11715:(i,c,d)=>{"use strict";const p=d(57075).Writable;const A=d(57975).inherits;const C=d(51601);const S=d(91403);const v=d(66604);const _=45;const T=Buffer.from("-");const V=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(i){if(!(this instanceof Dicer)){return new Dicer(i)}p.call(this,i);if(!i||!i.headerFirst&&typeof i.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof i.boundary==="string"){this.setBoundary(i.boundary)}else{this._bparser=undefined}this._headerFirst=i.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:i.partHwm};this._pause=false;const c=this;this._hparser=new v(i);this._hparser.on("header",(function(i){c._inHeader=false;c._part.emit("header",i)}))}A(Dicer,p);Dicer.prototype.emit=function(i){if(i==="finish"&&!this._realFinish){if(!this._finished){const i=this;process.nextTick((function(){i.emit("error",new Error("Unexpected end of multipart data"));if(i._part&&!i._ignoreData){const c=i._isPreamble?"Preamble":"Part";i._part.emit("error",new Error(c+" terminated early due to unexpected end of multipart data"));i._part.push(null);process.nextTick((function(){i._realFinish=true;i.emit("finish");i._realFinish=false}));return}i._realFinish=true;i.emit("finish");i._realFinish=false}))}}else{p.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(i,c,d){if(!this._hparser&&!this._bparser){return d()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new S(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const c=this._hparser.push(i);if(!this._inHeader&&c!==undefined&&c<i.length){i=i.slice(c)}else{return d()}}if(this._firstWrite){this._bparser.push(V);this._firstWrite=false}this._bparser.push(i);if(this._pause){this._cb=d}else{d()}};Dicer.prototype.reset=function(){this._part=undefined;this._bparser=undefined;this._hparser=undefined};Dicer.prototype.setBoundary=function(i){const c=this;this._bparser=new C("\r\n--"+i);this._bparser.on("info",(function(i,d,p,A){c._oninfo(i,d,p,A)}))};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(i,c,d,p){let A;const C=this;let v=0;let V;let Z=true;if(!this._part&&this._justMatched&&c){while(this._dashes<2&&d+v<p){if(c[d+v]===_){++v;++this._dashes}else{if(this._dashes){A=T}this._dashes=0;break}}if(this._dashes===2){if(d+v<p&&this._events.trailer){this.emit("trailer",c.slice(d+v,p))}this.reset();this._finished=true;if(C._parts===0){C._realFinish=true;C.emit("finish");C._realFinish=false}}if(this._dashes){return}}if(this._justMatched){this._justMatched=false}if(!this._part){this._part=new S(this._partOpts);this._part._read=function(i){C._unpause()};if(this._isPreamble&&this._events.preamble){this.emit("preamble",this._part)}else if(this._isPreamble!==true&&this._events.part){this.emit("part",this._part)}else{this._ignore()}if(!this._isPreamble){this._inHeader=true}}if(c&&d<p&&!this._ignoreData){if(this._isPreamble||!this._inHeader){if(A){Z=this._part.push(A)}Z=this._part.push(c.slice(d,p));if(!Z){this._pause=true}}else if(!this._isPreamble&&this._inHeader){if(A){this._hparser.push(A)}V=this._hparser.push(c.slice(d,p));if(!this._inHeader&&V!==undefined&&V<p){this._oninfo(false,c,d+V,p)}}}if(i){this._hparser.reset();if(this._isPreamble){this._isPreamble=false}else{if(d!==p){++this._parts;this._part.on("end",(function(){if(--C._parts===0){if(C._finished){C._realFinish=true;C.emit("finish");C._realFinish=false}else{C._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 i=this._cb;this._cb=undefined;i()}};i.exports=Dicer},66604:(i,c,d)=>{"use strict";const p=d(78474).EventEmitter;const A=d(57975).inherits;const C=d(96424);const S=d(51601);const v=Buffer.from("\r\n\r\n");const _=/\r\n/g;const T=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(i){p.call(this);i=i||{};const c=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=C(i,"maxHeaderPairs",2e3);this.maxHeaderSize=C(i,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new S(v);this.ss.on("info",(function(i,d,p,A){if(d&&!c.maxed){if(c.nread+A-p>=c.maxHeaderSize){A=c.maxHeaderSize-c.nread+p;c.nread=c.maxHeaderSize;c.maxed=true}else{c.nread+=A-p}c.buffer+=d.toString("binary",p,A)}if(i){c._finish()}}))}A(HeaderParser,p);HeaderParser.prototype.push=function(i){const c=this.ss.push(i);if(this.finished){return c}};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 i=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",i)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const i=this.buffer.split(_);const c=i.length;let d,p;for(var A=0;A<c;++A){if(i[A].length===0){continue}if(i[A][0]==="\t"||i[A][0]===" "){if(p){this.header[p][this.header[p].length-1]+=i[A];continue}}const c=i[A].indexOf(":");if(c===-1||c===0){return}d=T.exec(i[A]);p=d[1].toLowerCase();this.header[p]=this.header[p]||[];this.header[p].push(d[2]||"");if(++this.npairs===this.maxHeaderPairs){break}}};i.exports=HeaderParser},91403:(i,c,d)=>{"use strict";const p=d(57975).inherits;const A=d(57075).Readable;function PartStream(i){A.call(this,i)}p(PartStream,A);PartStream.prototype._read=function(i){};i.exports=PartStream},51601:(i,c,d)=>{"use strict";const p=d(78474).EventEmitter;const A=d(57975).inherits;function SBMH(i){if(typeof i==="string"){i=Buffer.from(i)}if(!Buffer.isBuffer(i)){throw new TypeError("The needle has to be a String or a Buffer.")}const c=i.length;if(c===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(c>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(c);this._lookbehind_size=0;this._needle=i;this._bufpos=0;this._lookbehind=Buffer.alloc(c);for(var d=0;d<c-1;++d){this._occ[i[d]]=c-1-d}}A(SBMH,p);SBMH.prototype.reset=function(){this._lookbehind_size=0;this.matches=0;this._bufpos=0};SBMH.prototype.push=function(i,c){if(!Buffer.isBuffer(i)){i=Buffer.from(i,"binary")}const d=i.length;this._bufpos=c||0;let p;while(p!==d&&this.matches<this.maxMatches){p=this._sbmh_feed(i)}return p};SBMH.prototype._sbmh_feed=function(i){const c=i.length;const d=this._needle;const p=d.length;const A=d[p-1];let C=-this._lookbehind_size;let S;if(C<0){while(C<0&&C<=c-p){S=this._sbmh_lookup_char(i,C+p-1);if(S===A&&this._sbmh_memcmp(i,C,p-1)){this._lookbehind_size=0;++this.matches;this.emit("info",true);return this._bufpos=C+p}C+=this._occ[S]}if(C<0){while(C<0&&!this._sbmh_memcmp(i,C,c-C)){++C}}if(C>=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const d=this._lookbehind_size+C;if(d>0){this.emit("info",false,this._lookbehind,0,d)}this._lookbehind.copy(this._lookbehind,0,d,this._lookbehind_size-d);this._lookbehind_size-=d;i.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=c;this._bufpos=c;return c}}C+=(C>=0)*this._bufpos;if(i.indexOf(d,C)!==-1){C=i.indexOf(d,C);++this.matches;if(C>0){this.emit("info",true,i,this._bufpos,C)}else{this.emit("info",true)}return this._bufpos=C+p}else{C=c-p}while(C<c&&(i[C]!==d[0]||Buffer.compare(i.subarray(C,C+c-C),d.subarray(0,c-C))!==0)){++C}if(C<c){i.copy(this._lookbehind,0,C,C+(c-C));this._lookbehind_size=c-C}if(C>0){this.emit("info",false,i,this._bufpos,C<c?C:c)}this._bufpos=c;return c};SBMH.prototype._sbmh_lookup_char=function(i,c){return c<0?this._lookbehind[this._lookbehind_size+c]:i[c]};SBMH.prototype._sbmh_memcmp=function(i,c,d){for(var p=0;p<d;++p){if(this._sbmh_lookup_char(i,c+p)!==this._needle[p]){return false}}return true};i.exports=SBMH},4652:(i,c,d)=>{"use strict";const p=d(57075).Writable;const{inherits:A}=d(57975);const C=d(11715);const S=d(46419);const v=d(55670);const _=d(28106);function Busboy(i){if(!(this instanceof Busboy)){return new Busboy(i)}if(typeof i!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof i.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof i.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:c,...d}=i;this.opts={autoDestroy:false,...d};p.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(c);this._finished=false}A(Busboy,p);Busboy.prototype.emit=function(i){if(i==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}p.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(i){const c=_(i["content-type"]);const d={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:i,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:c,preservePath:this.opts.preservePath};if(S.detect.test(c[0])){return new S(this,d)}if(v.detect.test(c[0])){return new v(this,d)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(i,c,d){this._parser.write(i,d)};i.exports=Busboy;i.exports["default"]=Busboy;i.exports.Busboy=Busboy;i.exports.Dicer=C},46419:(i,c,d)=>{"use strict";const{Readable:p}=d(57075);const{inherits:A}=d(57975);const C=d(11715);const S=d(28106);const v=d(15422);const _=d(54045);const T=d(96424);const V=/^boundary$/i;const Z=/^form-data$/i;const ee=/^charset$/i;const te=/^filename$/i;const re=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(i,c){let d;let p;const A=this;let ne;const ie=c.limits;const se=c.isPartAFile||((i,c,d)=>c==="application/octet-stream"||d!==undefined);const oe=c.parsedConType||[];const ae=c.defCharset||"utf8";const le=c.preservePath;const ce={highWaterMark:c.fileHwm};for(d=0,p=oe.length;d<p;++d){if(Array.isArray(oe[d])&&V.test(oe[d][0])){ne=oe[d][1];break}}function checkFinished(){if(Ee===0&&we&&!i._done){we=false;A.end()}}if(typeof ne!=="string"){throw new Error("Multipart: Boundary not found")}const ue=T(ie,"fieldSize",1*1024*1024);const de=T(ie,"fileSize",Infinity);const fe=T(ie,"files",Infinity);const pe=T(ie,"fields",Infinity);const Ae=T(ie,"parts",Infinity);const he=T(ie,"headerPairs",2e3);const ge=T(ie,"headerSize",80*1024);let me=0;let ye=0;let Ee=0;let be;let Ce;let we=false;this._needDrain=false;this._pause=false;this._cb=undefined;this._nparts=0;this._boy=i;const Ie={boundary:ne,maxHeaderPairs:he,maxHeaderSize:ge,partHwm:ce.highWaterMark,highWaterMark:c.highWaterMark};this.parser=new C(Ie);this.parser.on("drain",(function(){A._needDrain=false;if(A._cb&&!A._pause){const i=A._cb;A._cb=undefined;i()}})).on("part",(function onPart(c){if(++A._nparts>Ae){A.parser.removeListener("part",onPart);A.parser.on("part",skipPart);i.hitPartsLimit=true;i.emit("partsLimit");return skipPart(c)}if(Ce){const i=Ce;i.emit("end");i.removeAllListeners("end")}c.on("header",(function(C){let T;let V;let ne;let ie;let oe;let Ae;let he=0;if(C["content-type"]){ne=S(C["content-type"][0]);if(ne[0]){T=ne[0].toLowerCase();for(d=0,p=ne.length;d<p;++d){if(ee.test(ne[d][0])){ie=ne[d][1].toLowerCase();break}}}}if(T===undefined){T="text/plain"}if(ie===undefined){ie=ae}if(C["content-disposition"]){ne=S(C["content-disposition"][0]);if(!Z.test(ne[0])){return skipPart(c)}for(d=0,p=ne.length;d<p;++d){if(re.test(ne[d][0])){V=ne[d][1]}else if(te.test(ne[d][0])){Ae=ne[d][1];if(!le){Ae=_(Ae)}}}}else{return skipPart(c)}if(C["content-transfer-encoding"]){oe=C["content-transfer-encoding"][0].toLowerCase()}else{oe="7bit"}let ge,we;if(se(V,T,Ae)){if(me===fe){if(!i.hitFilesLimit){i.hitFilesLimit=true;i.emit("filesLimit")}return skipPart(c)}++me;if(!i._events.file){A.parser._ignore();return}++Ee;const d=new FileStream(ce);be=d;d.on("end",(function(){--Ee;A._pause=false;checkFinished();if(A._cb&&!A._needDrain){const i=A._cb;A._cb=undefined;i()}}));d._read=function(i){if(!A._pause){return}A._pause=false;if(A._cb&&!A._needDrain){const i=A._cb;A._cb=undefined;i()}};i.emit("file",V,d,Ae,oe,T);ge=function(i){if((he+=i.length)>de){const p=de-he+i.length;if(p>0){d.push(i.slice(0,p))}d.truncated=true;d.bytesRead=de;c.removeAllListeners("data");d.emit("limit");return}else if(!d.push(i)){A._pause=true}d.bytesRead=he};we=function(){be=undefined;d.push(null)}}else{if(ye===pe){if(!i.hitFieldsLimit){i.hitFieldsLimit=true;i.emit("fieldsLimit")}return skipPart(c)}++ye;++Ee;let d="";let p=false;Ce=c;ge=function(i){if((he+=i.length)>ue){const A=ue-(he-i.length);d+=i.toString("binary",0,A);p=true;c.removeAllListeners("data")}else{d+=i.toString("binary")}};we=function(){Ce=undefined;if(d.length){d=v(d,"binary",ie)}i.emit("field",V,d,false,p,oe,T);--Ee;checkFinished()}}c._readableState.sync=false;c.on("data",ge);c.on("end",we)})).on("error",(function(i){if(be){be.emit("error",i)}}))})).on("error",(function(c){i.emit("error",c)})).on("finish",(function(){we=true;checkFinished()}))}Multipart.prototype.write=function(i,c){const d=this.parser.write(i);if(d&&!this._pause){c()}else{this._needDrain=!d;this._cb=c}};Multipart.prototype.end=function(){const i=this;if(i.parser.writable){i.parser.end()}else if(!i._boy._done){process.nextTick((function(){i._boy._done=true;i._boy.emit("finish")}))}};function skipPart(i){i.resume()}function FileStream(i){p.call(this,i);this.bytesRead=0;this.truncated=false}A(FileStream,p);FileStream.prototype._read=function(i){};i.exports=Multipart},55670:(i,c,d)=>{"use strict";const p=d(27259);const A=d(15422);const C=d(96424);const S=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(i,c){const d=c.limits;const A=c.parsedConType;this.boy=i;this.fieldSizeLimit=C(d,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=C(d,"fieldNameSize",100);this.fieldsLimit=C(d,"fields",Infinity);let v;for(var _=0,T=A.length;_<T;++_){if(Array.isArray(A[_])&&S.test(A[_][0])){v=A[_][1].toLowerCase();break}}if(v===undefined){v=c.defCharset||"utf8"}this.decoder=new p;this.charset=v;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(i,c){if(this._fields===this.fieldsLimit){if(!this.boy.hitFieldsLimit){this.boy.hitFieldsLimit=true;this.boy.emit("fieldsLimit")}return c()}let d;let p;let C;let S=0;const v=i.length;while(S<v){if(this._state==="key"){d=p=undefined;for(C=S;C<v;++C){if(!this._checkingBytes){++S}if(i[C]===61){d=C;break}else if(i[C]===38){p=C;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesKey}}if(d!==undefined){if(d>S){this._key+=this.decoder.write(i.toString("binary",S,d))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();S=d+1}else if(p!==undefined){++this._fields;let d;const C=this._keyTrunc;if(p>S){d=this._key+=this.decoder.write(i.toString("binary",S,p))}else{d=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(d.length){this.boy.emit("field",A(d,"binary",this.charset),"",C,false)}S=p+1;if(this._fields===this.fieldsLimit){return c()}}else if(this._hitLimit){if(C>S){this._key+=this.decoder.write(i.toString("binary",S,C))}S=C;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(S<v){this._key+=this.decoder.write(i.toString("binary",S))}S=v}}else{p=undefined;for(C=S;C<v;++C){if(!this._checkingBytes){++S}if(i[C]===38){p=C;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesVal}}if(p!==undefined){++this._fields;if(p>S){this._val+=this.decoder.write(i.toString("binary",S,p))}this.boy.emit("field",A(this._key,"binary",this.charset),A(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();S=p+1;if(this._fields===this.fieldsLimit){return c()}}else if(this._hitLimit){if(C>S){this._val+=this.decoder.write(i.toString("binary",S,C))}S=C;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(S<v){this._val+=this.decoder.write(i.toString("binary",S))}S=v}}}c()};UrlEncoded.prototype.end=function(){if(this.boy._done){return}if(this._state==="key"&&this._key.length>0){this.boy.emit("field",A(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",A(this._key,"binary",this.charset),A(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};i.exports=UrlEncoded},27259:i=>{"use strict";const c=/\+/g;const d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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(i){i=i.replace(c," ");let p="";let A=0;let C=0;const S=i.length;for(;A<S;++A){if(this.buffer!==undefined){if(!d[i.charCodeAt(A)]){p+="%"+this.buffer;this.buffer=undefined;--A}else{this.buffer+=i[A];++C;if(this.buffer.length===2){p+=String.fromCharCode(parseInt(this.buffer,16));this.buffer=undefined}}}else if(i[A]==="%"){if(A>C){p+=i.substring(C,A);C=A}this.buffer="";++C}}if(C<S&&this.buffer===undefined){p+=i.substring(C)}return p};Decoder.prototype.reset=function(){this.buffer=undefined};i.exports=Decoder},54045:i=>{"use strict";i.exports=function basename(i){if(typeof i!=="string"){return""}for(var c=i.length-1;c>=0;--c){switch(i.charCodeAt(c)){case 47:case 92:i=i.slice(c+1);return i===".."||i==="."?"":i}}return i===".."||i==="."?"":i}},15422:i=>{"use strict";const c=new TextDecoder("utf-8");const d=new Map([["utf-8",c],["utf8",c]]);function decodeText(i,c,p){if(i){if(d.has(p)){try{return d.get(p).decode(Buffer.from(i,c))}catch(i){}}else{try{d.set(p,new TextDecoder(p));return d.get(p).decode(Buffer.from(i,c))}catch(i){}}}return i}i.exports=decodeText},96424:i=>{"use strict";i.exports=function getLimit(i,c,d){if(!i||i[c]===undefined||i[c]===null){return d}if(typeof i[c]!=="number"||isNaN(i[c])){throw new TypeError("Limit "+c+" is not a valid number")}return i[c]}},28106:(i,c,d)=>{"use strict";const p=d(15422);const A=/%([a-fA-F0-9]{2})/g;function encodedReplacer(i,c){return String.fromCharCode(parseInt(c,16))}function parseParams(i){const c=[];let d="key";let C="";let S=false;let v=false;let _=0;let T="";for(var V=0,Z=i.length;V<Z;++V){const Z=i[V];if(Z==="\\"&&S){if(v){v=false}else{v=true;continue}}else if(Z==='"'){if(!v){if(S){S=false;d="key"}else{S=true}continue}else{v=false}}else{if(v&&S){T+="\\"}v=false;if((d==="charset"||d==="lang")&&Z==="'"){if(d==="charset"){d="lang";C=T.substring(1)}else{d="value"}T="";continue}else if(d==="key"&&(Z==="*"||Z==="=")&&c.length){if(Z==="*"){d="charset"}else{d="value"}c[_]=[T,undefined];T="";continue}else if(!S&&Z===";"){d="key";if(C){if(T.length){T=p(T.replace(A,encodedReplacer),"binary",C)}C=""}else if(T.length){T=p(T,"binary","utf8")}if(c[_]===undefined){c[_]=T}else{c[_][1]=T}T="";++_;continue}else if(!S&&(Z===" "||Z==="\t")){continue}}T+=Z}if(C&&T.length){T=p(T.replace(A,encodedReplacer),"binary",C)}else if(T){T=p(T,"binary","utf8")}if(c[_]===undefined){if(T){c[_]=T}}else{c[_][1]=T}return c}i.exports=parseParams},77864:i=>{"use strict";var c=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)c(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,C,S,v)=>{if(C&&typeof C==="object"||typeof C==="function"){for(let _ of p(C))if(!A.call(i,_)&&_!==S)c(i,_,{get:()=>C[_],enumerable:!(v=d(C,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(c({},"__esModule",{value:true}),i);var C={};__export(C,{createTokenAuth:()=>T});i.exports=__toCommonJS(C);var S=/^v1\./;var v=/^ghs_/;var _=/^ghu_/;async function auth(i){const c=i.split(/\./).length===3;const d=S.test(i)||v.test(i);const p=_.test(i);const A=c?"app":d?"installation":p?"user-to-server":"oauth";return{type:"token",token:i,tokenType:A}}function withAuthorizationPrefix(i){if(i.split(/\./).length===3){return`bearer ${i}`}return`token ${i}`}async function hook(i,c,d,p){const A=c.endpoint.merge(d,p);A.headers.authorization=withAuthorizationPrefix(i);return c(A)}var T=function createTokenAuth2(i){if(!i){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof i!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}i=i.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,i),{hook:hook.bind(null,i)})};0&&0},54471:(i,c,d)=>{"use strict";var p=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)p(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,v)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let _ of C(c))if(!S.call(i,_)&&_!==d)p(i,_,{get:()=>c[_],enumerable:!(v=A(c,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(p({},"__esModule",{value:true}),i);var v={};__export(v,{endpoint:()=>re});i.exports=__toCommonJS(v);var _=d(33843);var T="9.0.1";var V=`octokit-endpoint.js/${T} ${(0,_.getUserAgent)()}`;var Z={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":V},mediaType:{format:""}};function lowercaseKeys(i){if(!i){return{}}return Object.keys(i).reduce(((c,d)=>{c[d.toLowerCase()]=i[d];return c}),{})}var ee=d(93407);function mergeDeep(i,c){const d=Object.assign({},i);Object.keys(c).forEach((p=>{if((0,ee.isPlainObject)(c[p])){if(!(p in i))Object.assign(d,{[p]:c[p]});else d[p]=mergeDeep(i[p],c[p])}else{Object.assign(d,{[p]:c[p]})}}));return d}function removeUndefinedProperties(i){for(const c in i){if(i[c]===void 0){delete i[c]}}return i}function merge(i,c,d){if(typeof c==="string"){let[i,p]=c.split(" ");d=Object.assign(p?{method:i,url:p}:{url:i},d)}else{d=Object.assign({},c)}d.headers=lowercaseKeys(d.headers);removeUndefinedProperties(d);removeUndefinedProperties(d.headers);const p=mergeDeep(i||{},d);if(d.url==="/graphql"){if(i&&i.mediaType.previews?.length){p.mediaType.previews=i.mediaType.previews.filter((i=>!p.mediaType.previews.includes(i))).concat(p.mediaType.previews)}p.mediaType.previews=(p.mediaType.previews||[]).map((i=>i.replace(/-preview/,"")))}return p}function addQueryParameters(i,c){const d=/\?/.test(i)?"&":"?";const p=Object.keys(c);if(p.length===0){return i}return i+d+p.map((i=>{if(i==="q"){return"q="+c.q.split("+").map(encodeURIComponent).join("+")}return`${i}=${encodeURIComponent(c[i])}`})).join("&")}var te=/\{[^}]+\}/g;function removeNonChars(i){return i.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(i){const c=i.match(te);if(!c){return[]}return c.map(removeNonChars).reduce(((i,c)=>i.concat(c)),[])}function omit(i,c){return Object.keys(i).filter((i=>!c.includes(i))).reduce(((c,d)=>{c[d]=i[d];return c}),{})}function encodeReserved(i){return i.split(/(%[0-9A-Fa-f]{2})/g).map((function(i){if(!/%[0-9A-Fa-f]/.test(i)){i=encodeURI(i).replace(/%5B/g,"[").replace(/%5D/g,"]")}return i})).join("")}function encodeUnreserved(i){return encodeURIComponent(i).replace(/[!'()*]/g,(function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(i,c,d){c=i==="+"||i==="#"?encodeReserved(c):encodeUnreserved(c);if(d){return encodeUnreserved(d)+"="+c}else{return c}}function isDefined(i){return i!==void 0&&i!==null}function isKeyOperator(i){return i===";"||i==="&"||i==="?"}function getValues(i,c,d,p){var A=i[d],C=[];if(isDefined(A)&&A!==""){if(typeof A==="string"||typeof A==="number"||typeof A==="boolean"){A=A.toString();if(p&&p!=="*"){A=A.substring(0,parseInt(p,10))}C.push(encodeValue(c,A,isKeyOperator(c)?d:""))}else{if(p==="*"){if(Array.isArray(A)){A.filter(isDefined).forEach((function(i){C.push(encodeValue(c,i,isKeyOperator(c)?d:""))}))}else{Object.keys(A).forEach((function(i){if(isDefined(A[i])){C.push(encodeValue(c,A[i],i))}}))}}else{const i=[];if(Array.isArray(A)){A.filter(isDefined).forEach((function(d){i.push(encodeValue(c,d))}))}else{Object.keys(A).forEach((function(d){if(isDefined(A[d])){i.push(encodeUnreserved(d));i.push(encodeValue(c,A[d].toString()))}}))}if(isKeyOperator(c)){C.push(encodeUnreserved(d)+"="+i.join(","))}else if(i.length!==0){C.push(i.join(","))}}}}else{if(c===";"){if(isDefined(A)){C.push(encodeUnreserved(d))}}else if(A===""&&(c==="&"||c==="?")){C.push(encodeUnreserved(d)+"=")}else if(A===""){C.push("")}}return C}function parseUrl(i){return{expand:expand.bind(null,i)}}function expand(i,c){var d=["+","#",".","/",";","?","&"];return i.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(i,p,A){if(p){let i="";const A=[];if(d.indexOf(p.charAt(0))!==-1){i=p.charAt(0);p=p.substr(1)}p.split(/,/g).forEach((function(d){var p=/([^:\*]*)(?::(\d+)|(\*))?/.exec(d);A.push(getValues(c,i,p[1],p[2]||p[3]))}));if(i&&i!=="+"){var C=",";if(i==="?"){C="&"}else if(i!=="#"){C=i}return(A.length!==0?i:"")+A.join(C)}else{return A.join(",")}}else{return encodeReserved(A)}}))}function parse(i){let c=i.method.toUpperCase();let d=(i.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let p=Object.assign({},i.headers);let A;let C=omit(i,["method","baseUrl","url","headers","request","mediaType"]);const S=extractUrlVariableNames(d);d=parseUrl(d).expand(C);if(!/^http/.test(d)){d=i.baseUrl+d}const v=Object.keys(i).filter((i=>S.includes(i))).concat("baseUrl");const _=omit(C,v);const T=/application\/octet-stream/i.test(p.accept);if(!T){if(i.mediaType.format){p.accept=p.accept.split(/,/).map((c=>c.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${i.mediaType.format}`))).join(",")}if(d.endsWith("/graphql")){if(i.mediaType.previews?.length){const c=p.accept.match(/[\w-]+(?=-preview)/g)||[];p.accept=c.concat(i.mediaType.previews).map((c=>{const d=i.mediaType.format?`.${i.mediaType.format}`:"+json";return`application/vnd.github.${c}-preview${d}`})).join(",")}}}if(["GET","HEAD"].includes(c)){d=addQueryParameters(d,_)}else{if("data"in _){A=_.data}else{if(Object.keys(_).length){A=_}}}if(!p["content-type"]&&typeof A!=="undefined"){p["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(c)&&typeof A==="undefined"){A=""}return Object.assign({method:c,url:d,headers:p},typeof A!=="undefined"?{body:A}:null,i.request?{request:i.request}:null)}function endpointWithDefaults(i,c,d){return parse(merge(i,c,d))}function withDefaults(i,c){const d=merge(i,c);const p=endpointWithDefaults.bind(null,d);return Object.assign(p,{DEFAULTS:d,defaults:withDefaults.bind(null,d),merge:merge.bind(null,d),parse:parse})}var re=withDefaults(null,Z);0&&0},70007:(i,c,d)=>{"use strict";var p=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)p(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,v)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let _ of C(c))if(!S.call(i,_)&&_!==d)p(i,_,{get:()=>c[_],enumerable:!(v=A(c,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(p({},"__esModule",{value:true}),i);var v={};__export(v,{GraphqlResponseError:()=>te,graphql:()=>se,withCustomRequest:()=>withCustomRequest});i.exports=__toCommonJS(v);var _=d(2804);var T=d(33843);var V="7.0.2";var Z=d(2804);var ee=d(2804);function _buildMessageForResponseErrors(i){return`Request failed due to following response errors:\n`+i.errors.map((i=>` - ${i.message}`)).join("\n")}var te=class extends Error{constructor(i,c,d){super(_buildMessageForResponseErrors(d));this.request=i;this.headers=c;this.response=d;this.name="GraphqlResponseError";this.errors=d.errors;this.data=d.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var re=["method","baseUrl","url","headers","request","query","mediaType"];var ne=["query","method","url"];var ie=/\/api\/v3\/?$/;function graphql(i,c,d){if(d){if(typeof c==="string"&&"query"in d){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const i in d){if(!ne.includes(i))continue;return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}}const p=typeof c==="string"?Object.assign({query:c},d):c;const A=Object.keys(p).reduce(((i,c)=>{if(re.includes(c)){i[c]=p[c];return i}if(!i.variables){i.variables={}}i.variables[c]=p[c];return i}),{});const C=p.baseUrl||i.endpoint.DEFAULTS.baseUrl;if(ie.test(C)){A.url=C.replace(ie,"/api/graphql")}return i(A).then((i=>{if(i.data.errors){const c={};for(const d of Object.keys(i.headers)){c[d]=i.headers[d]}throw new te(A,c,i.data)}return i.data.data}))}function withDefaults(i,c){const d=i.defaults(c);const newApi=(i,c)=>graphql(d,i,c);return Object.assign(newApi,{defaults:withDefaults.bind(null,d),endpoint:d.endpoint})}var se=withDefaults(_.request,{headers:{"user-agent":`octokit-graphql.js/${V} ${(0,T.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(i){return withDefaults(i,{method:"POST",url:"/graphql"})}0&&0},4751:(i,c,d)=>{"use strict";var p=Object.create;var A=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var v=Object.getPrototypeOf;var _=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)A(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,p)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let v of S(c))if(!_.call(i,v)&&v!==d)A(i,v,{get:()=>c[v],enumerable:!(p=C(c,v))||p.enumerable})}return i};var __toESM=(i,c,d)=>(d=i!=null?p(v(i)):{},__copyProps(c||!i||!i.__esModule?A(d,"default",{value:i,enumerable:true}):d,i));var __toCommonJS=i=>__copyProps(A({},"__esModule",{value:true}),i);var T={};__export(T,{RequestError:()=>re});i.exports=__toCommonJS(T);var V=d(14150);var Z=__toESM(d(55560));var ee=(0,Z.default)((i=>console.warn(i)));var te=(0,Z.default)((i=>console.warn(i)));var re=class extends Error{constructor(i,c,d){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=c;let p;if("headers"in d&&typeof d.headers!=="undefined"){p=d.headers}if("response"in d){this.response=d.response;p=d.response.headers}const A=Object.assign({},d.request);if(d.request.headers.authorization){A.headers=Object.assign({},d.request.headers,{authorization:d.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}A.url=A.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=A;Object.defineProperty(this,"code",{get(){ee(new V.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return c}});Object.defineProperty(this,"headers",{get(){te(new V.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return p||{}}})}};0&&0},2804:(i,c,d)=>{"use strict";var p=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var __export=(i,c)=>{for(var d in c)p(i,d,{get:c[d],enumerable:true})};var __copyProps=(i,c,d,v)=>{if(c&&typeof c==="object"||typeof c==="function"){for(let _ of C(c))if(!S.call(i,_)&&_!==d)p(i,_,{get:()=>c[_],enumerable:!(v=A(c,_))||v.enumerable})}return i};var __toCommonJS=i=>__copyProps(p({},"__esModule",{value:true}),i);var v={};__export(v,{request:()=>te});i.exports=__toCommonJS(v);var _=d(54471);var T=d(33843);var V="8.1.4";var Z=d(93407);var ee=d(4751);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var c,d,p;const A=i.request&&i.request.log?i.request.log:console;const C=((c=i.request)==null?void 0:c.parseSuccessResponseBody)!==false;if((0,Z.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let S={};let v;let _;let{fetch:T}=globalThis;if((d=i.request)==null?void 0:d.fetch){T=i.request.fetch}if(!T){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 T(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(p=i.request)==null?void 0:p.signal,...i.body&&{duplex:"half"}}).then((async c=>{_=c.url;v=c.status;for(const i of c.headers){S[i[0]]=i[1]}if("deprecation"in S){const c=S.link&&S.link.match(/<([^>]+)>; rel="deprecation"/);const d=c&&c.pop();A.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${S.sunset}${d?`. See ${d}`:""}`)}if(v===204||v===205){return}if(i.method==="HEAD"){if(v<400){return}throw new ee.RequestError(c.statusText,v,{response:{url:_,status:v,headers:S,data:void 0},request:i})}if(v===304){throw new ee.RequestError("Not modified",v,{response:{url:_,status:v,headers:S,data:await getResponseData(c)},request:i})}if(v>=400){const d=await getResponseData(c);const p=new ee.RequestError(toErrorMessage(d),v,{response:{url:_,status:v,headers:S,data:d},request:i});throw p}return C?await getResponseData(c):c.body})).then((i=>({status:v,url:_,headers:S,data:i}))).catch((c=>{if(c instanceof ee.RequestError)throw c;else if(c.name==="AbortError")throw c;let d=c.message;if(c.name==="TypeError"&&"cause"in c){if(c.cause instanceof Error){d=c.cause.message}else if(typeof c.cause==="string"){d=c.cause}}throw new ee.RequestError(d,500,{request:i})}))}async function getResponseData(i){const c=i.headers.get("content-type");if(/application\/json/.test(c)){return i.json()}if(!c||/^text\/|charset=utf-8$/.test(c)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,c){const d=i.defaults(c);const newApi=function(i,c){const p=d.merge(i,c);if(!p.request||!p.request.hook){return fetchWrapper(d.parse(p))}const request2=(i,c)=>fetchWrapper(d.parse(d.merge(i,c)));Object.assign(request2,{endpoint:d,defaults:withDefaults.bind(null,d)});return p.request.hook(request2,p)};return Object.assign(newApi,{endpoint:d,defaults:withDefaults.bind(null,d)})}var te=withDefaults(_.endpoint,{headers:{"user-agent":`octokit-request.js/${V} ${(0,T.getUserAgent)()}`}});0&&0},6966:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});const d="1.0.4";function requestLog(i){i.hook.wrap("request",((c,d)=>{i.log.debug("request",d);const p=Date.now();const A=i.request.endpoint.parse(d);const C=A.url.replace(d.baseUrl,"");return c(d).then((c=>{i.log.info(`${A.method} ${C} - ${c.status} in ${Date.now()-p}ms`);return c})).catch((c=>{i.log.info(`${A.method} ${C} - ${c.status} in ${Date.now()-p}ms`);throw c}))}))}requestLog.VERSION=d;c.requestLog=requestLog},33450:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});function _interopDefault(i){return i&&typeof i==="object"&&"default"in i?i["default"]:i}var p=_interopDefault(d(63251));async function errorRequest(i,c,d,p){if(!d.request||!d.request.request){throw d}if(d.status>=400&&!c.doNotRetry.includes(d.status)){const A=p.request.retries!=null?p.request.retries:c.retries;const C=Math.pow((p.request.retryCount||0)+1,2);throw i.retry.retryRequest(d,A,C)}throw d}async function wrapRequest(i,c,d){const A=new p;A.on("failed",(function(c,p){const A=~~c.request.request.retries;const C=~~c.request.request.retryAfter;d.request.retryCount=p.retryCount+1;if(A>p.retryCount){return C*i.retryAfterBaseValue}}));return A.schedule(c,d)}const A="3.0.9";function retry(i,c){const d=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},c.retry);if(d.enabled){i.hook.error("request",errorRequest.bind(null,i,d));i.hook.wrap("request",wrapRequest.bind(null,d))}return{retry:{retryRequest:(i,c,d)=>{i.request.request=Object.assign({},i.request.request,{retries:c,retryAfter:d});return i}}}}retry.VERSION=A;c.VERSION=A;c.retry=retry},37889:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.requests=d;this.headers=p;this.response=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d,p]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:c,status:d,trailers:p}}))}}c.ClientStreamingCall=ClientStreamingCall},71409:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Deferred=c.DeferredState=void 0;var d;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(d=c.DeferredState||(c.DeferredState={}));class Deferred{constructor(i=true){this._state=d.PENDING;this._promise=new Promise(((i,c)=>{this._resolve=i;this._reject=c}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==d.PENDING)throw new Error(`cannot resolve ${d[this.state].toLowerCase()}`);this._resolve(i);this._state=d.RESOLVED}reject(i){if(this.state!==d.PENDING)throw new Error(`cannot reject ${d[this.state].toLowerCase()}`);this._reject(i);this._state=d.REJECTED}resolvePending(i){if(this._state===d.PENDING)this.resolve(i)}rejectPending(i){if(this._state===d.PENDING)this.reject(i)}}c.Deferred=Deferred},36826:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.requests=d;this.headers=p;this.responses=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:c,trailers:d}}))}}c.DuplexStreamingCall=DuplexStreamingCall},44420:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(56892);Object.defineProperty(c,"ServiceType",{enumerable:true,get:function(){return p.ServiceType}});var A=d(62496);Object.defineProperty(c,"readMethodOptions",{enumerable:true,get:function(){return A.readMethodOptions}});Object.defineProperty(c,"readMethodOption",{enumerable:true,get:function(){return A.readMethodOption}});Object.defineProperty(c,"readServiceOption",{enumerable:true,get:function(){return A.readServiceOption}});var C=d(78636);Object.defineProperty(c,"RpcError",{enumerable:true,get:function(){return C.RpcError}});var S=d(28576);Object.defineProperty(c,"mergeRpcOptions",{enumerable:true,get:function(){return S.mergeRpcOptions}});var v=d(72726);Object.defineProperty(c,"RpcOutputStreamController",{enumerable:true,get:function(){return v.RpcOutputStreamController}});var _=d(79122);Object.defineProperty(c,"TestTransport",{enumerable:true,get:function(){return _.TestTransport}});var T=d(71409);Object.defineProperty(c,"Deferred",{enumerable:true,get:function(){return T.Deferred}});Object.defineProperty(c,"DeferredState",{enumerable:true,get:function(){return T.DeferredState}});var V=d(36826);Object.defineProperty(c,"DuplexStreamingCall",{enumerable:true,get:function(){return V.DuplexStreamingCall}});var Z=d(37889);Object.defineProperty(c,"ClientStreamingCall",{enumerable:true,get:function(){return Z.ClientStreamingCall}});var ee=d(46173);Object.defineProperty(c,"ServerStreamingCall",{enumerable:true,get:function(){return ee.ServerStreamingCall}});var te=d(29288);Object.defineProperty(c,"UnaryCall",{enumerable:true,get:function(){return te.UnaryCall}});var re=d(52849);Object.defineProperty(c,"stackIntercept",{enumerable:true,get:function(){return re.stackIntercept}});Object.defineProperty(c,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return re.stackDuplexStreamingInterceptors}});Object.defineProperty(c,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return re.stackClientStreamingInterceptors}});Object.defineProperty(c,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return re.stackServerStreamingInterceptors}});Object.defineProperty(c,"stackUnaryInterceptors",{enumerable:true,get:function(){return re.stackUnaryInterceptors}});var ne=d(43352);Object.defineProperty(c,"ServerCallContextController",{enumerable:true,get:function(){return ne.ServerCallContextController}})},62496:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.readServiceOption=c.readMethodOption=c.readMethodOptions=c.normalizeMethodInfo=void 0;const p=d(68886);function normalizeMethodInfo(i,c){var d,A,C;let S=i;S.service=c;S.localName=(d=S.localName)!==null&&d!==void 0?d:p.lowerCamelCase(S.name);S.serverStreaming=!!S.serverStreaming;S.clientStreaming=!!S.clientStreaming;S.options=(A=S.options)!==null&&A!==void 0?A:{};S.idempotency=(C=S.idempotency)!==null&&C!==void 0?C:undefined;return S}c.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,c,d,p){var A;const C=(A=i.methods.find(((i,d)=>i.localName===c||d===c)))===null||A===void 0?void 0:A.options;return C&&C[d]?p.fromJson(C[d]):undefined}c.readMethodOptions=readMethodOptions;function readMethodOption(i,c,d,p){var A;const C=(A=i.methods.find(((i,d)=>i.localName===c||d===c)))===null||A===void 0?void 0:A.options;if(!C){return undefined}const S=C[d];if(S===undefined){return S}return p?p.fromJson(S):S}c.readMethodOption=readMethodOption;function readServiceOption(i,c,d){const p=i.options;if(!p){return undefined}const A=p[c];if(A===undefined){return A}return d?d.fromJson(A):A}c.readServiceOption=readServiceOption},78636:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RpcError=void 0;class RpcError extends Error{constructor(i,c="UNKNOWN",d){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=c;this.meta=d!==null&&d!==void 0?d:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let c=Object.entries(this.meta);if(c.length){i.push("");i.push("Meta:");for(let[d,p]of c){i.push(` ${d}: ${p}`)}}return i.join("\n")}}c.RpcError=RpcError},52849:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.stackDuplexStreamingInterceptors=c.stackClientStreamingInterceptors=c.stackServerStreamingInterceptors=c.stackUnaryInterceptors=c.stackIntercept=void 0;const p=d(68886);function stackIntercept(i,c,d,A,C){var S,v,_,T;if(i=="unary"){let tail=(i,d,p)=>c.unary(i,d,p);for(const i of((S=A.interceptors)!==null&&S!==void 0?S:[]).filter((i=>i.interceptUnary)).reverse()){const c=tail;tail=(d,p,A)=>i.interceptUnary(c,d,p,A)}return tail(d,C,A)}if(i=="serverStreaming"){let tail=(i,d,p)=>c.serverStreaming(i,d,p);for(const i of((v=A.interceptors)!==null&&v!==void 0?v:[]).filter((i=>i.interceptServerStreaming)).reverse()){const c=tail;tail=(d,p,A)=>i.interceptServerStreaming(c,d,p,A)}return tail(d,C,A)}if(i=="clientStreaming"){let tail=(i,d)=>c.clientStreaming(i,d);for(const i of((_=A.interceptors)!==null&&_!==void 0?_:[]).filter((i=>i.interceptClientStreaming)).reverse()){const c=tail;tail=(d,p)=>i.interceptClientStreaming(c,d,p)}return tail(d,A)}if(i=="duplex"){let tail=(i,d)=>c.duplex(i,d);for(const i of((T=A.interceptors)!==null&&T!==void 0?T:[]).filter((i=>i.interceptDuplex)).reverse()){const c=tail;tail=(d,p)=>i.interceptDuplex(c,d,p)}return tail(d,A)}p.assertNever(i)}c.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,c,d,p){return stackIntercept("unary",i,c,p,d)}c.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,c,d,p){return stackIntercept("serverStreaming",i,c,p,d)}c.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,c,d){return stackIntercept("clientStreaming",i,c,d)}c.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,c,d){return stackIntercept("duplex",i,c,d)}c.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},28576:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.mergeRpcOptions=void 0;const p=d(68886);function mergeRpcOptions(i,c){if(!c)return i;let d={};copy(i,d);copy(c,d);for(let A of Object.keys(c)){let C=c[A];switch(A){case"jsonOptions":d.jsonOptions=p.mergeJsonOptions(i.jsonOptions,d.jsonOptions);break;case"binaryOptions":d.binaryOptions=p.mergeBinaryOptions(i.binaryOptions,d.binaryOptions);break;case"meta":d.meta={};copy(i.meta,d.meta);copy(c.meta,d.meta);break;case"interceptors":d.interceptors=i.interceptors?i.interceptors.concat(C):C.concat();break}}return d}c.mergeRpcOptions=mergeRpcOptions;function copy(i,c){if(!i)return;let d=c;for(let[c,p]of Object.entries(i)){if(p instanceof Date)d[c]=new Date(p.getTime());else if(Array.isArray(p))d[c]=p.concat();else d[c]=p}}},72726:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RpcOutputStreamController=void 0;const p=d(71409);const A=d(68886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,c){c.push(i);return()=>{let d=c.indexOf(i);if(d>=0)c.splice(d,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,c,d){A.assert((i?1:0)+(c?1:0)+(d?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(c)this.notifyError(c);if(d)this.notifyComplete()}notifyMessage(i){A.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((c=>c(i)));this._lis.nxt.forEach((c=>c(i,undefined,false)))}notifyError(i){A.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((c=>c(i)));this._lis.nxt.forEach((c=>c(undefined,i,false)));this.clearLis()}notifyComplete(){A.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(!this._itState){this._itState={q:[]}}if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let i=this._itState;A.assert(i,"bad state");A.assert(!i.p,"iterator contract broken");let c=i.q.shift();if(c)return"value"in c?Promise.resolve(c):Promise.reject(c);i.p=new p.Deferred;return i.p.promise}}}pushIt(i){let c=this._itState;if(!c)return;if(c.p){const d=c.p;A.assert(d.state==p.DeferredState.PENDING,"iterator contract broken");"value"in i?d.resolve(i):d.reject(i);delete c.p}else{c.q.push(i)}}}c.RpcOutputStreamController=RpcOutputStreamController},43352:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,c,d,p,A={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=c;this.deadline=d;this.trailers={};this._sendRH=p;this.status=A}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const c=this._listeners;c.push(i);return()=>{let d=c.indexOf(i);if(d>=0)c.splice(d,1)}}}c.ServerCallContextController=ServerCallContextController},46173:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.request=d;this.headers=p;this.responses=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:c,trailers:d}}))}}c.ServerStreamingCall=ServerStreamingCall},56892:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServiceType=void 0;const p=d(62496);class ServiceType{constructor(i,c,d){this.typeName=i;this.methods=c.map((i=>p.normalizeMethodInfo(i,this)));this.options=d!==null&&d!==void 0?d:{}}}c.ServiceType=ServiceType},79122:function(i,c,d){"use strict";var p=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.TestTransport=void 0;const A=d(78636);const C=d(68886);const S=d(72726);const v=d(28576);const _=d(29288);const T=d(46173);const V=d(37889);const Z=d(36826);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var i;const c=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return c instanceof A.RpcError?Promise.reject(c):Promise.resolve(c)}promiseSingleResponse(i){if(this.data.response instanceof A.RpcError){return Promise.reject(this.data.response)}let c;if(Array.isArray(this.data.response)){C.assert(this.data.response.length>0);c=this.data.response[0]}else if(this.data.response!==undefined){c=this.data.response}else{c=i.O.create()}C.assert(i.O.is(c));return Promise.resolve(c)}streamResponses(i,c,d){return p(this,void 0,void 0,(function*(){const p=[];if(this.data.response===undefined){p.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let c of this.data.response){C.assert(i.O.is(c));p.push(c)}}else if(!(this.data.response instanceof A.RpcError)){C.assert(i.O.is(this.data.response));p.push(this.data.response)}try{yield delay(this.responseDelay,d)(undefined)}catch(i){c.notifyError(i);return}if(this.data.response instanceof A.RpcError){c.notifyError(this.data.response);return}for(let i of p){c.notifyMessage(i);try{yield delay(this.betweenResponseDelay,d)(undefined)}catch(i){c.notifyError(i);return}}if(this.data.status instanceof A.RpcError){c.notifyError(this.data.status);return}if(this.data.trailers instanceof A.RpcError){c.notifyError(this.data.trailers);return}c.notifyComplete()}))}promiseStatus(){var i;const c=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return c instanceof A.RpcError?Promise.reject(c):Promise.resolve(c)}promiseTrailers(){var i;const c=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return c instanceof A.RpcError?Promise.reject(c):Promise.resolve(c)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let c of i){c.catch((()=>{}))}}}mergeOptions(i){return v.mergeRpcOptions({},i)}unary(i,c,d){var p;const A=(p=d.meta)!==null&&p!==void 0?p:{},C=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),S=C.catch((i=>{})).then(delay(this.responseDelay,d.abort)).then((c=>this.promiseSingleResponse(i))),v=S.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseStatus())),T=S.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(v,T);this.lastInput={single:c};return new _.UnaryCall(i,A,c,C,S,v,T)}serverStreaming(i,c,d){var p;const A=(p=d.meta)!==null&&p!==void 0?p:{},C=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),v=new S.RpcOutputStreamController,_=C.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(i,v,d.abort))).then(delay(this.afterResponseDelay,d.abort)),V=_.then((()=>this.promiseStatus())),Z=_.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(V,Z);this.lastInput={single:c};return new T.ServerStreamingCall(i,A,c,C,v,V,Z)}clientStreaming(i,c){var d;const p=(d=c.meta)!==null&&d!==void 0?d:{},A=this.promiseHeaders().then(delay(this.headerDelay,c.abort)),C=A.catch((i=>{})).then(delay(this.responseDelay,c.abort)).then((c=>this.promiseSingleResponse(i))),S=C.catch((i=>{})).then(delay(this.afterResponseDelay,c.abort)).then((i=>this.promiseStatus())),v=C.catch((i=>{})).then(delay(this.afterResponseDelay,c.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(S,v);this.lastInput=new TestInputStream(this.data,c.abort);return new V.ClientStreamingCall(i,p,this.lastInput,A,C,S,v)}duplex(i,c){var d;const p=(d=c.meta)!==null&&d!==void 0?d:{},A=this.promiseHeaders().then(delay(this.headerDelay,c.abort)),C=new S.RpcOutputStreamController,v=A.then(delay(this.responseDelay,c.abort)).catch((()=>{})).then((()=>this.streamResponses(i,C,c.abort))).then(delay(this.afterResponseDelay,c.abort)),_=v.then((()=>this.promiseStatus())),T=v.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(_,T);this.lastInput=new TestInputStream(this.data,c.abort);return new Z.DuplexStreamingCall(i,p,this.lastInput,A,C,_,T)}}c.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,c){return d=>new Promise(((p,C)=>{if(c===null||c===void 0?void 0:c.aborted){C(new A.RpcError("user cancel","CANCELLED"))}else{const S=setTimeout((()=>p(d)),i);if(c){c.addEventListener("abort",(i=>{clearTimeout(S);C(new A.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,c){this._completed=false;this._sent=[];this.data=i;this.abort=c}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof A.RpcError){return Promise.reject(this.data.inputMessage)}const c=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(c,this.abort))}complete(){if(this.data.inputComplete instanceof A.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},29288:function(i,c){"use strict";var d=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};Object.defineProperty(c,"__esModule",{value:true});c.UnaryCall=void 0;class UnaryCall{constructor(i,c,d,p,A,C,S){this.method=i;this.requestHeaders=c;this.request=d;this.headers=p;this.response=A;this.status=C;this.trailers=S}then(i,c){return this.promiseFinished().then((c=>i?Promise.resolve(i(c)):c),(i=>c?Promise.resolve(c(i)):Promise.reject(i)))}promiseFinished(){return d(this,void 0,void 0,(function*(){let[i,c,d,p]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:c,status:d,trailers:p}}))}}c.UnaryCall=UnaryCall},8602:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.assertFloat32=c.assertUInt32=c.assertInt32=c.assertNever=c.assert=void 0;function assert(i,c){if(!i){throw new Error(c)}}c.assert=assert;function assertNever(i,c){throw new Error(c!==null&&c!==void 0?c:"Unexpected object: "+i)}c.assertNever=assertNever;const d=34028234663852886e22,p=-34028234663852886e22,A=4294967295,C=2147483647,S=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>C||i<S)throw new Error("invalid int 32: "+i)}c.assertInt32=assertInt32;function assertUInt32(i){if(typeof i!=="number")throw new Error("invalid uint 32: "+typeof i);if(!Number.isInteger(i)||i>A||i<0)throw new Error("invalid uint 32: "+i)}c.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>d||i<p)throw new Error("invalid float 32: "+i)}c.assertFloat32=assertFloat32},26335:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.base64encode=c.base64decode=void 0;let d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let p=[];for(let i=0;i<d.length;i++)p[d[i].charCodeAt(0)]=i;p["-".charCodeAt(0)]=d.indexOf("+");p["_".charCodeAt(0)]=d.indexOf("/");function base64decode(i){let c=i.length*3/4;if(i[i.length-2]=="=")c-=2;else if(i[i.length-1]=="=")c-=1;let d=new Uint8Array(c),A=0,C=0,S,v=0;for(let c=0;c<i.length;c++){S=p[i.charCodeAt(c)];if(S===undefined){switch(i[c]){case"=":C=0;case"\n":case"\r":case"\t":case" ":continue;default:throw Error(`invalid base64 string.`)}}switch(C){case 0:v=S;C=1;break;case 1:d[A++]=v<<2|(S&48)>>4;v=S;C=2;break;case 2:d[A++]=(v&15)<<4|(S&60)>>2;v=S;C=3;break;case 3:d[A++]=(v&3)<<6|S;C=0;break}}if(C==1)throw Error(`invalid base64 string.`);return d.subarray(0,A)}c.base64decode=base64decode;function base64encode(i){let c="",p=0,A,C=0;for(let S=0;S<i.length;S++){A=i[S];switch(p){case 0:c+=d[A>>2];C=(A&3)<<4;p=1;break;case 1:c+=d[C|A>>4];C=(A&15)<<2;p=2;break;case 2:c+=d[C|A>>6];c+=d[A&63];p=0;break}}if(p){c+=d[C];c+="=";if(p==1)c+="="}return c}c.base64encode=base64encode},54816:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.WireType=c.mergeBinaryOptions=c.UnknownFieldHandler=void 0;var d;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(c,d,p,A,C)=>{let S=is(d)?d[i.symbol]:d[i.symbol]=[];S.push({no:p,wireType:A,data:C})};i.onWrite=(c,d,p)=>{for(let{no:c,wireType:A,data:C}of i.list(d))p.tag(c,A).raw(C)};i.list=(c,d)=>{if(is(c)){let p=c[i.symbol];return d?p.filter((i=>i.no==d)):p}return[]};i.last=(c,d)=>i.list(c,d).slice(-1)[0];const is=c=>c&&Array.isArray(c[i.symbol])})(d=c.UnknownFieldHandler||(c.UnknownFieldHandler={}));function mergeBinaryOptions(i,c){return Object.assign(Object.assign({},i),c)}c.mergeBinaryOptions=mergeBinaryOptions;var p;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(p=c.WireType||(c.WireType={}))},92889:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BinaryReader=c.binaryReadOptions=void 0;const p=d(54816);const A=d(61753);const C=d(93223);const S={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},S),i):S}c.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,c){this.varint64=C.varint64read;this.uint32=C.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=c!==null&&c!==void 0?c:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),c=i>>>3,d=i&7;if(c<=0||d<0||d>5)throw new Error("illegal tag: field no "+c+" wire type "+d);return[c,d]}skip(i){let c=this.pos;switch(i){case p.WireType.Varint:while(this.buf[this.pos++]&128){}break;case p.WireType.Bit64:this.pos+=4;case p.WireType.Bit32:this.pos+=4;break;case p.WireType.LengthDelimited:let c=this.uint32();this.pos+=c;break;case p.WireType.StartGroup:let d;while((d=this.tag()[1])!==p.WireType.EndGroup){this.skip(d)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(c,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new A.PbLong(...this.varint64())}uint64(){return new A.PbULong(...this.varint64())}sint64(){let[i,c]=this.varint64();let d=-(i&1);i=(i>>>1|(c&1)<<31)^d;c=c>>>1^d;return new A.PbLong(i,c)}bool(){let[i,c]=this.varint64();return i!==0||c!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new A.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new A.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let i=this.uint32();let c=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(c,c+i)}string(){return this.textDecoder.decode(this.bytes())}}c.BinaryReader=BinaryReader},23957:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BinaryWriter=c.binaryWriteOptions=void 0;const p=d(61753);const A=d(93223);const C=d(8602);const S={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},S),i):S}c.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let c=0;c<this.chunks.length;c++)i+=this.chunks[c].length;let c=new Uint8Array(i);let d=0;for(let i=0;i<this.chunks.length;i++){c.set(this.chunks[i],d);d+=this.chunks[i].length}this.chunks=[];return c}fork(){this.stack.push({chunks:this.chunks,buf:this.buf});this.chunks=[];this.buf=[];return this}join(){let i=this.finish();let c=this.stack.pop();if(!c)throw new Error("invalid state, fork stack empty");this.chunks=c.chunks;this.buf=c.buf;this.uint32(i.byteLength);return this.raw(i)}tag(i,c){return this.uint32((i<<3|c)>>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){C.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){C.assertInt32(i);A.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let c=this.textEncoder.encode(i);this.uint32(c.byteLength);return this.raw(c)}float(i){C.assertFloat32(i);let c=new Uint8Array(4);new DataView(c.buffer).setFloat32(0,i,true);return this.raw(c)}double(i){let c=new Uint8Array(8);new DataView(c.buffer).setFloat64(0,i,true);return this.raw(c)}fixed32(i){C.assertUInt32(i);let c=new Uint8Array(4);new DataView(c.buffer).setUint32(0,i,true);return this.raw(c)}sfixed32(i){C.assertInt32(i);let c=new Uint8Array(4);new DataView(c.buffer).setInt32(0,i,true);return this.raw(c)}sint32(i){C.assertInt32(i);i=(i<<1^i>>31)>>>0;A.varint32write(i,this.buf);return this}sfixed64(i){let c=new Uint8Array(8);let d=new DataView(c.buffer);let A=p.PbLong.from(i);d.setInt32(0,A.lo,true);d.setInt32(4,A.hi,true);return this.raw(c)}fixed64(i){let c=new Uint8Array(8);let d=new DataView(c.buffer);let A=p.PbULong.from(i);d.setInt32(0,A.lo,true);d.setInt32(4,A.hi,true);return this.raw(c)}int64(i){let c=p.PbLong.from(i);A.varint64write(c.lo,c.hi,this.buf);return this}sint64(i){let c=p.PbLong.from(i),d=c.hi>>31,C=c.lo<<1^d,S=(c.hi<<1|c.lo>>>31)^d;A.varint64write(C,S,this.buf);return this}uint64(i){let c=p.PbULong.from(i);A.varint64write(c.lo,c.hi,this.buf);return this}}c.BinaryWriter=BinaryWriter},70257:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.listEnumNumbers=c.listEnumNames=c.listEnumValues=c.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let c of Object.keys(i)){let d=parseInt(c);if(!Number.isNaN(d)){let c=i[d];if(c===undefined)return false;if(i[c]!==d)return false}else{let d=i[c];if(d===undefined)return false;if(typeof d!=="number")return false;if(i[d]===undefined)return false}}return true}c.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let c=[];for(let[d,p]of Object.entries(i))if(typeof p=="number")c.push({name:d,number:p});return c}c.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}c.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,c,d)=>d.indexOf(i)==c))}c.listEnumNumbers=listEnumNumbers},93223:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.varint32read=c.varint32write=c.int64toString=c.int64fromString=c.varint64write=c.varint64read=void 0;function varint64read(){let i=0;let c=0;for(let d=0;d<28;d+=7){let p=this.buf[this.pos++];i|=(p&127)<<d;if((p&128)==0){this.assertBounds();return[i,c]}}let d=this.buf[this.pos++];i|=(d&15)<<28;c=(d&112)>>4;if((d&128)==0){this.assertBounds();return[i,c]}for(let d=3;d<=31;d+=7){let p=this.buf[this.pos++];c|=(p&127)<<d;if((p&128)==0){this.assertBounds();return[i,c]}}throw new Error("invalid varint")}c.varint64read=varint64read;function varint64write(i,c,d){for(let p=0;p<28;p=p+7){const A=i>>>p;const C=!(A>>>7==0&&c==0);const S=(C?A|128:A)&255;d.push(S);if(!C){return}}const p=i>>>28&15|(c&7)<<4;const A=!(c>>3==0);d.push((A?p|128:p)&255);if(!A){return}for(let i=3;i<31;i=i+7){const p=c>>>i;const A=!(p>>>7==0);const C=(A?p|128:p)&255;d.push(C);if(!A){return}}d.push(c>>>31&1)}c.varint64write=varint64write;const d=(1<<16)*(1<<16);function int64fromString(i){let c=i[0]=="-";if(c)i=i.slice(1);const p=1e6;let A=0;let C=0;function add1e6digit(c,S){const v=Number(i.slice(c,S));C*=p;A=A*p+v;if(A>=d){C=C+(A/d|0);A=A%d}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[c,A,C]}c.int64fromString=int64fromString;function int64toString(i,c){if(c>>>0<=2097151){return""+(d*c+(i>>>0))}let p=i&16777215;let A=(i>>>24|c<<8)>>>0&16777215;let C=c>>16&65535;let S=p+A*6777216+C*6710656;let v=A+C*8147497;let _=C*2;let T=1e7;if(S>=T){v+=Math.floor(S/T);S%=T}if(v>=T){_+=Math.floor(v/T);v%=T}function decimalFrom1e7(i,c){let d=i?String(i):"";if(c){return"0000000".slice(d.length)+d}return d}return decimalFrom1e7(_,0)+decimalFrom1e7(v,_)+decimalFrom1e7(S,1)}c.int64toString=int64toString;function varint32write(i,c){if(i>=0){while(i>127){c.push(i&127|128);i=i>>>7}c.push(i)}else{for(let d=0;d<9;d++){c.push(i&127|128);i=i>>7}c.push(1)}}c.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let c=i&127;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&127)<<7;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&127)<<14;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&127)<<21;if((i&128)==0){this.assertBounds();return c}i=this.buf[this.pos++];c|=(i&15)<<28;for(let c=5;(i&128)!==0&&c<10;c++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return c>>>0}c.varint32read=varint32read},68886:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(49999);Object.defineProperty(c,"typeofJsonValue",{enumerable:true,get:function(){return p.typeofJsonValue}});Object.defineProperty(c,"isJsonObject",{enumerable:true,get:function(){return p.isJsonObject}});var A=d(26335);Object.defineProperty(c,"base64decode",{enumerable:true,get:function(){return A.base64decode}});Object.defineProperty(c,"base64encode",{enumerable:true,get:function(){return A.base64encode}});var C=d(58950);Object.defineProperty(c,"utf8read",{enumerable:true,get:function(){return C.utf8read}});var S=d(54816);Object.defineProperty(c,"WireType",{enumerable:true,get:function(){return S.WireType}});Object.defineProperty(c,"mergeBinaryOptions",{enumerable:true,get:function(){return S.mergeBinaryOptions}});Object.defineProperty(c,"UnknownFieldHandler",{enumerable:true,get:function(){return S.UnknownFieldHandler}});var v=d(92889);Object.defineProperty(c,"BinaryReader",{enumerable:true,get:function(){return v.BinaryReader}});Object.defineProperty(c,"binaryReadOptions",{enumerable:true,get:function(){return v.binaryReadOptions}});var _=d(23957);Object.defineProperty(c,"BinaryWriter",{enumerable:true,get:function(){return _.BinaryWriter}});Object.defineProperty(c,"binaryWriteOptions",{enumerable:true,get:function(){return _.binaryWriteOptions}});var T=d(61753);Object.defineProperty(c,"PbLong",{enumerable:true,get:function(){return T.PbLong}});Object.defineProperty(c,"PbULong",{enumerable:true,get:function(){return T.PbULong}});var V=d(29367);Object.defineProperty(c,"jsonReadOptions",{enumerable:true,get:function(){return V.jsonReadOptions}});Object.defineProperty(c,"jsonWriteOptions",{enumerable:true,get:function(){return V.jsonWriteOptions}});Object.defineProperty(c,"mergeJsonOptions",{enumerable:true,get:function(){return V.mergeJsonOptions}});var Z=d(43785);Object.defineProperty(c,"MESSAGE_TYPE",{enumerable:true,get:function(){return Z.MESSAGE_TYPE}});var ee=d(15106);Object.defineProperty(c,"MessageType",{enumerable:true,get:function(){return ee.MessageType}});var te=d(67910);Object.defineProperty(c,"ScalarType",{enumerable:true,get:function(){return te.ScalarType}});Object.defineProperty(c,"LongType",{enumerable:true,get:function(){return te.LongType}});Object.defineProperty(c,"RepeatType",{enumerable:true,get:function(){return te.RepeatType}});Object.defineProperty(c,"normalizeFieldInfo",{enumerable:true,get:function(){return te.normalizeFieldInfo}});Object.defineProperty(c,"readFieldOptions",{enumerable:true,get:function(){return te.readFieldOptions}});Object.defineProperty(c,"readFieldOption",{enumerable:true,get:function(){return te.readFieldOption}});Object.defineProperty(c,"readMessageOption",{enumerable:true,get:function(){return te.readMessageOption}});var re=d(25167);Object.defineProperty(c,"ReflectionTypeCheck",{enumerable:true,get:function(){return re.ReflectionTypeCheck}});var ne=d(53345);Object.defineProperty(c,"reflectionCreate",{enumerable:true,get:function(){return ne.reflectionCreate}});var ie=d(19526);Object.defineProperty(c,"reflectionScalarDefault",{enumerable:true,get:function(){return ie.reflectionScalarDefault}});var se=d(98044);Object.defineProperty(c,"reflectionMergePartial",{enumerable:true,get:function(){return se.reflectionMergePartial}});var oe=d(4827);Object.defineProperty(c,"reflectionEquals",{enumerable:true,get:function(){return oe.reflectionEquals}});var ae=d(89611);Object.defineProperty(c,"ReflectionBinaryReader",{enumerable:true,get:function(){return ae.ReflectionBinaryReader}});var le=d(66907);Object.defineProperty(c,"ReflectionBinaryWriter",{enumerable:true,get:function(){return le.ReflectionBinaryWriter}});var ce=d(46790);Object.defineProperty(c,"ReflectionJsonReader",{enumerable:true,get:function(){return ce.ReflectionJsonReader}});var ue=d(11094);Object.defineProperty(c,"ReflectionJsonWriter",{enumerable:true,get:function(){return ue.ReflectionJsonWriter}});var de=d(59946);Object.defineProperty(c,"containsMessageType",{enumerable:true,get:function(){return de.containsMessageType}});var fe=d(18063);Object.defineProperty(c,"isOneofGroup",{enumerable:true,get:function(){return fe.isOneofGroup}});Object.defineProperty(c,"setOneofValue",{enumerable:true,get:function(){return fe.setOneofValue}});Object.defineProperty(c,"getOneofValue",{enumerable:true,get:function(){return fe.getOneofValue}});Object.defineProperty(c,"clearOneofValue",{enumerable:true,get:function(){return fe.clearOneofValue}});Object.defineProperty(c,"getSelectedOneofValue",{enumerable:true,get:function(){return fe.getSelectedOneofValue}});var pe=d(70257);Object.defineProperty(c,"listEnumValues",{enumerable:true,get:function(){return pe.listEnumValues}});Object.defineProperty(c,"listEnumNames",{enumerable:true,get:function(){return pe.listEnumNames}});Object.defineProperty(c,"listEnumNumbers",{enumerable:true,get:function(){return pe.listEnumNumbers}});Object.defineProperty(c,"isEnumObject",{enumerable:true,get:function(){return pe.isEnumObject}});var Ae=d(4073);Object.defineProperty(c,"lowerCamelCase",{enumerable:true,get:function(){return Ae.lowerCamelCase}});var he=d(8602);Object.defineProperty(c,"assert",{enumerable:true,get:function(){return he.assert}});Object.defineProperty(c,"assertNever",{enumerable:true,get:function(){return he.assertNever}});Object.defineProperty(c,"assertInt32",{enumerable:true,get:function(){return he.assertInt32}});Object.defineProperty(c,"assertUInt32",{enumerable:true,get:function(){return he.assertUInt32}});Object.defineProperty(c,"assertFloat32",{enumerable:true,get:function(){return he.assertFloat32}})},29367:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.mergeJsonOptions=c.jsonWriteOptions=c.jsonReadOptions=void 0;const d={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},p={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},p),i):p}c.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},d),i):d}c.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,c){var d,p;let A=Object.assign(Object.assign({},i),c);A.typeRegistry=[...(d=i===null||i===void 0?void 0:i.typeRegistry)!==null&&d!==void 0?d:[],...(p=c===null||c===void 0?void 0:c.typeRegistry)!==null&&p!==void 0?p:[]];return A}c.mergeJsonOptions=mergeJsonOptions},49999:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isJsonObject=c.typeofJsonValue=void 0;function typeofJsonValue(i){let c=typeof i;if(c=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return c}c.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}c.isJsonObject=isJsonObject},4073:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.lowerCamelCase=void 0;function lowerCamelCase(i){let c=false;const d=[];for(let p=0;p<i.length;p++){let A=i.charAt(p);if(A=="_"){c=true}else if(/\d/.test(A)){d.push(A);c=true}else if(c){d.push(A.toUpperCase());c=false}else if(p==0){d.push(A.toLowerCase())}else{d.push(A)}}return d.join("")}c.lowerCamelCase=lowerCamelCase},43785:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.MESSAGE_TYPE=void 0;c.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},15106:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.MessageType=void 0;const p=d(43785);const A=d(67910);const C=d(25167);const S=d(46790);const v=d(11094);const _=d(89611);const T=d(66907);const V=d(53345);const Z=d(98044);const ee=d(49999);const te=d(29367);const re=d(4827);const ne=d(23957);const ie=d(92889);const se=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));class MessageType{constructor(i,c,d){this.defaultCheckDepth=16;this.typeName=i;this.fields=c.map(A.normalizeFieldInfo);this.options=d!==null&&d!==void 0?d:{};this.messagePrototype=Object.create(null,Object.assign(Object.assign({},se),{[p.MESSAGE_TYPE]:{value:this}}));this.refTypeCheck=new C.ReflectionTypeCheck(this);this.refJsonReader=new S.ReflectionJsonReader(this);this.refJsonWriter=new v.ReflectionJsonWriter(this);this.refBinReader=new _.ReflectionBinaryReader(this);this.refBinWriter=new T.ReflectionBinaryWriter(this)}create(i){let c=V.reflectionCreate(this);if(i!==undefined){Z.reflectionMergePartial(this,c,i)}return c}clone(i){let c=this.create();Z.reflectionMergePartial(this,c,i);return c}equals(i,c){return re.reflectionEquals(this,i,c)}is(i,c=this.defaultCheckDepth){return this.refTypeCheck.is(i,c,false)}isAssignable(i,c=this.defaultCheckDepth){return this.refTypeCheck.is(i,c,true)}mergePartial(i,c){Z.reflectionMergePartial(this,i,c)}fromBinary(i,c){let d=ie.binaryReadOptions(c);return this.internalBinaryRead(d.readerFactory(i),i.byteLength,d)}fromJson(i,c){return this.internalJsonRead(i,te.jsonReadOptions(c))}fromJsonString(i,c){let d=JSON.parse(i);return this.fromJson(d,c)}toJson(i,c){return this.internalJsonWrite(i,te.jsonWriteOptions(c))}toJsonString(i,c){var d;let p=this.toJson(i,c);return JSON.stringify(p,null,(d=c===null||c===void 0?void 0:c.prettySpaces)!==null&&d!==void 0?d:0)}toBinary(i,c){let d=ne.binaryWriteOptions(c);return this.internalBinaryWrite(i,d.writerFactory(),d).finish()}internalJsonRead(i,c,d){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let p=d!==null&&d!==void 0?d:this.create();this.refJsonReader.read(i,p,c);return p}throw new Error(`Unable to parse message ${this.typeName} from JSON ${ee.typeofJsonValue(i)}.`)}internalJsonWrite(i,c){return this.refJsonWriter.write(i,c)}internalBinaryWrite(i,c,d){this.refBinWriter.write(i,c,d);return c}internalBinaryRead(i,c,d,p){let A=p!==null&&p!==void 0?p:this.create();this.refBinReader.read(i,A,d,c);return A}}c.MessageType=MessageType},18063:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getSelectedOneofValue=c.clearOneofValue=c.setUnknownOneofValue=c.setOneofValue=c.getOneofValue=c.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}c.isOneofGroup=isOneofGroup;function getOneofValue(i,c){return i[c]}c.getOneofValue=getOneofValue;function setOneofValue(i,c,d){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=c;if(d!==undefined){i[c]=d}}c.setOneofValue=setOneofValue;function setUnknownOneofValue(i,c,d){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=c;if(d!==undefined&&c!==undefined){i[c]=d}}c.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}c.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}c.getSelectedOneofValue=getSelectedOneofValue},61753:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PbLong=c.PbULong=c.detectBi=void 0;const p=d(93223);let A;function detectBi(){const i=new DataView(new ArrayBuffer(8));const c=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";A=c?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}c.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const C=/^-?[0-9]+$/;const S=4294967296;const v=2147483648;class SharedPbLong{constructor(i,c){this.lo=i|0;this.hi=c|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*S+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(A)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=A.C(i);case"number":if(i===0)return this.ZERO;i=A.C(i);case"bigint":if(!i)return this.ZERO;if(i<A.UMIN)throw new Error("signed value for ulong");if(i>A.UMAX)throw new Error("ulong too large");A.V.setBigUint64(0,i,true);return new PbULong(A.V.getInt32(0,true),A.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!C.test(i))throw new Error("string is no integer");let[c,d,A]=p.int64fromString(i);if(c)throw new Error("signed value for ulong");return new PbULong(d,A);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/S)}throw new Error("unknown value "+typeof i)}toString(){return A?this.toBigInt().toString():p.int64toString(this.lo,this.hi)}toBigInt(){assertBi(A);A.V.setInt32(0,this.lo,true);A.V.setInt32(4,this.hi,true);return A.V.getBigUint64(0,true)}}c.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(A)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=A.C(i);case"number":if(i===0)return this.ZERO;i=A.C(i);case"bigint":if(!i)return this.ZERO;if(i<A.MIN)throw new Error("signed long too small");if(i>A.MAX)throw new Error("signed long too large");A.V.setBigInt64(0,i,true);return new PbLong(A.V.getInt32(0,true),A.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!C.test(i))throw new Error("string is no integer");let[c,d,A]=p.int64fromString(i);if(c){if(A>v||A==v&&d!=0)throw new Error("signed long too small")}else if(A>=v)throw new Error("signed long too large");let _=new PbLong(d,A);return c?_.negate():_;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/S):new PbLong(-i,-i/S).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&v)!==0}negate(){let i=~this.hi,c=this.lo;if(c)c=~c+1;else i+=1;return new PbLong(c,i)}toString(){if(A)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+p.int64toString(i.lo,i.hi)}return p.int64toString(this.lo,this.hi)}toBigInt(){assertBi(A);A.V.setInt32(0,this.lo,true);A.V.setInt32(4,this.hi,true);return A.V.getBigInt64(0,true)}}c.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},58950:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let c=0,d=[],p=[],A=0,C;let S=i.length;while(c<S){C=i[c++];if(C<128)p[A++]=C;else if(C>191&&C<224)p[A++]=(C&31)<<6|i[c++]&63;else if(C>239&&C<365){C=((C&7)<<18|(i[c++]&63)<<12|(i[c++]&63)<<6|i[c++]&63)-65536;p[A++]=55296+(C>>10);p[A++]=56320+(C&1023)}else p[A++]=(C&15)<<12|(i[c++]&63)<<6|i[c++]&63;if(A>8191){d.push(fromCharCodes(p));A=0}}if(d.length){if(A)d.push(fromCharCodes(p.slice(0,A)));return d.join("")}return fromCharCodes(p.slice(0,A))}c.utf8read=utf8read},89611:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionBinaryReader=void 0;const p=d(54816);const A=d(67910);const C=d(63402);const S=d(19526);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const c=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(c.map((i=>[i.no,i])))}}read(i,c,d,C){this.prepare();const S=C===undefined?i.len:i.pos+C;while(i.pos<S){const[C,S]=i.tag(),v=this.fieldNoToField.get(C);if(!v){let A=d.readUnknownField;if(A=="throw")throw new Error(`Unknown field ${C} (wire type ${S}) for ${this.info.typeName}`);let v=i.skip(S);if(A!==false)(A===true?p.UnknownFieldHandler.onRead:A)(this.info.typeName,c,C,S,v);continue}let _=c,T=v.repeat,V=v.localName;if(v.oneof){_=_[v.oneof];if(_.oneofKind!==V)_=c[v.oneof]={oneofKind:V}}switch(v.kind){case"scalar":case"enum":let c=v.kind=="enum"?A.ScalarType.INT32:v.T;let C=v.kind=="scalar"?v.L:undefined;if(T){let d=_[V];if(S==p.WireType.LengthDelimited&&c!=A.ScalarType.STRING&&c!=A.ScalarType.BYTES){let p=i.uint32()+i.pos;while(i.pos<p)d.push(this.scalar(i,c,C))}else d.push(this.scalar(i,c,C))}else _[V]=this.scalar(i,c,C);break;case"message":if(T){let c=_[V];let p=v.T().internalBinaryRead(i,i.uint32(),d);c.push(p)}else _[V]=v.T().internalBinaryRead(i,i.uint32(),d,_[V]);break;case"map":let[Z,ee]=this.mapEntry(v,i,d);_[V][Z]=ee;break}}}mapEntry(i,c,d){let p=c.uint32();let C=c.pos+p;let v=undefined;let _=undefined;while(c.pos<C){let[p,C]=c.tag();switch(p){case 1:if(i.K==A.ScalarType.BOOL)v=c.bool().toString();else v=this.scalar(c,i.K,A.LongType.STRING);break;case 2:switch(i.V.kind){case"scalar":_=this.scalar(c,i.V.T,i.V.L);break;case"enum":_=c.int32();break;case"message":_=i.V.T().internalBinaryRead(c,c.uint32(),d);break}break;default:throw new Error(`Unknown field ${p} (wire type ${C}) in map entry for ${this.info.typeName}#${i.name}`)}}if(v===undefined){let c=S.reflectionScalarDefault(i.K);v=i.K==A.ScalarType.BOOL?c.toString():c}if(_===undefined)switch(i.V.kind){case"scalar":_=S.reflectionScalarDefault(i.V.T,i.V.L);break;case"enum":_=0;break;case"message":_=i.V.T().create();break}return[v,_]}scalar(i,c,d){switch(c){case A.ScalarType.INT32:return i.int32();case A.ScalarType.STRING:return i.string();case A.ScalarType.BOOL:return i.bool();case A.ScalarType.DOUBLE:return i.double();case A.ScalarType.FLOAT:return i.float();case A.ScalarType.INT64:return C.reflectionLongConvert(i.int64(),d);case A.ScalarType.UINT64:return C.reflectionLongConvert(i.uint64(),d);case A.ScalarType.FIXED64:return C.reflectionLongConvert(i.fixed64(),d);case A.ScalarType.FIXED32:return i.fixed32();case A.ScalarType.BYTES:return i.bytes();case A.ScalarType.UINT32:return i.uint32();case A.ScalarType.SFIXED32:return i.sfixed32();case A.ScalarType.SFIXED64:return C.reflectionLongConvert(i.sfixed64(),d);case A.ScalarType.SINT32:return i.sint32();case A.ScalarType.SINT64:return C.reflectionLongConvert(i.sint64(),d)}}}c.ReflectionBinaryReader=ReflectionBinaryReader},66907:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionBinaryWriter=void 0;const p=d(54816);const A=d(67910);const C=d(8602);const S=d(61753);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,c)=>i.no-c.no))}}write(i,c,d){this.prepare();for(const p of this.fields){let S,v,_=p.repeat,T=p.localName;if(p.oneof){const c=i[p.oneof];if(c.oneofKind!==T)continue;S=c[T];v=true}else{S=i[T];v=false}switch(p.kind){case"scalar":case"enum":let i=p.kind=="enum"?A.ScalarType.INT32:p.T;if(_){C.assert(Array.isArray(S));if(_==A.RepeatType.PACKED)this.packed(c,i,p.no,S);else for(const d of S)this.scalar(c,i,p.no,d,true)}else if(S===undefined)C.assert(p.opt);else this.scalar(c,i,p.no,S,v||p.opt);break;case"message":if(_){C.assert(Array.isArray(S));for(const i of S)this.message(c,d,p.T(),p.no,i)}else{this.message(c,d,p.T(),p.no,S)}break;case"map":C.assert(typeof S=="object"&&S!==null);for(const[i,A]of Object.entries(S))this.mapEntry(c,d,p,i,A);break}}let S=d.writeUnknownFields;if(S!==false)(S===true?p.UnknownFieldHandler.onWrite:S)(this.info.typeName,i,c)}mapEntry(i,c,d,S,v){i.tag(d.no,p.WireType.LengthDelimited);i.fork();let _=S;switch(d.K){case A.ScalarType.INT32:case A.ScalarType.FIXED32:case A.ScalarType.UINT32:case A.ScalarType.SFIXED32:case A.ScalarType.SINT32:_=Number.parseInt(S);break;case A.ScalarType.BOOL:C.assert(S=="true"||S=="false");_=S=="true";break}this.scalar(i,d.K,1,_,true);switch(d.V.kind){case"scalar":this.scalar(i,d.V.T,2,v,true);break;case"enum":this.scalar(i,A.ScalarType.INT32,2,v,true);break;case"message":this.message(i,c,d.V.T(),2,v);break}i.join()}message(i,c,d,A,C){if(C===undefined)return;d.internalBinaryWrite(C,i.tag(A,p.WireType.LengthDelimited).fork(),c);i.join()}scalar(i,c,d,p,A){let[C,S,v]=this.scalarInfo(c,p);if(!v||A){i.tag(d,C);i[S](p)}}packed(i,c,d,S){if(!S.length)return;C.assert(c!==A.ScalarType.BYTES&&c!==A.ScalarType.STRING);i.tag(d,p.WireType.LengthDelimited);i.fork();let[,v]=this.scalarInfo(c);for(let c=0;c<S.length;c++)i[v](S[c]);i.join()}scalarInfo(i,c){let d=p.WireType.Varint;let C;let v=c===undefined;let _=c===0;switch(i){case A.ScalarType.INT32:C="int32";break;case A.ScalarType.STRING:_=v||!c.length;d=p.WireType.LengthDelimited;C="string";break;case A.ScalarType.BOOL:_=c===false;C="bool";break;case A.ScalarType.UINT32:C="uint32";break;case A.ScalarType.DOUBLE:d=p.WireType.Bit64;C="double";break;case A.ScalarType.FLOAT:d=p.WireType.Bit32;C="float";break;case A.ScalarType.INT64:_=v||S.PbLong.from(c).isZero();C="int64";break;case A.ScalarType.UINT64:_=v||S.PbULong.from(c).isZero();C="uint64";break;case A.ScalarType.FIXED64:_=v||S.PbULong.from(c).isZero();d=p.WireType.Bit64;C="fixed64";break;case A.ScalarType.BYTES:_=v||!c.byteLength;d=p.WireType.LengthDelimited;C="bytes";break;case A.ScalarType.FIXED32:d=p.WireType.Bit32;C="fixed32";break;case A.ScalarType.SFIXED32:d=p.WireType.Bit32;C="sfixed32";break;case A.ScalarType.SFIXED64:_=v||S.PbLong.from(c).isZero();d=p.WireType.Bit64;C="sfixed64";break;case A.ScalarType.SINT32:C="sint32";break;case A.ScalarType.SINT64:_=v||S.PbLong.from(c).isZero();C="sint64";break}return[d,C,v||_]}}c.ReflectionBinaryWriter=ReflectionBinaryWriter},59946:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.containsMessageType=void 0;const p=d(43785);function containsMessageType(i){return i[p.MESSAGE_TYPE]!=null}c.containsMessageType=containsMessageType},53345:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionCreate=void 0;const p=d(19526);const A=d(43785);function reflectionCreate(i){const c=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},A.MESSAGE_TYPE,{value:i});for(let d of i.fields){let i=d.localName;if(d.opt)continue;if(d.oneof)c[d.oneof]={oneofKind:undefined};else if(d.repeat)c[i]=[];else switch(d.kind){case"scalar":c[i]=p.reflectionScalarDefault(d.T,d.L);break;case"enum":c[i]=0;break;case"map":c[i]={};break}}return c}c.reflectionCreate=reflectionCreate},4827:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionEquals=void 0;const p=d(67910);function reflectionEquals(i,c,d){if(c===d)return true;if(!c||!d)return false;for(let C of i.fields){let i=C.localName;let S=C.oneof?c[C.oneof][i]:c[i];let v=C.oneof?d[C.oneof][i]:d[i];switch(C.kind){case"enum":case"scalar":let i=C.kind=="enum"?p.ScalarType.INT32:C.T;if(!(C.repeat?repeatedPrimitiveEq(i,S,v):primitiveEq(i,S,v)))return false;break;case"map":if(!(C.V.kind=="message"?repeatedMsgEq(C.V.T(),A(S),A(v)):repeatedPrimitiveEq(C.V.kind=="enum"?p.ScalarType.INT32:C.V.T,A(S),A(v))))return false;break;case"message":let c=C.T();if(!(C.repeat?repeatedMsgEq(c,S,v):c.equals(S,v)))return false;break}}return true}c.reflectionEquals=reflectionEquals;const A=Object.values;function primitiveEq(i,c,d){if(c===d)return true;if(i!==p.ScalarType.BYTES)return false;let A=c;let C=d;if(A.length!==C.length)return false;for(let i=0;i<A.length;i++)if(A[i]!=C[i])return false;return true}function repeatedPrimitiveEq(i,c,d){if(c.length!==d.length)return false;for(let p=0;p<c.length;p++)if(!primitiveEq(i,c[p],d[p]))return false;return true}function repeatedMsgEq(i,c,d){if(c.length!==d.length)return false;for(let p=0;p<c.length;p++)if(!i.equals(c[p],d[p]))return false;return true}},67910:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.readMessageOption=c.readFieldOption=c.readFieldOptions=c.normalizeFieldInfo=c.RepeatType=c.LongType=c.ScalarType=void 0;const p=d(4073);var A;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(A=c.ScalarType||(c.ScalarType={}));var C;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(C=c.LongType||(c.LongType={}));var S;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(S=c.RepeatType||(c.RepeatType={}));function normalizeFieldInfo(i){var c,d,A,C;i.localName=(c=i.localName)!==null&&c!==void 0?c:p.lowerCamelCase(i.name);i.jsonName=(d=i.jsonName)!==null&&d!==void 0?d:p.lowerCamelCase(i.name);i.repeat=(A=i.repeat)!==null&&A!==void 0?A:S.NO;i.opt=(C=i.opt)!==null&&C!==void 0?C:i.repeat?false:i.oneof?false:i.kind=="message";return i}c.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,c,d,p){var A;const C=(A=i.fields.find(((i,d)=>i.localName==c||d==c)))===null||A===void 0?void 0:A.options;return C&&C[d]?p.fromJson(C[d]):undefined}c.readFieldOptions=readFieldOptions;function readFieldOption(i,c,d,p){var A;const C=(A=i.fields.find(((i,d)=>i.localName==c||d==c)))===null||A===void 0?void 0:A.options;if(!C){return undefined}const S=C[d];if(S===undefined){return S}return p?p.fromJson(S):S}c.readFieldOption=readFieldOption;function readMessageOption(i,c,d){const p=i.options;const A=p[c];if(A===undefined){return A}return d?d.fromJson(A):A}c.readMessageOption=readMessageOption},46790:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionJsonReader=void 0;const p=d(49999);const A=d(26335);const C=d(67910);const S=d(61753);const v=d(8602);const _=d(63402);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const c=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of c){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,c,d){if(!i){let i=p.typeofJsonValue(d);if(i=="number"||i=="boolean")i=d.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${c}`)}}read(i,c,d){this.prepare();const A=[];for(const[S,v]of Object.entries(i)){const i=this.fMap[S];if(!i){if(!d.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${S}`);continue}const _=i.localName;let T;if(i.oneof){if(v===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(A.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);A.push(i.oneof);T=c[i.oneof]={oneofKind:_}}else{T=c}if(i.kind=="map"){if(v===null){continue}this.assert(p.isJsonObject(v),i.name,v);const c=T[_];for(const[p,A]of Object.entries(v)){this.assert(A!==null,i.name+" map value",null);let S;switch(i.V.kind){case"message":S=i.V.T().internalJsonRead(A,d);break;case"enum":S=this.enum(i.V.T(),A,i.name,d.ignoreUnknownFields);if(S===false)continue;break;case"scalar":S=this.scalar(A,i.V.T,i.V.L,i.name);break}this.assert(S!==undefined,i.name+" map value",A);let v=p;if(i.K==C.ScalarType.BOOL)v=v=="true"?true:v=="false"?false:v;v=this.scalar(v,i.K,C.LongType.STRING,i.name).toString();c[v]=S}}else if(i.repeat){if(v===null)continue;this.assert(Array.isArray(v),i.name,v);const c=T[_];for(const p of v){this.assert(p!==null,i.name,null);let A;switch(i.kind){case"message":A=i.T().internalJsonRead(p,d);break;case"enum":A=this.enum(i.T(),p,i.name,d.ignoreUnknownFields);if(A===false)continue;break;case"scalar":A=this.scalar(p,i.T,i.L,i.name);break}this.assert(A!==undefined,i.name,v);c.push(A)}}else{switch(i.kind){case"message":if(v===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}T[_]=i.T().internalJsonRead(v,d,T[_]);break;case"enum":let c=this.enum(i.T(),v,i.name,d.ignoreUnknownFields);if(c===false)continue;T[_]=c;break;case"scalar":T[_]=this.scalar(v,i.T,i.L,i.name);break}}}}enum(i,c,d,p){if(i[0]=="google.protobuf.NullValue")v.assert(c===null||c==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${d}, enum ${i[0]} only accepts null.`);if(c===null)return 0;switch(typeof c){case"number":v.assert(Number.isInteger(c),`Unable to parse field ${this.info.typeName}#${d}, enum can only be integral number, got ${c}.`);return c;case"string":let A=c;if(i[2]&&c.substring(0,i[2].length)===i[2])A=c.substring(i[2].length);let C=i[1][A];if(typeof C==="undefined"&&p){return false}v.assert(typeof C=="number",`Unable to parse field ${this.info.typeName}#${d}, enum ${i[0]} has no value for "${c}".`);return C}v.assert(false,`Unable to parse field ${this.info.typeName}#${d}, cannot parse enum value from ${typeof c}".`)}scalar(i,c,d,p){let T;try{switch(c){case C.ScalarType.DOUBLE:case C.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){T="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){T="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let p=Number(i);if(Number.isNaN(p)){T="not a number";break}if(!Number.isFinite(p)){T="too large or small";break}if(c==C.ScalarType.FLOAT)v.assertFloat32(p);return p;case C.ScalarType.INT32:case C.ScalarType.FIXED32:case C.ScalarType.SFIXED32:case C.ScalarType.SINT32:case C.ScalarType.UINT32:if(i===null)return 0;let V;if(typeof i=="number")V=i;else if(i==="")T="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)T="extra whitespace";else V=Number(i)}if(V===undefined)break;if(c==C.ScalarType.UINT32)v.assertUInt32(V);else v.assertInt32(V);return V;case C.ScalarType.INT64:case C.ScalarType.SFIXED64:case C.ScalarType.SINT64:if(i===null)return _.reflectionLongConvert(S.PbLong.ZERO,d);if(typeof i!="number"&&typeof i!="string")break;return _.reflectionLongConvert(S.PbLong.from(i),d);case C.ScalarType.FIXED64:case C.ScalarType.UINT64:if(i===null)return _.reflectionLongConvert(S.PbULong.ZERO,d);if(typeof i!="number"&&typeof i!="string")break;return _.reflectionLongConvert(S.PbULong.from(i),d);case C.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case C.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){T="extra whitespace";break}try{encodeURIComponent(i)}catch(T){T="invalid UTF8";break}return i;case C.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return A.base64decode(i)}}catch(i){T=i.message}this.assert(false,p+(T?" - "+T:""),i)}}c.ReflectionJsonReader=ReflectionJsonReader},11094:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionJsonWriter=void 0;const p=d(26335);const A=d(61753);const C=d(67910);const S=d(8602);class ReflectionJsonWriter{constructor(i){var c;this.fields=(c=i.fields)!==null&&c!==void 0?c:[]}write(i,c){const d={},p=i;for(const i of this.fields){if(!i.oneof){let A=this.field(i,p[i.localName],c);if(A!==undefined)d[c.useProtoFieldName?i.name:i.jsonName]=A;continue}const A=p[i.oneof];if(A.oneofKind!==i.localName)continue;const C=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},c),{emitDefaultValues:true}):c;let v=this.field(i,A[i.localName],C);S.assert(v!==undefined);d[c.useProtoFieldName?i.name:i.jsonName]=v}return d}field(i,c,d){let p=undefined;if(i.kind=="map"){S.assert(typeof c=="object"&&c!==null);const A={};switch(i.V.kind){case"scalar":for(const[d,p]of Object.entries(c)){const c=this.scalar(i.V.T,p,i.name,false,true);S.assert(c!==undefined);A[d.toString()]=c}break;case"message":const p=i.V.T();for(const[C,v]of Object.entries(c)){const c=this.message(p,v,i.name,d);S.assert(c!==undefined);A[C.toString()]=c}break;case"enum":const C=i.V.T();for(const[p,v]of Object.entries(c)){S.assert(v===undefined||typeof v=="number");const c=this.enum(C,v,i.name,false,true,d.enumAsInteger);S.assert(c!==undefined);A[p.toString()]=c}break}if(d.emitDefaultValues||Object.keys(A).length>0)p=A}else if(i.repeat){S.assert(Array.isArray(c));const A=[];switch(i.kind){case"scalar":for(let d=0;d<c.length;d++){const p=this.scalar(i.T,c[d],i.name,i.opt,true);S.assert(p!==undefined);A.push(p)}break;case"enum":const p=i.T();for(let C=0;C<c.length;C++){S.assert(c[C]===undefined||typeof c[C]=="number");const v=this.enum(p,c[C],i.name,i.opt,true,d.enumAsInteger);S.assert(v!==undefined);A.push(v)}break;case"message":const C=i.T();for(let p=0;p<c.length;p++){const v=this.message(C,c[p],i.name,d);S.assert(v!==undefined);A.push(v)}break}if(d.emitDefaultValues||A.length>0||d.emitDefaultValues)p=A}else{switch(i.kind){case"scalar":p=this.scalar(i.T,c,i.name,i.opt,d.emitDefaultValues);break;case"enum":p=this.enum(i.T(),c,i.name,i.opt,d.emitDefaultValues,d.enumAsInteger);break;case"message":p=this.message(i.T(),c,i.name,d);break}}return p}enum(i,c,d,p,A,C){if(i[0]=="google.protobuf.NullValue")return!A&&!p?undefined:null;if(c===undefined){S.assert(p);return undefined}if(c===0&&!A&&!p)return undefined;S.assert(typeof c=="number");S.assert(Number.isInteger(c));if(C||!i[1].hasOwnProperty(c))return c;if(i[2])return i[2]+i[1][c];return i[1][c]}message(i,c,d,p){if(c===undefined)return p.emitDefaultValues?null:undefined;return i.internalJsonWrite(c,p)}scalar(i,c,d,v,_){if(c===undefined){S.assert(v);return undefined}const T=_||v;switch(i){case C.ScalarType.INT32:case C.ScalarType.SFIXED32:case C.ScalarType.SINT32:if(c===0)return T?0:undefined;S.assertInt32(c);return c;case C.ScalarType.FIXED32:case C.ScalarType.UINT32:if(c===0)return T?0:undefined;S.assertUInt32(c);return c;case C.ScalarType.FLOAT:S.assertFloat32(c);case C.ScalarType.DOUBLE:if(c===0)return T?0:undefined;S.assert(typeof c=="number");if(Number.isNaN(c))return"NaN";if(c===Number.POSITIVE_INFINITY)return"Infinity";if(c===Number.NEGATIVE_INFINITY)return"-Infinity";return c;case C.ScalarType.STRING:if(c==="")return T?"":undefined;S.assert(typeof c=="string");return c;case C.ScalarType.BOOL:if(c===false)return T?false:undefined;S.assert(typeof c=="boolean");return c;case C.ScalarType.UINT64:case C.ScalarType.FIXED64:S.assert(typeof c=="number"||typeof c=="string"||typeof c=="bigint");let i=A.PbULong.from(c);if(i.isZero()&&!T)return undefined;return i.toString();case C.ScalarType.INT64:case C.ScalarType.SFIXED64:case C.ScalarType.SINT64:S.assert(typeof c=="number"||typeof c=="string"||typeof c=="bigint");let d=A.PbLong.from(c);if(d.isZero()&&!T)return undefined;return d.toString();case C.ScalarType.BYTES:S.assert(c instanceof Uint8Array);if(!c.byteLength)return T?"":undefined;return p.base64encode(c)}}}c.ReflectionJsonWriter=ReflectionJsonWriter},63402:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionLongConvert=void 0;const p=d(67910);function reflectionLongConvert(i,c){switch(c){case p.LongType.BIGINT:return i.toBigInt();case p.LongType.NUMBER:return i.toNumber();default:return i.toString()}}c.reflectionLongConvert=reflectionLongConvert},98044:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionMergePartial=void 0;function reflectionMergePartial(i,c,d){let p,A=d,C;for(let d of i.fields){let i=d.localName;if(d.oneof){const S=A[d.oneof];if((S===null||S===void 0?void 0:S.oneofKind)==undefined){continue}p=S[i];C=c[d.oneof];C.oneofKind=S.oneofKind;if(p==undefined){delete C[i];continue}}else{p=A[i];C=c;if(p==undefined){continue}}if(d.repeat)C[i].length=p.length;switch(d.kind){case"scalar":case"enum":if(d.repeat)for(let c=0;c<p.length;c++)C[i][c]=p[c];else C[i]=p;break;case"message":let c=d.T();if(d.repeat)for(let d=0;d<p.length;d++)C[i][d]=c.create(p[d]);else if(C[i]===undefined)C[i]=c.create(p);else c.mergePartial(C[i],p);break;case"map":switch(d.V.kind){case"scalar":case"enum":Object.assign(C[i],p);break;case"message":let c=d.V.T();for(let d of Object.keys(p))C[i][d]=c.create(p[d]);break}break}}}c.reflectionMergePartial=reflectionMergePartial},19526:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.reflectionScalarDefault=void 0;const p=d(67910);const A=d(63402);const C=d(61753);function reflectionScalarDefault(i,c=p.LongType.STRING){switch(i){case p.ScalarType.BOOL:return false;case p.ScalarType.UINT64:case p.ScalarType.FIXED64:return A.reflectionLongConvert(C.PbULong.ZERO,c);case p.ScalarType.INT64:case p.ScalarType.SFIXED64:case p.ScalarType.SINT64:return A.reflectionLongConvert(C.PbLong.ZERO,c);case p.ScalarType.DOUBLE:case p.ScalarType.FLOAT:return 0;case p.ScalarType.BYTES:return new Uint8Array(0);case p.ScalarType.STRING:return"";default:return 0}}c.reflectionScalarDefault=reflectionScalarDefault},25167:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ReflectionTypeCheck=void 0;const p=d(67910);const A=d(18063);class ReflectionTypeCheck{constructor(i){var c;this.fields=(c=i.fields)!==null&&c!==void 0?c:[]}prepare(){if(this.data)return;const i=[],c=[],d=[];for(let p of this.fields){if(p.oneof){if(!d.includes(p.oneof)){d.push(p.oneof);i.push(p.oneof);c.push(p.oneof)}}else{c.push(p.localName);switch(p.kind){case"scalar":case"enum":if(!p.opt||p.repeat)i.push(p.localName);break;case"message":if(p.repeat)i.push(p.localName);break;case"map":i.push(p.localName);break}}}this.data={req:i,known:c,oneofs:Object.values(d)}}is(i,c,d=false){if(c<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let p=Object.keys(i),C=this.data;if(p.length<C.req.length||C.req.some((i=>!p.includes(i))))return false;if(!d){if(p.some((i=>!C.known.includes(i))))return false}if(c<1){return true}for(const p of C.oneofs){const C=i[p];if(!A.isOneofGroup(C))return false;if(C.oneofKind===undefined)continue;const S=this.fields.find((i=>i.localName===C.oneofKind));if(!S)return false;if(!this.field(C[C.oneofKind],S,d,c))return false}for(const p of this.fields){if(p.oneof!==undefined)continue;if(!this.field(i[p.localName],p,d,c))return false}return true}field(i,c,d,A){let C=c.repeat;switch(c.kind){case"scalar":if(i===undefined)return c.opt;if(C)return this.scalars(i,c.T,A,c.L);return this.scalar(i,c.T,c.L);case"enum":if(i===undefined)return c.opt;if(C)return this.scalars(i,p.ScalarType.INT32,A);return this.scalar(i,p.ScalarType.INT32);case"message":if(i===undefined)return true;if(C)return this.messages(i,c.T(),d,A);return this.message(i,c.T(),d,A);case"map":if(typeof i!="object"||i===null)return false;if(A<2)return true;if(!this.mapKeys(i,c.K,A))return false;switch(c.V.kind){case"scalar":return this.scalars(Object.values(i),c.V.T,A,c.V.L);case"enum":return this.scalars(Object.values(i),p.ScalarType.INT32,A);case"message":return this.messages(Object.values(i),c.V.T(),d,A)}break}return true}message(i,c,d,p){if(d){return c.isAssignable(i,p)}return c.is(i,p)}messages(i,c,d,p){if(!Array.isArray(i))return false;if(p<2)return true;if(d){for(let d=0;d<i.length&&d<p;d++)if(!c.isAssignable(i[d],p-1))return false}else{for(let d=0;d<i.length&&d<p;d++)if(!c.is(i[d],p-1))return false}return true}scalar(i,c,d){let A=typeof i;switch(c){case p.ScalarType.UINT64:case p.ScalarType.FIXED64:case p.ScalarType.INT64:case p.ScalarType.SFIXED64:case p.ScalarType.SINT64:switch(d){case p.LongType.BIGINT:return A=="bigint";case p.LongType.NUMBER:return A=="number"&&!isNaN(i);default:return A=="string"}case p.ScalarType.BOOL:return A=="boolean";case p.ScalarType.STRING:return A=="string";case p.ScalarType.BYTES:return i instanceof Uint8Array;case p.ScalarType.DOUBLE:case p.ScalarType.FLOAT:return A=="number"&&!isNaN(i);default:return A=="number"&&Number.isInteger(i)}}scalars(i,c,d,p){if(!Array.isArray(i))return false;if(d<2)return true;if(Array.isArray(i))for(let A=0;A<i.length&&A<d;A++)if(!this.scalar(i[A],c,p))return false;return true}mapKeys(i,c,d){let A=Object.keys(i);switch(c){case p.ScalarType.INT32:case p.ScalarType.FIXED32:case p.ScalarType.SFIXED32:case p.ScalarType.SINT32:case p.ScalarType.UINT32:return this.scalars(A.slice(0,d).map((i=>parseInt(i))),c,d);case p.ScalarType.BOOL:return this.scalars(A.slice(0,d).map((i=>i=="true"?true:i=="false"?false:i)),c,d);default:return this.scalars(A,c,d,p.LongType.STRING)}}}c.ReflectionTypeCheck=ReflectionTypeCheck},17413:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});var p=d(16577);class AbortSignal extends p.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const i=A.get(this);if(typeof i!=="boolean"){throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`)}return i}}p.defineEventAttribute(AbortSignal.prototype,"abort");function createAbortSignal(){const i=Object.create(AbortSignal.prototype);p.EventTarget.call(i);A.set(i,false);return i}function abortSignal(i){if(A.get(i)!==false){return}A.set(i,true);i.dispatchEvent({type:"abort"})}const A=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(){C.set(this,createAbortSignal())}get signal(){return getSignal(this)}abort(){abortSignal(getSignal(this))}}const C=new WeakMap;function getSignal(i){const c=C.get(i);if(c==null){throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${i===null?"null":typeof i}`)}return c}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"})}c.AbortController=AbortController;c.AbortSignal=AbortSignal;c["default"]=AbortController;i.exports=AbortController;i.exports.AbortController=i.exports["default"]=AbortController;i.exports.AbortSignal=AbortSignal},15183:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.req=c.json=c.toBuffer=void 0;const S=C(d(58611));const v=C(d(65692));async function toBuffer(i){let c=0;const d=[];for await(const p of i){c+=p.length;d.push(p)}return Buffer.concat(d,c)}c.toBuffer=toBuffer;async function json(i){const c=await toBuffer(i);const d=c.toString("utf8");try{return JSON.parse(d)}catch(i){const c=i;c.message+=` (input: ${d})`;throw c}}c.json=json;function req(i,c={}){const d=typeof i==="string"?i:i.href;const p=(d.startsWith("https:")?v:S).request(i,c);const A=new Promise(((i,c)=>{p.once("response",i).once("error",c).end()}));p.then=A.then.bind(A);return p}c.req=req},98894:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__exportStar||function(i,c){for(var d in i)if(d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d))p(c,i,d)};Object.defineProperty(c,"__esModule",{value:true});c.Agent=void 0;const v=C(d(69278));const _=C(d(58611));const T=d(65692);S(d(15183),c);const V=Symbol("AgentBaseInternalState");class Agent extends _.Agent{constructor(i){super(i);this[V]={}}isSecureEndpoint(i){if(i){if(typeof i.secureEndpoint==="boolean"){return i.secureEndpoint}if(typeof i.protocol==="string"){return i.protocol==="https:"}}const{stack:c}=new Error;if(typeof c!=="string")return false;return c.split("\n").some((i=>i.indexOf("(https.js:")!==-1||i.indexOf("node:https:")!==-1))}incrementSockets(i){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[i]){this.sockets[i]=[]}const c=new v.Socket({writable:false});this.sockets[i].push(c);this.totalSocketCount++;return c}decrementSockets(i,c){if(!this.sockets[i]||c===null){return}const d=this.sockets[i];const p=d.indexOf(c);if(p!==-1){d.splice(p,1);this.totalSocketCount--;if(d.length===0){delete this.sockets[i]}}}getName(i){const c=typeof i.secureEndpoint==="boolean"?i.secureEndpoint:this.isSecureEndpoint(i);if(c){return T.Agent.prototype.getName.call(this,i)}return super.getName(i)}createSocket(i,c,d){const p={...c,secureEndpoint:this.isSecureEndpoint(c)};const A=this.getName(p);const C=this.incrementSockets(A);Promise.resolve().then((()=>this.connect(i,p))).then((S=>{this.decrementSockets(A,C);if(S instanceof _.Agent){return S.addRequest(i,p)}this[V].currentSocket=S;super.createSocket(i,c,d)}),(i=>{this.decrementSockets(A,C);d(i)}))}createConnection(){const i=this[V].currentSocket;this[V].currentSocket=undefined;if(!i){throw new Error("No socket was returned in the `connect()` function")}return i}get defaultPort(){return this[V].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(i){if(this[V]){this[V].defaultPort=i}}get protocol(){return this[V].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(i){if(this[V]){this[V].protocol=i}}}c.Agent=Agent},38816:(i,c,d)=>{var p=d(35744);var A=d(16928);var C=d(97047);var S=d(57294);var v=d(73270);var T=d(36542);var V=d(46171);var Z=i.exports={};var ee=/[\/\\]/g;var processPatterns=function(i,c){var d=[];C(i).forEach((function(i){var p=i.indexOf("!")===0;if(p){i=i.slice(1)}var A=c(i);if(p){d=S(d,A)}else{d=v(d,A)}}));return d};Z.exists=function(){var i=A.join.apply(A,arguments);return p.existsSync(i)};Z.expand=function(...i){var c=T(i[0])?i.shift():{};var d=Array.isArray(i[0])?i[0]:i;if(d.length===0){return[]}var C=processPatterns(d,(function(i){return V.sync(i,c)}));if(c.filter){C=C.filter((function(i){i=A.join(c.cwd||"",i);try{if(typeof c.filter==="function"){return c.filter(i)}else{return p.statSync(i)[c.filter]()}}catch(i){return false}}))}return C};Z.expandMapping=function(i,c,d){d=Object.assign({rename:function(i,c){return A.join(i||"",c)}},d);var p=[];var C={};Z.expand(d,i).forEach((function(i){var S=i;if(d.flatten){S=A.basename(S)}if(d.ext){S=S.replace(/(\.[^\/]*)?$/,d.ext)}var v=d.rename(c,S,d);if(d.cwd){i=A.join(d.cwd,i)}v=v.replace(ee,"/");i=i.replace(ee,"/");if(C[v]){C[v].src.push(i)}else{p.push({src:[i],dest:v});C[v]=p[p.length-1]}}));return p};Z.normalizeFilesArray=function(i){var c=[];i.forEach((function(i){var d;if("src"in i||"dest"in i){c.push(i)}}));if(c.length===0){return[]}c=_(c).chain().forEach((function(i){if(!("src"in i)||!i.src){return}if(Array.isArray(i.src)){i.src=C(i.src)}else{i.src=[i.src]}})).map((function(i){var c=Object.assign({},i);delete c.src;delete c.dest;if(i.expand){return Z.expandMapping(i.src,i.dest,c).map((function(c){var d=Object.assign({},i);d.orig=Object.assign({},i);d.src=c.src;d.dest=c.dest;["expand","cwd","flatten","rename","ext"].forEach((function(i){delete d[i]}));return d}))}var d=Object.assign({},i);d.orig=Object.assign({},i);if("src"in d){Object.defineProperty(d,"src",{enumerable:true,get:function fn(){var d;if(!("result"in fn)){d=i.src;d=Array.isArray(d)?C(d):[d];fn.result=Z.expand(c,d)}return fn.result}})}if("dest"in d){d.dest=i.dest}return d})).flatten().value();return c}},53296:(i,c,d)=>{var p=d(35744);var A=d(16928);var C=d(96543);var S=d(32126);var v=d(56133);var _=d(7511);var T=d(2203).Stream;var V=d(29963).PassThrough;var Z=i.exports={};Z.file=d(38816);Z.collectStream=function(i,c){var d=[];var p=0;i.on("error",c);i.on("data",(function(i){d.push(i);p+=i.length}));i.on("end",(function(){var i=Buffer.alloc(p);var A=0;d.forEach((function(c){c.copy(i,A);A+=c.length}));c(null,i)}))};Z.dateify=function(i){i=i||new Date;if(i instanceof Date){i=i}else if(typeof i==="string"){i=new Date(i)}else{i=new Date}return i};Z.defaults=function(i,c,d){var p=arguments;p[0]=p[0]||{};return _(...p)};Z.isStream=function(i){return C(i)};Z.lazyReadStream=function(i){return new S.Readable((function(){return p.createReadStream(i)}))};Z.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(Z.isStream(i)){return i.pipe(new V)}return i};Z.sanitizePath=function(i){return v(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};Z.trailingSlashIt=function(i){return i.slice(-1)!=="/"?i+"/":i};Z.unixifyPath=function(i){return v(i,false).replace(/^\w+:/,"")};Z.walkdir=function(i,c,d){var C=[];if(typeof c==="function"){d=c;c=i}p.readdir(i,(function(S,v){var _=0;var T;var V;if(S){return d(S)}(function next(){T=v[_++];if(!T){return d(null,C)}V=A.join(i,T);p.stat(V,(function(i,p){C.push({path:V,relative:A.relative(c,V).replace(/\\/g,"/"),stats:p});if(p&&p.isDirectory()){Z.walkdir(V,c,(function(i,c){if(i){return d(i)}c.forEach((function(i){C.push(i)}));next()}))}else{next()}}))})()}))}},99392:(i,c,d)=>{
|
||
/**
|
||
* Archiver Vending
|
||
*
|
||
* @ignore
|
||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||
*/
|
||
var p=d(50549);var A={};var vending=function(i,c){return vending.create(i,c)};vending.create=function(i,c){if(A[i]){var d=new p(i,c);d.setFormat(i);d.setModule(new A[i](c));return d}else{throw new Error("create("+i+"): format not registered")}};vending.registerFormat=function(i,c){if(A[i]){throw new Error("register("+i+"): format already registered")}if(typeof c!=="function"){throw new Error("register("+i+"): format module invalid")}if(typeof c.prototype.append!=="function"||typeof c.prototype.finalize!=="function"){throw new Error("register("+i+"): format module missing methods")}A[i]=c};vending.isRegisteredFormat=function(i){if(A[i]){return true}return false};vending.registerFormat("zip",d(22836));vending.registerFormat("tar",d(10396));vending.registerFormat("json",d(54693));i.exports=vending},50549:(i,c,d)=>{
|
||
/**
|
||
* Archiver Core
|
||
*
|
||
* @ignore
|
||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||
*/
|
||
var p=d(79896);var A=d(51364);var C=d(97329);var S=d(16928);var v=d(53296);var _=d(39023).inherits;var T=d(13110);var V=d(29963).Transform;var Z=process.platform==="win32";var Archiver=function(i,c){if(!(this instanceof Archiver)){return new Archiver(i,c)}if(typeof i!=="string"){c=i;i="zip"}c=this.options=v.defaults(c,{highWaterMark:1024*1024,statConcurrency:4});V.call(this,c);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=C.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=C.queue(this._onStatQueueTask.bind(this),c.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};_(Archiver,V);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,c){c=c||{};var d={source:null,filepath:i};if(!c.name){c.name=i}c.sourcePath=i;d.data=c;this._entriesCount++;if(c.stats&&c.stats instanceof p.Stats){d=this._updateQueueTaskWithStats(d,c.stats);if(d){if(c.stats.size){this._fsEntriesTotalBytes+=c.stats.size}this._queue.push(d)}}else{this._statQueue.push(d)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,c,d){if(this._state.aborted){d();return}this._module.append(i,c,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(d);return}this.emit("entry",c);this._entriesProcessedCount++;if(c.stats&&c.stats.size){this._fsEntriesProcessedBytes+=c.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(d)}.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 T("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,c){i=v.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(c&&i.stats===false){i.stats=c}var d=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=v.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(typeof i.mode==="number"){if(Z){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(Z){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(Z&&d){i.mode=493}}else if(i.mode===null){i.mode=d?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=v.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,c){var fullCallback=()=>{if(i.data.callback){i.data.callback()}c()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,c){if(this._state.finalizing||this._state.finalized||this._state.aborted){c();return}p.lstat(i.filepath,function(d,p){if(this._state.aborted){setImmediate(c);return}if(d){this._entriesCount--;this.emit("warning",d);setImmediate(c);return}i=this._updateQueueTaskWithStats(i,p);if(i){if(p.size){this._fsEntriesTotalBytes+=p.size}this._queue.push(i)}setImmediate(c)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,c,d){if(i){this._pointer+=i.length}d(null,i)};Archiver.prototype._updateQueueTaskWithStats=function(i,c){if(c.isFile()){i.data.type="file";i.data.sourceType="stream";i.source=v.lazyReadStream(i.filepath)}else if(c.isDirectory()&&this._moduleSupports("directory")){i.data.name=v.trailingSlashIt(i.data.name);i.data.type="directory";i.data.sourcePath=v.trailingSlashIt(i.filepath);i.data.sourceType="buffer";i.source=Buffer.concat([])}else if(c.isSymbolicLink()&&this._moduleSupports("symlink")){var d=p.readlinkSync(i.filepath);var A=S.dirname(i.filepath);i.data.type="symlink";i.data.linkname=S.relative(A,S.resolve(A,d));i.data.sourceType="buffer";i.source=Buffer.concat([])}else{if(c.isDirectory()){this.emit("warning",new T("DIRECTORYNOTSUPPORTED",i.data))}else if(c.isSymbolicLink()){this.emit("warning",new T("SYMLINKNOTSUPPORTED",i.data))}else{this.emit("warning",new T("ENTRYNOTSUPPORTED",i.data))}return null}i.data=this._normalizeEntryData(i.data,c);return i};Archiver.prototype.abort=function(){if(this._state.aborted||this._state.finalized){return this}this._abort();return this};Archiver.prototype.append=function(i,c){if(this._state.finalize||this._state.aborted){this.emit("error",new T("QUEUECLOSED"));return this}c=this._normalizeEntryData(c);if(typeof c.name!=="string"||c.name.length===0){this.emit("error",new T("ENTRYNAMEREQUIRED"));return this}if(c.type==="directory"&&!this._moduleSupports("directory")){this.emit("error",new T("DIRECTORYNOTSUPPORTED",{name:c.name}));return this}i=v.normalizeInputSource(i);if(Buffer.isBuffer(i)){c.sourceType="buffer"}else if(v.isStream(i)){c.sourceType="stream"}else{this.emit("error",new T("INPUTSTEAMBUFFERREQUIRED",{name:c.name}));return this}this._entriesCount++;this._queue.push({data:c,source:i});return this};Archiver.prototype.directory=function(i,c,d){if(this._state.finalize||this._state.aborted){this.emit("error",new T("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new T("DIRECTORYDIRPATHREQUIRED"));return this}this._pending++;if(c===false){c=""}else if(typeof c!=="string"){c=i}var p=false;if(typeof d==="function"){p=d;d={}}else if(typeof d!=="object"){d={}}var C={stat:true,dot:true};function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(A){S.pause();var C=false;var v=Object.assign({},d);v.name=A.relative;v.prefix=c;v.stats=A.stat;v.callback=S.resume.bind(S);try{if(p){v=p(v);if(v===false){C=true}else if(typeof v!=="object"){throw new T("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:i})}}}catch(i){this.emit("error",i);return}if(C){S.resume();return}this._append(A.absolute,v)}var S=A(i,C);S.on("error",onGlobError.bind(this));S.on("match",onGlobMatch.bind(this));S.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.file=function(i,c){if(this._state.finalize||this._state.aborted){this.emit("error",new T("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new T("FILEFILEPATHREQUIRED"));return this}this._append(i,c);return this};Archiver.prototype.glob=function(i,c,d){this._pending++;c=v.defaults(c,{stat:true,pattern:i});function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(i){p.pause();var c=Object.assign({},d);c.callback=p.resume.bind(p);c.stats=i.stat;c.name=i.relative;this._append(i.absolute,c)}var p=A(c.cwd||".",c);p.on("error",onGlobError.bind(this));p.on("match",onGlobMatch.bind(this));p.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.finalize=function(){if(this._state.aborted){var i=new T("ABORTED");this.emit("error",i);return Promise.reject(i)}if(this._state.finalize){var c=new T("FINALIZING");this.emit("error",c);return Promise.reject(c)}this._state.finalize=true;if(this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}var d=this;return new Promise((function(i,c){var p;d._module.on("end",(function(){if(!p){i()}}));d._module.on("error",(function(i){p=true;c(i)}))}))};Archiver.prototype.setFormat=function(i){if(this._format){this.emit("error",new T("FORMATSET"));return this}this._format=i;return this};Archiver.prototype.setModule=function(i){if(this._state.aborted){this.emit("error",new T("ABORTED"));return this}if(this._state.module){this.emit("error",new T("MODULESET"));return this}this._module=i;this._modulePipe();return this};Archiver.prototype.symlink=function(i,c,d){if(this._state.finalize||this._state.aborted){this.emit("error",new T("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new T("SYMLINKFILEPATHREQUIRED"));return this}if(typeof c!=="string"||c.length===0){this.emit("error",new T("SYMLINKTARGETREQUIRED",{filepath:i}));return this}if(!this._moduleSupports("symlink")){this.emit("error",new T("SYMLINKNOTSUPPORTED",{filepath:i}));return this}var p={};p.type="symlink";p.name=i.replace(/\\/g,"/");p.linkname=c.replace(/\\/g,"/");p.sourceType="buffer";if(typeof d==="number"){p.mode=d}this._entriesCount++;this._queue.push({data:p,source:Buffer.concat([])});return this};Archiver.prototype.pointer=function(){return this._pointer};Archiver.prototype.use=function(i){this._streams.push(i);return this};i.exports=Archiver},13110:(i,c,d)=>{
|
||
/**
|
||
* Archiver Core
|
||
*
|
||
* @ignore
|
||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||
*/
|
||
var p=d(39023);const A={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function ArchiverError(i,c){Error.captureStackTrace(this,this.constructor);this.message=A[i]||i;this.code=i;this.data=c}p.inherits(ArchiverError,Error);c=i.exports=ArchiverError},54693:(i,c,d)=>{
|
||
/**
|
||
* 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 p=d(39023).inherits;var A=d(29963).Transform;var C=d(84928);var S=d(53296);var Json=function(i){if(!(this instanceof Json)){return new Json(i)}i=this.options=S.defaults(i,{});A.call(this,i);this.supports={directory:true,symlink:true};this.files=[]};p(Json,A);Json.prototype._transform=function(i,c,d){d(null,i)};Json.prototype._writeStringified=function(){var i=JSON.stringify(this.files);this.write(i)};Json.prototype.append=function(i,c,d){var p=this;c.crc32=0;function onend(i,A){if(i){d(i);return}c.size=A.length||0;c.crc32=C.unsigned(A);p.files.push(c);d(null,c)}if(c.sourceType==="buffer"){onend(null,i)}else if(c.sourceType==="stream"){S.collectStream(i,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};i.exports=Json},10396:(i,c,d)=>{
|
||
/**
|
||
* 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 p=d(43106);var A=d(56118);var C=d(53296);var Tar=function(i){if(!(this instanceof Tar)){return new Tar(i)}i=this.options=C.defaults(i,{gzip:false});if(typeof i.gzipOptions!=="object"){i.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=A.pack(i);this.compressor=false;if(i.gzip){this.compressor=p.createGzip(i.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(i){this.engine.emit("error",i)};Tar.prototype.append=function(i,c,d){var p=this;c.mtime=c.date;function append(i,A){if(i){d(i);return}p.engine.entry(c,A,(function(i){d(i,c)}))}if(c.sourceType==="buffer"){append(null,i)}else if(c.sourceType==="stream"&&c.stats){c.size=c.stats.size;var A=p.engine.entry(c,(function(i){d(i,c)}));i.pipe(A)}else if(c.sourceType==="stream"){C.collectStream(i,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(i,c){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(i,c)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};i.exports=Tar},22836:(i,c,d)=>{
|
||
/**
|
||
* 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 p=d(41622);var A=d(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=A.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new p(i)};Zip.prototype.append=function(i,c,d){this.engine.entry(i,c,d)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},45195:(i,c,d)=>{var p=d(52455);function retry(i,c){function run(d,A){var C=c||{};var S;if(!("randomize"in C)){C.randomize=true}S=p.operation(C);function bail(i){A(i||new Error("Aborted"))}function onError(i,c){if(i.bail){bail(i);return}if(!S.retry(i)){A(S.mainError())}else if(C.onRetry){C.onRetry(i,c)}}function runAttempt(c){var p;try{p=i(bail,c)}catch(i){onError(i,c);return}Promise.resolve(p).then(d).catch((function catchIt(i){onError(i,c)}))}S.attempt(runAttempt)}return new Promise(run)}i.exports=retry},52455:(i,c,d)=>{i.exports=d(76185)},76185:(i,c,d)=>{var p=d(42399);c.operation=function(i){var d=c.timeouts(i);return new p(d,{forever:i&&(i.forever||i.retries===Infinity),unref:i&&i.unref,maxRetryTime:i&&i.maxRetryTime})};c.timeouts=function(i){if(i instanceof Array){return[].concat(i)}var c={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var d in i){c[d]=i[d]}if(c.minTimeout>c.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var p=[];for(var A=0;A<c.retries;A++){p.push(this.createTimeout(A,c))}if(i&&i.forever&&!p.length){p.push(this.createTimeout(A,c))}p.sort((function(i,c){return i-c}));return p};c.createTimeout=function(i,c){var d=c.randomize?Math.random()+1:1;var p=Math.round(d*Math.max(c.minTimeout,1)*Math.pow(c.factor,i));p=Math.min(p,c.maxTimeout);return p};c.wrap=function(i,d,p){if(d instanceof Array){p=d;d=null}if(!p){p=[];for(var A in i){if(typeof i[A]==="function"){p.push(A)}}}for(var C=0;C<p.length;C++){var S=p[C];var v=i[S];i[S]=function retryWrapper(p){var A=c.operation(d);var C=Array.prototype.slice.call(arguments,1);var S=C.pop();C.push((function(i){if(A.retry(i)){return}if(i){arguments[0]=A.mainError()}S.apply(this,arguments)}));A.attempt((function(){p.apply(i,C)}))}.bind(i,v);i[S].options=d}}},42399:i=>{function RetryOperation(i,c){if(typeof c==="boolean"){c={forever:c}}this._originalTimeouts=JSON.parse(JSON.stringify(i));this._timeouts=i;this._options=c||{};this._maxRetryTime=c&&c.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;this._timer=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}i.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}if(this._timer){clearTimeout(this._timer)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(i){if(this._timeout){clearTimeout(this._timeout)}if(!i){return false}var c=(new Date).getTime();if(i&&c-this._operationStart>=this._maxRetryTime){this._errors.push(i);this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(i);var d=this._timeouts.shift();if(d===undefined){if(this._cachedTimeouts){this._errors.splice(0,this._errors.length-1);d=this._cachedTimeouts.slice(-1)}else{return false}}var p=this;this._timer=setTimeout((function(){p._attempts++;if(p._operationTimeoutCb){p._timeout=setTimeout((function(){p._operationTimeoutCb(p._attempts)}),p._operationTimeout);if(p._options.unref){p._timeout.unref()}}p._fn(p._attempts)}),d);if(this._options.unref){this._timer.unref()}return true};RetryOperation.prototype.attempt=function(i,c){this._fn=i;if(c){if(c.timeout){this._operationTimeout=c.timeout}if(c.cb){this._operationTimeoutCb=c.cb}}var d=this;if(this._operationTimeoutCb){this._timeout=setTimeout((function(){d._operationTimeoutCb()}),d._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(i){console.log("Using RetryOperation.try() is deprecated");this.attempt(i)};RetryOperation.prototype.start=function(i){console.log("Using RetryOperation.start() is deprecated");this.attempt(i)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var i={};var c=null;var d=0;for(var p=0;p<this._errors.length;p++){var A=this._errors[p];var C=A.message;var S=(i[C]||0)+1;i[C]=S;if(S>=d){c=A;d=S}}return c}},97329:function(i,c){(function(i,d){true?d(c):0})(this,(function(i){"use strict";function apply(i,...c){return(...d)=>i(...c,...d)}function initialParams(i){return function(...c){var d=c.pop();return i.call(this,c,d)}}var c=typeof queueMicrotask==="function"&&queueMicrotask;var d=typeof setImmediate==="function"&&setImmediate;var p=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(c,...d)=>i((()=>c(...d)))}var A;if(c){A=queueMicrotask}else if(d){A=setImmediate}else if(p){A=process.nextTick}else{A=fallback}var C=wrap(A);function asyncify(i){if(isAsync(i)){return function(...c){const d=c.pop();const p=i.apply(this,c);return handlePromise(p,d)}}return initialParams((function(c,d){var p;try{p=i.apply(this,c)}catch(i){return d(i)}if(p&&typeof p.then==="function"){return handlePromise(p,d)}else{d(null,p)}}))}function handlePromise(i,c){return i.then((i=>{invokeCallback(c,null,i)}),(i=>{invokeCallback(c,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,c,d){try{i(c,d)}catch(i){C((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,c){if(!c)c=i.length;if(!c)throw new Error("arity is undefined");function awaitable(...d){if(typeof d[c-1]==="function"){return i.apply(this,d)}return new Promise(((p,A)=>{d[c-1]=(i,...c)=>{if(i)return A(i);p(c.length>1?c:c[0])};i.apply(this,d)}))}return awaitable}function applyEach$1(i){return function applyEach(c,...d){const p=awaitify((function(p){var A=this;return i(c,((i,c)=>{wrapAsync(i).apply(A,d.concat(c))}),p)}));return p}}function _asyncMap(i,c,d,p){c=c||[];var A=[];var C=0;var S=wrapAsync(d);return i(c,((i,c,d)=>{var p=C++;S(i,((i,c)=>{A[p]=c;d(i)}))}),(i=>{p(i,A)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const S={};var v=S;function once(i){function wrapper(...c){if(i===null)return;var d=i;i=null;d.apply(this,c)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var c=-1;var d=i.length;return function next(){return++c<d?{value:i[c],key:c}:null}}function createES2015Iterator(i){var c=-1;return function next(){var d=i.next();if(d.done)return null;c++;return{value:d.value,key:c}}}function createObjectIterator(i){var c=i?Object.keys(i):[];var d=-1;var p=c.length;return function next(){var A=c[++d];if(A==="__proto__"){return next()}return d<p?{value:i[A],key:A}:null}}function createIterator(i){if(isArrayLike(i)){return createArrayIterator(i)}var c=getIterator(i);return c?createES2015Iterator(c):createObjectIterator(i)}function onlyOnce(i){return function(...c){if(i===null)throw new Error("Callback was already called.");var d=i;i=null;d.apply(this,c)}}function asyncEachOfLimit(i,c,d,p){let A=false;let C=false;let S=false;let _=0;let T=0;function replenish(){if(_>=c||S||A)return;S=true;i.next().then((({value:i,done:c})=>{if(C||A)return;S=false;if(c){A=true;if(_<=0){p(null)}return}_++;d(i,T,iterateeCallback);T++;replenish()})).catch(handleError)}function iterateeCallback(i,c){_-=1;if(C)return;if(i)return handleError(i);if(i===false){A=true;C=true;return}if(c===v||A&&_<=0){A=true;return p(null)}replenish()}function handleError(i){if(C)return;S=false;A=true;p(i)}replenish()}var eachOfLimit$2=i=>(c,d,p)=>{p=once(p);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!c){return p(null)}if(isAsyncGenerator(c)){return asyncEachOfLimit(c,i,d,p)}if(isAsyncIterable(c)){return asyncEachOfLimit(c[Symbol.asyncIterator](),i,d,p)}var A=createIterator(c);var C=false;var S=false;var _=0;var T=false;function iterateeCallback(i,c){if(S)return;_-=1;if(i){C=true;p(i)}else if(i===false){C=true;S=true}else if(c===v||C&&_<=0){C=true;return p(null)}else if(!T){replenish()}}function replenish(){T=true;while(_<i&&!C){var c=A();if(c===null){C=true;if(_<=0){p(null)}return}_+=1;d(c.value,c.key,onlyOnce(iterateeCallback))}T=false}replenish()};function eachOfLimit(i,c,d,p){return eachOfLimit$2(c)(i,wrapAsync(d),p)}var _=awaitify(eachOfLimit,4);function eachOfArrayLike(i,c,d){d=once(d);var p=0,A=0,{length:C}=i,S=false;if(C===0){d(null)}function iteratorCallback(i,c){if(i===false){S=true}if(S===true)return;if(i){d(i)}else if(++A===C||c===v){d(null)}}for(;p<C;p++){c(i[p],p,onlyOnce(iteratorCallback))}}function eachOfGeneric(i,c,d){return _(i,Infinity,c,d)}function eachOf(i,c,d){var p=isArrayLike(i)?eachOfArrayLike:eachOfGeneric;return p(i,wrapAsync(c),d)}var T=awaitify(eachOf,3);function map(i,c,d){return _asyncMap(T,i,c,d)}var V=awaitify(map,3);var Z=applyEach$1(V);function eachOfSeries(i,c,d){return _(i,1,c,d)}var ee=awaitify(eachOfSeries,3);function mapSeries(i,c,d){return _asyncMap(ee,i,c,d)}var te=awaitify(mapSeries,3);var re=applyEach$1(te);const ne=Symbol("promiseCallback");function promiseCallback(){let i,c;function callback(d,...p){if(d)return c(d);i(p.length>1?p:p[0])}callback[ne]=new Promise(((d,p)=>{i=d,c=p}));return callback}function auto(i,c,d){if(typeof c!=="number"){d=c;c=null}d=once(d||promiseCallback());var p=Object.keys(i).length;if(!p){return d(null)}if(!c){c=p}var A={};var C=0;var S=false;var v=false;var _=Object.create(null);var T=[];var V=[];var Z={};Object.keys(i).forEach((c=>{var d=i[c];if(!Array.isArray(d)){enqueueTask(c,[d]);V.push(c);return}var p=d.slice(0,d.length-1);var A=p.length;if(A===0){enqueueTask(c,d);V.push(c);return}Z[c]=A;p.forEach((C=>{if(!i[C]){throw new Error("async.auto task `"+c+"` has a non-existent dependency `"+C+"` in "+p.join(", "))}addListener(C,(()=>{A--;if(A===0){enqueueTask(c,d)}}))}))}));checkForDeadlocks();processQueue();function enqueueTask(i,c){T.push((()=>runTask(i,c)))}function processQueue(){if(S)return;if(T.length===0&&C===0){return d(null,A)}while(T.length&&C<c){var i=T.shift();i()}}function addListener(i,c){var d=_[i];if(!d){d=_[i]=[]}d.push(c)}function taskComplete(i){var c=_[i]||[];c.forEach((i=>i()));processQueue()}function runTask(i,c){if(v)return;var p=onlyOnce(((c,...p)=>{C--;if(c===false){S=true;return}if(p.length<2){[p]=p}if(c){var T={};Object.keys(A).forEach((i=>{T[i]=A[i]}));T[i]=p;v=true;_=Object.create(null);if(S)return;d(c,T)}else{A[i]=p;taskComplete(i)}}));C++;var T=wrapAsync(c[c.length-1]);if(c.length>1){T(A,p)}else{T(p)}}function checkForDeadlocks(){var i;var c=0;while(V.length){i=V.pop();c++;getDependents(i).forEach((i=>{if(--Z[i]===0){V.push(i)}}))}if(c!==p){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(c){var d=[];Object.keys(i).forEach((p=>{const A=i[p];if(Array.isArray(A)&&A.indexOf(c)>=0){d.push(p)}}));return d}return d[ne]}var ie=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/;var se=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/;var oe=/,/;var ae=/(=.+)?(\s*)$/;function stripComments(i){let c="";let d=0;let p=i.indexOf("*/");while(d<i.length){if(i[d]==="/"&&i[d+1]==="/"){let c=i.indexOf("\n",d);d=c===-1?i.length:c}else if(p!==-1&&i[d]==="/"&&i[d+1]==="*"){let A=i.indexOf("*/",d);if(A!==-1){d=A+2;p=i.indexOf("*/",d)}else{c+=i[d];d++}}else{c+=i[d];d++}}return c}function parseParams(i){const c=stripComments(i.toString());let d=c.match(ie);if(!d){d=c.match(se)}if(!d)throw new Error("could not parse args in autoInject\nSource:\n"+c);let[,p]=d;return p.replace(/\s/g,"").split(oe).map((i=>i.replace(ae,"").trim()))}function autoInject(i,c){var d={};Object.keys(i).forEach((c=>{var p=i[c];var A;var C=isAsync(p);var S=!C&&p.length===1||C&&p.length===0;if(Array.isArray(p)){A=[...p];p=A.pop();d[c]=A.concat(A.length>0?newTask:p)}else if(S){d[c]=p}else{A=parseParams(p);if(p.length===0&&!C&&A.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!C)A.pop();d[c]=A.concat(newTask)}function newTask(i,c){var d=A.map((c=>i[c]));d.push(c);wrapAsync(p)(...d)}}));return auto(d,c)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(i){if(i.prev)i.prev.next=i.next;else this.head=i.next;if(i.next)i.next.prev=i.prev;else this.tail=i.prev;i.prev=i.next=null;this.length-=1;return i}empty(){while(this.head)this.shift();return this}insertAfter(i,c){c.prev=i;c.next=i.next;if(i.next)i.next.prev=c;else this.tail=c;i.next=c;this.length+=1}insertBefore(i,c){c.prev=i.prev;c.next=i;if(i.prev)i.prev.next=c;else this.head=c;i.prev=c;this.length+=1}unshift(i){if(this.head)this.insertBefore(this.head,i);else setInitial(this,i)}push(i){if(this.tail)this.insertAfter(this.tail,i);else setInitial(this,i)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var i=this.head;while(i){yield i.data;i=i.next}}remove(i){var c=this.head;while(c){var{next:d}=c;if(i(c)){this.removeLink(c)}c=d}return this}}function setInitial(i,c){i.length=1;i.head=i.tail=c}function queue$1(i,c,d){if(c==null){c=1}else if(c===0){throw new RangeError("Concurrency must not be zero")}var p=wrapAsync(i);var A=0;var S=[];const v={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(i,c){v[i].push(c)}function once(i,c){const handleAndRemove=(...d)=>{off(i,handleAndRemove);c(...d)};v[i].push(handleAndRemove)}function off(i,c){if(!i)return Object.keys(v).forEach((i=>v[i]=[]));if(!c)return v[i]=[];v[i]=v[i].filter((i=>i!==c))}function trigger(i,...c){v[i].forEach((i=>i(...c)))}var _=false;function _insert(i,c,d,p){if(p!=null&&typeof p!=="function"){throw new Error("task callback must be a function")}V.started=true;var A,S;function promiseCallback(i,...c){if(i)return d?S(i):A();if(c.length<=1)return A(c[0]);A(c)}var v=V._createTaskItem(i,d?promiseCallback:p||promiseCallback);if(c){V._tasks.unshift(v)}else{V._tasks.push(v)}if(!_){_=true;C((()=>{_=false;V.process()}))}if(d||!p){return new Promise(((i,c)=>{A=i;S=c}))}}function _createCB(i){return function(c,...d){A-=1;for(var p=0,C=i.length;p<C;p++){var v=i[p];var _=S.indexOf(v);if(_===0){S.shift()}else if(_>0){S.splice(_,1)}v.callback(c,...d);if(c!=null){trigger("error",c,v.data)}}if(A<=V.concurrency-V.buffer){trigger("unsaturated")}if(V.idle()){trigger("drain")}V.process()}}function _maybeDrain(i){if(i.length===0&&V.idle()){C((()=>trigger("drain")));return true}return false}const eventMethod=i=>c=>{if(!c){return new Promise(((c,d)=>{once(i,((i,p)=>{if(i)return d(i);c(p)}))}))}off(i);on(i,c)};var T=false;var V={_tasks:new DLL,_createTaskItem(i,c){return{data:i,callback:c}},*[Symbol.iterator](){yield*V._tasks[Symbol.iterator]()},concurrency:c,payload:d,buffer:c/4,started:false,paused:false,push(i,c){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,false,c)))}return _insert(i,false,false,c)},pushAsync(i,c){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,true,c)))}return _insert(i,false,true,c)},kill(){off();V._tasks.empty()},unshift(i,c){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,false,c)))}return _insert(i,true,false,c)},unshiftAsync(i,c){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,true,c)))}return _insert(i,true,true,c)},remove(i){V._tasks.remove(i)},process(){if(T){return}T=true;while(!V.paused&&A<V.concurrency&&V._tasks.length){var i=[],c=[];var d=V._tasks.length;if(V.payload)d=Math.min(d,V.payload);for(var C=0;C<d;C++){var v=V._tasks.shift();i.push(v);S.push(v);c.push(v.data)}A+=1;if(V._tasks.length===0){trigger("empty")}if(A===V.concurrency){trigger("saturated")}var _=onlyOnce(_createCB(i));p(c,_)}T=false},length(){return V._tasks.length},running(){return A},workersList(){return S},idle(){return V._tasks.length+A===0},pause(){V.paused=true},resume(){if(V.paused===false){return}V.paused=false;C(V.process)}};Object.defineProperties(V,{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 V}function cargo$1(i,c){return queue$1(i,1,c)}function cargo(i,c,d){return queue$1(i,c,d)}function reduce(i,c,d,p){p=once(p);var A=wrapAsync(d);return ee(i,((i,d,p)=>{A(c,i,((i,d)=>{c=d;p(i)}))}),(i=>p(i,c)))}var le=awaitify(reduce,4);function seq(...i){var c=i.map(wrapAsync);return function(...i){var d=this;var p=i[i.length-1];if(typeof p=="function"){i.pop()}else{p=promiseCallback()}le(c,i,((i,c,p)=>{c.apply(d,i.concat(((i,...c)=>{p(i,c)})))}),((i,c)=>p(i,...c)));return p[ne]}}function compose(...i){return seq(...i.reverse())}function mapLimit(i,c,d,p){return _asyncMap(eachOfLimit$2(c),i,d,p)}var ce=awaitify(mapLimit,4);function concatLimit(i,c,d,p){var A=wrapAsync(d);return ce(i,c,((i,c)=>{A(i,((i,...d)=>{if(i)return c(i);return c(i,d)}))}),((i,c)=>{var d=[];for(var A=0;A<c.length;A++){if(c[A]){d=d.concat(...c[A])}}return p(i,d)}))}var ue=awaitify(concatLimit,4);function concat(i,c,d){return ue(i,Infinity,c,d)}var de=awaitify(concat,3);function concatSeries(i,c,d){return ue(i,1,c,d)}var fe=awaitify(concatSeries,3);function constant$1(...i){return function(...c){var d=c.pop();return d(null,...i)}}function _createTester(i,c){return(d,p,A,C)=>{var S=false;var _;const T=wrapAsync(A);d(p,((d,p,A)=>{T(d,((p,C)=>{if(p||p===false)return A(p);if(i(C)&&!_){S=true;_=c(true,d);return A(null,v)}A()}))}),(i=>{if(i)return C(i);C(null,S?_:c(false))}))}}function detect(i,c,d){return _createTester((i=>i),((i,c)=>c))(T,i,c,d)}var pe=awaitify(detect,3);function detectLimit(i,c,d,p){return _createTester((i=>i),((i,c)=>c))(eachOfLimit$2(c),i,d,p)}var Ae=awaitify(detectLimit,4);function detectSeries(i,c,d){return _createTester((i=>i),((i,c)=>c))(eachOfLimit$2(1),i,c,d)}var he=awaitify(detectSeries,3);function consoleFunc(i){return(c,...d)=>wrapAsync(c)(...d,((c,...d)=>{if(typeof console==="object"){if(c){if(console.error){console.error(c)}}else if(console[i]){d.forEach((c=>console[i](c)))}}}))}var ge=consoleFunc("dir");function doWhilst(i,c,d){d=onlyOnce(d);var p=wrapAsync(i);var A=wrapAsync(c);var C;function next(i,...c){if(i)return d(i);if(i===false)return;C=c;A(...c,check)}function check(i,c){if(i)return d(i);if(i===false)return;if(!c)return d(null,...C);p(next)}return check(null,true)}var me=awaitify(doWhilst,3);function doUntil(i,c,d){const p=wrapAsync(c);return me(i,((...i)=>{const c=i.pop();p(...i,((i,d)=>c(i,!d)))}),d)}function _withoutIndex(i){return(c,d,p)=>i(c,p)}function eachLimit$2(i,c,d){return T(i,_withoutIndex(wrapAsync(c)),d)}var ye=awaitify(eachLimit$2,3);function eachLimit(i,c,d,p){return eachOfLimit$2(c)(i,_withoutIndex(wrapAsync(d)),p)}var Ee=awaitify(eachLimit,4);function eachSeries(i,c,d){return Ee(i,1,c,d)}var be=awaitify(eachSeries,3);function ensureAsync(i){if(isAsync(i))return i;return function(...c){var d=c.pop();var p=true;c.push(((...i)=>{if(p){C((()=>d(...i)))}else{d(...i)}}));i.apply(this,c);p=false}}function every(i,c,d){return _createTester((i=>!i),(i=>!i))(T,i,c,d)}var Ce=awaitify(every,3);function everyLimit(i,c,d,p){return _createTester((i=>!i),(i=>!i))(eachOfLimit$2(c),i,d,p)}var we=awaitify(everyLimit,4);function everySeries(i,c,d){return _createTester((i=>!i),(i=>!i))(ee,i,c,d)}var Ie=awaitify(everySeries,3);function filterArray(i,c,d,p){var A=new Array(c.length);i(c,((i,c,p)=>{d(i,((i,d)=>{A[c]=!!d;p(i)}))}),(i=>{if(i)return p(i);var d=[];for(var C=0;C<c.length;C++){if(A[C])d.push(c[C])}p(null,d)}))}function filterGeneric(i,c,d,p){var A=[];i(c,((i,c,p)=>{d(i,((d,C)=>{if(d)return p(d);if(C){A.push({index:c,value:i})}p(d)}))}),(i=>{if(i)return p(i);p(null,A.sort(((i,c)=>i.index-c.index)).map((i=>i.value)))}))}function _filter(i,c,d,p){var A=isArrayLike(c)?filterArray:filterGeneric;return A(i,c,wrapAsync(d),p)}function filter(i,c,d){return _filter(T,i,c,d)}var Se=awaitify(filter,3);function filterLimit(i,c,d,p){return _filter(eachOfLimit$2(c),i,d,p)}var ve=awaitify(filterLimit,4);function filterSeries(i,c,d){return _filter(ee,i,c,d)}var Be=awaitify(filterSeries,3);function forever(i,c){var d=onlyOnce(c);var p=wrapAsync(ensureAsync(i));function next(i){if(i)return d(i);if(i===false)return;p(next)}return next()}var Re=awaitify(forever,2);function groupByLimit(i,c,d,p){var A=wrapAsync(d);return ce(i,c,((i,c)=>{A(i,((d,p)=>{if(d)return c(d);return c(d,{key:p,val:i})}))}),((i,c)=>{var d={};var{hasOwnProperty:A}=Object.prototype;for(var C=0;C<c.length;C++){if(c[C]){var{key:S}=c[C];var{val:v}=c[C];if(A.call(d,S)){d[S].push(v)}else{d[S]=[v]}}}return p(i,d)}))}var _e=awaitify(groupByLimit,4);function groupBy(i,c,d){return _e(i,Infinity,c,d)}function groupBySeries(i,c,d){return _e(i,1,c,d)}var Ne=consoleFunc("log");function mapValuesLimit(i,c,d,p){p=once(p);var A={};var C=wrapAsync(d);return eachOfLimit$2(c)(i,((i,c,d)=>{C(i,c,((i,p)=>{if(i)return d(i);A[c]=p;d(i)}))}),(i=>p(i,A)))}var Qe=awaitify(mapValuesLimit,4);function mapValues(i,c,d){return Qe(i,Infinity,c,d)}function mapValuesSeries(i,c,d){return Qe(i,1,c,d)}function memoize(i,c=i=>i){var d=Object.create(null);var p=Object.create(null);var A=wrapAsync(i);var S=initialParams(((i,S)=>{var v=c(...i);if(v in d){C((()=>S(null,...d[v])))}else if(v in p){p[v].push(S)}else{p[v]=[S];A(...i,((i,...c)=>{if(!i){d[v]=c}var A=p[v];delete p[v];for(var C=0,S=A.length;C<S;C++){A[C](i,...c)}}))}}));S.memo=d;S.unmemoized=i;return S}var Te;if(p){Te=process.nextTick}else if(d){Te=setImmediate}else{Te=fallback}var ke=wrap(Te);var xe=awaitify(((i,c,d)=>{var p=isArrayLike(c)?[]:{};i(c,((i,c,d)=>{wrapAsync(i)(((i,...A)=>{if(A.length<2){[A]=A}p[c]=A;d(i)}))}),(i=>d(i,p)))}),3);function parallel(i,c){return xe(T,i,c)}function parallelLimit(i,c,d){return xe(eachOfLimit$2(c),i,d)}function queue(i,c){var d=wrapAsync(i);return queue$1(((i,c)=>{d(i[0],c)}),c,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(i){let c;while(i>0&&smaller(this.heap[i],this.heap[c=parent(i)])){let d=this.heap[i];this.heap[i]=this.heap[c];this.heap[c]=d;i=c}}percDown(i){let c;while((c=leftChi(i))<this.heap.length){if(c+1<this.heap.length&&smaller(this.heap[c+1],this.heap[c])){c=c+1}if(smaller(this.heap[i],this.heap[c])){break}let d=this.heap[i];this.heap[i]=this.heap[c];this.heap[c]=d;i=c}}push(i){i.pushCount=++this.pushCount;this.heap.push(i);this.percUp(this.heap.length-1)}unshift(i){return this.heap.push(i)}shift(){let[i]=this.heap;this.heap[0]=this.heap[this.heap.length-1];this.heap.pop();this.percDown(0);return i}toArray(){return[...this]}*[Symbol.iterator](){for(let i=0;i<this.heap.length;i++){yield this.heap[i].data}}remove(i){let c=0;for(let d=0;d<this.heap.length;d++){if(!i(this.heap[d])){this.heap[c]=this.heap[d];c++}}this.heap.splice(c);for(let i=parent(this.heap.length-1);i>=0;i--){this.percDown(i)}return this}}function leftChi(i){return(i<<1)+1}function parent(i){return(i+1>>1)-1}function smaller(i,c){if(i.priority!==c.priority){return i.priority<c.priority}else{return i.pushCount<c.pushCount}}function priorityQueue(i,c){var d=queue(i,c);var{push:p,pushAsync:A}=d;d._tasks=new Heap;d._createTaskItem=({data:i,priority:c},d)=>({data:i,priority:c,callback:d});function createDataItems(i,c){if(!Array.isArray(i)){return{data:i,priority:c}}return i.map((i=>({data:i,priority:c})))}d.push=function(i,c=0,d){return p(createDataItems(i,c),d)};d.pushAsync=function(i,c=0,d){return A(createDataItems(i,c),d)};delete d.unshift;delete d.unshiftAsync;return d}function race(i,c){c=once(c);if(!Array.isArray(i))return c(new TypeError("First argument to race must be an array of functions"));if(!i.length)return c();for(var d=0,p=i.length;d<p;d++){wrapAsync(i[d])(c)}}var Pe=awaitify(race,2);function reduceRight(i,c,d,p){var A=[...i].reverse();return le(A,c,d,p)}function reflect(i){var c=wrapAsync(i);return initialParams((function reflectOn(i,d){i.push(((i,...c)=>{let p={};if(i){p.error=i}if(c.length>0){var A=c;if(c.length<=1){[A]=c}p.value=A}d(null,p)}));return c.apply(this,i)}))}function reflectAll(i){var c;if(Array.isArray(i)){c=i.map(reflect)}else{c={};Object.keys(i).forEach((d=>{c[d]=reflect.call(this,i[d])}))}return c}function reject$2(i,c,d,p){const A=wrapAsync(d);return _filter(i,c,((i,c)=>{A(i,((i,d)=>{c(i,!d)}))}),p)}function reject(i,c,d){return reject$2(T,i,c,d)}var Oe=awaitify(reject,3);function rejectLimit(i,c,d,p){return reject$2(eachOfLimit$2(c),i,d,p)}var De=awaitify(rejectLimit,4);function rejectSeries(i,c,d){return reject$2(ee,i,c,d)}var Le=awaitify(rejectSeries,3);function constant(i){return function(){return i}}const Me=5;const Fe=0;function retry(i,c,d){var p={times:Me,intervalFunc:constant(Fe)};if(arguments.length<3&&typeof i==="function"){d=c||promiseCallback();c=i}else{parseTimes(p,i);d=d||promiseCallback()}if(typeof c!=="function"){throw new Error("Invalid arguments for async.retry")}var A=wrapAsync(c);var C=1;function retryAttempt(){A(((i,...c)=>{if(i===false)return;if(i&&C++<p.times&&(typeof p.errorFilter!="function"||p.errorFilter(i))){setTimeout(retryAttempt,p.intervalFunc(C-1))}else{d(i,...c)}}))}retryAttempt();return d[ne]}function parseTimes(i,c){if(typeof c==="object"){i.times=+c.times||Me;i.intervalFunc=typeof c.interval==="function"?c.interval:constant(+c.interval||Fe);i.errorFilter=c.errorFilter}else if(typeof c==="number"||typeof c==="string"){i.times=+c||Me}else{throw new Error("Invalid arguments for async.retry")}}function retryable(i,c){if(!c){c=i;i=null}let d=i&&i.arity||c.length;if(isAsync(c)){d+=1}var p=wrapAsync(c);return initialParams(((c,A)=>{if(c.length<d-1||A==null){c.push(A);A=promiseCallback()}function taskFn(i){p(...c,i)}if(i)retry(i,taskFn,A);else retry(taskFn,A);return A[ne]}))}function series(i,c){return xe(ee,i,c)}function some(i,c,d){return _createTester(Boolean,(i=>i))(T,i,c,d)}var Ue=awaitify(some,3);function someLimit(i,c,d,p){return _createTester(Boolean,(i=>i))(eachOfLimit$2(c),i,d,p)}var He=awaitify(someLimit,4);function someSeries(i,c,d){return _createTester(Boolean,(i=>i))(ee,i,c,d)}var je=awaitify(someSeries,3);function sortBy(i,c,d){var p=wrapAsync(c);return V(i,((i,c)=>{p(i,((d,p)=>{if(d)return c(d);c(d,{value:i,criteria:p})}))}),((i,c)=>{if(i)return d(i);d(null,c.sort(comparator).map((i=>i.value)))}));function comparator(i,c){var d=i.criteria,p=c.criteria;return d<p?-1:d>p?1:0}}var qe=awaitify(sortBy,3);function timeout(i,c,d){var p=wrapAsync(i);return initialParams(((A,C)=>{var S=false;var v;function timeoutCallback(){var c=i.name||"anonymous";var p=new Error('Callback function "'+c+'" timed out.');p.code="ETIMEDOUT";if(d){p.info=d}S=true;C(p)}A.push(((...i)=>{if(!S){C(...i);clearTimeout(v)}}));v=setTimeout(timeoutCallback,c);p(...A)}))}function range(i){var c=Array(i);while(i--){c[i]=i}return c}function timesLimit(i,c,d,p){var A=wrapAsync(d);return ce(range(i),c,A,p)}function times(i,c,d){return timesLimit(i,Infinity,c,d)}function timesSeries(i,c,d){return timesLimit(i,1,c,d)}function transform(i,c,d,p){if(arguments.length<=3&&typeof c==="function"){p=d;d=c;c=Array.isArray(i)?[]:{}}p=once(p||promiseCallback());var A=wrapAsync(d);T(i,((i,d,p)=>{A(c,i,d,p)}),(i=>p(i,c)));return p[ne]}function tryEach(i,c){var d=null;var p;return be(i,((i,c)=>{wrapAsync(i)(((i,...A)=>{if(i===false)return c(i);if(A.length<2){[p]=A}else{p=A}d=i;c(i?null:{})}))}),(()=>c(d,p)))}var Ge=awaitify(tryEach);function unmemoize(i){return(...c)=>(i.unmemoized||i)(...c)}function whilst(i,c,d){d=onlyOnce(d);var p=wrapAsync(c);var A=wrapAsync(i);var C=[];function next(i,...c){if(i)return d(i);C=c;if(i===false)return;A(check)}function check(i,c){if(i)return d(i);if(i===false)return;if(!c)return d(null,...C);p(next)}return A(check)}var ze=awaitify(whilst,3);function until(i,c,d){const p=wrapAsync(i);return ze((i=>p(((c,d)=>i(c,!d)))),c,d)}function waterfall(i,c){c=once(c);if(!Array.isArray(i))return c(new Error("First argument to waterfall must be an array of functions"));if(!i.length)return c();var d=0;function nextTask(c){var p=wrapAsync(i[d++]);p(...c,onlyOnce(next))}function next(p,...A){if(p===false)return;if(p||d===i.length){return c(p,...A)}nextTask(A)}nextTask([])}var Ve=awaitify(waterfall);var We={apply:apply,applyEach:Z,applyEachSeries:re,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo$1,cargoQueue:cargo,compose:compose,concat:de,concatLimit:ue,concatSeries:fe,constant:constant$1,detect:pe,detectLimit:Ae,detectSeries:he,dir:ge,doUntil:doUntil,doWhilst:me,each:ye,eachLimit:Ee,eachOf:T,eachOfLimit:_,eachOfSeries:ee,eachSeries:be,ensureAsync:ensureAsync,every:Ce,everyLimit:we,everySeries:Ie,filter:Se,filterLimit:ve,filterSeries:Be,forever:Re,groupBy:groupBy,groupByLimit:_e,groupBySeries:groupBySeries,log:Ne,map:V,mapLimit:ce,mapSeries:te,mapValues:mapValues,mapValuesLimit:Qe,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:ke,parallel:parallel,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue,race:Pe,reduce:le,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:Oe,rejectLimit:De,rejectSeries:Le,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:C,some:Ue,someLimit:He,someSeries:je,sortBy:qe,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:Ge,unmemoize:unmemoize,until:until,waterfall:Ve,whilst:ze,all:Ce,allLimit:we,allSeries:Ie,any:Ue,anyLimit:He,anySeries:je,find:pe,findLimit:Ae,findSeries:he,flatMap:de,flatMapLimit:ue,flatMapSeries:fe,forEach:ye,forEachSeries:be,forEachLimit:Ee,forEachOf:T,forEachOfSeries:ee,forEachOfLimit:_,inject:le,foldl:le,foldr:reduceRight,select:Se,selectLimit:ve,selectSeries:Be,wrapSync:asyncify,during:ze,doDuring:me};i.all=Ce;i.allLimit=we;i.allSeries=Ie;i.any=Ue;i.anyLimit=He;i.anySeries=je;i.apply=apply;i.applyEach=Z;i.applyEachSeries=re;i.asyncify=asyncify;i.auto=auto;i.autoInject=autoInject;i.cargo=cargo$1;i.cargoQueue=cargo;i.compose=compose;i.concat=de;i.concatLimit=ue;i.concatSeries=fe;i.constant=constant$1;i.default=We;i.detect=pe;i.detectLimit=Ae;i.detectSeries=he;i.dir=ge;i.doDuring=me;i.doUntil=doUntil;i.doWhilst=me;i.during=ze;i.each=ye;i.eachLimit=Ee;i.eachOf=T;i.eachOfLimit=_;i.eachOfSeries=ee;i.eachSeries=be;i.ensureAsync=ensureAsync;i.every=Ce;i.everyLimit=we;i.everySeries=Ie;i.filter=Se;i.filterLimit=ve;i.filterSeries=Be;i.find=pe;i.findLimit=Ae;i.findSeries=he;i.flatMap=de;i.flatMapLimit=ue;i.flatMapSeries=fe;i.foldl=le;i.foldr=reduceRight;i.forEach=ye;i.forEachLimit=Ee;i.forEachOf=T;i.forEachOfLimit=_;i.forEachOfSeries=ee;i.forEachSeries=be;i.forever=Re;i.groupBy=groupBy;i.groupByLimit=_e;i.groupBySeries=groupBySeries;i.inject=le;i.log=Ne;i.map=V;i.mapLimit=ce;i.mapSeries=te;i.mapValues=mapValues;i.mapValuesLimit=Qe;i.mapValuesSeries=mapValuesSeries;i.memoize=memoize;i.nextTick=ke;i.parallel=parallel;i.parallelLimit=parallelLimit;i.priorityQueue=priorityQueue;i.queue=queue;i.race=Pe;i.reduce=le;i.reduceRight=reduceRight;i.reflect=reflect;i.reflectAll=reflectAll;i.reject=Oe;i.rejectLimit=De;i.rejectSeries=Le;i.retry=retry;i.retryable=retryable;i.select=Se;i.selectLimit=ve;i.selectSeries=Be;i.seq=seq;i.series=series;i.setImmediate=C;i.some=Ue;i.someLimit=He;i.someSeries=je;i.sortBy=qe;i.timeout=timeout;i.times=times;i.timesLimit=timesLimit;i.timesSeries=timesSeries;i.transform=transform;i.tryEach=Ge;i.unmemoize=unmemoize;i.until=until;i.waterfall=Ve;i.whilst=ze;i.wrapSync=asyncify;Object.defineProperty(i,"__esModule",{value:true})}))},73057:i=>{function isBuffer(i){return Buffer.isBuffer(i)||i instanceof Uint8Array}function isEncoding(i){return Buffer.isEncoding(i)}function alloc(i,c,d){return Buffer.alloc(i,c,d)}function allocUnsafe(i){return Buffer.allocUnsafe(i)}function allocUnsafeSlow(i){return Buffer.allocUnsafeSlow(i)}function byteLength(i,c){return Buffer.byteLength(i,c)}function compare(i,c){return Buffer.compare(i,c)}function concat(i,c){return Buffer.concat(i,c)}function copy(i,c,d,p,A){return toBuffer(i).copy(c,d,p,A)}function equals(i,c){return toBuffer(i).equals(c)}function fill(i,c,d,p,A){return toBuffer(i).fill(c,d,p,A)}function from(i,c,d){return Buffer.from(i,c,d)}function includes(i,c,d,p){return toBuffer(i).includes(c,d,p)}function indexOf(i,c,d,p){return toBuffer(i).indexOf(c,d,p)}function lastIndexOf(i,c,d,p){return toBuffer(i).lastIndexOf(c,d,p)}function swap16(i){return toBuffer(i).swap16()}function swap32(i){return toBuffer(i).swap32()}function swap64(i){return toBuffer(i).swap64()}function toBuffer(i){if(Buffer.isBuffer(i))return i;return Buffer.from(i.buffer,i.byteOffset,i.byteLength)}function toString(i,c,d,p){return toBuffer(i).toString(c,d,p)}function write(i,c,d,p,A){return toBuffer(i).write(c,d,p,A)}function writeDoubleLE(i,c,d){return toBuffer(i).writeDoubleLE(c,d)}function writeFloatLE(i,c,d){return toBuffer(i).writeFloatLE(c,d)}function writeUInt32LE(i,c,d){return toBuffer(i).writeUInt32LE(c,d)}function writeInt32LE(i,c,d){return toBuffer(i).writeInt32LE(c,d)}function readDoubleLE(i,c){return toBuffer(i).readDoubleLE(c)}function readFloatLE(i,c){return toBuffer(i).readFloatLE(c)}function readUInt32LE(i,c){return toBuffer(i).readUInt32LE(c)}function readInt32LE(i,c){return toBuffer(i).readInt32LE(c)}i.exports={isBuffer:isBuffer,isEncoding:isEncoding,alloc:alloc,allocUnsafe:allocUnsafe,allocUnsafeSlow:allocUnsafeSlow,byteLength:byteLength,compare:compare,concat:concat,copy:copy,equals:equals,fill:fill,from:from,includes:includes,indexOf:indexOf,lastIndexOf:lastIndexOf,swap16:swap16,swap32:swap32,swap64:swap64,toBuffer:toBuffer,toString:toString,write:write,writeDoubleLE:writeDoubleLE,writeFloatLE:writeFloatLE,writeUInt32LE:writeUInt32LE,writeInt32LE:writeInt32LE,readDoubleLE:readDoubleLE,readFloatLE:readFloatLE,readUInt32LE:readUInt32LE,readInt32LE:readInt32LE}},59380:i=>{"use strict";i.exports=balanced;function balanced(i,c,d){if(i instanceof RegExp)i=maybeMatch(i,d);if(c instanceof RegExp)c=maybeMatch(c,d);var p=range(i,c,d);return p&&{start:p[0],end:p[1],pre:d.slice(0,p[0]),body:d.slice(p[0]+i.length,p[1]),post:d.slice(p[1]+c.length)}}function maybeMatch(i,c){var d=c.match(i);return d?d[0]:null}balanced.range=range;function range(i,c,d){var p,A,C,S,v;var _=d.indexOf(i);var T=d.indexOf(c,_+1);var V=_;if(_>=0&&T>0){if(i===c){return[_,T]}p=[];C=d.length;while(V>=0&&!v){if(V==_){p.push(V);_=d.indexOf(i,V+1)}else if(p.length==1){v=[p.pop(),T]}else{A=p.pop();if(A<C){C=A;S=T}T=d.indexOf(c,V+1)}V=_<T&&_>=0?_:T}if(p.length){v=[C,S]}}return v}},52732:(i,c,d)=>{var p=d(11063);var A=d(22027);var C=d(59934);var S=Function.bind;var v=S.bind(S);function bindApi(i,c,d){var p=v(C,null).apply(null,d?[c,d]:[c]);i.api={remove:p};i.remove=p;["before","error","after","wrap"].forEach((function(p){var C=d?[c,p,d]:[c,p];i[p]=i.api[p]=v(A,null).apply(null,C)}))}function HookSingular(){var i="h";var c={registry:{}};var d=p.bind(null,c,i);bindApi(d,c,i);return d}function HookCollection(){var i={registry:{}};var c=p.bind(null,i);bindApi(c,i);return c}var _=false;function Hook(){if(!_){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');_=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();i.exports=Hook;i.exports.Hook=Hook;i.exports.Singular=Hook.Singular;i.exports.Collection=Hook.Collection},22027:i=>{i.exports=addHook;function addHook(i,c,d,p){var A=p;if(!i.registry[d]){i.registry[d]=[]}if(c==="before"){p=function(i,c){return Promise.resolve().then(A.bind(null,c)).then(i.bind(null,c))}}if(c==="after"){p=function(i,c){var d;return Promise.resolve().then(i.bind(null,c)).then((function(i){d=i;return A(d,c)})).then((function(){return d}))}}if(c==="error"){p=function(i,c){return Promise.resolve().then(i.bind(null,c)).catch((function(i){return A(i,c)}))}}i.registry[d].push({hook:p,orig:A})}},11063:i=>{i.exports=register;function register(i,c,d,p){if(typeof d!=="function"){throw new Error("method for before hook must be a function")}if(!p){p={}}if(Array.isArray(c)){return c.reverse().reduce((function(c,d){return register.bind(null,i,d,c,p)}),d)()}return Promise.resolve().then((function(){if(!i.registry[c]){return d(p)}return i.registry[c].reduce((function(i,c){return c.hook.bind(null,i,p)}),d)()}))}},59934:i=>{i.exports=removeHook;function removeHook(i,c,d){if(!i.registry[c]){return}var p=i.registry[c].map((function(i){return i.orig})).indexOf(d);if(p===-1){return}i.registry[c].splice(p,1)}},58769:(i,c,d)=>{var p=d(71710);var A=d(24434).EventEmitter;var C=d(86627);var S=d(91259);var v=d(2203).Stream;c=i.exports=function(i,d){if(Buffer.isBuffer(i)){return c.parse(i)}var p=c.stream();if(i&&i.pipe){i.pipe(p)}else if(i){i.on(d||"data",(function(i){p.write(i)}));i.on("end",(function(){p.end()}))}return p};c.stream=function(i){if(i)return c.apply(null,arguments);var d=null;function getBytes(i,c,p){d={bytes:i,skip:p,cb:function(i){d=null;c(i)}};dispatch()}var _=null;function dispatch(){if(!d){if(te)ee=true;return}if(typeof d==="function"){d()}else{var i=_+d.bytes;if(V.length>=i){var c;if(_==null){c=V.splice(0,i);if(!d.skip){c=c.slice()}}else{if(!d.skip){c=V.slice(_,i)}_=i}if(d.skip){d.cb()}else{d.cb(c)}}}}function builder(i){function next(){if(!ee)i.next()}var c=words((function(i,c){return function(d){getBytes(i,(function(i){Z.set(d,c(i));next()}))}}));c.tap=function(c){i.nest(c,Z.store)};c.into=function(c,d){if(!Z.get(c))Z.set(c,{});var p=Z;Z=S(p.get(c));i.nest((function(){d.apply(this,arguments);this.tap((function(){Z=p}))}),Z.store)};c.flush=function(){Z.store={};next()};c.loop=function(c){var d=false;i.nest(false,(function loop(){this.vars=Z.store;c.call(this,(function(){d=true;next()}),Z.store);this.tap(function(){if(d)i.next();else loop.call(this)}.bind(this))}),Z.store)};c.buffer=function(i,c){if(typeof c==="string"){c=Z.get(c)}getBytes(c,(function(c){Z.set(i,c);next()}))};c.skip=function(i){if(typeof i==="string"){i=Z.get(i)}getBytes(i,(function(){next()}))};c.scan=function find(i,c){if(typeof c==="string"){c=new Buffer(c)}else if(!Buffer.isBuffer(c)){throw new Error("search must be a Buffer or a string")}var p=0;d=function(){var A=V.indexOf(c,_+p);var C=A-_-p;if(A!==-1){d=null;if(_!=null){Z.set(i,V.slice(_,_+p+C));_+=p+C+c.length}else{Z.set(i,V.slice(0,p+C));V.splice(0,p+C+c.length)}next();dispatch()}else{C=Math.max(V.length-c.length-_-p,0)}p+=C};dispatch()};c.peek=function(c){_=0;i.nest((function(){c.call(this,Z.store);this.tap((function(){_=null}))}))};return c}var T=p.light(builder);T.writable=true;var V=C();T.write=function(i){V.push(i);dispatch()};var Z=S();var ee=false,te=false;T.end=function(){te=true};T.pipe=v.prototype.pipe;Object.getOwnPropertyNames(A.prototype).forEach((function(i){T[i]=A.prototype[i]}));return T};c.parse=function parse(i){var c=words((function(A,C){return function(S){if(d+A<=i.length){var v=i.slice(d,d+A);d+=A;p.set(S,C(v))}else{p.set(S,null)}return c}}));var d=0;var p=S();c.vars=p.store;c.tap=function(i){i.call(c,p.store);return c};c.into=function(i,d){if(!p.get(i)){p.set(i,{})}var A=p;p=S(A.get(i));d.call(c,p.store);p=A;return c};c.loop=function(i){var d=false;var ender=function(){d=true};while(d===false){i.call(c,ender,p.store)}return c};c.buffer=function(A,C){if(typeof C==="string"){C=p.get(C)}var S=i.slice(d,Math.min(i.length,d+C));d+=C;p.set(A,S);return c};c.skip=function(i){if(typeof i==="string"){i=p.get(i)}d+=i;return c};c.scan=function(A,C){if(typeof C==="string"){C=new Buffer(C)}else if(!Buffer.isBuffer(C)){throw new Error("search must be a Buffer or a string")}p.set(A,null);for(var S=0;S+d<=i.length-C.length+1;S++){for(var v=0;v<C.length&&i[d+S+v]===C[v];v++);if(v===C.length)break}p.set(A,i.slice(d,d+S));d+=S+C.length;return c};c.peek=function(i){var A=d;i.call(c,p.store);d=A;return c};c.flush=function(){p.store={};return c};c.eof=function(){return d>=i.length};return c};function decodeLEu(i){var c=0;for(var d=0;d<i.length;d++){c+=Math.pow(256,d)*i[d]}return c}function decodeBEu(i){var c=0;for(var d=0;d<i.length;d++){c+=Math.pow(256,i.length-d-1)*i[d]}return c}function decodeBEs(i){var c=decodeBEu(i);if((i[0]&128)==128){c-=Math.pow(256,i.length)}return c}function decodeLEs(i){var c=decodeLEu(i);if((i[i.length-1]&128)==128){c-=Math.pow(256,i.length)}return c}function words(i){var c={};[1,2,4,8].forEach((function(d){var p=d*8;c["word"+p+"le"]=c["word"+p+"lu"]=i(d,decodeLEu);c["word"+p+"ls"]=i(d,decodeLEs);c["word"+p+"be"]=c["word"+p+"bu"]=i(d,decodeBEu);c["word"+p+"bs"]=i(d,decodeBEs)}));c.word8=c.word8u=c.word8be;c.word8s=c.word8bs;return c}},91259:i=>{i.exports=function(i){function getset(i,d){var p=c.store;var A=i.split(".");A.slice(0,-1).forEach((function(i){if(p[i]===undefined)p[i]={};p=p[i]}));var C=A[A.length-1];if(arguments.length==1){return p[C]}else{return p[C]=d}}var c={get:function(i){return getset(i)},set:function(i,c){return getset(i,c)},store:i||{}};return c}},63251:function(i){(function(c,d){true?i.exports=d():0})(this,(function(){"use strict";var i=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(i){return i&&i["default"]||i}var load=function(i,c,d={}){var p,A,C;for(p in c){C=c[p];d[p]=(A=i[p])!=null?A:C}return d};var overwrite=function(i,c,d={}){var p,A;for(p in i){A=i[p];if(c[p]!==void 0){d[p]=A}}return d};var c={load:load,overwrite:overwrite};var d;d=class DLList{constructor(i,c){this.incr=i;this.decr=c;this._first=null;this._last=null;this.length=0}push(i){var c;this.length++;if(typeof this.incr==="function"){this.incr()}c={value:i,prev:this._last,next:null};if(this._last!=null){this._last.next=c;this._last=c}else{this._first=this._last=c}return void 0}shift(){var i;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}i=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return i}first(){if(this._first!=null){return this._first.value}}getArray(){var i,c,d;i=this._first;d=[];while(i!=null){d.push((c=i,i=i.next,c.value))}return d}forEachShift(i){var c;c=this.shift();while(c!=null){i(c),c=this.shift()}return void 0}debug(){var i,c,d,p,A;i=this._first;A=[];while(i!=null){A.push((c=i,i=i.next,{value:c.value,prev:(d=c.prev)!=null?d.value:void 0,next:(p=c.next)!=null?p.value:void 0}))}return A}};var p=d;var A;A=class Events{constructor(i){this.instance=i;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(i,c)=>this._addListener(i,"many",c);this.instance.once=(i,c)=>this._addListener(i,"once",c);this.instance.removeAllListeners=(i=null)=>{if(i!=null){return delete this._events[i]}else{return this._events={}}}}_addListener(i,c,d){var p;if((p=this._events)[i]==null){p[i]=[]}this._events[i].push({cb:d,status:c});return this.instance}listenerCount(i){if(this._events[i]!=null){return this._events[i].length}else{return 0}}async trigger(i,...c){var d,p;try{if(i!=="debug"){this.trigger("debug",`Event triggered: ${i}`,c)}if(this._events[i]==null){return}this._events[i]=this._events[i].filter((function(i){return i.status!=="none"}));p=this._events[i].map((async i=>{var d,p;if(i.status==="none"){return}if(i.status==="once"){i.status="none"}try{p=typeof i.cb==="function"?i.cb(...c):void 0;if(typeof(p!=null?p.then:void 0)==="function"){return await p}else{return p}}catch(i){d=i;{this.trigger("error",d)}return null}}));return(await Promise.all(p)).find((function(i){return i!=null}))}catch(i){d=i;{this.trigger("error",d)}return null}}};var C=A;var S,v,_;S=p;v=C;_=class Queues{constructor(i){var c;this.Events=new v(this);this._length=0;this._lists=function(){var d,p,A;A=[];for(c=d=1,p=i;1<=p?d<=p:d>=p;c=1<=p?++d:--d){A.push(new S((()=>this.incr()),(()=>this.decr())))}return A}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(i){return this._lists[i.options.priority].push(i)}queued(i){if(i!=null){return this._lists[i].length}else{return this._length}}shiftAll(i){return this._lists.forEach((function(c){return c.forEachShift(i)}))}getFirst(i=this._lists){var c,d,p;for(c=0,d=i.length;c<d;c++){p=i[c];if(p.length>0){return p}}return[]}shiftLastFrom(i){return this.getFirst(this._lists.slice(i).reverse()).shift()}};var T=_;var V;V=class BottleneckError extends Error{};var Z=V;var ee,te,re,ne,ie;ne=10;te=5;ie=c;ee=Z;re=class Job{constructor(i,c,d,p,A,C,S,v){this.task=i;this.args=c;this.rejectOnDrop=A;this.Events=C;this._states=S;this.Promise=v;this.options=ie.load(d,p);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===p.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((i,c)=>{this._resolve=i;this._reject=c}));this.retryCount=0}_sanitizePriority(i){var c;c=~~i!==i?te:i;if(c<0){return 0}else if(c>ne-1){return ne-1}else{return c}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:i,message:c="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(i!=null?i:new ee(c))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(i){var c;c=this._states.jobStatus(this.options.id);if(!(c===i||i==="DONE"&&c===null)){throw new ee(`Invalid job status ${c}, expected ${i}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(i,c){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:i,blocked:c})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(i,c,d,p){var A,C,S;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}C={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",C);try{S=await(i!=null?i.schedule(this.options,this.task,...this.args):this.task(...this.args));if(c()){this.doDone(C);await p(this.options,C);this._assertStatus("DONE");return this._resolve(S)}}catch(i){A=i;return this._onFailure(A,C,c,d,p)}}doExpire(i,c,d){var p,A;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");A={args:this.args,options:this.options,retryCount:this.retryCount};p=new ee(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(p,A,i,c,d)}async _onFailure(i,c,d,p,A){var C,S;if(d()){C=await this.Events.trigger("failed",i,c);if(C!=null){S=~~C;this.Events.trigger("retry",`Retrying ${this.options.id} after ${S} ms`,c);this.retryCount++;return p(S)}else{this.doDone(c);await A(this.options,c);this._assertStatus("DONE");return this._reject(i)}}}doDone(i){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",i)}};var se=re;var oe,ae,le;le=c;oe=Z;ae=class LocalDatastore{constructor(i,c,d){this.instance=i;this.storeOptions=c;this.clientId=this.instance._randomIndex();le.load(d,d,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var i;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(i=this.heartbeat=setInterval((()=>{var i,c,d,p,A;p=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&p>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=p;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&p>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:i,reservoirIncreaseMaximum:d,reservoir:A}=this.storeOptions);this._lastReservoirIncrease=p;c=d!=null?Math.min(i,d-A):i;if(c>0){this.storeOptions.reservoir+=c;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?i.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(i){await this.yieldLoop();return this.instance.Events.trigger("message",i.toString())}async __disconnect__(i){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(i=0){return new this.Promise((function(c,d){return setTimeout(c,i)}))}computePenalty(){var i;return(i=this.storeOptions.penalty)!=null?i:15*this.storeOptions.minTime||5e3}async __updateSettings__(i){await this.yieldLoop();le.overwrite(i,i,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(i){await this.yieldLoop();return this._nextRequest+this.timeout<i}computeCapacity(){var i,c;({maxConcurrent:i,reservoir:c}=this.storeOptions);if(i!=null&&c!=null){return Math.min(i-this._running,c)}else if(i!=null){return i-this._running}else if(c!=null){return c}else{return null}}conditionsCheck(i){var c;c=this.computeCapacity();return c==null||i<=c}async __incrementReservoir__(i){var c;await this.yieldLoop();c=this.storeOptions.reservoir+=i;this.instance._drainAll(this.computeCapacity());return c}async __currentReservoir__(){await this.yieldLoop();return this.storeOptions.reservoir}isBlocked(i){return this._unblockTime>=i}check(i,c){return this.conditionsCheck(i)&&this._nextRequest-c<=0}async __check__(i){var c;await this.yieldLoop();c=Date.now();return this.check(i,c)}async __register__(i,c,d){var p,A;await this.yieldLoop();p=Date.now();if(this.conditionsCheck(c)){this._running+=c;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=c}A=Math.max(this._nextRequest-p,0);this._nextRequest=p+A+this.storeOptions.minTime;return{success:true,wait:A,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(i,c){var d,p,A;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&c>this.storeOptions.maxConcurrent){throw new oe(`Impossible to add a job having a weight of ${c} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}p=Date.now();A=this.storeOptions.highWater!=null&&i===this.storeOptions.highWater&&!this.check(c,p);d=this.strategyIsBlock()&&(A||this.isBlocked(p));if(d){this._unblockTime=p+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:A,blocked:d,strategy:this.storeOptions.strategy}}async __free__(i,c){await this.yieldLoop();this._running-=c;this._done+=c;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var ce=ae;var ue,de;ue=Z;de=class States{constructor(i){this.status=i;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(i){var c,d;c=this._jobs[i];d=c+1;if(c!=null&&d<this.status.length){this.counts[c]--;this.counts[d]++;return this._jobs[i]++}else if(c!=null){this.counts[c]--;return delete this._jobs[i]}}start(i){var c;c=0;this._jobs[i]=c;return this.counts[c]++}remove(i){var c;c=this._jobs[i];if(c!=null){this.counts[c]--;delete this._jobs[i]}return c!=null}jobStatus(i){var c;return(c=this.status[this._jobs[i]])!=null?c:null}statusJobs(i){var c,d,p,A,C;if(i!=null){d=this.status.indexOf(i);if(d<0){throw new ue(`status must be one of ${this.status.join(", ")}`)}p=this._jobs;A=[];for(c in p){C=p[c];if(C===d){A.push(c)}}return A}else{return Object.keys(this._jobs)}}statusCounts(){return this.counts.reduce(((i,c,d)=>{i[this.status[d]]=c;return i}),{})}};var fe=de;var pe,Ae;pe=p;Ae=class Sync{constructor(i,c){this.schedule=this.schedule.bind(this);this.name=i;this.Promise=c;this._running=0;this._queue=new pe}isEmpty(){return this._queue.length===0}async _tryToRun(){var i,c,d,p,A,C,S;if(this._running<1&&this._queue.length>0){this._running++;({task:S,args:i,resolve:A,reject:p}=this._queue.shift());c=await async function(){try{C=await S(...i);return function(){return A(C)}}catch(i){d=i;return function(){return p(d)}}}();this._running--;this._tryToRun();return c()}}schedule(i,...c){var d,p,A;A=p=null;d=new this.Promise((function(i,c){A=i;return p=c}));this._queue.push({task:i,args:c,resolve:A,reject:p});this._tryToRun();return d}};var he=Ae;var ge="2.19.5";var me={version:ge};var ye=Object.freeze({version:ge,default:me});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 Ee,be,Ce,we,Ie,Se;Se=c;Ee=C;we=require$$2;Ce=require$$3;Ie=require$$4;be=function(){class Group{constructor(i={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=i;Se.load(this.limiterOptions,this.defaults,this);this.Events=new Ee(this);this.instances={};this.Bottleneck=qe;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new we(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new Ce(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(i=""){var c;return(c=this.instances[i])!=null?c:(()=>{var c;c=this.instances[i]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${i}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",c,i);return c})()}async deleteKey(i=""){var c,d;d=this.instances[i];if(this.connection){c=await this.connection.__runCommand__(["del",...Ie.allKeys(`${this.id}-${i}`)])}if(d!=null){delete this.instances[i];await d.disconnect()}return d!=null||c>0}limiters(){var i,c,d,p;c=this.instances;d=[];for(i in c){p=c[i];d.push({key:i,limiter:p})}return d}keys(){return Object.keys(this.instances)}async clusterKeys(){var i,c,d,p,A,C,S,v,_;if(this.connection==null){return this.Promise.resolve(this.keys())}C=[];i=null;_=`b_${this.id}-`.length;c="_settings".length;while(i!==0){[v,d]=await this.connection.__runCommand__(["scan",i!=null?i:0,"match",`b_${this.id}-*_settings`,"count",1e4]);i=~~v;for(p=0,S=d.length;p<S;p++){A=d[p];C.push(A.slice(_,-c))}}return C}_startAutoCleanup(){var i;clearInterval(this.interval);return typeof(i=this.interval=setInterval((async()=>{var i,c,d,p,A,C;A=Date.now();d=this.instances;p=[];for(c in d){C=d[c];try{if(await C._store.__groupCheck__(A)){p.push(this.deleteKey(c))}else{p.push(void 0)}}catch(c){i=c;p.push(C.Events.trigger("error",i))}}return p}),this.timeout/2)).unref==="function"?i.unref():void 0}updateSettings(i={}){Se.overwrite(i,this.defaults,this);Se.overwrite(i,i,this.limiterOptions);if(i.timeout!=null){return this._startAutoCleanup()}}disconnect(i=true){var c;if(!this.sharedConnection){return(c=this.connection)!=null?c.disconnect(i):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(i);var ve=be;var Be,Re,_e;_e=c;Re=C;Be=function(){class Batcher{constructor(i={}){this.options=i;_e.load(this.options,this.defaults,this);this.Events=new Re(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((i,c)=>this._resolve=i))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(i){var c;this._arr.push(i);c=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 c}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(i);var Ne=Be;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var Qe=getCjsExportFromNamespace(ye);var Te,ke,xe,Pe,Oe,De,Le,Me,Fe,Ue,He,je=[].splice;De=10;ke=5;He=c;Le=T;Pe=se;Oe=ce;Me=require$$4$1;xe=C;Fe=fe;Ue=he;Te=function(){class Bottleneck{constructor(i={},...c){var d,p;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(i,c);He.load(i,this.instanceDefaults,this);this._queues=new Le(De);this._scheduled={};this._states=new Fe(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new xe(this);this._submitLock=new Ue("submit",this.Promise);this._registerLock=new Ue("register",this.Promise);p=He.load(i,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){d=He.load(i,this.redisStoreDefaults,{});return new Me(this,p,d)}else if(this.datastore==="local"){d=He.load(i,this.localStoreDefaults,{});return new Oe(this,p,d)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.ref==="function"?i.ref():void 0:void 0}));this._queues.on("zero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.unref==="function"?i.unref():void 0:void 0}))}_validateOptions(i,c){if(!(i!=null&&typeof i==="object"&&c.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(i){return this._store.__publish__(i)}disconnect(i=true){return this._store.__disconnect__(i)}chain(i){this._limiter=i;return this}queued(i){return this._queues.queued(i)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(i){return this._states.jobStatus(i)}jobs(i){return this._states.statusJobs(i)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(i=1){return this._store.__check__(i)}_clearGlobalState(i){if(this._scheduled[i]!=null){clearTimeout(this._scheduled[i].expiration);delete this._scheduled[i];return true}else{return false}}async _free(i,c,d,p){var A,C;try{({running:C}=await this._store.__free__(i,d.weight));this.Events.trigger("debug",`Freed ${d.id}`,p);if(C===0&&this.empty()){return this.Events.trigger("idle")}}catch(i){A=i;return this.Events.trigger("error",A)}}_run(i,c,d){var p,A,C;c.doRun();p=this._clearGlobalState.bind(this,i);C=this._run.bind(this,i,c);A=this._free.bind(this,i,c);return this._scheduled[i]={timeout:setTimeout((()=>c.doExecute(this._limiter,p,C,A)),d),expiration:c.options.expiration!=null?setTimeout((function(){return c.doExpire(p,C,A)}),d+c.options.expiration):void 0,job:c}}_drainOne(i){return this._registerLock.schedule((()=>{var c,d,p,A,C;if(this.queued()===0){return this.Promise.resolve(null)}C=this._queues.getFirst();({options:A,args:c}=p=C.first());if(i!=null&&A.weight>i){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${A.id}`,{args:c,options:A});d=this._randomIndex();return this._store.__register__(d,A.weight,A.expiration).then((({success:i,wait:S,reservoir:v})=>{var _;this.Events.trigger("debug",`Drained ${A.id}`,{success:i,args:c,options:A});if(i){C.shift();_=this.empty();if(_){this.Events.trigger("empty")}if(v===0){this.Events.trigger("depleted",_)}this._run(d,p,S);return this.Promise.resolve(A.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(i,c=0){return this._drainOne(i).then((d=>{var p;if(d!=null){p=i!=null?i-d:i;return this._drainAll(p,c+d)}else{return this.Promise.resolve(c)}})).catch((i=>this.Events.trigger("error",i)))}_dropAllQueued(i){return this._queues.shiftAll((function(c){return c.doDrop({message:i})}))}stop(i={}){var c,d;i=He.load(i,this.stopDefaults);d=i=>{var c;c=()=>{var c;c=this._states.counts;return c[0]+c[1]+c[2]+c[3]===i};return new this.Promise(((i,d)=>{if(c()){return i()}else{return this.on("done",(()=>{if(c()){this.removeAllListeners("done");return i()}}))}}))};c=i.dropWaitingJobs?(this._run=function(c,d){return d.doDrop({message:i.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var c,p,A;p=this._scheduled;for(c in p){A=p[c];if(this.jobStatus(A.job.options.id)==="RUNNING"){clearTimeout(A.timeout);clearTimeout(A.expiration);A.job.doDrop({message:i.dropErrorMessage})}}this._dropAllQueued(i.dropErrorMessage);return d(0)}))))):this.schedule({priority:De-1,weight:0},(()=>d(1)));this._receive=function(c){return c._reject(new Bottleneck.prototype.BottleneckError(i.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return c}async _addToQueue(i){var c,d,p,A,C,S,v;({args:c,options:A}=i);try{({reachedHWM:C,blocked:d,strategy:v}=await this._store.__submit__(this.queued(),A.weight))}catch(d){p=d;this.Events.trigger("debug",`Could not queue ${A.id}`,{args:c,options:A,error:p});i.doDrop({error:p});return false}if(d){i.doDrop();return true}else if(C){S=v===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(A.priority):v===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(A.priority+1):v===Bottleneck.prototype.strategy.OVERFLOW?i:void 0;if(S!=null){S.doDrop()}if(S==null||v===Bottleneck.prototype.strategy.OVERFLOW){if(S==null){i.doDrop()}return C}}i.doQueue(C,d);this._queues.push(i);await this._drainAll();return C}_receive(i){if(this._states.jobStatus(i.options.id)!=null){i._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${i.options.id})`));return false}else{i.doReceive();return this._submitLock.schedule(this._addToQueue,i)}}submit(...i){var c,d,p,A,C,S,v;if(typeof i[0]==="function"){C=i,[d,...i]=C,[c]=je.call(i,-1);A=He.load({},this.jobDefaults)}else{S=i,[A,d,...i]=S,[c]=je.call(i,-1);A=He.load(A,this.jobDefaults)}v=(...i)=>new this.Promise((function(c,p){return d(...i,(function(...i){return(i[0]!=null?p:c)(i)}))}));p=new Pe(v,i,A,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);p.promise.then((function(i){return typeof c==="function"?c(...i):void 0})).catch((function(i){if(Array.isArray(i)){return typeof c==="function"?c(...i):void 0}else{return typeof c==="function"?c(i):void 0}}));return this._receive(p)}schedule(...i){var c,d,p;if(typeof i[0]==="function"){[p,...i]=i;d={}}else{[d,p,...i]=i}c=new Pe(p,i,d,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(c);return c.promise}wrap(i){var c,d;c=this.schedule.bind(this);d=function(...d){return c(i.bind(this),...d)};d.withOptions=function(d,...p){return c(d,i,...p)};return d}async updateSettings(i={}){await this._store.__updateSettings__(He.overwrite(i,this.storeDefaults));He.overwrite(i,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(i=0){return this._store.__incrementReservoir__(i)}}Bottleneck.default=Bottleneck;Bottleneck.Events=xe;Bottleneck.version=Bottleneck.prototype.version=Qe.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=Z;Bottleneck.Group=Bottleneck.prototype.Group=ve;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=Ne;Bottleneck.prototype.jobDefaults={priority:ke,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(i);var qe=Te;var Ge=qe;return Ge}))},94691:(i,c,d)=>{var p=d(59380);i.exports=expandTop;var A="\0SLASH"+Math.random()+"\0";var C="\0OPEN"+Math.random()+"\0";var S="\0CLOSE"+Math.random()+"\0";var v="\0COMMA"+Math.random()+"\0";var _="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(A).split("\\{").join(C).split("\\}").join(S).split("\\,").join(v).split("\\.").join(_)}function unescapeBraces(i){return i.split(A).join("\\").split(C).join("{").split(S).join("}").split(v).join(",").split(_).join(".")}function parseCommaParts(i){if(!i)return[""];var c=[];var d=p("{","}",i);if(!d)return i.split(",");var A=d.pre;var C=d.body;var S=d.post;var v=A.split(",");v[v.length-1]+="{"+C+"}";var _=parseCommaParts(S);if(S.length){v[v.length-1]+=_.shift();v.push.apply(v,_)}c.push.apply(c,v);return c}function expandTop(i){if(!i)return[];if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),true).map(unescapeBraces)}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,c){return i<=c}function gte(i,c){return i>=c}function expand(i,c){var d=[];var A=p("{","}",i);if(!A)return[i];var C=A.pre;var v=A.post.length?expand(A.post,false):[""];if(/\$$/.test(A.pre)){for(var _=0;_<v.length;_++){var T=C+"{"+A.body+"}"+v[_];d.push(T)}}else{var V=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body);var Z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body);var ee=V||Z;var te=A.body.indexOf(",")>=0;if(!ee&&!te){if(A.post.match(/,.*\}/)){i=A.pre+"{"+A.body+S+A.post;return expand(i)}return[i]}var re;if(ee){re=A.body.split(/\.\./)}else{re=parseCommaParts(A.body);if(re.length===1){re=expand(re[0],false).map(embrace);if(re.length===1){return v.map((function(i){return A.pre+re[0]+i}))}}}var ne;if(ee){var ie=numeric(re[0]);var se=numeric(re[1]);var oe=Math.max(re[0].length,re[1].length);var ae=re.length==3?Math.abs(numeric(re[2])):1;var le=lte;var ce=se<ie;if(ce){ae*=-1;le=gte}var ue=re.some(isPadded);ne=[];for(var de=ie;le(de,se);de+=ae){var fe;if(Z){fe=String.fromCharCode(de);if(fe==="\\")fe=""}else{fe=String(de);if(ue){var pe=oe-fe.length;if(pe>0){var Ae=new Array(pe+1).join("0");if(de<0)fe="-"+Ae+fe.slice(1);else fe=Ae+fe}}}ne.push(fe)}}else{ne=[];for(var he=0;he<re.length;he++){ne.push.apply(ne,expand(re[he],false))}}for(var he=0;he<ne.length;he++){for(var _=0;_<v.length;_++){var T=C+ne[he]+v[_];if(!c||ee||T)d.push(T)}}}return d}},86627:i=>{i.exports=Buffers;function Buffers(i){if(!(this instanceof Buffers))return new Buffers(i);this.buffers=i||[];this.length=this.buffers.reduce((function(i,c){return i+c.length}),0)}Buffers.prototype.push=function(){for(var i=0;i<arguments.length;i++){if(!Buffer.isBuffer(arguments[i])){throw new TypeError("Tried to push a non-buffer")}}for(var i=0;i<arguments.length;i++){var c=arguments[i];this.buffers.push(c);this.length+=c.length}return this.length};Buffers.prototype.unshift=function(){for(var i=0;i<arguments.length;i++){if(!Buffer.isBuffer(arguments[i])){throw new TypeError("Tried to unshift a non-buffer")}}for(var i=0;i<arguments.length;i++){var c=arguments[i];this.buffers.unshift(c);this.length+=c.length}return this.length};Buffers.prototype.copy=function(i,c,d,p){return this.slice(d,p).copy(i,c,0,p-d)};Buffers.prototype.splice=function(i,c){var d=this.buffers;var p=i>=0?i:this.length-i;var A=[].slice.call(arguments,2);if(c===undefined){c=this.length-p}else if(c>this.length-p){c=this.length-p}for(var i=0;i<A.length;i++){this.length+=A[i].length}var C=new Buffers;var S=0;var v=0;for(var _=0;_<d.length&&v+d[_].length<p;_++){v+=d[_].length}if(p-v>0){var T=p-v;if(T+c<d[_].length){C.push(d[_].slice(T,T+c));var V=d[_];var Z=new Buffer(T);for(var i=0;i<T;i++){Z[i]=V[i]}var ee=new Buffer(V.length-T-c);for(var i=T+c;i<V.length;i++){ee[i-c-T]=V[i]}if(A.length>0){var te=A.slice();te.unshift(Z);te.push(ee);d.splice.apply(d,[_,1].concat(te));_+=te.length;A=[]}else{d.splice(_,1,Z,ee);_+=2}}else{C.push(d[_].slice(T));d[_]=d[_].slice(0,T);_++}}if(A.length>0){d.splice.apply(d,[_,0].concat(A));_+=A.length}while(C.length<c){var re=d[_];var ne=re.length;var ie=Math.min(ne,c-C.length);if(ie===ne){C.push(re);d.splice(_,1)}else{C.push(re.slice(0,ie));d[_]=d[_].slice(ie)}}this.length-=C.length;return C};Buffers.prototype.slice=function(i,c){var d=this.buffers;if(c===undefined)c=this.length;if(i===undefined)i=0;if(c>this.length)c=this.length;var p=0;for(var A=0;A<d.length&&p+d[A].length<=i;A++){p+=d[A].length}var C=new Buffer(c-i);var S=0;for(var v=A;S<c-i&&v<d.length;v++){var _=d[v].length;var T=S===0?i-p:0;var V=S+_>=c-i?Math.min(T+(c-i)-S,_):_;d[v].copy(C,S,T,V);S+=V-T}return C};Buffers.prototype.pos=function(i){if(i<0||i>=this.length)throw new Error("oob");var c=i,d=0,p=null;for(;;){p=this.buffers[d];if(c<p.length){return{buf:d,offset:c}}else{c-=p.length}d++}};Buffers.prototype.get=function get(i){var c=this.pos(i);return this.buffers[c.buf].get(c.offset)};Buffers.prototype.set=function set(i,c){var d=this.pos(i);return this.buffers[d.buf].set(d.offset,c)};Buffers.prototype.indexOf=function(i,c){if("string"===typeof i){i=new Buffer(i)}else if(i instanceof Buffer){}else{throw new Error("Invalid type for a search string")}if(!i.length){return 0}if(!this.length){return-1}var d=0,p=0,A=0,C,S=0;if(c){var v=this.pos(c);d=v.buf;p=v.offset;S=c}for(;;){while(p>=this.buffers[d].length){p=0;d++;if(d>=this.buffers.length){return-1}}var _=this.buffers[d][p];if(_==i[A]){if(A==0){C={i:d,j:p,pos:S}}A++;if(A==i.length){return C.pos}}else if(A!=0){d=C.i;p=C.j;S=C.pos;A=0}p++;S++}};Buffers.prototype.toBuffer=function(){return this.slice()};Buffers.prototype.toString=function(i,c,d){return this.slice(c,d).toString(i)}},71710:(i,c,d)=>{var p=d(62958);var A=d(24434).EventEmitter;i.exports=Chainsaw;function Chainsaw(i){var c=Chainsaw.saw(i,{});var d=i.call(c.handlers,c);if(d!==undefined)c.handlers=d;c.record();return c.chain()}Chainsaw.light=function ChainsawLight(i){var c=Chainsaw.saw(i,{});var d=i.call(c.handlers,c);if(d!==undefined)c.handlers=d;return c.chain()};Chainsaw.saw=function(i,c){var d=new A;d.handlers=c;d.actions=[];d.chain=function(){var i=p(d.handlers).map((function(c){if(this.isRoot)return c;var p=this.path;if(typeof c==="function"){this.update((function(){d.actions.push({path:p,args:[].slice.call(arguments)});return i}))}}));process.nextTick((function(){d.emit("begin");d.next()}));return i};d.pop=function(){return d.actions.shift()};d.next=function(){var i=d.pop();if(!i){d.emit("end")}else if(!i.trap){var c=d.handlers;i.path.forEach((function(i){c=c[i]}));c.apply(d.handlers,i.args)}};d.nest=function(c){var p=[].slice.call(arguments,1);var A=true;if(typeof c==="boolean"){var A=c;c=p.shift()}var C=Chainsaw.saw(i,{});var S=i.call(C.handlers,C);if(S!==undefined)C.handlers=S;if("undefined"!==typeof d.step){C.record()}c.apply(C.chain(),p);if(A!==false)C.on("end",d.next)};d.record=function(){upgradeChainsaw(d)};["trap","down","jump"].forEach((function(i){d[i]=function(){throw new Error("To use the trap, down and jump features, please "+"call record() first to start recording actions.")}}));return d};function upgradeChainsaw(i){i.step=0;i.pop=function(){return i.actions[i.step++]};i.trap=function(c,d){var p=Array.isArray(c)?c:[c];i.actions.push({path:p,step:i.step,cb:d,trap:true})};i.down=function(c){var d=(Array.isArray(c)?c:[c]).join("/");var p=i.actions.slice(i.step).map((function(c){if(c.trap&&c.step<=i.step)return false;return c.path.join("/")==d})).indexOf(true);if(p>=0)i.step+=p;else i.step=i.actions.length;var A=i.actions[i.step-1];if(A&&A.trap){i.step=A.step;A.cb()}else i.next()};i.jump=function(c){i.step=c;i.next()}}},96070:i=>{var c=i.exports=function(){};c.prototype.getName=function(){};c.prototype.getSize=function(){};c.prototype.getLastModifiedDate=function(){};c.prototype.isDirectory=function(){}},36306:(i,c,d)=>{var p=d(39023).inherits;var A=d(96543);var C=d(29963).Transform;var S=d(96070);var v=d(18300);var _=i.exports=function(i){if(!(this instanceof _)){return new _(i)}C.call(this,i);this.offset=0;this._archive={finish:false,finished:false,processing:false}};p(_,C);_.prototype._appendBuffer=function(i,c,d){};_.prototype._appendStream=function(i,c,d){};_.prototype._emitErrorCallback=function(i){if(i){this.emit("error",i)}};_.prototype._finish=function(i){};_.prototype._normalizeEntry=function(i){};_.prototype._transform=function(i,c,d){d(null,i)};_.prototype.entry=function(i,c,d){c=c||null;if(typeof d!=="function"){d=this._emitErrorCallback.bind(this)}if(!(i instanceof S)){d(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){d(new Error("unacceptable entry after finish"));return}if(this._archive.processing){d(new Error("already processing an entry"));return}this._archive.processing=true;this._normalizeEntry(i);this._entry=i;c=v.normalizeInputSource(c);if(Buffer.isBuffer(c)){this._appendBuffer(i,c,d)}else if(A(c)){this._appendStream(i,c,d)}else{this._archive.processing=false;d(new Error("input source must be valid Stream or Buffer instance"));return}return this};_.prototype.finish=function(){if(this._archive.processing){this._archive.finish=true;return}this._finish()};_.prototype.getBytesWritten=function(){return this.offset};_.prototype.write=function(i,c){if(i){this.offset+=i.length}return C.prototype.write.call(this,i,c)}},94908:i=>{i.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}},97632:(i,c,d)=>{var p=d(6453);var A=1<<3;var C=1<<0;var S=1<<2;var v=1<<1;var _=1<<6;var T=1<<11;var V=i.exports=function(){if(!(this instanceof V)){return new V}this.descriptor=false;this.encryption=false;this.utf8=false;this.numberOfShannonFanoTrees=0;this.strongEncryption=false;this.slidingDictionarySize=0;return this};V.prototype.encode=function(){return p.getShortBytes((this.descriptor?A:0)|(this.utf8?T:0)|(this.encryption?C:0)|(this.strongEncryption?_:0))};V.prototype.parse=function(i,c){var d=p.getShortBytesValue(i,c);var Z=new V;Z.useDataDescriptor((d&A)!==0);Z.useUTF8ForNames((d&T)!==0);Z.useStrongEncryption((d&_)!==0);Z.useEncryption((d&C)!==0);Z.setSlidingDictionarySize((d&v)!==0?8192:4096);Z.setNumberOfShannonFanoTrees((d&S)!==0?3:2);return Z};V.prototype.setNumberOfShannonFanoTrees=function(i){this.numberOfShannonFanoTrees=i};V.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};V.prototype.setSlidingDictionarySize=function(i){this.slidingDictionarySize=i};V.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};V.prototype.useDataDescriptor=function(i){this.descriptor=i};V.prototype.usesDataDescriptor=function(){return this.descriptor};V.prototype.useEncryption=function(i){this.encryption=i};V.prototype.usesEncryption=function(){return this.encryption};V.prototype.useStrongEncryption=function(i){this.strongEncryption=i};V.prototype.usesStrongEncryption=function(){return this.strongEncryption};V.prototype.useUTF8ForNames=function(i){this.utf8=i};V.prototype.usesUTF8ForNames=function(){return this.utf8}},23810:i=>{i.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}},6453:i=>{var c=i.exports={};c.dateToDos=function(i,c){c=c||false;var d=c?i.getFullYear():i.getUTCFullYear();if(d<1980){return 2162688}else if(d>=2044){return 2141175677}var p={year:d,month:c?i.getMonth():i.getUTCMonth(),date:c?i.getDate():i.getUTCDate(),hours:c?i.getHours():i.getUTCHours(),minutes:c?i.getMinutes():i.getUTCMinutes(),seconds:c?i.getSeconds():i.getUTCSeconds()};return p.year-1980<<25|p.month+1<<21|p.date<<16|p.hours<<11|p.minutes<<5|p.seconds/2};c.dosToDate=function(i){return new Date((i>>25&127)+1980,(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(i&31)<<1)};c.fromDosTime=function(i){return c.dosToDate(i.readUInt32LE(0))};c.getEightBytes=function(i){var c=Buffer.alloc(8);c.writeUInt32LE(i%4294967296,0);c.writeUInt32LE(i/4294967296|0,4);return c};c.getShortBytes=function(i){var c=Buffer.alloc(2);c.writeUInt16LE((i&65535)>>>0,0);return c};c.getShortBytesValue=function(i,c){return i.readUInt16LE(c)};c.getLongBytes=function(i){var c=Buffer.alloc(4);c.writeUInt32LE((i&4294967295)>>>0,0);return c};c.getLongBytesValue=function(i,c){return i.readUInt32LE(c)};c.toDosTime=function(i){return c.getLongBytes(c.dateToDos(i))}},73380:(i,c,d)=>{var p=d(39023).inherits;var A=d(56133);var C=d(96070);var S=d(97632);var v=d(23810);var _=d(94908);var T=d(6453);var V=i.exports=function(i){if(!(this instanceof V)){return new V(i)}C.call(this);this.platform=_.PLATFORM_FAT;this.method=-1;this.name=null;this.size=0;this.csize=0;this.gpb=new S;this.crc=0;this.time=-1;this.minver=_.MIN_VERSION_INITIAL;this.mode=-1;this.extra=null;this.exattr=0;this.inattr=0;this.comment=null;if(i){this.setName(i)}};p(V,C);V.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};V.prototype.getComment=function(){return this.comment!==null?this.comment:""};V.prototype.getCompressedSize=function(){return this.csize};V.prototype.getCrc=function(){return this.crc};V.prototype.getExternalAttributes=function(){return this.exattr};V.prototype.getExtra=function(){return this.extra!==null?this.extra:_.EMPTY};V.prototype.getGeneralPurposeBit=function(){return this.gpb};V.prototype.getInternalAttributes=function(){return this.inattr};V.prototype.getLastModifiedDate=function(){return this.getTime()};V.prototype.getLocalFileDataExtra=function(){return this.getExtra()};V.prototype.getMethod=function(){return this.method};V.prototype.getName=function(){return this.name};V.prototype.getPlatform=function(){return this.platform};V.prototype.getSize=function(){return this.size};V.prototype.getTime=function(){return this.time!==-1?T.dosToDate(this.time):-1};V.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};V.prototype.getUnixMode=function(){return this.platform!==_.PLATFORM_UNIX?0:this.getExternalAttributes()>>_.SHORT_SHIFT&_.SHORT_MASK};V.prototype.getVersionNeededToExtract=function(){return this.minver};V.prototype.setComment=function(i){if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.comment=i};V.prototype.setCompressedSize=function(i){if(i<0){throw new Error("invalid entry compressed size")}this.csize=i};V.prototype.setCrc=function(i){if(i<0){throw new Error("invalid entry crc32")}this.crc=i};V.prototype.setExternalAttributes=function(i){this.exattr=i>>>0};V.prototype.setExtra=function(i){this.extra=i};V.prototype.setGeneralPurposeBit=function(i){if(!(i instanceof S)){throw new Error("invalid entry GeneralPurposeBit")}this.gpb=i};V.prototype.setInternalAttributes=function(i){this.inattr=i};V.prototype.setMethod=function(i){if(i<0){throw new Error("invalid entry compression method")}this.method=i};V.prototype.setName=function(i,c=false){i=A(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"");if(c){i=`/${i}`}if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.name=i};V.prototype.setPlatform=function(i){this.platform=i};V.prototype.setSize=function(i){if(i<0){throw new Error("invalid entry size")}this.size=i};V.prototype.setTime=function(i,c){if(!(i instanceof Date)){throw new Error("invalid entry time")}this.time=T.dateToDos(i,c)};V.prototype.setUnixMode=function(i){i|=this.isDirectory()?_.S_IFDIR:_.S_IFREG;var c=0;c|=i<<_.SHORT_SHIFT|(this.isDirectory()?_.S_DOS_D:_.S_DOS_A);this.setExternalAttributes(c);this.mode=i&_.MODE_MASK;this.platform=_.PLATFORM_UNIX};V.prototype.setVersionNeededToExtract=function(i){this.minver=i};V.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};V.prototype.isUnixSymlink=function(){return(this.getUnixMode()&v.FILE_TYPE_FLAG)===v.LINK_FLAG};V.prototype.isZip64=function(){return this.csize>_.ZIP64_MAGIC||this.size>_.ZIP64_MAGIC}},82132:(i,c,d)=>{var p=d(39023).inherits;var A=d(84891);var{CRC32Stream:C}=d(82770);var{DeflateCRC32Stream:S}=d(82770);var v=d(36306);var _=d(73380);var T=d(97632);var V=d(94908);var Z=d(18300);var ee=d(6453);var te=i.exports=function(i){if(!(this instanceof te)){return new te(i)}i=this.options=this._defaults(i);v.call(this,i);this._entry=null;this._entries=[];this._archive={centralLength:0,centralOffset:0,comment:"",finish:false,finished:false,processing:false,forceZip64:i.forceZip64,forceLocalTime:i.forceLocalTime}};p(te,v);te.prototype._afterAppend=function(i){this._entries.push(i);if(i.getGeneralPurposeBit().usesDataDescriptor()){this._writeDataDescriptor(i)}this._archive.processing=false;this._entry=null;if(this._archive.finish&&!this._archive.finished){this._finish()}};te.prototype._appendBuffer=function(i,c,d){if(c.length===0){i.setMethod(V.METHOD_STORED)}var p=i.getMethod();if(p===V.METHOD_STORED){i.setSize(c.length);i.setCompressedSize(c.length);i.setCrc(A.buf(c)>>>0)}this._writeLocalFileHeader(i);if(p===V.METHOD_STORED){this.write(c);this._afterAppend(i);d(null,i);return}else if(p===V.METHOD_DEFLATED){this._smartStream(i,d).end(c);return}else{d(new Error("compression method "+p+" not implemented"));return}};te.prototype._appendStream=function(i,c,d){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(V.MIN_VERSION_DATA_DESCRIPTOR);this._writeLocalFileHeader(i);var p=this._smartStream(i,d);c.once("error",(function(i){p.emit("error",i);p.end()}));c.pipe(p)};te.prototype._defaults=function(i){if(typeof i!=="object"){i={}}if(typeof i.zlib!=="object"){i.zlib={}}if(typeof i.zlib.level!=="number"){i.zlib.level=V.ZLIB_BEST_SPEED}i.forceZip64=!!i.forceZip64;i.forceLocalTime=!!i.forceLocalTime;return i};te.prototype._finish=function(){this._archive.centralOffset=this.offset;this._entries.forEach(function(i){this._writeCentralFileHeader(i)}.bind(this));this._archive.centralLength=this.offset-this._archive.centralOffset;if(this.isZip64()){this._writeCentralDirectoryZip64()}this._writeCentralDirectoryEnd();this._archive.processing=false;this._archive.finish=true;this._archive.finished=true;this.end()};te.prototype._normalizeEntry=function(i){if(i.getMethod()===-1){i.setMethod(V.METHOD_DEFLATED)}if(i.getMethod()===V.METHOD_DEFLATED){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(V.MIN_VERSION_DATA_DESCRIPTOR)}if(i.getTime()===-1){i.setTime(new Date,this._archive.forceLocalTime)}i._offsets={file:0,data:0,contents:0}};te.prototype._smartStream=function(i,c){var d=i.getMethod()===V.METHOD_DEFLATED;var p=d?new S(this.options.zlib):new C;var A=null;function handleStuff(){var d=p.digest().readUInt32BE(0);i.setCrc(d);i.setSize(p.size());i.setCompressedSize(p.size(true));this._afterAppend(i);c(A,i)}p.once("end",handleStuff.bind(this));p.once("error",(function(i){A=i}));p.pipe(this,{end:false});return p};te.prototype._writeCentralDirectoryEnd=function(){var i=this._entries.length;var c=this._archive.centralLength;var d=this._archive.centralOffset;if(this.isZip64()){i=V.ZIP64_MAGIC_SHORT;c=V.ZIP64_MAGIC;d=V.ZIP64_MAGIC}this.write(ee.getLongBytes(V.SIG_EOCD));this.write(V.SHORT_ZERO);this.write(V.SHORT_ZERO);this.write(ee.getShortBytes(i));this.write(ee.getShortBytes(i));this.write(ee.getLongBytes(c));this.write(ee.getLongBytes(d));var p=this.getComment();var A=Buffer.byteLength(p);this.write(ee.getShortBytes(A));this.write(p)};te.prototype._writeCentralDirectoryZip64=function(){this.write(ee.getLongBytes(V.SIG_ZIP64_EOCD));this.write(ee.getEightBytes(44));this.write(ee.getShortBytes(V.MIN_VERSION_ZIP64));this.write(ee.getShortBytes(V.MIN_VERSION_ZIP64));this.write(V.LONG_ZERO);this.write(V.LONG_ZERO);this.write(ee.getEightBytes(this._entries.length));this.write(ee.getEightBytes(this._entries.length));this.write(ee.getEightBytes(this._archive.centralLength));this.write(ee.getEightBytes(this._archive.centralOffset));this.write(ee.getLongBytes(V.SIG_ZIP64_EOCD_LOC));this.write(V.LONG_ZERO);this.write(ee.getEightBytes(this._archive.centralOffset+this._archive.centralLength));this.write(ee.getLongBytes(1))};te.prototype._writeCentralFileHeader=function(i){var c=i.getGeneralPurposeBit();var d=i.getMethod();var p=i._offsets.file;var A=i.getSize();var C=i.getCompressedSize();if(i.isZip64()||p>V.ZIP64_MAGIC){A=V.ZIP64_MAGIC;C=V.ZIP64_MAGIC;p=V.ZIP64_MAGIC;i.setVersionNeededToExtract(V.MIN_VERSION_ZIP64);var S=Buffer.concat([ee.getShortBytes(V.ZIP64_EXTRA_ID),ee.getShortBytes(24),ee.getEightBytes(i.getSize()),ee.getEightBytes(i.getCompressedSize()),ee.getEightBytes(i._offsets.file)],28);i.setExtra(S)}this.write(ee.getLongBytes(V.SIG_CFH));this.write(ee.getShortBytes(i.getPlatform()<<8|V.VERSION_MADEBY));this.write(ee.getShortBytes(i.getVersionNeededToExtract()));this.write(c.encode());this.write(ee.getShortBytes(d));this.write(ee.getLongBytes(i.getTimeDos()));this.write(ee.getLongBytes(i.getCrc()));this.write(ee.getLongBytes(C));this.write(ee.getLongBytes(A));var v=i.getName();var _=i.getComment();var T=i.getCentralDirectoryExtra();if(c.usesUTF8ForNames()){v=Buffer.from(v);_=Buffer.from(_)}this.write(ee.getShortBytes(v.length));this.write(ee.getShortBytes(T.length));this.write(ee.getShortBytes(_.length));this.write(V.SHORT_ZERO);this.write(ee.getShortBytes(i.getInternalAttributes()));this.write(ee.getLongBytes(i.getExternalAttributes()));this.write(ee.getLongBytes(p));this.write(v);this.write(T);this.write(_)};te.prototype._writeDataDescriptor=function(i){this.write(ee.getLongBytes(V.SIG_DD));this.write(ee.getLongBytes(i.getCrc()));if(i.isZip64()){this.write(ee.getEightBytes(i.getCompressedSize()));this.write(ee.getEightBytes(i.getSize()))}else{this.write(ee.getLongBytes(i.getCompressedSize()));this.write(ee.getLongBytes(i.getSize()))}};te.prototype._writeLocalFileHeader=function(i){var c=i.getGeneralPurposeBit();var d=i.getMethod();var p=i.getName();var A=i.getLocalFileDataExtra();if(i.isZip64()){c.useDataDescriptor(true);i.setVersionNeededToExtract(V.MIN_VERSION_ZIP64)}if(c.usesUTF8ForNames()){p=Buffer.from(p)}i._offsets.file=this.offset;this.write(ee.getLongBytes(V.SIG_LFH));this.write(ee.getShortBytes(i.getVersionNeededToExtract()));this.write(c.encode());this.write(ee.getShortBytes(d));this.write(ee.getLongBytes(i.getTimeDos()));i._offsets.data=this.offset;if(c.usesDataDescriptor()){this.write(V.LONG_ZERO);this.write(V.LONG_ZERO);this.write(V.LONG_ZERO)}else{this.write(ee.getLongBytes(i.getCrc()));this.write(ee.getLongBytes(i.getCompressedSize()));this.write(ee.getLongBytes(i.getSize()))}this.write(ee.getShortBytes(p.length));this.write(ee.getShortBytes(A.length));this.write(p);this.write(A);i._offsets.contents=this.offset};te.prototype.getComment=function(i){return this._archive.comment!==null?this._archive.comment:""};te.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>V.ZIP64_MAGIC_SHORT||this._archive.centralLength>V.ZIP64_MAGIC||this._archive.centralOffset>V.ZIP64_MAGIC};te.prototype.setComment=function(i){this._archive.comment=i}},25163:(i,c,d)=>{i.exports={ArchiveEntry:d(96070),ZipArchiveEntry:d(73380),ArchiveOutputStream:d(36306),ZipArchiveOutputStream:d(82132)}},18300:(i,c,d)=>{var p=d(2203).Stream;var A=d(29963).PassThrough;var C=d(96543);var S=i.exports={};S.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(C(i)&&!i._readableState){var c=new A;i.pipe(c);return c}return i}},97087:i=>{i.exports=function(i,d){var p=[];for(var A=0;A<i.length;A++){var C=d(i[A],A);if(c(C))p.push.apply(p,C);else p.push(C)}return p};var c=Array.isArray||function(i){return Object.prototype.toString.call(i)==="[object Array]"}},45481:(i,c,d)=>{function isArray(i){if(Array.isArray){return Array.isArray(i)}return objectToString(i)==="[object Array]"}c.isArray=isArray;function isBoolean(i){return typeof i==="boolean"}c.isBoolean=isBoolean;function isNull(i){return i===null}c.isNull=isNull;function isNullOrUndefined(i){return i==null}c.isNullOrUndefined=isNullOrUndefined;function isNumber(i){return typeof i==="number"}c.isNumber=isNumber;function isString(i){return typeof i==="string"}c.isString=isString;function isSymbol(i){return typeof i==="symbol"}c.isSymbol=isSymbol;function isUndefined(i){return i===void 0}c.isUndefined=isUndefined;function isRegExp(i){return objectToString(i)==="[object RegExp]"}c.isRegExp=isRegExp;function isObject(i){return typeof i==="object"&&i!==null}c.isObject=isObject;function isDate(i){return objectToString(i)==="[object Date]"}c.isDate=isDate;function isError(i){return objectToString(i)==="[object Error]"||i instanceof Error}c.isError=isError;function isFunction(i){return typeof i==="function"}c.isFunction=isFunction;function isPrimitive(i){return i===null||typeof i==="boolean"||typeof i==="number"||typeof i==="string"||typeof i==="symbol"||typeof i==="undefined"}c.isPrimitive=isPrimitive;c.isBuffer=d(20181).Buffer.isBuffer;function objectToString(i){return Object.prototype.toString.call(i)}},84891:(i,c)=>{
|
||
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
||
var d;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(c)}else{}}else{i(d={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,c=new Array(256);for(var d=0;d!=256;++d){i=d;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;c[d]=i}return typeof Int32Array!=="undefined"?new Int32Array(c):c}var c=signed_crc_table();function slice_by_16_tables(i){var c=0,d=0,p=0,A=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(p=0;p!=256;++p)A[p]=i[p];for(p=0;p!=256;++p){d=i[p];for(c=256+p;c<4096;c+=256)d=A[c]=d>>>8^i[d&255]}var C=[];for(p=1;p!=16;++p)C[p-1]=typeof Int32Array!=="undefined"?A.subarray(p*256,p*256+256):A.slice(p*256,p*256+256);return C}var d=slice_by_16_tables(c);var p=d[0],A=d[1],C=d[2],S=d[3],v=d[4];var _=d[5],T=d[6],V=d[7],Z=d[8],ee=d[9];var te=d[10],re=d[11],ne=d[12],ie=d[13],se=d[14];function crc32_bstr(i,d){var p=d^-1;for(var A=0,C=i.length;A<C;)p=p>>>8^c[(p^i.charCodeAt(A++))&255];return~p}function crc32_buf(i,d){var oe=d^-1,ae=i.length-15,le=0;for(;le<ae;)oe=se[i[le++]^oe&255]^ie[i[le++]^oe>>8&255]^ne[i[le++]^oe>>16&255]^re[i[le++]^oe>>>24]^te[i[le++]]^ee[i[le++]]^Z[i[le++]]^V[i[le++]]^T[i[le++]]^_[i[le++]]^v[i[le++]]^S[i[le++]]^C[i[le++]]^A[i[le++]]^p[i[le++]]^c[i[le++]];ae+=15;while(le<ae)oe=oe>>>8^c[(oe^i[le++])&255];return~oe}function crc32_str(i,d){var p=d^-1;for(var A=0,C=i.length,S=0,v=0;A<C;){S=i.charCodeAt(A++);if(S<128){p=p>>>8^c[(p^S)&255]}else if(S<2048){p=p>>>8^c[(p^(192|S>>6&31))&255];p=p>>>8^c[(p^(128|S&63))&255]}else if(S>=55296&&S<57344){S=(S&1023)+64;v=i.charCodeAt(A++)&1023;p=p>>>8^c[(p^(240|S>>8&7))&255];p=p>>>8^c[(p^(128|S>>2&63))&255];p=p>>>8^c[(p^(128|v>>6&15|(S&3)<<4))&255];p=p>>>8^c[(p^(128|v&63))&255]}else{p=p>>>8^c[(p^(224|S>>12&15))&255];p=p>>>8^c[(p^(128|S>>6&63))&255];p=p>>>8^c[(p^(128|S&63))&255]}}return~p}i.table=c;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,c,d)=>{"use strict";const{Transform:p}=d(29963);const A=d(84891);class CRC32Stream extends p{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,c,d){if(i){this.checksum=A.buf(i,this.checksum)>>>0;this.rawSize+=i.length}d(null,i)}digest(i){const c=Buffer.allocUnsafe(4);c.writeUInt32BE(this.checksum>>>0,0);return i?c.toString(i):c}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,c,d)=>{"use strict";const{DeflateRaw:p}=d(43106);const A=d(84891);class DeflateCRC32Stream extends p{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,c){if(i){this.compressedSize+=i.length}return super.push(i,c)}_transform(i,c,d){if(i){this.checksum=A.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,c,d)}digest(i){const c=Buffer.allocUnsafe(4);c.writeUInt32BE(this.checksum>>>0,0);return i?c.toString(i):c}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,c,d)=>{"use strict";i.exports={CRC32Stream:d(3662),DeflateCRC32Stream:d(76252)}},66867:i=>{var c=1e3;var d=c*60;var p=d*60;var A=p*24;var C=A*7;var S=A*365.25;i.exports=function(i,c){c=c||{};var d=typeof i;if(d==="string"&&i.length>0){return parse(i)}else if(d==="number"&&isFinite(i)){return c.long?fmtLong(i):fmtShort(i)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function parse(i){i=String(i);if(i.length>100){return}var v=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!v){return}var _=parseFloat(v[1]);var T=(v[2]||"ms").toLowerCase();switch(T){case"years":case"year":case"yrs":case"yr":case"y":return _*S;case"weeks":case"week":case"w":return _*C;case"days":case"day":case"d":return _*A;case"hours":case"hour":case"hrs":case"hr":case"h":return _*p;case"minutes":case"minute":case"mins":case"min":case"m":return _*d;case"seconds":case"second":case"secs":case"sec":case"s":return _*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return undefined}}function fmtShort(i){var C=Math.abs(i);if(C>=A){return Math.round(i/A)+"d"}if(C>=p){return Math.round(i/p)+"h"}if(C>=d){return Math.round(i/d)+"m"}if(C>=c){return Math.round(i/c)+"s"}return i+"ms"}function fmtLong(i){var C=Math.abs(i);if(C>=A){return plural(i,C,A,"day")}if(C>=p){return plural(i,C,p,"hour")}if(C>=d){return plural(i,C,d,"minute")}if(C>=c){return plural(i,C,c,"second")}return i+" ms"}function plural(i,c,d,p){var A=c>=d*1.5;return Math.round(i/d)+" "+p+(A?"s":"")}},6110:(i,c,d)=>{c.formatArgs=formatArgs;c.save=save;c.load=load;c.useColors=useColors;c.storage=localstorage();c.destroy=(()=>{let i=false;return()=>{if(!i){i=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();c.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}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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(c){c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+i.exports.humanize(this.diff);if(!this.useColors){return}const d="color: "+this.color;c.splice(1,0,d,"color: inherit");let p=0;let A=0;c[0].replace(/%[a-zA-Z%]/g,(i=>{if(i==="%%"){return}p++;if(i==="%c"){A=p}}));c.splice(A,0,d)}c.log=console.debug||console.log||(()=>{});function save(i){try{if(i){c.storage.setItem("debug",i)}else{c.storage.removeItem("debug")}}catch(i){}}function load(){let i;try{i=c.storage.getItem("debug")}catch(i){}if(!i&&typeof process!=="undefined"&&"env"in process){i=process.env.DEBUG}return i}function localstorage(){try{return localStorage}catch(i){}}i.exports=d(40897)(c);const{formatters:p}=i.exports;p.j=function(i){try{return JSON.stringify(i)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}},40897:(i,c,d)=>{function setup(i){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=d(66867);createDebug.destroy=destroy;Object.keys(i).forEach((c=>{createDebug[c]=i[c]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(i){let c=0;for(let d=0;d<i.length;d++){c=(c<<5)-c+i.charCodeAt(d);c|=0}return createDebug.colors[Math.abs(c)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(i){let c;let d=null;let p;let A;function debug(...i){if(!debug.enabled){return}const d=debug;const p=Number(new Date);const A=p-(c||p);d.diff=A;d.prev=c;d.curr=p;c=p;i[0]=createDebug.coerce(i[0]);if(typeof i[0]!=="string"){i.unshift("%O")}let C=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,((c,p)=>{if(c==="%%"){return"%"}C++;const A=createDebug.formatters[p];if(typeof A==="function"){const p=i[C];c=A.call(d,p);i.splice(C,1);C--}return c}));createDebug.formatArgs.call(d,i);const S=d.log||createDebug.log;S.apply(d,i)}debug.namespace=i;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(i);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(d!==null){return d}if(p!==createDebug.namespaces){p=createDebug.namespaces;A=createDebug.enabled(i)}return A},set:i=>{d=i}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(i,c){const d=createDebug(this.namespace+(typeof c==="undefined"?":":c)+i);d.log=this.log;return d}function enable(i){createDebug.save(i);createDebug.namespaces=i;createDebug.names=[];createDebug.skips=[];let c;const d=(typeof i==="string"?i:"").split(/[\s,]+/);const p=d.length;for(c=0;c<p;c++){if(!d[c]){continue}i=d[c].replace(/\*/g,".*?");if(i[0]==="-"){createDebug.skips.push(new RegExp("^"+i.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+i+"$"))}}}function disable(){const i=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((i=>"-"+i))].join(",");createDebug.enable("");return i}function enabled(i){if(i[i.length-1]==="*"){return true}let c;let d;for(c=0,d=createDebug.skips.length;c<d;c++){if(createDebug.skips[c].test(i)){return false}}for(c=0,d=createDebug.names.length;c<d;c++){if(createDebug.names[c].test(i)){return true}}return false}function toNamespace(i){return i.toString().substring(2,i.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(i){if(i instanceof Error){return i.stack||i.message}return i}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}i.exports=setup},2830:(i,c,d)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){i.exports=d(6110)}else{i.exports=d(95108)}},95108:(i,c,d)=>{const p=d(52018);const A=d(39023);c.init=init;c.log=log;c.formatArgs=formatArgs;c.save=save;c.load=load;c.useColors=useColors;c.destroy=A.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");c.colors=[6,2,3,4,5,1];try{const i=d(21450);if(i&&(i.stderr||i).level>=2){c.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(i){}c.inspectOpts=Object.keys(process.env).filter((i=>/^debug_/i.test(i))).reduce(((i,c)=>{const d=c.substring(6).toLowerCase().replace(/_([a-z])/g,((i,c)=>c.toUpperCase()));let p=process.env[c];if(/^(yes|on|true|enabled)$/i.test(p)){p=true}else if(/^(no|off|false|disabled)$/i.test(p)){p=false}else if(p==="null"){p=null}else{p=Number(p)}i[d]=p;return i}),{});function useColors(){return"colors"in c.inspectOpts?Boolean(c.inspectOpts.colors):p.isatty(process.stderr.fd)}function formatArgs(c){const{namespace:d,useColors:p}=this;if(p){const p=this.color;const A="[3"+(p<8?p:"8;5;"+p);const C=` ${A};1m${d} [0m`;c[0]=C+c[0].split("\n").join("\n"+C);c.push(A+"m+"+i.exports.humanize(this.diff)+"[0m")}else{c[0]=getDate()+d+" "+c[0]}}function getDate(){if(c.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...i){return process.stderr.write(A.format(...i)+"\n")}function save(i){if(i){process.env.DEBUG=i}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(i){i.inspectOpts={};const d=Object.keys(c.inspectOpts);for(let p=0;p<d.length;p++){i.inspectOpts[d[p]]=c.inspectOpts[d[p]]}}i.exports=d(40897)(c);const{formatters:C}=i.exports;C.o=function(i){this.inspectOpts.colors=this.useColors;return A.inspect(i,this.inspectOpts).split("\n").map((i=>i.trim())).join(" ")};C.O=function(i){this.inspectOpts.colors=this.useColors;return A.inspect(i,this.inspectOpts)}},14150:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});class Deprecation extends Error{constructor(i){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}c.Deprecation=Deprecation},16577:(i,c)=>{"use strict";
|
||
/**
|
||
* @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(c,"__esModule",{value:true});const d=new WeakMap;const p=new WeakMap;function pd(i){const c=d.get(i);console.assert(c!=null,"'this' is expected an Event object, but got",i);return c}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,c){d.set(this,{eventTarget:i,event:c,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:c.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const p=Object.keys(c);for(let i=0;i<p.length;++i){const c=p[i];if(!(c in this)){Object.defineProperty(this,c,defineRedirectDescriptor(c))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const i=pd(this).currentTarget;if(i==null){return[]}return[i]},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 i=pd(this);i.stopped=true;if(typeof i.event.stopPropagation==="function"){i.event.stopPropagation()}},stopImmediatePropagation(){const i=pd(this);i.stopped=true;i.immediateStopped=true;if(typeof i.event.stopImmediatePropagation==="function"){i.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(i){if(!i){return}const c=pd(this);c.stopped=true;if(typeof c.event.cancelBubble==="boolean"){c.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(i){if(!i){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);p.set(window.Event.prototype,Event)}function defineRedirectDescriptor(i){return{get(){return pd(this).event[i]},set(c){pd(this).event[i]=c},configurable:true,enumerable:true}}function defineCallDescriptor(i){return{value(){const c=pd(this).event;return c[i].apply(c,arguments)},configurable:true,enumerable:true}}function defineWrapper(i,c){const d=Object.keys(c);if(d.length===0){return i}function CustomEvent(c,d){i.call(this,c,d)}CustomEvent.prototype=Object.create(i.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let p=0;p<d.length;++p){const A=d[p];if(!(A in i.prototype)){const i=Object.getOwnPropertyDescriptor(c,A);const d=typeof i.value==="function";Object.defineProperty(CustomEvent.prototype,A,d?defineCallDescriptor(A):defineRedirectDescriptor(A))}}return CustomEvent}function getWrapper(i){if(i==null||i===Object.prototype){return Event}let c=p.get(i);if(c==null){c=defineWrapper(getWrapper(Object.getPrototypeOf(i)),i);p.set(i,c)}return c}function wrapEvent(i,c){const d=getWrapper(Object.getPrototypeOf(c));return new d(i,c)}function isStopped(i){return pd(i).immediateStopped}function setEventPhase(i,c){pd(i).eventPhase=c}function setCurrentTarget(i,c){pd(i).currentTarget=c}function setPassiveListener(i,c){pd(i).passiveListener=c}const A=new WeakMap;const C=1;const S=2;const v=3;function isObject(i){return i!==null&&typeof i==="object"}function getListeners(i){const c=A.get(i);if(c==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return c}function defineEventAttributeDescriptor(i){return{get(){const c=getListeners(this);let d=c.get(i);while(d!=null){if(d.listenerType===v){return d.listener}d=d.next}return null},set(c){if(typeof c!=="function"&&!isObject(c)){c=null}const d=getListeners(this);let p=null;let A=d.get(i);while(A!=null){if(A.listenerType===v){if(p!==null){p.next=A.next}else if(A.next!==null){d.set(i,A.next)}else{d.delete(i)}}else{p=A}A=A.next}if(c!==null){const A={listener:c,listenerType:v,passive:false,once:false,next:null};if(p===null){d.set(i,A)}else{p.next=A}}},configurable:true,enumerable:true}}function defineEventAttribute(i,c){Object.defineProperty(i,`on${c}`,defineEventAttributeDescriptor(c))}function defineCustomEventTarget(i){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let c=0;c<i.length;++c){defineEventAttribute(CustomEventTarget.prototype,i[c])}return CustomEventTarget}function EventTarget(){if(this instanceof EventTarget){A.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0])){return defineCustomEventTarget(arguments[0])}if(arguments.length>0){const i=new Array(arguments.length);for(let c=0;c<arguments.length;++c){i[c]=arguments[c]}return defineCustomEventTarget(i)}throw new TypeError("Cannot call a class as a function")}EventTarget.prototype={addEventListener(i,c,d){if(c==null){return}if(typeof c!=="function"&&!isObject(c)){throw new TypeError("'listener' should be a function or an object.")}const p=getListeners(this);const A=isObject(d);const v=A?Boolean(d.capture):Boolean(d);const _=v?C:S;const T={listener:c,listenerType:_,passive:A&&Boolean(d.passive),once:A&&Boolean(d.once),next:null};let V=p.get(i);if(V===undefined){p.set(i,T);return}let Z=null;while(V!=null){if(V.listener===c&&V.listenerType===_){return}Z=V;V=V.next}Z.next=T},removeEventListener(i,c,d){if(c==null){return}const p=getListeners(this);const A=isObject(d)?Boolean(d.capture):Boolean(d);const v=A?C:S;let _=null;let T=p.get(i);while(T!=null){if(T.listener===c&&T.listenerType===v){if(_!==null){_.next=T.next}else if(T.next!==null){p.set(i,T.next)}else{p.delete(i)}return}_=T;T=T.next}},dispatchEvent(i){if(i==null||typeof i.type!=="string"){throw new TypeError('"event.type" should be a string.')}const c=getListeners(this);const d=i.type;let p=c.get(d);if(p==null){return true}const A=wrapEvent(this,i);let C=null;while(p!=null){if(p.once){if(C!==null){C.next=p.next}else if(p.next!==null){c.set(d,p.next)}else{c.delete(d)}}else{C=p}setPassiveListener(A,p.passive?p.listener:null);if(typeof p.listener==="function"){try{p.listener.call(this,A)}catch(i){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error(i)}}}else if(p.listenerType!==v&&typeof p.listener.handleEvent==="function"){p.listener.handleEvent(A)}if(isStopped(A)){break}p=p.next}setPassiveListener(A,null);setEventPhase(A,0);setCurrentTarget(A,null);return!A.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)}c.defineEventAttribute=defineEventAttribute;c.EventTarget=EventTarget;c["default"]=EventTarget;i.exports=EventTarget;i.exports.EventTarget=i.exports["default"]=EventTarget;i.exports.defineEventAttribute=defineEventAttribute},13587:i=>{i.exports=class FixedFIFO{constructor(i){if(!(i>0)||(i-1&i)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(i);this.mask=i-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(i){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=i;this.top=this.top+1&this.mask;return true}shift(){const i=this.buffer[this.btm];if(i===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return i}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},83867:(i,c,d)=>{const p=d(13587);i.exports=class FastFIFO{constructor(i){this.hwm=i||16;this.head=new p(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(i){this.length++;if(!this.head.push(i)){const c=this.head;this.head=c.next=new p(2*this.head.buffer.length);this.head.push(i)}}shift(){if(this.length!==0)this.length--;const i=this.tail.shift();if(i===undefined&&this.tail.next){const i=this.tail.next;this.tail.next=null;this.tail=i;return this.tail.shift()}return i}peek(){const i=this.tail.peek();if(i===undefined&&this.tail.next)return this.tail.next.peek();return i}isEmpty(){return this.length===0}}},73964:i=>{"use strict";i.exports=clone;var c=Object.getPrototypeOf||function(i){return i.__proto__};function clone(i){if(i===null||typeof i!=="object")return i;if(i instanceof Object)var d={__proto__:c(i)};else var d=Object.create(null);Object.getOwnPropertyNames(i).forEach((function(c){Object.defineProperty(d,c,Object.getOwnPropertyDescriptor(i,c))}));return d}},35744:(i,c,d)=>{var p=d(79896);var A=d(83501);var C=d(12270);var S=d(73964);var v=d(39023);var _;var T;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){_=Symbol.for("graceful-fs.queue");T=Symbol.for("graceful-fs.previous")}else{_="___graceful-fs.queue";T="___graceful-fs.previous"}function noop(){}function publishQueue(i,c){Object.defineProperty(i,_,{get:function(){return c}})}var V=noop;if(v.debuglog)V=v.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))V=function(){var i=v.format.apply(v,arguments);i="GFS4: "+i.split(/\n/).join("\nGFS4: ");console.error(i)};if(!p[_]){var Z=global[_]||[];publishQueue(p,Z);p.close=function(i){function close(c,d){return i.call(p,c,(function(i){if(!i){resetQueue()}if(typeof d==="function")d.apply(this,arguments)}))}Object.defineProperty(close,T,{value:i});return close}(p.close);p.closeSync=function(i){function closeSync(c){i.apply(p,arguments);resetQueue()}Object.defineProperty(closeSync,T,{value:i});return closeSync}(p.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){V(p[_]);d(42613).equal(p[_].length,0)}))}}if(!global[_]){publishQueue(global,p[_])}i.exports=patch(S(p));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!p.__patched){i.exports=patch(p);p.__patched=true}function patch(i){A(i);i.gracefulify=patch;i.createReadStream=createReadStream;i.createWriteStream=createWriteStream;var c=i.readFile;i.readFile=readFile;function readFile(i,d,p){if(typeof d==="function")p=d,d=null;return go$readFile(i,d,p);function go$readFile(i,d,p,A){return c(i,d,(function(c){if(c&&(c.code==="EMFILE"||c.code==="ENFILE"))enqueue([go$readFile,[i,d,p],c,A||Date.now(),Date.now()]);else{if(typeof p==="function")p.apply(this,arguments)}}))}}var d=i.writeFile;i.writeFile=writeFile;function writeFile(i,c,p,A){if(typeof p==="function")A=p,p=null;return go$writeFile(i,c,p,A);function go$writeFile(i,c,p,A,C){return d(i,c,p,(function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))enqueue([go$writeFile,[i,c,p,A],d,C||Date.now(),Date.now()]);else{if(typeof A==="function")A.apply(this,arguments)}}))}}var p=i.appendFile;if(p)i.appendFile=appendFile;function appendFile(i,c,d,A){if(typeof d==="function")A=d,d=null;return go$appendFile(i,c,d,A);function go$appendFile(i,c,d,A,C){return p(i,c,d,(function(p){if(p&&(p.code==="EMFILE"||p.code==="ENFILE"))enqueue([go$appendFile,[i,c,d,A],p,C||Date.now(),Date.now()]);else{if(typeof A==="function")A.apply(this,arguments)}}))}}var S=i.copyFile;if(S)i.copyFile=copyFile;function copyFile(i,c,d,p){if(typeof d==="function"){p=d;d=0}return go$copyFile(i,c,d,p);function go$copyFile(i,c,d,p,A){return S(i,c,d,(function(C){if(C&&(C.code==="EMFILE"||C.code==="ENFILE"))enqueue([go$copyFile,[i,c,d,p],C,A||Date.now(),Date.now()]);else{if(typeof p==="function")p.apply(this,arguments)}}))}}var v=i.readdir;i.readdir=readdir;var _=/^v[0-5]\./;function readdir(i,c,d){if(typeof c==="function")d=c,c=null;var p=_.test(process.version)?function go$readdir(i,c,d,p){return v(i,fs$readdirCallback(i,c,d,p))}:function go$readdir(i,c,d,p){return v(i,c,fs$readdirCallback(i,c,d,p))};return p(i,c,d);function fs$readdirCallback(i,c,d,A){return function(C,S){if(C&&(C.code==="EMFILE"||C.code==="ENFILE"))enqueue([p,[i,c,d],C,A||Date.now(),Date.now()]);else{if(S&&S.sort)S.sort();if(typeof d==="function")d.call(this,C,S)}}}}if(process.version.substr(0,4)==="v0.8"){var T=C(i);ReadStream=T.ReadStream;WriteStream=T.WriteStream}var V=i.ReadStream;if(V){ReadStream.prototype=Object.create(V.prototype);ReadStream.prototype.open=ReadStream$open}var Z=i.WriteStream;if(Z){WriteStream.prototype=Object.create(Z.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(i,"ReadStream",{get:function(){return ReadStream},set:function(i){ReadStream=i},enumerable:true,configurable:true});Object.defineProperty(i,"WriteStream",{get:function(){return WriteStream},set:function(i){WriteStream=i},enumerable:true,configurable:true});var ee=ReadStream;Object.defineProperty(i,"FileReadStream",{get:function(){return ee},set:function(i){ee=i},enumerable:true,configurable:true});var te=WriteStream;Object.defineProperty(i,"FileWriteStream",{get:function(){return te},set:function(i){te=i},enumerable:true,configurable:true});function ReadStream(i,c){if(this instanceof ReadStream)return V.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(c,d){if(c){if(i.autoClose)i.destroy();i.emit("error",c)}else{i.fd=d;i.emit("open",d);i.read()}}))}function WriteStream(i,c){if(this instanceof WriteStream)return Z.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(c,d){if(c){i.destroy();i.emit("error",c)}else{i.fd=d;i.emit("open",d)}}))}function createReadStream(c,d){return new i.ReadStream(c,d)}function createWriteStream(c,d){return new i.WriteStream(c,d)}var re=i.open;i.open=open;function open(i,c,d,p){if(typeof d==="function")p=d,d=null;return go$open(i,c,d,p);function go$open(i,c,d,p,A){return re(i,c,d,(function(C,S){if(C&&(C.code==="EMFILE"||C.code==="ENFILE"))enqueue([go$open,[i,c,d,p],C,A||Date.now(),Date.now()]);else{if(typeof p==="function")p.apply(this,arguments)}}))}}return i}function enqueue(i){V("ENQUEUE",i[0].name,i[1]);p[_].push(i);retry()}var ee;function resetQueue(){var i=Date.now();for(var c=0;c<p[_].length;++c){if(p[_][c].length>2){p[_][c][3]=i;p[_][c][4]=i}}retry()}function retry(){clearTimeout(ee);ee=undefined;if(p[_].length===0)return;var i=p[_].shift();var c=i[0];var d=i[1];var A=i[2];var C=i[3];var S=i[4];if(C===undefined){V("RETRY",c.name,d);c.apply(null,d)}else if(Date.now()-C>=6e4){V("TIMEOUT",c.name,d);var v=d.pop();if(typeof v==="function")v.call(null,A)}else{var T=Date.now()-S;var Z=Math.max(S-C,1);var te=Math.min(Z*1.2,100);if(T>=te){V("RETRY",c.name,d);c.apply(null,d.concat([C]))}else{p[_].push(i)}}if(ee===undefined){ee=setTimeout(retry,0)}}},12270:(i,c,d)=>{var p=d(2203).Stream;i.exports=legacy;function legacy(i){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(c,d){if(!(this instanceof ReadStream))return new ReadStream(c,d);p.call(this);var A=this;this.path=c;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;d=d||{};var C=Object.keys(d);for(var S=0,v=C.length;S<v;S++){var _=C[S];this[_]=d[_]}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(){A._read()}));return}i.open(this.path,this.flags,this.mode,(function(i,c){if(i){A.emit("error",i);A.readable=false;return}A.fd=c;A.emit("open",c);A._read()}))}function WriteStream(c,d){if(!(this instanceof WriteStream))return new WriteStream(c,d);p.call(this);this.path=c;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;d=d||{};var A=Object.keys(d);for(var C=0,S=A.length;C<S;C++){var v=A[C];this[v]=d[v]}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=i.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},83501:(i,c,d)=>{var p=d(49140);var A=process.cwd;var C=null;var S=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!C)C=A.call(process);return C};try{process.cwd()}catch(i){}if(typeof process.chdir==="function"){var v=process.chdir;process.chdir=function(i){C=null;v.call(process,i)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,v)}i.exports=patch;function patch(i){if(p.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(i)}if(!i.lutimes){patchLutimes(i)}i.chown=chownFix(i.chown);i.fchown=chownFix(i.fchown);i.lchown=chownFix(i.lchown);i.chmod=chmodFix(i.chmod);i.fchmod=chmodFix(i.fchmod);i.lchmod=chmodFix(i.lchmod);i.chownSync=chownFixSync(i.chownSync);i.fchownSync=chownFixSync(i.fchownSync);i.lchownSync=chownFixSync(i.lchownSync);i.chmodSync=chmodFixSync(i.chmodSync);i.fchmodSync=chmodFixSync(i.fchmodSync);i.lchmodSync=chmodFixSync(i.lchmodSync);i.stat=statFix(i.stat);i.fstat=statFix(i.fstat);i.lstat=statFix(i.lstat);i.statSync=statFixSync(i.statSync);i.fstatSync=statFixSync(i.fstatSync);i.lstatSync=statFixSync(i.lstatSync);if(i.chmod&&!i.lchmod){i.lchmod=function(i,c,d){if(d)process.nextTick(d)};i.lchmodSync=function(){}}if(i.chown&&!i.lchown){i.lchown=function(i,c,d,p){if(p)process.nextTick(p)};i.lchownSync=function(){}}if(S==="win32"){i.rename=typeof i.rename!=="function"?i.rename:function(c){function rename(d,p,A){var C=Date.now();var S=0;c(d,p,(function CB(v){if(v&&(v.code==="EACCES"||v.code==="EPERM"||v.code==="EBUSY")&&Date.now()-C<6e4){setTimeout((function(){i.stat(p,(function(i,C){if(i&&i.code==="ENOENT")c(d,p,CB);else A(v)}))}),S);if(S<100)S+=10;return}if(A)A(v)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,c);return rename}(i.rename)}i.read=typeof i.read!=="function"?i.read:function(c){function read(d,p,A,C,S,v){var _;if(v&&typeof v==="function"){var T=0;_=function(V,Z,ee){if(V&&V.code==="EAGAIN"&&T<10){T++;return c.call(i,d,p,A,C,S,_)}v.apply(this,arguments)}}return c.call(i,d,p,A,C,S,_)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,c);return read}(i.read);i.readSync=typeof i.readSync!=="function"?i.readSync:function(c){return function(d,p,A,C,S){var v=0;while(true){try{return c.call(i,d,p,A,C,S)}catch(i){if(i.code==="EAGAIN"&&v<10){v++;continue}throw i}}}}(i.readSync);function patchLchmod(i){i.lchmod=function(c,d,A){i.open(c,p.O_WRONLY|p.O_SYMLINK,d,(function(c,p){if(c){if(A)A(c);return}i.fchmod(p,d,(function(c){i.close(p,(function(i){if(A)A(c||i)}))}))}))};i.lchmodSync=function(c,d){var A=i.openSync(c,p.O_WRONLY|p.O_SYMLINK,d);var C=true;var S;try{S=i.fchmodSync(A,d);C=false}finally{if(C){try{i.closeSync(A)}catch(i){}}else{i.closeSync(A)}}return S}}function patchLutimes(i){if(p.hasOwnProperty("O_SYMLINK")&&i.futimes){i.lutimes=function(c,d,A,C){i.open(c,p.O_SYMLINK,(function(c,p){if(c){if(C)C(c);return}i.futimes(p,d,A,(function(c){i.close(p,(function(i){if(C)C(c||i)}))}))}))};i.lutimesSync=function(c,d,A){var C=i.openSync(c,p.O_SYMLINK);var S;var v=true;try{S=i.futimesSync(C,d,A);v=false}finally{if(v){try{i.closeSync(C)}catch(i){}}else{i.closeSync(C)}}return S}}else if(i.futimes){i.lutimes=function(i,c,d,p){if(p)process.nextTick(p)};i.lutimesSync=function(){}}}function chmodFix(c){if(!c)return c;return function(d,p,A){return c.call(i,d,p,(function(i){if(chownErOk(i))i=null;if(A)A.apply(this,arguments)}))}}function chmodFixSync(c){if(!c)return c;return function(d,p){try{return c.call(i,d,p)}catch(i){if(!chownErOk(i))throw i}}}function chownFix(c){if(!c)return c;return function(d,p,A,C){return c.call(i,d,p,A,(function(i){if(chownErOk(i))i=null;if(C)C.apply(this,arguments)}))}}function chownFixSync(c){if(!c)return c;return function(d,p,A){try{return c.call(i,d,p,A)}catch(i){if(!chownErOk(i))throw i}}}function statFix(c){if(!c)return c;return function(d,p,A){if(typeof p==="function"){A=p;p=null}function callback(i,c){if(c){if(c.uid<0)c.uid+=4294967296;if(c.gid<0)c.gid+=4294967296}if(A)A.apply(this,arguments)}return p?c.call(i,d,p,callback):c.call(i,d,callback)}}function statFixSync(c){if(!c)return c;return function(d,p){var A=p?c.call(i,d,p):c.call(i,d);if(A){if(A.uid<0)A.uid+=4294967296;if(A.gid<0)A.gid+=4294967296}return A}}function chownErOk(i){if(!i)return true;if(i.code==="ENOSYS")return true;var c=!process.getuid||process.getuid()!==0;if(c){if(i.code==="EINVAL"||i.code==="EPERM")return true}return false}}},2150:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(9476);var A=_interopRequireDefault(p);var C=d(52427);var S=_interopRequireDefault(C);var v=d(48406);var _=d(70174);var T=d(29424);var V=_interopRequireDefault(T);var Z=d(37749);var ee=_interopRequireDefault(Z);var te=d(29309);var re=_interopRequireDefault(te);var ne=A["default"].create;function create(){var i=ne();i.compile=function(c,d){return _.compile(c,d,i)};i.precompile=function(c,d){return _.precompile(c,d,i)};i.AST=S["default"];i.Compiler=_.Compiler;i.JavaScriptCompiler=V["default"];i.Parser=v.parser;i.parse=v.parse;i.parseWithoutProcessing=v.parseWithoutProcessing;return i}var ie=create();ie.create=create;re["default"](ie);ie.Visitor=ee["default"];ie["default"]=ie;c["default"]=ie;i.exports=c["default"]},9476:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function _interopRequireWildcard(i){if(i&&i.__esModule){return i}else{var c={};if(i!=null){for(var d in i){if(Object.prototype.hasOwnProperty.call(i,d))c[d]=i[d]}}c["default"]=i;return c}}var p=d(27280);var A=_interopRequireWildcard(p);var C=d(47544);var S=_interopRequireDefault(C);var v=d(89252);var _=_interopRequireDefault(v);var T=d(68272);var V=_interopRequireWildcard(T);var Z=d(63569);var ee=_interopRequireWildcard(Z);var te=d(29309);var re=_interopRequireDefault(te);function create(){var i=new A.HandlebarsEnvironment;V.extend(i,A);i.SafeString=S["default"];i.Exception=_["default"];i.Utils=V;i.escapeExpression=V.escapeExpression;i.VM=ee;i.template=function(c){return ee.template(c,i)};return i}var ne=create();ne.create=create;re["default"](ne);ne["default"]=ne;c["default"]=ne;i.exports=c["default"]},27280:(i,c,d)=>{"use strict";c.__esModule=true;c.HandlebarsEnvironment=HandlebarsEnvironment;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(68272);var A=d(89252);var C=_interopRequireDefault(A);var S=d(5248);var v=d(21447);var _=d(28525);var T=_interopRequireDefault(_);var V=d(14784);var Z="4.7.8";c.VERSION=Z;var ee=8;c.COMPILER_REVISION=ee;var te=7;c.LAST_COMPATIBLE_COMPILER_REVISION=te;var re={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};c.REVISION_CHANGES=re;var ne="[object Object]";function HandlebarsEnvironment(i,c,d){this.helpers=i||{};this.partials=c||{};this.decorators=d||{};S.registerDefaultHelpers(this);v.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:T["default"],log:T["default"].log,registerHelper:function registerHelper(i,c){if(p.toString.call(i)===ne){if(c){throw new C["default"]("Arg not supported with multiple helpers")}p.extend(this.helpers,i)}else{this.helpers[i]=c}},unregisterHelper:function unregisterHelper(i){delete this.helpers[i]},registerPartial:function registerPartial(i,c){if(p.toString.call(i)===ne){p.extend(this.partials,i)}else{if(typeof c==="undefined"){throw new C["default"]('Attempting to register a partial called "'+i+'" as undefined')}this.partials[i]=c}},unregisterPartial:function unregisterPartial(i){delete this.partials[i]},registerDecorator:function registerDecorator(i,c){if(p.toString.call(i)===ne){if(c){throw new C["default"]("Arg not supported with multiple decorators")}p.extend(this.decorators,i)}else{this.decorators[i]=c}},unregisterDecorator:function unregisterDecorator(i){delete this.decorators[i]},resetLoggedPropertyAccesses:function resetLoggedPropertyAccesses(){V.resetLoggedProperties()}};var ie=T["default"].log;c.log=ie;c.createFrame=p.createFrame;c.logger=T["default"]},52427:(i,c)=>{"use strict";c.__esModule=true;var d={helpers:{helperExpression:function helperExpression(i){return i.type==="SubExpression"||(i.type==="MustacheStatement"||i.type==="BlockStatement")&&!!(i.params&&i.params.length||i.hash)},scopedId:function scopedId(i){return/^\.|this\b/.test(i.original)},simpleId:function simpleId(i){return i.parts.length===1&&!d.helpers.scopedId(i)&&!i.depth}}};c["default"]=d;i.exports=c["default"]},48406:(i,c,d)=>{"use strict";c.__esModule=true;c.parseWithoutProcessing=parseWithoutProcessing;c.parse=parse;function _interopRequireWildcard(i){if(i&&i.__esModule){return i}else{var c={};if(i!=null){for(var d in i){if(Object.prototype.hasOwnProperty.call(i,d))c[d]=i[d]}}c["default"]=i;return c}}function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(61060);var A=_interopRequireDefault(p);var C=d(9422);var S=_interopRequireDefault(C);var v=d(47914);var _=_interopRequireWildcard(v);var T=d(68272);c.parser=A["default"];var V={};T.extend(V,_);function parseWithoutProcessing(i,c){if(i.type==="Program"){return i}A["default"].yy=V;V.locInfo=function(i){return new V.SourceLocation(c&&c.srcName,i)};var d=A["default"].parse(i);return d}function parse(i,c){var d=parseWithoutProcessing(i,c);var p=new S["default"](c);return p.accept(d)}},18037:(i,c,d)=>{"use strict";c.__esModule=true;var p=d(68272);var A=undefined;try{if(typeof define!=="function"||!define.amd){var C=d(62618);A=C.SourceNode}}catch(i){}if(!A){A=function(i,c,d,p){this.src="";if(p){this.add(p)}};A.prototype={add:function add(i){if(p.isArray(i)){i=i.join("")}this.src+=i},prepend:function prepend(i){if(p.isArray(i)){i=i.join("")}this.src=i+this.src},toStringWithSourceMap:function toStringWithSourceMap(){return{code:this.toString()}},toString:function toString(){return this.src}}}function castChunk(i,c,d){if(p.isArray(i)){var A=[];for(var C=0,S=i.length;C<S;C++){A.push(c.wrap(i[C],d))}return A}else if(typeof i==="boolean"||typeof i==="number"){return i+""}return i}function CodeGen(i){this.srcFile=i;this.source=[]}CodeGen.prototype={isEmpty:function isEmpty(){return!this.source.length},prepend:function prepend(i,c){this.source.unshift(this.wrap(i,c))},push:function push(i,c){this.source.push(this.wrap(i,c))},merge:function merge(){var i=this.empty();this.each((function(c){i.add([" ",c,"\n"])}));return i},each:function each(i){for(var c=0,d=this.source.length;c<d;c++){i(this.source[c])}},empty:function empty(){var i=this.currentLocation||{start:{}};return new A(i.start.line,i.start.column,this.srcFile)},wrap:function wrap(i){var c=arguments.length<=1||arguments[1]===undefined?this.currentLocation||{start:{}}:arguments[1];if(i instanceof A){return i}i=castChunk(i,this,c);return new A(c.start.line,c.start.column,this.srcFile,i)},functionCall:function functionCall(i,c,d){d=this.generateList(d);return this.wrap([i,c?"."+c+"(":"(",d,")"])},quotedString:function quotedString(i){return'"'+(i+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function objectLiteral(i){var c=this;var d=[];Object.keys(i).forEach((function(p){var A=castChunk(i[p],c);if(A!=="undefined"){d.push([c.quotedString(p),":",A])}}));var p=this.generateList(d);p.prepend("{");p.add("}");return p},generateList:function generateList(i){var c=this.empty();for(var d=0,p=i.length;d<p;d++){if(d){c.add(",")}c.add(castChunk(i[d],this))}return c},generateArray:function generateArray(i){var c=this.generateList(i);c.prepend("[");c.add("]");return c}};c["default"]=CodeGen;i.exports=c["default"]},70174:(i,c,d)=>{"use strict";c.__esModule=true;c.Compiler=Compiler;c.precompile=precompile;c.compile=compile;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(89252);var A=_interopRequireDefault(p);var C=d(68272);var S=d(52427);var v=_interopRequireDefault(S);var _=[].slice;function Compiler(){}Compiler.prototype={compiler:Compiler,equals:function equals(i){var c=this.opcodes.length;if(i.opcodes.length!==c){return false}for(var d=0;d<c;d++){var p=this.opcodes[d],A=i.opcodes[d];if(p.opcode!==A.opcode||!argEquals(p.args,A.args)){return false}}c=this.children.length;for(var d=0;d<c;d++){if(!this.children[d].equals(i.children[d])){return false}}return true},guid:0,compile:function compile(i,c){this.sourceNode=[];this.opcodes=[];this.children=[];this.options=c;this.stringParams=c.stringParams;this.trackIds=c.trackIds;c.blockParams=c.blockParams||[];c.knownHelpers=C.extend(Object.create(null),{helperMissing:true,blockHelperMissing:true,each:true,if:true,unless:true,with:true,log:true,lookup:true},c.knownHelpers);return this.accept(i)},compileProgram:function compileProgram(i){var c=new this.compiler,d=c.compile(i,this.options),p=this.guid++;this.usePartial=this.usePartial||d.usePartial;this.children[p]=d;this.useDepths=this.useDepths||d.useDepths;return p},accept:function accept(i){if(!this[i.type]){throw new A["default"]("Unknown type: "+i.type,i)}this.sourceNode.unshift(i);var c=this[i.type](i);this.sourceNode.shift();return c},Program:function Program(i){this.options.blockParams.unshift(i.blockParams);var c=i.body,d=c.length;for(var p=0;p<d;p++){this.accept(c[p])}this.options.blockParams.shift();this.isSimple=d===1;this.blockParams=i.blockParams?i.blockParams.length:0;return this},BlockStatement:function BlockStatement(i){transformLiteralToPath(i);var c=i.program,d=i.inverse;c=c&&this.compileProgram(c);d=d&&this.compileProgram(d);var p=this.classifySexpr(i);if(p==="helper"){this.helperSexpr(i,c,d)}else if(p==="simple"){this.simpleSexpr(i);this.opcode("pushProgram",c);this.opcode("pushProgram",d);this.opcode("emptyHash");this.opcode("blockValue",i.path.original)}else{this.ambiguousSexpr(i,c,d);this.opcode("pushProgram",c);this.opcode("pushProgram",d);this.opcode("emptyHash");this.opcode("ambiguousBlockValue")}this.opcode("append")},DecoratorBlock:function DecoratorBlock(i){var c=i.program&&this.compileProgram(i.program);var d=this.setupFullMustacheParams(i,c,undefined),p=i.path;this.useDecorators=true;this.opcode("registerDecorator",d.length,p.original)},PartialStatement:function PartialStatement(i){this.usePartial=true;var c=i.program;if(c){c=this.compileProgram(i.program)}var d=i.params;if(d.length>1){throw new A["default"]("Unsupported number of partial arguments: "+d.length,i)}else if(!d.length){if(this.options.explicitPartialContext){this.opcode("pushLiteral","undefined")}else{d.push({type:"PathExpression",parts:[],depth:0})}}var p=i.name.original,C=i.name.type==="SubExpression";if(C){this.accept(i.name)}this.setupFullMustacheParams(i,c,undefined,true);var S=i.indent||"";if(this.options.preventIndent&&S){this.opcode("appendContent",S);S=""}this.opcode("invokePartial",C,p,S);this.opcode("append")},PartialBlockStatement:function PartialBlockStatement(i){this.PartialStatement(i)},MustacheStatement:function MustacheStatement(i){this.SubExpression(i);if(i.escaped&&!this.options.noEscape){this.opcode("appendEscaped")}else{this.opcode("append")}},Decorator:function Decorator(i){this.DecoratorBlock(i)},ContentStatement:function ContentStatement(i){if(i.value){this.opcode("appendContent",i.value)}},CommentStatement:function CommentStatement(){},SubExpression:function SubExpression(i){transformLiteralToPath(i);var c=this.classifySexpr(i);if(c==="simple"){this.simpleSexpr(i)}else if(c==="helper"){this.helperSexpr(i)}else{this.ambiguousSexpr(i)}},ambiguousSexpr:function ambiguousSexpr(i,c,d){var p=i.path,A=p.parts[0],C=c!=null||d!=null;this.opcode("getContext",p.depth);this.opcode("pushProgram",c);this.opcode("pushProgram",d);p.strict=true;this.accept(p);this.opcode("invokeAmbiguous",A,C)},simpleSexpr:function simpleSexpr(i){var c=i.path;c.strict=true;this.accept(c);this.opcode("resolvePossibleLambda")},helperSexpr:function helperSexpr(i,c,d){var p=this.setupFullMustacheParams(i,c,d),C=i.path,S=C.parts[0];if(this.options.knownHelpers[S]){this.opcode("invokeKnownHelper",p.length,S)}else if(this.options.knownHelpersOnly){throw new A["default"]("You specified knownHelpersOnly, but used the unknown helper "+S,i)}else{C.strict=true;C.falsy=true;this.accept(C);this.opcode("invokeHelper",p.length,C.original,v["default"].helpers.simpleId(C))}},PathExpression:function PathExpression(i){this.addDepth(i.depth);this.opcode("getContext",i.depth);var c=i.parts[0],d=v["default"].helpers.scopedId(i),p=!i.depth&&!d&&this.blockParamIndex(c);if(p){this.opcode("lookupBlockParam",p,i.parts)}else if(!c){this.opcode("pushContext")}else if(i.data){this.options.data=true;this.opcode("lookupData",i.depth,i.parts,i.strict)}else{this.opcode("lookupOnContext",i.parts,i.falsy,i.strict,d)}},StringLiteral:function StringLiteral(i){this.opcode("pushString",i.value)},NumberLiteral:function NumberLiteral(i){this.opcode("pushLiteral",i.value)},BooleanLiteral:function BooleanLiteral(i){this.opcode("pushLiteral",i.value)},UndefinedLiteral:function UndefinedLiteral(){this.opcode("pushLiteral","undefined")},NullLiteral:function NullLiteral(){this.opcode("pushLiteral","null")},Hash:function Hash(i){var c=i.pairs,d=0,p=c.length;this.opcode("pushHash");for(;d<p;d++){this.pushParam(c[d].value)}while(d--){this.opcode("assignToHash",c[d].key)}this.opcode("popHash")},opcode:function opcode(i){this.opcodes.push({opcode:i,args:_.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function addDepth(i){if(!i){return}this.useDepths=true},classifySexpr:function classifySexpr(i){var c=v["default"].helpers.simpleId(i.path);var d=c&&!!this.blockParamIndex(i.path.parts[0]);var p=!d&&v["default"].helpers.helperExpression(i);var A=!d&&(p||c);if(A&&!p){var C=i.path.parts[0],S=this.options;if(S.knownHelpers[C]){p=true}else if(S.knownHelpersOnly){A=false}}if(p){return"helper"}else if(A){return"ambiguous"}else{return"simple"}},pushParams:function pushParams(i){for(var c=0,d=i.length;c<d;c++){this.pushParam(i[c])}},pushParam:function pushParam(i){var c=i.value!=null?i.value:i.original||"";if(this.stringParams){if(c.replace){c=c.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")}if(i.depth){this.addDepth(i.depth)}this.opcode("getContext",i.depth||0);this.opcode("pushStringParam",c,i.type);if(i.type==="SubExpression"){this.accept(i)}}else{if(this.trackIds){var d=undefined;if(i.parts&&!v["default"].helpers.scopedId(i)&&!i.depth){d=this.blockParamIndex(i.parts[0])}if(d){var p=i.parts.slice(1).join(".");this.opcode("pushId","BlockParam",d,p)}else{c=i.original||c;if(c.replace){c=c.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")}this.opcode("pushId",i.type,c)}}this.accept(i)}},setupFullMustacheParams:function setupFullMustacheParams(i,c,d,p){var A=i.params;this.pushParams(A);this.opcode("pushProgram",c);this.opcode("pushProgram",d);if(i.hash){this.accept(i.hash)}else{this.opcode("emptyHash",p)}return A},blockParamIndex:function blockParamIndex(i){for(var c=0,d=this.options.blockParams.length;c<d;c++){var p=this.options.blockParams[c],A=p&&C.indexOf(p,i);if(p&&A>=0){return[c,A]}}}};function precompile(i,c,d){if(i==null||typeof i!=="string"&&i.type!=="Program"){throw new A["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+i)}c=c||{};if(!("data"in c)){c.data=true}if(c.compat){c.useDepths=true}var p=d.parse(i,c),C=(new d.Compiler).compile(p,c);return(new d.JavaScriptCompiler).compile(C,c)}function compile(i,c,d){if(c===undefined)c={};if(i==null||typeof i!=="string"&&i.type!=="Program"){throw new A["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+i)}c=C.extend({},c);if(!("data"in c)){c.data=true}if(c.compat){c.useDepths=true}var p=undefined;function compileInput(){var p=d.parse(i,c),A=(new d.Compiler).compile(p,c),C=(new d.JavaScriptCompiler).compile(A,c,undefined,true);return d.template(C)}function ret(i,c){if(!p){p=compileInput()}return p.call(this,i,c)}ret._setup=function(i){if(!p){p=compileInput()}return p._setup(i)};ret._child=function(i,c,d,A){if(!p){p=compileInput()}return p._child(i,c,d,A)};return ret}function argEquals(i,c){if(i===c){return true}if(C.isArray(i)&&C.isArray(c)&&i.length===c.length){for(var d=0;d<i.length;d++){if(!argEquals(i[d],c[d])){return false}}return true}}function transformLiteralToPath(i){if(!i.path.parts){var c=i.path;i.path={type:"PathExpression",data:false,depth:0,parts:[c.original+""],original:c.original+"",loc:c.loc}}}},47914:(i,c,d)=>{"use strict";c.__esModule=true;c.SourceLocation=SourceLocation;c.id=id;c.stripFlags=stripFlags;c.stripComment=stripComment;c.preparePath=preparePath;c.prepareMustache=prepareMustache;c.prepareRawBlock=prepareRawBlock;c.prepareBlock=prepareBlock;c.prepareProgram=prepareProgram;c.preparePartialBlock=preparePartialBlock;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(89252);var A=_interopRequireDefault(p);function validateClose(i,c){c=c.path?c.path.original:c;if(i.path.original!==c){var d={loc:i.path.loc};throw new A["default"](i.path.original+" doesn't match "+c,d)}}function SourceLocation(i,c){this.source=i;this.start={line:c.first_line,column:c.first_column};this.end={line:c.last_line,column:c.last_column}}function id(i){if(/^\[.*\]$/.test(i)){return i.substring(1,i.length-1)}else{return i}}function stripFlags(i,c){return{open:i.charAt(2)==="~",close:c.charAt(c.length-3)==="~"}}function stripComment(i){return i.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function preparePath(i,c,d){d=this.locInfo(d);var p=i?"@":"",C=[],S=0;for(var v=0,_=c.length;v<_;v++){var T=c[v].part,V=c[v].original!==T;p+=(c[v].separator||"")+T;if(!V&&(T===".."||T==="."||T==="this")){if(C.length>0){throw new A["default"]("Invalid path: "+p,{loc:d})}else if(T===".."){S++}}else{C.push(T)}}return{type:"PathExpression",data:i,depth:S,parts:C,original:p,loc:d}}function prepareMustache(i,c,d,p,A,C){var S=p.charAt(3)||p.charAt(2),v=S!=="{"&&S!=="&";var _=/\*/.test(p);return{type:_?"Decorator":"MustacheStatement",path:i,params:c,hash:d,escaped:v,strip:A,loc:this.locInfo(C)}}function prepareRawBlock(i,c,d,p){validateClose(i,d);p=this.locInfo(p);var A={type:"Program",body:c,strip:{},loc:p};return{type:"BlockStatement",path:i.path,params:i.params,hash:i.hash,program:A,openStrip:{},inverseStrip:{},closeStrip:{},loc:p}}function prepareBlock(i,c,d,p,C,S){if(p&&p.path){validateClose(i,p)}var v=/\*/.test(i.open);c.blockParams=i.blockParams;var _=undefined,T=undefined;if(d){if(v){throw new A["default"]("Unexpected inverse block on decorator",d)}if(d.chain){d.program.body[0].closeStrip=p.strip}T=d.strip;_=d.program}if(C){C=_;_=c;c=C}return{type:v?"DecoratorBlock":"BlockStatement",path:i.path,params:i.params,hash:i.hash,program:c,inverse:_,openStrip:i.strip,inverseStrip:T,closeStrip:p&&p.strip,loc:this.locInfo(S)}}function prepareProgram(i,c){if(!c&&i.length){var d=i[0].loc,p=i[i.length-1].loc;if(d&&p){c={source:d.source,start:{line:d.start.line,column:d.start.column},end:{line:p.end.line,column:p.end.column}}}}return{type:"Program",body:i,strip:{},loc:c}}function preparePartialBlock(i,c,d,p){validateClose(i,d);return{type:"PartialBlockStatement",name:i.path,params:i.params,hash:i.hash,program:c,openStrip:i.strip,closeStrip:d&&d.strip,loc:this.locInfo(p)}}},29424:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(27280);var A=d(89252);var C=_interopRequireDefault(A);var S=d(68272);var v=d(18037);var _=_interopRequireDefault(v);function Literal(i){this.value=i}function JavaScriptCompiler(){}JavaScriptCompiler.prototype={nameLookup:function nameLookup(i,c){return this.internalNameLookup(i,c)},depthedLookup:function depthedLookup(i){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(i),")"]},compilerInfo:function compilerInfo(){var i=p.COMPILER_REVISION,c=p.REVISION_CHANGES[i];return[i,c]},appendToBuffer:function appendToBuffer(i,c,d){if(!S.isArray(i)){i=[i]}i=this.source.wrap(i,c);if(this.environment.isSimple){return["return ",i,";"]}else if(d){return["buffer += ",i,";"]}else{i.appendToBuffer=true;return i}},initializeBuffer:function initializeBuffer(){return this.quotedString("")},internalNameLookup:function internalNameLookup(i,c){this.lookupPropertyFunctionIsUsed=true;return["lookupProperty(",i,",",JSON.stringify(c),")"]},lookupPropertyFunctionIsUsed:false,compile:function compile(i,c,d,p){this.environment=i;this.options=c;this.stringParams=this.options.stringParams;this.trackIds=this.options.trackIds;this.precompile=!p;this.name=this.environment.name;this.isChild=!!d;this.context=d||{decorators:[],programs:[],environments:[]};this.preamble();this.stackSlot=0;this.stackVars=[];this.aliases={};this.registers={list:[]};this.hashes=[];this.compileStack=[];this.inlineStack=[];this.blockParams=[];this.compileChildren(i,c);this.useDepths=this.useDepths||i.useDepths||i.useDecorators||this.options.compat;this.useBlockParams=this.useBlockParams||i.useBlockParams;var A=i.opcodes,S=undefined,v=undefined,_=undefined,T=undefined;for(_=0,T=A.length;_<T;_++){S=A[_];this.source.currentLocation=S.loc;v=v||S.loc;this[S.opcode].apply(this,S.args)}this.source.currentLocation=v;this.pushSource("");if(this.stackSlot||this.inlineStack.length||this.compileStack.length){throw new C["default"]("Compile completed with content left on stack")}if(!this.decorators.isEmpty()){this.useDecorators=true;this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]);this.decorators.push("return fn;");if(p){this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()])}else{this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n");this.decorators.push("}\n");this.decorators=this.decorators.merge()}}else{this.decorators=undefined}var V=this.createFunctionContext(p);if(!this.isChild){var Z={compiler:this.compilerInfo(),main:V};if(this.decorators){Z.main_d=this.decorators;Z.useDecorators=true}var ee=this.context;var te=ee.programs;var re=ee.decorators;for(_=0,T=te.length;_<T;_++){if(te[_]){Z[_]=te[_];if(re[_]){Z[_+"_d"]=re[_];Z.useDecorators=true}}}if(this.environment.usePartial){Z.usePartial=true}if(this.options.data){Z.useData=true}if(this.useDepths){Z.useDepths=true}if(this.useBlockParams){Z.useBlockParams=true}if(this.options.compat){Z.compat=true}if(!p){Z.compiler=JSON.stringify(Z.compiler);this.source.currentLocation={start:{line:1,column:0}};Z=this.objectLiteral(Z);if(c.srcName){Z=Z.toStringWithSourceMap({file:c.destName});Z.map=Z.map&&Z.map.toString()}else{Z=Z.toString()}}else{Z.compilerOptions=this.options}return Z}else{return V}},preamble:function preamble(){this.lastContext=0;this.source=new _["default"](this.options.srcName);this.decorators=new _["default"](this.options.srcName)},createFunctionContext:function createFunctionContext(i){var c=this;var d="";var p=this.stackVars.concat(this.registers.list);if(p.length>0){d+=", "+p.join(", ")}var A=0;Object.keys(this.aliases).forEach((function(i){var p=c.aliases[i];if(p.children&&p.referenceCount>1){d+=", alias"+ ++A+"="+i;p.children[0]="alias"+A}}));if(this.lookupPropertyFunctionIsUsed){d+=", "+this.lookupPropertyFunctionVarDeclaration()}var C=["container","depth0","helpers","partials","data"];if(this.useBlockParams||this.useDepths){C.push("blockParams")}if(this.useDepths){C.push("depths")}var S=this.mergeSource(d);if(i){C.push(S);return Function.apply(this,C)}else{return this.source.wrap(["function(",C.join(","),") {\n ",S,"}"])}},mergeSource:function mergeSource(i){var c=this.environment.isSimple,d=!this.forceBuffer,p=undefined,A=undefined,C=undefined,S=undefined;this.source.each((function(i){if(i.appendToBuffer){if(C){i.prepend(" + ")}else{C=i}S=i}else{if(C){if(!A){p=true}else{C.prepend("buffer += ")}S.add(";");C=S=undefined}A=true;if(!c){d=false}}}));if(d){if(C){C.prepend("return ");S.add(";")}else if(!A){this.source.push('return "";')}}else{i+=", buffer = "+(p?"":this.initializeBuffer());if(C){C.prepend("return buffer + ");S.add(";")}else{this.source.push("return buffer;")}}if(i){this.source.prepend("var "+i.substring(2)+(p?"":";\n"))}return this.source.merge()},lookupPropertyFunctionVarDeclaration:function lookupPropertyFunctionVarDeclaration(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function blockValue(i){var c=this.aliasable("container.hooks.blockHelperMissing"),d=[this.contextName(0)];this.setupHelperArgs(i,0,d);var p=this.popStack();d.splice(1,0,p);this.push(this.source.functionCall(c,"call",d))},ambiguousBlockValue:function ambiguousBlockValue(){var i=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs("",0,c,true);this.flushInline();var d=this.topStack();c.splice(1,0,d);this.pushSource(["if (!",this.lastHelper,") { ",d," = ",this.source.functionCall(i,"call",c),"}"])},appendContent:function appendContent(i){if(this.pendingContent){i=this.pendingContent+i}else{this.pendingLocation=this.source.currentLocation}this.pendingContent=i},append:function append(){if(this.isInline()){this.replaceStack((function(i){return[" != null ? ",i,' : ""']}));this.pushSource(this.appendToBuffer(this.popStack()))}else{var i=this.popStack();this.pushSource(["if (",i," != null) { ",this.appendToBuffer(i,undefined,true)," }"]);if(this.environment.isSimple){this.pushSource(["else { ",this.appendToBuffer("''",undefined,true)," }"])}}},appendEscaped:function appendEscaped(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function getContext(i){this.lastContext=i},pushContext:function pushContext(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function lookupOnContext(i,c,d,p){var A=0;if(!p&&this.options.compat&&!this.lastContext){this.push(this.depthedLookup(i[A++]))}else{this.pushContext()}this.resolvePath("context",i,A,c,d)},lookupBlockParam:function lookupBlockParam(i,c){this.useBlockParams=true;this.push(["blockParams[",i[0],"][",i[1],"]"]);this.resolvePath("context",c,1)},lookupData:function lookupData(i,c,d){if(!i){this.pushStackLiteral("data")}else{this.pushStackLiteral("container.data(data, "+i+")")}this.resolvePath("data",c,0,true,d)},resolvePath:function resolvePath(i,c,d,p,A){var C=this;if(this.options.strict||this.options.assumeObjects){this.push(strictLookup(this.options.strict&&A,this,c,d,i));return}var S=c.length;for(;d<S;d++){this.replaceStack((function(A){var S=C.nameLookup(A,c[d],i);if(!p){return[" != null ? ",S," : ",A]}else{return[" && ",S]}}))}},resolvePossibleLambda:function resolvePossibleLambda(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function pushStringParam(i,c){this.pushContext();this.pushString(c);if(c!=="SubExpression"){if(typeof i==="string"){this.pushString(i)}else{this.pushStackLiteral(i)}}},emptyHash:function emptyHash(i){if(this.trackIds){this.push("{}")}if(this.stringParams){this.push("{}");this.push("{}")}this.pushStackLiteral(i?"undefined":"{}")},pushHash:function pushHash(){if(this.hash){this.hashes.push(this.hash)}this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function popHash(){var i=this.hash;this.hash=this.hashes.pop();if(this.trackIds){this.push(this.objectLiteral(i.ids))}if(this.stringParams){this.push(this.objectLiteral(i.contexts));this.push(this.objectLiteral(i.types))}this.push(this.objectLiteral(i.values))},pushString:function pushString(i){this.pushStackLiteral(this.quotedString(i))},pushLiteral:function pushLiteral(i){this.pushStackLiteral(i)},pushProgram:function pushProgram(i){if(i!=null){this.pushStackLiteral(this.programExpression(i))}else{this.pushStackLiteral(null)}},registerDecorator:function registerDecorator(i,c){var d=this.nameLookup("decorators",c,"decorator"),p=this.setupHelperArgs(c,i);this.decorators.push(["fn = ",this.decorators.functionCall(d,"",["fn","props","container",p])," || fn;"])},invokeHelper:function invokeHelper(i,c,d){var p=this.popStack(),A=this.setupHelper(i,c);var C=[];if(d){C.push(A.name)}C.push(p);if(!this.options.strict){C.push(this.aliasable("container.hooks.helperMissing"))}var S=["(",this.itemsSeparatedBy(C,"||"),")"];var v=this.source.functionCall(S,"call",A.callParams);this.push(v)},itemsSeparatedBy:function itemsSeparatedBy(i,c){var d=[];d.push(i[0]);for(var p=1;p<i.length;p++){d.push(c,i[p])}return d},invokeKnownHelper:function invokeKnownHelper(i,c){var d=this.setupHelper(i,c);this.push(this.source.functionCall(d.name,"call",d.callParams))},invokeAmbiguous:function invokeAmbiguous(i,c){this.useRegister("helper");var d=this.popStack();this.emptyHash();var p=this.setupHelper(0,i,c);var A=this.lastHelper=this.nameLookup("helpers",i,"helper");var C=["(","(helper = ",A," || ",d,")"];if(!this.options.strict){C[0]="(helper = ";C.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))}this.push(["(",C,p.paramsInit?["),(",p.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",p.callParams)," : helper))"])},invokePartial:function invokePartial(i,c,d){var p=[],A=this.setupParams(c,1,p);if(i){c=this.popStack();delete A.name}if(d){A.indent=JSON.stringify(d)}A.helpers="helpers";A.partials="partials";A.decorators="container.decorators";if(!i){p.unshift(this.nameLookup("partials",c,"partial"))}else{p.unshift(c)}if(this.options.compat){A.depths="depths"}A=this.objectLiteral(A);p.push(A);this.push(this.source.functionCall("container.invokePartial","",p))},assignToHash:function assignToHash(i){var c=this.popStack(),d=undefined,p=undefined,A=undefined;if(this.trackIds){A=this.popStack()}if(this.stringParams){p=this.popStack();d=this.popStack()}var C=this.hash;if(d){C.contexts[i]=d}if(p){C.types[i]=p}if(A){C.ids[i]=A}C.values[i]=c},pushId:function pushId(i,c,d){if(i==="BlockParam"){this.pushStackLiteral("blockParams["+c[0]+"].path["+c[1]+"]"+(d?" + "+JSON.stringify("."+d):""))}else if(i==="PathExpression"){this.pushString(c)}else if(i==="SubExpression"){this.pushStackLiteral("true")}else{this.pushStackLiteral("null")}},compiler:JavaScriptCompiler,compileChildren:function compileChildren(i,c){var d=i.children,p=undefined,A=undefined;for(var C=0,S=d.length;C<S;C++){p=d[C];A=new this.compiler;var v=this.matchExistingProgram(p);if(v==null){this.context.programs.push("");var _=this.context.programs.length;p.index=_;p.name="program"+_;this.context.programs[_]=A.compile(p,c,this.context,!this.precompile);this.context.decorators[_]=A.decorators;this.context.environments[_]=p;this.useDepths=this.useDepths||A.useDepths;this.useBlockParams=this.useBlockParams||A.useBlockParams;p.useDepths=this.useDepths;p.useBlockParams=this.useBlockParams}else{p.index=v.index;p.name="program"+v.index;this.useDepths=this.useDepths||v.useDepths;this.useBlockParams=this.useBlockParams||v.useBlockParams}}},matchExistingProgram:function matchExistingProgram(i){for(var c=0,d=this.context.environments.length;c<d;c++){var p=this.context.environments[c];if(p&&p.equals(i)){return p}}},programExpression:function programExpression(i){var c=this.environment.children[i],d=[c.index,"data",c.blockParams];if(this.useBlockParams||this.useDepths){d.push("blockParams")}if(this.useDepths){d.push("depths")}return"container.program("+d.join(", ")+")"},useRegister:function useRegister(i){if(!this.registers[i]){this.registers[i]=true;this.registers.list.push(i)}},push:function push(i){if(!(i instanceof Literal)){i=this.source.wrap(i)}this.inlineStack.push(i);return i},pushStackLiteral:function pushStackLiteral(i){this.push(new Literal(i))},pushSource:function pushSource(i){if(this.pendingContent){this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation));this.pendingContent=undefined}if(i){this.source.push(i)}},replaceStack:function replaceStack(i){var c=["("],d=undefined,p=undefined,A=undefined;if(!this.isInline()){throw new C["default"]("replaceStack on non-inline")}var S=this.popStack(true);if(S instanceof Literal){d=[S.value];c=["(",d];A=true}else{p=true;var v=this.incrStack();c=["((",this.push(v)," = ",S,")"];d=this.topStack()}var _=i.call(this,d);if(!A){this.popStack()}if(p){this.stackSlot--}this.push(c.concat(_,")"))},incrStack:function incrStack(){this.stackSlot++;if(this.stackSlot>this.stackVars.length){this.stackVars.push("stack"+this.stackSlot)}return this.topStackName()},topStackName:function topStackName(){return"stack"+this.stackSlot},flushInline:function flushInline(){var i=this.inlineStack;this.inlineStack=[];for(var c=0,d=i.length;c<d;c++){var p=i[c];if(p instanceof Literal){this.compileStack.push(p)}else{var A=this.incrStack();this.pushSource([A," = ",p,";"]);this.compileStack.push(A)}}},isInline:function isInline(){return this.inlineStack.length},popStack:function popStack(i){var c=this.isInline(),d=(c?this.inlineStack:this.compileStack).pop();if(!i&&d instanceof Literal){return d.value}else{if(!c){if(!this.stackSlot){throw new C["default"]("Invalid stack pop")}this.stackSlot--}return d}},topStack:function topStack(){var i=this.isInline()?this.inlineStack:this.compileStack,c=i[i.length-1];if(c instanceof Literal){return c.value}else{return c}},contextName:function contextName(i){if(this.useDepths&&i){return"depths["+i+"]"}else{return"depth"+i}},quotedString:function quotedString(i){return this.source.quotedString(i)},objectLiteral:function objectLiteral(i){return this.source.objectLiteral(i)},aliasable:function aliasable(i){var c=this.aliases[i];if(c){c.referenceCount++;return c}c=this.aliases[i]=this.source.wrap(i);c.aliasable=true;c.referenceCount=1;return c},setupHelper:function setupHelper(i,c,d){var p=[],A=this.setupHelperArgs(c,i,p,d);var C=this.nameLookup("helpers",c,"helper"),S=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:p,paramsInit:A,name:C,callParams:[S].concat(p)}},setupParams:function setupParams(i,c,d){var p={},A=[],C=[],S=[],v=!d,_=undefined;if(v){d=[]}p.name=this.quotedString(i);p.hash=this.popStack();if(this.trackIds){p.hashIds=this.popStack()}if(this.stringParams){p.hashTypes=this.popStack();p.hashContexts=this.popStack()}var T=this.popStack(),V=this.popStack();if(V||T){p.fn=V||"container.noop";p.inverse=T||"container.noop"}var Z=c;while(Z--){_=this.popStack();d[Z]=_;if(this.trackIds){S[Z]=this.popStack()}if(this.stringParams){C[Z]=this.popStack();A[Z]=this.popStack()}}if(v){p.args=this.source.generateArray(d)}if(this.trackIds){p.ids=this.source.generateArray(S)}if(this.stringParams){p.types=this.source.generateArray(C);p.contexts=this.source.generateArray(A)}if(this.options.data){p.data="data"}if(this.useBlockParams){p.blockParams="blockParams"}return p},setupHelperArgs:function setupHelperArgs(i,c,d,p){var A=this.setupParams(i,c,d);A.loc=JSON.stringify(this.source.currentLocation);A=this.objectLiteral(A);if(p){this.useRegister("options");d.push("options");return["options=",A]}else if(d){d.push(A);return""}else{return A}}};(function(){var i=("break else new var"+" case finally return void"+" catch for switch while"+" continue function this with"+" default if throw"+" delete in try"+" do instanceof typeof"+" abstract enum int short"+" boolean export interface static"+" byte extends long super"+" char final native synchronized"+" class float package throws"+" const goto private transient"+" debugger implements protected volatile"+" double import public let yield await"+" null true false").split(" ");var c=JavaScriptCompiler.RESERVED_WORDS={};for(var d=0,p=i.length;d<p;d++){c[i[d]]=true}})();JavaScriptCompiler.isValidJavaScriptVariableName=function(i){return!JavaScriptCompiler.RESERVED_WORDS[i]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(i)};function strictLookup(i,c,d,p,A){var C=c.popStack(),S=d.length;if(i){S--}for(;p<S;p++){C=c.nameLookup(C,d[p],A)}if(i){return[c.aliasable("container.strict"),"(",C,", ",c.quotedString(d[p]),", ",JSON.stringify(c.source.currentLocation)," )"]}else{return C}}c["default"]=JavaScriptCompiler;i.exports=c["default"]},61060:(i,c)=>{"use strict";c.__esModule=true;var d=function(){var i={trace:function trace(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function anonymous(i,c,d,p,A,C,S){var v=C.length-1;switch(A){case 1:return C[v-1];break;case 2:this.$=p.prepareProgram(C[v]);break;case 3:this.$=C[v];break;case 4:this.$=C[v];break;case 5:this.$=C[v];break;case 6:this.$=C[v];break;case 7:this.$=C[v];break;case 8:this.$=C[v];break;case 9:this.$={type:"CommentStatement",value:p.stripComment(C[v]),strip:p.stripFlags(C[v],C[v]),loc:p.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:C[v],value:C[v],loc:p.locInfo(this._$)};break;case 11:this.$=p.prepareRawBlock(C[v-2],C[v-1],C[v],this._$);break;case 12:this.$={path:C[v-3],params:C[v-2],hash:C[v-1]};break;case 13:this.$=p.prepareBlock(C[v-3],C[v-2],C[v-1],C[v],false,this._$);break;case 14:this.$=p.prepareBlock(C[v-3],C[v-2],C[v-1],C[v],true,this._$);break;case 15:this.$={open:C[v-5],path:C[v-4],params:C[v-3],hash:C[v-2],blockParams:C[v-1],strip:p.stripFlags(C[v-5],C[v])};break;case 16:this.$={path:C[v-4],params:C[v-3],hash:C[v-2],blockParams:C[v-1],strip:p.stripFlags(C[v-5],C[v])};break;case 17:this.$={path:C[v-4],params:C[v-3],hash:C[v-2],blockParams:C[v-1],strip:p.stripFlags(C[v-5],C[v])};break;case 18:this.$={strip:p.stripFlags(C[v-1],C[v-1]),program:C[v]};break;case 19:var _=p.prepareBlock(C[v-2],C[v-1],C[v],C[v],false,this._$),T=p.prepareProgram([_],C[v-1].loc);T.chained=true;this.$={strip:C[v-2].strip,program:T,chain:true};break;case 20:this.$=C[v];break;case 21:this.$={path:C[v-1],strip:p.stripFlags(C[v-2],C[v])};break;case 22:this.$=p.prepareMustache(C[v-3],C[v-2],C[v-1],C[v-4],p.stripFlags(C[v-4],C[v]),this._$);break;case 23:this.$=p.prepareMustache(C[v-3],C[v-2],C[v-1],C[v-4],p.stripFlags(C[v-4],C[v]),this._$);break;case 24:this.$={type:"PartialStatement",name:C[v-3],params:C[v-2],hash:C[v-1],indent:"",strip:p.stripFlags(C[v-4],C[v]),loc:p.locInfo(this._$)};break;case 25:this.$=p.preparePartialBlock(C[v-2],C[v-1],C[v],this._$);break;case 26:this.$={path:C[v-3],params:C[v-2],hash:C[v-1],strip:p.stripFlags(C[v-4],C[v])};break;case 27:this.$=C[v];break;case 28:this.$=C[v];break;case 29:this.$={type:"SubExpression",path:C[v-3],params:C[v-2],hash:C[v-1],loc:p.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:C[v],loc:p.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:p.id(C[v-2]),value:C[v],loc:p.locInfo(this._$)};break;case 32:this.$=p.id(C[v-1]);break;case 33:this.$=C[v];break;case 34:this.$=C[v];break;case 35:this.$={type:"StringLiteral",value:C[v],original:C[v],loc:p.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(C[v]),original:Number(C[v]),loc:p.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:C[v]==="true",original:C[v]==="true",loc:p.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:undefined,value:undefined,loc:p.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:p.locInfo(this._$)};break;case 40:this.$=C[v];break;case 41:this.$=C[v];break;case 42:this.$=p.preparePath(true,C[v],this._$);break;case 43:this.$=p.preparePath(false,C[v],this._$);break;case 44:C[v-2].push({part:p.id(C[v]),original:C[v],separator:C[v-1]});this.$=C[v-2];break;case 45:this.$=[{part:p.id(C[v]),original:C[v]}];break;case 46:this.$=[];break;case 47:C[v-1].push(C[v]);break;case 48:this.$=[];break;case 49:C[v-1].push(C[v]);break;case 50:this.$=[];break;case 51:C[v-1].push(C[v]);break;case 58:this.$=[];break;case 59:C[v-1].push(C[v]);break;case 64:this.$=[];break;case 65:C[v-1].push(C[v]);break;case 70:this.$=[];break;case 71:C[v-1].push(C[v]);break;case 78:this.$=[];break;case 79:C[v-1].push(C[v]);break;case 82:this.$=[];break;case 83:C[v-1].push(C[v]);break;case 86:this.$=[];break;case 87:C[v-1].push(C[v]);break;case 90:this.$=[];break;case 91:C[v-1].push(C[v]);break;case 94:this.$=[];break;case 95:C[v-1].push(C[v]);break;case 98:this.$=[C[v]];break;case 99:C[v-1].push(C[v]);break;case 100:this.$=[C[v]];break;case 101:C[v-1].push(C[v]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function parseError(i,c){throw new Error(i)},parse:function parse(i){var c=this,d=[0],p=[null],A=[],C=this.table,S="",v=0,_=0,T=0,V=2,Z=1;this.lexer.setInput(i);this.lexer.yy=this.yy;this.yy.lexer=this.lexer;this.yy.parser=this;if(typeof this.lexer.yylloc=="undefined")this.lexer.yylloc={};var ee=this.lexer.yylloc;A.push(ee);var te=this.lexer.options&&this.lexer.options.ranges;if(typeof this.yy.parseError==="function")this.parseError=this.yy.parseError;function popStack(i){d.length=d.length-2*i;p.length=p.length-i;A.length=A.length-i}function lex(){var i;i=c.lexer.lex()||1;if(typeof i!=="number"){i=c.symbols_[i]||i}return i}var re,ne,ie,se,oe,ae,le={},ce,ue,de,fe;while(true){ie=d[d.length-1];if(this.defaultActions[ie]){se=this.defaultActions[ie]}else{if(re===null||typeof re=="undefined"){re=lex()}se=C[ie]&&C[ie][re]}if(typeof se==="undefined"||!se.length||!se[0]){var pe="";if(!T){fe=[];for(ce in C[ie])if(this.terminals_[ce]&&ce>2){fe.push("'"+this.terminals_[ce]+"'")}if(this.lexer.showPosition){pe="Parse error on line "+(v+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+fe.join(", ")+", got '"+(this.terminals_[re]||re)+"'"}else{pe="Parse error on line "+(v+1)+": Unexpected "+(re==1?"end of input":"'"+(this.terminals_[re]||re)+"'")}this.parseError(pe,{text:this.lexer.match,token:this.terminals_[re]||re,line:this.lexer.yylineno,loc:ee,expected:fe})}}if(se[0]instanceof Array&&se.length>1){throw new Error("Parse Error: multiple actions possible at state: "+ie+", token: "+re)}switch(se[0]){case 1:d.push(re);p.push(this.lexer.yytext);A.push(this.lexer.yylloc);d.push(se[1]);re=null;if(!ne){_=this.lexer.yyleng;S=this.lexer.yytext;v=this.lexer.yylineno;ee=this.lexer.yylloc;if(T>0)T--}else{re=ne;ne=null}break;case 2:ue=this.productions_[se[1]][1];le.$=p[p.length-ue];le._$={first_line:A[A.length-(ue||1)].first_line,last_line:A[A.length-1].last_line,first_column:A[A.length-(ue||1)].first_column,last_column:A[A.length-1].last_column};if(te){le._$.range=[A[A.length-(ue||1)].range[0],A[A.length-1].range[1]]}ae=this.performAction.call(le,S,_,v,this.yy,se[1],p,A);if(typeof ae!=="undefined"){return ae}if(ue){d=d.slice(0,-1*ue*2);p=p.slice(0,-1*ue);A=A.slice(0,-1*ue)}d.push(this.productions_[se[1]][0]);p.push(le.$);A.push(le._$);de=C[d[d.length-2]][d[d.length-1]];d.push(de);break;case 3:return true}}return true}};var c=function(){var i={EOF:1,parseError:function parseError(i,c){if(this.yy.parser){this.yy.parser.parseError(i,c)}else{throw new Error(i)}},setInput:function setInput(i){this._input=i;this._more=this._less=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges)this.yylloc.range=[0,0];this.offset=0;return this},input:function input(){var i=this._input[0];this.yytext+=i;this.yyleng++;this.offset++;this.match+=i;this.matched+=i;var c=i.match(/(?:\r\n?|\n).*/g);if(c){this.yylineno++;this.yylloc.last_line++}else{this.yylloc.last_column++}if(this.options.ranges)this.yylloc.range[1]++;this._input=this._input.slice(1);return i},unput:function unput(i){var c=i.length;var d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-c-1);this.offset-=c;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(d.length-1)this.yylineno-=d.length-1;var A=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===p.length?this.yylloc.first_column:0)+p[p.length-d.length].length-d[0].length:this.yylloc.first_column-c};if(this.options.ranges){this.yylloc.range=[A[0],A[0]+this.yyleng-c]}return this},more:function more(){this._more=true;return this},less:function less(i){this.unput(this.match.slice(i))},pastInput:function pastInput(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function upcomingInput(){var i=this.match;if(i.length<20){i+=this._input.substr(0,20-i.length)}return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function showPosition(){var i=this.pastInput();var c=new Array(i.length+1).join("-");return i+this.upcomingInput()+"\n"+c+"^"},next:function next(){if(this.done){return this.EOF}if(!this._input)this.done=true;var i,c,d,p,A,C;if(!this._more){this.yytext="";this.match=""}var S=this._currentRules();for(var v=0;v<S.length;v++){d=this._input.match(this.rules[S[v]]);if(d&&(!c||d[0].length>c[0].length)){c=d;p=v;if(!this.options.flex)break}}if(c){C=c[0].match(/(?:\r\n?|\n).*/g);if(C)this.yylineno+=C.length;this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:C?C[C.length-1].length-C[C.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length};this.yytext+=c[0];this.match+=c[0];this.matches=c;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng]}this._more=false;this._input=this._input.slice(c[0].length);this.matched+=c[0];i=this.performAction.call(this,this.yy,this,S[p],this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input)this.done=false;if(i)return i;else return}if(this._input===""){return this.EOF}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}},lex:function lex(){var i=this.next();if(typeof i!=="undefined"){return i}else{return this.lex()}},begin:function begin(i){this.conditionStack.push(i)},popState:function popState(){return this.conditionStack.pop()},_currentRules:function _currentRules(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function topState(){return this.conditionStack[this.conditionStack.length-2]},pushState:function begin(i){this.begin(i)}};i.options={};i.performAction=function anonymous(i,c,d,p){function strip(i,d){return c.yytext=c.yytext.substring(i,c.yyleng-d+i)}var A=p;switch(d){case 0:if(c.yytext.slice(-2)==="\\\\"){strip(0,1);this.begin("mu")}else if(c.yytext.slice(-1)==="\\"){strip(0,1);this.begin("emu")}else{this.begin("mu")}if(c.yytext)return 15;break;case 1:return 15;break;case 2:this.popState();return 15;break;case 3:this.begin("raw");return 15;break;case 4:this.popState();if(this.conditionStack[this.conditionStack.length-1]==="raw"){return 15}else{strip(5,9);return"END_RAW_BLOCK"}break;case 5:return 15;break;case 6:this.popState();return 14;break;case 7:return 65;break;case 8:return 68;break;case 9:return 19;break;case 10:this.popState();this.begin("raw");return 23;break;case 11:return 55;break;case 12:return 60;break;case 13:return 29;break;case 14:return 47;break;case 15:this.popState();return 44;break;case 16:this.popState();return 44;break;case 17:return 34;break;case 18:return 39;break;case 19:return 51;break;case 20:return 48;break;case 21:this.unput(c.yytext);this.popState();this.begin("com");break;case 22:this.popState();return 14;break;case 23:return 48;break;case 24:return 73;break;case 25:return 72;break;case 26:return 72;break;case 27:return 87;break;case 28:break;case 29:this.popState();return 54;break;case 30:this.popState();return 33;break;case 31:c.yytext=strip(1,2).replace(/\\"/g,'"');return 80;break;case 32:c.yytext=strip(1,2).replace(/\\'/g,"'");return 80;break;case 33:return 85;break;case 34:return 82;break;case 35:return 82;break;case 36:return 83;break;case 37:return 84;break;case 38:return 81;break;case 39:return 75;break;case 40:return 77;break;case 41:return 72;break;case 42:c.yytext=c.yytext.replace(/\\([\\\]])/g,"$1");return 72;break;case 43:return"INVALID";break;case 44:return 5;break}};i.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/];i.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:false},emu:{rules:[2],inclusive:false},com:{rules:[6],inclusive:false},raw:{rules:[3,4,5],inclusive:false},INITIAL:{rules:[0,1,44],inclusive:true}};return i}();i.lexer=c;function Parser(){this.yy={}}Parser.prototype=i;i.Parser=Parser;return new Parser}();c["default"]=d;i.exports=c["default"]},28043:(i,c,d)=>{"use strict";c.__esModule=true;c.print=print;c.PrintVisitor=PrintVisitor;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(37749);var A=_interopRequireDefault(p);function print(i){return(new PrintVisitor).accept(i)}function PrintVisitor(){this.padding=0}PrintVisitor.prototype=new A["default"];PrintVisitor.prototype.pad=function(i){var c="";for(var d=0,p=this.padding;d<p;d++){c+=" "}c+=i+"\n";return c};PrintVisitor.prototype.Program=function(i){var c="",d=i.body,p=undefined,A=undefined;if(i.blockParams){var C="BLOCK PARAMS: [";for(p=0,A=i.blockParams.length;p<A;p++){C+=" "+i.blockParams[p]}C+=" ]";c+=this.pad(C)}for(p=0,A=d.length;p<A;p++){c+=this.accept(d[p])}this.padding--;return c};PrintVisitor.prototype.MustacheStatement=function(i){return this.pad("{{ "+this.SubExpression(i)+" }}")};PrintVisitor.prototype.Decorator=function(i){return this.pad("{{ DIRECTIVE "+this.SubExpression(i)+" }}")};PrintVisitor.prototype.BlockStatement=PrintVisitor.prototype.DecoratorBlock=function(i){var c="";c+=this.pad((i.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:");this.padding++;c+=this.pad(this.SubExpression(i));if(i.program){c+=this.pad("PROGRAM:");this.padding++;c+=this.accept(i.program);this.padding--}if(i.inverse){if(i.program){this.padding++}c+=this.pad("{{^}}");this.padding++;c+=this.accept(i.inverse);this.padding--;if(i.program){this.padding--}}this.padding--;return c};PrintVisitor.prototype.PartialStatement=function(i){var c="PARTIAL:"+i.name.original;if(i.params[0]){c+=" "+this.accept(i.params[0])}if(i.hash){c+=" "+this.accept(i.hash)}return this.pad("{{> "+c+" }}")};PrintVisitor.prototype.PartialBlockStatement=function(i){var c="PARTIAL BLOCK:"+i.name.original;if(i.params[0]){c+=" "+this.accept(i.params[0])}if(i.hash){c+=" "+this.accept(i.hash)}c+=" "+this.pad("PROGRAM:");this.padding++;c+=this.accept(i.program);this.padding--;return this.pad("{{> "+c+" }}")};PrintVisitor.prototype.ContentStatement=function(i){return this.pad("CONTENT[ '"+i.value+"' ]")};PrintVisitor.prototype.CommentStatement=function(i){return this.pad("{{! '"+i.value+"' }}")};PrintVisitor.prototype.SubExpression=function(i){var c=i.params,d=[],p=undefined;for(var A=0,C=c.length;A<C;A++){d.push(this.accept(c[A]))}c="["+d.join(", ")+"]";p=i.hash?" "+this.accept(i.hash):"";return this.accept(i.path)+" "+c+p};PrintVisitor.prototype.PathExpression=function(i){var c=i.parts.join("/");return(i.data?"@":"")+"PATH:"+c};PrintVisitor.prototype.StringLiteral=function(i){return'"'+i.value+'"'};PrintVisitor.prototype.NumberLiteral=function(i){return"NUMBER{"+i.value+"}"};PrintVisitor.prototype.BooleanLiteral=function(i){return"BOOLEAN{"+i.value+"}"};PrintVisitor.prototype.UndefinedLiteral=function(){return"UNDEFINED"};PrintVisitor.prototype.NullLiteral=function(){return"NULL"};PrintVisitor.prototype.Hash=function(i){var c=i.pairs,d=[];for(var p=0,A=c.length;p<A;p++){d.push(this.accept(c[p]))}return"HASH{"+d.join(", ")+"}"};PrintVisitor.prototype.HashPair=function(i){return i.key+"="+this.accept(i.value)}},37749:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(89252);var A=_interopRequireDefault(p);function Visitor(){this.parents=[]}Visitor.prototype={constructor:Visitor,mutating:false,acceptKey:function acceptKey(i,c){var d=this.accept(i[c]);if(this.mutating){if(d&&!Visitor.prototype[d.type]){throw new A["default"]('Unexpected node type "'+d.type+'" found when accepting '+c+" on "+i.type)}i[c]=d}},acceptRequired:function acceptRequired(i,c){this.acceptKey(i,c);if(!i[c]){throw new A["default"](i.type+" requires "+c)}},acceptArray:function acceptArray(i){for(var c=0,d=i.length;c<d;c++){this.acceptKey(i,c);if(!i[c]){i.splice(c,1);c--;d--}}},accept:function accept(i){if(!i){return}if(!this[i.type]){throw new A["default"]("Unknown type: "+i.type,i)}if(this.current){this.parents.unshift(this.current)}this.current=i;var c=this[i.type](i);this.current=this.parents.shift();if(!this.mutating||c){return c}else if(c!==false){return i}},Program:function Program(i){this.acceptArray(i.body)},MustacheStatement:visitSubExpression,Decorator:visitSubExpression,BlockStatement:visitBlock,DecoratorBlock:visitBlock,PartialStatement:visitPartial,PartialBlockStatement:function PartialBlockStatement(i){visitPartial.call(this,i);this.acceptKey(i,"program")},ContentStatement:function ContentStatement(){},CommentStatement:function CommentStatement(){},SubExpression:visitSubExpression,PathExpression:function PathExpression(){},StringLiteral:function StringLiteral(){},NumberLiteral:function NumberLiteral(){},BooleanLiteral:function BooleanLiteral(){},UndefinedLiteral:function UndefinedLiteral(){},NullLiteral:function NullLiteral(){},Hash:function Hash(i){this.acceptArray(i.pairs)},HashPair:function HashPair(i){this.acceptRequired(i,"value")}};function visitSubExpression(i){this.acceptRequired(i,"path");this.acceptArray(i.params);this.acceptKey(i,"hash")}function visitBlock(i){visitSubExpression.call(this,i);this.acceptKey(i,"program");this.acceptKey(i,"inverse")}function visitPartial(i){this.acceptRequired(i,"name");this.acceptArray(i.params);this.acceptKey(i,"hash")}c["default"]=Visitor;i.exports=c["default"]},9422:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(37749);var A=_interopRequireDefault(p);function WhitespaceControl(){var i=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];this.options=i}WhitespaceControl.prototype=new A["default"];WhitespaceControl.prototype.Program=function(i){var c=!this.options.ignoreStandalone;var d=!this.isRootSeen;this.isRootSeen=true;var p=i.body;for(var A=0,C=p.length;A<C;A++){var S=p[A],v=this.accept(S);if(!v){continue}var _=isPrevWhitespace(p,A,d),T=isNextWhitespace(p,A,d),V=v.openStandalone&&_,Z=v.closeStandalone&&T,ee=v.inlineStandalone&&_&&T;if(v.close){omitRight(p,A,true)}if(v.open){omitLeft(p,A,true)}if(c&&ee){omitRight(p,A);if(omitLeft(p,A)){if(S.type==="PartialStatement"){S.indent=/([ \t]+$)/.exec(p[A-1].original)[1]}}}if(c&&V){omitRight((S.program||S.inverse).body);omitLeft(p,A)}if(c&&Z){omitRight(p,A);omitLeft((S.inverse||S.program).body)}}return i};WhitespaceControl.prototype.BlockStatement=WhitespaceControl.prototype.DecoratorBlock=WhitespaceControl.prototype.PartialBlockStatement=function(i){this.accept(i.program);this.accept(i.inverse);var c=i.program||i.inverse,d=i.program&&i.inverse,p=d,A=d;if(d&&d.chained){p=d.body[0].program;while(A.chained){A=A.body[A.body.length-1].program}}var C={open:i.openStrip.open,close:i.closeStrip.close,openStandalone:isNextWhitespace(c.body),closeStandalone:isPrevWhitespace((p||c).body)};if(i.openStrip.close){omitRight(c.body,null,true)}if(d){var S=i.inverseStrip;if(S.open){omitLeft(c.body,null,true)}if(S.close){omitRight(p.body,null,true)}if(i.closeStrip.open){omitLeft(A.body,null,true)}if(!this.options.ignoreStandalone&&isPrevWhitespace(c.body)&&isNextWhitespace(p.body)){omitLeft(c.body);omitRight(p.body)}}else if(i.closeStrip.open){omitLeft(c.body,null,true)}return C};WhitespaceControl.prototype.Decorator=WhitespaceControl.prototype.MustacheStatement=function(i){return i.strip};WhitespaceControl.prototype.PartialStatement=WhitespaceControl.prototype.CommentStatement=function(i){var c=i.strip||{};return{inlineStandalone:true,open:c.open,close:c.close}};function isPrevWhitespace(i,c,d){if(c===undefined){c=i.length}var p=i[c-1],A=i[c-2];if(!p){return d}if(p.type==="ContentStatement"){return(A||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(p.original)}}function isNextWhitespace(i,c,d){if(c===undefined){c=-1}var p=i[c+1],A=i[c+2];if(!p){return d}if(p.type==="ContentStatement"){return(A||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(p.original)}}function omitRight(i,c,d){var p=i[c==null?0:c+1];if(!p||p.type!=="ContentStatement"||!d&&p.rightStripped){return}var A=p.value;p.value=p.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,"");p.rightStripped=p.value!==A}function omitLeft(i,c,d){var p=i[c==null?i.length-1:c-1];if(!p||p.type!=="ContentStatement"||!d&&p.leftStripped){return}var A=p.value;p.value=p.value.replace(d?/\s+$/:/[ \t]+$/,"");p.leftStripped=p.value!==A;return p.leftStripped}c["default"]=WhitespaceControl;i.exports=c["default"]},21447:(i,c,d)=>{"use strict";c.__esModule=true;c.registerDefaultDecorators=registerDefaultDecorators;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(10379);var A=_interopRequireDefault(p);function registerDefaultDecorators(i){A["default"](i)}},10379:(i,c,d)=>{"use strict";c.__esModule=true;var p=d(68272);c["default"]=function(i){i.registerDecorator("inline",(function(i,c,d,A){var C=i;if(!c.partials){c.partials={};C=function(A,C){var S=d.partials;d.partials=p.extend({},S,c.partials);var v=i(A,C);d.partials=S;return v}}c.partials[A.args[0]]=A.fn;return C}))};i.exports=c["default"]},89252:(i,c)=>{"use strict";c.__esModule=true;var d=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Exception(i,c){var p=c&&c.loc,A=undefined,C=undefined,S=undefined,v=undefined;if(p){A=p.start.line;C=p.end.line;S=p.start.column;v=p.end.column;i+=" - "+A+":"+S}var _=Error.prototype.constructor.call(this,i);for(var T=0;T<d.length;T++){this[d[T]]=_[d[T]]}if(Error.captureStackTrace){Error.captureStackTrace(this,Exception)}try{if(p){this.lineNumber=A;this.endLineNumber=C;if(Object.defineProperty){Object.defineProperty(this,"column",{value:S,enumerable:true});Object.defineProperty(this,"endColumn",{value:v,enumerable:true})}else{this.column=S;this.endColumn=v}}}catch(i){}}Exception.prototype=new Error;c["default"]=Exception;i.exports=c["default"]},5248:(i,c,d)=>{"use strict";c.__esModule=true;c.registerDefaultHelpers=registerDefaultHelpers;c.moveHelperToHooks=moveHelperToHooks;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(69102);var A=_interopRequireDefault(p);var C=d(73350);var S=_interopRequireDefault(C);var v=d(99786);var _=_interopRequireDefault(v);var T=d(6040);var V=_interopRequireDefault(T);var Z=d(64969);var ee=_interopRequireDefault(Z);var te=d(63285);var re=_interopRequireDefault(te);var ne=d(41691);var ie=_interopRequireDefault(ne);function registerDefaultHelpers(i){A["default"](i);S["default"](i);_["default"](i);V["default"](i);ee["default"](i);re["default"](i);ie["default"](i)}function moveHelperToHooks(i,c,d){if(i.helpers[c]){i.hooks[c]=i.helpers[c];if(!d){delete i.helpers[c]}}}},69102:(i,c,d)=>{"use strict";c.__esModule=true;var p=d(68272);c["default"]=function(i){i.registerHelper("blockHelperMissing",(function(c,d){var A=d.inverse,C=d.fn;if(c===true){return C(this)}else if(c===false||c==null){return A(this)}else if(p.isArray(c)){if(c.length>0){if(d.ids){d.ids=[d.name]}return i.helpers.each(c,d)}else{return A(this)}}else{if(d.data&&d.ids){var S=p.createFrame(d.data);S.contextPath=p.appendContextPath(d.data.contextPath,d.name);d={data:S}}return C(c,d)}}))};i.exports=c["default"]},73350:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(68272);var A=d(89252);var C=_interopRequireDefault(A);c["default"]=function(i){i.registerHelper("each",(function(i,c){if(!c){throw new C["default"]("Must pass iterator to #each")}var d=c.fn,A=c.inverse,S=0,v="",_=undefined,T=undefined;if(c.data&&c.ids){T=p.appendContextPath(c.data.contextPath,c.ids[0])+"."}if(p.isFunction(i)){i=i.call(this)}if(c.data){_=p.createFrame(c.data)}function execIteration(c,A,C){if(_){_.key=c;_.index=A;_.first=A===0;_.last=!!C;if(T){_.contextPath=T+c}}v=v+d(i[c],{data:_,blockParams:p.blockParams([i[c],c],[T+c,null])})}if(i&&typeof i==="object"){if(p.isArray(i)){for(var V=i.length;S<V;S++){if(S in i){execIteration(S,S,S===i.length-1)}}}else if(typeof Symbol==="function"&&i[Symbol.iterator]){var Z=[];var ee=i[Symbol.iterator]();for(var te=ee.next();!te.done;te=ee.next()){Z.push(te.value)}i=Z;for(var V=i.length;S<V;S++){execIteration(S,S,S===i.length-1)}}else{(function(){var c=undefined;Object.keys(i).forEach((function(i){if(c!==undefined){execIteration(c,S-1)}c=i;S++}));if(c!==undefined){execIteration(c,S-1,true)}})()}}if(S===0){v=A(this)}return v}))};i.exports=c["default"]},99786:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(89252);var A=_interopRequireDefault(p);c["default"]=function(i){i.registerHelper("helperMissing",(function(){if(arguments.length===1){return undefined}else{throw new A["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}}))};i.exports=c["default"]},6040:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(68272);var A=d(89252);var C=_interopRequireDefault(A);c["default"]=function(i){i.registerHelper("if",(function(i,c){if(arguments.length!=2){throw new C["default"]("#if requires exactly one argument")}if(p.isFunction(i)){i=i.call(this)}if(!c.hash.includeZero&&!i||p.isEmpty(i)){return c.inverse(this)}else{return c.fn(this)}}));i.registerHelper("unless",(function(c,d){if(arguments.length!=2){throw new C["default"]("#unless requires exactly one argument")}return i.helpers["if"].call(this,c,{fn:d.inverse,inverse:d.fn,hash:d.hash})}))};i.exports=c["default"]},64969:(i,c)=>{"use strict";c.__esModule=true;c["default"]=function(i){i.registerHelper("log",(function(){var c=[undefined],d=arguments[arguments.length-1];for(var p=0;p<arguments.length-1;p++){c.push(arguments[p])}var A=1;if(d.hash.level!=null){A=d.hash.level}else if(d.data&&d.data.level!=null){A=d.data.level}c[0]=A;i.log.apply(i,c)}))};i.exports=c["default"]},63285:(i,c)=>{"use strict";c.__esModule=true;c["default"]=function(i){i.registerHelper("lookup",(function(i,c,d){if(!i){return i}return d.lookupProperty(i,c)}))};i.exports=c["default"]},41691:(i,c,d)=>{"use strict";c.__esModule=true;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(68272);var A=d(89252);var C=_interopRequireDefault(A);c["default"]=function(i){i.registerHelper("with",(function(i,c){if(arguments.length!=2){throw new C["default"]("#with requires exactly one argument")}if(p.isFunction(i)){i=i.call(this)}var d=c.fn;if(!p.isEmpty(i)){var A=c.data;if(c.data&&c.ids){A=p.createFrame(c.data);A.contextPath=p.appendContextPath(c.data.contextPath,c.ids[0])}return d(i,{data:A,blockParams:p.blockParams([i],[A&&A.contextPath])})}else{return c.inverse(this)}}))};i.exports=c["default"]},91939:(i,c,d)=>{"use strict";c.__esModule=true;c.createNewLookupObject=createNewLookupObject;var p=d(68272);function createNewLookupObject(){for(var i=arguments.length,c=Array(i),d=0;d<i;d++){c[d]=arguments[d]}return p.extend.apply(undefined,[Object.create(null)].concat(c))}},14784:(i,c,d)=>{"use strict";c.__esModule=true;c.createProtoAccessControl=createProtoAccessControl;c.resultIsAllowed=resultIsAllowed;c.resetLoggedProperties=resetLoggedProperties;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var p=d(91939);var A=d(28525);var C=_interopRequireDefault(A);var S=Object.create(null);function createProtoAccessControl(i){var c=Object.create(null);c["constructor"]=false;c["__defineGetter__"]=false;c["__defineSetter__"]=false;c["__lookupGetter__"]=false;var d=Object.create(null);d["__proto__"]=false;return{properties:{whitelist:p.createNewLookupObject(d,i.allowedProtoProperties),defaultValue:i.allowProtoPropertiesByDefault},methods:{whitelist:p.createNewLookupObject(c,i.allowedProtoMethods),defaultValue:i.allowProtoMethodsByDefault}}}function resultIsAllowed(i,c,d){if(typeof i==="function"){return checkWhiteList(c.methods,d)}else{return checkWhiteList(c.properties,d)}}function checkWhiteList(i,c){if(i.whitelist[c]!==undefined){return i.whitelist[c]===true}if(i.defaultValue!==undefined){return i.defaultValue}logUnexpecedPropertyAccessOnce(c);return false}function logUnexpecedPropertyAccessOnce(i){if(S[i]!==true){S[i]=true;C["default"].log("error",'Handlebars: Access has been denied to resolve the property "'+i+'" because it is not an "own property" of its parent.\n'+"You can add a runtime option to disable the check or this warning:\n"+"See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details")}}function resetLoggedProperties(){Object.keys(S).forEach((function(i){delete S[i]}))}},71975:(i,c)=>{"use strict";c.__esModule=true;c.wrapHelper=wrapHelper;function wrapHelper(i,c){if(typeof i!=="function"){return i}var d=function wrapper(){var d=arguments[arguments.length-1];arguments[arguments.length-1]=c(d);return i.apply(this,arguments)};return d}},28525:(i,c,d)=>{"use strict";c.__esModule=true;var p=d(68272);var A={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function lookupLevel(i){if(typeof i==="string"){var c=p.indexOf(A.methodMap,i.toLowerCase());if(c>=0){i=c}else{i=parseInt(i,10)}}return i},log:function log(i){i=A.lookupLevel(i);if(typeof console!=="undefined"&&A.lookupLevel(A.level)<=i){var c=A.methodMap[i];if(!console[c]){c="log"}for(var d=arguments.length,p=Array(d>1?d-1:0),C=1;C<d;C++){p[C-1]=arguments[C]}console[c].apply(console,p)}}};c["default"]=A;i.exports=c["default"]},29309:(i,c)=>{"use strict";c.__esModule=true;c["default"]=function(i){(function(){if(typeof globalThis==="object")return;Object.prototype.__defineGetter__("__magic__",(function(){return this}));__magic__.globalThis=__magic__;delete Object.prototype.__magic__})();var c=globalThis.Handlebars;i.noConflict=function(){if(globalThis.Handlebars===i){globalThis.Handlebars=c}return i}};i.exports=c["default"]},63569:(i,c,d)=>{"use strict";c.__esModule=true;c.checkRevision=checkRevision;c.template=template;c.wrapProgram=wrapProgram;c.resolvePartial=resolvePartial;c.invokePartial=invokePartial;c.noop=noop;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function _interopRequireWildcard(i){if(i&&i.__esModule){return i}else{var c={};if(i!=null){for(var d in i){if(Object.prototype.hasOwnProperty.call(i,d))c[d]=i[d]}}c["default"]=i;return c}}var p=d(68272);var A=_interopRequireWildcard(p);var C=d(89252);var S=_interopRequireDefault(C);var v=d(27280);var _=d(5248);var T=d(71975);var V=d(14784);function checkRevision(i){var c=i&&i[0]||1,d=v.COMPILER_REVISION;if(c>=v.LAST_COMPATIBLE_COMPILER_REVISION&&c<=v.COMPILER_REVISION){return}if(c<v.LAST_COMPATIBLE_COMPILER_REVISION){var p=v.REVISION_CHANGES[d],A=v.REVISION_CHANGES[c];throw new S["default"]("Template was precompiled with an older version of Handlebars than the current runtime. "+"Please update your precompiler to a newer version ("+p+") or downgrade your runtime to an older version ("+A+").")}else{throw new S["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. "+"Please update your runtime to a newer version ("+i[1]+").")}}function template(i,c){if(!c){throw new S["default"]("No environment passed to template")}if(!i||!i.main){throw new S["default"]("Unknown template object: "+typeof i)}i.main.decorator=i.main_d;c.VM.checkRevision(i.compiler);var d=i.compiler&&i.compiler[0]===7;function invokePartialWrapper(d,p,C){if(C.hash){p=A.extend({},p,C.hash);if(C.ids){C.ids[0]=true}}d=c.VM.resolvePartial.call(this,d,p,C);var v=A.extend({},C,{hooks:this.hooks,protoAccessControl:this.protoAccessControl});var _=c.VM.invokePartial.call(this,d,p,v);if(_==null&&c.compile){C.partials[C.name]=c.compile(d,i.compilerOptions,c);_=C.partials[C.name](p,v)}if(_!=null){if(C.indent){var T=_.split("\n");for(var V=0,Z=T.length;V<Z;V++){if(!T[V]&&V+1===Z){break}T[V]=C.indent+T[V]}_=T.join("\n")}return _}else{throw new S["default"]("The partial "+C.name+" could not be compiled when running in runtime-only mode")}}var p={strict:function strict(i,c,d){if(!i||!(c in i)){throw new S["default"]('"'+c+'" not defined in '+i,{loc:d})}return p.lookupProperty(i,c)},lookupProperty:function lookupProperty(i,c){var d=i[c];if(d==null){return d}if(Object.prototype.hasOwnProperty.call(i,c)){return d}if(V.resultIsAllowed(d,p.protoAccessControl,c)){return d}return undefined},lookup:function lookup(i,c){var d=i.length;for(var A=0;A<d;A++){var C=i[A]&&p.lookupProperty(i[A],c);if(C!=null){return i[A][c]}}},lambda:function lambda(i,c){return typeof i==="function"?i.call(c):i},escapeExpression:A.escapeExpression,invokePartial:invokePartialWrapper,fn:function fn(c){var d=i[c];d.decorator=i[c+"_d"];return d},programs:[],program:function program(i,c,d,p,A){var C=this.programs[i],S=this.fn(i);if(c||A||p||d){C=wrapProgram(this,i,S,c,d,p,A)}else if(!C){C=this.programs[i]=wrapProgram(this,i,S)}return C},data:function data(i,c){while(i&&c--){i=i._parent}return i},mergeIfNeeded:function mergeIfNeeded(i,c){var d=i||c;if(i&&c&&i!==c){d=A.extend({},c,i)}return d},nullContext:Object.seal({}),noop:c.VM.noop,compilerInfo:i.compiler};function ret(c){var d=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];var A=d.data;ret._setup(d);if(!d.partial&&i.useData){A=initData(c,A)}var C=undefined,S=i.useBlockParams?[]:undefined;if(i.useDepths){if(d.depths){C=c!=d.depths[0]?[c].concat(d.depths):d.depths}else{C=[c]}}function main(c){return""+i.main(p,c,p.helpers,p.partials,A,S,C)}main=executeDecorators(i.main,main,p,d.depths||[],A,S);return main(c,d)}ret.isTop=true;ret._setup=function(C){if(!C.partial){var S=A.extend({},c.helpers,C.helpers);wrapHelpersToPassLookupProperty(S,p);p.helpers=S;if(i.usePartial){p.partials=p.mergeIfNeeded(C.partials,c.partials)}if(i.usePartial||i.useDecorators){p.decorators=A.extend({},c.decorators,C.decorators)}p.hooks={};p.protoAccessControl=V.createProtoAccessControl(C);var v=C.allowCallsToHelperMissing||d;_.moveHelperToHooks(p,"helperMissing",v);_.moveHelperToHooks(p,"blockHelperMissing",v)}else{p.protoAccessControl=C.protoAccessControl;p.helpers=C.helpers;p.partials=C.partials;p.decorators=C.decorators;p.hooks=C.hooks}};ret._child=function(c,d,A,C){if(i.useBlockParams&&!A){throw new S["default"]("must pass block params")}if(i.useDepths&&!C){throw new S["default"]("must pass parent depths")}return wrapProgram(p,c,i[c],d,0,A,C)};return ret}function wrapProgram(i,c,d,p,A,C,S){function prog(c){var A=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];var v=S;if(S&&c!=S[0]&&!(c===i.nullContext&&S[0]===null)){v=[c].concat(S)}return d(i,c,i.helpers,i.partials,A.data||p,C&&[A.blockParams].concat(C),v)}prog=executeDecorators(d,prog,i,S,p,C);prog.program=c;prog.depth=S?S.length:0;prog.blockParams=A||0;return prog}function resolvePartial(i,c,d){if(!i){if(d.name==="@partial-block"){i=d.data["partial-block"]}else{i=d.partials[d.name]}}else if(!i.call&&!d.name){d.name=i;i=d.partials[i]}return i}function invokePartial(i,c,d){var p=d.data&&d.data["partial-block"];d.partial=true;if(d.ids){d.data.contextPath=d.ids[0]||d.data.contextPath}var C=undefined;if(d.fn&&d.fn!==noop){(function(){d.data=v.createFrame(d.data);var i=d.fn;C=d.data["partial-block"]=function partialBlockWrapper(c){var d=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];d.data=v.createFrame(d.data);d.data["partial-block"]=p;return i(c,d)};if(i.partials){d.partials=A.extend({},d.partials,i.partials)}})()}if(i===undefined&&C){i=C}if(i===undefined){throw new S["default"]("The partial "+d.name+" could not be found")}else if(i instanceof Function){return i(c,d)}}function noop(){return""}function initData(i,c){if(!c||!("root"in c)){c=c?v.createFrame(c):{};c.root=i}return c}function executeDecorators(i,c,d,p,C,S){if(i.decorator){var v={};c=i.decorator(c,v,d,p&&p[0],C,S,p);A.extend(c,v)}return c}function wrapHelpersToPassLookupProperty(i,c){Object.keys(i).forEach((function(d){var p=i[d];i[d]=passLookupPropertyOption(p,c)}))}function passLookupPropertyOption(i,c){var d=c.lookupProperty;return T.wrapHelper(i,(function(i){return A.extend({lookupProperty:d},i)}))}},47544:(i,c)=>{"use strict";c.__esModule=true;function SafeString(i){this.string=i}SafeString.prototype.toString=SafeString.prototype.toHTML=function(){return""+this.string};c["default"]=SafeString;i.exports=c["default"]},68272:(i,c)=>{"use strict";c.__esModule=true;c.extend=extend;c.indexOf=indexOf;c.escapeExpression=escapeExpression;c.isEmpty=isEmpty;c.createFrame=createFrame;c.blockParams=blockParams;c.appendContextPath=appendContextPath;var d={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};var p=/[&<>"'`=]/g,A=/[&<>"'`=]/;function escapeChar(i){return d[i]}function extend(i){for(var c=1;c<arguments.length;c++){for(var d in arguments[c]){if(Object.prototype.hasOwnProperty.call(arguments[c],d)){i[d]=arguments[c][d]}}}return i}var C=Object.prototype.toString;c.toString=C;var S=function isFunction(i){return typeof i==="function"};if(S(/x/)){c.isFunction=S=function(i){return typeof i==="function"&&C.call(i)==="[object Function]"}}c.isFunction=S;var v=Array.isArray||function(i){return i&&typeof i==="object"?C.call(i)==="[object Array]":false};c.isArray=v;function indexOf(i,c){for(var d=0,p=i.length;d<p;d++){if(i[d]===c){return d}}return-1}function escapeExpression(i){if(typeof i!=="string"){if(i&&i.toHTML){return i.toHTML()}else if(i==null){return""}else if(!i){return i+""}i=""+i}if(!A.test(i)){return i}return i.replace(p,escapeChar)}function isEmpty(i){if(!i&&i!==0){return true}else if(v(i)&&i.length===0){return true}else{return false}}function createFrame(i){var c=extend({},i);c._parent=i;return c}function blockParams(i,c){i.path=c;return i}function appendContextPath(i,c){return(i?i+".":"")+c}},88508:(i,c,d)=>{var p=d(2150)["default"];var A=d(28043);p.PrintVisitor=A.PrintVisitor;p.print=A.print;i.exports=p;function extension(i,c){var A=d(79896);var C=A.readFileSync(c,"utf8");i.exports=p.compile(C)}if(true&&require.extensions){require.extensions[".handlebars"]=extension;require.extensions[".hbs"]=extension}},83813:i=>{"use strict";i.exports=(i,c=process.argv)=>{const d=i.startsWith("-")?"":i.length===1?"-":"--";const p=c.indexOf(d+i);const A=c.indexOf("--");return p!==-1&&(A===-1||p<A)}},61528:function(i,c,d){i=d.nmd(i);
|
||
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(d){var p=true&&c;var A=true&&i&&i.exports==p&&i;var C=typeof global=="object"&&global;if(C.global===C||C.window===C){d=C}var S=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var v=/[\x01-\x7F]/g;var _=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var T=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var V={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"};var Z=/["&'<>`]/g;var ee={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"};var te=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/;var re=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var ne=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;var ie={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""};var se={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"};var oe={0:"<22>",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var ae=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];var le=String.fromCharCode;var ce={};var ue=ce.hasOwnProperty;var has=function(i,c){return ue.call(i,c)};var contains=function(i,c){var d=-1;var p=i.length;while(++d<p){if(i[d]==c){return true}}return false};var merge=function(i,c){if(!i){return c}var d={};var p;for(p in c){d[p]=has(i,p)?i[p]:c[p]}return d};var codePointToSymbol=function(i,c){var d="";if(i>=55296&&i<=57343||i>1114111){if(c){parseError("character reference outside the permissible Unicode range")}return"<22>"}if(has(oe,i)){if(c){parseError("disallowed character reference")}return oe[i]}if(c&&contains(ae,i)){parseError("disallowed character reference")}if(i>65535){i-=65536;d+=le(i>>>10&1023|55296);i=56320|i&1023}d+=le(i);return d};var hexEscape=function(i){return"&#x"+i.toString(16).toUpperCase()+";"};var decEscape=function(i){return"&#"+i+";"};var parseError=function(i){throw Error("Parse error: "+i)};var encode=function(i,c){c=merge(c,encode.options);var d=c.strict;if(d&&re.test(i)){parseError("forbidden code point")}var p=c.encodeEverything;var A=c.useNamedReferences;var C=c.allowUnsafeSymbols;var ee=c.decimal?decEscape:hexEscape;var escapeBmpSymbol=function(i){return ee(i.charCodeAt(0))};if(p){i=i.replace(v,(function(i){if(A&&has(V,i)){return"&"+V[i]+";"}return escapeBmpSymbol(i)}));if(A){i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")}if(A){i=i.replace(T,(function(i){return"&"+V[i]+";"}))}}else if(A){if(!C){i=i.replace(Z,(function(i){return"&"+V[i]+";"}))}i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒");i=i.replace(T,(function(i){return"&"+V[i]+";"}))}else if(!C){i=i.replace(Z,escapeBmpSymbol)}return i.replace(S,(function(i){var c=i.charCodeAt(0);var d=i.charCodeAt(1);var p=(c-55296)*1024+d-56320+65536;return ee(p)})).replace(_,escapeBmpSymbol)};encode.options={allowUnsafeSymbols:false,encodeEverything:false,strict:false,useNamedReferences:false,decimal:false};var decode=function(i,c){c=merge(c,decode.options);var d=c.strict;if(d&&te.test(i)){parseError("malformed character reference")}return i.replace(ne,(function(i,p,A,C,S,v,_,T,V){var Z;var ee;var te;var re;var ne;var oe;if(p){ne=p;return ie[ne]}if(A){ne=A;oe=C;if(oe&&c.isAttributeValue){if(d&&oe=="="){parseError("`&` did not start a character reference")}return i}else{if(d){parseError("named character reference was not terminated by a semicolon")}return se[ne]+(oe||"")}}if(S){te=S;ee=v;if(d&&!ee){parseError("character reference was not terminated by a semicolon")}Z=parseInt(te,10);return codePointToSymbol(Z,d)}if(_){re=_;ee=T;if(d&&!ee){parseError("character reference was not terminated by a semicolon")}Z=parseInt(re,16);return codePointToSymbol(Z,d)}if(d){parseError("named character reference was not terminated by a semicolon")}return i}))};decode.options={isAttributeValue:false,strict:false};var escape=function(i){return i.replace(Z,(function(i){return ee[i]}))};var de={version:"1.2.0",encode:encode,decode:decode,escape:escape,unescape:decode};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return de}))}else if(p&&!p.nodeType){if(A){A.exports=de}else{for(var fe in de){has(de,fe)&&(p[fe]=de[fe])}}}else{d.he=de}})(this)},81970:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.HttpProxyAgent=void 0;const v=C(d(69278));const _=C(d(64756));const T=S(d(2830));const V=d(24434);const Z=d(98894);const ee=d(87016);const te=(0,T.default)("http-proxy-agent");class HttpProxyAgent extends Z.Agent{constructor(i,c){super(c);this.proxy=typeof i==="string"?new ee.URL(i):i;this.proxyHeaders=c?.headers??{};te("Creating new HttpProxyAgent instance: %o",this.proxy.href);const d=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const p=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...c?omit(c,"headers"):null,host:d,port:p}}addRequest(i,c){i._header=null;this.setRequestProps(i,c);super.addRequest(i,c)}setRequestProps(i,c){const{proxy:d}=this;const p=c.secureEndpoint?"https:":"http:";const A=i.getHeader("host")||"localhost";const C=`${p}//${A}`;const S=new ee.URL(i.path,C);if(c.port!==80){S.port=String(c.port)}i.path=String(S);const v=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(d.username||d.password){const i=`${decodeURIComponent(d.username)}:${decodeURIComponent(d.password)}`;v["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}if(!v["Proxy-Connection"]){v["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const c of Object.keys(v)){const d=v[c];if(d){i.setHeader(c,d)}}}async connect(i,c){i._header=null;if(!i.path.includes("://")){this.setRequestProps(i,c)}let d;let p;te("Regenerating stored HTTP header string for request");i._implicitHeader();if(i.outputData&&i.outputData.length>0){te("Patching connection write() output buffer with updated header");d=i.outputData[0].data;p=d.indexOf("\r\n\r\n")+4;i.outputData[0].data=i._header+d.substring(p);te("Output buffer: %o",i.outputData[0].data)}let A;if(this.proxy.protocol==="https:"){te("Creating `tls.Socket`: %o",this.connectOpts);A=_.connect(this.connectOpts)}else{te("Creating `net.Socket`: %o",this.connectOpts);A=v.connect(this.connectOpts)}await(0,V.once)(A,"connect");return A}}HttpProxyAgent.protocols=["http","https"];c.HttpProxyAgent=HttpProxyAgent;function omit(i,...c){const d={};let p;for(p in i){if(!c.includes(p)){d[p]=i[p]}}return d}},3669:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.HttpsProxyAgent=void 0;const v=C(d(69278));const _=C(d(64756));const T=S(d(42613));const V=S(d(2830));const Z=d(98894);const ee=d(87016);const te=d(37943);const re=(0,V.default)("https-proxy-agent");class HttpsProxyAgent extends Z.Agent{constructor(i,c){super(c);this.options={path:undefined};this.proxy=typeof i==="string"?new ee.URL(i):i;this.proxyHeaders=c?.headers??{};re("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const d=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const p=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...c?omit(c,"headers"):null,host:d,port:p}}async connect(i,c){const{proxy:d}=this;if(!c.host){throw new TypeError('No "host" provided')}let p;if(d.protocol==="https:"){re("Creating `tls.Socket`: %o",this.connectOpts);const i=this.connectOpts.servername||this.connectOpts.host;p=_.connect({...this.connectOpts,servername:i&&v.isIP(i)?undefined:i})}else{re("Creating `net.Socket`: %o",this.connectOpts);p=v.connect(this.connectOpts)}const A=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const C=v.isIPv6(c.host)?`[${c.host}]`:c.host;let S=`CONNECT ${C}:${c.port} HTTP/1.1\r\n`;if(d.username||d.password){const i=`${decodeURIComponent(d.username)}:${decodeURIComponent(d.password)}`;A["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}A.Host=`${C}:${c.port}`;if(!A["Proxy-Connection"]){A["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const i of Object.keys(A)){S+=`${i}: ${A[i]}\r\n`}const V=(0,te.parseProxyResponse)(p);p.write(`${S}\r\n`);const{connect:Z,buffered:ee}=await V;i.emit("proxyConnect",Z);this.emit("proxyConnect",Z,i);if(Z.statusCode===200){i.once("socket",resume);if(c.secureEndpoint){re("Upgrading socket connection to TLS");const i=c.servername||c.host;return _.connect({...omit(c,"host","path","port"),socket:p,servername:v.isIP(i)?undefined:i})}return p}p.destroy();const ne=new v.Socket({writable:false});ne.readable=true;i.once("socket",(i=>{re("Replaying proxy buffer for failed request");(0,T.default)(i.listenerCount("data")>0);i.push(ee);i.push(null)}));return ne}}HttpsProxyAgent.protocols=["http","https"];c.HttpsProxyAgent=HttpsProxyAgent;function resume(i){i.resume()}function omit(i,...c){const d={};let p;for(p in i){if(!c.includes(p)){d[p]=i[p]}}return d}},37943:function(i,c,d){"use strict";var p=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.parseProxyResponse=void 0;const A=p(d(2830));const C=(0,A.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(i){return new Promise(((c,d)=>{let p=0;const A=[];function read(){const c=i.read();if(c)ondata(c);else i.once("readable",read)}function cleanup(){i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("readable",read)}function onend(){cleanup();C("onend");d(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(i){cleanup();C("onerror %o",i);d(i)}function ondata(S){A.push(S);p+=S.length;const v=Buffer.concat(A,p);const _=v.indexOf("\r\n\r\n");if(_===-1){C("have not received end of HTTP headers yet...");read();return}const T=v.slice(0,_).toString("ascii").split("\r\n");const V=T.shift();if(!V){i.destroy();return d(new Error("No header received from proxy CONNECT response"))}const Z=V.split(" ");const ee=+Z[1];const te=Z.slice(2).join(" ");const re={};for(const c of T){if(!c)continue;const p=c.indexOf(":");if(p===-1){i.destroy();return d(new Error(`Invalid header from proxy CONNECT response: "${c}"`))}const A=c.slice(0,p).toLowerCase();const C=c.slice(p+1).trimStart();const S=re[A];if(typeof S==="string"){re[A]=[S,C]}else if(Array.isArray(S)){S.push(C)}else{re[A]=C}}C("got proxy server response: %o %o",V,re);cleanup();c({connect:{statusCode:ee,statusText:te,headers:re},buffered:v})}i.on("error",onerror);i.on("end",onend);read()}))}c.parseProxyResponse=parseProxyResponse},39598:(i,c,d)=>{try{var p=d(39023);if(typeof p.inherits!=="function")throw"";i.exports=p.inherits}catch(c){i.exports=d(26589)}},26589:i=>{if(typeof Object.create==="function"){i.exports=function inherits(i,c){if(c){i.super_=c;i.prototype=Object.create(c.prototype,{constructor:{value:i,enumerable:false,writable:true,configurable:true}})}}}else{i.exports=function inherits(i,c){if(c){i.super_=c;var TempCtor=function(){};TempCtor.prototype=c.prototype;i.prototype=new TempCtor;i.prototype.constructor=i}}}},93407:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});
|
||
/*!
|
||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||
*
|
||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var c,d;if(isObject(i)===false)return false;c=i.constructor;if(c===undefined)return true;d=c.prototype;if(isObject(d)===false)return false;if(d.hasOwnProperty("isPrototypeOf")===false){return false}return true}c.isPlainObject=isPlainObject},96543:i=>{"use strict";const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},82513:i=>{var c={}.toString;i.exports=Array.isArray||function(i){return c.call(i)=="[object Array]"}},74281:(i,c,d)=>{"use strict";var p=d(91950);var A=d(59980);function renamed(i,c){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+c+" instead, which is now safe by default.")}}i.exports.Type=d(9557);i.exports.Schema=d(62046);i.exports.FAILSAFE_SCHEMA=d(69832);i.exports.JSON_SCHEMA=d(58927);i.exports.CORE_SCHEMA=d(55746);i.exports.DEFAULT_SCHEMA=d(97336);i.exports.load=p.load;i.exports.loadAll=p.loadAll;i.exports.dump=A.dump;i.exports.YAMLException=d(41248);i.exports.types={binary:d(8149),float:d(57584),map:d(47316),null:d(4333),pairs:d(16267),set:d(78758),timestamp:d(28966),bool:d(67296),int:d(62271),merge:d(76854),omap:d(58649),seq:d(77161),str:d(53929)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},19816:i=>{"use strict";function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,c){var d,p,A,C;if(c){C=Object.keys(c);for(d=0,p=C.length;d<p;d+=1){A=C[d];i[A]=c[A]}}return i}function repeat(i,c){var d="",p;for(p=0;p<c;p+=1){d+=i}return d}function isNegativeZero(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}i.exports.isNothing=isNothing;i.exports.isObject=isObject;i.exports.toArray=toArray;i.exports.repeat=repeat;i.exports.isNegativeZero=isNegativeZero;i.exports.extend=extend},59980:(i,c,d)=>{"use strict";var p=d(19816);var A=d(41248);var C=d(97336);var S=Object.prototype.toString;var v=Object.prototype.hasOwnProperty;var _=65279;var T=9;var V=10;var Z=13;var ee=32;var te=33;var re=34;var ne=35;var ie=37;var se=38;var oe=39;var ae=42;var le=44;var ce=45;var ue=58;var de=61;var fe=62;var pe=63;var Ae=64;var he=91;var ge=93;var me=96;var ye=123;var Ee=124;var be=125;var Ce={};Ce[0]="\\0";Ce[7]="\\a";Ce[8]="\\b";Ce[9]="\\t";Ce[10]="\\n";Ce[11]="\\v";Ce[12]="\\f";Ce[13]="\\r";Ce[27]="\\e";Ce[34]='\\"';Ce[92]="\\\\";Ce[133]="\\N";Ce[160]="\\_";Ce[8232]="\\L";Ce[8233]="\\P";var we=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var Ie=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,c){var d,p,A,C,S,_,T;if(c===null)return{};d={};p=Object.keys(c);for(A=0,C=p.length;A<C;A+=1){S=p[A];_=String(c[S]);if(S.slice(0,2)==="!!"){S="tag:yaml.org,2002:"+S.slice(2)}T=i.compiledTypeMap["fallback"][S];if(T&&v.call(T.styleAliases,_)){_=T.styleAliases[_]}d[S]=_}return d}function encodeHex(i){var c,d,C;c=i.toString(16).toUpperCase();if(i<=255){d="x";C=2}else if(i<=65535){d="u";C=4}else if(i<=4294967295){d="U";C=8}else{throw new A("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+d+p.repeat("0",C-c.length)+c}var Se=1,ve=2;function State(i){this.schema=i["schema"]||C;this.indent=Math.max(1,i["indent"]||2);this.noArrayIndent=i["noArrayIndent"]||false;this.skipInvalid=i["skipInvalid"]||false;this.flowLevel=p.isNothing(i["flowLevel"])?-1:i["flowLevel"];this.styleMap=compileStyleMap(this.schema,i["styles"]||null);this.sortKeys=i["sortKeys"]||false;this.lineWidth=i["lineWidth"]||80;this.noRefs=i["noRefs"]||false;this.noCompatMode=i["noCompatMode"]||false;this.condenseFlow=i["condenseFlow"]||false;this.quotingType=i["quotingType"]==='"'?ve:Se;this.forceQuotes=i["forceQuotes"]||false;this.replacer=typeof i["replacer"]==="function"?i["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(i,c){var d=p.repeat(" ",c),A=0,C=-1,S="",v,_=i.length;while(A<_){C=i.indexOf("\n",A);if(C===-1){v=i.slice(A);A=_}else{v=i.slice(A,C+1);A=C+1}if(v.length&&v!=="\n")S+=d;S+=v}return S}function generateNextLine(i,c){return"\n"+p.repeat(" ",i.indent*c)}function testImplicitResolving(i,c){var d,p,A;for(d=0,p=i.implicitTypes.length;d<p;d+=1){A=i.implicitTypes[d];if(A.resolve(c)){return true}}return false}function isWhitespace(i){return i===ee||i===T}function isPrintable(i){return 32<=i&&i<=126||161<=i&&i<=55295&&i!==8232&&i!==8233||57344<=i&&i<=65533&&i!==_||65536<=i&&i<=1114111}function isNsCharOrWhitespace(i){return isPrintable(i)&&i!==_&&i!==Z&&i!==V}function isPlainSafe(i,c,d){var p=isNsCharOrWhitespace(i);var A=p&&!isWhitespace(i);return(d?p:p&&i!==le&&i!==he&&i!==ge&&i!==ye&&i!==be)&&i!==ne&&!(c===ue&&!A)||isNsCharOrWhitespace(c)&&!isWhitespace(c)&&i===ne||c===ue&&A}function isPlainSafeFirst(i){return isPrintable(i)&&i!==_&&!isWhitespace(i)&&i!==ce&&i!==pe&&i!==ue&&i!==le&&i!==he&&i!==ge&&i!==ye&&i!==be&&i!==ne&&i!==se&&i!==ae&&i!==te&&i!==Ee&&i!==de&&i!==fe&&i!==oe&&i!==re&&i!==ie&&i!==Ae&&i!==me}function isPlainSafeLast(i){return!isWhitespace(i)&&i!==ue}function codePointAt(i,c){var d=i.charCodeAt(c),p;if(d>=55296&&d<=56319&&c+1<i.length){p=i.charCodeAt(c+1);if(p>=56320&&p<=57343){return(d-55296)*1024+p-56320+65536}}return d}function needIndentIndicator(i){var c=/^\n* /;return c.test(i)}var Be=1,Re=2,_e=3,Ne=4,Qe=5;function chooseScalarStyle(i,c,d,p,A,C,S,v){var _;var T=0;var Z=null;var ee=false;var te=false;var re=p!==-1;var ne=-1;var ie=isPlainSafeFirst(codePointAt(i,0))&&isPlainSafeLast(codePointAt(i,i.length-1));if(c||S){for(_=0;_<i.length;T>=65536?_+=2:_++){T=codePointAt(i,_);if(!isPrintable(T)){return Qe}ie=ie&&isPlainSafe(T,Z,v);Z=T}}else{for(_=0;_<i.length;T>=65536?_+=2:_++){T=codePointAt(i,_);if(T===V){ee=true;if(re){te=te||_-ne-1>p&&i[ne+1]!==" ";ne=_}}else if(!isPrintable(T)){return Qe}ie=ie&&isPlainSafe(T,Z,v);Z=T}te=te||re&&(_-ne-1>p&&i[ne+1]!==" ")}if(!ee&&!te){if(ie&&!S&&!A(i)){return Be}return C===ve?Qe:Re}if(d>9&&needIndentIndicator(i)){return Qe}if(!S){return te?Ne:_e}return C===ve?Qe:Re}function writeScalar(i,c,d,p,C){i.dump=function(){if(c.length===0){return i.quotingType===ve?'""':"''"}if(!i.noCompatMode){if(we.indexOf(c)!==-1||Ie.test(c)){return i.quotingType===ve?'"'+c+'"':"'"+c+"'"}}var S=i.indent*Math.max(1,d);var v=i.lineWidth===-1?-1:Math.max(Math.min(i.lineWidth,40),i.lineWidth-S);var _=p||i.flowLevel>-1&&d>=i.flowLevel;function testAmbiguity(c){return testImplicitResolving(i,c)}switch(chooseScalarStyle(c,_,i.indent,v,testAmbiguity,i.quotingType,i.forceQuotes&&!p,C)){case Be:return c;case Re:return"'"+c.replace(/'/g,"''")+"'";case _e:return"|"+blockHeader(c,i.indent)+dropEndingNewline(indentString(c,S));case Ne:return">"+blockHeader(c,i.indent)+dropEndingNewline(indentString(foldString(c,v),S));case Qe:return'"'+escapeString(c,v)+'"';default:throw new A("impossible error: invalid scalar style")}}()}function blockHeader(i,c){var d=needIndentIndicator(i)?String(c):"";var p=i[i.length-1]==="\n";var A=p&&(i[i.length-2]==="\n"||i==="\n");var C=A?"+":p?"":"-";return d+C+"\n"}function dropEndingNewline(i){return i[i.length-1]==="\n"?i.slice(0,-1):i}function foldString(i,c){var d=/(\n+)([^\n]*)/g;var p=function(){var p=i.indexOf("\n");p=p!==-1?p:i.length;d.lastIndex=p;return foldLine(i.slice(0,p),c)}();var A=i[0]==="\n"||i[0]===" ";var C;var S;while(S=d.exec(i)){var v=S[1],_=S[2];C=_[0]===" ";p+=v+(!A&&!C&&_!==""?"\n":"")+foldLine(_,c);A=C}return p}function foldLine(i,c){if(i===""||i[0]===" ")return i;var d=/ [^ ]/g;var p;var A=0,C,S=0,v=0;var _="";while(p=d.exec(i)){v=p.index;if(v-A>c){C=S>A?S:v;_+="\n"+i.slice(A,C);A=C+1}S=v}_+="\n";if(i.length-A>c&&S>A){_+=i.slice(A,S)+"\n"+i.slice(S+1)}else{_+=i.slice(A)}return _.slice(1)}function escapeString(i){var c="";var d=0;var p;for(var A=0;A<i.length;d>=65536?A+=2:A++){d=codePointAt(i,A);p=Ce[d];if(!p&&isPrintable(d)){c+=i[A];if(d>=65536)c+=i[A+1]}else{c+=p||encodeHex(d)}}return c}function writeFlowSequence(i,c,d){var p="",A=i.tag,C,S,v;for(C=0,S=d.length;C<S;C+=1){v=d[C];if(i.replacer){v=i.replacer.call(d,String(C),v)}if(writeNode(i,c,v,false,false)||typeof v==="undefined"&&writeNode(i,c,null,false,false)){if(p!=="")p+=","+(!i.condenseFlow?" ":"");p+=i.dump}}i.tag=A;i.dump="["+p+"]"}function writeBlockSequence(i,c,d,p){var A="",C=i.tag,S,v,_;for(S=0,v=d.length;S<v;S+=1){_=d[S];if(i.replacer){_=i.replacer.call(d,String(S),_)}if(writeNode(i,c+1,_,true,true,false,true)||typeof _==="undefined"&&writeNode(i,c+1,null,true,true,false,true)){if(!p||A!==""){A+=generateNextLine(i,c)}if(i.dump&&V===i.dump.charCodeAt(0)){A+="-"}else{A+="- "}A+=i.dump}}i.tag=C;i.dump=A||"[]"}function writeFlowMapping(i,c,d){var p="",A=i.tag,C=Object.keys(d),S,v,_,T,V;for(S=0,v=C.length;S<v;S+=1){V="";if(p!=="")V+=", ";if(i.condenseFlow)V+='"';_=C[S];T=d[_];if(i.replacer){T=i.replacer.call(d,_,T)}if(!writeNode(i,c,_,false,false)){continue}if(i.dump.length>1024)V+="? ";V+=i.dump+(i.condenseFlow?'"':"")+":"+(i.condenseFlow?"":" ");if(!writeNode(i,c,T,false,false)){continue}V+=i.dump;p+=V}i.tag=A;i.dump="{"+p+"}"}function writeBlockMapping(i,c,d,p){var C="",S=i.tag,v=Object.keys(d),_,T,Z,ee,te,re;if(i.sortKeys===true){v.sort()}else if(typeof i.sortKeys==="function"){v.sort(i.sortKeys)}else if(i.sortKeys){throw new A("sortKeys must be a boolean or a function")}for(_=0,T=v.length;_<T;_+=1){re="";if(!p||C!==""){re+=generateNextLine(i,c)}Z=v[_];ee=d[Z];if(i.replacer){ee=i.replacer.call(d,Z,ee)}if(!writeNode(i,c+1,Z,true,true,true)){continue}te=i.tag!==null&&i.tag!=="?"||i.dump&&i.dump.length>1024;if(te){if(i.dump&&V===i.dump.charCodeAt(0)){re+="?"}else{re+="? "}}re+=i.dump;if(te){re+=generateNextLine(i,c)}if(!writeNode(i,c+1,ee,true,te)){continue}if(i.dump&&V===i.dump.charCodeAt(0)){re+=":"}else{re+=": "}re+=i.dump;C+=re}i.tag=S;i.dump=C||"{}"}function detectType(i,c,d){var p,C,_,T,V,Z;C=d?i.explicitTypes:i.implicitTypes;for(_=0,T=C.length;_<T;_+=1){V=C[_];if((V.instanceOf||V.predicate)&&(!V.instanceOf||typeof c==="object"&&c instanceof V.instanceOf)&&(!V.predicate||V.predicate(c))){if(d){if(V.multi&&V.representName){i.tag=V.representName(c)}else{i.tag=V.tag}}else{i.tag="?"}if(V.represent){Z=i.styleMap[V.tag]||V.defaultStyle;if(S.call(V.represent)==="[object Function]"){p=V.represent(c,Z)}else if(v.call(V.represent,Z)){p=V.represent[Z](c,Z)}else{throw new A("!<"+V.tag+'> tag resolver accepts not "'+Z+'" style')}i.dump=p}return true}}return false}function writeNode(i,c,d,p,C,v,_){i.tag=null;i.dump=d;if(!detectType(i,d,false)){detectType(i,d,true)}var T=S.call(i.dump);var V=p;var Z;if(p){p=i.flowLevel<0||i.flowLevel>c}var ee=T==="[object Object]"||T==="[object Array]",te,re;if(ee){te=i.duplicates.indexOf(d);re=te!==-1}if(i.tag!==null&&i.tag!=="?"||re||i.indent!==2&&c>0){C=false}if(re&&i.usedDuplicates[te]){i.dump="*ref_"+te}else{if(ee&&re&&!i.usedDuplicates[te]){i.usedDuplicates[te]=true}if(T==="[object Object]"){if(p&&Object.keys(i.dump).length!==0){writeBlockMapping(i,c,i.dump,C);if(re){i.dump="&ref_"+te+i.dump}}else{writeFlowMapping(i,c,i.dump);if(re){i.dump="&ref_"+te+" "+i.dump}}}else if(T==="[object Array]"){if(p&&i.dump.length!==0){if(i.noArrayIndent&&!_&&c>0){writeBlockSequence(i,c-1,i.dump,C)}else{writeBlockSequence(i,c,i.dump,C)}if(re){i.dump="&ref_"+te+i.dump}}else{writeFlowSequence(i,c,i.dump);if(re){i.dump="&ref_"+te+" "+i.dump}}}else if(T==="[object String]"){if(i.tag!=="?"){writeScalar(i,i.dump,c,v,V)}}else if(T==="[object Undefined]"){return false}else{if(i.skipInvalid)return false;throw new A("unacceptable kind of an object to dump "+T)}if(i.tag!==null&&i.tag!=="?"){Z=encodeURI(i.tag[0]==="!"?i.tag.slice(1):i.tag).replace(/!/g,"%21");if(i.tag[0]==="!"){Z="!"+Z}else if(Z.slice(0,18)==="tag:yaml.org,2002:"){Z="!!"+Z.slice(18)}else{Z="!<"+Z+">"}i.dump=Z+" "+i.dump}}return true}function getDuplicateReferences(i,c){var d=[],p=[],A,C;inspectNode(i,d,p);for(A=0,C=p.length;A<C;A+=1){c.duplicates.push(d[p[A]])}c.usedDuplicates=new Array(C)}function inspectNode(i,c,d){var p,A,C;if(i!==null&&typeof i==="object"){A=c.indexOf(i);if(A!==-1){if(d.indexOf(A)===-1){d.push(A)}}else{c.push(i);if(Array.isArray(i)){for(A=0,C=i.length;A<C;A+=1){inspectNode(i[A],c,d)}}else{p=Object.keys(i);for(A=0,C=p.length;A<C;A+=1){inspectNode(i[p[A]],c,d)}}}}}function dump(i,c){c=c||{};var d=new State(c);if(!d.noRefs)getDuplicateReferences(i,d);var p=i;if(d.replacer){p=d.replacer.call({"":p},"",p)}if(writeNode(d,0,p,true,true))return d.dump+"\n";return""}i.exports.dump=dump},41248:i=>{"use strict";function formatError(i,c){var d="",p=i.reason||"(unknown reason)";if(!i.mark)return p;if(i.mark.name){d+='in "'+i.mark.name+'" '}d+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")";if(!c&&i.mark.snippet){d+="\n\n"+i.mark.snippet}return p+" "+d}function YAMLException(i,c){Error.call(this);this.name="YAMLException";this.reason=i;this.mark=c;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(i){return this.name+": "+formatError(this,i)};i.exports=YAMLException},91950:(i,c,d)=>{"use strict";var p=d(19816);var A=d(41248);var C=d(9440);var S=d(97336);var v=Object.prototype.hasOwnProperty;var _=1;var T=2;var V=3;var Z=4;var ee=1;var te=2;var re=3;var ne=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var ie=/[\x85\u2028\u2029]/;var se=/[,\[\]\{\}]/;var oe=/^(?:!|!!|![a-z\-]+!)$/i;var ae=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(i){return Object.prototype.toString.call(i)}function is_EOL(i){return i===10||i===13}function is_WHITE_SPACE(i){return i===9||i===32}function is_WS_OR_EOL(i){return i===9||i===32||i===10||i===13}function is_FLOW_INDICATOR(i){return i===44||i===91||i===93||i===123||i===125}function fromHexCode(i){var c;if(48<=i&&i<=57){return i-48}c=i|32;if(97<=c&&c<=102){return c-97+10}return-1}function escapedHexLen(i){if(i===120){return 2}if(i===117){return 4}if(i===85){return 8}return 0}function fromDecimalCode(i){if(48<=i&&i<=57){return i-48}return-1}function simpleEscapeSequence(i){return i===48?"\0":i===97?"":i===98?"\b":i===116?"\t":i===9?"\t":i===110?"\n":i===118?"\v":i===102?"\f":i===114?"\r":i===101?"":i===32?" ":i===34?'"':i===47?"/":i===92?"\\":i===78?"
":i===95?" ":i===76?"\u2028":i===80?"\u2029":""}function charFromCodepoint(i){if(i<=65535){return String.fromCharCode(i)}return String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}function setProperty(i,c,d){if(c==="__proto__"){Object.defineProperty(i,c,{configurable:true,enumerable:true,writable:true,value:d})}else{i[c]=d}}var le=new Array(256);var ce=new Array(256);for(var ue=0;ue<256;ue++){le[ue]=simpleEscapeSequence(ue)?1:0;ce[ue]=simpleEscapeSequence(ue)}function State(i,c){this.input=i;this.filename=c["filename"]||null;this.schema=c["schema"]||S;this.onWarning=c["onWarning"]||null;this.legacy=c["legacy"]||false;this.json=c["json"]||false;this.listener=c["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=i.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(i,c){var d={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};d.snippet=C(d);return new A(c,d)}function throwError(i,c){throw generateError(i,c)}function throwWarning(i,c){if(i.onWarning){i.onWarning.call(null,generateError(i,c))}}var de={YAML:function handleYamlDirective(i,c,d){var p,A,C;if(i.version!==null){throwError(i,"duplication of %YAML directive")}if(d.length!==1){throwError(i,"YAML directive accepts exactly one argument")}p=/^([0-9]+)\.([0-9]+)$/.exec(d[0]);if(p===null){throwError(i,"ill-formed argument of the YAML directive")}A=parseInt(p[1],10);C=parseInt(p[2],10);if(A!==1){throwError(i,"unacceptable YAML version of the document")}i.version=d[0];i.checkLineBreaks=C<2;if(C!==1&&C!==2){throwWarning(i,"unsupported YAML version of the document")}},TAG:function handleTagDirective(i,c,d){var p,A;if(d.length!==2){throwError(i,"TAG directive accepts exactly two arguments")}p=d[0];A=d[1];if(!oe.test(p)){throwError(i,"ill-formed tag handle (first argument) of the TAG directive")}if(v.call(i.tagMap,p)){throwError(i,'there is a previously declared suffix for "'+p+'" tag handle')}if(!ae.test(A)){throwError(i,"ill-formed tag prefix (second argument) of the TAG directive")}try{A=decodeURIComponent(A)}catch(c){throwError(i,"tag prefix is malformed: "+A)}i.tagMap[p]=A}};function captureSegment(i,c,d,p){var A,C,S,v;if(c<d){v=i.input.slice(c,d);if(p){for(A=0,C=v.length;A<C;A+=1){S=v.charCodeAt(A);if(!(S===9||32<=S&&S<=1114111)){throwError(i,"expected valid JSON character")}}}else if(ne.test(v)){throwError(i,"the stream contains non-printable characters")}i.result+=v}}function mergeMappings(i,c,d,A){var C,S,_,T;if(!p.isObject(d)){throwError(i,"cannot merge mappings; the provided source object is unacceptable")}C=Object.keys(d);for(_=0,T=C.length;_<T;_+=1){S=C[_];if(!v.call(c,S)){setProperty(c,S,d[S]);A[S]=true}}}function storeMappingPair(i,c,d,p,A,C,S,_,T){var V,Z;if(Array.isArray(A)){A=Array.prototype.slice.call(A);for(V=0,Z=A.length;V<Z;V+=1){if(Array.isArray(A[V])){throwError(i,"nested arrays are not supported inside keys")}if(typeof A==="object"&&_class(A[V])==="[object Object]"){A[V]="[object Object]"}}}if(typeof A==="object"&&_class(A)==="[object Object]"){A="[object Object]"}A=String(A);if(c===null){c={}}if(p==="tag:yaml.org,2002:merge"){if(Array.isArray(C)){for(V=0,Z=C.length;V<Z;V+=1){mergeMappings(i,c,C[V],d)}}else{mergeMappings(i,c,C,d)}}else{if(!i.json&&!v.call(d,A)&&v.call(c,A)){i.line=S||i.line;i.lineStart=_||i.lineStart;i.position=T||i.position;throwError(i,"duplicated mapping key")}setProperty(c,A,C);delete d[A]}return c}function readLineBreak(i){var c;c=i.input.charCodeAt(i.position);if(c===10){i.position++}else if(c===13){i.position++;if(i.input.charCodeAt(i.position)===10){i.position++}}else{throwError(i,"a line break is expected")}i.line+=1;i.lineStart=i.position;i.firstTabInLine=-1}function skipSeparationSpace(i,c,d){var p=0,A=i.input.charCodeAt(i.position);while(A!==0){while(is_WHITE_SPACE(A)){if(A===9&&i.firstTabInLine===-1){i.firstTabInLine=i.position}A=i.input.charCodeAt(++i.position)}if(c&&A===35){do{A=i.input.charCodeAt(++i.position)}while(A!==10&&A!==13&&A!==0)}if(is_EOL(A)){readLineBreak(i);A=i.input.charCodeAt(i.position);p++;i.lineIndent=0;while(A===32){i.lineIndent++;A=i.input.charCodeAt(++i.position)}}else{break}}if(d!==-1&&p!==0&&i.lineIndent<d){throwWarning(i,"deficient indentation")}return p}function testDocumentSeparator(i){var c=i.position,d;d=i.input.charCodeAt(c);if((d===45||d===46)&&d===i.input.charCodeAt(c+1)&&d===i.input.charCodeAt(c+2)){c+=3;d=i.input.charCodeAt(c);if(d===0||is_WS_OR_EOL(d)){return true}}return false}function writeFoldedLines(i,c){if(c===1){i.result+=" "}else if(c>1){i.result+=p.repeat("\n",c-1)}}function readPlainScalar(i,c,d){var p,A,C,S,v,_,T,V,Z=i.kind,ee=i.result,te;te=i.input.charCodeAt(i.position);if(is_WS_OR_EOL(te)||is_FLOW_INDICATOR(te)||te===35||te===38||te===42||te===33||te===124||te===62||te===39||te===34||te===37||te===64||te===96){return false}if(te===63||te===45){A=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(A)||d&&is_FLOW_INDICATOR(A)){return false}}i.kind="scalar";i.result="";C=S=i.position;v=false;while(te!==0){if(te===58){A=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(A)||d&&is_FLOW_INDICATOR(A)){break}}else if(te===35){p=i.input.charCodeAt(i.position-1);if(is_WS_OR_EOL(p)){break}}else if(i.position===i.lineStart&&testDocumentSeparator(i)||d&&is_FLOW_INDICATOR(te)){break}else if(is_EOL(te)){_=i.line;T=i.lineStart;V=i.lineIndent;skipSeparationSpace(i,false,-1);if(i.lineIndent>=c){v=true;te=i.input.charCodeAt(i.position);continue}else{i.position=S;i.line=_;i.lineStart=T;i.lineIndent=V;break}}if(v){captureSegment(i,C,S,false);writeFoldedLines(i,i.line-_);C=S=i.position;v=false}if(!is_WHITE_SPACE(te)){S=i.position+1}te=i.input.charCodeAt(++i.position)}captureSegment(i,C,S,false);if(i.result){return true}i.kind=Z;i.result=ee;return false}function readSingleQuotedScalar(i,c){var d,p,A;d=i.input.charCodeAt(i.position);if(d!==39){return false}i.kind="scalar";i.result="";i.position++;p=A=i.position;while((d=i.input.charCodeAt(i.position))!==0){if(d===39){captureSegment(i,p,i.position,true);d=i.input.charCodeAt(++i.position);if(d===39){p=i.position;i.position++;A=i.position}else{return true}}else if(is_EOL(d)){captureSegment(i,p,A,true);writeFoldedLines(i,skipSeparationSpace(i,false,c));p=A=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a single quoted scalar")}else{i.position++;A=i.position}}throwError(i,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(i,c){var d,p,A,C,S,v;v=i.input.charCodeAt(i.position);if(v!==34){return false}i.kind="scalar";i.result="";i.position++;d=p=i.position;while((v=i.input.charCodeAt(i.position))!==0){if(v===34){captureSegment(i,d,i.position,true);i.position++;return true}else if(v===92){captureSegment(i,d,i.position,true);v=i.input.charCodeAt(++i.position);if(is_EOL(v)){skipSeparationSpace(i,false,c)}else if(v<256&&le[v]){i.result+=ce[v];i.position++}else if((S=escapedHexLen(v))>0){A=S;C=0;for(;A>0;A--){v=i.input.charCodeAt(++i.position);if((S=fromHexCode(v))>=0){C=(C<<4)+S}else{throwError(i,"expected hexadecimal character")}}i.result+=charFromCodepoint(C);i.position++}else{throwError(i,"unknown escape sequence")}d=p=i.position}else if(is_EOL(v)){captureSegment(i,d,p,true);writeFoldedLines(i,skipSeparationSpace(i,false,c));d=p=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a double quoted scalar")}else{i.position++;p=i.position}}throwError(i,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(i,c){var d=true,p,A,C,S=i.tag,v,T=i.anchor,V,Z,ee,te,re,ne=Object.create(null),ie,se,oe,ae;ae=i.input.charCodeAt(i.position);if(ae===91){Z=93;re=false;v=[]}else if(ae===123){Z=125;re=true;v={}}else{return false}if(i.anchor!==null){i.anchorMap[i.anchor]=v}ae=i.input.charCodeAt(++i.position);while(ae!==0){skipSeparationSpace(i,true,c);ae=i.input.charCodeAt(i.position);if(ae===Z){i.position++;i.tag=S;i.anchor=T;i.kind=re?"mapping":"sequence";i.result=v;return true}else if(!d){throwError(i,"missed comma between flow collection entries")}else if(ae===44){throwError(i,"expected the node content, but found ','")}se=ie=oe=null;ee=te=false;if(ae===63){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)){ee=te=true;i.position++;skipSeparationSpace(i,true,c)}}p=i.line;A=i.lineStart;C=i.position;composeNode(i,c,_,false,true);se=i.tag;ie=i.result;skipSeparationSpace(i,true,c);ae=i.input.charCodeAt(i.position);if((te||i.line===p)&&ae===58){ee=true;ae=i.input.charCodeAt(++i.position);skipSeparationSpace(i,true,c);composeNode(i,c,_,false,true);oe=i.result}if(re){storeMappingPair(i,v,ne,se,ie,oe,p,A,C)}else if(ee){v.push(storeMappingPair(i,null,ne,se,ie,oe,p,A,C))}else{v.push(ie)}skipSeparationSpace(i,true,c);ae=i.input.charCodeAt(i.position);if(ae===44){d=true;ae=i.input.charCodeAt(++i.position)}else{d=false}}throwError(i,"unexpected end of the stream within a flow collection")}function readBlockScalar(i,c){var d,A,C=ee,S=false,v=false,_=c,T=0,V=false,Z,ne;ne=i.input.charCodeAt(i.position);if(ne===124){A=false}else if(ne===62){A=true}else{return false}i.kind="scalar";i.result="";while(ne!==0){ne=i.input.charCodeAt(++i.position);if(ne===43||ne===45){if(ee===C){C=ne===43?re:te}else{throwError(i,"repeat of a chomping mode identifier")}}else if((Z=fromDecimalCode(ne))>=0){if(Z===0){throwError(i,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!v){_=c+Z-1;v=true}else{throwError(i,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ne)){do{ne=i.input.charCodeAt(++i.position)}while(is_WHITE_SPACE(ne));if(ne===35){do{ne=i.input.charCodeAt(++i.position)}while(!is_EOL(ne)&&ne!==0)}}while(ne!==0){readLineBreak(i);i.lineIndent=0;ne=i.input.charCodeAt(i.position);while((!v||i.lineIndent<_)&&ne===32){i.lineIndent++;ne=i.input.charCodeAt(++i.position)}if(!v&&i.lineIndent>_){_=i.lineIndent}if(is_EOL(ne)){T++;continue}if(i.lineIndent<_){if(C===re){i.result+=p.repeat("\n",S?1+T:T)}else if(C===ee){if(S){i.result+="\n"}}break}if(A){if(is_WHITE_SPACE(ne)){V=true;i.result+=p.repeat("\n",S?1+T:T)}else if(V){V=false;i.result+=p.repeat("\n",T+1)}else if(T===0){if(S){i.result+=" "}}else{i.result+=p.repeat("\n",T)}}else{i.result+=p.repeat("\n",S?1+T:T)}S=true;v=true;T=0;d=i.position;while(!is_EOL(ne)&&ne!==0){ne=i.input.charCodeAt(++i.position)}captureSegment(i,d,i.position,false)}return true}function readBlockSequence(i,c){var d,p=i.tag,A=i.anchor,C=[],S,v=false,_;if(i.firstTabInLine!==-1)return false;if(i.anchor!==null){i.anchorMap[i.anchor]=C}_=i.input.charCodeAt(i.position);while(_!==0){if(i.firstTabInLine!==-1){i.position=i.firstTabInLine;throwError(i,"tab characters must not be used in indentation")}if(_!==45){break}S=i.input.charCodeAt(i.position+1);if(!is_WS_OR_EOL(S)){break}v=true;i.position++;if(skipSeparationSpace(i,true,-1)){if(i.lineIndent<=c){C.push(null);_=i.input.charCodeAt(i.position);continue}}d=i.line;composeNode(i,c,V,false,true);C.push(i.result);skipSeparationSpace(i,true,-1);_=i.input.charCodeAt(i.position);if((i.line===d||i.lineIndent>c)&&_!==0){throwError(i,"bad indentation of a sequence entry")}else if(i.lineIndent<c){break}}if(v){i.tag=p;i.anchor=A;i.kind="sequence";i.result=C;return true}return false}function readBlockMapping(i,c,d){var p,A,C,S,v,_,V=i.tag,ee=i.anchor,te={},re=Object.create(null),ne=null,ie=null,se=null,oe=false,ae=false,le;if(i.firstTabInLine!==-1)return false;if(i.anchor!==null){i.anchorMap[i.anchor]=te}le=i.input.charCodeAt(i.position);while(le!==0){if(!oe&&i.firstTabInLine!==-1){i.position=i.firstTabInLine;throwError(i,"tab characters must not be used in indentation")}p=i.input.charCodeAt(i.position+1);C=i.line;if((le===63||le===58)&&is_WS_OR_EOL(p)){if(le===63){if(oe){storeMappingPair(i,te,re,ne,ie,null,S,v,_);ne=ie=se=null}ae=true;oe=true;A=true}else if(oe){oe=false;A=true}else{throwError(i,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}i.position+=1;le=p}else{S=i.line;v=i.lineStart;_=i.position;if(!composeNode(i,d,T,false,true)){break}if(i.line===C){le=i.input.charCodeAt(i.position);while(is_WHITE_SPACE(le)){le=i.input.charCodeAt(++i.position)}if(le===58){le=i.input.charCodeAt(++i.position);if(!is_WS_OR_EOL(le)){throwError(i,"a whitespace character is expected after the key-value separator within a block mapping")}if(oe){storeMappingPair(i,te,re,ne,ie,null,S,v,_);ne=ie=se=null}ae=true;oe=false;A=false;ne=i.tag;ie=i.result}else if(ae){throwError(i,"can not read an implicit mapping pair; a colon is missed")}else{i.tag=V;i.anchor=ee;return true}}else if(ae){throwError(i,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{i.tag=V;i.anchor=ee;return true}}if(i.line===C||i.lineIndent>c){if(oe){S=i.line;v=i.lineStart;_=i.position}if(composeNode(i,c,Z,true,A)){if(oe){ie=i.result}else{se=i.result}}if(!oe){storeMappingPair(i,te,re,ne,ie,se,S,v,_);ne=ie=se=null}skipSeparationSpace(i,true,-1);le=i.input.charCodeAt(i.position)}if((i.line===C||i.lineIndent>c)&&le!==0){throwError(i,"bad indentation of a mapping entry")}else if(i.lineIndent<c){break}}if(oe){storeMappingPair(i,te,re,ne,ie,null,S,v,_)}if(ae){i.tag=V;i.anchor=ee;i.kind="mapping";i.result=te}return ae}function readTagProperty(i){var c,d=false,p=false,A,C,S;S=i.input.charCodeAt(i.position);if(S!==33)return false;if(i.tag!==null){throwError(i,"duplication of a tag property")}S=i.input.charCodeAt(++i.position);if(S===60){d=true;S=i.input.charCodeAt(++i.position)}else if(S===33){p=true;A="!!";S=i.input.charCodeAt(++i.position)}else{A="!"}c=i.position;if(d){do{S=i.input.charCodeAt(++i.position)}while(S!==0&&S!==62);if(i.position<i.length){C=i.input.slice(c,i.position);S=i.input.charCodeAt(++i.position)}else{throwError(i,"unexpected end of the stream within a verbatim tag")}}else{while(S!==0&&!is_WS_OR_EOL(S)){if(S===33){if(!p){A=i.input.slice(c-1,i.position+1);if(!oe.test(A)){throwError(i,"named tag handle cannot contain such characters")}p=true;c=i.position+1}else{throwError(i,"tag suffix cannot contain exclamation marks")}}S=i.input.charCodeAt(++i.position)}C=i.input.slice(c,i.position);if(se.test(C)){throwError(i,"tag suffix cannot contain flow indicator characters")}}if(C&&!ae.test(C)){throwError(i,"tag name cannot contain such characters: "+C)}try{C=decodeURIComponent(C)}catch(c){throwError(i,"tag name is malformed: "+C)}if(d){i.tag=C}else if(v.call(i.tagMap,A)){i.tag=i.tagMap[A]+C}else if(A==="!"){i.tag="!"+C}else if(A==="!!"){i.tag="tag:yaml.org,2002:"+C}else{throwError(i,'undeclared tag handle "'+A+'"')}return true}function readAnchorProperty(i){var c,d;d=i.input.charCodeAt(i.position);if(d!==38)return false;if(i.anchor!==null){throwError(i,"duplication of an anchor property")}d=i.input.charCodeAt(++i.position);c=i.position;while(d!==0&&!is_WS_OR_EOL(d)&&!is_FLOW_INDICATOR(d)){d=i.input.charCodeAt(++i.position)}if(i.position===c){throwError(i,"name of an anchor node must contain at least one character")}i.anchor=i.input.slice(c,i.position);return true}function readAlias(i){var c,d,p;p=i.input.charCodeAt(i.position);if(p!==42)return false;p=i.input.charCodeAt(++i.position);c=i.position;while(p!==0&&!is_WS_OR_EOL(p)&&!is_FLOW_INDICATOR(p)){p=i.input.charCodeAt(++i.position)}if(i.position===c){throwError(i,"name of an alias node must contain at least one character")}d=i.input.slice(c,i.position);if(!v.call(i.anchorMap,d)){throwError(i,'unidentified alias "'+d+'"')}i.result=i.anchorMap[d];skipSeparationSpace(i,true,-1);return true}function composeNode(i,c,d,p,A){var C,S,ee,te=1,re=false,ne=false,ie,se,oe,ae,le,ce;if(i.listener!==null){i.listener("open",i)}i.tag=null;i.anchor=null;i.kind=null;i.result=null;C=S=ee=Z===d||V===d;if(p){if(skipSeparationSpace(i,true,-1)){re=true;if(i.lineIndent>c){te=1}else if(i.lineIndent===c){te=0}else if(i.lineIndent<c){te=-1}}}if(te===1){while(readTagProperty(i)||readAnchorProperty(i)){if(skipSeparationSpace(i,true,-1)){re=true;ee=C;if(i.lineIndent>c){te=1}else if(i.lineIndent===c){te=0}else if(i.lineIndent<c){te=-1}}else{ee=false}}}if(ee){ee=re||A}if(te===1||Z===d){if(_===d||T===d){le=c}else{le=c+1}ce=i.position-i.lineStart;if(te===1){if(ee&&(readBlockSequence(i,ce)||readBlockMapping(i,ce,le))||readFlowCollection(i,le)){ne=true}else{if(S&&readBlockScalar(i,le)||readSingleQuotedScalar(i,le)||readDoubleQuotedScalar(i,le)){ne=true}else if(readAlias(i)){ne=true;if(i.tag!==null||i.anchor!==null){throwError(i,"alias node should not have any properties")}}else if(readPlainScalar(i,le,_===d)){ne=true;if(i.tag===null){i.tag="?"}}if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}}else if(te===0){ne=ee&&readBlockSequence(i,ce)}}if(i.tag===null){if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}else if(i.tag==="?"){if(i.result!==null&&i.kind!=="scalar"){throwError(i,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+i.kind+'"')}for(ie=0,se=i.implicitTypes.length;ie<se;ie+=1){ae=i.implicitTypes[ie];if(ae.resolve(i.result)){i.result=ae.construct(i.result);i.tag=ae.tag;if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}break}}}else if(i.tag!=="!"){if(v.call(i.typeMap[i.kind||"fallback"],i.tag)){ae=i.typeMap[i.kind||"fallback"][i.tag]}else{ae=null;oe=i.typeMap.multi[i.kind||"fallback"];for(ie=0,se=oe.length;ie<se;ie+=1){if(i.tag.slice(0,oe[ie].tag.length)===oe[ie].tag){ae=oe[ie];break}}}if(!ae){throwError(i,"unknown tag !<"+i.tag+">")}if(i.result!==null&&ae.kind!==i.kind){throwError(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+ae.kind+'", not "'+i.kind+'"')}if(!ae.resolve(i.result,i.tag)){throwError(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}else{i.result=ae.construct(i.result,i.tag);if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}}if(i.listener!==null){i.listener("close",i)}return i.tag!==null||i.anchor!==null||ne}function readDocument(i){var c=i.position,d,p,A,C=false,S;i.version=null;i.checkLineBreaks=i.legacy;i.tagMap=Object.create(null);i.anchorMap=Object.create(null);while((S=i.input.charCodeAt(i.position))!==0){skipSeparationSpace(i,true,-1);S=i.input.charCodeAt(i.position);if(i.lineIndent>0||S!==37){break}C=true;S=i.input.charCodeAt(++i.position);d=i.position;while(S!==0&&!is_WS_OR_EOL(S)){S=i.input.charCodeAt(++i.position)}p=i.input.slice(d,i.position);A=[];if(p.length<1){throwError(i,"directive name must not be less than one character in length")}while(S!==0){while(is_WHITE_SPACE(S)){S=i.input.charCodeAt(++i.position)}if(S===35){do{S=i.input.charCodeAt(++i.position)}while(S!==0&&!is_EOL(S));break}if(is_EOL(S))break;d=i.position;while(S!==0&&!is_WS_OR_EOL(S)){S=i.input.charCodeAt(++i.position)}A.push(i.input.slice(d,i.position))}if(S!==0)readLineBreak(i);if(v.call(de,p)){de[p](i,p,A)}else{throwWarning(i,'unknown document directive "'+p+'"')}}skipSeparationSpace(i,true,-1);if(i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45){i.position+=3;skipSeparationSpace(i,true,-1)}else if(C){throwError(i,"directives end mark is expected")}composeNode(i,i.lineIndent-1,Z,false,true);skipSeparationSpace(i,true,-1);if(i.checkLineBreaks&&ie.test(i.input.slice(c,i.position))){throwWarning(i,"non-ASCII line breaks are interpreted as content")}i.documents.push(i.result);if(i.position===i.lineStart&&testDocumentSeparator(i)){if(i.input.charCodeAt(i.position)===46){i.position+=3;skipSeparationSpace(i,true,-1)}return}if(i.position<i.length-1){throwError(i,"end of the stream or a document separator is expected")}else{return}}function loadDocuments(i,c){i=String(i);c=c||{};if(i.length!==0){if(i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13){i+="\n"}if(i.charCodeAt(0)===65279){i=i.slice(1)}}var d=new State(i,c);var p=i.indexOf("\0");if(p!==-1){d.position=p;throwError(d,"null byte is not allowed in input")}d.input+="\0";while(d.input.charCodeAt(d.position)===32){d.lineIndent+=1;d.position+=1}while(d.position<d.length-1){readDocument(d)}return d.documents}function loadAll(i,c,d){if(c!==null&&typeof c==="object"&&typeof d==="undefined"){d=c;c=null}var p=loadDocuments(i,d);if(typeof c!=="function"){return p}for(var A=0,C=p.length;A<C;A+=1){c(p[A])}}function load(i,c){var d=loadDocuments(i,c);if(d.length===0){return undefined}else if(d.length===1){return d[0]}throw new A("expected a single document in the stream, but found more")}i.exports.loadAll=loadAll;i.exports.load=load},62046:(i,c,d)=>{"use strict";var p=d(41248);var A=d(9557);function compileList(i,c){var d=[];i[c].forEach((function(i){var c=d.length;d.forEach((function(d,p){if(d.tag===i.tag&&d.kind===i.kind&&d.multi===i.multi){c=p}}));d[c]=i}));return d}function compileMap(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},c,d;function collectType(c){if(c.multi){i.multi[c.kind].push(c);i.multi["fallback"].push(c)}else{i[c.kind][c.tag]=i["fallback"][c.tag]=c}}for(c=0,d=arguments.length;c<d;c+=1){arguments[c].forEach(collectType)}return i}function Schema(i){return this.extend(i)}Schema.prototype.extend=function extend(i){var c=[];var d=[];if(i instanceof A){d.push(i)}else if(Array.isArray(i)){d=d.concat(i)}else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit))){if(i.implicit)c=c.concat(i.implicit);if(i.explicit)d=d.concat(i.explicit)}else{throw new p("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}c.forEach((function(i){if(!(i instanceof A)){throw new p("Specified list of YAML types (or a single Type object) contains a non-Type object.")}if(i.loadKind&&i.loadKind!=="scalar"){throw new p("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}if(i.multi){throw new p("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}}));d.forEach((function(i){if(!(i instanceof A)){throw new p("Specified list of YAML types (or a single Type object) contains a non-Type object.")}}));var C=Object.create(Schema.prototype);C.implicit=(this.implicit||[]).concat(c);C.explicit=(this.explicit||[]).concat(d);C.compiledImplicit=compileList(C,"implicit");C.compiledExplicit=compileList(C,"explicit");C.compiledTypeMap=compileMap(C.compiledImplicit,C.compiledExplicit);return C};i.exports=Schema},55746:(i,c,d)=>{"use strict";i.exports=d(58927)},97336:(i,c,d)=>{"use strict";i.exports=d(55746).extend({implicit:[d(28966),d(76854)],explicit:[d(8149),d(58649),d(16267),d(78758)]})},69832:(i,c,d)=>{"use strict";var p=d(62046);i.exports=new p({explicit:[d(53929),d(77161),d(47316)]})},58927:(i,c,d)=>{"use strict";i.exports=d(69832).extend({implicit:[d(4333),d(67296),d(62271),d(57584)]})},9440:(i,c,d)=>{"use strict";var p=d(19816);function getLine(i,c,d,p,A){var C="";var S="";var v=Math.floor(A/2)-1;if(p-c>v){C=" ... ";c=p-v+C.length}if(d-p>v){S=" ...";d=p+v-S.length}return{str:C+i.slice(c,d).replace(/\t/g,"→")+S,pos:p-c+C.length}}function padStart(i,c){return p.repeat(" ",c-i.length)+i}function makeSnippet(i,c){c=Object.create(c||null);if(!i.buffer)return null;if(!c.maxLength)c.maxLength=79;if(typeof c.indent!=="number")c.indent=1;if(typeof c.linesBefore!=="number")c.linesBefore=3;if(typeof c.linesAfter!=="number")c.linesAfter=2;var d=/\r?\n|\r|\0/g;var A=[0];var C=[];var S;var v=-1;while(S=d.exec(i.buffer)){C.push(S.index);A.push(S.index+S[0].length);if(i.position<=S.index&&v<0){v=A.length-2}}if(v<0)v=A.length-1;var _="",T,V;var Z=Math.min(i.line+c.linesAfter,C.length).toString().length;var ee=c.maxLength-(c.indent+Z+3);for(T=1;T<=c.linesBefore;T++){if(v-T<0)break;V=getLine(i.buffer,A[v-T],C[v-T],i.position-(A[v]-A[v-T]),ee);_=p.repeat(" ",c.indent)+padStart((i.line-T+1).toString(),Z)+" | "+V.str+"\n"+_}V=getLine(i.buffer,A[v],C[v],i.position,ee);_+=p.repeat(" ",c.indent)+padStart((i.line+1).toString(),Z)+" | "+V.str+"\n";_+=p.repeat("-",c.indent+Z+3+V.pos)+"^"+"\n";for(T=1;T<=c.linesAfter;T++){if(v+T>=C.length)break;V=getLine(i.buffer,A[v+T],C[v+T],i.position-(A[v]-A[v+T]),ee);_+=p.repeat(" ",c.indent)+padStart((i.line+T+1).toString(),Z)+" | "+V.str+"\n"}return _.replace(/\n$/,"")}i.exports=makeSnippet},9557:(i,c,d)=>{"use strict";var p=d(41248);var A=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var C=["scalar","sequence","mapping"];function compileStyleAliases(i){var c={};if(i!==null){Object.keys(i).forEach((function(d){i[d].forEach((function(i){c[String(i)]=d}))}))}return c}function Type(i,c){c=c||{};Object.keys(c).forEach((function(c){if(A.indexOf(c)===-1){throw new p('Unknown option "'+c+'" is met in definition of "'+i+'" YAML type.')}}));this.options=c;this.tag=i;this.kind=c["kind"]||null;this.resolve=c["resolve"]||function(){return true};this.construct=c["construct"]||function(i){return i};this.instanceOf=c["instanceOf"]||null;this.predicate=c["predicate"]||null;this.represent=c["represent"]||null;this.representName=c["representName"]||null;this.defaultStyle=c["defaultStyle"]||null;this.multi=c["multi"]||false;this.styleAliases=compileStyleAliases(c["styleAliases"]||null);if(C.indexOf(this.kind)===-1){throw new p('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}i.exports=Type},8149:(i,c,d)=>{"use strict";var p=d(9557);var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(i){if(i===null)return false;var c,d,p=0,C=i.length,S=A;for(d=0;d<C;d++){c=S.indexOf(i.charAt(d));if(c>64)continue;if(c<0)return false;p+=6}return p%8===0}function constructYamlBinary(i){var c,d,p=i.replace(/[\r\n=]/g,""),C=p.length,S=A,v=0,_=[];for(c=0;c<C;c++){if(c%4===0&&c){_.push(v>>16&255);_.push(v>>8&255);_.push(v&255)}v=v<<6|S.indexOf(p.charAt(c))}d=C%4*6;if(d===0){_.push(v>>16&255);_.push(v>>8&255);_.push(v&255)}else if(d===18){_.push(v>>10&255);_.push(v>>2&255)}else if(d===12){_.push(v>>4&255)}return new Uint8Array(_)}function representYamlBinary(i){var c="",d=0,p,C,S=i.length,v=A;for(p=0;p<S;p++){if(p%3===0&&p){c+=v[d>>18&63];c+=v[d>>12&63];c+=v[d>>6&63];c+=v[d&63]}d=(d<<8)+i[p]}C=S%3;if(C===0){c+=v[d>>18&63];c+=v[d>>12&63];c+=v[d>>6&63];c+=v[d&63]}else if(C===2){c+=v[d>>10&63];c+=v[d>>4&63];c+=v[d<<2&63];c+=v[64]}else if(C===1){c+=v[d>>2&63];c+=v[d<<4&63];c+=v[64];c+=v[64]}return c}function isBinary(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}i.exports=new p("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},67296:(i,c,d)=>{"use strict";var p=d(9557);function resolveYamlBoolean(i){if(i===null)return false;var c=i.length;return c===4&&(i==="true"||i==="True"||i==="TRUE")||c===5&&(i==="false"||i==="False"||i==="FALSE")}function constructYamlBoolean(i){return i==="true"||i==="True"||i==="TRUE"}function isBoolean(i){return Object.prototype.toString.call(i)==="[object Boolean]"}i.exports=new p("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"})},57584:(i,c,d)=>{"use strict";var p=d(19816);var A=d(9557);var C=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(i){if(i===null)return false;if(!C.test(i)||i[i.length-1]==="_"){return false}return true}function constructYamlFloat(i){var c,d;c=i.replace(/_/g,"").toLowerCase();d=c[0]==="-"?-1:1;if("+-".indexOf(c[0])>=0){c=c.slice(1)}if(c===".inf"){return d===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(c===".nan"){return NaN}return d*parseFloat(c,10)}var S=/^[-+]?[0-9]+e/;function representYamlFloat(i,c){var d;if(isNaN(i)){switch(c){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===i){switch(c){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===i){switch(c){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(p.isNegativeZero(i)){return"-0.0"}d=i.toString(10);return S.test(d)?d.replace("e",".e"):d}function isFloat(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||p.isNegativeZero(i))}i.exports=new A("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},62271:(i,c,d)=>{"use strict";var p=d(19816);var A=d(9557);function isHexCode(i){return 48<=i&&i<=57||65<=i&&i<=70||97<=i&&i<=102}function isOctCode(i){return 48<=i&&i<=55}function isDecCode(i){return 48<=i&&i<=57}function resolveYamlInteger(i){if(i===null)return false;var c=i.length,d=0,p=false,A;if(!c)return false;A=i[d];if(A==="-"||A==="+"){A=i[++d]}if(A==="0"){if(d+1===c)return true;A=i[++d];if(A==="b"){d++;for(;d<c;d++){A=i[d];if(A==="_")continue;if(A!=="0"&&A!=="1")return false;p=true}return p&&A!=="_"}if(A==="x"){d++;for(;d<c;d++){A=i[d];if(A==="_")continue;if(!isHexCode(i.charCodeAt(d)))return false;p=true}return p&&A!=="_"}if(A==="o"){d++;for(;d<c;d++){A=i[d];if(A==="_")continue;if(!isOctCode(i.charCodeAt(d)))return false;p=true}return p&&A!=="_"}}if(A==="_")return false;for(;d<c;d++){A=i[d];if(A==="_")continue;if(!isDecCode(i.charCodeAt(d))){return false}p=true}if(!p||A==="_")return false;return true}function constructYamlInteger(i){var c=i,d=1,p;if(c.indexOf("_")!==-1){c=c.replace(/_/g,"")}p=c[0];if(p==="-"||p==="+"){if(p==="-")d=-1;c=c.slice(1);p=c[0]}if(c==="0")return 0;if(p==="0"){if(c[1]==="b")return d*parseInt(c.slice(2),2);if(c[1]==="x")return d*parseInt(c.slice(2),16);if(c[1]==="o")return d*parseInt(c.slice(2),8)}return d*parseInt(c,10)}function isInteger(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1===0&&!p.isNegativeZero(i))}i.exports=new A("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(i){return i>=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},47316:(i,c,d)=>{"use strict";var p=d(9557);i.exports=new p("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}})},76854:(i,c,d)=>{"use strict";var p=d(9557);function resolveYamlMerge(i){return i==="<<"||i===null}i.exports=new p("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},4333:(i,c,d)=>{"use strict";var p=d(9557);function resolveYamlNull(i){if(i===null)return true;var c=i.length;return c===1&&i==="~"||c===4&&(i==="null"||i==="Null"||i==="NULL")}function constructYamlNull(){return null}function isNull(i){return i===null}i.exports=new p("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},58649:(i,c,d)=>{"use strict";var p=d(9557);var A=Object.prototype.hasOwnProperty;var C=Object.prototype.toString;function resolveYamlOmap(i){if(i===null)return true;var c=[],d,p,S,v,_,T=i;for(d=0,p=T.length;d<p;d+=1){S=T[d];_=false;if(C.call(S)!=="[object Object]")return false;for(v in S){if(A.call(S,v)){if(!_)_=true;else return false}}if(!_)return false;if(c.indexOf(v)===-1)c.push(v);else return false}return true}function constructYamlOmap(i){return i!==null?i:[]}i.exports=new p("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap})},16267:(i,c,d)=>{"use strict";var p=d(9557);var A=Object.prototype.toString;function resolveYamlPairs(i){if(i===null)return true;var c,d,p,C,S,v=i;S=new Array(v.length);for(c=0,d=v.length;c<d;c+=1){p=v[c];if(A.call(p)!=="[object Object]")return false;C=Object.keys(p);if(C.length!==1)return false;S[c]=[C[0],p[C[0]]]}return true}function constructYamlPairs(i){if(i===null)return[];var c,d,p,A,C,S=i;C=new Array(S.length);for(c=0,d=S.length;c<d;c+=1){p=S[c];A=Object.keys(p);C[c]=[A[0],p[A[0]]]}return C}i.exports=new p("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs})},77161:(i,c,d)=>{"use strict";var p=d(9557);i.exports=new p("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}})},78758:(i,c,d)=>{"use strict";var p=d(9557);var A=Object.prototype.hasOwnProperty;function resolveYamlSet(i){if(i===null)return true;var c,d=i;for(c in d){if(A.call(d,c)){if(d[c]!==null)return false}}return true}function constructYamlSet(i){return i!==null?i:{}}i.exports=new p("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},53929:(i,c,d)=>{"use strict";var p=d(9557);i.exports=new p("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}})},28966:(i,c,d)=>{"use strict";var p=d(9557);var A=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var C=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(i){if(i===null)return false;if(A.exec(i)!==null)return true;if(C.exec(i)!==null)return true;return false}function constructYamlTimestamp(i){var c,d,p,S,v,_,T,V=0,Z=null,ee,te,re;c=A.exec(i);if(c===null)c=C.exec(i);if(c===null)throw new Error("Date resolve error");d=+c[1];p=+c[2]-1;S=+c[3];if(!c[4]){return new Date(Date.UTC(d,p,S))}v=+c[4];_=+c[5];T=+c[6];if(c[7]){V=c[7].slice(0,3);while(V.length<3){V+="0"}V=+V}if(c[9]){ee=+c[10];te=+(c[11]||0);Z=(ee*60+te)*6e4;if(c[9]==="-")Z=-Z}re=new Date(Date.UTC(d,p,S,v,_,T,V));if(Z)re.setTime(re.getTime()-Z);return re}function representYamlTimestamp(i){return i.toISOString()}i.exports=new p("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},79699:i=>{"use strict";function e(i){this.message=i}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var c="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(i){var c=String(i).replace(/=+$/,"");if(c.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var d,p,A=0,C=0,S="";p=c.charAt(C++);~p&&(d=A%4?64*d+p:p,A++%4)?S+=String.fromCharCode(255&d>>(-2*A&6)):0)p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(p);return S};function t(i){var d=i.replace(/-/g,"+").replace(/_/g,"/");switch(d.length%4){case 0:break;case 2:d+="==";break;case 3:d+="=";break;default:throw"Illegal base64url string!"}try{return function(i){return decodeURIComponent(c(i).replace(/(.)/g,(function(i,c){var d=c.charCodeAt(0).toString(16).toUpperCase();return d.length<2&&(d="0"+d),"%"+d})))}(d)}catch(i){return c(d)}}function n(i){this.message=i}function o(i,c){if("string"!=typeof i)throw new n("Invalid token specified");var d=!0===(c=c||{}).header?0:1;try{return JSON.parse(t(i.split(".")[d]))}catch(i){throw new n("Invalid token specified: "+i.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const d=o;d.default=o,d.InvalidTokenError=n,i.exports=d},32126:(i,c,d)=>{var p=d(39023);var A=d(1835);i.exports={Readable:Readable,Writable:Writable};p.inherits(Readable,A);p.inherits(Writable,A);function beforeFirstCall(i,c,d){i[c]=function(){delete i[c];d.apply(this,arguments);return this[c].apply(this,arguments)}}function Readable(i,c){if(!(this instanceof Readable))return new Readable(i,c);A.call(this,c);beforeFirstCall(this,"_read",(function(){var d=i.call(this,c);var p=this.emit.bind(this,"error");d.on("error",p);d.pipe(this)}));this.emit("readable")}function Writable(i,c){if(!(this instanceof Writable))return new Writable(i,c);A.call(this,c);beforeFirstCall(this,"_write",(function(){var d=i.call(this,c);var p=this.emit.bind(this,"error");d.on("error",p);this.pipe(d)}));this.emit("writable")}},34793:(i,c,d)=>{"use strict";var p=d(19183);var A=Object.keys||function(i){var c=[];for(var d in i){c.push(d)}return c};i.exports=Duplex;var C=Object.create(d(45481));C.inherits=d(39598);var S=d(74559);var v=d(54579);C.inherits(Duplex,S);{var _=A(v.prototype);for(var T=0;T<_.length;T++){var V=_[T];if(!Duplex.prototype[V])Duplex.prototype[V]=v.prototype[V]}}function Duplex(i){if(!(this instanceof Duplex))return new Duplex(i);S.call(this,i);v.call(this,i);if(i&&i.readable===false)this.readable=false;if(i&&i.writable===false)this.writable=false;this.allowHalfOpen=true;if(i&&i.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;p.nextTick(onEndNT,this)}function onEndNT(i){i.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(i){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=i;this._writableState.destroyed=i}});Duplex.prototype._destroy=function(i,c){this.push(null);this.end();p.nextTick(c,i)}},72029:(i,c,d)=>{"use strict";i.exports=PassThrough;var p=d(69343);var A=Object.create(d(45481));A.inherits=d(39598);A.inherits(PassThrough,p);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);p.call(this,i)}PassThrough.prototype._transform=function(i,c,d){d(null,i)}},74559:(i,c,d)=>{"use strict";var p=d(19183);i.exports=Readable;var A=d(82513);var C;Readable.ReadableState=ReadableState;var S=d(24434).EventEmitter;var EElistenerCount=function(i,c){return i.listeners(c).length};var v=d(87137);var _=d(93058).Buffer;var T=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return _.from(i)}function _isUint8Array(i){return _.isBuffer(i)||i instanceof T}var V=Object.create(d(45481));V.inherits=d(39598);var Z=d(39023);var ee=void 0;if(Z&&Z.debuglog){ee=Z.debuglog("stream")}else{ee=function(){}}var te=d(46127);var re=d(91031);var ne;V.inherits(Readable,v);var ie=["error","close","destroy","pause","resume"];function prependListener(i,c,d){if(typeof i.prependListener==="function")return i.prependListener(c,d);if(!i._events||!i._events[c])i.on(c,d);else if(A(i._events[c]))i._events[c].unshift(d);else i._events[c]=[d,i._events[c]]}function ReadableState(i,c){C=C||d(34793);i=i||{};var p=c instanceof C;this.objectMode=!!i.objectMode;if(p)this.objectMode=this.objectMode||!!i.readableObjectMode;var A=i.highWaterMark;var S=i.readableHighWaterMark;var v=this.objectMode?16:16*1024;if(A||A===0)this.highWaterMark=A;else if(p&&(S||S===0))this.highWaterMark=S;else this.highWaterMark=v;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new te;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=i.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(i.encoding){if(!ne)ne=d(50176).I;this.decoder=new ne(i.encoding);this.encoding=i.encoding}}function Readable(i){C=C||d(34793);if(!(this instanceof Readable))return new Readable(i);this._readableState=new ReadableState(i,this);this.readable=true;if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy}v.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(i){if(!this._readableState){return}this._readableState.destroyed=i}});Readable.prototype.destroy=re.destroy;Readable.prototype._undestroy=re.undestroy;Readable.prototype._destroy=function(i,c){this.push(null);c(i)};Readable.prototype.push=function(i,c){var d=this._readableState;var p;if(!d.objectMode){if(typeof i==="string"){c=c||d.defaultEncoding;if(c!==d.encoding){i=_.from(i,c);c=""}p=true}}else{p=true}return readableAddChunk(this,i,c,false,p)};Readable.prototype.unshift=function(i){return readableAddChunk(this,i,null,true,false)};function readableAddChunk(i,c,d,p,A){var C=i._readableState;if(c===null){C.reading=false;onEofChunk(i,C)}else{var S;if(!A)S=chunkInvalid(C,c);if(S){i.emit("error",S)}else if(C.objectMode||c&&c.length>0){if(typeof c!=="string"&&!C.objectMode&&Object.getPrototypeOf(c)!==_.prototype){c=_uint8ArrayToBuffer(c)}if(p){if(C.endEmitted)i.emit("error",new Error("stream.unshift() after end event"));else addChunk(i,C,c,true)}else if(C.ended){i.emit("error",new Error("stream.push() after EOF"))}else{C.reading=false;if(C.decoder&&!d){c=C.decoder.write(c);if(C.objectMode||c.length!==0)addChunk(i,C,c,false);else maybeReadMore(i,C)}else{addChunk(i,C,c,false)}}}else if(!p){C.reading=false}}return needMoreData(C)}function addChunk(i,c,d,p){if(c.flowing&&c.length===0&&!c.sync){i.emit("data",d);i.read(0)}else{c.length+=c.objectMode?1:d.length;if(p)c.buffer.unshift(d);else c.buffer.push(d);if(c.needReadable)emitReadable(i)}maybeReadMore(i,c)}function chunkInvalid(i,c){var d;if(!_isUint8Array(c)&&typeof c!=="string"&&c!==undefined&&!i.objectMode){d=new TypeError("Invalid non-string/buffer chunk")}return d}function needMoreData(i){return!i.ended&&(i.needReadable||i.length<i.highWaterMark||i.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(i){if(!ne)ne=d(50176).I;this._readableState.decoder=new ne(i);this._readableState.encoding=i;return this};var se=8388608;function computeNewHighWaterMark(i){if(i>=se){i=se}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,c){if(i<=0||c.length===0&&c.ended)return 0;if(c.objectMode)return 1;if(i!==i){if(c.flowing&&c.length)return c.buffer.head.data.length;else return c.length}if(i>c.highWaterMark)c.highWaterMark=computeNewHighWaterMark(i);if(i<=c.length)return i;if(!c.ended){c.needReadable=true;return 0}return c.length}Readable.prototype.read=function(i){ee("read",i);i=parseInt(i,10);var c=this._readableState;var d=i;if(i!==0)c.emittedReadable=false;if(i===0&&c.needReadable&&(c.length>=c.highWaterMark||c.ended)){ee("read: emitReadable",c.length,c.ended);if(c.length===0&&c.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,c);if(i===0&&c.ended){if(c.length===0)endReadable(this);return null}var p=c.needReadable;ee("need readable",p);if(c.length===0||c.length-i<c.highWaterMark){p=true;ee("length less than watermark",p)}if(c.ended||c.reading){p=false;ee("reading or ended",p)}else if(p){ee("do read");c.reading=true;c.sync=true;if(c.length===0)c.needReadable=true;this._read(c.highWaterMark);c.sync=false;if(!c.reading)i=howMuchToRead(d,c)}var A;if(i>0)A=fromList(i,c);else A=null;if(A===null){c.needReadable=true;i=0}else{c.length-=i}if(c.length===0){if(!c.ended)c.needReadable=true;if(d!==i&&c.ended)endReadable(this)}if(A!==null)this.emit("data",A);return A};function onEofChunk(i,c){if(c.ended)return;if(c.decoder){var d=c.decoder.end();if(d&&d.length){c.buffer.push(d);c.length+=c.objectMode?1:d.length}}c.ended=true;emitReadable(i)}function emitReadable(i){var c=i._readableState;c.needReadable=false;if(!c.emittedReadable){ee("emitReadable",c.flowing);c.emittedReadable=true;if(c.sync)p.nextTick(emitReadable_,i);else emitReadable_(i)}}function emitReadable_(i){ee("emit readable");i.emit("readable");flow(i)}function maybeReadMore(i,c){if(!c.readingMore){c.readingMore=true;p.nextTick(maybeReadMore_,i,c)}}function maybeReadMore_(i,c){var d=c.length;while(!c.reading&&!c.flowing&&!c.ended&&c.length<c.highWaterMark){ee("maybeReadMore read 0");i.read(0);if(d===c.length)break;else d=c.length}c.readingMore=false}Readable.prototype._read=function(i){this.emit("error",new Error("_read() is not implemented"))};Readable.prototype.pipe=function(i,c){var d=this;var A=this._readableState;switch(A.pipesCount){case 0:A.pipes=i;break;case 1:A.pipes=[A.pipes,i];break;default:A.pipes.push(i);break}A.pipesCount+=1;ee("pipe count=%d opts=%j",A.pipesCount,c);var C=(!c||c.end!==false)&&i!==process.stdout&&i!==process.stderr;var S=C?onend:unpipe;if(A.endEmitted)p.nextTick(S);else d.once("end",S);i.on("unpipe",onunpipe);function onunpipe(i,c){ee("onunpipe");if(i===d){if(c&&c.hasUnpiped===false){c.hasUnpiped=true;cleanup()}}}function onend(){ee("onend");i.end()}var v=pipeOnDrain(d);i.on("drain",v);var _=false;function cleanup(){ee("cleanup");i.removeListener("close",onclose);i.removeListener("finish",onfinish);i.removeListener("drain",v);i.removeListener("error",onerror);i.removeListener("unpipe",onunpipe);d.removeListener("end",onend);d.removeListener("end",unpipe);d.removeListener("data",ondata);_=true;if(A.awaitDrain&&(!i._writableState||i._writableState.needDrain))v()}var T=false;d.on("data",ondata);function ondata(c){ee("ondata");T=false;var p=i.write(c);if(false===p&&!T){if((A.pipesCount===1&&A.pipes===i||A.pipesCount>1&&indexOf(A.pipes,i)!==-1)&&!_){ee("false write response, pause",A.awaitDrain);A.awaitDrain++;T=true}d.pause()}}function onerror(c){ee("onerror",c);unpipe();i.removeListener("error",onerror);if(EElistenerCount(i,"error")===0)i.emit("error",c)}prependListener(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){ee("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){ee("unpipe");d.unpipe(i)}i.emit("pipe",d);if(!A.flowing){ee("pipe resume");d.resume()}return i};function pipeOnDrain(i){return function(){var c=i._readableState;ee("pipeOnDrain",c.awaitDrain);if(c.awaitDrain)c.awaitDrain--;if(c.awaitDrain===0&&EElistenerCount(i,"data")){c.flowing=true;flow(i)}}}Readable.prototype.unpipe=function(i){var c=this._readableState;var d={hasUnpiped:false};if(c.pipesCount===0)return this;if(c.pipesCount===1){if(i&&i!==c.pipes)return this;if(!i)i=c.pipes;c.pipes=null;c.pipesCount=0;c.flowing=false;if(i)i.emit("unpipe",this,d);return this}if(!i){var p=c.pipes;var A=c.pipesCount;c.pipes=null;c.pipesCount=0;c.flowing=false;for(var C=0;C<A;C++){p[C].emit("unpipe",this,{hasUnpiped:false})}return this}var S=indexOf(c.pipes,i);if(S===-1)return this;c.pipes.splice(S,1);c.pipesCount-=1;if(c.pipesCount===1)c.pipes=c.pipes[0];i.emit("unpipe",this,d);return this};Readable.prototype.on=function(i,c){var d=v.prototype.on.call(this,i,c);if(i==="data"){if(this._readableState.flowing!==false)this.resume()}else if(i==="readable"){var A=this._readableState;if(!A.endEmitted&&!A.readableListening){A.readableListening=A.needReadable=true;A.emittedReadable=false;if(!A.reading){p.nextTick(nReadingNextTick,this)}else if(A.length){emitReadable(this)}}}return d};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(i){ee("readable nexttick read 0");i.read(0)}Readable.prototype.resume=function(){var i=this._readableState;if(!i.flowing){ee("resume");i.flowing=true;resume(this,i)}return this};function resume(i,c){if(!c.resumeScheduled){c.resumeScheduled=true;p.nextTick(resume_,i,c)}}function resume_(i,c){if(!c.reading){ee("resume read 0");i.read(0)}c.resumeScheduled=false;c.awaitDrain=0;i.emit("resume");flow(i);if(c.flowing&&!c.reading)i.read(0)}Readable.prototype.pause=function(){ee("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){ee("pause");this._readableState.flowing=false;this.emit("pause")}return this};function flow(i){var c=i._readableState;ee("flow",c.flowing);while(c.flowing&&i.read()!==null){}}Readable.prototype.wrap=function(i){var c=this;var d=this._readableState;var p=false;i.on("end",(function(){ee("wrapped end");if(d.decoder&&!d.ended){var i=d.decoder.end();if(i&&i.length)c.push(i)}c.push(null)}));i.on("data",(function(A){ee("wrapped data");if(d.decoder)A=d.decoder.write(A);if(d.objectMode&&(A===null||A===undefined))return;else if(!d.objectMode&&(!A||!A.length))return;var C=c.push(A);if(!C){p=true;i.pause()}}));for(var A in i){if(this[A]===undefined&&typeof i[A]==="function"){this[A]=function(c){return function(){return i[c].apply(i,arguments)}}(A)}}for(var C=0;C<ie.length;C++){i.on(ie[C],this.emit.bind(this,ie[C]))}this._read=function(c){ee("wrapped _read",c);if(p){p=false;i.resume()}};return this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(i,c){if(c.length===0)return null;var d;if(c.objectMode)d=c.buffer.shift();else if(!i||i>=c.length){if(c.decoder)d=c.buffer.join("");else if(c.buffer.length===1)d=c.buffer.head.data;else d=c.buffer.concat(c.length);c.buffer.clear()}else{d=fromListPartial(i,c.buffer,c.decoder)}return d}function fromListPartial(i,c,d){var p;if(i<c.head.data.length){p=c.head.data.slice(0,i);c.head.data=c.head.data.slice(i)}else if(i===c.head.data.length){p=c.shift()}else{p=d?copyFromBufferString(i,c):copyFromBuffer(i,c)}return p}function copyFromBufferString(i,c){var d=c.head;var p=1;var A=d.data;i-=A.length;while(d=d.next){var C=d.data;var S=i>C.length?C.length:i;if(S===C.length)A+=C;else A+=C.slice(0,i);i-=S;if(i===0){if(S===C.length){++p;if(d.next)c.head=d.next;else c.head=c.tail=null}else{c.head=d;d.data=C.slice(S)}break}++p}c.length-=p;return A}function copyFromBuffer(i,c){var d=_.allocUnsafe(i);var p=c.head;var A=1;p.data.copy(d);i-=p.data.length;while(p=p.next){var C=p.data;var S=i>C.length?C.length:i;C.copy(d,d.length-i,0,S);i-=S;if(i===0){if(S===C.length){++A;if(p.next)c.head=p.next;else c.head=c.tail=null}else{c.head=p;p.data=C.slice(S)}break}++A}c.length-=A;return d}function endReadable(i){var c=i._readableState;if(c.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!c.endEmitted){c.ended=true;p.nextTick(endReadableNT,c,i)}}function endReadableNT(i,c){if(!i.endEmitted&&i.length===0){i.endEmitted=true;c.readable=false;c.emit("end")}}function indexOf(i,c){for(var d=0,p=i.length;d<p;d++){if(i[d]===c)return d}return-1}},69343:(i,c,d)=>{"use strict";i.exports=Transform;var p=d(34793);var A=Object.create(d(45481));A.inherits=d(39598);A.inherits(Transform,p);function afterTransform(i,c){var d=this._transformState;d.transforming=false;var p=d.writecb;if(!p){return this.emit("error",new Error("write callback called multiple times"))}d.writechunk=null;d.writecb=null;if(c!=null)this.push(c);p(i);var A=this._readableState;A.reading=false;if(A.needReadable||A.length<A.highWaterMark){this._read(A.highWaterMark)}}function Transform(i){if(!(this instanceof Transform))return new Transform(i);p.call(this,i);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(i){if(typeof i.transform==="function")this._transform=i.transform;if(typeof i.flush==="function")this._flush=i.flush}this.on("prefinish",prefinish)}function prefinish(){var i=this;if(typeof this._flush==="function"){this._flush((function(c,d){done(i,c,d)}))}else{done(this,null,null)}}Transform.prototype.push=function(i,c){this._transformState.needTransform=false;return p.prototype.push.call(this,i,c)};Transform.prototype._transform=function(i,c,d){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(i,c,d){var p=this._transformState;p.writecb=d;p.writechunk=i;p.writeencoding=c;if(!p.transforming){var A=this._readableState;if(p.needTransform||A.needReadable||A.length<A.highWaterMark)this._read(A.highWaterMark)}};Transform.prototype._read=function(i){var c=this._transformState;if(c.writechunk!==null&&c.writecb&&!c.transforming){c.transforming=true;this._transform(c.writechunk,c.writeencoding,c.afterTransform)}else{c.needTransform=true}};Transform.prototype._destroy=function(i,c){var d=this;p.prototype._destroy.call(this,i,(function(i){c(i);d.emit("close")}))};function done(i,c,d){if(c)return i.emit("error",c);if(d!=null)i.push(d);if(i._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(i._transformState.transforming)throw new Error("Calling transform done when still transforming");return i.push(null)}},54579:(i,c,d)=>{"use strict";var p=d(19183);i.exports=Writable;function WriteReq(i,c,d){this.chunk=i;this.encoding=c;this.callback=d;this.next=null}function CorkedRequest(i){var c=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(c,i)}}var A=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:p.nextTick;var C;Writable.WritableState=WritableState;var S=Object.create(d(45481));S.inherits=d(39598);var v={deprecate:d(24488)};var _=d(87137);var T=d(93058).Buffer;var V=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return T.from(i)}function _isUint8Array(i){return T.isBuffer(i)||i instanceof V}var Z=d(91031);S.inherits(Writable,_);function nop(){}function WritableState(i,c){C=C||d(34793);i=i||{};var p=c instanceof C;this.objectMode=!!i.objectMode;if(p)this.objectMode=this.objectMode||!!i.writableObjectMode;var A=i.highWaterMark;var S=i.writableHighWaterMark;var v=this.objectMode?16:16*1024;if(A||A===0)this.highWaterMark=A;else if(p&&(S||S===0))this.highWaterMark=S;else this.highWaterMark=v;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 _=i.decodeStrings===false;this.decodeStrings=!_;this.defaultEncoding=i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(i){onwrite(c,i)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var i=this.bufferedRequest;var c=[];while(i){c.push(i);i=i.next}return c};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:v.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(i){}})();var ee;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){ee=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(i){if(ee.call(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}})}else{ee=function(i){return i instanceof this}}function Writable(i){C=C||d(34793);if(!ee.call(Writable,this)&&!(this instanceof C)){return new Writable(i)}this._writableState=new WritableState(i,this);this.writable=true;if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final}_.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(i,c){var d=new Error("write after end");i.emit("error",d);p.nextTick(c,d)}function validChunk(i,c,d,A){var C=true;var S=false;if(d===null){S=new TypeError("May not write null values to stream")}else if(typeof d!=="string"&&d!==undefined&&!c.objectMode){S=new TypeError("Invalid non-string/buffer chunk")}if(S){i.emit("error",S);p.nextTick(A,S);C=false}return C}Writable.prototype.write=function(i,c,d){var p=this._writableState;var A=false;var C=!p.objectMode&&_isUint8Array(i);if(C&&!T.isBuffer(i)){i=_uint8ArrayToBuffer(i)}if(typeof c==="function"){d=c;c=null}if(C)c="buffer";else if(!c)c=p.defaultEncoding;if(typeof d!=="function")d=nop;if(p.ended)writeAfterEnd(this,d);else if(C||validChunk(this,p,i,d)){p.pendingcb++;A=writeOrBuffer(this,p,C,i,c,d)}return A};Writable.prototype.cork=function(){var i=this._writableState;i.corked++};Writable.prototype.uncork=function(){var i=this._writableState;if(i.corked){i.corked--;if(!i.writing&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=i.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+i);this._writableState.defaultEncoding=i;return this};function decodeChunk(i,c,d){if(!i.objectMode&&i.decodeStrings!==false&&typeof c==="string"){c=T.from(c,d)}return c}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(i,c,d,p,A,C){if(!d){var S=decodeChunk(c,p,A);if(p!==S){d=true;A="buffer";p=S}}var v=c.objectMode?1:p.length;c.length+=v;var _=c.length<c.highWaterMark;if(!_)c.needDrain=true;if(c.writing||c.corked){var T=c.lastBufferedRequest;c.lastBufferedRequest={chunk:p,encoding:A,isBuf:d,callback:C,next:null};if(T){T.next=c.lastBufferedRequest}else{c.bufferedRequest=c.lastBufferedRequest}c.bufferedRequestCount+=1}else{doWrite(i,c,false,v,p,A,C)}return _}function doWrite(i,c,d,p,A,C,S){c.writelen=p;c.writecb=S;c.writing=true;c.sync=true;if(d)i._writev(A,c.onwrite);else i._write(A,C,c.onwrite);c.sync=false}function onwriteError(i,c,d,A,C){--c.pendingcb;if(d){p.nextTick(C,A);p.nextTick(finishMaybe,i,c);i._writableState.errorEmitted=true;i.emit("error",A)}else{C(A);i._writableState.errorEmitted=true;i.emit("error",A);finishMaybe(i,c)}}function onwriteStateUpdate(i){i.writing=false;i.writecb=null;i.length-=i.writelen;i.writelen=0}function onwrite(i,c){var d=i._writableState;var p=d.sync;var C=d.writecb;onwriteStateUpdate(d);if(c)onwriteError(i,d,p,c,C);else{var S=needFinish(d);if(!S&&!d.corked&&!d.bufferProcessing&&d.bufferedRequest){clearBuffer(i,d)}if(p){A(afterWrite,i,d,S,C)}else{afterWrite(i,d,S,C)}}}function afterWrite(i,c,d,p){if(!d)onwriteDrain(i,c);c.pendingcb--;p();finishMaybe(i,c)}function onwriteDrain(i,c){if(c.length===0&&c.needDrain){c.needDrain=false;i.emit("drain")}}function clearBuffer(i,c){c.bufferProcessing=true;var d=c.bufferedRequest;if(i._writev&&d&&d.next){var p=c.bufferedRequestCount;var A=new Array(p);var C=c.corkedRequestsFree;C.entry=d;var S=0;var v=true;while(d){A[S]=d;if(!d.isBuf)v=false;d=d.next;S+=1}A.allBuffers=v;doWrite(i,c,true,c.length,A,"",C.finish);c.pendingcb++;c.lastBufferedRequest=null;if(C.next){c.corkedRequestsFree=C.next;C.next=null}else{c.corkedRequestsFree=new CorkedRequest(c)}c.bufferedRequestCount=0}else{while(d){var _=d.chunk;var T=d.encoding;var V=d.callback;var Z=c.objectMode?1:_.length;doWrite(i,c,false,Z,_,T,V);d=d.next;c.bufferedRequestCount--;if(c.writing){break}}if(d===null)c.lastBufferedRequest=null}c.bufferedRequest=d;c.bufferProcessing=false}Writable.prototype._write=function(i,c,d){d(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(i,c,d){var p=this._writableState;if(typeof i==="function"){d=i;i=null;c=null}else if(typeof c==="function"){d=c;c=null}if(i!==null&&i!==undefined)this.write(i,c);if(p.corked){p.corked=1;this.uncork()}if(!p.ending)endWritable(this,p,d)};function needFinish(i){return i.ending&&i.length===0&&i.bufferedRequest===null&&!i.finished&&!i.writing}function callFinal(i,c){i._final((function(d){c.pendingcb--;if(d){i.emit("error",d)}c.prefinished=true;i.emit("prefinish");finishMaybe(i,c)}))}function prefinish(i,c){if(!c.prefinished&&!c.finalCalled){if(typeof i._final==="function"){c.pendingcb++;c.finalCalled=true;p.nextTick(callFinal,i,c)}else{c.prefinished=true;i.emit("prefinish")}}}function finishMaybe(i,c){var d=needFinish(c);if(d){prefinish(i,c);if(c.pendingcb===0){c.finished=true;i.emit("finish")}}return d}function endWritable(i,c,d){c.ending=true;finishMaybe(i,c);if(d){if(c.finished)p.nextTick(d);else i.once("finish",d)}c.ended=true;i.writable=false}function onCorkedFinish(i,c,d){var p=i.entry;i.entry=null;while(p){var A=p.callback;c.pendingcb--;A(d);p=p.next}c.corkedRequestsFree.next=i}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function(i){if(!this._writableState){return}this._writableState.destroyed=i}});Writable.prototype.destroy=Z.destroy;Writable.prototype._undestroy=Z.undestroy;Writable.prototype._destroy=function(i,c){this.end();c(i)}},46127:(i,c,d)=>{"use strict";function _classCallCheck(i,c){if(!(i instanceof c)){throw new TypeError("Cannot call a class as a function")}}var p=d(93058).Buffer;var A=d(39023);function copyBuffer(i,c,d){i.copy(c,d)}i.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(i){var c={data:i,next:null};if(this.length>0)this.tail.next=c;else this.head=c;this.tail=c;++this.length};BufferList.prototype.unshift=function unshift(i){var c={data:i,next:this.head};if(this.length===0)this.tail=c;this.head=c;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(i){if(this.length===0)return"";var c=this.head;var d=""+c.data;while(c=c.next){d+=i+c.data}return d};BufferList.prototype.concat=function concat(i){if(this.length===0)return p.alloc(0);var c=p.allocUnsafe(i>>>0);var d=this.head;var A=0;while(d){copyBuffer(d.data,c,A);A+=d.data.length;d=d.next}return c};return BufferList}();if(A&&A.inspect&&A.inspect.custom){i.exports.prototype[A.inspect.custom]=function(){var i=A.inspect({length:this.length});return this.constructor.name+" "+i}}},91031:(i,c,d)=>{"use strict";var p=d(19183);function destroy(i,c){var d=this;var A=this._readableState&&this._readableState.destroyed;var C=this._writableState&&this._writableState.destroyed;if(A||C){if(c){c(i)}else if(i){if(!this._writableState){p.nextTick(emitErrorNT,this,i)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;p.nextTick(emitErrorNT,this,i)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(i||null,(function(i){if(!c&&i){if(!d._writableState){p.nextTick(emitErrorNT,d,i)}else if(!d._writableState.errorEmitted){d._writableState.errorEmitted=true;p.nextTick(emitErrorNT,d,i)}}else if(c){c(i)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(i,c){i.emit("error",c)}i.exports={destroy:destroy,undestroy:undestroy}},87137:(i,c,d)=>{i.exports=d(2203)},1835:(i,c,d)=>{i.exports=d(73109).PassThrough},73109:(i,c,d)=>{var p=d(2203);if(process.env.READABLE_STREAM==="disable"&&p){i.exports=p;c=i.exports=p.Readable;c.Readable=p.Readable;c.Writable=p.Writable;c.Duplex=p.Duplex;c.Transform=p.Transform;c.PassThrough=p.PassThrough;c.Stream=p}else{c=i.exports=d(74559);c.Stream=p||c;c.Readable=c;c.Writable=d(54579);c.Duplex=d(34793);c.Transform=d(69343);c.PassThrough=d(72029)}},50176:(i,c,d)=>{"use strict";var p=d(93058).Buffer;var A=p.isEncoding||function(i){i=""+i;switch(i&&i.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(i){if(!i)return"utf8";var c;while(true){switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(c)return;i=(""+i).toLowerCase();c=true}}}function normalizeEncoding(i){var c=_normalizeEncoding(i);if(typeof c!=="string"&&(p.isEncoding===A||!A(i)))throw new Error("Unknown encoding: "+i);return c||i}c.I=StringDecoder;function StringDecoder(i){this.encoding=normalizeEncoding(i);var c;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;c=4;break;case"utf8":this.fillLast=utf8FillLast;c=4;break;case"base64":this.text=base64Text;this.end=base64End;c=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=p.allocUnsafe(c)}StringDecoder.prototype.write=function(i){if(i.length===0)return"";var c;var d;if(this.lastNeed){c=this.fillLast(i);if(c===undefined)return"";d=this.lastNeed;this.lastNeed=0}else{d=0}if(d<i.length)return c?c+this.text(i,d):this.text(i,d);return c||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(i){if(this.lastNeed<=i.length){i.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}i.copy(this.lastChar,this.lastTotal-this.lastNeed,0,i.length);this.lastNeed-=i.length};function utf8CheckByte(i){if(i<=127)return 0;else if(i>>5===6)return 2;else if(i>>4===14)return 3;else if(i>>3===30)return 4;return i>>6===2?-1:-2}function utf8CheckIncomplete(i,c,d){var p=c.length-1;if(p<d)return 0;var A=utf8CheckByte(c[p]);if(A>=0){if(A>0)i.lastNeed=A-1;return A}if(--p<d||A===-2)return 0;A=utf8CheckByte(c[p]);if(A>=0){if(A>0)i.lastNeed=A-2;return A}if(--p<d||A===-2)return 0;A=utf8CheckByte(c[p]);if(A>=0){if(A>0){if(A===2)A=0;else i.lastNeed=A-3}return A}return 0}function utf8CheckExtraBytes(i,c,d){if((c[0]&192)!==128){i.lastNeed=0;return"<22>"}if(i.lastNeed>1&&c.length>1){if((c[1]&192)!==128){i.lastNeed=1;return"<22>"}if(i.lastNeed>2&&c.length>2){if((c[2]&192)!==128){i.lastNeed=2;return"<22>"}}}}function utf8FillLast(i){var c=this.lastTotal-this.lastNeed;var d=utf8CheckExtraBytes(this,i,c);if(d!==undefined)return d;if(this.lastNeed<=i.length){i.copy(this.lastChar,c,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}i.copy(this.lastChar,c,0,i.length);this.lastNeed-=i.length}function utf8Text(i,c){var d=utf8CheckIncomplete(this,i,c);if(!this.lastNeed)return i.toString("utf8",c);this.lastTotal=d;var p=i.length-(d-this.lastNeed);i.copy(this.lastChar,0,p);return i.toString("utf8",c,p)}function utf8End(i){var c=i&&i.length?this.write(i):"";if(this.lastNeed)return c+"<22>";return c}function utf16Text(i,c){if((i.length-c)%2===0){var d=i.toString("utf16le",c);if(d){var p=d.charCodeAt(d.length-1);if(p>=55296&&p<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1];return d.slice(0,-1)}}return d}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=i[i.length-1];return i.toString("utf16le",c,i.length-1)}function utf16End(i){var c=i&&i.length?this.write(i):"";if(this.lastNeed){var d=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,d)}return c}function base64Text(i,c){var d=(i.length-c)%3;if(d===0)return i.toString("base64",c);this.lastNeed=3-d;this.lastTotal=3;if(d===1){this.lastChar[0]=i[i.length-1]}else{this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1]}return i.toString("base64",c,i.length-d)}function base64End(i){var c=i&&i.length?this.write(i):"";if(this.lastNeed)return c+this.lastChar.toString("base64",0,3-this.lastNeed);return c}function simpleWrite(i){return i.toString(this.encoding)}function simpleEnd(i){return i&&i.length?this.write(i):""}},66320:(i,c,d)=>{var p=d(48051),A=d(15431),C=d(26934),S=d(64306),v=d(17226);function Hash(i){var c=-1,d=i==null?0:i.length;this.clear();while(++c<d){var p=i[c];this.set(p[0],p[1])}}Hash.prototype.clear=p;Hash.prototype["delete"]=A;Hash.prototype.get=C;Hash.prototype.has=S;Hash.prototype.set=v;i.exports=Hash},68884:(i,c,d)=>{var p=d(99791),A=d(24555),C=d(86634),S=d(8430),v=d(36918);function ListCache(i){var c=-1,d=i==null?0:i.length;this.clear();while(++c<d){var p=i[c];this.set(p[0],p[1])}}ListCache.prototype.clear=p;ListCache.prototype["delete"]=A;ListCache.prototype.get=C;ListCache.prototype.has=S;ListCache.prototype.set=v;i.exports=ListCache},98272:(i,c,d)=>{var p=d(68573),A=d(6748);var C=p(A,"Map");i.exports=C},79660:(i,c,d)=>{var p=d(88487),A=d(36275),C=d(30130),S=d(69254),v=d(59806);function MapCache(i){var c=-1,d=i==null?0:i.length;this.clear();while(++c<d){var p=i[c];this.set(p[0],p[1])}}MapCache.prototype.clear=p;MapCache.prototype["delete"]=A;MapCache.prototype.get=C;MapCache.prototype.has=S;MapCache.prototype.set=v;i.exports=MapCache},84986:(i,c,d)=>{var p=d(68573),A=d(6748);var C=p(A,"Set");i.exports=C},23706:(i,c,d)=>{var p=d(79660),A=d(44671),C=d(71884);function SetCache(i){var c=-1,d=i==null?0:i.length;this.__data__=new p;while(++c<d){this.add(i[c])}}SetCache.prototype.add=SetCache.prototype.push=A;SetCache.prototype.has=C;i.exports=SetCache},38584:(i,c,d)=>{var p=d(6748);var A=p.Symbol;i.exports=A},59678:i=>{function apply(i,c,d){switch(d.length){case 0:return i.call(c);case 1:return i.call(c,d[0]);case 2:return i.call(c,d[0],d[1]);case 3:return i.call(c,d[0],d[1],d[2])}return i.apply(c,d)}i.exports=apply},70534:(i,c,d)=>{var p=d(84760);function arrayIncludes(i,c){var d=i==null?0:i.length;return!!d&&p(i,c,0)>-1}i.exports=arrayIncludes},37314:i=>{function arrayIncludesWith(i,c,d){var p=-1,A=i==null?0:i.length;while(++p<A){if(d(c,i[p])){return true}}return false}i.exports=arrayIncludesWith},62e3:(i,c,d)=>{var p=d(21299),A=d(60541),C=d(77192),S=d(43739),v=d(37446),_=d(35e3);var T=Object.prototype;var V=T.hasOwnProperty;function arrayLikeKeys(i,c){var d=C(i),T=!d&&A(i),Z=!d&&!T&&S(i),ee=!d&&!T&&!Z&&_(i),te=d||T||Z||ee,re=te?p(i.length,String):[],ne=re.length;for(var ie in i){if((c||V.call(i,ie))&&!(te&&(ie=="length"||Z&&(ie=="offset"||ie=="parent")||ee&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||v(ie,ne)))){re.push(ie)}}return re}i.exports=arrayLikeKeys},56649:i=>{function arrayMap(i,c){var d=-1,p=i==null?0:i.length,A=Array(p);while(++d<p){A[d]=c(i[d],d,i)}return A}i.exports=arrayMap},50827:i=>{function arrayPush(i,c){var d=-1,p=c.length,A=i.length;while(++d<p){i[A+d]=c[d]}return i}i.exports=arrayPush},74024:(i,c,d)=>{var p=d(75199);function assocIndexOf(i,c){var d=i.length;while(d--){if(p(i[d][0],c)){return d}}return-1}i.exports=assocIndexOf},3126:(i,c,d)=>{var p=d(23706),A=d(70534),C=d(37314),S=d(56649),v=d(55506),_=d(64486);var T=200;function baseDifference(i,c,d,V){var Z=-1,ee=A,te=true,re=i.length,ne=[],ie=c.length;if(!re){return ne}if(d){c=S(c,v(d))}if(V){ee=C;te=false}else if(c.length>=T){ee=_;te=false;c=new p(c)}e:while(++Z<re){var se=i[Z],oe=d==null?se:d(se);se=V||se!==0?se:0;if(te&&oe===oe){var ae=ie;while(ae--){if(c[ae]===oe){continue e}}ne.push(se)}else if(!ee(c,oe,V)){ne.push(se)}}return ne}i.exports=baseDifference},35588:i=>{function baseFindIndex(i,c,d,p){var A=i.length,C=d+(p?1:-1);while(p?C--:++C<A){if(c(i[C],C,i)){return C}}return-1}i.exports=baseFindIndex},63183:(i,c,d)=>{var p=d(50827),A=d(45088);function baseFlatten(i,c,d,C,S){var v=-1,_=i.length;d||(d=A);S||(S=[]);while(++v<_){var T=i[v];if(c>0&&d(T)){if(c>1){baseFlatten(T,c-1,d,C,S)}else{p(S,T)}}else if(!C){S[S.length]=T}}return S}i.exports=baseFlatten},29117:(i,c,d)=>{var p=d(38584),A=d(95292),C=d(71723);var S="[object Null]",v="[object Undefined]";var _=p?p.toStringTag:undefined;function baseGetTag(i){if(i==null){return i===undefined?v:S}return _&&_ in Object(i)?A(i):C(i)}i.exports=baseGetTag},84760:(i,c,d)=>{var p=d(35588),A=d(34352),C=d(95232);function baseIndexOf(i,c,d){return c===c?C(i,c,d):p(i,A,d)}i.exports=baseIndexOf},93605:(i,c,d)=>{var p=d(29117),A=d(51645);var C="[object Arguments]";function baseIsArguments(i){return A(i)&&p(i)==C}i.exports=baseIsArguments},34352:i=>{function baseIsNaN(i){return i!==i}i.exports=baseIsNaN},92334:(i,c,d)=>{var p=d(34329),A=d(46613),C=d(96482),S=d(57192);var v=/[\\^$.*+?()[\]{}|]/g;var _=/^\[object .+?Constructor\]$/;var T=Function.prototype,V=Object.prototype;var Z=T.toString;var ee=V.hasOwnProperty;var te=RegExp("^"+Z.call(ee).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(i){if(!C(i)||A(i)){return false}var c=p(i)?te:_;return c.test(S(i))}i.exports=baseIsNative},16880:(i,c,d)=>{var p=d(29117),A=d(56657),C=d(51645);var S="[object Arguments]",v="[object Array]",_="[object Boolean]",T="[object Date]",V="[object Error]",Z="[object Function]",ee="[object Map]",te="[object Number]",re="[object Object]",ne="[object RegExp]",ie="[object Set]",se="[object String]",oe="[object WeakMap]";var ae="[object ArrayBuffer]",le="[object DataView]",ce="[object Float32Array]",ue="[object Float64Array]",de="[object Int8Array]",fe="[object Int16Array]",pe="[object Int32Array]",Ae="[object Uint8Array]",he="[object Uint8ClampedArray]",ge="[object Uint16Array]",me="[object Uint32Array]";var ye={};ye[ce]=ye[ue]=ye[de]=ye[fe]=ye[pe]=ye[Ae]=ye[he]=ye[ge]=ye[me]=true;ye[S]=ye[v]=ye[ae]=ye[_]=ye[le]=ye[T]=ye[V]=ye[Z]=ye[ee]=ye[te]=ye[re]=ye[ne]=ye[ie]=ye[se]=ye[oe]=false;function baseIsTypedArray(i){return C(i)&&A(i.length)&&!!ye[p(i)]}i.exports=baseIsTypedArray},82094:(i,c,d)=>{var p=d(96482),A=d(55944),C=d(94008);var S=Object.prototype;var v=S.hasOwnProperty;function baseKeysIn(i){if(!p(i)){return C(i)}var c=A(i),d=[];for(var S in i){if(!(S=="constructor"&&(c||!v.call(i,S)))){d.push(S)}}return d}i.exports=baseKeysIn},22035:(i,c,d)=>{var p=d(46851),A=d(20168),C=d(59402);function baseRest(i,c){return C(A(i,c,p),i+"")}i.exports=baseRest},64953:(i,c,d)=>{var p=d(85089),A=d(83106),C=d(46851);var S=!A?C:function(i,c){return A(i,"toString",{configurable:true,enumerable:false,value:p(c),writable:true})};i.exports=S},21299:i=>{function baseTimes(i,c){var d=-1,p=Array(i);while(++d<i){p[d]=c(d)}return p}i.exports=baseTimes},55506:i=>{function baseUnary(i){return function(c){return i(c)}}i.exports=baseUnary},32772:(i,c,d)=>{var p=d(23706),A=d(70534),C=d(37314),S=d(64486),v=d(48242),_=d(11894);var T=200;function baseUniq(i,c,d){var V=-1,Z=A,ee=i.length,te=true,re=[],ne=re;if(d){te=false;Z=C}else if(ee>=T){var ie=c?null:v(i);if(ie){return _(ie)}te=false;Z=S;ne=new p}else{ne=c?[]:re}e:while(++V<ee){var se=i[V],oe=c?c(se):se;se=d||se!==0?se:0;if(te&&oe===oe){var ae=ne.length;while(ae--){if(ne[ae]===oe){continue e}}if(c){ne.push(oe)}re.push(se)}else if(!Z(ne,oe,d)){if(ne!==re){ne.push(oe)}re.push(se)}}return re}i.exports=baseUniq},64486:i=>{function cacheHas(i,c){return i.has(c)}i.exports=cacheHas},60252:(i,c,d)=>{var p=d(6748);var A=p["__core-js_shared__"];i.exports=A},48242:(i,c,d)=>{var p=d(84986),A=d(89029),C=d(11894);var S=1/0;var v=!(p&&1/C(new p([,-0]))[1]==S)?A:function(i){return new p(i)};i.exports=v},83106:(i,c,d)=>{var p=d(68573);var A=function(){try{var i=p(Object,"defineProperty");i({},"",{});return i}catch(i){}}();i.exports=A},78997:i=>{var c=typeof global=="object"&&global&&global.Object===Object&&global;i.exports=c},1194:(i,c,d)=>{var p=d(93245);function getMapData(i,c){var d=i.__data__;return p(c)?d[typeof c=="string"?"string":"hash"]:d.map}i.exports=getMapData},68573:(i,c,d)=>{var p=d(92334),A=d(8293);function getNative(i,c){var d=A(i,c);return p(d)?d:undefined}i.exports=getNative},86194:(i,c,d)=>{var p=d(61128);var A=p(Object.getPrototypeOf,Object);i.exports=A},95292:(i,c,d)=>{var p=d(38584);var A=Object.prototype;var C=A.hasOwnProperty;var S=A.toString;var v=p?p.toStringTag:undefined;function getRawTag(i){var c=C.call(i,v),d=i[v];try{i[v]=undefined;var p=true}catch(i){}var A=S.call(i);if(p){if(c){i[v]=d}else{delete i[v]}}return A}i.exports=getRawTag},8293:i=>{function getValue(i,c){return i==null?undefined:i[c]}i.exports=getValue},48051:(i,c,d)=>{var p=d(71563);function hashClear(){this.__data__=p?p(null):{};this.size=0}i.exports=hashClear},15431:i=>{function hashDelete(i){var c=this.has(i)&&delete this.__data__[i];this.size-=c?1:0;return c}i.exports=hashDelete},26934:(i,c,d)=>{var p=d(71563);var A="__lodash_hash_undefined__";var C=Object.prototype;var S=C.hasOwnProperty;function hashGet(i){var c=this.__data__;if(p){var d=c[i];return d===A?undefined:d}return S.call(c,i)?c[i]:undefined}i.exports=hashGet},64306:(i,c,d)=>{var p=d(71563);var A=Object.prototype;var C=A.hasOwnProperty;function hashHas(i){var c=this.__data__;return p?c[i]!==undefined:C.call(c,i)}i.exports=hashHas},17226:(i,c,d)=>{var p=d(71563);var A="__lodash_hash_undefined__";function hashSet(i,c){var d=this.__data__;this.size+=this.has(i)?0:1;d[i]=p&&c===undefined?A:c;return this}i.exports=hashSet},45088:(i,c,d)=>{var p=d(38584),A=d(60541),C=d(77192);var S=p?p.isConcatSpreadable:undefined;function isFlattenable(i){return C(i)||A(i)||!!(S&&i&&i[S])}i.exports=isFlattenable},37446:i=>{var c=9007199254740991;var d=/^(?:0|[1-9]\d*)$/;function isIndex(i,p){var A=typeof i;p=p==null?c:p;return!!p&&(A=="number"||A!="symbol"&&d.test(i))&&(i>-1&&i%1==0&&i<p)}i.exports=isIndex},3349:(i,c,d)=>{var p=d(75199),A=d(75119),C=d(37446),S=d(96482);function isIterateeCall(i,c,d){if(!S(d)){return false}var v=typeof c;if(v=="number"?A(d)&&C(c,d.length):v=="string"&&c in d){return p(d[c],i)}return false}i.exports=isIterateeCall},93245:i=>{function isKeyable(i){var c=typeof i;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?i!=="__proto__":i===null}i.exports=isKeyable},46613:(i,c,d)=>{var p=d(60252);var A=function(){var i=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function isMasked(i){return!!A&&A in i}i.exports=isMasked},55944:i=>{var c=Object.prototype;function isPrototype(i){var d=i&&i.constructor,p=typeof d=="function"&&d.prototype||c;return i===p}i.exports=isPrototype},99791:i=>{function listCacheClear(){this.__data__=[];this.size=0}i.exports=listCacheClear},24555:(i,c,d)=>{var p=d(74024);var A=Array.prototype;var C=A.splice;function listCacheDelete(i){var c=this.__data__,d=p(c,i);if(d<0){return false}var A=c.length-1;if(d==A){c.pop()}else{C.call(c,d,1)}--this.size;return true}i.exports=listCacheDelete},86634:(i,c,d)=>{var p=d(74024);function listCacheGet(i){var c=this.__data__,d=p(c,i);return d<0?undefined:c[d][1]}i.exports=listCacheGet},8430:(i,c,d)=>{var p=d(74024);function listCacheHas(i){return p(this.__data__,i)>-1}i.exports=listCacheHas},36918:(i,c,d)=>{var p=d(74024);function listCacheSet(i,c){var d=this.__data__,A=p(d,i);if(A<0){++this.size;d.push([i,c])}else{d[A][1]=c}return this}i.exports=listCacheSet},88487:(i,c,d)=>{var p=d(66320),A=d(68884),C=d(98272);function mapCacheClear(){this.size=0;this.__data__={hash:new p,map:new(C||A),string:new p}}i.exports=mapCacheClear},36275:(i,c,d)=>{var p=d(1194);function mapCacheDelete(i){var c=p(this,i)["delete"](i);this.size-=c?1:0;return c}i.exports=mapCacheDelete},30130:(i,c,d)=>{var p=d(1194);function mapCacheGet(i){return p(this,i).get(i)}i.exports=mapCacheGet},69254:(i,c,d)=>{var p=d(1194);function mapCacheHas(i){return p(this,i).has(i)}i.exports=mapCacheHas},59806:(i,c,d)=>{var p=d(1194);function mapCacheSet(i,c){var d=p(this,i),A=d.size;d.set(i,c);this.size+=d.size==A?0:1;return this}i.exports=mapCacheSet},71563:(i,c,d)=>{var p=d(68573);var A=p(Object,"create");i.exports=A},94008:i=>{function nativeKeysIn(i){var c=[];if(i!=null){for(var d in Object(i)){c.push(d)}}return c}i.exports=nativeKeysIn},88724:(i,c,d)=>{i=d.nmd(i);var p=d(78997);var A=true&&c&&!c.nodeType&&c;var C=A&&"object"=="object"&&i&&!i.nodeType&&i;var S=C&&C.exports===A;var v=S&&p.process;var _=function(){try{var i=C&&C.require&&C.require("util").types;if(i){return i}return v&&v.binding&&v.binding("util")}catch(i){}}();i.exports=_},71723:i=>{var c=Object.prototype;var d=c.toString;function objectToString(i){return d.call(i)}i.exports=objectToString},61128:i=>{function overArg(i,c){return function(d){return i(c(d))}}i.exports=overArg},20168:(i,c,d)=>{var p=d(59678);var A=Math.max;function overRest(i,c,d){c=A(c===undefined?i.length-1:c,0);return function(){var C=arguments,S=-1,v=A(C.length-c,0),_=Array(v);while(++S<v){_[S]=C[c+S]}S=-1;var T=Array(c+1);while(++S<c){T[S]=C[S]}T[c]=d(_);return p(i,this,T)}}i.exports=overRest},6748:(i,c,d)=>{var p=d(78997);var A=typeof self=="object"&&self&&self.Object===Object&&self;var C=p||A||Function("return this")();i.exports=C},44671:i=>{var c="__lodash_hash_undefined__";function setCacheAdd(i){this.__data__.set(i,c);return this}i.exports=setCacheAdd},71884:i=>{function setCacheHas(i){return this.__data__.has(i)}i.exports=setCacheHas},11894:i=>{function setToArray(i){var c=-1,d=Array(i.size);i.forEach((function(i){d[++c]=i}));return d}i.exports=setToArray},59402:(i,c,d)=>{var p=d(64953),A=d(83286);var C=A(p);i.exports=C},83286:i=>{var c=800,d=16;var p=Date.now;function shortOut(i){var A=0,C=0;return function(){var S=p(),v=d-(S-C);C=S;if(v>0){if(++A>=c){return arguments[0]}}else{A=0}return i.apply(undefined,arguments)}}i.exports=shortOut},95232:i=>{function strictIndexOf(i,c,d){var p=d-1,A=i.length;while(++p<A){if(i[p]===c){return p}}return-1}i.exports=strictIndexOf},57192:i=>{var c=Function.prototype;var d=c.toString;function toSource(i){if(i!=null){try{return d.call(i)}catch(i){}try{return i+""}catch(i){}}return""}i.exports=toSource},85089:i=>{function constant(i){return function(){return i}}i.exports=constant},7511:(i,c,d)=>{var p=d(22035),A=d(75199),C=d(3349),S=d(19430);var v=Object.prototype;var _=v.hasOwnProperty;var T=p((function(i,c){i=Object(i);var d=-1;var p=c.length;var T=p>2?c[2]:undefined;if(T&&C(c[0],c[1],T)){p=1}while(++d<p){var V=c[d];var Z=S(V);var ee=-1;var te=Z.length;while(++ee<te){var re=Z[ee];var ne=i[re];if(ne===undefined||A(ne,v[re])&&!_.call(i,re)){i[re]=V[re]}}}return i}));i.exports=T},57294:(i,c,d)=>{var p=d(3126),A=d(63183),C=d(22035),S=d(97100);var v=C((function(i,c){return S(i)?p(i,A(c,1,S,true)):[]}));i.exports=v},75199:i=>{function eq(i,c){return i===c||i!==i&&c!==c}i.exports=eq},97047:(i,c,d)=>{var p=d(63183);function flatten(i){var c=i==null?0:i.length;return c?p(i,1):[]}i.exports=flatten},46851:i=>{function identity(i){return i}i.exports=identity},60541:(i,c,d)=>{var p=d(93605),A=d(51645);var C=Object.prototype;var S=C.hasOwnProperty;var v=C.propertyIsEnumerable;var _=p(function(){return arguments}())?p:function(i){return A(i)&&S.call(i,"callee")&&!v.call(i,"callee")};i.exports=_},77192:i=>{var c=Array.isArray;i.exports=c},75119:(i,c,d)=>{var p=d(34329),A=d(56657);function isArrayLike(i){return i!=null&&A(i.length)&&!p(i)}i.exports=isArrayLike},97100:(i,c,d)=>{var p=d(75119),A=d(51645);function isArrayLikeObject(i){return A(i)&&p(i)}i.exports=isArrayLikeObject},43739:(i,c,d)=>{i=d.nmd(i);var p=d(6748),A=d(92074);var C=true&&c&&!c.nodeType&&c;var S=C&&"object"=="object"&&i&&!i.nodeType&&i;var v=S&&S.exports===C;var _=v?p.Buffer:undefined;var T=_?_.isBuffer:undefined;var V=T||A;i.exports=V},34329:(i,c,d)=>{var p=d(29117),A=d(96482);var C="[object AsyncFunction]",S="[object Function]",v="[object GeneratorFunction]",_="[object Proxy]";function isFunction(i){if(!A(i)){return false}var c=p(i);return c==S||c==v||c==C||c==_}i.exports=isFunction},56657:i=>{var c=9007199254740991;function isLength(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=c}i.exports=isLength},96482:i=>{function isObject(i){var c=typeof i;return i!=null&&(c=="object"||c=="function")}i.exports=isObject},51645:i=>{function isObjectLike(i){return i!=null&&typeof i=="object"}i.exports=isObjectLike},36542:(i,c,d)=>{var p=d(29117),A=d(86194),C=d(51645);var S="[object Object]";var v=Function.prototype,_=Object.prototype;var T=v.toString;var V=_.hasOwnProperty;var Z=T.call(Object);function isPlainObject(i){if(!C(i)||p(i)!=S){return false}var c=A(i);if(c===null){return true}var d=V.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&T.call(d)==Z}i.exports=isPlainObject},35e3:(i,c,d)=>{var p=d(16880),A=d(55506),C=d(88724);var S=C&&C.isTypedArray;var v=S?A(S):p;i.exports=v},19430:(i,c,d)=>{var p=d(62e3),A=d(82094),C=d(75119);function keysIn(i){return C(i)?p(i,true):A(i)}i.exports=keysIn},89029:i=>{function noop(){}i.exports=noop},92074:i=>{function stubFalse(){return false}i.exports=stubFalse},73270:(i,c,d)=>{var p=d(63183),A=d(22035),C=d(32772),S=d(97100);var v=A((function(i){return C(p(i,1,S,true))}));i.exports=v},43772:(i,c,d)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;var p=function(){try{return d(16928)}catch(i){}}()||{sep:"/"};minimatch.sep=p.sep;var A=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var C=d(73783);var S={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var v="[^/]";var _=v+"*?";var T="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var V="(?:(?!(?:\\/|^)\\.).)*?";var Z=charSet("().*{}+?[]^$\\!");function charSet(i){return i.split("").reduce((function(i,c){i[c]=true;return i}),{})}var ee=/\/+/;minimatch.filter=filter;function filter(i,c){c=c||{};return function(d,p,A){return minimatch(d,i,c)}}function ext(i,c){c=c||{};var d={};Object.keys(i).forEach((function(c){d[c]=i[c]}));Object.keys(c).forEach((function(i){d[i]=c[i]}));return d}minimatch.defaults=function(i){if(!i||typeof i!=="object"||!Object.keys(i).length){return minimatch}var c=minimatch;var d=function minimatch(d,p,A){return c(d,p,ext(i,A))};d.Minimatch=function Minimatch(d,p){return new c.Minimatch(d,ext(i,p))};d.Minimatch.defaults=function defaults(d){return c.defaults(ext(i,d)).Minimatch};d.filter=function filter(d,p){return c.filter(d,ext(i,p))};d.defaults=function defaults(d){return c.defaults(ext(i,d))};d.makeRe=function makeRe(d,p){return c.makeRe(d,ext(i,p))};d.braceExpand=function braceExpand(d,p){return c.braceExpand(d,ext(i,p))};d.match=function(d,p,A){return c.match(d,p,ext(i,A))};return d};Minimatch.defaults=function(i){return minimatch.defaults(i).Minimatch};function minimatch(i,c,d){assertValidPattern(c);if(!d)d={};if(!d.nocomment&&c.charAt(0)==="#"){return false}return new Minimatch(c,d).match(i)}function Minimatch(i,c){if(!(this instanceof Minimatch)){return new Minimatch(i,c)}assertValidPattern(i);if(!c)c={};i=i.trim();if(!c.allowWindowsEscape&&p.sep!=="/"){i=i.split(p.sep).join("/")}this.options=c;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!c.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var i=this.pattern;var c=this.options;if(!c.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();var d=this.globSet=this.braceExpand();if(c.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,d);d=this.globParts=d.map((function(i){return i.split(ee)}));this.debug(this.pattern,d);d=d.map((function(i,c,d){return i.map(this.parse,this)}),this);this.debug(this.pattern,d);d=d.filter((function(i){return i.indexOf(false)===-1}));this.debug(this.pattern,d);this.set=d}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var i=this.pattern;var c=false;var d=this.options;var p=0;if(d.nonegate)return;for(var A=0,C=i.length;A<C&&i.charAt(A)==="!";A++){c=!c;p++}if(p)this.pattern=i.substr(p);this.negate=c}minimatch.braceExpand=function(i,c){return braceExpand(i,c)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(i,c){if(!c){if(this instanceof Minimatch){c=this.options}else{c={}}}i=typeof i==="undefined"?this.pattern:i;assertValidPattern(i);if(c.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return C(i)}var te=1024*64;var assertValidPattern=function(i){if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>te){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var re={};function parse(i,c){assertValidPattern(i);var d=this.options;if(i==="**"){if(!d.noglobstar)return A;else i="*"}if(i==="")return"";var p="";var C=!!d.nocase;var T=false;var V=[];var ee=[];var te;var ne=false;var ie=-1;var se=-1;var oe=i.charAt(0)==="."?"":d.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var ae=this;function clearStateChar(){if(te){switch(te){case"*":p+=_;C=true;break;case"?":p+=v;C=true;break;default:p+="\\"+te;break}ae.debug("clearStateChar %j %j",te,p);te=false}}for(var le=0,ce=i.length,ue;le<ce&&(ue=i.charAt(le));le++){this.debug("%s\t%s %s %j",i,le,p,ue);if(T&&Z[ue]){p+="\\"+ue;T=false;continue}switch(ue){case"/":{return false}case"\\":clearStateChar();T=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",i,le,p,ue);if(ne){this.debug(" in class");if(ue==="!"&&le===se+1)ue="^";p+=ue;continue}ae.debug("call clearStateChar %j",te);clearStateChar();te=ue;if(d.noext)clearStateChar();continue;case"(":if(ne){p+="(";continue}if(!te){p+="\\(";continue}V.push({type:te,start:le-1,reStart:p.length,open:S[te].open,close:S[te].close});p+=te==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",te,p);te=false;continue;case")":if(ne||!V.length){p+="\\)";continue}clearStateChar();C=true;var de=V.pop();p+=de.close;if(de.type==="!"){ee.push(de)}de.reEnd=p.length;continue;case"|":if(ne||!V.length||T){p+="\\|";T=false;continue}clearStateChar();p+="|";continue;case"[":clearStateChar();if(ne){p+="\\"+ue;continue}ne=true;se=le;ie=p.length;p+=ue;continue;case"]":if(le===se+1||!ne){p+="\\"+ue;T=false;continue}var fe=i.substring(se+1,le);try{RegExp("["+fe+"]")}catch(i){var pe=this.parse(fe,re);p=p.substr(0,ie)+"\\["+pe[0]+"\\]";C=C||pe[1];ne=false;continue}C=true;ne=false;p+=ue;continue;default:clearStateChar();if(T){T=false}else if(Z[ue]&&!(ue==="^"&&ne)){p+="\\"}p+=ue}}if(ne){fe=i.substr(se+1);pe=this.parse(fe,re);p=p.substr(0,ie)+"\\["+pe[0];C=C||pe[1]}for(de=V.pop();de;de=V.pop()){var Ae=p.slice(de.reStart+de.open.length);this.debug("setting tail",p,de);Ae=Ae.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(i,c,d){if(!d){d="\\"}return c+c+d+"|"}));this.debug("tail=%j\n %s",Ae,Ae,de,p);var he=de.type==="*"?_:de.type==="?"?v:"\\"+de.type;C=true;p=p.slice(0,de.reStart)+he+"\\("+Ae}clearStateChar();if(T){p+="\\\\"}var ge=false;switch(p.charAt(0)){case"[":case".":case"(":ge=true}for(var me=ee.length-1;me>-1;me--){var ye=ee[me];var Ee=p.slice(0,ye.reStart);var be=p.slice(ye.reStart,ye.reEnd-8);var Ce=p.slice(ye.reEnd-8,ye.reEnd);var we=p.slice(ye.reEnd);Ce+=we;var Ie=Ee.split("(").length-1;var Se=we;for(le=0;le<Ie;le++){Se=Se.replace(/\)[+*?]?/,"")}we=Se;var ve="";if(we===""&&c!==re){ve="$"}var Be=Ee+be+we+ve+Ce;p=Be}if(p!==""&&C){p="(?=.)"+p}if(ge){p=oe+p}if(c===re){return[p,C]}if(!C){return globUnescape(i)}var Re=d.nocase?"i":"";try{var _e=new RegExp("^"+p+"$",Re)}catch(i){return new RegExp("$.")}_e._glob=i;_e._src=p;return _e}minimatch.makeRe=function(i,c){return new Minimatch(i,c||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var i=this.set;if(!i.length){this.regexp=false;return this.regexp}var c=this.options;var d=c.noglobstar?_:c.dot?T:V;var p=c.nocase?"i":"";var C=i.map((function(i){return i.map((function(i){return i===A?d:typeof i==="string"?regExpEscape(i):i._src})).join("\\/")})).join("|");C="^(?:"+C+")$";if(this.negate)C="^(?!"+C+").*$";try{this.regexp=new RegExp(C,p)}catch(i){this.regexp=false}return this.regexp}minimatch.match=function(i,c,d){d=d||{};var p=new Minimatch(c,d);i=i.filter((function(i){return p.match(i)}));if(p.options.nonull&&!i.length){i.push(c)}return i};Minimatch.prototype.match=function match(i,c){if(typeof c==="undefined")c=this.partial;this.debug("match",i,this.pattern);if(this.comment)return false;if(this.empty)return i==="";if(i==="/"&&c)return true;var d=this.options;if(p.sep!=="/"){i=i.split(p.sep).join("/")}i=i.split(ee);this.debug(this.pattern,"split",i);var A=this.set;this.debug(this.pattern,"set",A);var C;var S;for(S=i.length-1;S>=0;S--){C=i[S];if(C)break}for(S=0;S<A.length;S++){var v=A[S];var _=i;if(d.matchBase&&v.length===1){_=[C]}var T=this.matchOne(_,v,c);if(T){if(d.flipNegate)return true;return!this.negate}}if(d.flipNegate)return false;return this.negate};Minimatch.prototype.matchOne=function(i,c,d){var p=this.options;this.debug("matchOne",{this:this,file:i,pattern:c});this.debug("matchOne",i.length,c.length);for(var C=0,S=0,v=i.length,_=c.length;C<v&&S<_;C++,S++){this.debug("matchOne loop");var T=c[S];var V=i[C];this.debug(c,T,V);if(T===false)return false;if(T===A){this.debug("GLOBSTAR",[c,T,V]);var Z=C;var ee=S+1;if(ee===_){this.debug("** at the end");for(;C<v;C++){if(i[C]==="."||i[C]===".."||!p.dot&&i[C].charAt(0)===".")return false}return true}while(Z<v){var te=i[Z];this.debug("\nglobstar while",i,Z,c,ee,te);if(this.matchOne(i.slice(Z),c.slice(ee),d)){this.debug("globstar found match!",Z,v,te);return true}else{if(te==="."||te===".."||!p.dot&&te.charAt(0)==="."){this.debug("dot detected!",i,Z,c,ee);break}this.debug("globstar swallow a segment, and continue");Z++}}if(d){this.debug("\n>>> no match, partial?",i,Z,c,ee);if(Z===v)return true}return false}var re;if(typeof T==="string"){re=V===T;this.debug("string match",T,V,re)}else{re=V.match(T);this.debug("pattern match",T,V,re)}if(!re)return false}if(C===v&&S===_){return true}else if(C===v){return d}else if(S===_){return C===v-1&&i[C]===""}throw new Error("wtf?")};function globUnescape(i){return i.replace(/\\(.)/g,"$1")}function regExpEscape(i){return i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},73783:(i,c,d)=>{var p=d(97087);var A=d(59380);i.exports=expandTop;var C="\0SLASH"+Math.random()+"\0";var S="\0OPEN"+Math.random()+"\0";var v="\0CLOSE"+Math.random()+"\0";var _="\0COMMA"+Math.random()+"\0";var T="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(C).split("\\{").join(S).split("\\}").join(v).split("\\,").join(_).split("\\.").join(T)}function unescapeBraces(i){return i.split(C).join("\\").split(S).join("{").split(v).join("}").split(_).join(",").split(T).join(".")}function parseCommaParts(i){if(!i)return[""];var c=[];var d=A("{","}",i);if(!d)return i.split(",");var p=d.pre;var C=d.body;var S=d.post;var v=p.split(",");v[v.length-1]+="{"+C+"}";var _=parseCommaParts(S);if(S.length){v[v.length-1]+=_.shift();v.push.apply(v,_)}c.push.apply(c,v);return c}function expandTop(i){if(!i)return[];if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),true).map(unescapeBraces)}function identity(i){return i}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,c){return i<=c}function gte(i,c){return i>=c}function expand(i,c){var d=[];var C=A("{","}",i);if(!C||/\$$/.test(C.pre))return[i];var S=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(C.body);var _=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(C.body);var T=S||_;var V=C.body.indexOf(",")>=0;if(!T&&!V){if(C.post.match(/,(?!,).*\}/)){i=C.pre+"{"+C.body+v+C.post;return expand(i)}return[i]}var Z;if(T){Z=C.body.split(/\.\./)}else{Z=parseCommaParts(C.body);if(Z.length===1){Z=expand(Z[0],false).map(embrace);if(Z.length===1){var ee=C.post.length?expand(C.post,false):[""];return ee.map((function(i){return C.pre+Z[0]+i}))}}}var te=C.pre;var ee=C.post.length?expand(C.post,false):[""];var re;if(T){var ne=numeric(Z[0]);var ie=numeric(Z[1]);var se=Math.max(Z[0].length,Z[1].length);var oe=Z.length==3?Math.abs(numeric(Z[2])):1;var ae=lte;var le=ie<ne;if(le){oe*=-1;ae=gte}var ce=Z.some(isPadded);re=[];for(var ue=ne;ae(ue,ie);ue+=oe){var de;if(_){de=String.fromCharCode(ue);if(de==="\\")de=""}else{de=String(ue);if(ce){var fe=se-de.length;if(fe>0){var pe=new Array(fe+1).join("0");if(ue<0)de="-"+pe+de.slice(1);else de=pe+de}}}re.push(de)}}else{re=p(Z,(function(i){return expand(i,false)}))}for(var Ae=0;Ae<re.length;Ae++){for(var he=0;he<ee.length;he++){var ge=te+re[Ae]+ee[he];if(!c||T||ge)d.push(ge)}}return d}},4469:(i,c,d)=>{var p=d(16928);var A=d(79896);var C=parseInt("0777",8);i.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(i,c,d,S){if(typeof c==="function"){d=c;c={}}else if(!c||typeof c!=="object"){c={mode:c}}var v=c.mode;var _=c.fs||A;if(v===undefined){v=C}if(!S)S=null;var T=d||function(){};i=p.resolve(i);_.mkdir(i,v,(function(d){if(!d){S=S||i;return T(null,S)}switch(d.code){case"ENOENT":if(p.dirname(i)===i)return T(d);mkdirP(p.dirname(i),c,(function(d,p){if(d)T(d,p);else mkdirP(i,c,T,p)}));break;default:_.stat(i,(function(i,c){if(i||!c.isDirectory())T(d,S);else T(null,S)}));break}}))}mkdirP.sync=function sync(i,c,d){if(!c||typeof c!=="object"){c={mode:c}}var S=c.mode;var v=c.fs||A;if(S===undefined){S=C}if(!d)d=null;i=p.resolve(i);try{v.mkdirSync(i,S);d=d||i}catch(A){switch(A.code){case"ENOENT":d=sync(p.dirname(i),c,d);sync(i,c,d);break;default:var _;try{_=v.statSync(i)}catch(i){throw A}if(!_.isDirectory())throw A;break}}return d}},56133:i=>{
|
||
/*!
|
||
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
||
*
|
||
* Copyright (c) 2014-2018, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/
|
||
i.exports=function(i,c){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var d=i.length;if(d<=1)return i;var p="";if(d>4&&i[3]==="\\"){var A=i[2];if((A==="?"||A===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);p="//"}}var C=i.split(/[/\\]+/);if(c!==false&&C[C.length-1]===""){C.pop()}return p+C.join("/")}},55560:(i,c,d)=>{var p=d(58264);i.exports=p(once);i.exports.strict=p(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var c=i.name||"Function wrapped with `once`";f.onceError=c+" shouldn't be called more than once";f.called=false;return f}},19183:i=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,c,d,p){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var A=arguments.length;var C,S;switch(A){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,c)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,c,d)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,c,d,p)}));default:C=new Array(A-1);S=0;while(S<C.length){C[S++]=arguments[S]}return process.nextTick((function afterTick(){i.apply(null,C)}))}}},7945:i=>{i.exports=global.process},5506:(i,c,d)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):d(36828)},36828:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80652:(i,c,d)=>{"use strict";const{SymbolDispose:p}=d(50999);const{AbortError:A,codes:C}=d(69220);const{isNodeStream:S,isWebStream:v,kControllerErrorFunction:_}=d(83426);const T=d(36815);const{ERR_INVALID_ARG_TYPE:V}=C;let Z;const validateAbortSignal=(i,c)=>{if(typeof i!=="object"||!("aborted"in i)){throw new V(c,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(c,d){validateAbortSignal(c,"signal");if(!S(d)&&!v(d)){throw new V("stream",["ReadableStream","WritableStream","Stream"],d)}return i.exports.addAbortSignalNoValidate(c,d)};i.exports.addAbortSignalNoValidate=function(i,c){if(typeof i!=="object"||!("aborted"in i)){return c}const C=S(c)?()=>{c.destroy(new A(undefined,{cause:i.reason}))}:()=>{c[_](new A(undefined,{cause:i.reason}))};if(i.aborted){C()}else{Z=Z||d(23539).addAbortListener;const A=Z(i,C);T(c,A[p])}return c}},77336:(i,c,d)=>{"use strict";const{StringPrototypeSlice:p,SymbolIterator:A,TypedArrayPrototypeSet:C,Uint8Array:S}=d(50999);const{Buffer:v}=d(20181);const{inspect:_}=d(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const c={data:i,next:null};if(this.length>0)this.tail.next=c;else this.head=c;this.tail=c;++this.length}unshift(i){const c={data:i,next:this.head};if(this.length===0)this.tail=c;this.head=c;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let c=this.head;let d=""+c.data;while((c=c.next)!==null)d+=i+c.data;return d}concat(i){if(this.length===0)return v.alloc(0);const c=v.allocUnsafe(i>>>0);let d=this.head;let p=0;while(d){C(c,d.data,p);p+=d.data.length;d=d.next}return c}consume(i,c){const d=this.head.data;if(i<d.length){const c=d.slice(0,i);this.head.data=d.slice(i);return c}if(i===d.length){return this.shift()}return c?this._getString(i):this._getBuffer(i)}first(){return this.head.data}*[A](){for(let i=this.head;i;i=i.next){yield i.data}}_getString(i){let c="";let d=this.head;let A=0;do{const C=d.data;if(i>C.length){c+=C;i-=C.length}else{if(i===C.length){c+=C;++A;if(d.next)this.head=d.next;else this.head=this.tail=null}else{c+=p(C,0,i);this.head=d;d.data=p(C,i)}break}++A}while((d=d.next)!==null);this.length-=A;return c}_getBuffer(i){const c=v.allocUnsafe(i);const d=i;let p=this.head;let A=0;do{const v=p.data;if(i>v.length){C(c,v,d-i);i-=v.length}else{if(i===v.length){C(c,v,d-i);++A;if(p.next)this.head=p.next;else this.head=this.tail=null}else{C(c,new S(v.buffer,v.byteOffset,i),d-i);this.head=p;p.data=v.slice(i)}break}++A}while((p=p.next)!==null);this.length-=A;return c}[Symbol.for("nodejs.util.inspect.custom")](i,c){return _(this,{...c,depth:0,customInspect:false})}}},64999:(i,c,d)=>{"use strict";const{pipeline:p}=d(16701);const A=d(94449);const{destroyer:C}=d(65089);const{isNodeStream:S,isReadable:v,isWritable:_,isWebStream:T,isTransformStream:V,isWritableStream:Z,isReadableStream:ee}=d(83426);const{AbortError:te,codes:{ERR_INVALID_ARG_VALUE:re,ERR_MISSING_ARGS:ne}}=d(69220);const ie=d(36815);i.exports=function compose(...i){if(i.length===0){throw new ne("streams")}if(i.length===1){return A.from(i[0])}const c=[...i];if(typeof i[0]==="function"){i[0]=A.from(i[0])}if(typeof i[i.length-1]==="function"){const c=i.length-1;i[c]=A.from(i[c])}for(let d=0;d<i.length;++d){if(!S(i[d])&&!T(i[d])){continue}if(d<i.length-1&&!(v(i[d])||ee(i[d])||V(i[d]))){throw new re(`streams[${d}]`,c[d],"must be readable")}if(d>0&&!(_(i[d])||Z(i[d])||V(i[d]))){throw new re(`streams[${d}]`,c[d],"must be writable")}}let d;let se;let oe;let ae;let le;function onfinished(i){const c=ae;ae=null;if(c){c(i)}else if(i){le.destroy(i)}else if(!fe&&!de){le.destroy()}}const ce=i[0];const ue=p(i,onfinished);const de=!!(_(ce)||Z(ce)||V(ce));const fe=!!(v(ue)||ee(ue)||V(ue));le=new A({writableObjectMode:!!(ce!==null&&ce!==undefined&&ce.writableObjectMode),readableObjectMode:!!(ue!==null&&ue!==undefined&&ue.readableObjectMode),writable:de,readable:fe});if(de){if(S(ce)){le._write=function(i,c,p){if(ce.write(i,c)){p()}else{d=p}};le._final=function(i){ce.end();se=i};ce.on("drain",(function(){if(d){const i=d;d=null;i()}}))}else if(T(ce)){const i=V(ce)?ce.writable:ce;const c=i.getWriter();le._write=async function(i,d,p){try{await c.ready;c.write(i).catch((()=>{}));p()}catch(i){p(i)}};le._final=async function(i){try{await c.ready;c.close().catch((()=>{}));se=i}catch(c){i(c)}}}const i=V(ue)?ue.readable:ue;ie(i,(()=>{if(se){const i=se;se=null;i()}}))}if(fe){if(S(ue)){ue.on("readable",(function(){if(oe){const i=oe;oe=null;i()}}));ue.on("end",(function(){le.push(null)}));le._read=function(){while(true){const i=ue.read();if(i===null){oe=le._read;return}if(!le.push(i)){return}}}}else if(T(ue)){const i=V(ue)?ue.readable:ue;const c=i.getReader();le._read=async function(){while(true){try{const{value:i,done:d}=await c.read();if(!le.push(i)){return}if(d){le.push(null);return}}catch{return}}}}}le._destroy=function(i,c){if(!i&&ae!==null){i=new te}oe=null;d=null;se=null;if(ae===null){c(i)}else{ae=c;if(S(ue)){C(ue,i)}}};return le}},65089:(i,c,d)=>{"use strict";const p=d(7945);const{aggregateTwoErrors:A,codes:{ERR_MULTIPLE_CALLBACK:C},AbortError:S}=d(69220);const{Symbol:v}=d(50999);const{kIsDestroyed:_,isDestroyed:T,isFinished:V,isServerRequest:Z}=d(83426);const ee=v("kDestroy");const te=v("kConstruct");function checkError(i,c,d){if(i){i.stack;if(c&&!c.errored){c.errored=i}if(d&&!d.errored){d.errored=i}}}function destroy(i,c){const d=this._readableState;const p=this._writableState;const C=p||d;if(p!==null&&p!==undefined&&p.destroyed||d!==null&&d!==undefined&&d.destroyed){if(typeof c==="function"){c()}return this}checkError(i,p,d);if(p){p.destroyed=true}if(d){d.destroyed=true}if(!C.constructed){this.once(ee,(function(d){_destroy(this,A(d,i),c)}))}else{_destroy(this,i,c)}return this}function _destroy(i,c,d){let A=false;function onDestroy(c){if(A){return}A=true;const C=i._readableState;const S=i._writableState;checkError(c,S,C);if(S){S.closed=true}if(C){C.closed=true}if(typeof d==="function"){d(c)}if(c){p.nextTick(emitErrorCloseNT,i,c)}else{p.nextTick(emitCloseNT,i)}}try{i._destroy(c||null,onDestroy)}catch(c){onDestroy(c)}}function emitErrorCloseNT(i,c){emitErrorNT(i,c);emitCloseNT(i)}function emitCloseNT(i){const c=i._readableState;const d=i._writableState;if(d){d.closeEmitted=true}if(c){c.closeEmitted=true}if(d!==null&&d!==undefined&&d.emitClose||c!==null&&c!==undefined&&c.emitClose){i.emit("close")}}function emitErrorNT(i,c){const d=i._readableState;const p=i._writableState;if(p!==null&&p!==undefined&&p.errorEmitted||d!==null&&d!==undefined&&d.errorEmitted){return}if(p){p.errorEmitted=true}if(d){d.errorEmitted=true}i.emit("error",c)}function undestroy(){const i=this._readableState;const c=this._writableState;if(i){i.constructed=true;i.closed=false;i.closeEmitted=false;i.destroyed=false;i.errored=null;i.errorEmitted=false;i.reading=false;i.ended=i.readable===false;i.endEmitted=i.readable===false}if(c){c.constructed=true;c.destroyed=false;c.closed=false;c.closeEmitted=false;c.errored=null;c.errorEmitted=false;c.finalCalled=false;c.prefinished=false;c.ended=c.writable===false;c.ending=c.writable===false;c.finished=c.writable===false}}function errorOrDestroy(i,c,d){const A=i._readableState;const C=i._writableState;if(C!==null&&C!==undefined&&C.destroyed||A!==null&&A!==undefined&&A.destroyed){return this}if(A!==null&&A!==undefined&&A.autoDestroy||C!==null&&C!==undefined&&C.autoDestroy)i.destroy(c);else if(c){c.stack;if(C&&!C.errored){C.errored=c}if(A&&!A.errored){A.errored=c}if(d){p.nextTick(emitErrorNT,i,c)}else{emitErrorNT(i,c)}}}function construct(i,c){if(typeof i._construct!=="function"){return}const d=i._readableState;const A=i._writableState;if(d){d.constructed=false}if(A){A.constructed=false}i.once(te,c);if(i.listenerCount(te)>1){return}p.nextTick(constructNT,i)}function constructNT(i){let c=false;function onConstruct(d){if(c){errorOrDestroy(i,d!==null&&d!==undefined?d:new C);return}c=true;const A=i._readableState;const S=i._writableState;const v=S||A;if(A){A.constructed=true}if(S){S.constructed=true}if(v.destroyed){i.emit(ee,d)}else if(d){errorOrDestroy(i,d,true)}else{p.nextTick(emitConstructNT,i)}}try{i._construct((i=>{p.nextTick(onConstruct,i)}))}catch(i){p.nextTick(onConstruct,i)}}function emitConstructNT(i){i.emit(te)}function isRequest(i){return(i===null||i===undefined?undefined:i.setHeader)&&typeof i.abort==="function"}function emitCloseLegacy(i){i.emit("close")}function emitErrorCloseLegacy(i,c){i.emit("error",c);p.nextTick(emitCloseLegacy,i)}function destroyer(i,c){if(!i||T(i)){return}if(!c&&!V(i)){c=new S}if(Z(i)){i.socket=null;i.destroy(c)}else if(isRequest(i)){i.abort()}else if(isRequest(i.req)){i.req.abort()}else if(typeof i.destroy==="function"){i.destroy(c)}else if(typeof i.close==="function"){i.close()}else if(c){p.nextTick(emitErrorCloseLegacy,i,c)}else{p.nextTick(emitCloseLegacy,i)}if(!i.destroyed){i[_]=true}}i.exports={construct:construct,destroyer:destroyer,destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},94449:(i,c,d)=>{"use strict";const{ObjectDefineProperties:p,ObjectGetOwnPropertyDescriptor:A,ObjectKeys:C,ObjectSetPrototypeOf:S}=d(50999);i.exports=Duplex;const v=d(17783);const _=d(58939);S(Duplex.prototype,v.prototype);S(Duplex,v);{const i=C(_.prototype);for(let c=0;c<i.length;c++){const d=i[c];if(!Duplex.prototype[d])Duplex.prototype[d]=_.prototype[d]}}function Duplex(i){if(!(this instanceof Duplex))return new Duplex(i);v.call(this,i);_.call(this,i);if(i){this.allowHalfOpen=i.allowHalfOpen!==false;if(i.readable===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if(i.writable===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}else{this.allowHalfOpen=true}}p(Duplex.prototype,{writable:{__proto__:null,...A(_.prototype,"writable")},writableHighWaterMark:{__proto__:null,...A(_.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...A(_.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...A(_.prototype,"writableBuffer")},writableLength:{__proto__:null,...A(_.prototype,"writableLength")},writableFinished:{__proto__:null,...A(_.prototype,"writableFinished")},writableCorked:{__proto__:null,...A(_.prototype,"writableCorked")},writableEnded:{__proto__:null,...A(_.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...A(_.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set(i){if(this._readableState&&this._writableState){this._readableState.destroyed=i;this._writableState.destroyed=i}}}});let T;function lazyWebStreams(){if(T===undefined)T={};return T}Duplex.fromWeb=function(i,c){return lazyWebStreams().newStreamDuplexFromReadableWritablePair(i,c)};Duplex.toWeb=function(i){return lazyWebStreams().newReadableWritablePairFromDuplex(i)};let V;Duplex.from=function(i){if(!V){V=d(4599)}return V(i,"body")}},4599:(i,c,d)=>{const p=d(7945);"use strict";const A=d(20181);const{isReadable:C,isWritable:S,isIterable:v,isNodeStream:_,isReadableNodeStream:T,isWritableNodeStream:V,isDuplexNodeStream:Z,isReadableStream:ee,isWritableStream:te}=d(83426);const re=d(36815);const{AbortError:ne,codes:{ERR_INVALID_ARG_TYPE:ie,ERR_INVALID_RETURN_VALUE:se}}=d(69220);const{destroyer:oe}=d(65089);const ae=d(94449);const le=d(17783);const ce=d(58939);const{createDeferredPromise:ue}=d(23539);const de=d(4659);const fe=globalThis.Blob||A.Blob;const pe=typeof fe!=="undefined"?function isBlob(i){return i instanceof fe}:function isBlob(i){return false};const Ae=globalThis.AbortController||d(17413).AbortController;const{FunctionPrototypeCall:he}=d(50999);class Duplexify extends ae{constructor(i){super(i);if((i===null||i===undefined?undefined:i.readable)===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if((i===null||i===undefined?undefined:i.writable)===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}}i.exports=function duplexify(i,c){if(Z(i)){return i}if(T(i)){return _duplexify({readable:i})}if(V(i)){return _duplexify({writable:i})}if(_(i)){return _duplexify({writable:false,readable:false})}if(ee(i)){return _duplexify({readable:le.fromWeb(i)})}if(te(i)){return _duplexify({writable:ce.fromWeb(i)})}if(typeof i==="function"){const{value:d,write:A,final:C,destroy:S}=fromAsyncGen(i);if(v(d)){return de(Duplexify,d,{objectMode:true,write:A,final:C,destroy:S})}const _=d===null||d===undefined?undefined:d.then;if(typeof _==="function"){let i;const c=he(_,d,(i=>{if(i!=null){throw new se("nully","body",i)}}),(c=>{oe(i,c)}));return i=new Duplexify({objectMode:true,readable:false,write:A,final(i){C((async()=>{try{await c;p.nextTick(i,null)}catch(c){p.nextTick(i,c)}}))},destroy:S})}throw new se("Iterable, AsyncIterable or AsyncFunction",c,d)}if(pe(i)){return duplexify(i.arrayBuffer())}if(v(i)){return de(Duplexify,i,{objectMode:true,writable:false})}if(ee(i===null||i===undefined?undefined:i.readable)&&te(i===null||i===undefined?undefined:i.writable)){return Duplexify.fromWeb(i)}if(typeof(i===null||i===undefined?undefined:i.writable)==="object"||typeof(i===null||i===undefined?undefined:i.readable)==="object"){const c=i!==null&&i!==undefined&&i.readable?T(i===null||i===undefined?undefined:i.readable)?i===null||i===undefined?undefined:i.readable:duplexify(i.readable):undefined;const d=i!==null&&i!==undefined&&i.writable?V(i===null||i===undefined?undefined:i.writable)?i===null||i===undefined?undefined:i.writable:duplexify(i.writable):undefined;return _duplexify({readable:c,writable:d})}const d=i===null||i===undefined?undefined:i.then;if(typeof d==="function"){let c;he(d,i,(i=>{if(i!=null){c.push(i)}c.push(null)}),(i=>{oe(c,i)}));return c=new Duplexify({objectMode:true,writable:false,read(){}})}throw new ie(c,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],i)};function fromAsyncGen(i){let{promise:c,resolve:d}=ue();const A=new Ae;const C=A.signal;const S=i(async function*(){while(true){const i=c;c=null;const{chunk:A,done:S,cb:v}=await i;p.nextTick(v);if(S)return;if(C.aborted)throw new ne(undefined,{cause:C.reason});({promise:c,resolve:d}=ue());yield A}}(),{signal:C});return{value:S,write(i,c,p){const A=d;d=null;A({chunk:i,done:false,cb:p})},final(i){const c=d;d=null;c({done:true,cb:i})},destroy(i,c){A.abort();c(i)}}}function _duplexify(i){const c=i.readable&&typeof i.readable.read!=="function"?le.wrap(i.readable):i.readable;const d=i.writable;let p=!!C(c);let A=!!S(d);let v;let _;let T;let V;let Z;function onfinished(i){const c=V;V=null;if(c){c(i)}else if(i){Z.destroy(i)}}Z=new Duplexify({readableObjectMode:!!(c!==null&&c!==undefined&&c.readableObjectMode),writableObjectMode:!!(d!==null&&d!==undefined&&d.writableObjectMode),readable:p,writable:A});if(A){re(d,(i=>{A=false;if(i){oe(c,i)}onfinished(i)}));Z._write=function(i,c,p){if(d.write(i,c)){p()}else{v=p}};Z._final=function(i){d.end();_=i};d.on("drain",(function(){if(v){const i=v;v=null;i()}}));d.on("finish",(function(){if(_){const i=_;_=null;i()}}))}if(p){re(c,(i=>{p=false;if(i){oe(c,i)}onfinished(i)}));c.on("readable",(function(){if(T){const i=T;T=null;i()}}));c.on("end",(function(){Z.push(null)}));Z._read=function(){while(true){const i=c.read();if(i===null){T=Z._read;return}if(!Z.push(i)){return}}}}Z._destroy=function(i,p){if(!i&&V!==null){i=new ne}T=null;v=null;_=null;if(V===null){p(i)}else{V=p;oe(d,i);oe(c,i)}};return Z}},36815:(i,c,d)=>{const p=d(7945);"use strict";const{AbortError:A,codes:C}=d(69220);const{ERR_INVALID_ARG_TYPE:S,ERR_STREAM_PREMATURE_CLOSE:v}=C;const{kEmptyObject:_,once:T}=d(23539);const{validateAbortSignal:V,validateFunction:Z,validateObject:ee,validateBoolean:te}=d(49554);const{Promise:re,PromisePrototypeThen:ne,SymbolDispose:ie}=d(50999);const{isClosed:se,isReadable:oe,isReadableNodeStream:ae,isReadableStream:le,isReadableFinished:ce,isReadableErrored:ue,isWritable:de,isWritableNodeStream:fe,isWritableStream:pe,isWritableFinished:Ae,isWritableErrored:he,isNodeStream:ge,willEmitClose:me,kIsClosedPromise:ye}=d(83426);let Ee;function isRequest(i){return i.setHeader&&typeof i.abort==="function"}const nop=()=>{};function eos(i,c,C){var te,re;if(arguments.length===2){C=c;c=_}else if(c==null){c=_}else{ee(c,"options")}Z(C,"callback");V(c.signal,"options.signal");C=T(C);if(le(i)||pe(i)){return eosWeb(i,c,C)}if(!ge(i)){throw new S("stream",["ReadableStream","WritableStream","Stream"],i)}const ne=(te=c.readable)!==null&&te!==undefined?te:ae(i);const ye=(re=c.writable)!==null&&re!==undefined?re:fe(i);const be=i._writableState;const Ce=i._readableState;const onlegacyfinish=()=>{if(!i.writable){onfinish()}};let we=me(i)&&ae(i)===ne&&fe(i)===ye;let Ie=Ae(i,false);const onfinish=()=>{Ie=true;if(i.destroyed){we=false}if(we&&(!i.readable||ne)){return}if(!ne||Se){C.call(i)}};let Se=ce(i,false);const onend=()=>{Se=true;if(i.destroyed){we=false}if(we&&(!i.writable||ye)){return}if(!ye||Ie){C.call(i)}};const onerror=c=>{C.call(i,c)};let ve=se(i);const onclose=()=>{ve=true;const c=he(i)||ue(i);if(c&&typeof c!=="boolean"){return C.call(i,c)}if(ne&&!Se&&ae(i,true)){if(!ce(i,false))return C.call(i,new v)}if(ye&&!Ie){if(!Ae(i,false))return C.call(i,new v)}C.call(i)};const onclosed=()=>{ve=true;const c=he(i)||ue(i);if(c&&typeof c!=="boolean"){return C.call(i,c)}C.call(i)};const onrequest=()=>{i.req.on("finish",onfinish)};if(isRequest(i)){i.on("complete",onfinish);if(!we){i.on("abort",onclose)}if(i.req){onrequest()}else{i.on("request",onrequest)}}else if(ye&&!be){i.on("end",onlegacyfinish);i.on("close",onlegacyfinish)}if(!we&&typeof i.aborted==="boolean"){i.on("aborted",onclose)}i.on("end",onend);i.on("finish",onfinish);if(c.error!==false){i.on("error",onerror)}i.on("close",onclose);if(ve){p.nextTick(onclose)}else if(be!==null&&be!==undefined&&be.errorEmitted||Ce!==null&&Ce!==undefined&&Ce.errorEmitted){if(!we){p.nextTick(onclosed)}}else if(!ne&&(!we||oe(i))&&(Ie||de(i)===false)){p.nextTick(onclosed)}else if(!ye&&(!we||de(i))&&(Se||oe(i)===false)){p.nextTick(onclosed)}else if(Ce&&i.req&&i.aborted){p.nextTick(onclosed)}const cleanup=()=>{C=nop;i.removeListener("aborted",onclose);i.removeListener("complete",onfinish);i.removeListener("abort",onclose);i.removeListener("request",onrequest);if(i.req)i.req.removeListener("finish",onfinish);i.removeListener("end",onlegacyfinish);i.removeListener("close",onlegacyfinish);i.removeListener("finish",onfinish);i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("close",onclose)};if(c.signal&&!ve){const abort=()=>{const d=C;cleanup();d.call(i,new A(undefined,{cause:c.signal.reason}))};if(c.signal.aborted){p.nextTick(abort)}else{Ee=Ee||d(23539).addAbortListener;const p=Ee(c.signal,abort);const A=C;C=T(((...c)=>{p[ie]();A.apply(i,c)}))}}return cleanup}function eosWeb(i,c,C){let S=false;let v=nop;if(c.signal){v=()=>{S=true;C.call(i,new A(undefined,{cause:c.signal.reason}))};if(c.signal.aborted){p.nextTick(v)}else{Ee=Ee||d(23539).addAbortListener;const p=Ee(c.signal,v);const A=C;C=T(((...c)=>{p[ie]();A.apply(i,c)}))}}const resolverFn=(...c)=>{if(!S){p.nextTick((()=>C.apply(i,c)))}};ne(i[ye].promise,resolverFn,resolverFn);return nop}function finished(i,c){var d;let p=false;if(c===null){c=_}if((d=c)!==null&&d!==undefined&&d.cleanup){te(c.cleanup,"cleanup");p=c.cleanup}return new re(((d,A)=>{const C=eos(i,c,(i=>{if(p){C()}if(i){A(i)}else{d()}}))}))}i.exports=eos;i.exports.finished=finished},4659:(i,c,d)=>{"use strict";const p=d(7945);const{PromisePrototypeThen:A,SymbolAsyncIterator:C,SymbolIterator:S}=d(50999);const{Buffer:v}=d(20181);const{ERR_INVALID_ARG_TYPE:_,ERR_STREAM_NULL_VALUES:T}=d(69220).codes;function from(i,c,d){let V;if(typeof c==="string"||c instanceof v){return new i({objectMode:true,...d,read(){this.push(c);this.push(null)}})}let Z;if(c&&c[C]){Z=true;V=c[C]()}else if(c&&c[S]){Z=false;V=c[S]()}else{throw new _("iterable",["Iterable"],c)}const ee=new i({objectMode:true,highWaterMark:1,...d});let te=false;ee._read=function(){if(!te){te=true;next()}};ee._destroy=function(i,c){A(close(i),(()=>p.nextTick(c,i)),(d=>p.nextTick(c,d||i)))};async function close(i){const c=i!==undefined&&i!==null;const d=typeof V.throw==="function";if(c&&d){const{value:c,done:d}=await V.throw(i);await c;if(d){return}}if(typeof V.return==="function"){const{value:i}=await V.return();await i}}async function next(){for(;;){try{const{value:i,done:c}=Z?await V.next():V.next();if(c){ee.push(null)}else{const c=i&&typeof i.then==="function"?await i:i;if(c===null){te=false;throw new T}else if(ee.push(c)){continue}else{te=false}}}catch(i){ee.destroy(i)}break}}return ee}i.exports=from},84128:(i,c,d)=>{"use strict";const{ArrayIsArray:p,ObjectSetPrototypeOf:A}=d(50999);const{EventEmitter:C}=d(24434);function Stream(i){C.call(this,i)}A(Stream.prototype,C.prototype);A(Stream,C);Stream.prototype.pipe=function(i,c){const d=this;function ondata(c){if(i.writable&&i.write(c)===false&&d.pause){d.pause()}}d.on("data",ondata);function ondrain(){if(d.readable&&d.resume){d.resume()}}i.on("drain",ondrain);if(!i._isStdio&&(!c||c.end!==false)){d.on("end",onend);d.on("close",onclose)}let p=false;function onend(){if(p)return;p=true;i.end()}function onclose(){if(p)return;p=true;if(typeof i.destroy==="function")i.destroy()}function onerror(i){cleanup();if(C.listenerCount(this,"error")===0){this.emit("error",i)}}prependListener(d,"error",onerror);prependListener(i,"error",onerror);function cleanup(){d.removeListener("data",ondata);i.removeListener("drain",ondrain);d.removeListener("end",onend);d.removeListener("close",onclose);d.removeListener("error",onerror);i.removeListener("error",onerror);d.removeListener("end",cleanup);d.removeListener("close",cleanup);i.removeListener("close",cleanup)}d.on("end",cleanup);d.on("close",cleanup);i.on("close",cleanup);i.emit("pipe",d);return i};function prependListener(i,c,d){if(typeof i.prependListener==="function")return i.prependListener(c,d);if(!i._events||!i._events[c])i.on(c,d);else if(p(i._events[c]))i._events[c].unshift(d);else i._events[c]=[d,i._events[c]]}i.exports={Stream:Stream,prependListener:prependListener}},11222:(i,c,d)=>{"use strict";const p=globalThis.AbortController||d(17413).AbortController;const{codes:{ERR_INVALID_ARG_VALUE:A,ERR_INVALID_ARG_TYPE:C,ERR_MISSING_ARGS:S,ERR_OUT_OF_RANGE:v},AbortError:_}=d(69220);const{validateAbortSignal:T,validateInteger:V,validateObject:Z}=d(49554);const ee=d(50999).Symbol("kWeak");const te=d(50999).Symbol("kResistStopPropagation");const{finished:re}=d(36815);const ne=d(64999);const{addAbortSignalNoValidate:ie}=d(80652);const{isWritable:se,isNodeStream:oe}=d(83426);const{deprecate:ae}=d(23539);const{ArrayPrototypePush:le,Boolean:ce,MathFloor:ue,Number:de,NumberIsNaN:fe,Promise:pe,PromiseReject:Ae,PromiseResolve:he,PromisePrototypeThen:ge,Symbol:me}=d(50999);const ye=me("kEmpty");const Ee=me("kEof");function compose(i,c){if(c!=null){Z(c,"options")}if((c===null||c===undefined?undefined:c.signal)!=null){T(c.signal,"options.signal")}if(oe(i)&&!se(i)){throw new A("stream",i,"must be writable")}const d=ne(this,i);if(c!==null&&c!==undefined&&c.signal){ie(c.signal,d)}return d}function map(i,c){if(typeof i!=="function"){throw new C("fn",["Function","AsyncFunction"],i)}if(c!=null){Z(c,"options")}if((c===null||c===undefined?undefined:c.signal)!=null){T(c.signal,"options.signal")}let p=1;if((c===null||c===undefined?undefined:c.concurrency)!=null){p=ue(c.concurrency)}let A=p-1;if((c===null||c===undefined?undefined:c.highWaterMark)!=null){A=ue(c.highWaterMark)}V(p,"options.concurrency",1);V(A,"options.highWaterMark",0);A+=p;return async function*map(){const C=d(23539).AbortSignalAny([c===null||c===undefined?undefined:c.signal].filter(ce));const S=this;const v=[];const T={signal:C};let V;let Z;let ee=false;let te=0;function onCatch(){ee=true;afterItemProcessed()}function afterItemProcessed(){te-=1;maybeResume()}function maybeResume(){if(Z&&!ee&&te<p&&v.length<A){Z();Z=null}}async function pump(){try{for await(let c of S){if(ee){return}if(C.aborted){throw new _}try{c=i(c,T);if(c===ye){continue}c=he(c)}catch(i){c=Ae(i)}te+=1;ge(c,afterItemProcessed,onCatch);v.push(c);if(V){V();V=null}if(!ee&&(v.length>=A||te>=p)){await new pe((i=>{Z=i}))}}v.push(Ee)}catch(i){const c=Ae(i);ge(c,afterItemProcessed,onCatch);v.push(c)}finally{ee=true;if(V){V();V=null}}}pump();try{while(true){while(v.length>0){const i=await v[0];if(i===Ee){return}if(C.aborted){throw new _}if(i!==ye){yield i}v.shift();maybeResume()}await new pe((i=>{V=i}))}}finally{ee=true;if(Z){Z();Z=null}}}.call(this)}function asIndexedPairs(i=undefined){if(i!=null){Z(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){T(i.signal,"options.signal")}return async function*asIndexedPairs(){let c=0;for await(const p of this){var d;if(i!==null&&i!==undefined&&(d=i.signal)!==null&&d!==undefined&&d.aborted){throw new _({cause:i.signal.reason})}yield[c++,p]}}.call(this)}async function some(i,c=undefined){for await(const d of filter.call(this,i,c)){return true}return false}async function every(i,c=undefined){if(typeof i!=="function"){throw new C("fn",["Function","AsyncFunction"],i)}return!await some.call(this,(async(...c)=>!await i(...c)),c)}async function find(i,c){for await(const d of filter.call(this,i,c)){return d}return undefined}async function forEach(i,c){if(typeof i!=="function"){throw new C("fn",["Function","AsyncFunction"],i)}async function forEachFn(c,d){await i(c,d);return ye}for await(const i of map.call(this,forEachFn,c));}function filter(i,c){if(typeof i!=="function"){throw new C("fn",["Function","AsyncFunction"],i)}async function filterFn(c,d){if(await i(c,d)){return c}return ye}return map.call(this,filterFn,c)}class ReduceAwareErrMissingArgs extends S{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function reduce(i,c,d){var A;if(typeof i!=="function"){throw new C("reducer",["Function","AsyncFunction"],i)}if(d!=null){Z(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){T(d.signal,"options.signal")}let S=arguments.length>1;if(d!==null&&d!==undefined&&(A=d.signal)!==null&&A!==undefined&&A.aborted){const i=new _(undefined,{cause:d.signal.reason});this.once("error",(()=>{}));await re(this.destroy(i));throw i}const v=new p;const V=v.signal;if(d!==null&&d!==undefined&&d.signal){const i={once:true,[ee]:this,[te]:true};d.signal.addEventListener("abort",(()=>v.abort()),i)}let ne=false;try{for await(const p of this){var ie;ne=true;if(d!==null&&d!==undefined&&(ie=d.signal)!==null&&ie!==undefined&&ie.aborted){throw new _}if(!S){c=p;S=true}else{c=await i(c,p,{signal:V})}}if(!ne&&!S){throw new ReduceAwareErrMissingArgs}}finally{v.abort()}return c}async function toArray(i){if(i!=null){Z(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){T(i.signal,"options.signal")}const c=[];for await(const p of this){var d;if(i!==null&&i!==undefined&&(d=i.signal)!==null&&d!==undefined&&d.aborted){throw new _(undefined,{cause:i.signal.reason})}le(c,p)}return c}function flatMap(i,c){const d=map.call(this,i,c);return async function*flatMap(){for await(const i of d){yield*i}}.call(this)}function toIntegerOrInfinity(i){i=de(i);if(fe(i)){return 0}if(i<0){throw new v("number",">= 0",i)}return i}function drop(i,c=undefined){if(c!=null){Z(c,"options")}if((c===null||c===undefined?undefined:c.signal)!=null){T(c.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*drop(){var d;if(c!==null&&c!==undefined&&(d=c.signal)!==null&&d!==undefined&&d.aborted){throw new _}for await(const d of this){var p;if(c!==null&&c!==undefined&&(p=c.signal)!==null&&p!==undefined&&p.aborted){throw new _}if(i--<=0){yield d}}}.call(this)}function take(i,c=undefined){if(c!=null){Z(c,"options")}if((c===null||c===undefined?undefined:c.signal)!=null){T(c.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*take(){var d;if(c!==null&&c!==undefined&&(d=c.signal)!==null&&d!==undefined&&d.aborted){throw new _}for await(const d of this){var p;if(c!==null&&c!==undefined&&(p=c.signal)!==null&&p!==undefined&&p.aborted){throw new _}if(i-- >0){yield d}if(i<=0){return}}}.call(this)}i.exports.streamReturningOperators={asIndexedPairs:ae(asIndexedPairs,"readable.asIndexedPairs will be removed in a future version."),drop:drop,filter:filter,flatMap:flatMap,map:map,take:take,compose:compose};i.exports.promiseReturningOperators={every:every,forEach:forEach,reduce:reduce,toArray:toArray,some:some,find:find}},19173:(i,c,d)=>{"use strict";const{ObjectSetPrototypeOf:p}=d(50999);i.exports=PassThrough;const A=d(12135);p(PassThrough.prototype,A.prototype);p(PassThrough,A);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);A.call(this,i)}PassThrough.prototype._transform=function(i,c,d){d(null,i)}},16701:(i,c,d)=>{const p=d(7945);"use strict";const{ArrayIsArray:A,Promise:C,SymbolAsyncIterator:S,SymbolDispose:v}=d(50999);const _=d(36815);const{once:T}=d(23539);const V=d(65089);const Z=d(94449);const{aggregateTwoErrors:ee,codes:{ERR_INVALID_ARG_TYPE:te,ERR_INVALID_RETURN_VALUE:re,ERR_MISSING_ARGS:ne,ERR_STREAM_DESTROYED:ie,ERR_STREAM_PREMATURE_CLOSE:se},AbortError:oe}=d(69220);const{validateFunction:ae,validateAbortSignal:le}=d(49554);const{isIterable:ce,isReadable:ue,isReadableNodeStream:de,isNodeStream:fe,isTransformStream:pe,isWebStream:Ae,isReadableStream:he,isReadableFinished:ge}=d(83426);const me=globalThis.AbortController||d(17413).AbortController;let ye;let Ee;let be;function destroyer(i,c,d){let p=false;i.on("close",(()=>{p=true}));const A=_(i,{readable:c,writable:d},(i=>{p=!i}));return{destroy:c=>{if(p)return;p=true;V.destroyer(i,c||new ie("pipe"))},cleanup:A}}function popCallback(i){ae(i[i.length-1],"streams[stream.length - 1]");return i.pop()}function makeAsyncIterable(i){if(ce(i)){return i}else if(de(i)){return fromReadable(i)}throw new te("val",["Readable","Iterable","AsyncIterable"],i)}async function*fromReadable(i){if(!Ee){Ee=d(17783)}yield*Ee.prototype[S].call(i)}async function pumpToNode(i,c,d,{end:p}){let A;let S=null;const resume=i=>{if(i){A=i}if(S){const i=S;S=null;i()}};const wait=()=>new C(((i,c)=>{if(A){c(A)}else{S=()=>{if(A){c(A)}else{i()}}}}));c.on("drain",resume);const v=_(c,{readable:false},resume);try{if(c.writableNeedDrain){await wait()}for await(const d of i){if(!c.write(d)){await wait()}}if(p){c.end();await wait()}d()}catch(i){d(A!==i?ee(A,i):i)}finally{v();c.off("drain",resume)}}async function pumpToWeb(i,c,d,{end:p}){if(pe(c)){c=c.writable}const A=c.getWriter();try{for await(const c of i){await A.ready;A.write(c).catch((()=>{}))}await A.ready;if(p){await A.close()}d()}catch(i){try{await A.abort(i);d(i)}catch(i){d(i)}}}function pipeline(...i){return pipelineImpl(i,T(popCallback(i)))}function pipelineImpl(i,c,C){if(i.length===1&&A(i[0])){i=i[0]}if(i.length<2){throw new ne("streams")}const S=new me;const _=S.signal;const T=C===null||C===undefined?undefined:C.signal;const V=[];le(T,"options.signal");function abort(){finishImpl(new oe)}be=be||d(23539).addAbortListener;let ee;if(T){ee=be(T,abort)}let ie;let se;const ae=[];let ge=0;function finish(i){finishImpl(i,--ge===0)}function finishImpl(i,d){var A;if(i&&(!ie||ie.code==="ERR_STREAM_PREMATURE_CLOSE")){ie=i}if(!ie&&!d){return}while(ae.length){ae.shift()(ie)}(A=ee)===null||A===undefined?undefined:A[v]();S.abort();if(d){if(!ie){V.forEach((i=>i()))}p.nextTick(c,ie,se)}}let Ee;for(let Ie=0;Ie<i.length;Ie++){const Se=i[Ie];const ve=Ie<i.length-1;const Be=Ie>0;const Re=ve||(C===null||C===undefined?undefined:C.end)!==false;const _e=Ie===i.length-1;if(fe(Se)){if(Re){const{destroy:Ne,cleanup:Qe}=destroyer(Se,ve,Be);ae.push(Ne);if(ue(Se)&&_e){V.push(Qe)}}function onError(i){if(i&&i.name!=="AbortError"&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){finish(i)}}Se.on("error",onError);if(ue(Se)&&_e){V.push((()=>{Se.removeListener("error",onError)}))}}if(Ie===0){if(typeof Se==="function"){Ee=Se({signal:_});if(!ce(Ee)){throw new re("Iterable, AsyncIterable or Stream","source",Ee)}}else if(ce(Se)||de(Se)||pe(Se)){Ee=Se}else{Ee=Z.from(Se)}}else if(typeof Se==="function"){if(pe(Ee)){var Ce;Ee=makeAsyncIterable((Ce=Ee)===null||Ce===undefined?undefined:Ce.readable)}else{Ee=makeAsyncIterable(Ee)}Ee=Se(Ee,{signal:_});if(ve){if(!ce(Ee,true)){throw new re("AsyncIterable",`transform[${Ie-1}]`,Ee)}}else{var we;if(!ye){ye=d(19173)}const Te=new ye({objectMode:true});const ke=(we=Ee)===null||we===undefined?undefined:we.then;if(typeof ke==="function"){ge++;ke.call(Ee,(i=>{se=i;if(i!=null){Te.write(i)}if(Re){Te.end()}p.nextTick(finish)}),(i=>{Te.destroy(i);p.nextTick(finish,i)}))}else if(ce(Ee,true)){ge++;pumpToNode(Ee,Te,finish,{end:Re})}else if(he(Ee)||pe(Ee)){const Oe=Ee.readable||Ee;ge++;pumpToNode(Oe,Te,finish,{end:Re})}else{throw new re("AsyncIterable or Promise","destination",Ee)}Ee=Te;const{destroy:xe,cleanup:Pe}=destroyer(Ee,false,true);ae.push(xe);if(_e){V.push(Pe)}}}else if(fe(Se)){if(de(Ee)){ge+=2;const De=pipe(Ee,Se,finish,{end:Re});if(ue(Se)&&_e){V.push(De)}}else if(pe(Ee)||he(Ee)){const Le=Ee.readable||Ee;ge++;pumpToNode(Le,Se,finish,{end:Re})}else if(ce(Ee)){ge++;pumpToNode(Ee,Se,finish,{end:Re})}else{throw new te("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Ee)}Ee=Se}else if(Ae(Se)){if(de(Ee)){ge++;pumpToWeb(makeAsyncIterable(Ee),Se,finish,{end:Re})}else if(he(Ee)||ce(Ee)){ge++;pumpToWeb(Ee,Se,finish,{end:Re})}else if(pe(Ee)){ge++;pumpToWeb(Ee.readable,Se,finish,{end:Re})}else{throw new te("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Ee)}Ee=Se}else{Ee=Z.from(Se)}}if(_!==null&&_!==undefined&&_.aborted||T!==null&&T!==undefined&&T.aborted){p.nextTick(abort)}return Ee}function pipe(i,c,d,{end:A}){let C=false;c.on("close",(()=>{if(!C){d(new se)}}));i.pipe(c,{end:false});if(A){function endFn(){C=true;c.end()}if(ge(i)){p.nextTick(endFn)}else{i.once("end",endFn)}}else{d()}_(i,{readable:true,writable:false},(c=>{const p=i._readableState;if(c&&c.code==="ERR_STREAM_PREMATURE_CLOSE"&&p&&p.ended&&!p.errored&&!p.errorEmitted){i.once("end",d).once("error",d)}else{d(c)}}));return _(c,{readable:false,writable:true},d)}i.exports={pipelineImpl:pipelineImpl,pipeline:pipeline}},17783:(i,c,d)=>{const p=d(7945);"use strict";const{ArrayPrototypeIndexOf:A,NumberIsInteger:C,NumberIsNaN:S,NumberParseInt:v,ObjectDefineProperties:_,ObjectKeys:T,ObjectSetPrototypeOf:V,Promise:Z,SafeSet:ee,SymbolAsyncDispose:te,SymbolAsyncIterator:re,Symbol:ne}=d(50999);i.exports=Readable;Readable.ReadableState=ReadableState;const{EventEmitter:ie}=d(24434);const{Stream:se,prependListener:oe}=d(84128);const{Buffer:ae}=d(20181);const{addAbortSignal:le}=d(80652);const ce=d(36815);let ue=d(23539).debuglog("stream",(i=>{ue=i}));const de=d(77336);const fe=d(65089);const{getHighWaterMark:pe,getDefaultHighWaterMark:Ae}=d(54874);const{aggregateTwoErrors:he,codes:{ERR_INVALID_ARG_TYPE:ge,ERR_METHOD_NOT_IMPLEMENTED:me,ERR_OUT_OF_RANGE:ye,ERR_STREAM_PUSH_AFTER_EOF:Ee,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:be},AbortError:Ce}=d(69220);const{validateObject:we}=d(49554);const Ie=ne("kPaused");const{StringDecoder:Se}=d(13193);const ve=d(4659);V(Readable.prototype,se.prototype);V(Readable,se);const nop=()=>{};const{errorOrDestroy:Be}=fe;const Re=1<<0;const _e=1<<1;const Ne=1<<2;const Qe=1<<3;const Te=1<<4;const ke=1<<5;const xe=1<<6;const Pe=1<<7;const Oe=1<<8;const De=1<<9;const Le=1<<10;const Me=1<<11;const Fe=1<<12;const Ue=1<<13;const He=1<<14;const je=1<<15;const qe=1<<16;const Ge=1<<17;const ze=1<<18;function makeBitMapDescriptor(i){return{enumerable:false,get(){return(this.state&i)!==0},set(c){if(c)this.state|=i;else this.state&=~i}}}_(ReadableState.prototype,{objectMode:makeBitMapDescriptor(Re),ended:makeBitMapDescriptor(_e),endEmitted:makeBitMapDescriptor(Ne),reading:makeBitMapDescriptor(Qe),constructed:makeBitMapDescriptor(Te),sync:makeBitMapDescriptor(ke),needReadable:makeBitMapDescriptor(xe),emittedReadable:makeBitMapDescriptor(Pe),readableListening:makeBitMapDescriptor(Oe),resumeScheduled:makeBitMapDescriptor(De),errorEmitted:makeBitMapDescriptor(Le),emitClose:makeBitMapDescriptor(Me),autoDestroy:makeBitMapDescriptor(Fe),destroyed:makeBitMapDescriptor(Ue),closed:makeBitMapDescriptor(He),closeEmitted:makeBitMapDescriptor(je),multiAwaitDrain:makeBitMapDescriptor(qe),readingMore:makeBitMapDescriptor(Ge),dataEmitted:makeBitMapDescriptor(ze)});function ReadableState(i,c,p){if(typeof p!=="boolean")p=c instanceof d(94449);this.state=Me|Fe|Te|ke;if(i&&i.objectMode)this.state|=Re;if(p&&i&&i.readableObjectMode)this.state|=Re;this.highWaterMark=i?pe(this,i,"readableHighWaterMark",p):Ae(false);this.buffer=new de;this.length=0;this.pipes=[];this.flowing=null;this[Ie]=null;if(i&&i.emitClose===false)this.state&=~Me;if(i&&i.autoDestroy===false)this.state&=~Fe;this.errored=null;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.awaitDrainWriters=null;this.decoder=null;this.encoding=null;if(i&&i.encoding){this.decoder=new Se(i.encoding);this.encoding=i.encoding}}function Readable(i){if(!(this instanceof Readable))return new Readable(i);const c=this instanceof d(94449);this._readableState=new ReadableState(i,this,c);if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!c)le(i.signal,this)}se.call(this,i);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(i,c){c(i)};Readable.prototype[ie.captureRejectionSymbol]=function(i){this.destroy(i)};Readable.prototype[te]=function(){let i;if(!this.destroyed){i=this.readableEnded?null:new Ce;this.destroy(i)}return new Z(((c,d)=>ce(this,(p=>p&&p!==i?d(p):c(null)))))};Readable.prototype.push=function(i,c){return readableAddChunk(this,i,c,false)};Readable.prototype.unshift=function(i,c){return readableAddChunk(this,i,c,true)};function readableAddChunk(i,c,d,p){ue("readableAddChunk",c);const A=i._readableState;let C;if((A.state&Re)===0){if(typeof c==="string"){d=d||A.defaultEncoding;if(A.encoding!==d){if(p&&A.encoding){c=ae.from(c,d).toString(A.encoding)}else{c=ae.from(c,d);d=""}}}else if(c instanceof ae){d=""}else if(se._isUint8Array(c)){c=se._uint8ArrayToBuffer(c);d=""}else if(c!=null){C=new ge("chunk",["string","Buffer","Uint8Array"],c)}}if(C){Be(i,C)}else if(c===null){A.state&=~Qe;onEofChunk(i,A)}else if((A.state&Re)!==0||c&&c.length>0){if(p){if((A.state&Ne)!==0)Be(i,new be);else if(A.destroyed||A.errored)return false;else addChunk(i,A,c,true)}else if(A.ended){Be(i,new Ee)}else if(A.destroyed||A.errored){return false}else{A.state&=~Qe;if(A.decoder&&!d){c=A.decoder.write(c);if(A.objectMode||c.length!==0)addChunk(i,A,c,false);else maybeReadMore(i,A)}else{addChunk(i,A,c,false)}}}else if(!p){A.state&=~Qe;maybeReadMore(i,A)}return!A.ended&&(A.length<A.highWaterMark||A.length===0)}function addChunk(i,c,d,p){if(c.flowing&&c.length===0&&!c.sync&&i.listenerCount("data")>0){if((c.state&qe)!==0){c.awaitDrainWriters.clear()}else{c.awaitDrainWriters=null}c.dataEmitted=true;i.emit("data",d)}else{c.length+=c.objectMode?1:d.length;if(p)c.buffer.unshift(d);else c.buffer.push(d);if((c.state&xe)!==0)emitReadable(i)}maybeReadMore(i,c)}Readable.prototype.isPaused=function(){const i=this._readableState;return i[Ie]===true||i.flowing===false};Readable.prototype.setEncoding=function(i){const c=new Se(i);this._readableState.decoder=c;this._readableState.encoding=this._readableState.decoder.encoding;const d=this._readableState.buffer;let p="";for(const i of d){p+=c.write(i)}d.clear();if(p!=="")d.push(p);this._readableState.length=p.length;return this};const Ve=1073741824;function computeNewHighWaterMark(i){if(i>Ve){throw new ye("size","<= 1GiB",i)}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,c){if(i<=0||c.length===0&&c.ended)return 0;if((c.state&Re)!==0)return 1;if(S(i)){if(c.flowing&&c.length)return c.buffer.first().length;return c.length}if(i<=c.length)return i;return c.ended?c.length:0}Readable.prototype.read=function(i){ue("read",i);if(i===undefined){i=NaN}else if(!C(i)){i=v(i,10)}const c=this._readableState;const d=i;if(i>c.highWaterMark)c.highWaterMark=computeNewHighWaterMark(i);if(i!==0)c.state&=~Pe;if(i===0&&c.needReadable&&((c.highWaterMark!==0?c.length>=c.highWaterMark:c.length>0)||c.ended)){ue("read: emitReadable",c.length,c.ended);if(c.length===0&&c.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,c);if(i===0&&c.ended){if(c.length===0)endReadable(this);return null}let p=(c.state&xe)!==0;ue("need readable",p);if(c.length===0||c.length-i<c.highWaterMark){p=true;ue("length less than watermark",p)}if(c.ended||c.reading||c.destroyed||c.errored||!c.constructed){p=false;ue("reading, ended or constructing",p)}else if(p){ue("do read");c.state|=Qe|ke;if(c.length===0)c.state|=xe;try{this._read(c.highWaterMark)}catch(i){Be(this,i)}c.state&=~ke;if(!c.reading)i=howMuchToRead(d,c)}let A;if(i>0)A=fromList(i,c);else A=null;if(A===null){c.needReadable=c.length<=c.highWaterMark;i=0}else{c.length-=i;if(c.multiAwaitDrain){c.awaitDrainWriters.clear()}else{c.awaitDrainWriters=null}}if(c.length===0){if(!c.ended)c.needReadable=true;if(d!==i&&c.ended)endReadable(this)}if(A!==null&&!c.errorEmitted&&!c.closeEmitted){c.dataEmitted=true;this.emit("data",A)}return A};function onEofChunk(i,c){ue("onEofChunk");if(c.ended)return;if(c.decoder){const i=c.decoder.end();if(i&&i.length){c.buffer.push(i);c.length+=c.objectMode?1:i.length}}c.ended=true;if(c.sync){emitReadable(i)}else{c.needReadable=false;c.emittedReadable=true;emitReadable_(i)}}function emitReadable(i){const c=i._readableState;ue("emitReadable",c.needReadable,c.emittedReadable);c.needReadable=false;if(!c.emittedReadable){ue("emitReadable",c.flowing);c.emittedReadable=true;p.nextTick(emitReadable_,i)}}function emitReadable_(i){const c=i._readableState;ue("emitReadable_",c.destroyed,c.length,c.ended);if(!c.destroyed&&!c.errored&&(c.length||c.ended)){i.emit("readable");c.emittedReadable=false}c.needReadable=!c.flowing&&!c.ended&&c.length<=c.highWaterMark;flow(i)}function maybeReadMore(i,c){if(!c.readingMore&&c.constructed){c.readingMore=true;p.nextTick(maybeReadMore_,i,c)}}function maybeReadMore_(i,c){while(!c.reading&&!c.ended&&(c.length<c.highWaterMark||c.flowing&&c.length===0)){const d=c.length;ue("maybeReadMore read 0");i.read(0);if(d===c.length)break}c.readingMore=false}Readable.prototype._read=function(i){throw new me("_read()")};Readable.prototype.pipe=function(i,c){const d=this;const A=this._readableState;if(A.pipes.length===1){if(!A.multiAwaitDrain){A.multiAwaitDrain=true;A.awaitDrainWriters=new ee(A.awaitDrainWriters?[A.awaitDrainWriters]:[])}}A.pipes.push(i);ue("pipe count=%d opts=%j",A.pipes.length,c);const C=(!c||c.end!==false)&&i!==p.stdout&&i!==p.stderr;const S=C?onend:unpipe;if(A.endEmitted)p.nextTick(S);else d.once("end",S);i.on("unpipe",onunpipe);function onunpipe(i,c){ue("onunpipe");if(i===d){if(c&&c.hasUnpiped===false){c.hasUnpiped=true;cleanup()}}}function onend(){ue("onend");i.end()}let v;let _=false;function cleanup(){ue("cleanup");i.removeListener("close",onclose);i.removeListener("finish",onfinish);if(v){i.removeListener("drain",v)}i.removeListener("error",onerror);i.removeListener("unpipe",onunpipe);d.removeListener("end",onend);d.removeListener("end",unpipe);d.removeListener("data",ondata);_=true;if(v&&A.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))v()}function pause(){if(!_){if(A.pipes.length===1&&A.pipes[0]===i){ue("false write response, pause",0);A.awaitDrainWriters=i;A.multiAwaitDrain=false}else if(A.pipes.length>1&&A.pipes.includes(i)){ue("false write response, pause",A.awaitDrainWriters.size);A.awaitDrainWriters.add(i)}d.pause()}if(!v){v=pipeOnDrain(d,i);i.on("drain",v)}}d.on("data",ondata);function ondata(c){ue("ondata");const d=i.write(c);ue("dest.write",d);if(d===false){pause()}}function onerror(c){ue("onerror",c);unpipe();i.removeListener("error",onerror);if(i.listenerCount("error")===0){const d=i._writableState||i._readableState;if(d&&!d.errorEmitted){Be(i,c)}else{i.emit("error",c)}}}oe(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){ue("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){ue("unpipe");d.unpipe(i)}i.emit("pipe",d);if(i.writableNeedDrain===true){pause()}else if(!A.flowing){ue("pipe resume");d.resume()}return i};function pipeOnDrain(i,c){return function pipeOnDrainFunctionResult(){const d=i._readableState;if(d.awaitDrainWriters===c){ue("pipeOnDrain",1);d.awaitDrainWriters=null}else if(d.multiAwaitDrain){ue("pipeOnDrain",d.awaitDrainWriters.size);d.awaitDrainWriters.delete(c)}if((!d.awaitDrainWriters||d.awaitDrainWriters.size===0)&&i.listenerCount("data")){i.resume()}}}Readable.prototype.unpipe=function(i){const c=this._readableState;const d={hasUnpiped:false};if(c.pipes.length===0)return this;if(!i){const i=c.pipes;c.pipes=[];this.pause();for(let c=0;c<i.length;c++)i[c].emit("unpipe",this,{hasUnpiped:false});return this}const p=A(c.pipes,i);if(p===-1)return this;c.pipes.splice(p,1);if(c.pipes.length===0)this.pause();i.emit("unpipe",this,d);return this};Readable.prototype.on=function(i,c){const d=se.prototype.on.call(this,i,c);const A=this._readableState;if(i==="data"){A.readableListening=this.listenerCount("readable")>0;if(A.flowing!==false)this.resume()}else if(i==="readable"){if(!A.endEmitted&&!A.readableListening){A.readableListening=A.needReadable=true;A.flowing=false;A.emittedReadable=false;ue("on readable",A.length,A.reading);if(A.length){emitReadable(this)}else if(!A.reading){p.nextTick(nReadingNextTick,this)}}}return d};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(i,c){const d=se.prototype.removeListener.call(this,i,c);if(i==="readable"){p.nextTick(updateReadableListening,this)}return d};Readable.prototype.off=Readable.prototype.removeListener;Readable.prototype.removeAllListeners=function(i){const c=se.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===undefined){p.nextTick(updateReadableListening,this)}return c};function updateReadableListening(i){const c=i._readableState;c.readableListening=i.listenerCount("readable")>0;if(c.resumeScheduled&&c[Ie]===false){c.flowing=true}else if(i.listenerCount("data")>0){i.resume()}else if(!c.readableListening){c.flowing=null}}function nReadingNextTick(i){ue("readable nexttick read 0");i.read(0)}Readable.prototype.resume=function(){const i=this._readableState;if(!i.flowing){ue("resume");i.flowing=!i.readableListening;resume(this,i)}i[Ie]=false;return this};function resume(i,c){if(!c.resumeScheduled){c.resumeScheduled=true;p.nextTick(resume_,i,c)}}function resume_(i,c){ue("resume",c.reading);if(!c.reading){i.read(0)}c.resumeScheduled=false;i.emit("resume");flow(i);if(c.flowing&&!c.reading)i.read(0)}Readable.prototype.pause=function(){ue("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){ue("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState[Ie]=true;return this};function flow(i){const c=i._readableState;ue("flow",c.flowing);while(c.flowing&&i.read()!==null);}Readable.prototype.wrap=function(i){let c=false;i.on("data",(d=>{if(!this.push(d)&&i.pause){c=true;i.pause()}}));i.on("end",(()=>{this.push(null)}));i.on("error",(i=>{Be(this,i)}));i.on("close",(()=>{this.destroy()}));i.on("destroy",(()=>{this.destroy()}));this._read=()=>{if(c&&i.resume){c=false;i.resume()}};const d=T(i);for(let c=1;c<d.length;c++){const p=d[c];if(this[p]===undefined&&typeof i[p]==="function"){this[p]=i[p].bind(i)}}return this};Readable.prototype[re]=function(){return streamToAsyncIterator(this)};Readable.prototype.iterator=function(i){if(i!==undefined){we(i,"options")}return streamToAsyncIterator(this,i)};function streamToAsyncIterator(i,c){if(typeof i.read!=="function"){i=Readable.wrap(i,{objectMode:true})}const d=createAsyncIterator(i,c);d.stream=i;return d}async function*createAsyncIterator(i,c){let d=nop;function next(c){if(this===i){d();d=nop}else{d=c}}i.on("readable",next);let p;const A=ce(i,{writable:false},(i=>{p=i?he(p,i):null;d();d=nop}));try{while(true){const c=i.destroyed?null:i.read();if(c!==null){yield c}else if(p){throw p}else if(p===null){return}else{await new Z(next)}}}catch(i){p=he(p,i);throw p}finally{if((p||(c===null||c===undefined?undefined:c.destroyOnReturn)!==false)&&(p===undefined||i._readableState.autoDestroy)){fe.destroyer(i,null)}else{i.off("readable",next);A()}}}_(Readable.prototype,{readable:{__proto__:null,get(){const i=this._readableState;return!!i&&i.readable!==false&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState){this._readableState.readable=!!i}}},readableDidRead:{__proto__:null,enumerable:false,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:false,get:function(){return!!(this._readableState.readable!==false&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:false,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:false,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState){this._readableState.flowing=i}}},readableLength:{__proto__:null,enumerable:false,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.objectMode:false}},readableEncoding:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:false}},destroyed:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.destroyed:false},set(i){if(!this._readableState){return}this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.endEmitted:false}}});_(ReadableState.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Ie]!==false},set(i){this[Ie]=!!i}}});Readable._fromList=fromList;function fromList(i,c){if(c.length===0)return null;let d;if(c.objectMode)d=c.buffer.shift();else if(!i||i>=c.length){if(c.decoder)d=c.buffer.join("");else if(c.buffer.length===1)d=c.buffer.first();else d=c.buffer.concat(c.length);c.buffer.clear()}else{d=c.buffer.consume(i,c.decoder)}return d}function endReadable(i){const c=i._readableState;ue("endReadable",c.endEmitted);if(!c.endEmitted){c.ended=true;p.nextTick(endReadableNT,c,i)}}function endReadableNT(i,c){ue("endReadableNT",i.endEmitted,i.length);if(!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){i.endEmitted=true;c.emit("end");if(c.writable&&c.allowHalfOpen===false){p.nextTick(endWritableNT,c)}else if(i.autoDestroy){const i=c._writableState;const d=!i||i.autoDestroy&&(i.finished||i.writable===false);if(d){c.destroy()}}}}function endWritableNT(i){const c=i.writable&&!i.writableEnded&&!i.destroyed;if(c){i.end()}}Readable.from=function(i,c){return ve(Readable,i,c)};let We;function lazyWebStreams(){if(We===undefined)We={};return We}Readable.fromWeb=function(i,c){return lazyWebStreams().newStreamReadableFromReadableStream(i,c)};Readable.toWeb=function(i,c){return lazyWebStreams().newReadableStreamFromStreamReadable(i,c)};Readable.wrap=function(i,c){var d,p;return new Readable({objectMode:(d=(p=i.readableObjectMode)!==null&&p!==undefined?p:i.objectMode)!==null&&d!==undefined?d:true,...c,destroy(c,d){fe.destroyer(i,c);d(c)}}).wrap(i)}},54874:(i,c,d)=>{"use strict";const{MathFloor:p,NumberIsInteger:A}=d(50999);const{validateInteger:C}=d(49554);const{ERR_INVALID_ARG_VALUE:S}=d(69220).codes;let v=16*1024;let _=16;function highWaterMarkFrom(i,c,d){return i.highWaterMark!=null?i.highWaterMark:c?i[d]:null}function getDefaultHighWaterMark(i){return i?_:v}function setDefaultHighWaterMark(i,c){C(c,"value",0);if(i){_=c}else{v=c}}function getHighWaterMark(i,c,d,C){const v=highWaterMarkFrom(c,C,d);if(v!=null){if(!A(v)||v<0){const i=C?`options.${d}`:"options.highWaterMark";throw new S(i,v)}return p(v)}return getDefaultHighWaterMark(i.objectMode)}i.exports={getHighWaterMark:getHighWaterMark,getDefaultHighWaterMark:getDefaultHighWaterMark,setDefaultHighWaterMark:setDefaultHighWaterMark}},12135:(i,c,d)=>{"use strict";const{ObjectSetPrototypeOf:p,Symbol:A}=d(50999);i.exports=Transform;const{ERR_METHOD_NOT_IMPLEMENTED:C}=d(69220).codes;const S=d(94449);const{getHighWaterMark:v}=d(54874);p(Transform.prototype,S.prototype);p(Transform,S);const _=A("kCallback");function Transform(i){if(!(this instanceof Transform))return new Transform(i);const c=i?v(this,i,"readableHighWaterMark",true):null;if(c===0){i={...i,highWaterMark:null,readableHighWaterMark:c,writableHighWaterMark:i.writableHighWaterMark||0}}S.call(this,i);this._readableState.sync=false;this[_]=null;if(i){if(typeof i.transform==="function")this._transform=i.transform;if(typeof i.flush==="function")this._flush=i.flush}this.on("prefinish",prefinish)}function final(i){if(typeof this._flush==="function"&&!this.destroyed){this._flush(((c,d)=>{if(c){if(i){i(c)}else{this.destroy(c)}return}if(d!=null){this.push(d)}this.push(null);if(i){i()}}))}else{this.push(null);if(i){i()}}}function prefinish(){if(this._final!==final){final.call(this)}}Transform.prototype._final=final;Transform.prototype._transform=function(i,c,d){throw new C("_transform()")};Transform.prototype._write=function(i,c,d){const p=this._readableState;const A=this._writableState;const C=p.length;this._transform(i,c,((i,c)=>{if(i){d(i);return}if(c!=null){this.push(c)}if(A.ended||C===p.length||p.length<p.highWaterMark){d()}else{this[_]=d}}))};Transform.prototype._read=function(){if(this[_]){const i=this[_];this[_]=null;i()}}},83426:(i,c,d)=>{"use strict";const{SymbolAsyncIterator:p,SymbolIterator:A,SymbolFor:C}=d(50999);const S=C("nodejs.stream.destroyed");const v=C("nodejs.stream.errored");const _=C("nodejs.stream.readable");const T=C("nodejs.stream.writable");const V=C("nodejs.stream.disturbed");const Z=C("nodejs.webstream.isClosedPromise");const ee=C("nodejs.webstream.controllerErrorFunction");function isReadableNodeStream(i,c=false){var d;return!!(i&&typeof i.pipe==="function"&&typeof i.on==="function"&&(!c||typeof i.pause==="function"&&typeof i.resume==="function")&&(!i._writableState||((d=i._readableState)===null||d===undefined?undefined:d.readable)!==false)&&(!i._writableState||i._readableState))}function isWritableNodeStream(i){var c;return!!(i&&typeof i.write==="function"&&typeof i.on==="function"&&(!i._readableState||((c=i._writableState)===null||c===undefined?undefined:c.writable)!==false))}function isDuplexNodeStream(i){return!!(i&&typeof i.pipe==="function"&&i._readableState&&typeof i.on==="function"&&typeof i.write==="function")}function isNodeStream(i){return i&&(i._readableState||i._writableState||typeof i.write==="function"&&typeof i.on==="function"||typeof i.pipe==="function"&&typeof i.on==="function")}function isReadableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.pipeThrough==="function"&&typeof i.getReader==="function"&&typeof i.cancel==="function")}function isWritableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.getWriter==="function"&&typeof i.abort==="function")}function isTransformStream(i){return!!(i&&!isNodeStream(i)&&typeof i.readable==="object"&&typeof i.writable==="object")}function isWebStream(i){return isReadableStream(i)||isWritableStream(i)||isTransformStream(i)}function isIterable(i,c){if(i==null)return false;if(c===true)return typeof i[p]==="function";if(c===false)return typeof i[A]==="function";return typeof i[p]==="function"||typeof i[A]==="function"}function isDestroyed(i){if(!isNodeStream(i))return null;const c=i._writableState;const d=i._readableState;const p=c||d;return!!(i.destroyed||i[S]||p!==null&&p!==undefined&&p.destroyed)}function isWritableEnded(i){if(!isWritableNodeStream(i))return null;if(i.writableEnded===true)return true;const c=i._writableState;if(c!==null&&c!==undefined&&c.errored)return false;if(typeof(c===null||c===undefined?undefined:c.ended)!=="boolean")return null;return c.ended}function isWritableFinished(i,c){if(!isWritableNodeStream(i))return null;if(i.writableFinished===true)return true;const d=i._writableState;if(d!==null&&d!==undefined&&d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.finished)!=="boolean")return null;return!!(d.finished||c===false&&d.ended===true&&d.length===0)}function isReadableEnded(i){if(!isReadableNodeStream(i))return null;if(i.readableEnded===true)return true;const c=i._readableState;if(!c||c.errored)return false;if(typeof(c===null||c===undefined?undefined:c.ended)!=="boolean")return null;return c.ended}function isReadableFinished(i,c){if(!isReadableNodeStream(i))return null;const d=i._readableState;if(d!==null&&d!==undefined&&d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.endEmitted)!=="boolean")return null;return!!(d.endEmitted||c===false&&d.ended===true&&d.length===0)}function isReadable(i){if(i&&i[_]!=null)return i[_];if(typeof(i===null||i===undefined?undefined:i.readable)!=="boolean")return null;if(isDestroyed(i))return false;return isReadableNodeStream(i)&&i.readable&&!isReadableFinished(i)}function isWritable(i){if(i&&i[T]!=null)return i[T];if(typeof(i===null||i===undefined?undefined:i.writable)!=="boolean")return null;if(isDestroyed(i))return false;return isWritableNodeStream(i)&&i.writable&&!isWritableEnded(i)}function isFinished(i,c){if(!isNodeStream(i)){return null}if(isDestroyed(i)){return true}if((c===null||c===undefined?undefined:c.readable)!==false&&isReadable(i)){return false}if((c===null||c===undefined?undefined:c.writable)!==false&&isWritable(i)){return false}return true}function isWritableErrored(i){var c,d;if(!isNodeStream(i)){return null}if(i.writableErrored){return i.writableErrored}return(c=(d=i._writableState)===null||d===undefined?undefined:d.errored)!==null&&c!==undefined?c:null}function isReadableErrored(i){var c,d;if(!isNodeStream(i)){return null}if(i.readableErrored){return i.readableErrored}return(c=(d=i._readableState)===null||d===undefined?undefined:d.errored)!==null&&c!==undefined?c:null}function isClosed(i){if(!isNodeStream(i)){return null}if(typeof i.closed==="boolean"){return i.closed}const c=i._writableState;const d=i._readableState;if(typeof(c===null||c===undefined?undefined:c.closed)==="boolean"||typeof(d===null||d===undefined?undefined:d.closed)==="boolean"){return(c===null||c===undefined?undefined:c.closed)||(d===null||d===undefined?undefined:d.closed)}if(typeof i._closed==="boolean"&&isOutgoingMessage(i)){return i._closed}return null}function isOutgoingMessage(i){return typeof i._closed==="boolean"&&typeof i._defaultKeepAlive==="boolean"&&typeof i._removedConnection==="boolean"&&typeof i._removedContLen==="boolean"}function isServerResponse(i){return typeof i._sent100==="boolean"&&isOutgoingMessage(i)}function isServerRequest(i){var c;return typeof i._consuming==="boolean"&&typeof i._dumped==="boolean"&&((c=i.req)===null||c===undefined?undefined:c.upgradeOrConnect)===undefined}function willEmitClose(i){if(!isNodeStream(i))return null;const c=i._writableState;const d=i._readableState;const p=c||d;return!p&&isServerResponse(i)||!!(p&&p.autoDestroy&&p.emitClose&&p.closed===false)}function isDisturbed(i){var c;return!!(i&&((c=i[V])!==null&&c!==undefined?c:i.readableDidRead||i.readableAborted))}function isErrored(i){var c,d,p,A,C,S,_,T,V,Z;return!!(i&&((c=(d=(p=(A=(C=(S=i[v])!==null&&S!==undefined?S:i.readableErrored)!==null&&C!==undefined?C:i.writableErrored)!==null&&A!==undefined?A:(_=i._readableState)===null||_===undefined?undefined:_.errorEmitted)!==null&&p!==undefined?p:(T=i._writableState)===null||T===undefined?undefined:T.errorEmitted)!==null&&d!==undefined?d:(V=i._readableState)===null||V===undefined?undefined:V.errored)!==null&&c!==undefined?c:(Z=i._writableState)===null||Z===undefined?undefined:Z.errored))}i.exports={isDestroyed:isDestroyed,kIsDestroyed:S,isDisturbed:isDisturbed,kIsDisturbed:V,isErrored:isErrored,kIsErrored:v,isReadable:isReadable,kIsReadable:_,kIsClosedPromise:Z,kControllerErrorFunction:ee,kIsWritable:T,isClosed:isClosed,isDuplexNodeStream:isDuplexNodeStream,isFinished:isFinished,isIterable:isIterable,isReadableNodeStream:isReadableNodeStream,isReadableStream:isReadableStream,isReadableEnded:isReadableEnded,isReadableFinished:isReadableFinished,isReadableErrored:isReadableErrored,isNodeStream:isNodeStream,isWebStream:isWebStream,isWritable:isWritable,isWritableNodeStream:isWritableNodeStream,isWritableStream:isWritableStream,isWritableEnded:isWritableEnded,isWritableFinished:isWritableFinished,isWritableErrored:isWritableErrored,isServerRequest:isServerRequest,isServerResponse:isServerResponse,willEmitClose:willEmitClose,isTransformStream:isTransformStream}},58939:(i,c,d)=>{const p=d(7945);"use strict";const{ArrayPrototypeSlice:A,Error:C,FunctionPrototypeSymbolHasInstance:S,ObjectDefineProperty:v,ObjectDefineProperties:_,ObjectSetPrototypeOf:T,StringPrototypeToLowerCase:V,Symbol:Z,SymbolHasInstance:ee}=d(50999);i.exports=Writable;Writable.WritableState=WritableState;const{EventEmitter:te}=d(24434);const re=d(84128).Stream;const{Buffer:ne}=d(20181);const ie=d(65089);const{addAbortSignal:se}=d(80652);const{getHighWaterMark:oe,getDefaultHighWaterMark:ae}=d(54874);const{ERR_INVALID_ARG_TYPE:le,ERR_METHOD_NOT_IMPLEMENTED:ce,ERR_MULTIPLE_CALLBACK:ue,ERR_STREAM_CANNOT_PIPE:de,ERR_STREAM_DESTROYED:fe,ERR_STREAM_ALREADY_FINISHED:pe,ERR_STREAM_NULL_VALUES:Ae,ERR_STREAM_WRITE_AFTER_END:he,ERR_UNKNOWN_ENCODING:ge}=d(69220).codes;const{errorOrDestroy:me}=ie;T(Writable.prototype,re.prototype);T(Writable,re);function nop(){}const ye=Z("kOnFinished");function WritableState(i,c,p){if(typeof p!=="boolean")p=c instanceof d(94449);this.objectMode=!!(i&&i.objectMode);if(p)this.objectMode=this.objectMode||!!(i&&i.writableObjectMode);this.highWaterMark=i?oe(this,i,"writableHighWaterMark",p):ae(false);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;const A=!!(i&&i.decodeStrings===false);this.decodeStrings=!A;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=onwrite.bind(undefined,c);this.writecb=null;this.writelen=0;this.afterWriteTickInfo=null;resetBuffer(this);this.pendingcb=0;this.constructed=true;this.prefinished=false;this.errorEmitted=false;this.emitClose=!i||i.emitClose!==false;this.autoDestroy=!i||i.autoDestroy!==false;this.errored=null;this.closed=false;this.closeEmitted=false;this[ye]=[]}function resetBuffer(i){i.buffered=[];i.bufferedIndex=0;i.allBuffers=true;i.allNoop=true}WritableState.prototype.getBuffer=function getBuffer(){return A(this.buffered,this.bufferedIndex)};v(WritableState.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Writable(i){const c=this instanceof d(94449);if(!c&&!S(Writable,this))return new Writable(i);this._writableState=new WritableState(i,this,c);if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal)se(i.signal,this)}re.call(this,i);ie.construct(this,(()=>{const i=this._writableState;if(!i.writing){clearBuffer(this,i)}finishMaybe(this,i)}))}v(Writable,ee,{__proto__:null,value:function(i){if(S(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}});Writable.prototype.pipe=function(){me(this,new de)};function _write(i,c,d,A){const C=i._writableState;if(typeof d==="function"){A=d;d=C.defaultEncoding}else{if(!d)d=C.defaultEncoding;else if(d!=="buffer"&&!ne.isEncoding(d))throw new ge(d);if(typeof A!=="function")A=nop}if(c===null){throw new Ae}else if(!C.objectMode){if(typeof c==="string"){if(C.decodeStrings!==false){c=ne.from(c,d);d="buffer"}}else if(c instanceof ne){d="buffer"}else if(re._isUint8Array(c)){c=re._uint8ArrayToBuffer(c);d="buffer"}else{throw new le("chunk",["string","Buffer","Uint8Array"],c)}}let S;if(C.ending){S=new he}else if(C.destroyed){S=new fe("write")}if(S){p.nextTick(A,S);me(i,S,true);return S}C.pendingcb++;return writeOrBuffer(i,C,c,d,A)}Writable.prototype.write=function(i,c,d){return _write(this,i,c,d)===true};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){const i=this._writableState;if(i.corked){i.corked--;if(!i.writing)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=V(i);if(!ne.isEncoding(i))throw new ge(i);this._writableState.defaultEncoding=i;return this};function writeOrBuffer(i,c,d,p,A){const C=c.objectMode?1:d.length;c.length+=C;const S=c.length<c.highWaterMark;if(!S)c.needDrain=true;if(c.writing||c.corked||c.errored||!c.constructed){c.buffered.push({chunk:d,encoding:p,callback:A});if(c.allBuffers&&p!=="buffer"){c.allBuffers=false}if(c.allNoop&&A!==nop){c.allNoop=false}}else{c.writelen=C;c.writecb=A;c.writing=true;c.sync=true;i._write(d,p,c.onwrite);c.sync=false}return S&&!c.errored&&!c.destroyed}function doWrite(i,c,d,p,A,C,S){c.writelen=p;c.writecb=S;c.writing=true;c.sync=true;if(c.destroyed)c.onwrite(new fe("write"));else if(d)i._writev(A,c.onwrite);else i._write(A,C,c.onwrite);c.sync=false}function onwriteError(i,c,d,p){--c.pendingcb;p(d);errorBuffer(c);me(i,d)}function onwrite(i,c){const d=i._writableState;const A=d.sync;const C=d.writecb;if(typeof C!=="function"){me(i,new ue);return}d.writing=false;d.writecb=null;d.length-=d.writelen;d.writelen=0;if(c){c.stack;if(!d.errored){d.errored=c}if(i._readableState&&!i._readableState.errored){i._readableState.errored=c}if(A){p.nextTick(onwriteError,i,d,c,C)}else{onwriteError(i,d,c,C)}}else{if(d.buffered.length>d.bufferedIndex){clearBuffer(i,d)}if(A){if(d.afterWriteTickInfo!==null&&d.afterWriteTickInfo.cb===C){d.afterWriteTickInfo.count++}else{d.afterWriteTickInfo={count:1,cb:C,stream:i,state:d};p.nextTick(afterWriteTick,d.afterWriteTickInfo)}}else{afterWrite(i,d,1,C)}}}function afterWriteTick({stream:i,state:c,count:d,cb:p}){c.afterWriteTickInfo=null;return afterWrite(i,c,d,p)}function afterWrite(i,c,d,p){const A=!c.ending&&!i.destroyed&&c.length===0&&c.needDrain;if(A){c.needDrain=false;i.emit("drain")}while(d-- >0){c.pendingcb--;p()}if(c.destroyed){errorBuffer(c)}finishMaybe(i,c)}function errorBuffer(i){if(i.writing){return}for(let d=i.bufferedIndex;d<i.buffered.length;++d){var c;const{chunk:p,callback:A}=i.buffered[d];const C=i.objectMode?1:p.length;i.length-=C;A((c=i.errored)!==null&&c!==undefined?c:new fe("write"))}const d=i[ye].splice(0);for(let c=0;c<d.length;c++){var p;d[c]((p=i.errored)!==null&&p!==undefined?p:new fe("end"))}resetBuffer(i)}function clearBuffer(i,c){if(c.corked||c.bufferProcessing||c.destroyed||!c.constructed){return}const{buffered:d,bufferedIndex:p,objectMode:C}=c;const S=d.length-p;if(!S){return}let v=p;c.bufferProcessing=true;if(S>1&&i._writev){c.pendingcb-=S-1;const p=c.allNoop?nop:i=>{for(let c=v;c<d.length;++c){d[c].callback(i)}};const C=c.allNoop&&v===0?d:A(d,v);C.allBuffers=c.allBuffers;doWrite(i,c,true,c.length,C,"",p);resetBuffer(c)}else{do{const{chunk:p,encoding:A,callback:S}=d[v];d[v++]=null;const _=C?1:p.length;doWrite(i,c,false,_,p,A,S)}while(v<d.length&&!c.writing);if(v===d.length){resetBuffer(c)}else if(v>256){d.splice(0,v);c.bufferedIndex=0}else{c.bufferedIndex=v}}c.bufferProcessing=false}Writable.prototype._write=function(i,c,d){if(this._writev){this._writev([{chunk:i,encoding:c}],d)}else{throw new ce("_write()")}};Writable.prototype._writev=null;Writable.prototype.end=function(i,c,d){const A=this._writableState;if(typeof i==="function"){d=i;i=null;c=null}else if(typeof c==="function"){d=c;c=null}let S;if(i!==null&&i!==undefined){const d=_write(this,i,c);if(d instanceof C){S=d}}if(A.corked){A.corked=1;this.uncork()}if(S){}else if(!A.errored&&!A.ending){A.ending=true;finishMaybe(this,A,true);A.ended=true}else if(A.finished){S=new pe("end")}else if(A.destroyed){S=new fe("end")}if(typeof d==="function"){if(S||A.finished){p.nextTick(d,S)}else{A[ye].push(d)}}return this};function needFinish(i){return i.ending&&!i.destroyed&&i.constructed&&i.length===0&&!i.errored&&i.buffered.length===0&&!i.finished&&!i.writing&&!i.errorEmitted&&!i.closeEmitted}function callFinal(i,c){let d=false;function onFinish(A){if(d){me(i,A!==null&&A!==undefined?A:ue());return}d=true;c.pendingcb--;if(A){const d=c[ye].splice(0);for(let i=0;i<d.length;i++){d[i](A)}me(i,A,c.sync)}else if(needFinish(c)){c.prefinished=true;i.emit("prefinish");c.pendingcb++;p.nextTick(finish,i,c)}}c.sync=true;c.pendingcb++;try{i._final(onFinish)}catch(i){onFinish(i)}c.sync=false}function prefinish(i,c){if(!c.prefinished&&!c.finalCalled){if(typeof i._final==="function"&&!c.destroyed){c.finalCalled=true;callFinal(i,c)}else{c.prefinished=true;i.emit("prefinish")}}}function finishMaybe(i,c,d){if(needFinish(c)){prefinish(i,c);if(c.pendingcb===0){if(d){c.pendingcb++;p.nextTick(((i,c)=>{if(needFinish(c)){finish(i,c)}else{c.pendingcb--}}),i,c)}else if(needFinish(c)){c.pendingcb++;finish(i,c)}}}}function finish(i,c){c.pendingcb--;c.finished=true;const d=c[ye].splice(0);for(let i=0;i<d.length;i++){d[i]()}i.emit("finish");if(c.autoDestroy){const c=i._readableState;const d=!c||c.autoDestroy&&(c.endEmitted||c.readable===false);if(d){i.destroy()}}}_(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(i){if(this._writableState){this._writableState.destroyed=i}}},writable:{__proto__:null,get(){const i=this._writableState;return!!i&&i.writable!==false&&!i.destroyed&&!i.errored&&!i.ending&&!i.ended},set(i){if(this._writableState){this._writableState.writable=!!i}}},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 i=this._writableState;if(!i)return false;return!i.destroyed&&!i.ending&&i.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 Ee=ie.destroy;Writable.prototype.destroy=function(i,c){const d=this._writableState;if(!d.destroyed&&(d.bufferedIndex<d.buffered.length||d[ye].length)){p.nextTick(errorBuffer,d)}Ee.call(this,i,c);return this};Writable.prototype._undestroy=ie.undestroy;Writable.prototype._destroy=function(i,c){c(i)};Writable.prototype[te.captureRejectionSymbol]=function(i){this.destroy(i)};let be;function lazyWebStreams(){if(be===undefined)be={};return be}Writable.fromWeb=function(i,c){return lazyWebStreams().newStreamWritableFromWritableStream(i,c)};Writable.toWeb=function(i){return lazyWebStreams().newWritableStreamFromStreamWritable(i)}},49554:(i,c,d)=>{"use strict";const{ArrayIsArray:p,ArrayPrototypeIncludes:A,ArrayPrototypeJoin:C,ArrayPrototypeMap:S,NumberIsInteger:v,NumberIsNaN:_,NumberMAX_SAFE_INTEGER:T,NumberMIN_SAFE_INTEGER:V,NumberParseInt:Z,ObjectPrototypeHasOwnProperty:ee,RegExpPrototypeExec:te,String:re,StringPrototypeToUpperCase:ne,StringPrototypeTrim:ie}=d(50999);const{hideStackFrames:se,codes:{ERR_SOCKET_BAD_PORT:oe,ERR_INVALID_ARG_TYPE:ae,ERR_INVALID_ARG_VALUE:le,ERR_OUT_OF_RANGE:ce,ERR_UNKNOWN_SIGNAL:ue}}=d(69220);const{normalizeEncoding:de}=d(23539);const{isAsyncFunction:fe,isArrayBufferView:pe}=d(23539).types;const Ae={};function isInt32(i){return i===(i|0)}function isUint32(i){return i===i>>>0}const he=/^[0-7]+$/;const ge="must be a 32-bit unsigned integer or an octal string";function parseFileMode(i,c,d){if(typeof i==="undefined"){i=d}if(typeof i==="string"){if(te(he,i)===null){throw new le(c,i,ge)}i=Z(i,8)}Ee(i,c);return i}const me=se(((i,c,d=V,p=T)=>{if(typeof i!=="number")throw new ae(c,"number",i);if(!v(i))throw new ce(c,"an integer",i);if(i<d||i>p)throw new ce(c,`>= ${d} && <= ${p}`,i)}));const ye=se(((i,c,d=-2147483648,p=2147483647)=>{if(typeof i!=="number"){throw new ae(c,"number",i)}if(!v(i)){throw new ce(c,"an integer",i)}if(i<d||i>p){throw new ce(c,`>= ${d} && <= ${p}`,i)}}));const Ee=se(((i,c,d=false)=>{if(typeof i!=="number"){throw new ae(c,"number",i)}if(!v(i)){throw new ce(c,"an integer",i)}const p=d?1:0;const A=4294967295;if(i<p||i>A){throw new ce(c,`>= ${p} && <= ${A}`,i)}}));function validateString(i,c){if(typeof i!=="string")throw new ae(c,"string",i)}function validateNumber(i,c,d=undefined,p){if(typeof i!=="number")throw new ae(c,"number",i);if(d!=null&&i<d||p!=null&&i>p||(d!=null||p!=null)&&_(i)){throw new ce(c,`${d!=null?`>= ${d}`:""}${d!=null&&p!=null?" && ":""}${p!=null?`<= ${p}`:""}`,i)}}const be=se(((i,c,d)=>{if(!A(d,i)){const p=C(S(d,(i=>typeof i==="string"?`'${i}'`:re(i))),", ");const A="must be one of: "+p;throw new le(c,i,A)}}));function validateBoolean(i,c){if(typeof i!=="boolean")throw new ae(c,"boolean",i)}function getOwnPropertyValueOrDefault(i,c,d){return i==null||!ee(i,c)?d:i[c]}const Ce=se(((i,c,d=null)=>{const A=getOwnPropertyValueOrDefault(d,"allowArray",false);const C=getOwnPropertyValueOrDefault(d,"allowFunction",false);const S=getOwnPropertyValueOrDefault(d,"nullable",false);if(!S&&i===null||!A&&p(i)||typeof i!=="object"&&(!C||typeof i!=="function")){throw new ae(c,"Object",i)}}));const we=se(((i,c)=>{if(i!=null&&typeof i!=="object"&&typeof i!=="function"){throw new ae(c,"a dictionary",i)}}));const Ie=se(((i,c,d=0)=>{if(!p(i)){throw new ae(c,"Array",i)}if(i.length<d){const p=`must be longer than ${d}`;throw new le(c,i,p)}}));function validateStringArray(i,c){Ie(i,c);for(let d=0;d<i.length;d++){validateString(i[d],`${c}[${d}]`)}}function validateBooleanArray(i,c){Ie(i,c);for(let d=0;d<i.length;d++){validateBoolean(i[d],`${c}[${d}]`)}}function validateAbortSignalArray(i,c){Ie(i,c);for(let d=0;d<i.length;d++){const p=i[d];const A=`${c}[${d}]`;if(p==null){throw new ae(A,"AbortSignal",p)}ve(p,A)}}function validateSignalName(i,c="signal"){validateString(i,c);if(Ae[i]===undefined){if(Ae[ne(i)]!==undefined){throw new ue(i+" (signals must use all capital letters)")}throw new ue(i)}}const Se=se(((i,c="buffer")=>{if(!pe(i)){throw new ae(c,["Buffer","TypedArray","DataView"],i)}}));function validateEncoding(i,c){const d=de(c);const p=i.length;if(d==="hex"&&p%2!==0){throw new le("encoding",c,`is invalid for data of length ${p}`)}}function validatePort(i,c="Port",d=true){if(typeof i!=="number"&&typeof i!=="string"||typeof i==="string"&&ie(i).length===0||+i!==+i>>>0||i>65535||i===0&&!d){throw new oe(c,i,d)}return i|0}const ve=se(((i,c)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new ae(c,"AbortSignal",i)}}));const Be=se(((i,c)=>{if(typeof i!=="function")throw new ae(c,"Function",i)}));const Re=se(((i,c)=>{if(typeof i!=="function"||fe(i))throw new ae(c,"Function",i)}));const _e=se(((i,c)=>{if(i!==undefined)throw new ae(c,"undefined",i)}));function validateUnion(i,c,d){if(!A(d,i)){throw new ae(c,`('${C(d,"|")}')`,i)}}const Ne=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function validateLinkHeaderFormat(i,c){if(typeof i==="undefined"||!te(Ne,i)){throw new le(c,i,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}function validateLinkHeaderValue(i){if(typeof i==="string"){validateLinkHeaderFormat(i,"hints");return i}else if(p(i)){const c=i.length;let d="";if(c===0){return d}for(let p=0;p<c;p++){const A=i[p];validateLinkHeaderFormat(A,"hints");d+=A;if(p!==c-1){d+=", "}}return d}throw new le("hints",i,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}i.exports={isInt32:isInt32,isUint32:isUint32,parseFileMode:parseFileMode,validateArray:Ie,validateStringArray:validateStringArray,validateBooleanArray:validateBooleanArray,validateAbortSignalArray:validateAbortSignalArray,validateBoolean:validateBoolean,validateBuffer:Se,validateDictionary:we,validateEncoding:validateEncoding,validateFunction:Be,validateInt32:ye,validateInteger:me,validateNumber:validateNumber,validateObject:Ce,validateOneOf:be,validatePlainFunction:Re,validatePort:validatePort,validateSignalName:validateSignalName,validateString:validateString,validateUint32:Ee,validateUndefined:_e,validateUnion:validateUnion,validateAbortSignal:ve,validateLinkHeaderValue:validateLinkHeaderValue}},69220:(i,c,d)=>{"use strict";const{format:p,inspect:A,AggregateError:C}=d(23539);const S=globalThis.AggregateError||C;const v=Symbol("kIsNodeError");const _=["string","function","number","object","Function","Object","boolean","bigint","symbol"];const T=/^([A-Z][a-z0-9]*)+$/;const V="__node_internal_";const Z={};function assert(i,c){if(!i){throw new Z.ERR_INTERNAL_ASSERTION(c)}}function addNumericalSeparator(i){let c="";let d=i.length;const p=i[0]==="-"?1:0;for(;d>=p+4;d-=3){c=`_${i.slice(d-3,d)}${c}`}return`${i.slice(0,d)}${c}`}function getMessage(i,c,d){if(typeof c==="function"){assert(c.length<=d.length,`Code: ${i}; The provided arguments length (${d.length}) does not match the required ones (${c.length}).`);return c(...d)}const A=(c.match(/%[dfijoOs]/g)||[]).length;assert(A===d.length,`Code: ${i}; The provided arguments length (${d.length}) does not match the required ones (${A}).`);if(d.length===0){return c}return p(c,...d)}function E(i,c,d){if(!d){d=Error}class NodeError extends d{constructor(...d){super(getMessage(i,c,d))}toString(){return`${this.name} [${i}]: ${this.message}`}}Object.defineProperties(NodeError.prototype,{name:{value:d.name,writable:true,enumerable:false,configurable:true},toString:{value(){return`${this.name} [${i}]: ${this.message}`},writable:true,enumerable:false,configurable:true}});NodeError.prototype.code=i;NodeError.prototype[v]=true;Z[i]=NodeError}function hideStackFrames(i){const c=V+i.name;Object.defineProperty(i,"name",{value:c});return i}function aggregateTwoErrors(i,c){if(i&&c&&i!==c){if(Array.isArray(c.errors)){c.errors.push(i);return c}const d=new S([c,i],c.message);d.code=c.code;return d}return i||c}class AbortError extends Error{constructor(i="The operation was aborted",c=undefined){if(c!==undefined&&typeof c!=="object"){throw new Z.ERR_INVALID_ARG_TYPE("options","Object",c)}super(i,c);this.code="ABORT_ERR";this.name="AbortError"}}E("ERR_ASSERTION","%s",Error);E("ERR_INVALID_ARG_TYPE",((i,c,d)=>{assert(typeof i==="string","'name' must be a string");if(!Array.isArray(c)){c=[c]}let p="The ";if(i.endsWith(" argument")){p+=`${i} `}else{p+=`"${i}" ${i.includes(".")?"property":"argument"} `}p+="must be ";const C=[];const S=[];const v=[];for(const i of c){assert(typeof i==="string","All expected entries have to be of type string");if(_.includes(i)){C.push(i.toLowerCase())}else if(T.test(i)){S.push(i)}else{assert(i!=="object",'The value "object" should be written as "Object"');v.push(i)}}if(S.length>0){const i=C.indexOf("object");if(i!==-1){C.splice(C,i,1);S.push("Object")}}if(C.length>0){switch(C.length){case 1:p+=`of type ${C[0]}`;break;case 2:p+=`one of type ${C[0]} or ${C[1]}`;break;default:{const i=C.pop();p+=`one of type ${C.join(", ")}, or ${i}`}}if(S.length>0||v.length>0){p+=" or "}}if(S.length>0){switch(S.length){case 1:p+=`an instance of ${S[0]}`;break;case 2:p+=`an instance of ${S[0]} or ${S[1]}`;break;default:{const i=S.pop();p+=`an instance of ${S.join(", ")}, or ${i}`}}if(v.length>0){p+=" or "}}switch(v.length){case 0:break;case 1:if(v[0].toLowerCase()!==v[0]){p+="an "}p+=`${v[0]}`;break;case 2:p+=`one of ${v[0]} or ${v[1]}`;break;default:{const i=v.pop();p+=`one of ${v.join(", ")}, or ${i}`}}if(d==null){p+=`. Received ${d}`}else if(typeof d==="function"&&d.name){p+=`. Received function ${d.name}`}else if(typeof d==="object"){var V;if((V=d.constructor)!==null&&V!==undefined&&V.name){p+=`. Received an instance of ${d.constructor.name}`}else{const i=A(d,{depth:-1});p+=`. Received ${i}`}}else{let i=A(d,{colors:false});if(i.length>25){i=`${i.slice(0,25)}...`}p+=`. Received type ${typeof d} (${i})`}return p}),TypeError);E("ERR_INVALID_ARG_VALUE",((i,c,d="is invalid")=>{let p=A(c);if(p.length>128){p=p.slice(0,128)+"..."}const C=i.includes(".")?"property":"argument";return`The ${C} '${i}' ${d}. Received ${p}`}),TypeError);E("ERR_INVALID_RETURN_VALUE",((i,c,d)=>{var p;const A=d!==null&&d!==undefined&&(p=d.constructor)!==null&&p!==undefined&&p.name?`instance of ${d.constructor.name}`:`type ${typeof d}`;return`Expected ${i} to be returned from the "${c}"`+` function but got ${A}.`}),TypeError);E("ERR_MISSING_ARGS",((...i)=>{assert(i.length>0,"At least one arg needs to be specified");let c;const d=i.length;i=(Array.isArray(i)?i:[i]).map((i=>`"${i}"`)).join(" or ");switch(d){case 1:c+=`The ${i[0]} argument`;break;case 2:c+=`The ${i[0]} and ${i[1]} arguments`;break;default:{const d=i.pop();c+=`The ${i.join(", ")}, and ${d} arguments`}break}return`${c} must be specified`}),TypeError);E("ERR_OUT_OF_RANGE",((i,c,d)=>{assert(c,'Missing "range" argument');let p;if(Number.isInteger(d)&&Math.abs(d)>2**32){p=addNumericalSeparator(String(d))}else if(typeof d==="bigint"){p=String(d);if(d>2n**32n||d<-(2n**32n)){p=addNumericalSeparator(p)}p+="n"}else{p=A(d)}return`The value of "${i}" is out of range. It must be ${c}. Received ${p}`}),RangeError);E("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);E("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);E("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);E("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);E("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);E("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);E("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);E("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);E("ERR_STREAM_WRITE_AFTER_END","write after end",Error);E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);i.exports={AbortError:AbortError,aggregateTwoErrors:hideStackFrames(aggregateTwoErrors),hideStackFrames:hideStackFrames,codes:Z}},29963:(i,c,d)=>{"use strict";const p=d(2203);if(p&&process.env.READABLE_STREAM==="disable"){const c=p.promises;i.exports._uint8ArrayToBuffer=p._uint8ArrayToBuffer;i.exports._isUint8Array=p._isUint8Array;i.exports.isDisturbed=p.isDisturbed;i.exports.isErrored=p.isErrored;i.exports.isReadable=p.isReadable;i.exports.Readable=p.Readable;i.exports.Writable=p.Writable;i.exports.Duplex=p.Duplex;i.exports.Transform=p.Transform;i.exports.PassThrough=p.PassThrough;i.exports.addAbortSignal=p.addAbortSignal;i.exports.finished=p.finished;i.exports.destroy=p.destroy;i.exports.pipeline=p.pipeline;i.exports.compose=p.compose;Object.defineProperty(p,"promises",{configurable:true,enumerable:true,get(){return c}});i.exports.Stream=p.Stream}else{const c=d(12375);const p=d(65904);const A=c.Readable.destroy;i.exports=c.Readable;i.exports._uint8ArrayToBuffer=c._uint8ArrayToBuffer;i.exports._isUint8Array=c._isUint8Array;i.exports.isDisturbed=c.isDisturbed;i.exports.isErrored=c.isErrored;i.exports.isReadable=c.isReadable;i.exports.Readable=c.Readable;i.exports.Writable=c.Writable;i.exports.Duplex=c.Duplex;i.exports.Transform=c.Transform;i.exports.PassThrough=c.PassThrough;i.exports.addAbortSignal=c.addAbortSignal;i.exports.finished=c.finished;i.exports.destroy=c.destroy;i.exports.destroy=A;i.exports.pipeline=c.pipeline;i.exports.compose=c.compose;Object.defineProperty(c,"promises",{configurable:true,enumerable:true,get(){return p}});i.exports.Stream=c.Stream}i.exports["default"]=i.exports},50999:i=>{"use strict";i.exports={ArrayIsArray(i){return Array.isArray(i)},ArrayPrototypeIncludes(i,c){return i.includes(c)},ArrayPrototypeIndexOf(i,c){return i.indexOf(c)},ArrayPrototypeJoin(i,c){return i.join(c)},ArrayPrototypeMap(i,c){return i.map(c)},ArrayPrototypePop(i,c){return i.pop(c)},ArrayPrototypePush(i,c){return i.push(c)},ArrayPrototypeSlice(i,c,d){return i.slice(c,d)},Error:Error,FunctionPrototypeCall(i,c,...d){return i.call(c,...d)},FunctionPrototypeSymbolHasInstance(i,c){return Function.prototype[Symbol.hasInstance].call(i,c)},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(i,c){return Object.defineProperties(i,c)},ObjectDefineProperty(i,c,d){return Object.defineProperty(i,c,d)},ObjectGetOwnPropertyDescriptor(i,c){return Object.getOwnPropertyDescriptor(i,c)},ObjectKeys(i){return Object.keys(i)},ObjectSetPrototypeOf(i,c){return Object.setPrototypeOf(i,c)},Promise:Promise,PromisePrototypeCatch(i,c){return i.catch(c)},PromisePrototypeThen(i,c,d){return i.then(c,d)},PromiseReject(i){return Promise.reject(i)},PromiseResolve(i){return Promise.resolve(i)},ReflectApply:Reflect.apply,RegExpPrototypeTest(i,c){return i.test(c)},SafeSet:Set,String:String,StringPrototypeSlice(i,c,d){return i.slice(c,d)},StringPrototypeToLowerCase(i){return i.toLowerCase()},StringPrototypeToUpperCase(i){return i.toUpperCase()},StringPrototypeTrim(i){return i.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(i,c,d){return i.set(c,d)},Boolean:Boolean,Uint8Array:Uint8Array}},23539:(i,c,d)=>{"use strict";const p=d(20181);const{kResistStopPropagation:A,SymbolDispose:C}=d(50999);const S=globalThis.AbortSignal||d(17413).AbortSignal;const v=globalThis.AbortController||d(17413).AbortController;const _=Object.getPrototypeOf((async function(){})).constructor;const T=globalThis.Blob||p.Blob;const V=typeof T!=="undefined"?function isBlob(i){return i instanceof T}:function isBlob(i){return false};const validateAbortSignal=(i,c)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new ERR_INVALID_ARG_TYPE(c,"AbortSignal",i)}};const validateFunction=(i,c)=>{if(typeof i!=="function")throw new ERR_INVALID_ARG_TYPE(c,"Function",i)};class AggregateError extends Error{constructor(i){if(!Array.isArray(i)){throw new TypeError(`Expected input to be an Array, got ${typeof i}`)}let c="";for(let d=0;d<i.length;d++){c+=` ${i[d].stack}\n`}super(c);this.name="AggregateError";this.errors=i}}i.exports={AggregateError:AggregateError,kEmptyObject:Object.freeze({}),once(i){let c=false;return function(...d){if(c){return}c=true;i.apply(this,d)}},createDeferredPromise:function(){let i;let c;const d=new Promise(((d,p)=>{i=d;c=p}));return{promise:d,resolve:i,reject:c}},promisify(i){return new Promise(((c,d)=>{i(((i,...p)=>{if(i){return d(i)}return c(...p)}))}))},debuglog(){return function(){}},format(i,...c){return i.replace(/%([sdifj])/g,(function(...[i,d]){const p=c.shift();if(d==="f"){return p.toFixed(6)}else if(d==="j"){return JSON.stringify(p)}else if(d==="s"&&typeof p==="object"){const i=p.constructor!==Object?p.constructor.name:"";return`${i} {}`.trim()}else{return p.toString()}}))},inspect(i){switch(typeof i){case"string":if(i.includes("'")){if(!i.includes('"')){return`"${i}"`}else if(!i.includes("`")&&!i.includes("${")){return`\`${i}\``}}return`'${i}'`;case"number":if(isNaN(i)){return"NaN"}else if(Object.is(i,-0)){return String(i)}return i;case"bigint":return`${String(i)}n`;case"boolean":case"undefined":return String(i);case"object":return"{}"}},types:{isAsyncFunction(i){return i instanceof _},isArrayBufferView(i){return ArrayBuffer.isView(i)}},isBlob:V,deprecate(i,c){return i},addAbortListener:d(24434).addAbortListener||function addAbortListener(i,c){if(i===undefined){throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",i)}validateAbortSignal(i,"signal");validateFunction(c,"listener");let d;if(i.aborted){queueMicrotask((()=>c()))}else{i.addEventListener("abort",c,{__proto__:null,once:true,[A]:true});d=()=>{i.removeEventListener("abort",c)}}return{__proto__:null,[C](){var i;(i=d)===null||i===undefined?undefined:i()}}},AbortSignalAny:S.any||function AbortSignalAny(i){if(i.length===1){return i[0]}const c=new v;const abort=()=>c.abort();i.forEach((i=>{validateAbortSignal(i,"signals");i.addEventListener("abort",abort,{once:true})}));c.signal.addEventListener("abort",(()=>{i.forEach((i=>i.removeEventListener("abort",abort)))}),{once:true});return c.signal}};i.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},12375:(i,c,d)=>{const{Buffer:p}=d(20181);"use strict";const{ObjectDefineProperty:A,ObjectKeys:C,ReflectApply:S}=d(50999);const{promisify:{custom:v}}=d(23539);const{streamReturningOperators:_,promiseReturningOperators:T}=d(11222);const{codes:{ERR_ILLEGAL_CONSTRUCTOR:V}}=d(69220);const Z=d(64999);const{setDefaultHighWaterMark:ee,getDefaultHighWaterMark:te}=d(54874);const{pipeline:re}=d(16701);const{destroyer:ne}=d(65089);const ie=d(36815);const se={};const oe=d(65904);const ae=d(83426);const le=i.exports=d(84128).Stream;le.isDestroyed=ae.isDestroyed;le.isDisturbed=ae.isDisturbed;le.isErrored=ae.isErrored;le.isReadable=ae.isReadable;le.isWritable=ae.isWritable;le.Readable=d(17783);for(const ue of C(_)){const de=_[ue];function fn(...i){if(new.target){throw V()}return le.Readable.from(S(de,this,i))}A(fn,"name",{__proto__:null,value:de.name});A(fn,"length",{__proto__:null,value:de.length});A(le.Readable.prototype,ue,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}for(const fe of C(T)){const pe=T[fe];function fn(...i){if(new.target){throw V()}return S(pe,this,i)}A(fn,"name",{__proto__:null,value:pe.name});A(fn,"length",{__proto__:null,value:pe.length});A(le.Readable.prototype,fe,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}le.Writable=d(58939);le.Duplex=d(94449);le.Transform=d(12135);le.PassThrough=d(19173);le.pipeline=re;const{addAbortSignal:ce}=d(80652);le.addAbortSignal=ce;le.finished=ie;le.destroy=ne;le.compose=Z;le.setDefaultHighWaterMark=ee;le.getDefaultHighWaterMark=te;A(le,"promises",{__proto__:null,configurable:true,enumerable:true,get(){return oe}});A(re,v,{__proto__:null,enumerable:true,get(){return oe.pipeline}});A(ie,v,{__proto__:null,enumerable:true,get(){return oe.finished}});le.Stream=le;le._isUint8Array=function isUint8Array(i){return i instanceof Uint8Array};le._uint8ArrayToBuffer=function _uint8ArrayToBuffer(i){return p.from(i.buffer,i.byteOffset,i.byteLength)}},65904:(i,c,d)=>{"use strict";const{ArrayPrototypePop:p,Promise:A}=d(50999);const{isIterable:C,isNodeStream:S,isWebStream:v}=d(83426);const{pipelineImpl:_}=d(16701);const{finished:T}=d(36815);d(12375);function pipeline(...i){return new A(((c,d)=>{let A;let T;const V=i[i.length-1];if(V&&typeof V==="object"&&!S(V)&&!C(V)&&!v(V)){const c=p(i);A=c.signal;T=c.end}_(i,((i,p)=>{if(i){d(i)}else{c(p)}}),{signal:A,end:T})}))}i.exports={finished:T,pipeline:pipeline}},51364:(i,c,d)=>{i.exports=readdirGlob;const p=d(79896);const{EventEmitter:A}=d(24434);const{Minimatch:C}=d(6944);const{resolve:S}=d(16928);function readdir(i,c){return new Promise(((d,A)=>{p.readdir(i,{withFileTypes:true},((i,p)=>{if(i){switch(i.code){case"ENOTDIR":if(c){A(i)}else{d([])}break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":d([]);break;case"ELOOP":default:A(i);break}}else{d(p)}}))}))}function stat(i,c){return new Promise(((d,A)=>{const C=c?p.stat:p.lstat;C(i,((p,A)=>{if(p){switch(p.code){case"ENOENT":if(c){d(stat(i,false))}else{d(null)}break;default:d(null);break}}else{d(A)}}))}))}async function*exploreWalkAsync(i,c,d,p,A,C){let S=await readdir(c+i,C);for(const C of S){let S=C.name;if(S===undefined){S=C;p=true}const v=i+"/"+S;const _=v.slice(1);const T=c+"/"+_;let V=null;if(p||d){V=await stat(T,d)}if(!V&&C.name!==undefined){V=C}if(V===null){V={isDirectory:()=>false}}if(V.isDirectory()){if(!A(_)){yield{relative:_,absolute:T,stats:V};yield*exploreWalkAsync(v,c,d,p,A,false)}}else{yield{relative:_,absolute:T,stats:V}}}}async function*explore(i,c,d,p){yield*exploreWalkAsync("",i,c,d,p,true)}function readOptions(i){return{pattern:i.pattern,dot:!!i.dot,noglobstar:!!i.noglobstar,matchBase:!!i.matchBase,nocase:!!i.nocase,ignore:i.ignore,skip:i.skip,follow:!!i.follow,stat:!!i.stat,nodir:!!i.nodir,mark:!!i.mark,silent:!!i.silent,absolute:!!i.absolute}}class ReaddirGlob extends A{constructor(i,c,d){super();if(typeof c==="function"){d=c;c=null}this.options=readOptions(c||{});this.matchers=[];if(this.options.pattern){const i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map((i=>new C(i,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase})))}this.ignoreMatchers=[];if(this.options.ignore){const i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map((i=>new C(i,{dot:true})))}this.skipMatchers=[];if(this.options.skip){const i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map((i=>new C(i,{dot:true})))}this.iterator=explore(S(i||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this));this.paused=false;this.inactive=false;this.aborted=false;if(d){this._matches=[];this.on("match",(i=>this._matches.push(this.options.absolute?i.absolute:i.relative)));this.on("error",(i=>d(i)));this.on("end",(()=>d(null,this._matches)))}setTimeout((()=>this._next()),0)}_shouldSkipDirectory(i){return this.skipMatchers.some((c=>c.match(i)))}_fileMatches(i,c){const d=i+(c?"/":"");return(this.matchers.length===0||this.matchers.some((i=>i.match(d))))&&!this.ignoreMatchers.some((i=>i.match(d)))&&(!this.options.nodir||!c)}_next(){if(!this.paused&&!this.aborted){this.iterator.next().then((i=>{if(!i.done){const c=i.value.stats.isDirectory();if(this._fileMatches(i.value.relative,c)){let d=i.value.relative;let p=i.value.absolute;if(this.options.mark&&c){d+="/";p+="/"}if(this.options.stat){this.emit("match",{relative:d,absolute:p,stat:i.value.stats})}else{this.emit("match",{relative:d,absolute:p})}}this._next(this.iterator)}else{this.emit("end")}})).catch((i=>{this.abort();this.emit("error",i);if(!i.code&&!this.options.silent){console.error(i)}}))}else{this.inactive=true}}abort(){this.aborted=true}pause(){this.paused=true}resume(){this.paused=false;if(this.inactive){this.inactive=false;this._next()}}}function readdirGlob(i,c,d){return new ReaddirGlob(i,c,d)}readdirGlob.ReaddirGlob=ReaddirGlob},63669:i=>{const c=typeof process==="object"&&process&&process.platform==="win32";i.exports=c?{sep:"\\"}:{sep:"/"}},6944:(i,c,d)=>{const p=i.exports=(i,c,d={})=>{assertValidPattern(c);if(!d.nocomment&&c.charAt(0)==="#"){return false}return new Minimatch(c,d).match(i)};i.exports=p;const A=d(63669);p.sep=A.sep;const C=Symbol("globstar **");p.GLOBSTAR=C;const S=d(94691);const v={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};const _="[^/]";const T=_+"*?";const V="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const Z="(?:(?!(?:\\/|^)\\.).)*?";const charSet=i=>i.split("").reduce(((i,c)=>{i[c]=true;return i}),{});const ee=charSet("().*{}+?[]^$\\!");const te=charSet("[.(");const re=/\/+/;p.filter=(i,c={})=>(d,A,C)=>p(d,i,c);const ext=(i,c={})=>{const d={};Object.keys(i).forEach((c=>d[c]=i[c]));Object.keys(c).forEach((i=>d[i]=c[i]));return d};p.defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return p}const c=p;const m=(d,p,A)=>c(d,p,ext(i,A));m.Minimatch=class Minimatch extends c.Minimatch{constructor(c,d){super(c,ext(i,d))}};m.Minimatch.defaults=d=>c.defaults(ext(i,d)).Minimatch;m.filter=(d,p)=>c.filter(d,ext(i,p));m.defaults=d=>c.defaults(ext(i,d));m.makeRe=(d,p)=>c.makeRe(d,ext(i,p));m.braceExpand=(d,p)=>c.braceExpand(d,ext(i,p));m.match=(d,p,A)=>c.match(d,p,ext(i,A));return m};p.braceExpand=(i,c)=>braceExpand(i,c);const braceExpand=(i,c={})=>{assertValidPattern(i);if(c.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return S(i)};const ne=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>ne){throw new TypeError("pattern is too long")}};const ie=Symbol("subparse");p.makeRe=(i,c)=>new Minimatch(i,c||{}).makeRe();p.match=(i,c,d={})=>{const p=new Minimatch(c,d);i=i.filter((i=>p.match(i)));if(p.options.nonull&&!i.length){i.push(c)}return i};const globUnescape=i=>i.replace(/\\(.)/g,"$1");const charUnescape=i=>i.replace(/\\([^-\]])/g,"$1");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const braExpEscape=i=>i.replace(/[[\]\\]/g,"\\$&");class Minimatch{constructor(i,c){assertValidPattern(i);if(!c)c={};this.options=c;this.set=[];this.pattern=i;this.windowsPathsNoEscape=!!c.windowsPathsNoEscape||c.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=!!c.partial;this.make()}debug(){}make(){const i=this.pattern;const c=this.options;if(!c.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();let d=this.globSet=this.braceExpand();if(c.debug)this.debug=(...i)=>console.error(...i);this.debug(this.pattern,d);d=this.globParts=d.map((i=>i.split(re)));this.debug(this.pattern,d);d=d.map(((i,c,d)=>i.map(this.parse,this)));this.debug(this.pattern,d);d=d.filter((i=>i.indexOf(false)===-1));this.debug(this.pattern,d);this.set=d}parseNegate(){if(this.options.nonegate)return;const i=this.pattern;let c=false;let d=0;for(let p=0;p<i.length&&i.charAt(p)==="!";p++){c=!c;d++}if(d)this.pattern=i.slice(d);this.negate=c}matchOne(i,c,d){var p=this.options;this.debug("matchOne",{this:this,file:i,pattern:c});this.debug("matchOne",i.length,c.length);for(var A=0,S=0,v=i.length,_=c.length;A<v&&S<_;A++,S++){this.debug("matchOne loop");var T=c[S];var V=i[A];this.debug(c,T,V);if(T===false)return false;if(T===C){this.debug("GLOBSTAR",[c,T,V]);var Z=A;var ee=S+1;if(ee===_){this.debug("** at the end");for(;A<v;A++){if(i[A]==="."||i[A]===".."||!p.dot&&i[A].charAt(0)===".")return false}return true}while(Z<v){var te=i[Z];this.debug("\nglobstar while",i,Z,c,ee,te);if(this.matchOne(i.slice(Z),c.slice(ee),d)){this.debug("globstar found match!",Z,v,te);return true}else{if(te==="."||te===".."||!p.dot&&te.charAt(0)==="."){this.debug("dot detected!",i,Z,c,ee);break}this.debug("globstar swallow a segment, and continue");Z++}}if(d){this.debug("\n>>> no match, partial?",i,Z,c,ee);if(Z===v)return true}return false}var re;if(typeof T==="string"){re=V===T;this.debug("string match",T,V,re)}else{re=V.match(T);this.debug("pattern match",T,V,re)}if(!re)return false}if(A===v&&S===_){return true}else if(A===v){return d}else if(S===_){return A===v-1&&i[A]===""}throw new Error("wtf?")}braceExpand(){return braceExpand(this.pattern,this.options)}parse(i,c){assertValidPattern(i);const d=this.options;if(i==="**"){if(!d.noglobstar)return C;else i="*"}if(i==="")return"";let p="";let A=false;let S=false;const V=[];const Z=[];let re;let ne=false;let se=-1;let oe=-1;let ae;let le;let ce;let ue=i.charAt(0)===".";let de=d.dot||ue;const patternStart=()=>ue?"":de?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const subPatternStart=i=>i.charAt(0)==="."?"":d.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const clearStateChar=()=>{if(re){switch(re){case"*":p+=T;A=true;break;case"?":p+=_;A=true;break;default:p+="\\"+re;break}this.debug("clearStateChar %j %j",re,p);re=false}};for(let c=0,C;c<i.length&&(C=i.charAt(c));c++){this.debug("%s\t%s %s %j",i,c,p,C);if(S){if(C==="/"){return false}if(ee[C]){p+="\\"}p+=C;S=false;continue}switch(C){case"/":{return false}case"\\":if(ne&&i.charAt(c+1)==="-"){p+=C;continue}clearStateChar();S=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",i,c,p,C);if(ne){this.debug(" in class");if(C==="!"&&c===oe+1)C="^";p+=C;continue}this.debug("call clearStateChar %j",re);clearStateChar();re=C;if(d.noext)clearStateChar();continue;case"(":{if(ne){p+="(";continue}if(!re){p+="\\(";continue}const d={type:re,start:c-1,reStart:p.length,open:v[re].open,close:v[re].close};this.debug(this.pattern,"\t",d);V.push(d);p+=d.open;if(d.start===0&&d.type!=="!"){ue=true;p+=subPatternStart(i.slice(c+1))}this.debug("plType %j %j",re,p);re=false;continue}case")":{const i=V[V.length-1];if(ne||!i){p+="\\)";continue}V.pop();clearStateChar();A=true;le=i;p+=le.close;if(le.type==="!"){Z.push(Object.assign(le,{reEnd:p.length}))}continue}case"|":{const d=V[V.length-1];if(ne||!d){p+="\\|";continue}clearStateChar();p+="|";if(d.start===0&&d.type!=="!"){ue=true;p+=subPatternStart(i.slice(c+1))}continue}case"[":clearStateChar();if(ne){p+="\\"+C;continue}ne=true;oe=c;se=p.length;p+=C;continue;case"]":if(c===oe+1||!ne){p+="\\"+C;continue}ae=i.substring(oe+1,c);try{RegExp("["+braExpEscape(charUnescape(ae))+"]");p+=C}catch(i){p=p.substring(0,se)+"(?:$.)"}A=true;ne=false;continue;default:clearStateChar();if(ee[C]&&!(C==="^"&&ne)){p+="\\"}p+=C;break}}if(ne){ae=i.slice(oe+1);ce=this.parse(ae,ie);p=p.substring(0,se)+"\\["+ce[0];A=A||ce[1]}for(le=V.pop();le;le=V.pop()){let i;i=p.slice(le.reStart+le.open.length);this.debug("setting tail",p,le);i=i.replace(/((?:\\{2}){0,64})(\\?)\|/g,((i,c,d)=>{if(!d){d="\\"}return c+c+d+"|"}));this.debug("tail=%j\n %s",i,i,le,p);const c=le.type==="*"?T:le.type==="?"?_:"\\"+le.type;A=true;p=p.slice(0,le.reStart)+c+"\\("+i}clearStateChar();if(S){p+="\\\\"}const fe=te[p.charAt(0)];for(let i=Z.length-1;i>-1;i--){const d=Z[i];const A=p.slice(0,d.reStart);const C=p.slice(d.reStart,d.reEnd-8);let S=p.slice(d.reEnd);const v=p.slice(d.reEnd-8,d.reEnd)+S;const _=A.split(")").length;const T=A.split("(").length-_;let V=S;for(let i=0;i<T;i++){V=V.replace(/\)[+*?]?/,"")}S=V;const ee=S===""&&c!==ie?"(?:$|\\/)":"";p=A+C+S+ee+v}if(p!==""&&A){p="(?=.)"+p}if(fe){p=patternStart()+p}if(c===ie){return[p,A]}if(d.nocase&&!A){A=i.toUpperCase()!==i.toLowerCase()}if(!A){return globUnescape(i)}const pe=d.nocase?"i":"";try{return Object.assign(new RegExp("^"+p+"$",pe),{_glob:i,_src:p})}catch(i){return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const i=this.set;if(!i.length){this.regexp=false;return this.regexp}const c=this.options;const d=c.noglobstar?T:c.dot?V:Z;const p=c.nocase?"i":"";let A=i.map((i=>{i=i.map((i=>typeof i==="string"?regExpEscape(i):i===C?C:i._src)).reduce(((i,c)=>{if(!(i[i.length-1]===C&&c===C)){i.push(c)}return i}),[]);i.forEach(((c,p)=>{if(c!==C||i[p-1]===C){return}if(p===0){if(i.length>1){i[p+1]="(?:\\/|"+d+"\\/)?"+i[p+1]}else{i[p]=d}}else if(p===i.length-1){i[p-1]+="(?:\\/|"+d+")?"}else{i[p-1]+="(?:\\/|\\/"+d+"\\/)"+i[p+1];i[p+1]=C}}));return i.filter((i=>i!==C)).join("/")})).join("|");A="^(?:"+A+")$";if(this.negate)A="^(?!"+A+").*$";try{this.regexp=new RegExp(A,p)}catch(i){this.regexp=false}return this.regexp}match(i,c=this.partial){this.debug("match",i,this.pattern);if(this.comment)return false;if(this.empty)return i==="";if(i==="/"&&c)return true;const d=this.options;if(A.sep!=="/"){i=i.split(A.sep).join("/")}i=i.split(re);this.debug(this.pattern,"split",i);const p=this.set;this.debug(this.pattern,"set",p);let C;for(let c=i.length-1;c>=0;c--){C=i[c];if(C)break}for(let A=0;A<p.length;A++){const S=p[A];let v=i;if(d.matchBase&&S.length===1){v=[C]}const _=this.matchOne(v,S,c);if(_){if(d.flipNegate)return true;return!this.negate}}if(d.flipNegate)return false;return this.negate}static defaults(i){return p.defaults(i).Minimatch}}p.Minimatch=Minimatch},93058:(i,c,d)=>{var p=d(20181);var A=p.Buffer;function copyProps(i,c){for(var d in i){c[d]=i[d]}}if(A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow){i.exports=p}else{copyProps(p,c);c.Buffer=SafeBuffer}function SafeBuffer(i,c,d){return A(i,c,d)}copyProps(A,SafeBuffer);SafeBuffer.from=function(i,c,d){if(typeof i==="number"){throw new TypeError("Argument must not be a number")}return A(i,c,d)};SafeBuffer.alloc=function(i,c,d){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}var p=A(i);if(c!==undefined){if(typeof d==="string"){p.fill(c,d)}else{p.fill(c)}}else{p.fill(0)}return p};SafeBuffer.allocUnsafe=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return A(i)};SafeBuffer.allocUnsafeSlow=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return p.SlowBuffer(i)}},76934:(i,c,d)=>{var p=d(62492);var A=Object.prototype.hasOwnProperty;var C=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=C?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(i,c){var d=new ArraySet;for(var p=0,A=i.length;p<A;p++){d.add(i[p],c)}return d};ArraySet.prototype.size=function ArraySet_size(){return C?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(i,c){var d=C?i:p.toSetString(i);var S=C?this.has(i):A.call(this._set,d);var v=this._array.length;if(!S||c){this._array.push(i)}if(!S){if(C){this._set.set(i,v)}else{this._set[d]=v}}};ArraySet.prototype.has=function ArraySet_has(i){if(C){return this._set.has(i)}else{var c=p.toSetString(i);return A.call(this._set,c)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(i){if(C){var c=this._set.get(i);if(c>=0){return c}}else{var d=p.toSetString(i);if(A.call(this._set,d)){return this._set[d]}}throw new Error('"'+i+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(i){if(i>=0&&i<this._array.length){return this._array[i]}throw new Error("No element indexed by "+i)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};c.C=ArraySet},27935:(i,c,d)=>{var p=d(691);var A=5;var C=1<<A;var S=C-1;var v=C;function toVLQSigned(i){return i<0?(-i<<1)+1:(i<<1)+0}function fromVLQSigned(i){var c=(i&1)===1;var d=i>>1;return c?-d:d}c.encode=function base64VLQ_encode(i){var c="";var d;var C=toVLQSigned(i);do{d=C&S;C>>>=A;if(C>0){d|=v}c+=p.encode(d)}while(C>0);return c};c.decode=function base64VLQ_decode(i,c,d){var C=i.length;var _=0;var T=0;var V,Z;do{if(c>=C){throw new Error("Expected more digits in base 64 VLQ value.")}Z=p.decode(i.charCodeAt(c++));if(Z===-1){throw new Error("Invalid base64 digit: "+i.charAt(c-1))}V=!!(Z&v);Z&=S;_=_+(Z<<T);T+=A}while(V);d.value=fromVLQSigned(_);d.rest=c}},691:(i,c)=>{var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");c.encode=function(i){if(0<=i&&i<d.length){return d[i]}throw new TypeError("Must be between 0 and 63: "+i)};c.decode=function(i){var c=65;var d=90;var p=97;var A=122;var C=48;var S=57;var v=43;var _=47;var T=26;var V=52;if(c<=i&&i<=d){return i-c}if(p<=i&&i<=A){return i-p+T}if(C<=i&&i<=S){return i-C+V}if(i==v){return 62}if(i==_){return 63}return-1}},72326:(i,c)=>{c.GREATEST_LOWER_BOUND=1;c.LEAST_UPPER_BOUND=2;function recursiveSearch(i,d,p,A,C,S){var v=Math.floor((d-i)/2)+i;var _=C(p,A[v],true);if(_===0){return v}else if(_>0){if(d-v>1){return recursiveSearch(v,d,p,A,C,S)}if(S==c.LEAST_UPPER_BOUND){return d<A.length?d:-1}else{return v}}else{if(v-i>1){return recursiveSearch(i,v,p,A,C,S)}if(S==c.LEAST_UPPER_BOUND){return v}else{return i<0?-1:i}}}c.search=function search(i,d,p,A){if(d.length===0){return-1}var C=recursiveSearch(-1,d.length,i,d,p,A||c.GREATEST_LOWER_BOUND);if(C<0){return-1}while(C-1>=0){if(p(d[C],d[C-1],true)!==0){break}--C}return C}},12861:(i,c,d)=>{var p=d(62492);function generatedPositionAfter(i,c){var d=i.generatedLine;var A=c.generatedLine;var C=i.generatedColumn;var S=c.generatedColumn;return A>d||A==d&&S>=C||p.compareByGeneratedPositionsInflated(i,c)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(i,c){this._array.forEach(i,c)};MappingList.prototype.add=function MappingList_add(i){if(generatedPositionAfter(this._last,i)){this._last=i;this._array.push(i)}else{this._sorted=false;this._array.push(i)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(p.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};c.P=MappingList},9598:(i,c)=>{function swap(i,c,d){var p=i[c];i[c]=i[d];i[d]=p}function randomIntInRange(i,c){return Math.round(i+Math.random()*(c-i))}function doQuickSort(i,c,d,p){if(d<p){var A=randomIntInRange(d,p);var C=d-1;swap(i,A,p);var S=i[p];for(var v=d;v<p;v++){if(c(i[v],S)<=0){C+=1;swap(i,C,v)}}swap(i,C+1,v);var _=C+1;doQuickSort(i,c,d,_-1);doQuickSort(i,c,_+1,p)}}c.g=function(i,c){doQuickSort(i,c,0,i.length-1)}},79907:(i,c,d)=>{var p;var A=d(62492);var C=d(72326);var S=d(76934).C;var v=d(27935);var _=d(9598).g;function SourceMapConsumer(i,c){var d=i;if(typeof i==="string"){d=A.parseSourceMapInput(i)}return d.sections!=null?new IndexedSourceMapConsumer(d,c):new BasicSourceMapConsumer(d,c)}SourceMapConsumer.fromSourceMap=function(i,c){return BasicSourceMapConsumer.fromSourceMap(i,c)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(i,c){var d=i.charAt(c);return d===";"||d===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(i,c){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(i,c,d){var p=c||null;var C=d||SourceMapConsumer.GENERATED_ORDER;var S;switch(C){case SourceMapConsumer.GENERATED_ORDER:S=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var v=this.sourceRoot;S.map((function(i){var c=i.source===null?null:this._sources.at(i.source);c=A.computeSourceURL(v,c,this._sourceMapURL);return{source:c,generatedLine:i.generatedLine,generatedColumn:i.generatedColumn,originalLine:i.originalLine,originalColumn:i.originalColumn,name:i.name===null?null:this._names.at(i.name)}}),this).forEach(i,p)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(i){var c=A.getArg(i,"line");var d={source:A.getArg(i,"source"),originalLine:c,originalColumn:A.getArg(i,"column",0)};d.source=this._findSourceIndex(d.source);if(d.source<0){return[]}var p=[];var S=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",A.compareByOriginalPositions,C.LEAST_UPPER_BOUND);if(S>=0){var v=this._originalMappings[S];if(i.column===undefined){var _=v.originalLine;while(v&&v.originalLine===_){p.push({line:A.getArg(v,"generatedLine",null),column:A.getArg(v,"generatedColumn",null),lastColumn:A.getArg(v,"lastGeneratedColumn",null)});v=this._originalMappings[++S]}}else{var T=v.originalColumn;while(v&&v.originalLine===c&&v.originalColumn==T){p.push({line:A.getArg(v,"generatedLine",null),column:A.getArg(v,"generatedColumn",null),lastColumn:A.getArg(v,"lastGeneratedColumn",null)});v=this._originalMappings[++S]}}}return p};c.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(i,c){var d=i;if(typeof i==="string"){d=A.parseSourceMapInput(i)}var p=A.getArg(d,"version");var C=A.getArg(d,"sources");var v=A.getArg(d,"names",[]);var _=A.getArg(d,"sourceRoot",null);var T=A.getArg(d,"sourcesContent",null);var V=A.getArg(d,"mappings");var Z=A.getArg(d,"file",null);if(p!=this._version){throw new Error("Unsupported version: "+p)}if(_){_=A.normalize(_)}C=C.map(String).map(A.normalize).map((function(i){return _&&A.isAbsolute(_)&&A.isAbsolute(i)?A.relative(_,i):i}));this._names=S.fromArray(v.map(String),true);this._sources=S.fromArray(C,true);this._absoluteSources=this._sources.toArray().map((function(i){return A.computeSourceURL(_,i,c)}));this.sourceRoot=_;this.sourcesContent=T;this._mappings=V;this._sourceMapURL=c;this.file=Z}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(i){var c=i;if(this.sourceRoot!=null){c=A.relative(this.sourceRoot,c)}if(this._sources.has(c)){return this._sources.indexOf(c)}var d;for(d=0;d<this._absoluteSources.length;++d){if(this._absoluteSources[d]==i){return d}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(i,c){var d=Object.create(BasicSourceMapConsumer.prototype);var p=d._names=S.fromArray(i._names.toArray(),true);var C=d._sources=S.fromArray(i._sources.toArray(),true);d.sourceRoot=i._sourceRoot;d.sourcesContent=i._generateSourcesContent(d._sources.toArray(),d.sourceRoot);d.file=i._file;d._sourceMapURL=c;d._absoluteSources=d._sources.toArray().map((function(i){return A.computeSourceURL(d.sourceRoot,i,c)}));var v=i._mappings.toArray().slice();var T=d.__generatedMappings=[];var V=d.__originalMappings=[];for(var Z=0,ee=v.length;Z<ee;Z++){var te=v[Z];var re=new Mapping;re.generatedLine=te.generatedLine;re.generatedColumn=te.generatedColumn;if(te.source){re.source=C.indexOf(te.source);re.originalLine=te.originalLine;re.originalColumn=te.originalColumn;if(te.name){re.name=p.indexOf(te.name)}V.push(re)}T.push(re)}_(d.__originalMappings,A.compareByOriginalPositions);return d};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(i,c){var d=1;var p=0;var C=0;var S=0;var T=0;var V=0;var Z=i.length;var ee=0;var te={};var re={};var ne=[];var ie=[];var se,oe,ae,le,ce;while(ee<Z){if(i.charAt(ee)===";"){d++;ee++;p=0}else if(i.charAt(ee)===","){ee++}else{se=new Mapping;se.generatedLine=d;for(le=ee;le<Z;le++){if(this._charIsMappingSeparator(i,le)){break}}oe=i.slice(ee,le);ae=te[oe];if(ae){ee+=oe.length}else{ae=[];while(ee<le){v.decode(i,ee,re);ce=re.value;ee=re.rest;ae.push(ce)}if(ae.length===2){throw new Error("Found a source, but no line and column")}if(ae.length===3){throw new Error("Found a source and line, but no column")}te[oe]=ae}se.generatedColumn=p+ae[0];p=se.generatedColumn;if(ae.length>1){se.source=T+ae[1];T+=ae[1];se.originalLine=C+ae[2];C=se.originalLine;se.originalLine+=1;se.originalColumn=S+ae[3];S=se.originalColumn;if(ae.length>4){se.name=V+ae[4];V+=ae[4]}}ie.push(se);if(typeof se.originalLine==="number"){ne.push(se)}}}_(ie,A.compareByGeneratedPositionsDeflated);this.__generatedMappings=ie;_(ne,A.compareByOriginalPositions);this.__originalMappings=ne};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(i,c,d,p,A,S){if(i[d]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+i[d])}if(i[p]<0){throw new TypeError("Column must be greater than or equal to 0, got "+i[p])}return C.search(i,c,A,S)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var i=0;i<this._generatedMappings.length;++i){var c=this._generatedMappings[i];if(i+1<this._generatedMappings.length){var d=this._generatedMappings[i+1];if(c.generatedLine===d.generatedLine){c.lastGeneratedColumn=d.generatedColumn-1;continue}}c.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(i){var c={generatedLine:A.getArg(i,"line"),generatedColumn:A.getArg(i,"column")};var d=this._findMapping(c,this._generatedMappings,"generatedLine","generatedColumn",A.compareByGeneratedPositionsDeflated,A.getArg(i,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(d>=0){var p=this._generatedMappings[d];if(p.generatedLine===c.generatedLine){var C=A.getArg(p,"source",null);if(C!==null){C=this._sources.at(C);C=A.computeSourceURL(this.sourceRoot,C,this._sourceMapURL)}var S=A.getArg(p,"name",null);if(S!==null){S=this._names.at(S)}return{source:C,line:A.getArg(p,"originalLine",null),column:A.getArg(p,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(i){return i==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(i,c){if(!this.sourcesContent){return null}var d=this._findSourceIndex(i);if(d>=0){return this.sourcesContent[d]}var p=i;if(this.sourceRoot!=null){p=A.relative(this.sourceRoot,p)}var C;if(this.sourceRoot!=null&&(C=A.urlParse(this.sourceRoot))){var S=p.replace(/^file:\/\//,"");if(C.scheme=="file"&&this._sources.has(S)){return this.sourcesContent[this._sources.indexOf(S)]}if((!C.path||C.path=="/")&&this._sources.has("/"+p)){return this.sourcesContent[this._sources.indexOf("/"+p)]}}if(c){return null}else{throw new Error('"'+p+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(i){var c=A.getArg(i,"source");c=this._findSourceIndex(c);if(c<0){return{line:null,column:null,lastColumn:null}}var d={source:c,originalLine:A.getArg(i,"line"),originalColumn:A.getArg(i,"column")};var p=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",A.compareByOriginalPositions,A.getArg(i,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(p>=0){var C=this._originalMappings[p];if(C.source===d.source){return{line:A.getArg(C,"generatedLine",null),column:A.getArg(C,"generatedColumn",null),lastColumn:A.getArg(C,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};p=BasicSourceMapConsumer;function IndexedSourceMapConsumer(i,c){var d=i;if(typeof i==="string"){d=A.parseSourceMapInput(i)}var p=A.getArg(d,"version");var C=A.getArg(d,"sections");if(p!=this._version){throw new Error("Unsupported version: "+p)}this._sources=new S;this._names=new S;var v={line:-1,column:0};this._sections=C.map((function(i){if(i.url){throw new Error("Support for url field in sections not implemented.")}var d=A.getArg(i,"offset");var p=A.getArg(d,"line");var C=A.getArg(d,"column");if(p<v.line||p===v.line&&C<v.column){throw new Error("Section offsets must be ordered and non-overlapping.")}v=d;return{generatedOffset:{generatedLine:p+1,generatedColumn:C+1},consumer:new SourceMapConsumer(A.getArg(i,"map"),c)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var i=[];for(var c=0;c<this._sections.length;c++){for(var d=0;d<this._sections[c].consumer.sources.length;d++){i.push(this._sections[c].consumer.sources[d])}}return i}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(i){var c={generatedLine:A.getArg(i,"line"),generatedColumn:A.getArg(i,"column")};var d=C.search(c,this._sections,(function(i,c){var d=i.generatedLine-c.generatedOffset.generatedLine;if(d){return d}return i.generatedColumn-c.generatedOffset.generatedColumn}));var p=this._sections[d];if(!p){return{source:null,line:null,column:null,name:null}}return p.consumer.originalPositionFor({line:c.generatedLine-(p.generatedOffset.generatedLine-1),column:c.generatedColumn-(p.generatedOffset.generatedLine===c.generatedLine?p.generatedOffset.generatedColumn-1:0),bias:i.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(i){return i.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(i,c){for(var d=0;d<this._sections.length;d++){var p=this._sections[d];var A=p.consumer.sourceContentFor(i,true);if(A){return A}}if(c){return null}else{throw new Error('"'+i+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(i){for(var c=0;c<this._sections.length;c++){var d=this._sections[c];if(d.consumer._findSourceIndex(A.getArg(i,"source"))===-1){continue}var p=d.consumer.generatedPositionFor(i);if(p){var C={line:p.line+(d.generatedOffset.generatedLine-1),column:p.column+(d.generatedOffset.generatedLine===p.line?d.generatedOffset.generatedColumn-1:0)};return C}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(i,c){this.__generatedMappings=[];this.__originalMappings=[];for(var d=0;d<this._sections.length;d++){var p=this._sections[d];var C=p.consumer._generatedMappings;for(var S=0;S<C.length;S++){var v=C[S];var T=p.consumer._sources.at(v.source);T=A.computeSourceURL(p.consumer.sourceRoot,T,this._sourceMapURL);this._sources.add(T);T=this._sources.indexOf(T);var V=null;if(v.name){V=p.consumer._names.at(v.name);this._names.add(V);V=this._names.indexOf(V)}var Z={source:T,generatedLine:v.generatedLine+(p.generatedOffset.generatedLine-1),generatedColumn:v.generatedColumn+(p.generatedOffset.generatedLine===v.generatedLine?p.generatedOffset.generatedColumn-1:0),originalLine:v.originalLine,originalColumn:v.originalColumn,name:V};this.__generatedMappings.push(Z);if(typeof Z.originalLine==="number"){this.__originalMappings.push(Z)}}}_(this.__generatedMappings,A.compareByGeneratedPositionsDeflated);_(this.__originalMappings,A.compareByOriginalPositions)};p=IndexedSourceMapConsumer},62574:(i,c,d)=>{var p=d(27935);var A=d(62492);var C=d(76934).C;var S=d(12861).P;function SourceMapGenerator(i){if(!i){i={}}this._file=A.getArg(i,"file",null);this._sourceRoot=A.getArg(i,"sourceRoot",null);this._skipValidation=A.getArg(i,"skipValidation",false);this._sources=new C;this._names=new C;this._mappings=new S;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(i){var c=i.sourceRoot;var d=new SourceMapGenerator({file:i.file,sourceRoot:c});i.eachMapping((function(i){var p={generated:{line:i.generatedLine,column:i.generatedColumn}};if(i.source!=null){p.source=i.source;if(c!=null){p.source=A.relative(c,p.source)}p.original={line:i.originalLine,column:i.originalColumn};if(i.name!=null){p.name=i.name}}d.addMapping(p)}));i.sources.forEach((function(p){var C=p;if(c!==null){C=A.relative(c,p)}if(!d._sources.has(C)){d._sources.add(C)}var S=i.sourceContentFor(p);if(S!=null){d.setSourceContent(p,S)}}));return d};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(i){var c=A.getArg(i,"generated");var d=A.getArg(i,"original",null);var p=A.getArg(i,"source",null);var C=A.getArg(i,"name",null);if(!this._skipValidation){this._validateMapping(c,d,p,C)}if(p!=null){p=String(p);if(!this._sources.has(p)){this._sources.add(p)}}if(C!=null){C=String(C);if(!this._names.has(C)){this._names.add(C)}}this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:d!=null&&d.line,originalColumn:d!=null&&d.column,source:p,name:C})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(i,c){var d=i;if(this._sourceRoot!=null){d=A.relative(this._sourceRoot,d)}if(c!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[A.toSetString(d)]=c}else if(this._sourcesContents){delete this._sourcesContents[A.toSetString(d)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(i,c,d){var p=c;if(c==null){if(i.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}p=i.file}var S=this._sourceRoot;if(S!=null){p=A.relative(S,p)}var v=new C;var _=new C;this._mappings.unsortedForEach((function(c){if(c.source===p&&c.originalLine!=null){var C=i.originalPositionFor({line:c.originalLine,column:c.originalColumn});if(C.source!=null){c.source=C.source;if(d!=null){c.source=A.join(d,c.source)}if(S!=null){c.source=A.relative(S,c.source)}c.originalLine=C.line;c.originalColumn=C.column;if(C.name!=null){c.name=C.name}}}var T=c.source;if(T!=null&&!v.has(T)){v.add(T)}var V=c.name;if(V!=null&&!_.has(V)){_.add(V)}}),this);this._sources=v;this._names=_;i.sources.forEach((function(c){var p=i.sourceContentFor(c);if(p!=null){if(d!=null){c=A.join(d,c)}if(S!=null){c=A.relative(S,c)}this.setSourceContent(c,p)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(i,c,d,p){if(c&&typeof c.line!=="number"&&typeof c.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!c&&!d&&!p){return}else if(i&&"line"in i&&"column"in i&&c&&"line"in c&&"column"in c&&i.line>0&&i.column>=0&&c.line>0&&c.column>=0&&d){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:i,source:d,original:c,name:p}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var i=0;var c=1;var d=0;var C=0;var S=0;var v=0;var _="";var T;var V;var Z;var ee;var te=this._mappings.toArray();for(var re=0,ne=te.length;re<ne;re++){V=te[re];T="";if(V.generatedLine!==c){i=0;while(V.generatedLine!==c){T+=";";c++}}else{if(re>0){if(!A.compareByGeneratedPositionsInflated(V,te[re-1])){continue}T+=","}}T+=p.encode(V.generatedColumn-i);i=V.generatedColumn;if(V.source!=null){ee=this._sources.indexOf(V.source);T+=p.encode(ee-v);v=ee;T+=p.encode(V.originalLine-1-C);C=V.originalLine-1;T+=p.encode(V.originalColumn-d);d=V.originalColumn;if(V.name!=null){Z=this._names.indexOf(V.name);T+=p.encode(Z-S);S=Z}}_+=T}return _};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(i,c){return i.map((function(i){if(!this._sourcesContents){return null}if(c!=null){i=A.relative(c,i)}var d=A.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){i.file=this._file}if(this._sourceRoot!=null){i.sourceRoot=this._sourceRoot}if(this._sourcesContents){i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)}return i};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};c.SourceMapGenerator=SourceMapGenerator},49706:(i,c,d)=>{var p=d(62574).SourceMapGenerator;var A=d(62492);var C=/(\r?\n)/;var S=10;var v="$$$isSourceNode$$$";function SourceNode(i,c,d,p,A){this.children=[];this.sourceContents={};this.line=i==null?null:i;this.column=c==null?null:c;this.source=d==null?null:d;this.name=A==null?null:A;this[v]=true;if(p!=null)this.add(p)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(i,c,d){var p=new SourceNode;var S=i.split(C);var v=0;var shiftNextLine=function(){var i=getNextLine();var c=getNextLine()||"";return i+c;function getNextLine(){return v<S.length?S[v++]:undefined}};var _=1,T=0;var V=null;c.eachMapping((function(i){if(V!==null){if(_<i.generatedLine){addMappingWithCode(V,shiftNextLine());_++;T=0}else{var c=S[v]||"";var d=c.substr(0,i.generatedColumn-T);S[v]=c.substr(i.generatedColumn-T);T=i.generatedColumn;addMappingWithCode(V,d);V=i;return}}while(_<i.generatedLine){p.add(shiftNextLine());_++}if(T<i.generatedColumn){var c=S[v]||"";p.add(c.substr(0,i.generatedColumn));S[v]=c.substr(i.generatedColumn);T=i.generatedColumn}V=i}),this);if(v<S.length){if(V){addMappingWithCode(V,shiftNextLine())}p.add(S.splice(v).join(""))}c.sources.forEach((function(i){var C=c.sourceContentFor(i);if(C!=null){if(d!=null){i=A.join(d,i)}p.setSourceContent(i,C)}}));return p;function addMappingWithCode(i,c){if(i===null||i.source===undefined){p.add(c)}else{var C=d?A.join(d,i.source):i.source;p.add(new SourceNode(i.originalLine,i.originalColumn,C,c,i.name))}}};SourceNode.prototype.add=function SourceNode_add(i){if(Array.isArray(i)){i.forEach((function(i){this.add(i)}),this)}else if(i[v]||typeof i==="string"){if(i){this.children.push(i)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+i)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(i){if(Array.isArray(i)){for(var c=i.length-1;c>=0;c--){this.prepend(i[c])}}else if(i[v]||typeof i==="string"){this.children.unshift(i)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+i)}return this};SourceNode.prototype.walk=function SourceNode_walk(i){var c;for(var d=0,p=this.children.length;d<p;d++){c=this.children[d];if(c[v]){c.walk(i)}else{if(c!==""){i(c,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(i){var c;var d;var p=this.children.length;if(p>0){c=[];for(d=0;d<p-1;d++){c.push(this.children[d]);c.push(i)}c.push(this.children[d]);this.children=c}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(i,c){var d=this.children[this.children.length-1];if(d[v]){d.replaceRight(i,c)}else if(typeof d==="string"){this.children[this.children.length-1]=d.replace(i,c)}else{this.children.push("".replace(i,c))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(i,c){this.sourceContents[A.toSetString(i)]=c};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(i){for(var c=0,d=this.children.length;c<d;c++){if(this.children[c][v]){this.children[c].walkSourceContents(i)}}var p=Object.keys(this.sourceContents);for(var c=0,d=p.length;c<d;c++){i(A.fromSetString(p[c]),this.sourceContents[p[c]])}};SourceNode.prototype.toString=function SourceNode_toString(){var i="";this.walk((function(c){i+=c}));return i};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(i){var c={code:"",line:1,column:0};var d=new p(i);var A=false;var C=null;var v=null;var _=null;var T=null;this.walk((function(i,p){c.code+=i;if(p.source!==null&&p.line!==null&&p.column!==null){if(C!==p.source||v!==p.line||_!==p.column||T!==p.name){d.addMapping({source:p.source,original:{line:p.line,column:p.column},generated:{line:c.line,column:c.column},name:p.name})}C=p.source;v=p.line;_=p.column;T=p.name;A=true}else if(A){d.addMapping({generated:{line:c.line,column:c.column}});C=null;A=false}for(var V=0,Z=i.length;V<Z;V++){if(i.charCodeAt(V)===S){c.line++;c.column=0;if(V+1===Z){C=null;A=false}else if(A){d.addMapping({source:p.source,original:{line:p.line,column:p.column},generated:{line:c.line,column:c.column},name:p.name})}}else{c.column++}}}));this.walkSourceContents((function(i,c){d.setSourceContent(i,c)}));return{code:c.code,map:d}};c.SourceNode=SourceNode},62492:(i,c)=>{function getArg(i,c,d){if(c in i){return i[c]}else if(arguments.length===3){return d}else{throw new Error('"'+c+'" is a required argument.')}}c.getArg=getArg;var d=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var p=/^data:.+\,.+$/;function urlParse(i){var c=i.match(d);if(!c){return null}return{scheme:c[1],auth:c[2],host:c[3],port:c[4],path:c[5]}}c.urlParse=urlParse;function urlGenerate(i){var c="";if(i.scheme){c+=i.scheme+":"}c+="//";if(i.auth){c+=i.auth+"@"}if(i.host){c+=i.host}if(i.port){c+=":"+i.port}if(i.path){c+=i.path}return c}c.urlGenerate=urlGenerate;function normalize(i){var d=i;var p=urlParse(i);if(p){if(!p.path){return i}d=p.path}var A=c.isAbsolute(d);var C=d.split(/\/+/);for(var S,v=0,_=C.length-1;_>=0;_--){S=C[_];if(S==="."){C.splice(_,1)}else if(S===".."){v++}else if(v>0){if(S===""){C.splice(_+1,v);v=0}else{C.splice(_,2);v--}}}d=C.join("/");if(d===""){d=A?"/":"."}if(p){p.path=d;return urlGenerate(p)}return d}c.normalize=normalize;function join(i,c){if(i===""){i="."}if(c===""){c="."}var d=urlParse(c);var A=urlParse(i);if(A){i=A.path||"/"}if(d&&!d.scheme){if(A){d.scheme=A.scheme}return urlGenerate(d)}if(d||c.match(p)){return c}if(A&&!A.host&&!A.path){A.host=c;return urlGenerate(A)}var C=c.charAt(0)==="/"?c:normalize(i.replace(/\/+$/,"")+"/"+c);if(A){A.path=C;return urlGenerate(A)}return C}c.join=join;c.isAbsolute=function(i){return i.charAt(0)==="/"||d.test(i)};function relative(i,c){if(i===""){i="."}i=i.replace(/\/$/,"");var d=0;while(c.indexOf(i+"/")!==0){var p=i.lastIndexOf("/");if(p<0){return c}i=i.slice(0,p);if(i.match(/^([^\/]+:\/)?\/*$/)){return c}++d}return Array(d+1).join("../")+c.substr(i.length+1)}c.relative=relative;var A=function(){var i=Object.create(null);return!("__proto__"in i)}();function identity(i){return i}function toSetString(i){if(isProtoString(i)){return"$"+i}return i}c.toSetString=A?identity:toSetString;function fromSetString(i){if(isProtoString(i)){return i.slice(1)}return i}c.fromSetString=A?identity:fromSetString;function isProtoString(i){if(!i){return false}var c=i.length;if(c<9){return false}if(i.charCodeAt(c-1)!==95||i.charCodeAt(c-2)!==95||i.charCodeAt(c-3)!==111||i.charCodeAt(c-4)!==116||i.charCodeAt(c-5)!==111||i.charCodeAt(c-6)!==114||i.charCodeAt(c-7)!==112||i.charCodeAt(c-8)!==95||i.charCodeAt(c-9)!==95){return false}for(var d=c-10;d>=0;d--){if(i.charCodeAt(d)!==36){return false}}return true}function compareByOriginalPositions(i,c,d){var p=strcmp(i.source,c.source);if(p!==0){return p}p=i.originalLine-c.originalLine;if(p!==0){return p}p=i.originalColumn-c.originalColumn;if(p!==0||d){return p}p=i.generatedColumn-c.generatedColumn;if(p!==0){return p}p=i.generatedLine-c.generatedLine;if(p!==0){return p}return strcmp(i.name,c.name)}c.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(i,c,d){var p=i.generatedLine-c.generatedLine;if(p!==0){return p}p=i.generatedColumn-c.generatedColumn;if(p!==0||d){return p}p=strcmp(i.source,c.source);if(p!==0){return p}p=i.originalLine-c.originalLine;if(p!==0){return p}p=i.originalColumn-c.originalColumn;if(p!==0){return p}return strcmp(i.name,c.name)}c.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(i,c){if(i===c){return 0}if(i===null){return 1}if(c===null){return-1}if(i>c){return 1}return-1}function compareByGeneratedPositionsInflated(i,c){var d=i.generatedLine-c.generatedLine;if(d!==0){return d}d=i.generatedColumn-c.generatedColumn;if(d!==0){return d}d=strcmp(i.source,c.source);if(d!==0){return d}d=i.originalLine-c.originalLine;if(d!==0){return d}d=i.originalColumn-c.originalColumn;if(d!==0){return d}return strcmp(i.name,c.name)}c.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(i){return JSON.parse(i.replace(/^\)]}'[^\n]*\n/,""))}c.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(i,c,d){c=c||"";if(i){if(i[i.length-1]!=="/"&&c[0]!=="/"){i+="/"}c=i+c}if(d){var p=urlParse(d);if(!p){throw new Error("sourceMapURL could not be parsed")}if(p.path){var A=p.path.lastIndexOf("/");if(A>=0){p.path=p.path.substring(0,A+1)}}c=join(urlGenerate(p),c)}return normalize(c)}c.computeSourceURL=computeSourceURL},62618:(i,c,d)=>{c.SourceMapGenerator=d(62574).SourceMapGenerator;c.SourceMapConsumer=d(79907).SourceMapConsumer;c.SourceNode=d(49706).SourceNode},36204:(i,c,d)=>{const{EventEmitter:p}=d(24434);const A=new Error("Stream was destroyed");const C=new Error("Premature close");const S=d(5506);const v=d(83867);const _=d(97934);const T=(1<<29)-1;const V=1;const Z=2;const ee=4;const te=8;const re=T^V;const ne=T^Z;const ie=1<<4;const se=2<<4;const oe=4<<4;const ae=8<<4;const le=16<<4;const ce=32<<4;const ue=64<<4;const de=128<<4;const fe=256<<4;const pe=512<<4;const Ae=1024<<4;const he=2048<<4;const ge=4096<<4;const me=8192<<4;const ye=le|ce;const Ee=ie|ge;const be=oe|ie;const Ce=fe|ae;const we=le|me;const Ie=T^ie;const Se=T^oe;const ve=T^(oe|ge);const Be=T^ge;const Re=T^le;const _e=T^(ae|pe);const Ne=T^ue;const Qe=T^ye;const Te=T^he;const ke=T^se;const xe=T^me;const Pe=T^we;const Oe=1<<18;const De=2<<18;const Le=4<<18;const Me=8<<18;const Fe=16<<18;const Ue=32<<18;const He=64<<18;const je=128<<18;const qe=256<<18;const Ge=512<<18;const ze=1024<<18;const Ve=T^(Oe|qe);const We=T^Le;const $e=T^Ge;const Ye=T^Fe;const Je=T^Me;const Ke=T^je;const Xe=T^De;const Ze=T^ze;const at=ie|Oe;const ct=T^at;const ft=Ae|Ue;const pt=ee|te|Z;const At=pt|V;const mt=pt|ft;const yt=We&Se;const Et=je|he;const bt=Et&ct;const Ct=At|bt;const wt=At|ue|Ae;const It=At|Ae|ae;const St=At|ue|ae;const vt=At|fe|ae|pe;const Bt=At|ie|ue|Ae|ge|me;const Rt=pt|ue|Ae;const _t=se|At|he|oe;const Nt=At|Ge|Ue;const Qt=Me|Fe;const Tt=Me|Oe;const kt=Me|Fe|At|Oe;const xt=At|Oe|Me|ze;const Pt=Le|Oe;const Ot=Oe|qe;const Dt=At|Ge|Tt|Ue;const Lt=Fe|pt|Ge|Ue;const Mt=De|At|je|Le;const Ft=Symbol.asyncIterator||Symbol("asyncIterator");class WritableState{constructor(i,{highWaterMark:c=16384,map:d=null,mapWritable:p,byteLength:A,byteLengthWritable:C}={}){this.stream=i;this.queue=new v;this.highWaterMark=c;this.buffered=0;this.error=null;this.pipeline=null;this.drains=null;this.byteLength=C||A||defaultByteLength;this.map=p||d;this.afterWrite=afterWrite.bind(this);this.afterUpdateNextTick=updateWriteNT.bind(this)}get ended(){return(this.stream._duplexState&Ue)!==0}push(i){if(this.map!==null)i=this.map(i);this.buffered+=this.byteLength(i);this.queue.push(i);if(this.buffered<this.highWaterMark){this.stream._duplexState|=Me;return true}this.stream._duplexState|=Qt;return false}shift(){const i=this.queue.shift();this.buffered-=this.byteLength(i);if(this.buffered===0)this.stream._duplexState&=Je;return i}end(i){if(typeof i==="function")this.stream.once("finish",i);else if(i!==undefined&&i!==null)this.push(i);this.stream._duplexState=(this.stream._duplexState|Ge)&We}autoBatch(i,c){const d=[];const p=this.stream;d.push(i);while((p._duplexState&xt)===Tt){d.push(p._writableState.shift())}if((p._duplexState&At)!==0)return c(null);p._writev(d,c)}update(){const i=this.stream;i._duplexState|=De;do{while((i._duplexState&xt)===Me){const c=this.shift();i._duplexState|=Ot;i._write(c,this.afterWrite)}if((i._duplexState&Pt)===0)this.updateNonPrimary()}while(this.continueUpdate()===true);i._duplexState&=Xe}updateNonPrimary(){const i=this.stream;if((i._duplexState&Dt)===Ge){i._duplexState=(i._duplexState|Oe)&$e;i._final(afterFinal.bind(this));return}if((i._duplexState&pt)===ee){if((i._duplexState&Et)===0){i._duplexState|=at;i._destroy(afterDestroy.bind(this))}return}if((i._duplexState&Ct)===V){i._duplexState=(i._duplexState|at)&re;i._open(afterOpen.bind(this))}}continueUpdate(){if((this.stream._duplexState&je)===0)return false;this.stream._duplexState&=Ke;return true}updateCallback(){if((this.stream._duplexState&Mt)===Le)this.update();else this.updateNextTick()}updateNextTick(){if((this.stream._duplexState&je)!==0)return;this.stream._duplexState|=je;if((this.stream._duplexState&De)===0)S(this.afterUpdateNextTick)}}class ReadableState{constructor(i,{highWaterMark:c=16384,map:d=null,mapReadable:p,byteLength:A,byteLengthReadable:C}={}){this.stream=i;this.queue=new v;this.highWaterMark=c===0?1:c;this.buffered=0;this.readAhead=c>0;this.error=null;this.pipeline=null;this.byteLength=C||A||defaultByteLength;this.map=p||d;this.pipeTo=null;this.afterRead=afterRead.bind(this);this.afterUpdateNextTick=updateReadNT.bind(this)}get ended(){return(this.stream._duplexState&Ae)!==0}pipe(i,c){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof c!=="function")c=null;this.stream._duplexState|=ce;this.pipeTo=i;this.pipeline=new Pipeline(this.stream,i,c);if(c)this.stream.on("error",noop);if(isStreamx(i)){i._writableState.pipeline=this.pipeline;if(c)i.on("error",noop);i.on("finish",this.pipeline.finished.bind(this.pipeline))}else{const c=this.pipeline.done.bind(this.pipeline,i);const d=this.pipeline.done.bind(this.pipeline,i,null);i.on("error",c);i.on("close",d);i.on("finish",this.pipeline.finished.bind(this.pipeline))}i.on("drain",afterDrain.bind(this));this.stream.emit("piping",i);i.emit("pipe",this.stream)}push(i){const c=this.stream;if(i===null){this.highWaterMark=0;c._duplexState=(c._duplexState|ue)&ve;return false}if(this.map!==null){i=this.map(i);if(i===null)return this.buffered<this.highWaterMark}this.buffered+=this.byteLength(i);this.queue.push(i);c._duplexState=(c._duplexState|ae)&Be;return this.buffered<this.highWaterMark}shift(){const i=this.queue.shift();this.buffered-=this.byteLength(i);if(this.buffered===0)this.stream._duplexState&=_e;return i}unshift(i){const c=[this.map!==null?this.map(i):i];while(this.buffered>0)c.push(this.shift());for(let i=0;i<c.length-1;i++){const d=c[i];this.buffered+=this.byteLength(d);this.queue.push(d)}this.push(c[c.length-1])}read(){const i=this.stream;if((i._duplexState&It)===ae){const c=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(c)===false)i._duplexState&=Qe;if((i._duplexState&de)!==0)i.emit("data",c);return c}if(this.readAhead===false){i._duplexState|=me;this.updateNextTick()}return null}drain(){const i=this.stream;while((i._duplexState&It)===ae&&(i._duplexState&ye)!==0){const c=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(c)===false)i._duplexState&=Qe;if((i._duplexState&de)!==0)i.emit("data",c)}}update(){const i=this.stream;i._duplexState|=se;do{this.drain();while(this.buffered<this.highWaterMark&&(i._duplexState&Bt)===me){i._duplexState|=Ee;i._read(this.afterRead);this.drain()}if((i._duplexState&vt)===Ce){i._duplexState|=pe;i.emit("readable")}if((i._duplexState&be)===0)this.updateNonPrimary()}while(this.continueUpdate()===true);i._duplexState&=ke}updateNonPrimary(){const i=this.stream;if((i._duplexState&St)===ue){i._duplexState=(i._duplexState|Ae)&Ne;i.emit("end");if((i._duplexState&mt)===ft)i._duplexState|=ee;if(this.pipeTo!==null)this.pipeTo.end()}if((i._duplexState&pt)===ee){if((i._duplexState&Et)===0){i._duplexState|=at;i._destroy(afterDestroy.bind(this))}return}if((i._duplexState&Ct)===V){i._duplexState=(i._duplexState|at)&re;i._open(afterOpen.bind(this))}}continueUpdate(){if((this.stream._duplexState&he)===0)return false;this.stream._duplexState&=Te;return true}updateCallback(){if((this.stream._duplexState&_t)===oe)this.update();else this.updateNextTick()}updateNextTick(){if((this.stream._duplexState&he)!==0)return;this.stream._duplexState|=he;if((this.stream._duplexState&se)===0)S(this.afterUpdateNextTick)}}class TransformState{constructor(i){this.data=null;this.afterTransform=afterTransform.bind(i);this.afterFinal=null}}class Pipeline{constructor(i,c,d){this.from=i;this.to=c;this.afterPipe=d;this.error=null;this.pipeToFinished=false}finished(){this.pipeToFinished=true}done(i,c){if(c)this.error=c;if(i===this.to){this.to=null;if(this.from!==null){if((this.from._duplexState&Ae)===0||!this.pipeToFinished){this.from.destroy(this.error||new Error("Writable stream closed prematurely"))}return}}if(i===this.from){this.from=null;if(this.to!==null){if((i._duplexState&Ae)===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|=ce;this.updateCallback()}function afterFinal(i){const c=this.stream;if(i)c.destroy(i);if((c._duplexState&pt)===0){c._duplexState|=Ue;c.emit("finish")}if((c._duplexState&mt)===ft){c._duplexState|=ee}c._duplexState&=Ve;if((c._duplexState&De)===0)this.update();else this.updateNextTick()}function afterDestroy(i){const c=this.stream;if(!i&&this.error!==A)i=this.error;if(i)c.emit("error",i);c._duplexState|=te;c.emit("close");const d=c._readableState;const p=c._writableState;if(d!==null&&d.pipeline!==null)d.pipeline.done(c,i);if(p!==null){while(p.drains!==null&&p.drains.length>0)p.drains.shift().resolve(false);if(p.pipeline!==null)p.pipeline.done(c,i)}}function afterWrite(i){const c=this.stream;if(i)c.destroy(i);c._duplexState&=Ve;if(this.drains!==null)tickDrains(this.drains);if((c._duplexState&kt)===Fe){c._duplexState&=Ye;if((c._duplexState&He)===He){c.emit("drain")}}this.updateCallback()}function afterRead(i){if(i)this.stream.destroy(i);this.stream._duplexState&=Ie;if(this.readAhead===false&&(this.stream._duplexState&le)===0)this.stream._duplexState&=xe;this.updateCallback()}function updateReadNT(){if((this.stream._duplexState&se)===0){this.stream._duplexState&=Te;this.update()}}function updateWriteNT(){if((this.stream._duplexState&De)===0){this.stream._duplexState&=Ke;this.update()}}function tickDrains(i){for(let c=0;c<i.length;c++){if(--i[c].writes===0){i.shift().resolve(true);c--}}}function afterOpen(i){const c=this.stream;if(i)c.destroy(i);if((c._duplexState&ee)===0){if((c._duplexState&wt)===0)c._duplexState|=oe;if((c._duplexState&Nt)===0)c._duplexState|=Le;c.emit("open")}c._duplexState&=ct;if(c._writableState!==null){c._writableState.updateCallback()}if(c._readableState!==null){c._readableState.updateCallback()}}function afterTransform(i,c){if(c!==undefined&&c!==null)this.push(c);this._writableState.afterWrite(i)}function newListener(i){if(this._readableState!==null){if(i==="data"){this._duplexState|=de|we;this._readableState.updateNextTick()}if(i==="readable"){this._duplexState|=fe;this._readableState.updateNextTick()}}if(this._writableState!==null){if(i==="drain"){this._duplexState|=He;this._writableState.updateNextTick()}}}class Stream extends p{constructor(i){super();this._duplexState=0;this._readableState=null;this._writableState=null;if(i){if(i.open)this._open=i.open;if(i.destroy)this._destroy=i.destroy;if(i.predestroy)this._predestroy=i.predestroy;if(i.signal){i.signal.addEventListener("abort",abort.bind(this))}}this.on("newListener",newListener)}_open(i){i(null)}_destroy(i){i(null)}_predestroy(){}get readable(){return this._readableState!==null?true:undefined}get writable(){return this._writableState!==null?true:undefined}get destroyed(){return(this._duplexState&te)!==0}get destroying(){return(this._duplexState&pt)!==0}destroy(i){if((this._duplexState&pt)===0){if(!i)i=A;this._duplexState=(this._duplexState|ee)&yt;if(this._readableState!==null){this._readableState.highWaterMark=0;this._readableState.error=i}if(this._writableState!==null){this._writableState.highWaterMark=0;this._writableState.error=i}this._duplexState|=Z;this._predestroy();this._duplexState&=ne;if(this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class Readable extends Stream{constructor(i){super(i);this._duplexState|=V|Ue|me;this._readableState=new ReadableState(this,i);if(i){if(this._readableState.readAhead===false)this._duplexState&=xe;if(i.read)this._read=i.read;if(i.eagerOpen)this._readableState.updateNextTick();if(i.encoding)this.setEncoding(i.encoding)}}setEncoding(i){const c=new _(i);const d=this._readableState.map||echo;this._readableState.map=mapOrSkip;return this;function mapOrSkip(i){const p=c.push(i);return p===""?null:d(p)}}_read(i){i(null)}pipe(i,c){this._readableState.updateNextTick();this._readableState.pipe(i,c);return i}read(){this._readableState.updateNextTick();return this._readableState.read()}push(i){this._readableState.updateNextTick();return this._readableState.push(i)}unshift(i){this._readableState.updateNextTick();return this._readableState.unshift(i)}resume(){this._duplexState|=we;this._readableState.updateNextTick();return this}pause(){this._duplexState&=this._readableState.readAhead===false?Pe:Re;return this}static _fromAsyncIterator(i,c){let d;const p=new Readable({...c,read(c){i.next().then(push).then(c.bind(null,null)).catch(c)},predestroy(){d=i.return()},destroy(i){if(!d)return i(null);d.then(i.bind(null,null)).catch(i)}});return p;function push(i){if(i.done)p.push(null);else p.push(i.value)}}static from(i,c){if(isReadStreamx(i))return i;if(i[Ft])return this._fromAsyncIterator(i[Ft](),c);if(!Array.isArray(i))i=i===undefined?[]:[i];let d=0;return new Readable({...c,read(c){this.push(d===i.length?null:i[d++]);c(null)}})}static isBackpressured(i){return(i._duplexState&Rt)!==0||i._readableState.buffered>=i._readableState.highWaterMark}static isPaused(i){return(i._duplexState&le)===0}[Ft](){const i=this;let c=null;let d=null;let p=null;this.on("error",(i=>{c=i}));this.on("readable",onreadable);this.on("close",onclose);return{[Ft](){return this},next(){return new Promise((function(c,A){d=c;p=A;const C=i.read();if(C!==null)ondata(C);else if((i._duplexState&te)!==0)ondata(null)}))},return(){return destroy(null)},throw(i){return destroy(i)}};function onreadable(){if(d!==null)ondata(i.read())}function onclose(){if(d!==null)ondata(null)}function ondata(C){if(p===null)return;if(c)p(c);else if(C===null&&(i._duplexState&Ae)===0)p(A);else d({value:C,done:C===null});p=d=null}function destroy(c){i.destroy(c);return new Promise(((d,p)=>{if(i._duplexState&te)return d({value:undefined,done:true});i.once("close",(function(){if(c)p(c);else d({value:undefined,done:true})}))}))}}}class Writable extends Stream{constructor(i){super(i);this._duplexState|=V|Ae;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final;if(i.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=ze}uncork(){this._duplexState&=Ze;this._writableState.updateNextTick()}_writev(i,c){c(null)}_write(i,c){this._writableState.autoBatch(i,c)}_final(i){i(null)}static isBackpressured(i){return(i._duplexState&Lt)!==0}static drained(i){if(i.destroyed)return Promise.resolve(false);const c=i._writableState;const d=isWritev(i)?Math.min(1,c.queue.length):c.queue.length;const p=d+(i._duplexState&qe?1:0);if(p===0)return Promise.resolve(true);if(c.drains===null)c.drains=[];return new Promise((i=>{c.drains.push({writes:p,resolve:i})}))}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Duplex extends Readable{constructor(i){super(i);this._duplexState=V|this._duplexState&me;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final}}cork(){this._duplexState|=ze}uncork(){this._duplexState&=Ze;this._writableState.updateNextTick()}_writev(i,c){c(null)}_write(i,c){this._writableState.autoBatch(i,c)}_final(i){i(null)}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Transform extends Duplex{constructor(i){super(i);this._transformState=new TransformState(this);if(i){if(i.transform)this._transform=i.transform;if(i.flush)this._flush=i.flush}}_write(i,c){if(this._readableState.buffered>=this._readableState.highWaterMark){this._transformState.data=i}else{this._transform(i,this._transformState.afterTransform)}}_read(i){if(this._transformState.data!==null){const c=this._transformState.data;this._transformState.data=null;i(null);this._transform(c,this._transformState.afterTransform)}else{i(null)}}destroy(i){super.destroy(i);if(this._transformState.data!==null){this._transformState.data=null;this._transformState.afterTransform()}}_transform(i,c){c(null,i)}_flush(i){i(null)}_final(i){this._transformState.afterFinal=i;this._flush(transformAfterFlush.bind(this))}}class PassThrough extends Transform{}function transformAfterFlush(i,c){const d=this._transformState.afterFinal;if(i)return d(i);if(c!==null&&c!==undefined)this.push(c);this.push(null);d(null)}function pipelinePromise(...i){return new Promise(((c,d)=>pipeline(...i,(i=>{if(i)return d(i);c()}))))}function pipeline(i,...c){const d=Array.isArray(i)?[...i,...c]:[i,...c];const p=d.length&&typeof d[d.length-1]==="function"?d.pop():null;if(d.length<2)throw new Error("Pipeline requires at least 2 streams");let A=d[0];let S=null;let v=null;for(let i=1;i<d.length;i++){S=d[i];if(isStreamx(A)){A.pipe(S,onerror)}else{errorHandle(A,true,i>1,onerror);A.pipe(S)}A=S}if(p){let i=false;const c=isStreamx(S)||!!(S._writableState&&S._writableState.autoDestroy);S.on("error",(i=>{if(v===null)v=i}));S.on("finish",(()=>{i=true;if(!c)p(v)}));if(c){S.on("close",(()=>p(v||(i?null:C))))}}return S;function errorHandle(i,c,d,p){i.on("error",p);i.on("close",onclose);function onclose(){if(c&&i._readableState&&!i._readableState.ended)return p(C);if(d&&i._writableState&&!i._writableState.ended)return p(C)}}function onerror(i){if(!i||v)return;v=i;for(const c of d){c.destroy(i)}}}function echo(i){return i}function isStream(i){return!!i._readableState||!!i._writableState}function isStreamx(i){return typeof i._duplexState==="number"&&isStream(i)}function getStreamError(i){const c=i._readableState&&i._readableState.error||i._writableState&&i._writableState.error;return c===A?null:c}function isReadStreamx(i){return isStreamx(i)&&i.readable}function isTypedArray(i){return typeof i==="object"&&i!==null&&typeof i.byteLength==="number"}function defaultByteLength(i){return isTypedArray(i)?i.byteLength:1024}function noop(){}function abort(){this.destroy(new Error("Stream aborted."))}function isWritev(i){return i._writev!==Writable.prototype._writev&&i._writev!==Duplex.prototype._writev}i.exports={pipeline:pipeline,pipelinePromise:pipelinePromise,isStream:isStream,isStreamx:isStreamx,getStreamError:getStreamError,Stream:Stream,Writable:Writable,Readable:Readable,Duplex:Duplex,Transform:Transform,PassThrough:PassThrough}},21450:(i,c,d)=>{"use strict";const p=d(70857);const A=d(52018);const C=d(83813);const{env:S}=process;let v;if(C("no-color")||C("no-colors")||C("color=false")||C("color=never")){v=0}else if(C("color")||C("colors")||C("color=true")||C("color=always")){v=1}if("FORCE_COLOR"in S){if(S.FORCE_COLOR==="true"){v=1}else if(S.FORCE_COLOR==="false"){v=0}else{v=S.FORCE_COLOR.length===0?1:Math.min(parseInt(S.FORCE_COLOR,10),3)}}function translateLevel(i){if(i===0){return false}return{level:i,hasBasic:true,has256:i>=2,has16m:i>=3}}function supportsColor(i,c){if(v===0){return 0}if(C("color=16m")||C("color=full")||C("color=truecolor")){return 3}if(C("color=256")){return 2}if(i&&!c&&v===undefined){return 0}const d=v||0;if(S.TERM==="dumb"){return d}if(process.platform==="win32"){const i=p.release().split(".");if(Number(i[0])>=10&&Number(i[2])>=10586){return Number(i[2])>=14931?3:2}return 1}if("CI"in S){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((i=>i in S))||S.CI_NAME==="codeship"){return 1}return d}if("TEAMCITY_VERSION"in S){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(S.TEAMCITY_VERSION)?1:0}if(S.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in S){const i=parseInt((S.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(S.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(S.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(S.TERM)){return 1}if("COLORTERM"in S){return 1}return d}function getSupportLevel(i){const c=supportsColor(i,i&&i.isTTY);return translateLevel(c)}i.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,A.isatty(1))),stderr:translateLevel(supportsColor(true,A.isatty(2)))}},20775:(i,c,d)=>{const p={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{i.exports=d(79896).constants||p}catch{i.exports=p}},35763:(i,c,d)=>{const{Writable:p,Readable:A,getStreamError:C}=d(36204);const S=d(83867);const v=d(73057);const _=d(88428);const T=v.alloc(0);class BufferList{constructor(){this.buffered=0;this.shifted=0;this.queue=new S;this._offset=0}push(i){this.buffered+=i.byteLength;this.queue.push(i)}shiftFirst(i){return this._buffered===0?null:this._next(i)}shift(i){if(i>this.buffered)return null;if(i===0)return T;let c=this._next(i);if(i===c.byteLength)return c;const d=[c];while((i-=c.byteLength)>0){c=this._next(i);d.push(c)}return v.concat(d)}_next(i){const c=this.queue.peek();const d=c.byteLength-this._offset;if(i>=d){const i=this._offset?c.subarray(this._offset,c.byteLength):c;this.queue.shift();this._offset=0;this.buffered-=d;this.shifted+=d;return i}this.buffered-=i;this.shifted+=i;return c.subarray(this._offset,this._offset+=i)}}class Source extends A{constructor(i,c,d){super();this.header=c;this.offset=d;this._parent=i}_read(i){if(this.header.size===0){this.push(null)}if(this._parent._stream===this){this._parent._update()}i(null)}_predestroy(){this._parent.destroy(C(this))}_detach(){if(this._parent._stream===this){this._parent._stream=null;this._parent._missing=overflow(this.header.size);this._parent._update()}}_destroy(i){this._detach();i(null)}}class Extract extends p{constructor(i){super(i);if(!i)i={};this._buffer=new BufferList;this._offset=0;this._header=null;this._stream=null;this._missing=0;this._longHeader=false;this._callback=noop;this._locked=false;this._finished=false;this._pax=null;this._paxGlobal=null;this._gnuLongPath=null;this._gnuLongLinkPath=null;this._filenameEncoding=i.filenameEncoding||"utf-8";this._allowUnknownFormat=!!i.allowUnknownFormat;this._unlockBound=this._unlock.bind(this)}_unlock(i){this._locked=false;if(i){this.destroy(i);this._continueWrite(i);return}this._update()}_consumeHeader(){if(this._locked)return false;this._offset=this._buffer.shifted;try{this._header=_.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(i){this._continueWrite(i);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(i){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=_.decodeLongPath(i,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=_.decodeLongPath(i,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=_.decodePax(i);break;case"pax-header":this._pax=this._paxGlobal===null?_.decodePax(i):Object.assign({},this._paxGlobal,_.decodePax(i));break}}_consumeLongHeader(){this._longHeader=false;this._missing=overflow(this._header.size);const i=this._buffer.shift(this._header.size);try{this._decodeLongHeader(i)}catch(i){this._continueWrite(i);return false}return true}_consumeStream(){const i=this._buffer.shiftFirst(this._missing);if(i===null)return false;this._missing-=i.byteLength;const c=this._stream.push(i);if(this._missing===0){this._stream.push(null);if(c)this._stream._detach();return c&&this._locked===false}return c}_createStream(){return new Source(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===false)return;continue}if(this._longHeader===true){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===false)return false;continue}const i=this._buffer.shiftFirst(this._missing);if(i!==null)this._missing-=i.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===false)return}this._continueWrite(null)}_continueWrite(i){const c=this._callback;this._callback=noop;c(i)}_write(i,c){this._callback=c;this._buffer.push(i);this._update()}_final(i){this._finished=this._missing===0&&this._buffer.buffered===0;i(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(i){if(this._stream)this._stream.destroy(C(this));i(null)}[Symbol.asyncIterator](){let i=null;let c=null;let d=null;let p=null;let A=null;const C=this;this.on("entry",onentry);this.on("error",(c=>{i=c}));this.on("close",onclose);return{[Symbol.asyncIterator](){return this},next(){return new Promise(onnext)},return(){return destroy(null)},throw(i){return destroy(i)}};function consumeCallback(i){if(!A)return;const c=A;A=null;c(i)}function onnext(A,S){if(i){return S(i)}if(p){A({value:p,done:false});p=null;return}c=A;d=S;consumeCallback(null);if(C._finished&&c){c({value:undefined,done:true});c=d=null}}function onentry(i,C,S){A=S;C.on("error",noop);if(c){c({value:C,done:false});c=d=null}else{p=C}}function onclose(){consumeCallback(i);if(!c)return;if(i)d(i);else c({value:undefined,done:true});c=d=null}function destroy(i){C.destroy(i);consumeCallback(i);return new Promise(((c,d)=>{if(C.destroyed)return c({value:undefined,done:true});C.once("close",(function(){if(i)d(i);else c({value:undefined,done:true})}))}))}}}i.exports=function extract(i){return new Extract(i)};function noop(){}function overflow(i){i&=511;return i&&512-i}},88428:(i,c,d)=>{const p=d(73057);const A="0000000000000000000";const C="7777777777777777777";const S="0".charCodeAt(0);const v=p.from([117,115,116,97,114,0]);const _=p.from([S,S]);const T=p.from([117,115,116,97,114,32]);const V=p.from([32,0]);const Z=4095;const ee=257;const te=263;c.decodeLongPath=function decodeLongPath(i,c){return decodeStr(i,0,i.length,c)};c.encodePax=function encodePax(i){let c="";if(i.name)c+=addLength(" path="+i.name+"\n");if(i.linkname)c+=addLength(" linkpath="+i.linkname+"\n");const d=i.pax;if(d){for(const i in d){c+=addLength(" "+i+"="+d[i]+"\n")}}return p.from(c)};c.decodePax=function decodePax(i){const c={};while(i.length){let d=0;while(d<i.length&&i[d]!==32)d++;const A=parseInt(p.toString(i.subarray(0,d)),10);if(!A)return c;const C=p.toString(i.subarray(d+1,A-1));const S=C.indexOf("=");if(S===-1)return c;c[C.slice(0,S)]=C.slice(S+1);i=i.subarray(A)}return c};c.encode=function encode(i){const c=p.alloc(512);let d=i.name;let A="";if(i.typeflag===5&&d[d.length-1]!=="/")d+="/";if(p.byteLength(d)!==d.length)return null;while(p.byteLength(d)>100){const i=d.indexOf("/");if(i===-1)return null;A+=A?"/"+d.slice(0,i):d.slice(0,i);d=d.slice(i+1)}if(p.byteLength(d)>100||p.byteLength(A)>155)return null;if(i.linkname&&p.byteLength(i.linkname)>100)return null;p.write(c,d);p.write(c,encodeOct(i.mode&Z,6),100);p.write(c,encodeOct(i.uid,6),108);p.write(c,encodeOct(i.gid,6),116);encodeSize(i.size,c,124);p.write(c,encodeOct(i.mtime.getTime()/1e3|0,11),136);c[156]=S+toTypeflag(i.type);if(i.linkname)p.write(c,i.linkname,157);p.copy(v,c,ee);p.copy(_,c,te);if(i.uname)p.write(c,i.uname,265);if(i.gname)p.write(c,i.gname,297);p.write(c,encodeOct(i.devmajor||0,6),329);p.write(c,encodeOct(i.devminor||0,6),337);if(A)p.write(c,A,345);p.write(c,encodeOct(cksum(c),6),148);return c};c.decode=function decode(i,c,d){let p=i[156]===0?0:i[156]-S;let A=decodeStr(i,0,100,c);const C=decodeOct(i,100,8);const v=decodeOct(i,108,8);const _=decodeOct(i,116,8);const T=decodeOct(i,124,12);const V=decodeOct(i,136,12);const Z=toType(p);const ee=i[157]===0?null:decodeStr(i,157,100,c);const te=decodeStr(i,265,32);const re=decodeStr(i,297,32);const ne=decodeOct(i,329,8);const ie=decodeOct(i,337,8);const se=cksum(i);if(se===8*32)return null;if(se!==decodeOct(i,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(isUSTAR(i)){if(i[345])A=decodeStr(i,345,155,c)+"/"+A}else if(isGNU(i)){}else{if(!d){throw new Error("Invalid tar header: unknown format.")}}if(p===0&&A&&A[A.length-1]==="/")p=5;return{name:A,mode:C,uid:v,gid:_,size:T,mtime:new Date(1e3*V),type:Z,linkname:ee,uname:te,gname:re,devmajor:ne,devminor:ie,pax:null}};function isUSTAR(i){return p.equals(v,i.subarray(ee,ee+6))}function isGNU(i){return p.equals(T,i.subarray(ee,ee+6))&&p.equals(V,i.subarray(te,te+2))}function clamp(i,c,d){if(typeof i!=="number")return d;i=~~i;if(i>=c)return c;if(i>=0)return i;i+=c;if(i>=0)return i;return 0}function toType(i){switch(i){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function toTypeflag(i){switch(i){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function indexOf(i,c,d,p){for(;d<p;d++){if(i[d]===c)return d}return p}function cksum(i){let c=8*32;for(let d=0;d<148;d++)c+=i[d];for(let d=156;d<512;d++)c+=i[d];return c}function encodeOct(i,c){i=i.toString(8);if(i.length>c)return C.slice(0,c)+" ";return A.slice(0,c-i.length)+i+" "}function encodeSizeBin(i,c,d){c[d]=128;for(let p=11;p>0;p--){c[d+p]=i&255;i=Math.floor(i/256)}}function encodeSize(i,c,d){if(i.toString(8).length>11){encodeSizeBin(i,c,d)}else{p.write(c,encodeOct(i,11),d)}}function parse256(i){let c;if(i[0]===128)c=true;else if(i[0]===255)c=false;else return null;const d=[];let p;for(p=i.length-1;p>0;p--){const A=i[p];if(c)d.push(A);else d.push(255-A)}let A=0;const C=d.length;for(p=0;p<C;p++){A+=d[p]*Math.pow(256,p)}return c?A:-1*A}function decodeOct(i,c,d){i=i.subarray(c,c+d);c=0;if(i[c]&128){return parse256(i)}else{while(c<i.length&&i[c]===32)c++;const d=clamp(indexOf(i,32,c,i.length),i.length,i.length);while(c<d&&i[c]===0)c++;if(d===c)return 0;return parseInt(p.toString(i.subarray(c,d)),8)}}function decodeStr(i,c,d,A){return p.toString(i.subarray(c,indexOf(i,0,c,c+d)),A)}function addLength(i){const c=p.byteLength(i);let d=Math.floor(Math.log(c)/Math.log(10))+1;if(c+d>=Math.pow(10,d))d++;return c+d+i}},56118:(i,c,d)=>{c.extract=d(35763);c.pack=d(80861)},80861:(i,c,d)=>{const{Readable:p,Writable:A,getStreamError:C}=d(36204);const S=d(73057);const v=d(20775);const _=d(88428);const T=493;const V=420;const Z=S.alloc(1024);class Sink extends A{constructor(i,c,d){super({mapWritable:mapWritable,eagerOpen:true});this.written=0;this.header=c;this._callback=d;this._linkname=null;this._isLinkname=c.type==="symlink"&&!c.linkname;this._isVoid=c.type!=="file"&&c.type!=="contiguous-file";this._finished=false;this._pack=i;this._openCallback=null;if(this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open(i){this._openCallback=i;if(this._pack._stream===this)this._continueOpen()}_continuePack(i){if(this._callback===null)return;const c=this._callback;this._callback=null;c(i)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;const i=this._openCallback;this._openCallback=null;if(i===null)return;if(this._pack.destroying)return i(new Error("pack stream destroyed"));if(this._pack._finalized)return i(new Error("pack stream is already finalized"));this._pack._stream=this;if(!this._isLinkname){this._pack._encode(this.header)}if(this._isVoid){this._finish();this._continuePack(null)}i(null)}_write(i,c){if(this._isLinkname){this._linkname=this._linkname?S.concat([this._linkname,i]):i;return c(null)}if(this._isVoid){if(i.byteLength>0){return c(new Error("No body allowed for this entry"))}return c()}this.written+=i.byteLength;if(this._pack.push(i))return c();this._pack._drain=c}_finish(){if(this._finished)return;this._finished=true;if(this._isLinkname){this.header.linkname=this._linkname?S.toString(this._linkname,"utf-8"):"";this._pack._encode(this.header)}overflow(this._pack,this.header.size);this._pack._done(this)}_final(i){if(this.written!==this.header.size){return i(new Error("Size mismatch"))}this._finish();i(null)}_getError(){return C(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(i){this._pack._done(this);this._continuePack(this._finished?null:this._getError());i()}}class Pack extends p{constructor(i){super(i);this._drain=noop;this._finalized=false;this._finalizing=false;this._pending=[];this._stream=null}entry(i,c,d){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");if(typeof c==="function"){d=c;c=null}if(!d)d=noop;if(!i.size||i.type==="symlink")i.size=0;if(!i.type)i.type=modeToType(i.mode);if(!i.mode)i.mode=i.type==="directory"?T:V;if(!i.uid)i.uid=0;if(!i.gid)i.gid=0;if(!i.mtime)i.mtime=new Date;if(typeof c==="string")c=S.from(c);const p=new Sink(this,i,d);if(S.isBuffer(c)){i.size=c.byteLength;p.write(c);p.end();return p}if(p._isVoid){return p}return p}finalize(){if(this._stream||this._pending.length>0){this._finalizing=true;return}if(this._finalized)return;this._finalized=true;this.push(Z);this.push(null)}_done(i){if(i!==this._stream)return;this._stream=null;if(this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode(i){if(!i.pax){const c=_.encode(i);if(c){this.push(c);return}}this._encodePax(i)}_encodePax(i){const c=_.encodePax({name:i.name,linkname:i.linkname,pax:i.pax});const d={name:"PaxHeader",mode:i.mode,uid:i.uid,gid:i.gid,size:c.byteLength,mtime:i.mtime,type:"pax-header",linkname:i.linkname&&"PaxHeader",uname:i.uname,gname:i.gname,devmajor:i.devmajor,devminor:i.devminor};this.push(_.encode(d));this.push(c);overflow(this,c.byteLength);d.size=i.size;d.type=i.type;this.push(_.encode(d))}_doDrain(){const i=this._drain;this._drain=noop;i()}_predestroy(){const i=C(this);if(this._stream)this._stream.destroy(i);while(this._pending.length){const c=this._pending.shift();c.destroy(i);c._continueOpen()}this._doDrain()}_read(i){this._doDrain();i()}}i.exports=function pack(i){return new Pack(i)};function modeToType(i){switch(i&v.S_IFMT){case v.S_IFBLK:return"block-device";case v.S_IFCHR:return"character-device";case v.S_IFDIR:return"directory";case v.S_IFIFO:return"fifo";case v.S_IFLNK:return"symlink"}return"file"}function noop(){}function overflow(i,c){c&=511;if(c)i.push(Z.subarray(0,512-c))}function mapWritable(i){return S.isBuffer(i)?i:S.from(i)}},97934:(i,c,d)=>{const p=d(47256);const A=d(86414);i.exports=class TextDecoder{constructor(i="utf8"){this.encoding=normalizeEncoding(i);switch(this.encoding){case"utf8":this.decoder=new A;break;case"utf16le":case"base64":throw new Error("Unsupported encoding: "+this.encoding);default:this.decoder=new p(this.encoding)}}push(i){if(typeof i==="string")return i;return this.decoder.decode(i)}write(i){return this.push(i)}end(i){let c="";if(i)c=this.push(i);c+=this.decoder.flush();return c}};function normalizeEncoding(i){i=i.toLowerCase();switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:throw new Error("Unknown encoding: "+i)}}},47256:(i,c,d)=>{const p=d(73057);i.exports=class PassThroughDecoder{constructor(i){this.encoding=i}decode(i){return p.toString(i,this.encoding)}flush(){return""}}},86414:(i,c,d)=>{const p=d(73057);i.exports=class UTF8Decoder{constructor(){this.codePoint=0;this.bytesSeen=0;this.bytesNeeded=0;this.lowerBoundary=128;this.upperBoundary=191}decode(i){if(this.bytesNeeded===0){let c=true;for(let d=Math.max(0,i.byteLength-4),p=i.byteLength;d<p&&c;d++){c=i[d]<=127}if(c)return p.toString(i,"utf8")}let c="";for(let d=0,p=i.byteLength;d<p;d++){const p=i[d];if(this.bytesNeeded===0){if(p<=127){c+=String.fromCharCode(p)}else if(p>=194&&p<=223){this.bytesNeeded=1;this.codePoint=p&31}else if(p>=224&&p<=239){if(p===224)this.lowerBoundary=160;else if(p===237)this.upperBoundary=159;this.bytesNeeded=2;this.codePoint=p&15}else if(p>=240&&p<=244){if(p===240)this.lowerBoundary=144;if(p===244)this.upperBoundary=143;this.bytesNeeded=3;this.codePoint=p&7}else{c+="<22>"}continue}if(p<this.lowerBoundary||p>this.upperBoundary){this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0;this.lowerBoundary=128;this.upperBoundary=191;c+="<22>";continue}this.lowerBoundary=128;this.upperBoundary=191;this.codePoint=this.codePoint<<6|p&63;this.bytesSeen++;if(this.bytesSeen!==this.bytesNeeded)continue;c+=String.fromCodePoint(this.codePoint);this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0}return c}flush(){const i=this.bytesNeeded>0?"<22>":"";this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0;this.lowerBoundary=128;this.upperBoundary=191;return i}}},51288:(i,c,d)=>{
|
||
/*!
|
||
* Tmp
|
||
*
|
||
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
|
||
*
|
||
* MIT Licensed
|
||
*/
|
||
const p=d(79896);const A=d(70857);const C=d(16928);const S=d(76982);const v={fs:p.constants,os:A.constants};const _="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",T=/XXXXXX/,V=3,Z=(v.O_CREAT||v.fs.O_CREAT)|(v.O_EXCL||v.fs.O_EXCL)|(v.O_RDWR||v.fs.O_RDWR),ee=A.platform()==="win32",te=v.EBADF||v.os.errno.EBADF,re=v.ENOENT||v.os.errno.ENOENT,ne=448,ie=384,se="exit",oe=[],ae=p.rmdirSync.bind(p);let le=false;function rimraf(i,c){return p.rm(i,{recursive:true},c)}function FN_RIMRAF_SYNC(i){return p.rmSync(i,{recursive:true})}function tmpName(i,c){const d=_parseArguments(i,c),A=d[0],C=d[1];_assertAndSanitizeOptions(A,(function(i,c){if(i)return C(i);let d=c.tries;(function _getUniqueName(){try{const i=_generateTmpName(c);p.stat(i,(function(c){if(!c){if(d-- >0)return _getUniqueName();return C(new Error("Could not get a unique tmp filename, max tries reached "+i))}C(null,i)}))}catch(i){C(i)}})()}))}function tmpNameSync(i){const c=_parseArguments(i),d=c[0];const A=_assertAndSanitizeOptionsSync(d);let C=A.tries;do{const i=_generateTmpName(A);try{p.statSync(i)}catch(c){return i}}while(C-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,c){const d=_parseArguments(i,c),A=d[0],C=d[1];tmpName(A,(function _tmpNameCreated(i,c){if(i)return C(i);p.open(c,Z,A.mode||ie,(function _fileCreated(i,d){if(i)return C(i);if(A.discardDescriptor){return p.close(d,(function _discardCallback(i){return C(i,c,undefined,_prepareTmpFileRemoveCallback(c,-1,A,false))}))}else{const i=A.discardDescriptor||A.detachDescriptor;C(null,c,d,_prepareTmpFileRemoveCallback(c,i?-1:d,A,false))}}))}))}function fileSync(i){const c=_parseArguments(i),d=c[0];const A=d.discardDescriptor||d.detachDescriptor;const C=tmpNameSync(d);let S=p.openSync(C,Z,d.mode||ie);if(d.discardDescriptor){p.closeSync(S);S=undefined}return{name:C,fd:S,removeCallback:_prepareTmpFileRemoveCallback(C,A?-1:S,d,true)}}function dir(i,c){const d=_parseArguments(i,c),A=d[0],C=d[1];tmpName(A,(function _tmpNameCreated(i,c){if(i)return C(i);p.mkdir(c,A.mode||ne,(function _dirCreated(i){if(i)return C(i);C(null,c,_prepareTmpDirRemoveCallback(c,A,false))}))}))}function dirSync(i){const c=_parseArguments(i),d=c[0];const A=tmpNameSync(d);p.mkdirSync(A,d.mode||ne);return{name:A,removeCallback:_prepareTmpDirRemoveCallback(A,d,true)}}function _removeFileAsync(i,c){const _handler=function(i){if(i&&!_isENOENT(i)){return c(i)}c()};if(0<=i[0])p.close(i[0],(function(){p.unlink(i[1],_handler)}));else p.unlink(i[1],_handler)}function _removeFileSync(i){let c=null;try{if(0<=i[0])p.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{p.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))c=i}}if(c!==null){throw c}}function _prepareTmpFileRemoveCallback(i,c,d,p){const A=_prepareRemoveCallback(_removeFileSync,[c,i],p);const C=_prepareRemoveCallback(_removeFileAsync,[c,i],p,A);if(!d.keep)oe.unshift(A);return p?A:C}function _prepareTmpDirRemoveCallback(i,c,d){const A=c.unsafeCleanup?rimraf:p.rmdir.bind(p);const C=c.unsafeCleanup?FN_RIMRAF_SYNC:ae;const S=_prepareRemoveCallback(C,i,d);const v=_prepareRemoveCallback(A,i,d,S);if(!c.keep)oe.unshift(S);return d?S:v}function _prepareRemoveCallback(i,c,d,p){let A=false;return function _cleanupCallback(C){if(!A){const S=p||_cleanupCallback;const v=oe.indexOf(S);if(v>=0)oe.splice(v,1);A=true;if(d||i===ae||i===FN_RIMRAF_SYNC){return i(c)}else{return i(c,C||function(){})}}}}function _garbageCollector(){if(!le)return;while(oe.length){try{oe[0]()}catch(i){}}}function _randomChars(i){let c=[],d=null;try{d=S.randomBytes(i)}catch(c){d=S.pseudoRandomBytes(i)}for(let p=0;p<i;p++){c.push(_[d[p]%_.length])}return c.join("")}function _isUndefined(i){return typeof i==="undefined"}function _parseArguments(i,c){if(typeof i==="function"){return[{},i]}if(_isUndefined(i)){return[{},c]}const d={};for(const c of Object.getOwnPropertyNames(i)){d[c]=i[c]}return[d,c]}function _resolvePath(i,c,d){const A=C.isAbsolute(i)?i:C.join(c,i);p.stat(A,(function(i){if(i){p.realpath(C.dirname(A),(function(i,c){if(i)return d(i);d(null,C.join(c,C.basename(A)))}))}else{p.realpath(A,d)}}))}function _resolvePathSync(i,c){const d=C.isAbsolute(i)?i:C.join(c,i);try{p.statSync(d);return p.realpathSync(d)}catch(i){const c=p.realpathSync(C.dirname(d));return C.join(c,C.basename(d))}}function _generateTmpName(i){const c=i.tmpdir;if(!_isUndefined(i.name)){return C.join(c,i.dir,i.name)}if(!_isUndefined(i.template)){return C.join(c,i.dir,i.template).replace(T,_randomChars(6))}const d=[i.prefix?i.prefix:"tmp","-",process.pid,"-",_randomChars(12),i.postfix?"-"+i.postfix:""].join("");return C.join(c,i.dir,d)}function _assertOptionsBase(i){if(!_isUndefined(i.name)){const c=i.name;if(C.isAbsolute(c))throw new Error(`name option must not contain an absolute path, found "${c}".`);const d=C.basename(c);if(d===".."||d==="."||d!==c)throw new Error(`name option must not contain a path, found "${c}".`)}if(!_isUndefined(i.template)&&!i.template.match(T)){throw new Error(`Invalid template, found "${i.template}".`)}if(!_isUndefined(i.tries)&&isNaN(i.tries)||i.tries<0){throw new Error(`Invalid tries, found "${i.tries}".`)}i.tries=_isUndefined(i.name)?i.tries||V:1;i.keep=!!i.keep;i.detachDescriptor=!!i.detachDescriptor;i.discardDescriptor=!!i.discardDescriptor;i.unsafeCleanup=!!i.unsafeCleanup;i.prefix=_isUndefined(i.prefix)?"":i.prefix;i.postfix=_isUndefined(i.postfix)?"":i.postfix}function _getRelativePath(i,c,d,p){if(_isUndefined(c))return p(null);_resolvePath(c,d,(function(c,A){if(c)return p(c);const S=C.relative(d,A);if(!A.startsWith(d)){return p(new Error(`${i} option must be relative to "${d}", found "${S}".`))}p(null,S)}))}function _getRelativePathSync(i,c,d){if(_isUndefined(c))return;const p=_resolvePathSync(c,d);const A=C.relative(d,p);if(!p.startsWith(d)){throw new Error(`${i} option must be relative to "${d}", found "${A}".`)}return A}function _assertAndSanitizeOptions(i,c){_getTmpDir(i,(function(d,p){if(d)return c(d);i.tmpdir=p;try{_assertOptionsBase(i,p)}catch(d){return c(d)}_getRelativePath("dir",i.dir,p,(function(d,A){if(d)return c(d);i.dir=_isUndefined(A)?"":A;_getRelativePath("template",i.template,p,(function(d,p){if(d)return c(d);i.template=p;c(null,i)}))}))}))}function _assertAndSanitizeOptionsSync(i){const c=i.tmpdir=_getTmpDirSync(i);_assertOptionsBase(i,c);const d=_getRelativePathSync("dir",i.dir,c);i.dir=_isUndefined(d)?"":d;i.template=_getRelativePathSync("template",i.template,c);return i}function _isEBADF(i){return _isExpectedError(i,-te,"EBADF")}function _isENOENT(i){return _isExpectedError(i,-re,"ENOENT")}function _isExpectedError(i,c,d){return ee?i.code===d:i.code===d&&i.errno===c}function setGracefulCleanup(){le=true}function _getTmpDir(i,c){return p.realpath(i&&i.tmpdir||A.tmpdir(),c)}function _getTmpDirSync(i){return p.realpathSync(i&&i.tmpdir||A.tmpdir())}process.addListener(se,_garbageCollector);Object.defineProperty(i.exports,"tmpdir",{enumerable:true,configurable:false,get:function(){return _getTmpDirSync()}});i.exports.dir=dir;i.exports.dirSync=dirSync;i.exports.file=file;i.exports.fileSync=fileSync;i.exports.tmpName=tmpName;i.exports.tmpNameSync=tmpNameSync;i.exports.setGracefulCleanup=setGracefulCleanup},62958:i=>{i.exports=Traverse;function Traverse(i){if(!(this instanceof Traverse))return new Traverse(i);this.value=i}Traverse.prototype.get=function(i){var c=this.value;for(var d=0;d<i.length;d++){var p=i[d];if(!Object.hasOwnProperty.call(c,p)){c=undefined;break}c=c[p]}return c};Traverse.prototype.set=function(i,c){var d=this.value;for(var p=0;p<i.length-1;p++){var A=i[p];if(!Object.hasOwnProperty.call(d,A))d[A]={};d=d[A]}d[i[p]]=c;return c};Traverse.prototype.map=function(i){return walk(this.value,i,true)};Traverse.prototype.forEach=function(i){this.value=walk(this.value,i,false);return this.value};Traverse.prototype.reduce=function(i,c){var d=arguments.length===1;var p=d?this.value:c;this.forEach((function(c){if(!this.isRoot||!d){p=i.call(this,p,c)}}));return p};Traverse.prototype.deepEqual=function(i){if(arguments.length!==1){throw new Error("deepEqual requires exactly one object to compare against")}var c=true;var d=i;this.forEach((function(p){var A=function(){c=false;return undefined}.bind(this);if(!this.isRoot){if(typeof d!=="object")return A();d=d[this.key]}var C=d;this.post((function(){d=C}));var toS=function(i){return Object.prototype.toString.call(i)};if(this.circular){if(Traverse(i).get(this.circular.path)!==C)A()}else if(typeof C!==typeof p){A()}else if(C===null||p===null||C===undefined||p===undefined){if(C!==p)A()}else if(C.__proto__!==p.__proto__){A()}else if(C===p){}else if(typeof C==="function"){if(C instanceof RegExp){if(C.toString()!=p.toString())A()}else if(C!==p)A()}else if(typeof C==="object"){if(toS(p)==="[object Arguments]"||toS(C)==="[object Arguments]"){if(toS(C)!==toS(p)){A()}}else if(C instanceof Date||p instanceof Date){if(!(C instanceof Date)||!(p instanceof Date)||C.getTime()!==p.getTime()){A()}}else{var S=Object.keys(C);var v=Object.keys(p);if(S.length!==v.length)return A();for(var _=0;_<S.length;_++){var T=S[_];if(!Object.hasOwnProperty.call(p,T)){A()}}}}}));return c};Traverse.prototype.paths=function(){var i=[];this.forEach((function(c){i.push(this.path)}));return i};Traverse.prototype.nodes=function(){var i=[];this.forEach((function(c){i.push(this.node)}));return i};Traverse.prototype.clone=function(){var i=[],c=[];return function clone(d){for(var p=0;p<i.length;p++){if(i[p]===d){return c[p]}}if(typeof d==="object"&&d!==null){var A=copy(d);i.push(d);c.push(A);Object.keys(d).forEach((function(i){A[i]=clone(d[i])}));i.pop();c.pop();return A}else{return d}}(this.value)};function walk(i,c,d){var p=[];var A=[];var C=true;return function walker(i){var S=d?copy(i):i;var v={};var _={node:S,node_:i,path:[].concat(p),parent:A.slice(-1)[0],key:p.slice(-1)[0],isRoot:p.length===0,level:p.length,circular:null,update:function(i){if(!_.isRoot){_.parent.node[_.key]=i}_.node=i},delete:function(){delete _.parent.node[_.key]},remove:function(){if(Array.isArray(_.parent.node)){_.parent.node.splice(_.key,1)}else{delete _.parent.node[_.key]}},before:function(i){v.before=i},after:function(i){v.after=i},pre:function(i){v.pre=i},post:function(i){v.post=i},stop:function(){C=false}};if(!C)return _;if(typeof S==="object"&&S!==null){_.isLeaf=Object.keys(S).length==0;for(var T=0;T<A.length;T++){if(A[T].node_===i){_.circular=A[T];break}}}else{_.isLeaf=true}_.notLeaf=!_.isLeaf;_.notRoot=!_.isRoot;var V=c.call(_,_.node);if(V!==undefined&&_.update)_.update(V);if(v.before)v.before.call(_,_.node);if(typeof _.node=="object"&&_.node!==null&&!_.circular){A.push(_);var Z=Object.keys(_.node);Z.forEach((function(i,c){p.push(i);if(v.pre)v.pre.call(_,_.node[i],i);var A=walker(_.node[i]);if(d&&Object.hasOwnProperty.call(_.node,i)){_.node[i]=A.node}A.isLast=c==Z.length-1;A.isFirst=c==0;if(v.post)v.post.call(_,A);p.pop()}));A.pop()}if(v.after)v.after.call(_,_.node);return _}(i).node}Object.keys(Traverse.prototype).forEach((function(i){Traverse[i]=function(c){var d=[].slice.call(arguments,1);var p=Traverse(c);return p[i].apply(p,d)}}));function copy(i){if(typeof i==="object"&&i!==null){var c;if(Array.isArray(i)){c=[]}else if(i instanceof Date){c=new Date(i)}else if(i instanceof Boolean){c=new Boolean(i)}else if(i instanceof Number){c=new Number(i)}else if(i instanceof String){c=new String(i)}else{c=Object.create(Object.getPrototypeOf(i))}Object.keys(i).forEach((function(d){c[d]=i[d]}));return c}else return i}},61860:i=>{var c;var d;var p;var A;var C;var S;var v;var _;var T;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 de;var fe;var pe;var Ae;var he;var ge;var me;var ye;var Ee;(function(c){var d=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){c(createExporter(d,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){c(createExporter(d,createExporter(i.exports)))}else{c(createExporter(d))}function createExporter(i,c){if(i!==d){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(d,p){return i[d]=c?c(d,p):p}}})((function(i){var be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d))i[d]=c[d]};c=function(i,c){if(typeof c!=="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");be(i,c);function __(){this.constructor=i}i.prototype=c===null?Object.create(c):(__.prototype=c.prototype,new __)};d=Object.assign||function(i){for(var c,d=1,p=arguments.length;d<p;d++){c=arguments[d];for(var A in c)if(Object.prototype.hasOwnProperty.call(c,A))i[A]=c[A]}return i};p=function(i,c){var d={};for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p)&&c.indexOf(p)<0)d[p]=i[p];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var A=0,p=Object.getOwnPropertySymbols(i);A<p.length;A++){if(c.indexOf(p[A])<0&&Object.prototype.propertyIsEnumerable.call(i,p[A]))d[p[A]]=i[p[A]]}return d};A=function(i,c,d,p){var A=arguments.length,C=A<3?c:p===null?p=Object.getOwnPropertyDescriptor(c,d):p,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")C=Reflect.decorate(i,c,d,p);else for(var v=i.length-1;v>=0;v--)if(S=i[v])C=(A<3?S(C):A>3?S(c,d,C):S(c,d))||C;return A>3&&C&&Object.defineProperty(c,d,C),C};C=function(i,c){return function(d,p){c(d,p,i)}};S=function(i,c,d,p,A,C){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var S=p.kind,v=S==="getter"?"get":S==="setter"?"set":"value";var _=!c&&i?p["static"]?i:i.prototype:null;var T=c||(_?Object.getOwnPropertyDescriptor(_,p.name):{});var V,Z=false;for(var ee=d.length-1;ee>=0;ee--){var te={};for(var re in p)te[re]=re==="access"?{}:p[re];for(var re in p.access)te.access[re]=p.access[re];te.addInitializer=function(i){if(Z)throw new TypeError("Cannot add initializers after decoration has completed");C.push(accept(i||null))};var ne=(0,d[ee])(S==="accessor"?{get:T.get,set:T.set}:T[v],te);if(S==="accessor"){if(ne===void 0)continue;if(ne===null||typeof ne!=="object")throw new TypeError("Object expected");if(V=accept(ne.get))T.get=V;if(V=accept(ne.set))T.set=V;if(V=accept(ne.init))A.unshift(V)}else if(V=accept(ne)){if(S==="field")A.unshift(V);else T[v]=V}}if(_)Object.defineProperty(_,p.name,T);Z=true};v=function(i,c,d){var p=arguments.length>2;for(var A=0;A<c.length;A++){d=p?c[A].call(i,d):c[A].call(i)}return p?d:void 0};_=function(i){return typeof i==="symbol"?i:"".concat(i)};T=function(i,c,d){if(typeof c==="symbol")c=c.description?"[".concat(c.description,"]"):"";return Object.defineProperty(i,"name",{configurable:true,value:d?"".concat(d," ",c):c})};V=function(i,c){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(i,c)};Z=function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};ee=function(i,c){var d={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},p,A,C,S;return S={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function verb(i){return function(c){return step([i,c])}}function step(v){if(p)throw new TypeError("Generator is already executing.");while(S&&(S=0,v[0]&&(d=0)),d)try{if(p=1,A&&(C=v[0]&2?A["return"]:v[0]?A["throw"]||((C=A["return"])&&C.call(A),0):A.next)&&!(C=C.call(A,v[1])).done)return C;if(A=0,C)v=[v[0]&2,C.value];switch(v[0]){case 0:case 1:C=v;break;case 4:d.label++;return{value:v[1],done:false};case 5:d.label++;A=v[1];v=[0];continue;case 7:v=d.ops.pop();d.trys.pop();continue;default:if(!(C=d.trys,C=C.length>0&&C[C.length-1])&&(v[0]===6||v[0]===2)){d=0;continue}if(v[0]===3&&(!C||v[1]>C[0]&&v[1]<C[3])){d.label=v[1];break}if(v[0]===6&&d.label<C[1]){d.label=C[1];C=v;break}if(C&&d.label<C[2]){d.label=C[2];d.ops.push(v);break}if(C[2])d.ops.pop();d.trys.pop();continue}v=c.call(i,d)}catch(i){v=[6,i];A=0}finally{p=C=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:true}}};te=function(i,c){for(var d in i)if(d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d))me(c,i,d)};me=Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]};re=function(i){var c=typeof Symbol==="function"&&Symbol.iterator,d=c&&i[c],p=0;if(d)return d.call(i);if(i&&typeof i.length==="number")return{next:function(){if(i&&p>=i.length)i=void 0;return{value:i&&i[p++],done:!i}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};ne=function(i,c){var d=typeof Symbol==="function"&&i[Symbol.iterator];if(!d)return i;var p=d.call(i),A,C=[],S;try{while((c===void 0||c-- >0)&&!(A=p.next()).done)C.push(A.value)}catch(i){S={error:i}}finally{try{if(A&&!A.done&&(d=p["return"]))d.call(p)}finally{if(S)throw S.error}}return C};ie=function(){for(var i=[],c=0;c<arguments.length;c++)i=i.concat(ne(arguments[c]));return i};se=function(){for(var i=0,c=0,d=arguments.length;c<d;c++)i+=arguments[c].length;for(var p=Array(i),A=0,c=0;c<d;c++)for(var C=arguments[c],S=0,v=C.length;S<v;S++,A++)p[A]=C[S];return p};oe=function(i,c,d){if(d||arguments.length===2)for(var p=0,A=c.length,C;p<A;p++){if(C||!(p in c)){if(!C)C=Array.prototype.slice.call(c,0,p);C[p]=c[p]}}return i.concat(C||Array.prototype.slice.call(c))};ae=function(i){return this instanceof ae?(this.v=i,this):new ae(i)};le=function(i,c,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var p=d.apply(i,c||[]),A,C=[];return A={},verb("next"),verb("throw"),verb("return",awaitReturn),A[Symbol.asyncIterator]=function(){return this},A;function awaitReturn(i){return function(c){return Promise.resolve(c).then(i,reject)}}function verb(i,c){if(p[i]){A[i]=function(c){return new Promise((function(d,p){C.push([i,c,d,p])>1||resume(i,c)}))};if(c)A[i]=c(A[i])}}function resume(i,c){try{step(p[i](c))}catch(i){settle(C[0][3],i)}}function step(i){i.value instanceof ae?Promise.resolve(i.value.v).then(fulfill,reject):settle(C[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,c){if(i(c),C.shift(),C.length)resume(C[0][0],C[0][1])}};ce=function(i){var c,d;return c={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),c[Symbol.iterator]=function(){return this},c;function verb(p,A){c[p]=i[p]?function(c){return(d=!d)?{value:ae(i[p](c)),done:false}:A?A(c):c}:A}};ue=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=i[Symbol.asyncIterator],d;return c?c.call(i):(i=typeof re==="function"?re(i):i[Symbol.iterator](),d={},verb("next"),verb("throw"),verb("return"),d[Symbol.asyncIterator]=function(){return this},d);function verb(c){d[c]=i[c]&&function(d){return new Promise((function(p,A){d=i[c](d),settle(p,A,d.done,d.value)}))}}function settle(i,c,d,p){Promise.resolve(p).then((function(c){i({value:c,done:d})}),c)}};de=function(i,c){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:c})}else{i.raw=c}return i};var Ce=Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c};fe=function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))me(c,i,d);Ce(c,i);return c};pe=function(i){return i&&i.__esModule?i:{default:i}};Ae=function(i,c,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof c==="function"?i!==c||!p:!c.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(i):p?p.value:c.get(i)};he=function(i,c,d,p,A){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!A)throw new TypeError("Private accessor was defined without a setter");if(typeof c==="function"?i!==c||!A:!c.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?A.call(i,d):A?A.value=d:c.set(i,d),d};ge=function(i,c){if(c===null||typeof c!=="object"&&typeof c!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof i==="function"?c===i:i.has(c)};ye=function(i,c,d){if(c!==null&&c!==void 0){if(typeof c!=="object"&&typeof c!=="function")throw new TypeError("Object expected.");var p,A;if(d){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");p=c[Symbol.asyncDispose]}if(p===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");p=c[Symbol.dispose];if(d)A=p}if(typeof p!=="function")throw new TypeError("Object not disposable.");if(A)p=function(){try{A.call(this)}catch(i){return Promise.reject(i)}};i.stack.push({value:c,dispose:p,async:d})}else if(d){i.stack.push({async:true})}return c};var we=typeof SuppressedError==="function"?SuppressedError:function(i,c,d){var p=new Error(d);return p.name="SuppressedError",p.error=i,p.suppressed=c,p};Ee=function(i){function fail(c){i.error=i.hasError?new we(c,i.error,"An error was suppressed during disposal."):c;i.hasError=true}function next(){while(i.stack.length){var c=i.stack.pop();try{var d=c.dispose&&c.dispose.call(c.value);if(c.async)return Promise.resolve(d).then(next,(function(i){fail(i);return next()}))}catch(i){fail(i)}}if(i.hasError)throw i.error}return next()};i("__extends",c);i("__assign",d);i("__rest",p);i("__decorate",A);i("__param",C);i("__esDecorate",S);i("__runInitializers",v);i("__propKey",_);i("__setFunctionName",T);i("__metadata",V);i("__awaiter",Z);i("__generator",ee);i("__exportStar",te);i("__createBinding",me);i("__values",re);i("__read",ne);i("__spread",ie);i("__spreadArrays",se);i("__spreadArray",oe);i("__await",ae);i("__asyncGenerator",le);i("__asyncDelegator",ce);i("__asyncValues",ue);i("__makeTemplateObject",de);i("__importStar",fe);i("__importDefault",pe);i("__classPrivateFieldGet",Ae);i("__classPrivateFieldSet",he);i("__classPrivateFieldIn",ge);i("__addDisposableResource",ye);i("__disposeResources",Ee)}))},20770:(i,c,d)=>{i.exports=d(20218)},20218:(i,c,d)=>{"use strict";var p=d(69278);var A=d(64756);var C=d(58611);var S=d(65692);var v=d(24434);var _=d(42613);var T=d(39023);c.httpOverHttp=httpOverHttp;c.httpsOverHttp=httpsOverHttp;c.httpOverHttps=httpOverHttps;c.httpsOverHttps=httpsOverHttps;function httpOverHttp(i){var c=new TunnelingAgent(i);c.request=C.request;return c}function httpsOverHttp(i){var c=new TunnelingAgent(i);c.request=C.request;c.createSocket=createSecureSocket;c.defaultPort=443;return c}function httpOverHttps(i){var c=new TunnelingAgent(i);c.request=S.request;return c}function httpsOverHttps(i){var c=new TunnelingAgent(i);c.request=S.request;c.createSocket=createSecureSocket;c.defaultPort=443;return c}function TunnelingAgent(i){var c=this;c.options=i||{};c.proxyOptions=c.options.proxy||{};c.maxSockets=c.options.maxSockets||C.Agent.defaultMaxSockets;c.requests=[];c.sockets=[];c.on("free",(function onFree(i,d,p,A){var C=toOptions(d,p,A);for(var S=0,v=c.requests.length;S<v;++S){var _=c.requests[S];if(_.host===C.host&&_.port===C.port){c.requests.splice(S,1);_.request.onSocket(i);return}}i.destroy();c.removeSocket(i)}))}T.inherits(TunnelingAgent,v.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(i,c,d,p){var A=this;var C=mergeOptions({request:i},A.options,toOptions(c,d,p));if(A.sockets.length>=this.maxSockets){A.requests.push(C);return}A.createSocket(C,(function(c){c.on("free",onFree);c.on("close",onCloseOrRemove);c.on("agentRemove",onCloseOrRemove);i.onSocket(c);function onFree(){A.emit("free",c,C)}function onCloseOrRemove(i){A.removeSocket(c);c.removeListener("free",onFree);c.removeListener("close",onCloseOrRemove);c.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(i,c){var d=this;var p={};d.sockets.push(p);var A=mergeOptions({},d.proxyOptions,{method:"CONNECT",path:i.host+":"+i.port,agent:false,headers:{host:i.host+":"+i.port}});if(i.localAddress){A.localAddress=i.localAddress}if(A.proxyAuth){A.headers=A.headers||{};A.headers["Proxy-Authorization"]="Basic "+new Buffer(A.proxyAuth).toString("base64")}V("making CONNECT request");var C=d.request(A);C.useChunkedEncodingByDefault=false;C.once("response",onResponse);C.once("upgrade",onUpgrade);C.once("connect",onConnect);C.once("error",onError);C.end();function onResponse(i){i.upgrade=true}function onUpgrade(i,c,d){process.nextTick((function(){onConnect(i,c,d)}))}function onConnect(A,S,v){C.removeAllListeners();S.removeAllListeners();if(A.statusCode!==200){V("tunneling socket could not be established, statusCode=%d",A.statusCode);S.destroy();var _=new Error("tunneling socket could not be established, "+"statusCode="+A.statusCode);_.code="ECONNRESET";i.request.emit("error",_);d.removeSocket(p);return}if(v.length>0){V("got illegal response body from proxy");S.destroy();var _=new Error("got illegal response body from proxy");_.code="ECONNRESET";i.request.emit("error",_);d.removeSocket(p);return}V("tunneling connection has established");d.sockets[d.sockets.indexOf(p)]=S;return c(S)}function onError(c){C.removeAllListeners();V("tunneling socket could not be established, cause=%s\n",c.message,c.stack);var A=new Error("tunneling socket could not be established, "+"cause="+c.message);A.code="ECONNRESET";i.request.emit("error",A);d.removeSocket(p)}};TunnelingAgent.prototype.removeSocket=function removeSocket(i){var c=this.sockets.indexOf(i);if(c===-1){return}this.sockets.splice(c,1);var d=this.requests.shift();if(d){this.createSocket(d,(function(i){d.request.onSocket(i)}))}};function createSecureSocket(i,c){var d=this;TunnelingAgent.prototype.createSocket.call(d,i,(function(p){var C=i.request.getHeader("host");var S=mergeOptions({},d.options,{socket:p,servername:C?C.replace(/:.*$/,""):i.host});var v=A.connect(0,S);d.sockets[d.sockets.indexOf(p)]=v;c(v)}))}function toOptions(i,c,d){if(typeof i==="string"){return{host:i,port:c,localAddress:d}}return i}function mergeOptions(i){for(var c=1,d=arguments.length;c<d;++c){var p=arguments[c];if(typeof p==="object"){var A=Object.keys(p);for(var C=0,S=A.length;C<S;++C){var v=A[C];if(p[v]!==undefined){i[v]=p[v]}}}}return i}var V;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){V=function(){var i=Array.prototype.slice.call(arguments);if(typeof i[0]==="string"){i[0]="TUNNEL: "+i[0]}else{i.unshift("TUNNEL:")}console.error.apply(console,i)}}else{V=function(){}}c.debug=V},46752:(i,c,d)=>{"use strict";const p=d(86197);const A=d(28611);const C=d(68707);const S=d(35076);const v=d(81093);const _=d(59965);const T=d(3440);const{InvalidArgumentError:V}=C;const Z=d(56615);const ee=d(59136);const te=d(47365);const re=d(47501);const ne=d(94004);const ie=d(52429);const se=d(22720);const oe=d(53573);const{getGlobalDispatcher:ae,setGlobalDispatcher:le}=d(32581);const ce=d(78840);const ue=d(48299);const de=d(64415);let fe;try{d(76982);fe=true}catch{fe=false}Object.assign(A.prototype,Z);i.exports.Dispatcher=A;i.exports.Client=p;i.exports.Pool=S;i.exports.BalancedPool=v;i.exports.Agent=_;i.exports.ProxyAgent=se;i.exports.RetryHandler=oe;i.exports.DecoratorHandler=ce;i.exports.RedirectHandler=ue;i.exports.createRedirectInterceptor=de;i.exports.buildConnector=ee;i.exports.errors=C;function makeDispatcher(i){return(c,d,p)=>{if(typeof d==="function"){p=d;d=null}if(!c||typeof c!=="string"&&typeof c!=="object"&&!(c instanceof URL)){throw new V("invalid url")}if(d!=null&&typeof d!=="object"){throw new V("invalid opts")}if(d&&d.path!=null){if(typeof d.path!=="string"){throw new V("invalid opts.path")}let i=d.path;if(!d.path.startsWith("/")){i=`/${i}`}c=new URL(T.parseOrigin(c).origin+i)}else{if(!d){d=typeof c==="object"?c:{}}c=T.parseURL(c)}const{agent:A,dispatcher:C=ae()}=d;if(A){throw new V("unsupported opts.agent. Did you mean opts.client?")}return i.call(C,{...d,origin:c.origin,path:c.search?`${c.pathname}${c.search}`:c.pathname,method:d.method||(d.body?"PUT":"GET")},p)}}i.exports.setGlobalDispatcher=le;i.exports.getGlobalDispatcher=ae;if(T.nodeMajor>16||T.nodeMajor===16&&T.nodeMinor>=8){let c=null;i.exports.fetch=async function fetch(i){if(!c){c=d(12315).fetch}try{return await c(...arguments)}catch(i){if(typeof i==="object"){Error.captureStackTrace(i,this)}throw i}};i.exports.Headers=d(26349).Headers;i.exports.Response=d(48676).Response;i.exports.Request=d(25194).Request;i.exports.FormData=d(43073).FormData;i.exports.File=d(63041).File;i.exports.FileReader=d(82160).FileReader;const{setGlobalOrigin:p,getGlobalOrigin:A}=d(75628);i.exports.setGlobalOrigin=p;i.exports.getGlobalOrigin=A;const{CacheStorage:C}=d(44738);const{kConstruct:S}=d(80296);i.exports.caches=new C(S)}if(T.nodeMajor>=16){const{deleteCookie:c,getCookies:p,getSetCookies:A,setCookie:C}=d(53168);i.exports.deleteCookie=c;i.exports.getCookies=p;i.exports.getSetCookies=A;i.exports.setCookie=C;const{parseMIMEType:S,serializeAMimeType:v}=d(94322);i.exports.parseMIMEType=S;i.exports.serializeAMimeType=v}if(T.nodeMajor>=18&&fe){const{WebSocket:c}=d(55171);i.exports.WebSocket=c}i.exports.request=makeDispatcher(Z.request);i.exports.stream=makeDispatcher(Z.stream);i.exports.pipeline=makeDispatcher(Z.pipeline);i.exports.connect=makeDispatcher(Z.connect);i.exports.upgrade=makeDispatcher(Z.upgrade);i.exports.MockClient=te;i.exports.MockPool=ne;i.exports.MockAgent=re;i.exports.mockErrors=ie},59965:(i,c,d)=>{"use strict";const{InvalidArgumentError:p}=d(68707);const{kClients:A,kRunning:C,kClose:S,kDestroy:v,kDispatch:_,kInterceptors:T}=d(36443);const V=d(50001);const Z=d(35076);const ee=d(86197);const te=d(3440);const re=d(64415);const{WeakRef:ne,FinalizationRegistry:ie}=d(13194)();const se=Symbol("onConnect");const oe=Symbol("onDisconnect");const ae=Symbol("onConnectionError");const le=Symbol("maxRedirections");const ce=Symbol("onDrain");const ue=Symbol("factory");const de=Symbol("finalizer");const fe=Symbol("options");function defaultFactory(i,c){return c&&c.connections===1?new ee(i,c):new Z(i,c)}class Agent extends V{constructor({factory:i=defaultFactory,maxRedirections:c=0,connect:d,...C}={}){super();if(typeof i!=="function"){throw new p("factory must be a function.")}if(d!=null&&typeof d!=="function"&&typeof d!=="object"){throw new p("connect must be a function or an object")}if(!Number.isInteger(c)||c<0){throw new p("maxRedirections must be a positive number")}if(d&&typeof d!=="function"){d={...d}}this[T]=C.interceptors&&C.interceptors.Agent&&Array.isArray(C.interceptors.Agent)?C.interceptors.Agent:[re({maxRedirections:c})];this[fe]={...te.deepClone(C),connect:d};this[fe].interceptors=C.interceptors?{...C.interceptors}:undefined;this[le]=c;this[ue]=i;this[A]=new Map;this[de]=new ie((i=>{const c=this[A].get(i);if(c!==undefined&&c.deref()===undefined){this[A].delete(i)}}));const S=this;this[ce]=(i,c)=>{S.emit("drain",i,[S,...c])};this[se]=(i,c)=>{S.emit("connect",i,[S,...c])};this[oe]=(i,c,d)=>{S.emit("disconnect",i,[S,...c],d)};this[ae]=(i,c,d)=>{S.emit("connectionError",i,[S,...c],d)}}get[C](){let i=0;for(const c of this[A].values()){const d=c.deref();if(d){i+=d[C]}}return i}[_](i,c){let d;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){d=String(i.origin)}else{throw new p("opts.origin must be a non-empty string or URL.")}const C=this[A].get(d);let S=C?C.deref():null;if(!S){S=this[ue](i.origin,this[fe]).on("drain",this[ce]).on("connect",this[se]).on("disconnect",this[oe]).on("connectionError",this[ae]);this[A].set(d,new ne(S));this[de].register(S,d)}return S.dispatch(i,c)}async[S](){const i=[];for(const c of this[A].values()){const d=c.deref();if(d){i.push(d.close())}}await Promise.all(i)}async[v](i){const c=[];for(const d of this[A].values()){const p=d.deref();if(p){c.push(p.destroy(i))}}await Promise.all(c)}}i.exports=Agent},80158:(i,c,d)=>{const{addAbortListener:p}=d(3440);const{RequestAbortedError:A}=d(68707);const C=Symbol("kListener");const S=Symbol("kSignal");function abort(i){if(i.abort){i.abort()}else{i.onError(new A)}}function addSignal(i,c){i[S]=null;i[C]=null;if(!c){return}if(c.aborted){abort(i);return}i[S]=c;i[C]=()=>{abort(i)};p(i[S],i[C])}function removeSignal(i){if(!i[S]){return}if("removeEventListener"in i[S]){i[S].removeEventListener("abort",i[C])}else{i[S].removeListener("abort",i[C])}i[S]=null;i[C]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(i,c,d)=>{"use strict";const{AsyncResource:p}=d(90290);const{InvalidArgumentError:A,RequestAbortedError:C,SocketError:S}=d(68707);const v=d(3440);const{addSignal:_,removeSignal:T}=d(80158);class ConnectHandler extends p{constructor(i,c){if(!i||typeof i!=="object"){throw new A("invalid opts")}if(typeof c!=="function"){throw new A("invalid callback")}const{signal:d,opaque:p,responseHeaders:C}=i;if(d&&typeof d.on!=="function"&&typeof d.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=p||null;this.responseHeaders=C||null;this.callback=c;this.abort=null;_(this,d)}onConnect(i,c){if(!this.callback){throw new C}this.abort=i;this.context=c}onHeaders(){throw new S("bad connect",null)}onUpgrade(i,c,d){const{callback:p,opaque:A,context:C}=this;T(this);this.callback=null;let S=c;if(S!=null){S=this.responseHeaders==="raw"?v.parseRawHeaders(c):v.parseHeaders(c)}this.runInAsyncScope(p,null,null,{statusCode:i,headers:S,socket:d,opaque:A,context:C})}onError(i){const{callback:c,opaque:d}=this;T(this);if(c){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(c,null,i,{opaque:d})}))}}}function connect(i,c){if(c===undefined){return new Promise(((c,d)=>{connect.call(this,i,((i,p)=>i?d(i):c(p)))}))}try{const d=new ConnectHandler(i,c);this.dispatch({...i,method:"CONNECT"},d)}catch(d){if(typeof c!=="function"){throw d}const p=i&&i.opaque;queueMicrotask((()=>c(d,{opaque:p})))}}i.exports=connect},76862:(i,c,d)=>{"use strict";const{Readable:p,Duplex:A,PassThrough:C}=d(2203);const{InvalidArgumentError:S,InvalidReturnValueError:v,RequestAbortedError:_}=d(68707);const T=d(3440);const{AsyncResource:V}=d(90290);const{addSignal:Z,removeSignal:ee}=d(80158);const te=d(42613);const re=Symbol("resume");class PipelineRequest extends p{constructor(){super({autoDestroy:true});this[re]=null}_read(){const{[re]:i}=this;if(i){this[re]=null;i()}}_destroy(i,c){this._read();c(i)}}class PipelineResponse extends p{constructor(i){super({autoDestroy:true});this[re]=i}_read(){this[re]()}_destroy(i,c){if(!i&&!this._readableState.endEmitted){i=new _}c(i)}}class PipelineHandler extends V{constructor(i,c){if(!i||typeof i!=="object"){throw new S("invalid opts")}if(typeof c!=="function"){throw new S("invalid handler")}const{signal:d,method:p,opaque:C,onInfo:v,responseHeaders:V}=i;if(d&&typeof d.on!=="function"&&typeof d.addEventListener!=="function"){throw new S("signal must be an EventEmitter or EventTarget")}if(p==="CONNECT"){throw new S("invalid method")}if(v&&typeof v!=="function"){throw new S("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=C||null;this.responseHeaders=V||null;this.handler=c;this.abort=null;this.context=null;this.onInfo=v||null;this.req=(new PipelineRequest).on("error",T.nop);this.ret=new A({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i&&i.resume){i.resume()}},write:(i,c,d)=>{const{req:p}=this;if(p.push(i,c)||p._readableState.destroyed){d()}else{p[re]=d}},destroy:(i,c)=>{const{body:d,req:p,res:A,ret:C,abort:S}=this;if(!i&&!C._readableState.endEmitted){i=new _}if(S&&i){S()}T.destroy(d,i);T.destroy(p,i);T.destroy(A,i);ee(this);c(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;Z(this,d)}onConnect(i,c){const{ret:d,res:p}=this;te(!p,"pipeline cannot be retried");if(d.destroyed){throw new _}this.abort=i;this.context=c}onHeaders(i,c,d){const{opaque:p,handler:A,context:C}=this;if(i<200){if(this.onInfo){const d=this.responseHeaders==="raw"?T.parseRawHeaders(c):T.parseHeaders(c);this.onInfo({statusCode:i,headers:d})}return}this.res=new PipelineResponse(d);let S;try{this.handler=null;const d=this.responseHeaders==="raw"?T.parseRawHeaders(c):T.parseHeaders(c);S=this.runInAsyncScope(A,null,{statusCode:i,headers:d,opaque:p,body:this.res,context:C})}catch(i){this.res.on("error",T.nop);throw i}if(!S||typeof S.on!=="function"){throw new v("expected Readable")}S.on("data",(i=>{const{ret:c,body:d}=this;if(!c.push(i)&&d.pause){d.pause()}})).on("error",(i=>{const{ret:c}=this;T.destroy(c,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){T.destroy(i,new _)}}));this.body=S}onData(i){const{res:c}=this;return c.push(i)}onComplete(i){const{res:c}=this;c.push(null)}onError(i){const{ret:c}=this;this.handler=null;T.destroy(c,i)}}function pipeline(i,c){try{const d=new PipelineHandler(i,c);this.dispatch({...i,body:d.req},d);return d.ret}catch(i){return(new C).destroy(i)}}i.exports=pipeline},14043:(i,c,d)=>{"use strict";const p=d(49927);const{InvalidArgumentError:A,RequestAbortedError:C}=d(68707);const S=d(3440);const{getResolveErrorBodyCallback:v}=d(87655);const{AsyncResource:_}=d(90290);const{addSignal:T,removeSignal:V}=d(80158);class RequestHandler extends _{constructor(i,c){if(!i||typeof i!=="object"){throw new A("invalid opts")}const{signal:d,method:p,opaque:C,body:v,onInfo:_,responseHeaders:V,throwOnError:Z,highWaterMark:ee}=i;try{if(typeof c!=="function"){throw new A("invalid callback")}if(ee&&(typeof ee!=="number"||ee<0)){throw new A("invalid highWaterMark")}if(d&&typeof d.on!=="function"&&typeof d.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}if(p==="CONNECT"){throw new A("invalid method")}if(_&&typeof _!=="function"){throw new A("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(S.isStream(v)){S.destroy(v.on("error",S.nop),i)}throw i}this.responseHeaders=V||null;this.opaque=C||null;this.callback=c;this.res=null;this.abort=null;this.body=v;this.trailers={};this.context=null;this.onInfo=_||null;this.throwOnError=Z;this.highWaterMark=ee;if(S.isStream(v)){v.on("error",(i=>{this.onError(i)}))}T(this,d)}onConnect(i,c){if(!this.callback){throw new C}this.abort=i;this.context=c}onHeaders(i,c,d,A){const{callback:C,opaque:_,abort:T,context:V,responseHeaders:Z,highWaterMark:ee}=this;const te=Z==="raw"?S.parseRawHeaders(c):S.parseHeaders(c);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:te})}return}const re=Z==="raw"?S.parseHeaders(c):te;const ne=re["content-type"];const ie=new p({resume:d,abort:T,contentType:ne,highWaterMark:ee});this.callback=null;this.res=ie;if(C!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(v,null,{callback:C,body:ie,contentType:ne,statusCode:i,statusMessage:A,headers:te})}else{this.runInAsyncScope(C,null,null,{statusCode:i,headers:te,trailers:this.trailers,opaque:_,body:ie,context:V})}}}onData(i){const{res:c}=this;return c.push(i)}onComplete(i){const{res:c}=this;V(this);S.parseHeaders(i,this.trailers);c.push(null)}onError(i){const{res:c,callback:d,body:p,opaque:A}=this;V(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:A})}))}if(c){this.res=null;queueMicrotask((()=>{S.destroy(c,i)}))}if(p){this.body=null;S.destroy(p,i)}}}function request(i,c){if(c===undefined){return new Promise(((c,d)=>{request.call(this,i,((i,p)=>i?d(i):c(p)))}))}try{this.dispatch(i,new RequestHandler(i,c))}catch(d){if(typeof c!=="function"){throw d}const p=i&&i.opaque;queueMicrotask((()=>c(d,{opaque:p})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},3560:(i,c,d)=>{"use strict";const{finished:p,PassThrough:A}=d(2203);const{InvalidArgumentError:C,InvalidReturnValueError:S,RequestAbortedError:v}=d(68707);const _=d(3440);const{getResolveErrorBodyCallback:T}=d(87655);const{AsyncResource:V}=d(90290);const{addSignal:Z,removeSignal:ee}=d(80158);class StreamHandler extends V{constructor(i,c,d){if(!i||typeof i!=="object"){throw new C("invalid opts")}const{signal:p,method:A,opaque:S,body:v,onInfo:T,responseHeaders:V,throwOnError:ee}=i;try{if(typeof d!=="function"){throw new C("invalid callback")}if(typeof c!=="function"){throw new C("invalid factory")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new C("signal must be an EventEmitter or EventTarget")}if(A==="CONNECT"){throw new C("invalid method")}if(T&&typeof T!=="function"){throw new C("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(_.isStream(v)){_.destroy(v.on("error",_.nop),i)}throw i}this.responseHeaders=V||null;this.opaque=S||null;this.factory=c;this.callback=d;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=v;this.onInfo=T||null;this.throwOnError=ee||false;if(_.isStream(v)){v.on("error",(i=>{this.onError(i)}))}Z(this,p)}onConnect(i,c){if(!this.callback){throw new v}this.abort=i;this.context=c}onHeaders(i,c,d,C){const{factory:v,opaque:V,context:Z,callback:ee,responseHeaders:te}=this;const re=te==="raw"?_.parseRawHeaders(c):_.parseHeaders(c);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:re})}return}this.factory=null;let ne;if(this.throwOnError&&i>=400){const d=te==="raw"?_.parseHeaders(c):re;const p=d["content-type"];ne=new A;this.callback=null;this.runInAsyncScope(T,null,{callback:ee,body:ne,contentType:p,statusCode:i,statusMessage:C,headers:re})}else{if(v===null){return}ne=this.runInAsyncScope(v,null,{statusCode:i,headers:re,opaque:V,context:Z});if(!ne||typeof ne.write!=="function"||typeof ne.end!=="function"||typeof ne.on!=="function"){throw new S("expected Writable")}p(ne,{readable:false},(i=>{const{callback:c,res:d,opaque:p,trailers:A,abort:C}=this;this.res=null;if(i||!d.readable){_.destroy(d,i)}this.callback=null;this.runInAsyncScope(c,null,i||null,{opaque:p,trailers:A});if(i){C()}}))}ne.on("drain",d);this.res=ne;const ie=ne.writableNeedDrain!==undefined?ne.writableNeedDrain:ne._writableState&&ne._writableState.needDrain;return ie!==true}onData(i){const{res:c}=this;return c?c.write(i):true}onComplete(i){const{res:c}=this;ee(this);if(!c){return}this.trailers=_.parseHeaders(i);c.end()}onError(i){const{res:c,callback:d,opaque:p,body:A}=this;ee(this);this.factory=null;if(c){this.res=null;_.destroy(c,i)}else if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}if(A){this.body=null;_.destroy(A,i)}}}function stream(i,c,d){if(d===undefined){return new Promise(((d,p)=>{stream.call(this,i,c,((i,c)=>i?p(i):d(c)))}))}try{this.dispatch(i,new StreamHandler(i,c,d))}catch(c){if(typeof d!=="function"){throw c}const p=i&&i.opaque;queueMicrotask((()=>d(c,{opaque:p})))}}i.exports=stream},61882:(i,c,d)=>{"use strict";const{InvalidArgumentError:p,RequestAbortedError:A,SocketError:C}=d(68707);const{AsyncResource:S}=d(90290);const v=d(3440);const{addSignal:_,removeSignal:T}=d(80158);const V=d(42613);class UpgradeHandler extends S{constructor(i,c){if(!i||typeof i!=="object"){throw new p("invalid opts")}if(typeof c!=="function"){throw new p("invalid callback")}const{signal:d,opaque:A,responseHeaders:C}=i;if(d&&typeof d.on!=="function"&&typeof d.addEventListener!=="function"){throw new p("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=C||null;this.opaque=A||null;this.callback=c;this.abort=null;this.context=null;_(this,d)}onConnect(i,c){if(!this.callback){throw new A}this.abort=i;this.context=null}onHeaders(){throw new C("bad upgrade",null)}onUpgrade(i,c,d){const{callback:p,opaque:A,context:C}=this;V.strictEqual(i,101);T(this);this.callback=null;const S=this.responseHeaders==="raw"?v.parseRawHeaders(c):v.parseHeaders(c);this.runInAsyncScope(p,null,null,{headers:S,socket:d,opaque:A,context:C})}onError(i){const{callback:c,opaque:d}=this;T(this);if(c){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(c,null,i,{opaque:d})}))}}}function upgrade(i,c){if(c===undefined){return new Promise(((c,d)=>{upgrade.call(this,i,((i,p)=>i?d(i):c(p)))}))}try{const d=new UpgradeHandler(i,c);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},d)}catch(d){if(typeof c!=="function"){throw d}const p=i&&i.opaque;queueMicrotask((()=>c(d,{opaque:p})))}}i.exports=upgrade},56615:(i,c,d)=>{"use strict";i.exports.request=d(14043);i.exports.stream=d(3560);i.exports.pipeline=d(76862);i.exports.upgrade=d(61882);i.exports.connect=d(34660)},49927:(i,c,d)=>{"use strict";const p=d(42613);const{Readable:A}=d(2203);const{RequestAbortedError:C,NotSupportedError:S,InvalidArgumentError:v}=d(68707);const _=d(3440);const{ReadableStreamFrom:T,toUSVString:V}=d(3440);let Z;const ee=Symbol("kConsume");const te=Symbol("kReading");const re=Symbol("kBody");const ne=Symbol("abort");const ie=Symbol("kContentType");const noop=()=>{};i.exports=class BodyReadable extends A{constructor({resume:i,abort:c,contentType:d="",highWaterMark:p=64*1024}){super({autoDestroy:true,read:i,highWaterMark:p});this._readableState.dataEmitted=false;this[ne]=c;this[ee]=null;this[re]=null;this[ie]=d;this[te]=false}destroy(i){if(this.destroyed){return this}if(!i&&!this._readableState.endEmitted){i=new C}if(i){this[ne]()}return super.destroy(i)}emit(i,...c){if(i==="data"){this._readableState.dataEmitted=true}else if(i==="error"){this._readableState.errorEmitted=true}return super.emit(i,...c)}on(i,...c){if(i==="data"||i==="readable"){this[te]=true}return super.on(i,...c)}addListener(i,...c){return this.on(i,...c)}off(i,...c){const d=super.off(i,...c);if(i==="data"||i==="readable"){this[te]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return d}removeListener(i,...c){return this.off(i,...c)}push(i){if(this[ee]&&i!==null&&this.readableLength===0){consumePush(this[ee],i);return this[te]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new S}get bodyUsed(){return _.isDisturbed(this)}get body(){if(!this[re]){this[re]=T(this);if(this[ee]){this[re].getReader();p(this[re].locked)}}return this[re]}dump(i){let c=i&&Number.isFinite(i.limit)?i.limit:262144;const d=i&&i.signal;if(d){try{if(typeof d!=="object"||!("aborted"in d)){throw new v("signal must be an AbortSignal")}_.throwIfAborted(d)}catch(i){return Promise.reject(i)}}if(this.closed){return Promise.resolve(null)}return new Promise(((i,p)=>{const A=d?_.addAbortListener(d,(()=>{this.destroy()})):noop;this.on("close",(function(){A();if(d&&d.aborted){p(d.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{i(null)}})).on("error",noop).on("data",(function(i){c-=i.length;if(c<=0){this.destroy()}})).resume()}))}};function isLocked(i){return i[re]&&i[re].locked===true||i[ee]}function isUnusable(i){return _.isDisturbed(i)||isLocked(i)}async function consume(i,c){if(isUnusable(i)){throw new TypeError("unusable")}p(!i[ee]);return new Promise(((d,p)=>{i[ee]={type:c,stream:i,resolve:d,reject:p,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[ee],i)})).on("close",(function(){if(this[ee].body!==null){consumeFinish(this[ee],new C)}}));process.nextTick(consumeStart,i[ee])}))}function consumeStart(i){if(i.body===null){return}const{_readableState:c}=i.stream;for(const d of c.buffer){consumePush(i,d)}if(c.endEmitted){consumeEnd(this[ee])}else{i.stream.on("end",(function(){consumeEnd(this[ee])}))}i.stream.resume();while(i.stream.read()!=null){}}function consumeEnd(i){const{type:c,body:p,resolve:A,stream:C,length:S}=i;try{if(c==="text"){A(V(Buffer.concat(p)))}else if(c==="json"){A(JSON.parse(Buffer.concat(p)))}else if(c==="arrayBuffer"){const i=new Uint8Array(S);let c=0;for(const d of p){i.set(d,c);c+=d.byteLength}A(i.buffer)}else if(c==="blob"){if(!Z){Z=d(20181).Blob}A(new Z(p,{type:C[ie]}))}consumeFinish(i)}catch(i){C.destroy(i)}}function consumePush(i,c){i.length+=c.length;i.body.push(c)}function consumeFinish(i,c){if(i.body===null){return}if(c){i.reject(c)}else{i.resolve()}i.type=null;i.stream=null;i.resolve=null;i.reject=null;i.length=0;i.body=null}},87655:(i,c,d)=>{const p=d(42613);const{ResponseStatusCodeError:A}=d(68707);const{toUSVString:C}=d(3440);async function getResolveErrorBodyCallback({callback:i,body:c,contentType:d,statusCode:S,statusMessage:v,headers:_}){p(c);let T=[];let V=0;for await(const i of c){T.push(i);V+=i.length;if(V>128*1024){T=null;break}}if(S===204||!d||!T){process.nextTick(i,new A(`Response status code ${S}${v?`: ${v}`:""}`,S,_));return}try{if(d.startsWith("application/json")){const c=JSON.parse(C(Buffer.concat(T)));process.nextTick(i,new A(`Response status code ${S}${v?`: ${v}`:""}`,S,_,c));return}if(d.startsWith("text/")){const c=C(Buffer.concat(T));process.nextTick(i,new A(`Response status code ${S}${v?`: ${v}`:""}`,S,_,c));return}}catch(i){}process.nextTick(i,new A(`Response status code ${S}${v?`: ${v}`:""}`,S,_))}i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},81093:(i,c,d)=>{"use strict";const{BalancedPoolMissingUpstreamError:p,InvalidArgumentError:A}=d(68707);const{PoolBase:C,kClients:S,kNeedDrain:v,kAddClient:_,kRemoveClient:T,kGetDispatcher:V}=d(58640);const Z=d(35076);const{kUrl:ee,kInterceptors:te}=d(36443);const{parseOrigin:re}=d(3440);const ne=Symbol("factory");const ie=Symbol("options");const se=Symbol("kGreatestCommonDivisor");const oe=Symbol("kCurrentWeight");const ae=Symbol("kIndex");const le=Symbol("kWeight");const ce=Symbol("kMaxWeightPerServer");const ue=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,c){if(c===0)return i;return getGreatestCommonDivisor(c,i%c)}function defaultFactory(i,c){return new Z(i,c)}class BalancedPool extends C{constructor(i=[],{factory:c=defaultFactory,...d}={}){super();this[ie]=d;this[ae]=-1;this[oe]=0;this[ce]=this[ie].maxWeightPerServer||100;this[ue]=this[ie].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof c!=="function"){throw new A("factory must be a function.")}this[te]=d.interceptors&&d.interceptors.BalancedPool&&Array.isArray(d.interceptors.BalancedPool)?d.interceptors.BalancedPool:[];this[ne]=c;for(const c of i){this.addUpstream(c)}this._updateBalancedPoolStats()}addUpstream(i){const c=re(i).origin;if(this[S].find((i=>i[ee].origin===c&&i.closed!==true&&i.destroyed!==true))){return this}const d=this[ne](c,Object.assign({},this[ie]));this[_](d);d.on("connect",(()=>{d[le]=Math.min(this[ce],d[le]+this[ue])}));d.on("connectionError",(()=>{d[le]=Math.max(1,d[le]-this[ue]);this._updateBalancedPoolStats()}));d.on("disconnect",((...i)=>{const c=i[2];if(c&&c.code==="UND_ERR_SOCKET"){d[le]=Math.max(1,d[le]-this[ue]);this._updateBalancedPoolStats()}}));for(const i of this[S]){i[le]=this[ce]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[se]=this[S].map((i=>i[le])).reduce(getGreatestCommonDivisor,0)}removeUpstream(i){const c=re(i).origin;const d=this[S].find((i=>i[ee].origin===c&&i.closed!==true&&i.destroyed!==true));if(d){this[T](d)}return this}get upstreams(){return this[S].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[ee].origin))}[V](){if(this[S].length===0){throw new p}const i=this[S].find((i=>!i[v]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const c=this[S].map((i=>i[v])).reduce(((i,c)=>i&&c),true);if(c){return}let d=0;let A=this[S].findIndex((i=>!i[v]));while(d++<this[S].length){this[ae]=(this[ae]+1)%this[S].length;const i=this[S][this[ae]];if(i[le]>this[S][A][le]&&!i[v]){A=this[ae]}if(this[ae]===0){this[oe]=this[oe]-this[se];if(this[oe]<=0){this[oe]=this[ce]}}if(i[le]>=this[oe]&&!i[v]){return i}}this[oe]=this[S][A][le];this[ae]=A;return this[S][A]}}i.exports=BalancedPool},50479:(i,c,d)=>{"use strict";const{kConstruct:p}=d(80296);const{urlEquals:A,fieldValues:C}=d(23993);const{kEnumerableProperty:S,isDisturbed:v}=d(3440);const{kHeadersList:_}=d(36443);const{webidl:T}=d(74222);const{Response:V,cloneResponse:Z}=d(48676);const{Request:ee}=d(25194);const{kState:te,kHeaders:re,kGuard:ne,kRealm:ie}=d(89710);const{fetching:se}=d(12315);const{urlIsHttpHttpsScheme:oe,createDeferredPromise:ae,readAllBytes:le}=d(15523);const ce=d(42613);const{getGlobalDispatcher:ue}=d(32581);class Cache{#e;constructor(){if(arguments[0]!==p){T.illegalConstructor()}this.#e=arguments[1]}async match(i,c={}){T.brandCheck(this,Cache);T.argumentLengthCheck(arguments,1,{header:"Cache.match"});i=T.converters.RequestInfo(i);c=T.converters.CacheQueryOptions(c);const d=await this.matchAll(i,c);if(d.length===0){return}return d[0]}async matchAll(i=undefined,c={}){T.brandCheck(this,Cache);if(i!==undefined)i=T.converters.RequestInfo(i);c=T.converters.CacheQueryOptions(c);let d=null;if(i!==undefined){if(i instanceof ee){d=i[te];if(d.method!=="GET"&&!c.ignoreMethod){return[]}}else if(typeof i==="string"){d=new ee(i)[te]}}const p=[];if(i===undefined){for(const i of this.#e){p.push(i[1])}}else{const i=this.#t(d,c);for(const c of i){p.push(c[1])}}const A=[];for(const i of p){const c=new V(i.body?.source??null);const d=c[te].body;c[te]=i;c[te].body=d;c[re][_]=i.headersList;c[re][ne]="immutable";A.push(c)}return Object.freeze(A)}async add(i){T.brandCheck(this,Cache);T.argumentLengthCheck(arguments,1,{header:"Cache.add"});i=T.converters.RequestInfo(i);const c=[i];const d=this.addAll(c);return await d}async addAll(i){T.brandCheck(this,Cache);T.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});i=T.converters["sequence<RequestInfo>"](i);const c=[];const d=[];for(const c of i){if(typeof c==="string"){continue}const i=c[te];if(!oe(i.url)||i.method!=="GET"){throw T.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const p=[];for(const A of i){const i=new ee(A)[te];if(!oe(i.url)){throw T.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";d.push(i);const S=ae();p.push(se({request:i,dispatcher:ue(),processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){S.reject(T.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const c=C(i.headersList.get("vary"));for(const i of c){if(i==="*"){S.reject(T.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of p){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){S.reject(new DOMException("aborted","AbortError"));return}S.resolve(i)}}));c.push(S.promise)}const A=Promise.all(c);const S=await A;const v=[];let _=0;for(const i of S){const c={type:"put",request:d[_],response:i};v.push(c);_++}const V=ae();let Z=null;try{this.#r(v)}catch(i){Z=i}queueMicrotask((()=>{if(Z===null){V.resolve(undefined)}else{V.reject(Z)}}));return V.promise}async put(i,c){T.brandCheck(this,Cache);T.argumentLengthCheck(arguments,2,{header:"Cache.put"});i=T.converters.RequestInfo(i);c=T.converters.Response(c);let d=null;if(i instanceof ee){d=i[te]}else{d=new ee(i)[te]}if(!oe(d.url)||d.method!=="GET"){throw T.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const p=c[te];if(p.status===206){throw T.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(p.headersList.contains("vary")){const i=C(p.headersList.get("vary"));for(const c of i){if(c==="*"){throw T.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(p.body&&(v(p.body.stream)||p.body.stream.locked)){throw T.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const A=Z(p);const S=ae();if(p.body!=null){const i=p.body.stream;const c=i.getReader();le(c).then(S.resolve,S.reject)}else{S.resolve(undefined)}const _=[];const V={type:"put",request:d,response:A};_.push(V);const re=await S.promise;if(A.body!=null){A.body.source=re}const ne=ae();let ie=null;try{this.#r(_)}catch(i){ie=i}queueMicrotask((()=>{if(ie===null){ne.resolve()}else{ne.reject(ie)}}));return ne.promise}async delete(i,c={}){T.brandCheck(this,Cache);T.argumentLengthCheck(arguments,1,{header:"Cache.delete"});i=T.converters.RequestInfo(i);c=T.converters.CacheQueryOptions(c);let d=null;if(i instanceof ee){d=i[te];if(d.method!=="GET"&&!c.ignoreMethod){return false}}else{ce(typeof i==="string");d=new ee(i)[te]}const p=[];const A={type:"delete",request:d,options:c};p.push(A);const C=ae();let S=null;let v;try{v=this.#r(p)}catch(i){S=i}queueMicrotask((()=>{if(S===null){C.resolve(!!v?.length)}else{C.reject(S)}}));return C.promise}async keys(i=undefined,c={}){T.brandCheck(this,Cache);if(i!==undefined)i=T.converters.RequestInfo(i);c=T.converters.CacheQueryOptions(c);let d=null;if(i!==undefined){if(i instanceof ee){d=i[te];if(d.method!=="GET"&&!c.ignoreMethod){return[]}}else if(typeof i==="string"){d=new ee(i)[te]}}const p=ae();const A=[];if(i===undefined){for(const i of this.#e){A.push(i[0])}}else{const i=this.#t(d,c);for(const c of i){A.push(c[0])}}queueMicrotask((()=>{const i=[];for(const c of A){const d=new ee("https://a");d[te]=c;d[re][_]=c.headersList;d[re][ne]="immutable";d[ie]=c.client;i.push(d)}p.resolve(Object.freeze(i))}));return p.promise}#r(i){const c=this.#e;const d=[...c];const p=[];const A=[];try{for(const d of i){if(d.type!=="delete"&&d.type!=="put"){throw T.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(d.type==="delete"&&d.response!=null){throw T.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(d.request,d.options,p).length){throw new DOMException("???","InvalidStateError")}let i;if(d.type==="delete"){i=this.#t(d.request,d.options);if(i.length===0){return[]}for(const d of i){const i=c.indexOf(d);ce(i!==-1);c.splice(i,1)}}else if(d.type==="put"){if(d.response==null){throw T.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const A=d.request;if(!oe(A.url)){throw T.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(A.method!=="GET"){throw T.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(d.options!=null){throw T.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#t(d.request);for(const d of i){const i=c.indexOf(d);ce(i!==-1);c.splice(i,1)}c.push([d.request,d.response]);p.push([d.request,d.response])}A.push([d.request,d.response])}return A}catch(i){this.#e.length=0;this.#e=d;throw i}}#t(i,c,d){const p=[];const A=d??this.#e;for(const d of A){const[A,C]=d;if(this.#n(i,A,C,c)){p.push(d)}}return p}#n(i,c,d=null,p){const S=new URL(i.url);const v=new URL(c.url);if(p?.ignoreSearch){v.search="";S.search=""}if(!A(S,v,true)){return false}if(d==null||p?.ignoreVary||!d.headersList.contains("vary")){return true}const _=C(d.headersList.get("vary"));for(const d of _){if(d==="*"){return false}const p=c.headersList.get(d);const A=i.headersList.get(d);if(p!==A){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:S,matchAll:S,add:S,addAll:S,put:S,delete:S,keys:S});const de=[{key:"ignoreSearch",converter:T.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:T.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:T.converters.boolean,defaultValue:false}];T.converters.CacheQueryOptions=T.dictionaryConverter(de);T.converters.MultiCacheQueryOptions=T.dictionaryConverter([...de,{key:"cacheName",converter:T.converters.DOMString}]);T.converters.Response=T.interfaceConverter(V);T.converters["sequence<RequestInfo>"]=T.sequenceConverter(T.converters.RequestInfo);i.exports={Cache:Cache}},44738:(i,c,d)=>{"use strict";const{kConstruct:p}=d(80296);const{Cache:A}=d(50479);const{webidl:C}=d(74222);const{kEnumerableProperty:S}=d(3440);class CacheStorage{#i=new Map;constructor(){if(arguments[0]!==p){C.illegalConstructor()}}async match(i,c={}){C.brandCheck(this,CacheStorage);C.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});i=C.converters.RequestInfo(i);c=C.converters.MultiCacheQueryOptions(c);if(c.cacheName!=null){if(this.#i.has(c.cacheName)){const d=this.#i.get(c.cacheName);const C=new A(p,d);return await C.match(i,c)}}else{for(const d of this.#i.values()){const C=new A(p,d);const S=await C.match(i,c);if(S!==undefined){return S}}}}async has(i){C.brandCheck(this,CacheStorage);C.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});i=C.converters.DOMString(i);return this.#i.has(i)}async open(i){C.brandCheck(this,CacheStorage);C.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});i=C.converters.DOMString(i);if(this.#i.has(i)){const c=this.#i.get(i);return new A(p,c)}const c=[];this.#i.set(i,c);return new A(p,c)}async delete(i){C.brandCheck(this,CacheStorage);C.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});i=C.converters.DOMString(i);return this.#i.delete(i)}async keys(){C.brandCheck(this,CacheStorage);const i=this.#i.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:S,has:S,open:S,delete:S,keys:S});i.exports={CacheStorage:CacheStorage}},80296:(i,c,d)=>{"use strict";i.exports={kConstruct:d(36443).kConstruct}},23993:(i,c,d)=>{"use strict";const p=d(42613);const{URLSerializer:A}=d(94322);const{isValidHeaderName:C}=d(15523);function urlEquals(i,c,d=false){const p=A(i,d);const C=A(c,d);return p===C}function fieldValues(i){p(i!==null);const c=[];for(let d of i.split(",")){d=d.trim();if(!d.length){continue}else if(!C(d)){continue}c.push(d)}return c}i.exports={urlEquals:urlEquals,fieldValues:fieldValues}},86197:(i,c,d)=>{"use strict";const p=d(42613);const A=d(69278);const C=d(58611);const{pipeline:S}=d(2203);const v=d(3440);const _=d(28804);const T=d(44655);const V=d(50001);const{RequestContentLengthMismatchError:Z,ResponseContentLengthMismatchError:ee,InvalidArgumentError:te,RequestAbortedError:re,HeadersTimeoutError:ne,HeadersOverflowError:ie,SocketError:se,InformationalError:oe,BodyTimeoutError:ae,HTTPParserError:le,ResponseExceededMaxSizeError:ce,ClientDestroyedError:ue}=d(68707);const de=d(59136);const{kUrl:fe,kReset:pe,kServerName:Ae,kClient:he,kBusy:ge,kParser:me,kConnect:ye,kBlocking:Ee,kResuming:be,kRunning:Ce,kPending:we,kSize:Ie,kWriting:Se,kQueue:ve,kConnected:Be,kConnecting:Re,kNeedDrain:_e,kNoRef:Ne,kKeepAliveDefaultTimeout:Qe,kHostHeader:Te,kPendingIdx:ke,kRunningIdx:xe,kError:Pe,kPipelining:Oe,kSocket:De,kKeepAliveTimeoutValue:Le,kMaxHeadersSize:Me,kKeepAliveMaxTimeout:Fe,kKeepAliveTimeoutThreshold:Ue,kHeadersTimeout:He,kBodyTimeout:je,kStrictContentLength:qe,kConnector:Ge,kMaxRedirections:ze,kMaxRequests:Ve,kCounter:We,kClose:$e,kDestroy:Ye,kDispatch:Je,kInterceptors:Ke,kLocalAddress:Xe,kMaxResponseSize:Ze,kHTTPConnVersion:at,kHost:ct,kHTTP2Session:ft,kHTTP2SessionState:pt,kHTTP2BuildRequest:At,kHTTP2CopyHeaders:mt,kHTTP1BuildRequest:yt}=d(36443);let Et;try{Et=d(85675)}catch{Et={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:bt,HTTP2_HEADER_METHOD:Ct,HTTP2_HEADER_PATH:wt,HTTP2_HEADER_SCHEME:It,HTTP2_HEADER_CONTENT_LENGTH:St,HTTP2_HEADER_EXPECT:vt,HTTP2_HEADER_STATUS:Bt}}=Et;let Rt=false;const _t=Buffer[Symbol.species];const Nt=Symbol("kClosedResolve");const Qt={};try{const i=d(31637);Qt.sendHeaders=i.channel("undici:client:sendHeaders");Qt.beforeConnect=i.channel("undici:client:beforeConnect");Qt.connectError=i.channel("undici:client:connectError");Qt.connected=i.channel("undici:client:connected")}catch{Qt.sendHeaders={hasSubscribers:false};Qt.beforeConnect={hasSubscribers:false};Qt.connectError={hasSubscribers:false};Qt.connected={hasSubscribers:false}}class Client extends V{constructor(i,{interceptors:c,maxHeaderSize:d,headersTimeout:p,socketTimeout:S,requestTimeout:_,connectTimeout:T,bodyTimeout:V,idleTimeout:Z,keepAlive:ee,keepAliveTimeout:re,maxKeepAliveTimeout:ne,keepAliveMaxTimeout:ie,keepAliveTimeoutThreshold:se,socketPath:oe,pipelining:ae,tls:le,strictContentLength:ce,maxCachedSessions:ue,maxRedirections:pe,connect:he,maxRequestsPerClient:ge,localAddress:me,maxResponseSize:ye,autoSelectFamily:Ee,autoSelectFamilyAttemptTimeout:Ce,allowH2:we,maxConcurrentStreams:Ie}={}){super();if(ee!==undefined){throw new te("unsupported keepAlive, use pipelining=0 instead")}if(S!==undefined){throw new te("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(_!==undefined){throw new te("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(Z!==undefined){throw new te("unsupported idleTimeout, use keepAliveTimeout instead")}if(ne!==undefined){throw new te("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(d!=null&&!Number.isFinite(d)){throw new te("invalid maxHeaderSize")}if(oe!=null&&typeof oe!=="string"){throw new te("invalid socketPath")}if(T!=null&&(!Number.isFinite(T)||T<0)){throw new te("invalid connectTimeout")}if(re!=null&&(!Number.isFinite(re)||re<=0)){throw new te("invalid keepAliveTimeout")}if(ie!=null&&(!Number.isFinite(ie)||ie<=0)){throw new te("invalid keepAliveMaxTimeout")}if(se!=null&&!Number.isFinite(se)){throw new te("invalid keepAliveTimeoutThreshold")}if(p!=null&&(!Number.isInteger(p)||p<0)){throw new te("headersTimeout must be a positive integer or zero")}if(V!=null&&(!Number.isInteger(V)||V<0)){throw new te("bodyTimeout must be a positive integer or zero")}if(he!=null&&typeof he!=="function"&&typeof he!=="object"){throw new te("connect must be a function or an object")}if(pe!=null&&(!Number.isInteger(pe)||pe<0)){throw new te("maxRedirections must be a positive number")}if(ge!=null&&(!Number.isInteger(ge)||ge<0)){throw new te("maxRequestsPerClient must be a positive number")}if(me!=null&&(typeof me!=="string"||A.isIP(me)===0)){throw new te("localAddress must be valid string IP address")}if(ye!=null&&(!Number.isInteger(ye)||ye<-1)){throw new te("maxResponseSize must be a positive number")}if(Ce!=null&&(!Number.isInteger(Ce)||Ce<-1)){throw new te("autoSelectFamilyAttemptTimeout must be a positive number")}if(we!=null&&typeof we!=="boolean"){throw new te("allowH2 must be a valid boolean value")}if(Ie!=null&&(typeof Ie!=="number"||Ie<1)){throw new te("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof he!=="function"){he=de({...le,maxCachedSessions:ue,allowH2:we,socketPath:oe,timeout:T,...v.nodeHasAutoSelectFamily&&Ee?{autoSelectFamily:Ee,autoSelectFamilyAttemptTimeout:Ce}:undefined,...he})}this[Ke]=c&&c.Client&&Array.isArray(c.Client)?c.Client:[kt({maxRedirections:pe})];this[fe]=v.parseOrigin(i);this[Ge]=he;this[De]=null;this[Oe]=ae!=null?ae:1;this[Me]=d||C.maxHeaderSize;this[Qe]=re==null?4e3:re;this[Fe]=ie==null?6e5:ie;this[Ue]=se==null?1e3:se;this[Le]=this[Qe];this[Ae]=null;this[Xe]=me!=null?me:null;this[be]=0;this[_e]=0;this[Te]=`host: ${this[fe].hostname}${this[fe].port?`:${this[fe].port}`:""}\r\n`;this[je]=V!=null?V:3e5;this[He]=p!=null?p:3e5;this[qe]=ce==null?true:ce;this[ze]=pe;this[Ve]=ge;this[Nt]=null;this[Ze]=ye>-1?ye:-1;this[at]="h1";this[ft]=null;this[pt]=!we?null:{openStreams:0,maxConcurrentStreams:Ie!=null?Ie:100};this[ct]=`${this[fe].hostname}${this[fe].port?`:${this[fe].port}`:""}`;this[ve]=[];this[xe]=0;this[ke]=0}get pipelining(){return this[Oe]}set pipelining(i){this[Oe]=i;resume(this,true)}get[we](){return this[ve].length-this[ke]}get[Ce](){return this[ke]-this[xe]}get[Ie](){return this[ve].length-this[xe]}get[Be](){return!!this[De]&&!this[Re]&&!this[De].destroyed}get[ge](){const i=this[De];return i&&(i[pe]||i[Se]||i[Ee])||this[Ie]>=(this[Oe]||1)||this[we]>0}[ye](i){connect(this);this.once("connect",i)}[Je](i,c){const d=i.origin||this[fe].origin;const p=this[at]==="h2"?T[At](d,i,c):T[yt](d,i,c);this[ve].push(p);if(this[be]){}else if(v.bodyLength(p.body)==null&&v.isIterable(p.body)){this[be]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[be]&&this[_e]!==2&&this[ge]){this[_e]=2}return this[_e]<2}async[$e](){return new Promise((i=>{if(!this[Ie]){i(null)}else{this[Nt]=i}}))}async[Ye](i){return new Promise((c=>{const d=this[ve].splice(this[ke]);for(let c=0;c<d.length;c++){const p=d[c];errorRequest(this,p,i)}const callback=()=>{if(this[Nt]){this[Nt]();this[Nt]=null}c()};if(this[ft]!=null){v.destroy(this[ft],i);this[ft]=null;this[pt]=null}if(!this[De]){queueMicrotask(callback)}else{v.destroy(this[De].on("close",callback),i)}resume(this)}))}}function onHttp2SessionError(i){p(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[De][Pe]=i;onError(this[he],i)}function onHttp2FrameError(i,c,d){const p=new oe(`HTTP/2: "frameError" received - type ${i}, code ${c}`);if(d===0){this[De][Pe]=p;onError(this[he],p)}}function onHttp2SessionEnd(){v.destroy(this,new se("other side closed"));v.destroy(this[De],new se("other side closed"))}function onHTTP2GoAway(i){const c=this[he];const d=new oe(`HTTP/2: "GOAWAY" frame received with code ${i}`);c[De]=null;c[ft]=null;if(c.destroyed){p(this[we]===0);const i=c[ve].splice(c[xe]);for(let c=0;c<i.length;c++){const p=i[c];errorRequest(this,p,d)}}else if(c[Ce]>0){const i=c[ve][c[xe]];c[ve][c[xe]++]=null;errorRequest(c,i,d)}c[ke]=c[xe];p(c[Ce]===0);c.emit("disconnect",c[fe],[c],d);resume(c)}const Tt=d(52824);const kt=d(64415);const xt=Buffer.alloc(0);async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?d(63870):undefined;let c;try{c=await WebAssembly.compile(Buffer.from(d(53434),"base64"))}catch(p){c=await WebAssembly.compile(Buffer.from(i||d(63870),"base64"))}return await WebAssembly.instantiate(c,{env:{wasm_on_url:(i,c,d)=>0,wasm_on_status:(i,c,d)=>{p.strictEqual(Dt.ptr,i);const A=c-Ft+Lt.byteOffset;return Dt.onStatus(new _t(Lt.buffer,A,d))||0},wasm_on_message_begin:i=>{p.strictEqual(Dt.ptr,i);return Dt.onMessageBegin()||0},wasm_on_header_field:(i,c,d)=>{p.strictEqual(Dt.ptr,i);const A=c-Ft+Lt.byteOffset;return Dt.onHeaderField(new _t(Lt.buffer,A,d))||0},wasm_on_header_value:(i,c,d)=>{p.strictEqual(Dt.ptr,i);const A=c-Ft+Lt.byteOffset;return Dt.onHeaderValue(new _t(Lt.buffer,A,d))||0},wasm_on_headers_complete:(i,c,d,A)=>{p.strictEqual(Dt.ptr,i);return Dt.onHeadersComplete(c,Boolean(d),Boolean(A))||0},wasm_on_body:(i,c,d)=>{p.strictEqual(Dt.ptr,i);const A=c-Ft+Lt.byteOffset;return Dt.onBody(new _t(Lt.buffer,A,d))||0},wasm_on_message_complete:i=>{p.strictEqual(Dt.ptr,i);return Dt.onMessageComplete()||0}}})}let Pt=null;let Ot=lazyllhttp();Ot.catch();let Dt=null;let Lt=null;let Mt=0;let Ft=null;const Ut=1;const Ht=2;const jt=3;class Parser{constructor(i,c,{exports:d}){p(Number.isFinite(i[Me])&&i[Me]>0);this.llhttp=d;this.ptr=this.llhttp.llhttp_alloc(Tt.TYPE.RESPONSE);this.client=i;this.socket=c;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[Me];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[Ze]}setTimeout(i,c){this.timeoutType=c;if(i!==this.timeoutValue){_.clearTimeout(this.timeout);if(i){this.timeout=_.setTimeout(onParserTimeout,i,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}p(this.ptr!=null);p(Dt==null);this.llhttp.llhttp_resume(this.ptr);p(this.timeoutType===Ht);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||xt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){p(this.ptr!=null);p(Dt==null);p(!this.paused);const{socket:c,llhttp:d}=this;if(i.length>Mt){if(Ft){d.free(Ft)}Mt=Math.ceil(i.length/4096)*4096;Ft=d.malloc(Mt)}new Uint8Array(d.memory.buffer,Ft,Mt).set(i);try{let p;try{Lt=i;Dt=this;p=d.llhttp_execute(this.ptr,Ft,i.length)}catch(i){throw i}finally{Dt=null;Lt=null}const A=d.llhttp_get_error_pos(this.ptr)-Ft;if(p===Tt.ERROR.PAUSED_UPGRADE){this.onUpgrade(i.slice(A))}else if(p===Tt.ERROR.PAUSED){this.paused=true;c.unshift(i.slice(A))}else if(p!==Tt.ERROR.OK){const c=d.llhttp_get_error_reason(this.ptr);let C="";if(c){const i=new Uint8Array(d.memory.buffer,c).indexOf(0);C="Response does not match the HTTP/1.1 protocol ("+Buffer.from(d.memory.buffer,c,i).toString()+")"}throw new le(C,Tt.ERROR[p],i.slice(A))}}catch(i){v.destroy(c,i)}}destroy(){p(this.ptr!=null);p(Dt==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;_.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:c}=this;if(i.destroyed){return-1}const d=c[ve][c[xe]];if(!d){return-1}}onHeaderField(i){const c=this.headers.length;if((c&1)===0){this.headers.push(i)}else{this.headers[c-1]=Buffer.concat([this.headers[c-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let c=this.headers.length;if((c&1)===1){this.headers.push(i);c+=1}else{this.headers[c-1]=Buffer.concat([this.headers[c-1],i])}const d=this.headers[c-2];if(d.length===10&&d.toString().toLowerCase()==="keep-alive"){this.keepAlive+=i.toString()}else if(d.length===10&&d.toString().toLowerCase()==="connection"){this.connection+=i.toString()}else if(d.length===14&&d.toString().toLowerCase()==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){v.destroy(this.socket,new ie)}}onUpgrade(i){const{upgrade:c,client:d,socket:A,headers:C,statusCode:S}=this;p(c);const _=d[ve][d[xe]];p(_);p(!A.destroyed);p(A===d[De]);p(!this.paused);p(_.upgrade||_.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;p(this.headers.length%2===0);this.headers=[];this.headersSize=0;A.unshift(i);A[me].destroy();A[me]=null;A[he]=null;A[Pe]=null;A.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);d[De]=null;d[ve][d[xe]++]=null;d.emit("disconnect",d[fe],[d],new oe("upgrade"));try{_.onUpgrade(S,C,A)}catch(i){v.destroy(A,i)}resume(d)}onHeadersComplete(i,c,d){const{client:A,socket:C,headers:S,statusText:_}=this;if(C.destroyed){return-1}const T=A[ve][A[xe]];if(!T){return-1}p(!this.upgrade);p(this.statusCode<200);if(i===100){v.destroy(C,new se("bad response",v.getSocketInfo(C)));return-1}if(c&&!T.upgrade){v.destroy(C,new se("bad upgrade",v.getSocketInfo(C)));return-1}p.strictEqual(this.timeoutType,Ut);this.statusCode=i;this.shouldKeepAlive=d||T.method==="HEAD"&&!C[pe]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=T.bodyTimeout!=null?T.bodyTimeout:A[je];this.setTimeout(i,Ht)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(T.method==="CONNECT"){p(A[Ce]===1);this.upgrade=true;return 2}if(c){p(A[Ce]===1);this.upgrade=true;return 2}p(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&A[Oe]){const i=this.keepAlive?v.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const c=Math.min(i-A[Ue],A[Fe]);if(c<=0){C[pe]=true}else{A[Le]=c}}else{A[Le]=A[Qe]}}else{C[pe]=true}const V=T.onHeaders(i,S,this.resume,_)===false;if(T.aborted){return-1}if(T.method==="HEAD"){return 1}if(i<200){return 1}if(C[Ee]){C[Ee]=false;resume(A)}return V?Tt.ERROR.PAUSED:0}onBody(i){const{client:c,socket:d,statusCode:A,maxResponseSize:C}=this;if(d.destroyed){return-1}const S=c[ve][c[xe]];p(S);p.strictEqual(this.timeoutType,Ht);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}p(A>=200);if(C>-1&&this.bytesRead+i.length>C){v.destroy(d,new ce);return-1}this.bytesRead+=i.length;if(S.onData(i)===false){return Tt.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:c,statusCode:d,upgrade:A,headers:C,contentLength:S,bytesRead:_,shouldKeepAlive:T}=this;if(c.destroyed&&(!d||T)){return-1}if(A){return}const V=i[ve][i[xe]];p(V);p(d>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";p(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(d<200){return}if(V.method!=="HEAD"&&S&&_!==parseInt(S,10)){v.destroy(c,new ee);return-1}V.onComplete(C);i[ve][i[xe]++]=null;if(c[Se]){p.strictEqual(i[Ce],0);v.destroy(c,new oe("reset"));return Tt.ERROR.PAUSED}else if(!T){v.destroy(c,new oe("reset"));return Tt.ERROR.PAUSED}else if(c[pe]&&i[Ce]===0){v.destroy(c,new oe("reset"));return Tt.ERROR.PAUSED}else if(i[Oe]===1){setImmediate(resume,i)}else{resume(i)}}}function onParserTimeout(i){const{socket:c,timeoutType:d,client:A}=i;if(d===Ut){if(!c[Se]||c.writableNeedDrain||A[Ce]>1){p(!i.paused,"cannot be paused while waiting for headers");v.destroy(c,new ne)}}else if(d===Ht){if(!i.paused){v.destroy(c,new ae)}}else if(d===jt){p(A[Ce]===0&&A[Le]);v.destroy(c,new oe("socket idle timeout"))}}function onSocketReadable(){const{[me]:i}=this;if(i){i.readMore()}}function onSocketError(i){const{[he]:c,[me]:d}=this;p(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(c[at]!=="h2"){if(i.code==="ECONNRESET"&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete();return}}this[Pe]=i;onError(this[he],i)}function onError(i,c){if(i[Ce]===0&&c.code!=="UND_ERR_INFO"&&c.code!=="UND_ERR_SOCKET"){p(i[ke]===i[xe]);const d=i[ve].splice(i[xe]);for(let p=0;p<d.length;p++){const A=d[p];errorRequest(i,A,c)}p(i[Ie]===0)}}function onSocketEnd(){const{[me]:i,[he]:c}=this;if(c[at]!=="h2"){if(i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}}v.destroy(this,new se("other side closed",v.getSocketInfo(this)))}function onSocketClose(){const{[he]:i,[me]:c}=this;if(i[at]==="h1"&&c){if(!this[Pe]&&c.statusCode&&!c.shouldKeepAlive){c.onMessageComplete()}this[me].destroy();this[me]=null}const d=this[Pe]||new se("closed",v.getSocketInfo(this));i[De]=null;if(i.destroyed){p(i[we]===0);const c=i[ve].splice(i[xe]);for(let p=0;p<c.length;p++){const A=c[p];errorRequest(i,A,d)}}else if(i[Ce]>0&&d.code!=="UND_ERR_INFO"){const c=i[ve][i[xe]];i[ve][i[xe]++]=null;errorRequest(i,c,d)}i[ke]=i[xe];p(i[Ce]===0);i.emit("disconnect",i[fe],[i],d);resume(i)}async function connect(i){p(!i[Re]);p(!i[De]);let{host:c,hostname:d,protocol:C,port:S}=i[fe];if(d[0]==="["){const i=d.indexOf("]");p(i!==-1);const c=d.substring(1,i);p(A.isIP(c));d=c}i[Re]=true;if(Qt.beforeConnect.hasSubscribers){Qt.beforeConnect.publish({connectParams:{host:c,hostname:d,protocol:C,port:S,servername:i[Ae],localAddress:i[Xe]},connector:i[Ge]})}try{const A=await new Promise(((p,A)=>{i[Ge]({host:c,hostname:d,protocol:C,port:S,servername:i[Ae],localAddress:i[Xe]},((i,c)=>{if(i){A(i)}else{p(c)}}))}));if(i.destroyed){v.destroy(A.on("error",(()=>{})),new ue);return}i[Re]=false;p(A);const _=A.alpnProtocol==="h2";if(_){if(!Rt){Rt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const c=Et.connect(i[fe],{createConnection:()=>A,peerMaxConcurrentStreams:i[pt].maxConcurrentStreams});i[at]="h2";c[he]=i;c[De]=A;c.on("error",onHttp2SessionError);c.on("frameError",onHttp2FrameError);c.on("end",onHttp2SessionEnd);c.on("goaway",onHTTP2GoAway);c.on("close",onSocketClose);c.unref();i[ft]=c;A[ft]=c}else{if(!Pt){Pt=await Ot;Ot=null}A[Ne]=false;A[Se]=false;A[pe]=false;A[Ee]=false;A[me]=new Parser(i,A,Pt)}A[We]=0;A[Ve]=i[Ve];A[he]=i;A[Pe]=null;A.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);i[De]=A;if(Qt.connected.hasSubscribers){Qt.connected.publish({connectParams:{host:c,hostname:d,protocol:C,port:S,servername:i[Ae],localAddress:i[Xe]},connector:i[Ge],socket:A})}i.emit("connect",i[fe],[i])}catch(A){if(i.destroyed){return}i[Re]=false;if(Qt.connectError.hasSubscribers){Qt.connectError.publish({connectParams:{host:c,hostname:d,protocol:C,port:S,servername:i[Ae],localAddress:i[Xe]},connector:i[Ge],error:A})}if(A.code==="ERR_TLS_CERT_ALTNAME_INVALID"){p(i[Ce]===0);while(i[we]>0&&i[ve][i[ke]].servername===i[Ae]){const c=i[ve][i[ke]++];errorRequest(i,c,A)}}else{onError(i,A)}i.emit("connectionError",i[fe],[i],A)}resume(i)}function emitDrain(i){i[_e]=0;i.emit("drain",i[fe],[i])}function resume(i,c){if(i[be]===2){return}i[be]=2;_resume(i,c);i[be]=0;if(i[xe]>256){i[ve].splice(0,i[xe]);i[ke]-=i[xe];i[xe]=0}}function _resume(i,c){while(true){if(i.destroyed){p(i[we]===0);return}if(i[Nt]&&!i[Ie]){i[Nt]();i[Nt]=null;return}const d=i[De];if(d&&!d.destroyed&&d.alpnProtocol!=="h2"){if(i[Ie]===0){if(!d[Ne]&&d.unref){d.unref();d[Ne]=true}}else if(d[Ne]&&d.ref){d.ref();d[Ne]=false}if(i[Ie]===0){if(d[me].timeoutType!==jt){d[me].setTimeout(i[Le],jt)}}else if(i[Ce]>0&&d[me].statusCode<200){if(d[me].timeoutType!==Ut){const c=i[ve][i[xe]];const p=c.headersTimeout!=null?c.headersTimeout:i[He];d[me].setTimeout(p,Ut)}}}if(i[ge]){i[_e]=2}else if(i[_e]===2){if(c){i[_e]=1;process.nextTick(emitDrain,i)}else{emitDrain(i)}continue}if(i[we]===0){return}if(i[Ce]>=(i[Oe]||1)){return}const A=i[ve][i[ke]];if(i[fe].protocol==="https:"&&i[Ae]!==A.servername){if(i[Ce]>0){return}i[Ae]=A.servername;if(d&&d.servername!==A.servername){v.destroy(d,new oe("servername changed"));return}}if(i[Re]){return}if(!d&&!i[ft]){connect(i);return}if(d.destroyed||d[Se]||d[pe]||d[Ee]){return}if(i[Ce]>0&&!A.idempotent){return}if(i[Ce]>0&&(A.upgrade||A.method==="CONNECT")){return}if(i[Ce]>0&&v.bodyLength(A.body)!==0&&(v.isStream(A.body)||v.isAsyncIterable(A.body))){return}if(!A.aborted&&write(i,A)){i[ke]++}else{i[ve].splice(i[ke],1)}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function write(i,c){if(i[at]==="h2"){writeH2(i,i[ft],c);return}const{body:d,method:A,path:C,host:S,upgrade:_,headers:T,blocking:V,reset:ee}=c;const te=A==="PUT"||A==="POST"||A==="PATCH";if(d&&typeof d.read==="function"){d.read(0)}const ne=v.bodyLength(d);let ie=ne;if(ie===null){ie=c.contentLength}if(ie===0&&!te){ie=null}if(shouldSendContentLength(A)&&ie>0&&c.contentLength!==null&&c.contentLength!==ie){if(i[qe]){errorRequest(i,c,new Z);return false}process.emitWarning(new Z)}const se=i[De];try{c.onConnect((d=>{if(c.aborted||c.completed){return}errorRequest(i,c,d||new re);v.destroy(se,new oe("aborted"))}))}catch(d){errorRequest(i,c,d)}if(c.aborted){return false}if(A==="HEAD"){se[pe]=true}if(_||A==="CONNECT"){se[pe]=true}if(ee!=null){se[pe]=ee}if(i[Ve]&&se[We]++>=i[Ve]){se[pe]=true}if(V){se[Ee]=true}let ae=`${A} ${C} HTTP/1.1\r\n`;if(typeof S==="string"){ae+=`host: ${S}\r\n`}else{ae+=i[Te]}if(_){ae+=`connection: upgrade\r\nupgrade: ${_}\r\n`}else if(i[Oe]&&!se[pe]){ae+="connection: keep-alive\r\n"}else{ae+="connection: close\r\n"}if(T){ae+=T}if(Qt.sendHeaders.hasSubscribers){Qt.sendHeaders.publish({request:c,headers:ae,socket:se})}if(!d||ne===0){if(ie===0){se.write(`${ae}content-length: 0\r\n\r\n`,"latin1")}else{p(ie===null,"no body must not have content length");se.write(`${ae}\r\n`,"latin1")}c.onRequestSent()}else if(v.isBuffer(d)){p(ie===d.byteLength,"buffer body must have content length");se.cork();se.write(`${ae}content-length: ${ie}\r\n\r\n`,"latin1");se.write(d);se.uncork();c.onBodySent(d);c.onRequestSent();if(!te){se[pe]=true}}else if(v.isBlobLike(d)){if(typeof d.stream==="function"){writeIterable({body:d.stream(),client:i,request:c,socket:se,contentLength:ie,header:ae,expectsPayload:te})}else{writeBlob({body:d,client:i,request:c,socket:se,contentLength:ie,header:ae,expectsPayload:te})}}else if(v.isStream(d)){writeStream({body:d,client:i,request:c,socket:se,contentLength:ie,header:ae,expectsPayload:te})}else if(v.isIterable(d)){writeIterable({body:d,client:i,request:c,socket:se,contentLength:ie,header:ae,expectsPayload:te})}else{p(false)}return true}function writeH2(i,c,d){const{body:A,method:C,path:S,host:_,upgrade:V,expectContinue:ee,signal:te,headers:ne}=d;let ie;if(typeof ne==="string")ie=T[mt](ne.trim());else ie=ne;if(V){errorRequest(i,d,new Error("Upgrade not supported for H2"));return false}try{d.onConnect((c=>{if(d.aborted||d.completed){return}errorRequest(i,d,c||new re)}))}catch(c){errorRequest(i,d,c)}if(d.aborted){return false}let se;const ae=i[pt];ie[bt]=_||i[ct];ie[Ct]=C;if(C==="CONNECT"){c.ref();se=c.request(ie,{endStream:false,signal:te});if(se.id&&!se.pending){d.onUpgrade(null,null,se);++ae.openStreams}else{se.once("ready",(()=>{d.onUpgrade(null,null,se);++ae.openStreams}))}se.once("close",(()=>{ae.openStreams-=1;if(ae.openStreams===0)c.unref()}));return true}ie[wt]=S;ie[It]="https";const le=C==="PUT"||C==="POST"||C==="PATCH";if(A&&typeof A.read==="function"){A.read(0)}let ce=v.bodyLength(A);if(ce==null){ce=d.contentLength}if(ce===0||!le){ce=null}if(shouldSendContentLength(C)&&ce>0&&d.contentLength!=null&&d.contentLength!==ce){if(i[qe]){errorRequest(i,d,new Z);return false}process.emitWarning(new Z)}if(ce!=null){p(A,"no body must not have content length");ie[St]=`${ce}`}c.ref();const ue=C==="GET"||C==="HEAD";if(ee){ie[vt]="100-continue";se=c.request(ie,{endStream:ue,signal:te});se.once("continue",writeBodyH2)}else{se=c.request(ie,{endStream:ue,signal:te});writeBodyH2()}++ae.openStreams;se.once("response",(i=>{const{[Bt]:c,...p}=i;if(d.onHeaders(Number(c),p,se.resume.bind(se),"")===false){se.pause()}}));se.once("end",(()=>{d.onComplete([])}));se.on("data",(i=>{if(d.onData(i)===false){se.pause()}}));se.once("close",(()=>{ae.openStreams-=1;if(ae.openStreams===0){c.unref()}}));se.once("error",(function(c){if(i[ft]&&!i[ft].destroyed&&!this.closed&&!this.destroyed){ae.streams-=1;v.destroy(se,c)}}));se.once("frameError",((c,p)=>{const A=new oe(`HTTP/2: "frameError" received - type ${c}, code ${p}`);errorRequest(i,d,A);if(i[ft]&&!i[ft].destroyed&&!this.closed&&!this.destroyed){ae.streams-=1;v.destroy(se,A)}}));return true;function writeBodyH2(){if(!A){d.onRequestSent()}else if(v.isBuffer(A)){p(ce===A.byteLength,"buffer body must have content length");se.cork();se.write(A);se.uncork();se.end();d.onBodySent(A);d.onRequestSent()}else if(v.isBlobLike(A)){if(typeof A.stream==="function"){writeIterable({client:i,request:d,contentLength:ce,h2stream:se,expectsPayload:le,body:A.stream(),socket:i[De],header:""})}else{writeBlob({body:A,client:i,request:d,contentLength:ce,expectsPayload:le,h2stream:se,header:"",socket:i[De]})}}else if(v.isStream(A)){writeStream({body:A,client:i,request:d,contentLength:ce,expectsPayload:le,socket:i[De],h2stream:se,header:""})}else if(v.isIterable(A)){writeIterable({body:A,client:i,request:d,contentLength:ce,expectsPayload:le,header:"",h2stream:se,socket:i[De]})}else{p(false)}}}function writeStream({h2stream:i,body:c,client:d,request:A,socket:C,contentLength:_,header:T,expectsPayload:V}){p(_!==0||d[Ce]===0,"stream body cannot be pipelined");if(d[at]==="h2"){const te=S(c,i,(d=>{if(d){v.destroy(c,d);v.destroy(i,d)}else{A.onRequestSent()}}));te.on("data",onPipeData);te.once("end",(()=>{te.removeListener("data",onPipeData);v.destroy(te)}));function onPipeData(i){A.onBodySent(i)}return}let Z=false;const ee=new AsyncWriter({socket:C,request:A,contentLength:_,client:d,expectsPayload:V,header:T});const onData=function(i){if(Z){return}try{if(!ee.write(i)&&this.pause){this.pause()}}catch(i){v.destroy(this,i)}};const onDrain=function(){if(Z){return}if(c.resume){c.resume()}};const onAbort=function(){if(Z){return}const i=new re;queueMicrotask((()=>onFinished(i)))};const onFinished=function(i){if(Z){return}Z=true;p(C.destroyed||C[Se]&&d[Ce]<=1);C.off("drain",onDrain).off("error",onFinished);c.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!i){try{ee.end()}catch(c){i=c}}ee.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){v.destroy(c,i)}else{v.destroy(c)}};c.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(c.resume){c.resume()}C.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:i,body:c,client:d,request:A,socket:C,contentLength:S,header:_,expectsPayload:T}){p(S===c.size,"blob body must have content length");const V=d[at]==="h2";try{if(S!=null&&S!==c.size){throw new Z}const p=Buffer.from(await c.arrayBuffer());if(V){i.cork();i.write(p);i.uncork()}else{C.cork();C.write(`${_}content-length: ${S}\r\n\r\n`,"latin1");C.write(p);C.uncork()}A.onBodySent(p);A.onRequestSent();if(!T){C[pe]=true}resume(d)}catch(c){v.destroy(V?i:C,c)}}async function writeIterable({h2stream:i,body:c,client:d,request:A,socket:C,contentLength:S,header:v,expectsPayload:_}){p(S!==0||d[Ce]===0,"iterator body cannot be pipelined");let T=null;function onDrain(){if(T){const i=T;T=null;i()}}const waitForDrain=()=>new Promise(((i,c)=>{p(T===null);if(C[Pe]){c(C[Pe])}else{T=i}}));if(d[at]==="h2"){i.on("close",onDrain).on("drain",onDrain);try{for await(const d of c){if(C[Pe]){throw C[Pe]}const c=i.write(d);A.onBodySent(d);if(!c){await waitForDrain()}}}catch(c){i.destroy(c)}finally{A.onRequestSent();i.end();i.off("close",onDrain).off("drain",onDrain)}return}C.on("close",onDrain).on("drain",onDrain);const V=new AsyncWriter({socket:C,request:A,contentLength:S,client:d,expectsPayload:_,header:v});try{for await(const i of c){if(C[Pe]){throw C[Pe]}if(!V.write(i)){await waitForDrain()}}V.end()}catch(i){V.destroy(i)}finally{C.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:i,request:c,contentLength:d,client:p,expectsPayload:A,header:C}){this.socket=i;this.request=c;this.contentLength=d;this.client=p;this.bytesWritten=0;this.expectsPayload=A;this.header=C;i[Se]=true}write(i){const{socket:c,request:d,contentLength:p,client:A,bytesWritten:C,expectsPayload:S,header:v}=this;if(c[Pe]){throw c[Pe]}if(c.destroyed){return false}const _=Buffer.byteLength(i);if(!_){return true}if(p!==null&&C+_>p){if(A[qe]){throw new Z}process.emitWarning(new Z)}c.cork();if(C===0){if(!S){c[pe]=true}if(p===null){c.write(`${v}transfer-encoding: chunked\r\n`,"latin1")}else{c.write(`${v}content-length: ${p}\r\n\r\n`,"latin1")}}if(p===null){c.write(`\r\n${_.toString(16)}\r\n`,"latin1")}this.bytesWritten+=_;const T=c.write(i);c.uncork();d.onBodySent(i);if(!T){if(c[me].timeout&&c[me].timeoutType===Ut){if(c[me].timeout.refresh){c[me].timeout.refresh()}}}return T}end(){const{socket:i,contentLength:c,client:d,bytesWritten:p,expectsPayload:A,header:C,request:S}=this;S.onRequestSent();i[Se]=false;if(i[Pe]){throw i[Pe]}if(i.destroyed){return}if(p===0){if(A){i.write(`${C}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${C}\r\n`,"latin1")}}else if(c===null){i.write("\r\n0\r\n\r\n","latin1")}if(c!==null&&p!==c){if(d[qe]){throw new Z}else{process.emitWarning(new Z)}}if(i[me].timeout&&i[me].timeoutType===Ut){if(i[me].timeout.refresh){i[me].timeout.refresh()}}resume(d)}destroy(i){const{socket:c,client:d}=this;c[Se]=false;if(i){p(d[Ce]<=1,"pipeline should only contain this request");v.destroy(c,i)}}}function errorRequest(i,c,d){try{c.onError(d);p(c.aborted)}catch(d){i.emit("error",d)}}i.exports=Client},13194:(i,c,d)=>{"use strict";const{kConnected:p,kSize:A}=d(36443);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[p]===0&&this.value[A]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,c){if(i.on){i.on("disconnect",(()=>{if(i[p]===0&&i[A]===0){this.finalizer(c)}}))}}}i.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},19237:i=>{"use strict";const c=1024;const d=4096;i.exports={maxAttributeValueSize:c,maxNameValuePairSize:d}},53168:(i,c,d)=>{"use strict";const{parseSetCookie:p}=d(8915);const{stringify:A}=d(3834);const{webidl:C}=d(74222);const{Headers:S}=d(26349);function getCookies(i){C.argumentLengthCheck(arguments,1,{header:"getCookies"});C.brandCheck(i,S,{strict:false});const c=i.get("cookie");const d={};if(!c){return d}for(const i of c.split(";")){const[c,...p]=i.split("=");d[c.trim()]=p.join("=")}return d}function deleteCookie(i,c,d){C.argumentLengthCheck(arguments,2,{header:"deleteCookie"});C.brandCheck(i,S,{strict:false});c=C.converters.DOMString(c);d=C.converters.DeleteCookieAttributes(d);setCookie(i,{name:c,value:"",expires:new Date(0),...d})}function getSetCookies(i){C.argumentLengthCheck(arguments,1,{header:"getSetCookies"});C.brandCheck(i,S,{strict:false});const c=i.getSetCookie();if(!c){return[]}return c.map((i=>p(i)))}function setCookie(i,c){C.argumentLengthCheck(arguments,2,{header:"setCookie"});C.brandCheck(i,S,{strict:false});c=C.converters.Cookie(c);const d=A(c);if(d){i.append("Set-Cookie",A(c))}}C.converters.DeleteCookieAttributes=C.dictionaryConverter([{converter:C.nullableConverter(C.converters.DOMString),key:"path",defaultValue:null},{converter:C.nullableConverter(C.converters.DOMString),key:"domain",defaultValue:null}]);C.converters.Cookie=C.dictionaryConverter([{converter:C.converters.DOMString,key:"name"},{converter:C.converters.DOMString,key:"value"},{converter:C.nullableConverter((i=>{if(typeof i==="number"){return C.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:null},{converter:C.nullableConverter(C.converters["long long"]),key:"maxAge",defaultValue:null},{converter:C.nullableConverter(C.converters.DOMString),key:"domain",defaultValue:null},{converter:C.nullableConverter(C.converters.DOMString),key:"path",defaultValue:null},{converter:C.nullableConverter(C.converters.boolean),key:"secure",defaultValue:null},{converter:C.nullableConverter(C.converters.boolean),key:"httpOnly",defaultValue:null},{converter:C.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:C.sequenceConverter(C.converters.DOMString),key:"unparsed",defaultValue:[]}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(i,c,d)=>{"use strict";const{maxNameValuePairSize:p,maxAttributeValueSize:A}=d(19237);const{isCTLExcludingHtab:C}=d(3834);const{collectASequenceOfCodePointsFast:S}=d(94322);const v=d(42613);function parseSetCookie(i){if(C(i)){return null}let c="";let d="";let A="";let v="";if(i.includes(";")){const p={position:0};c=S(";",i,p);d=i.slice(p.position)}else{c=i}if(!c.includes("=")){v=c}else{const i={position:0};A=S("=",c,i);v=c.slice(i.position+1)}A=A.trim();v=v.trim();if(A.length+v.length>p){return null}return{name:A,value:v,...parseUnparsedAttributes(d)}}function parseUnparsedAttributes(i,c={}){if(i.length===0){return c}v(i[0]===";");i=i.slice(1);let d="";if(i.includes(";")){d=S(";",i,{position:0});i=i.slice(d.length)}else{d=i;i=""}let p="";let C="";if(d.includes("=")){const i={position:0};p=S("=",d,i);C=d.slice(i.position+1)}else{p=d}p=p.trim();C=C.trim();if(C.length>A){return parseUnparsedAttributes(i,c)}const _=p.toLowerCase();if(_==="expires"){const i=new Date(C);c.expires=i}else if(_==="max-age"){const d=C.charCodeAt(0);if((d<48||d>57)&&C[0]!=="-"){return parseUnparsedAttributes(i,c)}if(!/^\d+$/.test(C)){return parseUnparsedAttributes(i,c)}const p=Number(C);c.maxAge=p}else if(_==="domain"){let i=C;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();c.domain=i}else if(_==="path"){let i="";if(C.length===0||C[0]!=="/"){i="/"}else{i=C}c.path=i}else if(_==="secure"){c.secure=true}else if(_==="httponly"){c.httpOnly=true}else if(_==="samesite"){let i="Default";const d=C.toLowerCase();if(d.includes("none")){i="None"}if(d.includes("strict")){i="Strict"}if(d.includes("lax")){i="Lax"}c.sameSite=i}else{c.unparsed??=[];c.unparsed.push(`${p}=${C}`)}return parseUnparsedAttributes(i,c)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:i=>{"use strict";function isCTLExcludingHtab(i){if(i.length===0){return false}for(const c of i){const i=c.charCodeAt(0);if(i>=0||i<=8||(i>=10||i<=31)||i===127){return false}}}function validateCookieName(i){for(const c of i){const i=c.charCodeAt(0);if(i<=32||i>127||c==="("||c===")"||c===">"||c==="<"||c==="@"||c===","||c===";"||c===":"||c==="\\"||c==='"'||c==="/"||c==="["||c==="]"||c==="?"||c==="="||c==="{"||c==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){for(const c of i){const i=c.charCodeAt(0);if(i<33||i===34||i===44||i===59||i===92||i>126){throw new Error("Invalid header value")}}}function validateCookiePath(i){for(const c of i){const i=c.charCodeAt(0);if(i<33||c===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(i){if(i.startsWith("-")||i.endsWith(".")||i.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}const c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const p=c[i.getUTCDay()];const A=i.getUTCDate().toString().padStart(2,"0");const C=d[i.getUTCMonth()];const S=i.getUTCFullYear();const v=i.getUTCHours().toString().padStart(2,"0");const _=i.getUTCMinutes().toString().padStart(2,"0");const T=i.getUTCSeconds().toString().padStart(2,"0");return`${p}, ${A} ${C} ${S} ${v}:${_}:${T} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const c=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){c.push("Secure")}if(i.httpOnly){c.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);c.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);c.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);c.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){c.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){c.push(`SameSite=${i.sameSite}`)}for(const d of i.unparsed){if(!d.includes("=")){throw new Error("Invalid unparsed")}const[i,...p]=d.split("=");c.push(`${i.trim()}=${p.join("=")}`)}return c.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},59136:(i,c,d)=>{"use strict";const p=d(69278);const A=d(42613);const C=d(3440);const{InvalidArgumentError:S,ConnectTimeoutError:v}=d(68707);let _;let T;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){T=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size<this._maxCachedSessions){return}const c=this._sessionCache.get(i);if(c!==undefined&&c.deref()===undefined){this._sessionCache.delete(i)}}))}get(i){const c=this._sessionCache.get(i);return c?c.deref():null}set(i,c){if(this._maxCachedSessions===0){return}this._sessionCache.set(i,new WeakRef(c));this._sessionRegistry.register(c,i)}}}else{T=class SimpleSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map}get(i){return this._sessionCache.get(i)}set(i,c){if(this._maxCachedSessions===0){return}if(this._sessionCache.size>=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,c)}}}function buildConnector({allowH2:i,maxCachedSessions:c,socketPath:v,timeout:V,...Z}){if(c!=null&&(!Number.isInteger(c)||c<0)){throw new S("maxCachedSessions must be a positive integer or zero")}const ee={path:v,...Z};const te=new T(c==null?100:c);V=V==null?1e4:V;i=i!=null?i:false;return function connect({hostname:c,host:S,protocol:v,port:T,servername:Z,localAddress:re,httpSocket:ne},ie){let se;if(v==="https:"){if(!_){_=d(64756)}Z=Z||ee.servername||C.getServerName(S)||null;const p=Z||c;const v=te.get(p)||null;A(p);se=_.connect({highWaterMark:16384,...ee,servername:Z,session:v,localAddress:re,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:ne,port:T||443,host:c});se.on("session",(function(i){te.set(p,i)}))}else{A(!ne,"httpSocket can only be sent on TLS update");se=p.connect({highWaterMark:64*1024,...ee,localAddress:re,port:T||80,host:c})}if(ee.keepAlive==null||ee.keepAlive){const i=ee.keepAliveInitialDelay===undefined?6e4:ee.keepAliveInitialDelay;se.setKeepAlive(true,i)}const oe=setupTimeout((()=>onConnectTimeout(se)),V);se.setNoDelay(true).once(v==="https:"?"secureConnect":"connect",(function(){oe();if(ie){const i=ie;ie=null;i(null,this)}})).on("error",(function(i){oe();if(ie){const c=ie;ie=null;c(i)}}));return se}}function setupTimeout(i,c){if(!c){return()=>{}}let d=null;let p=null;const A=setTimeout((()=>{d=setImmediate((()=>{if(process.platform==="win32"){p=setImmediate((()=>i()))}else{i()}}))}),c);return()=>{clearTimeout(A);clearImmediate(d);clearImmediate(p)}}function onConnectTimeout(i){C.destroy(i,new v)}i.exports=buildConnector},10735:i=>{"use strict";const c={};const d=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let i=0;i<d.length;++i){const p=d[i];const A=p.toLowerCase();c[p]=c[A]=A}Object.setPrototypeOf(c,null);i.exports={wellknownHeaderNames:d,headerNameLowerCasedRecord:c}},68707:i=>{"use strict";class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(i,c,d,p){super(i);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=p;this.status=c;this.statusCode=c;this.headers=d}}class InvalidArgumentError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(i,c){super(i);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=c}}class NotSupportedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(i,c,d){super(i);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=c?`HPE_${c}`:undefined;this.data=d?d.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(i,c,{headers:d,data:p}){super(i);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=c;this.data=p;this.headers=d}}i.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},44655:(i,c,d)=>{"use strict";const{InvalidArgumentError:p,NotSupportedError:A}=d(68707);const C=d(42613);const{kHTTP2BuildRequest:S,kHTTP2CopyHeaders:v,kHTTP1BuildRequest:_}=d(36443);const T=d(3440);const V=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const Z=/[^\t\x20-\x7e\x80-\xff]/;const ee=/[^\u0021-\u00ff]/;const te=Symbol("handler");const re={};let ne;try{const i=d(31637);re.create=i.channel("undici:request:create");re.bodySent=i.channel("undici:request:bodySent");re.headers=i.channel("undici:request:headers");re.trailers=i.channel("undici:request:trailers");re.error=i.channel("undici:request:error")}catch{re.create={hasSubscribers:false};re.bodySent={hasSubscribers:false};re.headers={hasSubscribers:false};re.trailers={hasSubscribers:false};re.error={hasSubscribers:false}}class Request{constructor(i,{path:c,method:A,body:C,headers:S,query:v,idempotent:_,blocking:Z,upgrade:ie,headersTimeout:se,bodyTimeout:oe,reset:ae,throwOnError:le,expectContinue:ce},ue){if(typeof c!=="string"){throw new p("path must be a string")}else if(c[0]!=="/"&&!(c.startsWith("http://")||c.startsWith("https://"))&&A!=="CONNECT"){throw new p("path must be an absolute URL or start with a slash")}else if(ee.exec(c)!==null){throw new p("invalid request path")}if(typeof A!=="string"){throw new p("method must be a string")}else if(V.exec(A)===null){throw new p("invalid request method")}if(ie&&typeof ie!=="string"){throw new p("upgrade must be a string")}if(se!=null&&(!Number.isFinite(se)||se<0)){throw new p("invalid headersTimeout")}if(oe!=null&&(!Number.isFinite(oe)||oe<0)){throw new p("invalid bodyTimeout")}if(ae!=null&&typeof ae!=="boolean"){throw new p("invalid reset")}if(ce!=null&&typeof ce!=="boolean"){throw new p("invalid expectContinue")}this.headersTimeout=se;this.bodyTimeout=oe;this.throwOnError=le===true;this.method=A;this.abort=null;if(C==null){this.body=null}else if(T.isStream(C)){this.body=C;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){T.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(T.isBuffer(C)){this.body=C.byteLength?C:null}else if(ArrayBuffer.isView(C)){this.body=C.buffer.byteLength?Buffer.from(C.buffer,C.byteOffset,C.byteLength):null}else if(C instanceof ArrayBuffer){this.body=C.byteLength?Buffer.from(C):null}else if(typeof C==="string"){this.body=C.length?Buffer.from(C):null}else if(T.isFormDataLike(C)||T.isIterable(C)||T.isBlobLike(C)){this.body=C}else{throw new p("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=ie||null;this.path=v?T.buildURL(c,v):c;this.origin=i;this.idempotent=_==null?A==="HEAD"||A==="GET":_;this.blocking=Z==null?false:Z;this.reset=ae==null?null:ae;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=ce!=null?ce:false;if(Array.isArray(S)){if(S.length%2!==0){throw new p("headers array must be even")}for(let i=0;i<S.length;i+=2){processHeader(this,S[i],S[i+1])}}else if(S&&typeof S==="object"){const i=Object.keys(S);for(let c=0;c<i.length;c++){const d=i[c];processHeader(this,d,S[d])}}else if(S!=null){throw new p("headers must be an object or an array")}if(T.isFormDataLike(this.body)){if(T.nodeMajor<16||T.nodeMajor===16&&T.nodeMinor<8){throw new p("Form-Data bodies are only supported in node v16.8 and newer.")}if(!ne){ne=d(8923).extractBody}const[i,c]=ne(C);if(this.contentType==null){this.contentType=c;this.headers+=`content-type: ${c}\r\n`}this.body=i.stream;this.contentLength=i.length}else if(T.isBlobLike(C)&&this.contentType==null&&C.type){this.contentType=C.type;this.headers+=`content-type: ${C.type}\r\n`}T.validateHandler(ue,A,ie);this.servername=T.getServerName(this.host);this[te]=ue;if(re.create.hasSubscribers){re.create.publish({request:this})}}onBodySent(i){if(this[te].onBodySent){try{return this[te].onBodySent(i)}catch(i){this.abort(i)}}}onRequestSent(){if(re.bodySent.hasSubscribers){re.bodySent.publish({request:this})}if(this[te].onRequestSent){try{return this[te].onRequestSent()}catch(i){this.abort(i)}}}onConnect(i){C(!this.aborted);C(!this.completed);if(this.error){i(this.error)}else{this.abort=i;return this[te].onConnect(i)}}onHeaders(i,c,d,p){C(!this.aborted);C(!this.completed);if(re.headers.hasSubscribers){re.headers.publish({request:this,response:{statusCode:i,headers:c,statusText:p}})}try{return this[te].onHeaders(i,c,d,p)}catch(i){this.abort(i)}}onData(i){C(!this.aborted);C(!this.completed);try{return this[te].onData(i)}catch(i){this.abort(i);return false}}onUpgrade(i,c,d){C(!this.aborted);C(!this.completed);return this[te].onUpgrade(i,c,d)}onComplete(i){this.onFinally();C(!this.aborted);this.completed=true;if(re.trailers.hasSubscribers){re.trailers.publish({request:this,trailers:i})}try{return this[te].onComplete(i)}catch(i){this.onError(i)}}onError(i){this.onFinally();if(re.error.hasSubscribers){re.error.publish({request:this,error:i})}if(this.aborted){return}this.aborted=true;return this[te].onError(i)}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(i,c){processHeader(this,i,c);return this}static[_](i,c,d){return new Request(i,c,d)}static[S](i,c,d){const A=c.headers;c={...c,headers:null};const C=new Request(i,c,d);C.headers={};if(Array.isArray(A)){if(A.length%2!==0){throw new p("headers array must be even")}for(let i=0;i<A.length;i+=2){processHeader(C,A[i],A[i+1],true)}}else if(A&&typeof A==="object"){const i=Object.keys(A);for(let c=0;c<i.length;c++){const d=i[c];processHeader(C,d,A[d],true)}}else if(A!=null){throw new p("headers must be an object or an array")}return C}static[v](i){const c=i.split("\r\n");const d={};for(const i of c){const[c,p]=i.split(": ");if(p==null||p.length===0)continue;if(d[c])d[c]+=`,${p}`;else d[c]=p}return d}}function processHeaderValue(i,c,d){if(c&&typeof c==="object"){throw new p(`invalid ${i} header`)}c=c!=null?`${c}`:"";if(Z.exec(c)!==null){throw new p(`invalid ${i} header`)}return d?c:`${i}: ${c}\r\n`}function processHeader(i,c,d,C=false){if(d&&(typeof d==="object"&&!Array.isArray(d))){throw new p(`invalid ${c} header`)}else if(d===undefined){return}if(i.host===null&&c.length===4&&c.toLowerCase()==="host"){if(Z.exec(d)!==null){throw new p(`invalid ${c} header`)}i.host=d}else if(i.contentLength===null&&c.length===14&&c.toLowerCase()==="content-length"){i.contentLength=parseInt(d,10);if(!Number.isFinite(i.contentLength)){throw new p("invalid content-length header")}}else if(i.contentType===null&&c.length===12&&c.toLowerCase()==="content-type"){i.contentType=d;if(C)i.headers[c]=processHeaderValue(c,d,C);else i.headers+=processHeaderValue(c,d)}else if(c.length===17&&c.toLowerCase()==="transfer-encoding"){throw new p("invalid transfer-encoding header")}else if(c.length===10&&c.toLowerCase()==="connection"){const c=typeof d==="string"?d.toLowerCase():null;if(c!=="close"&&c!=="keep-alive"){throw new p("invalid connection header")}else if(c==="close"){i.reset=true}}else if(c.length===10&&c.toLowerCase()==="keep-alive"){throw new p("invalid keep-alive header")}else if(c.length===7&&c.toLowerCase()==="upgrade"){throw new p("invalid upgrade header")}else if(c.length===6&&c.toLowerCase()==="expect"){throw new A("expect header not supported")}else if(V.exec(c)===null){throw new p("invalid header key")}else{if(Array.isArray(d)){for(let p=0;p<d.length;p++){if(C){if(i.headers[c])i.headers[c]+=`,${processHeaderValue(c,d[p],C)}`;else i.headers[c]=processHeaderValue(c,d[p],C)}else{i.headers+=processHeaderValue(c,d[p])}}}else{if(C)i.headers[c]=processHeaderValue(c,d,C);else i.headers+=processHeaderValue(c,d)}}}i.exports=Request},36443:i=>{i.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(i,c,d)=>{"use strict";const p=d(42613);const{kDestroyed:A,kBodyUsed:C}=d(36443);const{IncomingMessage:S}=d(58611);const v=d(2203);const _=d(69278);const{InvalidArgumentError:T}=d(68707);const{Blob:V}=d(20181);const Z=d(39023);const{stringify:ee}=d(83480);const{headerNameLowerCasedRecord:te}=d(10735);const[re,ne]=process.versions.node.split(".").map((i=>Number(i)));function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){return V&&i instanceof V||i&&typeof i==="object"&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&/^(Blob|File)$/.test(i[Symbol.toStringTag])}function buildURL(i,c){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const d=ee(c);if(d){i+="?"+d}return i}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!/^https?:/.test(i.origin||i.protocol)){throw new T("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new T("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(i.origin||i.protocol)){throw new T("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&!Number.isFinite(parseInt(i.port))){throw new T("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new T("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new T("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new T("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new T("Invalid URL origin: the origin must be a string or null/undefined.")}const c=i.port!=null?i.port:i.protocol==="https:"?443:80;let d=i.origin!=null?i.origin:`${i.protocol}//${i.hostname}:${c}`;let p=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(d.endsWith("/")){d=d.substring(0,d.length-1)}if(p&&!p.startsWith("/")){p=`/${p}`}i=new URL(d+p)}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new T("invalid url")}return i}function getHostname(i){if(i[0]==="["){const c=i.indexOf("]");p(c!==-1);return i.substring(1,c)}const c=i.indexOf(":");if(c===-1)return i;return i.substring(0,c)}function getServerName(i){if(!i){return null}p.strictEqual(typeof i,"string");const c=getHostname(i);if(_.isIP(c)){return""}return c}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const c=i._readableState;return c&&c.objectMode===false&&c.ended===true&&Number.isFinite(c.length)?c.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return!i||!!(i.destroyed||i[A])}function isReadableAborted(i){const c=i&&i._readableState;return isDestroyed(i)&&c&&!c.endEmitted}function destroy(i,c){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===S){i.socket=null}i.destroy(c)}else if(c){process.nextTick(((i,c)=>{i.emit("error",c)}),i,c)}if(i.destroyed!==true){i[A]=true}}const ie=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const c=i.toString().match(ie);return c?parseInt(c[1],10)*1e3:null}function headerNameToString(i){return te[i]||i.toLowerCase()}function parseHeaders(i,c={}){if(!Array.isArray(i))return i;for(let d=0;d<i.length;d+=2){const p=i[d].toString().toLowerCase();let A=c[p];if(!A){if(Array.isArray(i[d+1])){c[p]=i[d+1].map((i=>i.toString("utf8")))}else{c[p]=i[d+1].toString("utf8")}}else{if(!Array.isArray(A)){A=[A];c[p]=A}A.push(i[d+1].toString("utf8"))}}if("content-length"in c&&"content-disposition"in c){c["content-disposition"]=Buffer.from(c["content-disposition"]).toString("latin1")}return c}function parseRawHeaders(i){const c=[];let d=false;let p=-1;for(let A=0;A<i.length;A+=2){const C=i[A+0].toString();const S=i[A+1].toString("utf8");if(C.length===14&&(C==="content-length"||C.toLowerCase()==="content-length")){c.push(C,S);d=true}else if(C.length===19&&(C==="content-disposition"||C.toLowerCase()==="content-disposition")){p=c.push(C,S)-1}else{c.push(C,S)}}if(d&&p!==-1){c[p]=Buffer.from(c[p]).toString("latin1")}return c}function isBuffer(i){return i instanceof Uint8Array||Buffer.isBuffer(i)}function validateHandler(i,c,d){if(!i||typeof i!=="object"){throw new T("handler must be an object")}if(typeof i.onConnect!=="function"){throw new T("invalid onConnect method")}if(typeof i.onError!=="function"){throw new T("invalid onError method")}if(typeof i.onBodySent!=="function"&&i.onBodySent!==undefined){throw new T("invalid onBodySent method")}if(d||c==="CONNECT"){if(typeof i.onUpgrade!=="function"){throw new T("invalid onUpgrade method")}}else{if(typeof i.onHeaders!=="function"){throw new T("invalid onHeaders method")}if(typeof i.onData!=="function"){throw new T("invalid onData method")}if(typeof i.onComplete!=="function"){throw new T("invalid onComplete method")}}}function isDisturbed(i){return!!(i&&(v.isDisturbed?v.isDisturbed(i)||i[C]:i[C]||i.readableDidRead||i._readableState&&i._readableState.dataEmitted||isReadableAborted(i)))}function isErrored(i){return!!(i&&(v.isErrored?v.isErrored(i):/state: 'errored'/.test(Z.inspect(i))))}function isReadable(i){return!!(i&&(v.isReadable?v.isReadable(i):/state: 'readable'/.test(Z.inspect(i))))}function getSocketInfo(i){return{localAddress:i.localAddress,localPort:i.localPort,remoteAddress:i.remoteAddress,remotePort:i.remotePort,remoteFamily:i.remoteFamily,timeout:i.timeout,bytesWritten:i.bytesWritten,bytesRead:i.bytesRead}}async function*convertIterableToBuffer(i){for await(const c of i){yield Buffer.isBuffer(c)?c:Buffer.from(c)}}let se;function ReadableStreamFrom(i){if(!se){se=d(63774).ReadableStream}if(se.from){return se.from(convertIterableToBuffer(i))}let c;return new se({async start(){c=i[Symbol.asyncIterator]()},async pull(i){const{done:d,value:p}=await c.next();if(d){queueMicrotask((()=>{i.close()}))}else{const c=Buffer.isBuffer(p)?p:Buffer.from(p);i.enqueue(new Uint8Array(c))}return i.desiredSize>0},async cancel(i){await c.return()}},0)}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function throwIfAborted(i){if(!i){return}if(typeof i.throwIfAborted==="function"){i.throwIfAborted()}else{if(i.aborted){const i=new Error("The operation was aborted");i.name="AbortError";throw i}}}function addAbortListener(i,c){if("addEventListener"in i){i.addEventListener("abort",c,{once:true});return()=>i.removeEventListener("abort",c)}i.addListener("abort",c);return()=>i.removeListener("abort",c)}const oe=!!String.prototype.toWellFormed;function toUSVString(i){if(oe){return`${i}`.toWellFormed()}else if(Z.toUSVString){return Z.toUSVString(i)}return`${i}`}function parseRangeHeader(i){if(i==null||i==="")return{start:0,end:null,size:null};const c=i?i.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return c?{start:parseInt(c[1]),end:c[2]?parseInt(c[2]):null,size:c[3]?parseInt(c[3]):null}:null}const ae=Object.create(null);ae.enumerable=true;i.exports={kEnumerableProperty:ae,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:re,nodeMinor:ne,nodeHasAutoSelectFamily:re>18||re===18&&ne>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},50001:(i,c,d)=>{"use strict";const p=d(28611);const{ClientDestroyedError:A,ClientClosedError:C,InvalidArgumentError:S}=d(68707);const{kDestroy:v,kClose:_,kDispatch:T,kInterceptors:V}=d(36443);const Z=Symbol("destroyed");const ee=Symbol("closed");const te=Symbol("onDestroyed");const re=Symbol("onClosed");const ne=Symbol("Intercepted Dispatch");class DispatcherBase extends p{constructor(){super();this[Z]=false;this[te]=null;this[ee]=false;this[re]=[]}get destroyed(){return this[Z]}get closed(){return this[ee]}get interceptors(){return this[V]}set interceptors(i){if(i){for(let c=i.length-1;c>=0;c--){const i=this[V][c];if(typeof i!=="function"){throw new S("interceptor must be an function")}}}this[V]=i}close(i){if(i===undefined){return new Promise(((i,c)=>{this.close(((d,p)=>d?c(d):i(p)))}))}if(typeof i!=="function"){throw new S("invalid callback")}if(this[Z]){queueMicrotask((()=>i(new A,null)));return}if(this[ee]){if(this[re]){this[re].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[ee]=true;this[re].push(i);const onClosed=()=>{const i=this[re];this[re]=null;for(let c=0;c<i.length;c++){i[c](null,null)}};this[_]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,c){if(typeof i==="function"){c=i;i=null}if(c===undefined){return new Promise(((c,d)=>{this.destroy(i,((i,p)=>i?d(i):c(p)))}))}if(typeof c!=="function"){throw new S("invalid callback")}if(this[Z]){if(this[te]){this[te].push(c)}else{queueMicrotask((()=>c(null,null)))}return}if(!i){i=new A}this[Z]=true;this[te]=this[te]||[];this[te].push(c);const onDestroyed=()=>{const i=this[te];this[te]=null;for(let c=0;c<i.length;c++){i[c](null,null)}};this[v](i).then((()=>{queueMicrotask(onDestroyed)}))}[ne](i,c){if(!this[V]||this[V].length===0){this[ne]=this[T];return this[T](i,c)}let d=this[T].bind(this);for(let i=this[V].length-1;i>=0;i--){d=this[V][i](d)}this[ne]=d;return d(i,c)}dispatch(i,c){if(!c||typeof c!=="object"){throw new S("handler must be an object")}try{if(!i||typeof i!=="object"){throw new S("opts must be an object.")}if(this[Z]||this[te]){throw new A}if(this[ee]){throw new C}return this[ne](i,c)}catch(i){if(typeof c.onError!=="function"){throw new S("invalid onError method")}c.onError(i);return false}}}i.exports=DispatcherBase},28611:(i,c,d)=>{"use strict";const p=d(24434);class Dispatcher extends p{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}i.exports=Dispatcher},8923:(i,c,d)=>{"use strict";const p=d(4652);const A=d(3440);const{ReadableStreamFrom:C,isBlobLike:S,isReadableStreamLike:v,readableStreamClose:_,createDeferredPromise:T,fullyReadBody:V}=d(15523);const{FormData:Z}=d(43073);const{kState:ee}=d(89710);const{webidl:te}=d(74222);const{DOMException:re,structuredClone:ne}=d(87326);const{Blob:ie,File:se}=d(20181);const{kBodyUsed:oe}=d(36443);const ae=d(42613);const{isErrored:le}=d(3440);const{isUint8Array:ce,isArrayBuffer:ue}=d(98253);const{File:de}=d(63041);const{parseMIMEType:fe,serializeAMimeType:pe}=d(94322);let Ae;try{const i=d(77598);Ae=c=>i.randomInt(0,c)}catch{Ae=i=>Math.floor(Math.random(i))}let he=globalThis.ReadableStream;const ge=se??de;const me=new TextEncoder;const ye=new TextDecoder;function extractBody(i,c=false){if(!he){he=d(63774).ReadableStream}let p=null;if(i instanceof he){p=i}else if(S(i)){p=i.stream()}else{p=new he({async pull(i){i.enqueue(typeof V==="string"?me.encode(V):V);queueMicrotask((()=>_(i)))},start(){},type:undefined})}ae(v(p));let T=null;let V=null;let Z=null;let ee=null;if(typeof i==="string"){V=i;ee="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){V=i.toString();ee="application/x-www-form-urlencoded;charset=UTF-8"}else if(ue(i)){V=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){V=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(A.isFormDataLike(i)){const c=`----formdata-undici-0${`${Ae(1e11)}`.padStart(11,"0")}`;const d=`--${c}\r\nContent-Disposition: form-data`
|
||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const p=[];const A=new Uint8Array([13,10]);Z=0;let C=false;for(const[c,S]of i){if(typeof S==="string"){const i=me.encode(d+`; name="${escape(normalizeLinefeeds(c))}"`+`\r\n\r\n${normalizeLinefeeds(S)}\r\n`);p.push(i);Z+=i.byteLength}else{const i=me.encode(`${d}; name="${escape(normalizeLinefeeds(c))}"`+(S.name?`; filename="${escape(S.name)}"`:"")+"\r\n"+`Content-Type: ${S.type||"application/octet-stream"}\r\n\r\n`);p.push(i,S,A);if(typeof S.size==="number"){Z+=i.byteLength+S.size+A.byteLength}else{C=true}}}const S=me.encode(`--${c}--`);p.push(S);Z+=S.byteLength;if(C){Z=null}V=i;T=async function*(){for(const i of p){if(i.stream){yield*i.stream()}else{yield i}}};ee="multipart/form-data; boundary="+c}else if(S(i)){V=i;Z=i.size;if(i.type){ee=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(c){throw new TypeError("keepalive")}if(A.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof he?i:C(i)}if(typeof V==="string"||A.isBuffer(V)){Z=Buffer.byteLength(V)}if(T!=null){let c;p=new he({async start(){c=T(i)[Symbol.asyncIterator]()},async pull(i){const{value:d,done:A}=await c.next();if(A){queueMicrotask((()=>{i.close()}))}else{if(!le(p)){i.enqueue(new Uint8Array(d))}}return i.desiredSize>0},async cancel(i){await c.return()},type:undefined})}const te={stream:p,source:V,length:Z};return[te,ee]}function safelyExtractBody(i,c=false){if(!he){he=d(63774).ReadableStream}if(i instanceof he){ae(!A.isDisturbed(i),"The body has already been consumed.");ae(!i.locked,"The stream is locked.")}return extractBody(i,c)}function cloneBody(i){const[c,d]=i.stream.tee();const p=ne(d,{transfer:[d]});const[,A]=p.tee();i.stream=c;return{stream:A,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(ce(i)){yield i}else{const c=i.stream;if(A.isDisturbed(c)){throw new TypeError("The body has already been consumed.")}if(c.locked){throw new TypeError("The stream is locked.")}c[oe]=true;yield*c}}}function throwIfAborted(i){if(i.aborted){throw new re("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const c={blob(){return specConsumeBody(this,(i=>{let c=bodyMimeType(this);if(c==="failure"){c=""}else if(c){c=pe(c)}return new ie([i],{type:c})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){te.brandCheck(this,i);throwIfAborted(this[ee]);const c=this.headers.get("Content-Type");if(/multipart\/form-data/.test(c)){const i={};for(const[c,d]of this.headers)i[c.toLowerCase()]=d;const c=new Z;let d;try{d=new p({headers:i,preservePath:true})}catch(i){throw new re(`${i}`,"AbortError")}d.on("field",((i,d)=>{c.append(i,d)}));d.on("file",((i,d,p,A,C)=>{const S=[];if(A==="base64"||A.toLowerCase()==="base64"){let A="";d.on("data",(i=>{A+=i.toString().replace(/[\r\n]/gm,"");const c=A.length-A.length%4;S.push(Buffer.from(A.slice(0,c),"base64"));A=A.slice(c)}));d.on("end",(()=>{S.push(Buffer.from(A,"base64"));c.append(i,new ge(S,p,{type:C}))}))}else{d.on("data",(i=>{S.push(i)}));d.on("end",(()=>{c.append(i,new ge(S,p,{type:C}))}))}}));const A=new Promise(((i,c)=>{d.on("finish",i);d.on("error",(i=>c(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[ee].body))d.write(i);d.end();await A;return c}else if(/application\/x-www-form-urlencoded/.test(c)){let i;try{let c="";const d=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[ee].body)){if(!ce(i)){throw new TypeError("Expected Uint8Array chunk")}c+=d.decode(i,{stream:true})}c+=d.decode();i=new URLSearchParams(c)}catch(i){throw Object.assign(new TypeError,{cause:i})}const c=new Z;for(const[d,p]of i){c.append(d,p)}return c}else{await Promise.resolve();throwIfAborted(this[ee]);throw te.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return c}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,c,d){te.brandCheck(i,d);throwIfAborted(i[ee]);if(bodyUnusable(i[ee].body)){throw new TypeError("Body is unusable")}const p=T();const errorSteps=i=>p.reject(i);const successSteps=i=>{try{p.resolve(c(i))}catch(i){errorSteps(i)}};if(i[ee].body==null){successSteps(new Uint8Array);return p.promise}await V(i[ee].body,successSteps,errorSteps);return p.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||A.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const c=ye.decode(i);return c}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){const{headersList:c}=i[ee];const d=c.get("content-type");if(d===null){return"failure"}return fe(d)}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},87326:(i,c,d)=>{"use strict";const{MessageChannel:p,receiveMessageOnPort:A}=d(28167);const C=["GET","HEAD","POST"];const S=new Set(C);const v=[101,204,205,304];const _=[301,302,303,307,308];const T=new Set(_);const V=["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 Z=new Set(V);const ee=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const te=new Set(ee);const re=["follow","manual","error"];const ne=["GET","HEAD","OPTIONS","TRACE"];const ie=new Set(ne);const se=["navigate","same-origin","no-cors","cors"];const oe=["omit","same-origin","include"];const ae=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const le=["content-encoding","content-language","content-location","content-type","content-length"];const ce=["half"];const ue=["CONNECT","TRACE","TRACK"];const de=new Set(ue);const fe=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const pe=new Set(fe);const Ae=globalThis.DOMException??(()=>{try{atob("~")}catch(i){return Object.getPrototypeOf(i).constructor}})();let he;const ge=globalThis.structuredClone??function structuredClone(i,c=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!he){he=new p}he.port1.unref();he.port2.unref();he.port1.postMessage(i,c?.transfer);return A(he.port2).message};i.exports={DOMException:Ae,structuredClone:ge,subresource:fe,forbiddenMethods:ue,requestBodyHeader:le,referrerPolicy:ee,requestRedirect:re,requestMode:se,requestCredentials:oe,requestCache:ae,redirectStatus:_,corsSafeListedMethods:C,nullBodyStatus:v,safeMethods:ne,badPorts:V,requestDuplex:ce,subresourceSet:pe,badPortsSet:Z,redirectStatusSet:T,corsSafeListedMethodsSet:S,safeMethodsSet:ie,forbiddenMethodsSet:de,referrerPolicySet:te}},94322:(i,c,d)=>{const p=d(42613);const{atob:A}=d(20181);const{isomorphicDecode:C}=d(15523);const S=new TextEncoder;const v=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const _=/(\u000A|\u000D|\u0009|\u0020)/;const T=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(i){p(i.protocol==="data:");let c=URLSerializer(i,true);c=c.slice(5);const d={position:0};let A=collectASequenceOfCodePointsFast(",",c,d);const S=A.length;A=removeASCIIWhitespace(A,true,true);if(d.position>=c.length){return"failure"}d.position++;const v=c.slice(S+1);let _=stringPercentDecode(v);if(/;(\u0020){0,}base64$/i.test(A)){const i=C(_);_=forgivingBase64(i);if(_==="failure"){return"failure"}A=A.slice(0,-6);A=A.replace(/(\u0020)+$/,"");A=A.slice(0,-1)}if(A.startsWith(";")){A="text/plain"+A}let T=parseMIMEType(A);if(T==="failure"){T=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:T,body:_}}function URLSerializer(i,c=false){if(!c){return i.href}const d=i.href;const p=i.hash.length;return p===0?d:d.substring(0,d.length-p)}function collectASequenceOfCodePoints(i,c,d){let p="";while(d.position<c.length&&i(c[d.position])){p+=c[d.position];d.position++}return p}function collectASequenceOfCodePointsFast(i,c,d){const p=c.indexOf(i,d.position);const A=d.position;if(p===-1){d.position=c.length;return c.slice(A)}d.position=p;return c.slice(A,d.position)}function stringPercentDecode(i){const c=S.encode(i);return percentDecode(c)}function percentDecode(i){const c=[];for(let d=0;d<i.length;d++){const p=i[d];if(p!==37){c.push(p)}else if(p===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(i[d+1],i[d+2]))){c.push(37)}else{const p=String.fromCharCode(i[d+1],i[d+2]);const A=Number.parseInt(p,16);c.push(A);d+=2}}return Uint8Array.from(c)}function parseMIMEType(i){i=removeHTTPWhitespace(i,true,true);const c={position:0};const d=collectASequenceOfCodePointsFast("/",i,c);if(d.length===0||!v.test(d)){return"failure"}if(c.position>i.length){return"failure"}c.position++;let p=collectASequenceOfCodePointsFast(";",i,c);p=removeHTTPWhitespace(p,false,true);if(p.length===0||!v.test(p)){return"failure"}const A=d.toLowerCase();const C=p.toLowerCase();const S={type:A,subtype:C,parameters:new Map,essence:`${A}/${C}`};while(c.position<i.length){c.position++;collectASequenceOfCodePoints((i=>_.test(i)),i,c);let d=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,c);d=d.toLowerCase();if(c.position<i.length){if(i[c.position]===";"){continue}c.position++}if(c.position>i.length){break}let p=null;if(i[c.position]==='"'){p=collectAnHTTPQuotedString(i,c,true);collectASequenceOfCodePointsFast(";",i,c)}else{p=collectASequenceOfCodePointsFast(";",i,c);p=removeHTTPWhitespace(p,false,true);if(p.length===0){continue}}if(d.length!==0&&v.test(d)&&(p.length===0||T.test(p))&&!S.parameters.has(d)){S.parameters.set(d,p)}}return S}function forgivingBase64(i){i=i.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(i.length%4===0){i=i.replace(/=?=$/,"")}if(i.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i)){return"failure"}const c=A(i);const d=new Uint8Array(c.length);for(let i=0;i<c.length;i++){d[i]=c.charCodeAt(i)}return d}function collectAnHTTPQuotedString(i,c,d){const A=c.position;let C="";p(i[c.position]==='"');c.position++;while(true){C+=collectASequenceOfCodePoints((i=>i!=='"'&&i!=="\\"),i,c);if(c.position>=i.length){break}const d=i[c.position];c.position++;if(d==="\\"){if(c.position>=i.length){C+="\\";break}C+=i[c.position];c.position++}else{p(d==='"');break}}if(d){return C}return i.slice(A,c.position)}function serializeAMimeType(i){p(i!=="failure");const{parameters:c,essence:d}=i;let A=d;for(let[i,d]of c.entries()){A+=";";A+=i;A+="=";if(!v.test(d)){d=d.replace(/(\\|")/g,"\\$1");d='"'+d;d+='"'}A+=d}return A}function isHTTPWhiteSpace(i){return i==="\r"||i==="\n"||i==="\t"||i===" "}function removeHTTPWhitespace(i,c=true,d=true){let p=0;let A=i.length-1;if(c){for(;p<i.length&&isHTTPWhiteSpace(i[p]);p++);}if(d){for(;A>0&&isHTTPWhiteSpace(i[A]);A--);}return i.slice(p,A+1)}function isASCIIWhitespace(i){return i==="\r"||i==="\n"||i==="\t"||i==="\f"||i===" "}function removeASCIIWhitespace(i,c=true,d=true){let p=0;let A=i.length-1;if(c){for(;p<i.length&&isASCIIWhitespace(i[p]);p++);}if(d){for(;A>0&&isASCIIWhitespace(i[A]);A--);}return i.slice(p,A+1)}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},63041:(i,c,d)=>{"use strict";const{Blob:p,File:A}=d(20181);const{types:C}=d(39023);const{kState:S}=d(89710);const{isBlobLike:v}=d(15523);const{webidl:_}=d(74222);const{parseMIMEType:T,serializeAMimeType:V}=d(94322);const{kEnumerableProperty:Z}=d(3440);const ee=new TextEncoder;class File extends p{constructor(i,c,d={}){_.argumentLengthCheck(arguments,2,{header:"File constructor"});i=_.converters["sequence<BlobPart>"](i);c=_.converters.USVString(c);d=_.converters.FilePropertyBag(d);const p=c;let A=d.type;let C;e:{if(A){A=T(A);if(A==="failure"){A="";break e}A=V(A).toLowerCase()}C=d.lastModified}super(processBlobParts(i,d),{type:A});this[S]={name:p,lastModified:C,type:A}}get name(){_.brandCheck(this,File);return this[S].name}get lastModified(){_.brandCheck(this,File);return this[S].lastModified}get type(){_.brandCheck(this,File);return this[S].type}}class FileLike{constructor(i,c,d={}){const p=c;const A=d.type;const C=d.lastModified??Date.now();this[S]={blobLike:i,name:p,type:A,lastModified:C}}stream(...i){_.brandCheck(this,FileLike);return this[S].blobLike.stream(...i)}arrayBuffer(...i){_.brandCheck(this,FileLike);return this[S].blobLike.arrayBuffer(...i)}slice(...i){_.brandCheck(this,FileLike);return this[S].blobLike.slice(...i)}text(...i){_.brandCheck(this,FileLike);return this[S].blobLike.text(...i)}get size(){_.brandCheck(this,FileLike);return this[S].blobLike.size}get type(){_.brandCheck(this,FileLike);return this[S].blobLike.type}get name(){_.brandCheck(this,FileLike);return this[S].name}get lastModified(){_.brandCheck(this,FileLike);return this[S].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:Z,lastModified:Z});_.converters.Blob=_.interfaceConverter(p);_.converters.BlobPart=function(i,c){if(_.util.Type(i)==="Object"){if(v(i)){return _.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||C.isAnyArrayBuffer(i)){return _.converters.BufferSource(i,c)}}return _.converters.USVString(i,c)};_.converters["sequence<BlobPart>"]=_.sequenceConverter(_.converters.BlobPart);_.converters.FilePropertyBag=_.dictionaryConverter([{key:"lastModified",converter:_.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:_.converters.DOMString,defaultValue:""},{key:"endings",converter:i=>{i=_.converters.DOMString(i);i=i.toLowerCase();if(i!=="native"){i="transparent"}return i},defaultValue:"transparent"}]);function processBlobParts(i,c){const d=[];for(const p of i){if(typeof p==="string"){let i=p;if(c.endings==="native"){i=convertLineEndingsNative(i)}d.push(ee.encode(i))}else if(C.isAnyArrayBuffer(p)||C.isTypedArray(p)){if(!p.buffer){d.push(new Uint8Array(p))}else{d.push(new Uint8Array(p.buffer,p.byteOffset,p.byteLength))}}else if(v(p)){d.push(p)}}return d}function convertLineEndingsNative(i){let c="\n";if(process.platform==="win32"){c="\r\n"}return i.replace(/\r?\n/g,c)}function isFileLike(i){return A&&i instanceof A||i instanceof File||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},43073:(i,c,d)=>{"use strict";const{isBlobLike:p,toUSVString:A,makeIterator:C}=d(15523);const{kState:S}=d(89710);const{File:v,FileLike:_,isFileLike:T}=d(63041);const{webidl:V}=d(74222);const{Blob:Z,File:ee}=d(20181);const te=ee??v;class FormData{constructor(i){if(i!==undefined){throw V.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[S]=[]}append(i,c,d=undefined){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!p(c)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=V.converters.USVString(i);c=p(c)?V.converters.Blob(c,{strict:false}):V.converters.USVString(c);d=arguments.length===3?V.converters.USVString(d):undefined;const A=makeEntry(i,c,d);this[S].push(A)}delete(i){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,1,{header:"FormData.delete"});i=V.converters.USVString(i);this[S]=this[S].filter((c=>c.name!==i))}get(i){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,1,{header:"FormData.get"});i=V.converters.USVString(i);const c=this[S].findIndex((c=>c.name===i));if(c===-1){return null}return this[S][c].value}getAll(i){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});i=V.converters.USVString(i);return this[S].filter((c=>c.name===i)).map((i=>i.value))}has(i){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,1,{header:"FormData.has"});i=V.converters.USVString(i);return this[S].findIndex((c=>c.name===i))!==-1}set(i,c,d=undefined){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!p(c)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=V.converters.USVString(i);c=p(c)?V.converters.Blob(c,{strict:false}):V.converters.USVString(c);d=arguments.length===3?A(d):undefined;const C=makeEntry(i,c,d);const v=this[S].findIndex((c=>c.name===i));if(v!==-1){this[S]=[...this[S].slice(0,v),C,...this[S].slice(v+1).filter((c=>c.name!==i))]}else{this[S].push(C)}}entries(){V.brandCheck(this,FormData);return C((()=>this[S].map((i=>[i.name,i.value]))),"FormData","key+value")}keys(){V.brandCheck(this,FormData);return C((()=>this[S].map((i=>[i.name,i.value]))),"FormData","key")}values(){V.brandCheck(this,FormData);return C((()=>this[S].map((i=>[i.name,i.value]))),"FormData","value")}forEach(i,c=globalThis){V.brandCheck(this,FormData);V.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof i!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[d,p]of this){i.apply(c,[p,d,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,c,d){i=Buffer.from(i).toString("utf8");if(typeof c==="string"){c=Buffer.from(c).toString("utf8")}else{if(!T(c)){c=c instanceof Z?new te([c],"blob",{type:c.type}):new _(c,"blob",{type:c.type})}if(d!==undefined){const i={type:c.type,lastModified:c.lastModified};c=ee&&c instanceof ee||c instanceof v?new te([c],d,i):new _(c,d,i)}}return{name:i,value:c}}i.exports={FormData:FormData}},75628:i=>{"use strict";const c=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[c]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,c,{value:undefined,writable:true,enumerable:false,configurable:false});return}const d=new URL(i);if(d.protocol!=="http:"&&d.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${d.protocol}`)}Object.defineProperty(globalThis,c,{value:d,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},26349:(i,c,d)=>{"use strict";const{kHeadersList:p,kConstruct:A}=d(36443);const{kGuard:C}=d(89710);const{kEnumerableProperty:S}=d(3440);const{makeIterator:v,isValidHeaderName:_,isValidHeaderValue:T}=d(15523);const V=d(39023);const{webidl:Z}=d(74222);const ee=d(42613);const te=Symbol("headers map");const re=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let c=0;let d=i.length;while(d>c&&isHTTPWhiteSpaceCharCode(i.charCodeAt(d-1)))--d;while(d>c&&isHTTPWhiteSpaceCharCode(i.charCodeAt(c)))++c;return c===0&&d===i.length?i:i.substring(c,d)}function fill(i,c){if(Array.isArray(c)){for(let d=0;d<c.length;++d){const p=c[d];if(p.length!==2){throw Z.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${p.length}.`})}appendHeader(i,p[0],p[1])}}else if(typeof c==="object"&&c!==null){const d=Object.keys(c);for(let p=0;p<d.length;++p){appendHeader(i,d[p],c[d[p]])}}else{throw Z.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}function appendHeader(i,c,d){d=headerValueNormalize(d);if(!_(c)){throw Z.errors.invalidArgument({prefix:"Headers.append",value:c,type:"header name"})}else if(!T(d)){throw Z.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header value"})}if(i[C]==="immutable"){throw new TypeError("immutable")}else if(i[C]==="request-no-cors"){}return i[p].append(c,d)}class HeadersList{cookies=null;constructor(i){if(i instanceof HeadersList){this[te]=new Map(i[te]);this[re]=i[re];this.cookies=i.cookies===null?null:[...i.cookies]}else{this[te]=new Map(i);this[re]=null}}contains(i){i=i.toLowerCase();return this[te].has(i)}clear(){this[te].clear();this[re]=null;this.cookies=null}append(i,c){this[re]=null;const d=i.toLowerCase();const p=this[te].get(d);if(p){const i=d==="cookie"?"; ":", ";this[te].set(d,{name:p.name,value:`${p.value}${i}${c}`})}else{this[te].set(d,{name:i,value:c})}if(d==="set-cookie"){this.cookies??=[];this.cookies.push(c)}}set(i,c){this[re]=null;const d=i.toLowerCase();if(d==="set-cookie"){this.cookies=[c]}this[te].set(d,{name:i,value:c})}delete(i){this[re]=null;i=i.toLowerCase();if(i==="set-cookie"){this.cookies=null}this[te].delete(i)}get(i){const c=this[te].get(i.toLowerCase());return c===undefined?null:c.value}*[Symbol.iterator](){for(const[i,{value:c}]of this[te]){yield[i,c]}}get entries(){const i={};if(this[te].size){for(const{name:c,value:d}of this[te].values()){i[c]=d}}return i}}class Headers{constructor(i=undefined){if(i===A){return}this[p]=new HeadersList;this[C]="none";if(i!==undefined){i=Z.converters.HeadersInit(i);fill(this,i)}}append(i,c){Z.brandCheck(this,Headers);Z.argumentLengthCheck(arguments,2,{header:"Headers.append"});i=Z.converters.ByteString(i);c=Z.converters.ByteString(c);return appendHeader(this,i,c)}delete(i){Z.brandCheck(this,Headers);Z.argumentLengthCheck(arguments,1,{header:"Headers.delete"});i=Z.converters.ByteString(i);if(!_(i)){throw Z.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this[C]==="immutable"){throw new TypeError("immutable")}else if(this[C]==="request-no-cors"){}if(!this[p].contains(i)){return}this[p].delete(i)}get(i){Z.brandCheck(this,Headers);Z.argumentLengthCheck(arguments,1,{header:"Headers.get"});i=Z.converters.ByteString(i);if(!_(i)){throw Z.errors.invalidArgument({prefix:"Headers.get",value:i,type:"header name"})}return this[p].get(i)}has(i){Z.brandCheck(this,Headers);Z.argumentLengthCheck(arguments,1,{header:"Headers.has"});i=Z.converters.ByteString(i);if(!_(i)){throw Z.errors.invalidArgument({prefix:"Headers.has",value:i,type:"header name"})}return this[p].contains(i)}set(i,c){Z.brandCheck(this,Headers);Z.argumentLengthCheck(arguments,2,{header:"Headers.set"});i=Z.converters.ByteString(i);c=Z.converters.ByteString(c);c=headerValueNormalize(c);if(!_(i)){throw Z.errors.invalidArgument({prefix:"Headers.set",value:i,type:"header name"})}else if(!T(c)){throw Z.errors.invalidArgument({prefix:"Headers.set",value:c,type:"header value"})}if(this[C]==="immutable"){throw new TypeError("immutable")}else if(this[C]==="request-no-cors"){}this[p].set(i,c)}getSetCookie(){Z.brandCheck(this,Headers);const i=this[p].cookies;if(i){return[...i]}return[]}get[re](){if(this[p][re]){return this[p][re]}const i=[];const c=[...this[p]].sort(((i,c)=>i[0]<c[0]?-1:1));const d=this[p].cookies;for(let p=0;p<c.length;++p){const[A,C]=c[p];if(A==="set-cookie"){for(let c=0;c<d.length;++c){i.push([A,d[c]])}}else{ee(C!==null);i.push([A,C])}}this[p][re]=i;return i}keys(){Z.brandCheck(this,Headers);if(this[C]==="immutable"){const i=this[re];return v((()=>i),"Headers","key")}return v((()=>[...this[re].values()]),"Headers","key")}values(){Z.brandCheck(this,Headers);if(this[C]==="immutable"){const i=this[re];return v((()=>i),"Headers","value")}return v((()=>[...this[re].values()]),"Headers","value")}entries(){Z.brandCheck(this,Headers);if(this[C]==="immutable"){const i=this[re];return v((()=>i),"Headers","key+value")}return v((()=>[...this[re].values()]),"Headers","key+value")}forEach(i,c=globalThis){Z.brandCheck(this,Headers);Z.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof i!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[d,p]of this){i.apply(c,[p,d,this])}}[Symbol.for("nodejs.util.inspect.custom")](){Z.brandCheck(this,Headers);return this[p]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:S,delete:S,get:S,has:S,set:S,getSetCookie:S,keys:S,values:S,entries:S,forEach:S,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true},[V.inspect.custom]:{enumerable:false}});Z.converters.HeadersInit=function(i){if(Z.util.Type(i)==="Object"){if(i[Symbol.iterator]){return Z.converters["sequence<sequence<ByteString>>"](i)}return Z.converters["record<ByteString, ByteString>"](i)}throw Z.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};i.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},12315:(i,c,d)=>{"use strict";const{Response:p,makeNetworkError:A,makeAppropriateNetworkError:C,filterResponse:S,makeResponse:v}=d(48676);const{Headers:_}=d(26349);const{Request:T,makeRequest:V}=d(25194);const Z=d(43106);const{bytesMatch:ee,makePolicyContainer:te,clonePolicyContainer:re,requestBadPort:ne,TAOCheck:ie,appendRequestOriginHeader:se,responseLocationURL:oe,requestCurrentURL:ae,setRequestReferrerPolicyOnRedirect:le,tryUpgradeRequestToAPotentiallyTrustworthyURL:ce,createOpaqueTimingInfo:ue,appendFetchMetadata:de,corsCheck:fe,crossOriginResourcePolicyCheck:pe,determineRequestsReferrer:Ae,coarsenedSharedCurrentTime:he,createDeferredPromise:ge,isBlobLike:me,sameOrigin:ye,isCancelled:Ee,isAborted:be,isErrorLike:Ce,fullyReadBody:we,readableStreamClose:Ie,isomorphicEncode:Se,urlIsLocal:ve,urlIsHttpHttpsScheme:Be,urlHasHttpsScheme:Re}=d(15523);const{kState:_e,kHeaders:Ne,kGuard:Qe,kRealm:Te}=d(89710);const ke=d(42613);const{safelyExtractBody:xe}=d(8923);const{redirectStatusSet:Pe,nullBodyStatus:Oe,safeMethodsSet:De,requestBodyHeader:Le,subresourceSet:Me,DOMException:Fe}=d(87326);const{kHeadersList:Ue}=d(36443);const He=d(24434);const{Readable:je,pipeline:qe}=d(2203);const{addAbortListener:Ge,isErrored:ze,isReadable:Ve,nodeMajor:We,nodeMinor:$e}=d(3440);const{dataURLProcessor:Ye,serializeAMimeType:Je}=d(94322);const{TransformStream:Ke}=d(63774);const{getGlobalDispatcher:Xe}=d(32581);const{webidl:Ze}=d(74222);const{STATUS_CODES:at}=d(58611);const ct=["GET","HEAD"];let ft;let pt=globalThis.ReadableStream;class Fetch extends He{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new Fe("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function fetch(i,c={}){Ze.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const d=ge();let A;try{A=new T(i,c)}catch(i){d.reject(i);return d.promise}const C=A[_e];if(A.signal.aborted){abortFetch(d,C,null,A.signal.reason);return d.promise}const S=C.client.globalObject;if(S?.constructor?.name==="ServiceWorkerGlobalScope"){C.serviceWorkers="none"}let v=null;const _=null;let V=false;let Z=null;Ge(A.signal,(()=>{V=true;ke(Z!=null);Z.abort(A.signal.reason);abortFetch(d,C,v,A.signal.reason)}));const handleFetchDone=i=>finalizeAndReportTiming(i,"fetch");const processResponse=i=>{if(V){return Promise.resolve()}if(i.aborted){abortFetch(d,C,v,Z.serializedAbortReason);return Promise.resolve()}if(i.type==="error"){d.reject(Object.assign(new TypeError("fetch failed"),{cause:i.error}));return Promise.resolve()}v=new p;v[_e]=i;v[Te]=_;v[Ne][Ue]=i.headersList;v[Ne][Qe]="immutable";v[Ne][Te]=_;d.resolve(v)};Z=fetching({request:C,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:c.dispatcher??Xe()});return d.promise}function finalizeAndReportTiming(i,c="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const d=i.urlList[0];let p=i.timingInfo;let A=i.cacheState;if(!Be(d)){return}if(p===null){return}if(!i.timingAllowPassed){p=ue({startTime:p.startTime});A=""}p.endTime=he();i.timingInfo=p;markResourceTiming(p,d,c,globalThis,A)}function markResourceTiming(i,c,d,p,A){if(We>18||We===18&&$e>=2){performance.markResourceTiming(i,c.href,d,p,A)}}function abortFetch(i,c,d,p){if(!p){p=new Fe("The operation was aborted.","AbortError")}i.reject(p);if(c.body!=null&&Ve(c.body?.stream)){c.body.stream.cancel(p).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(d==null){return}const A=d[_e];if(A.body!=null&&Ve(A.body?.stream)){A.body.stream.cancel(p).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:c,processRequestEndOfBody:d,processResponse:p,processResponseEndOfBody:A,processResponseConsumeBody:C,useParallelQueue:S=false,dispatcher:v}){let _=null;let T=false;if(i.client!=null){_=i.client.globalObject;T=i.client.crossOriginIsolatedCapability}const V=he(T);const Z=ue({startTime:V});const ee={controller:new Fetch(v),request:i,timingInfo:Z,processRequestBodyChunkLength:c,processRequestEndOfBody:d,processResponse:p,processResponseConsumeBody:C,processResponseEndOfBody:A,taskDestination:_,crossOriginIsolatedCapability:T};ke(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client?.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=re(i.client.policyContainer)}else{i.policyContainer=te()}}if(!i.headersList.contains("accept")){const c="*/*";i.headersList.append("accept",c)}if(!i.headersList.contains("accept-language")){i.headersList.append("accept-language","*")}if(i.priority===null){}if(Me.has(i.destination)){}mainFetch(ee).catch((i=>{ee.controller.terminate(i)}));return ee.controller}async function mainFetch(i,c=false){const d=i.request;let p=null;if(d.localURLsOnly&&!ve(ae(d))){p=A("local URLs only")}ce(d);if(ne(d)==="blocked"){p=A("bad port")}if(d.referrerPolicy===""){d.referrerPolicy=d.policyContainer.referrerPolicy}if(d.referrer!=="no-referrer"){d.referrer=Ae(d)}if(p===null){p=await(async()=>{const c=ae(d);if(ye(c,d.url)&&d.responseTainting==="basic"||c.protocol==="data:"||(d.mode==="navigate"||d.mode==="websocket")){d.responseTainting="basic";return await schemeFetch(i)}if(d.mode==="same-origin"){return A('request mode cannot be "same-origin"')}if(d.mode==="no-cors"){if(d.redirect!=="follow"){return A('redirect mode cannot be "follow" for "no-cors" request')}d.responseTainting="opaque";return await schemeFetch(i)}if(!Be(ae(d))){return A("URL scheme must be a HTTP(S) scheme")}d.responseTainting="cors";return await httpFetch(i)})()}if(c){return p}if(p.status!==0&&!p.internalResponse){if(d.responseTainting==="cors"){}if(d.responseTainting==="basic"){p=S(p,"basic")}else if(d.responseTainting==="cors"){p=S(p,"cors")}else if(d.responseTainting==="opaque"){p=S(p,"opaque")}else{ke(false)}}let C=p.status===0?p:p.internalResponse;if(C.urlList.length===0){C.urlList.push(...d.urlList)}if(!d.timingAllowFailed){p.timingAllowPassed=true}if(p.type==="opaque"&&C.status===206&&C.rangeRequested&&!d.headers.contains("range")){p=C=A()}if(p.status!==0&&(d.method==="HEAD"||d.method==="CONNECT"||Oe.includes(C.status))){C.body=null;i.controller.dump=true}if(d.integrity){const processBodyError=c=>fetchFinale(i,A(c));if(d.responseTainting==="opaque"||p.body==null){processBodyError(p.error);return}const processBody=c=>{if(!ee(c,d.integrity)){processBodyError("integrity mismatch");return}p.body=xe(c)[0];fetchFinale(i,p)};await we(p.body,processBody,processBodyError)}else{fetchFinale(i,p)}}function schemeFetch(i){if(Ee(i)&&i.request.redirectCount===0){return Promise.resolve(C(i))}const{request:c}=i;const{protocol:p}=ae(c);switch(p){case"about:":{return Promise.resolve(A("about scheme is not supported"))}case"blob:":{if(!ft){ft=d(20181).resolveObjectURL}const i=ae(c);if(i.search.length!==0){return Promise.resolve(A("NetworkError when attempting to fetch resource."))}const p=ft(i.toString());if(c.method!=="GET"||!me(p)){return Promise.resolve(A("invalid method"))}const C=xe(p);const S=C[0];const _=Se(`${S.length}`);const T=C[1]??"";const V=v({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:_}],["content-type",{name:"Content-Type",value:T}]]});V.body=S;return Promise.resolve(V)}case"data:":{const i=ae(c);const d=Ye(i);if(d==="failure"){return Promise.resolve(A("failed to fetch the data URL"))}const p=Je(d.mimeType);return Promise.resolve(v({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:p}]],body:xe(d.body)[0]}))}case"file:":{return Promise.resolve(A("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>A(i)))}default:{return Promise.resolve(A("unknown scheme"))}}}function finalizeResponse(i,c){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(c)))}}function fetchFinale(i,c){if(c.type==="error"){c.urlList=[i.request.urlList[0]];c.timingInfo=ue({startTime:i.timingInfo.startTime})}const processResponseEndOfBody=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(c)))}};if(i.processResponse!=null){queueMicrotask((()=>i.processResponse(c)))}if(c.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(i,c)=>{c.enqueue(i)};const i=new Ke({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});c.body={stream:c.body.stream.pipeThrough(i)}}if(i.processResponseConsumeBody!=null){const processBody=d=>i.processResponseConsumeBody(c,d);const processBodyError=d=>i.processResponseConsumeBody(c,d);if(c.body==null){queueMicrotask((()=>processBody(null)))}else{return we(c.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(i){const c=i.request;let d=null;let p=null;const C=i.timingInfo;if(c.serviceWorkers==="all"){}if(d===null){if(c.redirect==="follow"){c.serviceWorkers="none"}p=d=await httpNetworkOrCacheFetch(i);if(c.responseTainting==="cors"&&fe(c,d)==="failure"){return A("cors failure")}if(ie(c,d)==="failure"){c.timingAllowFailed=true}}if((c.responseTainting==="opaque"||d.type==="opaque")&&pe(c.origin,c.client,c.destination,p)==="blocked"){return A("blocked")}if(Pe.has(p.status)){if(c.redirect!=="manual"){i.controller.connection.destroy()}if(c.redirect==="error"){d=A("unexpected redirect")}else if(c.redirect==="manual"){d=p}else if(c.redirect==="follow"){d=await httpRedirectFetch(i,d)}else{ke(false)}}d.timingInfo=C;return d}function httpRedirectFetch(i,c){const d=i.request;const p=c.internalResponse?c.internalResponse:c;let C;try{C=oe(p,ae(d).hash);if(C==null){return c}}catch(i){return Promise.resolve(A(i))}if(!Be(C)){return Promise.resolve(A("URL scheme must be a HTTP(S) scheme"))}if(d.redirectCount===20){return Promise.resolve(A("redirect count exceeded"))}d.redirectCount+=1;if(d.mode==="cors"&&(C.username||C.password)&&!ye(d,C)){return Promise.resolve(A('cross origin not allowed for request mode "cors"'))}if(d.responseTainting==="cors"&&(C.username||C.password)){return Promise.resolve(A('URL cannot contain credentials for request mode "cors"'))}if(p.status!==303&&d.body!=null&&d.body.source==null){return Promise.resolve(A())}if([301,302].includes(p.status)&&d.method==="POST"||p.status===303&&!ct.includes(d.method)){d.method="GET";d.body=null;for(const i of Le){d.headersList.delete(i)}}if(!ye(ae(d),C)){d.headersList.delete("authorization");d.headersList.delete("proxy-authorization",true);d.headersList.delete("cookie");d.headersList.delete("host")}if(d.body!=null){ke(d.body.source!=null);d.body=xe(d.body.source)[0]}const S=i.timingInfo;S.redirectEndTime=S.postRedirectStartTime=he(i.crossOriginIsolatedCapability);if(S.redirectStartTime===0){S.redirectStartTime=S.startTime}d.urlList.push(C);le(d,p);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,c=false,d=false){const p=i.request;let S=null;let v=null;let _=null;const T=null;const Z=false;if(p.window==="no-window"&&p.redirect==="error"){S=i;v=p}else{v=V(p);S={...i};S.request=v}const ee=p.credentials==="include"||p.credentials==="same-origin"&&p.responseTainting==="basic";const te=v.body?v.body.length:null;let re=null;if(v.body==null&&["POST","PUT"].includes(v.method)){re="0"}if(te!=null){re=Se(`${te}`)}if(re!=null){v.headersList.append("content-length",re)}if(te!=null&&v.keepalive){}if(v.referrer instanceof URL){v.headersList.append("referer",Se(v.referrer.href))}se(v);de(v);if(!v.headersList.contains("user-agent")){v.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(v.cache==="default"&&(v.headersList.contains("if-modified-since")||v.headersList.contains("if-none-match")||v.headersList.contains("if-unmodified-since")||v.headersList.contains("if-match")||v.headersList.contains("if-range"))){v.cache="no-store"}if(v.cache==="no-cache"&&!v.preventNoCacheCacheControlHeaderModification&&!v.headersList.contains("cache-control")){v.headersList.append("cache-control","max-age=0")}if(v.cache==="no-store"||v.cache==="reload"){if(!v.headersList.contains("pragma")){v.headersList.append("pragma","no-cache")}if(!v.headersList.contains("cache-control")){v.headersList.append("cache-control","no-cache")}}if(v.headersList.contains("range")){v.headersList.append("accept-encoding","identity")}if(!v.headersList.contains("accept-encoding")){if(Re(ae(v))){v.headersList.append("accept-encoding","br, gzip, deflate")}else{v.headersList.append("accept-encoding","gzip, deflate")}}v.headersList.delete("host");if(ee){}if(T==null){v.cache="no-store"}if(v.mode!=="no-store"&&v.mode!=="reload"){}if(_==null){if(v.mode==="only-if-cached"){return A("only if cached")}const i=await httpNetworkFetch(S,ee,d);if(!De.has(v.method)&&i.status>=200&&i.status<=399){}if(Z&&i.status===304){}if(_==null){_=i}}_.urlList=[...v.urlList];if(v.headersList.contains("range")){_.rangeRequested=true}_.requestIncludesCredentials=ee;if(_.status===407){if(p.window==="no-window"){return A()}if(Ee(i)){return C(i)}return A("proxy authentication required")}if(_.status===421&&!d&&(p.body==null||p.body.source!=null)){if(Ee(i)){return C(i)}i.controller.connection.destroy();_=await httpNetworkOrCacheFetch(i,c,true)}if(c){}return _}async function httpNetworkFetch(i,c=false,p=false){ke(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i){if(!this.destroyed){this.destroyed=true;this.abort?.(i??new Fe("The operation was aborted.","AbortError"))}}};const S=i.request;let T=null;const V=i.timingInfo;const ee=null;if(ee==null){S.cache="no-store"}const te=p?"yes":"no";if(S.mode==="websocket"){}else{}let re=null;if(S.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(S.body!=null){const processBodyChunk=async function*(c){if(Ee(i)){return}yield c;i.processRequestBodyChunkLength?.(c.byteLength)};const processEndOfBody=()=>{if(Ee(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=c=>{if(Ee(i)){return}if(c.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(c)}};re=async function*(){try{for await(const i of S.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:c,status:d,statusText:p,headersList:A,socket:C}=await dispatch({body:re});if(C){T=v({status:d,statusText:p,headersList:A,socket:C})}else{const C=c[Symbol.asyncIterator]();i.controller.next=()=>C.next();T=v({status:d,statusText:p,headersList:A})}}catch(c){if(c.name==="AbortError"){i.controller.connection.destroy();return C(i,c)}return A(c)}const pullAlgorithm=()=>{i.controller.resume()};const cancelAlgorithm=c=>{i.controller.abort(c)};if(!pt){pt=d(63774).ReadableStream}const ne=new pt({async start(c){i.controller.controller=c},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)}},{highWaterMark:0,size(){return 1}});T.body={stream:ne};i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let c;let d;try{const{done:d,value:p}=await i.controller.next();if(be(i)){break}c=d?undefined:p}catch(p){if(i.controller.ended&&!V.encodedBodySize){c=undefined}else{c=p;d=true}}if(c===undefined){Ie(i.controller.controller);finalizeResponse(i,T);return}V.decodedBodySize+=c?.byteLength??0;if(d){i.controller.terminate(c);return}i.controller.controller.enqueue(new Uint8Array(c));if(ze(ne)){i.controller.terminate();return}if(!i.controller.controller.desiredSize){return}}};function onAborted(c){if(be(i)){T.aborted=true;if(Ve(ne)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(Ve(ne)){i.controller.controller.error(new TypeError("terminated",{cause:Ce(c)?c:undefined}))}}i.controller.connection.destroy()}return T;async function dispatch({body:c}){const d=ae(S);const p=i.controller.dispatcher;return new Promise(((A,C)=>p.dispatch({path:d.pathname+d.search,origin:d.origin,method:S.method,body:i.controller.dispatcher.isMockActive?S.body&&(S.body.source||S.body.stream):c,headers:S.headersList.entries,maxRedirections:0,upgrade:S.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(c){const{connection:d}=i.controller;if(d.destroyed){c(new Fe("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",c);this.abort=d.abort=c}},onHeaders(i,c,d,p){if(i<200){return}let C=[];let v="";const T=new _;if(Array.isArray(c)){for(let i=0;i<c.length;i+=2){const d=c[i+0].toString("latin1");const p=c[i+1].toString("latin1");if(d.toLowerCase()==="content-encoding"){C=p.toLowerCase().split(",").map((i=>i.trim()))}else if(d.toLowerCase()==="location"){v=p}T[Ue].append(d,p)}}else{const i=Object.keys(c);for(const d of i){const i=c[d];if(d.toLowerCase()==="content-encoding"){C=i.toLowerCase().split(",").map((i=>i.trim())).reverse()}else if(d.toLowerCase()==="location"){v=i}T[Ue].append(d,i)}}this.body=new je({read:d});const V=[];const ee=S.redirect==="follow"&&v&&Pe.has(i);if(S.method!=="HEAD"&&S.method!=="CONNECT"&&!Oe.includes(i)&&!ee){for(const i of C){if(i==="x-gzip"||i==="gzip"){V.push(Z.createGunzip({flush:Z.constants.Z_SYNC_FLUSH,finishFlush:Z.constants.Z_SYNC_FLUSH}))}else if(i==="deflate"){V.push(Z.createInflate())}else if(i==="br"){V.push(Z.createBrotliDecompress())}else{V.length=0;break}}}A({status:i,statusText:p,headersList:T[Ue],body:V.length?qe(this.body,...V,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(c){if(i.controller.dump){return}const d=c;V.encodedBodySize+=d.byteLength;return this.body.push(d)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}i.controller.ended=true;this.body.push(null)},onError(c){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(c);i.controller.terminate(c);C(c)},onUpgrade(i,c,d){if(i!==101){return}const p=new _;for(let i=0;i<c.length;i+=2){const d=c[i+0].toString("latin1");const A=c[i+1].toString("latin1");p[Ue].append(d,A)}A({status:i,statusText:at[i],headersList:p[Ue],socket:d});return true}})))}}i.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},25194:(i,c,d)=>{"use strict";const{extractBody:p,mixinBody:A,cloneBody:C}=d(8923);const{Headers:S,fill:v,HeadersList:_}=d(26349);const{FinalizationRegistry:T}=d(13194)();const V=d(3440);const{isValidHTTPToken:Z,sameOrigin:ee,normalizeMethod:te,makePolicyContainer:re,normalizeMethodRecord:ne}=d(15523);const{forbiddenMethodsSet:ie,corsSafeListedMethodsSet:se,referrerPolicy:oe,requestRedirect:ae,requestMode:le,requestCredentials:ce,requestCache:ue,requestDuplex:de}=d(87326);const{kEnumerableProperty:fe}=V;const{kHeaders:pe,kSignal:Ae,kState:he,kGuard:ge,kRealm:me}=d(89710);const{webidl:ye}=d(74222);const{getGlobalOrigin:Ee}=d(75628);const{URLSerializer:be}=d(94322);const{kHeadersList:Ce,kConstruct:we}=d(36443);const Ie=d(42613);const{getMaxListeners:Se,setMaxListeners:ve,getEventListeners:Be,defaultMaxListeners:Re}=d(24434);let _e=globalThis.TransformStream;const Ne=Symbol("abortController");const Qe=new T((({signal:i,abort:c})=>{i.removeEventListener("abort",c)}));class Request{constructor(i,c={}){if(i===we){return}ye.argumentLengthCheck(arguments,1,{header:"Request constructor"});i=ye.converters.RequestInfo(i);c=ye.converters.RequestInit(c);this[me]={settingsObject:{baseUrl:Ee(),get origin(){return this.baseUrl?.origin},policyContainer:re()}};let A=null;let C=null;const T=this[me].settingsObject.baseUrl;let oe=null;if(typeof i==="string"){let c;try{c=new URL(i,T)}catch(c){throw new TypeError("Failed to parse URL from "+i,{cause:c})}if(c.username||c.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}A=makeRequest({urlList:[c]});C="cors"}else{Ie(i instanceof Request);A=i[he];oe=i[Ae]}const ae=this[me].settingsObject.origin;let le="client";if(A.window?.constructor?.name==="EnvironmentSettingsObject"&&ee(A.window,ae)){le=A.window}if(c.window!=null){throw new TypeError(`'window' option '${le}' must be null`)}if("window"in c){le="no-window"}A=makeRequest({method:A.method,headersList:A.headersList,unsafeRequest:A.unsafeRequest,client:this[me].settingsObject,window:le,priority:A.priority,origin:A.origin,referrer:A.referrer,referrerPolicy:A.referrerPolicy,mode:A.mode,credentials:A.credentials,cache:A.cache,redirect:A.redirect,integrity:A.integrity,keepalive:A.keepalive,reloadNavigation:A.reloadNavigation,historyNavigation:A.historyNavigation,urlList:[...A.urlList]});const ce=Object.keys(c).length!==0;if(ce){if(A.mode==="navigate"){A.mode="same-origin"}A.reloadNavigation=false;A.historyNavigation=false;A.origin="client";A.referrer="client";A.referrerPolicy="";A.url=A.urlList[A.urlList.length-1];A.urlList=[A.url]}if(c.referrer!==undefined){const i=c.referrer;if(i===""){A.referrer="no-referrer"}else{let c;try{c=new URL(i,T)}catch(c){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:c})}if(c.protocol==="about:"&&c.hostname==="client"||ae&&!ee(c,this[me].settingsObject.baseUrl)){A.referrer="client"}else{A.referrer=c}}}if(c.referrerPolicy!==undefined){A.referrerPolicy=c.referrerPolicy}let ue;if(c.mode!==undefined){ue=c.mode}else{ue=C}if(ue==="navigate"){throw ye.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(ue!=null){A.mode=ue}if(c.credentials!==undefined){A.credentials=c.credentials}if(c.cache!==undefined){A.cache=c.cache}if(A.cache==="only-if-cached"&&A.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(c.redirect!==undefined){A.redirect=c.redirect}if(c.integrity!=null){A.integrity=String(c.integrity)}if(c.keepalive!==undefined){A.keepalive=Boolean(c.keepalive)}if(c.method!==undefined){let i=c.method;if(!Z(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}if(ie.has(i.toUpperCase())){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=ne[i]??te(i);A.method=i}if(c.signal!==undefined){oe=c.signal}this[he]=A;const de=new AbortController;this[Ae]=de.signal;this[Ae][me]=this[me];if(oe!=null){if(!oe||typeof oe.aborted!=="boolean"||typeof oe.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(oe.aborted){de.abort(oe.reason)}else{this[Ne]=de;const i=new WeakRef(de);const abort=function(){const c=i.deref();if(c!==undefined){c.abort(this.reason)}};try{if(typeof Se==="function"&&Se(oe)===Re){ve(100,oe)}else if(Be(oe,"abort").length>=Re){ve(100,oe)}}catch{}V.addAbortListener(oe,abort);Qe.register(de,{signal:oe,abort:abort})}}this[pe]=new S(we);this[pe][Ce]=A.headersList;this[pe][ge]="request";this[pe][me]=this[me];if(ue==="no-cors"){if(!se.has(A.method)){throw new TypeError(`'${A.method} is unsupported in no-cors mode.`)}this[pe][ge]="request-no-cors"}if(ce){const i=this[pe][Ce];const d=c.headers!==undefined?c.headers:new _(i);i.clear();if(d instanceof _){for(const[c,p]of d){i.append(c,p)}i.cookies=d.cookies}else{v(this[pe],d)}}const fe=i instanceof Request?i[he].body:null;if((c.body!=null||fe!=null)&&(A.method==="GET"||A.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let be=null;if(c.body!=null){const[i,d]=p(c.body,A.keepalive);be=i;if(d&&!this[pe][Ce].contains("content-type")){this[pe].append("content-type",d)}}const Te=be??fe;if(Te!=null&&Te.source==null){if(be!=null&&c.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(A.mode!=="same-origin"&&A.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}A.useCORSPreflightFlag=true}let ke=Te;if(be==null&&fe!=null){if(V.isDisturbed(fe.stream)||fe.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!_e){_e=d(63774).TransformStream}const i=new _e;fe.stream.pipeThrough(i);ke={source:fe.source,length:fe.length,stream:i.readable}}this[he].body=ke}get method(){ye.brandCheck(this,Request);return this[he].method}get url(){ye.brandCheck(this,Request);return be(this[he].url)}get headers(){ye.brandCheck(this,Request);return this[pe]}get destination(){ye.brandCheck(this,Request);return this[he].destination}get referrer(){ye.brandCheck(this,Request);if(this[he].referrer==="no-referrer"){return""}if(this[he].referrer==="client"){return"about:client"}return this[he].referrer.toString()}get referrerPolicy(){ye.brandCheck(this,Request);return this[he].referrerPolicy}get mode(){ye.brandCheck(this,Request);return this[he].mode}get credentials(){return this[he].credentials}get cache(){ye.brandCheck(this,Request);return this[he].cache}get redirect(){ye.brandCheck(this,Request);return this[he].redirect}get integrity(){ye.brandCheck(this,Request);return this[he].integrity}get keepalive(){ye.brandCheck(this,Request);return this[he].keepalive}get isReloadNavigation(){ye.brandCheck(this,Request);return this[he].reloadNavigation}get isHistoryNavigation(){ye.brandCheck(this,Request);return this[he].historyNavigation}get signal(){ye.brandCheck(this,Request);return this[Ae]}get body(){ye.brandCheck(this,Request);return this[he].body?this[he].body.stream:null}get bodyUsed(){ye.brandCheck(this,Request);return!!this[he].body&&V.isDisturbed(this[he].body.stream)}get duplex(){ye.brandCheck(this,Request);return"half"}clone(){ye.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const i=cloneRequest(this[he]);const c=new Request(we);c[he]=i;c[me]=this[me];c[pe]=new S(we);c[pe][Ce]=i.headersList;c[pe][ge]=this[pe][ge];c[pe][me]=this[pe][me];const d=new AbortController;if(this.signal.aborted){d.abort(this.signal.reason)}else{V.addAbortListener(this.signal,(()=>{d.abort(this.signal.reason)}))}c[Ae]=d.signal;return c}}A(Request);function makeRequest(i){const c={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,...i,headersList:i.headersList?new _(i.headersList):new _};c.url=c.urlList[0];return c}function cloneRequest(i){const c=makeRequest({...i,body:null});if(i.body!=null){c.body=C(i.body)}return c}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}});ye.converters.Request=ye.interfaceConverter(Request);ye.converters.RequestInfo=function(i){if(typeof i==="string"){return ye.converters.USVString(i)}if(i instanceof Request){return ye.converters.Request(i)}return ye.converters.USVString(i)};ye.converters.AbortSignal=ye.interfaceConverter(AbortSignal);ye.converters.RequestInit=ye.dictionaryConverter([{key:"method",converter:ye.converters.ByteString},{key:"headers",converter:ye.converters.HeadersInit},{key:"body",converter:ye.nullableConverter(ye.converters.BodyInit)},{key:"referrer",converter:ye.converters.USVString},{key:"referrerPolicy",converter:ye.converters.DOMString,allowedValues:oe},{key:"mode",converter:ye.converters.DOMString,allowedValues:le},{key:"credentials",converter:ye.converters.DOMString,allowedValues:ce},{key:"cache",converter:ye.converters.DOMString,allowedValues:ue},{key:"redirect",converter:ye.converters.DOMString,allowedValues:ae},{key:"integrity",converter:ye.converters.DOMString},{key:"keepalive",converter:ye.converters.boolean},{key:"signal",converter:ye.nullableConverter((i=>ye.converters.AbortSignal(i,{strict:false})))},{key:"window",converter:ye.converters.any},{key:"duplex",converter:ye.converters.DOMString,allowedValues:de}]);i.exports={Request:Request,makeRequest:makeRequest}},48676:(i,c,d)=>{"use strict";const{Headers:p,HeadersList:A,fill:C}=d(26349);const{extractBody:S,cloneBody:v,mixinBody:_}=d(8923);const T=d(3440);const{kEnumerableProperty:V}=T;const{isValidReasonPhrase:Z,isCancelled:ee,isAborted:te,isBlobLike:re,serializeJavascriptValueToJSONString:ne,isErrorLike:ie,isomorphicEncode:se}=d(15523);const{redirectStatusSet:oe,nullBodyStatus:ae,DOMException:le}=d(87326);const{kState:ce,kHeaders:ue,kGuard:de,kRealm:fe}=d(89710);const{webidl:pe}=d(74222);const{FormData:Ae}=d(43073);const{getGlobalOrigin:he}=d(75628);const{URLSerializer:ge}=d(94322);const{kHeadersList:me,kConstruct:ye}=d(36443);const Ee=d(42613);const{types:be}=d(39023);const Ce=globalThis.ReadableStream||d(63774).ReadableStream;const we=new TextEncoder("utf-8");class Response{static error(){const i={settingsObject:{}};const c=new Response;c[ce]=makeNetworkError();c[fe]=i;c[ue][me]=c[ce].headersList;c[ue][de]="immutable";c[ue][fe]=i;return c}static json(i,c={}){pe.argumentLengthCheck(arguments,1,{header:"Response.json"});if(c!==null){c=pe.converters.ResponseInit(c)}const d=we.encode(ne(i));const p=S(d);const A={settingsObject:{}};const C=new Response;C[fe]=A;C[ue][de]="response";C[ue][fe]=A;initializeResponse(C,c,{body:p[0],type:"application/json"});return C}static redirect(i,c=302){const d={settingsObject:{}};pe.argumentLengthCheck(arguments,1,{header:"Response.redirect"});i=pe.converters.USVString(i);c=pe.converters["unsigned short"](c);let p;try{p=new URL(i,he())}catch(c){throw Object.assign(new TypeError("Failed to parse URL from "+i),{cause:c})}if(!oe.has(c)){throw new RangeError("Invalid status code "+c)}const A=new Response;A[fe]=d;A[ue][de]="immutable";A[ue][fe]=d;A[ce].status=c;const C=se(ge(p));A[ce].headersList.append("location",C);return A}constructor(i=null,c={}){if(i!==null){i=pe.converters.BodyInit(i)}c=pe.converters.ResponseInit(c);this[fe]={settingsObject:{}};this[ce]=makeResponse({});this[ue]=new p(ye);this[ue][de]="response";this[ue][me]=this[ce].headersList;this[ue][fe]=this[fe];let d=null;if(i!=null){const[c,p]=S(i);d={body:c,type:p}}initializeResponse(this,c,d)}get type(){pe.brandCheck(this,Response);return this[ce].type}get url(){pe.brandCheck(this,Response);const i=this[ce].urlList;const c=i[i.length-1]??null;if(c===null){return""}return ge(c,true)}get redirected(){pe.brandCheck(this,Response);return this[ce].urlList.length>1}get status(){pe.brandCheck(this,Response);return this[ce].status}get ok(){pe.brandCheck(this,Response);return this[ce].status>=200&&this[ce].status<=299}get statusText(){pe.brandCheck(this,Response);return this[ce].statusText}get headers(){pe.brandCheck(this,Response);return this[ue]}get body(){pe.brandCheck(this,Response);return this[ce].body?this[ce].body.stream:null}get bodyUsed(){pe.brandCheck(this,Response);return!!this[ce].body&&T.isDisturbed(this[ce].body.stream)}clone(){pe.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw pe.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[ce]);const c=new Response;c[ce]=i;c[fe]=this[fe];c[ue][me]=i.headersList;c[ue][de]=this[ue][de];c[ue][fe]=this[ue][fe];return c}}_(Response);Object.defineProperties(Response.prototype,{type:V,url:V,status:V,ok:V,redirected:V,statusText:V,headers:V,clone:V,body:V,bodyUsed:V,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:V,redirect:V,error:V});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const c=makeResponse({...i,body:null});if(i.body!=null){c.body=v(i.body)}return c}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i.headersList?new A(i.headersList):new A,urlList:i.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const c=ie(i);return makeResponse({type:"error",status:0,error:c?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function makeFilteredResponse(i,c){c={internalResponse:i,...c};return new Proxy(i,{get(i,d){return d in c?c[d]:i[d]},set(i,d,p){Ee(!(d in c));i[d]=p;return true}})}function filterResponse(i,c){if(c==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(c==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(c==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(c==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Ee(false)}}function makeAppropriateNetworkError(i,c=null){Ee(ee(i));return te(i)?makeNetworkError(Object.assign(new le("The operation was aborted.","AbortError"),{cause:c})):makeNetworkError(Object.assign(new le("Request was cancelled."),{cause:c}))}function initializeResponse(i,c,d){if(c.status!==null&&(c.status<200||c.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in c&&c.statusText!=null){if(!Z(String(c.statusText))){throw new TypeError("Invalid statusText")}}if("status"in c&&c.status!=null){i[ce].status=c.status}if("statusText"in c&&c.statusText!=null){i[ce].statusText=c.statusText}if("headers"in c&&c.headers!=null){C(i[ue],c.headers)}if(d){if(ae.includes(i.status)){throw pe.errors.exception({header:"Response constructor",message:"Invalid response status code "+i.status})}i[ce].body=d.body;if(d.type!=null&&!i[ce].headersList.contains("Content-Type")){i[ce].headersList.append("content-type",d.type)}}}pe.converters.ReadableStream=pe.interfaceConverter(Ce);pe.converters.FormData=pe.interfaceConverter(Ae);pe.converters.URLSearchParams=pe.interfaceConverter(URLSearchParams);pe.converters.XMLHttpRequestBodyInit=function(i){if(typeof i==="string"){return pe.converters.USVString(i)}if(re(i)){return pe.converters.Blob(i,{strict:false})}if(be.isArrayBuffer(i)||be.isTypedArray(i)||be.isDataView(i)){return pe.converters.BufferSource(i)}if(T.isFormDataLike(i)){return pe.converters.FormData(i,{strict:false})}if(i instanceof URLSearchParams){return pe.converters.URLSearchParams(i)}return pe.converters.DOMString(i)};pe.converters.BodyInit=function(i){if(i instanceof Ce){return pe.converters.ReadableStream(i)}if(i?.[Symbol.asyncIterator]){return i}return pe.converters.XMLHttpRequestBodyInit(i)};pe.converters.ResponseInit=pe.dictionaryConverter([{key:"status",converter:pe.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:pe.converters.ByteString,defaultValue:""},{key:"headers",converter:pe.converters.HeadersInit}]);i.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},89710:i=>{"use strict";i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},15523:(i,c,d)=>{"use strict";const{redirectStatusSet:p,referrerPolicySet:A,badPortsSet:C}=d(87326);const{getGlobalOrigin:S}=d(75628);const{performance:v}=d(82987);const{isBlobLike:_,toUSVString:T,ReadableStreamFrom:V}=d(3440);const Z=d(42613);const{isUint8Array:ee}=d(98253);let te=[];let re;try{re=d(76982);const i=["sha256","sha384","sha512"];te=re.getHashes().filter((c=>i.includes(c)))}catch{}function responseURL(i){const c=i.urlList;const d=c.length;return d===0?null:c[d-1].toString()}function responseLocationURL(i,c){if(!p.has(i.status)){return null}let d=i.headersList.get("location");if(d!==null&&isValidHeaderValue(d)){d=new URL(d,responseURL(i))}if(d&&!d.hash){d.hash=c}return d}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const c=requestCurrentURL(i);if(urlIsHttpHttpsScheme(c)&&C.has(c.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let c=0;c<i.length;++c){const d=i.charCodeAt(c);if(!(d===9||d>=32&&d<=126||d>=128&&d<=255)){return false}}return true}function isTokenCharCode(i){switch(i){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let c=0;c<i.length;++c){if(!isTokenCharCode(i.charCodeAt(c))){return false}}return true}function isValidHeaderName(i){return isValidHTTPToken(i)}function isValidHeaderValue(i){if(i.startsWith("\t")||i.startsWith(" ")||i.endsWith("\t")||i.endsWith(" ")){return false}if(i.includes("\0")||i.includes("\r")||i.includes("\n")){return false}return true}function setRequestReferrerPolicyOnRedirect(i,c){const{headersList:d}=c;const p=(d.get("referrer-policy")??"").split(",");let C="";if(p.length>0){for(let i=p.length;i!==0;i--){const c=p[i-1].trim();if(A.has(c)){C=c;break}}}if(C!==""){i.referrerPolicy=C}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let c=null;c=i.mode;i.headersList.set("sec-fetch-mode",c)}function appendRequestOriginHeader(i){let c=i.origin;if(i.responseTainting==="cors"||i.mode==="websocket"){if(c){i.headersList.append("origin",c)}}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":c=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){c=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){c=null}break;default:}if(c){i.headersList.append("origin",c)}}}function coarsenedSharedCurrentTime(i){return v.now()}function createOpaqueTimingInfo(i){return{startTime:i.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:i.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(i){return{referrerPolicy:i.referrerPolicy}}function determineRequestsReferrer(i){const c=i.referrerPolicy;Z(c);let d=null;if(i.referrer==="client"){const i=S();if(!i||i.origin==="null"){return"no-referrer"}d=new URL(i)}else if(i.referrer instanceof URL){d=i.referrer}let p=stripURLForReferrer(d);const A=stripURLForReferrer(d,true);if(p.toString().length>4096){p=A}const C=sameOrigin(i,p);const v=isURLPotentiallyTrustworthy(p)&&!isURLPotentiallyTrustworthy(i.url);switch(c){case"origin":return A!=null?A:stripURLForReferrer(d,true);case"unsafe-url":return p;case"same-origin":return C?A:"no-referrer";case"origin-when-cross-origin":return C?p:A;case"strict-origin-when-cross-origin":{const c=requestCurrentURL(i);if(sameOrigin(p,c)){return p}if(isURLPotentiallyTrustworthy(p)&&!isURLPotentiallyTrustworthy(c)){return"no-referrer"}return A}case"strict-origin":case"no-referrer-when-downgrade":default:return v?"no-referrer":A}}function stripURLForReferrer(i,c){Z(i instanceof URL);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(c){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const c=new URL(i);if(c.protocol==="https:"||c.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(c.hostname)||(c.hostname==="localhost"||c.hostname.includes("localhost."))||c.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,c){if(re===undefined){return true}const d=parseMetadata(c);if(d==="no metadata"){return true}if(d.length===0){return true}const p=getStrongestMetadata(d);const A=filterMetadataListByAlgorithm(d,p);for(const c of A){const d=c.algo;const p=c.hash;let A=re.createHash(d).update(i).digest("base64");if(A[A.length-1]==="="){if(A[A.length-2]==="="){A=A.slice(0,-2)}else{A=A.slice(0,-1)}}if(compareBase64Mixed(A,p)){return true}}return false}const ne=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const c=[];let d=true;for(const p of i.split(" ")){d=false;const i=ne.exec(p);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const A=i.groups.algo.toLowerCase();if(te.includes(A)){c.push(i.groups)}}if(d===true){return"no metadata"}return c}function getStrongestMetadata(i){let c=i[0].algo;if(c[3]==="5"){return c}for(let d=1;d<i.length;++d){const p=i[d];if(p.algo[3]==="5"){c="sha512";break}else if(c[3]==="3"){continue}else if(p.algo[3]==="3"){c="sha384"}}return c}function filterMetadataListByAlgorithm(i,c){if(i.length===1){return i}let d=0;for(let p=0;p<i.length;++p){if(i[p].algo===c){i[d++]=i[p]}}i.length=d;return i}function compareBase64Mixed(i,c){if(i.length!==c.length){return false}for(let d=0;d<i.length;++d){if(i[d]!==c[d]){if(i[d]==="+"&&c[d]==="-"||i[d]==="/"&&c[d]==="_"){continue}return false}}return true}function tryUpgradeRequestToAPotentiallyTrustworthyURL(i){}function sameOrigin(i,c){if(i.origin===c.origin&&i.origin==="null"){return true}if(i.protocol===c.protocol&&i.hostname===c.hostname&&i.port===c.port){return true}return false}function createDeferredPromise(){let i;let c;const d=new Promise(((d,p)=>{i=d;c=p}));return{promise:d,resolve:i,reject:c}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}const ie={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(ie,null);function normalizeMethod(i){return ie[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const c=JSON.stringify(i);if(c===undefined){throw new TypeError("Value is not JSON serializable")}Z(typeof c==="string");return c}const se=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(i,c,d){const p={index:0,kind:d,target:i};const A={next(){if(Object.getPrototypeOf(this)!==A){throw new TypeError(`'next' called on an object that does not implement interface ${c} Iterator.`)}const{index:i,kind:d,target:C}=p;const S=C();const v=S.length;if(i>=v){return{value:undefined,done:true}}const _=S[i];p.index=i+1;return iteratorResult(_,d)},[Symbol.toStringTag]:`${c} Iterator`};Object.setPrototypeOf(A,se);return Object.setPrototypeOf({},A)}function iteratorResult(i,c){let d;switch(c){case"key":{d=i[0];break}case"value":{d=i[1];break}case"key+value":{d=i;break}}return{value:d,done:false}}async function fullyReadBody(i,c,d){const p=c;const A=d;let C;try{C=i.stream.getReader()}catch(i){A(i);return}try{const i=await readAllBytes(C);p(i)}catch(i){A(i)}}let oe=globalThis.ReadableStream;function isReadableStreamLike(i){if(!oe){oe=d(63774).ReadableStream}return i instanceof oe||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}const ae=65535;function isomorphicDecode(i){if(i.length<ae){return String.fromCharCode(...i)}return i.reduce(((i,c)=>i+String.fromCharCode(c)),"")}function readableStreamClose(i){try{i.close()}catch(i){if(!i.message.includes("Controller is already closed")){throw i}}}function isomorphicEncode(i){for(let c=0;c<i.length;c++){Z(i.charCodeAt(c)<=255)}return i}async function readAllBytes(i){const c=[];let d=0;while(true){const{done:p,value:A}=await i.read();if(p){return Buffer.concat(c,d)}if(!ee(A)){throw new TypeError("Received non-Uint8Array chunk")}c.push(A);d+=A.length}}function urlIsLocal(i){Z("protocol"in i);const c=i.protocol;return c==="about:"||c==="blob:"||c==="data:"}function urlHasHttpsScheme(i){if(typeof i==="string"){return i.startsWith("https:")}return i.protocol==="https:"}function urlIsHttpHttpsScheme(i){Z("protocol"in i);const c=i.protocol;return c==="http:"||c==="https:"}const le=Object.hasOwn||((i,c)=>Object.prototype.hasOwnProperty.call(i,c));i.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:V,toUSVString:T,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:_,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:le,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:ie,parseMetadata:parseMetadata}},74222:(i,c,d)=>{"use strict";const{types:p}=d(39023);const{hasOwn:A,toUSVString:C}=d(15523);const S={};S.converters={};S.util={};S.errors={};S.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};S.errors.conversionFailed=function(i){const c=i.types.length===1?"":" one of";const d=`${i.argument} could not be converted to`+`${c}: ${i.types.join(", ")}.`;return S.errors.exception({header:i.prefix,message:d})};S.errors.invalidArgument=function(i){return S.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};S.brandCheck=function(i,c,d=undefined){if(d?.strict!==false&&!(i instanceof c)){throw new TypeError("Illegal invocation")}else{return i?.[Symbol.toStringTag]===c.prototype[Symbol.toStringTag]}};S.argumentLengthCheck=function({length:i},c,d){if(i<c){throw S.errors.exception({message:`${c} argument${c!==1?"s":""} required, `+`but${i?" only":""} ${i} found.`,...d})}};S.illegalConstructor=function(){throw S.errors.exception({header:"TypeError",message:"Illegal constructor"})};S.util.Type=function(i){switch(typeof i){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(i===null){return"Null"}return"Object"}}};S.util.ConvertToInt=function(i,c,d,p={}){let A;let C;if(c===64){A=Math.pow(2,53)-1;if(d==="unsigned"){C=0}else{C=Math.pow(-2,53)+1}}else if(d==="unsigned"){C=0;A=Math.pow(2,c)-1}else{C=Math.pow(-2,c)-1;A=Math.pow(2,c-1)-1}let v=Number(i);if(v===0){v=0}if(p.enforceRange===true){if(Number.isNaN(v)||v===Number.POSITIVE_INFINITY||v===Number.NEGATIVE_INFINITY){throw S.errors.exception({header:"Integer conversion",message:`Could not convert ${i} to an integer.`})}v=S.util.IntegerPart(v);if(v<C||v>A){throw S.errors.exception({header:"Integer conversion",message:`Value must be between ${C}-${A}, got ${v}.`})}return v}if(!Number.isNaN(v)&&p.clamp===true){v=Math.min(Math.max(v,C),A);if(Math.floor(v)%2===0){v=Math.floor(v)}else{v=Math.ceil(v)}return v}if(Number.isNaN(v)||v===0&&Object.is(0,v)||v===Number.POSITIVE_INFINITY||v===Number.NEGATIVE_INFINITY){return 0}v=S.util.IntegerPart(v);v=v%Math.pow(2,c);if(d==="signed"&&v>=Math.pow(2,c)-1){return v-Math.pow(2,c)}return v};S.util.IntegerPart=function(i){const c=Math.floor(Math.abs(i));if(i<0){return-1*c}return c};S.sequenceConverter=function(i){return c=>{if(S.util.Type(c)!=="Object"){throw S.errors.exception({header:"Sequence",message:`Value of type ${S.util.Type(c)} is not an Object.`})}const d=c?.[Symbol.iterator]?.();const p=[];if(d===undefined||typeof d.next!=="function"){throw S.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:c,value:A}=d.next();if(c){break}p.push(i(A))}return p}};S.recordConverter=function(i,c){return d=>{if(S.util.Type(d)!=="Object"){throw S.errors.exception({header:"Record",message:`Value of type ${S.util.Type(d)} is not an Object.`})}const A={};if(!p.isProxy(d)){const p=Object.keys(d);for(const C of p){const p=i(C);const S=c(d[C]);A[p]=S}return A}const C=Reflect.ownKeys(d);for(const p of C){const C=Reflect.getOwnPropertyDescriptor(d,p);if(C?.enumerable){const C=i(p);const S=c(d[p]);A[C]=S}}return A}};S.interfaceConverter=function(i){return(c,d={})=>{if(d.strict!==false&&!(c instanceof i)){throw S.errors.exception({header:i.name,message:`Expected ${c} to be an instance of ${i.name}.`})}return c}};S.dictionaryConverter=function(i){return c=>{const d=S.util.Type(c);const p={};if(d==="Null"||d==="Undefined"){return p}else if(d!=="Object"){throw S.errors.exception({header:"Dictionary",message:`Expected ${c} to be one of: Null, Undefined, Object.`})}for(const d of i){const{key:i,defaultValue:C,required:v,converter:_}=d;if(v===true){if(!A(c,i)){throw S.errors.exception({header:"Dictionary",message:`Missing required key "${i}".`})}}let T=c[i];const V=A(d,"defaultValue");if(V&&T!==null){T=T??C}if(v||V||T!==undefined){T=_(T);if(d.allowedValues&&!d.allowedValues.includes(T)){throw S.errors.exception({header:"Dictionary",message:`${T} is not an accepted type. Expected one of ${d.allowedValues.join(", ")}.`})}p[i]=T}}return p}};S.nullableConverter=function(i){return c=>{if(c===null){return c}return i(c)}};S.converters.DOMString=function(i,c={}){if(i===null&&c.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(i)};S.converters.ByteString=function(i){const c=S.converters.DOMString(i);for(let i=0;i<c.length;i++){if(c.charCodeAt(i)>255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${c.charCodeAt(i)} which is greater than 255.`)}}return c};S.converters.USVString=C;S.converters.boolean=function(i){const c=Boolean(i);return c};S.converters.any=function(i){return i};S.converters["long long"]=function(i){const c=S.util.ConvertToInt(i,64,"signed");return c};S.converters["unsigned long long"]=function(i){const c=S.util.ConvertToInt(i,64,"unsigned");return c};S.converters["unsigned long"]=function(i){const c=S.util.ConvertToInt(i,32,"unsigned");return c};S.converters["unsigned short"]=function(i,c){const d=S.util.ConvertToInt(i,16,"unsigned",c);return d};S.converters.ArrayBuffer=function(i,c={}){if(S.util.Type(i)!=="Object"||!p.isAnyArrayBuffer(i)){throw S.errors.conversionFailed({prefix:`${i}`,argument:`${i}`,types:["ArrayBuffer"]})}if(c.allowShared===false&&p.isSharedArrayBuffer(i)){throw S.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};S.converters.TypedArray=function(i,c,d={}){if(S.util.Type(i)!=="Object"||!p.isTypedArray(i)||i.constructor.name!==c.name){throw S.errors.conversionFailed({prefix:`${c.name}`,argument:`${i}`,types:[c.name]})}if(d.allowShared===false&&p.isSharedArrayBuffer(i.buffer)){throw S.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};S.converters.DataView=function(i,c={}){if(S.util.Type(i)!=="Object"||!p.isDataView(i)){throw S.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(c.allowShared===false&&p.isSharedArrayBuffer(i.buffer)){throw S.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};S.converters.BufferSource=function(i,c={}){if(p.isAnyArrayBuffer(i)){return S.converters.ArrayBuffer(i,c)}if(p.isTypedArray(i)){return S.converters.TypedArray(i,i.constructor)}if(p.isDataView(i)){return S.converters.DataView(i,c)}throw new TypeError(`Could not convert ${i} to a BufferSource.`)};S.converters["sequence<ByteString>"]=S.sequenceConverter(S.converters.ByteString);S.converters["sequence<sequence<ByteString>>"]=S.sequenceConverter(S.converters["sequence<ByteString>"]);S.converters["record<ByteString, ByteString>"]=S.recordConverter(S.converters.ByteString,S.converters.ByteString);i.exports={webidl:S}},40396:i=>{"use strict";function getEncoding(i){if(!i){return"failure"}switch(i.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}i.exports={getEncoding:getEncoding}},82160:(i,c,d)=>{"use strict";const{staticPropertyDescriptors:p,readOperation:A,fireAProgressEvent:C}=d(10165);const{kState:S,kError:v,kResult:_,kEvents:T,kAborted:V}=d(86812);const{webidl:Z}=d(74222);const{kEnumerableProperty:ee}=d(3440);class FileReader extends EventTarget{constructor(){super();this[S]="empty";this[_]=null;this[v]=null;this[T]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){Z.brandCheck(this,FileReader);Z.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});i=Z.converters.Blob(i,{strict:false});A(this,i,"ArrayBuffer")}readAsBinaryString(i){Z.brandCheck(this,FileReader);Z.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});i=Z.converters.Blob(i,{strict:false});A(this,i,"BinaryString")}readAsText(i,c=undefined){Z.brandCheck(this,FileReader);Z.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});i=Z.converters.Blob(i,{strict:false});if(c!==undefined){c=Z.converters.DOMString(c)}A(this,i,"Text",c)}readAsDataURL(i){Z.brandCheck(this,FileReader);Z.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});i=Z.converters.Blob(i,{strict:false});A(this,i,"DataURL")}abort(){if(this[S]==="empty"||this[S]==="done"){this[_]=null;return}if(this[S]==="loading"){this[S]="done";this[_]=null}this[V]=true;C("abort",this);if(this[S]!=="loading"){C("loadend",this)}}get readyState(){Z.brandCheck(this,FileReader);switch(this[S]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){Z.brandCheck(this,FileReader);return this[_]}get error(){Z.brandCheck(this,FileReader);return this[v]}get onloadend(){Z.brandCheck(this,FileReader);return this[T].loadend}set onloadend(i){Z.brandCheck(this,FileReader);if(this[T].loadend){this.removeEventListener("loadend",this[T].loadend)}if(typeof i==="function"){this[T].loadend=i;this.addEventListener("loadend",i)}else{this[T].loadend=null}}get onerror(){Z.brandCheck(this,FileReader);return this[T].error}set onerror(i){Z.brandCheck(this,FileReader);if(this[T].error){this.removeEventListener("error",this[T].error)}if(typeof i==="function"){this[T].error=i;this.addEventListener("error",i)}else{this[T].error=null}}get onloadstart(){Z.brandCheck(this,FileReader);return this[T].loadstart}set onloadstart(i){Z.brandCheck(this,FileReader);if(this[T].loadstart){this.removeEventListener("loadstart",this[T].loadstart)}if(typeof i==="function"){this[T].loadstart=i;this.addEventListener("loadstart",i)}else{this[T].loadstart=null}}get onprogress(){Z.brandCheck(this,FileReader);return this[T].progress}set onprogress(i){Z.brandCheck(this,FileReader);if(this[T].progress){this.removeEventListener("progress",this[T].progress)}if(typeof i==="function"){this[T].progress=i;this.addEventListener("progress",i)}else{this[T].progress=null}}get onload(){Z.brandCheck(this,FileReader);return this[T].load}set onload(i){Z.brandCheck(this,FileReader);if(this[T].load){this.removeEventListener("load",this[T].load)}if(typeof i==="function"){this[T].load=i;this.addEventListener("load",i)}else{this[T].load=null}}get onabort(){Z.brandCheck(this,FileReader);return this[T].abort}set onabort(i){Z.brandCheck(this,FileReader);if(this[T].abort){this.removeEventListener("abort",this[T].abort)}if(typeof i==="function"){this[T].abort=i;this.addEventListener("abort",i)}else{this[T].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:p,LOADING:p,DONE:p,readAsArrayBuffer:ee,readAsBinaryString:ee,readAsText:ee,readAsDataURL:ee,abort:ee,readyState:ee,result:ee,error:ee,onloadstart:ee,onprogress:ee,onload:ee,onabort:ee,onerror:ee,onloadend:ee,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:p,LOADING:p,DONE:p});i.exports={FileReader:FileReader}},15976:(i,c,d)=>{"use strict";const{webidl:p}=d(74222);const A=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,c={}){i=p.converters.DOMString(i);c=p.converters.ProgressEventInit(c??{});super(i,c);this[A]={lengthComputable:c.lengthComputable,loaded:c.loaded,total:c.total}}get lengthComputable(){p.brandCheck(this,ProgressEvent);return this[A].lengthComputable}get loaded(){p.brandCheck(this,ProgressEvent);return this[A].loaded}get total(){p.brandCheck(this,ProgressEvent);return this[A].total}}p.converters.ProgressEventInit=p.dictionaryConverter([{key:"lengthComputable",converter:p.converters.boolean,defaultValue:false},{key:"loaded",converter:p.converters["unsigned long long"],defaultValue:0},{key:"total",converter:p.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:p.converters.boolean,defaultValue:false},{key:"cancelable",converter:p.converters.boolean,defaultValue:false},{key:"composed",converter:p.converters.boolean,defaultValue:false}]);i.exports={ProgressEvent:ProgressEvent}},86812:i=>{"use strict";i.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},10165:(i,c,d)=>{"use strict";const{kState:p,kError:A,kResult:C,kAborted:S,kLastProgressEventFired:v}=d(86812);const{ProgressEvent:_}=d(15976);const{getEncoding:T}=d(40396);const{DOMException:V}=d(87326);const{serializeAMimeType:Z,parseMIMEType:ee}=d(94322);const{types:te}=d(39023);const{StringDecoder:re}=d(13193);const{btoa:ne}=d(20181);const ie={enumerable:true,writable:false,configurable:false};function readOperation(i,c,d,_){if(i[p]==="loading"){throw new V("Invalid state","InvalidStateError")}i[p]="loading";i[C]=null;i[A]=null;const T=c.stream();const Z=T.getReader();const ee=[];let re=Z.read();let ne=true;(async()=>{while(!i[S]){try{const{done:T,value:V}=await re;if(ne&&!i[S]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}ne=false;if(!T&&te.isUint8Array(V)){ee.push(V);if((i[v]===undefined||Date.now()-i[v]>=50)&&!i[S]){i[v]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}re=Z.read()}else if(T){queueMicrotask((()=>{i[p]="done";try{const p=packageData(ee,d,c.type,_);if(i[S]){return}i[C]=p;fireAProgressEvent("load",i)}catch(c){i[A]=c;fireAProgressEvent("error",i)}if(i[p]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(c){if(i[S]){return}queueMicrotask((()=>{i[p]="done";i[A]=c;fireAProgressEvent("error",i);if(i[p]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,c){const d=new _(i,{bubbles:false,cancelable:false});c.dispatchEvent(d)}function packageData(i,c,d,p){switch(c){case"DataURL":{let c="data:";const p=ee(d||"application/octet-stream");if(p!=="failure"){c+=Z(p)}c+=";base64,";const A=new re("latin1");for(const d of i){c+=ne(A.write(d))}c+=ne(A.end());return c}case"Text":{let c="failure";if(p){c=T(p)}if(c==="failure"&&d){const i=ee(d);if(i!=="failure"){c=T(i.parameters.get("charset"))}}if(c==="failure"){c="UTF-8"}return decode(i,c)}case"ArrayBuffer":{const c=combineByteSequences(i);return c.buffer}case"BinaryString":{let c="";const d=new re("latin1");for(const p of i){c+=d.write(p)}c+=d.end();return c}}}function decode(i,c){const d=combineByteSequences(i);const p=BOMSniffing(d);let A=0;if(p!==null){c=p;A=p==="UTF-8"?3:2}const C=d.slice(A);return new TextDecoder(c).decode(C)}function BOMSniffing(i){const[c,d,p]=i;if(c===239&&d===187&&p===191){return"UTF-8"}else if(c===254&&d===255){return"UTF-16BE"}else if(c===255&&d===254){return"UTF-16LE"}return null}function combineByteSequences(i){const c=i.reduce(((i,c)=>i+c.byteLength),0);let d=0;return i.reduce(((i,c)=>{i.set(c,d);d+=c.byteLength;return i}),new Uint8Array(c))}i.exports={staticPropertyDescriptors:ie,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},32581:(i,c,d)=>{"use strict";const p=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:A}=d(68707);const C=d(59965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new C)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new A("Argument agent must implement Agent")}Object.defineProperty(globalThis,p,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[p]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},78840:i=>{"use strict";i.exports=class DecoratorHandler{constructor(i){this.handler=i}onConnect(...i){return this.handler.onConnect(...i)}onError(...i){return this.handler.onError(...i)}onUpgrade(...i){return this.handler.onUpgrade(...i)}onHeaders(...i){return this.handler.onHeaders(...i)}onData(...i){return this.handler.onData(...i)}onComplete(...i){return this.handler.onComplete(...i)}onBodySent(...i){return this.handler.onBodySent(...i)}}},48299:(i,c,d)=>{"use strict";const p=d(3440);const{kBodyUsed:A}=d(36443);const C=d(42613);const{InvalidArgumentError:S}=d(68707);const v=d(24434);const _=[300,301,302,303,307,308];const T=Symbol("body");class BodyAsyncIterable{constructor(i){this[T]=i;this[A]=false}async*[Symbol.asyncIterator](){C(!this[A],"disturbed");this[A]=true;yield*this[T]}}class RedirectHandler{constructor(i,c,d,_){if(c!=null&&(!Number.isInteger(c)||c<0)){throw new S("maxRedirections must be a positive number")}p.validateHandler(_,d.method,d.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...d,maxRedirections:0};this.maxRedirections=c;this.handler=_;this.history=[];if(p.isStream(this.opts.body)){if(p.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){C(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[A]=false;v.prototype.on.call(this.opts.body,"data",(function(){this[A]=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)&&p.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,c,d){this.handler.onUpgrade(i,c,d)}onError(i){this.handler.onError(i)}onHeaders(i,c,d,A){this.location=this.history.length>=this.maxRedirections||p.isDisturbed(this.opts.body)?null:parseLocation(i,c);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,c,d,A)}const{origin:C,pathname:S,search:v}=p.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const _=v?`${S}${v}`:S;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==C);this.opts.path=_;this.opts.origin=C;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,c){if(_.indexOf(i)===-1){return null}for(let i=0;i<c.length;i+=2){if(c[i].toString().toLowerCase()==="location"){return c[i+1]}}}function shouldRemoveHeader(i,c,d){if(i.length===4){return p.headerNameToString(i)==="host"}if(c&&p.headerNameToString(i).startsWith("content-")){return true}if(d&&(i.length===13||i.length===6||i.length===19)){const c=p.headerNameToString(i);return c==="authorization"||c==="cookie"||c==="proxy-authorization"}return false}function cleanRequestHeaders(i,c,d){const p=[];if(Array.isArray(i)){for(let A=0;A<i.length;A+=2){if(!shouldRemoveHeader(i[A],c,d)){p.push(i[A],i[A+1])}}}else if(i&&typeof i==="object"){for(const A of Object.keys(i)){if(!shouldRemoveHeader(A,c,d)){p.push(A,i[A])}}}else{C(i==null,"headers must be an object or an array")}return p}i.exports=RedirectHandler},53573:(i,c,d)=>{const p=d(42613);const{kRetryHandlerDefaultRetry:A}=d(36443);const{RequestRetryError:C}=d(68707);const{isDisturbed:S,parseHeaders:v,parseRangeHeader:_}=d(3440);function calculateRetryAfterHeader(i){const c=Date.now();const d=new Date(i).getTime()-c;return d}class RetryHandler{constructor(i,c){const{retryOptions:d,...p}=i;const{retry:C,maxRetries:S,maxTimeout:v,minTimeout:_,timeoutFactor:T,methods:V,errorCodes:Z,retryAfter:ee,statusCodes:te}=d??{};this.dispatch=c.dispatch;this.handler=c.handler;this.opts=p;this.abort=null;this.aborted=false;this.retryOpts={retry:C??RetryHandler[A],retryAfter:ee??true,maxTimeout:v??30*1e3,timeout:_??500,timeoutFactor:T??2,maxRetries:S??5,methods:V??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:te??[500,502,503,504,429],errorCodes:Z??["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((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,c,d){if(this.handler.onUpgrade){this.handler.onUpgrade(i,c,d)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[A](i,{state:c,opts:d},p){const{statusCode:A,code:C,headers:S}=i;const{method:v,retryOptions:_}=d;const{maxRetries:T,timeout:V,maxTimeout:Z,timeoutFactor:ee,statusCodes:te,errorCodes:re,methods:ne}=_;let{counter:ie,currentTimeout:se}=c;se=se!=null&&se>0?se:V;if(C&&C!=="UND_ERR_REQ_RETRY"&&C!=="UND_ERR_SOCKET"&&!re.includes(C)){p(i);return}if(Array.isArray(ne)&&!ne.includes(v)){p(i);return}if(A!=null&&Array.isArray(te)&&!te.includes(A)){p(i);return}if(ie>T){p(i);return}let oe=S!=null&&S["retry-after"];if(oe){oe=Number(oe);oe=isNaN(oe)?calculateRetryAfterHeader(oe):oe*1e3}const ae=oe>0?Math.min(oe,Z):Math.min(se*ee**ie,Z);c.currentTimeout=ae;setTimeout((()=>p(null)),ae)}onHeaders(i,c,d,A){const S=v(c);this.retryCount+=1;if(i>=300){this.abort(new C("Request failed",i,{headers:S,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(i!==206){return true}const c=_(S["content-range"]);if(!c){this.abort(new C("Content-Range mismatch",i,{headers:S,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==S.etag){this.abort(new C("ETag mismatch",i,{headers:S,count:this.retryCount}));return false}const{start:A,size:v,end:T=v}=c;p(this.start===A,"content-range mismatch");p(this.end==null||this.end===T,"content-range mismatch");this.resume=d;return true}if(this.end==null){if(i===206){const C=_(S["content-range"]);if(C==null){return this.handler.onHeaders(i,c,d,A)}const{start:v,size:T,end:V=T}=C;p(v!=null&&Number.isFinite(v)&&this.start!==v,"content-range mismatch");p(Number.isFinite(v));p(V!=null&&Number.isFinite(V)&&this.end!==V,"invalid content-length");this.start=v;this.end=V}if(this.end==null){const i=S["content-length"];this.end=i!=null?Number(i):null}p(Number.isFinite(this.start));p(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=d;this.etag=S.etag!=null?S.etag:null;return this.handler.onHeaders(i,c,d,A)}const T=new C("Request failed",i,{headers:S,count:this.retryCount});this.abort(T);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||S(this.opts.body)){return this.handler.onError(i)}this.retryOpts.retry(i,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||S(this.opts.body)){return this.handler.onError(i)}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(i){this.handler.onError(i)}}}}i.exports=RetryHandler},64415:(i,c,d)=>{"use strict";const p=d(48299);function createRedirectInterceptor({maxRedirections:i}){return c=>function Intercept(d,A){const{maxRedirections:C=i}=d;if(!C){return c(d,A)}const S=new p(c,C,d,A);d={...d,maxRedirections:0};return c(d,S)}}i.exports=createRedirectInterceptor},52824:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.SPECIAL_HEADERS=c.HEADER_STATE=c.MINOR=c.MAJOR=c.CONNECTION_TOKEN_CHARS=c.HEADER_CHARS=c.TOKEN=c.STRICT_TOKEN=c.HEX=c.URL_CHAR=c.STRICT_URL_CHAR=c.USERINFO_CHARS=c.MARK=c.ALPHANUM=c.NUM=c.HEX_MAP=c.NUM_MAP=c.ALPHA=c.FINISH=c.H_METHOD_MAP=c.METHOD_MAP=c.METHODS_RTSP=c.METHODS_ICE=c.METHODS_HTTP=c.METHODS=c.LENIENT_FLAGS=c.FLAGS=c.TYPE=c.ERROR=void 0;const p=d(50172);var A;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(A=c.ERROR||(c.ERROR={}));var C;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(C=c.TYPE||(c.TYPE={}));var S;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(S=c.FLAGS||(c.FLAGS={}));var v;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(v=c.LENIENT_FLAGS||(c.LENIENT_FLAGS={}));var _;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(_=c.METHODS||(c.METHODS={}));c.METHODS_HTTP=[_.DELETE,_.GET,_.HEAD,_.POST,_.PUT,_.CONNECT,_.OPTIONS,_.TRACE,_.COPY,_.LOCK,_.MKCOL,_.MOVE,_.PROPFIND,_.PROPPATCH,_.SEARCH,_.UNLOCK,_.BIND,_.REBIND,_.UNBIND,_.ACL,_.REPORT,_.MKACTIVITY,_.CHECKOUT,_.MERGE,_["M-SEARCH"],_.NOTIFY,_.SUBSCRIBE,_.UNSUBSCRIBE,_.PATCH,_.PURGE,_.MKCALENDAR,_.LINK,_.UNLINK,_.PRI,_.SOURCE];c.METHODS_ICE=[_.SOURCE];c.METHODS_RTSP=[_.OPTIONS,_.DESCRIBE,_.ANNOUNCE,_.SETUP,_.PLAY,_.PAUSE,_.TEARDOWN,_.GET_PARAMETER,_.SET_PARAMETER,_.REDIRECT,_.RECORD,_.FLUSH,_.GET,_.POST];c.METHOD_MAP=p.enumToMap(_);c.H_METHOD_MAP={};Object.keys(c.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){c.H_METHOD_MAP[i]=c.METHOD_MAP[i]}}));var T;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(T=c.FINISH||(c.FINISH={}));c.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){c.ALPHA.push(String.fromCharCode(i));c.ALPHA.push(String.fromCharCode(i+32))}c.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};c.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};c.NUM=["0","1","2","3","4","5","6","7","8","9"];c.ALPHANUM=c.ALPHA.concat(c.NUM);c.MARK=["-","_",".","!","~","*","'","(",")"];c.USERINFO_CHARS=c.ALPHANUM.concat(c.MARK).concat(["%",";",":","&","=","+","$",","]);c.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(c.ALPHANUM);c.URL_CHAR=c.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){c.URL_CHAR.push(i)}c.HEX=c.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);c.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(c.ALPHANUM);c.TOKEN=c.STRICT_TOKEN.concat([" "]);c.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){c.HEADER_CHARS.push(i)}}c.CONNECTION_TOKEN_CHARS=c.HEADER_CHARS.filter((i=>i!==44));c.MAJOR=c.NUM_MAP;c.MINOR=c.MAJOR;var V;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(V=c.HEADER_STATE||(c.HEADER_STATE={}));c.SPECIAL_HEADERS={connection:V.CONNECTION,"content-length":V.CONTENT_LENGTH,"proxy-connection":V.CONNECTION,"transfer-encoding":V.TRANSFER_ENCODING,upgrade:V.UPGRADE}},63870:i=>{i.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMqAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL/gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARB//8DcSIDQQhxDQACQCADQYAEcUUNAAJAIAAtAChBAUcNACAALQAtQQpxDQBBBQ8LQQQPCwJAIANBIHENAAJAIAAtAChBAUYNACAALwEyQf//A3EiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQShxRQ0CIANBiARxQYAERg0CC0EADwtBAEEDIAApAyBQGyEFCyAFC2IBAn9BACEBAkAgAC0AKEEBRg0AIAAvATJB//8DcSICQZx/akHkAEkNACACQcwBRg0AIAJBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhASAAQYgEcUGABEYNACAAQShxRSEBCyABC6cBAQN/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQMgAC8BMCIEQQJxRQ0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkB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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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FCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAU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YWdlX2JlZ2luYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlYCBjYWxsYmFjayBlcnJvcgBgb25fc3RhdHVzX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdmVyc2lvbl9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3VybF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21ldGhvZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lYCBjYWxsYmFjayBlcnJvcgBVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNlcnZlcgBJbnZhbGlkIGhlYWRlciB2YWx1ZSBjaGFyAEludmFsaWQgaGVhZGVyIGZpZWxkIGNoYXIAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl92ZXJzaW9uAEludmFsaWQgbWlub3IgdmVyc2lvbgBJbnZhbGlkIG1ham9yIHZlcnNpb24ARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgdmVyc2lvbgBFeHBlY3RlZCBDUkxGIGFmdGVyIHZlcnNpb24ASW52YWxpZCBIVFRQIHZlcnNpb24ASW52YWxpZCBoZWFkZXIgdG9rZW4AU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl91cmwASW52YWxpZCBjaGFyYWN0ZXJzIGluIHVybABVbmV4cGVjdGVkIHN0YXJ0IGNoYXIgaW4gdXJsAERvdWJsZSBAIGluIHVybABFbXB0eSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXJhY3RlciBpbiBDb250ZW50LUxlbmd0aABEdXBsaWNhdGUgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyIGluIHVybCBwYXRoAENvbnRlbnQtTGVuZ3RoIGNhbid0IGJlIHByZXNlbnQgd2l0aCBUcmFuc2Zlci1FbmNvZGluZwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBzaXplAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX3ZhbHVlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgdmFsdWUATWlzc2luZyBleHBlY3RlZCBMRiBhZnRlciBoZWFkZXIgdmFsdWUASW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGVkIHZhbHVlAFBhdXNlZCBieSBvbl9oZWFkZXJzX2NvbXBsZXRlAEludmFsaWQgRU9GIHN0YXRlAG9uX3Jlc2V0IHBhdXNlAG9uX2NodW5rX2hlYWRlciBwYXVzZQBvbl9tZXNzYWdlX2JlZ2luIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZSBwYXVzZQBvbl9zdGF0dXNfY29tcGxldGUgcGF1c2UAb25fdmVyc2lvbl9jb21wbGV0ZSBwYXVzZQBvbl91cmxfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlIHBhdXNlAG9uX21lc3NhZ2VfY29tcGxldGUgcGF1c2UAb25fbWV0aG9kX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fbmFtZSBwYXVzZQBVbmV4cGVjdGVkIHNwYWNlIGFmdGVyIHN0YXJ0IGxpbmUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fbmFtZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIG5hbWUAUGF1c2Ugb24gQ09OTkVDVC9VcGdyYWRlAFBhdXNlIG9uIFBSSS9VcGdyYWRlAEV4cGVjdGVkIEhUVFAvMiBDb25uZWN0aW9uIFByZWZhY2UAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9tZXRob2QARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgbWV0aG9kAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX2ZpZWxkAFBhdXNlZABJbnZhbGlkIHdvcmQgZW5jb3VudGVyZWQASW52YWxpZCBtZXRob2QgZW5jb3VudGVyZWQAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzY2hlbWEAUmVxdWVzdCBoYXMgaW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgAFNXSVRDSF9QUk9YWQBVU0VfUFJPWFkATUtBQ1RJVklUWQBVTlBST0NFU1NBQkxFX0VOVElUWQBDT1BZAE1PVkVEX1BFUk1BTkVOVExZAFRPT19FQVJMWQBOT1RJRlkARkFJTEVEX0RFUEVOREVOQ1kAQkFEX0dBVEVXQVkAUExBWQBQVVQAQ0hFQ0tPVVQAR0FURVdBWV9USU1FT1VUAFJFUVVFU1RfVElNRU9VVABORVRXT1JLX0NPTk5FQ1RfVElNRU9VVABDT05ORUNUSU9OX1RJTUVPVVQATE9HSU5fVElNRU9VVABORVRXT1JLX1JFQURfVElNRU9VVABQT1NUAE1JU0RJUkVDVEVEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfTE9BRF9CQUxBTkNFRF9SRVFVRVNUAEJBRF9SRVFVRVNUAEhUVFBfUkVRVUVTVF9TRU5UX1RPX0hUVFBTX1BPUlQAUkVQT1JUAElNX0FfVEVBUE9UAFJFU0VUX0NPTlRFTlQATk9fQ09OVEVOVABQQVJUSUFMX0NPTlRFTlQASFBFX0lOVkFMSURfQ09OU1RBTlQASFBFX0NCX1JFU0VUAEdFVABIUEVfU1RSSUNUAENPTkZMSUNUAFRFTVBPUkFSWV9SRURJUkVDVABQRVJNQU5FTlRfUkVESVJFQ1QAQ09OTkVDVABNVUxUSV9TVEFUVVMASFBFX0lOVkFMSURfU1RBVFVTAFRPT19NQU5ZX1JFUVVFU1RTAEVBUkxZX0hJTlRTAFVOQVZBSUxBQkxFX0ZPUl9MRUdBTF9SRUFTT05TAE9QVElPTlMAU1dJVENISU5HX1BST1RPQ09MUwBWQVJJQU5UX0FMU09fTkVHT1RJQVRFUwBNVUxUSVBMRV9DSE9JQ0VTAElOVEVSTkFMX1NFUlZFUl9FUlJPUgBXRUJfU0VSVkVSX1VOS05PV05fRVJST1IAUkFJTEdVTl9FUlJPUgBJREVOVElUWV9QUk9WSURFUl9BVVRIRU5USUNBVElPTl9FUlJPUgBTU0xfQ0VSVElGSUNBVEVfRVJST1IASU5WQUxJRF9YX0ZPUldBUkRFRF9GT1IAU0VUX1BBUkFNRVRFUgBHRVRfUEFSQU1FVEVSAEhQRV9VU0VSAFNFRV9PVEhFUgBIUEVfQ0JfQ0hVTktfSEVBREVSAE1LQ0FMRU5EQVIAU0VUVVAAV0VCX1NFUlZFUl9JU19ET1dOAFRFQVJET1dOAEhQRV9DTE9TRURfQ09OTkVDVElPTgBIRVVSSVNUSUNfRVhQSVJBVElPTgBESVNDT05ORUNURURfT1BFUkFUSU9OAE5PTl9BVVRIT1JJVEFUSVZFX0lORk9STUFUSU9OAEhQRV9JTlZBTElEX1ZFUlNJT04ASFBFX0NCX01FU1NBR0VfQkVHSU4AU0lURV9JU19GUk9aRU4ASFBFX0lOVkFMSURfSEVBREVSX1RPS0VOAElOVkFMSURfVE9LRU4ARk9SQklEREVOAEVOSEFOQ0VfWU9VUl9DQUxNAEhQRV9JTlZBTElEX1VSTABCTE9DS0VEX0JZX1BBUkVOVEFMX0NPTlRST0wATUtDT0wAQUNMAEhQRV9JTlRFUk5BTABSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFX1VOT0ZGSUNJQUwASFBFX09LAFVOTElOSwBVTkxPQ0sAUFJJAFJFVFJZX1dJVEgASFBFX0lOVkFMSURfQ09OVEVOVF9MRU5HVEgASFBFX1VORVhQRUNURURfQ09OVEVOVF9MRU5HVEgARkxVU0gAUFJPUFBBVENIAE0tU0VBUkNIAFVSSV9UT09fTE9ORwBQUk9DRVNTSU5HAE1JU0NFTExBTkVPVVNfUEVSU0lTVEVOVF9XQVJOSU5HAE1JU0NFTExBTkVPVVNfV0FSTklORwBIUEVfSU5WQUxJRF9UUkFOU0ZFUl9FTkNPRElORwBFeHBlY3RlZCBDUkxGAEhQRV9JTlZBTElEX0NIVU5LX1NJWkUATU9WRQBDT05USU5VRQBIUEVfQ0JfU1RBVFVTX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJTX0NPTVBMRVRFAEhQRV9DQl9WRVJTSU9OX0NPTVBMRVRFAEhQRV9DQl9VUkxfQ09NUExFVEUASFBFX0NCX0NIVU5LX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX05BTUVfQ09NUExFVEUASFBFX0NCX01FU1NBR0VfQ09NUExFVEUASFBFX0NCX01FVEhPRF9DT01QTEVURQBIUEVfQ0JfSEVBREVSX0ZJRUxEX0NPTVBMRVRFAERFTEVURQBIUEVfSU5WQUxJRF9FT0ZfU1RBVEUASU5WQUxJRF9TU0xfQ0VSVElGSUNBVEUAUEFVU0UATk9fUkVTUE9OU0UAVU5TVVBQT1JURURfTUVESUFfVFlQRQBHT05FAE5PVF9BQ0NFUFRBQkxFAFNFUlZJQ0VfVU5BVkFJTEFCTEUAUkFOR0VfTk9UX1NBVElTRklBQkxFAE9SSUdJTl9JU19VTlJFQUNIQUJMRQBSRVNQT05TRV9JU19TVEFMRQBQVVJHRQBNRVJHRQBSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFAFJFUVVFU1RfSEVBREVSX1RPT19MQVJHRQBQQVlMT0FEX1RPT19MQVJHRQBJTlNVRkZJQ0lFTlRfU1RPUkFHRQBIUEVfUEFVU0VEX1VQR1JBREUASFBFX1BBVVNFRF9IMl9VUEdSQURFAFNPVVJDRQBBTk5PVU5DRQBUUkFDRQBIUEVfVU5FWFBFQ1RFRF9TUEFDRQBERVNDUklCRQBVTlNVQlNDUklCRQBSRUNPUkQASFBFX0lOVkFMSURfTUVUSE9EAE5PVF9GT1VORABQUk9QRklORABVTkJJTkQAUkVCSU5EAFVOQVVUSE9SSVpFRABNRVRIT0RfTk9UX0FMTE9XRUQASFRUUF9WRVJTSU9OX05PVF9TVVBQT1JURUQAQUxSRUFEWV9SRVBPUlRFRABBQ0NFUFRFRABOT1RfSU1QTEVNRU5URUQATE9PUF9ERVRFQ1RFRABIUEVfQ1JfRVhQRUNURUQASFBFX0xGX0VYUEVDVEVEAENSRUFURUQASU1fVVNFRABIUEVfUEFVU0VEAFRJTUVPVVRfT0NDVVJFRABQQVlNRU5UX1JFUVVJUkVEAFBSRUNPTkRJVElPTl9SRVFVSVJFRABQUk9YWV9BVVRIRU5USUNBVElPTl9SRVFVSVJFRABORVRXT1JLX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAExFTkdUSF9SRVFVSVJFRABTU0xfQ0VSVElGSUNBVEVfUkVRVUlSRUQAVVBHUkFERV9SRVFVSVJFRABQQUdFX0VYUElSRUQAUFJFQ09ORElUSU9OX0ZBSUxFRABFWFBFQ1RBVElPTl9GQUlMRUQAUkVWQUxJREFUSU9OX0ZBSUxFRABTU0xfSEFORFNIQUtFX0ZBSUxFRABMT0NLRUQAVFJBTlNGT1JNQVRJT05fQVBQTElFRABOT1RfTU9ESUZJRUQATk9UX0VYVEVOREVEAEJBTkRXSURUSF9MSU1JVF9FWENFRURFRABTSVRFX0lTX09WRVJMT0FERUQASEVBRABFeHBlY3RlZCBIVFRQLwAAXhMAACYTAAAwEAAA8BcAAJ0TAAAVEgAAORcAAPASAAAKEAAAdRIAAK0SAACCEwAATxQAAH8QAACgFQAAIxQAAIkSAACLFAAATRUAANQRAADPFAAAEBgAAMkWAADcFgAAwREAAOAXAAC7FAAAdBQAAHwVAADlFAAACBcAAB8QAABlFQAAoxQAACgVAAACFQAAmRUAACwQAACLGQAATw8AANQOAABqEAAAzhAAAAIXAACJDgAAbhMAABwTAABmFAAAVhcAAMETAADNEwAAbBMAAGgXAABmFwAAXxcAACITAADODwAAaQ4AANgOAABjFgAAyxMAAKoOAAAoFwAAJhcAAMUTAABdFgAA6BEAAGcTAABlEwAA8hYAAHMTAAAdFwAA+RYAAPMRAADPDgAAzhUAAAwSAACzEQAApREAAGEQAAAyFwAAuxMAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIDAgICAgIAAAICAAICAAICAgICAgICAgIABAAAAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbG9zZWVlcC1hbGl2ZQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEAAAEBAAEBAAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AAAAAAAAAAAAAAAAAAAByYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AAAAAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAQAAAgAAAAAAAAAAAAAAAAAAAAAAAAMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOT1VOQ0VFQ0tPVVRORUNURVRFQ1JJQkVMVVNIRVRFQURTRUFSQ0hSR0VDVElWSVRZTEVOREFSVkVPVElGWVBUSU9OU0NIU0VBWVNUQVRDSEdFT1JESVJFQ1RPUlRSQ0hQQVJBTUVURVJVUkNFQlNDUklCRUFSRE9XTkFDRUlORE5LQ0tVQlNDUklCRUhUVFAvQURUUC8="},53434:i=>{i.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMqAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL/gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARB//8DcSIDQQhxDQACQCADQYAEcUUNAAJAIAAtAChBAUcNACAALQAtQQpxDQBBBQ8LQQQPCwJAIANBIHENAAJAIAAtAChBAUYNACAALwEyQf//A3EiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQShxRQ0CIANBiARxQYAERg0CC0EADwtBAEEDIAApAyBQGyEFCyAFC2IBAn9BACEBAkAgAC0AKEEBRg0AIAAvATJB//8DcSICQZx/akHkAEkNACACQcwBRg0AIAJBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhASAAQYgEcUGABEYNACAAQShxRSEBCyABC6cBAQN/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQMgAC8BMCIEQQJxRQ0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEB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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQID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YWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fdmFsdWVgIGNhbGxiYWNrIGVycm9yAGBvbl9zdGF0dXNfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl92ZXJzaW9uX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdXJsX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWV0aG9kX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX25hbWVgIGNhbGxiYWNrIGVycm9yAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2VydmVyAEludmFsaWQgaGVhZGVyIHZhbHVlIGNoYXIASW52YWxpZCBoZWFkZXIgZmllbGQgY2hhcgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3ZlcnNpb24ASW52YWxpZCBtaW5vciB2ZXJzaW9uAEludmFsaWQgbWFqb3IgdmVyc2lvbgBFeHBlY3RlZCBzcGFjZSBhZnRlciB2ZXJzaW9uAEV4cGVjdGVkIENSTEYgYWZ0ZXIgdmVyc2lvbgBJbnZhbGlkIEhUVFAgdmVyc2lvbgBJbnZhbGlkIGhlYWRlciB0b2tlbgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3VybABJbnZhbGlkIGNoYXJhY3RlcnMgaW4gdXJsAFVuZXhwZWN0ZWQgc3RhcnQgY2hhciBpbiB1cmwARG91YmxlIEAgaW4gdXJsAEVtcHR5IENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhcmFjdGVyIGluIENvbnRlbnQtTGVuZ3RoAER1cGxpY2F0ZSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXIgaW4gdXJsIHBhdGgAQ29udGVudC1MZW5ndGggY2FuJ3QgYmUgcHJlc2VudCB3aXRoIFRyYW5zZmVyLUVuY29kaW5nAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIHNpemUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfdmFsdWUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyB2YWx1ZQBNaXNzaW5nIGV4cGVjdGVkIExGIGFmdGVyIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AgaGVhZGVyIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGUgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZWQgdmFsdWUAUGF1c2VkIGJ5IG9uX2hlYWRlcnNfY29tcGxldGUASW52YWxpZCBFT0Ygc3RhdGUAb25fcmVzZXQgcGF1c2UAb25fY2h1bmtfaGVhZGVyIHBhdXNlAG9uX21lc3NhZ2VfYmVnaW4gcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlIHBhdXNlAG9uX3N0YXR1c19jb21wbGV0ZSBwYXVzZQBvbl92ZXJzaW9uX2NvbXBsZXRlIHBhdXNlAG9uX3VybF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGUgcGF1c2UAb25fbWVzc2FnZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXRob2RfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lIHBhdXNlAFVuZXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgc3RhcnQgbGluZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgbmFtZQBQYXVzZSBvbiBDT05ORUNUL1VwZ3JhZGUAUGF1c2Ugb24gUFJJL1VwZ3JhZGUARXhwZWN0ZWQgSFRUUC8yIENvbm5lY3Rpb24gUHJlZmFjZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX21ldGhvZABFeHBlY3RlZCBzcGFjZSBhZnRlciBtZXRob2QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfZmllbGQAUGF1c2VkAEludmFsaWQgd29yZCBlbmNvdW50ZXJlZABJbnZhbGlkIG1ldGhvZCBlbmNvdW50ZXJlZABVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNjaGVtYQBSZXF1ZXN0IGhhcyBpbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AAU1dJVENIX1BST1hZAFVTRV9QUk9YWQBNS0FDVElWSVRZAFVOUFJPQ0VTU0FCTEVfRU5USVRZAENPUFkATU9WRURfUEVSTUFORU5UTFkAVE9PX0VBUkxZAE5PVElGWQBGQUlMRURfREVQRU5ERU5DWQBCQURfR0FURVdBWQBQTEFZAFBVVABDSEVDS09VVABHQVRFV0FZX1RJTUVPVVQAUkVRVUVTVF9USU1FT1VUAE5FVFdPUktfQ09OTkVDVF9USU1FT1VUAENPTk5FQ1RJT05fVElNRU9VVABMT0dJTl9USU1FT1VUAE5FVFdPUktfUkVBRF9USU1FT1VUAFBPU1QATUlTRElSRUNURURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9MT0FEX0JBTEFOQ0VEX1JFUVVFU1QAQkFEX1JFUVVFU1QASFRUUF9SRVFVRVNUX1NFTlRfVE9fSFRUUFNfUE9SVABSRVBPUlQASU1fQV9URUFQT1QAUkVTRVRfQ09OVEVOVABOT19DT05URU5UAFBBUlRJQUxfQ09OVEVOVABIUEVfSU5WQUxJRF9DT05TVEFOVABIUEVfQ0JfUkVTRVQAR0VUAEhQRV9TVFJJQ1QAQ09ORkxJQ1QAVEVNUE9SQVJZX1JFRElSRUNUAFBFUk1BTkVOVF9SRURJUkVDVABDT05ORUNUAE1VTFRJX1NUQVRVUwBIUEVfSU5WQUxJRF9TVEFUVVMAVE9PX01BTllfUkVRVUVTVFMARUFSTFlfSElOVFMAVU5BVkFJTEFCTEVfRk9SX0xFR0FMX1JFQVNPTlMAT1BUSU9OUwBTV0lUQ0hJTkdfUFJPVE9DT0xTAFZBUklBTlRfQUxTT19ORUdPVElBVEVTAE1VTFRJUExFX0NIT0lDRVMASU5URVJOQUxfU0VSVkVSX0VSUk9SAFdFQl9TRVJWRVJfVU5LTk9XTl9FUlJPUgBSQUlMR1VOX0VSUk9SAElERU5USVRZX1BST1ZJREVSX0FVVEhFTlRJQ0FUSU9OX0VSUk9SAFNTTF9DRVJUSUZJQ0FURV9FUlJPUgBJTlZBTElEX1hfRk9SV0FSREVEX0ZPUgBTRVRfUEFSQU1FVEVSAEdFVF9QQVJBTUVURVIASFBFX1VTRVIAU0VFX09USEVSAEhQRV9DQl9DSFVOS19IRUFERVIATUtDQUxFTkRBUgBTRVRVUABXRUJfU0VSVkVSX0lTX0RPV04AVEVBUkRPV04ASFBFX0NMT1NFRF9DT05ORUNUSU9OAEhFVVJJU1RJQ19FWFBJUkFUSU9OAERJU0NPTk5FQ1RFRF9PUEVSQVRJT04ATk9OX0FVVEhPUklUQVRJVkVfSU5GT1JNQVRJT04ASFBFX0lOVkFMSURfVkVSU0lPTgBIUEVfQ0JfTUVTU0FHRV9CRUdJTgBTSVRFX0lTX0ZST1pFTgBIUEVfSU5WQUxJRF9IRUFERVJfVE9LRU4ASU5WQUxJRF9UT0tFTgBGT1JCSURERU4ARU5IQU5DRV9ZT1VSX0NBTE0ASFBFX0lOVkFMSURfVVJMAEJMT0NLRURfQllfUEFSRU5UQUxfQ09OVFJPTABNS0NPTABBQ0wASFBFX0lOVEVSTkFMAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0VfVU5PRkZJQ0lBTABIUEVfT0sAVU5MSU5LAFVOTE9DSwBQUkkAUkVUUllfV0lUSABIUEVfSU5WQUxJRF9DT05URU5UX0xFTkdUSABIUEVfVU5FWFBFQ1RFRF9DT05URU5UX0xFTkdUSABGTFVTSABQUk9QUEFUQ0gATS1TRUFSQ0gAVVJJX1RPT19MT05HAFBST0NFU1NJTkcATUlTQ0VMTEFORU9VU19QRVJTSVNURU5UX1dBUk5JTkcATUlTQ0VMTEFORU9VU19XQVJOSU5HAEhQRV9JTlZBTElEX1RSQU5TRkVSX0VOQ09ESU5HAEV4cGVjdGVkIENSTEYASFBFX0lOVkFMSURfQ0hVTktfU0laRQBNT1ZFAENPTlRJTlVFAEhQRV9DQl9TVEFUVVNfQ09NUExFVEUASFBFX0NCX0hFQURFUlNfQ09NUExFVEUASFBFX0NCX1ZFUlNJT05fQ09NUExFVEUASFBFX0NCX1VSTF9DT01QTEVURQBIUEVfQ0JfQ0hVTktfQ09NUExFVEUASFBFX0NCX0hFQURFUl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fTkFNRV9DT01QTEVURQBIUEVfQ0JfTUVTU0FHRV9DT01QTEVURQBIUEVfQ0JfTUVUSE9EX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfRklFTERfQ09NUExFVEUAREVMRVRFAEhQRV9JTlZBTElEX0VPRl9TVEFURQBJTlZBTElEX1NTTF9DRVJUSUZJQ0FURQBQQVVTRQBOT19SRVNQT05TRQBVTlNVUFBPUlRFRF9NRURJQV9UWVBFAEdPTkUATk9UX0FDQ0VQVEFCTEUAU0VSVklDRV9VTkFWQUlMQUJMRQBSQU5HRV9OT1RfU0FUSVNGSUFCTEUAT1JJR0lOX0lTX1VOUkVBQ0hBQkxFAFJFU1BPTlNFX0lTX1NUQUxFAFBVUkdFAE1FUkdFAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0UAUkVRVUVTVF9IRUFERVJfVE9PX0xBUkdFAFBBWUxPQURfVE9PX0xBUkdFAElOU1VGRklDSUVOVF9TVE9SQUdFAEhQRV9QQVVTRURfVVBHUkFERQBIUEVfUEFVU0VEX0gyX1VQR1JBREUAU09VUkNFAEFOTk9VTkNFAFRSQUNFAEhQRV9VTkVYUEVDVEVEX1NQQUNFAERFU0NSSUJFAFVOU1VCU0NSSUJFAFJFQ09SRABIUEVfSU5WQUxJRF9NRVRIT0QATk9UX0ZPVU5EAFBST1BGSU5EAFVOQklORABSRUJJTkQAVU5BVVRIT1JJWkVEAE1FVEhPRF9OT1RfQUxMT1dFRABIVFRQX1ZFUlNJT05fTk9UX1NVUFBPUlRFRABBTFJFQURZX1JFUE9SVEVEAEFDQ0VQVEVEAE5PVF9JTVBMRU1FTlRFRABMT09QX0RFVEVDVEVEAEhQRV9DUl9FWFBFQ1RFRABIUEVfTEZfRVhQRUNURUQAQ1JFQVRFRABJTV9VU0VEAEhQRV9QQVVTRUQAVElNRU9VVF9PQ0NVUkVEAFBBWU1FTlRfUkVRVUlSRUQAUFJFQ09ORElUSU9OX1JFUVVJUkVEAFBST1hZX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAE5FVFdPUktfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATEVOR1RIX1JFUVVJUkVEAFNTTF9DRVJUSUZJQ0FURV9SRVFVSVJFRABVUEdSQURFX1JFUVVJUkVEAFBBR0VfRVhQSVJFRABQUkVDT05ESVRJT05fRkFJTEVEAEVYUEVDVEFUSU9OX0ZBSUxFRABSRVZBTElEQVRJT05fRkFJTEVEAFNTTF9IQU5EU0hBS0VfRkFJTEVEAExPQ0tFRABUUkFOU0ZPUk1BVElPTl9BUFBMSUVEAE5PVF9NT0RJRklFRABOT1RfRVhURU5ERUQAQkFORFdJRFRIX0xJTUlUX0VYQ0VFREVEAFNJVEVfSVNfT1ZFUkxPQURFRABIRUFEAEV4cGVjdGVkIEhUVFAvAABeEwAAJhMAADAQAADwFwAAnRMAABUSAAA5FwAA8BIAAAoQAAB1EgAArRIAAIITAABPFAAAfxAAAKAVAAAjFAAAiRIAAIsUAABNFQAA1BEAAM8UAAAQGAAAyRYAANwWAADBEQAA4BcAALsUAAB0FAAAfBUAAOUUAAAIFwAAHxAAAGUVAACjFAAAKBUAAAIVAACZFQAALBAAAIsZAABPDwAA1A4AAGoQAADOEAAAAhcAAIkOAABuEwAAHBMAAGYUAABWFwAAwRMAAM0TAABsEwAAaBcAAGYXAABfFwAAIhMAAM4PAABpDgAA2A4AAGMWAADLEwAAqg4AACgXAAAmFwAAxRMAAF0WAADoEQAAZxMAAGUTAADyFgAAcxMAAB0XAAD5FgAA8xEAAM8OAADOFQAADBIAALMRAAClEQAAYRAAADIXAAC7EwAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAgMCAgICAgAAAgIAAgIAAgICAgICAgICAgAEAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgICAgIAAAICAAICAAICAgICAgICAgIAAwAEAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsb3NlZWVwLWFsaXZlAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFjaHVua2VkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQABAQEBAQAAAQEAAQEAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjdGlvbmVudC1sZW5ndGhvbnJveHktY29ubmVjdGlvbgAAAAAAAAAAAAAAAAAAAHJhbnNmZXItZW5jb2RpbmdwZ3JhZGUNCg0KDQpTTQ0KDQpUVFAvQ0UvVFNQLwAAAAAAAAAAAAAAAAECAAEDAAAAAAAAAAAAAAAAAAAAAAAABAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAABAAACAAAAAAAAAAAAAAAAAAAAAAAAAwQAAAQEBAQEBAQEBAQEBQQEBAQEBAQEBAQEBAAEAAYHBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},50172:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.enumToMap=void 0;function enumToMap(i){const c={};Object.keys(i).forEach((d=>{const p=i[d];if(typeof p==="number"){c[d]=p}}));return c}c.enumToMap=enumToMap},47501:(i,c,d)=>{"use strict";const{kClients:p}=d(36443);const A=d(59965);const{kAgent:C,kMockAgentSet:S,kMockAgentGet:v,kDispatches:_,kIsMockActive:T,kNetConnect:V,kGetNetConnect:Z,kOptions:ee,kFactory:te}=d(91117);const re=d(47365);const ne=d(94004);const{matchValue:ie,buildMockOptions:se}=d(53397);const{InvalidArgumentError:oe,UndiciError:ae}=d(68707);const le=d(28611);const ce=d(91529);const ue=d(56142);class FakeWeakRef{constructor(i){this.value=i}deref(){return this.value}}class MockAgent extends le{constructor(i){super(i);this[V]=true;this[T]=true;if(i&&i.agent&&typeof i.agent.dispatch!=="function"){throw new oe("Argument opts.agent must implement Agent")}const c=i&&i.agent?i.agent:new A(i);this[C]=c;this[p]=c[p];this[ee]=se(i)}get(i){let c=this[v](i);if(!c){c=this[te](i);this[S](i,c)}return c}dispatch(i,c){this.get(i.origin);return this[C].dispatch(i,c)}async close(){await this[C].close();this[p].clear()}deactivate(){this[T]=false}activate(){this[T]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[V])){this[V].push(i)}else{this[V]=[i]}}else if(typeof i==="undefined"){this[V]=true}else{throw new oe("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[V]=false}get isMockActive(){return this[T]}[S](i,c){this[p].set(i,new FakeWeakRef(c))}[te](i){const c=Object.assign({agent:this},this[ee]);return this[ee]&&this[ee].connections===1?new re(i,c):new ne(i,c)}[v](i){const c=this[p].get(i);if(c){return c.deref()}if(typeof i!=="string"){const c=this[te]("http://localhost:9999");this[S](i,c);return c}for(const[c,d]of Array.from(this[p])){const p=d.deref();if(p&&typeof c!=="string"&&ie(c,i)){const c=this[te](i);this[S](i,c);c[_]=p[_];return c}}}[Z](){return this[V]}pendingInterceptors(){const i=this[p];return Array.from(i.entries()).flatMap((([i,c])=>c.deref()[_].map((c=>({...c,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new ue}={}){const c=this.pendingInterceptors();if(c.length===0){return}const d=new ce("interceptor","interceptors").pluralize(c.length);throw new ae(`\n${d.count} ${d.noun} ${d.is} pending:\n\n${i.format(c)}\n`.trim())}}i.exports=MockAgent},47365:(i,c,d)=>{"use strict";const{promisify:p}=d(39023);const A=d(86197);const{buildMockDispatch:C}=d(53397);const{kDispatches:S,kMockAgent:v,kClose:_,kOriginalClose:T,kOrigin:V,kOriginalDispatch:Z,kConnected:ee}=d(91117);const{MockInterceptor:te}=d(31511);const re=d(36443);const{InvalidArgumentError:ne}=d(68707);class MockClient extends A{constructor(i,c){super(i,c);if(!c||!c.agent||typeof c.agent.dispatch!=="function"){throw new ne("Argument opts.agent must implement Agent")}this[v]=c.agent;this[V]=i;this[S]=[];this[ee]=1;this[Z]=this.dispatch;this[T]=this.close.bind(this);this.dispatch=C.call(this);this.close=this[_]}get[re.kConnected](){return this[ee]}intercept(i){return new te(i,this[S])}async[_](){await p(this[T])();this[ee]=0;this[v][re.kClients].delete(this[V])}}i.exports=MockClient},52429:(i,c,d)=>{"use strict";const{UndiciError:p}=d(68707);class MockNotMatchedError extends p{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}i.exports={MockNotMatchedError:MockNotMatchedError}},31511:(i,c,d)=>{"use strict";const{getResponseData:p,buildKey:A,addMockDispatch:C}=d(53397);const{kDispatches:S,kDispatchKey:v,kDefaultHeaders:_,kDefaultTrailers:T,kContentLength:V,kMockDispatch:Z}=d(91117);const{InvalidArgumentError:ee}=d(68707);const{buildURL:te}=d(3440);class MockScope{constructor(i){this[Z]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new ee("waitInMs must be a valid integer > 0")}this[Z].delay=i;return this}persist(){this[Z].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new ee("repeatTimes must be a valid integer > 0")}this[Z].times=i;return this}}class MockInterceptor{constructor(i,c){if(typeof i!=="object"){throw new ee("opts must be an object")}if(typeof i.path==="undefined"){throw new ee("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=te(i.path,i.query)}else{const c=new URL(i.path,"data://");i.path=c.pathname+c.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[v]=A(i);this[S]=c;this[_]={};this[T]={};this[V]=false}createMockScopeDispatchData(i,c,d={}){const A=p(c);const C=this[V]?{"content-length":A.length}:{};const S={...this[_],...C,...d.headers};const v={...this[T],...d.trailers};return{statusCode:i,data:c,headers:S,trailers:v}}validateReplyParameters(i,c,d){if(typeof i==="undefined"){throw new ee("statusCode must be defined")}if(typeof c==="undefined"){throw new ee("data must be defined")}if(typeof d!=="object"){throw new ee("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=c=>{const d=i(c);if(typeof d!=="object"){throw new ee("reply options callback must return an object")}const{statusCode:p,data:A="",responseOptions:C={}}=d;this.validateReplyParameters(p,A,C);return{...this.createMockScopeDispatchData(p,A,C)}};const c=C(this[S],this[v],wrappedDefaultsCallback);return new MockScope(c)}const[c,d="",p={}]=[...arguments];this.validateReplyParameters(c,d,p);const A=this.createMockScopeDispatchData(c,d,p);const _=C(this[S],this[v],A);return new MockScope(_)}replyWithError(i){if(typeof i==="undefined"){throw new ee("error must be defined")}const c=C(this[S],this[v],{error:i});return new MockScope(c)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new ee("headers must be defined")}this[_]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new ee("trailers must be defined")}this[T]=i;return this}replyContentLength(){this[V]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},94004:(i,c,d)=>{"use strict";const{promisify:p}=d(39023);const A=d(35076);const{buildMockDispatch:C}=d(53397);const{kDispatches:S,kMockAgent:v,kClose:_,kOriginalClose:T,kOrigin:V,kOriginalDispatch:Z,kConnected:ee}=d(91117);const{MockInterceptor:te}=d(31511);const re=d(36443);const{InvalidArgumentError:ne}=d(68707);class MockPool extends A{constructor(i,c){super(i,c);if(!c||!c.agent||typeof c.agent.dispatch!=="function"){throw new ne("Argument opts.agent must implement Agent")}this[v]=c.agent;this[V]=i;this[S]=[];this[ee]=1;this[Z]=this.dispatch;this[T]=this.close.bind(this);this.dispatch=C.call(this);this.close=this[_]}get[re.kConnected](){return this[ee]}intercept(i){return new te(i,this[S])}async[_](){await p(this[T])();this[ee]=0;this[v][re.kClients].delete(this[V])}}i.exports=MockPool},91117:i=>{"use strict";i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},53397:(i,c,d)=>{"use strict";const{MockNotMatchedError:p}=d(52429);const{kDispatches:A,kMockAgent:C,kOriginalDispatch:S,kOrigin:v,kGetNetConnect:_}=d(91117);const{buildURL:T,nop:V}=d(3440);const{STATUS_CODES:Z}=d(58611);const{types:{isPromise:ee}}=d(39023);function matchValue(i,c){if(typeof i==="string"){return i===c}if(i instanceof RegExp){return i.test(c)}if(typeof i==="function"){return i(c)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,c])=>[i.toLocaleLowerCase(),c])))}function getHeaderByName(i,c){if(Array.isArray(i)){for(let d=0;d<i.length;d+=2){if(i[d].toLocaleLowerCase()===c.toLocaleLowerCase()){return i[d+1]}}return undefined}else if(typeof i.get==="function"){return i.get(c)}else{return lowerCaseEntries(i)[c.toLocaleLowerCase()]}}function buildHeadersFromArray(i){const c=i.slice();const d=[];for(let i=0;i<c.length;i+=2){d.push([c[i],c[i+1]])}return Object.fromEntries(d)}function matchHeaders(i,c){if(typeof i.headers==="function"){if(Array.isArray(c)){c=buildHeadersFromArray(c)}return i.headers(c?lowerCaseEntries(c):{})}if(typeof i.headers==="undefined"){return true}if(typeof c!=="object"||typeof i.headers!=="object"){return false}for(const[d,p]of Object.entries(i.headers)){const i=getHeaderByName(c,d);if(!matchValue(p,i)){return false}}return true}function safeUrl(i){if(typeof i!=="string"){return i}const c=i.split("?");if(c.length!==2){return i}const d=new URLSearchParams(c.pop());d.sort();return[...c,d.toString()].join("?")}function matchKey(i,{path:c,method:d,body:p,headers:A}){const C=matchValue(i.path,c);const S=matchValue(i.method,d);const v=typeof i.body!=="undefined"?matchValue(i.body,p):true;const _=matchHeaders(i,A);return C&&S&&v&&_}function getResponseData(i){if(Buffer.isBuffer(i)){return i}else if(typeof i==="object"){return JSON.stringify(i)}else{return i.toString()}}function getMockDispatch(i,c){const d=c.query?T(c.path,c.query):c.path;const A=typeof d==="string"?safeUrl(d):d;let C=i.filter((({consumed:i})=>!i)).filter((({path:i})=>matchValue(safeUrl(i),A)));if(C.length===0){throw new p(`Mock dispatch not matched for path '${A}'`)}C=C.filter((({method:i})=>matchValue(i,c.method)));if(C.length===0){throw new p(`Mock dispatch not matched for method '${c.method}'`)}C=C.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,c.body):true));if(C.length===0){throw new p(`Mock dispatch not matched for body '${c.body}'`)}C=C.filter((i=>matchHeaders(i,c.headers)));if(C.length===0){throw new p(`Mock dispatch not matched for headers '${typeof c.headers==="object"?JSON.stringify(c.headers):c.headers}'`)}return C[0]}function addMockDispatch(i,c,d){const p={timesInvoked:0,times:1,persist:false,consumed:false};const A=typeof d==="function"?{callback:d}:{...d};const C={...p,...c,pending:true,data:{error:null,...A}};i.push(C);return C}function deleteMockDispatch(i,c){const d=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,c)}));if(d!==-1){i.splice(d,1)}}function buildKey(i){const{path:c,method:d,body:p,headers:A,query:C}=i;return{path:c,method:d,body:p,headers:A,query:C}}function generateKeyValues(i){return Object.entries(i).reduce(((i,[c,d])=>[...i,Buffer.from(`${c}`),Array.isArray(d)?d.map((i=>Buffer.from(`${i}`))):Buffer.from(`${d}`)]),[])}function getStatusText(i){return Z[i]||"unknown"}async function getResponse(i){const c=[];for await(const d of i){c.push(d)}return Buffer.concat(c).toString("utf8")}function mockDispatch(i,c){const d=buildKey(i);const p=getMockDispatch(this[A],d);p.timesInvoked++;if(p.data.callback){p.data={...p.data,...p.data.callback(i)}}const{data:{statusCode:C,data:S,headers:v,trailers:_,error:T},delay:Z,persist:te}=p;const{timesInvoked:re,times:ne}=p;p.consumed=!te&&re>=ne;p.pending=re<ne;if(T!==null){deleteMockDispatch(this[A],d);c.onError(T);return true}if(typeof Z==="number"&&Z>0){setTimeout((()=>{handleReply(this[A])}),Z)}else{handleReply(this[A])}function handleReply(p,A=S){const T=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const Z=typeof A==="function"?A({...i,headers:T}):A;if(ee(Z)){Z.then((i=>handleReply(p,i)));return}const te=getResponseData(Z);const re=generateKeyValues(v);const ne=generateKeyValues(_);c.abort=V;c.onHeaders(C,re,resume,getStatusText(C));c.onData(Buffer.from(te));c.onComplete(ne);deleteMockDispatch(p,d)}function resume(){}return true}function buildMockDispatch(){const i=this[C];const c=this[v];const d=this[S];return function dispatch(A,C){if(i.isMockActive){try{mockDispatch.call(this,A,C)}catch(S){if(S instanceof p){const v=i[_]();if(v===false){throw new p(`${S.message}: subsequent request to origin ${c} was not allowed (net.connect disabled)`)}if(checkNetConnect(v,c)){d.call(this,A,C)}else{throw new p(`${S.message}: subsequent request to origin ${c} was not allowed (net.connect is not enabled for this origin)`)}}else{throw S}}}else{d.call(this,A,C)}}}function checkNetConnect(i,c){const d=new URL(c);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,d.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:c,...d}=i;return d}}i.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},56142:(i,c,d)=>{"use strict";const{Transform:p}=d(2203);const{Console:A}=d(64236);i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new p({transform(i,c,d){d(null,i)}});this.logger=new A({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const c=i.map((({method:i,path:c,data:{statusCode:d},persist:p,times:A,timesInvoked:C,origin:S})=>({Method:i,Origin:S,Path:c,"Status code":d,Persistent:p?"✅":"❌",Invocations:C,Remaining:p?Infinity:A-C})));this.logger.table(c);return this.transform.read().toString()}}},91529:i=>{"use strict";const c={pronoun:"it",is:"is",was:"was",this:"this"};const d={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,c){this.singular=i;this.plural=c}pluralize(i){const p=i===1;const A=p?c:d;const C=p?this.singular:this.plural;return{...A,count:i,noun:C}}}},34869:i=>{"use strict";const c=2048;const d=c-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(c);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&d)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&d}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&d;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const c=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return c}}},58640:(i,c,d)=>{"use strict";const p=d(50001);const A=d(34869);const{kConnected:C,kSize:S,kRunning:v,kPending:_,kQueued:T,kBusy:V,kFree:Z,kUrl:ee,kClose:te,kDestroy:re,kDispatch:ne}=d(36443);const ie=d(24622);const se=Symbol("clients");const oe=Symbol("needDrain");const ae=Symbol("queue");const le=Symbol("closed resolve");const ce=Symbol("onDrain");const ue=Symbol("onConnect");const de=Symbol("onDisconnect");const fe=Symbol("onConnectionError");const pe=Symbol("get dispatcher");const Ae=Symbol("add client");const he=Symbol("remove client");const ge=Symbol("stats");class PoolBase extends p{constructor(){super();this[ae]=new A;this[se]=[];this[T]=0;const i=this;this[ce]=function onDrain(c,d){const p=i[ae];let A=false;while(!A){const c=p.shift();if(!c){break}i[T]--;A=!this.dispatch(c.opts,c.handler)}this[oe]=A;if(!this[oe]&&i[oe]){i[oe]=false;i.emit("drain",c,[i,...d])}if(i[le]&&p.isEmpty()){Promise.all(i[se].map((i=>i.close()))).then(i[le])}};this[ue]=(c,d)=>{i.emit("connect",c,[i,...d])};this[de]=(c,d,p)=>{i.emit("disconnect",c,[i,...d],p)};this[fe]=(c,d,p)=>{i.emit("connectionError",c,[i,...d],p)};this[ge]=new ie(this)}get[V](){return this[oe]}get[C](){return this[se].filter((i=>i[C])).length}get[Z](){return this[se].filter((i=>i[C]&&!i[oe])).length}get[_](){let i=this[T];for(const{[_]:c}of this[se]){i+=c}return i}get[v](){let i=0;for(const{[v]:c}of this[se]){i+=c}return i}get[S](){let i=this[T];for(const{[S]:c}of this[se]){i+=c}return i}get stats(){return this[ge]}async[te](){if(this[ae].isEmpty()){return Promise.all(this[se].map((i=>i.close())))}else{return new Promise((i=>{this[le]=i}))}}async[re](i){while(true){const c=this[ae].shift();if(!c){break}c.handler.onError(i)}return Promise.all(this[se].map((c=>c.destroy(i))))}[ne](i,c){const d=this[pe]();if(!d){this[oe]=true;this[ae].push({opts:i,handler:c});this[T]++}else if(!d.dispatch(i,c)){d[oe]=true;this[oe]=!this[pe]()}return!this[oe]}[Ae](i){i.on("drain",this[ce]).on("connect",this[ue]).on("disconnect",this[de]).on("connectionError",this[fe]);this[se].push(i);if(this[oe]){process.nextTick((()=>{if(this[oe]){this[ce](i[ee],[this,i])}}))}return this}[he](i){i.close((()=>{const c=this[se].indexOf(i);if(c!==-1){this[se].splice(c,1)}}));this[oe]=this[se].some((i=>!i[oe]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:se,kNeedDrain:oe,kAddClient:Ae,kRemoveClient:he,kGetDispatcher:pe}},24622:(i,c,d)=>{const{kFree:p,kConnected:A,kPending:C,kQueued:S,kRunning:v,kSize:_}=d(36443);const T=Symbol("pool");class PoolStats{constructor(i){this[T]=i}get connected(){return this[T][A]}get free(){return this[T][p]}get pending(){return this[T][C]}get queued(){return this[T][S]}get running(){return this[T][v]}get size(){return this[T][_]}}i.exports=PoolStats},35076:(i,c,d)=>{"use strict";const{PoolBase:p,kClients:A,kNeedDrain:C,kAddClient:S,kGetDispatcher:v}=d(58640);const _=d(86197);const{InvalidArgumentError:T}=d(68707);const V=d(3440);const{kUrl:Z,kInterceptors:ee}=d(36443);const te=d(59136);const re=Symbol("options");const ne=Symbol("connections");const ie=Symbol("factory");function defaultFactory(i,c){return new _(i,c)}class Pool extends p{constructor(i,{connections:c,factory:d=defaultFactory,connect:p,connectTimeout:C,tls:S,maxCachedSessions:v,socketPath:_,autoSelectFamily:se,autoSelectFamilyAttemptTimeout:oe,allowH2:ae,...le}={}){super();if(c!=null&&(!Number.isFinite(c)||c<0)){throw new T("invalid connections")}if(typeof d!=="function"){throw new T("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new T("connect must be a function or an object")}if(typeof p!=="function"){p=te({...S,maxCachedSessions:v,allowH2:ae,socketPath:_,timeout:C,...V.nodeHasAutoSelectFamily&&se?{autoSelectFamily:se,autoSelectFamilyAttemptTimeout:oe}:undefined,...p})}this[ee]=le.interceptors&&le.interceptors.Pool&&Array.isArray(le.interceptors.Pool)?le.interceptors.Pool:[];this[ne]=c||null;this[Z]=V.parseOrigin(i);this[re]={...V.deepClone(le),connect:p,allowH2:ae};this[re].interceptors=le.interceptors?{...le.interceptors}:undefined;this[ie]=d;this.on("connectionError",((i,c,d)=>{for(const i of c){const c=this[A].indexOf(i);if(c!==-1){this[A].splice(c,1)}}}))}[v](){let i=this[A].find((i=>!i[C]));if(i){return i}if(!this[ne]||this[A].length<this[ne]){i=this[ie](this[Z],this[re]);this[S](i)}return i}}i.exports=Pool},22720:(i,c,d)=>{"use strict";const{kProxy:p,kClose:A,kDestroy:C,kInterceptors:S}=d(36443);const{URL:v}=d(87016);const _=d(59965);const T=d(35076);const V=d(50001);const{InvalidArgumentError:Z,RequestAbortedError:ee}=d(68707);const te=d(59136);const re=Symbol("proxy agent");const ne=Symbol("proxy client");const ie=Symbol("proxy headers");const se=Symbol("request tls settings");const oe=Symbol("proxy tls settings");const ae=Symbol("connect endpoint function");function defaultProtocolPort(i){return i==="https:"?443:80}function buildProxyOptions(i){if(typeof i==="string"){i={uri:i}}if(!i||!i.uri){throw new Z("Proxy opts.uri is mandatory")}return{uri:i.uri,protocol:i.protocol||"https"}}function defaultFactory(i,c){return new T(i,c)}class ProxyAgent extends V{constructor(i){super(i);this[p]=buildProxyOptions(i);this[re]=new _(i);this[S]=i.interceptors&&i.interceptors.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];if(typeof i==="string"){i={uri:i}}if(!i||!i.uri){throw new Z("Proxy opts.uri is mandatory")}const{clientFactory:c=defaultFactory}=i;if(typeof c!=="function"){throw new Z("Proxy opts.clientFactory must be a function.")}this[se]=i.requestTls;this[oe]=i.proxyTls;this[ie]=i.headers||{};const d=new v(i.uri);const{origin:A,port:C,host:T,username:V,password:le}=d;if(i.auth&&i.token){throw new Z("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[ie]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[ie]["proxy-authorization"]=i.token}else if(V&&le){this[ie]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(V)}:${decodeURIComponent(le)}`).toString("base64")}`}const ce=te({...i.proxyTls});this[ae]=te({...i.requestTls});this[ne]=c(d,{connect:ce});this[re]=new _({...i,connect:async(i,c)=>{let d=i.host;if(!i.port){d+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:p,statusCode:S}=await this[ne].connect({origin:A,port:C,path:d,signal:i.signal,headers:{...this[ie],host:T}});if(S!==200){p.on("error",(()=>{})).destroy();c(new ee(`Proxy response (${S}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){c(null,p);return}let v;if(this[se]){v=this[se].servername}else{v=i.servername}this[ae]({...i,servername:v,httpSocket:p},c)}catch(i){c(i)}}})}dispatch(i,c){const{host:d}=new v(i.origin);const p=buildHeaders(i.headers);throwIfProxyAuthIsSent(p);return this[re].dispatch({...i,headers:{...p,host:d}},c)}async[A](){await this[re].close();await this[ne].close()}async[C](){await this[re].destroy();await this[ne].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const c={};for(let d=0;d<i.length;d+=2){c[i[d]]=i[d+1]}return c}return i}function throwIfProxyAuthIsSent(i){const c=i&&Object.keys(i).find((i=>i.toLowerCase()==="proxy-authorization"));if(c){throw new Z("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},28804:i=>{"use strict";let c=Date.now();let d;const p=[];function onTimeout(){c=Date.now();let i=p.length;let d=0;while(d<i){const A=p[d];if(A.state===0){A.state=c+A.delay}else if(A.state>0&&c>=A.state){A.state=-1;A.callback(A.opaque)}if(A.state===-1){A.state=-2;if(d!==i-1){p[d]=p.pop()}else{p.pop()}i-=1}else{d+=1}}if(p.length>0){refreshTimeout()}}function refreshTimeout(){if(d&&d.refresh){d.refresh()}else{clearTimeout(d);d=setTimeout(onTimeout,1e3);if(d.unref){d.unref()}}}class Timeout{constructor(i,c,d){this.callback=i;this.delay=c;this.opaque=d;this.state=-2;this.refresh()}refresh(){if(this.state===-2){p.push(this);if(!d||p.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}i.exports={setTimeout(i,c,d){return c<1e3?setTimeout(i,c,d):new Timeout(i,c,d)},clearTimeout(i){if(i instanceof Timeout){i.clear()}else{clearTimeout(i)}}}},68550:(i,c,d)=>{"use strict";const p=d(31637);const{uid:A,states:C}=d(45913);const{kReadyState:S,kSentClose:v,kByteParser:_,kReceivedClose:T}=d(62933);const{fireEvent:V,failWebsocketConnection:Z}=d(3574);const{CloseEvent:ee}=d(46255);const{makeRequest:te}=d(25194);const{fetching:re}=d(12315);const{Headers:ne}=d(26349);const{getGlobalDispatcher:ie}=d(32581);const{kHeadersList:se}=d(36443);const oe={};oe.open=p.channel("undici:websocket:open");oe.close=p.channel("undici:websocket:close");oe.socketError=p.channel("undici:websocket:socket_error");let ae;try{ae=d(76982)}catch{}function establishWebSocketConnection(i,c,d,p,C){const S=i;S.protocol=i.protocol==="ws:"?"http:":"https:";const v=te({urlList:[S],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(C.headers){const i=new ne(C.headers)[se];v.headersList=i}const _=ae.randomBytes(16).toString("base64");v.headersList.append("sec-websocket-key",_);v.headersList.append("sec-websocket-version","13");for(const i of c){v.headersList.append("sec-websocket-protocol",i)}const T="";const V=re({request:v,useParallelQueue:true,dispatcher:C.dispatcher??ie(),processResponse(i){if(i.type==="error"||i.status!==101){Z(d,"Received network error or non-101 status code.");return}if(c.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){Z(d,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Z(d,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Z(d,'Server did not set Connection header to "upgrade".');return}const C=i.headersList.get("Sec-WebSocket-Accept");const S=ae.createHash("sha1").update(_+A).digest("base64");if(C!==S){Z(d,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const V=i.headersList.get("Sec-WebSocket-Extensions");if(V!==null&&V!==T){Z(d,"Received different permessage-deflate than the one set.");return}const ee=i.headersList.get("Sec-WebSocket-Protocol");if(ee!==null&&ee!==v.headersList.get("Sec-WebSocket-Protocol")){Z(d,"Protocol was not set in the opening handshake.");return}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(oe.open.hasSubscribers){oe.open.publish({address:i.socket.address(),protocol:ee,extensions:V})}p(i)}});return V}function onSocketData(i){if(!this.ws[_].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const c=i[v]&&i[T];let d=1005;let p="";const A=i[_].closingInfo;if(A){d=A.code??1005;p=A.reason}else if(!i[v]){d=1006}i[S]=C.CLOSED;V("close",i,ee,{wasClean:c,code:d,reason:p});if(oe.close.hasSubscribers){oe.close.publish({websocket:i,code:d,reason:p})}}function onSocketError(i){const{ws:c}=this;c[S]=C.CLOSING;if(oe.socketError.hasSubscribers){oe.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection}},45913:i=>{"use strict";const c="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const d={enumerable:true,writable:false,configurable:false};const p={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const A={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const C=2**16-1;const S={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const v=Buffer.allocUnsafe(0);i.exports={uid:c,staticPropertyDescriptors:d,states:p,opcodes:A,maxUnsigned16Bit:C,parserStates:S,emptyBuffer:v}},46255:(i,c,d)=>{"use strict";const{webidl:p}=d(74222);const{kEnumerableProperty:A}=d(3440);const{MessagePort:C}=d(28167);class MessageEvent extends Event{#s;constructor(i,c={}){p.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});i=p.converters.DOMString(i);c=p.converters.MessageEventInit(c);super(i,c);this.#s=c}get data(){p.brandCheck(this,MessageEvent);return this.#s.data}get origin(){p.brandCheck(this,MessageEvent);return this.#s.origin}get lastEventId(){p.brandCheck(this,MessageEvent);return this.#s.lastEventId}get source(){p.brandCheck(this,MessageEvent);return this.#s.source}get ports(){p.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#s.ports)){Object.freeze(this.#s.ports)}return this.#s.ports}initMessageEvent(i,c=false,d=false,A=null,C="",S="",v=null,_=[]){p.brandCheck(this,MessageEvent);p.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(i,{bubbles:c,cancelable:d,data:A,origin:C,lastEventId:S,source:v,ports:_})}}class CloseEvent extends Event{#s;constructor(i,c={}){p.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});i=p.converters.DOMString(i);c=p.converters.CloseEventInit(c);super(i,c);this.#s=c}get wasClean(){p.brandCheck(this,CloseEvent);return this.#s.wasClean}get code(){p.brandCheck(this,CloseEvent);return this.#s.code}get reason(){p.brandCheck(this,CloseEvent);return this.#s.reason}}class ErrorEvent extends Event{#s;constructor(i,c){p.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(i,c);i=p.converters.DOMString(i);c=p.converters.ErrorEventInit(c??{});this.#s=c}get message(){p.brandCheck(this,ErrorEvent);return this.#s.message}get filename(){p.brandCheck(this,ErrorEvent);return this.#s.filename}get lineno(){p.brandCheck(this,ErrorEvent);return this.#s.lineno}get colno(){p.brandCheck(this,ErrorEvent);return this.#s.colno}get error(){p.brandCheck(this,ErrorEvent);return this.#s.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:A,origin:A,lastEventId:A,source:A,ports:A,initMessageEvent:A});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:A,code:A,wasClean:A});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:A,filename:A,lineno:A,colno:A,error:A});p.converters.MessagePort=p.interfaceConverter(C);p.converters["sequence<MessagePort>"]=p.sequenceConverter(p.converters.MessagePort);const S=[{key:"bubbles",converter:p.converters.boolean,defaultValue:false},{key:"cancelable",converter:p.converters.boolean,defaultValue:false},{key:"composed",converter:p.converters.boolean,defaultValue:false}];p.converters.MessageEventInit=p.dictionaryConverter([...S,{key:"data",converter:p.converters.any,defaultValue:null},{key:"origin",converter:p.converters.USVString,defaultValue:""},{key:"lastEventId",converter:p.converters.DOMString,defaultValue:""},{key:"source",converter:p.nullableConverter(p.converters.MessagePort),defaultValue:null},{key:"ports",converter:p.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);p.converters.CloseEventInit=p.dictionaryConverter([...S,{key:"wasClean",converter:p.converters.boolean,defaultValue:false},{key:"code",converter:p.converters["unsigned short"],defaultValue:0},{key:"reason",converter:p.converters.USVString,defaultValue:""}]);p.converters.ErrorEventInit=p.dictionaryConverter([...S,{key:"message",converter:p.converters.DOMString,defaultValue:""},{key:"filename",converter:p.converters.USVString,defaultValue:""},{key:"lineno",converter:p.converters["unsigned long"],defaultValue:0},{key:"colno",converter:p.converters["unsigned long"],defaultValue:0},{key:"error",converter:p.converters.any}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},31237:(i,c,d)=>{"use strict";const{maxUnsigned16Bit:p}=d(45913);let A;try{A=d(76982)}catch{}class WebsocketFrameSend{constructor(i){this.frameData=i;this.maskKey=A.randomBytes(4)}createFrame(i){const c=this.frameData?.byteLength??0;let d=c;let A=6;if(c>p){A+=8;d=127}else if(c>125){A+=2;d=126}const C=Buffer.allocUnsafe(c+A);C[0]=C[1]=0;C[0]|=128;C[0]=(C[0]&240)+i;
|
||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */C[A-4]=this.maskKey[0];C[A-3]=this.maskKey[1];C[A-2]=this.maskKey[2];C[A-1]=this.maskKey[3];C[1]=d;if(d===126){C.writeUInt16BE(c,2)}else if(d===127){C[2]=C[3]=0;C.writeUIntBE(c,4,6)}C[1]|=128;for(let i=0;i<c;i++){C[A+i]=this.frameData[i]^this.maskKey[i%4]}return C}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},43171:(i,c,d)=>{"use strict";const{Writable:p}=d(2203);const A=d(31637);const{parserStates:C,opcodes:S,states:v,emptyBuffer:_}=d(45913);const{kReadyState:T,kSentClose:V,kResponse:Z,kReceivedClose:ee}=d(62933);const{isValidStatusCode:te,failWebsocketConnection:re,websocketMessageReceived:ne}=d(3574);const{WebsocketFrameSend:ie}=d(31237);const se={};se.ping=A.channel("undici:websocket:ping");se.pong=A.channel("undici:websocket:pong");class ByteParser extends p{#o=[];#a=0;#l=C.INFO;#c={};#u=[];constructor(i){super();this.ws=i}_write(i,c,d){this.#o.push(i);this.#a+=i.length;this.run(d)}run(i){while(true){if(this.#l===C.INFO){if(this.#a<2){return i()}const c=this.consume(2);this.#c.fin=(c[0]&128)!==0;this.#c.opcode=c[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==S.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==S.BINARY&&this.#c.opcode!==S.TEXT){re(this.ws,"Invalid frame type was fragmented.");return}const d=c[1]&127;if(d<=125){this.#c.payloadLength=d;this.#l=C.READ_DATA}else if(d===126){this.#l=C.PAYLOADLENGTH_16}else if(d===127){this.#l=C.PAYLOADLENGTH_64}if(this.#c.fragmented&&d>125){re(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===S.PING||this.#c.opcode===S.PONG||this.#c.opcode===S.CLOSE)&&d>125){re(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===S.CLOSE){if(d===1){re(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(d);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[V]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const c=new ie(i);this.ws[Z].socket.write(c.createFrame(S.CLOSE),(i=>{if(!i){this.ws[V]=true}}))}this.ws[T]=v.CLOSING;this.ws[ee]=true;this.end();return}else if(this.#c.opcode===S.PING){const c=this.consume(d);if(!this.ws[ee]){const i=new ie(c);this.ws[Z].socket.write(i.createFrame(S.PONG));if(se.ping.hasSubscribers){se.ping.publish({payload:c})}}this.#l=C.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===S.PONG){const c=this.consume(d);if(se.pong.hasSubscribers){se.pong.publish({payload:c})}if(this.#a>0){continue}else{i();return}}}else if(this.#l===C.PAYLOADLENGTH_16){if(this.#a<2){return i()}const c=this.consume(2);this.#c.payloadLength=c.readUInt16BE(0);this.#l=C.READ_DATA}else if(this.#l===C.PAYLOADLENGTH_64){if(this.#a<8){return i()}const c=this.consume(8);const d=c.readUInt32BE(0);if(d>2**31-1){re(this.ws,"Received payload length > 2^31 bytes.");return}const p=c.readUInt32BE(4);this.#c.payloadLength=(d<<8)+p;this.#l=C.READ_DATA}else if(this.#l===C.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#u.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===S.CONTINUATION){const i=Buffer.concat(this.#u);ne(this.ws,this.#c.originalOpcode,i);this.#c={};this.#u.length=0}this.#l=C.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return _}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const c=Buffer.allocUnsafe(i);let d=0;while(d!==i){const p=this.#o[0];const{length:A}=p;if(A+d===i){c.set(this.#o.shift(),d);break}else if(A+d>i){c.set(p.subarray(0,i-d),d);this.#o[0]=p.subarray(i-d);break}else{c.set(this.#o.shift(),d);d+=p.length}}this.#a-=i;return c}parseCloseBody(i,c){let d;if(c.length>=2){d=c.readUInt16BE(0)}if(i){if(!te(d)){return null}return{code:d}}let p=c.subarray(2);if(p[0]===239&&p[1]===187&&p[2]===191){p=p.subarray(3)}if(d!==undefined&&!te(d)){return null}try{p=new TextDecoder("utf-8",{fatal:true}).decode(p)}catch{return null}return{code:d,reason:p}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},62933:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(i,c,d)=>{"use strict";const{kReadyState:p,kController:A,kResponse:C,kBinaryType:S,kWebSocketURL:v}=d(62933);const{states:_,opcodes:T}=d(45913);const{MessageEvent:V,ErrorEvent:Z}=d(46255);function isEstablished(i){return i[p]===_.OPEN}function isClosing(i){return i[p]===_.CLOSING}function isClosed(i){return i[p]===_.CLOSED}function fireEvent(i,c,d=Event,p){const A=new d(i,p);c.dispatchEvent(A)}function websocketMessageReceived(i,c,d){if(i[p]!==_.OPEN){return}let A;if(c===T.TEXT){try{A=new TextDecoder("utf-8",{fatal:true}).decode(d)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(c===T.BINARY){if(i[S]==="blob"){A=new Blob([d])}else{A=new Uint8Array(d).buffer}}fireEvent("message",i,V,{origin:i[v].origin,data:A})}function isValidSubprotocol(i){if(i.length===0){return false}for(const c of i){const i=c.charCodeAt(0);if(i<33||i>126||c==="("||c===")"||c==="<"||c===">"||c==="@"||c===","||c===";"||c===":"||c==="\\"||c==='"'||c==="/"||c==="["||c==="]"||c==="?"||c==="="||c==="{"||c==="}"||i===32||i===9){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,c){const{[A]:d,[C]:p}=i;d.abort();if(p?.socket&&!p.socket.destroyed){p.socket.destroy()}if(c){fireEvent("error",i,Z,{error:new Error(c)})}}i.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},55171:(i,c,d)=>{"use strict";const{webidl:p}=d(74222);const{DOMException:A}=d(87326);const{URLSerializer:C}=d(94322);const{getGlobalOrigin:S}=d(75628);const{staticPropertyDescriptors:v,states:_,opcodes:T,emptyBuffer:V}=d(45913);const{kWebSocketURL:Z,kReadyState:ee,kController:te,kBinaryType:re,kResponse:ne,kSentClose:ie,kByteParser:se}=d(62933);const{isEstablished:oe,isClosing:ae,isValidSubprotocol:le,failWebsocketConnection:ce,fireEvent:ue}=d(3574);const{establishWebSocketConnection:de}=d(68550);const{WebsocketFrameSend:fe}=d(31237);const{ByteParser:pe}=d(43171);const{kEnumerableProperty:Ae,isBlobLike:he}=d(3440);const{getGlobalDispatcher:ge}=d(32581);const{types:me}=d(39023);let ye=false;class WebSocket extends EventTarget{#d={open:null,error:null,close:null,message:null};#f=0;#p="";#A="";constructor(i,c=[]){super();p.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!ye){ye=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const d=p.converters["DOMString or sequence<DOMString> or WebSocketInit"](c);i=p.converters.USVString(i);c=d.protocols;const C=S();let v;try{v=new URL(i,C)}catch(i){throw new A(i,"SyntaxError")}if(v.protocol==="http:"){v.protocol="ws:"}else if(v.protocol==="https:"){v.protocol="wss:"}if(v.protocol!=="ws:"&&v.protocol!=="wss:"){throw new A(`Expected a ws: or wss: protocol, got ${v.protocol}`,"SyntaxError")}if(v.hash||v.href.endsWith("#")){throw new A("Got fragment","SyntaxError")}if(typeof c==="string"){c=[c]}if(c.length!==new Set(c.map((i=>i.toLowerCase()))).size){throw new A("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(c.length>0&&!c.every((i=>le(i)))){throw new A("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[Z]=new URL(v.href);this[te]=de(v,c,this,(i=>this.#h(i)),d);this[ee]=WebSocket.CONNECTING;this[re]="blob"}close(i=undefined,c=undefined){p.brandCheck(this,WebSocket);if(i!==undefined){i=p.converters["unsigned short"](i,{clamp:true})}if(c!==undefined){c=p.converters.USVString(c)}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new A("invalid code","InvalidAccessError")}}let d=0;if(c!==undefined){d=Buffer.byteLength(c);if(d>123){throw new A(`Reason must be less than 123 bytes; received ${d}`,"SyntaxError")}}if(this[ee]===WebSocket.CLOSING||this[ee]===WebSocket.CLOSED){}else if(!oe(this)){ce(this,"Connection was closed before it was established.");this[ee]=WebSocket.CLOSING}else if(!ae(this)){const p=new fe;if(i!==undefined&&c===undefined){p.frameData=Buffer.allocUnsafe(2);p.frameData.writeUInt16BE(i,0)}else if(i!==undefined&&c!==undefined){p.frameData=Buffer.allocUnsafe(2+d);p.frameData.writeUInt16BE(i,0);p.frameData.write(c,2,"utf-8")}else{p.frameData=V}const A=this[ne].socket;A.write(p.createFrame(T.CLOSE),(i=>{if(!i){this[ie]=true}}));this[ee]=_.CLOSING}else{this[ee]=WebSocket.CLOSING}}send(i){p.brandCheck(this,WebSocket);p.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});i=p.converters.WebSocketSendData(i);if(this[ee]===WebSocket.CONNECTING){throw new A("Sent before connected.","InvalidStateError")}if(!oe(this)||ae(this)){return}const c=this[ne].socket;if(typeof i==="string"){const d=Buffer.from(i);const p=new fe(d);const A=p.createFrame(T.TEXT);this.#f+=d.byteLength;c.write(A,(()=>{this.#f-=d.byteLength}))}else if(me.isArrayBuffer(i)){const d=Buffer.from(i);const p=new fe(d);const A=p.createFrame(T.BINARY);this.#f+=d.byteLength;c.write(A,(()=>{this.#f-=d.byteLength}))}else if(ArrayBuffer.isView(i)){const d=Buffer.from(i,i.byteOffset,i.byteLength);const p=new fe(d);const A=p.createFrame(T.BINARY);this.#f+=d.byteLength;c.write(A,(()=>{this.#f-=d.byteLength}))}else if(he(i)){const d=new fe;i.arrayBuffer().then((i=>{const p=Buffer.from(i);d.frameData=p;const A=d.createFrame(T.BINARY);this.#f+=p.byteLength;c.write(A,(()=>{this.#f-=p.byteLength}))}))}}get readyState(){p.brandCheck(this,WebSocket);return this[ee]}get bufferedAmount(){p.brandCheck(this,WebSocket);return this.#f}get url(){p.brandCheck(this,WebSocket);return C(this[Z])}get extensions(){p.brandCheck(this,WebSocket);return this.#A}get protocol(){p.brandCheck(this,WebSocket);return this.#p}get onopen(){p.brandCheck(this,WebSocket);return this.#d.open}set onopen(i){p.brandCheck(this,WebSocket);if(this.#d.open){this.removeEventListener("open",this.#d.open)}if(typeof i==="function"){this.#d.open=i;this.addEventListener("open",i)}else{this.#d.open=null}}get onerror(){p.brandCheck(this,WebSocket);return this.#d.error}set onerror(i){p.brandCheck(this,WebSocket);if(this.#d.error){this.removeEventListener("error",this.#d.error)}if(typeof i==="function"){this.#d.error=i;this.addEventListener("error",i)}else{this.#d.error=null}}get onclose(){p.brandCheck(this,WebSocket);return this.#d.close}set onclose(i){p.brandCheck(this,WebSocket);if(this.#d.close){this.removeEventListener("close",this.#d.close)}if(typeof i==="function"){this.#d.close=i;this.addEventListener("close",i)}else{this.#d.close=null}}get onmessage(){p.brandCheck(this,WebSocket);return this.#d.message}set onmessage(i){p.brandCheck(this,WebSocket);if(this.#d.message){this.removeEventListener("message",this.#d.message)}if(typeof i==="function"){this.#d.message=i;this.addEventListener("message",i)}else{this.#d.message=null}}get binaryType(){p.brandCheck(this,WebSocket);return this[re]}set binaryType(i){p.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[re]="blob"}else{this[re]=i}}#h(i){this[ne]=i;const c=new pe(this);c.on("drain",(function onParserDrain(){this.ws[ne].socket.resume()}));i.socket.ws=this;this[se]=c;this[ee]=_.OPEN;const d=i.headersList.get("sec-websocket-extensions");if(d!==null){this.#A=d}const p=i.headersList.get("sec-websocket-protocol");if(p!==null){this.#p=p}ue("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=_.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=_.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=_.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=_.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:v,OPEN:v,CLOSING:v,CLOSED:v,url:Ae,readyState:Ae,bufferedAmount:Ae,onopen:Ae,onerror:Ae,onclose:Ae,close:Ae,onmessage:Ae,binaryType:Ae,send:Ae,extensions:Ae,protocol:Ae,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:v,OPEN:v,CLOSING:v,CLOSED:v});p.converters["sequence<DOMString>"]=p.sequenceConverter(p.converters.DOMString);p.converters["DOMString or sequence<DOMString>"]=function(i){if(p.util.Type(i)==="Object"&&Symbol.iterator in i){return p.converters["sequence<DOMString>"](i)}return p.converters.DOMString(i)};p.converters.WebSocketInit=p.dictionaryConverter([{key:"protocols",converter:p.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:i=>i,get defaultValue(){return ge()}},{key:"headers",converter:p.nullableConverter(p.converters.HeadersInit)}]);p.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(i){if(p.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return p.converters.WebSocketInit(i)}return{protocols:p.converters["DOMString or sequence<DOMString>"](i)}};p.converters.WebSocketSendData=function(i){if(p.util.Type(i)==="Object"){if(he(i)){return p.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||me.isAnyArrayBuffer(i)){return p.converters.BufferSource(i)}}return p.converters.USVString(i)};i.exports={WebSocket:WebSocket}},33843:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}c.getUserAgent=getUserAgent},45389:(i,c,d)=>{"use strict";var p=d(2203);var A=d(39023).inherits;function Entry(){if(!(this instanceof Entry)){return new Entry}p.PassThrough.call(this);this.path=null;this.type=null;this.isDirectory=false}A(Entry,p.PassThrough);Entry.prototype.autodrain=function(){return this.pipe(new p.Transform({transform:function(i,c,d){d()}}))};i.exports=Entry},5700:(i,c,d)=>{var p=d(79896);var A=d(16928);var C=d(39023);var S=d(4469);var v=d(2203).Transform;var _=d(85580);function Extract(i){if(!(this instanceof Extract))return new Extract(i);v.call(this);this.opts=i||{};this.unzipStream=new _(this.opts);this.unfinishedEntries=0;this.afterFlushWait=false;this.createdDirectories={};var c=this;this.unzipStream.on("entry",this._processEntry.bind(this));this.unzipStream.on("error",(function(i){c.emit("error",i)}))}C.inherits(Extract,v);Extract.prototype._transform=function(i,c,d){this.unzipStream.write(i,c,d)};Extract.prototype._flush=function(i){var c=this;var allDone=function(){process.nextTick((function(){c.emit("close")}));i()};this.unzipStream.end((function(){if(c.unfinishedEntries>0){c.afterFlushWait=true;return c.on("await-finished",allDone)}allDone()}))};Extract.prototype._processEntry=function(i){var c=this;var d=A.join(this.opts.path,i.path);var C=i.isDirectory?d:A.dirname(d);this.unfinishedEntries++;var writeFileFn=function(){var A=p.createWriteStream(d);A.on("close",(function(){c.unfinishedEntries--;c._notifyAwaiter()}));A.on("error",(function(i){c.emit("error",i)}));i.pipe(A)};if(this.createdDirectories[C]||C==="."){return writeFileFn()}S(C,(function(d){if(d)return c.emit("error",d);c.createdDirectories[C]=true;if(i.isDirectory){c.unfinishedEntries--;c._notifyAwaiter();return}writeFileFn()}))};Extract.prototype._notifyAwaiter=function(){if(this.afterFlushWait&&this.unfinishedEntries===0){this.emit("await-finished");this.afterFlushWait=false}};i.exports=Extract},42092:(i,c,d)=>{var p=d(2203).Transform;var A=d(39023);function MatcherStream(i,c){if(!(this instanceof MatcherStream)){return new MatcherStream}p.call(this);var d=typeof i==="object"?i.pattern:i;this.pattern=Buffer.isBuffer(d)?d:Buffer.from(d);this.requiredLength=this.pattern.length;if(i.requiredExtraSize)this.requiredLength+=i.requiredExtraSize;this.data=new Buffer("");this.bytesSoFar=0;this.matchFn=c}A.inherits(MatcherStream,p);MatcherStream.prototype.checkDataChunk=function(i){var c=this.data.length>=this.requiredLength;if(!c){return}var d=this.data.indexOf(this.pattern,i?1:0);if(d>=0&&d+this.requiredLength>this.data.length){if(d>0){var p=this.data.slice(0,d);this.push(p);this.bytesSoFar+=d;this.data=this.data.slice(d)}return}if(d===-1){var A=this.data.length-this.requiredLength+1;var p=this.data.slice(0,A);this.push(p);this.bytesSoFar+=A;this.data=this.data.slice(A);return}if(d>0){var p=this.data.slice(0,d);this.data=this.data.slice(d);this.push(p);this.bytesSoFar+=d}var C=this.matchFn?this.matchFn(this.data,this.bytesSoFar):true;if(C){this.data=new Buffer("");return}return true};MatcherStream.prototype._transform=function(i,c,d){this.data=Buffer.concat([this.data,i]);var p=true;while(this.checkDataChunk(!p)){p=false}d()};MatcherStream.prototype._flush=function(i){if(this.data.length>0){var c=true;while(this.checkDataChunk(!c)){c=false}}if(this.data.length>0){this.push(this.data);this.data=null}i()};i.exports=MatcherStream},41879:(i,c,d)=>{var p=d(2203).Transform;var A=d(39023);var C=d(85580);function ParserStream(i){if(!(this instanceof ParserStream)){return new ParserStream(i)}var c=i||{};p.call(this,{readableObjectMode:true});this.opts=i||{};this.unzipStream=new C(this.opts);var d=this;this.unzipStream.on("entry",(function(i){d.push(i)}));this.unzipStream.on("error",(function(i){d.emit("error",i)}))}A.inherits(ParserStream,p);ParserStream.prototype._transform=function(i,c,d){this.unzipStream.write(i,c,d)};ParserStream.prototype._flush=function(i){var c=this;this.unzipStream.end((function(){process.nextTick((function(){c.emit("close")}));i()}))};ParserStream.prototype.on=function(i,c){if(i==="entry"){return p.prototype.on.call(this,"data",c)}return p.prototype.on.call(this,i,c)};ParserStream.prototype.drainAll=function(){this.unzipStream.drainAll();return this.pipe(new p({objectMode:true,transform:function(i,c,d){d()}}))};i.exports=ParserStream},85580:(i,c,d)=>{"use strict";var p=d(58769);var A=d(2203);var C=d(39023);var S=d(43106);var v=d(42092);var _=d(45389);const T={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 V=4294967296;const Z=67324752;const ee=134695760;const te=33639248;const re=101075792;const ne=117853008;const ie=101010256;function UnzipStream(i){if(!(this instanceof UnzipStream)){return new UnzipStream(i)}A.Transform.call(this);this.options=i||{};this.data=new Buffer("");this.state=T.STREAM_START;this.skippedBytes=0;this.parsedEntity=null;this.outStreamInfo={}}C.inherits(UnzipStream,A.Transform);UnzipStream.prototype.processDataChunk=function(i){var c;switch(this.state){case T.STREAM_START:case T.START:c=4;break;case T.LOCAL_FILE_HEADER:c=26;break;case T.LOCAL_FILE_HEADER_SUFFIX:c=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case T.DATA_DESCRIPTOR:c=12;break;case T.CENTRAL_DIRECTORY_FILE_HEADER:c=42;break;case T.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:c=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case T.CDIR64_END:c=52;break;case T.CDIR64_END_DATA_SECTOR:c=this.parsedEntity.centralDirectoryRecordSize-44;break;case T.CDIR64_LOCATOR:c=16;break;case T.CENTRAL_DIRECTORY_END:c=18;break;case T.CENTRAL_DIRECTORY_END_COMMENT:c=this.parsedEntity.commentLength;break;case T.FILE_DATA:return 0;case T.FILE_DATA_END:return 0;case T.TRAILING_JUNK:if(this.options.debug)console.log("found",i.length,"bytes of TRAILING_JUNK");return i.length;default:return i.length}var d=i.length;if(d<c){return 0}switch(this.state){case T.STREAM_START:case T.START:var p=i.readUInt32LE(0);switch(p){case Z:this.state=T.LOCAL_FILE_HEADER;break;case te:this.state=T.CENTRAL_DIRECTORY_FILE_HEADER;break;case re:this.state=T.CDIR64_END;break;case ne:this.state=T.CDIR64_LOCATOR;break;case ie:this.state=T.CENTRAL_DIRECTORY_END;break;default:var A=this.state===T.STREAM_START;if(!A&&(p&65535)!==19280&&this.skippedBytes<26){var C=p;var S=4;for(var v=1;v<4&&C!==0;v++){C=C>>>8;if((C&255)===80){S=v;break}}this.skippedBytes+=S;if(this.options.debug)console.log("Skipped",this.skippedBytes,"bytes");return S}this.state=T.ERROR;var ee=A?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var se=i.readUInt32LE(0);var oe;try{oe=i.slice(0,4).toString()}catch(i){}console.log("Unexpected signature in zip file: 0x"+se.toString(16),'"'+oe+'", skipped',this.skippedBytes,"bytes")}this.emit("error",new Error(ee));return i.length}this.skippedBytes=0;return c;case T.LOCAL_FILE_HEADER:this.parsedEntity=this._readFile(i);this.state=T.LOCAL_FILE_HEADER_SUFFIX;return c;case T.LOCAL_FILE_HEADER_SUFFIX:var ae=new _;var le=(this.parsedEntity.flags&2048)!==0;ae.path=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),le);var ce=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var ue=this._readExtraFields(ce);if(ue&&ue.parsed){if(ue.parsed.path&&!le){ae.path=ue.parsed.path}if(Number.isFinite(ue.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===V-1){this.parsedEntity.uncompressedSize=ue.parsed.uncompressedSize}if(Number.isFinite(ue.parsed.compressedSize)&&this.parsedEntity.compressedSize===V-1){this.parsedEntity.compressedSize=ue.parsed.compressedSize}}this.parsedEntity.extra=ue.parsed||{};if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:ae.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:ue&&ue.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(i,null,2))}this._prepareOutStream(this.parsedEntity,ae);this.emit("entry",ae);this.state=T.FILE_DATA;return c;case T.CENTRAL_DIRECTORY_FILE_HEADER:this.parsedEntity=this._readCentralDirectoryEntry(i);this.state=T.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX;return c;case T.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var le=(this.parsedEntity.flags&2048)!==0;var de=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),le);var ce=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var ue=this._readExtraFields(ce);if(ue&&ue.parsed&&ue.parsed.path&&!le){de=ue.parsed.path}this.parsedEntity.extra=ue.parsed;var fe=(this.parsedEntity.versionMadeBy&65280)>>8===3;var pe,Ae;if(fe){pe=this.parsedEntity.externalFileAttributes>>>16;var he=pe>>>12;Ae=(he&10)===10}if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:de,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:pe&&"0"+pe.toString(8),isSymlink:Ae,extraFields:ue.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(i,null,2))}this.state=T.START;return c;case T.CDIR64_END:this.parsedEntity=this._readEndOfCentralDirectory64(i);if(this.options.debug){console.log("decoded CDIR64_END_RECORD:",this.parsedEntity)}this.state=T.CDIR64_END_DATA_SECTOR;return c;case T.CDIR64_END_DATA_SECTOR:this.state=T.START;return c;case T.CDIR64_LOCATOR:this.state=T.START;return c;case T.CENTRAL_DIRECTORY_END:this.parsedEntity=this._readEndOfCentralDirectory(i);if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity)}this.state=T.CENTRAL_DIRECTORY_END_COMMENT;return c;case T.CENTRAL_DIRECTORY_END_COMMENT:if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",i.slice(0,c).toString())}this.state=T.TRAILING_JUNK;return c;case T.ERROR:return i.length;default:console.log("didn't handle state #",this.state,"discarding");return i.length}};UnzipStream.prototype._prepareOutStream=function(i,c){var d=this;var p=i.uncompressedSize===0&&/[\/\\]$/.test(c.path);c.path=c.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,".");c.type=p?"Directory":"File";c.isDirectory=p;var C=!(i.flags&8);if(C){c.size=i.uncompressedSize}var Z=i.versionsNeededToExtract<=45;this.outStreamInfo={stream:null,limit:C?i.compressedSize:-1,written:0};if(!C){var te=new Buffer(4);te.writeUInt32LE(ee,0);var re=i.extra.zip64Mode;var ne=re?20:12;var ie={pattern:te,requiredExtraSize:ne};var se=new v(ie,(function(i,c){var p=d._readDataDescriptor(i,re);var A=p.compressedSize===c;if(!re&&!A&&c>=V){var C=c-V;while(C>=0){A=p.compressedSize===C;if(A)break;C-=V}}if(!A){return}d.state=T.FILE_DATA_END;var S=re?24:16;if(d.data.length>0){d.data=Buffer.concat([i.slice(S),d.data])}else{d.data=i.slice(S)}return true}));this.outStreamInfo.stream=se}else{this.outStreamInfo.stream=new A.PassThrough}var oe=i.flags&1||i.flags&64;if(oe||!Z){var ae=oe?"Encrypted files are not supported!":"Zip version "+Math.floor(i.versionsNeededToExtract/10)+"."+i.versionsNeededToExtract%10+" is not supported";c.skip=true;setImmediate((()=>{d.emit("error",new Error(ae))}));this.outStreamInfo.stream.pipe((new _).autodrain());return}var le=i.compressionMethod>0;if(le){var ce=S.createInflateRaw();ce.on("error",(function(i){d.state=T.ERROR;d.emit("error",i)}));this.outStreamInfo.stream.pipe(ce).pipe(c)}else{this.outStreamInfo.stream.pipe(c)}if(this._drainAllEntries){c.autodrain()}};UnzipStream.prototype._readFile=function(i){var c=p.parse(i).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return c};UnzipStream.prototype._readExtraFields=function(i){var c={};var d={parsed:c};if(this.options.debug){d.debug=[]}var A=0;while(A<i.length){var C=p.parse(i).skip(A).word16lu("extraId").word16lu("extraSize").vars;A+=4;var S=undefined;switch(C.extraId){case 1:S="Zip64 extended information extra field";var v=p.parse(i.slice(A,A+C.extraSize)).word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offsetToLocalHeader").word32lu("diskStartNumber").vars;if(v.uncompressedSize!==null){c.uncompressedSize=v.uncompressedSize}if(v.compressedSize!==null){c.compressedSize=v.compressedSize}c.zip64Mode=true;break;case 10:S="NTFS extra field";break;case 21589:S="extended timestamp";var _=i.readUInt8(A);var T=1;if(C.extraSize>=T+4&&_&1){c.mtime=new Date(i.readUInt32LE(A+T)*1e3);T+=4}if(C.extraSize>=T+4&&_&2){c.atime=new Date(i.readUInt32LE(A+T)*1e3);T+=4}if(C.extraSize>=T+4&&_&4){c.ctime=new Date(i.readUInt32LE(A+T)*1e3)}break;case 28789:S="Info-ZIP Unicode Path Extra Field";var V=i.readUInt8(A);if(V===1){var T=1;var Z=i.readUInt32LE(A+T);T+=4;var ee=i.slice(A+T);c.path=ee.toString()}break;case 13:case 22613:S=C.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var T=0;if(C.extraSize>=8){var te=new Date(i.readUInt32LE(A+T)*1e3);T+=4;var re=new Date(i.readUInt32LE(A+T)*1e3);T+=4;c.atime=te;c.mtime=re;if(C.extraSize>=12){var ne=i.readUInt16LE(A+T);T+=2;var ie=i.readUInt16LE(A+T);T+=2;c.uid=ne;c.gid=ie}}break;case 30805:S="Info-ZIP UNIX (type 2)";var T=0;if(C.extraSize>=4){var ne=i.readUInt16LE(A+T);T+=2;var ie=i.readUInt16LE(A+T);T+=2;c.uid=ne;c.gid=ie}break;case 30837:S="Info-ZIP New Unix";var T=0;var se=i.readUInt8(A);T+=1;if(se===1){var oe=i.readUInt8(A+T);T+=1;if(oe<=6){c.uid=i.readUIntLE(A+T,oe)}T+=oe;var ae=i.readUInt8(A+T);T+=1;if(ae<=6){c.gid=i.readUIntLE(A+T,ae)}}break;case 30062:S="ASi Unix";var T=0;if(C.extraSize>=14){var le=i.readUInt32LE(A+T);T+=4;var ce=i.readUInt16LE(A+T);T+=2;var ue=i.readUInt32LE(A+T);T+=4;var ne=i.readUInt16LE(A+T);T+=2;var ie=i.readUInt16LE(A+T);T+=2;c.mode=ce;c.uid=ne;c.gid=ie;if(C.extraSize>14){var de=A+T;var fe=A+C.extraSize-14;var pe=this._decodeString(i.slice(de,fe));c.symlink=pe}}break}if(this.options.debug){d.debug.push({extraId:"0x"+C.extraId.toString(16),description:S,data:i.slice(A,A+C.extraSize).inspect()})}A+=C.extraSize}return d};UnzipStream.prototype._readDataDescriptor=function(i,c){if(c){var d=p.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return d}var d=p.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return d};UnzipStream.prototype._readCentralDirectoryEntry=function(i){var c=p.parse(i).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return c};UnzipStream.prototype._readEndOfCentralDirectory64=function(i){var c=p.parse(i).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return c};UnzipStream.prototype._readEndOfCentralDirectory=function(i){var c=p.parse(i).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return c};const se="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";UnzipStream.prototype._decodeString=function(i,c){if(c){return i.toString("utf8")}if(this.options.decodeString){return this.options.decodeString(i)}let d="";for(var p=0;p<i.length;p++){d+=se[i[p]]}return d};UnzipStream.prototype._parseOrOutput=function(i,c){var d;while((d=this.processDataChunk(this.data))>0){this.data=this.data.slice(d);if(this.data.length===0)break}if(this.state===T.FILE_DATA){if(this.outStreamInfo.limit>=0){var p=this.outStreamInfo.limit-this.outStreamInfo.written;var A;if(p<this.data.length){A=this.data.slice(0,p);this.data=this.data.slice(p)}else{A=this.data;this.data=new Buffer("")}this.outStreamInfo.written+=A.length;if(this.outStreamInfo.limit===this.outStreamInfo.written){this.state=T.START;this.outStreamInfo.stream.end(A,i,c)}else{this.outStreamInfo.stream.write(A,i,c)}}else{var A=this.data;this.data=new Buffer("");this.outStreamInfo.written+=A.length;var C=this.outStreamInfo.stream;C.write(A,i,(()=>{if(this.state===T.FILE_DATA_END){this.state=T.START;return C.end(c)}c()}))}return}c()};UnzipStream.prototype.drainAll=function(){this._drainAllEntries=true};UnzipStream.prototype._transform=function(i,c,d){var p=this;if(p.data.length>0){p.data=Buffer.concat([p.data,i])}else{p.data=i}var A=p.data.length;var done=function(){if(p.data.length>0&&p.data.length<A){A=p.data.length;p._parseOrOutput(c,done);return}d()};p._parseOrOutput(c,done)};UnzipStream.prototype._flush=function(i){var c=this;if(c.data.length>0){c._parseOrOutput("buffer",(function(){if(c.data.length>0)return setImmediate((function(){c._flush(i)}));i()}));return}if(c.state===T.FILE_DATA){return i(new Error("Stream finished in an invalid state, uncompression failed"))}setImmediate(i)};i.exports=UnzipStream},33991:(i,c,d)=>{"use strict";c.Parse=d(41879);c.Extract=d(5700)},24488:(i,c,d)=>{i.exports=d(39023).deprecate},58264:i=>{i.exports=wrappy;function wrappy(i,c){if(i&&c)return wrappy(i)(c);if(typeof i!=="function")throw new TypeError("need wrapper function");Object.keys(i).forEach((function(c){wrapper[c]=i[c]}));return wrapper;function wrapper(){var c=new Array(arguments.length);for(var d=0;d<c.length;d++){c[d]=arguments[d]}var p=i.apply(this,c);var A=c[c.length-1];if(typeof p==="function"&&p!==A){Object.keys(A).forEach((function(i){p[i]=A[i]}))}return p}}},41622:(i,c,d)=>{
|
||
/**
|
||
* ZipStream
|
||
*
|
||
* @ignore
|
||
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
|
||
* @copyright (c) 2014 Chris Talkington, contributors.
|
||
*/
|
||
var p=d(39023).inherits;var A=d(25163).ZipArchiveOutputStream;var C=d(25163).ZipArchiveEntry;var S=d(53296);var v=i.exports=function(i){if(!(this instanceof v)){return new v(i)}i=this.options=i||{};i.zlib=i.zlib||{};A.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};p(v,A);v.prototype._normalizeFileData=function(i){i=S.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var c=i.type==="directory";var d=i.type==="symlink";if(i.name){i.name=S.sanitizePath(i.name);if(!d&&i.name.slice(-1)==="/"){c=true;i.type="directory"}else if(c){i.name+="/"}}if(c||d){i.store=true}i.date=S.dateify(i.date);return i};v.prototype.entry=function(i,c,d){if(typeof d!=="function"){d=this._emitErrorCallback.bind(this)}c=this._normalizeFileData(c);if(c.type!=="file"&&c.type!=="directory"&&c.type!=="symlink"){d(new Error(c.type+" entries not currently supported"));return}if(typeof c.name!=="string"||c.name.length===0){d(new Error("entry name must be a non-empty string value"));return}if(c.type==="symlink"&&typeof c.linkname!=="string"){d(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var p=new C(c.name);p.setTime(c.date,this.options.forceLocalTime);if(c.namePrependSlash){p.setName(c.name,true)}if(c.store){p.setMethod(0)}if(c.comment.length>0){p.setComment(c.comment)}if(c.type==="symlink"&&typeof c.mode!=="number"){c.mode=40960}if(typeof c.mode==="number"){if(c.type==="symlink"){c.mode|=40960}p.setUnixMode(c.mode)}if(c.type==="symlink"&&typeof c.linkname==="string"){i=Buffer.from(c.linkname)}return A.prototype.entry.call(this,p,i,d)};v.prototype.finalize=function(){this.finish()}},40788:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.getInputs=getInputs;const v=S(d(70857));const _=S(d(16928));const T=C(d(37484));const V=d(61110);const Z=d(23651);function getInputs(){const i=T.getInput("version")||"latest";const c=parseSource(i);const d=T.getInput("channel");if(d&&c.type==="archive"){c.channel=d}return{source:c,daemonConfig:T.getInput("daemon-config"),tcpPort:Z.Util.getInputNumber("tcp-port"),context:T.getInput("context"),setHost:T.getBooleanInput("set-host"),rootless:T.getBooleanInput("rootless"),runtimeBasedir:T.getInput("runtime-basedir")||_.default.join(v.default.homedir(),`setup-docker-action`),githubToken:T.getInput("github-token")}}function parseSource(i){let[c,d,p,A]=["archive","latest","stable","latest"];const C=(0,V.parse)(i,{relaxColumnCount:true,skipEmptyLines:true})[0];for(const i of C){const S=i.toString().split(/(?<=^[^=]+?)=/).map((i=>i.trim()));switch(S[0]){case"type":c=S[1];break;case"version":d=S[1];break;case"channel":p=S[1];break;case"tag":A=S[1];break;default:if(C.length===1){d=S[0];break}throw new Error(`Invalid field: ${S[0]}`)}}if(!c){throw new Error(`Invalid type: ${c}`)}if(!p){throw new Error(`Invalid channel: ${p}`)}if(!d){throw new Error(`Invalid version: ${d}`)}if(!A){throw new Error(`Invalid tag: ${A}`)}let S;switch(c){case"archive":S={type:"archive",version:d,channel:p};break;case"image":S={type:"image",tag:A};break;default:throw new Error(`Invalid version: ${i}`)}return S}},41730:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();var S=this&&this.__awaiter||function(i,c,d,p){function adopt(i){return i instanceof d?i:new d((function(c){c(i)}))}return new(d||(d=Promise))((function(d,A){function fulfilled(i){try{step(p.next(i))}catch(i){A(i)}}function rejected(i){try{step(p["throw"](i))}catch(i){A(i)}}function step(i){i.done?d(i.value):adopt(i.value).then(fulfilled,rejected)}step((p=p.apply(i,c||[])).next())}))};var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});const _=C(d(76982));const T=v(d(16928));const V=C(d(37484));const Z=C(d(19995));const ee=d(45155);const te=d(73490);const re=d(24514);const ne=d(83211);const ie=C(d(40788));const se=C(d(87155));const oe="v0.8.3";const ae="v0.10.0";Z.run((()=>S(void 0,void 0,void 0,(function*(){const i=ie.getInputs();const c=T.default.join(i.runtimeBasedir,`run-${_.randomUUID().slice(0,8)}`);if(i.context=="default"){throw new Error(`'default' context cannot be used.`)}if(i.source.type==="image"){yield V.group(`Download and install regctl`,(()=>S(void 0,void 0,void 0,(function*(){const c=new re.Install({githubToken:i.githubToken});const d=yield c.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:oe,true);yield c.install(d)}))));yield V.group(`Download and install undock`,(()=>S(void 0,void 0,void 0,(function*(){const c=new ne.Install({githubToken:i.githubToken});const d=yield c.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:ae,true);yield c.install(d)}))))}let d;let p;if(i.tcpPort){d=i.tcpPort;p=`tcp://127.0.0.1:${d}`}const A=new ee.Install({runDir:c,source:i.source,rootless:i.rootless,contextName:i.context||"setup-docker-action",daemonConfig:i.daemonConfig,localTCPPort:d,githubToken:i.githubToken});let C;if(!(yield te.Docker.isAvailable())||i.source){yield V.group(`Download docker`,(()=>S(void 0,void 0,void 0,(function*(){C=yield A.download()}))))}if(C){se.setRunDir(c);const d=yield A.install();yield V.group(`Setting outputs`,(()=>S(void 0,void 0,void 0,(function*(){V.info(`sock=${d}`);V.setOutput("sock",d);if(p){V.info(`tcp=${p}`);V.setOutput("tcp",p)}}))));if(i.setHost){yield V.group(`Setting Docker host`,(()=>S(void 0,void 0,void 0,(function*(){V.exportVariable("DOCKER_HOST",d);V.info(`DOCKER_HOST=${d}`)}))))}}yield V.group(`Docker info`,(()=>S(void 0,void 0,void 0,(function*(){yield te.Docker.printVersion();yield te.Docker.printInfo()}))))}))),(()=>S(void 0,void 0,void 0,(function*(){if(se.runDir.length==0){return}const i=new ee.Install({runDir:se.runDir});yield i.tearDown()}))))},87155:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var c=[];for(var d in i)if(Object.prototype.hasOwnProperty.call(i,d))c[c.length]=d;return c};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d=ownKeys(i),C=0;C<d.length;C++)if(d[C]!=="default")p(c,i,d[C]);A(c,i);return c}}();Object.defineProperty(c,"__esModule",{value:true});c.runDir=void 0;c.setRunDir=setRunDir;const S=C(d(37484));c.runDir=process.env["STATE_rundir"]||"";function setRunDir(i){S.saveState("rundir",i)}},42613:i=>{"use strict";i.exports=require("assert")},90290:i=>{"use strict";i.exports=require("async_hooks")},20181:i=>{"use strict";i.exports=require("buffer")},35317:i=>{"use strict";i.exports=require("child_process")},64236:i=>{"use strict";i.exports=require("console")},49140:i=>{"use strict";i.exports=require("constants")},76982:i=>{"use strict";i.exports=require("crypto")},31637:i=>{"use strict";i.exports=require("diagnostics_channel")},24434:i=>{"use strict";i.exports=require("events")},79896:i=>{"use strict";i.exports=require("fs")},91943:i=>{"use strict";i.exports=require("fs/promises")},58611:i=>{"use strict";i.exports=require("http")},85675:i=>{"use strict";i.exports=require("http2")},65692:i=>{"use strict";i.exports=require("https")},69278:i=>{"use strict";i.exports=require("net")},4573:i=>{"use strict";i.exports=require("node:buffer")},77598:i=>{"use strict";i.exports=require("node:crypto")},78474:i=>{"use strict";i.exports=require("node:events")},73024:i=>{"use strict";i.exports=require("node:fs")},51455:i=>{"use strict";i.exports=require("node:fs/promises")},37067:i=>{"use strict";i.exports=require("node:http")},44708:i=>{"use strict";i.exports=require("node:https")},48161:i=>{"use strict";i.exports=require("node:os")},76760:i=>{"use strict";i.exports=require("node:path")},1708:i=>{"use strict";i.exports=require("node:process")},57075:i=>{"use strict";i.exports=require("node:stream")},68574:i=>{"use strict";i.exports=require("node:string_decoder")},73136:i=>{"use strict";i.exports=require("node:url")},57975:i=>{"use strict";i.exports=require("node:util")},38522:i=>{"use strict";i.exports=require("node:zlib")},70857:i=>{"use strict";i.exports=require("os")},16928:i=>{"use strict";i.exports=require("path")},82987:i=>{"use strict";i.exports=require("perf_hooks")},83480:i=>{"use strict";i.exports=require("querystring")},2203:i=>{"use strict";i.exports=require("stream")},63774:i=>{"use strict";i.exports=require("stream/web")},13193:i=>{"use strict";i.exports=require("string_decoder")},53557:i=>{"use strict";i.exports=require("timers")},64756:i=>{"use strict";i.exports=require("tls")},52018:i=>{"use strict";i.exports=require("tty")},87016:i=>{"use strict";i.exports=require("url")},39023:i=>{"use strict";i.exports=require("util")},98253:i=>{"use strict";i.exports=require("util/types")},28167:i=>{"use strict";i.exports=require("worker_threads")},43106:i=>{"use strict";i.exports=require("zlib")},59192:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}c.AbortError=AbortError},83134:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AbortError=void 0;var p=d(59192);Object.defineProperty(c,"AbortError",{enumerable:true,get:function(){return p.AbortError}})},50198:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AzureKeyCredential=void 0;class AzureKeyCredential{_key;get key(){return this._key}constructor(i){if(!i){throw new Error("key must be a non-empty string")}this._key=i}update(i){this._key=i}}c.AzureKeyCredential=AzureKeyCredential},41295:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AzureNamedKeyCredential=void 0;c.isNamedKeyCredential=isNamedKeyCredential;const p=d(87779);class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(i,c){if(!i||!c){throw new TypeError("name and key must be non-empty strings")}this._name=i;this._key=c}update(i,c){if(!i||!c){throw new TypeError("newName and newKey must be non-empty strings")}this._name=i;this._key=c}}c.AzureNamedKeyCredential=AzureNamedKeyCredential;function isNamedKeyCredential(i){return(0,p.isObjectWithProperties)(i,["name","key"])&&typeof i.key==="string"&&typeof i.name==="string"}},56608:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AzureSASCredential=void 0;c.isSASCredential=isSASCredential;const p=d(87779);class AzureSASCredential{_signature;get signature(){return this._signature}constructor(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}update(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}}c.AzureSASCredential=AzureSASCredential;function isSASCredential(i){return(0,p.isObjectWithProperties)(i,["signature"])&&typeof i.signature==="string"}},50417:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isTokenCredential=c.isSASCredential=c.AzureSASCredential=c.isNamedKeyCredential=c.AzureNamedKeyCredential=c.isKeyCredential=c.AzureKeyCredential=void 0;var p=d(50198);Object.defineProperty(c,"AzureKeyCredential",{enumerable:true,get:function(){return p.AzureKeyCredential}});var A=d(99155);Object.defineProperty(c,"isKeyCredential",{enumerable:true,get:function(){return A.isKeyCredential}});var C=d(41295);Object.defineProperty(c,"AzureNamedKeyCredential",{enumerable:true,get:function(){return C.AzureNamedKeyCredential}});Object.defineProperty(c,"isNamedKeyCredential",{enumerable:true,get:function(){return C.isNamedKeyCredential}});var S=d(56608);Object.defineProperty(c,"AzureSASCredential",{enumerable:true,get:function(){return S.AzureSASCredential}});Object.defineProperty(c,"isSASCredential",{enumerable:true,get:function(){return S.isSASCredential}});var v=d(86881);Object.defineProperty(c,"isTokenCredential",{enumerable:true,get:function(){return v.isTokenCredential}})},99155:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isKeyCredential=isKeyCredential;const p=d(87779);function isKeyCredential(i){return(0,p.isObjectWithProperties)(i,["key"])&&typeof i.key==="string"}},86881:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isBearerToken=isBearerToken;c.isPopToken=isPopToken;c.isTokenCredential=isTokenCredential;function isBearerToken(i){return!i.tokenType||i.tokenType==="Bearer"}function isPopToken(i){return i.tokenType==="pop"}function isTokenCredential(i){const c=i;return c&&typeof c.getToken==="function"&&(c.signRequest===undefined||c.getToken.length>0)}},17698:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.parseCAEChallenge=parseCAEChallenge;c.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const p=d(89994);const A=d(20741);function parseCAEChallenge(i){const c=`, ${i.trim()}`.split(", Bearer ").filter((i=>i));return c.map((i=>{const c=`${i.trim()}, `.split('", ').filter((i=>i));const d=c.map((i=>(([i,c])=>({[i]:c}))(i.trim().split('="'))));return d.reduce(((i,c)=>({...i,...c})),{})}))}async function authorizeRequestOnClaimChallenge(i){const{scopes:c,response:d}=i;const C=i.logger||p.logger;const S=d.headers.get("WWW-Authenticate");if(!S){C.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const v=parseCAEChallenge(S)||[];const _=v.find((i=>i.claims));if(!_){C.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const T=await i.getAccessToken(_.scope?[_.scope]:c,{claims:(0,A.decodeStringToString)(_.claims)});if(!T){return false}i.request.headers.set("Authorization",`${T.tokenType??"Bearer"} ${T.token}`);return true}},97454:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.authorizeRequestOnTenantChallenge=void 0;const d={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(i){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(i)}const authorizeRequestOnTenantChallenge=async i=>{const c=requestToOptions(i.request);const p=getChallenge(i.response);if(p){const A=parseChallenge(p);const C=buildScopes(i,A);const S=extractTenantId(A);if(!S){return false}const v=await i.getAccessToken(C,{...c,tenantId:S});if(!v){return false}i.request.headers.set(d.HeaderConstants.AUTHORIZATION,`${v.tokenType??"Bearer"} ${v.token}`);return true}return false};c.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(i){const c=new URL(i.authorization_uri);const d=c.pathname.split("/");const p=d[1];if(p&&isUuid(p)){return p}return undefined}function buildScopes(i,c){if(!c.resource_id){return i.scopes}const p=new URL(c.resource_id);p.pathname=d.DefaultScope;let A=p.toString();if(A==="https://disk.azure.com/.default"){A="https://disk.azure.com//.default"}return[A]}function getChallenge(i){const c=i.headers.get("WWW-Authenticate");if(i.status===401&&c){return c}return}function parseChallenge(i){const c=i.slice("Bearer ".length);const d=`${c.trim()} `.split(" ").filter((i=>i));const p=d.map((i=>(([i,c])=>({[i]:c}))(i.trim().split("="))));return p.reduce(((i,c)=>({...i,...c})),{})}function requestToOptions(i){return{abortSignal:i.abortSignal,requestOptions:{timeout:i.timeout},tracingOptions:i.tracingOptions}}},20741:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.encodeString=encodeString;c.encodeByteArray=encodeByteArray;c.decodeString=decodeString;c.decodeStringToString=decodeStringToString;function encodeString(i){return Buffer.from(i).toString("base64")}function encodeByteArray(i){const c=i instanceof Buffer?i:Buffer.from(i.buffer);return c.toString("base64")}function decodeString(i){return Buffer.from(i,"base64")}function decodeStringToString(i){return Buffer.from(i,"base64").toString()}},90111:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.deserializationPolicyName=void 0;c.deserializationPolicy=deserializationPolicy;const p=d(56058);const A=d(20778);const C=d(31530);const S=d(19688);const v=["application/json","text/json"];const _=["application/xml","application/atom+xml"];c.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(i={}){const d=i.expectedContentTypes?.json??v;const A=i.expectedContentTypes?.xml??_;const C=i.parseXML;const S=i.serializerOptions;const T={xml:{rootName:S?.xml.rootName??"",includeRoot:S?.xml.includeRoot??false,xmlCharKey:S?.xml.xmlCharKey??p.XML_CHARKEY}};return{name:c.deserializationPolicyName,async sendRequest(i,c){const p=await c(i);return deserializeResponseBody(d,A,p,T,C)}}}function getOperationResponseMap(i){let c;const d=i.request;const p=(0,S.getOperationRequestInfo)(d);const A=p?.operationSpec;if(A){if(!p?.operationResponseGetter){c=A.responses[i.status]}else{c=p?.operationResponseGetter(A,i)}}return c}function shouldDeserializeResponse(i){const c=i.request;const d=(0,S.getOperationRequestInfo)(c);const p=d?.shouldDeserialize;let A;if(p===undefined){A=true}else if(typeof p==="boolean"){A=p}else{A=p(i)}return A}async function deserializeResponseBody(i,c,d,p,v){const _=await parse(i,c,d,p,v);if(!shouldDeserializeResponse(_)){return _}const T=(0,S.getOperationRequestInfo)(_.request);const V=T?.operationSpec;if(!V||!V.responses){return _}const Z=getOperationResponseMap(_);const{error:ee,shouldReturnResponse:te}=handleErrorResponse(_,V,Z,p);if(ee){throw ee}else if(te){return _}if(Z){if(Z.bodyMapper){let i=_.parsedBody;if(V.isXML&&Z.bodyMapper.type.name===C.MapperTypeNames.Sequence){i=typeof i==="object"?i[Z.bodyMapper.xmlElementName]:[]}try{_.parsedBody=V.serializer.deserialize(Z.bodyMapper,i,"operationRes.parsedBody",p)}catch(i){const c=new A.RestError(`Error ${i} occurred in deserializing the responseBody - ${_.bodyAsText}`,{statusCode:_.status,request:_.request,response:_});throw c}}else if(V.httpMethod==="HEAD"){_.parsedBody=d.status>=200&&d.status<300}if(Z.headersMapper){_.parsedHeaders=V.serializer.deserialize(Z.headersMapper,_.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return _}function isOperationSpecEmpty(i){const c=Object.keys(i.responses);return c.length===0||c.length===1&&c[0]==="default"}function handleErrorResponse(i,c,d,p){const S=200<=i.status&&i.status<300;const v=isOperationSpecEmpty(c)?S:!!d;if(v){if(d){if(!d.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const _=d??c.responses.default;const T=i.request.streamResponseStatusCodes?.has(i.status)?`Unexpected status code: ${i.status}`:i.bodyAsText;const V=new A.RestError(T,{statusCode:i.status,request:i.request,response:i});if(!_&&!(i.parsedBody?.error?.code&&i.parsedBody?.error?.message)){throw V}const Z=_?.bodyMapper;const ee=_?.headersMapper;try{if(i.parsedBody){const d=i.parsedBody;let A;if(Z){let i=d;if(c.isXML&&Z.type.name===C.MapperTypeNames.Sequence){i=[];const c=Z.xmlElementName;if(typeof d==="object"&&c){i=d[c]}}A=c.serializer.deserialize(Z,i,"error.response.parsedBody",p)}const S=d.error||A||d;V.code=S.code;if(S.message){V.message=S.message}if(Z){V.response.parsedBody=A}}if(i.headers&&ee){V.response.parsedHeaders=c.serializer.deserialize(ee,i.headers.toJSON(),"operationRes.parsedHeaders")}}catch(c){V.message=`Error "${c.message}" occurred in deserializing the responseBody - "${i.bodyAsText}" for the default response.`}return{error:V,shouldReturnResponse:false}}async function parse(i,c,d,p,C){if(!d.request.streamResponseStatusCodes?.has(d.status)&&d.bodyAsText){const S=d.bodyAsText;const v=d.headers.get("Content-Type")||"";const _=!v?[]:v.split(";").map((i=>i.toLowerCase()));try{if(_.length===0||_.some((c=>i.indexOf(c)!==-1))){d.parsedBody=JSON.parse(S);return d}else if(_.some((i=>c.indexOf(i)!==-1))){if(!C){throw new Error("Parsing XML not supported.")}const i=await C(S,p.xml);d.parsedBody=i;return d}}catch(i){const c=`Error "${i}" occurred while parsing the response body - ${d.bodyAsText}.`;const p=i.code||A.RestError.PARSE_ERROR;const C=new A.RestError(c,{code:p,statusCode:d.status,request:d.request,response:d});throw C}}return d}},26323:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const p=d(20778);let A;function getCachedDefaultHttpClient(){if(!A){A=(0,p.createDefaultHttpClient)()}return A}},60160:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.authorizeRequestOnTenantChallenge=c.authorizeRequestOnClaimChallenge=c.serializationPolicyName=c.serializationPolicy=c.deserializationPolicyName=c.deserializationPolicy=c.XML_CHARKEY=c.XML_ATTRKEY=c.createClientPipeline=c.ServiceClient=c.MapperTypeNames=c.createSerializer=void 0;var p=d(31530);Object.defineProperty(c,"createSerializer",{enumerable:true,get:function(){return p.createSerializer}});Object.defineProperty(c,"MapperTypeNames",{enumerable:true,get:function(){return p.MapperTypeNames}});var A=d(89544);Object.defineProperty(c,"ServiceClient",{enumerable:true,get:function(){return A.ServiceClient}});var C=d(74136);Object.defineProperty(c,"createClientPipeline",{enumerable:true,get:function(){return C.createClientPipeline}});var S=d(56058);Object.defineProperty(c,"XML_ATTRKEY",{enumerable:true,get:function(){return S.XML_ATTRKEY}});Object.defineProperty(c,"XML_CHARKEY",{enumerable:true,get:function(){return S.XML_CHARKEY}});var v=d(90111);Object.defineProperty(c,"deserializationPolicy",{enumerable:true,get:function(){return v.deserializationPolicy}});Object.defineProperty(c,"deserializationPolicyName",{enumerable:true,get:function(){return v.deserializationPolicyName}});var _=d(56234);Object.defineProperty(c,"serializationPolicy",{enumerable:true,get:function(){return _.serializationPolicy}});Object.defineProperty(c,"serializationPolicyName",{enumerable:true,get:function(){return _.serializationPolicyName}});var T=d(17698);Object.defineProperty(c,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return T.authorizeRequestOnClaimChallenge}});var V=d(97454);Object.defineProperty(c,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return V.authorizeRequestOnTenantChallenge}})},92066:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;c.getPathStringFromParameter=getPathStringFromParameter;const p=d(31530);function getStreamingResponseStatusCodes(i){const c=new Set;for(const d in i.responses){const A=i.responses[d];if(A.bodyMapper&&A.bodyMapper.type.name===p.MapperTypeNames.Stream){c.add(Number(d))}}return c}function getPathStringFromParameter(i){const{parameterPath:c,mapper:d}=i;let p;if(typeof c==="string"){p=c}else if(Array.isArray(c)){p=c.join(".")}else{p=d.serializedName}return p}},56058:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.XML_CHARKEY=c.XML_ATTRKEY=void 0;c.XML_ATTRKEY="$";c.XML_CHARKEY="_"},89994:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logger=void 0;const p=d(26515);c.logger=(0,p.createClientLogger)("core-client")},19688:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;c.getOperationRequestInfo=getOperationRequestInfo;const p=d(33345);function getOperationArgumentValueFromParameter(i,c,d){let p=c.parameterPath;const A=c.mapper;let C;if(typeof p==="string"){p=[p]}if(Array.isArray(p)){if(p.length>0){if(A.isConstant){C=A.defaultValue}else{let c=getPropertyFromParameterPath(i,p);if(!c.propertyFound&&d){c=getPropertyFromParameterPath(d,p)}let S=false;if(!c.propertyFound){S=A.required||p[0]==="options"&&p.length===2}C=S?A.defaultValue:c.propertyValue}}}else{if(A.required){C={}}for(const c in p){const S=A.type.modelProperties[c];const v=p[c];const _=getOperationArgumentValueFromParameter(i,{parameterPath:v,mapper:S},d);if(_!==undefined){if(!C){C={}}C[c]=_}}}return C}function getPropertyFromParameterPath(i,c){const d={propertyFound:false};let p=0;for(;p<c.length;++p){const d=c[p];if(i&&d in i){i=i[d]}else{break}}if(p===c.length){d.propertyValue=i;d.propertyFound=true}return d}const A=Symbol.for("@azure/core-client original request");function hasOriginalRequest(i){return A in i}function getOperationRequestInfo(i){if(hasOriginalRequest(i)){return getOperationRequestInfo(i[A])}let c=p.state.operationRequestMap.get(i);if(!c){c={};p.state.operationRequestMap.set(i,c)}return c}},74136:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createClientPipeline=createClientPipeline;const p=d(90111);const A=d(20778);const C=d(56234);function createClientPipeline(i={}){const c=(0,A.createPipelineFromOptions)(i??{});if(i.credentialOptions){c.addPolicy((0,A.bearerTokenAuthenticationPolicy)({credential:i.credentialOptions.credential,scopes:i.credentialOptions.credentialScopes}))}c.addPolicy((0,C.serializationPolicy)(i.serializationOptions),{phase:"Serialize"});c.addPolicy((0,p.deserializationPolicy)(i.deserializationOptions),{phase:"Deserialize"});return c}},56234:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.serializationPolicyName=void 0;c.serializationPolicy=serializationPolicy;c.serializeHeaders=serializeHeaders;c.serializeRequestBody=serializeRequestBody;const p=d(56058);const A=d(19688);const C=d(31530);const S=d(92066);c.serializationPolicyName="serializationPolicy";function serializationPolicy(i={}){const d=i.stringifyXML;return{name:c.serializationPolicyName,async sendRequest(i,c){const p=(0,A.getOperationRequestInfo)(i);const C=p?.operationSpec;const S=p?.operationArguments;if(C&&S){serializeHeaders(i,S,C);serializeRequestBody(i,S,C,d)}return c(i)}}}function serializeHeaders(i,c,d){if(d.headerParameters){for(const p of d.headerParameters){let C=(0,A.getOperationArgumentValueFromParameter)(c,p);if(C!==null&&C!==undefined||p.mapper.required){C=d.serializer.serialize(p.mapper,C,(0,S.getPathStringFromParameter)(p));const c=p.mapper.headerCollectionPrefix;if(c){for(const d of Object.keys(C)){i.headers.set(c+d,C[d])}}else{i.headers.set(p.mapper.serializedName||(0,S.getPathStringFromParameter)(p),C)}}}}const p=c.options?.requestOptions?.customHeaders;if(p){for(const c of Object.keys(p)){i.headers.set(c,p[c])}}}function serializeRequestBody(i,c,d,v=function(){throw new Error("XML serialization unsupported!")}){const _=c.options?.serializerOptions;const T={xml:{rootName:_?.xml.rootName??"",includeRoot:_?.xml.includeRoot??false,xmlCharKey:_?.xml.xmlCharKey??p.XML_CHARKEY}};const V=T.xml.xmlCharKey;if(d.requestBody&&d.requestBody.mapper){i.body=(0,A.getOperationArgumentValueFromParameter)(c,d.requestBody);const p=d.requestBody.mapper;const{required:_,serializedName:Z,xmlName:ee,xmlElementName:te,xmlNamespace:re,xmlNamespacePrefix:ne,nullable:ie}=p;const se=p.type.name;try{if(i.body!==undefined&&i.body!==null||ie&&i.body===null||_){const c=(0,S.getPathStringFromParameter)(d.requestBody);i.body=d.serializer.serialize(p,i.body,c,T);const A=se===C.MapperTypeNames.Stream;if(d.isXML){const c=ne?`xmlns:${ne}`:"xmlns";const d=getXmlValueWithNamespace(re,c,se,i.body,T);if(se===C.MapperTypeNames.Sequence){i.body=v(prepareXMLRootList(d,te||ee||Z,c,re),{rootName:ee||Z,xmlCharKey:V})}else if(!A){i.body=v(d,{rootName:ee||Z,xmlCharKey:V})}}else if(se===C.MapperTypeNames.String&&(d.contentType?.match("text/plain")||d.mediaType==="text")){return}else if(!A){i.body=JSON.stringify(i.body)}}}catch(i){throw new Error(`Error "${i.message}" occurred in serializing the payload - ${JSON.stringify(Z,undefined," ")}.`)}}else if(d.formDataParameters&&d.formDataParameters.length>0){i.formData={};for(const p of d.formDataParameters){const C=(0,A.getOperationArgumentValueFromParameter)(c,p);if(C!==undefined&&C!==null){const c=p.mapper.serializedName||(0,S.getPathStringFromParameter)(p);i.formData[c]=d.serializer.serialize(p.mapper,C,(0,S.getPathStringFromParameter)(p),T)}}}}function getXmlValueWithNamespace(i,c,d,A,C){if(i&&!["Composite","Sequence","Dictionary"].includes(d)){const d={};d[C.xml.xmlCharKey]=A;d[p.XML_ATTRKEY]={[c]:i};return d}return A}function prepareXMLRootList(i,c,d,A){if(!Array.isArray(i)){i=[i]}if(!d||!A){return{[c]:i}}const C={[c]:i};C[p.XML_ATTRKEY]={[d]:A};return C}},31530:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.MapperTypeNames=void 0;c.createSerializer=createSerializer;const p=d(61860);const A=p.__importStar(d(20741));const C=d(56058);const S=d(31193);class SerializerImpl{modelMappers;isXML;constructor(i={},c=false){this.modelMappers=i;this.isXML=c}validateConstraints(i,c,d){const failValidation=(i,p)=>{throw new Error(`"${d}" with value "${c}" should satisfy the constraint "${i}": ${p}.`)};if(i.constraints&&c!==undefined&&c!==null){const{ExclusiveMaximum:d,ExclusiveMinimum:p,InclusiveMaximum:A,InclusiveMinimum:C,MaxItems:S,MaxLength:v,MinItems:_,MinLength:T,MultipleOf:V,Pattern:Z,UniqueItems:ee}=i.constraints;if(d!==undefined&&c>=d){failValidation("ExclusiveMaximum",d)}if(p!==undefined&&c<=p){failValidation("ExclusiveMinimum",p)}if(A!==undefined&&c>A){failValidation("InclusiveMaximum",A)}if(C!==undefined&&c<C){failValidation("InclusiveMinimum",C)}if(S!==undefined&&c.length>S){failValidation("MaxItems",S)}if(v!==undefined&&c.length>v){failValidation("MaxLength",v)}if(_!==undefined&&c.length<_){failValidation("MinItems",_)}if(T!==undefined&&c.length<T){failValidation("MinLength",T)}if(V!==undefined&&c%V!==0){failValidation("MultipleOf",V)}if(Z){const i=typeof Z==="string"?new RegExp(Z):Z;if(typeof c!=="string"||c.match(i)===null){failValidation("Pattern",Z)}}if(ee&&c.some(((i,c,d)=>d.indexOf(i)!==c))){failValidation("UniqueItems",ee)}}}serialize(i,c,d,p={xml:{}}){const A={xml:{rootName:p.xml.rootName??"",includeRoot:p.xml.includeRoot??false,xmlCharKey:p.xml.xmlCharKey??C.XML_CHARKEY}};let S={};const v=i.type.name;if(!d){d=i.serializedName}if(v.match(/^Sequence$/i)!==null){S=[]}if(i.isConstant){c=i.defaultValue}const{required:_,nullable:T}=i;if(_&&T&&c===undefined){throw new Error(`${d} cannot be undefined.`)}if(_&&!T&&(c===undefined||c===null)){throw new Error(`${d} cannot be null or undefined.`)}if(!_&&T===false&&c===null){throw new Error(`${d} cannot be null.`)}if(c===undefined||c===null){S=c}else{if(v.match(/^any$/i)!==null){S=c}else if(v.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){S=serializeBasicTypes(v,d,c)}else if(v.match(/^Enum$/i)!==null){const p=i;S=serializeEnumType(d,p.type.allowedValues,c)}else if(v.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){S=serializeDateTypes(v,c,d)}else if(v.match(/^ByteArray$/i)!==null){S=serializeByteArrayType(d,c)}else if(v.match(/^Base64Url$/i)!==null){S=serializeBase64UrlType(d,c)}else if(v.match(/^Sequence$/i)!==null){S=serializeSequenceType(this,i,c,d,Boolean(this.isXML),A)}else if(v.match(/^Dictionary$/i)!==null){S=serializeDictionaryType(this,i,c,d,Boolean(this.isXML),A)}else if(v.match(/^Composite$/i)!==null){S=serializeCompositeType(this,i,c,d,Boolean(this.isXML),A)}}return S}deserialize(i,c,d,p={xml:{}}){const S={xml:{rootName:p.xml.rootName??"",includeRoot:p.xml.includeRoot??false,xmlCharKey:p.xml.xmlCharKey??C.XML_CHARKEY},ignoreUnknownProperties:p.ignoreUnknownProperties??false};if(c===undefined||c===null){if(this.isXML&&i.type.name==="Sequence"&&!i.xmlIsWrapped){c=[]}if(i.defaultValue!==undefined){c=i.defaultValue}return c}let v;const _=i.type.name;if(!d){d=i.serializedName}if(_.match(/^Composite$/i)!==null){v=deserializeCompositeType(this,i,c,d,S)}else{if(this.isXML){const i=S.xml.xmlCharKey;if(c[C.XML_ATTRKEY]!==undefined&&c[i]!==undefined){c=c[i]}}if(_.match(/^Number$/i)!==null){v=parseFloat(c);if(isNaN(v)){v=c}}else if(_.match(/^Boolean$/i)!==null){if(c==="true"){v=true}else if(c==="false"){v=false}else{v=c}}else if(_.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){v=c}else if(_.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){v=new Date(c)}else if(_.match(/^UnixTime$/i)!==null){v=unixTimeToDate(c)}else if(_.match(/^ByteArray$/i)!==null){v=A.decodeString(c)}else if(_.match(/^Base64Url$/i)!==null){v=base64UrlToByteArray(c)}else if(_.match(/^Sequence$/i)!==null){v=deserializeSequenceType(this,i,c,d,S)}else if(_.match(/^Dictionary$/i)!==null){v=deserializeDictionaryType(this,i,c,d,S)}}if(i.isConstant){v=i.defaultValue}return v}}function createSerializer(i={},c=false){return new SerializerImpl(i,c)}function trimEnd(i,c){let d=i.length;while(d-1>=0&&i[d-1]===c){--d}return i.substr(0,d)}function bufferToBase64Url(i){if(!i){return undefined}if(!(i instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const c=A.encodeByteArray(i);return trimEnd(c,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(i){if(!i){return undefined}if(i&&typeof i.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}i=i.replace(/-/g,"+").replace(/_/g,"/");return A.decodeString(i)}function splitSerializeName(i){const c=[];let d="";if(i){const p=i.split(".");for(const i of p){if(i.charAt(i.length-1)==="\\"){d+=i.substr(0,i.length-1)+"."}else{d+=i;c.push(d);d=""}}}return c}function dateToUnixTime(i){if(!i){return undefined}if(typeof i.valueOf()==="string"){i=new Date(i)}return Math.floor(i.getTime()/1e3)}function unixTimeToDate(i){if(!i){return undefined}return new Date(i*1e3)}function serializeBasicTypes(i,c,d){if(d!==null&&d!==undefined){if(i.match(/^Number$/i)!==null){if(typeof d!=="number"){throw new Error(`${c} with value ${d} must be of type number.`)}}else if(i.match(/^String$/i)!==null){if(typeof d.valueOf()!=="string"){throw new Error(`${c} with value "${d}" must be of type string.`)}}else if(i.match(/^Uuid$/i)!==null){if(!(typeof d.valueOf()==="string"&&(0,S.isValidUuid)(d))){throw new Error(`${c} with value "${d}" must be of type string and a valid uuid.`)}}else if(i.match(/^Boolean$/i)!==null){if(typeof d!=="boolean"){throw new Error(`${c} with value ${d} must be of type boolean.`)}}else if(i.match(/^Stream$/i)!==null){const i=typeof d;if(i!=="string"&&typeof d.pipe!=="function"&&typeof d.tee!=="function"&&!(d instanceof ArrayBuffer)&&!ArrayBuffer.isView(d)&&!((typeof Blob==="function"||typeof Blob==="object")&&d instanceof Blob)&&i!=="function"){throw new Error(`${c} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return d}function serializeEnumType(i,c,d){if(!c){throw new Error(`Please provide a set of allowedValues to validate ${i} as an Enum Type.`)}const p=c.some((i=>{if(typeof i.valueOf()==="string"){return i.toLowerCase()===d.toLowerCase()}return i===d}));if(!p){throw new Error(`${d} is not a valid value for ${i}. The valid values are: ${JSON.stringify(c)}.`)}return d}function serializeByteArrayType(i,c){if(c!==undefined&&c!==null){if(!(c instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}c=A.encodeByteArray(c)}return c}function serializeBase64UrlType(i,c){if(c!==undefined&&c!==null){if(!(c instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}c=bufferToBase64Url(c)}return c}function serializeDateTypes(i,c,d){if(c!==undefined&&c!==null){if(i.match(/^Date$/i)!==null){if(!(c instanceof Date||typeof c.valueOf()==="string"&&!isNaN(Date.parse(c)))){throw new Error(`${d} must be an instanceof Date or a string in ISO8601 format.`)}c=c instanceof Date?c.toISOString().substring(0,10):new Date(c).toISOString().substring(0,10)}else if(i.match(/^DateTime$/i)!==null){if(!(c instanceof Date||typeof c.valueOf()==="string"&&!isNaN(Date.parse(c)))){throw new Error(`${d} must be an instanceof Date or a string in ISO8601 format.`)}c=c instanceof Date?c.toISOString():new Date(c).toISOString()}else if(i.match(/^DateTimeRfc1123$/i)!==null){if(!(c instanceof Date||typeof c.valueOf()==="string"&&!isNaN(Date.parse(c)))){throw new Error(`${d} must be an instanceof Date or a string in RFC-1123 format.`)}c=c instanceof Date?c.toUTCString():new Date(c).toUTCString()}else if(i.match(/^UnixTime$/i)!==null){if(!(c instanceof Date||typeof c.valueOf()==="string"&&!isNaN(Date.parse(c)))){throw new Error(`${d} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}c=dateToUnixTime(c)}else if(i.match(/^TimeSpan$/i)!==null){if(!(0,S.isDuration)(c)){throw new Error(`${d} must be a string in ISO 8601 format. Instead was "${c}".`)}}}return c}function serializeSequenceType(i,c,d,p,A,S){if(!Array.isArray(d)){throw new Error(`${p} must be of type Array.`)}let v=c.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 ${p}.`)}if(v.type.name==="Composite"&&v.type.className){v=i.modelMappers[v.type.className]??v}const _=[];for(let c=0;c<d.length;c++){const T=i.serialize(v,d[c],p,S);if(A&&v.xmlNamespace){const i=v.xmlNamespacePrefix?`xmlns:${v.xmlNamespacePrefix}`:"xmlns";if(v.type.name==="Composite"){_[c]={...T};_[c][C.XML_ATTRKEY]={[i]:v.xmlNamespace}}else{_[c]={};_[c][S.xml.xmlCharKey]=T;_[c][C.XML_ATTRKEY]={[i]:v.xmlNamespace}}}else{_[c]=T}}return _}function serializeDictionaryType(i,c,d,p,A,S){if(typeof d!=="object"){throw new Error(`${p} must be of type object.`)}const v=c.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 ${p}.`)}const _={};for(const c of Object.keys(d)){const C=i.serialize(v,d[c],p,S);_[c]=getXmlObjectValue(v,C,A,S)}if(A&&c.xmlNamespace){const i=c.xmlNamespacePrefix?`xmlns:${c.xmlNamespacePrefix}`:"xmlns";const d=_;d[C.XML_ATTRKEY]={[i]:c.xmlNamespace};return d}return _}function resolveAdditionalProperties(i,c,d){const p=c.type.additionalProperties;if(!p&&c.type.className){const p=resolveReferencedMapper(i,c,d);return p?.type.additionalProperties}return p}function resolveReferencedMapper(i,c,d){const p=c.type.className;if(!p){throw new Error(`Class name for model "${d}" is not provided in the mapper "${JSON.stringify(c,undefined,2)}".`)}return i.modelMappers[p]}function resolveModelProperties(i,c,d){let p=c.type.modelProperties;if(!p){const A=resolveReferencedMapper(i,c,d);if(!A){throw new Error(`mapper() cannot be null or undefined for model "${c.type.className}".`)}p=A?.type.modelProperties;if(!p){throw new Error(`modelProperties cannot be null or undefined in the `+`mapper "${JSON.stringify(A)}" of type "${c.type.className}" for object "${d}".`)}}return p}function serializeCompositeType(i,c,d,p,A,S){if(getPolymorphicDiscriminatorRecursively(i,c)){c=getPolymorphicMapper(i,c,d,"clientName")}if(d!==undefined&&d!==null){const v={};const _=resolveModelProperties(i,c,p);for(const T of Object.keys(_)){const V=_[T];if(V.readOnly){continue}let Z;let ee=v;if(i.isXML){if(V.xmlIsWrapped){Z=V.xmlName}else{Z=V.xmlElementName||V.xmlName}}else{const i=splitSerializeName(V.serializedName);Z=i.pop();for(const c of i){const i=ee[c];if((i===undefined||i===null)&&(d[T]!==undefined&&d[T]!==null||V.defaultValue!==undefined)){ee[c]={}}ee=ee[c]}}if(ee!==undefined&&ee!==null){if(A&&c.xmlNamespace){const i=c.xmlNamespacePrefix?`xmlns:${c.xmlNamespacePrefix}`:"xmlns";ee[C.XML_ATTRKEY]={...ee[C.XML_ATTRKEY],[i]:c.xmlNamespace}}const v=V.serializedName!==""?p+"."+V.serializedName:p;let _=d[T];const te=getPolymorphicDiscriminatorRecursively(i,c);if(te&&te.clientName===T&&(_===undefined||_===null)){_=c.serializedName}const re=i.serialize(V,_,v,S);if(re!==undefined&&Z!==undefined&&Z!==null){const i=getXmlObjectValue(V,re,A,S);if(A&&V.xmlIsAttribute){ee[C.XML_ATTRKEY]=ee[C.XML_ATTRKEY]||{};ee[C.XML_ATTRKEY][Z]=re}else if(A&&V.xmlIsWrapped){ee[Z]={[V.xmlElementName]:i}}else{ee[Z]=i}}}}const T=resolveAdditionalProperties(i,c,p);if(T){const c=Object.keys(_);for(const A in d){const C=c.every((i=>i!==A));if(C){v[A]=i.serialize(T,d[A],p+'["'+A+'"]',S)}}}return v}return d}function getXmlObjectValue(i,c,d,p){if(!d||!i.xmlNamespace){return c}const A=i.xmlNamespacePrefix?`xmlns:${i.xmlNamespacePrefix}`:"xmlns";const S={[A]:i.xmlNamespace};if(["Composite"].includes(i.type.name)){if(c[C.XML_ATTRKEY]){return c}else{const i={...c};i[C.XML_ATTRKEY]=S;return i}}const v={};v[p.xml.xmlCharKey]=c;v[C.XML_ATTRKEY]=S;return v}function isSpecialXmlProperty(i,c){return[C.XML_ATTRKEY,c.xml.xmlCharKey].includes(i)}function deserializeCompositeType(i,c,d,p,A){const S=A.xml.xmlCharKey??C.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(i,c)){c=getPolymorphicMapper(i,c,d,"serializedName")}const v=resolveModelProperties(i,c,p);let _={};const T=[];for(const V of Object.keys(v)){const Z=v[V];const ee=splitSerializeName(v[V].serializedName);T.push(ee[0]);const{serializedName:te,xmlName:re,xmlElementName:ne}=Z;let ie=p;if(te!==""&&te!==undefined){ie=p+"."+te}const se=Z.headerCollectionPrefix;if(se){const c={};for(const p of Object.keys(d)){if(p.startsWith(se)){c[p.substring(se.length)]=i.deserialize(Z.type.value,d[p],ie,A)}T.push(p)}_[V]=c}else if(i.isXML){if(Z.xmlIsAttribute&&d[C.XML_ATTRKEY]){_[V]=i.deserialize(Z,d[C.XML_ATTRKEY][re],ie,A)}else if(Z.xmlIsMsText){if(d[S]!==undefined){_[V]=d[S]}else if(typeof d==="string"){_[V]=d}}else{const c=ne||re||te;if(Z.xmlIsWrapped){const c=d[re];const p=c?.[ne]??[];_[V]=i.deserialize(Z,p,ie,A);T.push(re)}else{const p=d[c];_[V]=i.deserialize(Z,p,ie,A);T.push(c)}}}else{let p;let C=d;let S=0;for(const i of ee){if(!C)break;S++;C=C[i]}if(C===null&&S<ee.length){C=undefined}p=C;const T=c.type.polymorphicDiscriminator;if(T&&V===T.clientName&&(p===undefined||p===null)){p=c.serializedName}let te;if(Array.isArray(d[V])&&v[V].serializedName===""){p=d[V];const c=i.deserialize(Z,p,ie,A);for(const[i,d]of Object.entries(_)){if(!Object.prototype.hasOwnProperty.call(c,i)){c[i]=d}}_=c}else if(p!==undefined||Z.defaultValue!==undefined){te=i.deserialize(Z,p,ie,A);_[V]=te}}}const V=c.type.additionalProperties;if(V){const isAdditionalProperty=i=>{for(const c in v){const d=splitSerializeName(v[c].serializedName);if(d[0]===i){return false}}return true};for(const c in d){if(isAdditionalProperty(c)){_[c]=i.deserialize(V,d[c],p+'["'+c+'"]',A)}}}else if(d&&!A.ignoreUnknownProperties){for(const i of Object.keys(d)){if(_[i]===undefined&&!T.includes(i)&&!isSpecialXmlProperty(i,A)){_[i]=d[i]}}}return _}function deserializeDictionaryType(i,c,d,p,A){const C=c.type.value;if(!C||typeof C!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${p}`)}if(d){const c={};for(const S of Object.keys(d)){c[S]=i.deserialize(C,d[S],p,A)}return c}return d}function deserializeSequenceType(i,c,d,p,A){let C=c.type.element;if(!C||typeof C!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${p}`)}if(d){if(!Array.isArray(d)){d=[d]}if(C.type.name==="Composite"&&C.type.className){C=i.modelMappers[C.type.className]??C}const c=[];for(let S=0;S<d.length;S++){c[S]=i.deserialize(C,d[S],`${p}[${S}]`,A)}return c}return d}function getIndexDiscriminator(i,c,d){const p=[d];while(p.length){const d=p.shift();const A=c===d?c:d+"."+c;if(Object.prototype.hasOwnProperty.call(i,A)){return i[A]}else{for(const[c,A]of Object.entries(i)){if(c.startsWith(d+".")&&A.type.uberParent===d&&A.type.className){p.push(A.type.className)}}}}return undefined}function getPolymorphicMapper(i,c,d,p){const A=getPolymorphicDiscriminatorRecursively(i,c);if(A){let C=A[p];if(C){if(p==="serializedName"){C=C.replace(/\\/gi,"")}const A=d[C];const S=c.type.uberParent??c.type.className;if(typeof A==="string"&&S){const d=getIndexDiscriminator(i.modelMappers.discriminators,A,S);if(d){c=d}}}}return c}function getPolymorphicDiscriminatorRecursively(i,c){return c.type.polymorphicDiscriminator||getPolymorphicDiscriminatorSafely(i,c.type.uberParent)||getPolymorphicDiscriminatorSafely(i,c.type.className)}function getPolymorphicDiscriminatorSafely(i,c){return c&&i.modelMappers[c]&&i.modelMappers[c].type.polymorphicDiscriminator}c.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"}},89544:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServiceClient=void 0;const p=d(20778);const A=d(74136);const C=d(31193);const S=d(26323);const v=d(19688);const _=d(61752);const T=d(92066);const V=d(89994);class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(i={}){this._requestContentType=i.requestContentType;this._endpoint=i.endpoint??i.baseUri;if(i.baseUri){V.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=i.allowInsecureConnection;this._httpClient=i.httpClient||(0,S.getCachedDefaultHttpClient)();this.pipeline=i.pipeline||createDefaultPipeline(i);if(i.additionalPolicies?.length){for(const{policy:c,position:d}of i.additionalPolicies){const i=d==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(c,{afterPhase:i})}}}async sendRequest(i){return this.pipeline.sendRequest(this._httpClient,i)}async sendOperationRequest(i,c){const d=c.baseUrl||this._endpoint;if(!d){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 A=(0,_.getRequestUrl)(d,c,i,this);const S=(0,p.createPipelineRequest)({url:A});S.method=c.httpMethod;const V=(0,v.getOperationRequestInfo)(S);V.operationSpec=c;V.operationArguments=i;const Z=c.contentType||this._requestContentType;if(Z&&c.requestBody){S.headers.set("Content-Type",Z)}const ee=i.options;if(ee){const i=ee.requestOptions;if(i){if(i.timeout){S.timeout=i.timeout}if(i.onUploadProgress){S.onUploadProgress=i.onUploadProgress}if(i.onDownloadProgress){S.onDownloadProgress=i.onDownloadProgress}if(i.shouldDeserialize!==undefined){V.shouldDeserialize=i.shouldDeserialize}if(i.allowInsecureConnection){S.allowInsecureConnection=true}}if(ee.abortSignal){S.abortSignal=ee.abortSignal}if(ee.tracingOptions){S.tracingOptions=ee.tracingOptions}}if(this._allowInsecureConnection){S.allowInsecureConnection=true}if(S.streamResponseStatusCodes===undefined){S.streamResponseStatusCodes=(0,T.getStreamingResponseStatusCodes)(c)}try{const i=await this.sendRequest(S);const d=(0,C.flattenResponse)(i,c.responses[i.status]);if(ee?.onResponse){ee.onResponse(i,d)}return d}catch(i){if(typeof i==="object"&&i?.response){const d=i.response;const p=(0,C.flattenResponse)(d,c.responses[i.statusCode]||c.responses["default"]);i.details=p;if(ee?.onResponse){ee.onResponse(d,p,i)}}throw i}}}c.ServiceClient=ServiceClient;function createDefaultPipeline(i){const c=getCredentialScopes(i);const d=i.credential&&c?{credentialScopes:c,credential:i.credential}:undefined;return(0,A.createClientPipeline)({...i,credentialOptions:d})}function getCredentialScopes(i){if(i.credentialScopes){return i.credentialScopes}if(i.endpoint){return`${i.endpoint}/.default`}if(i.baseUri){return`${i.baseUri}/.default`}if(i.credential&&!i.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},33345:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.state=void 0;c.state={operationRequestMap:new WeakMap}},61752:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getRequestUrl=getRequestUrl;c.appendQueryParams=appendQueryParams;const p=d(19688);const A=d(92066);const C={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(i,c,d,p){const A=calculateUrlReplacements(c,d,p);let C=false;let S=replaceAll(i,A);if(c.path){let i=replaceAll(c.path,A);if(c.path==="/{nextLink}"&&i.startsWith("/")){i=i.substring(1)}if(isAbsoluteUrl(i)){S=i;C=true}else{S=appendPath(S,i)}}const{queryParams:v,sequenceParams:_}=calculateQueryParameters(c,d,p);S=appendQueryParams(S,v,_,C);return S}function replaceAll(i,c){let d=i;for(const[i,p]of c){d=d.split(i).join(p)}return d}function calculateUrlReplacements(i,c,d){const C=new Map;if(i.urlParameters?.length){for(const S of i.urlParameters){let v=(0,p.getOperationArgumentValueFromParameter)(c,S,d);const _=(0,A.getPathStringFromParameter)(S);v=i.serializer.serialize(S.mapper,v,_);if(!S.skipEncoding){v=encodeURIComponent(v)}C.set(`{${S.mapper.serializedName||_}}`,v)}}return C}function isAbsoluteUrl(i){return i.includes("://")}function appendPath(i,c){if(!c){return i}const d=new URL(i);let p=d.pathname;if(!p.endsWith("/")){p=`${p}/`}if(c.startsWith("/")){c=c.substring(1)}const A=c.indexOf("?");if(A!==-1){const i=c.substring(0,A);const C=c.substring(A+1);p=p+i;if(C){d.search=d.search?`${d.search}&${C}`:C}}else{p=p+c}d.pathname=p;return d.toString()}function calculateQueryParameters(i,c,d){const S=new Map;const v=new Set;if(i.queryParameters?.length){for(const _ of i.queryParameters){if(_.mapper.type.name==="Sequence"&&_.mapper.serializedName){v.add(_.mapper.serializedName)}let T=(0,p.getOperationArgumentValueFromParameter)(c,_,d);if(T!==undefined&&T!==null||_.mapper.required){T=i.serializer.serialize(_.mapper,T,(0,A.getPathStringFromParameter)(_));const c=_.collectionFormat?C[_.collectionFormat]:"";if(Array.isArray(T)){T=T.map((i=>{if(i===null||i===undefined){return""}return i}))}if(_.collectionFormat==="Multi"&&T.length===0){continue}else if(Array.isArray(T)&&(_.collectionFormat==="SSV"||_.collectionFormat==="TSV")){T=T.join(c)}if(!_.skipEncoding){if(Array.isArray(T)){T=T.map((i=>encodeURIComponent(i)))}else{T=encodeURIComponent(T)}}if(Array.isArray(T)&&(_.collectionFormat==="CSV"||_.collectionFormat==="Pipes")){T=T.join(c)}S.set(_.mapper.serializedName||(0,A.getPathStringFromParameter)(_),T)}}}return{queryParams:S,sequenceParams:v}}function simpleParseQueryParams(i){const c=new Map;if(!i||i[0]!=="?"){return c}i=i.slice(1);const d=i.split("&");for(const i of d){const[d,p]=i.split("=",2);const A=c.get(d);if(A){if(Array.isArray(A)){A.push(p)}else{c.set(d,[A,p])}}else{c.set(d,p)}}return c}function appendQueryParams(i,c,d,p=false){if(c.size===0){return i}const A=new URL(i);const C=simpleParseQueryParams(A.search);for(const[i,A]of c){const c=C.get(i);if(Array.isArray(c)){if(Array.isArray(A)){c.push(...A);const d=new Set(c);C.set(i,Array.from(d))}else{c.push(A)}}else if(c){if(Array.isArray(A)){A.unshift(c)}else if(d.has(i)){C.set(i,[c,A])}if(!p){C.set(i,A)}}else{C.set(i,A)}}const S=[];for(const[i,c]of C){if(typeof c==="string"){S.push(`${i}=${c}`)}else if(Array.isArray(c)){for(const d of c){S.push(`${i}=${d}`)}}else{S.push(`${i}=${c}`)}}A.search=S.length?`?${S.join("&")}`:"";return A.toString()}},31193:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isPrimitiveBody=isPrimitiveBody;c.isDuration=isDuration;c.isValidUuid=isValidUuid;c.flattenResponse=flattenResponse;function isPrimitiveBody(i,c){return c!=="Composite"&&c!=="Dictionary"&&(typeof i==="string"||typeof i==="number"||typeof i==="boolean"||c?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||i===undefined||i===null)}const d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function isDuration(i){return d.test(i)}const p=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function isValidUuid(i){return p.test(i)}function handleNullableResponseAndWrappableBody(i){const c={...i.headers,...i.body};if(i.hasNullableType&&Object.getOwnPropertyNames(c).length===0){return i.shouldWrapBody?{body:null}:null}else{return i.shouldWrapBody?{...i.headers,body:i.body}:c}}function flattenResponse(i,c){const d=i.parsedHeaders;if(i.request.method==="HEAD"){return{...d,body:i.parsedBody}}const p=c&&c.bodyMapper;const A=Boolean(p?.nullable);const C=p?.type.name;if(C==="Stream"){return{...d,blobBody:i.blobBody,readableStreamBody:i.readableStreamBody}}const S=C==="Composite"&&p.type.modelProperties||{};const v=Object.keys(S).some((i=>S[i].serializedName===""));if(C==="Sequence"||v){const c=i.parsedBody??[];for(const d of Object.keys(S)){if(S[d].serializedName){c[d]=i.parsedBody?.[d]}}if(d){for(const i of Object.keys(d)){c[i]=d[i]}}return A&&!i.parsedBody&&!d&&Object.getOwnPropertyNames(S).length===0?null:c}return handleNullableResponseAndWrappableBody({body:i.parsedBody,headers:d,hasNullableType:A,shouldWrapBody:isPrimitiveBody(i.parsedBody,C)})}},95492:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ExtendedServiceClient=void 0;const p=d(32639);const A=d(20778);const C=d(60160);const S=d(38153);class ExtendedServiceClient extends C.ServiceClient{constructor(i){super(i);if(i.keepAliveOptions?.enable===false&&!(0,p.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,p.createDisableKeepAlivePolicy)())}if(i.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:A.redirectPolicyName})}}async sendOperationRequest(i,c){const d=i?.options?.onResponse;let p;function onResponse(i,c,A){p=i;if(d){d(i,c,A)}}i.options={...i.options,onResponse:onResponse};const A=await super.sendOperationRequest(i,c);if(p){Object.defineProperty(A,"_response",{value:(0,S.toCompatResponse)(p)})}return A}}c.ExtendedServiceClient=ExtendedServiceClient},2078:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.convertHttpClient=convertHttpClient;const p=d(38153);const A=d(33850);function convertHttpClient(i){return{sendRequest:async c=>{const d=await i.sendRequest((0,A.toWebResourceLike)(c,{createProxy:true}));return(0,p.toPipelineResponse)(d)}}}},61584:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.toHttpHeadersLike=c.convertHttpClient=c.disableKeepAlivePolicyName=c.HttpPipelineLogLevel=c.createRequestPolicyFactoryPolicy=c.requestPolicyFactoryPolicyName=c.ExtendedServiceClient=void 0;var p=d(95492);Object.defineProperty(c,"ExtendedServiceClient",{enumerable:true,get:function(){return p.ExtendedServiceClient}});var A=d(3466);Object.defineProperty(c,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return A.requestPolicyFactoryPolicyName}});Object.defineProperty(c,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return A.createRequestPolicyFactoryPolicy}});Object.defineProperty(c,"HttpPipelineLogLevel",{enumerable:true,get:function(){return A.HttpPipelineLogLevel}});var C=d(32639);Object.defineProperty(c,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return C.disableKeepAlivePolicyName}});var S=d(2078);Object.defineProperty(c,"convertHttpClient",{enumerable:true,get:function(){return S.convertHttpClient}});var v=d(33850);Object.defineProperty(c,"toHttpHeadersLike",{enumerable:true,get:function(){return v.toHttpHeadersLike}})},32639:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.disableKeepAlivePolicyName=void 0;c.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;c.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy;c.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:c.disableKeepAlivePolicyName,async sendRequest(i,c){i.disableKeepAlive=true;return c(i)}}}function pipelineContainsDisableKeepAlivePolicy(i){return i.getOrderedPolicies().some((i=>i.name===c.disableKeepAlivePolicyName))}},3466:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.requestPolicyFactoryPolicyName=c.HttpPipelineLogLevel=void 0;c.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy;const p=d(33850);const A=d(38153);var C;(function(i){i[i["ERROR"]=1]="ERROR";i[i["INFO"]=3]="INFO";i[i["OFF"]=0]="OFF";i[i["WARNING"]=2]="WARNING"})(C||(c.HttpPipelineLogLevel=C={}));const S={log(i,c){},shouldLog(i){return false}};c.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(i){const d=i.slice().reverse();return{name:c.requestPolicyFactoryPolicyName,async sendRequest(i,c){let C={async sendRequest(i){const d=await c((0,p.toPipelineRequest)(i));return(0,A.toCompatResponse)(d,{createProxy:true})}};for(const i of d){C=i.create(C,S)}const v=(0,p.toWebResourceLike)(i,{createProxy:true});const _=await C.sendRequest(v);return(0,A.toPipelineResponse)(_)}}}},38153:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.toCompatResponse=toCompatResponse;c.toPipelineResponse=toPipelineResponse;const p=d(20778);const A=d(33850);const C=Symbol("Original FullOperationResponse");function toCompatResponse(i,c){let d=(0,A.toWebResourceLike)(i.request);let p=(0,A.toHttpHeadersLike)(i.headers);if(c?.createProxy){return new Proxy(i,{get(c,A,S){if(A==="headers"){return p}else if(A==="request"){return d}else if(A===C){return i}return Reflect.get(c,A,S)},set(i,c,A,C){if(c==="headers"){p=A}else if(c==="request"){d=A}return Reflect.set(i,c,A,C)}})}else{return{...i,request:d,headers:p}}}function toPipelineResponse(i){const c=i;const d=c[C];const S=(0,p.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(d){d.headers=S;return d}else{return{...i,headers:S,request:(0,A.toPipelineRequest)(i.request)}}}},33850:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.HttpHeaders=void 0;c.toPipelineRequest=toPipelineRequest;c.toWebResourceLike=toWebResourceLike;c.toHttpHeadersLike=toHttpHeadersLike;const p=d(20778);const A=Symbol("Original PipelineRequest");const C=Symbol.for("@azure/core-client original request");function toPipelineRequest(i,c={}){const d=i;const S=d[A];const v=(0,p.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(S){S.headers=v;return S}else{const d=(0,p.createPipelineRequest)({url:i.url,method:i.method,headers:v,withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,disableKeepAlive:!!i.keepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides});if(c.originalRequest){d[C]=c.originalRequest}return d}}function toWebResourceLike(i,c){const d=c?.originalRequest??i;const p={url:i.url,method:i.method,headers:toHttpHeadersLike(i.headers),withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.headers.get("x-ms-client-request-id")||i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,keepAlive:!!i.disableKeepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};if(c?.createProxy){return new Proxy(p,{get(c,C,S){if(C===A){return i}else if(C==="clone"){return()=>toWebResourceLike(toPipelineRequest(p,{originalRequest:d}),{createProxy:true,originalRequest:d})}return Reflect.get(c,C,S)},set(c,d,p,A){if(d==="keepAlive"){i.disableKeepAlive=!p}const C=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof d==="string"&&C.includes(d)){i[d]=p}return Reflect.set(c,d,p,A)}})}else{return p}}function toHttpHeadersLike(i){return new HttpHeaders(i.toJSON({preserveCase:true}))}function getHeaderKey(i){return i.toLowerCase()}class HttpHeaders{_headersMap;constructor(i){this._headersMap={};if(i){for(const c in i){this.set(c,i[c])}}}set(i,c){this._headersMap[getHeaderKey(i)]={name:i,value:c.toString()}}get(i){const c=this._headersMap[getHeaderKey(i)];return!c?undefined:c.value}contains(i){return!!this._headersMap[getHeaderKey(i)]}remove(i){const c=this.contains(i);delete this._headersMap[getHeaderKey(i)];return c}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const i=[];for(const c in this._headersMap){i.push(this._headersMap[c])}return i}headerNames(){const i=[];const c=this.headersArray();for(let d=0;d<c.length;++d){i.push(c[d].name)}return i}headerValues(){const i=[];const c=this.headersArray();for(let d=0;d<c.length;++d){i.push(c[d].value)}return i}toJson(i={}){const c={};if(i.preserveCase){for(const i in this._headersMap){const d=this._headersMap[i];c[d.name]=d.value}}else{for(const i in this._headersMap){const d=this._headersMap[i];c[getHeaderKey(d.name)]=d.value}}return c}toString(){return JSON.stringify(this.toJson({preserveCase:true}))}clone(){const i={};for(const c in this._headersMap){const d=this._headersMap[c];i[d.name]=d.value}return new HttpHeaders(i)}}c.HttpHeaders=HttpHeaders},66427:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.DEFAULT_RETRY_POLICY_COUNT=c.SDK_VERSION=void 0;c.SDK_VERSION="1.22.2";c.DEFAULT_RETRY_POLICY_COUNT=3},90862:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createPipelineFromOptions=createPipelineFromOptions;const p=d(53253);const A=d(29590);const C=d(64087);const S=d(32799);const v=d(45807);const _=d(39295);const T=d(48170);const V=d(75497);const Z=d(87779);const ee=d(32815);const te=d(95686);const re=d(18554);const ne=d(75798);const ie=d(93237);const se=d(37466);function createPipelineFromOptions(i){const c=(0,A.createEmptyPipeline)();if(Z.isNodeLike){if(i.agent){c.addPolicy((0,re.agentPolicy)(i.agent))}if(i.tlsOptions){c.addPolicy((0,ne.tlsPolicy)(i.tlsOptions))}c.addPolicy((0,ee.proxyPolicy)(i.proxyOptions));c.addPolicy((0,_.decompressResponsePolicy)())}c.addPolicy((0,se.wrapAbortSignalLikePolicy)());c.addPolicy((0,V.formDataPolicy)(),{beforePolicies:[v.multipartPolicyName]});c.addPolicy((0,S.userAgentPolicy)(i.userAgentOptions));c.addPolicy((0,te.setClientRequestIdPolicy)(i.telemetryOptions?.clientRequestIdHeaderName));c.addPolicy((0,v.multipartPolicy)(),{afterPhase:"Deserialize"});c.addPolicy((0,T.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});c.addPolicy((0,ie.tracingPolicy)({...i.userAgentOptions,...i.loggingOptions}),{afterPhase:"Retry"});if(Z.isNodeLike){c.addPolicy((0,C.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}c.addPolicy((0,p.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return c}},7960:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createDefaultHttpClient=createDefaultHttpClient;const p=d(41958);const A=d(91297);function createDefaultHttpClient(){const i=(0,p.createDefaultHttpClient)();return{async sendRequest(c){const{abortSignal:d,cleanup:p}=c.abortSignal?(0,A.wrapAbortSignalLike)(c.abortSignal):{};try{c.abortSignal=d;return await i.sendRequest(c)}finally{p?.()}}}}},192:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createHttpHeaders=createHttpHeaders;const p=d(41958);function createHttpHeaders(i){return(0,p.createHttpHeaders)(i)}},20778:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createFileFromStream=c.createFile=c.agentPolicyName=c.agentPolicy=c.auxiliaryAuthenticationHeaderPolicyName=c.auxiliaryAuthenticationHeaderPolicy=c.ndJsonPolicyName=c.ndJsonPolicy=c.bearerTokenAuthenticationPolicyName=c.bearerTokenAuthenticationPolicy=c.formDataPolicyName=c.formDataPolicy=c.tlsPolicyName=c.tlsPolicy=c.userAgentPolicyName=c.userAgentPolicy=c.defaultRetryPolicy=c.tracingPolicyName=c.tracingPolicy=c.retryPolicy=c.throttlingRetryPolicyName=c.throttlingRetryPolicy=c.systemErrorRetryPolicyName=c.systemErrorRetryPolicy=c.redirectPolicyName=c.redirectPolicy=c.getDefaultProxySettings=c.proxyPolicyName=c.proxyPolicy=c.multipartPolicyName=c.multipartPolicy=c.logPolicyName=c.logPolicy=c.setClientRequestIdPolicyName=c.setClientRequestIdPolicy=c.exponentialRetryPolicyName=c.exponentialRetryPolicy=c.decompressResponsePolicyName=c.decompressResponsePolicy=c.isRestError=c.RestError=c.createPipelineRequest=c.createHttpHeaders=c.createDefaultHttpClient=c.createPipelineFromOptions=c.createEmptyPipeline=void 0;var p=d(29590);Object.defineProperty(c,"createEmptyPipeline",{enumerable:true,get:function(){return p.createEmptyPipeline}});var A=d(90862);Object.defineProperty(c,"createPipelineFromOptions",{enumerable:true,get:function(){return A.createPipelineFromOptions}});var C=d(7960);Object.defineProperty(c,"createDefaultHttpClient",{enumerable:true,get:function(){return C.createDefaultHttpClient}});var S=d(192);Object.defineProperty(c,"createHttpHeaders",{enumerable:true,get:function(){return S.createHttpHeaders}});var v=d(95709);Object.defineProperty(c,"createPipelineRequest",{enumerable:true,get:function(){return v.createPipelineRequest}});var _=d(8666);Object.defineProperty(c,"RestError",{enumerable:true,get:function(){return _.RestError}});Object.defineProperty(c,"isRestError",{enumerable:true,get:function(){return _.isRestError}});var T=d(39295);Object.defineProperty(c,"decompressResponsePolicy",{enumerable:true,get:function(){return T.decompressResponsePolicy}});Object.defineProperty(c,"decompressResponsePolicyName",{enumerable:true,get:function(){return T.decompressResponsePolicyName}});var V=d(16708);Object.defineProperty(c,"exponentialRetryPolicy",{enumerable:true,get:function(){return V.exponentialRetryPolicy}});Object.defineProperty(c,"exponentialRetryPolicyName",{enumerable:true,get:function(){return V.exponentialRetryPolicyName}});var Z=d(95686);Object.defineProperty(c,"setClientRequestIdPolicy",{enumerable:true,get:function(){return Z.setClientRequestIdPolicy}});Object.defineProperty(c,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return Z.setClientRequestIdPolicyName}});var ee=d(53253);Object.defineProperty(c,"logPolicy",{enumerable:true,get:function(){return ee.logPolicy}});Object.defineProperty(c,"logPolicyName",{enumerable:true,get:function(){return ee.logPolicyName}});var te=d(45807);Object.defineProperty(c,"multipartPolicy",{enumerable:true,get:function(){return te.multipartPolicy}});Object.defineProperty(c,"multipartPolicyName",{enumerable:true,get:function(){return te.multipartPolicyName}});var re=d(32815);Object.defineProperty(c,"proxyPolicy",{enumerable:true,get:function(){return re.proxyPolicy}});Object.defineProperty(c,"proxyPolicyName",{enumerable:true,get:function(){return re.proxyPolicyName}});Object.defineProperty(c,"getDefaultProxySettings",{enumerable:true,get:function(){return re.getDefaultProxySettings}});var ne=d(64087);Object.defineProperty(c,"redirectPolicy",{enumerable:true,get:function(){return ne.redirectPolicy}});Object.defineProperty(c,"redirectPolicyName",{enumerable:true,get:function(){return ne.redirectPolicyName}});var ie=d(96518);Object.defineProperty(c,"systemErrorRetryPolicy",{enumerable:true,get:function(){return ie.systemErrorRetryPolicy}});Object.defineProperty(c,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return ie.systemErrorRetryPolicyName}});var se=d(97540);Object.defineProperty(c,"throttlingRetryPolicy",{enumerable:true,get:function(){return se.throttlingRetryPolicy}});Object.defineProperty(c,"throttlingRetryPolicyName",{enumerable:true,get:function(){return se.throttlingRetryPolicyName}});var oe=d(56085);Object.defineProperty(c,"retryPolicy",{enumerable:true,get:function(){return oe.retryPolicy}});var ae=d(93237);Object.defineProperty(c,"tracingPolicy",{enumerable:true,get:function(){return ae.tracingPolicy}});Object.defineProperty(c,"tracingPolicyName",{enumerable:true,get:function(){return ae.tracingPolicyName}});var le=d(48170);Object.defineProperty(c,"defaultRetryPolicy",{enumerable:true,get:function(){return le.defaultRetryPolicy}});var ce=d(32799);Object.defineProperty(c,"userAgentPolicy",{enumerable:true,get:function(){return ce.userAgentPolicy}});Object.defineProperty(c,"userAgentPolicyName",{enumerable:true,get:function(){return ce.userAgentPolicyName}});var ue=d(75798);Object.defineProperty(c,"tlsPolicy",{enumerable:true,get:function(){return ue.tlsPolicy}});Object.defineProperty(c,"tlsPolicyName",{enumerable:true,get:function(){return ue.tlsPolicyName}});var de=d(75497);Object.defineProperty(c,"formDataPolicy",{enumerable:true,get:function(){return de.formDataPolicy}});Object.defineProperty(c,"formDataPolicyName",{enumerable:true,get:function(){return de.formDataPolicyName}});var fe=d(26925);Object.defineProperty(c,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return fe.bearerTokenAuthenticationPolicy}});Object.defineProperty(c,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return fe.bearerTokenAuthenticationPolicyName}});var pe=d(36827);Object.defineProperty(c,"ndJsonPolicy",{enumerable:true,get:function(){return pe.ndJsonPolicy}});Object.defineProperty(c,"ndJsonPolicyName",{enumerable:true,get:function(){return pe.ndJsonPolicyName}});var Ae=d(42262);Object.defineProperty(c,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return Ae.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(c,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return Ae.auxiliaryAuthenticationHeaderPolicyName}});var he=d(18554);Object.defineProperty(c,"agentPolicy",{enumerable:true,get:function(){return he.agentPolicy}});Object.defineProperty(c,"agentPolicyName",{enumerable:true,get:function(){return he.agentPolicyName}});var ge=d(97073);Object.defineProperty(c,"createFile",{enumerable:true,get:function(){return ge.createFile}});Object.defineProperty(c,"createFileFromStream",{enumerable:true,get:function(){return ge.createFileFromStream}})},80544:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logger=void 0;const p=d(26515);c.logger=(0,p.createClientLogger)("core-rest-pipeline")},29590:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createEmptyPipeline=createEmptyPipeline;const p=d(41958);function createEmptyPipeline(){return(0,p.createEmptyPipeline)()}},95709:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createPipelineRequest=createPipelineRequest;const p=d(41958);function createPipelineRequest(i){return(0,p.createPipelineRequest)(i)}},18554:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.agentPolicyName=void 0;c.agentPolicy=agentPolicy;const p=d(44960);c.agentPolicyName=p.agentPolicyName;function agentPolicy(i){return(0,p.agentPolicy)(i)}},42262:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.auxiliaryAuthenticationHeaderPolicyName=void 0;c.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const p=d(39202);const A=d(80544);c.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const C="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(i){const{scopes:c,getAccessToken:d,request:p}=i;const A={abortSignal:p.abortSignal,tracingOptions:p.tracingOptions};return(await d(c,A))?.token??""}function auxiliaryAuthenticationHeaderPolicy(i){const{credentials:d,scopes:S}=i;const v=i.logger||A.logger;const _=new WeakMap;return{name:c.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(i,A){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!d||d.length===0){v.info(`${c.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return A(i)}const T=[];for(const c of d){let d=_.get(c);if(!d){d=(0,p.createTokenCycler)(c);_.set(c,d)}T.push(sendAuthorizeRequest({scopes:Array.isArray(S)?S:[S],request:i,getAccessToken:d,logger:v}))}const V=(await Promise.all(T)).filter((i=>Boolean(i)));if(V.length===0){v.warning(`None of the auxiliary tokens are valid. ${C} header will not be set.`);return A(i)}i.headers.set(C,V.map((i=>`Bearer ${i}`)).join(", "));return A(i)}}}},26925:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.bearerTokenAuthenticationPolicyName=void 0;c.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;c.parseChallenges=parseChallenges;const p=d(39202);const A=d(80544);const C=d(8666);c.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(i,c){try{return[await c(i),undefined]}catch(i){if((0,C.isRestError)(i)&&i.response){return[i.response,i]}else{throw i}}}async function defaultAuthorizeRequest(i){const{scopes:c,getAccessToken:d,request:p}=i;const A={abortSignal:p.abortSignal,tracingOptions:p.tracingOptions,enableCae:true};const C=await d(c,A);if(C){i.request.headers.set("Authorization",`Bearer ${C.token}`)}}function isChallengeResponse(i){return i.status===401&&i.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(i,c){const{scopes:d}=i;const p=await i.getAccessToken(d,{enableCae:true,claims:c});if(!p){return false}i.request.headers.set("Authorization",`${p.tokenType??"Bearer"} ${p.token}`);return true}function bearerTokenAuthenticationPolicy(i){const{credential:d,scopes:C,challengeCallbacks:S}=i;const v=i.logger||A.logger;const _={authorizeRequest:S?.authorizeRequest?.bind(S)??defaultAuthorizeRequest,authorizeRequestOnChallenge:S?.authorizeRequestOnChallenge?.bind(S)};const T=d?(0,p.createTokenCycler)(d):()=>Promise.resolve(null);return{name:c.bearerTokenAuthenticationPolicyName,async sendRequest(i,c){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await _.authorizeRequest({scopes:Array.isArray(C)?C:[C],request:i,getAccessToken:T,logger:v});let d;let p;let A;[d,p]=await trySendRequest(i,c);if(isChallengeResponse(d)){let S=getCaeChallengeClaims(d.headers.get("WWW-Authenticate"));if(S){let _;try{_=atob(S)}catch(i){v.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${S}`);return d}A=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(C)?C:[C],response:d,request:i,getAccessToken:T,logger:v},_);if(A){[d,p]=await trySendRequest(i,c)}}else if(_.authorizeRequestOnChallenge){A=await _.authorizeRequestOnChallenge({scopes:Array.isArray(C)?C:[C],request:i,response:d,getAccessToken:T,logger:v});if(A){[d,p]=await trySendRequest(i,c)}if(isChallengeResponse(d)){S=getCaeChallengeClaims(d.headers.get("WWW-Authenticate"));if(S){let _;try{_=atob(S)}catch(i){v.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${S}`);return d}A=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(C)?C:[C],response:d,request:i,getAccessToken:T,logger:v},_);if(A){[d,p]=await trySendRequest(i,c)}}}}}if(p){throw p}else{return d}}}}function parseChallenges(i){const c=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const d=/(\w+)="([^"]*)"/g;const p=[];let A;while((A=c.exec(i))!==null){const i=A[1];const c=A[2];const C={};let S;while((S=d.exec(c))!==null){C[S[1]]=S[2]}p.push({scheme:i,params:C})}return p}function getCaeChallengeClaims(i){if(!i){return}const c=parseChallenges(i);return c.find((i=>i.scheme==="Bearer"&&i.params.claims&&i.params.error==="insufficient_claims"))?.params.claims}},39295:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.decompressResponsePolicyName=void 0;c.decompressResponsePolicy=decompressResponsePolicy;const p=d(44960);c.decompressResponsePolicyName=p.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,p.decompressResponsePolicy)()}},48170:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.defaultRetryPolicyName=void 0;c.defaultRetryPolicy=defaultRetryPolicy;const p=d(44960);c.defaultRetryPolicyName=p.defaultRetryPolicyName;function defaultRetryPolicy(i={}){return(0,p.defaultRetryPolicy)(i)}},16708:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.exponentialRetryPolicyName=void 0;c.exponentialRetryPolicy=exponentialRetryPolicy;const p=d(44960);c.exponentialRetryPolicyName=p.exponentialRetryPolicyName;function exponentialRetryPolicy(i={}){return(0,p.exponentialRetryPolicy)(i)}},75497:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.formDataPolicyName=void 0;c.formDataPolicy=formDataPolicy;const p=d(44960);c.formDataPolicyName=p.formDataPolicyName;function formDataPolicy(){return(0,p.formDataPolicy)()}},53253:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logPolicyName=void 0;c.logPolicy=logPolicy;const p=d(80544);const A=d(44960);c.logPolicyName=A.logPolicyName;function logPolicy(i={}){return(0,A.logPolicy)({logger:p.logger.info,...i})}},45807:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.multipartPolicyName=void 0;c.multipartPolicy=multipartPolicy;const p=d(44960);const A=d(97073);c.multipartPolicyName=p.multipartPolicyName;function multipartPolicy(){const i=(0,p.multipartPolicy)();return{name:c.multipartPolicyName,sendRequest:async(c,d)=>{if(c.multipartBody){for(const i of c.multipartBody.parts){if((0,A.hasRawContent)(i.body)){i.body=(0,A.getRawContent)(i.body)}}}return i.sendRequest(c,d)}}}},36827:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ndJsonPolicyName=void 0;c.ndJsonPolicy=ndJsonPolicy;c.ndJsonPolicyName="ndJsonPolicy";function ndJsonPolicy(){return{name:c.ndJsonPolicyName,async sendRequest(i,c){if(typeof i.body==="string"&&i.body.startsWith("[")){const c=JSON.parse(i.body);if(Array.isArray(c)){i.body=c.map((i=>JSON.stringify(i)+"\n")).join("")}}return c(i)}}}},32815:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.proxyPolicyName=void 0;c.getDefaultProxySettings=getDefaultProxySettings;c.proxyPolicy=proxyPolicy;const p=d(44960);c.proxyPolicyName=p.proxyPolicyName;function getDefaultProxySettings(i){return(0,p.getDefaultProxySettings)(i)}function proxyPolicy(i,c){return(0,p.proxyPolicy)(i,c)}},64087:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.redirectPolicyName=void 0;c.redirectPolicy=redirectPolicy;const p=d(44960);c.redirectPolicyName=p.redirectPolicyName;function redirectPolicy(i={}){return(0,p.redirectPolicy)(i)}},56085:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.retryPolicy=retryPolicy;const p=d(26515);const A=d(66427);const C=d(44960);const S=(0,p.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(i,c={maxRetries:A.DEFAULT_RETRY_POLICY_COUNT}){return(0,C.retryPolicy)(i,{logger:S,...c})}},95686:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.setClientRequestIdPolicyName=void 0;c.setClientRequestIdPolicy=setClientRequestIdPolicy;c.setClientRequestIdPolicyName="setClientRequestIdPolicy";function setClientRequestIdPolicy(i="x-ms-client-request-id"){return{name:c.setClientRequestIdPolicyName,async sendRequest(c,d){if(!c.headers.has(i)){c.headers.set(i,c.requestId)}return d(c)}}}},96518:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.systemErrorRetryPolicyName=void 0;c.systemErrorRetryPolicy=systemErrorRetryPolicy;const p=d(44960);c.systemErrorRetryPolicyName=p.systemErrorRetryPolicyName;function systemErrorRetryPolicy(i={}){return(0,p.systemErrorRetryPolicy)(i)}},97540:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.throttlingRetryPolicyName=void 0;c.throttlingRetryPolicy=throttlingRetryPolicy;const p=d(44960);c.throttlingRetryPolicyName=p.throttlingRetryPolicyName;function throttlingRetryPolicy(i={}){return(0,p.throttlingRetryPolicy)(i)}},75798:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.tlsPolicyName=void 0;c.tlsPolicy=tlsPolicy;const p=d(44960);c.tlsPolicyName=p.tlsPolicyName;function tlsPolicy(i){return(0,p.tlsPolicy)(i)}},93237:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.tracingPolicyName=void 0;c.tracingPolicy=tracingPolicy;const p=d(20623);const A=d(66427);const C=d(28431);const S=d(80544);const v=d(87779);const _=d(8666);const T=d(95750);c.tracingPolicyName="tracingPolicy";function tracingPolicy(i={}){const d=(0,C.getUserAgentValue)(i.userAgentPrefix);const p=new T.Sanitizer({additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});const A=tryCreateTracingClient();return{name:c.tracingPolicyName,async sendRequest(i,c){if(!A){return c(i)}const C=await d;const S={"http.url":p.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":C,requestId:i.requestId};if(C){S["http.user_agent"]=C}const{span:v,tracingContext:_}=tryCreateSpan(A,i,S)??{};if(!v||!_){return c(i)}try{const d=await A.withContext(_,c,i);tryProcessResponse(v,d);return d}catch(i){tryProcessError(v,i);throw i}}}}function tryCreateTracingClient(){try{return(0,p.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:A.SDK_VERSION})}catch(i){S.logger.warning(`Error when creating the TracingClient: ${(0,v.getErrorMessage)(i)}`);return undefined}}function tryCreateSpan(i,c,d){try{const{span:p,updatedOptions:A}=i.startSpan(`HTTP ${c.method}`,{tracingOptions:c.tracingOptions},{spanKind:"client",spanAttributes:d});if(!p.isRecording()){p.end();return undefined}const C=i.createRequestHeaders(A.tracingOptions.tracingContext);for(const[i,d]of Object.entries(C)){c.headers.set(i,d)}return{span:p,tracingContext:A.tracingOptions.tracingContext}}catch(i){S.logger.warning(`Skipping creating a tracing span due to an error: ${(0,v.getErrorMessage)(i)}`);return undefined}}function tryProcessError(i,c){try{i.setStatus({status:"error",error:(0,v.isError)(c)?c:undefined});if((0,_.isRestError)(c)&&c.statusCode){i.setAttribute("http.status_code",c.statusCode)}i.end()}catch(i){S.logger.warning(`Skipping tracing span processing due to an error: ${(0,v.getErrorMessage)(i)}`)}}function tryProcessResponse(i,c){try{i.setAttribute("http.status_code",c.status);const d=c.headers.get("x-ms-request-id");if(d){i.setAttribute("serviceRequestId",d)}if(c.status>=400){i.setStatus({status:"error"})}i.end()}catch(i){S.logger.warning(`Skipping tracing span processing due to an error: ${(0,v.getErrorMessage)(i)}`)}}},32799:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.userAgentPolicyName=void 0;c.userAgentPolicy=userAgentPolicy;const p=d(28431);const A=(0,p.getUserAgentHeaderName)();c.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(i={}){const d=(0,p.getUserAgentValue)(i.userAgentPrefix);return{name:c.userAgentPolicyName,async sendRequest(i,c){if(!i.headers.has(A)){i.headers.set(A,await d)}return c(i)}}}},37466:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.wrapAbortSignalLikePolicyName=void 0;c.wrapAbortSignalLikePolicy=wrapAbortSignalLikePolicy;const p=d(91297);c.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:c.wrapAbortSignalLikePolicyName,sendRequest:async(i,c)=>{if(!i.abortSignal){return c(i)}const{abortSignal:d,cleanup:A}=(0,p.wrapAbortSignalLike)(i.abortSignal);i.abortSignal=d;try{return await c(i)}finally{A?.()}}}}},8666:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RestError=void 0;c.isRestError=isRestError;const p=d(41958);c.RestError=p.RestError;function isRestError(i){return(0,p.isRestError)(i)}},97073:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.hasRawContent=hasRawContent;c.getRawContent=getRawContent;c.createFileFromStream=createFileFromStream;c.createFile=createFile;const p=d(87779);function isNodeReadableStream(i){return Boolean(i&&typeof i["pipe"]==="function")}const A={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 C=Symbol("rawContent");function hasRawContent(i){return typeof i[C]==="function"}function getRawContent(i){if(hasRawContent(i)){return i[C]()}else{return i}}function createFileFromStream(i,c,d={}){return{...A,type:d.type??"",lastModified:d.lastModified??(new Date).getTime(),webkitRelativePath:d.webkitRelativePath??"",size:d.size??-1,name:c,stream:()=>{const c=i();if(isNodeReadableStream(c)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return c},[C]:i}}function createFile(i,c,d={}){if(p.isNodeLike){return{...A,type:d.type??"",lastModified:d.lastModified??(new Date).getTime(),webkitRelativePath:d.webkitRelativePath??"",size:i.byteLength,name:c,arrayBuffer:async()=>i.buffer,stream:()=>new Blob([toArrayBuffer(i)]).stream(),[C]:()=>i}}else{return new File([toArrayBuffer(i)],c,d)}}function toArrayBuffer(i){if("resize"in i.buffer){return i}return i.map((i=>i))}},39202:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.DEFAULT_CYCLER_OPTIONS=void 0;c.createTokenCycler=createTokenCycler;const p=d(87779);c.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(i,c,d){async function tryGetAccessToken(){if(Date.now()<d){try{return await i()}catch{return null}}else{const c=await i();if(c===null){throw new Error("Failed to refresh access token.")}return c}}let A=await tryGetAccessToken();while(A===null){await(0,p.delay)(c);A=await tryGetAccessToken()}return A}function createTokenCycler(i,d){let p=null;let A=null;let C;const S={...c.DEFAULT_CYCLER_OPTIONS,...d};const v={get isRefreshing(){return p!==null},get shouldRefresh(){if(v.isRefreshing){return false}if(A?.refreshAfterTimestamp&&A.refreshAfterTimestamp<Date.now()){return true}return(A?.expiresOnTimestamp??0)-S.refreshWindowInMs<Date.now()},get mustRefresh(){return A===null||A.expiresOnTimestamp-S.forcedRefreshWindowInMs<Date.now()}};function refresh(c,d){if(!v.isRefreshing){const tryGetAccessToken=()=>i.getToken(c,d);p=beginRefresh(tryGetAccessToken,S.retryIntervalInMs,A?.expiresOnTimestamp??Date.now()).then((i=>{p=null;A=i;C=d.tenantId;return A})).catch((i=>{p=null;A=null;C=undefined;throw i}))}return p}return async(i,c)=>{const d=Boolean(c.claims);const p=C!==c.tenantId;if(d){A=null}const S=p||d||v.mustRefresh;if(S){return refresh(i,c)}if(v.shouldRefresh){refresh(i,c)}return A}}},28431:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getUserAgentHeaderName=getUserAgentHeaderName;c.getUserAgentValue=getUserAgentValue;const p=d(31848);const A=d(66427);function getUserAgentString(i){const c=[];for(const[d,p]of i){const i=p?`${d}/${p}`:d;c.push(i)}return c.join(" ")}function getUserAgentHeaderName(){return(0,p.getHeaderName)()}async function getUserAgentValue(i){const c=new Map;c.set("core-rest-pipeline",A.SDK_VERSION);await(0,p.setPlatformSpecificData)(c);const d=getUserAgentString(c);const C=i?`${i} ${d}`:d;return C}},31848:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getHeaderName=getHeaderName;c.setPlatformSpecificData=setPlatformSpecificData;const p=d(61860);const A=p.__importDefault(d(48161));const C=p.__importDefault(d(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(C.default&&C.default.versions){const c=`${A.default.type()} ${A.default.release()}; ${A.default.arch()}`;const d=C.default.versions;if(d.bun){i.set("Bun",`${d.bun} (${c})`)}else if(d.deno){i.set("Deno",`${d.deno} (${c})`)}else if(d.node){i.set("Node",`${d.node} (${c})`)}}}},91297:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.wrapAbortSignalLike=wrapAbortSignalLike;function wrapAbortSignalLike(i){if(i instanceof AbortSignal){return{abortSignal:i}}if(i.aborted){return{abortSignal:AbortSignal.abort(i.reason)}}const c=new AbortController;let d=true;function cleanup(){if(d){i.removeEventListener("abort",listener);d=false}}function listener(){c.abort(i.reason);cleanup()}i.addEventListener("abort",listener);return{abortSignal:c.signal,cleanup:cleanup}}},20623:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createTracingClient=c.useInstrumenter=void 0;var p=d(48729);Object.defineProperty(c,"useInstrumenter",{enumerable:true,get:function(){return p.useInstrumenter}});var A=d(93438);Object.defineProperty(c,"createTracingClient",{enumerable:true,get:function(){return A.createTracingClient}})},48729:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createDefaultTracingSpan=createDefaultTracingSpan;c.createDefaultInstrumenter=createDefaultInstrumenter;c.useInstrumenter=useInstrumenter;c.getInstrumenter=getInstrumenter;const p=d(79186);const A=d(38914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(i,c)=>({span:createDefaultTracingSpan(),tracingContext:(0,p.createTracingContext)({parentContext:c.tracingContext})}),withContext(i,c,...d){return c(...d)}}}function useInstrumenter(i){A.state.instrumenterImplementation=i}function getInstrumenter(){if(!A.state.instrumenterImplementation){A.state.instrumenterImplementation=createDefaultInstrumenter()}return A.state.instrumenterImplementation}},38914:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.state=void 0;c.state={instrumenterImplementation:undefined}},93438:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createTracingClient=createTracingClient;const p=d(48729);const A=d(79186);function createTracingClient(i){const{namespace:c,packageName:d,packageVersion:C}=i;function startSpan(i,S,v){const _=(0,p.getInstrumenter)().startSpan(i,{...v,packageName:d,packageVersion:C,tracingContext:S?.tracingOptions?.tracingContext});let T=_.tracingContext;const V=_.span;if(!T.getValue(A.knownContextKeys.namespace)){T=T.setValue(A.knownContextKeys.namespace,c)}V.setAttribute("az.namespace",T.getValue(A.knownContextKeys.namespace));const Z=Object.assign({},S,{tracingOptions:{...S?.tracingOptions,tracingContext:T}});return{span:V,updatedOptions:Z}}async function withSpan(i,c,d,p){const{span:A,updatedOptions:C}=startSpan(i,c,p);try{const i=await withContext(C.tracingOptions.tracingContext,(()=>Promise.resolve(d(C,A))));A.setStatus({status:"success"});return i}catch(i){A.setStatus({status:"error",error:i});throw i}finally{A.end()}}function withContext(i,c,...d){return(0,p.getInstrumenter)().withContext(i,c,...d)}function parseTraceparentHeader(i){return(0,p.getInstrumenter)().parseTraceparentHeader(i)}function createRequestHeaders(i){return(0,p.getInstrumenter)().createRequestHeaders(i)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},79186:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.TracingContextImpl=c.knownContextKeys=void 0;c.createTracingContext=createTracingContext;c.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(i={}){let d=new TracingContextImpl(i.parentContext);if(i.span){d=d.setValue(c.knownContextKeys.span,i.span)}if(i.namespace){d=d.setValue(c.knownContextKeys.namespace,i.namespace)}return d}class TracingContextImpl{_contextMap;constructor(i){this._contextMap=i instanceof TracingContextImpl?new Map(i._contextMap):new Map}setValue(i,c){const d=new TracingContextImpl(this);d._contextMap.set(i,c);return d}getValue(i){return this._contextMap.get(i)}deleteValue(i){const c=new TracingContextImpl(this);c._contextMap.delete(i);return c}}c.TracingContextImpl=TracingContextImpl},95209:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(i,c){const d=new AbortController;function abortHandler(){d.abort()}c?.abortSignal?.addEventListener("abort",abortHandler);try{return await Promise.race(i.map((i=>i({abortSignal:d.signal}))))}finally{d.abort();c?.abortSignal?.removeEventListener("abort",abortHandler)}}},63128:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createAbortablePromise=createAbortablePromise;const p=d(83134);function createAbortablePromise(i,c){const{cleanupBeforeAbort:d,abortSignal:A,abortErrorMsg:C}=c??{};return new Promise(((c,S)=>{function rejectOnAbort(){S(new p.AbortError(C??"The operation was aborted."))}function removeListeners(){A?.removeEventListener("abort",onAbort)}function onAbort(){d?.();removeListeners();rejectOnAbort()}if(A?.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();c(i)}),(i=>{removeListeners();S(i)}))}catch(i){S(i)}A?.addEventListener("abort",onAbort)}))}},90636:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.delay=delay;c.calculateRetryDelay=calculateRetryDelay;const p=d(63128);const A=d(95750);const C="The delay was aborted.";function delay(i,c){let d;const{abortSignal:A,abortErrorMsg:S}=c??{};return(0,p.createAbortablePromise)((c=>{d=setTimeout(c,i)}),{cleanupBeforeAbort:()=>clearTimeout(d),abortSignal:A,abortErrorMsg:S??C})}function calculateRetryDelay(i,c){const d=c.retryDelayInMs*Math.pow(2,i);const p=Math.min(c.maxRetryDelayInMs,d);const C=p/2+(0,A.getRandomIntegerInclusive)(0,p/2);return{retryAfterInMs:C}}},99945:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getErrorMessage=getErrorMessage;const p=d(95750);function getErrorMessage(i){if((0,p.isError)(i)){return i.message}else{let c;try{if(typeof i==="object"&&i){c=JSON.stringify(i)}else{c=String(i)}}catch(i){c="[unable to stringify input]"}return`Unknown error ${c}`}}},87779:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isWebWorker=c.isReactNative=c.isNodeRuntime=c.isNodeLike=c.isNode=c.isDeno=c.isBun=c.isBrowser=c.objectHasProperty=c.isObjectWithProperties=c.isDefined=c.getErrorMessage=c.delay=c.createAbortablePromise=c.cancelablePromiseRace=void 0;c.calculateRetryDelay=calculateRetryDelay;c.computeSha256Hash=computeSha256Hash;c.computeSha256Hmac=computeSha256Hmac;c.getRandomIntegerInclusive=getRandomIntegerInclusive;c.isError=isError;c.isObject=isObject;c.randomUUID=randomUUID;c.uint8ArrayToString=uint8ArrayToString;c.stringToUint8Array=stringToUint8Array;const p=d(61860);const A=p.__importStar(d(95750));var C=d(95209);Object.defineProperty(c,"cancelablePromiseRace",{enumerable:true,get:function(){return C.cancelablePromiseRace}});var S=d(63128);Object.defineProperty(c,"createAbortablePromise",{enumerable:true,get:function(){return S.createAbortablePromise}});var v=d(90636);Object.defineProperty(c,"delay",{enumerable:true,get:function(){return v.delay}});var _=d(99945);Object.defineProperty(c,"getErrorMessage",{enumerable:true,get:function(){return _.getErrorMessage}});var T=d(66277);Object.defineProperty(c,"isDefined",{enumerable:true,get:function(){return T.isDefined}});Object.defineProperty(c,"isObjectWithProperties",{enumerable:true,get:function(){return T.isObjectWithProperties}});Object.defineProperty(c,"objectHasProperty",{enumerable:true,get:function(){return T.objectHasProperty}});function calculateRetryDelay(i,c){return A.calculateRetryDelay(i,c)}function computeSha256Hash(i,c){return A.computeSha256Hash(i,c)}function computeSha256Hmac(i,c,d){return A.computeSha256Hmac(i,c,d)}function getRandomIntegerInclusive(i,c){return A.getRandomIntegerInclusive(i,c)}function isError(i){return A.isError(i)}function isObject(i){return A.isObject(i)}function randomUUID(){return A.randomUUID()}c.isBrowser=A.isBrowser;c.isBun=A.isBun;c.isDeno=A.isDeno;c.isNode=A.isNodeLike;c.isNodeLike=A.isNodeLike;c.isNodeRuntime=A.isNodeRuntime;c.isReactNative=A.isReactNative;c.isWebWorker=A.isWebWorker;function uint8ArrayToString(i,c){return A.uint8ArrayToString(i,c)}function stringToUint8Array(i,c){return A.stringToUint8Array(i,c)}},66277:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isDefined=isDefined;c.isObjectWithProperties=isObjectWithProperties;c.objectHasProperty=objectHasProperty;function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,c){if(!isDefined(i)||typeof i!=="object"){return false}for(const d of c){if(!objectHasProperty(i,d)){return false}}return true}function objectHasProperty(i,c){return isDefined(i)&&typeof i==="object"&&c in i}},78756:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.XML_CHARKEY=c.XML_ATTRKEY=c.parseXML=c.stringifyXML=void 0;var p=d(48133);Object.defineProperty(c,"stringifyXML",{enumerable:true,get:function(){return p.stringifyXML}});Object.defineProperty(c,"parseXML",{enumerable:true,get:function(){return p.parseXML}});var A=d(93406);Object.defineProperty(c,"XML_ATTRKEY",{enumerable:true,get:function(){return A.XML_ATTRKEY}});Object.defineProperty(c,"XML_CHARKEY",{enumerable:true,get:function(){return A.XML_CHARKEY}})},93406:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.XML_CHARKEY=c.XML_ATTRKEY=void 0;c.XML_ATTRKEY="$";c.XML_CHARKEY="_"},48133:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.stringifyXML=stringifyXML;c.parseXML=parseXML;const p=d(50591);const A=d(93406);function getCommonOptions(i){var c;return{attributesGroupName:A.XML_ATTRKEY,textNodeName:(c=i.xmlCharKey)!==null&&c!==void 0?c:A.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(i={}){var c,d;return Object.assign(Object.assign({},getCommonOptions(i)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(c=i.rootName)!==null&&c!==void 0?c:"root",cdataPropName:(d=i.cdataPropName)!==null&&d!==void 0?d:"__cdata"})}function getParserOptions(i={}){return Object.assign(Object.assign({},getCommonOptions(i)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:i.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(i,c={}){const d=getSerializerOptions(c);const A=new p.XMLBuilder(d);const C={[d.rootNodeName]:i};const S=A.build(C);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${S}`.replace(/\n/g,"")}async function parseXML(i,c={}){if(!i){throw new Error("Document is empty")}const d=p.XMLValidator.validate(i);if(d!==true){throw d}const A=new p.XMLParser(getParserOptions(c));const C=A.parse(i);if(C["?xml"]){delete C["?xml"]}if(!c.includeRoot){for(const i of Object.keys(C)){const c=C[i];return typeof c==="object"?Object.assign({},c):c}}return C}},26515:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AzureLogger=void 0;c.setLogLevel=setLogLevel;c.getLogLevel=getLogLevel;c.createClientLogger=createClientLogger;const p=d(82490);const A=(0,p.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});c.AzureLogger=A.logger;function setLogLevel(i){A.setLogLevel(i)}function getLogLevel(){return A.getLogLevel()}function createClientLogger(i){return A.createClientLogger(i)}},48175:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},41564:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BatchResponseParser=void 0;const p=d(20778);const A=d(61584);const C=d(27323);const S=d(72995);const v=d(46370);const _=": ";const T=" ";const V=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(i,c){if(!i||!i.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!c||c.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=i;this.subRequests=c;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${C.HTTP_LINE_ENDING}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==C.HTTPURLConnection.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const i=await(0,S.getBodyAsText)(this.batchResponse);const c=i.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const d=c.length;if(d!==this.subRequests.size&&d!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const Z=new Array(d);let ee=0;let te=0;for(let i=0;i<d;i++){const d=c[i];const S={};S.headers=(0,A.toHttpHeadersLike)((0,p.createHttpHeaders)());const re=d.split(`${C.HTTP_LINE_ENDING}`);let ne=false;let ie=false;let se=false;let oe=V;for(const i of re){if(!ne){if(i.startsWith(C.HeaderConstants.CONTENT_ID)){oe=parseInt(i.split(_)[1])}if(i.startsWith(C.HTTP_VERSION_1_1)){ne=true;const c=i.split(T);S.status=parseInt(c[1]);S.statusMessage=c.slice(2).join(T)}continue}if(i.trim()===""){if(!ie){ie=true}continue}if(!ie){if(i.indexOf(_)===-1){throw new Error(`Invalid state: find non-empty line '${i}' without HTTP header delimiter '${_}'.`)}const c=i.split(_);S.headers.set(c[0],c[1]);if(c[0]===C.HeaderConstants.X_MS_ERROR_CODE){S.errorCode=c[1];se=true}}else{if(!S.bodyAsText){S.bodyAsText=""}S.bodyAsText+=i}}if(oe!==V&&Number.isInteger(oe)&&oe>=0&&oe<this.subRequests.size&&Z[oe]===undefined){S._request=this.subRequests.get(oe);Z[oe]=S}else{v.logger.error(`subResponses[${i}] is dropped as the Content-ID is not found or invalid, Content-ID: ${oe}`)}if(se){te++}else{ee++}}return{subResponses:Z,subResponsesSucceededCount:ee,subResponsesFailedCount:te}}}c.BatchResponseParser=BatchResponseParser},72995:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getBodyAsText=getBodyAsText;c.utf8ByteLength=utf8ByteLength;const p=d(53563);const A=d(27323);async function getBodyAsText(i){let c=Buffer.alloc(A.BATCH_MAX_PAYLOAD_IN_BYTES);const d=await(0,p.streamToBuffer2)(i.readableStreamBody,c);c=c.slice(0,d);return c.toString()}function utf8ByteLength(i){return Buffer.byteLength(i)}},95561:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobBatch=void 0;const p=d(87779);const A=d(50417);const C=d(20778);const S=d(87779);const v=d(35345);const _=d(90372);const T=d(58913);const V=d(25984);const Z=d(47764);const ee=d(78756);const te=d(27323);const re=d(68999);const ne=d(53952);const ie=d(60160);const se=d(97999);class BlobBatch{batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(i,c){await T.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(i);await c();this.batchRequest.postAddSubRequest(i)}finally{await T.Mutex.unlock(this.batch)}}setBatchType(i){if(!this.batchType){this.batchType=i}if(this.batchType!==i){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(i,c,d){let p;let C;if(typeof i==="string"&&(S.isNodeLike&&c instanceof re.StorageSharedKeyCredential||c instanceof v.AnonymousCredential||(0,A.isTokenCredential)(c))){p=i;C=c}else if(i instanceof _.BlobClient){p=i.url;C=i.credential;d=c}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!d){d={}}return ne.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",d,(async i=>{this.setBatchType("delete");await this.addSubRequestInternal({url:p,credential:C},(async()=>{await new _.BlobClient(p,this.batchRequest.createPipeline(C)).delete(i)}))}))}async setBlobAccessTier(i,c,d,p){let C;let T;let V;if(typeof i==="string"&&(S.isNodeLike&&c instanceof re.StorageSharedKeyCredential||c instanceof v.AnonymousCredential||(0,A.isTokenCredential)(c))){C=i;T=c;V=d}else if(i instanceof _.BlobClient){C=i.url;T=i.credential;V=c;p=d}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!p){p={}}return ne.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",p,(async i=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:C,credential:T},(async()=>{await new _.BlobClient(C,this.batchRequest.createPipeline(T)).setAccessTier(V,i)}))}))}}c.BlobBatch=BlobBatch;class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const i=(0,p.randomUUID)();this.boundary=`batch_${i}`;this.subRequestPrefix=`--${this.boundary}${te.HTTP_LINE_ENDING}${te.HeaderConstants.CONTENT_TYPE}: application/http${te.HTTP_LINE_ENDING}${te.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(i){const c=(0,C.createEmptyPipeline)();c.addPolicy((0,ie.serializationPolicy)({stringifyXML:ee.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});c.addPolicy(batchHeaderFilterPolicy());c.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if((0,A.isTokenCredential)(i)){c.addPolicy((0,C.bearerTokenAuthenticationPolicy)({credential:i,scopes:te.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:ie.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(i instanceof re.StorageSharedKeyCredential){c.addPolicy((0,se.storageSharedKeyCredentialPolicy)({accountName:i.accountName,accountKey:i.accountKey}),{phase:"Sign"})}const d=new V.Pipeline([]);d._credential=i;d._corePipeline=c;return d}appendSubRequestToBody(i){this.body+=[this.subRequestPrefix,`${te.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${i.method.toString()} ${(0,Z.getURLPathAndQuery)(i.url)} ${te.HTTP_VERSION_1_1}${te.HTTP_LINE_ENDING}`].join(te.HTTP_LINE_ENDING);for(const[c,d]of i.headers){this.body+=`${c}: ${d}${te.HTTP_LINE_ENDING}`}this.body+=te.HTTP_LINE_ENDING}preAddSubRequest(i){if(this.operationCount>=te.BATCH_MAX_REQUEST){throw new RangeError(`Cannot exceed ${te.BATCH_MAX_REQUEST} sub requests in a single batch`)}const c=(0,Z.getURLPath)(i.url);if(!c||c===""){throw new RangeError(`Invalid url for sub request: '${i.url}'`)}}postAddSubRequest(i){this.subRequests.set(this.operationCount,i);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${te.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(i){return{name:"batchRequestAssemblePolicy",async sendRequest(c){i.appendSubRequestToBody(c);return{request:c,status:200,headers:(0,C.createHttpHeaders)()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(i,c){let d="";for(const[c]of i.headers){if((0,Z.iEqual)(c,te.HeaderConstants.X_MS_VERSION)){d=c}}if(d!==""){i.headers.delete(d)}return c(i)}}}},12094:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobBatchClient=void 0;const p=d(41564);const A=d(72995);const C=d(95561);const S=d(53952);const v=d(35345);const _=d(53789);const T=d(25984);const V=d(47764);class BlobBatchClient{serviceOrContainerContext;constructor(i,c,d){let p;if((0,T.isPipelineLike)(c)){p=c}else if(!c){p=(0,T.newPipeline)(new v.AnonymousCredential,d)}else{p=(0,T.newPipeline)(c,d)}const A=new _.StorageContextClient(i,(0,T.getCoreClientOptions)(p));const C=(0,V.getURLPath)(i);if(C&&C!=="/"){this.serviceOrContainerContext=A.container}else{this.serviceOrContainerContext=A.service}}createBatch(){return new C.BlobBatch}async deleteBlobs(i,c,d){const p=new C.BlobBatch;for(const A of i){if(typeof A==="string"){await p.deleteBlob(A,c,d)}else{await p.deleteBlob(A,c)}}return this.submitBatch(p)}async setBlobsAccessTier(i,c,d,p){const A=new C.BlobBatch;for(const C of i){if(typeof C==="string"){await A.setBlobAccessTier(C,c,d,p)}else{await A.setBlobAccessTier(C,c,d)}}return this.submitBatch(A)}async submitBatch(i,c={}){if(!i||i.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return S.tracingClient.withSpan("BlobBatchClient-submitBatch",c,(async c=>{const d=i.getHttpRequestBody();const C=(0,V.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,A.utf8ByteLength)(d),i.getMultiPartContentType(),d,{...c}));const S=new p.BatchResponseParser(C,i.getSubRequests());const v=await S.parseBatchResponse();const _={_response:C._response,contentType:C.contentType,errorCode:C.errorCode,requestId:C.requestId,clientRequestId:C.clientRequestId,version:C.version,subResponses:v.subResponses,subResponsesSucceededCount:v.subResponsesSucceededCount,subResponsesFailedCount:v.subResponsesFailedCount};return _}))}}c.BlobBatchClient=BlobBatchClient},4894:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobDownloadResponse=void 0;const p=d(87779);const A=d(98684);class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return p.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,c,d,p,C={}){this.originalResponse=i;this.blobDownloadStream=new A.RetriableReadableStream(this.originalResponse.readableStreamBody,c,d,p,C)}}c.BlobDownloadResponse=BlobDownloadResponse},23276:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobLeaseClient=void 0;const p=d(87779);const A=d(27323);const C=d(53952);const S=d(47764);class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(i,c){const d=i.storageClientContext;this._url=i.url;if(i.name===undefined){this._isContainer=true;this._containerOrBlobOperation=d.container}else{this._isContainer=false;this._containerOrBlobOperation=d.blob}if(!c){c=(0,p.randomUUID)()}this._leaseId=c}async acquireLease(i,c={}){if(this._isContainer&&(c.conditions?.ifMatch&&c.conditions?.ifMatch!==A.ETagNone||c.conditions?.ifNoneMatch&&c.conditions?.ifNoneMatch!==A.ETagNone||c.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 C.tracingClient.withSpan("BlobLeaseClient-acquireLease",c,(async d=>(0,S.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:c.abortSignal,duration:i,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:d.tracingOptions}))))}async changeLease(i,c={}){if(this._isContainer&&(c.conditions?.ifMatch&&c.conditions?.ifMatch!==A.ETagNone||c.conditions?.ifNoneMatch&&c.conditions?.ifNoneMatch!==A.ETagNone||c.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 C.tracingClient.withSpan("BlobLeaseClient-changeLease",c,(async d=>{const p=(0,S.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,i,{abortSignal:c.abortSignal,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},tracingOptions:d.tracingOptions}));this._leaseId=i;return p}))}async releaseLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==A.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==A.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return C.tracingClient.withSpan("BlobLeaseClient-releaseLease",i,(async c=>(0,S.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:c.tracingOptions}))))}async renewLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==A.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==A.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return C.tracingClient.withSpan("BlobLeaseClient-renewLease",i,(async c=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:c.tracingOptions})))}async breakLease(i,c={}){if(this._isContainer&&(c.conditions?.ifMatch&&c.conditions?.ifMatch!==A.ETagNone||c.conditions?.ifNoneMatch&&c.conditions?.ifNoneMatch!==A.ETagNone||c.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 C.tracingClient.withSpan("BlobLeaseClient-breakLease",c,(async d=>{const p={abortSignal:c.abortSignal,breakPeriod:i,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},tracingOptions:d.tracingOptions};return(0,S.assertResponse)(await this._containerOrBlobOperation.breakLease(p))}))}}c.BlobLeaseClient=BlobLeaseClient},95602:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobQueryResponse=void 0;const p=d(87779);const A=d(36426);class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return undefined}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){return undefined}get readableStreamBody(){return p.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,c={}){this.originalResponse=i;this.blobDownloadStream=new A.BlobQuickQueryStream(this.originalResponse.readableStreamBody,c)}}c.BlobQueryResponse=BlobQueryResponse},96341:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobServiceClient=void 0;const p=d(50417);const A=d(20778);const C=d(87779);const S=d(25984);const v=d(81884);const _=d(47764);const T=d(68999);const V=d(35345);const Z=d(47764);const ee=d(53952);const te=d(12094);const re=d(73542);const ne=d(6358);const ie=d(85238);const se=d(46940);class BlobServiceClient extends re.StorageClient{serviceContext;static fromConnectionString(i,c){c=c||{};const d=(0,_.extractConnectionStringParts)(i);if(d.kind==="AccountConnString"){if(C.isNodeLike){const i=new T.StorageSharedKeyCredential(d.accountName,d.accountKey);if(!c.proxyOptions){c.proxyOptions=(0,A.getDefaultProxySettings)(d.proxyUri)}const p=(0,S.newPipeline)(i,c);return new BlobServiceClient(d.url,p)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(d.kind==="SASConnString"){const i=(0,S.newPipeline)(new V.AnonymousCredential,c);return new BlobServiceClient(d.url+"?"+d.accountSas,i)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(i,c,d){let A;if((0,S.isPipelineLike)(c)){A=c}else if(C.isNodeLike&&c instanceof T.StorageSharedKeyCredential||c instanceof V.AnonymousCredential||(0,p.isTokenCredential)(c)){A=(0,S.newPipeline)(c,d)}else{A=(0,S.newPipeline)(new V.AnonymousCredential,d)}super(i,A);this.serviceContext=this.storageClientContext.service}getContainerClient(i){return new v.ContainerClient((0,_.appendToURLPath)(this.url,encodeURIComponent(i)),this.pipeline)}async createContainer(i,c={}){return ee.tracingClient.withSpan("BlobServiceClient-createContainer",c,(async c=>{const d=this.getContainerClient(i);const p=await d.create(c);return{containerClient:d,containerCreateResponse:p}}))}async deleteContainer(i,c={}){return ee.tracingClient.withSpan("BlobServiceClient-deleteContainer",c,(async c=>{const d=this.getContainerClient(i);return d.delete(c)}))}async undeleteContainer(i,c,d={}){return ee.tracingClient.withSpan("BlobServiceClient-undeleteContainer",d,(async p=>{const A=this.getContainerClient(d.destinationContainerName||i);const C=A["storageClientContext"].container;const S=(0,Z.assertResponse)(await C.restore({deletedContainerName:i,deletedContainerVersion:c,tracingOptions:p.tracingOptions}));return{containerClient:A,containerUndeleteResponse:S}}))}async getProperties(i={}){return ee.tracingClient.withSpan("BlobServiceClient-getProperties",i,(async c=>(0,Z.assertResponse)(await this.serviceContext.getProperties({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions}))))}async setProperties(i,c={}){return ee.tracingClient.withSpan("BlobServiceClient-setProperties",c,(async d=>(0,Z.assertResponse)(await this.serviceContext.setProperties(i,{abortSignal:c.abortSignal,tracingOptions:d.tracingOptions}))))}async getStatistics(i={}){return ee.tracingClient.withSpan("BlobServiceClient-getStatistics",i,(async c=>(0,Z.assertResponse)(await this.serviceContext.getStatistics({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions}))))}async getAccountInfo(i={}){return ee.tracingClient.withSpan("BlobServiceClient-getAccountInfo",i,(async c=>(0,Z.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions}))))}async listContainersSegment(i,c={}){return ee.tracingClient.withSpan("BlobServiceClient-listContainersSegment",c,(async d=>(0,Z.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:c.abortSignal,marker:i,...c,include:typeof c.include==="string"?[c.include]:c.include,tracingOptions:d.tracingOptions}))))}async findBlobsByTagsSegment(i,c,d={}){return ee.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",d,(async p=>{const A=(0,Z.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:d.abortSignal,where:i,marker:c,maxPageSize:d.maxPageSize,tracingOptions:p.tracingOptions}));const C={...A,_response:A._response,blobs:A.blobs.map((i=>{let c="";if(i.tags?.blobTagSet.length===1){c=i.tags.blobTagSet[0].value}return{...i,tags:(0,_.toTags)(i.tags),tagValue:c}}))};return C}))}async*findBlobsByTagsSegments(i,c,d={}){let p;if(!!c||c===undefined){do{p=await this.findBlobsByTagsSegment(i,c,d);p.blobs=p.blobs||[];c=p.continuationToken;yield p}while(c)}}async*findBlobsByTagsItems(i,c={}){let d;for await(const p of this.findBlobsByTagsSegments(i,d,c)){yield*p.blobs}}findBlobsByTags(i,c={}){const d={...c};const p=this.findBlobsByTagsItems(i,d);return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(c={})=>this.findBlobsByTagsSegments(i,c.continuationToken,{maxPageSize:c.maxPageSize,...d})}}async*listSegments(i,c={}){let d;if(!!i||i===undefined){do{d=await this.listContainersSegment(i,c);d.containerItems=d.containerItems||[];i=d.continuationToken;yield await d}while(i)}}async*listItems(i={}){let c;for await(const d of this.listSegments(c,i)){yield*d.containerItems}}listContainers(i={}){if(i.prefix===""){i.prefix=undefined}const c=[];if(i.includeDeleted){c.push("deleted")}if(i.includeMetadata){c.push("metadata")}if(i.includeSystem){c.push("system")}const d={...i,...c.length>0?{include:c}:{}};const p=this.listItems(d);return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...d})}}async getUserDelegationKey(i,c,d={}){return ee.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",d,(async p=>{const A=(0,Z.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,Z.truncatedISO8061Date)(i,false),expiresOn:(0,Z.truncatedISO8061Date)(c,false)},{abortSignal:d.abortSignal,tracingOptions:p.tracingOptions}));const C={signedObjectId:A.signedObjectId,signedTenantId:A.signedTenantId,signedStartsOn:new Date(A.signedStartsOn),signedExpiresOn:new Date(A.signedExpiresOn),signedService:A.signedService,signedVersion:A.signedVersion,value:A.value};const S={_response:A._response,requestId:A.requestId,clientRequestId:A.clientRequestId,version:A.version,date:A.date,errorCode:A.errorCode,...C};return S}))}getBlobBatchClient(){return new te.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(i,c=ne.AccountSASPermissions.parse("r"),d="sco",p={}){if(!(this.credential instanceof T.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===undefined){const c=new Date;i=new Date(c.getTime()+3600*1e3)}const A=(0,ie.generateAccountSASQueryParameters)({permissions:c,expiresOn:i,resourceTypes:d,services:se.AccountSASServices.parse("b").toString(),...p},this.credential).toString();return(0,_.appendToURLQuery)(this.url,A)}generateSasStringToSign(i,c=ne.AccountSASPermissions.parse("r"),d="sco",p={}){if(!(this.credential instanceof T.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===undefined){const c=new Date;i=new Date(c.getTime()+3600*1e3)}return(0,ie.generateAccountSASQueryParametersInternal)({permissions:c,expiresOn:i,resourceTypes:d,services:se.AccountSASServices.parse("b").toString(),...p},this.credential).stringToSign}}c.BlobServiceClient=BlobServiceClient},90372:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PageBlobClient=c.BlockBlobClient=c.AppendBlobClient=c.BlobClient=void 0;const p=d(20778);const A=d(50417);const C=d(87779);const S=d(87779);const v=d(4894);const _=d(95602);const T=d(35345);const V=d(68999);const Z=d(58560);const ee=d(95302);const te=d(25984);const re=d(73145);const ne=d(52045);const ie=d(73542);const se=d(81582);const oe=d(51382);const ae=d(27323);const le=d(53952);const ce=d(47764);const ue=d(53563);const de=d(656);const fe=d(23276);class BlobClient extends ie.StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(i,c,d,S){S=S||{};let v;let _;if((0,te.isPipelineLike)(c)){_=i;v=c}else if(C.isNodeLike&&c instanceof V.StorageSharedKeyCredential||c instanceof T.AnonymousCredential||(0,A.isTokenCredential)(c)){_=i;S=d;v=(0,te.newPipeline)(c,S)}else if(!c&&typeof c!=="string"){_=i;if(d&&typeof d!=="string"){S=d}v=(0,te.newPipeline)(new T.AnonymousCredential,S)}else if(c&&typeof c==="string"&&d&&typeof d==="string"){const A=c;const Z=d;const ee=(0,ce.extractConnectionStringParts)(i);if(ee.kind==="AccountConnString"){if(C.isNodeLike){const i=new V.StorageSharedKeyCredential(ee.accountName,ee.accountKey);_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z));if(!S.proxyOptions){S.proxyOptions=(0,p.getDefaultProxySettings)(ee.proxyUri)}v=(0,te.newPipeline)(i,S)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ee.kind==="SASConnString"){_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z))+"?"+ee.accountSas;v=(0,te.newPipeline)(new T.AnonymousCredential,S)}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,ce.getURLParameter)(this.url,ae.URLConstants.Parameters.SNAPSHOT);this._versionId=(0,ce.getURLParameter)(this.url,ae.URLConstants.Parameters.VERSIONID)}withSnapshot(i){return new BlobClient((0,ce.setURLParameter)(this.url,ae.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}withVersion(i){return new BlobClient((0,ce.setURLParameter)(this.url,ae.URLConstants.Parameters.VERSIONID,i.length===0?undefined:i),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(i=0,c,d={}){d.conditions=d.conditions||{};d.conditions=d.conditions||{};(0,Z.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlobClient-download",d,(async p=>{const A=(0,ce.assertResponse)(await this.blobContext.download({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},requestOptions:{onDownloadProgress:C.isNodeLike?undefined:d.onProgress},range:i===0&&!c?undefined:(0,ne.rangeToString)({offset:i,count:c}),rangeGetContentMD5:d.rangeGetContentMD5,rangeGetContentCRC64:d.rangeGetContentCrc64,snapshot:d.snapshot,cpkInfo:d.customerProvidedKey,tracingOptions:p.tracingOptions}));const S={...A,_response:A._response,objectReplicationDestinationPolicyId:A.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ce.parseObjectReplicationRecord)(A.objectReplicationRules)};if(!C.isNodeLike){return S}if(d.maxRetryRequests===undefined||d.maxRetryRequests<0){d.maxRetryRequests=ae.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS}if(A.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!A.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new v.BlobDownloadResponse(S,(async c=>{const p={leaseAccessConditions:d.conditions,modifiedAccessConditions:{ifMatch:d.conditions.ifMatch||A.etag,ifModifiedSince:d.conditions.ifModifiedSince,ifNoneMatch:d.conditions.ifNoneMatch,ifUnmodifiedSince:d.conditions.ifUnmodifiedSince,ifTags:d.conditions?.tagConditions},range:(0,ne.rangeToString)({count:i+A.contentLength-c,offset:c}),rangeGetContentMD5:d.rangeGetContentMD5,rangeGetContentCRC64:d.rangeGetContentCrc64,snapshot:d.snapshot,cpkInfo:d.customerProvidedKey};return(await this.blobContext.download({abortSignal:d.abortSignal,...p})).readableStreamBody}),i,A.contentLength,{maxRetryRequests:d.maxRetryRequests,onProgress:d.onProgress})}))}async exists(i={}){return le.tracingClient.withSpan("BlobClient-exists",i,(async c=>{try{(0,Z.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:i.abortSignal,customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,tracingOptions:c.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}else if(i.statusCode===409&&(i.details.errorCode===ae.BlobUsesCustomerSpecifiedEncryptionMsg||i.details.errorCode===ae.BlobDoesNotUseCustomerSpecifiedEncryption)){return true}throw i}}))}async getProperties(i={}){i.conditions=i.conditions||{};(0,Z.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlobClient-getProperties",i,(async c=>{const d=(0,ce.assertResponse)(await this.blobContext.getProperties({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,tracingOptions:c.tracingOptions}));return{...d,_response:d._response,objectReplicationDestinationPolicyId:d.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ce.parseObjectReplicationRecord)(d.objectReplicationRules)}}))}async delete(i={}){i.conditions=i.conditions||{};return le.tracingClient.withSpan("BlobClient-delete",i,(async c=>(0,ce.assertResponse)(await this.blobContext.delete({abortSignal:i.abortSignal,deleteSnapshots:i.deleteSnapshots,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:c.tracingOptions}))))}async deleteIfExists(i={}){return le.tracingClient.withSpan("BlobClient-deleteIfExists",i,(async i=>{try{const c=(0,ce.assertResponse)(await this.delete(i));return{succeeded:true,...c,_response:c._response}}catch(i){if(i.details?.errorCode==="BlobNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async undelete(i={}){return le.tracingClient.withSpan("BlobClient-undelete",i,(async c=>(0,ce.assertResponse)(await this.blobContext.undelete({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions}))))}async setHTTPHeaders(i,c={}){c.conditions=c.conditions||{};(0,Z.ensureCpkIfSpecified)(c.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlobClient-setHTTPHeaders",c,(async d=>(0,ce.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:c.abortSignal,blobHttpHeaders:i,leaseAccessConditions:c.conditions,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async setMetadata(i,c={}){c.conditions=c.conditions||{};(0,Z.ensureCpkIfSpecified)(c.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlobClient-setMetadata",c,(async d=>(0,ce.assertResponse)(await this.blobContext.setMetadata({abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,metadata:i,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},cpkInfo:c.customerProvidedKey,encryptionScope:c.encryptionScope,tracingOptions:d.tracingOptions}))))}async setTags(i,c={}){return le.tracingClient.withSpan("BlobClient-setTags",c,(async d=>(0,ce.assertResponse)(await this.blobContext.setTags({abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},tracingOptions:d.tracingOptions,tags:(0,ce.toBlobTags)(i)}))))}async getTags(i={}){return le.tracingClient.withSpan("BlobClient-getTags",i,(async c=>{const d=(0,ce.assertResponse)(await this.blobContext.getTags({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:c.tracingOptions}));const p={...d,_response:d._response,tags:(0,ce.toTags)({blobTagSet:d.blobTagSet})||{}};return p}))}getBlobLeaseClient(i){return new fe.BlobLeaseClient(this,i)}async createSnapshot(i={}){i.conditions=i.conditions||{};(0,Z.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlobClient-createSnapshot",i,(async c=>(0,ce.assertResponse)(await this.blobContext.createSnapshot({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:c.tracingOptions}))))}async beginCopyFromURL(i,c={}){const d={abortCopyFromURL:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)};const p=new re.BlobBeginCopyFromUrlPoller({blobClient:d,copySource:i,intervalInMs:c.intervalInMs,onProgress:c.onProgress,resumeFrom:c.resumeFrom,startCopyFromURLOptions:c});await p.poll();return p}async abortCopyFromURL(i,c={}){return le.tracingClient.withSpan("BlobClient-abortCopyFromURL",c,(async d=>(0,ce.assertResponse)(await this.blobContext.abortCopyFromURL(i,{abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,tracingOptions:d.tracingOptions}))))}async syncCopyFromURL(i,c={}){c.conditions=c.conditions||{};c.sourceConditions=c.sourceConditions||{};return le.tracingClient.withSpan("BlobClient-syncCopyFromURL",c,(async d=>(0,ce.assertResponse)(await this.blobContext.copyFromURL(i,{abortSignal:c.abortSignal,metadata:c.metadata,leaseAccessConditions: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},sourceContentMD5:c.sourceContentMD5,copySourceAuthorization:(0,ce.httpAuthorizationToString)(c.sourceAuthorization),tier:(0,Z.toAccessTier)(c.tier),blobTagsString:(0,ce.toBlobTagsString)(c.tags),immutabilityPolicyExpiry:c.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:c.immutabilityPolicy?.policyMode,legalHold:c.legalHold,encryptionScope:c.encryptionScope,copySourceTags:c.copySourceTags,fileRequestIntent:c.sourceShareTokenIntent,tracingOptions:d.tracingOptions}))))}async setAccessTier(i,c={}){return le.tracingClient.withSpan("BlobClient-setAccessTier",c,(async d=>(0,ce.assertResponse)(await this.blobContext.setTier((0,Z.toAccessTier)(i),{abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},rehydratePriority:c.rehydratePriority,tracingOptions:d.tracingOptions}))))}async downloadToBuffer(i,c,d,p={}){let A;let C=0;let S=0;let v=p;if(i instanceof Buffer){A=i;C=c||0;S=typeof d==="number"?d:0}else{C=typeof i==="number"?i:0;S=typeof c==="number"?c:0;v=d||{}}let _=v.blockSize??0;if(_<0){throw new RangeError("blockSize option must be >= 0")}if(_===0){_=ae.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}if(C<0){throw new RangeError("offset option must be >= 0")}if(S&&S<=0){throw new RangeError("count option must be greater than 0")}if(!v.conditions){v.conditions={}}return le.tracingClient.withSpan("BlobClient-downloadToBuffer",v,(async i=>{if(!S){const c=await this.getProperties({...v,tracingOptions:i.tracingOptions});S=c.contentLength-C;if(S<0){throw new RangeError(`offset ${C} shouldn't be larger than blob size ${c.contentLength}`)}}if(!A){try{A=Buffer.alloc(S)}catch(i){throw new Error(`Unable to allocate the buffer of size: ${S}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${i.message}`)}}if(A.length<S){throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${S}`)}let c=0;const d=new se.Batch(v.concurrency);for(let p=C;p<C+S;p=p+_){d.addOperation((async()=>{let d=C+S;if(p+_<d){d=p+_}const T=await this.download(p,d-p,{abortSignal:v.abortSignal,conditions:v.conditions,maxRetryRequests:v.maxRetryRequestsPerBlock,customerProvidedKey:v.customerProvidedKey,tracingOptions:i.tracingOptions});const V=T.readableStreamBody;await(0,ue.streamToBuffer)(V,A,p-C,d-C);c+=d-p;if(v.onProgress){v.onProgress({loadedBytes:c})}}))}await d.do();return A}))}async downloadToFile(i,c=0,d,p={}){return le.tracingClient.withSpan("BlobClient-downloadToFile",p,(async A=>{const C=await this.download(c,d,{...p,tracingOptions:A.tracingOptions});if(C.readableStreamBody){await(0,ue.readStreamToLocalFile)(C.readableStreamBody,i)}C.blobDownloadStream=undefined;return C}))}getBlobAndContainerNamesFromUrl(){let i;let c;try{const d=new URL(this.url);if(d.host.split(".")[1]==="blob"){const p=d.pathname.match("/([^/]*)(/(.*))?");i=p[1];c=p[3]}else if((0,ce.isIpEndpointStyle)(d)){const p=d.pathname.match("/([^/]*)/([^/]*)(/(.*))?");i=p[2];c=p[4]}else{const p=d.pathname.match("/([^/]*)(/(.*))?");i=p[1];c=p[3]}i=decodeURIComponent(i);c=decodeURIComponent(c);c=c.replace(/\\/g,"/");if(!i){throw new Error("Provided containerName is invalid.")}return{blobName:c,containerName:i}}catch(i){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(i,c={}){return le.tracingClient.withSpan("BlobClient-startCopyFromURL",c,(async d=>{c.conditions=c.conditions||{};c.sourceConditions=c.sourceConditions||{};return(0,ce.assertResponse)(await this.blobContext.startCopyFromURL(i,{abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,metadata:c.metadata,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:c.sourceConditions.ifMatch,sourceIfModifiedSince:c.sourceConditions.ifModifiedSince,sourceIfNoneMatch:c.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:c.sourceConditions.ifUnmodifiedSince,sourceIfTags:c.sourceConditions.tagConditions},immutabilityPolicyExpiry:c.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:c.immutabilityPolicy?.policyMode,legalHold:c.legalHold,rehydratePriority:c.rehydratePriority,tier:(0,Z.toAccessTier)(c.tier),blobTagsString:(0,ce.toBlobTagsString)(c.tags),sealBlob:c.sealBlob,tracingOptions:d.tracingOptions}))}))}generateSasUrl(i){return new Promise((c=>{if(!(this.credential instanceof V.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const d=(0,de.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).toString();c((0,ce.appendToURLQuery)(this.url,d))}))}generateSasStringToSign(i){if(!(this.credential instanceof V.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,de.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,c){return new Promise((d=>{const p=(0,de.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},c,this.accountName).toString();d((0,ce.appendToURLQuery)(this.url,p))}))}generateUserDelegationSasStringToSign(i,c){return(0,de.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},c,this.accountName).stringToSign}async deleteImmutabilityPolicy(i={}){return le.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",i,(async i=>(0,ce.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:i.tracingOptions}))))}async setImmutabilityPolicy(i,c={}){return le.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",c,(async c=>(0,ce.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:i.expiriesOn,immutabilityPolicyMode:i.policyMode,tracingOptions:c.tracingOptions}))))}async setLegalHold(i,c={}){return le.tracingClient.withSpan("BlobClient-setLegalHold",c,(async c=>(0,ce.assertResponse)(await this.blobContext.setLegalHold(i,{tracingOptions:c.tracingOptions}))))}async getAccountInfo(i={}){return le.tracingClient.withSpan("BlobClient-getAccountInfo",i,(async c=>(0,ce.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions}))))}}c.BlobClient=BlobClient;class AppendBlobClient extends BlobClient{appendBlobContext;constructor(i,c,d,S){let v;let _;S=S||{};if((0,te.isPipelineLike)(c)){_=i;v=c}else if(C.isNodeLike&&c instanceof V.StorageSharedKeyCredential||c instanceof T.AnonymousCredential||(0,A.isTokenCredential)(c)){_=i;S=d;v=(0,te.newPipeline)(c,S)}else if(!c&&typeof c!=="string"){_=i;v=(0,te.newPipeline)(new T.AnonymousCredential,S)}else if(c&&typeof c==="string"&&d&&typeof d==="string"){const A=c;const Z=d;const ee=(0,ce.extractConnectionStringParts)(i);if(ee.kind==="AccountConnString"){if(C.isNodeLike){const i=new V.StorageSharedKeyCredential(ee.accountName,ee.accountKey);_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z));if(!S.proxyOptions){S.proxyOptions=(0,p.getDefaultProxySettings)(ee.proxyUri)}v=(0,te.newPipeline)(i,S)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ee.kind==="SASConnString"){_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z))+"?"+ee.accountSas;v=(0,te.newPipeline)(new T.AnonymousCredential,S)}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(i){return new AppendBlobClient((0,ce.setURLParameter)(this.url,ae.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async create(i={}){i.conditions=i.conditions||{};(0,Z.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("AppendBlobClient-create",i,(async c=>(0,ce.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:i.abortSignal,blobHttpHeaders:i.blobHTTPHeaders,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,immutabilityPolicyExpiry:i.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:i.immutabilityPolicy?.policyMode,legalHold:i.legalHold,blobTagsString:(0,ce.toBlobTagsString)(i.tags),tracingOptions:c.tracingOptions}))))}async createIfNotExists(i={}){const c={ifNoneMatch:ae.ETagAny};return le.tracingClient.withSpan("AppendBlobClient-createIfNotExists",i,(async i=>{try{const d=(0,ce.assertResponse)(await this.create({...i,conditions:c}));return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async seal(i={}){i.conditions=i.conditions||{};return le.tracingClient.withSpan("AppendBlobClient-seal",i,(async c=>(0,ce.assertResponse)(await this.appendBlobContext.seal({abortSignal:i.abortSignal,appendPositionAccessConditions:i.conditions,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:c.tracingOptions}))))}async appendBlock(i,c,d={}){d.conditions=d.conditions||{};(0,Z.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("AppendBlobClient-appendBlock",d,(async p=>(0,ce.assertResponse)(await this.appendBlobContext.appendBlock(c,i,{abortSignal:d.abortSignal,appendPositionAccessConditions:d.conditions,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},requestOptions:{onUploadProgress:d.onProgress},transactionalContentMD5:d.transactionalContentMD5,transactionalContentCrc64:d.transactionalContentCrc64,cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async appendBlockFromURL(i,c,d,p={}){p.conditions=p.conditions||{};p.sourceConditions=p.sourceConditions||{};(0,Z.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",p,(async A=>(0,ce.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(i,0,{abortSignal:p.abortSignal,sourceRange:(0,ne.rangeToString)({offset:c,count:d}),sourceContentMD5:p.sourceContentMD5,sourceContentCrc64:p.sourceContentCrc64,leaseAccessConditions:p.conditions,appendPositionAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:p.sourceConditions?.ifMatch,sourceIfModifiedSince:p.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:p.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:p.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,ce.httpAuthorizationToString)(p.sourceAuthorization),cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,fileRequestIntent:p.sourceShareTokenIntent,tracingOptions:A.tracingOptions}))))}}c.AppendBlobClient=AppendBlobClient;class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(i,c,d,S){let v;let _;S=S||{};if((0,te.isPipelineLike)(c)){_=i;v=c}else if(C.isNodeLike&&c instanceof V.StorageSharedKeyCredential||c instanceof T.AnonymousCredential||(0,A.isTokenCredential)(c)){_=i;S=d;v=(0,te.newPipeline)(c,S)}else if(!c&&typeof c!=="string"){_=i;if(d&&typeof d!=="string"){S=d}v=(0,te.newPipeline)(new T.AnonymousCredential,S)}else if(c&&typeof c==="string"&&d&&typeof d==="string"){const A=c;const Z=d;const ee=(0,ce.extractConnectionStringParts)(i);if(ee.kind==="AccountConnString"){if(C.isNodeLike){const i=new V.StorageSharedKeyCredential(ee.accountName,ee.accountKey);_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z));if(!S.proxyOptions){S.proxyOptions=(0,p.getDefaultProxySettings)(ee.proxyUri)}v=(0,te.newPipeline)(i,S)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ee.kind==="SASConnString"){_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z))+"?"+ee.accountSas;v=(0,te.newPipeline)(new T.AnonymousCredential,S)}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(i){return new BlockBlobClient((0,ce.setURLParameter)(this.url,ae.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async query(i,c={}){(0,Z.ensureCpkIfSpecified)(c.customerProvidedKey,this.isHttps);if(!C.isNodeLike){throw new Error("This operation currently is only supported in Node.js.")}return le.tracingClient.withSpan("BlockBlobClient-query",c,(async d=>{const p=(0,ce.assertResponse)(await this._blobContext.query({abortSignal:c.abortSignal,queryRequest:{queryType:"SQL",expression:i,inputSerialization:(0,ce.toQuerySerialization)(c.inputTextConfiguration),outputSerialization:(0,ce.toQuerySerialization)(c.outputTextConfiguration)},leaseAccessConditions:c.conditions,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},cpkInfo:c.customerProvidedKey,tracingOptions:d.tracingOptions}));return new _.BlobQueryResponse(p,{abortSignal:c.abortSignal,onProgress:c.onProgress,onError:c.onError})}))}async upload(i,c,d={}){d.conditions=d.conditions||{};(0,Z.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlockBlobClient-upload",d,(async p=>(0,ce.assertResponse)(await this.blockBlobContext.upload(c,i,{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},requestOptions:{onUploadProgress:d.onProgress},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,Z.toAccessTier)(d.tier),blobTagsString:(0,ce.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async syncUploadFromURL(i,c={}){c.conditions=c.conditions||{};(0,Z.ensureCpkIfSpecified)(c.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",c,(async d=>(0,ce.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,i,{...c,blobHttpHeaders:c.blobHTTPHeaders,leaseAccessConditions: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,sourceIfTags:c.sourceConditions?.tagConditions},cpkInfo:c.customerProvidedKey,copySourceAuthorization:(0,ce.httpAuthorizationToString)(c.sourceAuthorization),tier:(0,Z.toAccessTier)(c.tier),blobTagsString:(0,ce.toBlobTagsString)(c.tags),copySourceTags:c.copySourceTags,fileRequestIntent:c.sourceShareTokenIntent,tracingOptions:d.tracingOptions}))))}async stageBlock(i,c,d,p={}){(0,Z.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlockBlobClient-stageBlock",p,(async A=>(0,ce.assertResponse)(await this.blockBlobContext.stageBlock(i,d,c,{abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,requestOptions:{onUploadProgress:p.onProgress},transactionalContentMD5:p.transactionalContentMD5,transactionalContentCrc64:p.transactionalContentCrc64,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:A.tracingOptions}))))}async stageBlockFromURL(i,c,d=0,p,A={}){(0,Z.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",A,(async C=>(0,ce.assertResponse)(await this.blockBlobContext.stageBlockFromURL(i,0,c,{abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,sourceContentMD5:A.sourceContentMD5,sourceContentCrc64:A.sourceContentCrc64,sourceRange:d===0&&!p?undefined:(0,ne.rangeToString)({offset:d,count:p}),cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,copySourceAuthorization:(0,ce.httpAuthorizationToString)(A.sourceAuthorization),fileRequestIntent:A.sourceShareTokenIntent,tracingOptions:C.tracingOptions}))))}async commitBlockList(i,c={}){c.conditions=c.conditions||{};(0,Z.ensureCpkIfSpecified)(c.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("BlockBlobClient-commitBlockList",c,(async d=>(0,ce.assertResponse)(await this.blockBlobContext.commitBlockList({latest:i},{abortSignal:c.abortSignal,blobHttpHeaders:c.blobHTTPHeaders,leaseAccessConditions:c.conditions,metadata:c.metadata,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},cpkInfo:c.customerProvidedKey,encryptionScope:c.encryptionScope,immutabilityPolicyExpiry:c.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:c.immutabilityPolicy?.policyMode,legalHold:c.legalHold,tier:(0,Z.toAccessTier)(c.tier),blobTagsString:(0,ce.toBlobTagsString)(c.tags),tracingOptions:d.tracingOptions}))))}async getBlockList(i,c={}){return le.tracingClient.withSpan("BlockBlobClient-getBlockList",c,(async d=>{const p=(0,ce.assertResponse)(await this.blockBlobContext.getBlockList(i,{abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},tracingOptions:d.tracingOptions}));if(!p.committedBlocks){p.committedBlocks=[]}if(!p.uncommittedBlocks){p.uncommittedBlocks=[]}return p}))}async uploadData(i,c={}){return le.tracingClient.withSpan("BlockBlobClient-uploadData",c,(async c=>{if(C.isNodeLike){let d;if(i instanceof Buffer){d=i}else if(i instanceof ArrayBuffer){d=Buffer.from(i)}else{i=i;d=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}return this.uploadSeekableInternal(((i,c)=>d.slice(i,i+c)),d.byteLength,c)}else{const d=new Blob([i]);return this.uploadSeekableInternal(((i,c)=>d.slice(i,i+c)),d.size,c)}}))}async uploadBrowserData(i,c={}){return le.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",c,(async c=>{const d=new Blob([i]);return this.uploadSeekableInternal(((i,c)=>d.slice(i,i+c)),d.size,c)}))}async uploadSeekableInternal(i,c,d={}){let p=d.blockSize??0;if(p<0||p>ae.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES){throw new RangeError(`blockSize option must be >= 0 and <= ${ae.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`)}const A=d.maxSingleShotSize??ae.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(A<0||A>ae.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${ae.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`)}if(p===0){if(c>ae.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*ae.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`${c} is too larger to upload to a block blob.`)}if(c>A){p=Math.ceil(c/ae.BLOCK_BLOB_MAX_BLOCKS);if(p<ae.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES){p=ae.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}}}if(!d.blobHTTPHeaders){d.blobHTTPHeaders={}}if(!d.conditions){d.conditions={}}return le.tracingClient.withSpan("BlockBlobClient-uploadSeekableInternal",d,(async C=>{if(c<=A){return(0,ce.assertResponse)(await this.upload(i(0,c),c,C))}const v=Math.floor((c-1)/p)+1;if(v>ae.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 <= ${ae.BLOCK_BLOB_MAX_BLOCKS}`)}const _=[];const T=(0,S.randomUUID)();let V=0;const Z=new se.Batch(d.concurrency);for(let A=0;A<v;A++){Z.addOperation((async()=>{const S=(0,ce.generateBlockID)(T,A);const Z=p*A;const ee=A===v-1?c:Z+p;const te=ee-Z;_.push(S);await this.stageBlock(S,i(Z,te),te,{abortSignal:d.abortSignal,conditions:d.conditions,encryptionScope:d.encryptionScope,tracingOptions:C.tracingOptions});V+=te;if(d.onProgress){d.onProgress({loadedBytes:V})}}))}await Z.do();return this.commitBlockList(_,C)}))}async uploadFile(i,c={}){return le.tracingClient.withSpan("BlockBlobClient-uploadFile",c,(async d=>{const p=(await(0,ue.fsStat)(i)).size;return this.uploadSeekableInternal(((c,d)=>()=>(0,ue.fsCreateReadStream)(i,{autoClose:true,end:d?c+d-1:Infinity,start:c})),p,{...c,tracingOptions:d.tracingOptions})}))}async uploadStream(i,c=ae.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,d=5,p={}){if(!p.blobHTTPHeaders){p.blobHTTPHeaders={}}if(!p.conditions){p.conditions={}}return le.tracingClient.withSpan("BlockBlobClient-uploadStream",p,(async A=>{let C=0;const v=(0,S.randomUUID)();let _=0;const T=[];const V=new oe.BufferScheduler(i,c,d,(async(i,c)=>{const d=(0,ce.generateBlockID)(v,C);T.push(d);C++;await this.stageBlock(d,i,c,{customerProvidedKey:p.customerProvidedKey,conditions:p.conditions,encryptionScope:p.encryptionScope,tracingOptions:A.tracingOptions});_+=c;if(p.onProgress){p.onProgress({loadedBytes:_})}}),Math.ceil(d/4*3));await V.do();return(0,ce.assertResponse)(await this.commitBlockList(T,{...p,tracingOptions:A.tracingOptions}))}))}}c.BlockBlobClient=BlockBlobClient;class PageBlobClient extends BlobClient{pageBlobContext;constructor(i,c,d,S){let v;let _;S=S||{};if((0,te.isPipelineLike)(c)){_=i;v=c}else if(C.isNodeLike&&c instanceof V.StorageSharedKeyCredential||c instanceof T.AnonymousCredential||(0,A.isTokenCredential)(c)){_=i;S=d;v=(0,te.newPipeline)(c,S)}else if(!c&&typeof c!=="string"){_=i;v=(0,te.newPipeline)(new T.AnonymousCredential,S)}else if(c&&typeof c==="string"&&d&&typeof d==="string"){const A=c;const Z=d;const ee=(0,ce.extractConnectionStringParts)(i);if(ee.kind==="AccountConnString"){if(C.isNodeLike){const i=new V.StorageSharedKeyCredential(ee.accountName,ee.accountKey);_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z));if(!S.proxyOptions){S.proxyOptions=(0,p.getDefaultProxySettings)(ee.proxyUri)}v=(0,te.newPipeline)(i,S)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ee.kind==="SASConnString"){_=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(ee.url,encodeURIComponent(A)),encodeURIComponent(Z))+"?"+ee.accountSas;v=(0,te.newPipeline)(new T.AnonymousCredential,S)}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(i){return new PageBlobClient((0,ce.setURLParameter)(this.url,ae.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async create(i,c={}){c.conditions=c.conditions||{};(0,Z.ensureCpkIfSpecified)(c.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("PageBlobClient-create",c,(async d=>(0,ce.assertResponse)(await this.pageBlobContext.create(0,i,{abortSignal:c.abortSignal,blobHttpHeaders:c.blobHTTPHeaders,blobSequenceNumber:c.blobSequenceNumber,leaseAccessConditions:c.conditions,metadata:c.metadata,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},cpkInfo:c.customerProvidedKey,encryptionScope:c.encryptionScope,immutabilityPolicyExpiry:c.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:c.immutabilityPolicy?.policyMode,legalHold:c.legalHold,tier:(0,Z.toAccessTier)(c.tier),blobTagsString:(0,ce.toBlobTagsString)(c.tags),tracingOptions:d.tracingOptions}))))}async createIfNotExists(i,c={}){return le.tracingClient.withSpan("PageBlobClient-createIfNotExists",c,(async d=>{try{const p={ifNoneMatch:ae.ETagAny};const A=(0,ce.assertResponse)(await this.create(i,{...c,conditions:p,tracingOptions:d.tracingOptions}));return{succeeded:true,...A,_response:A._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async uploadPages(i,c,d,p={}){p.conditions=p.conditions||{};(0,Z.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("PageBlobClient-uploadPages",p,(async A=>(0,ce.assertResponse)(await this.pageBlobContext.uploadPages(d,i,{abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},range:(0,ne.rangeToString)({offset:c,count:d}),sequenceNumberAccessConditions:p.conditions,transactionalContentMD5:p.transactionalContentMD5,transactionalContentCrc64:p.transactionalContentCrc64,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:A.tracingOptions}))))}async uploadPagesFromURL(i,c,d,p,A={}){A.conditions=A.conditions||{};A.sourceConditions=A.sourceConditions||{};(0,Z.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return le.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",A,(async C=>(0,ce.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(i,(0,ne.rangeToString)({offset:c,count:p}),0,(0,ne.rangeToString)({offset:d,count:p}),{abortSignal:A.abortSignal,sourceContentMD5:A.sourceContentMD5,sourceContentCrc64:A.sourceContentCrc64,leaseAccessConditions:A.conditions,sequenceNumberAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:A.sourceConditions?.ifMatch,sourceIfModifiedSince:A.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:A.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:A.sourceConditions?.ifUnmodifiedSince},cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,copySourceAuthorization:(0,ce.httpAuthorizationToString)(A.sourceAuthorization),fileRequestIntent:A.sourceShareTokenIntent,tracingOptions:C.tracingOptions}))))}async clearPages(i=0,c,d={}){d.conditions=d.conditions||{};return le.tracingClient.withSpan("PageBlobClient-clearPages",d,(async p=>(0,ce.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},range:(0,ne.rangeToString)({offset:i,count:c}),sequenceNumberAccessConditions:d.conditions,cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async getPageRanges(i=0,c,d={}){d.conditions=d.conditions||{};return le.tracingClient.withSpan("PageBlobClient-getPageRanges",d,(async p=>{const A=(0,ce.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},range:(0,ne.rangeToString)({offset:i,count:c}),tracingOptions:p.tracingOptions}));return(0,ee.rangeResponseFromModel)(A)}))}async listPageRangesSegment(i=0,c,d,p={}){return le.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",p,(async A=>(0,ce.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,ne.rangeToString)({offset:i,count:c}),marker:d,maxPageSize:p.maxPageSize,tracingOptions:A.tracingOptions}))))}async*listPageRangeItemSegments(i=0,c,d,p={}){let A;if(!!d||d===undefined){do{A=await this.listPageRangesSegment(i,c,d,p);d=A.continuationToken;yield await A}while(d)}}async*listPageRangeItems(i=0,c,d={}){let p;for await(const A of this.listPageRangeItemSegments(i,c,p,d)){yield*(0,ce.ExtractPageRangeInfoItems)(A)}}listPageRanges(i=0,c,d={}){d.conditions=d.conditions||{};const p=this.listPageRangeItems(i,c,d);return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(p={})=>this.listPageRangeItemSegments(i,c,p.continuationToken,{maxPageSize:p.maxPageSize,...d})}}async getPageRangesDiff(i,c,d,p={}){p.conditions=p.conditions||{};return le.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",p,(async A=>{const C=(0,ce.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},prevsnapshot:d,range:(0,ne.rangeToString)({offset:i,count:c}),tracingOptions:A.tracingOptions}));return(0,ee.rangeResponseFromModel)(C)}))}async listPageRangesDiffSegment(i,c,d,p,A={}){return le.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",A,(async C=>(0,ce.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:A?.abortSignal,leaseAccessConditions:A?.conditions,modifiedAccessConditions:{...A?.conditions,ifTags:A?.conditions?.tagConditions},prevsnapshot:d,range:(0,ne.rangeToString)({offset:i,count:c}),marker:p,maxPageSize:A?.maxPageSize,tracingOptions:C.tracingOptions}))))}async*listPageRangeDiffItemSegments(i,c,d,p,A){let C;if(!!p||p===undefined){do{C=await this.listPageRangesDiffSegment(i,c,d,p,A);p=C.continuationToken;yield await C}while(p)}}async*listPageRangeDiffItems(i,c,d,p){let A;for await(const C of this.listPageRangeDiffItemSegments(i,c,d,A,p)){yield*(0,ce.ExtractPageRangeInfoItems)(C)}}listPageRangesDiff(i,c,d,p={}){p.conditions=p.conditions||{};const A=this.listPageRangeDiffItems(i,c,d,{...p});return{next(){return A.next()},[Symbol.asyncIterator](){return this},byPage:(A={})=>this.listPageRangeDiffItemSegments(i,c,d,A.continuationToken,{maxPageSize:A.maxPageSize,...p})}}async getPageRangesDiffForManagedDisks(i,c,d,p={}){p.conditions=p.conditions||{};return le.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",p,(async A=>{const C=(0,ce.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},prevSnapshotUrl:d,range:(0,ne.rangeToString)({offset:i,count:c}),tracingOptions:A.tracingOptions}));return(0,ee.rangeResponseFromModel)(C)}))}async resize(i,c={}){c.conditions=c.conditions||{};return le.tracingClient.withSpan("PageBlobClient-resize",c,(async d=>(0,ce.assertResponse)(await this.pageBlobContext.resize(i,{abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},encryptionScope:c.encryptionScope,tracingOptions:d.tracingOptions}))))}async updateSequenceNumber(i,c,d={}){d.conditions=d.conditions||{};return le.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",d,(async p=>(0,ce.assertResponse)(await this.pageBlobContext.updateSequenceNumber(i,{abortSignal:d.abortSignal,blobSequenceNumber:c,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}async startCopyIncremental(i,c={}){return le.tracingClient.withSpan("PageBlobClient-startCopyIncremental",c,(async d=>(0,ce.assertResponse)(await this.pageBlobContext.copyIncremental(i,{abortSignal:c.abortSignal,modifiedAccessConditions:{...c.conditions,ifTags:c.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}}c.PageBlobClient=PageBlobClient},81884:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ContainerClient=void 0;const p=d(20778);const A=d(87779);const C=d(50417);const S=d(35345);const v=d(68999);const _=d(25984);const T=d(73542);const V=d(53952);const Z=d(47764);const ee=d(656);const te=d(23276);const re=d(90372);const ne=d(12094);class ContainerClient extends T.StorageClient{containerContext;_containerName;get containerName(){return this._containerName}constructor(i,c,d){let T;let V;d=d||{};if((0,_.isPipelineLike)(c)){V=i;T=c}else if(A.isNodeLike&&c instanceof v.StorageSharedKeyCredential||c instanceof S.AnonymousCredential||(0,C.isTokenCredential)(c)){V=i;T=(0,_.newPipeline)(c,d)}else if(!c&&typeof c!=="string"){V=i;T=(0,_.newPipeline)(new S.AnonymousCredential,d)}else if(c&&typeof c==="string"){const C=c;const ee=(0,Z.extractConnectionStringParts)(i);if(ee.kind==="AccountConnString"){if(A.isNodeLike){const i=new v.StorageSharedKeyCredential(ee.accountName,ee.accountKey);V=(0,Z.appendToURLPath)(ee.url,encodeURIComponent(C));if(!d.proxyOptions){d.proxyOptions=(0,p.getDefaultProxySettings)(ee.proxyUri)}T=(0,_.newPipeline)(i,d)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ee.kind==="SASConnString"){V=(0,Z.appendToURLPath)(ee.url,encodeURIComponent(C))+"?"+ee.accountSas;T=(0,_.newPipeline)(new S.AnonymousCredential,d)}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(V,T);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(i={}){return V.tracingClient.withSpan("ContainerClient-create",i,(async i=>(0,Z.assertResponse)(await this.containerContext.create(i))))}async createIfNotExists(i={}){return V.tracingClient.withSpan("ContainerClient-createIfNotExists",i,(async i=>{try{const c=await this.create(i);return{succeeded:true,...c,_response:c._response}}catch(i){if(i.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}else{throw i}}}))}async exists(i={}){return V.tracingClient.withSpan("ContainerClient-exists",i,(async c=>{try{await this.getProperties({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}throw i}}))}getBlobClient(i){return new re.BlobClient((0,Z.appendToURLPath)(this.url,(0,Z.EscapePath)(i)),this.pipeline)}getAppendBlobClient(i){return new re.AppendBlobClient((0,Z.appendToURLPath)(this.url,(0,Z.EscapePath)(i)),this.pipeline)}getBlockBlobClient(i){return new re.BlockBlobClient((0,Z.appendToURLPath)(this.url,(0,Z.EscapePath)(i)),this.pipeline)}getPageBlobClient(i){return new re.PageBlobClient((0,Z.appendToURLPath)(this.url,(0,Z.EscapePath)(i)),this.pipeline)}async getProperties(i={}){if(!i.conditions){i.conditions={}}return V.tracingClient.withSpan("ContainerClient-getProperties",i,(async c=>(0,Z.assertResponse)(await this.containerContext.getProperties({abortSignal:i.abortSignal,...i.conditions,tracingOptions:c.tracingOptions}))))}async delete(i={}){if(!i.conditions){i.conditions={}}return V.tracingClient.withSpan("ContainerClient-delete",i,(async c=>(0,Z.assertResponse)(await this.containerContext.delete({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:i.conditions,tracingOptions:c.tracingOptions}))))}async deleteIfExists(i={}){return V.tracingClient.withSpan("ContainerClient-deleteIfExists",i,(async i=>{try{const c=await this.delete(i);return{succeeded:true,...c,_response:c._response}}catch(i){if(i.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async setMetadata(i,c={}){if(!c.conditions){c.conditions={}}if(c.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return V.tracingClient.withSpan("ContainerClient-setMetadata",c,(async d=>(0,Z.assertResponse)(await this.containerContext.setMetadata({abortSignal:c.abortSignal,leaseAccessConditions:c.conditions,metadata:i,modifiedAccessConditions:c.conditions,tracingOptions:d.tracingOptions}))))}async getAccessPolicy(i={}){if(!i.conditions){i.conditions={}}return V.tracingClient.withSpan("ContainerClient-getAccessPolicy",i,(async c=>{const d=(0,Z.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,tracingOptions:c.tracingOptions}));const p={_response:d._response,blobPublicAccess:d.blobPublicAccess,date:d.date,etag:d.etag,errorCode:d.errorCode,lastModified:d.lastModified,requestId:d.requestId,clientRequestId:d.clientRequestId,signedIdentifiers:[],version:d.version};for(const i of d){let c=undefined;if(i.accessPolicy){c={permissions:i.accessPolicy.permissions};if(i.accessPolicy.expiresOn){c.expiresOn=new Date(i.accessPolicy.expiresOn)}if(i.accessPolicy.startsOn){c.startsOn=new Date(i.accessPolicy.startsOn)}}p.signedIdentifiers.push({accessPolicy:c,id:i.id})}return p}))}async setAccessPolicy(i,c,d={}){d.conditions=d.conditions||{};return V.tracingClient.withSpan("ContainerClient-setAccessPolicy",d,(async p=>{const A=[];for(const i of c||[]){A.push({accessPolicy:{expiresOn:i.accessPolicy.expiresOn?(0,Z.truncatedISO8061Date)(i.accessPolicy.expiresOn):"",permissions:i.accessPolicy.permissions,startsOn:i.accessPolicy.startsOn?(0,Z.truncatedISO8061Date)(i.accessPolicy.startsOn):""},id:i.id})}return(0,Z.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:d.abortSignal,access:i,containerAcl:A,leaseAccessConditions:d.conditions,modifiedAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))}))}getBlobLeaseClient(i){return new te.BlobLeaseClient(this,i)}async uploadBlockBlob(i,c,d,p={}){return V.tracingClient.withSpan("ContainerClient-uploadBlockBlob",p,(async p=>{const A=this.getBlockBlobClient(i);const C=await A.upload(c,d,p);return{blockBlobClient:A,response:C}}))}async deleteBlob(i,c={}){return V.tracingClient.withSpan("ContainerClient-deleteBlob",c,(async d=>{let p=this.getBlobClient(i);if(c.versionId){p=p.withVersion(c.versionId)}return p.delete(d)}))}async listBlobFlatSegment(i,c={}){return V.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",c,(async d=>{const p=(0,Z.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:i,...c,tracingOptions:d.tracingOptions}));const A={...p,_response:{...p._response,parsedBody:(0,Z.ConvertInternalResponseOfListBlobFlat)(p._response.parsedBody)},segment:{...p.segment,blobItems:p.segment.blobItems.map((i=>{const c={...i,name:(0,Z.BlobNameToString)(i.name),tags:(0,Z.toTags)(i.blobTags),objectReplicationSourceProperties:(0,Z.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return c}))}};return A}))}async listBlobHierarchySegment(i,c,d={}){return V.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",d,(async p=>{const A=(0,Z.assertResponse)(await this.containerContext.listBlobHierarchySegment(i,{marker:c,...d,tracingOptions:p.tracingOptions}));const C={...A,_response:{...A._response,parsedBody:(0,Z.ConvertInternalResponseOfListBlobHierarchy)(A._response.parsedBody)},segment:{...A.segment,blobItems:A.segment.blobItems.map((i=>{const c={...i,name:(0,Z.BlobNameToString)(i.name),tags:(0,Z.toTags)(i.blobTags),objectReplicationSourceProperties:(0,Z.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return c})),blobPrefixes:A.segment.blobPrefixes?.map((i=>{const c={...i,name:(0,Z.BlobNameToString)(i.name)};return c}))}};return C}))}async*listSegments(i,c={}){let d;if(!!i||i===undefined){do{d=await this.listBlobFlatSegment(i,c);i=d.continuationToken;yield await d}while(i)}}async*listItems(i={}){let c;for await(const d of this.listSegments(c,i)){yield*d.segment.blobItems}}listBlobsFlat(i={}){const c=[];if(i.includeCopy){c.push("copy")}if(i.includeDeleted){c.push("deleted")}if(i.includeMetadata){c.push("metadata")}if(i.includeSnapshots){c.push("snapshots")}if(i.includeVersions){c.push("versions")}if(i.includeUncommitedBlobs){c.push("uncommittedblobs")}if(i.includeTags){c.push("tags")}if(i.includeDeletedWithVersions){c.push("deletedwithversions")}if(i.includeImmutabilityPolicy){c.push("immutabilitypolicy")}if(i.includeLegalHold){c.push("legalhold")}if(i.prefix===""){i.prefix=undefined}const d={...i,...c.length>0?{include:c}:{}};const p=this.listItems(d);return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...d})}}async*listHierarchySegments(i,c,d={}){let p;if(!!c||c===undefined){do{p=await this.listBlobHierarchySegment(i,c,d);c=p.continuationToken;yield await p}while(c)}}async*listItemsByHierarchy(i,c={}){let d;for await(const p of this.listHierarchySegments(i,d,c)){const i=p.segment;if(i.blobPrefixes){for(const c of i.blobPrefixes){yield{kind:"prefix",...c}}}for(const c of i.blobItems){yield{kind:"blob",...c}}}}listBlobsByHierarchy(i,c={}){if(i===""){throw new RangeError("delimiter should contain one or more characters")}const d=[];if(c.includeCopy){d.push("copy")}if(c.includeDeleted){d.push("deleted")}if(c.includeMetadata){d.push("metadata")}if(c.includeSnapshots){d.push("snapshots")}if(c.includeVersions){d.push("versions")}if(c.includeUncommitedBlobs){d.push("uncommittedblobs")}if(c.includeTags){d.push("tags")}if(c.includeDeletedWithVersions){d.push("deletedwithversions")}if(c.includeImmutabilityPolicy){d.push("immutabilitypolicy")}if(c.includeLegalHold){d.push("legalhold")}if(c.prefix===""){c.prefix=undefined}const p={...c,...d.length>0?{include:d}:{}};const A=this.listItemsByHierarchy(i,p);return{async next(){return A.next()},[Symbol.asyncIterator](){return this},byPage:(c={})=>this.listHierarchySegments(i,c.continuationToken,{maxPageSize:c.maxPageSize,...p})}}async findBlobsByTagsSegment(i,c,d={}){return V.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",d,(async p=>{const A=(0,Z.assertResponse)(await this.containerContext.filterBlobs({abortSignal:d.abortSignal,where:i,marker:c,maxPageSize:d.maxPageSize,tracingOptions:p.tracingOptions}));const C={...A,_response:A._response,blobs:A.blobs.map((i=>{let c="";if(i.tags?.blobTagSet.length===1){c=i.tags.blobTagSet[0].value}return{...i,tags:(0,Z.toTags)(i.tags),tagValue:c}}))};return C}))}async*findBlobsByTagsSegments(i,c,d={}){let p;if(!!c||c===undefined){do{p=await this.findBlobsByTagsSegment(i,c,d);p.blobs=p.blobs||[];c=p.continuationToken;yield p}while(c)}}async*findBlobsByTagsItems(i,c={}){let d;for await(const p of this.findBlobsByTagsSegments(i,d,c)){yield*p.blobs}}findBlobsByTags(i,c={}){const d={...c};const p=this.findBlobsByTagsItems(i,d);return{next(){return p.next()},[Symbol.asyncIterator](){return this},byPage:(c={})=>this.findBlobsByTagsSegments(i,c.continuationToken,{maxPageSize:c.maxPageSize,...d})}}async getAccountInfo(i={}){return V.tracingClient.withSpan("ContainerClient-getAccountInfo",i,(async c=>(0,Z.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:c.tracingOptions}))))}getContainerNameFromUrl(){let i;try{const c=new URL(this.url);if(c.hostname.split(".")[1]==="blob"){i=c.pathname.split("/")[1]}else if((0,Z.isIpEndpointStyle)(c)){i=c.pathname.split("/")[2]}else{i=c.pathname.split("/")[1]}i=decodeURIComponent(i);if(!i){throw new Error("Provided containerName is invalid.")}return i}catch(i){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(i){return new Promise((c=>{if(!(this.credential instanceof v.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const d=(0,ee.generateBlobSASQueryParameters)({containerName:this._containerName,...i},this.credential).toString();c((0,Z.appendToURLQuery)(this.url,d))}))}generateSasStringToSign(i){if(!(this.credential instanceof v.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,ee.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,c){return new Promise((d=>{const p=(0,ee.generateBlobSASQueryParameters)({containerName:this._containerName,...i},c,this.accountName).toString();d((0,Z.appendToURLQuery)(this.url,p))}))}generateUserDelegationSasStringToSign(i,c){return(0,ee.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},c,this.accountName).stringToSign}getBlobBatchClient(){return new ne.BlobBatchClient(this.url,this.pipeline)}}c.ContainerClient=ContainerClient},95302:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.rangeResponseFromModel=rangeResponseFromModel;function rangeResponseFromModel(i){const c=(i._response.parsedBody.pageRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));const d=(i._response.parsedBody.clearRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));return{...i,pageRange:c,clearRange:d,_response:{...i._response,parsedBody:{pageRange:c,clearRange:d}}}}},25984:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Pipeline=c.StorageOAuthScopes=void 0;c.isPipelineLike=isPipelineLike;c.newPipeline=newPipeline;c.getCoreClientOptions=getCoreClientOptions;c.getCredentialFromPipeline=getCredentialFromPipeline;const p=d(61584);const A=d(20778);const C=d(60160);const S=d(78756);const v=d(50417);const _=d(46370);const T=d(98335);const V=d(68999);const Z=d(35345);const ee=d(27323);Object.defineProperty(c,"StorageOAuthScopes",{enumerable:true,get:function(){return ee.StorageOAuthScopes}});const te=d(51382);const re=d(490);const ne=d(31160);const ie=d(97999);const se=d(31821);const oe=d(99359);function isPipelineLike(i){if(!i||typeof i!=="object"){return false}const c=i;return Array.isArray(c.factories)&&typeof c.options==="object"&&typeof c.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(i,c={}){this.factories=i;this.options=c}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}c.Pipeline=Pipeline;function newPipeline(i,c={}){if(!i){i=new Z.AnonymousCredential}const d=new Pipeline([],c);d._credential=i;return d}function processDownlevelPipeline(i){const c=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(i.factories.length){const d=i.factories.filter((i=>!c.some((c=>c(i)))));if(d.length){const i=d.some((i=>isInjectorPolicyFactory(i)));return{wrappedPolicies:(0,p.createRequestPolicyFactoryPolicy)(d),afterRetry:i}}}return undefined}function getCoreClientOptions(i){const{httpClient:c,...d}=i.options;let T=i._coreHttpClient;if(!T){T=c?(0,p.convertHttpClient)(c):(0,te.getCachedDefaultHttpClient)();i._coreHttpClient=T}let Z=i._corePipeline;if(!Z){const c=`azsdk-js-azure-storage-blob/${ee.SDK_VERSION}`;const p=d.userAgentOptions&&d.userAgentOptions.userAgentPrefix?`${d.userAgentOptions.userAgentPrefix} ${c}`:`${c}`;Z=(0,C.createClientPipeline)({...d,loggingOptions:{additionalAllowedHeaderNames:ee.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:ee.StorageBlobLoggingAllowedQueryParameters,logger:_.logger.info},userAgentOptions:{userAgentPrefix:p},serializationOptions:{stringifyXML:S.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:S.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});Z.removePolicy({phase:"Retry"});Z.removePolicy({name:A.decompressResponsePolicyName});Z.addPolicy((0,oe.storageCorrectContentLengthPolicy)());Z.addPolicy((0,ne.storageRetryPolicy)(d.retryOptions),{phase:"Retry"});Z.addPolicy((0,te.storageRequestFailureDetailsParserPolicy)());Z.addPolicy((0,re.storageBrowserPolicy)());const T=processDownlevelPipeline(i);if(T){Z.addPolicy(T.wrappedPolicies,T.afterRetry?{afterPhase:"Retry"}:undefined)}const se=getCredentialFromPipeline(i);if((0,v.isTokenCredential)(se)){Z.addPolicy((0,A.bearerTokenAuthenticationPolicy)({credential:se,scopes:d.audience??ee.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:C.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(se instanceof V.StorageSharedKeyCredential){Z.addPolicy((0,ie.storageSharedKeyCredentialPolicy)({accountName:se.accountName,accountKey:se.accountKey}),{phase:"Sign"})}i._corePipeline=Z}return{...d,allowInsecureConnection:true,httpClient:T,pipeline:Z}}function getCredentialFromPipeline(i){if(i._credential){return i._credential}let c=new Z.AnonymousCredential;for(const d of i.factories){if((0,v.isTokenCredential)(d.credential)){c=d.credential}else if(isStorageSharedKeyCredential(d)){return d}}return c}function isStorageSharedKeyCredential(i){if(i instanceof V.StorageSharedKeyCredential){return true}return i.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(i){if(i instanceof Z.AnonymousCredential){return true}return i.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(i){return(0,v.isTokenCredential)(i.credential)}function isStorageBrowserPolicyFactory(i){if(i instanceof se.StorageBrowserPolicyFactory){return true}return i.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(i){if(i instanceof T.StorageRetryPolicyFactory){return true}return i.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(i){return i.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(i){return i.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(i){const c=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const d={sendRequest:async i=>({request:i,headers:i.headers.clone(),status:500})};const p={log(i,c){},shouldLog(i){return false}};const A=i.create(d,p);const C=A.constructor.name;return c.some((i=>C.startsWith(i)))}},52045:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.rangeToString=rangeToString;function rangeToString(i){if(i.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(i.count&&i.count<=0){throw new RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`)}return i.count?`bytes=${i.offset}-${i.offset+i.count-1}`:`bytes=${i.offset}-`}},31821:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageBrowserPolicyFactory=c.StorageBrowserPolicy=void 0;const p=d(78654);Object.defineProperty(c,"StorageBrowserPolicy",{enumerable:true,get:function(){return p.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(i,c){return new p.StorageBrowserPolicy(i,c)}}c.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},73542:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageClient=void 0;const p=d(53789);const A=d(25984);const C=d(47764);class StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(i,c){this.url=(0,C.escapeURLPath)(i);this.accountName=(0,C.getAccountNameFromUrl)(i);this.pipeline=c;this.storageClientContext=new p.StorageContextClient(this.url,(0,A.getCoreClientOptions)(c));this.isHttps=(0,C.iEqual)((0,C.getURLScheme)(this.url)||"","https");this.credential=(0,A.getCredentialFromPipeline)(c);const d=this.storageClientContext;d.requestContentType=undefined}}c.StorageClient=StorageClient},53789:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageContextClient=void 0;const p=d(30247);class StorageContextClient extends p.StorageClient{async sendOperationRequest(i,c){const d={...c};if(d.path==="/{containerName}"||d.path==="/{containerName}/{blob}"){d.path=""}return super.sendOperationRequest(i,d)}}c.StorageContextClient=StorageContextClient},98335:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageRetryPolicyFactory=c.StorageRetryPolicy=c.StorageRetryPolicyType=void 0;const p=d(57996);Object.defineProperty(c,"StorageRetryPolicy",{enumerable:true,get:function(){return p.StorageRetryPolicy}});const A=d(16308);Object.defineProperty(c,"StorageRetryPolicyType",{enumerable:true,get:function(){return A.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(i){this.retryOptions=i}create(i,c){return new p.StorageRetryPolicy(i,c,this.retryOptions)}}c.StorageRetryPolicyFactory=StorageRetryPolicyFactory},35345:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AnonymousCredential=void 0;const p=d(13501);const A=d(52596);class AnonymousCredential extends A.Credential{create(i,c){return new p.AnonymousCredentialPolicy(i,c)}}c.AnonymousCredential=AnonymousCredential},52596:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Credential=void 0;class Credential{create(i,c){throw new Error("Method should be implemented in children classes.")}}c.Credential=Credential},68999:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageSharedKeyCredential=void 0;const p=d(77598);const A=d(45511);const C=d(52596);class StorageSharedKeyCredential extends C.Credential{accountName;accountKey;constructor(i,c){super();this.accountName=i;this.accountKey=Buffer.from(c,"base64")}create(i,c){return new A.StorageSharedKeyCredentialPolicy(i,c,this)}computeHMACSHA256(i){return(0,p.createHmac)("sha256",this.accountKey).update(i,"utf8").digest("base64")}}c.StorageSharedKeyCredential=StorageSharedKeyCredential},10992:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.UserDelegationKeyCredential=void 0;const p=d(77598);class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(i,c){this.accountName=i;this.userDelegationKey=c;this.key=Buffer.from(c.value,"base64")}computeHMACSHA256(i){return(0,p.createHmac)("sha256",this.key).update(i,"utf8").digest("base64")}}c.UserDelegationKeyCredential=UserDelegationKeyCredential},30247:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageClient=void 0;const p=d(93849);p.__exportStar(d(12362),c);var A=d(5313);Object.defineProperty(c,"StorageClient",{enumerable:true,get:function(){return A.StorageClient}});p.__exportStar(d(82354),c)},12362:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.KnownStorageErrorCode=c.KnownBlobExpiryOptions=c.KnownFileShareTokenIntent=c.KnownEncryptionAlgorithmType=void 0;var d;(function(i){i["AES256"]="AES256"})(d||(c.KnownEncryptionAlgorithmType=d={}));var p;(function(i){i["Backup"]="backup"})(p||(c.KnownFileShareTokenIntent=p={}));var A;(function(i){i["NeverExpire"]="NeverExpire";i["RelativeToCreation"]="RelativeToCreation";i["RelativeToNow"]="RelativeToNow";i["Absolute"]="Absolute"})(A||(c.KnownBlobExpiryOptions=A={}));var C;(function(i){i["AccountAlreadyExists"]="AccountAlreadyExists";i["AccountBeingCreated"]="AccountBeingCreated";i["AccountIsDisabled"]="AccountIsDisabled";i["AuthenticationFailed"]="AuthenticationFailed";i["AuthorizationFailure"]="AuthorizationFailure";i["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";i["ConditionNotMet"]="ConditionNotMet";i["EmptyMetadataKey"]="EmptyMetadataKey";i["InsufficientAccountPermissions"]="InsufficientAccountPermissions";i["InternalError"]="InternalError";i["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";i["InvalidHeaderValue"]="InvalidHeaderValue";i["InvalidHttpVerb"]="InvalidHttpVerb";i["InvalidInput"]="InvalidInput";i["InvalidMd5"]="InvalidMd5";i["InvalidMetadata"]="InvalidMetadata";i["InvalidQueryParameterValue"]="InvalidQueryParameterValue";i["InvalidRange"]="InvalidRange";i["InvalidResourceName"]="InvalidResourceName";i["InvalidUri"]="InvalidUri";i["InvalidXmlDocument"]="InvalidXmlDocument";i["InvalidXmlNodeValue"]="InvalidXmlNodeValue";i["Md5Mismatch"]="Md5Mismatch";i["MetadataTooLarge"]="MetadataTooLarge";i["MissingContentLengthHeader"]="MissingContentLengthHeader";i["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";i["MissingRequiredHeader"]="MissingRequiredHeader";i["MissingRequiredXmlNode"]="MissingRequiredXmlNode";i["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";i["OperationTimedOut"]="OperationTimedOut";i["OutOfRangeInput"]="OutOfRangeInput";i["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";i["RequestBodyTooLarge"]="RequestBodyTooLarge";i["ResourceTypeMismatch"]="ResourceTypeMismatch";i["RequestUrlFailedToParse"]="RequestUrlFailedToParse";i["ResourceAlreadyExists"]="ResourceAlreadyExists";i["ResourceNotFound"]="ResourceNotFound";i["ServerBusy"]="ServerBusy";i["UnsupportedHeader"]="UnsupportedHeader";i["UnsupportedXmlNode"]="UnsupportedXmlNode";i["UnsupportedQueryParameter"]="UnsupportedQueryParameter";i["UnsupportedHttpVerb"]="UnsupportedHttpVerb";i["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";i["BlobAlreadyExists"]="BlobAlreadyExists";i["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";i["BlobNotFound"]="BlobNotFound";i["BlobOverwritten"]="BlobOverwritten";i["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";i["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";i["BlockCountExceedsLimit"]="BlockCountExceedsLimit";i["BlockListTooLong"]="BlockListTooLong";i["CannotChangeToLowerTier"]="CannotChangeToLowerTier";i["CannotVerifyCopySource"]="CannotVerifyCopySource";i["ContainerAlreadyExists"]="ContainerAlreadyExists";i["ContainerBeingDeleted"]="ContainerBeingDeleted";i["ContainerDisabled"]="ContainerDisabled";i["ContainerNotFound"]="ContainerNotFound";i["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";i["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";i["CopyIdMismatch"]="CopyIdMismatch";i["FeatureVersionMismatch"]="FeatureVersionMismatch";i["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";i["IncrementalCopyOfEarlierVersionSnapshotNotAllowed"]="IncrementalCopyOfEarlierVersionSnapshotNotAllowed";i["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";i["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";i["InvalidBlobOrBlock"]="InvalidBlobOrBlock";i["InvalidBlobTier"]="InvalidBlobTier";i["InvalidBlobType"]="InvalidBlobType";i["InvalidBlockId"]="InvalidBlockId";i["InvalidBlockList"]="InvalidBlockList";i["InvalidOperation"]="InvalidOperation";i["InvalidPageRange"]="InvalidPageRange";i["InvalidSourceBlobType"]="InvalidSourceBlobType";i["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";i["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";i["LeaseAlreadyPresent"]="LeaseAlreadyPresent";i["LeaseAlreadyBroken"]="LeaseAlreadyBroken";i["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";i["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";i["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";i["LeaseIdMissing"]="LeaseIdMissing";i["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";i["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";i["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";i["LeaseLost"]="LeaseLost";i["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";i["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";i["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";i["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";i["NoAuthenticationInformation"]="NoAuthenticationInformation";i["NoPendingCopyOperation"]="NoPendingCopyOperation";i["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";i["PendingCopyOperation"]="PendingCopyOperation";i["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";i["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";i["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";i["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";i["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";i["SnapshotCountExceeded"]="SnapshotCountExceeded";i["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";i["SnapshotsPresent"]="SnapshotsPresent";i["SourceConditionNotMet"]="SourceConditionNotMet";i["SystemInUse"]="SystemInUse";i["TargetConditionNotMet"]="TargetConditionNotMet";i["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";i["BlobBeingRehydrated"]="BlobBeingRehydrated";i["BlobArchived"]="BlobArchived";i["BlobNotArchived"]="BlobNotArchived";i["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";i["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";i["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";i["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";i["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";i["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(C||(c.KnownStorageErrorCode=C={}))},84424:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServiceGetUserDelegationKeyHeaders=c.ServiceListContainersSegmentExceptionHeaders=c.ServiceListContainersSegmentHeaders=c.ServiceGetStatisticsExceptionHeaders=c.ServiceGetStatisticsHeaders=c.ServiceGetPropertiesExceptionHeaders=c.ServiceGetPropertiesHeaders=c.ServiceSetPropertiesExceptionHeaders=c.ServiceSetPropertiesHeaders=c.ArrowField=c.ArrowConfiguration=c.JsonTextConfiguration=c.DelimitedTextConfiguration=c.QueryFormat=c.QuerySerialization=c.QueryRequest=c.ClearRange=c.PageRange=c.PageList=c.Block=c.BlockList=c.BlockLookupList=c.BlobPrefix=c.BlobHierarchyListSegment=c.ListBlobsHierarchySegmentResponse=c.BlobPropertiesInternal=c.BlobName=c.BlobItemInternal=c.BlobFlatListSegment=c.ListBlobsFlatSegmentResponse=c.AccessPolicy=c.SignedIdentifier=c.BlobTag=c.BlobTags=c.FilterBlobItem=c.FilterBlobSegment=c.UserDelegationKey=c.KeyInfo=c.ContainerProperties=c.ContainerItem=c.ListContainersSegmentResponse=c.GeoReplication=c.BlobServiceStatistics=c.StorageError=c.StaticWebsite=c.CorsRule=c.Metrics=c.RetentionPolicy=c.Logging=c.BlobServiceProperties=void 0;c.BlobUndeleteHeaders=c.BlobDeleteExceptionHeaders=c.BlobDeleteHeaders=c.BlobGetPropertiesExceptionHeaders=c.BlobGetPropertiesHeaders=c.BlobDownloadExceptionHeaders=c.BlobDownloadHeaders=c.ContainerGetAccountInfoExceptionHeaders=c.ContainerGetAccountInfoHeaders=c.ContainerListBlobHierarchySegmentExceptionHeaders=c.ContainerListBlobHierarchySegmentHeaders=c.ContainerListBlobFlatSegmentExceptionHeaders=c.ContainerListBlobFlatSegmentHeaders=c.ContainerChangeLeaseExceptionHeaders=c.ContainerChangeLeaseHeaders=c.ContainerBreakLeaseExceptionHeaders=c.ContainerBreakLeaseHeaders=c.ContainerRenewLeaseExceptionHeaders=c.ContainerRenewLeaseHeaders=c.ContainerReleaseLeaseExceptionHeaders=c.ContainerReleaseLeaseHeaders=c.ContainerAcquireLeaseExceptionHeaders=c.ContainerAcquireLeaseHeaders=c.ContainerFilterBlobsExceptionHeaders=c.ContainerFilterBlobsHeaders=c.ContainerSubmitBatchExceptionHeaders=c.ContainerSubmitBatchHeaders=c.ContainerRenameExceptionHeaders=c.ContainerRenameHeaders=c.ContainerRestoreExceptionHeaders=c.ContainerRestoreHeaders=c.ContainerSetAccessPolicyExceptionHeaders=c.ContainerSetAccessPolicyHeaders=c.ContainerGetAccessPolicyExceptionHeaders=c.ContainerGetAccessPolicyHeaders=c.ContainerSetMetadataExceptionHeaders=c.ContainerSetMetadataHeaders=c.ContainerDeleteExceptionHeaders=c.ContainerDeleteHeaders=c.ContainerGetPropertiesExceptionHeaders=c.ContainerGetPropertiesHeaders=c.ContainerCreateExceptionHeaders=c.ContainerCreateHeaders=c.ServiceFilterBlobsExceptionHeaders=c.ServiceFilterBlobsHeaders=c.ServiceSubmitBatchExceptionHeaders=c.ServiceSubmitBatchHeaders=c.ServiceGetAccountInfoExceptionHeaders=c.ServiceGetAccountInfoHeaders=c.ServiceGetUserDelegationKeyExceptionHeaders=void 0;c.PageBlobGetPageRangesHeaders=c.PageBlobUploadPagesFromURLExceptionHeaders=c.PageBlobUploadPagesFromURLHeaders=c.PageBlobClearPagesExceptionHeaders=c.PageBlobClearPagesHeaders=c.PageBlobUploadPagesExceptionHeaders=c.PageBlobUploadPagesHeaders=c.PageBlobCreateExceptionHeaders=c.PageBlobCreateHeaders=c.BlobSetTagsExceptionHeaders=c.BlobSetTagsHeaders=c.BlobGetTagsExceptionHeaders=c.BlobGetTagsHeaders=c.BlobQueryExceptionHeaders=c.BlobQueryHeaders=c.BlobGetAccountInfoExceptionHeaders=c.BlobGetAccountInfoHeaders=c.BlobSetTierExceptionHeaders=c.BlobSetTierHeaders=c.BlobAbortCopyFromURLExceptionHeaders=c.BlobAbortCopyFromURLHeaders=c.BlobCopyFromURLExceptionHeaders=c.BlobCopyFromURLHeaders=c.BlobStartCopyFromURLExceptionHeaders=c.BlobStartCopyFromURLHeaders=c.BlobCreateSnapshotExceptionHeaders=c.BlobCreateSnapshotHeaders=c.BlobBreakLeaseExceptionHeaders=c.BlobBreakLeaseHeaders=c.BlobChangeLeaseExceptionHeaders=c.BlobChangeLeaseHeaders=c.BlobRenewLeaseExceptionHeaders=c.BlobRenewLeaseHeaders=c.BlobReleaseLeaseExceptionHeaders=c.BlobReleaseLeaseHeaders=c.BlobAcquireLeaseExceptionHeaders=c.BlobAcquireLeaseHeaders=c.BlobSetMetadataExceptionHeaders=c.BlobSetMetadataHeaders=c.BlobSetLegalHoldExceptionHeaders=c.BlobSetLegalHoldHeaders=c.BlobDeleteImmutabilityPolicyExceptionHeaders=c.BlobDeleteImmutabilityPolicyHeaders=c.BlobSetImmutabilityPolicyExceptionHeaders=c.BlobSetImmutabilityPolicyHeaders=c.BlobSetHttpHeadersExceptionHeaders=c.BlobSetHttpHeadersHeaders=c.BlobSetExpiryExceptionHeaders=c.BlobSetExpiryHeaders=c.BlobUndeleteExceptionHeaders=void 0;c.BlockBlobGetBlockListExceptionHeaders=c.BlockBlobGetBlockListHeaders=c.BlockBlobCommitBlockListExceptionHeaders=c.BlockBlobCommitBlockListHeaders=c.BlockBlobStageBlockFromURLExceptionHeaders=c.BlockBlobStageBlockFromURLHeaders=c.BlockBlobStageBlockExceptionHeaders=c.BlockBlobStageBlockHeaders=c.BlockBlobPutBlobFromUrlExceptionHeaders=c.BlockBlobPutBlobFromUrlHeaders=c.BlockBlobUploadExceptionHeaders=c.BlockBlobUploadHeaders=c.AppendBlobSealExceptionHeaders=c.AppendBlobSealHeaders=c.AppendBlobAppendBlockFromUrlExceptionHeaders=c.AppendBlobAppendBlockFromUrlHeaders=c.AppendBlobAppendBlockExceptionHeaders=c.AppendBlobAppendBlockHeaders=c.AppendBlobCreateExceptionHeaders=c.AppendBlobCreateHeaders=c.PageBlobCopyIncrementalExceptionHeaders=c.PageBlobCopyIncrementalHeaders=c.PageBlobUpdateSequenceNumberExceptionHeaders=c.PageBlobUpdateSequenceNumberHeaders=c.PageBlobResizeExceptionHeaders=c.PageBlobResizeHeaders=c.PageBlobGetPageRangesDiffExceptionHeaders=c.PageBlobGetPageRangesDiffHeaders=c.PageBlobGetPageRangesExceptionHeaders=void 0;c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}}}};c.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};c.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"}}}}}}};c.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"}}}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};c.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"}}}}}}};c.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"}}}}};c.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};c.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"}}}}}}};c.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"}}}}};c.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"}}}}};c.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"]}}}}};c.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.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"}}}}};c.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"}}}}};c.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};c.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"}}}}};c.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}},6088:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.action3=c.action2=c.leaseId1=c.action1=c.proposedLeaseId=c.duration=c.action=c.comp10=c.sourceLeaseId=c.sourceContainerName=c.comp9=c.deletedContainerVersion=c.deletedContainerName=c.comp8=c.containerAcl=c.comp7=c.comp6=c.ifUnmodifiedSince=c.ifModifiedSince=c.leaseId=c.preventEncryptionScopeOverride=c.defaultEncryptionScope=c.access=c.metadata=c.restype2=c.where=c.comp5=c.multipartContentType=c.contentLength=c.comp4=c.body=c.restype1=c.comp3=c.keyInfo=c.include=c.maxPageSize=c.marker=c.prefix=c.comp2=c.comp1=c.accept1=c.requestId=c.version=c.timeoutInSeconds=c.comp=c.restype=c.url=c.accept=c.blobServiceProperties=c.contentType=void 0;c.fileRequestIntent=c.copySourceTags=c.copySourceAuthorization=c.sourceContentMD5=c.xMsRequiresSync=c.legalHold1=c.sealBlob=c.blobTagsString=c.copySource=c.sourceIfTags=c.sourceIfNoneMatch=c.sourceIfMatch=c.sourceIfUnmodifiedSince=c.sourceIfModifiedSince=c.rehydratePriority=c.tier=c.comp14=c.encryptionScope=c.legalHold=c.comp13=c.immutabilityPolicyMode=c.immutabilityPolicyExpiry=c.comp12=c.blobContentDisposition=c.blobContentLanguage=c.blobContentEncoding=c.blobContentMD5=c.blobContentType=c.blobCacheControl=c.expiresOn=c.expiryOptions=c.comp11=c.blobDeleteType=c.deleteSnapshots=c.ifTags=c.ifNoneMatch=c.ifMatch=c.encryptionAlgorithm=c.encryptionKeySha256=c.encryptionKey=c.rangeGetContentCRC64=c.rangeGetContentMD5=c.range=c.versionId=c.snapshot=c.delimiter=c.include1=c.proposedLeaseId1=c.action4=c.breakPeriod=void 0;c.listType=c.comp25=c.blocks=c.blockId=c.comp24=c.copySourceBlobProperties=c.blobType2=c.comp23=c.sourceRange1=c.appendPosition=c.maxSize=c.comp22=c.blobType1=c.comp21=c.sequenceNumberAction=c.prevSnapshotUrl=c.prevsnapshot=c.comp20=c.range1=c.sourceContentCrc64=c.sourceRange=c.sourceUrl=c.pageWrite1=c.ifSequenceNumberEqualTo=c.ifSequenceNumberLessThan=c.ifSequenceNumberLessThanOrEqualTo=c.pageWrite=c.comp19=c.accept2=c.body1=c.contentType1=c.blobSequenceNumber=c.blobContentLength=c.blobType=c.transactionalContentCrc64=c.transactionalContentMD5=c.tags=c.comp18=c.comp17=c.queryRequest=c.tier1=c.comp16=c.copyId=c.copyActionAbortConstant=c.comp15=void 0;const p=d(84424);c.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};c.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:p.BlobServiceProperties};c.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};c.url={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};c.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};c.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};c.version={parameterPath:"version",mapper:{defaultValue:"2025-11-05",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};c.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};c.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};c.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};c.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};c.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};c.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};c.keyInfo={parameterPath:"keyInfo",mapper:p.KeyInfo};c.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};c.body={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};c.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};c.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};c.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};c.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};c.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};c.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};c.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};c.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};c.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};c.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};c.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};c.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};c.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};c.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};c.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};c.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};c.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};c.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};c.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};c.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};c.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};c.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};c.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};c.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};c.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};c.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};c.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"};c.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};c.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};c.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};c.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};c.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};c.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};c.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};c.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};c.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};c.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};c.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};c.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};c.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};c.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};c.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};c.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};c.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};c.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};c.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};c.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};c.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};c.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};c.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};c.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};c.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};c.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};c.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.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"]}}};c.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};c.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};c.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};c.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};c.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};c.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};c.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};c.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};c.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};c.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};c.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};c.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};c.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};c.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"]}}};c.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};c.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};c.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};c.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.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"]}}};c.queryRequest={parameterPath:["options","queryRequest"],mapper:p.QueryRequest};c.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.tags={parameterPath:["options","tags"],mapper:p.BlobTags};c.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};c.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};c.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};c.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};c.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};c.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};c.body1={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};c.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};c.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};c.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};c.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};c.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};c.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};c.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};c.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};c.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};c.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};c.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};c.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};c.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"]}}};c.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};c.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};c.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};c.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};c.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};c.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};c.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};c.blocks={parameterPath:"blocks",mapper:p.BlockLookupList};c.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};c.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}},40535:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AppendBlobImpl=void 0;const p=d(93849);const A=p.__importStar(d(60160));const C=p.__importStar(d(84424));const S=p.__importStar(d(6088));class AppendBlobImpl{client;constructor(i){this.client=i}create(i,c){return this.client.sendOperationRequest({contentLength:i,options:c},_)}appendBlock(i,c,d){return this.client.sendOperationRequest({contentLength:i,body:c,options:d},T)}appendBlockFromUrl(i,c,d){return this.client.sendOperationRequest({sourceUrl:i,contentLength:c,options:d},V)}seal(i){return this.client.sendOperationRequest({options:i},Z)}}c.AppendBlobImpl=AppendBlobImpl;const v=A.createSerializer(C,true);const _={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.AppendBlobCreateHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.AppendBlobCreateExceptionHeaders}},queryParameters:[S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobCacheControl,S.blobContentType,S.blobContentMD5,S.blobContentEncoding,S.blobContentLanguage,S.blobContentDisposition,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode,S.encryptionScope,S.blobTagsString,S.legalHold1,S.blobType1],isXML:true,serializer:v};const T={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.AppendBlobAppendBlockHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.AppendBlobAppendBlockExceptionHeaders}},requestBody:S.body1,queryParameters:[S.timeoutInSeconds,S.comp22],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.contentLength,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope,S.transactionalContentMD5,S.transactionalContentCrc64,S.contentType1,S.accept2,S.maxSize,S.appendPosition],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:v};const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp22],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope,S.sourceIfModifiedSince,S.sourceIfUnmodifiedSince,S.sourceIfMatch,S.sourceIfNoneMatch,S.sourceContentMD5,S.copySourceAuthorization,S.fileRequestIntent,S.transactionalContentMD5,S.sourceUrl,S.sourceContentCrc64,S.maxSize,S.appendPosition,S.sourceRange1],isXML:true,serializer:v};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.AppendBlobSealHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.AppendBlobSealExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp23],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.appendPosition],isXML:true,serializer:v}},57559:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobImpl=void 0;const p=d(93849);const A=p.__importStar(d(60160));const C=p.__importStar(d(84424));const S=p.__importStar(d(6088));class BlobImpl{client;constructor(i){this.client=i}download(i){return this.client.sendOperationRequest({options:i},_)}getProperties(i){return this.client.sendOperationRequest({options:i},T)}delete(i){return this.client.sendOperationRequest({options:i},V)}undelete(i){return this.client.sendOperationRequest({options:i},Z)}setExpiry(i,c){return this.client.sendOperationRequest({expiryOptions:i,options:c},ee)}setHttpHeaders(i){return this.client.sendOperationRequest({options:i},te)}setImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},re)}deleteImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},ne)}setLegalHold(i,c){return this.client.sendOperationRequest({legalHold:i,options:c},ie)}setMetadata(i){return this.client.sendOperationRequest({options:i},se)}acquireLease(i){return this.client.sendOperationRequest({options:i},oe)}releaseLease(i,c){return this.client.sendOperationRequest({leaseId:i,options:c},ae)}renewLease(i,c){return this.client.sendOperationRequest({leaseId:i,options:c},le)}changeLease(i,c,d){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:c,options:d},ce)}breakLease(i){return this.client.sendOperationRequest({options:i},ue)}createSnapshot(i){return this.client.sendOperationRequest({options:i},de)}startCopyFromURL(i,c){return this.client.sendOperationRequest({copySource:i,options:c},fe)}copyFromURL(i,c){return this.client.sendOperationRequest({copySource:i,options:c},pe)}abortCopyFromURL(i,c){return this.client.sendOperationRequest({copyId:i,options:c},Ae)}setTier(i,c){return this.client.sendOperationRequest({tier:i,options:c},he)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},ge)}query(i){return this.client.sendOperationRequest({options:i},me)}getTags(i){return this.client.sendOperationRequest({options:i},ye)}setTags(i){return this.client.sendOperationRequest({options:i},Ee)}}c.BlobImpl=BlobImpl;const v=A.createSerializer(C,true);const _={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:C.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:C.BlobDownloadHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobDownloadExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.range,S.rangeGetContentMD5,S.rangeGetContentCRC64,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const T={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:C.BlobGetPropertiesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobGetPropertiesExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const V={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:C.BlobDeleteHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobDeleteExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId,S.blobDeleteType],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.ifTags,S.deleteSnapshots],isXML:true,serializer:v};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobUndeleteHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobUndeleteExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp8],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobSetExpiryHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetExpiryExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp11],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.expiryOptions,S.expiresOn],isXML:true,serializer:v};const te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobSetHttpHeadersHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[S.comp,S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobCacheControl,S.blobContentType,S.blobContentMD5,S.blobContentEncoding,S.blobContentLanguage,S.blobContentDisposition],isXML:true,serializer:v};const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId,S.comp12],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifUnmodifiedSince,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode],isXML:true,serializer:v};const ne={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:C.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId,S.comp12],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobSetLegalHoldHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetLegalHoldExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId,S.comp13],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.legalHold],isXML:true,serializer:v};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobSetMetadataHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetMetadataExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp6],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope],isXML:true,serializer:v};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlobAcquireLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobAcquireLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.action,S.duration,S.proposedLeaseId,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobReleaseLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobReleaseLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.action1,S.leaseId1,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const le={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobRenewLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobRenewLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.leaseId1,S.action2,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobChangeLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobChangeLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.leaseId1,S.action4,S.proposedLeaseId1,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const ue={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:C.BlobBreakLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobBreakLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.action3,S.breakPeriod,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const de={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlobCreateSnapshotHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobCreateSnapshotExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp14],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope],isXML:true,serializer:v};const fe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:C.BlobStartCopyFromURLHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.ifTags,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode,S.tier,S.rehydratePriority,S.sourceIfModifiedSince,S.sourceIfUnmodifiedSince,S.sourceIfMatch,S.sourceIfNoneMatch,S.sourceIfTags,S.copySource,S.blobTagsString,S.sealBlob,S.legalHold1],isXML:true,serializer:v};const pe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:C.BlobCopyFromURLHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobCopyFromURLExceptionHeaders}},queryParameters:[S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.ifTags,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode,S.encryptionScope,S.tier,S.sourceIfModifiedSince,S.sourceIfUnmodifiedSince,S.sourceIfMatch,S.sourceIfNoneMatch,S.copySource,S.blobTagsString,S.legalHold1,S.xMsRequiresSync,S.sourceContentMD5,S.copySourceAuthorization,S.copySourceTags,S.fileRequestIntent],isXML:true,serializer:v};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:C.BlobAbortCopyFromURLHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp15,S.copyId],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.copyActionAbortConstant],isXML:true,serializer:v};const he={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.BlobSetTierHeaders},202:{headersMapper:C.BlobSetTierHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetTierExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId,S.comp16],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifTags,S.rehydratePriority,S.tier1],isXML:true,serializer:v};const ge={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:C.BlobGetAccountInfoHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobGetAccountInfoExceptionHeaders}},queryParameters:[S.comp,S.timeoutInSeconds,S.restype1],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const me={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:C.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:C.BlobQueryHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobQueryExceptionHeaders}},requestBody:S.queryRequest,queryParameters:[S.timeoutInSeconds,S.snapshot,S.comp17],urlParameters:[S.url],headerParameters:[S.contentType,S.accept,S.version,S.requestId,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const ye={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:C.BlobTags,headersMapper:C.BlobGetTagsHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobGetTagsExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.versionId,S.comp18],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifTags],isXML:true,serializer:v};const Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:C.BlobSetTagsHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlobSetTagsExceptionHeaders}},requestBody:S.tags,queryParameters:[S.timeoutInSeconds,S.versionId,S.comp18],urlParameters:[S.url],headerParameters:[S.contentType,S.accept,S.version,S.requestId,S.leaseId,S.ifTags,S.transactionalContentMD5,S.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v}},95440:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlockBlobImpl=void 0;const p=d(93849);const A=p.__importStar(d(60160));const C=p.__importStar(d(84424));const S=p.__importStar(d(6088));class BlockBlobImpl{client;constructor(i){this.client=i}upload(i,c,d){return this.client.sendOperationRequest({contentLength:i,body:c,options:d},_)}putBlobFromUrl(i,c,d){return this.client.sendOperationRequest({contentLength:i,copySource:c,options:d},T)}stageBlock(i,c,d,p){return this.client.sendOperationRequest({blockId:i,contentLength:c,body:d,options:p},V)}stageBlockFromURL(i,c,d,p){return this.client.sendOperationRequest({blockId:i,contentLength:c,sourceUrl:d,options:p},Z)}commitBlockList(i,c){return this.client.sendOperationRequest({blocks:i,options:c},ee)}getBlockList(i,c){return this.client.sendOperationRequest({listType:i,options:c},te)}}c.BlockBlobImpl=BlockBlobImpl;const v=A.createSerializer(C,true);const _={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlockBlobUploadHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlockBlobUploadExceptionHeaders}},requestBody:S.body1,queryParameters:[S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.contentLength,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobCacheControl,S.blobContentType,S.blobContentMD5,S.blobContentEncoding,S.blobContentLanguage,S.blobContentDisposition,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode,S.encryptionScope,S.tier,S.blobTagsString,S.legalHold1,S.transactionalContentMD5,S.transactionalContentCrc64,S.contentType1,S.accept2,S.blobType2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:v};const T={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobCacheControl,S.blobContentType,S.blobContentMD5,S.blobContentEncoding,S.blobContentLanguage,S.blobContentDisposition,S.encryptionScope,S.tier,S.sourceIfModifiedSince,S.sourceIfUnmodifiedSince,S.sourceIfMatch,S.sourceIfNoneMatch,S.sourceIfTags,S.copySource,S.blobTagsString,S.sourceContentMD5,S.copySourceAuthorization,S.copySourceTags,S.fileRequestIntent,S.transactionalContentMD5,S.blobType2,S.copySourceBlobProperties],isXML:true,serializer:v};const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlockBlobStageBlockHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlockBlobStageBlockExceptionHeaders}},requestBody:S.body1,queryParameters:[S.timeoutInSeconds,S.comp24,S.blockId],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.contentLength,S.leaseId,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.encryptionScope,S.transactionalContentMD5,S.transactionalContentCrc64,S.contentType1,S.accept2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:v};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp24,S.blockId],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.leaseId,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.encryptionScope,S.sourceIfModifiedSince,S.sourceIfUnmodifiedSince,S.sourceIfMatch,S.sourceIfNoneMatch,S.sourceContentMD5,S.copySourceAuthorization,S.fileRequestIntent,S.sourceUrl,S.sourceContentCrc64,S.sourceRange1],isXML:true,serializer:v};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.BlockBlobCommitBlockListHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlockBlobCommitBlockListExceptionHeaders}},requestBody:S.blocks,queryParameters:[S.timeoutInSeconds,S.comp25],urlParameters:[S.url],headerParameters:[S.contentType,S.accept,S.version,S.requestId,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobCacheControl,S.blobContentType,S.blobContentMD5,S.blobContentEncoding,S.blobContentLanguage,S.blobContentDisposition,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode,S.encryptionScope,S.tier,S.blobTagsString,S.legalHold1,S.transactionalContentMD5,S.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const te={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:C.BlockList,headersMapper:C.BlockBlobGetBlockListHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.snapshot,S.comp25,S.listType],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifTags],isXML:true,serializer:v}},14509:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ContainerImpl=void 0;const p=d(93849);const A=p.__importStar(d(60160));const C=p.__importStar(d(84424));const S=p.__importStar(d(6088));class ContainerImpl{client;constructor(i){this.client=i}create(i){return this.client.sendOperationRequest({options:i},_)}getProperties(i){return this.client.sendOperationRequest({options:i},T)}delete(i){return this.client.sendOperationRequest({options:i},V)}setMetadata(i){return this.client.sendOperationRequest({options:i},Z)}getAccessPolicy(i){return this.client.sendOperationRequest({options:i},ee)}setAccessPolicy(i){return this.client.sendOperationRequest({options:i},te)}restore(i){return this.client.sendOperationRequest({options:i},re)}rename(i,c){return this.client.sendOperationRequest({sourceContainerName:i,options:c},ne)}submitBatch(i,c,d,p){return this.client.sendOperationRequest({contentLength:i,multipartContentType:c,body:d,options:p},ie)}filterBlobs(i){return this.client.sendOperationRequest({options:i},se)}acquireLease(i){return this.client.sendOperationRequest({options:i},oe)}releaseLease(i,c){return this.client.sendOperationRequest({leaseId:i,options:c},ae)}renewLease(i,c){return this.client.sendOperationRequest({leaseId:i,options:c},le)}breakLease(i){return this.client.sendOperationRequest({options:i},ce)}changeLease(i,c,d){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:c,options:d},ue)}listBlobFlatSegment(i){return this.client.sendOperationRequest({options:i},de)}listBlobHierarchySegment(i,c){return this.client.sendOperationRequest({delimiter:i,options:c},fe)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},pe)}}c.ContainerImpl=ContainerImpl;const v=A.createSerializer(C,true);const _={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:C.ContainerCreateHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerCreateExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.metadata,S.access,S.defaultEncryptionScope,S.preventEncryptionScopeOverride],isXML:true,serializer:v};const T={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:C.ContainerGetPropertiesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerGetPropertiesExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId],isXML:true,serializer:v};const V={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:C.ContainerDeleteHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerDeleteExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince],isXML:true,serializer:v};const Z={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:C.ContainerSetMetadataHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerSetMetadataExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp6],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.metadata,S.leaseId,S.ifModifiedSince],isXML:true,serializer:v};const ee={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:C.ContainerGetAccessPolicyHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp7],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId],isXML:true,serializer:v};const te={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:C.ContainerSetAccessPolicyHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerSetAccessPolicyExceptionHeaders}},requestBody:S.containerAcl,queryParameters:[S.timeoutInSeconds,S.restype2,S.comp7],urlParameters:[S.url],headerParameters:[S.contentType,S.accept,S.version,S.requestId,S.access,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const re={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:C.ContainerRestoreHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerRestoreExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp8],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.deletedContainerName,S.deletedContainerVersion],isXML:true,serializer:v};const ne={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:C.ContainerRenameHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerRenameExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp9],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.sourceContainerName,S.sourceLeaseId],isXML:true,serializer:v};const ie={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:C.ContainerSubmitBatchHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerSubmitBatchExceptionHeaders}},requestBody:S.body,queryParameters:[S.timeoutInSeconds,S.comp4,S.restype2],urlParameters:[S.url],headerParameters:[S.accept,S.version,S.requestId,S.contentLength,S.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const se={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:C.FilterBlobSegment,headersMapper:C.ContainerFilterBlobsHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerFilterBlobsExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.marker,S.maxPageSize,S.comp5,S.where,S.restype2],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const oe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:C.ContainerAcquireLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.action,S.duration,S.proposedLeaseId],isXML:true,serializer:v};const ae={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:C.ContainerReleaseLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.action1,S.leaseId1],isXML:true,serializer:v};const le={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:C.ContainerRenewLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerRenewLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.leaseId1,S.action2],isXML:true,serializer:v};const ce={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:C.ContainerBreakLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerBreakLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.action3,S.breakPeriod],isXML:true,serializer:v};const ue={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:C.ContainerChangeLeaseHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerChangeLeaseExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.restype2,S.comp10],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.leaseId1,S.action4,S.proposedLeaseId1],isXML:true,serializer:v};const de={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:C.ListBlobsFlatSegmentResponse,headersMapper:C.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp2,S.prefix,S.marker,S.maxPageSize,S.restype2,S.include1],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const fe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:C.ListBlobsHierarchySegmentResponse,headersMapper:C.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp2,S.prefix,S.marker,S.maxPageSize,S.restype2,S.include1,S.delimiter],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const pe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:C.ContainerGetAccountInfoHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[S.comp,S.timeoutInSeconds,S.restype1],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v}},37878:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});const p=d(93849);p.__exportStar(d(44181),c);p.__exportStar(d(14509),c);p.__exportStar(d(57559),c);p.__exportStar(d(69156),c);p.__exportStar(d(40535),c);p.__exportStar(d(95440),c)},69156:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PageBlobImpl=void 0;const p=d(93849);const A=p.__importStar(d(60160));const C=p.__importStar(d(84424));const S=p.__importStar(d(6088));class PageBlobImpl{client;constructor(i){this.client=i}create(i,c,d){return this.client.sendOperationRequest({contentLength:i,blobContentLength:c,options:d},_)}uploadPages(i,c,d){return this.client.sendOperationRequest({contentLength:i,body:c,options:d},T)}clearPages(i,c){return this.client.sendOperationRequest({contentLength:i,options:c},V)}uploadPagesFromURL(i,c,d,p,A){return this.client.sendOperationRequest({sourceUrl:i,sourceRange:c,contentLength:d,range:p,options:A},Z)}getPageRanges(i){return this.client.sendOperationRequest({options:i},ee)}getPageRangesDiff(i){return this.client.sendOperationRequest({options:i},te)}resize(i,c){return this.client.sendOperationRequest({blobContentLength:i,options:c},re)}updateSequenceNumber(i,c){return this.client.sendOperationRequest({sequenceNumberAction:i,options:c},ne)}copyIncremental(i,c){return this.client.sendOperationRequest({copySource:i,options:c},ie)}}c.PageBlobImpl=PageBlobImpl;const v=A.createSerializer(C,true);const _={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.PageBlobCreateHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobCreateExceptionHeaders}},queryParameters:[S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.metadata,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobCacheControl,S.blobContentType,S.blobContentMD5,S.blobContentEncoding,S.blobContentLanguage,S.blobContentDisposition,S.immutabilityPolicyExpiry,S.immutabilityPolicyMode,S.encryptionScope,S.tier,S.blobTagsString,S.legalHold1,S.blobType,S.blobContentLength,S.blobSequenceNumber],isXML:true,serializer:v};const T={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.PageBlobUploadPagesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobUploadPagesExceptionHeaders}},requestBody:S.body1,queryParameters:[S.timeoutInSeconds,S.comp19],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.contentLength,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.range,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope,S.transactionalContentMD5,S.transactionalContentCrc64,S.contentType1,S.accept2,S.pageWrite,S.ifSequenceNumberLessThanOrEqualTo,S.ifSequenceNumberLessThan,S.ifSequenceNumberEqualTo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:v};const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.PageBlobClearPagesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobClearPagesExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp19],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.range,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope,S.ifSequenceNumberLessThanOrEqualTo,S.ifSequenceNumberLessThan,S.ifSequenceNumberEqualTo,S.pageWrite1],isXML:true,serializer:v};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:C.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp19],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.contentLength,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope,S.sourceIfModifiedSince,S.sourceIfUnmodifiedSince,S.sourceIfMatch,S.sourceIfNoneMatch,S.sourceContentMD5,S.copySourceAuthorization,S.fileRequestIntent,S.pageWrite,S.ifSequenceNumberLessThanOrEqualTo,S.ifSequenceNumberLessThan,S.ifSequenceNumberEqualTo,S.sourceUrl,S.sourceRange,S.sourceContentCrc64,S.range1],isXML:true,serializer:v};const ee={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:C.PageList,headersMapper:C.PageBlobGetPageRangesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.marker,S.maxPageSize,S.snapshot,S.comp20],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.range,S.ifMatch,S.ifNoneMatch,S.ifTags],isXML:true,serializer:v};const te={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:C.PageList,headersMapper:C.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.marker,S.maxPageSize,S.snapshot,S.comp20,S.prevsnapshot],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.range,S.ifMatch,S.ifNoneMatch,S.ifTags,S.prevSnapshotUrl],isXML:true,serializer:v};const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.PageBlobResizeHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobResizeExceptionHeaders}},queryParameters:[S.comp,S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.encryptionKey,S.encryptionKeySha256,S.encryptionAlgorithm,S.ifMatch,S.ifNoneMatch,S.ifTags,S.encryptionScope,S.blobContentLength],isXML:true,serializer:v};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:C.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[S.comp,S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.leaseId,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.ifTags,S.blobSequenceNumber,S.sequenceNumberAction],isXML:true,serializer:v};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:C.PageBlobCopyIncrementalHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp21],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1,S.ifModifiedSince,S.ifUnmodifiedSince,S.ifMatch,S.ifNoneMatch,S.ifTags,S.copySource],isXML:true,serializer:v}},44181:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ServiceImpl=void 0;const p=d(93849);const A=p.__importStar(d(60160));const C=p.__importStar(d(84424));const S=p.__importStar(d(6088));class ServiceImpl{client;constructor(i){this.client=i}setProperties(i,c){return this.client.sendOperationRequest({blobServiceProperties:i,options:c},_)}getProperties(i){return this.client.sendOperationRequest({options:i},T)}getStatistics(i){return this.client.sendOperationRequest({options:i},V)}listContainersSegment(i){return this.client.sendOperationRequest({options:i},Z)}getUserDelegationKey(i,c){return this.client.sendOperationRequest({keyInfo:i,options:c},ee)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},te)}submitBatch(i,c,d,p){return this.client.sendOperationRequest({contentLength:i,multipartContentType:c,body:d,options:p},re)}filterBlobs(i){return this.client.sendOperationRequest({options:i},ne)}}c.ServiceImpl=ServiceImpl;const v=A.createSerializer(C,true);const _={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:C.ServiceSetPropertiesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceSetPropertiesExceptionHeaders}},requestBody:S.blobServiceProperties,queryParameters:[S.restype,S.comp,S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.contentType,S.accept,S.version,S.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const T={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:C.BlobServiceProperties,headersMapper:C.ServiceGetPropertiesHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceGetPropertiesExceptionHeaders}},queryParameters:[S.restype,S.comp,S.timeoutInSeconds],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const V={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:C.BlobServiceStatistics,headersMapper:C.ServiceGetStatisticsHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceGetStatisticsExceptionHeaders}},queryParameters:[S.restype,S.timeoutInSeconds,S.comp1],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const Z={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:C.ListContainersSegmentResponse,headersMapper:C.ServiceListContainersSegmentHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.comp2,S.prefix,S.marker,S.maxPageSize,S.include],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const ee={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:C.UserDelegationKey,headersMapper:C.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:S.keyInfo,queryParameters:[S.restype,S.timeoutInSeconds,S.comp3],urlParameters:[S.url],headerParameters:[S.contentType,S.accept,S.version,S.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const te={path:"/",httpMethod:"GET",responses:{200:{headersMapper:C.ServiceGetAccountInfoHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[S.comp,S.timeoutInSeconds,S.restype1],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v};const re={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:C.ServiceSubmitBatchHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceSubmitBatchExceptionHeaders}},requestBody:S.body,queryParameters:[S.timeoutInSeconds,S.comp4],urlParameters:[S.url],headerParameters:[S.accept,S.version,S.requestId,S.contentLength,S.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:v};const ne={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:C.FilterBlobSegment,headersMapper:C.ServiceFilterBlobsHeaders},default:{bodyMapper:C.StorageError,headersMapper:C.ServiceFilterBlobsExceptionHeaders}},queryParameters:[S.timeoutInSeconds,S.marker,S.maxPageSize,S.comp5,S.where],urlParameters:[S.url],headerParameters:[S.version,S.requestId,S.accept1],isXML:true,serializer:v}},56635:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},68355:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},17188:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},15337:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},82354:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});const p=d(93849);p.__exportStar(d(26865),c);p.__exportStar(d(15337),c);p.__exportStar(d(68355),c);p.__exportStar(d(14400),c);p.__exportStar(d(56635),c);p.__exportStar(d(17188),c)},14400:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},26865:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},5313:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageClient=void 0;const p=d(93849);const A=p.__importStar(d(61584));const C=d(37878);class StorageClient extends A.ExtendedServiceClient{url;version;constructor(i,c){if(i===undefined){throw new Error("'url' cannot be null")}if(!c){c={}}const d={requestContentType:"application/json; charset=utf-8"};const p=`azsdk-js-azure-storage-blob/12.29.1`;const A=c.userAgentOptions&&c.userAgentOptions.userAgentPrefix?`${c.userAgentOptions.userAgentPrefix} ${p}`:`${p}`;const S={...d,...c,userAgentOptions:{userAgentPrefix:A},endpoint:c.endpoint??c.baseUri??"{url}"};super(S);this.url=i;this.version=c.version||"2025-11-05";this.service=new C.ServiceImpl(this);this.container=new C.ContainerImpl(this);this.blob=new C.BlobImpl(this);this.pageBlob=new C.PageBlobImpl(this);this.appendBlob=new C.AppendBlobImpl(this);this.blockBlob=new C.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}c.StorageClient=StorageClient},83627:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.KnownEncryptionAlgorithmType=void 0;var d;(function(i){i["AES256"]="AES256"})(d||(c.KnownEncryptionAlgorithmType=d={}))},71400:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logger=c.RestError=c.BaseRequestPolicy=c.StorageOAuthScopes=c.newPipeline=c.isPipelineLike=c.Pipeline=c.getBlobServiceAccountAudience=c.StorageBlobAudience=c.PremiumPageBlobTier=c.BlockBlobTier=c.generateBlobSASQueryParameters=c.generateAccountSASQueryParameters=void 0;const p=d(93849);const A=d(20778);Object.defineProperty(c,"RestError",{enumerable:true,get:function(){return A.RestError}});p.__exportStar(d(96341),c);p.__exportStar(d(90372),c);p.__exportStar(d(81884),c);p.__exportStar(d(23276),c);p.__exportStar(d(6358),c);p.__exportStar(d(91267),c);p.__exportStar(d(46940),c);var C=d(85238);Object.defineProperty(c,"generateAccountSASQueryParameters",{enumerable:true,get:function(){return C.generateAccountSASQueryParameters}});p.__exportStar(d(95561),c);p.__exportStar(d(12094),c);p.__exportStar(d(48175),c);p.__exportStar(d(2232),c);var S=d(656);Object.defineProperty(c,"generateBlobSASQueryParameters",{enumerable:true,get:function(){return S.generateBlobSASQueryParameters}});p.__exportStar(d(31821),c);p.__exportStar(d(51622),c);p.__exportStar(d(35345),c);p.__exportStar(d(52596),c);p.__exportStar(d(68999),c);var v=d(58560);Object.defineProperty(c,"BlockBlobTier",{enumerable:true,get:function(){return v.BlockBlobTier}});Object.defineProperty(c,"PremiumPageBlobTier",{enumerable:true,get:function(){return v.PremiumPageBlobTier}});Object.defineProperty(c,"StorageBlobAudience",{enumerable:true,get:function(){return v.StorageBlobAudience}});Object.defineProperty(c,"getBlobServiceAccountAudience",{enumerable:true,get:function(){return v.getBlobServiceAccountAudience}});var _=d(25984);Object.defineProperty(c,"Pipeline",{enumerable:true,get:function(){return _.Pipeline}});Object.defineProperty(c,"isPipelineLike",{enumerable:true,get:function(){return _.isPipelineLike}});Object.defineProperty(c,"newPipeline",{enumerable:true,get:function(){return _.newPipeline}});Object.defineProperty(c,"StorageOAuthScopes",{enumerable:true,get:function(){return _.StorageOAuthScopes}});p.__exportStar(d(98335),c);var T=d(70336);Object.defineProperty(c,"BaseRequestPolicy",{enumerable:true,get:function(){return T.BaseRequestPolicy}});p.__exportStar(d(13501),c);p.__exportStar(d(63064),c);p.__exportStar(d(98335),c);p.__exportStar(d(45511),c);p.__exportStar(d(26823),c);p.__exportStar(d(83627),c);var V=d(46370);Object.defineProperty(c,"logger",{enumerable:true,get:function(){return V.logger}})},11326:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AVRO_SCHEMA_KEY=c.AVRO_CODEC_KEY=c.AVRO_INIT_BYTES=c.AVRO_SYNC_MARKER_SIZE=void 0;c.AVRO_SYNC_MARKER_SIZE=16;c.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);c.AVRO_CODEC_KEY="avro.codec";c.AVRO_SCHEMA_KEY="avro.schema"},35652:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AvroType=c.AvroParser=void 0;class AvroParser{static async readFixedBytes(i,c,d={}){const p=await i.read(c,{abortSignal:d.abortSignal});if(p.length!==c){throw new Error("Hit stream end.")}return p}static async readByte(i,c={}){const d=await AvroParser.readFixedBytes(i,1,c);return d[0]}static async readZigZagLong(i,c={}){let d=0;let p=0;let A,C,S;do{A=await AvroParser.readByte(i,c);C=A&128;d|=(A&127)<<p;p+=7}while(C&&p<28);if(C){d=d;S=268435456;do{A=await AvroParser.readByte(i,c);d+=(A&127)*S;S*=128}while(A&128);const p=(d%2?-(d+1):d)/2;if(p<Number.MIN_SAFE_INTEGER||p>Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return p}return d>>1^-(d&1)}static async readLong(i,c={}){return AvroParser.readZigZagLong(i,c)}static async readInt(i,c={}){return AvroParser.readZigZagLong(i,c)}static async readNull(){return null}static async readBoolean(i,c={}){const d=await AvroParser.readByte(i,c);if(d===1){return true}else if(d===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(i,c={}){const d=await AvroParser.readFixedBytes(i,4,c);const p=new DataView(d.buffer,d.byteOffset,d.byteLength);return p.getFloat32(0,true)}static async readDouble(i,c={}){const d=await AvroParser.readFixedBytes(i,8,c);const p=new DataView(d.buffer,d.byteOffset,d.byteLength);return p.getFloat64(0,true)}static async readBytes(i,c={}){const d=await AvroParser.readLong(i,c);if(d<0){throw new Error("Bytes size was negative.")}return i.read(d,{abortSignal:c.abortSignal})}static async readString(i,c={}){const d=await AvroParser.readBytes(i,c);const p=new TextDecoder;return p.decode(d)}static async readMapPair(i,c,d={}){const p=await AvroParser.readString(i,d);const A=await c(i,d);return{key:p,value:A}}static async readMap(i,c,d={}){const readPairMethod=(i,d={})=>AvroParser.readMapPair(i,c,d);const p=await AvroParser.readArray(i,readPairMethod,d);const A={};for(const i of p){A[i.key]=i.value}return A}static async readArray(i,c,d={}){const p=[];for(let A=await AvroParser.readLong(i,d);A!==0;A=await AvroParser.readLong(i,d)){if(A<0){await AvroParser.readLong(i,d);A=-A}while(A--){const A=await c(i,d);p.push(A)}}return p}}c.AvroParser=AvroParser;var d;(function(i){i["RECORD"]="record";i["ENUM"]="enum";i["ARRAY"]="array";i["MAP"]="map";i["UNION"]="union";i["FIXED"]="fixed"})(d||(d={}));var p;(function(i){i["NULL"]="null";i["BOOLEAN"]="boolean";i["INT"]="int";i["LONG"]="long";i["FLOAT"]="float";i["DOUBLE"]="double";i["BYTES"]="bytes";i["STRING"]="string"})(p||(p={}));class AvroType{static fromSchema(i){if(typeof i==="string"){return AvroType.fromStringSchema(i)}else if(Array.isArray(i)){return AvroType.fromArraySchema(i)}else{return AvroType.fromObjectSchema(i)}}static fromStringSchema(i){switch(i){case p.NULL:case p.BOOLEAN:case p.INT:case p.LONG:case p.FLOAT:case p.DOUBLE:case p.BYTES:case p.STRING:return new AvroPrimitiveType(i);default:throw new Error(`Unexpected Avro type ${i}`)}}static fromArraySchema(i){return new AvroUnionType(i.map(AvroType.fromSchema))}static fromObjectSchema(i){const c=i.type;try{return AvroType.fromStringSchema(c)}catch{}switch(c){case d.RECORD:if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${i}`)}const p={};if(!i.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${i}`)}for(const c of i.fields){p[c.name]=AvroType.fromSchema(c.type)}return new AvroRecordType(p,i.name);case d.ENUM:if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${i}`)}return new AvroEnumType(i.symbols);case d.MAP:if(!i.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${i}`)}return new AvroMapType(AvroType.fromSchema(i.values));case d.ARRAY:case d.FIXED:default:throw new Error(`Unexpected Avro type ${c} in ${i}`)}}}c.AvroType=AvroType;class AvroPrimitiveType extends AvroType{_primitive;constructor(i){super();this._primitive=i}read(i,c={}){switch(this._primitive){case p.NULL:return AvroParser.readNull();case p.BOOLEAN:return AvroParser.readBoolean(i,c);case p.INT:return AvroParser.readInt(i,c);case p.LONG:return AvroParser.readLong(i,c);case p.FLOAT:return AvroParser.readFloat(i,c);case p.DOUBLE:return AvroParser.readDouble(i,c);case p.BYTES:return AvroParser.readBytes(i,c);case p.STRING:return AvroParser.readString(i,c);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(i){super();this._symbols=i}async read(i,c={}){const d=await AvroParser.readInt(i,c);return this._symbols[d]}}class AvroUnionType extends AvroType{_types;constructor(i){super();this._types=i}async read(i,c={}){const d=await AvroParser.readInt(i,c);return this._types[d].read(i,c)}}class AvroMapType extends AvroType{_itemType;constructor(i){super();this._itemType=i}read(i,c={}){const readItemMethod=(i,c)=>this._itemType.read(i,c);return AvroParser.readMap(i,readItemMethod,c)}}class AvroRecordType extends AvroType{_name;_fields;constructor(i,c){super();this._fields=i;this._name=c}async read(i,c={}){const d={};d["$schema"]=this._name;for(const p in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,p)){d[p]=await this._fields[p].read(i,c)}}return d}}},41675:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AvroReadable=void 0;class AvroReadable{}c.AvroReadable=AvroReadable},48059:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AvroReadableFromStream=void 0;const p=d(41675);const A=d(83134);const C=d(20181);const S=new A.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends p.AvroReadable{_position;_readable;toUint8Array(i){if(typeof i==="string"){return C.Buffer.from(i)}return i}constructor(i){super();this._readable=i;this._position=0}get position(){return this._position}async read(i,c={}){if(c.abortSignal?.aborted){throw S}if(i<0){throw new Error(`size parameter should be positive: ${i}`)}if(i===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const d=this._readable.read(i);if(d){this._position+=d.length;return this.toUint8Array(d)}else{return new Promise(((d,p)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(c.abortSignal){c.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const c=this._readable.read(i);if(c){this._position+=c.length;cleanUp();d(this.toUint8Array(c))}};const rejectCallback=()=>{cleanUp();p()};const abortHandler=()=>{cleanUp();p(S)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(c.abortSignal){c.abortSignal.addEventListener("abort",abortHandler)}}))}}}c.AvroReadableFromStream=AvroReadableFromStream},52888:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AvroReader=void 0;const p=d(11326);const A=d(35652);const C=d(4337);class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(i,c,d,p){this._dataStream=i;this._headerStream=c||i;this._initialized=false;this._blockOffset=d||0;this._objectIndex=p||0;this._initialBlockOffset=d||0}async initialize(i={}){const c=await A.AvroParser.readFixedBytes(this._headerStream,p.AVRO_INIT_BYTES.length,{abortSignal:i.abortSignal});if(!(0,C.arraysEqual)(c,p.AVRO_INIT_BYTES)){throw new Error("Stream is not an Avro file.")}this._metadata=await A.AvroParser.readMap(this._headerStream,A.AvroParser.readString,{abortSignal:i.abortSignal});const d=this._metadata[p.AVRO_CODEC_KEY];if(!(d===undefined||d===null||d==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await A.AvroParser.readFixedBytes(this._headerStream,p.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});const S=JSON.parse(this._metadata[p.AVRO_SCHEMA_KEY]);this._itemType=A.AvroType.fromSchema(S);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await A.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});await A.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let c=0;c<this._objectIndex;c++){await this._itemType.read(this._dataStream,{abortSignal:i.abortSignal});this._itemsRemainingInBlock--}}}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(i={}){if(!this._initialized){await this.initialize(i)}while(this.hasNext()){const c=await this._itemType.read(this._dataStream,{abortSignal:i.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const c=await A.AvroParser.readFixedBytes(this._dataStream,p.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!(0,C.arraysEqual)(this._syncMarker,c)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await A.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await A.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}}yield c}}}c.AvroReader=AvroReader},96147:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AvroReadableFromStream=c.AvroReadable=c.AvroReader=void 0;var p=d(52888);Object.defineProperty(c,"AvroReader",{enumerable:true,get:function(){return p.AvroReader}});var A=d(41675);Object.defineProperty(c,"AvroReadable",{enumerable:true,get:function(){return A.AvroReadable}});var C=d(48059);Object.defineProperty(c,"AvroReadableFromStream",{enumerable:true,get:function(){return C.AvroReadableFromStream}})},4337:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.arraysEqual=arraysEqual;function arraysEqual(i,c){if(i===c)return true;if(i==null||c==null)return false;if(i.length!==c.length)return false;for(let d=0;d<i.length;++d){if(i[d]!==c[d])return false}return true}},46370:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logger=void 0;const p=d(26515);c.logger=(0,p.createClientLogger)("storage-blob")},58560:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageBlobAudience=c.PremiumPageBlobTier=c.BlockBlobTier=void 0;c.toAccessTier=toAccessTier;c.ensureCpkIfSpecified=ensureCpkIfSpecified;c.getBlobServiceAccountAudience=getBlobServiceAccountAudience;const p=d(27323);var A;(function(i){i["Hot"]="Hot";i["Cool"]="Cool";i["Cold"]="Cold";i["Archive"]="Archive"})(A||(c.BlockBlobTier=A={}));var C;(function(i){i["P4"]="P4";i["P6"]="P6";i["P10"]="P10";i["P15"]="P15";i["P20"]="P20";i["P30"]="P30";i["P40"]="P40";i["P50"]="P50";i["P60"]="P60";i["P70"]="P70";i["P80"]="P80"})(C||(c.PremiumPageBlobTier=C={}));function toAccessTier(i){if(i===undefined){return undefined}return i}function ensureCpkIfSpecified(i,c){if(i&&!c){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(i&&!i.encryptionAlgorithm){i.encryptionAlgorithm=p.EncryptionAlgorithmAES25}}var S;(function(i){i["StorageOAuthScopes"]="https://storage.azure.com/.default";i["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(S||(c.StorageBlobAudience=S={}));function getBlobServiceAccountAudience(i){return`https://${i}.blob.core.windows.net/.default`}},13501:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AnonymousCredentialPolicy=void 0;const p=d(63064);class AnonymousCredentialPolicy extends p.CredentialPolicy{constructor(i,c){super(i,c)}}c.AnonymousCredentialPolicy=AnonymousCredentialPolicy},63064:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CredentialPolicy=void 0;const p=d(70336);class CredentialPolicy extends p.BaseRequestPolicy{sendRequest(i){return this._nextPolicy.sendRequest(this.signRequest(i))}signRequest(i){return i}}c.CredentialPolicy=CredentialPolicy},70336:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(i,c){this._nextPolicy=i;this._options=c}shouldLog(i){return this._options.shouldLog(i)}log(i,c){this._options.log(i,c)}}c.BaseRequestPolicy=BaseRequestPolicy},78654:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageBrowserPolicy=void 0;const p=d(70336);const A=d(87779);const C=d(27323);const S=d(47764);class StorageBrowserPolicy extends p.BaseRequestPolicy{constructor(i,c){super(i,c)}async sendRequest(i){if(A.isNodeLike){return this._nextPolicy.sendRequest(i)}if(i.method.toUpperCase()==="GET"||i.method.toUpperCase()==="HEAD"){i.url=(0,S.setURLParameter)(i.url,C.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.remove(C.HeaderConstants.COOKIE);i.headers.remove(C.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(i)}}c.StorageBrowserPolicy=StorageBrowserPolicy},490:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageBrowserPolicyName=void 0;c.storageBrowserPolicy=storageBrowserPolicy;const p=d(87779);const A=d(27323);const C=d(47764);c.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:c.storageBrowserPolicyName,async sendRequest(i,c){if(p.isNodeLike){return c(i)}if(i.method==="GET"||i.method==="HEAD"){i.url=(0,C.setURLParameter)(i.url,A.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.delete(A.HeaderConstants.COOKIE);i.headers.delete(A.HeaderConstants.CONTENT_LENGTH);return c(i)}}}},99359:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageCorrectContentLengthPolicyName=void 0;c.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const p=d(27323);c.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(i){if(i.body&&(typeof i.body==="string"||Buffer.isBuffer(i.body))&&i.body.length>0){i.headers.set(p.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}}return{name:c.storageCorrectContentLengthPolicyName,async sendRequest(i,c){correctContentLength(i);return c(i)}}}},57996:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageRetryPolicy=void 0;c.NewRetryPolicyFactory=NewRetryPolicyFactory;const p=d(83134);const A=d(70336);const C=d(27323);const S=d(47764);const v=d(46370);const _=d(16308);function NewRetryPolicyFactory(i){return{create:(c,d)=>new StorageRetryPolicy(c,d,i)}}const T={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:_.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const V=new p.AbortError("The operation was aborted.");class StorageRetryPolicy extends A.BaseRequestPolicy{retryOptions;constructor(i,c,d=T){super(i,c);this.retryOptions={retryPolicyType:d.retryPolicyType?d.retryPolicyType:T.retryPolicyType,maxTries:d.maxTries&&d.maxTries>=1?Math.floor(d.maxTries):T.maxTries,tryTimeoutInMs:d.tryTimeoutInMs&&d.tryTimeoutInMs>=0?d.tryTimeoutInMs:T.tryTimeoutInMs,retryDelayInMs:d.retryDelayInMs&&d.retryDelayInMs>=0?Math.min(d.retryDelayInMs,d.maxRetryDelayInMs?d.maxRetryDelayInMs:T.maxRetryDelayInMs):T.retryDelayInMs,maxRetryDelayInMs:d.maxRetryDelayInMs&&d.maxRetryDelayInMs>=0?d.maxRetryDelayInMs:T.maxRetryDelayInMs,secondaryHost:d.secondaryHost?d.secondaryHost:T.secondaryHost}}async sendRequest(i){return this.attemptSendRequest(i,false,1)}async attemptSendRequest(i,c,d){const p=i.clone();const A=c||!this.retryOptions.secondaryHost||!(i.method==="GET"||i.method==="HEAD"||i.method==="OPTIONS")||d%2===1;if(!A){p.url=(0,S.setURLHost)(p.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){p.url=(0,S.setURLParameter)(p.url,C.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let _;try{v.logger.info(`RetryPolicy: =====> Try=${d} ${A?"Primary":"Secondary"}`);_=await this._nextPolicy.sendRequest(p);if(!this.shouldRetry(A,d,_)){return _}c=c||!A&&_.status===404}catch(i){v.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);if(!this.shouldRetry(A,d,_,i)){throw i}}await this.delay(A,d,i.abortSignal);return this.attemptSendRequest(i,c,++d)}shouldRetry(i,c,d,p){if(c>=this.retryOptions.maxTries){v.logger.info(`RetryPolicy: Attempt(s) ${c} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const A=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(p){for(const i of A){if(p.name.toUpperCase().includes(i)||p.message.toUpperCase().includes(i)||p.code&&p.code.toString().toUpperCase()===i){v.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}}if(d||p){const c=d?d.status:p?p.statusCode:0;if(!i&&c===404){v.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(c===503||c===500){v.logger.info(`RetryPolicy: Will retry for status code ${c}.`);return true}}if(d){if(d?.status>=400){const i=d.headers.get(C.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(p?.code==="PARSE_ERROR"&&p?.message.startsWith(`Error "Error: Unclosed root tag`)){v.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(i,c,d){let p=0;if(i){switch(this.retryOptions.retryPolicyType){case _.StorageRetryPolicyType.EXPONENTIAL:p=Math.min((Math.pow(2,c-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case _.StorageRetryPolicyType.FIXED:p=this.retryOptions.retryDelayInMs;break}}else{p=Math.random()*1e3}v.logger.info(`RetryPolicy: Delay for ${p}ms`);return(0,S.delay)(p,d,V)}}c.StorageRetryPolicy=StorageRetryPolicy},16308:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageRetryPolicyType=void 0;var d;(function(i){i[i["EXPONENTIAL"]=0]="EXPONENTIAL";i[i["FIXED"]=1]="FIXED"})(d||(c.StorageRetryPolicyType=d={}))},31160:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageRetryPolicyName=void 0;c.storageRetryPolicy=storageRetryPolicy;const p=d(83134);const A=d(20778);const C=d(87779);const S=d(98335);const v=d(27323);const _=d(47764);const T=d(46370);c.storageRetryPolicyName="storageRetryPolicy";const V={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:S.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const Z=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const ee=new p.AbortError("The operation was aborted.");function storageRetryPolicy(i={}){const d=i.retryPolicyType??V.retryPolicyType;const p=i.maxTries??V.maxTries;const te=i.retryDelayInMs??V.retryDelayInMs;const re=i.maxRetryDelayInMs??V.maxRetryDelayInMs;const ne=i.secondaryHost??V.secondaryHost;const ie=i.tryTimeoutInMs??V.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:i,attempt:c,response:d,error:A}){if(c>=p){T.logger.info(`RetryPolicy: Attempt(s) ${c} >= maxTries ${p}, no further try.`);return false}if(A){for(const i of Z){if(A.name.toUpperCase().includes(i)||A.message.toUpperCase().includes(i)||A.code&&A.code.toString().toUpperCase()===i){T.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}if(A?.code==="PARSE_ERROR"&&A?.message.startsWith(`Error "Error: Unclosed root tag`)){T.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(d||A){const c=d?.status??A?.statusCode??0;if(!i&&c===404){T.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(c===503||c===500){T.logger.info(`RetryPolicy: Will retry for status code ${c}.`);return true}}if(d){if(d?.status>=400){const i=d.headers.get(v.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(i,c){let p=0;if(i){switch(d){case S.StorageRetryPolicyType.EXPONENTIAL:p=Math.min((Math.pow(2,c-1)-1)*te,re);break;case S.StorageRetryPolicyType.FIXED:p=te;break}}else{p=Math.random()*1e3}T.logger.info(`RetryPolicy: Delay for ${p}ms`);return p}return{name:c.storageRetryPolicyName,async sendRequest(i,c){if(ie){i.url=(0,_.setURLParameter)(i.url,v.URLConstants.Parameters.TIMEOUT,String(Math.floor(ie/1e3)))}const d=i.url;const p=ne?(0,_.setURLHost)(i.url,ne):undefined;let S=false;let V=1;let Z=true;let te;let re;while(Z){const v=S||!p||!["GET","HEAD","OPTIONS"].includes(i.method)||V%2===1;i.url=v?d:p;te=undefined;re=undefined;try{T.logger.info(`RetryPolicy: =====> Try=${V} ${v?"Primary":"Secondary"}`);te=await c(i);S=S||!v&&te.status===404}catch(i){if((0,A.isRestError)(i)){T.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);re=i}else{T.logger.error(`RetryPolicy: Caught error, message: ${(0,C.getErrorMessage)(i)}`);throw i}}Z=shouldRetry({isPrimaryRetry:v,attempt:V,response:te,error:re});if(Z){await(0,_.delay)(calculateDelay(v,V),i.abortSignal,ee)}V++}if(te){return te}throw re??new A.RestError("RetryPolicy failed without known error.")}}}},45511:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageSharedKeyCredentialPolicy=void 0;const p=d(27323);const A=d(47764);const C=d(63064);const S=d(21902);class StorageSharedKeyCredentialPolicy extends C.CredentialPolicy{factory;constructor(i,c,d){super(i,c);this.factory=d}signRequest(i){i.headers.set(p.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(i.body&&(typeof i.body==="string"||i.body!==undefined)&&i.body.length>0){i.headers.set(p.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}const c=[i.method.toUpperCase(),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(i,p.HeaderConstants.DATE),this.getHeaderValueToSign(i,p.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(i,p.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(i,p.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(i,p.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(i,p.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(i)+this.getCanonicalizedResourceString(i);const d=this.factory.computeHMACSHA256(c);i.headers.set(p.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${d}`);return i}getHeaderValueToSign(i,c){const d=i.headers.get(c);if(!d){return""}if(c===p.HeaderConstants.CONTENT_LENGTH&&d==="0"){return""}return d}getCanonicalizedHeadersString(i){let c=i.headers.headersArray().filter((i=>i.name.toLowerCase().startsWith(p.HeaderConstants.PREFIX_FOR_STORAGE)));c.sort(((i,c)=>(0,S.compareHeader)(i.name.toLowerCase(),c.name.toLowerCase())));c=c.filter(((i,c,d)=>{if(c>0&&i.name.toLowerCase()===d[c-1].name.toLowerCase()){return false}return true}));let d="";c.forEach((i=>{d+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return d}getCanonicalizedResourceString(i){const c=(0,A.getURLPath)(i.url)||"/";let d="";d+=`/${this.factory.accountName}${c}`;const p=(0,A.getURLQueries)(i.url);const C={};if(p){const i=[];for(const c in p){if(Object.prototype.hasOwnProperty.call(p,c)){const d=c.toLowerCase();C[d]=p[c];i.push(d)}}i.sort();for(const c of i){d+=`\n${c}:${decodeURIComponent(C[c])}`}}return d}}c.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},97999:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageSharedKeyCredentialPolicyName=void 0;c.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const p=d(77598);const A=d(27323);const C=d(47764);const S=d(21902);c.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(i){function signRequest(c){c.headers.set(A.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(c.body&&(typeof c.body==="string"||Buffer.isBuffer(c.body))&&c.body.length>0){c.headers.set(A.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(c.body))}const d=[c.method.toUpperCase(),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(c,A.HeaderConstants.DATE),getHeaderValueToSign(c,A.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(c,A.HeaderConstants.IF_MATCH),getHeaderValueToSign(c,A.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(c,A.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(c,A.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(c)+getCanonicalizedResourceString(c);const C=(0,p.createHmac)("sha256",i.accountKey).update(d,"utf8").digest("base64");c.headers.set(A.HeaderConstants.AUTHORIZATION,`SharedKey ${i.accountName}:${C}`)}function getHeaderValueToSign(i,c){const d=i.headers.get(c);if(!d){return""}if(c===A.HeaderConstants.CONTENT_LENGTH&&d==="0"){return""}return d}function getCanonicalizedHeadersString(i){let c=[];for(const[d,p]of i.headers){if(d.toLowerCase().startsWith(A.HeaderConstants.PREFIX_FOR_STORAGE)){c.push({name:d,value:p})}}c.sort(((i,c)=>(0,S.compareHeader)(i.name.toLowerCase(),c.name.toLowerCase())));c=c.filter(((i,c,d)=>{if(c>0&&i.name.toLowerCase()===d[c-1].name.toLowerCase()){return false}return true}));let d="";c.forEach((i=>{d+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return d}function getCanonicalizedResourceString(c){const d=(0,C.getURLPath)(c.url)||"/";let p="";p+=`/${i.accountName}${d}`;const A=(0,C.getURLQueries)(c.url);const S={};if(A){const i=[];for(const c in A){if(Object.prototype.hasOwnProperty.call(A,c)){const d=c.toLowerCase();S[d]=A[c];i.push(d)}}i.sort();for(const c of i){p+=`\n${c}:${decodeURIComponent(S[c])}`}}return p}return{name:c.storageSharedKeyCredentialPolicyName,async sendRequest(i,c){signRequest(i);return c(i)}}}},73145:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobBeginCopyFromUrlPoller=void 0;const p=d(87779);const A=d(15862);class BlobBeginCopyFromUrlPoller extends A.Poller{intervalInMs;constructor(i){const{blobClient:c,copySource:d,intervalInMs:p=15e3,onProgress:A,resumeFrom:C,startCopyFromURLOptions:S}=i;let v;if(C){v=JSON.parse(C).state}const _=makeBlobBeginCopyFromURLPollOperation({...v,blobClient:c,copySource:d,startCopyFromURLOptions:S});super(_);if(typeof A==="function"){this.onProgress(A)}this.intervalInMs=p}delay(){return(0,p.delay)(this.intervalInMs)}}c.BlobBeginCopyFromUrlPoller=BlobBeginCopyFromUrlPoller;const C=async function cancel(i={}){const c=this.state;const{copyId:d}=c;if(c.isCompleted){return makeBlobBeginCopyFromURLPollOperation(c)}if(!d){c.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(c)}await c.blobClient.abortCopyFromURL(d,{abortSignal:i.abortSignal});c.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(c)};const S=async function update(i={}){const c=this.state;const{blobClient:d,copySource:p,startCopyFromURLOptions:A}=c;if(!c.isStarted){c.isStarted=true;const i=await d.startCopyFromURL(p,A);c.copyId=i.copyId;if(i.copyStatus==="success"){c.result=i;c.isCompleted=true}}else if(!c.isCompleted){try{const d=await c.blobClient.getProperties({abortSignal:i.abortSignal});const{copyStatus:p,copyProgress:A}=d;const C=c.copyProgress;if(A){c.copyProgress=A}if(p==="pending"&&A!==C&&typeof i.fireProgress==="function"){i.fireProgress(c)}else if(p==="success"){c.result=d;c.isCompleted=true}else if(p==="failed"){c.error=new Error(`Blob copy failed with reason: "${d.copyStatusDescription||"unknown"}"`);c.isCompleted=true}}catch(i){c.error=i;c.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(c)};const v=function toString(){return JSON.stringify({state:this.state},((i,c)=>{if(i==="blobClient"){return undefined}return c}))};function makeBlobBeginCopyFromURLPollOperation(i){return{state:{...i},cancel:C,toString:v,update:S}}},6358:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AccountSASPermissions=void 0;class AccountSASPermissions{static parse(i){const c=new AccountSASPermissions;for(const d of i){switch(d){case"r":c.read=true;break;case"w":c.write=true;break;case"d":c.delete=true;break;case"x":c.deleteVersion=true;break;case"l":c.list=true;break;case"a":c.add=true;break;case"c":c.create=true;break;case"u":c.update=true;break;case"p":c.process=true;break;case"t":c.tag=true;break;case"f":c.filter=true;break;case"i":c.setImmutabilityPolicy=true;break;case"y":c.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${d}`)}}return c}static from(i){const c=new AccountSASPermissions;if(i.read){c.read=true}if(i.write){c.write=true}if(i.delete){c.delete=true}if(i.deleteVersion){c.deleteVersion=true}if(i.filter){c.filter=true}if(i.tag){c.tag=true}if(i.list){c.list=true}if(i.add){c.add=true}if(i.create){c.create=true}if(i.update){c.update=true}if(i.process){c.process=true}if(i.setImmutabilityPolicy){c.setImmutabilityPolicy=true}if(i.permanentDelete){c.permanentDelete=true}return c}read=false;write=false;delete=false;deleteVersion=false;list=false;add=false;create=false;update=false;process=false;tag=false;filter=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.filter){i.push("f")}if(this.tag){i.push("t")}if(this.list){i.push("l")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.update){i.push("u")}if(this.process){i.push("p")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}c.AccountSASPermissions=AccountSASPermissions},91267:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AccountSASResourceTypes=void 0;class AccountSASResourceTypes{static parse(i){const c=new AccountSASResourceTypes;for(const d of i){switch(d){case"s":c.service=true;break;case"c":c.container=true;break;case"o":c.object=true;break;default:throw new RangeError(`Invalid resource type: ${d}`)}}return c}service=false;container=false;object=false;toString(){const i=[];if(this.service){i.push("s")}if(this.container){i.push("c")}if(this.object){i.push("o")}return i.join("")}}c.AccountSASResourceTypes=AccountSASResourceTypes},46940:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AccountSASServices=void 0;class AccountSASServices{static parse(i){const c=new AccountSASServices;for(const d of i){switch(d){case"b":c.blob=true;break;case"f":c.file=true;break;case"q":c.queue=true;break;case"t":c.table=true;break;default:throw new RangeError(`Invalid service character: ${d}`)}}return c}blob=false;file=false;queue=false;table=false;toString(){const i=[];if(this.blob){i.push("b")}if(this.table){i.push("t")}if(this.queue){i.push("q")}if(this.file){i.push("f")}return i.join("")}}c.AccountSASServices=AccountSASServices},85238:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.generateAccountSASQueryParameters=generateAccountSASQueryParameters;c.generateAccountSASQueryParametersInternal=generateAccountSASQueryParametersInternal;const p=d(6358);const A=d(91267);const C=d(46940);const S=d(2977);const v=d(26823);const _=d(27323);const T=d(47764);function generateAccountSASQueryParameters(i,c){return generateAccountSASQueryParametersInternal(i,c).sasQueryParameters}function generateAccountSASQueryParametersInternal(i,c){const d=i.version?i.version:_.SERVICE_VERSION;if(i.permissions&&i.permissions.setImmutabilityPolicy&&d<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(i.permissions&&i.permissions.tag&&d<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(i.permissions&&i.permissions.filter&&d<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(i.encryptionScope&&d<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const V=p.AccountSASPermissions.parse(i.permissions.toString());const Z=C.AccountSASServices.parse(i.services).toString();const ee=A.AccountSASResourceTypes.parse(i.resourceTypes).toString();let te;if(d>="2020-12-06"){te=[c.accountName,V,Z,ee,i.startsOn?(0,T.truncatedISO8061Date)(i.startsOn,false):"",(0,T.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,S.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",d,i.encryptionScope?i.encryptionScope:"",""].join("\n")}else{te=[c.accountName,V,Z,ee,i.startsOn?(0,T.truncatedISO8061Date)(i.startsOn,false):"",(0,T.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,S.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",d,""].join("\n")}const re=c.computeHMACSHA256(te);return{sasQueryParameters:new v.SASQueryParameters(d,re,V.toString(),Z,ee,i.protocol,i.startsOn,i.expiresOn,i.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,i.encryptionScope),stringToSign:te}}},2232:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobSASPermissions=void 0;class BlobSASPermissions{static parse(i){const c=new BlobSASPermissions;for(const d of i){switch(d){case"r":c.read=true;break;case"a":c.add=true;break;case"c":c.create=true;break;case"w":c.write=true;break;case"d":c.delete=true;break;case"x":c.deleteVersion=true;break;case"t":c.tag=true;break;case"m":c.move=true;break;case"e":c.execute=true;break;case"i":c.setImmutabilityPolicy=true;break;case"y":c.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${d}`)}}return c}static from(i){const c=new BlobSASPermissions;if(i.read){c.read=true}if(i.add){c.add=true}if(i.create){c.create=true}if(i.write){c.write=true}if(i.delete){c.delete=true}if(i.deleteVersion){c.deleteVersion=true}if(i.tag){c.tag=true}if(i.move){c.move=true}if(i.execute){c.execute=true}if(i.setImmutabilityPolicy){c.setImmutabilityPolicy=true}if(i.permanentDelete){c.permanentDelete=true}return c}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}c.BlobSASPermissions=BlobSASPermissions},656:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.generateBlobSASQueryParameters=generateBlobSASQueryParameters;c.generateBlobSASQueryParametersInternal=generateBlobSASQueryParametersInternal;const p=d(2232);const A=d(51622);const C=d(68999);const S=d(10992);const v=d(2977);const _=d(26823);const T=d(27323);const V=d(47764);function generateBlobSASQueryParameters(i,c,d){return generateBlobSASQueryParametersInternal(i,c,d).sasQueryParameters}function generateBlobSASQueryParametersInternal(i,c,d){const p=i.version?i.version:T.SERVICE_VERSION;const A=c instanceof C.StorageSharedKeyCredential?c:undefined;let v;if(A===undefined&&d!==undefined){v=new S.UserDelegationKeyCredential(d,c)}if(A===undefined&&v===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(p>="2020-12-06"){if(A!==undefined){return generateBlobSASQueryParameters20201206(i,A)}else{if(p>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(i,v)}else{return generateBlobSASQueryParametersUDK20201206(i,v)}}}if(p>="2018-11-09"){if(A!==undefined){return generateBlobSASQueryParameters20181109(i,A)}else{if(p>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(i,v)}else{return generateBlobSASQueryParametersUDK20181109(i,v)}}}if(p>="2015-04-05"){if(A!==undefined){return generateBlobSASQueryParameters20150405(i,A)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function generateBlobSASQueryParameters20150405(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let d="c";if(i.blobName){d="b"}let C;if(i.permissions){if(i.blobName){C=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{C=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const S=[C?C:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const T=c.computeHMACSHA256(S);return{sasQueryParameters:new _.SASQueryParameters(i.version,T,C,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:S}}function generateBlobSASQueryParameters20181109(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let d="c";let C=i.snapshotTime;if(i.blobName){d="b";if(i.snapshotTime){d="bs"}else if(i.versionId){d="bv";C=i.versionId}}let S;if(i.permissions){if(i.blobName){S=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{S=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const T=[S?S:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,d,C,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const Z=c.computeHMACSHA256(T);return{sasQueryParameters:new _.SASQueryParameters(i.version,Z,S,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:T}}function generateBlobSASQueryParameters20201206(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let d="c";let C=i.snapshotTime;if(i.blobName){d="b";if(i.snapshotTime){d="bs"}else if(i.versionId){d="bv";C=i.versionId}}let S;if(i.permissions){if(i.blobName){S=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{S=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const T=[S?S:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,d,C,i.encryptionScope,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const Z=c.computeHMACSHA256(T);return{sasQueryParameters:new _.SASQueryParameters(i.version,Z,S,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,undefined,undefined,undefined,i.encryptionScope),stringToSign:T}}function generateBlobSASQueryParametersUDK20181109(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let d="c";let C=i.snapshotTime;if(i.blobName){d="b";if(i.snapshotTime){d="bs"}else if(i.versionId){d="bv";C=i.versionId}}let S;if(i.permissions){if(i.blobName){S=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{S=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const T=[S?S:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),c.userDelegationKey.signedObjectId,c.userDelegationKey.signedTenantId,c.userDelegationKey.signedStartsOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedStartsOn,false):"",c.userDelegationKey.signedExpiresOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedExpiresOn,false):"",c.userDelegationKey.signedService,c.userDelegationKey.signedVersion,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,d,C,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const Z=c.computeHMACSHA256(T);return{sasQueryParameters:new _.SASQueryParameters(i.version,Z,S,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,c.userDelegationKey),stringToSign:T}}function generateBlobSASQueryParametersUDK20200210(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let d="c";let C=i.snapshotTime;if(i.blobName){d="b";if(i.snapshotTime){d="bs"}else if(i.versionId){d="bv";C=i.versionId}}let S;if(i.permissions){if(i.blobName){S=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{S=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const T=[S?S:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),c.userDelegationKey.signedObjectId,c.userDelegationKey.signedTenantId,c.userDelegationKey.signedStartsOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedStartsOn,false):"",c.userDelegationKey.signedExpiresOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedExpiresOn,false):"",c.userDelegationKey.signedService,c.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,d,C,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const Z=c.computeHMACSHA256(T);return{sasQueryParameters:new _.SASQueryParameters(i.version,Z,S,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,c.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId),stringToSign:T}}function generateBlobSASQueryParametersUDK20201206(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let d="c";let C=i.snapshotTime;if(i.blobName){d="b";if(i.snapshotTime){d="bs"}else if(i.versionId){d="bv";C=i.versionId}}let S;if(i.permissions){if(i.blobName){S=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{S=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const T=[S?S:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),c.userDelegationKey.signedObjectId,c.userDelegationKey.signedTenantId,c.userDelegationKey.signedStartsOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedStartsOn,false):"",c.userDelegationKey.signedExpiresOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedExpiresOn,false):"",c.userDelegationKey.signedService,c.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,d,C,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const Z=c.computeHMACSHA256(T);return{sasQueryParameters:new _.SASQueryParameters(i.version,Z,S,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,c.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope),stringToSign:T}}function generateBlobSASQueryParametersUDK20250705(i,c){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let d="c";let C=i.snapshotTime;if(i.blobName){d="b";if(i.snapshotTime){d="bs"}else if(i.versionId){d="bv";C=i.versionId}}let S;if(i.permissions){if(i.blobName){S=p.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{S=A.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const T=[S?S:"",i.startsOn?(0,V.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,V.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(c.accountName,i.containerName,i.blobName),c.userDelegationKey.signedObjectId,c.userDelegationKey.signedTenantId,c.userDelegationKey.signedStartsOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedStartsOn,false):"",c.userDelegationKey.signedExpiresOn?(0,V.truncatedISO8061Date)(c.userDelegationKey.signedExpiresOn,false):"",c.userDelegationKey.signedService,c.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,undefined,undefined,i.ipRange?(0,v.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,d,C,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const Z=c.computeHMACSHA256(T);return{sasQueryParameters:new _.SASQueryParameters(i.version,Z,S,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,d,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,c.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope),stringToSign:T}}function getCanonicalName(i,c,d){const p=[`/blob/${i}/${c}`];if(d){p.push(`/${d}`)}return p.join("")}function SASSignatureValuesSanityCheckAndAutofill(i){const c=i.version?i.version:T.SERVICE_VERSION;if(i.snapshotTime&&c<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(i.blobName===undefined&&i.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(i.versionId&&c<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(i.blobName===undefined&&i.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(i.permissions&&i.permissions.setImmutabilityPolicy&&c<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&c<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&c<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(i.permissions&&i.permissions.tag&&c<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(c<"2020-02-10"&&i.permissions&&(i.permissions.move||i.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(c<"2021-04-10"&&i.permissions&&i.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(c<"2020-02-10"&&(i.preauthorizedAgentObjectId||i.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(i.encryptionScope&&c<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}i.version=c;return i}},51622:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ContainerSASPermissions=void 0;class ContainerSASPermissions{static parse(i){const c=new ContainerSASPermissions;for(const d of i){switch(d){case"r":c.read=true;break;case"a":c.add=true;break;case"c":c.create=true;break;case"w":c.write=true;break;case"d":c.delete=true;break;case"l":c.list=true;break;case"t":c.tag=true;break;case"x":c.deleteVersion=true;break;case"m":c.move=true;break;case"e":c.execute=true;break;case"i":c.setImmutabilityPolicy=true;break;case"y":c.permanentDelete=true;break;case"f":c.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${d}`)}}return c}static from(i){const c=new ContainerSASPermissions;if(i.read){c.read=true}if(i.add){c.add=true}if(i.create){c.create=true}if(i.write){c.write=true}if(i.delete){c.delete=true}if(i.list){c.list=true}if(i.deleteVersion){c.deleteVersion=true}if(i.tag){c.tag=true}if(i.move){c.move=true}if(i.execute){c.execute=true}if(i.setImmutabilityPolicy){c.setImmutabilityPolicy=true}if(i.permanentDelete){c.permanentDelete=true}if(i.filterByTags){c.filterByTags=true}return c}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;list=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;filterByTags=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.list){i.push("l")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}if(this.filterByTags){i.push("f")}return i.join("")}}c.ContainerSASPermissions=ContainerSASPermissions},26823:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.SASQueryParameters=c.SASProtocol=void 0;const p=d(2977);const A=d(47764);var C;(function(i){i["Https"]="https";i["HttpsAndHttp"]="https,http"})(C||(c.SASProtocol=C={}));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(i,c,d,p,A,C,S,v,_,T,V,Z,ee,te,re,ne,ie,se,oe,ae){this.version=i;this.signature=c;if(d!==undefined&&typeof d!=="string"){this.permissions=d.permissions;this.services=d.services;this.resourceTypes=d.resourceTypes;this.protocol=d.protocol;this.startsOn=d.startsOn;this.expiresOn=d.expiresOn;this.ipRangeInner=d.ipRange;this.identifier=d.identifier;this.encryptionScope=d.encryptionScope;this.resource=d.resource;this.cacheControl=d.cacheControl;this.contentDisposition=d.contentDisposition;this.contentEncoding=d.contentEncoding;this.contentLanguage=d.contentLanguage;this.contentType=d.contentType;if(d.userDelegationKey){this.signedOid=d.userDelegationKey.signedObjectId;this.signedTenantId=d.userDelegationKey.signedTenantId;this.signedStartsOn=d.userDelegationKey.signedStartsOn;this.signedExpiresOn=d.userDelegationKey.signedExpiresOn;this.signedService=d.userDelegationKey.signedService;this.signedVersion=d.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=d.preauthorizedAgentObjectId;this.correlationId=d.correlationId}}else{this.services=p;this.resourceTypes=A;this.expiresOn=v;this.permissions=d;this.protocol=C;this.startsOn=S;this.ipRangeInner=_;this.encryptionScope=ae;this.identifier=T;this.resource=V;this.cacheControl=Z;this.contentDisposition=ee;this.contentEncoding=te;this.contentLanguage=re;this.contentType=ne;if(ie){this.signedOid=ie.signedObjectId;this.signedTenantId=ie.signedTenantId;this.signedStartsOn=ie.signedStartsOn;this.signedExpiresOn=ie.signedExpiresOn;this.signedService=ie.signedService;this.signedVersion=ie.signedVersion;this.preauthorizedAgentObjectId=se;this.correlationId=oe}}}toString(){const i=["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 c=[];for(const d of i){switch(d){case"sv":this.tryAppendQueryParameter(c,d,this.version);break;case"ss":this.tryAppendQueryParameter(c,d,this.services);break;case"srt":this.tryAppendQueryParameter(c,d,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(c,d,this.protocol);break;case"st":this.tryAppendQueryParameter(c,d,this.startsOn?(0,A.truncatedISO8061Date)(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(c,d,this.expiresOn?(0,A.truncatedISO8061Date)(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(c,d,this.ipRange?(0,p.ipRangeToString)(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(c,d,this.identifier);break;case"ses":this.tryAppendQueryParameter(c,d,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(c,d,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(c,d,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(c,d,this.signedStartsOn?(0,A.truncatedISO8061Date)(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(c,d,this.signedExpiresOn?(0,A.truncatedISO8061Date)(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(c,d,this.signedService);break;case"skv":this.tryAppendQueryParameter(c,d,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(c,d,this.resource);break;case"sp":this.tryAppendQueryParameter(c,d,this.permissions);break;case"sig":this.tryAppendQueryParameter(c,d,this.signature);break;case"rscc":this.tryAppendQueryParameter(c,d,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(c,d,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(c,d,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(c,d,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(c,d,this.contentType);break;case"saoid":this.tryAppendQueryParameter(c,d,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(c,d,this.correlationId);break}}return c.join("&")}tryAppendQueryParameter(i,c,d){if(!d){return}c=encodeURIComponent(c);d=encodeURIComponent(d);if(c.length>0&&d.length>0){i.push(`${c}=${d}`)}}}c.SASQueryParameters=SASQueryParameters},2977:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ipRangeToString=ipRangeToString;function ipRangeToString(i){return i.end?`${i.start}-${i.end}`:i.start}},81582:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Batch=void 0;const p=d(24434);var A;(function(i){i[i["Good"]=0]="Good";i[i["Error"]=1]="Error"})(A||(A={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=A.Good;emitter;constructor(i=5){if(i<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=i;this.emitter=new p.EventEmitter}addOperation(i){this.operations.push((async()=>{try{this.actives++;await i();this.actives--;this.completed++;this.parallelExecute()}catch(i){this.emitter.emit("error",i)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((i,c)=>{this.emitter.on("finish",i);this.emitter.on("error",(i=>{this.state=A.Error;c(i)}))}))}nextOperation(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null}parallelExecute(){if(this.state===A.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){const i=this.nextOperation();if(i){i()}else{return}}}}c.Batch=Batch},36426:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BlobQuickQueryStream=void 0;const p=d(57075);const A=d(96147);class BlobQuickQueryStream extends p.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(i,c={}){super();this.source=i;this.onProgress=c.onProgress;this.onError=c.onError;this.avroReader=new A.AvroReader(new A.AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:c.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((i=>{this.emit("error",i)}))}}async readInternal(){this.avroPaused=false;let i;do{i=await this.avroIter.next();if(i.done){break}const c=i.value;const d=c.$schema;if(typeof d!=="string"){throw Error("Missing schema in avro record.")}switch(d){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const i=c.data;if(i instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(i))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const i=c.bytesScanned;if(typeof i!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:i})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const i=c.totalBytes;if(typeof i!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const i=c.fatal;if(typeof i!=="boolean"){throw Error("Invalid fatal in avro error record.")}const d=c.name;if(typeof d!=="string"){throw Error("Invalid name in avro error record.")}const p=c.description;if(typeof p!=="string"){throw Error("Invalid description in avro error record.")}const A=c.position;if(typeof A!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:A,name:d,isFatal:i,description:p})}break;default:throw Error(`Unknown schema ${d} in avro progress record.`)}}while(!i.done&&!this.avroPaused)}}c.BlobQuickQueryStream=BlobQuickQueryStream},58913:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Mutex=void 0;var d;(function(i){i[i["LOCKED"]=0]="LOCKED";i[i["UNLOCKED"]=1]="UNLOCKED"})(d||(d={}));class Mutex{static async lock(i){return new Promise((c=>{if(this.keys[i]===undefined||this.keys[i]===d.UNLOCKED){this.keys[i]=d.LOCKED;c()}else{this.onUnlockEvent(i,(()=>{this.keys[i]=d.LOCKED;c()}))}}))}static async unlock(i){return new Promise((c=>{if(this.keys[i]===d.LOCKED){this.emitUnlockEvent(i)}delete this.keys[i];c()}))}static keys={};static listeners={};static onUnlockEvent(i,c){if(this.listeners[i]===undefined){this.listeners[i]=[c]}else{this.listeners[i].push(c)}}static emitUnlockEvent(i){if(this.listeners[i]!==undefined&&this.listeners[i].length>0){const c=this.listeners[i].shift();setImmediate((()=>{c.call(this)}))}}}c.Mutex=Mutex},98684:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RetriableReadableStream=void 0;const p=d(83134);const A=d(57075);class RetriableReadableStream extends A.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(i,c,d,p,A={}){super({highWaterMark:A.highWaterMark});this.getter=c;this.source=i;this.start=d;this.offset=d;this.end=d+p-1;this.maxRetryRequests=A.maxRetryRequests&&A.maxRetryRequests>=0?A.maxRetryRequests:0;this.onProgress=A.onProgress;this.options=A;this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=i=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=i.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(i)){this.source.pause()}};sourceAbortedHandler=()=>{const i=new p.AbortError("The operation was aborted.");this.destroy(i)};sourceErrorOrEndHandler=i=>{if(i&&i.name==="AbortError"){this.destroy(i);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries<this.maxRetryRequests){this.retries+=1;this.getter(this.offset).then((i=>{this.source=i;this.setSourceEventHandlers();return})).catch((i=>{this.destroy(i)}))}else{this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`))}}else{this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))}};_destroy(i,c){this.removeSourceEventHandlers();this.source.destroy();c(i===null?undefined:i)}}c.RetriableReadableStream=RetriableReadableStream},21902:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.compareHeader=compareHeader;const d=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 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,0,0,0,0,0,0,0,0,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 A=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(i,c){if(isLessThan(i,c))return-1;return 1}function isLessThan(i,c){const C=[d,p,A];let S=0;let v=0;let _=0;while(S<C.length){if(S===C.length-1&&v!==_){return v>_}const d=v<i.length?C[S][i[v].charCodeAt(0)]:1;const p=_<c.length?C[S][c[_].charCodeAt(0)]:1;if(d===1&&p===1){v=0;_=0;++S}else if(d===p){++v;++_}else if(d===0){++v}else if(p===0){++_}else{return d<p}}return false}},27323:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PathStylePorts=c.BlobDoesNotUseCustomerSpecifiedEncryption=c.BlobUsesCustomerSpecifiedEncryptionMsg=c.StorageBlobLoggingAllowedQueryParameters=c.StorageBlobLoggingAllowedHeaderNames=c.DevelopmentConnectionString=c.EncryptionAlgorithmAES25=c.HTTP_VERSION_1_1=c.HTTP_LINE_ENDING=c.BATCH_MAX_PAYLOAD_IN_BYTES=c.BATCH_MAX_REQUEST=c.SIZE_1_MB=c.ETagAny=c.ETagNone=c.HeaderConstants=c.HTTPURLConnection=c.URLConstants=c.StorageOAuthScopes=c.REQUEST_TIMEOUT=c.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=c.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=c.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=c.BLOCK_BLOB_MAX_BLOCKS=c.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=c.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=c.SERVICE_VERSION=c.SDK_VERSION=void 0;c.SDK_VERSION="12.29.1";c.SERVICE_VERSION="2025-11-05";c.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;c.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;c.BLOCK_BLOB_MAX_BLOCKS=5e4;c.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;c.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;c.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;c.REQUEST_TIMEOUT=100*1e3;c.StorageOAuthScopes="https://storage.azure.com/.default";c.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};c.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};c.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"};c.ETagNone="";c.ETagAny="*";c.SIZE_1_MB=1*1024*1024;c.BATCH_MAX_REQUEST=256;c.BATCH_MAX_PAYLOAD_IN_BYTES=4*c.SIZE_1_MB;c.HTTP_LINE_ENDING="\r\n";c.HTTP_VERSION_1_1="HTTP/1.1";c.EncryptionAlgorithmAES25="AES256";c.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;c.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"];c.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"];c.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";c.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";c.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},53952:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.tracingClient=void 0;const p=d(20623);const A=d(27323);c.tracingClient=(0,p.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:A.SDK_VERSION,namespace:"Microsoft.Storage"})},47764:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.escapeURLPath=escapeURLPath;c.getValueInConnString=getValueInConnString;c.extractConnectionStringParts=extractConnectionStringParts;c.appendToURLPath=appendToURLPath;c.setURLParameter=setURLParameter;c.getURLParameter=getURLParameter;c.setURLHost=setURLHost;c.getURLPath=getURLPath;c.getURLScheme=getURLScheme;c.getURLPathAndQuery=getURLPathAndQuery;c.getURLQueries=getURLQueries;c.appendToURLQuery=appendToURLQuery;c.truncatedISO8061Date=truncatedISO8061Date;c.base64encode=base64encode;c.base64decode=base64decode;c.generateBlockID=generateBlockID;c.delay=delay;c.padStart=padStart;c.sanitizeURL=sanitizeURL;c.sanitizeHeaders=sanitizeHeaders;c.iEqual=iEqual;c.getAccountNameFromUrl=getAccountNameFromUrl;c.isIpEndpointStyle=isIpEndpointStyle;c.toBlobTagsString=toBlobTagsString;c.toBlobTags=toBlobTags;c.toTags=toTags;c.toQuerySerialization=toQuerySerialization;c.parseObjectReplicationRecord=parseObjectReplicationRecord;c.attachCredential=attachCredential;c.httpAuthorizationToString=httpAuthorizationToString;c.BlobNameToString=BlobNameToString;c.ConvertInternalResponseOfListBlobFlat=ConvertInternalResponseOfListBlobFlat;c.ConvertInternalResponseOfListBlobHierarchy=ConvertInternalResponseOfListBlobHierarchy;c.ExtractPageRangeInfoItems=ExtractPageRangeInfoItems;c.EscapePath=EscapePath;c.assertResponse=assertResponse;const p=d(20778);const A=d(87779);const C=d(27323);function escapeURLPath(i){const c=new URL(i);let d=c.pathname;d=d||"/";d=escape(d);c.pathname=d;return c.toString()}function getProxyUriFromDevConnString(i){let c="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const d=i.split(";");for(const i of d){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){c=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return c}function getValueInConnString(i,c){const d=i.split(";");for(const i of d){if(i.trim().startsWith(c)){return i.trim().match(c+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let c="";if(i.startsWith("UseDevelopmentStorage=true")){c=getProxyUriFromDevConnString(i);i=C.DevelopmentConnectionString}let d=getValueInConnString(i,"BlobEndpoint");d=d.endsWith("/")?d.slice(0,-1):d;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let p="";let A="";let C=Buffer.from("accountKey","base64");let S="";A=getValueInConnString(i,"AccountName");C=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!d){p=getValueInConnString(i,"DefaultEndpointsProtocol");const c=p.toLowerCase();if(c!=="https"&&c!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}S=getValueInConnString(i,"EndpointSuffix");if(!S){throw new Error("Invalid EndpointSuffix in the provided Connection String")}d=`${p}://${A}.blob.${S}`}if(!A){throw new Error("Invalid AccountName in the provided Connection String")}else if(C.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:d,accountName:A,accountKey:C,proxyUri:c}}else{let c=getValueInConnString(i,"SharedAccessSignature");let p=getValueInConnString(i,"AccountName");if(!p){p=getAccountNameFromUrl(d)}if(!d){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!c){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(c.startsWith("?")){c=c.substring(1)}return{kind:"SASConnString",url:d,accountName:p,accountSas:c}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,c){const d=new URL(i);let p=d.pathname;p=p?p.endsWith("/")?`${p}${c}`:`${p}/${c}`:c;d.pathname=p;return d.toString()}function setURLParameter(i,c,d){const p=new URL(i);const A=encodeURIComponent(c);const C=d?encodeURIComponent(d):undefined;const S=p.search===""?"?":p.search;const v=[];for(const i of S.slice(1).split("&")){if(i){const[c]=i.split("=",2);if(c!==A){v.push(i)}}}if(C){v.push(`${A}=${C}`)}p.search=v.length?`?${v.join("&")}`:"";return p.toString()}function getURLParameter(i,c){const d=new URL(i);return d.searchParams.get(c)??undefined}function setURLHost(i,c){const d=new URL(i);d.hostname=c;return d.toString()}function getURLPath(i){try{const c=new URL(i);return c.pathname}catch(i){return undefined}}function getURLScheme(i){try{const c=new URL(i);return c.protocol.endsWith(":")?c.protocol.slice(0,-1):c.protocol}catch(i){return undefined}}function getURLPathAndQuery(i){const c=new URL(i);const d=c.pathname;if(!d){throw new RangeError("Invalid url without valid path.")}let p=c.search||"";p=p.trim();if(p!==""){p=p.startsWith("?")?p:`?${p}`}return`${d}${p}`}function getURLQueries(i){let c=new URL(i).search;if(!c){return{}}c=c.trim();c=c.startsWith("?")?c.substring(1):c;let d=c.split("&");d=d.filter((i=>{const c=i.indexOf("=");const d=i.lastIndexOf("=");return c>0&&c===d&&d<i.length-1}));const p={};for(const i of d){const c=i.split("=");const d=c[0];const A=c[1];p[d]=A}return p}function appendToURLQuery(i,c){const d=new URL(i);let p=d.search;if(p){p+="&"+c}else{p=c}d.search=p;return d.toString()}function truncatedISO8061Date(i,c=true){const d=i.toISOString();return c?d.substring(0,d.length-1)+"0000"+"Z":d.substring(0,d.length-5)+"Z"}function base64encode(i){return!A.isNodeLike?btoa(i):Buffer.from(i).toString("base64")}function base64decode(i){return!A.isNodeLike?atob(i):Buffer.from(i,"base64").toString()}function generateBlockID(i,c){const d=48;const p=6;const A=d-p;if(i.length>A){i=i.slice(0,A)}const C=i+padStart(c.toString(),d-i.length,"0");return base64encode(C)}async function delay(i,c,d){return new Promise(((p,A)=>{let C;const abortHandler=()=>{if(C!==undefined){clearTimeout(C)}A(d)};const resolveHandler=()=>{if(c!==undefined){c.removeEventListener("abort",abortHandler)}p()};C=setTimeout(resolveHandler,i);if(c!==undefined){c.addEventListener("abort",abortHandler)}}))}function padStart(i,c,d=" "){if(String.prototype.padStart){return i.padStart(c,d)}d=d||" ";if(i.length>c){return i}else{c=c-i.length;if(c>d.length){d+=d.repeat(c/d.length)}return d.slice(0,c)+i}}function sanitizeURL(i){let c=i;if(getURLParameter(c,C.URLConstants.Parameters.SIGNATURE)){c=setURLParameter(c,C.URLConstants.Parameters.SIGNATURE,"*****")}return c}function sanitizeHeaders(i){const c=(0,p.createHttpHeaders)();for(const[d,p]of i){if(d.toLowerCase()===C.HeaderConstants.AUTHORIZATION.toLowerCase()){c.set(d,"*****")}else if(d.toLowerCase()===C.HeaderConstants.X_MS_COPY_SOURCE){c.set(d,sanitizeURL(p))}else{c.set(d,p)}}return c}function iEqual(i,c){return i.toLocaleLowerCase()===c.toLocaleLowerCase()}function getAccountNameFromUrl(i){const c=new URL(i);let d;try{if(c.hostname.split(".")[1]==="blob"){d=c.hostname.split(".")[0]}else if(isIpEndpointStyle(c)){d=c.pathname.split("/")[1]}else{d=""}return d}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const c=i.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(c)||Boolean(i.port)&&C.PathStylePorts.includes(i.port)}function toBlobTagsString(i){if(i===undefined){return undefined}const c=[];for(const d in i){if(Object.prototype.hasOwnProperty.call(i,d)){const p=i[d];c.push(`${encodeURIComponent(d)}=${encodeURIComponent(p)}`)}}return c.join("&")}function toBlobTags(i){if(i===undefined){return undefined}const c={blobTagSet:[]};for(const d in i){if(Object.prototype.hasOwnProperty.call(i,d)){const p=i[d];c.blobTagSet.push({key:d,value:p})}}return c}function toTags(i){if(i===undefined){return undefined}const c={};for(const d of i.blobTagSet){c[d.key]=d.value}return c}function toQuerySerialization(i){if(i===undefined){return undefined}switch(i.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:i.columnSeparator||",",fieldQuote:i.fieldQuote||"",recordSeparator:i.recordSeparator,escapeChar:i.escapeCharacter||"",headersPresent:i.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:i.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:i.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(i){if(!i){return undefined}if("policy-id"in i){return undefined}const c=[];for(const d in i){const p=d.split("_");const A="or-";if(p[0].startsWith(A)){p[0]=p[0].substring(A.length)}const C={ruleId:p[1],replicationStatus:i[d]};const S=c.findIndex((i=>i.policyId===p[0]));if(S>-1){c[S].rules.push(C)}else{c.push({policyId:p[0],rules:[C]})}}return c}function attachCredential(i,c){i.credential=c;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:undefined}function BlobNameToString(i){if(i.encoded){return decodeURIComponent(i.content)}else{return i.content}}function ConvertInternalResponseOfListBlobFlat(i){return{...i,segment:{blobItems:i.segment.blobItems.map((i=>{const c={...i,name:BlobNameToString(i.name)};return c}))}}}function ConvertInternalResponseOfListBlobHierarchy(i){return{...i,segment:{blobPrefixes:i.segment.blobPrefixes?.map((i=>{const c={...i,name:BlobNameToString(i.name)};return c})),blobItems:i.segment.blobItems.map((i=>{const c={...i,name:BlobNameToString(i.name)};return c}))}}}function*ExtractPageRangeInfoItems(i){let c=[];let d=[];if(i.pageRange)c=i.pageRange;if(i.clearRange)d=i.clearRange;let p=0;let A=0;while(p<c.length&&A<d.length){if(c[p].start<d[A].start){yield{start:c[p].start,end:c[p].end,isClear:false};++p}else{yield{start:d[A].start,end:d[A].end,isClear:true};++A}}for(;p<c.length;++p){yield{start:c[p].start,end:c[p].end,isClear:false}}for(;A<d.length;++A){yield{start:d[A].start,end:d[A].end,isClear:true}}}function EscapePath(i){const c=i.split("/");for(let i=0;i<c.length;i++){c[i]=encodeURIComponent(c[i])}return c.join("/")}function assertResponse(i){if(`_response`in i){return i}throw new TypeError(`Unexpected response object ${i}`)}},53563:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.fsCreateReadStream=c.fsStat=void 0;c.streamToBuffer=streamToBuffer;c.streamToBuffer2=streamToBuffer2;c.streamToBuffer3=streamToBuffer3;c.readStreamToLocalFile=readStreamToLocalFile;const p=d(93849);const A=p.__importDefault(d(73024));const C=p.__importDefault(d(57975));const S=d(27323);async function streamToBuffer(i,c,d,p,A){let C=0;const v=p-d;return new Promise(((p,_)=>{const T=setTimeout((()=>_(new Error(`The operation cannot be completed in timeout.`))),S.REQUEST_TIMEOUT);i.on("readable",(()=>{if(C>=v){clearTimeout(T);p();return}let S=i.read();if(!S){return}if(typeof S==="string"){S=Buffer.from(S,A)}const _=C+S.length>v?v-C:S.length;c.fill(S.slice(0,_),d+C,d+C+_);C+=_}));i.on("end",(()=>{clearTimeout(T);if(C<v){_(new Error(`Stream drains before getting enough data needed. Data read: ${C}, data need: ${v}`))}p()}));i.on("error",(i=>{clearTimeout(T);_(i)}))}))}async function streamToBuffer2(i,c,d){let p=0;const A=c.length;return new Promise(((C,S)=>{i.on("readable",(()=>{let C=i.read();if(!C){return}if(typeof C==="string"){C=Buffer.from(C,d)}if(p+C.length>A){S(new Error(`Stream exceeds buffer size. Buffer size: ${A}`));return}c.fill(C,p,p+C.length);p+=C.length}));i.on("end",(()=>{C(p)}));i.on("error",S)}))}async function streamToBuffer3(i,c){return new Promise(((d,p)=>{const A=[];i.on("data",(i=>{A.push(typeof i==="string"?Buffer.from(i,c):i)}));i.on("end",(()=>{d(Buffer.concat(A))}));i.on("error",p)}))}async function readStreamToLocalFile(i,c){return new Promise(((d,p)=>{const C=A.default.createWriteStream(c);i.on("error",(i=>{p(i)}));C.on("error",(i=>{p(i)}));C.on("close",d);i.pipe(C)}))}c.fsStat=C.default.promisify(A.default.stat);c.fsCreateReadStream=A.default.createReadStream},86381:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BufferScheduler=void 0;const p=d(24434);const A=d(52121);class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new p.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(i,c,d,p,A,C){if(c<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${c}`)}if(d<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${d}`)}if(A<=0){throw new RangeError(`concurrency must be larger than 0, current is ${A}`)}this.bufferSize=c;this.maxBuffers=d;this.readable=i;this.outgoingHandler=p;this.concurrency=A;this.encoding=C}async do(){return new Promise(((i,c)=>{this.readable.on("data",(i=>{i=typeof i==="string"?Buffer.from(i,this.encoding):i;this.appendUnresolvedData(i);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(i=>{this.emitter.emit("error",i)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(i=>{this.isError=true;this.readable.pause();c(i)}));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 d=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler((()=>d.getReadableStream()),d.size,this.offset).then(i).catch(c)}else if(this.unresolvedLength>=this.bufferSize){return}else{i()}}}))}))}appendUnresolvedData(i){this.unresolvedDataArray.push(i);this.unresolvedLength+=i.length}shiftBufferFromUnresolvedDataArray(i){if(!i){i=new A.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{i.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=i.size;return i}resolveData(){while(this.unresolvedLength>=this.bufferSize){let i;if(this.incoming.length>0){i=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(i)}else{if(this.numBuffers<this.maxBuffers){i=this.shiftBufferFromUnresolvedDataArray();this.numBuffers++}else{return false}}this.outgoing.push(i);this.triggerOutgoingHandlers()}return true}async triggerOutgoingHandlers(){let i;do{if(this.executingOutgoingHandlers>=this.concurrency){return}i=this.outgoing.shift();if(i){this.triggerOutgoingHandler(i)}}while(i)}async triggerOutgoingHandler(i){const c=i.size;this.executingOutgoingHandlers++;this.offset+=c;try{await this.outgoingHandler((()=>i.getReadableStream()),c,this.offset-c)}catch(i){this.emitter.emit("error",i);return}this.executingOutgoingHandlers--;this.reuseBuffer(i);this.emitter.emit("checkEnd")}reuseBuffer(i){this.incoming.push(i);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}c.BufferScheduler=BufferScheduler},66093:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BuffersStream=void 0;const p=d(57075);class BuffersStream extends p.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(i,c,d){super(d);this.buffers=i;this.byteLength=c;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let p=0;for(const i of this.buffers){p+=i.byteLength}if(p<this.byteLength){throw new Error("Data size shouldn't be larger than the total length of buffers.")}}_read(i){if(this.pushedBytesLength>=this.byteLength){this.push(null)}if(!i){i=this.readableHighWaterMark}const c=[];let d=0;while(d<i&&this.pushedBytesLength<this.byteLength){const p=this.byteLength-this.pushedBytesLength;const A=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer;const C=Math.min(A,p);if(C>i-d){const p=this.byteOffsetInCurrentBuffer+i-d;c.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,p));this.pushedBytesLength+=i-d;this.byteOffsetInCurrentBuffer=p;d=i;break}else{const i=this.byteOffsetInCurrentBuffer+C;c.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i));if(C===A){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=i}this.pushedBytesLength+=C;d+=C}}if(c.length>1){this.push(Buffer.concat(c))}else if(c.length===1){this.push(c[0])}}}c.BuffersStream=BuffersStream},52121:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PooledBuffer=void 0;const p=d(59199);const A=d(66093);const C=p.__importDefault(d(4573));const S=C.default.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(i,c,d){this.capacity=i;this._size=0;const p=Math.ceil(i/S);for(let c=0;c<p;c++){let d=c===p-1?i%S:S;if(d===0){d=S}this.buffers.push(Buffer.allocUnsafe(d))}if(c){this.fill(c,d)}}fill(i,c){this._size=Math.min(this.capacity,c);let d=0,p=0,A=0,C=0,S=0;while(S<this._size){const c=i[d];const v=this.buffers[p];const _=c.copy(v,A,C);S+=_;C+=_;A+=_;if(C===c.length){d++;C=0}if(A===v.length){p++;A=0}}i.splice(0,d);if(i.length>0){i[0]=i[0].slice(C)}}getReadableStream(){return new A.BuffersStream(this.buffers,this.size)}}c.PooledBuffer=PooledBuffer},4399:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageBrowserPolicyFactory=c.StorageBrowserPolicy=void 0;const p=d(22312);Object.defineProperty(c,"StorageBrowserPolicy",{enumerable:true,get:function(){return p.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(i,c){return new p.StorageBrowserPolicy(i,c)}}c.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},77321:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageRetryPolicyFactory=c.StorageRetryPolicy=c.StorageRetryPolicyType=void 0;const p=d(27734);Object.defineProperty(c,"StorageRetryPolicy",{enumerable:true,get:function(){return p.StorageRetryPolicy}});const A=d(38622);Object.defineProperty(c,"StorageRetryPolicyType",{enumerable:true,get:function(){return A.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(i){this.retryOptions=i}create(i,c){return new p.StorageRetryPolicy(i,c,this.retryOptions)}}c.StorageRetryPolicyFactory=StorageRetryPolicyFactory},68376:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const p=d(20778);let A;function getCachedDefaultHttpClient(){if(!A){A=(0,p.createDefaultHttpClient)()}return A}},32159:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AnonymousCredential=void 0;const p=d(63611);const A=d(450);class AnonymousCredential extends A.Credential{create(i,c){return new p.AnonymousCredentialPolicy(i,c)}}c.AnonymousCredential=AnonymousCredential},450:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Credential=void 0;class Credential{create(i,c){throw new Error("Method should be implemented in children classes.")}}c.Credential=Credential},30849:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageSharedKeyCredential=void 0;const p=d(77598);const A=d(35369);const C=d(450);class StorageSharedKeyCredential extends C.Credential{accountName;accountKey;constructor(i,c){super();this.accountName=i;this.accountKey=Buffer.from(c,"base64")}create(i,c){return new A.StorageSharedKeyCredentialPolicy(i,c,this)}computeHMACSHA256(i){return(0,p.createHmac)("sha256",this.accountKey).update(i,"utf8").digest("base64")}}c.StorageSharedKeyCredential=StorageSharedKeyCredential},51382:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BaseRequestPolicy=c.getCachedDefaultHttpClient=void 0;const p=d(59199);p.__exportStar(d(86381),c);var A=d(68376);Object.defineProperty(c,"getCachedDefaultHttpClient",{enumerable:true,get:function(){return A.getCachedDefaultHttpClient}});p.__exportStar(d(4399),c);p.__exportStar(d(32159),c);p.__exportStar(d(450),c);p.__exportStar(d(30849),c);p.__exportStar(d(77321),c);var C=d(40590);Object.defineProperty(c,"BaseRequestPolicy",{enumerable:true,get:function(){return C.BaseRequestPolicy}});p.__exportStar(d(63611),c);p.__exportStar(d(74238),c);p.__exportStar(d(22312),c);p.__exportStar(d(83100),c);p.__exportStar(d(92505),c);p.__exportStar(d(38622),c);p.__exportStar(d(27734),c);p.__exportStar(d(78178),c);p.__exportStar(d(35369),c);p.__exportStar(d(53233),c);p.__exportStar(d(77321),c);p.__exportStar(d(24174),c)},32780:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logger=void 0;const p=d(26515);c.logger=(0,p.createClientLogger)("storage-common")},63611:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AnonymousCredentialPolicy=void 0;const p=d(74238);class AnonymousCredentialPolicy extends p.CredentialPolicy{constructor(i,c){super(i,c)}}c.AnonymousCredentialPolicy=AnonymousCredentialPolicy},74238:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.CredentialPolicy=void 0;const p=d(40590);class CredentialPolicy extends p.BaseRequestPolicy{sendRequest(i){return this._nextPolicy.sendRequest(this.signRequest(i))}signRequest(i){return i}}c.CredentialPolicy=CredentialPolicy},40590:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(i,c){this._nextPolicy=i;this._options=c}shouldLog(i){return this._options.shouldLog(i)}log(i,c){this._options.log(i,c)}}c.BaseRequestPolicy=BaseRequestPolicy},22312:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageBrowserPolicy=void 0;const p=d(40590);const A=d(87779);const C=d(77925);const S=d(58218);class StorageBrowserPolicy extends p.BaseRequestPolicy{constructor(i,c){super(i,c)}async sendRequest(i){if(A.isNodeLike){return this._nextPolicy.sendRequest(i)}if(i.method.toUpperCase()==="GET"||i.method.toUpperCase()==="HEAD"){i.url=(0,S.setURLParameter)(i.url,C.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.remove(C.HeaderConstants.COOKIE);i.headers.remove(C.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(i)}}c.StorageBrowserPolicy=StorageBrowserPolicy},83100:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageBrowserPolicyName=void 0;c.storageBrowserPolicy=storageBrowserPolicy;const p=d(87779);const A=d(77925);const C=d(58218);c.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:c.storageBrowserPolicyName,async sendRequest(i,c){if(p.isNodeLike){return c(i)}if(i.method==="GET"||i.method==="HEAD"){i.url=(0,C.setURLParameter)(i.url,A.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.delete(A.HeaderConstants.COOKIE);i.headers.delete(A.HeaderConstants.CONTENT_LENGTH);return c(i)}}}},92505:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageCorrectContentLengthPolicyName=void 0;c.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const p=d(77925);c.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(i){if(i.body&&(typeof i.body==="string"||Buffer.isBuffer(i.body))&&i.body.length>0){i.headers.set(p.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}}return{name:c.storageCorrectContentLengthPolicyName,async sendRequest(i,c){correctContentLength(i);return c(i)}}}},24174:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageRequestFailureDetailsParserPolicyName=void 0;c.storageRequestFailureDetailsParserPolicy=storageRequestFailureDetailsParserPolicy;c.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:c.storageRequestFailureDetailsParserPolicyName,async sendRequest(i,c){try{const d=await c(i);return d}catch(i){if(typeof i==="object"&&i!==null&&i.response&&i.response.parsedBody){if(i.response.parsedBody.code==="InvalidHeaderValue"&&i.response.parsedBody.HeaderName==="x-ms-version"){i.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw i}}}}},27734:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageRetryPolicy=void 0;c.NewRetryPolicyFactory=NewRetryPolicyFactory;const p=d(83134);const A=d(40590);const C=d(77925);const S=d(58218);const v=d(32780);const _=d(38622);function NewRetryPolicyFactory(i){return{create:(c,d)=>new StorageRetryPolicy(c,d,i)}}const T={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:_.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const V=new p.AbortError("The operation was aborted.");class StorageRetryPolicy extends A.BaseRequestPolicy{retryOptions;constructor(i,c,d=T){super(i,c);this.retryOptions={retryPolicyType:d.retryPolicyType?d.retryPolicyType:T.retryPolicyType,maxTries:d.maxTries&&d.maxTries>=1?Math.floor(d.maxTries):T.maxTries,tryTimeoutInMs:d.tryTimeoutInMs&&d.tryTimeoutInMs>=0?d.tryTimeoutInMs:T.tryTimeoutInMs,retryDelayInMs:d.retryDelayInMs&&d.retryDelayInMs>=0?Math.min(d.retryDelayInMs,d.maxRetryDelayInMs?d.maxRetryDelayInMs:T.maxRetryDelayInMs):T.retryDelayInMs,maxRetryDelayInMs:d.maxRetryDelayInMs&&d.maxRetryDelayInMs>=0?d.maxRetryDelayInMs:T.maxRetryDelayInMs,secondaryHost:d.secondaryHost?d.secondaryHost:T.secondaryHost}}async sendRequest(i){return this.attemptSendRequest(i,false,1)}async attemptSendRequest(i,c,d){const p=i.clone();const A=c||!this.retryOptions.secondaryHost||!(i.method==="GET"||i.method==="HEAD"||i.method==="OPTIONS")||d%2===1;if(!A){p.url=(0,S.setURLHost)(p.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){p.url=(0,S.setURLParameter)(p.url,C.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let _;try{v.logger.info(`RetryPolicy: =====> Try=${d} ${A?"Primary":"Secondary"}`);_=await this._nextPolicy.sendRequest(p);if(!this.shouldRetry(A,d,_)){return _}c=c||!A&&_.status===404}catch(i){v.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);if(!this.shouldRetry(A,d,_,i)){throw i}}await this.delay(A,d,i.abortSignal);return this.attemptSendRequest(i,c,++d)}shouldRetry(i,c,d,p){if(c>=this.retryOptions.maxTries){v.logger.info(`RetryPolicy: Attempt(s) ${c} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const A=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(p){for(const i of A){if(p.name.toUpperCase().includes(i)||p.message.toUpperCase().includes(i)||p.code&&p.code.toString().toUpperCase()===i){v.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}}if(d||p){const c=d?d.status:p?p.statusCode:0;if(!i&&c===404){v.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(c===503||c===500){v.logger.info(`RetryPolicy: Will retry for status code ${c}.`);return true}}if(d){if(d?.status>=400){const i=d.headers.get(C.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(p?.code==="PARSE_ERROR"&&p?.message.startsWith(`Error "Error: Unclosed root tag`)){v.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(i,c,d){let p=0;if(i){switch(this.retryOptions.retryPolicyType){case _.StorageRetryPolicyType.EXPONENTIAL:p=Math.min((Math.pow(2,c-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case _.StorageRetryPolicyType.FIXED:p=this.retryOptions.retryDelayInMs;break}}else{p=Math.random()*1e3}v.logger.info(`RetryPolicy: Delay for ${p}ms`);return(0,S.delay)(p,d,V)}}c.StorageRetryPolicy=StorageRetryPolicy},38622:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageRetryPolicyType=void 0;var d;(function(i){i[i["EXPONENTIAL"]=0]="EXPONENTIAL";i[i["FIXED"]=1]="FIXED"})(d||(c.StorageRetryPolicyType=d={}))},78178:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageRetryPolicyName=void 0;c.storageRetryPolicy=storageRetryPolicy;const p=d(83134);const A=d(20778);const C=d(87779);const S=d(77321);const v=d(77925);const _=d(58218);const T=d(32780);c.storageRetryPolicyName="storageRetryPolicy";const V={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:S.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const Z=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const ee=new p.AbortError("The operation was aborted.");function storageRetryPolicy(i={}){const d=i.retryPolicyType??V.retryPolicyType;const p=i.maxTries??V.maxTries;const te=i.retryDelayInMs??V.retryDelayInMs;const re=i.maxRetryDelayInMs??V.maxRetryDelayInMs;const ne=i.secondaryHost??V.secondaryHost;const ie=i.tryTimeoutInMs??V.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:i,attempt:c,response:d,error:A}){if(c>=p){T.logger.info(`RetryPolicy: Attempt(s) ${c} >= maxTries ${p}, no further try.`);return false}if(A){for(const i of Z){if(A.name.toUpperCase().includes(i)||A.message.toUpperCase().includes(i)||A.code&&A.code.toString().toUpperCase()===i){T.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}if(A?.code==="PARSE_ERROR"&&A?.message.startsWith(`Error "Error: Unclosed root tag`)){T.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(d||A){const c=d?.status??A?.statusCode??0;if(!i&&c===404){T.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(c===503||c===500){T.logger.info(`RetryPolicy: Will retry for status code ${c}.`);return true}}if(d){if(d?.status>=400){const i=d.headers.get(v.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(i,c){let p=0;if(i){switch(d){case S.StorageRetryPolicyType.EXPONENTIAL:p=Math.min((Math.pow(2,c-1)-1)*te,re);break;case S.StorageRetryPolicyType.FIXED:p=te;break}}else{p=Math.random()*1e3}T.logger.info(`RetryPolicy: Delay for ${p}ms`);return p}return{name:c.storageRetryPolicyName,async sendRequest(i,c){if(ie){i.url=(0,_.setURLParameter)(i.url,v.URLConstants.Parameters.TIMEOUT,String(Math.floor(ie/1e3)))}const d=i.url;const p=ne?(0,_.setURLHost)(i.url,ne):undefined;let S=false;let V=1;let Z=true;let te;let re;while(Z){const v=S||!p||!["GET","HEAD","OPTIONS"].includes(i.method)||V%2===1;i.url=v?d:p;te=undefined;re=undefined;try{T.logger.info(`RetryPolicy: =====> Try=${V} ${v?"Primary":"Secondary"}`);te=await c(i);S=S||!v&&te.status===404}catch(i){if((0,A.isRestError)(i)){T.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);re=i}else{T.logger.error(`RetryPolicy: Caught error, message: ${(0,C.getErrorMessage)(i)}`);throw i}}Z=shouldRetry({isPrimaryRetry:v,attempt:V,response:te,error:re});if(Z){await(0,_.delay)(calculateDelay(v,V),i.abortSignal,ee)}V++}if(te){return te}throw re??new A.RestError("RetryPolicy failed without known error.")}}}},35369:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.StorageSharedKeyCredentialPolicy=void 0;const p=d(77925);const A=d(58218);const C=d(74238);const S=d(16576);class StorageSharedKeyCredentialPolicy extends C.CredentialPolicy{factory;constructor(i,c,d){super(i,c);this.factory=d}signRequest(i){i.headers.set(p.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(i.body&&(typeof i.body==="string"||i.body!==undefined)&&i.body.length>0){i.headers.set(p.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}const c=[i.method.toUpperCase(),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(i,p.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(i,p.HeaderConstants.DATE),this.getHeaderValueToSign(i,p.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(i,p.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(i,p.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(i,p.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(i,p.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(i)+this.getCanonicalizedResourceString(i);const d=this.factory.computeHMACSHA256(c);i.headers.set(p.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${d}`);return i}getHeaderValueToSign(i,c){const d=i.headers.get(c);if(!d){return""}if(c===p.HeaderConstants.CONTENT_LENGTH&&d==="0"){return""}return d}getCanonicalizedHeadersString(i){let c=i.headers.headersArray().filter((i=>i.name.toLowerCase().startsWith(p.HeaderConstants.PREFIX_FOR_STORAGE)));c.sort(((i,c)=>(0,S.compareHeader)(i.name.toLowerCase(),c.name.toLowerCase())));c=c.filter(((i,c,d)=>{if(c>0&&i.name.toLowerCase()===d[c-1].name.toLowerCase()){return false}return true}));let d="";c.forEach((i=>{d+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return d}getCanonicalizedResourceString(i){const c=(0,A.getURLPath)(i.url)||"/";let d="";d+=`/${this.factory.accountName}${c}`;const p=(0,A.getURLQueries)(i.url);const C={};if(p){const i=[];for(const c in p){if(Object.prototype.hasOwnProperty.call(p,c)){const d=c.toLowerCase();C[d]=p[c];i.push(d)}}i.sort();for(const c of i){d+=`\n${c}:${decodeURIComponent(C[c])}`}}return d}}c.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},53233:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.storageSharedKeyCredentialPolicyName=void 0;c.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const p=d(77598);const A=d(77925);const C=d(58218);const S=d(16576);c.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(i){function signRequest(c){c.headers.set(A.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(c.body&&(typeof c.body==="string"||Buffer.isBuffer(c.body))&&c.body.length>0){c.headers.set(A.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(c.body))}const d=[c.method.toUpperCase(),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(c,A.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(c,A.HeaderConstants.DATE),getHeaderValueToSign(c,A.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(c,A.HeaderConstants.IF_MATCH),getHeaderValueToSign(c,A.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(c,A.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(c,A.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(c)+getCanonicalizedResourceString(c);const C=(0,p.createHmac)("sha256",i.accountKey).update(d,"utf8").digest("base64");c.headers.set(A.HeaderConstants.AUTHORIZATION,`SharedKey ${i.accountName}:${C}`)}function getHeaderValueToSign(i,c){const d=i.headers.get(c);if(!d){return""}if(c===A.HeaderConstants.CONTENT_LENGTH&&d==="0"){return""}return d}function getCanonicalizedHeadersString(i){let c=[];for(const[d,p]of i.headers){if(d.toLowerCase().startsWith(A.HeaderConstants.PREFIX_FOR_STORAGE)){c.push({name:d,value:p})}}c.sort(((i,c)=>(0,S.compareHeader)(i.name.toLowerCase(),c.name.toLowerCase())));c=c.filter(((i,c,d)=>{if(c>0&&i.name.toLowerCase()===d[c-1].name.toLowerCase()){return false}return true}));let d="";c.forEach((i=>{d+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return d}function getCanonicalizedResourceString(c){const d=(0,C.getURLPath)(c.url)||"/";let p="";p+=`/${i.accountName}${d}`;const A=(0,C.getURLQueries)(c.url);const S={};if(A){const i=[];for(const c in A){if(Object.prototype.hasOwnProperty.call(A,c)){const d=c.toLowerCase();S[d]=A[c];i.push(d)}}i.sort();for(const c of i){p+=`\n${c}:${decodeURIComponent(S[c])}`}}return p}return{name:c.storageSharedKeyCredentialPolicyName,async sendRequest(i,c){signRequest(i);return c(i)}}}},16576:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.compareHeader=compareHeader;const d=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 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,0,0,0,0,0,0,0,0,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 A=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(i,c){if(isLessThan(i,c))return-1;return 1}function isLessThan(i,c){const C=[d,p,A];let S=0;let v=0;let _=0;while(S<C.length){if(S===C.length-1&&v!==_){return v>_}const d=v<i.length?C[S][i[v].charCodeAt(0)]:1;const p=_<c.length?C[S][c[_].charCodeAt(0)]:1;if(d===1&&p===1){v=0;_=0;++S}else if(d===p){++v;++_}else if(d===0){++v}else if(p===0){++_}else{return d<p}}return false}},77925:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.PathStylePorts=c.DevelopmentConnectionString=c.HeaderConstants=c.URLConstants=c.SDK_VERSION=void 0;c.SDK_VERSION="1.0.0";c.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};c.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"};c.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;c.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},58218:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.escapeURLPath=escapeURLPath;c.getValueInConnString=getValueInConnString;c.extractConnectionStringParts=extractConnectionStringParts;c.appendToURLPath=appendToURLPath;c.setURLParameter=setURLParameter;c.getURLParameter=getURLParameter;c.setURLHost=setURLHost;c.getURLPath=getURLPath;c.getURLScheme=getURLScheme;c.getURLPathAndQuery=getURLPathAndQuery;c.getURLQueries=getURLQueries;c.appendToURLQuery=appendToURLQuery;c.truncatedISO8061Date=truncatedISO8061Date;c.base64encode=base64encode;c.base64decode=base64decode;c.generateBlockID=generateBlockID;c.delay=delay;c.padStart=padStart;c.sanitizeURL=sanitizeURL;c.sanitizeHeaders=sanitizeHeaders;c.iEqual=iEqual;c.getAccountNameFromUrl=getAccountNameFromUrl;c.isIpEndpointStyle=isIpEndpointStyle;c.attachCredential=attachCredential;c.httpAuthorizationToString=httpAuthorizationToString;c.EscapePath=EscapePath;c.assertResponse=assertResponse;const p=d(20778);const A=d(87779);const C=d(77925);function escapeURLPath(i){const c=new URL(i);let d=c.pathname;d=d||"/";d=escape(d);c.pathname=d;return c.toString()}function getProxyUriFromDevConnString(i){let c="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const d=i.split(";");for(const i of d){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){c=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return c}function getValueInConnString(i,c){const d=i.split(";");for(const i of d){if(i.trim().startsWith(c)){return i.trim().match(c+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let c="";if(i.startsWith("UseDevelopmentStorage=true")){c=getProxyUriFromDevConnString(i);i=C.DevelopmentConnectionString}let d=getValueInConnString(i,"BlobEndpoint");d=d.endsWith("/")?d.slice(0,-1):d;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let p="";let A="";let C=Buffer.from("accountKey","base64");let S="";A=getValueInConnString(i,"AccountName");C=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!d){p=getValueInConnString(i,"DefaultEndpointsProtocol");const c=p.toLowerCase();if(c!=="https"&&c!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}S=getValueInConnString(i,"EndpointSuffix");if(!S){throw new Error("Invalid EndpointSuffix in the provided Connection String")}d=`${p}://${A}.blob.${S}`}if(!A){throw new Error("Invalid AccountName in the provided Connection String")}else if(C.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:d,accountName:A,accountKey:C,proxyUri:c}}else{let c=getValueInConnString(i,"SharedAccessSignature");let p=getValueInConnString(i,"AccountName");if(!p){p=getAccountNameFromUrl(d)}if(!d){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!c){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(c.startsWith("?")){c=c.substring(1)}return{kind:"SASConnString",url:d,accountName:p,accountSas:c}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,c){const d=new URL(i);let p=d.pathname;p=p?p.endsWith("/")?`${p}${c}`:`${p}/${c}`:c;d.pathname=p;return d.toString()}function setURLParameter(i,c,d){const p=new URL(i);const A=encodeURIComponent(c);const C=d?encodeURIComponent(d):undefined;const S=p.search===""?"?":p.search;const v=[];for(const i of S.slice(1).split("&")){if(i){const[c]=i.split("=",2);if(c!==A){v.push(i)}}}if(C){v.push(`${A}=${C}`)}p.search=v.length?`?${v.join("&")}`:"";return p.toString()}function getURLParameter(i,c){const d=new URL(i);return d.searchParams.get(c)??undefined}function setURLHost(i,c){const d=new URL(i);d.hostname=c;return d.toString()}function getURLPath(i){try{const c=new URL(i);return c.pathname}catch(i){return undefined}}function getURLScheme(i){try{const c=new URL(i);return c.protocol.endsWith(":")?c.protocol.slice(0,-1):c.protocol}catch(i){return undefined}}function getURLPathAndQuery(i){const c=new URL(i);const d=c.pathname;if(!d){throw new RangeError("Invalid url without valid path.")}let p=c.search||"";p=p.trim();if(p!==""){p=p.startsWith("?")?p:`?${p}`}return`${d}${p}`}function getURLQueries(i){let c=new URL(i).search;if(!c){return{}}c=c.trim();c=c.startsWith("?")?c.substring(1):c;let d=c.split("&");d=d.filter((i=>{const c=i.indexOf("=");const d=i.lastIndexOf("=");return c>0&&c===d&&d<i.length-1}));const p={};for(const i of d){const c=i.split("=");const d=c[0];const A=c[1];p[d]=A}return p}function appendToURLQuery(i,c){const d=new URL(i);let p=d.search;if(p){p+="&"+c}else{p=c}d.search=p;return d.toString()}function truncatedISO8061Date(i,c=true){const d=i.toISOString();return c?d.substring(0,d.length-1)+"0000"+"Z":d.substring(0,d.length-5)+"Z"}function base64encode(i){return!A.isNodeLike?btoa(i):Buffer.from(i).toString("base64")}function base64decode(i){return!A.isNodeLike?atob(i):Buffer.from(i,"base64").toString()}function generateBlockID(i,c){const d=48;const p=6;const A=d-p;if(i.length>A){i=i.slice(0,A)}const C=i+padStart(c.toString(),d-i.length,"0");return base64encode(C)}async function delay(i,c,d){return new Promise(((p,A)=>{let C;const abortHandler=()=>{if(C!==undefined){clearTimeout(C)}A(d)};const resolveHandler=()=>{if(c!==undefined){c.removeEventListener("abort",abortHandler)}p()};C=setTimeout(resolveHandler,i);if(c!==undefined){c.addEventListener("abort",abortHandler)}}))}function padStart(i,c,d=" "){if(String.prototype.padStart){return i.padStart(c,d)}d=d||" ";if(i.length>c){return i}else{c=c-i.length;if(c>d.length){d+=d.repeat(c/d.length)}return d.slice(0,c)+i}}function sanitizeURL(i){let c=i;if(getURLParameter(c,C.URLConstants.Parameters.SIGNATURE)){c=setURLParameter(c,C.URLConstants.Parameters.SIGNATURE,"*****")}return c}function sanitizeHeaders(i){const c=(0,p.createHttpHeaders)();for(const[d,p]of i){if(d.toLowerCase()===C.HeaderConstants.AUTHORIZATION.toLowerCase()){c.set(d,"*****")}else if(d.toLowerCase()===C.HeaderConstants.X_MS_COPY_SOURCE){c.set(d,sanitizeURL(p))}else{c.set(d,p)}}return c}function iEqual(i,c){return i.toLocaleLowerCase()===c.toLocaleLowerCase()}function getAccountNameFromUrl(i){const c=new URL(i);let d;try{if(c.hostname.split(".")[1]==="blob"){d=c.hostname.split(".")[0]}else if(isIpEndpointStyle(c)){d=c.pathname.split("/")[1]}else{d=""}return d}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const c=i.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(c)||Boolean(i.port)&&C.PathStylePorts.includes(i.port)}function attachCredential(i,c){i.credential=c;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:undefined}function EscapePath(i){const c=i.split("/");for(let i=0;i<c.length;i++){c[i]=encodeURIComponent(c[i])}return c.join("/")}function assertResponse(i){if(`_response`in i){return i}throw new TypeError(`Unexpected response object ${i}`)}},7560:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.jwtDecode=c.InvalidTokenError=void 0;class InvalidTokenError extends Error{}c.InvalidTokenError=InvalidTokenError;InvalidTokenError.prototype.name="InvalidTokenError";function b64DecodeUnicode(i){return decodeURIComponent(atob(i).replace(/(.)/g,((i,c)=>{let d=c.charCodeAt(0).toString(16).toUpperCase();if(d.length<2){d="0"+d}return"%"+d})))}function base64UrlDecode(i){let c=i.replace(/-/g,"+").replace(/_/g,"/");switch(c.length%4){case 0:break;case 2:c+="==";break;case 3:c+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return b64DecodeUnicode(c)}catch(i){return atob(c)}}function jwtDecode(i,c){if(typeof i!=="string"){throw new InvalidTokenError("Invalid token specified: must be a string")}c||(c={});const d=c.header===true?0:1;const p=i.split(".")[d];if(typeof p!=="string"){throw new InvalidTokenError(`Invalid token specified: missing part #${d+1}`)}let A;try{A=base64UrlDecode(p)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${d+1} (${i.message})`)}try{return JSON.parse(A)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid json for part #${d+1} (${i.message})`)}}c.jwtDecode=jwtDecode},99992:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}c.AbortError=AbortError},36227:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isOAuth2TokenCredential=isOAuth2TokenCredential;c.isBearerTokenCredential=isBearerTokenCredential;c.isBasicCredential=isBasicCredential;c.isApiKeyCredential=isApiKeyCredential;function isOAuth2TokenCredential(i){return"getOAuth2Token"in i}function isBearerTokenCredential(i){return"getBearerToken"in i}function isBasicCredential(i){return"username"in i&&"password"in i}function isApiKeyCredential(i){return"key"in i}},43097:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},92097:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true})},71408:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.apiVersionPolicyName=void 0;c.apiVersionPolicy=apiVersionPolicy;c.apiVersionPolicyName="ApiVersionPolicy";function apiVersionPolicy(i){return{name:c.apiVersionPolicyName,sendRequest:(c,d)=>{const p=new URL(c.url);if(!p.searchParams.get("api-version")&&i.apiVersion){c.url=`${c.url}${Array.from(p.searchParams.keys()).length>0?"&":"?"}api-version=${i.apiVersion}`}return d(c)}}}},88728:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createDefaultPipeline=createDefaultPipeline;c.getCachedDefaultHttpsClient=getCachedDefaultHttpsClient;const p=d(69468);const A=d(91810);const C=d(71408);const S=d(36227);const v=d(42095);const _=d(15756);const T=d(89709);const V=d(20219);let Z;function createDefaultPipeline(i={}){const c=(0,A.createPipelineFromOptions)(i);c.addPolicy((0,C.apiVersionPolicy)(i));const{credential:d,authSchemes:p,allowInsecureConnection:Z}=i;if(d){if((0,S.isApiKeyCredential)(d)){c.addPolicy((0,v.apiKeyAuthenticationPolicy)({authSchemes:p,credential:d,allowInsecureConnection:Z}))}else if((0,S.isBasicCredential)(d)){c.addPolicy((0,_.basicAuthenticationPolicy)({authSchemes:p,credential:d,allowInsecureConnection:Z}))}else if((0,S.isBearerTokenCredential)(d)){c.addPolicy((0,T.bearerAuthenticationPolicy)({authSchemes:p,credential:d,allowInsecureConnection:Z}))}else if((0,S.isOAuth2TokenCredential)(d)){c.addPolicy((0,V.oauth2AuthenticationPolicy)({authSchemes:p,credential:d,allowInsecureConnection:Z}))}}return c}function getCachedDefaultHttpsClient(){if(!Z){Z=(0,p.createDefaultHttpClient)()}return Z}},86191:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getClient=getClient;const p=d(88728);const A=d(16311);const C=d(37088);const S=d(85086);function getClient(i,c={}){const d=c.pipeline??(0,p.createDefaultPipeline)(c);if(c.additionalPolicies?.length){for(const{policy:i,position:p}of c.additionalPolicies){const c=p==="perRetry"?"Sign":undefined;d.addPolicy(i,{afterPhase:c})}}const{allowInsecureConnection:A,httpClient:S}=c;const v=c.endpoint??i;const client=(i,...c)=>{const getUrl=d=>(0,C.buildRequestUrl)(v,i,c,{allowInsecureConnection:A,...d});return{get:(i={})=>buildOperation("GET",getUrl(i),d,i,A,S),post:(i={})=>buildOperation("POST",getUrl(i),d,i,A,S),put:(i={})=>buildOperation("PUT",getUrl(i),d,i,A,S),patch:(i={})=>buildOperation("PATCH",getUrl(i),d,i,A,S),delete:(i={})=>buildOperation("DELETE",getUrl(i),d,i,A,S),head:(i={})=>buildOperation("HEAD",getUrl(i),d,i,A,S),options:(i={})=>buildOperation("OPTIONS",getUrl(i),d,i,A,S),trace:(i={})=>buildOperation("TRACE",getUrl(i),d,i,A,S)}};return{path:client,pathUnchecked:client,pipeline:d}}function buildOperation(i,c,d,p,C,v){C=p.allowInsecureConnection??C;return{then:function(S,_){return(0,A.sendRequest)(i,c,d,{...p,allowInsecureConnection:C},v).then(S,_)},async asBrowserStream(){if(S.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,A.sendRequest)(i,c,d,{...p,allowInsecureConnection:C,responseAsStream:true},v)}},async asNodeStream(){if(S.isNodeLike){return(0,A.sendRequest)(i,c,d,{...p,allowInsecureConnection:C,responseAsStream:true},v)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}},18240:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.buildBodyPart=buildBodyPart;c.buildMultipartBody=buildMultipartBody;const p=d(9758);const A=d(4220);const C=d(82921);const S=d(48505);function getHeaderValue(i,c){if(i.headers){const d=Object.keys(i.headers).find((i=>i.toLowerCase()===c.toLowerCase()));if(d){return i.headers[d]}}return undefined}function getPartContentType(i){const c=getHeaderValue(i,"content-type");if(c){return c}if(i.contentType===null){return undefined}if(i.contentType){return i.contentType}const{body:d}=i;if(d===null||d===undefined){return undefined}if(typeof d==="string"||typeof d==="number"||typeof d==="boolean"){return"text/plain; charset=UTF-8"}if(d instanceof Blob){return d.type||"application/octet-stream"}if((0,S.isBinaryBody)(d)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(i){return JSON.stringify(i)}function getContentDisposition(i){const c=getHeaderValue(i,"content-disposition");if(c){return c}if(i.dispositionType===undefined&&i.name===undefined&&i.filename===undefined){return undefined}const d=i.dispositionType??"form-data";let p=d;if(i.name){p+=`; name=${escapeDispositionField(i.name)}`}let A=undefined;if(i.filename){A=i.filename}else if(typeof File!=="undefined"&&i.body instanceof File){const c=i.body.name;if(c!==""){A=c}}if(A){p+=`; filename=${escapeDispositionField(A)}`}return p}function normalizeBody(i,c){if(i===undefined){return new Uint8Array([])}if((0,S.isBinaryBody)(i)){return i}if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){return(0,C.stringToUint8Array)(String(i),"utf-8")}if(c&&/application\/(.+\+)?json(;.+)?/i.test(String(c))){return(0,C.stringToUint8Array)(JSON.stringify(i),"utf-8")}throw new p.RestError(`Unsupported body/content-type combination: ${i}, ${c}`)}function buildBodyPart(i){const c=getPartContentType(i);const d=getContentDisposition(i);const p=(0,A.createHttpHeaders)(i.headers??{});if(c){p.set("content-type",c)}if(d){p.set("content-disposition",d)}const C=normalizeBody(i.body,c);return{headers:p,body:C}}function buildMultipartBody(i){return{parts:i.map(buildBodyPart)}}},19635:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.operationOptionsToRequestParameters=operationOptionsToRequestParameters;function operationOptionsToRequestParameters(i){return{allowInsecureConnection:i.requestOptions?.allowInsecureConnection,timeout:i.requestOptions?.timeout,skipUrlEncoding:i.requestOptions?.skipUrlEncoding,abortSignal:i.abortSignal,onUploadProgress:i.requestOptions?.onUploadProgress,onDownloadProgress:i.requestOptions?.onDownloadProgress,headers:{...i.requestOptions?.headers},onResponse:i.onResponse}}},97332:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createRestError=createRestError;const p=d(9758);const A=d(4220);function createRestError(i,c){const d=typeof i==="string"?c:i;const A=d.body?.error??d.body;const C=typeof i==="string"?i:A?.message??`Unexpected status code: ${d.status}`;return new p.RestError(C,{statusCode:statusCodeToNumber(d.status),code:A?.code,request:d.request,response:toPipelineResponse(d)})}function toPipelineResponse(i){return{headers:(0,A.createHttpHeaders)(i.headers),request:i.request,status:statusCodeToNumber(i.status)??-1}}function statusCodeToNumber(i){const c=Number.parseInt(i);return Number.isNaN(c)?undefined:c}},16311:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.sendRequest=sendRequest;const p=d(9758);const A=d(4220);const C=d(72305);const S=d(88728);const v=d(48505);const _=d(18240);async function sendRequest(i,c,d,A={},C){const v=C??(0,S.getCachedDefaultHttpsClient)();const _=buildPipelineRequest(i,c,A);try{const i=await d.sendRequest(v,_);const c=i.headers.toJSON();const p=i.readableStreamBody??i.browserStreamBody;const C=A.responseAsStream||p!==undefined?undefined:getResponseBody(i);const S=p??C;if(A?.onResponse){A.onResponse({...i,request:_,rawHeaders:c,parsedBody:C})}return{request:_,headers:c,status:`${i.status}`,body:S}}catch(i){if((0,p.isRestError)(i)&&i.response&&A.onResponse){const{response:c}=i;const d=c.headers.toJSON();A?.onResponse({...c,request:_,rawHeaders:d},i)}throw i}}function getRequestContentType(i={}){return i.contentType??i.headers?.["content-type"]??getContentType(i.body)}function getContentType(i){if(ArrayBuffer.isView(i)){return"application/octet-stream"}if(typeof i==="string"){try{JSON.parse(i);return"application/json"}catch(i){return undefined}}return"application/json"}function buildPipelineRequest(i,c,d={}){const p=getRequestContentType(d);const{body:S,multipartBody:v}=getRequestBody(d.body,p);const _=S!==undefined||v!==undefined;const T=(0,A.createHttpHeaders)({...d.headers?d.headers:{},accept:d.accept??d.headers?.accept??"application/json",..._&&p&&{"content-type":p}});return(0,C.createPipelineRequest)({url:c,method:i,body:S,multipartBody:v,headers:T,allowInsecureConnection:d.allowInsecureConnection,abortSignal:d.abortSignal,onUploadProgress:d.onUploadProgress,onDownloadProgress:d.onDownloadProgress,timeout:d.timeout,enableBrowserStreams:true,streamResponseStatusCodes:d.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(i,c=""){if(i===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&i instanceof FormData){return{body:i}}if((0,v.isReadableStream)(i)){return{body:i}}if(ArrayBuffer.isView(i)){return{body:i instanceof Uint8Array?i:JSON.stringify(i)}}const d=c.split(";")[0];switch(d){case"application/json":return{body:JSON.stringify(i)};case"multipart/form-data":if(Array.isArray(i)){return{multipartBody:(0,_.buildMultipartBody)(i)}}return{body:JSON.stringify(i)};case"text/plain":return{body:String(i)};default:if(typeof i==="string"){return{body:i}}return{body:JSON.stringify(i)}}}function getResponseBody(i){const c=i.headers.get("content-type")??"";const d=c.split(";")[0];const p=i.bodyAsText??"";if(d==="text/plain"){return String(p)}try{return p?JSON.parse(p):undefined}catch(c){if(d==="application/json"){throw createParseError(i,c)}return String(p)}}function createParseError(i,c){const d=`Error "${c}" occurred while parsing the response body - ${i.bodyAsText}.`;const A=c.code??p.RestError.PARSE_ERROR;return new p.RestError(d,{code:A,statusCode:i.status,request:i.request,response:i})}},37088:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.buildRequestUrl=buildRequestUrl;c.buildBaseUrl=buildBaseUrl;c.replaceAll=replaceAll;function isQueryParameterWithOptions(i){const c=i.value;return c!==undefined&&c.toString!==undefined&&typeof c.toString==="function"}function buildRequestUrl(i,c,d,p={}){if(c.startsWith("https://")||c.startsWith("http://")){return c}i=buildBaseUrl(i,p);c=buildRoutePath(c,d,p);const A=appendQueryParams(`${i}/${c}`,p);const C=new URL(A);return C.toString().replace(/([^:]\/)\/+/g,"$1")}function getQueryParamValue(i,c,d,p){let A;if(d==="pipeDelimited"){A="|"}else if(d==="spaceDelimited"){A="%20"}else{A=","}let C;if(Array.isArray(p)){C=p}else if(typeof p==="object"&&p.toString===Object.prototype.toString){C=Object.entries(p).flat()}else{C=[p]}const S=C.map((d=>{if(d===null||d===undefined){return""}if(!d.toString||typeof d.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${i} can't`)}const p=d.toISOString!==undefined?d.toISOString():d.toString();return c?p:encodeURIComponent(p)})).join(A);return`${c?i:encodeURIComponent(i)}=${S}`}function appendQueryParams(i,c={}){if(!c.queryParameters){return i}const d=new URL(i);const p=c.queryParameters;const A=[];for(const i of Object.keys(p)){const d=p[i];if(d===undefined||d===null){continue}const C=isQueryParameterWithOptions(d);const S=C?d.value:d;const v=C?d.explode??false:false;const _=C&&d.style?d.style:"form";if(v){if(Array.isArray(S)){for(const d of S){A.push(getQueryParamValue(i,c.skipUrlEncoding??false,_,d))}}else if(typeof S==="object"){for(const[i,d]of Object.entries(S)){A.push(getQueryParamValue(i,c.skipUrlEncoding??false,_,d))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{A.push(getQueryParamValue(i,c.skipUrlEncoding??false,_,S))}}if(d.search!==""){d.search+="&"}d.search+=A.join("&");return d.toString()}function buildBaseUrl(i,c){if(!c.pathParameters){return i}const d=c.pathParameters;for(const[p,A]of Object.entries(d)){if(A===undefined||A===null){throw new Error(`Path parameters ${p} must not be undefined or null`)}if(!A.toString||typeof A.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${p} can't`)}let d=A.toISOString!==undefined?A.toISOString():String(A);if(!c.skipUrlEncoding){d=encodeURIComponent(A)}i=replaceAll(i,`{${p}}`,d)??""}return i}function buildRoutePath(i,c,d={}){for(const p of c){const c=typeof p==="object"&&(p.allowReserved??false);let A=typeof p==="object"?p.value:p;if(!d.skipUrlEncoding&&!c){A=encodeURIComponent(A)}i=i.replace(/\{[\w-]+\}/,String(A))}return i}function replaceAll(i,c,d){return!i||!c?i:i.split(c).join(d||"")}},31255:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.DEFAULT_RETRY_POLICY_COUNT=c.SDK_VERSION=void 0;c.SDK_VERSION="0.3.2";c.DEFAULT_RETRY_POLICY_COUNT=3},91810:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createPipelineFromOptions=createPipelineFromOptions;const p=d(47129);const A=d(22338);const C=d(92187);const S=d(91691);const v=d(35035);const _=d(32462);const T=d(14197);const V=d(85086);const Z=d(80067);const ee=d(85366);const te=d(96690);const re=d(27427);function createPipelineFromOptions(i){const c=(0,A.createEmptyPipeline)();if(V.isNodeLike){if(i.agent){c.addPolicy((0,ee.agentPolicy)(i.agent))}if(i.tlsOptions){c.addPolicy((0,te.tlsPolicy)(i.tlsOptions))}c.addPolicy((0,Z.proxyPolicy)(i.proxyOptions));c.addPolicy((0,v.decompressResponsePolicy)())}c.addPolicy((0,T.formDataPolicy)(),{beforePolicies:[re.multipartPolicyName]});c.addPolicy((0,S.userAgentPolicy)(i.userAgentOptions));c.addPolicy((0,re.multipartPolicy)(),{afterPhase:"Deserialize"});c.addPolicy((0,_.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});if(V.isNodeLike){c.addPolicy((0,C.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}c.addPolicy((0,p.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return c}},69468:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createDefaultHttpClient=createDefaultHttpClient;const p=d(21167);function createDefaultHttpClient(){return(0,p.createNodeHttpClient)()}},4220:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createHttpHeaders=createHttpHeaders;function normalizeName(i){return i.toLowerCase()}function*headerIterator(i){for(const c of i.values()){yield[c.name,c.value]}}class HttpHeadersImpl{_headersMap;constructor(i){this._headersMap=new Map;if(i){for(const c of Object.keys(i)){this.set(c,i[c])}}}set(i,c){this._headersMap.set(normalizeName(i),{name:i,value:String(c).trim()})}get(i){return this._headersMap.get(normalizeName(i))?.value}has(i){return this._headersMap.has(normalizeName(i))}delete(i){this._headersMap.delete(normalizeName(i))}toJSON(i={}){const c={};if(i.preserveCase){for(const i of this._headersMap.values()){c[i.name]=i.value}}else{for(const[i,d]of this._headersMap){c[i]=d.value}}return c}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(i){return new HttpHeadersImpl(i)}},41958:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createRestError=c.operationOptionsToRequestParameters=c.getClient=c.createDefaultHttpClient=c.uint8ArrayToString=c.stringToUint8Array=c.isRestError=c.RestError=c.createEmptyPipeline=c.createPipelineRequest=c.createHttpHeaders=c.TypeSpecRuntimeLogger=c.setLogLevel=c.getLogLevel=c.createClientLogger=c.AbortError=void 0;const p=d(61860);var A=d(99992);Object.defineProperty(c,"AbortError",{enumerable:true,get:function(){return A.AbortError}});var C=d(18459);Object.defineProperty(c,"createClientLogger",{enumerable:true,get:function(){return C.createClientLogger}});Object.defineProperty(c,"getLogLevel",{enumerable:true,get:function(){return C.getLogLevel}});Object.defineProperty(c,"setLogLevel",{enumerable:true,get:function(){return C.setLogLevel}});Object.defineProperty(c,"TypeSpecRuntimeLogger",{enumerable:true,get:function(){return C.TypeSpecRuntimeLogger}});var S=d(4220);Object.defineProperty(c,"createHttpHeaders",{enumerable:true,get:function(){return S.createHttpHeaders}});p.__exportStar(d(92097),c);p.__exportStar(d(43097),c);var v=d(72305);Object.defineProperty(c,"createPipelineRequest",{enumerable:true,get:function(){return v.createPipelineRequest}});var _=d(22338);Object.defineProperty(c,"createEmptyPipeline",{enumerable:true,get:function(){return _.createEmptyPipeline}});var T=d(9758);Object.defineProperty(c,"RestError",{enumerable:true,get:function(){return T.RestError}});Object.defineProperty(c,"isRestError",{enumerable:true,get:function(){return T.isRestError}});var V=d(82921);Object.defineProperty(c,"stringToUint8Array",{enumerable:true,get:function(){return V.stringToUint8Array}});Object.defineProperty(c,"uint8ArrayToString",{enumerable:true,get:function(){return V.uint8ArrayToString}});var Z=d(69468);Object.defineProperty(c,"createDefaultHttpClient",{enumerable:true,get:function(){return Z.createDefaultHttpClient}});var ee=d(86191);Object.defineProperty(c,"getClient",{enumerable:true,get:function(){return ee.getClient}});var te=d(19635);Object.defineProperty(c,"operationOptionsToRequestParameters",{enumerable:true,get:function(){return te.operationOptionsToRequestParameters}});var re=d(97332);Object.defineProperty(c,"createRestError",{enumerable:true,get:function(){return re.createRestError}})},3644:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logger=void 0;const p=d(18459);c.logger=(0,p.createClientLogger)("ts-http-runtime")},36836:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});const p=d(38029);const A=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let C;let S=[];let v=[];const _=[];if(A){enable(A)}const T=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:p.log});function enable(i){C=i;S=[];v=[];const c=i.split(",").map((i=>i.trim()));for(const i of c){if(i.startsWith("-")){v.push(i.substring(1))}else{S.push(i)}}for(const i of _){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const c of v){if(namespaceMatches(i,c)){return false}}for(const c of S){if(namespaceMatches(i,c)){return true}}return false}function namespaceMatches(i,c){if(c.indexOf("*")===-1){return i===c}let d=c;if(c.indexOf("**")!==-1){const i=[];let p="";for(const d of c){if(d==="*"&&p==="*"){continue}else{p=d;i.push(d)}}d=i.join("")}let p=0;let A=0;const C=d.length;const S=i.length;let v=-1;let _=-1;while(p<S&&A<C){if(d[A]==="*"){v=A;A++;if(A===C){return true}while(i[p]!==d[A]){p++;if(p===S){return false}}_=p;p++;A++;continue}else if(d[A]===i[p]){A++;p++}else if(v>=0){A=v+1;p=_+1;if(p===S){return false}while(i[p]!==d[A]){p++;if(p===S){return false}}_=p;p++;A++;continue}else{return false}}const T=p===i.length;const V=A===d.length;const Z=A===d.length-1&&d[A]==="*";return T&&(V||Z)}function disable(){const i=C||"";enable("");return i}function createDebugger(i){const c=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:T.log,namespace:i,extend:extend});function debug(...d){if(!c.enabled){return}if(d.length>0){d[0]=`${i} ${d[0]}`}c.log(...d)}_.push(c);return c}function destroy(){const i=_.indexOf(this);if(i>=0){_.splice(i,1);return true}return false}function extend(i){const c=createDebugger(`${this.namespace}:${i}`);c.log=this.log;return c}c["default"]=T},82490:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createLoggerContext=void 0;var p=d(18459);Object.defineProperty(c,"createLoggerContext",{enumerable:true,get:function(){return p.createLoggerContext}})},38029:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.log=log;const p=d(61860);const A=d(48161);const C=p.__importDefault(d(57975));const S=p.__importDefault(d(1708));function log(i,...c){S.default.stderr.write(`${C.default.format(i,...c)}${A.EOL}`)}},18459:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.TypeSpecRuntimeLogger=void 0;c.createLoggerContext=createLoggerContext;c.setLogLevel=setLogLevel;c.getLogLevel=getLogLevel;c.createClientLogger=createClientLogger;const p=d(61860);const A=p.__importDefault(d(36836));const C=["verbose","info","warning","error"];const S={verbose:400,info:300,warning:200,error:100};function patchLogMethod(i,c){c.log=(...c)=>{i.log(...c)}}function isTypeSpecRuntimeLogLevel(i){return C.includes(i)}function createLoggerContext(i){const c=new Set;const d=typeof process!=="undefined"&&process.env&&process.env[i.logLevelEnvVarName]||undefined;let p;const v=(0,A.default)(i.namespace);v.log=(...i)=>{A.default.log(...i)};function contextSetLogLevel(i){if(i&&!isTypeSpecRuntimeLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${C.join(",")}`)}p=i;const d=[];for(const i of c){if(shouldEnable(i)){d.push(i.namespace)}}A.default.enable(d.join(","))}if(d){if(isTypeSpecRuntimeLogLevel(d)){contextSetLogLevel(d)}else{console.error(`${i.logLevelEnvVarName} set to unknown log level '${d}'; logging is not enabled. Acceptable values: ${C.join(", ")}.`)}}function shouldEnable(i){return Boolean(p&&S[i.level]<=S[p])}function createLogger(i,d){const p=Object.assign(i.extend(d),{level:d});patchLogMethod(i,p);if(shouldEnable(p)){const i=A.default.disable();A.default.enable(i+","+p.namespace)}c.add(p);return p}function contextGetLogLevel(){return p}function contextCreateClientLogger(i){const c=v.extend(i);patchLogMethod(v,c);return{error:createLogger(c,"error"),warning:createLogger(c,"warning"),info:createLogger(c,"info"),verbose:createLogger(c,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:v}}const v=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});c.TypeSpecRuntimeLogger=v.logger;function setLogLevel(i){v.setLogLevel(i)}function getLogLevel(){return v.getLogLevel()}function createClientLogger(i){return v.createClientLogger(i)}},21167:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getBodyLength=getBodyLength;c.createNodeHttpClient=createNodeHttpClient;const p=d(61860);const A=p.__importDefault(d(37067));const C=p.__importDefault(d(44708));const S=p.__importDefault(d(38522));const v=d(57075);const _=d(99992);const T=d(4220);const V=d(9758);const Z=d(3644);const ee=d(7784);const te={};function isReadableStream(i){return i&&typeof i.pipe==="function"}function isStreamComplete(i){if(i.readable===false){return Promise.resolve()}return new Promise((c=>{const handler=()=>{c();i.removeListener("close",handler);i.removeListener("end",handler);i.removeListener("error",handler)};i.on("close",handler);i.on("end",handler);i.on("error",handler)}))}function isArrayBuffer(i){return i&&typeof i.byteLength==="number"}class ReportTransform extends v.Transform{loadedBytes=0;progressCallback;_transform(i,c,d){this.push(i);this.loadedBytes+=i.length;try{this.progressCallback({loadedBytes:this.loadedBytes});d()}catch(i){d(i)}}constructor(i){super();this.progressCallback=i}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(i){const c=new AbortController;let d;if(i.abortSignal){if(i.abortSignal.aborted){throw new _.AbortError("The operation was aborted. Request has already been canceled.")}d=i=>{if(i.type==="abort"){c.abort()}};i.abortSignal.addEventListener("abort",d)}let p;if(i.timeout>0){p=setTimeout((()=>{const d=new ee.Sanitizer;Z.logger.info(`request to '${d.sanitizeUrl(i.url)}' timed out. canceling...`);c.abort()}),i.timeout)}const A=i.headers.get("Accept-Encoding");const C=A?.includes("gzip")||A?.includes("deflate");let S=typeof i.body==="function"?i.body():i.body;if(S&&!i.headers.has("Content-Length")){const c=getBodyLength(S);if(c!==null){i.headers.set("Content-Length",c)}}let v;try{if(S&&i.onUploadProgress){const c=i.onUploadProgress;const d=new ReportTransform(c);d.on("error",(i=>{Z.logger.error("Error in upload progress",i)}));if(isReadableStream(S)){S.pipe(d)}else{d.end(S)}S=d}const d=await this.makeRequest(i,c,S);if(p!==undefined){clearTimeout(p)}const A=getResponseHeaders(d);const _=d.statusCode??0;const T={status:_,headers:A,request:i};if(i.method==="HEAD"){d.resume();return T}v=C?getDecodedResponseStream(d,A):d;const V=i.onDownloadProgress;if(V){const i=new ReportTransform(V);i.on("error",(i=>{Z.logger.error("Error in download progress",i)}));v.pipe(i);v=i}if(i.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||i.streamResponseStatusCodes?.has(T.status)){T.readableStreamBody=v}else{T.bodyAsText=await streamToText(v)}return T}finally{if(i.abortSignal&&d){let c=Promise.resolve();if(isReadableStream(S)){c=isStreamComplete(S)}let p=Promise.resolve();if(isReadableStream(v)){p=isStreamComplete(v)}Promise.all([c,p]).then((()=>{if(d){i.abortSignal?.removeEventListener("abort",d)}})).catch((i=>{Z.logger.warning("Error when cleaning up abortListener on httpRequest",i)}))}}}makeRequest(i,c,d){const p=new URL(i.url);const S=p.protocol!=="https:";if(S&&!i.allowInsecureConnection){throw new Error(`Cannot connect to ${i.url} while allowInsecureConnection is false.`)}const v=i.agent??this.getOrCreateAgent(i,S);const T={agent:v,hostname:p.hostname,path:`${p.pathname}${p.search}`,port:p.port,method:i.method,headers:i.headers.toJSON({preserveCase:true}),...i.requestOverrides};return new Promise(((p,v)=>{const ee=S?A.default.request(T,p):C.default.request(T,p);ee.once("error",(c=>{v(new V.RestError(c.message,{code:c.code??V.RestError.REQUEST_SEND_ERROR,request:i}))}));c.signal.addEventListener("abort",(()=>{const i=new _.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");ee.destroy(i);v(i)}));if(d&&isReadableStream(d)){d.pipe(ee)}else if(d){if(typeof d==="string"||Buffer.isBuffer(d)){ee.end(d)}else if(isArrayBuffer(d)){ee.end(ArrayBuffer.isView(d)?Buffer.from(d.buffer):Buffer.from(d))}else{Z.logger.error("Unrecognized body type",d);v(new V.RestError("Unrecognized body type"))}}else{ee.end()}}))}getOrCreateAgent(i,c){const d=i.disableKeepAlive;if(c){if(d){return A.default.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new A.default.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(d&&!i.tlsSettings){return C.default.globalAgent}const c=i.tlsSettings??te;let p=this.cachedHttpsAgents.get(c);if(p&&p.options.keepAlive===!d){return p}Z.logger.info("No cached TLS Agent exist, creating a new Agent");p=new C.default.Agent({keepAlive:!d,...c});this.cachedHttpsAgents.set(c,p);return p}}}function getResponseHeaders(i){const c=(0,T.createHttpHeaders)();for(const d of Object.keys(i.headers)){const p=i.headers[d];if(Array.isArray(p)){if(p.length>0){c.set(d,p[0])}}else if(p){c.set(d,p)}}return c}function getDecodedResponseStream(i,c){const d=c.get("Content-Encoding");if(d==="gzip"){const c=S.default.createGunzip();i.pipe(c);return c}else if(d==="deflate"){const c=S.default.createInflate();i.pipe(c);return c}return i}function streamToText(i){return new Promise(((c,d)=>{const p=[];i.on("data",(i=>{if(Buffer.isBuffer(i)){p.push(i)}else{p.push(Buffer.from(i))}}));i.on("end",(()=>{c(Buffer.concat(p).toString("utf8"))}));i.on("error",(i=>{if(i&&i?.name==="AbortError"){d(i)}else{d(new V.RestError(`Error reading response as text: ${i.message}`,{code:V.RestError.PARSE_ERROR}))}}))}))}function getBodyLength(i){if(!i){return 0}else if(Buffer.isBuffer(i)){return i.length}else if(isReadableStream(i)){return null}else if(isArrayBuffer(i)){return i.byteLength}else if(typeof i==="string"){return Buffer.from(i).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}},22338:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createEmptyPipeline=createEmptyPipeline;const d=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(i){this._policies=i?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(i,c={}){if(c.phase&&c.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(c.phase&&!d.has(c.phase)){throw new Error(`Invalid phase name: ${c.phase}`)}if(c.afterPhase&&!d.has(c.afterPhase)){throw new Error(`Invalid afterPhase name: ${c.afterPhase}`)}this._policies.push({policy:i,options:c});this._orderedPolicies=undefined}removePolicy(i){const c=[];this._policies=this._policies.filter((d=>{if(i.name&&d.policy.name===i.name||i.phase&&d.options.phase===i.phase){c.push(d.policy);return false}else{return true}}));this._orderedPolicies=undefined;return c}sendRequest(i,c){const d=this.getOrderedPolicies();const p=d.reduceRight(((i,c)=>d=>c.sendRequest(d,i)),(c=>i.sendRequest(c)));return p(c)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const i=[];const c=new Map;function createPhase(i){return{name:i,policies:new Set,hasRun:false,hasAfterPolicies:false}}const d=createPhase("Serialize");const p=createPhase("None");const A=createPhase("Deserialize");const C=createPhase("Retry");const S=createPhase("Sign");const v=[d,p,A,C,S];function getPhase(i){if(i==="Retry"){return C}else if(i==="Serialize"){return d}else if(i==="Deserialize"){return A}else if(i==="Sign"){return S}else{return p}}for(const i of this._policies){const d=i.policy;const p=i.options;const A=d.name;if(c.has(A)){throw new Error("Duplicate policy names not allowed in pipeline")}const C={policy:d,dependsOn:new Set,dependants:new Set};if(p.afterPhase){C.afterPhase=getPhase(p.afterPhase);C.afterPhase.hasAfterPolicies=true}c.set(A,C);const S=getPhase(p.phase);S.policies.add(C)}for(const i of this._policies){const{policy:d,options:p}=i;const A=d.name;const C=c.get(A);if(!C){throw new Error(`Missing node for policy ${A}`)}if(p.afterPolicies){for(const i of p.afterPolicies){const d=c.get(i);if(d){C.dependsOn.add(d);d.dependants.add(C)}}}if(p.beforePolicies){for(const i of p.beforePolicies){const d=c.get(i);if(d){d.dependsOn.add(C);C.dependants.add(d)}}}}function walkPhase(d){d.hasRun=true;for(const p of d.policies){if(p.afterPhase&&(!p.afterPhase.hasRun||p.afterPhase.policies.size)){continue}if(p.dependsOn.size===0){i.push(p.policy);for(const i of p.dependants){i.dependsOn.delete(p)}c.delete(p.policy.name);d.policies.delete(p)}}}function walkPhases(){for(const i of v){walkPhase(i);if(i.policies.size>0&&i!==p){if(!p.hasRun){walkPhase(p)}return}if(i.hasAfterPolicies){walkPhase(p)}}}let _=0;while(c.size>0){_++;const c=i.length;walkPhases();if(i.length<=c&&_>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return i}}function createEmptyPipeline(){return HttpPipeline.create()}},72305:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.createPipelineRequest=createPipelineRequest;const p=d(4220);const A=d(5023);class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(i){this.url=i.url;this.body=i.body;this.headers=i.headers??(0,p.createHttpHeaders)();this.method=i.method??"GET";this.timeout=i.timeout??0;this.multipartBody=i.multipartBody;this.formData=i.formData;this.disableKeepAlive=i.disableKeepAlive??false;this.proxySettings=i.proxySettings;this.streamResponseStatusCodes=i.streamResponseStatusCodes;this.withCredentials=i.withCredentials??false;this.abortSignal=i.abortSignal;this.onUploadProgress=i.onUploadProgress;this.onDownloadProgress=i.onDownloadProgress;this.requestId=i.requestId||(0,A.randomUUID)();this.allowInsecureConnection=i.allowInsecureConnection??false;this.enableBrowserStreams=i.enableBrowserStreams??false;this.requestOverrides=i.requestOverrides;this.authSchemes=i.authSchemes}}function createPipelineRequest(i){return new PipelineRequestImpl(i)}},85366:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.agentPolicyName=void 0;c.agentPolicy=agentPolicy;c.agentPolicyName="agentPolicy";function agentPolicy(i){return{name:c.agentPolicyName,sendRequest:async(c,d)=>{if(!c.agent){c.agent=i}return d(c)}}}},42095:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.apiKeyAuthenticationPolicyName=void 0;c.apiKeyAuthenticationPolicy=apiKeyAuthenticationPolicy;const p=d(42302);c.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(i){return{name:c.apiKeyAuthenticationPolicyName,async sendRequest(c,d){(0,p.ensureSecureConnection)(c,i);const A=(c.authSchemes??i.authSchemes)?.find((i=>i.kind==="apiKey"));if(!A){return d(c)}if(A.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${A.apiKeyLocation}`)}c.headers.set(A.name,i.credential.key);return d(c)}}}},15756:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.basicAuthenticationPolicyName=void 0;c.basicAuthenticationPolicy=basicAuthenticationPolicy;const p=d(82921);const A=d(42302);c.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function basicAuthenticationPolicy(i){return{name:c.basicAuthenticationPolicyName,async sendRequest(c,d){(0,A.ensureSecureConnection)(c,i);const C=(c.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="basic"));if(!C){return d(c)}const{username:S,password:v}=i.credential;const _=(0,p.uint8ArrayToString)((0,p.stringToUint8Array)(`${S}:${v}`,"utf-8"),"base64");c.headers.set("Authorization",`Basic ${_}`);return d(c)}}}},89709:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.bearerAuthenticationPolicyName=void 0;c.bearerAuthenticationPolicy=bearerAuthenticationPolicy;const p=d(42302);c.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(i){return{name:c.bearerAuthenticationPolicyName,async sendRequest(c,d){(0,p.ensureSecureConnection)(c,i);const A=(c.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="bearer"));if(!A){return d(c)}const C=await i.credential.getBearerToken({abortSignal:c.abortSignal});c.headers.set("Authorization",`Bearer ${C}`);return d(c)}}}},42302:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.ensureSecureConnection=ensureSecureConnection;const p=d(3644);let A=false;function allowInsecureConnection(i,c){if(c.allowInsecureConnection&&i.allowInsecureConnection){const c=new URL(i.url);if(c.hostname==="localhost"||c.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const i="Sending token over insecure transport. Assume any token issued is compromised.";p.logger.warning(i);if(typeof process?.emitWarning==="function"&&!A){A=true;process.emitWarning(i)}}function ensureSecureConnection(i,c){if(!i.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(i,c)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}},20219:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.oauth2AuthenticationPolicyName=void 0;c.oauth2AuthenticationPolicy=oauth2AuthenticationPolicy;const p=d(42302);c.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(i){return{name:c.oauth2AuthenticationPolicyName,async sendRequest(c,d){(0,p.ensureSecureConnection)(c,i);const A=(c.authSchemes??i.authSchemes)?.find((i=>i.kind==="oauth2"));if(!A){return d(c)}const C=await i.credential.getOAuth2Token(A.flows,{abortSignal:c.abortSignal});c.headers.set("Authorization",`Bearer ${C}`);return d(c)}}}},35035:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.decompressResponsePolicyName=void 0;c.decompressResponsePolicy=decompressResponsePolicy;c.decompressResponsePolicyName="decompressResponsePolicy";function decompressResponsePolicy(){return{name:c.decompressResponsePolicyName,async sendRequest(i,c){if(i.method!=="HEAD"){i.headers.set("Accept-Encoding","gzip,deflate")}return c(i)}}}},32462:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.defaultRetryPolicyName=void 0;c.defaultRetryPolicy=defaultRetryPolicy;const p=d(98102);const A=d(21112);const C=d(43345);const S=d(31255);c.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(i={}){return{name:c.defaultRetryPolicyName,sendRequest:(0,C.retryPolicy)([(0,A.throttlingRetryStrategy)(),(0,p.exponentialRetryStrategy)(i)],{maxRetries:i.maxRetries??S.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},74656:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.exponentialRetryPolicyName=void 0;c.exponentialRetryPolicy=exponentialRetryPolicy;const p=d(98102);const A=d(43345);const C=d(31255);c.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(i={}){return(0,A.retryPolicy)([(0,p.exponentialRetryStrategy)({...i,ignoreSystemErrors:true})],{maxRetries:i.maxRetries??C.DEFAULT_RETRY_POLICY_COUNT})}},14197:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.formDataPolicyName=void 0;c.formDataPolicy=formDataPolicy;const p=d(82921);const A=d(85086);const C=d(4220);c.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(i){const c={};for(const[d,p]of i.entries()){c[d]??=[];c[d].push(p)}return c}function formDataPolicy(){return{name:c.formDataPolicyName,async sendRequest(i,c){if(A.isNodeLike&&typeof FormData!=="undefined"&&i.body instanceof FormData){i.formData=formDataToFormDataMap(i.body);i.body=undefined}if(i.formData){const c=i.headers.get("Content-Type");if(c&&c.indexOf("application/x-www-form-urlencoded")!==-1){i.body=wwwFormUrlEncode(i.formData)}else{await prepareFormData(i.formData,i)}i.formData=undefined}return c(i)}}}function wwwFormUrlEncode(i){const c=new URLSearchParams;for(const[d,p]of Object.entries(i)){if(Array.isArray(p)){for(const i of p){c.append(d,i.toString())}}else{c.append(d,p.toString())}}return c.toString()}async function prepareFormData(i,c){const d=c.headers.get("Content-Type");if(d&&!d.startsWith("multipart/form-data")){return}c.headers.set("Content-Type",d??"multipart/form-data");const A=[];for(const[c,d]of Object.entries(i)){for(const i of Array.isArray(d)?d:[d]){if(typeof i==="string"){A.push({headers:(0,C.createHttpHeaders)({"Content-Disposition":`form-data; name="${c}"`}),body:(0,p.stringToUint8Array)(i,"utf-8")})}else if(i===undefined||i===null||typeof i!=="object"){throw new Error(`Unexpected value for key ${c}: ${i}. Value should be serialized to string first.`)}else{const d=i.name||"blob";const p=(0,C.createHttpHeaders)();p.set("Content-Disposition",`form-data; name="${c}"; filename="${d}"`);p.set("Content-Type",i.type||"application/octet-stream");A.push({headers:p,body:i})}}}c.multipartBody={parts:A}}},44960:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.userAgentPolicyName=c.userAgentPolicy=c.tlsPolicyName=c.tlsPolicy=c.redirectPolicyName=c.redirectPolicy=c.getDefaultProxySettings=c.proxyPolicyName=c.proxyPolicy=c.multipartPolicyName=c.multipartPolicy=c.logPolicyName=c.logPolicy=c.formDataPolicyName=c.formDataPolicy=c.throttlingRetryPolicyName=c.throttlingRetryPolicy=c.systemErrorRetryPolicyName=c.systemErrorRetryPolicy=c.retryPolicy=c.exponentialRetryPolicyName=c.exponentialRetryPolicy=c.defaultRetryPolicyName=c.defaultRetryPolicy=c.decompressResponsePolicyName=c.decompressResponsePolicy=c.agentPolicyName=c.agentPolicy=void 0;var p=d(85366);Object.defineProperty(c,"agentPolicy",{enumerable:true,get:function(){return p.agentPolicy}});Object.defineProperty(c,"agentPolicyName",{enumerable:true,get:function(){return p.agentPolicyName}});var A=d(35035);Object.defineProperty(c,"decompressResponsePolicy",{enumerable:true,get:function(){return A.decompressResponsePolicy}});Object.defineProperty(c,"decompressResponsePolicyName",{enumerable:true,get:function(){return A.decompressResponsePolicyName}});var C=d(32462);Object.defineProperty(c,"defaultRetryPolicy",{enumerable:true,get:function(){return C.defaultRetryPolicy}});Object.defineProperty(c,"defaultRetryPolicyName",{enumerable:true,get:function(){return C.defaultRetryPolicyName}});var S=d(74656);Object.defineProperty(c,"exponentialRetryPolicy",{enumerable:true,get:function(){return S.exponentialRetryPolicy}});Object.defineProperty(c,"exponentialRetryPolicyName",{enumerable:true,get:function(){return S.exponentialRetryPolicyName}});var v=d(43345);Object.defineProperty(c,"retryPolicy",{enumerable:true,get:function(){return v.retryPolicy}});var _=d(92418);Object.defineProperty(c,"systemErrorRetryPolicy",{enumerable:true,get:function(){return _.systemErrorRetryPolicy}});Object.defineProperty(c,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return _.systemErrorRetryPolicyName}});var T=d(24728);Object.defineProperty(c,"throttlingRetryPolicy",{enumerable:true,get:function(){return T.throttlingRetryPolicy}});Object.defineProperty(c,"throttlingRetryPolicyName",{enumerable:true,get:function(){return T.throttlingRetryPolicyName}});var V=d(14197);Object.defineProperty(c,"formDataPolicy",{enumerable:true,get:function(){return V.formDataPolicy}});Object.defineProperty(c,"formDataPolicyName",{enumerable:true,get:function(){return V.formDataPolicyName}});var Z=d(47129);Object.defineProperty(c,"logPolicy",{enumerable:true,get:function(){return Z.logPolicy}});Object.defineProperty(c,"logPolicyName",{enumerable:true,get:function(){return Z.logPolicyName}});var ee=d(27427);Object.defineProperty(c,"multipartPolicy",{enumerable:true,get:function(){return ee.multipartPolicy}});Object.defineProperty(c,"multipartPolicyName",{enumerable:true,get:function(){return ee.multipartPolicyName}});var te=d(80067);Object.defineProperty(c,"proxyPolicy",{enumerable:true,get:function(){return te.proxyPolicy}});Object.defineProperty(c,"proxyPolicyName",{enumerable:true,get:function(){return te.proxyPolicyName}});Object.defineProperty(c,"getDefaultProxySettings",{enumerable:true,get:function(){return te.getDefaultProxySettings}});var re=d(92187);Object.defineProperty(c,"redirectPolicy",{enumerable:true,get:function(){return re.redirectPolicy}});Object.defineProperty(c,"redirectPolicyName",{enumerable:true,get:function(){return re.redirectPolicyName}});var ne=d(96690);Object.defineProperty(c,"tlsPolicy",{enumerable:true,get:function(){return ne.tlsPolicy}});Object.defineProperty(c,"tlsPolicyName",{enumerable:true,get:function(){return ne.tlsPolicyName}});var ie=d(91691);Object.defineProperty(c,"userAgentPolicy",{enumerable:true,get:function(){return ie.userAgentPolicy}});Object.defineProperty(c,"userAgentPolicyName",{enumerable:true,get:function(){return ie.userAgentPolicyName}})},47129:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.logPolicyName=void 0;c.logPolicy=logPolicy;const p=d(3644);const A=d(7784);c.logPolicyName="logPolicy";function logPolicy(i={}){const d=i.logger??p.logger.info;const C=new A.Sanitizer({additionalAllowedHeaderNames:i.additionalAllowedHeaderNames,additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});return{name:c.logPolicyName,async sendRequest(i,c){if(!d.enabled){return c(i)}d(`Request: ${C.sanitize(i)}`);const p=await c(i);d(`Response status code: ${p.status}`);d(`Headers: ${C.sanitize(p.headers)}`);return p}}}},27427:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.multipartPolicyName=void 0;c.multipartPolicy=multipartPolicy;const p=d(82921);const A=d(48505);const C=d(5023);const S=d(20547);function generateBoundary(){return`----AzSDKFormBoundary${(0,C.randomUUID)()}`}function encodeHeaders(i){let c="";for(const[d,p]of i){c+=`${d}: ${p}\r\n`}return c}function getLength(i){if(i instanceof Uint8Array){return i.byteLength}else if((0,A.isBlob)(i)){return i.size===-1?undefined:i.size}else{return undefined}}function getTotalLength(i){let c=0;for(const d of i){const i=getLength(d);if(i===undefined){return undefined}else{c+=i}}return c}async function buildRequestBody(i,c,d){const A=[(0,p.stringToUint8Array)(`--${d}`,"utf-8"),...c.flatMap((i=>[(0,p.stringToUint8Array)("\r\n","utf-8"),(0,p.stringToUint8Array)(encodeHeaders(i.headers),"utf-8"),(0,p.stringToUint8Array)("\r\n","utf-8"),i.body,(0,p.stringToUint8Array)(`\r\n--${d}`,"utf-8")])),(0,p.stringToUint8Array)("--\r\n\r\n","utf-8")];const C=getTotalLength(A);if(C){i.headers.set("Content-Length",C)}i.body=await(0,S.concat)(A)}c.multipartPolicyName="multipartPolicy";const v=70;const _=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(i){if(i.length>v){throw new Error(`Multipart boundary "${i}" exceeds maximum length of 70 characters`)}if(Array.from(i).some((i=>!_.has(i)))){throw new Error(`Multipart boundary "${i}" contains invalid characters`)}}function multipartPolicy(){return{name:c.multipartPolicyName,async sendRequest(i,c){if(!i.multipartBody){return c(i)}if(i.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let d=i.multipartBody.boundary;const p=i.headers.get("Content-Type")??"multipart/mixed";const A=p.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!A){throw new Error(`Got multipart request body, but content-type header was not multipart: ${p}`)}const[,C,S]=A;if(S&&d&&S!==d){throw new Error(`Multipart boundary was specified as ${S} in the header, but got ${d} in the request body`)}d??=S;if(d){assertValidBoundary(d)}else{d=generateBoundary()}i.headers.set("Content-Type",`${C}; boundary=${d}`);await buildRequestBody(i,i.multipartBody.parts,d);i.multipartBody=undefined;return c(i)}}}},80067:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.globalNoProxyList=c.proxyPolicyName=void 0;c.loadNoProxy=loadNoProxy;c.getDefaultProxySettings=getDefaultProxySettings;c.proxyPolicy=proxyPolicy;const p=d(3669);const A=d(81970);const C=d(3644);const S="HTTPS_PROXY";const v="HTTP_PROXY";const _="ALL_PROXY";const T="NO_PROXY";c.proxyPolicyName="proxyPolicy";c.globalNoProxyList=[];let V=false;const Z=new Map;function getEnvironmentValue(i){if(process.env[i]){return process.env[i]}else if(process.env[i.toLowerCase()]){return process.env[i.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const i=getEnvironmentValue(S);const c=getEnvironmentValue(_);const d=getEnvironmentValue(v);return i||c||d}function isBypassed(i,c,d){if(c.length===0){return false}const p=new URL(i).hostname;if(d?.has(p)){return d.get(p)}let A=false;for(const i of c){if(i[0]==="."){if(p.endsWith(i)){A=true}else{if(p.length===i.length-1&&p===i.slice(1)){A=true}}}else{if(p===i){A=true}}}d?.set(p,A);return A}function loadNoProxy(){const i=getEnvironmentValue(T);V=true;if(i){return i.split(",").map((i=>i.trim())).filter((i=>i.length))}return[]}function getDefaultProxySettings(i){if(!i){i=loadEnvironmentProxyValue();if(!i){return undefined}}const c=new URL(i);const d=c.protocol?c.protocol+"//":"";return{host:d+c.hostname,port:Number.parseInt(c.port||"80"),username:c.username,password:c.password}}function getDefaultProxySettingsInternal(){const i=loadEnvironmentProxyValue();return i?new URL(i):undefined}function getUrlFromProxySettings(i){let c;try{c=new URL(i.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${i.host}".`)}c.port=String(i.port);if(i.username){c.username=i.username}if(i.password){c.password=i.password}return c}function setProxyAgentOnRequest(i,c,d){if(i.agent){return}const S=new URL(i.url);const v=S.protocol!=="https:";if(i.tlsSettings){C.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const _=i.headers.toJSON();if(v){if(!c.httpProxyAgent){c.httpProxyAgent=new A.HttpProxyAgent(d,{headers:_})}i.agent=c.httpProxyAgent}else{if(!c.httpsProxyAgent){c.httpsProxyAgent=new p.HttpsProxyAgent(d,{headers:_})}i.agent=c.httpsProxyAgent}}function proxyPolicy(i,d){if(!V){c.globalNoProxyList.push(...loadNoProxy())}const p=i?getUrlFromProxySettings(i):getDefaultProxySettingsInternal();const A={};return{name:c.proxyPolicyName,async sendRequest(i,C){if(!i.proxySettings&&p&&!isBypassed(i.url,d?.customNoProxyList??c.globalNoProxyList,d?.customNoProxyList?undefined:Z)){setProxyAgentOnRequest(i,A,p)}else if(i.proxySettings){setProxyAgentOnRequest(i,A,getUrlFromProxySettings(i.proxySettings))}return C(i)}}}},92187:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.redirectPolicyName=void 0;c.redirectPolicy=redirectPolicy;c.redirectPolicyName="redirectPolicy";const d=["GET","HEAD"];function redirectPolicy(i={}){const{maxRetries:d=20}=i;return{name:c.redirectPolicyName,async sendRequest(i,c){const p=await c(i);return handleRedirect(c,p,d)}}}async function handleRedirect(i,c,p,A=0){const{request:C,status:S,headers:v}=c;const _=v.get("location");if(_&&(S===300||S===301&&d.includes(C.method)||S===302&&d.includes(C.method)||S===303&&C.method==="POST"||S===307)&&A<p){const c=new URL(_,C.url);C.url=c.toString();if(S===303){C.method="GET";C.headers.delete("Content-Length");delete C.body}C.headers.delete("Authorization");const d=await i(C);return handleRedirect(i,d,p,A+1)}return c}},43345:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.retryPolicy=retryPolicy;const p=d(77566);const A=d(99992);const C=d(18459);const S=d(31255);const v=(0,C.createClientLogger)("ts-http-runtime retryPolicy");const _="retryPolicy";function retryPolicy(i,c={maxRetries:S.DEFAULT_RETRY_POLICY_COUNT}){const d=c.logger||v;return{name:_,async sendRequest(C,v){let _;let T;let V=-1;e:while(true){V+=1;_=undefined;T=undefined;try{d.info(`Retry ${V}: Attempting to send request`,C.requestId);_=await v(C);d.info(`Retry ${V}: Received a response from request`,C.requestId)}catch(i){d.error(`Retry ${V}: Received an error from request`,C.requestId);T=i;if(!i||T.name!=="RestError"){throw i}_=T.response}if(C.abortSignal?.aborted){d.error(`Retry ${V}: Request aborted.`);const i=new A.AbortError;throw i}if(V>=(c.maxRetries??S.DEFAULT_RETRY_POLICY_COUNT)){d.info(`Retry ${V}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(T){throw T}else if(_){return _}else{throw new Error("Maximum retries reached with no response or error to throw")}}d.info(`Retry ${V}: Processing ${i.length} retry strategies.`);t:for(const c of i){const i=c.logger||d;i.info(`Retry ${V}: Processing retry strategy ${c.name}.`);const A=c.retry({retryCount:V,response:_,responseError:T});if(A.skipStrategy){i.info(`Retry ${V}: Skipped.`);continue t}const{errorToThrow:S,retryAfterInMs:v,redirectTo:Z}=A;if(S){i.error(`Retry ${V}: Retry strategy ${c.name} throws error:`,S);throw S}if(v||v===0){i.info(`Retry ${V}: Retry strategy ${c.name} retries after ${v}`);await(0,p.delay)(v,undefined,{abortSignal:C.abortSignal});continue e}if(Z){i.info(`Retry ${V}: Retry strategy ${c.name} redirects to ${Z}`);C.url=Z;continue e}}if(T){d.info(`None of the retry strategies could work with the received error. Throwing it.`);throw T}if(_){d.info(`None of the retry strategies could work with the received response. Returning it.`);return _}}}}}},92418:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.systemErrorRetryPolicyName=void 0;c.systemErrorRetryPolicy=systemErrorRetryPolicy;const p=d(98102);const A=d(43345);const C=d(31255);c.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(i={}){return{name:c.systemErrorRetryPolicyName,sendRequest:(0,A.retryPolicy)([(0,p.exponentialRetryStrategy)({...i,ignoreHttpStatusCodes:true})],{maxRetries:i.maxRetries??C.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},24728:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.throttlingRetryPolicyName=void 0;c.throttlingRetryPolicy=throttlingRetryPolicy;const p=d(21112);const A=d(43345);const C=d(31255);c.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(i={}){return{name:c.throttlingRetryPolicyName,sendRequest:(0,A.retryPolicy)([(0,p.throttlingRetryStrategy)()],{maxRetries:i.maxRetries??C.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},96690:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.tlsPolicyName=void 0;c.tlsPolicy=tlsPolicy;c.tlsPolicyName="tlsPolicy";function tlsPolicy(i){return{name:c.tlsPolicyName,sendRequest:async(c,d)=>{if(!c.tlsSettings){c.tlsSettings=i}return d(c)}}}},91691:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.userAgentPolicyName=void 0;c.userAgentPolicy=userAgentPolicy;const p=d(62731);const A=(0,p.getUserAgentHeaderName)();c.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(i={}){const d=(0,p.getUserAgentValue)(i.userAgentPrefix);return{name:c.userAgentPolicyName,async sendRequest(i,c){if(!i.headers.has(A)){i.headers.set(A,await d)}return c(i)}}}},9758:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.RestError=void 0;c.isRestError=isRestError;const p=d(52573);const A=d(37639);const C=d(7784);const S=new C.Sanitizer;class RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(i,c={}){super(i);this.name="RestError";this.code=c.code;this.statusCode=c.statusCode;Object.defineProperty(this,"request",{value:c.request,enumerable:false});Object.defineProperty(this,"response",{value:c.response,enumerable:false});const d=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,A.custom,{value:()=>`RestError: ${this.message} \n ${S.sanitize({...this,request:{...this.request,agent:d},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}c.RestError=RestError;function isRestError(i){if(i instanceof RestError){return true}return(0,p.isError)(i)&&i.name==="RestError"}},98102:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.exponentialRetryStrategy=exponentialRetryStrategy;c.isExponentialRetryResponse=isExponentialRetryResponse;c.isSystemError=isSystemError;const p=d(66776);const A=d(21112);const C=1e3;const S=1e3*64;function exponentialRetryStrategy(i={}){const c=i.retryDelayInMs??C;const d=i.maxRetryDelayInMs??S;return{name:"exponentialRetryStrategy",retry({retryCount:C,response:S,responseError:v}){const _=isSystemError(v);const T=_&&i.ignoreSystemErrors;const V=isExponentialRetryResponse(S);const Z=V&&i.ignoreHttpStatusCodes;const ee=S&&((0,A.isThrottlingRetryResponse)(S)||!V);if(ee||Z||T){return{skipStrategy:true}}if(v&&!_&&!V){return{errorToThrow:v}}return(0,p.calculateRetryDelay)(C,{retryDelayInMs:c,maxRetryDelayInMs:d})}}}function isExponentialRetryResponse(i){return Boolean(i&&i.status!==undefined&&(i.status>=500||i.status===408)&&i.status!==501&&i.status!==505)}function isSystemError(i){if(!i){return false}return i.code==="ETIMEDOUT"||i.code==="ESOCKETTIMEDOUT"||i.code==="ECONNREFUSED"||i.code==="ECONNRESET"||i.code==="ENOENT"||i.code==="ENOTFOUND"}},21112:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isThrottlingRetryResponse=isThrottlingRetryResponse;c.throttlingRetryStrategy=throttlingRetryStrategy;const p=d(77566);const A="Retry-After";const C=["retry-after-ms","x-ms-retry-after-ms",A];function getRetryAfterInMs(i){if(!(i&&[429,503].includes(i.status)))return undefined;try{for(const c of C){const d=(0,p.parseHeaderValueAsNumber)(i,c);if(d===0||d){const i=c===A?1e3:1;return d*i}}const c=i.headers.get(A);if(!c)return;const d=Date.parse(c);const S=d-Date.now();return Number.isFinite(S)?Math.max(0,S):undefined}catch{return undefined}}function isThrottlingRetryResponse(i){return Number.isFinite(getRetryAfterInMs(i))}function throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:i}){const c=getRetryAfterInMs(i);if(!Number.isFinite(c)){return{skipStrategy:true}}return{retryAfterInMs:c}}}}},82921:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.uint8ArrayToString=uint8ArrayToString;c.stringToUint8Array=stringToUint8Array;function uint8ArrayToString(i,c){return Buffer.from(i).toString(c)}function stringToUint8Array(i,c){return Buffer.from(i,c)}},85086:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isReactNative=c.isNodeRuntime=c.isNodeLike=c.isBun=c.isDeno=c.isWebWorker=c.isBrowser=void 0;c.isBrowser=typeof window!=="undefined"&&typeof window.document!=="undefined";c.isWebWorker=typeof self==="object"&&typeof self?.importScripts==="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope");c.isDeno=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";c.isBun=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";c.isNodeLike=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean(globalThis.process.versions?.node);c.isNodeRuntime=c.isNodeLike&&!c.isBun&&!c.isDeno;c.isReactNative=typeof navigator!=="undefined"&&navigator?.product==="ReactNative"},20547:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.concat=concat;const p=d(2203);const A=d(48505);async function*streamAsyncIterator(){const i=this.getReader();try{while(true){const{done:c,value:d}=await i.read();if(c){return}yield d}}finally{i.releaseLock()}}function makeAsyncIterable(i){if(!i[Symbol.asyncIterator]){i[Symbol.asyncIterator]=streamAsyncIterator.bind(i)}if(!i.values){i.values=streamAsyncIterator.bind(i)}}function ensureNodeStream(i){if(i instanceof ReadableStream){makeAsyncIterable(i);return p.Readable.fromWeb(i)}else{return i}}function toStream(i){if(i instanceof Uint8Array){return p.Readable.from(Buffer.from(i))}else if((0,A.isBlob)(i)){return ensureNodeStream(i.stream())}else{return ensureNodeStream(i)}}async function concat(i){return function(){const c=i.map((i=>typeof i==="function"?i():i)).map(toStream);return p.Readable.from(async function*(){for(const i of c){for await(const c of i){yield c}}}())}}},66776:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.calculateRetryDelay=calculateRetryDelay;const p=d(78640);function calculateRetryDelay(i,c){const d=c.retryDelayInMs*Math.pow(2,i);const A=Math.min(c.maxRetryDelayInMs,d);const C=A/2+(0,p.getRandomIntegerInclusive)(0,A/2);return{retryAfterInMs:C}}},52573:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isError=isError;const p=d(53632);function isError(i){if((0,p.isObject)(i)){const c=typeof i.name==="string";const d=typeof i.message==="string";return c&&d}return false}},77566:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.delay=delay;c.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const p=d(99992);const A="The operation was aborted.";function delay(i,c,d){return new Promise(((C,S)=>{let v=undefined;let _=undefined;const rejectOnAbort=()=>S(new p.AbortError(d?.abortErrorMsg?d?.abortErrorMsg:A));const removeListeners=()=>{if(d?.abortSignal&&_){d.abortSignal.removeEventListener("abort",_)}};_=()=>{if(v){clearTimeout(v)}removeListeners();return rejectOnAbort()};if(d?.abortSignal&&d.abortSignal.aborted){return rejectOnAbort()}v=setTimeout((()=>{removeListeners();C(c)}),i);if(d?.abortSignal){d.abortSignal.addEventListener("abort",_)}}))}function parseHeaderValueAsNumber(i,c){const d=i.headers.get(c);if(!d)return;const p=Number(d);if(Number.isNaN(p))return;return p}},37639:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.custom=void 0;const p=d(57975);c.custom=p.inspect.custom},95750:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Sanitizer=c.uint8ArrayToString=c.stringToUint8Array=c.isWebWorker=c.isReactNative=c.isDeno=c.isNodeRuntime=c.isNodeLike=c.isBun=c.isBrowser=c.randomUUID=c.computeSha256Hmac=c.computeSha256Hash=c.isError=c.isObject=c.getRandomIntegerInclusive=c.calculateRetryDelay=void 0;var p=d(66776);Object.defineProperty(c,"calculateRetryDelay",{enumerable:true,get:function(){return p.calculateRetryDelay}});var A=d(78640);Object.defineProperty(c,"getRandomIntegerInclusive",{enumerable:true,get:function(){return A.getRandomIntegerInclusive}});var C=d(53632);Object.defineProperty(c,"isObject",{enumerable:true,get:function(){return C.isObject}});var S=d(52573);Object.defineProperty(c,"isError",{enumerable:true,get:function(){return S.isError}});var v=d(2016);Object.defineProperty(c,"computeSha256Hash",{enumerable:true,get:function(){return v.computeSha256Hash}});Object.defineProperty(c,"computeSha256Hmac",{enumerable:true,get:function(){return v.computeSha256Hmac}});var _=d(5023);Object.defineProperty(c,"randomUUID",{enumerable:true,get:function(){return _.randomUUID}});var T=d(85086);Object.defineProperty(c,"isBrowser",{enumerable:true,get:function(){return T.isBrowser}});Object.defineProperty(c,"isBun",{enumerable:true,get:function(){return T.isBun}});Object.defineProperty(c,"isNodeLike",{enumerable:true,get:function(){return T.isNodeLike}});Object.defineProperty(c,"isNodeRuntime",{enumerable:true,get:function(){return T.isNodeRuntime}});Object.defineProperty(c,"isDeno",{enumerable:true,get:function(){return T.isDeno}});Object.defineProperty(c,"isReactNative",{enumerable:true,get:function(){return T.isReactNative}});Object.defineProperty(c,"isWebWorker",{enumerable:true,get:function(){return T.isWebWorker}});var V=d(82921);Object.defineProperty(c,"stringToUint8Array",{enumerable:true,get:function(){return V.stringToUint8Array}});Object.defineProperty(c,"uint8ArrayToString",{enumerable:true,get:function(){return V.uint8ArrayToString}});var Z=d(7784);Object.defineProperty(c,"Sanitizer",{enumerable:true,get:function(){return Z.Sanitizer}})},53632:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isObject=isObject;function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}},78640:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(i,c){i=Math.ceil(i);c=Math.floor(c);const d=Math.floor(Math.random()*(c-i+1));return d+i}},7784:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Sanitizer=void 0;const p=d(53632);const A="REDACTED";const C=["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 S=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:i=[],additionalAllowedQueryParameters:c=[]}={}){i=C.concat(i);c=S.concat(c);this.allowedHeaderNames=new Set(i.map((i=>i.toLowerCase())));this.allowedQueryParameters=new Set(c.map((i=>i.toLowerCase())))}sanitize(i){const c=new Set;return JSON.stringify(i,((i,d)=>{if(d instanceof Error){return{...d,name:d.name,message:d.message}}if(i==="headers"){return this.sanitizeHeaders(d)}else if(i==="url"){return this.sanitizeUrl(d)}else if(i==="query"){return this.sanitizeQuery(d)}else if(i==="body"){return undefined}else if(i==="response"){return undefined}else if(i==="operationSpec"){return undefined}else if(Array.isArray(d)||(0,p.isObject)(d)){if(c.has(d)){return"[Circular]"}c.add(d)}return d}),2)}sanitizeUrl(i){if(typeof i!=="string"||i===null||i===""){return i}const c=new URL(i);if(!c.search){return i}for(const[i]of c.searchParams){if(!this.allowedQueryParameters.has(i.toLowerCase())){c.searchParams.set(i,A)}}return c.toString()}sanitizeHeaders(i){const c={};for(const d of Object.keys(i)){if(this.allowedHeaderNames.has(d.toLowerCase())){c[d]=i[d]}else{c[d]=A}}return c}sanitizeQuery(i){if(typeof i!=="object"||i===null){return i}const c={};for(const d of Object.keys(i)){if(this.allowedQueryParameters.has(d.toLowerCase())){c[d]=i[d]}else{c[d]=A}}return c}}c.Sanitizer=Sanitizer},2016:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.computeSha256Hmac=computeSha256Hmac;c.computeSha256Hash=computeSha256Hash;const p=d(77598);async function computeSha256Hmac(i,c,d){const A=Buffer.from(i,"base64");return(0,p.createHmac)("sha256",A).update(c).digest(d)}async function computeSha256Hash(i,c){return(0,p.createHash)("sha256").update(i).digest(c)}},48505:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.isNodeReadableStream=isNodeReadableStream;c.isWebReadableStream=isWebReadableStream;c.isBinaryBody=isBinaryBody;c.isReadableStream=isReadableStream;c.isBlob=isBlob;function isNodeReadableStream(i){return Boolean(i&&typeof i["pipe"]==="function")}function isWebReadableStream(i){return Boolean(i&&typeof i.getReader==="function"&&typeof i.tee==="function")}function isBinaryBody(i){return i!==undefined&&(i instanceof Uint8Array||isReadableStream(i)||typeof i==="function"||i instanceof Blob)}function isReadableStream(i){return isNodeReadableStream(i)||isWebReadableStream(i)}function isBlob(i){return typeof i.stream==="function"}},62731:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getUserAgentHeaderName=getUserAgentHeaderName;c.getUserAgentValue=getUserAgentValue;const p=d(83196);const A=d(31255);function getUserAgentString(i){const c=[];for(const[d,p]of i){const i=p?`${d}/${p}`:d;c.push(i)}return c.join(" ")}function getUserAgentHeaderName(){return(0,p.getHeaderName)()}async function getUserAgentValue(i){const c=new Map;c.set("ts-http-runtime",A.SDK_VERSION);await(0,p.setPlatformSpecificData)(c);const d=getUserAgentString(c);const C=i?`${i} ${d}`:d;return C}},83196:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.getHeaderName=getHeaderName;c.setPlatformSpecificData=setPlatformSpecificData;const p=d(61860);const A=p.__importDefault(d(48161));const C=p.__importDefault(d(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(C.default&&C.default.versions){const c=`${A.default.type()} ${A.default.release()}; ${A.default.arch()}`;const d=C.default.versions;if(d.bun){i.set("Bun",`${d.bun} (${c})`)}else if(d.deno){i.set("Deno",`${d.deno} (${c})`)}else if(d.node){i.set("Node",`${d.node} (${c})`)}}}},5023:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.randomUUID=randomUUID;function randomUUID(){return crypto.randomUUID()}},68669:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Glob=void 0;const p=d(62883);const A=d(73136);const C=d(38958);const S=d(2029);const v=d(83581);const _=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Glob{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(i,c){if(!c)throw new TypeError("glob options required");this.withFileTypes=!!c.withFileTypes;this.signal=c.signal;this.follow=!!c.follow;this.dot=!!c.dot;this.dotRelative=!!c.dotRelative;this.nodir=!!c.nodir;this.mark=!!c.mark;if(!c.cwd){this.cwd=""}else if(c.cwd instanceof URL||c.cwd.startsWith("file://")){c.cwd=(0,A.fileURLToPath)(c.cwd)}this.cwd=c.cwd||"";this.root=c.root;this.magicalBraces=!!c.magicalBraces;this.nobrace=!!c.nobrace;this.noext=!!c.noext;this.realpath=!!c.realpath;this.absolute=c.absolute;this.includeChildMatches=c.includeChildMatches!==false;this.noglobstar=!!c.noglobstar;this.matchBase=!!c.matchBase;this.maxDepth=typeof c.maxDepth==="number"?c.maxDepth:Infinity;this.stat=!!c.stat;this.ignore=c.ignore;if(this.withFileTypes&&this.absolute!==undefined){throw new Error("cannot set absolute and withFileTypes:true")}if(typeof i==="string"){i=[i]}this.windowsPathsNoEscape=!!c.windowsPathsNoEscape||c.allowWindowsEscape===false;if(this.windowsPathsNoEscape){i=i.map((i=>i.replace(/\\/g,"/")))}if(this.matchBase){if(c.noglobstar){throw new TypeError("base matching requires globstar")}i=i.map((i=>i.includes("/")?i:`./**/${i}`))}this.pattern=i;this.platform=c.platform||_;this.opts={...c,platform:this.platform};if(c.scurry){this.scurry=c.scurry;if(c.nocase!==undefined&&c.nocase!==c.scurry.nocase){throw new Error("nocase option contradicts provided scurry option")}}else{const i=c.platform==="win32"?C.PathScurryWin32:c.platform==="darwin"?C.PathScurryDarwin:c.platform?C.PathScurryPosix:C.PathScurry;this.scurry=new i(this.cwd,{nocase:c.nocase,fs:c.fs})}this.nocase=this.scurry.nocase;const d=this.platform==="darwin"||this.platform==="win32";const v={...c,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:d,nocomment:true,noext:this.noext,nonegate:true,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug};const T=this.pattern.map((i=>new p.Minimatch(i,v)));const[V,Z]=T.reduce(((i,c)=>{i[0].push(...c.set);i[1].push(...c.globParts);return i}),[[],[]]);this.patterns=V.map(((i,c)=>{const d=Z[c];if(!d)throw new Error("invalid pattern object");return new S.Pattern(i,d,0,this.platform)}))}async walk(){return[...await new v.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 v.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 v.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 v.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()}}c.Glob=Glob},53413:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.hasMagic=void 0;const p=d(62883);const hasMagic=(i,c={})=>{if(!Array.isArray(i)){i=[i]}for(const d of i){if(new p.Minimatch(d,c).hasMagic())return true}return false};c.hasMagic=hasMagic},74941:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Ignore=void 0;const p=d(62883);const A=d(2029);const C=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Ignore{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(i,{nobrace:c,nocase:d,noext:p,noglobstar:A,platform:S=C}){this.relative=[];this.absolute=[];this.relativeChildren=[];this.absoluteChildren=[];this.platform=S;this.mmopts={dot:true,nobrace:c,nocase:d,noext:p,noglobstar:A,optimizationLevel:2,platform:S,nocomment:true,nonegate:true};for(const c of i)this.add(c)}add(i){const c=new p.Minimatch(i,this.mmopts);for(let i=0;i<c.set.length;i++){const d=c.set[i];const C=c.globParts[i];if(!d||!C){throw new Error("invalid pattern object")}while(d[0]==="."&&C[0]==="."){d.shift();C.shift()}const S=new A.Pattern(d,C,0,this.platform);const v=new p.Minimatch(S.globString(),this.mmopts);const _=C[C.length-1]==="**";const T=S.isAbsolute();if(T)this.absolute.push(v);else this.relative.push(v);if(_){if(T)this.absoluteChildren.push(v);else this.relativeChildren.push(v)}}}ignored(i){const c=i.fullpath();const d=`${c}/`;const p=i.relative()||".";const A=`${p}/`;for(const i of this.relative){if(i.match(p)||i.match(A))return true}for(const i of this.absolute){if(i.match(c)||i.match(d))return true}return false}childrenIgnored(i){const c=i.fullpath()+"/";const d=(i.relative()||".")+"/";for(const i of this.relativeChildren){if(i.match(d))return true}for(const i of this.absoluteChildren){if(i.match(c))return true}return false}}c.Ignore=Ignore},46171:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.glob=c.sync=c.iterate=c.iterateSync=c.stream=c.streamSync=c.globIterate=c.globIterateSync=c.globSync=c.globStream=c.globStreamSync=c.Ignore=c.hasMagic=c.Glob=c.unescape=c.escape=void 0;const p=d(62883);const A=d(68669);const C=d(53413);var S=d(62883);Object.defineProperty(c,"escape",{enumerable:true,get:function(){return S.escape}});Object.defineProperty(c,"unescape",{enumerable:true,get:function(){return S.unescape}});var v=d(68669);Object.defineProperty(c,"Glob",{enumerable:true,get:function(){return v.Glob}});var _=d(53413);Object.defineProperty(c,"hasMagic",{enumerable:true,get:function(){return _.hasMagic}});var T=d(74941);Object.defineProperty(c,"Ignore",{enumerable:true,get:function(){return T.Ignore}});function globStreamSync(i,c={}){return new A.Glob(i,c).streamSync()}c.globStreamSync=globStreamSync;function globStream(i,c={}){return new A.Glob(i,c).stream()}c.globStream=globStream;function globSync(i,c={}){return new A.Glob(i,c).walkSync()}c.globSync=globSync;async function glob_(i,c={}){return new A.Glob(i,c).walk()}function globIterateSync(i,c={}){return new A.Glob(i,c).iterateSync()}c.globIterateSync=globIterateSync;function globIterate(i,c={}){return new A.Glob(i,c).iterate()}c.globIterate=globIterate;c.streamSync=globStreamSync;c.stream=Object.assign(globStream,{sync:globStreamSync});c.iterateSync=globIterateSync;c.iterate=Object.assign(globIterate,{sync:globIterateSync});c.sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync});c.glob=Object.assign(glob_,{glob:glob_,globSync:globSync,sync:c.sync,globStream:globStream,stream:c.stream,globStreamSync:globStreamSync,streamSync:c.streamSync,globIterate:globIterate,iterate:c.iterate,globIterateSync:globIterateSync,iterateSync:c.iterateSync,Glob:A.Glob,hasMagic:C.hasMagic,escape:p.escape,unescape:p.unescape});c.glob.glob=c.glob},2029:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Pattern=void 0;const p=d(62883);const isPatternList=i=>i.length>=1;const isGlobList=i=>i.length>=1;class Pattern{#g;#m;#y;length;#E;#b;#C;#w;#I;#S;#v=true;constructor(i,c,d,p){if(!isPatternList(i)){throw new TypeError("empty pattern list")}if(!isGlobList(c)){throw new TypeError("empty glob list")}if(c.length!==i.length){throw new TypeError("mismatched pattern list and glob list lengths")}this.length=i.length;if(d<0||d>=this.length){throw new TypeError("index out of range")}this.#g=i;this.#m=c;this.#y=d;this.#E=p;if(this.#y===0){if(this.isUNC()){const[i,c,d,p,...A]=this.#g;const[C,S,v,_,...T]=this.#m;if(A[0]===""){A.shift();T.shift()}const V=[i,c,d,p,""].join("/");const Z=[C,S,v,_,""].join("/");this.#g=[V,...A];this.#m=[Z,...T];this.length=this.#g.length}else if(this.isDrive()||this.isAbsolute()){const[i,...c]=this.#g;const[d,...p]=this.#m;if(c[0]===""){c.shift();p.shift()}const A=i+"/";const C=d+"/";this.#g=[A,...c];this.#m=[C,...p];this.length=this.#g.length}}}pattern(){return this.#g[this.#y]}isString(){return typeof this.#g[this.#y]==="string"}isGlobstar(){return this.#g[this.#y]===p.GLOBSTAR}isRegExp(){return this.#g[this.#y]instanceof RegExp}globString(){return this.#C=this.#C||(this.#y===0?this.isAbsolute()?this.#m[0]+this.#m.slice(1).join("/"):this.#m.join("/"):this.#m.slice(this.#y).join("/"))}hasMore(){return this.length>this.#y+1}rest(){if(this.#b!==undefined)return this.#b;if(!this.hasMore())return this.#b=null;this.#b=new Pattern(this.#g,this.#m,this.#y+1,this.#E);this.#b.#S=this.#S;this.#b.#I=this.#I;this.#b.#w=this.#w;return this.#b}isUNC(){const i=this.#g;return this.#I!==undefined?this.#I:this.#I=this.#E==="win32"&&this.#y===0&&i[0]===""&&i[1]===""&&typeof i[2]==="string"&&!!i[2]&&typeof i[3]==="string"&&!!i[3]}isDrive(){const i=this.#g;return this.#w!==undefined?this.#w:this.#w=this.#E==="win32"&&this.#y===0&&this.length>1&&typeof i[0]==="string"&&/^[a-z]:$/i.test(i[0])}isAbsolute(){const i=this.#g;return this.#S!==undefined?this.#S:this.#S=i[0]===""&&i.length>1||this.isDrive()||this.isUNC()}root(){const i=this.#g[0];return typeof i==="string"&&this.isAbsolute()&&this.#y===0?i:""}checkFollowGlobstar(){return!(this.#y===0||!this.isGlobstar()||!this.#v)}markFollowGlobstar(){if(this.#y===0||!this.isGlobstar()||!this.#v)return false;this.#v=false;return true}}c.Pattern=Pattern},74827:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.Processor=c.SubWalks=c.MatchRecord=c.HasWalkedCache=void 0;const p=d(62883);class HasWalkedCache{store;constructor(i=new Map){this.store=i}copy(){return new HasWalkedCache(new Map(this.store))}hasWalked(i,c){return this.store.get(i.fullpath())?.has(c.globString())}storeWalked(i,c){const d=i.fullpath();const p=this.store.get(d);if(p)p.add(c.globString());else this.store.set(d,new Set([c.globString()]))}}c.HasWalkedCache=HasWalkedCache;class MatchRecord{store=new Map;add(i,c,d){const p=(c?2:0)|(d?1:0);const A=this.store.get(i);this.store.set(i,A===undefined?p:p&A)}entries(){return[...this.store.entries()].map((([i,c])=>[i,!!(c&2),!!(c&1)]))}}c.MatchRecord=MatchRecord;class SubWalks{store=new Map;add(i,c){if(!i.canReaddir()){return}const d=this.store.get(i);if(d){if(!d.find((i=>i.globString()===c.globString()))){d.push(c)}}else this.store.set(i,[c])}get(i){const c=this.store.get(i);if(!c){throw new Error("attempting to walk unknown path")}return c}entries(){return this.keys().map((i=>[i,this.store.get(i)]))}keys(){return[...this.store.keys()].filter((i=>i.canReaddir()))}}c.SubWalks=SubWalks;class Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(i,c){this.opts=i;this.follow=!!i.follow;this.dot=!!i.dot;this.hasWalkedCache=c?c.copy():new HasWalkedCache}processPatterns(i,c){this.patterns=c;const d=c.map((c=>[i,c]));for(let[i,c]of d){this.hasWalkedCache.storeWalked(i,c);const d=c.root();const A=c.isAbsolute()&&this.opts.absolute!==false;if(d){i=i.resolve(d==="/"&&this.opts.root!==undefined?this.opts.root:d);const p=c.rest();if(!p){this.matches.add(i,true,false);continue}else{c=p}}if(i.isENOENT())continue;let C;let S;let v=false;while(typeof(C=c.pattern())==="string"&&(S=c.rest())){const d=i.resolve(C);i=d;c=S;v=true}C=c.pattern();S=c.rest();if(v){if(this.hasWalkedCache.hasWalked(i,c))continue;this.hasWalkedCache.storeWalked(i,c)}if(typeof C==="string"){const c=C===".."||C===""||C===".";this.matches.add(i.resolve(C),A,c);continue}else if(C===p.GLOBSTAR){if(!i.isSymbolicLink()||this.follow||c.checkFollowGlobstar()){this.subwalks.add(i,c)}const d=S?.pattern();const p=S?.rest();if(!S||(d===""||d===".")&&!p){this.matches.add(i,A,d===""||d===".")}else{if(d===".."){const c=i.parent||i;if(!p)this.matches.add(c,A,true);else if(!this.hasWalkedCache.hasWalked(c,p)){this.subwalks.add(c,p)}}}}else if(C instanceof RegExp){this.subwalks.add(i,c)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Processor(this.opts,this.hasWalkedCache)}filterEntries(i,c){const d=this.subwalks.get(i);const A=this.child();for(const i of c){for(const c of d){const d=c.isAbsolute();const C=c.pattern();const S=c.rest();if(C===p.GLOBSTAR){A.testGlobstar(i,c,S,d)}else if(C instanceof RegExp){A.testRegExp(i,C,S,d)}else{A.testString(i,C,S,d)}}}return A}testGlobstar(i,c,d,p){if(this.dot||!i.name.startsWith(".")){if(!c.hasMore()){this.matches.add(i,p,false)}if(i.canReaddir()){if(this.follow||!i.isSymbolicLink()){this.subwalks.add(i,c)}else if(i.isSymbolicLink()){if(d&&c.checkFollowGlobstar()){this.subwalks.add(i,d)}else if(c.markFollowGlobstar()){this.subwalks.add(i,c)}}}}if(d){const c=d.pattern();if(typeof c==="string"&&c!==".."&&c!==""&&c!=="."){this.testString(i,c,d.rest(),p)}else if(c===".."){const c=i.parent||i;this.subwalks.add(c,d)}else if(c instanceof RegExp){this.testRegExp(i,c,d.rest(),p)}}}testRegExp(i,c,d,p){if(!c.test(i.name))return;if(!d){this.matches.add(i,p,false)}else{this.subwalks.add(i,d)}}testString(i,c,d,p){if(!i.isNamed(c))return;if(!d){this.matches.add(i,p,false)}else{this.subwalks.add(i,d)}}}c.Processor=Processor},83581:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.GlobStream=c.GlobWalker=c.GlobUtil=void 0;const p=d(21803);const A=d(74941);const C=d(74827);const makeIgnore=(i,c)=>typeof i==="string"?new A.Ignore([i],c):Array.isArray(i)?new A.Ignore(i,c):i;class GlobUtil{path;patterns;opts;seen=new Set;paused=false;aborted=false;#B=[];#R;#_;signal;maxDepth;includeChildMatches;constructor(i,c,d){this.patterns=i;this.path=c;this.opts=d;this.#_=!d.posix&&d.platform==="win32"?"\\":"/";this.includeChildMatches=d.includeChildMatches!==false;if(d.ignore||!this.includeChildMatches){this.#R=makeIgnore(d.ignore??[],d);if(!this.includeChildMatches&&typeof this.#R.add!=="function"){const i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}}this.maxDepth=d.maxDepth||Infinity;if(d.signal){this.signal=d.signal;this.signal.addEventListener("abort",(()=>{this.#B.length=0}))}}#N(i){return this.seen.has(i)||!!this.#R?.ignored?.(i)}#Q(i){return!!this.#R?.childrenIgnored?.(i)}pause(){this.paused=true}resume(){if(this.signal?.aborted)return;this.paused=false;let i=undefined;while(!this.paused&&(i=this.#B.shift())){i()}}onResume(i){if(this.signal?.aborted)return;if(!this.paused){i()}else{this.#B.push(i)}}async matchCheck(i,c){if(c&&this.opts.nodir)return undefined;let d;if(this.opts.realpath){d=i.realpathCached()||await i.realpath();if(!d)return undefined;i=d}const p=i.isUnknown()||this.opts.stat;const A=p?await i.lstat():i;if(this.opts.follow&&this.opts.nodir&&A?.isSymbolicLink()){const i=await A.realpath();if(i&&(i.isUnknown()||this.opts.stat)){await i.lstat()}}return this.matchCheckTest(A,c)}matchCheckTest(i,c){return i&&(this.maxDepth===Infinity||i.depth()<=this.maxDepth)&&(!c||i.canReaddir())&&(!this.opts.nodir||!i.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!i.isSymbolicLink()||!i.realpathCached()?.isDirectory())&&!this.#N(i)?i:undefined}matchCheckSync(i,c){if(c&&this.opts.nodir)return undefined;let d;if(this.opts.realpath){d=i.realpathCached()||i.realpathSync();if(!d)return undefined;i=d}const p=i.isUnknown()||this.opts.stat;const A=p?i.lstatSync():i;if(this.opts.follow&&this.opts.nodir&&A?.isSymbolicLink()){const i=A.realpathSync();if(i&&(i?.isUnknown()||this.opts.stat)){i.lstatSync()}}return this.matchCheckTest(A,c)}matchFinish(i,c){if(this.#N(i))return;if(!this.includeChildMatches&&this.#R?.add){const c=`${i.relativePosix()}/**`;this.#R.add(c)}const d=this.opts.absolute===undefined?c:this.opts.absolute;this.seen.add(i);const p=this.opts.mark&&i.isDirectory()?this.#_:"";if(this.opts.withFileTypes){this.matchEmit(i)}else if(d){const c=this.opts.posix?i.fullpathPosix():i.fullpath();this.matchEmit(c+p)}else{const c=this.opts.posix?i.relativePosix():i.relative();const d=this.opts.dotRelative&&!c.startsWith(".."+this.#_)?"."+this.#_:"";this.matchEmit(!c?"."+p:d+c+p)}}async match(i,c,d){const p=await this.matchCheck(i,d);if(p)this.matchFinish(p,c)}matchSync(i,c,d){const p=this.matchCheckSync(i,d);if(p)this.matchFinish(p,c)}walkCB(i,c,d){if(this.signal?.aborted)d();this.walkCB2(i,c,new C.Processor(this.opts),d)}walkCB2(i,c,d,p){if(this.#Q(i))return p();if(this.signal?.aborted)p();if(this.paused){this.onResume((()=>this.walkCB2(i,c,d,p)));return}d.processPatterns(i,c);let A=1;const next=()=>{if(--A===0)p()};for(const[i,c,p]of d.matches.entries()){if(this.#N(i))continue;A++;this.match(i,c,p).then((()=>next()))}for(const i of d.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}A++;const c=i.readdirCached();if(i.calledReaddir())this.walkCB3(i,c,d,next);else{i.readdirCB(((c,p)=>this.walkCB3(i,p,d,next)),true)}}next()}walkCB3(i,c,d,p){d=d.filterEntries(i,c);let A=1;const next=()=>{if(--A===0)p()};for(const[i,c,p]of d.matches.entries()){if(this.#N(i))continue;A++;this.match(i,c,p).then((()=>next()))}for(const[i,c]of d.subwalks.entries()){A++;this.walkCB2(i,c,d.child(),next)}next()}walkCBSync(i,c,d){if(this.signal?.aborted)d();this.walkCB2Sync(i,c,new C.Processor(this.opts),d)}walkCB2Sync(i,c,d,p){if(this.#Q(i))return p();if(this.signal?.aborted)p();if(this.paused){this.onResume((()=>this.walkCB2Sync(i,c,d,p)));return}d.processPatterns(i,c);let A=1;const next=()=>{if(--A===0)p()};for(const[i,c,p]of d.matches.entries()){if(this.#N(i))continue;this.matchSync(i,c,p)}for(const i of d.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}A++;const c=i.readdirSync();this.walkCB3Sync(i,c,d,next)}next()}walkCB3Sync(i,c,d,p){d=d.filterEntries(i,c);let A=1;const next=()=>{if(--A===0)p()};for(const[i,c,p]of d.matches.entries()){if(this.#N(i))continue;this.matchSync(i,c,p)}for(const[i,c]of d.subwalks.entries()){A++;this.walkCB2Sync(i,c,d.child(),next)}next()}}c.GlobUtil=GlobUtil;class GlobWalker extends GlobUtil{matches=new Set;constructor(i,c,d){super(i,c,d)}matchEmit(i){this.matches.add(i)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){await this.path.lstat()}await new Promise(((i,c)=>{this.walkCB(this.path,this.patterns,(()=>{if(this.signal?.aborted){c(this.signal.reason)}else{i(this.matches)}}))}));return this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason}));return this.matches}}c.GlobWalker=GlobWalker;class GlobStream extends GlobUtil{results;constructor(i,c,d){super(i,c,d);this.results=new p.Minipass({signal:this.signal,objectMode:true});this.results.on("drain",(()=>this.resume()));this.results.on("resume",(()=>this.resume()))}matchEmit(i){this.results.write(i);if(!this.results.flowing)this.pause()}stream(){const i=this.path;if(i.isUnknown()){i.lstat().then((()=>{this.walkCB(i,this.patterns,(()=>this.results.end()))}))}else{this.walkCB(i,this.patterns,(()=>this.results.end()))}return this.results}streamSync(){if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>this.results.end()));return this.results}}c.GlobStream=GlobStream},86177:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.assertValidPattern=void 0;const d=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>d){throw new TypeError("pattern is too long")}};c.assertValidPattern=assertValidPattern},2275:(i,c,d)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.AST=void 0;const p=d(90570);const A=d(28075);const C=new Set(["!","?","+","*","@"]);const isExtglobType=i=>C.has(i);const S="(?!(?:^|/)\\.\\.?(?:$|/))";const v="(?!\\.)";const _=new Set(["[","."]);const T=new Set(["..","."]);const V=new Set("().*{}+?[]^$\\!");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const Z="[^/]";const ee=Z+"*?";const te=Z+"+?";class AST{type;#T;#k;#x=false;#P=[];#O;#D;#L;#M=false;#F;#U;#H=false;constructor(i,c,d={}){this.type=i;if(i)this.#k=true;this.#O=c;this.#T=this.#O?this.#O.#T:this;this.#F=this.#T===this?d:this.#T.#F;this.#L=this.#T===this?[]:this.#T.#L;if(i==="!"&&!this.#T.#M)this.#L.push(this);this.#D=this.#O?this.#O.#P.length:0}get hasMagic(){if(this.#k!==undefined)return this.#k;for(const i of this.#P){if(typeof i==="string")continue;if(i.type||i.hasMagic)return this.#k=true}return this.#k}toString(){if(this.#U!==undefined)return this.#U;if(!this.type){return this.#U=this.#P.map((i=>String(i))).join("")}else{return this.#U=this.type+"("+this.#P.map((i=>String(i))).join("|")+")"}}#j(){if(this!==this.#T)throw new Error("should only call on root");if(this.#M)return this;this.toString();this.#M=true;let i;while(i=this.#L.pop()){if(i.type!=="!")continue;let c=i;let d=c.#O;while(d){for(let p=c.#D+1;!d.type&&p<d.#P.length;p++){for(const c of i.#P){if(typeof c==="string"){throw new Error("string part in extglob AST??")}c.copyIn(d.#P[p])}}c=d;d=c.#O}}return this}push(...i){for(const c of i){if(c==="")continue;if(typeof c!=="string"&&!(c instanceof AST&&c.#O===this)){throw new Error("invalid part: "+c)}this.#P.push(c)}}toJSON(){const i=this.type===null?this.#P.slice().map((i=>typeof i==="string"?i:i.toJSON())):[this.type,...this.#P.map((i=>i.toJSON()))];if(this.isStart()&&!this.type)i.unshift([]);if(this.isEnd()&&(this===this.#T||this.#T.#M&&this.#O?.type==="!")){i.push({})}return i}isStart(){if(this.#T===this)return true;if(!this.#O?.isStart())return false;if(this.#D===0)return true;const i=this.#O;for(let c=0;c<this.#D;c++){const d=i.#P[c];if(!(d instanceof AST&&d.type==="!")){return false}}return true}isEnd(){if(this.#T===this)return true;if(this.#O?.type==="!")return true;if(!this.#O?.isEnd())return false;if(!this.type)return this.#O?.isEnd();const i=this.#O?this.#O.#P.length:0;return this.#D===i-1}copyIn(i){if(typeof i==="string")this.push(i);else this.push(i.clone(this))}clone(i){const c=new AST(this.type,i);for(const i of this.#P){c.copyIn(i)}return c}static#q(i,c,d,p){let A=false;let C=false;let S=-1;let v=false;if(c.type===null){let _=d;let T="";while(_<i.length){const d=i.charAt(_++);if(A||d==="\\"){A=!A;T+=d;continue}if(C){if(_===S+1){if(d==="^"||d==="!"){v=true}}else if(d==="]"&&!(_===S+2&&v)){C=false}T+=d;continue}else if(d==="["){C=true;S=_;v=false;T+=d;continue}if(!p.noext&&isExtglobType(d)&&i.charAt(_)==="("){c.push(T);T="";const A=new AST(d,c);_=AST.#q(i,A,_,p);c.push(A);continue}T+=d}c.push(T);return _}let _=d+1;let T=new AST(null,c);const V=[];let Z="";while(_<i.length){const d=i.charAt(_++);if(A||d==="\\"){A=!A;Z+=d;continue}if(C){if(_===S+1){if(d==="^"||d==="!"){v=true}}else if(d==="]"&&!(_===S+2&&v)){C=false}Z+=d;continue}else if(d==="["){C=true;S=_;v=false;Z+=d;continue}if(isExtglobType(d)&&i.charAt(_)==="("){T.push(Z);Z="";const c=new AST(d,T);T.push(c);_=AST.#q(i,c,_,p);continue}if(d==="|"){T.push(Z);Z="";V.push(T);T=new AST(null,c);continue}if(d===")"){if(Z===""&&c.#P.length===0){c.#H=true}T.push(Z);Z="";c.push(...V,T);return _}Z+=d}c.type=null;c.#k=undefined;c.#P=[i.substring(d-1)];return _}static fromGlob(i,c={}){const d=new AST(null,undefined,c);AST.#q(i,d,0,c);return d}toMMPattern(){if(this!==this.#T)return this.#T.toMMPattern();const i=this.toString();const[c,d,p,A]=this.toRegExpSource();const C=p||this.#k||this.#F.nocase&&!this.#F.nocaseMagicOnly&&i.toUpperCase()!==i.toLowerCase();if(!C){return d}const S=(this.#F.nocase?"i":"")+(A?"u":"");return Object.assign(new RegExp(`^${c}$`,S),{_src:c,_glob:i})}get options(){return this.#F}toRegExpSource(i){const c=i??!!this.#F.dot;if(this.#T===this)this.#j();if(!this.type){const d=this.isStart()&&this.isEnd();const p=this.#P.map((c=>{const[p,A,C,S]=typeof c==="string"?AST.#G(c,this.#k,d):c.toRegExpSource(i);this.#k=this.#k||C;this.#x=this.#x||S;return p})).join("");let C="";if(this.isStart()){if(typeof this.#P[0]==="string"){const d=this.#P.length===1&&T.has(this.#P[0]);if(!d){const d=_;const A=c&&d.has(p.charAt(0))||p.startsWith("\\.")&&d.has(p.charAt(2))||p.startsWith("\\.\\.")&&d.has(p.charAt(4));const T=!c&&!i&&d.has(p.charAt(0));C=A?S:T?v:""}}}let V="";if(this.isEnd()&&this.#T.#M&&this.#O?.type==="!"){V="(?:$|\\/)"}const Z=C+p+V;return[Z,(0,A.unescape)(p),this.#k=!!this.#k,this.#x]}const d=this.type==="*"||this.type==="+";const p=this.type==="!"?"(?:(?!(?:":"(?:";let C=this.#z(c);if(this.isStart()&&this.isEnd()&&!C&&this.type!=="!"){const i=this.toString();this.#P=[i];this.type=null;this.#k=undefined;return[i,(0,A.unescape)(this.toString()),false,false]}let V=!d||i||c||!v?"":this.#z(true);if(V===C){V=""}if(V){C=`(?:${C})(?:${V})*?`}let Z="";if(this.type==="!"&&this.#H){Z=(this.isStart()&&!c?v:"")+te}else{const d=this.type==="!"?"))"+(this.isStart()&&!c&&!i?v:"")+ee+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&V?")":this.type==="*"&&V?`)?`:`)${this.type}`;Z=p+C+d}return[Z,(0,A.unescape)(C),this.#k=!!this.#k,this.#x]}#z(i){return this.#P.map((c=>{if(typeof c==="string"){throw new Error("string type in extglob ast??")}const[d,p,A,C]=c.toRegExpSource(i);this.#x=this.#x||C;return d})).filter((i=>!(this.isStart()&&this.isEnd())||!!i)).join("|")}static#G(i,c,d=false){let C=false;let S="";let v=false;for(let A=0;A<i.length;A++){const _=i.charAt(A);if(C){C=false;S+=(V.has(_)?"\\":"")+_;continue}if(_==="\\"){if(A===i.length-1){S+="\\\\"}else{C=true}continue}if(_==="["){const[d,C,_,T]=(0,p.parseClass)(i,A);if(_){S+=d;v=v||C;A+=_-1;c=c||T;continue}}if(_==="*"){if(d&&i==="*")S+=te;else S+=ee;c=true;continue}if(_==="?"){S+=Z;c=true;continue}S+=regExpEscape(_)}return[S,(0,A.unescape)(i),!!c,v]}}c.AST=AST},90570:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.parseClass=void 0;const d={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",true],"[:alpha:]":["\\p{L}\\p{Nl}",true],"[:ascii:]":["\\x"+"00-\\x"+"7f",false],"[:blank:]":["\\p{Zs}\\t",true],"[:cntrl:]":["\\p{Cc}",true],"[:digit:]":["\\p{Nd}",true],"[:graph:]":["\\p{Z}\\p{C}",true,true],"[:lower:]":["\\p{Ll}",true],"[:print:]":["\\p{C}",true],"[:punct:]":["\\p{P}",true],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",true],"[:upper:]":["\\p{Lu}",true],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",true],"[:xdigit:]":["A-Fa-f0-9",false]};const braceEscape=i=>i.replace(/[[\]\\-]/g,"\\$&");const regexpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const rangesToString=i=>i.join("");const parseClass=(i,c)=>{const p=c;if(i.charAt(p)!=="["){throw new Error("not in a brace expression")}const A=[];const C=[];let S=p+1;let v=false;let _=false;let T=false;let V=false;let Z=p;let ee="";e:while(S<i.length){const c=i.charAt(S);if((c==="!"||c==="^")&&S===p+1){V=true;S++;continue}if(c==="]"&&v&&!T){Z=S+1;break}v=true;if(c==="\\"){if(!T){T=true;S++;continue}}if(c==="["&&!T){for(const[c,[v,T,V]]of Object.entries(d)){if(i.startsWith(c,S)){if(ee){return["$.",false,i.length-p,true]}S+=c.length;if(V)C.push(v);else A.push(v);_=_||T;continue e}}}T=false;if(ee){if(c>ee){A.push(braceEscape(ee)+"-"+braceEscape(c))}else if(c===ee){A.push(braceEscape(c))}ee="";S++;continue}if(i.startsWith("-]",S+1)){A.push(braceEscape(c+"-"));S+=2;continue}if(i.startsWith("-",S+1)){ee=c;S+=2;continue}A.push(braceEscape(c));S++}if(Z<S){return["",false,0,false]}if(!A.length&&!C.length){return["$.",false,i.length-p,true]}if(C.length===0&&A.length===1&&/^\\?.$/.test(A[0])&&!V){const i=A[0].length===2?A[0].slice(-1):A[0];return[regexpEscape(i),false,Z-p,false]}const te="["+(V?"^":"")+rangesToString(A)+"]";const re="["+(V?"":"^")+rangesToString(C)+"]";const ne=A.length&&C.length?"("+te+"|"+re+")":A.length?te:re;return[ne,_,Z-p,true]};c.parseClass=parseClass},42600:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.escape=void 0;const escape=(i,{windowsPathsNoEscape:c=false}={})=>c?i.replace(/[?*()[\]]/g,"[$&]"):i.replace(/[?*()[\]\\]/g,"\\$&");c.escape=escape},62883:function(i,c,d){"use strict";var p=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.unescape=c.escape=c.AST=c.Minimatch=c.match=c.makeRe=c.braceExpand=c.defaults=c.filter=c.GLOBSTAR=c.sep=c.minimatch=void 0;const A=p(d(94691));const C=d(86177);const S=d(2275);const v=d(42600);const _=d(28075);const minimatch=(i,c,d={})=>{(0,C.assertValidPattern)(c);if(!d.nocomment&&c.charAt(0)==="#"){return false}return new Minimatch(c,d).match(i)};c.minimatch=minimatch;const T=/^\*+([^+@!?\*\[\(]*)$/;const starDotExtTest=i=>c=>!c.startsWith(".")&&c.endsWith(i);const starDotExtTestDot=i=>c=>c.endsWith(i);const starDotExtTestNocase=i=>{i=i.toLowerCase();return c=>!c.startsWith(".")&&c.toLowerCase().endsWith(i)};const starDotExtTestNocaseDot=i=>{i=i.toLowerCase();return c=>c.toLowerCase().endsWith(i)};const V=/^\*+\.\*+$/;const starDotStarTest=i=>!i.startsWith(".")&&i.includes(".");const starDotStarTestDot=i=>i!=="."&&i!==".."&&i.includes(".");const Z=/^\.\*+$/;const dotStarTest=i=>i!=="."&&i!==".."&&i.startsWith(".");const ee=/^\*+$/;const starTest=i=>i.length!==0&&!i.startsWith(".");const starTestDot=i=>i.length!==0&&i!=="."&&i!=="..";const te=/^\?+([^+@!?\*\[\(]*)?$/;const qmarksTestNocase=([i,c=""])=>{const d=qmarksTestNoExt([i]);if(!c)return d;c=c.toLowerCase();return i=>d(i)&&i.toLowerCase().endsWith(c)};const qmarksTestNocaseDot=([i,c=""])=>{const d=qmarksTestNoExtDot([i]);if(!c)return d;c=c.toLowerCase();return i=>d(i)&&i.toLowerCase().endsWith(c)};const qmarksTestDot=([i,c=""])=>{const d=qmarksTestNoExtDot([i]);return!c?d:i=>d(i)&&i.endsWith(c)};const qmarksTest=([i,c=""])=>{const d=qmarksTestNoExt([i]);return!c?d:i=>d(i)&&i.endsWith(c)};const qmarksTestNoExt=([i])=>{const c=i.length;return i=>i.length===c&&!i.startsWith(".")};const qmarksTestNoExtDot=([i])=>{const c=i.length;return i=>i.length===c&&i!=="."&&i!==".."};const re=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";const ne={win32:{sep:"\\"},posix:{sep:"/"}};c.sep=re==="win32"?ne.win32.sep:ne.posix.sep;c.minimatch.sep=c.sep;c.GLOBSTAR=Symbol("globstar **");c.minimatch.GLOBSTAR=c.GLOBSTAR;const ie="[^/]";const se=ie+"*?";const oe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const ae="(?:(?!(?:\\/|^)\\.).)*?";const filter=(i,d={})=>p=>(0,c.minimatch)(p,i,d);c.filter=filter;c.minimatch.filter=c.filter;const ext=(i,c={})=>Object.assign({},i,c);const defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return c.minimatch}const d=c.minimatch;const m=(c,p,A={})=>d(c,p,ext(i,A));return Object.assign(m,{Minimatch:class Minimatch extends d.Minimatch{constructor(c,d={}){super(c,ext(i,d))}static defaults(c){return d.defaults(ext(i,c)).Minimatch}},AST:class AST extends d.AST{constructor(c,d,p={}){super(c,d,ext(i,p))}static fromGlob(c,p={}){return d.AST.fromGlob(c,ext(i,p))}},unescape:(c,p={})=>d.unescape(c,ext(i,p)),escape:(c,p={})=>d.escape(c,ext(i,p)),filter:(c,p={})=>d.filter(c,ext(i,p)),defaults:c=>d.defaults(ext(i,c)),makeRe:(c,p={})=>d.makeRe(c,ext(i,p)),braceExpand:(c,p={})=>d.braceExpand(c,ext(i,p)),match:(c,p,A={})=>d.match(c,p,ext(i,A)),sep:d.sep,GLOBSTAR:c.GLOBSTAR})};c.defaults=defaults;c.minimatch.defaults=c.defaults;const braceExpand=(i,c={})=>{(0,C.assertValidPattern)(i);if(c.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return(0,A.default)(i)};c.braceExpand=braceExpand;c.minimatch.braceExpand=c.braceExpand;const makeRe=(i,c={})=>new Minimatch(i,c).makeRe();c.makeRe=makeRe;c.minimatch.makeRe=c.makeRe;const match=(i,c,d={})=>{const p=new Minimatch(c,d);i=i.filter((i=>p.match(i)));if(p.options.nonull&&!i.length){i.push(c)}return i};c.match=match;c.minimatch.match=c.match;const le=/[?*]|[+@!]\(.*?\)|\[|\]/;const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Minimatch{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(i,c={}){(0,C.assertValidPattern)(i);c=c||{};this.options=c;this.pattern=i;this.platform=c.platform||re;this.isWindows=this.platform==="win32";this.windowsPathsNoEscape=!!c.windowsPathsNoEscape||c.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.preserveMultipleSlashes=!!c.preserveMultipleSlashes;this.regexp=null;this.negate=false;this.nonegate=!!c.nonegate;this.comment=false;this.empty=false;this.partial=!!c.partial;this.nocase=!!this.options.nocase;this.windowsNoMagicRoot=c.windowsNoMagicRoot!==undefined?c.windowsNoMagicRoot:!!(this.isWindows&&this.nocase);this.globSet=[];this.globParts=[];this.set=[];this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1){return true}for(const i of this.set){for(const c of i){if(typeof c!=="string")return true}}return false}debug(...i){}make(){const i=this.pattern;const c=this.options;if(!c.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();this.globSet=[...new Set(this.braceExpand())];if(c.debug){this.debug=(...i)=>console.error(...i)}this.debug(this.pattern,this.globSet);const d=this.globSet.map((i=>this.slashSplit(i)));this.globParts=this.preprocess(d);this.debug(this.pattern,this.globParts);let p=this.globParts.map(((i,c,d)=>{if(this.isWindows&&this.windowsNoMagicRoot){const c=i[0]===""&&i[1]===""&&(i[2]==="?"||!le.test(i[2]))&&!le.test(i[3]);const d=/^[a-z]:/i.test(i[0]);if(c){return[...i.slice(0,4),...i.slice(4).map((i=>this.parse(i)))]}else if(d){return[i[0],...i.slice(1).map((i=>this.parse(i)))]}}return i.map((i=>this.parse(i)))}));this.debug(this.pattern,p);this.set=p.filter((i=>i.indexOf(false)===-1));if(this.isWindows){for(let i=0;i<this.set.length;i++){const c=this.set[i];if(c[0]===""&&c[1]===""&&this.globParts[i][2]==="?"&&typeof c[3]==="string"&&/^[a-z]:$/i.test(c[3])){c[2]="?"}}}this.debug(this.pattern,this.set)}preprocess(i){if(this.options.noglobstar){for(let c=0;c<i.length;c++){for(let d=0;d<i[c].length;d++){if(i[c][d]==="**"){i[c][d]="*"}}}}const{optimizationLevel:c=1}=this.options;if(c>=2){i=this.firstPhasePreProcess(i);i=this.secondPhasePreProcess(i)}else if(c>=1){i=this.levelOneOptimize(i)}else{i=this.adjascentGlobstarOptimize(i)}return i}adjascentGlobstarOptimize(i){return i.map((i=>{let c=-1;while(-1!==(c=i.indexOf("**",c+1))){let d=c;while(i[d+1]==="**"){d++}if(d!==c){i.splice(c,d-c)}}return i}))}levelOneOptimize(i){return i.map((i=>{i=i.reduce(((i,c)=>{const d=i[i.length-1];if(c==="**"&&d==="**"){return i}if(c===".."){if(d&&d!==".."&&d!=="."&&d!=="**"){i.pop();return i}}i.push(c);return i}),[]);return i.length===0?[""]:i}))}levelTwoFileOptimize(i){if(!Array.isArray(i)){i=this.slashSplit(i)}let c=false;do{c=false;if(!this.preserveMultipleSlashes){for(let d=1;d<i.length-1;d++){const p=i[d];if(d===1&&p===""&&i[0]==="")continue;if(p==="."||p===""){c=true;i.splice(d,1);d--}}if(i[0]==="."&&i.length===2&&(i[1]==="."||i[1]==="")){c=true;i.pop()}}let d=0;while(-1!==(d=i.indexOf("..",d+1))){const p=i[d-1];if(p&&p!=="."&&p!==".."&&p!=="**"){c=true;i.splice(d-1,2);d-=2}}}while(c);return i.length===0?[""]:i}firstPhasePreProcess(i){let c=false;do{c=false;for(let d of i){let p=-1;while(-1!==(p=d.indexOf("**",p+1))){let A=p;while(d[A+1]==="**"){A++}if(A>p){d.splice(p+1,A-p)}let C=d[p+1];const S=d[p+2];const v=d[p+3];if(C!=="..")continue;if(!S||S==="."||S===".."||!v||v==="."||v===".."){continue}c=true;d.splice(p,1);const _=d.slice(0);_[p]="**";i.push(_);p--}if(!this.preserveMultipleSlashes){for(let i=1;i<d.length-1;i++){const p=d[i];if(i===1&&p===""&&d[0]==="")continue;if(p==="."||p===""){c=true;d.splice(i,1);i--}}if(d[0]==="."&&d.length===2&&(d[1]==="."||d[1]==="")){c=true;d.pop()}}let A=0;while(-1!==(A=d.indexOf("..",A+1))){const i=d[A-1];if(i&&i!=="."&&i!==".."&&i!=="**"){c=true;const i=A===1&&d[A+1]==="**";const p=i?["."]:[];d.splice(A-1,2,...p);if(d.length===0)d.push("");A-=2}}}}while(c);return i}secondPhasePreProcess(i){for(let c=0;c<i.length-1;c++){for(let d=c+1;d<i.length;d++){const p=this.partsMatch(i[c],i[d],!this.preserveMultipleSlashes);if(!p)continue;i[c]=p;i[d]=[]}}return i.filter((i=>i.length))}partsMatch(i,c,d=false){let p=0;let A=0;let C=[];let S="";while(p<i.length&&A<c.length){if(i[p]===c[A]){C.push(S==="b"?c[A]:i[p]);p++;A++}else if(d&&i[p]==="**"&&c[A]===i[p+1]){C.push(i[p]);p++}else if(d&&c[A]==="**"&&i[p]===c[A+1]){C.push(c[A]);A++}else if(i[p]==="*"&&c[A]&&(this.options.dot||!c[A].startsWith("."))&&c[A]!=="**"){if(S==="b")return false;S="a";C.push(i[p]);p++;A++}else if(c[A]==="*"&&i[p]&&(this.options.dot||!i[p].startsWith("."))&&i[p]!=="**"){if(S==="a")return false;S="b";C.push(c[A]);p++;A++}else{return false}}return i.length===c.length&&C}parseNegate(){if(this.nonegate)return;const i=this.pattern;let c=false;let d=0;for(let p=0;p<i.length&&i.charAt(p)==="!";p++){c=!c;d++}if(d)this.pattern=i.slice(d);this.negate=c}matchOne(i,d,p=false){const A=this.options;if(this.isWindows){const c=typeof i[0]==="string"&&/^[a-z]:$/i.test(i[0]);const p=!c&&i[0]===""&&i[1]===""&&i[2]==="?"&&/^[a-z]:$/i.test(i[3]);const A=typeof d[0]==="string"&&/^[a-z]:$/i.test(d[0]);const C=!A&&d[0]===""&&d[1]===""&&d[2]==="?"&&typeof d[3]==="string"&&/^[a-z]:$/i.test(d[3]);const S=p?3:c?0:undefined;const v=C?3:A?0:undefined;if(typeof S==="number"&&typeof v==="number"){const[c,p]=[i[S],d[v]];if(c.toLowerCase()===p.toLowerCase()){d[v]=c;if(v>S){d=d.slice(v)}else if(S>v){i=i.slice(S)}}}}const{optimizationLevel:C=1}=this.options;if(C>=2){i=this.levelTwoFileOptimize(i)}this.debug("matchOne",this,{file:i,pattern:d});this.debug("matchOne",i.length,d.length);for(var S=0,v=0,_=i.length,T=d.length;S<_&&v<T;S++,v++){this.debug("matchOne loop");var V=d[v];var Z=i[S];this.debug(d,V,Z);if(V===false){return false}if(V===c.GLOBSTAR){this.debug("GLOBSTAR",[d,V,Z]);var ee=S;var te=v+1;if(te===T){this.debug("** at the end");for(;S<_;S++){if(i[S]==="."||i[S]===".."||!A.dot&&i[S].charAt(0)===".")return false}return true}while(ee<_){var re=i[ee];this.debug("\nglobstar while",i,ee,d,te,re);if(this.matchOne(i.slice(ee),d.slice(te),p)){this.debug("globstar found match!",ee,_,re);return true}else{if(re==="."||re===".."||!A.dot&&re.charAt(0)==="."){this.debug("dot detected!",i,ee,d,te);break}this.debug("globstar swallow a segment, and continue");ee++}}if(p){this.debug("\n>>> no match, partial?",i,ee,d,te);if(ee===_){return true}}return false}let C;if(typeof V==="string"){C=Z===V;this.debug("string match",V,Z,C)}else{C=V.test(Z);this.debug("pattern match",V,Z,C)}if(!C)return false}if(S===_&&v===T){return true}else if(S===_){return p}else if(v===T){return S===_-1&&i[S]===""}else{throw new Error("wtf?")}}braceExpand(){return(0,c.braceExpand)(this.pattern,this.options)}parse(i){(0,C.assertValidPattern)(i);const d=this.options;if(i==="**")return c.GLOBSTAR;if(i==="")return"";let p;let A=null;if(p=i.match(ee)){A=d.dot?starTestDot:starTest}else if(p=i.match(T)){A=(d.nocase?d.dot?starDotExtTestNocaseDot:starDotExtTestNocase:d.dot?starDotExtTestDot:starDotExtTest)(p[1])}else if(p=i.match(te)){A=(d.nocase?d.dot?qmarksTestNocaseDot:qmarksTestNocase:d.dot?qmarksTestDot:qmarksTest)(p)}else if(p=i.match(V)){A=d.dot?starDotStarTestDot:starDotStarTest}else if(p=i.match(Z)){A=dotStarTest}const v=S.AST.fromGlob(i,this.options).toMMPattern();if(A&&typeof v==="object"){Reflect.defineProperty(v,"test",{value:A})}return v}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const i=this.set;if(!i.length){this.regexp=false;return this.regexp}const d=this.options;const p=d.noglobstar?se:d.dot?oe:ae;const A=new Set(d.nocase?["i"]:[]);let C=i.map((i=>{const d=i.map((i=>{if(i instanceof RegExp){for(const c of i.flags.split(""))A.add(c)}return typeof i==="string"?regExpEscape(i):i===c.GLOBSTAR?c.GLOBSTAR:i._src}));d.forEach(((i,A)=>{const C=d[A+1];const S=d[A-1];if(i!==c.GLOBSTAR||S===c.GLOBSTAR){return}if(S===undefined){if(C!==undefined&&C!==c.GLOBSTAR){d[A+1]="(?:\\/|"+p+"\\/)?"+C}else{d[A]=p}}else if(C===undefined){d[A-1]=S+"(?:\\/|"+p+")?"}else if(C!==c.GLOBSTAR){d[A-1]=S+"(?:\\/|\\/"+p+"\\/)"+C;d[A+1]=c.GLOBSTAR}}));return d.filter((i=>i!==c.GLOBSTAR)).join("/")})).join("|");const[S,v]=i.length>1?["(?:",")"]:["",""];C="^"+S+C+v+"$";if(this.negate)C="^(?!"+C+").+$";try{this.regexp=new RegExp(C,[...A].join(""))}catch(i){this.regexp=false}return this.regexp}slashSplit(i){if(this.preserveMultipleSlashes){return i.split("/")}else if(this.isWindows&&/^\/\/[^\/]+/.test(i)){return["",...i.split(/\/+/)]}else{return i.split(/\/+/)}}match(i,c=this.partial){this.debug("match",i,this.pattern);if(this.comment){return false}if(this.empty){return i===""}if(i==="/"&&c){return true}const d=this.options;if(this.isWindows){i=i.split("\\").join("/")}const p=this.slashSplit(i);this.debug(this.pattern,"split",p);const A=this.set;this.debug(this.pattern,"set",A);let C=p[p.length-1];if(!C){for(let i=p.length-2;!C&&i>=0;i--){C=p[i]}}for(let i=0;i<A.length;i++){const S=A[i];let v=p;if(d.matchBase&&S.length===1){v=[C]}const _=this.matchOne(v,S,c);if(_){if(d.flipNegate){return true}return!this.negate}}if(d.flipNegate){return false}return this.negate}static defaults(i){return c.minimatch.defaults(i).Minimatch}}c.Minimatch=Minimatch;var ce=d(2275);Object.defineProperty(c,"AST",{enumerable:true,get:function(){return ce.AST}});var ue=d(42600);Object.defineProperty(c,"escape",{enumerable:true,get:function(){return ue.escape}});var de=d(28075);Object.defineProperty(c,"unescape",{enumerable:true,get:function(){return de.unescape}});c.minimatch.AST=S.AST;c.minimatch.Minimatch=Minimatch;c.minimatch.escape=v.escape;c.minimatch.unescape=_.unescape},28075:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.unescape=void 0;const unescape=(i,{windowsPathsNoEscape:c=false}={})=>c?i.replace(/\[([^\/\\])\]/g,"$1"):i.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");c.unescape=unescape},21803:function(i,c,d){"use strict";var p=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Minipass=c.isWritable=c.isReadable=c.isStream=void 0;const A=typeof process==="object"&&process?process:{stdout:null,stderr:null};const C=d(78474);const S=p(d(57075));const v=d(68574);const isStream=i=>!!i&&typeof i==="object"&&(i instanceof Minipass||i instanceof S.default||(0,c.isReadable)(i)||(0,c.isWritable)(i));c.isStream=isStream;const isReadable=i=>!!i&&typeof i==="object"&&i instanceof C.EventEmitter&&typeof i.pipe==="function"&&i.pipe!==S.default.Writable.prototype.pipe;c.isReadable=isReadable;const isWritable=i=>!!i&&typeof i==="object"&&i instanceof C.EventEmitter&&typeof i.write==="function"&&typeof i.end==="function";c.isWritable=isWritable;const _=Symbol("EOF");const T=Symbol("maybeEmitEnd");const V=Symbol("emittedEnd");const Z=Symbol("emittingEnd");const ee=Symbol("emittedError");const te=Symbol("closed");const re=Symbol("read");const ne=Symbol("flush");const ie=Symbol("flushChunk");const se=Symbol("encoding");const oe=Symbol("decoder");const ae=Symbol("flowing");const le=Symbol("paused");const ce=Symbol("resume");const ue=Symbol("buffer");const de=Symbol("pipes");const fe=Symbol("bufferLength");const pe=Symbol("bufferPush");const Ae=Symbol("bufferShift");const he=Symbol("objectMode");const ge=Symbol("destroyed");const me=Symbol("error");const ye=Symbol("emitData");const Ee=Symbol("emitEnd");const be=Symbol("emitEnd2");const Ce=Symbol("async");const we=Symbol("abort");const Ie=Symbol("aborted");const Se=Symbol("signal");const ve=Symbol("dataListeners");const Be=Symbol("discarded");const defer=i=>Promise.resolve().then(i);const nodefer=i=>i();const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBufferLike=i=>i instanceof ArrayBuffer||!!i&&typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{src;dest;opts;ondrain;constructor(i,c,d){this.src=i;this.dest=c;this.opts=d;this.ondrain=()=>i[ce]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(i){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,c,d){super(i,c,d);this.proxyErrors=i=>c.emit("error",i);i.on("error",this.proxyErrors)}}const isObjectModeOptions=i=>!!i.objectMode;const isEncodingOptions=i=>!i.objectMode&&!!i.encoding&&i.encoding!=="buffer";class Minipass extends C.EventEmitter{[ae]=false;[le]=false;[de]=[];[ue]=[];[he];[se];[Ce];[oe];[_]=false;[V]=false;[Z]=false;[te]=false;[ee]=null;[fe]=0;[ge]=false;[Se];[Ie]=false;[ve]=0;[Be]=false;writable=true;readable=true;constructor(...i){const c=i[0]||{};super();if(c.objectMode&&typeof c.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(c)){this[he]=true;this[se]=null}else if(isEncodingOptions(c)){this[se]=c.encoding;this[he]=false}else{this[he]=false;this[se]=null}this[Ce]=!!c.async;this[oe]=this[se]?new v.StringDecoder(this[se]):null;if(c&&c.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[ue]})}if(c&&c.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[de]})}const{signal:d}=c;if(d){this[Se]=d;if(d.aborted){this[we]()}else{d.addEventListener("abort",(()=>this[we]()))}}}get bufferLength(){return this[fe]}get encoding(){return this[se]}set encoding(i){throw new Error("Encoding must be set at instantiation time")}setEncoding(i){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[he]}set objectMode(i){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[Ce]}set["async"](i){this[Ce]=this[Ce]||!!i}[we](){this[Ie]=true;this.emit("abort",this[Se]?.reason);this.destroy(this[Se]?.reason)}get aborted(){return this[Ie]}set aborted(i){}write(i,c,d){if(this[Ie])return false;if(this[_])throw new Error("write after end");if(this[ge]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof c==="function"){d=c;c="utf8"}if(!c)c="utf8";const p=this[Ce]?defer:nodefer;if(!this[he]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i)){i=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(isArrayBufferLike(i)){i=Buffer.from(i)}else if(typeof i!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[he]){if(this[ae]&&this[fe]!==0)this[ne](true);if(this[ae])this.emit("data",i);else this[pe](i);if(this[fe]!==0)this.emit("readable");if(d)p(d);return this[ae]}if(!i.length){if(this[fe]!==0)this.emit("readable");if(d)p(d);return this[ae]}if(typeof i==="string"&&!(c===this[se]&&!this[oe]?.lastNeed)){i=Buffer.from(i,c)}if(Buffer.isBuffer(i)&&this[se]){i=this[oe].write(i)}if(this[ae]&&this[fe]!==0)this[ne](true);if(this[ae])this.emit("data",i);else this[pe](i);if(this[fe]!==0)this.emit("readable");if(d)p(d);return this[ae]}read(i){if(this[ge])return null;this[Be]=false;if(this[fe]===0||i===0||i&&i>this[fe]){this[T]();return null}if(this[he])i=null;if(this[ue].length>1&&!this[he]){this[ue]=[this[se]?this[ue].join(""):Buffer.concat(this[ue],this[fe])]}const c=this[re](i||null,this[ue][0]);this[T]();return c}[re](i,c){if(this[he])this[Ae]();else{const d=c;if(i===d.length||i===null)this[Ae]();else if(typeof d==="string"){this[ue][0]=d.slice(i);c=d.slice(0,i);this[fe]-=i}else{this[ue][0]=d.subarray(i);c=d.subarray(0,i);this[fe]-=i}}this.emit("data",c);if(!this[ue].length&&!this[_])this.emit("drain");return c}end(i,c,d){if(typeof i==="function"){d=i;i=undefined}if(typeof c==="function"){d=c;c="utf8"}if(i!==undefined)this.write(i,c);if(d)this.once("end",d);this[_]=true;this.writable=false;if(this[ae]||!this[le])this[T]();return this}[ce](){if(this[ge])return;if(!this[ve]&&!this[de].length){this[Be]=true}this[le]=false;this[ae]=true;this.emit("resume");if(this[ue].length)this[ne]();else if(this[_])this[T]();else this.emit("drain")}resume(){return this[ce]()}pause(){this[ae]=false;this[le]=true;this[Be]=false}get destroyed(){return this[ge]}get flowing(){return this[ae]}get paused(){return this[le]}[pe](i){if(this[he])this[fe]+=1;else this[fe]+=i.length;this[ue].push(i)}[Ae](){if(this[he])this[fe]-=1;else this[fe]-=this[ue][0].length;return this[ue].shift()}[ne](i=false){do{}while(this[ie](this[Ae]())&&this[ue].length);if(!i&&!this[ue].length&&!this[_])this.emit("drain")}[ie](i){this.emit("data",i);return this[ae]}pipe(i,c){if(this[ge])return i;this[Be]=false;const d=this[V];c=c||{};if(i===A.stdout||i===A.stderr)c.end=false;else c.end=c.end!==false;c.proxyErrors=!!c.proxyErrors;if(d){if(c.end)i.end()}else{this[de].push(!c.proxyErrors?new Pipe(this,i,c):new PipeProxyErrors(this,i,c));if(this[Ce])defer((()=>this[ce]()));else this[ce]()}return i}unpipe(i){const c=this[de].find((c=>c.dest===i));if(c){if(this[de].length===1){if(this[ae]&&this[ve]===0){this[ae]=false}this[de]=[]}else this[de].splice(this[de].indexOf(c),1);c.unpipe()}}addListener(i,c){return this.on(i,c)}on(i,c){const d=super.on(i,c);if(i==="data"){this[Be]=false;this[ve]++;if(!this[de].length&&!this[ae]){this[ce]()}}else if(i==="readable"&&this[fe]!==0){super.emit("readable")}else if(isEndish(i)&&this[V]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[ee]){const i=c;if(this[Ce])defer((()=>i.call(this,this[ee])));else i.call(this,this[ee])}return d}removeListener(i,c){return this.off(i,c)}off(i,c){const d=super.off(i,c);if(i==="data"){this[ve]=this.listeners("data").length;if(this[ve]===0&&!this[Be]&&!this[de].length){this[ae]=false}}return d}removeAllListeners(i){const c=super.removeAllListeners(i);if(i==="data"||i===undefined){this[ve]=0;if(!this[Be]&&!this[de].length){this[ae]=false}}return c}get emittedEnd(){return this[V]}[T](){if(!this[Z]&&!this[V]&&!this[ge]&&this[ue].length===0&&this[_]){this[Z]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[te])this.emit("close");this[Z]=false}}emit(i,...c){const d=c[0];if(i!=="error"&&i!=="close"&&i!==ge&&this[ge]){return false}else if(i==="data"){return!this[he]&&!d?false:this[Ce]?(defer((()=>this[ye](d))),true):this[ye](d)}else if(i==="end"){return this[Ee]()}else if(i==="close"){this[te]=true;if(!this[V]&&!this[ge])return false;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[ee]=d;super.emit(me,d);const i=!this[Se]||this.listeners("error").length?super.emit("error",d):false;this[T]();return i}else if(i==="resume"){const i=super.emit("resume");this[T]();return i}else if(i==="finish"||i==="prefinish"){const c=super.emit(i);this.removeAllListeners(i);return c}const p=super.emit(i,...c);this[T]();return p}[ye](i){for(const c of this[de]){if(c.dest.write(i)===false)this.pause()}const c=this[Be]?false:super.emit("data",i);this[T]();return c}[Ee](){if(this[V])return false;this[V]=true;this.readable=false;return this[Ce]?(defer((()=>this[be]())),true):this[be]()}[be](){if(this[oe]){const i=this[oe].end();if(i){for(const c of this[de]){c.dest.write(i)}if(!this[Be])super.emit("data",i)}}for(const i of this[de]){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}async collect(){const i=Object.assign([],{dataLength:0});if(!this[he])i.dataLength=0;const c=this.promise();this.on("data",(c=>{i.push(c);if(!this[he])i.dataLength+=c.length}));await c;return i}async concat(){if(this[he]){throw new Error("cannot concat in objectMode")}const i=await this.collect();return this[se]?i.join(""):Buffer.concat(i,i.dataLength)}async promise(){return new Promise(((i,c)=>{this.on(ge,(()=>c(new Error("stream destroyed"))));this.on("error",(i=>c(i)));this.on("end",(()=>i()))}))}[Symbol.asyncIterator](){this[Be]=false;let i=false;const stop=async()=>{this.pause();i=true;return{value:undefined,done:true}};const next=()=>{if(i)return stop();const c=this.read();if(c!==null)return Promise.resolve({done:false,value:c});if(this[_])return stop();let d;let p;const onerr=i=>{this.off("data",ondata);this.off("end",onend);this.off(ge,ondestroy);stop();p(i)};const ondata=i=>{this.off("error",onerr);this.off("end",onend);this.off(ge,ondestroy);this.pause();d({value:i,done:!!this[_]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(ge,ondestroy);stop();d({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,c)=>{p=c;d=i;this.once(ge,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[Be]=false;let i=false;const stop=()=>{this.pause();this.off(me,stop);this.off(ge,stop);this.off("end",stop);i=true;return{done:true,value:undefined}};const next=()=>{if(i)return stop();const c=this.read();return c===null?stop():{done:false,value:c}};this.once("end",stop);this.once(me,stop);this.once(ge,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(i){if(this[ge]){if(i)this.emit("error",i);else this.emit(ge);return this}this[ge]=true;this[Be]=true;this[ue].length=0;this[fe]=0;const c=this;if(typeof c.close==="function"&&!this[te])c.close();if(i)this.emit("error",i);else this.emit(ge);return this}static get isStream(){return c.isStream}}c.Minipass=Minipass},32469:function(i,c,d){"use strict";var p=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(c,"__esModule",{value:true});c.Minipass=c.isWritable=c.isReadable=c.isStream=void 0;const A=typeof process==="object"&&process?process:{stdout:null,stderr:null};const C=d(24434);const S=p(d(2203));const v=d(13193);const isStream=i=>!!i&&typeof i==="object"&&(i instanceof Minipass||i instanceof S.default||(0,c.isReadable)(i)||(0,c.isWritable)(i));c.isStream=isStream;const isReadable=i=>!!i&&typeof i==="object"&&i instanceof C.EventEmitter&&typeof i.pipe==="function"&&i.pipe!==S.default.Writable.prototype.pipe;c.isReadable=isReadable;const isWritable=i=>!!i&&typeof i==="object"&&i instanceof C.EventEmitter&&typeof i.write==="function"&&typeof i.end==="function";c.isWritable=isWritable;const _=Symbol("EOF");const T=Symbol("maybeEmitEnd");const V=Symbol("emittedEnd");const Z=Symbol("emittingEnd");const ee=Symbol("emittedError");const te=Symbol("closed");const re=Symbol("read");const ne=Symbol("flush");const ie=Symbol("flushChunk");const se=Symbol("encoding");const oe=Symbol("decoder");const ae=Symbol("flowing");const le=Symbol("paused");const ce=Symbol("resume");const ue=Symbol("buffer");const de=Symbol("pipes");const fe=Symbol("bufferLength");const pe=Symbol("bufferPush");const Ae=Symbol("bufferShift");const he=Symbol("objectMode");const ge=Symbol("destroyed");const me=Symbol("error");const ye=Symbol("emitData");const Ee=Symbol("emitEnd");const be=Symbol("emitEnd2");const Ce=Symbol("async");const we=Symbol("abort");const Ie=Symbol("aborted");const Se=Symbol("signal");const ve=Symbol("dataListeners");const Be=Symbol("discarded");const defer=i=>Promise.resolve().then(i);const nodefer=i=>i();const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBufferLike=i=>i instanceof ArrayBuffer||!!i&&typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{src;dest;opts;ondrain;constructor(i,c,d){this.src=i;this.dest=c;this.opts=d;this.ondrain=()=>i[ce]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(i){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,c,d){super(i,c,d);this.proxyErrors=i=>c.emit("error",i);i.on("error",this.proxyErrors)}}const isObjectModeOptions=i=>!!i.objectMode;const isEncodingOptions=i=>!i.objectMode&&!!i.encoding&&i.encoding!=="buffer";class Minipass extends C.EventEmitter{[ae]=false;[le]=false;[de]=[];[ue]=[];[he];[se];[Ce];[oe];[_]=false;[V]=false;[Z]=false;[te]=false;[ee]=null;[fe]=0;[ge]=false;[Se];[Ie]=false;[ve]=0;[Be]=false;writable=true;readable=true;constructor(...i){const c=i[0]||{};super();if(c.objectMode&&typeof c.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(c)){this[he]=true;this[se]=null}else if(isEncodingOptions(c)){this[se]=c.encoding;this[he]=false}else{this[he]=false;this[se]=null}this[Ce]=!!c.async;this[oe]=this[se]?new v.StringDecoder(this[se]):null;if(c&&c.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[ue]})}if(c&&c.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[de]})}const{signal:d}=c;if(d){this[Se]=d;if(d.aborted){this[we]()}else{d.addEventListener("abort",(()=>this[we]()))}}}get bufferLength(){return this[fe]}get encoding(){return this[se]}set encoding(i){throw new Error("Encoding must be set at instantiation time")}setEncoding(i){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[he]}set objectMode(i){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[Ce]}set["async"](i){this[Ce]=this[Ce]||!!i}[we](){this[Ie]=true;this.emit("abort",this[Se]?.reason);this.destroy(this[Se]?.reason)}get aborted(){return this[Ie]}set aborted(i){}write(i,c,d){if(this[Ie])return false;if(this[_])throw new Error("write after end");if(this[ge]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof c==="function"){d=c;c="utf8"}if(!c)c="utf8";const p=this[Ce]?defer:nodefer;if(!this[he]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i)){i=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(isArrayBufferLike(i)){i=Buffer.from(i)}else if(typeof i!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[he]){if(this[ae]&&this[fe]!==0)this[ne](true);if(this[ae])this.emit("data",i);else this[pe](i);if(this[fe]!==0)this.emit("readable");if(d)p(d);return this[ae]}if(!i.length){if(this[fe]!==0)this.emit("readable");if(d)p(d);return this[ae]}if(typeof i==="string"&&!(c===this[se]&&!this[oe]?.lastNeed)){i=Buffer.from(i,c)}if(Buffer.isBuffer(i)&&this[se]){i=this[oe].write(i)}if(this[ae]&&this[fe]!==0)this[ne](true);if(this[ae])this.emit("data",i);else this[pe](i);if(this[fe]!==0)this.emit("readable");if(d)p(d);return this[ae]}read(i){if(this[ge])return null;this[Be]=false;if(this[fe]===0||i===0||i&&i>this[fe]){this[T]();return null}if(this[he])i=null;if(this[ue].length>1&&!this[he]){this[ue]=[this[se]?this[ue].join(""):Buffer.concat(this[ue],this[fe])]}const c=this[re](i||null,this[ue][0]);this[T]();return c}[re](i,c){if(this[he])this[Ae]();else{const d=c;if(i===d.length||i===null)this[Ae]();else if(typeof d==="string"){this[ue][0]=d.slice(i);c=d.slice(0,i);this[fe]-=i}else{this[ue][0]=d.subarray(i);c=d.subarray(0,i);this[fe]-=i}}this.emit("data",c);if(!this[ue].length&&!this[_])this.emit("drain");return c}end(i,c,d){if(typeof i==="function"){d=i;i=undefined}if(typeof c==="function"){d=c;c="utf8"}if(i!==undefined)this.write(i,c);if(d)this.once("end",d);this[_]=true;this.writable=false;if(this[ae]||!this[le])this[T]();return this}[ce](){if(this[ge])return;if(!this[ve]&&!this[de].length){this[Be]=true}this[le]=false;this[ae]=true;this.emit("resume");if(this[ue].length)this[ne]();else if(this[_])this[T]();else this.emit("drain")}resume(){return this[ce]()}pause(){this[ae]=false;this[le]=true;this[Be]=false}get destroyed(){return this[ge]}get flowing(){return this[ae]}get paused(){return this[le]}[pe](i){if(this[he])this[fe]+=1;else this[fe]+=i.length;this[ue].push(i)}[Ae](){if(this[he])this[fe]-=1;else this[fe]-=this[ue][0].length;return this[ue].shift()}[ne](i=false){do{}while(this[ie](this[Ae]())&&this[ue].length);if(!i&&!this[ue].length&&!this[_])this.emit("drain")}[ie](i){this.emit("data",i);return this[ae]}pipe(i,c){if(this[ge])return i;this[Be]=false;const d=this[V];c=c||{};if(i===A.stdout||i===A.stderr)c.end=false;else c.end=c.end!==false;c.proxyErrors=!!c.proxyErrors;if(d){if(c.end)i.end()}else{this[de].push(!c.proxyErrors?new Pipe(this,i,c):new PipeProxyErrors(this,i,c));if(this[Ce])defer((()=>this[ce]()));else this[ce]()}return i}unpipe(i){const c=this[de].find((c=>c.dest===i));if(c){if(this[de].length===1){if(this[ae]&&this[ve]===0){this[ae]=false}this[de]=[]}else this[de].splice(this[de].indexOf(c),1);c.unpipe()}}addListener(i,c){return this.on(i,c)}on(i,c){const d=super.on(i,c);if(i==="data"){this[Be]=false;this[ve]++;if(!this[de].length&&!this[ae]){this[ce]()}}else if(i==="readable"&&this[fe]!==0){super.emit("readable")}else if(isEndish(i)&&this[V]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[ee]){const i=c;if(this[Ce])defer((()=>i.call(this,this[ee])));else i.call(this,this[ee])}return d}removeListener(i,c){return this.off(i,c)}off(i,c){const d=super.off(i,c);if(i==="data"){this[ve]=this.listeners("data").length;if(this[ve]===0&&!this[Be]&&!this[de].length){this[ae]=false}}return d}removeAllListeners(i){const c=super.removeAllListeners(i);if(i==="data"||i===undefined){this[ve]=0;if(!this[Be]&&!this[de].length){this[ae]=false}}return c}get emittedEnd(){return this[V]}[T](){if(!this[Z]&&!this[V]&&!this[ge]&&this[ue].length===0&&this[_]){this[Z]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[te])this.emit("close");this[Z]=false}}emit(i,...c){const d=c[0];if(i!=="error"&&i!=="close"&&i!==ge&&this[ge]){return false}else if(i==="data"){return!this[he]&&!d?false:this[Ce]?(defer((()=>this[ye](d))),true):this[ye](d)}else if(i==="end"){return this[Ee]()}else if(i==="close"){this[te]=true;if(!this[V]&&!this[ge])return false;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[ee]=d;super.emit(me,d);const i=!this[Se]||this.listeners("error").length?super.emit("error",d):false;this[T]();return i}else if(i==="resume"){const i=super.emit("resume");this[T]();return i}else if(i==="finish"||i==="prefinish"){const c=super.emit(i);this.removeAllListeners(i);return c}const p=super.emit(i,...c);this[T]();return p}[ye](i){for(const c of this[de]){if(c.dest.write(i)===false)this.pause()}const c=this[Be]?false:super.emit("data",i);this[T]();return c}[Ee](){if(this[V])return false;this[V]=true;this.readable=false;return this[Ce]?(defer((()=>this[be]())),true):this[be]()}[be](){if(this[oe]){const i=this[oe].end();if(i){for(const c of this[de]){c.dest.write(i)}if(!this[Be])super.emit("data",i)}}for(const i of this[de]){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}async collect(){const i=Object.assign([],{dataLength:0});if(!this[he])i.dataLength=0;const c=this.promise();this.on("data",(c=>{i.push(c);if(!this[he])i.dataLength+=c.length}));await c;return i}async concat(){if(this[he]){throw new Error("cannot concat in objectMode")}const i=await this.collect();return this[se]?i.join(""):Buffer.concat(i,i.dataLength)}async promise(){return new Promise(((i,c)=>{this.on(ge,(()=>c(new Error("stream destroyed"))));this.on("error",(i=>c(i)));this.on("end",(()=>i()))}))}[Symbol.asyncIterator](){this[Be]=false;let i=false;const stop=async()=>{this.pause();i=true;return{value:undefined,done:true}};const next=()=>{if(i)return stop();const c=this.read();if(c!==null)return Promise.resolve({done:false,value:c});if(this[_])return stop();let d;let p;const onerr=i=>{this.off("data",ondata);this.off("end",onend);this.off(ge,ondestroy);stop();p(i)};const ondata=i=>{this.off("error",onerr);this.off("end",onend);this.off(ge,ondestroy);this.pause();d({value:i,done:!!this[_]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(ge,ondestroy);stop();d({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,c)=>{p=c;d=i;this.once(ge,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[Be]=false;let i=false;const stop=()=>{this.pause();this.off(me,stop);this.off(ge,stop);this.off("end",stop);i=true;return{done:true,value:undefined}};const next=()=>{if(i)return stop();const c=this.read();return c===null?stop():{done:false,value:c}};this.once("end",stop);this.once(me,stop);this.once(ge,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(i){if(this[ge]){if(i)this.emit("error",i);else this.emit(ge);return this}this[ge]=true;this[Be]=true;this[ue].length=0;this[fe]=0;const c=this;if(typeof c.close==="function"&&!this[te])c.close();if(i)this.emit("error",i);else this.emit(ge);return this}static get isStream(){return c.isStream}}c.Minipass=Minipass},38958:function(i,c,d){"use strict";var p=this&&this.__createBinding||(Object.create?function(i,c,d,p){if(p===undefined)p=d;var A=Object.getOwnPropertyDescriptor(c,d);if(!A||("get"in A?!c.__esModule:A.writable||A.configurable)){A={enumerable:true,get:function(){return c[d]}}}Object.defineProperty(i,p,A)}:function(i,c,d,p){if(p===undefined)p=d;i[p]=c[d]});var A=this&&this.__setModuleDefault||(Object.create?function(i,c){Object.defineProperty(i,"default",{enumerable:true,value:c})}:function(i,c){i["default"]=c});var C=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d))p(c,i,d);A(c,i);return c};Object.defineProperty(c,"__esModule",{value:true});c.PathScurry=c.Path=c.PathScurryDarwin=c.PathScurryPosix=c.PathScurryWin32=c.PathScurryBase=c.PathPosix=c.PathWin32=c.PathBase=c.ChildrenCache=c.ResolveCache=void 0;const S=d(10897);const v=d(76760);const _=d(73136);const T=d(79896);const V=C(d(73024));const Z=T.realpathSync.native;const ee=d(51455);const te=d(32469);const re={lstatSync:T.lstatSync,readdir:T.readdir,readdirSync:T.readdirSync,readlinkSync:T.readlinkSync,realpathSync:Z,promises:{lstat:ee.lstat,readdir:ee.readdir,readlink:ee.readlink,realpath:ee.realpath}};const fsFromOption=i=>!i||i===re||i===V?re:{...re,...i,promises:{...re.promises,...i.promises||{}}};const ne=/^\\\\\?\\([a-z]:)\\?$/i;const uncToDrive=i=>i.replace(/\//g,"\\").replace(ne,"$1\\");const ie=/[\\\/]/;const se=0;const oe=1;const ae=2;const le=4;const ce=6;const ue=8;const de=10;const fe=12;const pe=15;const Ae=~pe;const he=16;const ge=32;const me=64;const ye=128;const Ee=256;const be=512;const Ce=me|ye|be;const we=1023;const entToType=i=>i.isFile()?ue:i.isDirectory()?le:i.isSymbolicLink()?de:i.isCharacterDevice()?ae:i.isBlockDevice()?ce:i.isSocket()?fe:i.isFIFO()?oe:se;const Ie=new Map;const normalize=i=>{const c=Ie.get(i);if(c)return c;const d=i.normalize("NFKD");Ie.set(i,d);return d};const Se=new Map;const normalizeNocase=i=>{const c=Se.get(i);if(c)return c;const d=normalize(i.toLowerCase());Se.set(i,d);return d};class ResolveCache extends S.LRUCache{constructor(){super({max:256})}}c.ResolveCache=ResolveCache;class ChildrenCache extends S.LRUCache{constructor(i=16*1024){super({maxSize:i,sizeCalculation:i=>i.length+1})}}c.ChildrenCache=ChildrenCache;const ve=Symbol("PathScurry setAsCwd");class PathBase{name;root;roots;parent;nocase;isCWD=false;#V;#W;get dev(){return this.#W}#$;get mode(){return this.#$}#Y;get nlink(){return this.#Y}#J;get uid(){return this.#J}#K;get gid(){return this.#K}#X;get rdev(){return this.#X}#Z;get blksize(){return this.#Z}#ee;get ino(){return this.#ee}#te;get size(){return this.#te}#re;get blocks(){return this.#re}#ne;get atimeMs(){return this.#ne}#ie;get mtimeMs(){return this.#ie}#se;get ctimeMs(){return this.#se}#oe;get birthtimeMs(){return this.#oe}#ae;get atime(){return this.#ae}#le;get mtime(){return this.#le}#ce;get ctime(){return this.#ce}#ue;get birthtime(){return this.#ue}#de;#fe;#pe;#Ae;#he;#ge;#me;#ye;#Ee;#be;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(i,c=se,d,p,A,C,S){this.name=i;this.#de=A?normalizeNocase(i):normalize(i);this.#me=c&we;this.nocase=A;this.roots=p;this.root=d||this;this.#ye=C;this.#pe=S.fullpath;this.#he=S.relative;this.#ge=S.relativePosix;this.parent=S.parent;if(this.parent){this.#V=this.parent.#V}else{this.#V=fsFromOption(S.fs)}}depth(){if(this.#fe!==undefined)return this.#fe;if(!this.parent)return this.#fe=0;return this.#fe=this.parent.depth()+1}childrenCache(){return this.#ye}resolve(i){if(!i){return this}const c=this.getRootString(i);const d=i.substring(c.length);const p=d.split(this.splitSep);const A=c?this.getRoot(c).#Ce(p):this.#Ce(p);return A}#Ce(i){let c=this;for(const d of i){c=c.child(d)}return c}children(){const i=this.#ye.get(this);if(i){return i}const c=Object.assign([],{provisional:0});this.#ye.set(this,c);this.#me&=~he;return c}child(i,c){if(i===""||i==="."){return this}if(i===".."){return this.parent||this}const d=this.children();const p=this.nocase?normalizeNocase(i):normalize(i);for(const i of d){if(i.#de===p){return i}}const A=this.parent?this.sep:"";const C=this.#pe?this.#pe+A+i:undefined;const S=this.newChild(i,se,{...c,parent:this,fullpath:C});if(!this.canReaddir()){S.#me|=ye}d.push(S);return S}relative(){if(this.isCWD)return"";if(this.#he!==undefined){return this.#he}const i=this.name;const c=this.parent;if(!c){return this.#he=this.name}const d=c.relative();return d+(!d||!c.parent?"":this.sep)+i}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#ge!==undefined)return this.#ge;const i=this.name;const c=this.parent;if(!c){return this.#ge=this.fullpathPosix()}const d=c.relativePosix();return d+(!d||!c.parent?"":"/")+i}fullpath(){if(this.#pe!==undefined){return this.#pe}const i=this.name;const c=this.parent;if(!c){return this.#pe=this.name}const d=c.fullpath();const p=d+(!c.parent?"":this.sep)+i;return this.#pe=p}fullpathPosix(){if(this.#Ae!==undefined)return this.#Ae;if(this.sep==="/")return this.#Ae=this.fullpath();if(!this.parent){const i=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(i)){return this.#Ae=`//?/${i}`}else{return this.#Ae=i}}const i=this.parent;const c=i.fullpathPosix();const d=c+(!c||!i.parent?"":"/")+this.name;return this.#Ae=d}isUnknown(){return(this.#me&pe)===se}isType(i){return this[`is${i}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#me&pe)===ue}isDirectory(){return(this.#me&pe)===le}isCharacterDevice(){return(this.#me&pe)===ae}isBlockDevice(){return(this.#me&pe)===ce}isFIFO(){return(this.#me&pe)===oe}isSocket(){return(this.#me&pe)===fe}isSymbolicLink(){return(this.#me&de)===de}lstatCached(){return this.#me&ge?this:undefined}readlinkCached(){return this.#Ee}realpathCached(){return this.#be}readdirCached(){const i=this.children();return i.slice(0,i.provisional)}canReadlink(){if(this.#Ee)return true;if(!this.parent)return false;const i=this.#me&pe;return!(i!==se&&i!==de||this.#me&Ee||this.#me&ye)}calledReaddir(){return!!(this.#me&he)}isENOENT(){return!!(this.#me&ye)}isNamed(i){return!this.nocase?this.#de===normalize(i):this.#de===normalizeNocase(i)}async readlink(){const i=this.#Ee;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=await this.#V.promises.readlink(this.fullpath());const c=(await this.parent.realpath())?.resolve(i);if(c){return this.#Ee=c}}catch(i){this.#we(i.code);return undefined}}readlinkSync(){const i=this.#Ee;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=this.#V.readlinkSync(this.fullpath());const c=this.parent.realpathSync()?.resolve(i);if(c){return this.#Ee=c}}catch(i){this.#we(i.code);return undefined}}#Ie(i){this.#me|=he;for(let c=i.provisional;c<i.length;c++){const d=i[c];if(d)d.#Se()}}#Se(){if(this.#me&ye)return;this.#me=(this.#me|ye)&Ae;this.#ve()}#ve(){const i=this.children();i.provisional=0;for(const c of i){c.#Se()}}#Be(){this.#me|=be;this.#Re()}#Re(){if(this.#me&me)return;let i=this.#me;if((i&pe)===le)i&=Ae;this.#me=i|me;this.#ve()}#_e(i=""){if(i==="ENOTDIR"||i==="EPERM"){this.#Re()}else if(i==="ENOENT"){this.#Se()}else{this.children().provisional=0}}#Ne(i=""){if(i==="ENOTDIR"){const i=this.parent;i.#Re()}else if(i==="ENOENT"){this.#Se()}}#we(i=""){let c=this.#me;c|=Ee;if(i==="ENOENT")c|=ye;if(i==="EINVAL"||i==="UNKNOWN"){c&=Ae}this.#me=c;if(i==="ENOTDIR"&&this.parent){this.parent.#Re()}}#Qe(i,c){return this.#Te(i,c)||this.#ke(i,c)}#ke(i,c){const d=entToType(i);const p=this.newChild(i.name,d,{parent:this});const A=p.#me&pe;if(A!==le&&A!==de&&A!==se){p.#me|=me}c.unshift(p);c.provisional++;return p}#Te(i,c){for(let d=c.provisional;d<c.length;d++){const p=c[d];const A=this.nocase?normalizeNocase(i.name):normalize(i.name);if(A!==p.#de){continue}return this.#xe(i,p,d,c)}}#xe(i,c,d,p){const A=c.name;c.#me=c.#me&Ae|entToType(i);if(A!==i.name)c.name=i.name;if(d!==p.provisional){if(d===p.length-1)p.pop();else p.splice(d,1);p.unshift(c)}p.provisional++;return c}async lstat(){if((this.#me&ye)===0){try{this.#Pe(await this.#V.promises.lstat(this.fullpath()));return this}catch(i){this.#Ne(i.code)}}}lstatSync(){if((this.#me&ye)===0){try{this.#Pe(this.#V.lstatSync(this.fullpath()));return this}catch(i){this.#Ne(i.code)}}}#Pe(i){const{atime:c,atimeMs:d,birthtime:p,birthtimeMs:A,blksize:C,blocks:S,ctime:v,ctimeMs:_,dev:T,gid:V,ino:Z,mode:ee,mtime:te,mtimeMs:re,nlink:ne,rdev:ie,size:oe,uid:ae}=i;this.#ae=c;this.#ne=d;this.#ue=p;this.#oe=A;this.#Z=C;this.#re=S;this.#ce=v;this.#se=_;this.#W=T;this.#K=V;this.#ee=Z;this.#$=ee;this.#le=te;this.#ie=re;this.#Y=ne;this.#X=ie;this.#te=oe;this.#J=ae;const ce=entToType(i);this.#me=this.#me&Ae|ce|ge;if(ce!==se&&ce!==le&&ce!==de){this.#me|=me}}#Oe=[];#De=false;#Le(i){this.#De=false;const c=this.#Oe.slice();this.#Oe.length=0;c.forEach((c=>c(null,i)))}readdirCB(i,c=false){if(!this.canReaddir()){if(c)i(null,[]);else queueMicrotask((()=>i(null,[])));return}const d=this.children();if(this.calledReaddir()){const p=d.slice(0,d.provisional);if(c)i(null,p);else queueMicrotask((()=>i(null,p)));return}this.#Oe.push(i);if(this.#De){return}this.#De=true;const p=this.fullpath();this.#V.readdir(p,{withFileTypes:true},((i,c)=>{if(i){this.#_e(i.code);d.provisional=0}else{for(const i of c){this.#Qe(i,d)}this.#Ie(d)}this.#Le(d.slice(0,d.provisional));return}))}#Me;async readdir(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const c=this.fullpath();if(this.#Me){await this.#Me}else{let resolve=()=>{};this.#Me=new Promise((i=>resolve=i));try{for(const d of await this.#V.promises.readdir(c,{withFileTypes:true})){this.#Qe(d,i)}this.#Ie(i)}catch(c){this.#_e(c.code);i.provisional=0}this.#Me=undefined;resolve()}return i.slice(0,i.provisional)}readdirSync(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const c=this.fullpath();try{for(const d of this.#V.readdirSync(c,{withFileTypes:true})){this.#Qe(d,i)}this.#Ie(i)}catch(c){this.#_e(c.code);i.provisional=0}return i.slice(0,i.provisional)}canReaddir(){if(this.#me&Ce)return false;const i=pe&this.#me;if(!(i===se||i===le||i===de)){return false}return true}shouldWalk(i,c){return(this.#me&le)===le&&!(this.#me&Ce)&&!i.has(this)&&(!c||c(this))}async realpath(){if(this.#be)return this.#be;if((be|Ee|ye)&this.#me)return undefined;try{const i=await this.#V.promises.realpath(this.fullpath());return this.#be=this.resolve(i)}catch(i){this.#Be()}}realpathSync(){if(this.#be)return this.#be;if((be|Ee|ye)&this.#me)return undefined;try{const i=this.#V.realpathSync(this.fullpath());return this.#be=this.resolve(i)}catch(i){this.#Be()}}[ve](i){if(i===this)return;i.isCWD=false;this.isCWD=true;const c=new Set([]);let d=[];let p=this;while(p&&p.parent){c.add(p);p.#he=d.join(this.sep);p.#ge=d.join("/");p=p.parent;d.push("..")}p=i;while(p&&p.parent&&!c.has(p)){p.#he=undefined;p.#ge=undefined;p=p.parent}}}c.PathBase=PathBase;class PathWin32 extends PathBase{sep="\\";splitSep=ie;constructor(i,c=se,d,p,A,C,S){super(i,c,d,p,A,C,S)}newChild(i,c=se,d={}){return new PathWin32(i,c,this.root,this.roots,this.nocase,this.childrenCache(),d)}getRootString(i){return v.win32.parse(i).root}getRoot(i){i=uncToDrive(i.toUpperCase());if(i===this.root.name){return this.root}for(const[c,d]of Object.entries(this.roots)){if(this.sameRoot(i,c)){return this.roots[i]=d}}return this.roots[i]=new PathScurryWin32(i,this).root}sameRoot(i,c=this.root.name){i=i.toUpperCase().replace(/\//g,"\\").replace(ne,"$1\\");return i===c}}c.PathWin32=PathWin32;class PathPosix extends PathBase{splitSep="/";sep="/";constructor(i,c=se,d,p,A,C,S){super(i,c,d,p,A,C,S)}getRootString(i){return i.startsWith("/")?"/":""}getRoot(i){return this.root}newChild(i,c=se,d={}){return new PathPosix(i,c,this.root,this.roots,this.nocase,this.childrenCache(),d)}}c.PathPosix=PathPosix;class PathScurryBase{root;rootPath;roots;cwd;#Fe;#Ue;#ye;nocase;#V;constructor(i=process.cwd(),c,d,{nocase:p,childrenCacheSize:A=16*1024,fs:C=re}={}){this.#V=fsFromOption(C);if(i instanceof URL||i.startsWith("file://")){i=(0,_.fileURLToPath)(i)}const S=c.resolve(i);this.roots=Object.create(null);this.rootPath=this.parseRootPath(S);this.#Fe=new ResolveCache;this.#Ue=new ResolveCache;this.#ye=new ChildrenCache(A);const v=S.substring(this.rootPath.length).split(d);if(v.length===1&&!v[0]){v.pop()}if(p===undefined){throw new TypeError("must provide nocase setting to PathScurryBase ctor")}this.nocase=p;this.root=this.newRoot(this.#V);this.roots[this.rootPath]=this.root;let T=this.root;let V=v.length-1;const Z=c.sep;let ee=this.rootPath;let te=false;for(const i of v){const c=V--;T=T.child(i,{relative:new Array(c).fill("..").join(Z),relativePosix:new Array(c).fill("..").join("/"),fullpath:ee+=(te?"":Z)+i});te=true}this.cwd=T}depth(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.depth()}childrenCache(){return this.#ye}resolve(...i){let c="";for(let d=i.length-1;d>=0;d--){const p=i[d];if(!p||p===".")continue;c=c?`${p}/${c}`:p;if(this.isAbsolute(p)){break}}const d=this.#Fe.get(c);if(d!==undefined){return d}const p=this.cwd.resolve(c).fullpath();this.#Fe.set(c,p);return p}resolvePosix(...i){let c="";for(let d=i.length-1;d>=0;d--){const p=i[d];if(!p||p===".")continue;c=c?`${p}/${c}`:p;if(this.isAbsolute(p)){break}}const d=this.#Ue.get(c);if(d!==undefined){return d}const p=this.cwd.resolve(c).fullpathPosix();this.#Ue.set(c,p);return p}relative(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relative()}relativePosix(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relativePosix()}basename(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.name}dirname(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return(i.parent||i).fullpath()}async readdir(i=this.cwd,c={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d}=c;if(!i.canReaddir()){return[]}else{const c=await i.readdir();return d?c:c.map((i=>i.name))}}readdirSync(i=this.cwd,c={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d=true}=c;if(!i.canReaddir()){return[]}else if(d){return i.readdirSync()}else{return i.readdirSync().map((i=>i.name))}}async lstat(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstat()}lstatSync(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstatSync()}async readlink(i=this.cwd,{withFileTypes:c}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i.withFileTypes;i=this.cwd}const d=await i.readlink();return c?d:d?.fullpath()}readlinkSync(i=this.cwd,{withFileTypes:c}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i.withFileTypes;i=this.cwd}const d=i.readlinkSync();return c?d:d?.fullpath()}async realpath(i=this.cwd,{withFileTypes:c}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i.withFileTypes;i=this.cwd}const d=await i.realpath();return c?d:d?.fullpath()}realpathSync(i=this.cwd,{withFileTypes:c}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i.withFileTypes;i=this.cwd}const d=i.realpathSync();return c?d:d?.fullpath()}async walk(i=this.cwd,c={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d=true,follow:p=false,filter:A,walkFilter:C}=c;const S=[];if(!A||A(i)){S.push(d?i:i.fullpath())}const v=new Set;const walk=(i,c)=>{v.add(i);i.readdirCB(((i,_)=>{if(i){return c(i)}let T=_.length;if(!T)return c();const next=()=>{if(--T===0){c()}};for(const i of _){if(!A||A(i)){S.push(d?i:i.fullpath())}if(p&&i.isSymbolicLink()){i.realpath().then((i=>i?.isUnknown()?i.lstat():i)).then((i=>i?.shouldWalk(v,C)?walk(i,next):next()))}else{if(i.shouldWalk(v,C)){walk(i,next)}else{next()}}}}),true)};const _=i;return new Promise(((i,c)=>{walk(_,(d=>{if(d)return c(d);i(S)}))}))}walkSync(i=this.cwd,c={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d=true,follow:p=false,filter:A,walkFilter:C}=c;const S=[];if(!A||A(i)){S.push(d?i:i.fullpath())}const v=new Set([i]);for(const i of v){const c=i.readdirSync();for(const i of c){if(!A||A(i)){S.push(d?i:i.fullpath())}let c=i;if(i.isSymbolicLink()){if(!(p&&(c=i.realpathSync())))continue;if(c.isUnknown())c.lstatSync()}if(c.shouldWalk(v,C)){v.add(c)}}}return S}[Symbol.asyncIterator](){return this.iterate()}iterate(i=this.cwd,c={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}return this.stream(i,c)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(i=this.cwd,c={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d=true,follow:p=false,filter:A,walkFilter:C}=c;if(!A||A(i)){yield d?i:i.fullpath()}const S=new Set([i]);for(const i of S){const c=i.readdirSync();for(const i of c){if(!A||A(i)){yield d?i:i.fullpath()}let c=i;if(i.isSymbolicLink()){if(!(p&&(c=i.realpathSync())))continue;if(c.isUnknown())c.lstatSync()}if(c.shouldWalk(S,C)){S.add(c)}}}}stream(i=this.cwd,c={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d=true,follow:p=false,filter:A,walkFilter:C}=c;const S=new te.Minipass({objectMode:true});if(!A||A(i)){S.write(d?i:i.fullpath())}const v=new Set;const _=[i];let T=0;const process=()=>{let i=false;while(!i){const c=_.shift();if(!c){if(T===0)S.end();return}T++;v.add(c);const onReaddir=(c,Z,ee=false)=>{if(c)return S.emit("error",c);if(p&&!ee){const i=[];for(const c of Z){if(c.isSymbolicLink()){i.push(c.realpath().then((i=>i?.isUnknown()?i.lstat():i)))}}if(i.length){Promise.all(i).then((()=>onReaddir(null,Z,true)));return}}for(const c of Z){if(c&&(!A||A(c))){if(!S.write(d?c:c.fullpath())){i=true}}}T--;for(const i of Z){const c=i.realpathCached()||i;if(c.shouldWalk(v,C)){_.push(c)}}if(i&&!S.flowing){S.once("drain",process)}else if(!V){process()}};let V=true;c.readdirCB(onReaddir,true);V=false}};process();return S}streamSync(i=this.cwd,c={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){c=i;i=this.cwd}const{withFileTypes:d=true,follow:p=false,filter:A,walkFilter:C}=c;const S=new te.Minipass({objectMode:true});const v=new Set;if(!A||A(i)){S.write(d?i:i.fullpath())}const _=[i];let T=0;const process=()=>{let i=false;while(!i){const c=_.shift();if(!c){if(T===0)S.end();return}T++;v.add(c);const V=c.readdirSync();for(const c of V){if(!A||A(c)){if(!S.write(d?c:c.fullpath())){i=true}}}T--;for(const i of V){let c=i;if(i.isSymbolicLink()){if(!(p&&(c=i.realpathSync())))continue;if(c.isUnknown())c.lstatSync()}if(c.shouldWalk(v,C)){_.push(c)}}}if(i&&!S.flowing)S.once("drain",process)};process();return S}chdir(i=this.cwd){const c=this.cwd;this.cwd=typeof i==="string"?this.cwd.resolve(i):i;this.cwd[ve](c)}}c.PathScurryBase=PathScurryBase;class PathScurryWin32 extends PathScurryBase{sep="\\";constructor(i=process.cwd(),c={}){const{nocase:d=true}=c;super(i,v.win32,"\\",{...c,nocase:d});this.nocase=d;for(let i=this.cwd;i;i=i.parent){i.nocase=this.nocase}}parseRootPath(i){return v.win32.parse(i).root.toUpperCase()}newRoot(i){return new PathWin32(this.rootPath,le,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")||i.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(i)}}c.PathScurryWin32=PathScurryWin32;class PathScurryPosix extends PathScurryBase{sep="/";constructor(i=process.cwd(),c={}){const{nocase:d=false}=c;super(i,v.posix,"/",{...c,nocase:d});this.nocase=d}parseRootPath(i){return"/"}newRoot(i){return new PathPosix(this.rootPath,le,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")}}c.PathScurryPosix=PathScurryPosix;class PathScurryDarwin extends PathScurryPosix{constructor(i=process.cwd(),c={}){const{nocase:d=true}=c;super(i,{...c,nocase:d})}}c.PathScurryDarwin=PathScurryDarwin;c.Path=process.platform==="win32"?PathWin32:PathPosix;c.PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix},10897:(i,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:true});c.LRUCache=void 0;const d=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const p=new Set;const A=typeof process==="object"&&!!process?process:{};const emitWarning=(i,c,d,p)=>{typeof A.emitWarning==="function"?A.emitWarning(i,c,d,p):console.error(`[${d}] ${c}: ${i}`)};let C=globalThis.AbortController;let S=globalThis.AbortSignal;if(typeof C==="undefined"){S=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(i,c){this._onabort.push(c)}};C=class AbortController{constructor(){warnACPolyfill()}signal=new S;abort(i){if(this.signal.aborted)return;this.signal.reason=i;this.signal.aborted=true;for(const c of this.signal._onabort){c(i)}this.signal.onabort?.(i)}};let i=A.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!i)return;i=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=i=>!p.has(i);const v=Symbol("type");const isPosInt=i=>i&&i===Math.floor(i)&&i>0&&isFinite(i);const getUintArray=i=>!isPosInt(i)?null:i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(i){super(i);this.fill(0)}}class Stack{heap;length;static#He=false;static create(i){const c=getUintArray(i);if(!c)return[];Stack.#He=true;const d=new Stack(i,c);Stack.#He=false;return d}constructor(i,c){if(!Stack.#He){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new c(i);this.length=0}push(i){this.heap[this.length++]=i}pop(){return this.heap[--this.length]}}class LRUCache{#je;#qe;#Ge;#ze;#Ve;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#te;#We;#$e;#Ye;#Je;#Ke;#Xe;#Ze;#et;#tt;#rt;#nt;#it;#st;#ot;#at;#lt;static unsafeExposeInternals(i){return{starts:i.#it,ttls:i.#st,sizes:i.#nt,keyMap:i.#$e,keyList:i.#Ye,valList:i.#Je,next:i.#Ke,prev:i.#Xe,get head(){return i.#Ze},get tail(){return i.#et},free:i.#tt,isBackgroundFetch:c=>i.#ct(c),backgroundFetch:(c,d,p,A)=>i.#ut(c,d,p,A),moveToTail:c=>i.#dt(c),indexes:c=>i.#ft(c),rindexes:c=>i.#pt(c),isStale:c=>i.#At(c)}}get max(){return this.#je}get maxSize(){return this.#qe}get calculatedSize(){return this.#We}get size(){return this.#te}get fetchMethod(){return this.#Ve}get dispose(){return this.#Ge}get disposeAfter(){return this.#ze}constructor(i){const{max:c=0,ttl:d,ttlResolution:A=1,ttlAutopurge:C,updateAgeOnGet:S,updateAgeOnHas:v,allowStale:_,dispose:T,disposeAfter:V,noDisposeOnSet:Z,noUpdateTTL:ee,maxSize:te=0,maxEntrySize:re=0,sizeCalculation:ne,fetchMethod:ie,noDeleteOnFetchRejection:se,noDeleteOnStaleGet:oe,allowStaleOnFetchRejection:ae,allowStaleOnFetchAbort:le,ignoreFetchAbort:ce}=i;if(c!==0&&!isPosInt(c)){throw new TypeError("max option must be a nonnegative integer")}const ue=c?getUintArray(c):Array;if(!ue){throw new Error("invalid max value: "+c)}this.#je=c;this.#qe=te;this.maxEntrySize=re||this.#qe;this.sizeCalculation=ne;if(this.sizeCalculation){if(!this.#qe&&!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(ie!==undefined&&typeof ie!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#Ve=ie;this.#at=!!ie;this.#$e=new Map;this.#Ye=new Array(c).fill(undefined);this.#Je=new Array(c).fill(undefined);this.#Ke=new ue(c);this.#Xe=new ue(c);this.#Ze=0;this.#et=0;this.#tt=Stack.create(c);this.#te=0;this.#We=0;if(typeof T==="function"){this.#Ge=T}if(typeof V==="function"){this.#ze=V;this.#rt=[]}else{this.#ze=undefined;this.#rt=undefined}this.#ot=!!this.#Ge;this.#lt=!!this.#ze;this.noDisposeOnSet=!!Z;this.noUpdateTTL=!!ee;this.noDeleteOnFetchRejection=!!se;this.allowStaleOnFetchRejection=!!ae;this.allowStaleOnFetchAbort=!!le;this.ignoreFetchAbort=!!ce;if(this.maxEntrySize!==0){if(this.#qe!==0){if(!isPosInt(this.#qe)){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.#ht()}this.allowStale=!!_;this.noDeleteOnStaleGet=!!oe;this.updateAgeOnGet=!!S;this.updateAgeOnHas=!!v;this.ttlResolution=isPosInt(A)||A===0?A:1;this.ttlAutopurge=!!C;this.ttl=d||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#gt()}if(this.#je===0&&this.ttl===0&&this.#qe===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#je&&!this.#qe){const i="LRU_CACHE_UNBOUNDED";if(shouldWarn(i)){p.add(i);const c="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(c,"UnboundedCacheWarning",i,LRUCache)}}}getRemainingTTL(i){return this.#$e.has(i)?Infinity:0}#gt(){const i=new ZeroArray(this.#je);const c=new ZeroArray(this.#je);this.#st=i;this.#it=c;this.#mt=(p,A,C=d.now())=>{c[p]=A!==0?C:0;i[p]=A;if(A!==0&&this.ttlAutopurge){const i=setTimeout((()=>{if(this.#At(p)){this.delete(this.#Ye[p])}}),A+1);if(i.unref){i.unref()}}};this.#yt=p=>{c[p]=i[p]!==0?d.now():0};this.#Et=(d,A)=>{if(i[A]){const C=i[A];const S=c[A];if(!C||!S)return;d.ttl=C;d.start=S;d.now=p||getNow();const v=d.now-S;d.remainingTTL=C-v}};let p=0;const getNow=()=>{const i=d.now();if(this.ttlResolution>0){p=i;const c=setTimeout((()=>p=0),this.ttlResolution);if(c.unref){c.unref()}}return i};this.getRemainingTTL=d=>{const A=this.#$e.get(d);if(A===undefined){return 0}const C=i[A];const S=c[A];if(!C||!S){return Infinity}const v=(p||getNow())-S;return C-v};this.#At=d=>{const A=c[d];const C=i[d];return!!C&&!!A&&(p||getNow())-A>C}}#yt=()=>{};#Et=()=>{};#mt=()=>{};#At=()=>false;#ht(){const i=new ZeroArray(this.#je);this.#We=0;this.#nt=i;this.#bt=c=>{this.#We-=i[c];i[c]=0};this.#Ct=(i,c,d,p)=>{if(this.#ct(c)){return 0}if(!isPosInt(d)){if(p){if(typeof p!=="function"){throw new TypeError("sizeCalculation must be a function")}d=p(c,i);if(!isPosInt(d)){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 d};this.#wt=(c,d,p)=>{i[c]=d;if(this.#qe){const d=this.#qe-i[c];while(this.#We>d){this.#It(true)}}this.#We+=i[c];if(p){p.entrySize=d;p.totalCalculatedSize=this.#We}}}#bt=i=>{};#wt=(i,c,d)=>{};#Ct=(i,c,d,p)=>{if(d||p){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#ft({allowStale:i=this.allowStale}={}){if(this.#te){for(let c=this.#et;true;){if(!this.#St(c)){break}if(i||!this.#At(c)){yield c}if(c===this.#Ze){break}else{c=this.#Xe[c]}}}}*#pt({allowStale:i=this.allowStale}={}){if(this.#te){for(let c=this.#Ze;true;){if(!this.#St(c)){break}if(i||!this.#At(c)){yield c}if(c===this.#et){break}else{c=this.#Ke[c]}}}}#St(i){return i!==undefined&&this.#$e.get(this.#Ye[i])===i}*entries(){for(const i of this.#ft()){if(this.#Je[i]!==undefined&&this.#Ye[i]!==undefined&&!this.#ct(this.#Je[i])){yield[this.#Ye[i],this.#Je[i]]}}}*rentries(){for(const i of this.#pt()){if(this.#Je[i]!==undefined&&this.#Ye[i]!==undefined&&!this.#ct(this.#Je[i])){yield[this.#Ye[i],this.#Je[i]]}}}*keys(){for(const i of this.#ft()){const c=this.#Ye[i];if(c!==undefined&&!this.#ct(this.#Je[i])){yield c}}}*rkeys(){for(const i of this.#pt()){const c=this.#Ye[i];if(c!==undefined&&!this.#ct(this.#Je[i])){yield c}}}*values(){for(const i of this.#ft()){const c=this.#Je[i];if(c!==undefined&&!this.#ct(this.#Je[i])){yield this.#Je[i]}}}*rvalues(){for(const i of this.#pt()){const c=this.#Je[i];if(c!==undefined&&!this.#ct(this.#Je[i])){yield this.#Je[i]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(i,c={}){for(const d of this.#ft()){const p=this.#Je[d];const A=this.#ct(p)?p.__staleWhileFetching:p;if(A===undefined)continue;if(i(A,this.#Ye[d],this)){return this.get(this.#Ye[d],c)}}}forEach(i,c=this){for(const d of this.#ft()){const p=this.#Je[d];const A=this.#ct(p)?p.__staleWhileFetching:p;if(A===undefined)continue;i.call(c,A,this.#Ye[d],this)}}rforEach(i,c=this){for(const d of this.#pt()){const p=this.#Je[d];const A=this.#ct(p)?p.__staleWhileFetching:p;if(A===undefined)continue;i.call(c,A,this.#Ye[d],this)}}purgeStale(){let i=false;for(const c of this.#pt({allowStale:true})){if(this.#At(c)){this.delete(this.#Ye[c]);i=true}}return i}info(i){const c=this.#$e.get(i);if(c===undefined)return undefined;const p=this.#Je[c];const A=this.#ct(p)?p.__staleWhileFetching:p;if(A===undefined)return undefined;const C={value:A};if(this.#st&&this.#it){const i=this.#st[c];const p=this.#it[c];if(i&&p){const c=i-(d.now()-p);C.ttl=c;C.start=Date.now()}}if(this.#nt){C.size=this.#nt[c]}return C}dump(){const i=[];for(const c of this.#ft({allowStale:true})){const p=this.#Ye[c];const A=this.#Je[c];const C=this.#ct(A)?A.__staleWhileFetching:A;if(C===undefined||p===undefined)continue;const S={value:C};if(this.#st&&this.#it){S.ttl=this.#st[c];const i=d.now()-this.#it[c];S.start=Math.floor(Date.now()-i)}if(this.#nt){S.size=this.#nt[c]}i.unshift([p,S])}return i}load(i){this.clear();for(const[c,p]of i){if(p.start){const i=Date.now()-p.start;p.start=d.now()-i}this.set(c,p.value,p)}}set(i,c,d={}){if(c===undefined){this.delete(i);return this}const{ttl:p=this.ttl,start:A,noDisposeOnSet:C=this.noDisposeOnSet,sizeCalculation:S=this.sizeCalculation,status:v}=d;let{noUpdateTTL:_=this.noUpdateTTL}=d;const T=this.#Ct(i,c,d.size||0,S);if(this.maxEntrySize&&T>this.maxEntrySize){if(v){v.set="miss";v.maxEntrySizeExceeded=true}this.delete(i);return this}let V=this.#te===0?undefined:this.#$e.get(i);if(V===undefined){V=this.#te===0?this.#et:this.#tt.length!==0?this.#tt.pop():this.#te===this.#je?this.#It(false):this.#te;this.#Ye[V]=i;this.#Je[V]=c;this.#$e.set(i,V);this.#Ke[this.#et]=V;this.#Xe[V]=this.#et;this.#et=V;this.#te++;this.#wt(V,T,v);if(v)v.set="add";_=false}else{this.#dt(V);const d=this.#Je[V];if(c!==d){if(this.#at&&this.#ct(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:c}=d;if(c!==undefined&&!C){if(this.#ot){this.#Ge?.(c,i,"set")}if(this.#lt){this.#rt?.push([c,i,"set"])}}}else if(!C){if(this.#ot){this.#Ge?.(d,i,"set")}if(this.#lt){this.#rt?.push([d,i,"set"])}}this.#bt(V);this.#wt(V,T,v);this.#Je[V]=c;if(v){v.set="replace";const i=d&&this.#ct(d)?d.__staleWhileFetching:d;if(i!==undefined)v.oldValue=i}}else if(v){v.set="update"}}if(p!==0&&!this.#st){this.#gt()}if(this.#st){if(!_){this.#mt(V,p,A)}if(v)this.#Et(v,V)}if(!C&&this.#lt&&this.#rt){const i=this.#rt;let c;while(c=i?.shift()){this.#ze?.(...c)}}return this}pop(){try{while(this.#te){const i=this.#Je[this.#Ze];this.#It(true);if(this.#ct(i)){if(i.__staleWhileFetching){return i.__staleWhileFetching}}else if(i!==undefined){return i}}}finally{if(this.#lt&&this.#rt){const i=this.#rt;let c;while(c=i?.shift()){this.#ze?.(...c)}}}}#It(i){const c=this.#Ze;const d=this.#Ye[c];const p=this.#Je[c];if(this.#at&&this.#ct(p)){p.__abortController.abort(new Error("evicted"))}else if(this.#ot||this.#lt){if(this.#ot){this.#Ge?.(p,d,"evict")}if(this.#lt){this.#rt?.push([p,d,"evict"])}}this.#bt(c);if(i){this.#Ye[c]=undefined;this.#Je[c]=undefined;this.#tt.push(c)}if(this.#te===1){this.#Ze=this.#et=0;this.#tt.length=0}else{this.#Ze=this.#Ke[c]}this.#$e.delete(d);this.#te--;return c}has(i,c={}){const{updateAgeOnHas:d=this.updateAgeOnHas,status:p}=c;const A=this.#$e.get(i);if(A!==undefined){const i=this.#Je[A];if(this.#ct(i)&&i.__staleWhileFetching===undefined){return false}if(!this.#At(A)){if(d){this.#yt(A)}if(p){p.has="hit";this.#Et(p,A)}return true}else if(p){p.has="stale";this.#Et(p,A)}}else if(p){p.has="miss"}return false}peek(i,c={}){const{allowStale:d=this.allowStale}=c;const p=this.#$e.get(i);if(p===undefined||!d&&this.#At(p)){return}const A=this.#Je[p];return this.#ct(A)?A.__staleWhileFetching:A}#ut(i,c,d,p){const A=c===undefined?undefined:this.#Je[c];if(this.#ct(A)){return A}const S=new C;const{signal:v}=d;v?.addEventListener("abort",(()=>S.abort(v.reason)),{signal:S.signal});const _={signal:S.signal,options:d,context:p};const cb=(p,A=false)=>{const{aborted:C}=S.signal;const v=d.ignoreFetchAbort&&p!==undefined;if(d.status){if(C&&!A){d.status.fetchAborted=true;d.status.fetchError=S.signal.reason;if(v)d.status.fetchAbortIgnored=true}else{d.status.fetchResolved=true}}if(C&&!v&&!A){return fetchFail(S.signal.reason)}const V=T;if(this.#Je[c]===T){if(p===undefined){if(V.__staleWhileFetching){this.#Je[c]=V.__staleWhileFetching}else{this.delete(i)}}else{if(d.status)d.status.fetchUpdated=true;this.set(i,p,_.options)}}return p};const eb=i=>{if(d.status){d.status.fetchRejected=true;d.status.fetchError=i}return fetchFail(i)};const fetchFail=p=>{const{aborted:A}=S.signal;const C=A&&d.allowStaleOnFetchAbort;const v=C||d.allowStaleOnFetchRejection;const _=v||d.noDeleteOnFetchRejection;const V=T;if(this.#Je[c]===T){const d=!_||V.__staleWhileFetching===undefined;if(d){this.delete(i)}else if(!C){this.#Je[c]=V.__staleWhileFetching}}if(v){if(d.status&&V.__staleWhileFetching!==undefined){d.status.returnedStale=true}return V.__staleWhileFetching}else if(V.__returned===V){throw p}};const pcall=(c,p)=>{const C=this.#Ve?.(i,A,_);if(C&&C instanceof Promise){C.then((i=>c(i===undefined?undefined:i)),p)}S.signal.addEventListener("abort",(()=>{if(!d.ignoreFetchAbort||d.allowStaleOnFetchAbort){c(undefined);if(d.allowStaleOnFetchAbort){c=i=>cb(i,true)}}}))};if(d.status)d.status.fetchDispatched=true;const T=new Promise(pcall).then(cb,eb);const V=Object.assign(T,{__abortController:S,__staleWhileFetching:A,__returned:undefined});if(c===undefined){this.set(i,V,{..._.options,status:undefined});c=this.#$e.get(i)}else{this.#Je[c]=V}return V}#ct(i){if(!this.#at)return false;const c=i;return!!c&&c instanceof Promise&&c.hasOwnProperty("__staleWhileFetching")&&c.__abortController instanceof C}async fetch(i,c={}){const{allowStale:d=this.allowStale,updateAgeOnGet:p=this.updateAgeOnGet,noDeleteOnStaleGet:A=this.noDeleteOnStaleGet,ttl:C=this.ttl,noDisposeOnSet:S=this.noDisposeOnSet,size:v=0,sizeCalculation:_=this.sizeCalculation,noUpdateTTL:T=this.noUpdateTTL,noDeleteOnFetchRejection:V=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:Z=this.allowStaleOnFetchRejection,ignoreFetchAbort:ee=this.ignoreFetchAbort,allowStaleOnFetchAbort:te=this.allowStaleOnFetchAbort,context:re,forceRefresh:ne=false,status:ie,signal:se}=c;if(!this.#at){if(ie)ie.fetch="get";return this.get(i,{allowStale:d,updateAgeOnGet:p,noDeleteOnStaleGet:A,status:ie})}const oe={allowStale:d,updateAgeOnGet:p,noDeleteOnStaleGet:A,ttl:C,noDisposeOnSet:S,size:v,sizeCalculation:_,noUpdateTTL:T,noDeleteOnFetchRejection:V,allowStaleOnFetchRejection:Z,allowStaleOnFetchAbort:te,ignoreFetchAbort:ee,status:ie,signal:se};let ae=this.#$e.get(i);if(ae===undefined){if(ie)ie.fetch="miss";const c=this.#ut(i,ae,oe,re);return c.__returned=c}else{const c=this.#Je[ae];if(this.#ct(c)){const i=d&&c.__staleWhileFetching!==undefined;if(ie){ie.fetch="inflight";if(i)ie.returnedStale=true}return i?c.__staleWhileFetching:c.__returned=c}const A=this.#At(ae);if(!ne&&!A){if(ie)ie.fetch="hit";this.#dt(ae);if(p){this.#yt(ae)}if(ie)this.#Et(ie,ae);return c}const C=this.#ut(i,ae,oe,re);const S=C.__staleWhileFetching!==undefined;const v=S&&d;if(ie){ie.fetch=A?"stale":"refresh";if(v&&A)ie.returnedStale=true}return v?C.__staleWhileFetching:C.__returned=C}}get(i,c={}){const{allowStale:d=this.allowStale,updateAgeOnGet:p=this.updateAgeOnGet,noDeleteOnStaleGet:A=this.noDeleteOnStaleGet,status:C}=c;const S=this.#$e.get(i);if(S!==undefined){const c=this.#Je[S];const v=this.#ct(c);if(C)this.#Et(C,S);if(this.#At(S)){if(C)C.get="stale";if(!v){if(!A){this.delete(i)}if(C&&d)C.returnedStale=true;return d?c:undefined}else{if(C&&d&&c.__staleWhileFetching!==undefined){C.returnedStale=true}return d?c.__staleWhileFetching:undefined}}else{if(C)C.get="hit";if(v){return c.__staleWhileFetching}this.#dt(S);if(p){this.#yt(S)}return c}}else if(C){C.get="miss"}}#vt(i,c){this.#Xe[c]=i;this.#Ke[i]=c}#dt(i){if(i!==this.#et){if(i===this.#Ze){this.#Ze=this.#Ke[i]}else{this.#vt(this.#Xe[i],this.#Ke[i])}this.#vt(this.#et,i);this.#et=i}}delete(i){let c=false;if(this.#te!==0){const d=this.#$e.get(i);if(d!==undefined){c=true;if(this.#te===1){this.clear()}else{this.#bt(d);const c=this.#Je[d];if(this.#ct(c)){c.__abortController.abort(new Error("deleted"))}else if(this.#ot||this.#lt){if(this.#ot){this.#Ge?.(c,i,"delete")}if(this.#lt){this.#rt?.push([c,i,"delete"])}}this.#$e.delete(i);this.#Ye[d]=undefined;this.#Je[d]=undefined;if(d===this.#et){this.#et=this.#Xe[d]}else if(d===this.#Ze){this.#Ze=this.#Ke[d]}else{const i=this.#Xe[d];this.#Ke[i]=this.#Ke[d];const c=this.#Ke[d];this.#Xe[c]=this.#Xe[d]}this.#te--;this.#tt.push(d)}}}if(this.#lt&&this.#rt?.length){const i=this.#rt;let c;while(c=i?.shift()){this.#ze?.(...c)}}return c}clear(){for(const i of this.#pt({allowStale:true})){const c=this.#Je[i];if(this.#ct(c)){c.__abortController.abort(new Error("deleted"))}else{const d=this.#Ye[i];if(this.#ot){this.#Ge?.(c,d,"delete")}if(this.#lt){this.#rt?.push([c,d,"delete"])}}}this.#$e.clear();this.#Je.fill(undefined);this.#Ye.fill(undefined);if(this.#st&&this.#it){this.#st.fill(0);this.#it.fill(0)}if(this.#nt){this.#nt.fill(0)}this.#Ze=0;this.#et=0;this.#tt.length=0;this.#We=0;this.#te=0;if(this.#lt&&this.#rt){const i=this.#rt;let c;while(c=i?.shift()){this.#ze?.(...c)}}}}c.LRUCache=LRUCache},84928:i=>{"use strict";function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i}const c=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function ensureBuffer(i){if(Buffer.isBuffer(i)){return i}if(typeof i==="number"){return Buffer.alloc(i)}else if(typeof i==="string"){return Buffer.from(i)}else{throw new Error("input must be buffer, number, or string, received "+typeof i)}}function bufferizeInt(i){const c=ensureBuffer(4);c.writeInt32BE(i,0);return c}function _crc32(i,d){i=ensureBuffer(i);if(Buffer.isBuffer(d)){d=d.readUInt32BE(0)}let p=~~d^-1;for(var A=0;A<i.length;A++){p=c[(p^i[A])&255]^p>>>8}return p^-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 d=crc32;const p=getDefaultExportFromCjs(d);i.exports=p},61110:(i,c)=>{"use strict";class CsvError extends Error{constructor(i,c,d,...p){if(Array.isArray(c))c=c.join(" ").trim();super(c);if(Error.captureStackTrace!==undefined){Error.captureStackTrace(this,CsvError)}this.code=i;for(const i of p){for(const c in i){const p=i[c];this[c]=Buffer.isBuffer(p)?p.toString(d.encoding):p==null?p:JSON.parse(JSON.stringify(p))}}}}const is_object=function(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)};const normalize_columns_array=function(i){const c=[];for(let d=0,p=i.length;d<p;d++){const p=i[d];if(p===undefined||p===null||p===false){c[d]={disabled:true}}else if(typeof p==="string"){c[d]={name:p}}else if(is_object(p)){if(typeof p.name!=="string"){throw new CsvError("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${d}`,"when column is an object literal"])}c[d]=p}else{throw new CsvError("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(p)} at position ${d}`])}}return c};class ResizeableBuffer{constructor(i=100){this.size=i;this.length=0;this.buf=Buffer.allocUnsafe(i)}prepend(i){if(Buffer.isBuffer(i)){const c=this.length+i.length;if(c>=this.size){this.resize();if(c>=this.size){throw Error("INVALID_BUFFER_STATE")}}const d=this.buf;this.buf=Buffer.allocUnsafe(this.size);i.copy(this.buf,0);d.copy(this.buf,i.length);this.length+=i.length}else{const c=this.length++;if(c===this.size){this.resize()}const d=this.clone();this.buf[0]=i;d.copy(this.buf,1,0,c)}}append(i){const c=this.length++;if(c===this.size){this.resize()}this.buf[c]=i}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){const i=this.length;this.size=this.size*2;const c=Buffer.allocUnsafe(this.size);this.buf.copy(c,0,0,i);this.buf=c}toString(i){if(i){return this.buf.slice(0,this.length).toString(i)}else{return Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const d=12;const p=13;const A=10;const C=32;const S=9;const init_state=function(i){return{bomSkipped:false,bufBytesStart:0,castField:i.cast_function,commenting:false,error:undefined,enabled:i.from_line===1,escaping:false,escapeIsQuote:Buffer.isBuffer(i.escape)&&Buffer.isBuffer(i.quote)&&Buffer.compare(i.escape,i.quote)===0,expectedRecordLength:Array.isArray(i.columns)?i.columns.length:undefined,field:new ResizeableBuffer(20),firstLineToHeaders:i.cast_first_line_to_header,needMoreDataSize:Math.max(i.comment!==null?i.comment.length:0,...i.delimiter.map((i=>i.length)),i.quote!==null?i.quote.length:0),previousBuf:undefined,quoting:false,stop:false,rawBuffer:new ResizeableBuffer(100),record:[],recordHasError:false,record_length:0,recordDelimiterMaxLength:i.record_delimiter.length===0?0:Math.max(...i.record_delimiter.map((i=>i.length))),trimChars:[Buffer.from(" ",i.encoding)[0],Buffer.from("\t",i.encoding)[0]],wasQuoting:false,wasRowDelimiter:false,timchars:[Buffer.from(Buffer.from([p],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([A],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([d],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([C],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([S],"utf8").toString(),i.encoding)]}};const underscore=function(i){return i.replace(/([A-Z])/g,(function(i,c){return"_"+c.toLowerCase()}))};const normalize_options=function(i){const c={};for(const d in i){c[underscore(d)]=i[d]}if(c.encoding===undefined||c.encoding===true){c.encoding="utf8"}else if(c.encoding===null||c.encoding===false){c.encoding=null}else if(typeof c.encoding!=="string"&&c.encoding!==null){throw new CsvError("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(c.encoding)}`],c)}if(c.bom===undefined||c.bom===null||c.bom===false){c.bom=false}else if(c.bom!==true){throw new CsvError("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(c.bom)}`],c)}c.cast_function=null;if(c.cast===undefined||c.cast===null||c.cast===false||c.cast===""){c.cast=undefined}else if(typeof c.cast==="function"){c.cast_function=c.cast;c.cast=true}else if(c.cast!==true){throw new CsvError("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(c.cast)}`],c)}if(c.cast_date===undefined||c.cast_date===null||c.cast_date===false||c.cast_date===""){c.cast_date=false}else if(c.cast_date===true){c.cast_date=function(i){const c=Date.parse(i);return!isNaN(c)?new Date(c):i}}else if(typeof c.cast_date!=="function"){throw new CsvError("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(c.cast_date)}`],c)}c.cast_first_line_to_header=undefined;if(c.columns===true){c.cast_first_line_to_header=undefined}else if(typeof c.columns==="function"){c.cast_first_line_to_header=c.columns;c.columns=true}else if(Array.isArray(c.columns)){c.columns=normalize_columns_array(c.columns)}else if(c.columns===undefined||c.columns===null||c.columns===false){c.columns=false}else{throw new CsvError("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(c.columns)}`],c)}if(c.group_columns_by_name===undefined||c.group_columns_by_name===null||c.group_columns_by_name===false){c.group_columns_by_name=false}else if(c.group_columns_by_name!==true){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(c.group_columns_by_name)}`],c)}else if(c.columns===false){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],c)}if(c.comment===undefined||c.comment===null||c.comment===false||c.comment===""){c.comment=null}else{if(typeof c.comment==="string"){c.comment=Buffer.from(c.comment,c.encoding)}if(!Buffer.isBuffer(c.comment)){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(c.comment)}`],c)}}if(c.comment_no_infix===undefined||c.comment_no_infix===null||c.comment_no_infix===false){c.comment_no_infix=false}else if(c.comment_no_infix!==true){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(c.comment_no_infix)}`],c)}const d=JSON.stringify(c.delimiter);if(!Array.isArray(c.delimiter))c.delimiter=[c.delimiter];if(c.delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${d}`],c)}c.delimiter=c.delimiter.map((function(i){if(i===undefined||i===null||i===false){return Buffer.from(",",c.encoding)}if(typeof i==="string"){i=Buffer.from(i,c.encoding)}if(!Buffer.isBuffer(i)||i.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${d}`],c)}return i}));if(c.escape===undefined||c.escape===true){c.escape=Buffer.from('"',c.encoding)}else if(typeof c.escape==="string"){c.escape=Buffer.from(c.escape,c.encoding)}else if(c.escape===null||c.escape===false){c.escape=null}if(c.escape!==null){if(!Buffer.isBuffer(c.escape)){throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(c.escape)}`)}}if(c.from===undefined||c.from===null){c.from=1}else{if(typeof c.from==="string"&&/\d+/.test(c.from)){c.from=parseInt(c.from)}if(Number.isInteger(c.from)){if(c.from<0){throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(i.from)}`)}}else{throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(c.from)}`)}}if(c.from_line===undefined||c.from_line===null){c.from_line=1}else{if(typeof c.from_line==="string"&&/\d+/.test(c.from_line)){c.from_line=parseInt(c.from_line)}if(Number.isInteger(c.from_line)){if(c.from_line<=0){throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(i.from_line)}`)}}else{throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(i.from_line)}`)}}if(c.ignore_last_delimiters===undefined||c.ignore_last_delimiters===null){c.ignore_last_delimiters=false}else if(typeof c.ignore_last_delimiters==="number"){c.ignore_last_delimiters=Math.floor(c.ignore_last_delimiters);if(c.ignore_last_delimiters===0){c.ignore_last_delimiters=false}}else if(typeof c.ignore_last_delimiters!=="boolean"){throw new CsvError("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(c.ignore_last_delimiters)}`],c)}if(c.ignore_last_delimiters===true&&c.columns===false){throw new CsvError("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],c)}if(c.info===undefined||c.info===null||c.info===false){c.info=false}else if(c.info!==true){throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(c.info)}`)}if(c.max_record_size===undefined||c.max_record_size===null||c.max_record_size===false){c.max_record_size=0}else if(Number.isInteger(c.max_record_size)&&c.max_record_size>=0);else if(typeof c.max_record_size==="string"&&/\d+/.test(c.max_record_size)){c.max_record_size=parseInt(c.max_record_size)}else{throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(c.max_record_size)}`)}if(c.objname===undefined||c.objname===null||c.objname===false){c.objname=undefined}else if(Buffer.isBuffer(c.objname)){if(c.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty buffer`)}if(c.encoding===null);else{c.objname=c.objname.toString(c.encoding)}}else if(typeof c.objname==="string"){if(c.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty string`)}}else if(typeof c.objname==="number");else{throw new Error(`Invalid Option: objname must be a string or a buffer, got ${c.objname}`)}if(c.objname!==undefined){if(typeof c.objname==="number"){if(c.columns!==false){throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}}else{if(c.columns===false){throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}}}if(c.on_record===undefined||c.on_record===null){c.on_record=undefined}else if(typeof c.on_record!=="function"){throw new CsvError("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(c.on_record)}`],c)}if(c.on_skip!==undefined&&c.on_skip!==null&&typeof c.on_skip!=="function"){throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(c.on_skip)}`)}if(c.quote===null||c.quote===false||c.quote===""){c.quote=null}else{if(c.quote===undefined||c.quote===true){c.quote=Buffer.from('"',c.encoding)}else if(typeof c.quote==="string"){c.quote=Buffer.from(c.quote,c.encoding)}if(!Buffer.isBuffer(c.quote)){throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(c.quote)}`)}}if(c.raw===undefined||c.raw===null||c.raw===false){c.raw=false}else if(c.raw!==true){throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(c.raw)}`)}if(c.record_delimiter===undefined){c.record_delimiter=[]}else if(typeof c.record_delimiter==="string"||Buffer.isBuffer(c.record_delimiter)){if(c.record_delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(c.record_delimiter)}`],c)}c.record_delimiter=[c.record_delimiter]}else if(!Array.isArray(c.record_delimiter)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(c.record_delimiter)}`],c)}c.record_delimiter=c.record_delimiter.map((function(i,d){if(typeof i!=="string"&&!Buffer.isBuffer(i)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${d},`,`got ${JSON.stringify(i)}`],c)}else if(i.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${d},`,`got ${JSON.stringify(i)}`],c)}if(typeof i==="string"){i=Buffer.from(i,c.encoding)}return i}));if(typeof c.relax_column_count==="boolean");else if(c.relax_column_count===undefined||c.relax_column_count===null){c.relax_column_count=false}else{throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(c.relax_column_count)}`)}if(typeof c.relax_column_count_less==="boolean");else if(c.relax_column_count_less===undefined||c.relax_column_count_less===null){c.relax_column_count_less=false}else{throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(c.relax_column_count_less)}`)}if(typeof c.relax_column_count_more==="boolean");else if(c.relax_column_count_more===undefined||c.relax_column_count_more===null){c.relax_column_count_more=false}else{throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(c.relax_column_count_more)}`)}if(typeof c.relax_quotes==="boolean");else if(c.relax_quotes===undefined||c.relax_quotes===null){c.relax_quotes=false}else{throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(c.relax_quotes)}`)}if(typeof c.skip_empty_lines==="boolean");else if(c.skip_empty_lines===undefined||c.skip_empty_lines===null){c.skip_empty_lines=false}else{throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(c.skip_empty_lines)}`)}if(typeof c.skip_records_with_empty_values==="boolean");else if(c.skip_records_with_empty_values===undefined||c.skip_records_with_empty_values===null){c.skip_records_with_empty_values=false}else{throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(c.skip_records_with_empty_values)}`)}if(typeof c.skip_records_with_error==="boolean");else if(c.skip_records_with_error===undefined||c.skip_records_with_error===null){c.skip_records_with_error=false}else{throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(c.skip_records_with_error)}`)}if(c.rtrim===undefined||c.rtrim===null||c.rtrim===false){c.rtrim=false}else if(c.rtrim!==true){throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(c.rtrim)}`)}if(c.ltrim===undefined||c.ltrim===null||c.ltrim===false){c.ltrim=false}else if(c.ltrim!==true){throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(c.ltrim)}`)}if(c.trim===undefined||c.trim===null||c.trim===false){c.trim=false}else if(c.trim!==true){throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(c.trim)}`)}if(c.trim===true&&i.ltrim!==false){c.ltrim=true}else if(c.ltrim!==true){c.ltrim=false}if(c.trim===true&&i.rtrim!==false){c.rtrim=true}else if(c.rtrim!==true){c.rtrim=false}if(c.to===undefined||c.to===null){c.to=-1}else if(c.to!==-1){if(typeof c.to==="string"&&/\d+/.test(c.to)){c.to=parseInt(c.to)}if(Number.isInteger(c.to)){if(c.to<=0){throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(i.to)}`)}}else{throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(i.to)}`)}}if(c.to_line===undefined||c.to_line===null){c.to_line=-1}else if(c.to_line!==-1){if(typeof c.to_line==="string"&&/\d+/.test(c.to_line)){c.to_line=parseInt(c.to_line)}if(Number.isInteger(c.to_line)){if(c.to_line<=0){throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(i.to_line)}`)}}else{throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(i.to_line)}`)}}return c};const isRecordEmpty=function(i){return i.every((i=>i==null||i.toString&&i.toString().trim()===""))};const v=13;const _=10;const T={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])};const transform=function(i={}){const c={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0};const d=normalize_options(i);return{info:c,original_options:i,options:d,state:init_state(d),__needMoreData:function(i,c,d){if(d)return false;const{encoding:p,escape:A,quote:C}=this.options;const{quoting:S,needMoreDataSize:v,recordDelimiterMaxLength:_}=this.state;const T=c-i-1;const V=Math.max(v,_===0?Buffer.from("\r\n",p).length:_,S?(A===null?0:A.length)+C.length:0,S?C.length+_:0);return T<V},parse:function(i,c,d,p){const{bom:A,comment_no_infix:C,encoding:S,from_line:V,ltrim:Z,max_record_size:ee,raw:te,relax_quotes:re,rtrim:ne,skip_empty_lines:ie,to:se,to_line:oe}=this.options;let{comment:ae,escape:le,quote:ce,record_delimiter:ue}=this.options;const{bomSkipped:de,previousBuf:fe,rawBuffer:pe,escapeIsQuote:Ae}=this.state;let he;if(fe===undefined){if(i===undefined){p();return}else{he=i}}else if(fe!==undefined&&i===undefined){he=fe}else{he=Buffer.concat([fe,i])}if(de===false){if(A===false){this.state.bomSkipped=true}else if(he.length<3){if(c===false){this.state.previousBuf=he;return}}else{for(const i in T){if(T[i].compare(he,0,T[i].length)===0){const c=T[i].length;this.state.bufBytesStart+=c;he=he.slice(c);const d=normalize_options({...this.original_options,encoding:i});for(const i in d){this.options[i]=d[i]}({comment:ae,escape:le,quote:ce}=this.options);break}}this.state.bomSkipped=true}}const ge=he.length;let me;for(me=0;me<ge;me++){if(this.__needMoreData(me,ge,c)){break}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}if(oe!==-1&&this.info.lines>oe){this.state.stop=true;p();return}if(this.state.quoting===false&&ue.length===0){const i=this.__autoDiscoverRecordDelimiter(he,me);if(i){ue=this.options.record_delimiter}}const i=he[me];if(te===true){pe.append(i)}if((i===v||i===_)&&this.state.wasRowDelimiter===false){this.state.wasRowDelimiter=true}if(this.state.escaping===true){this.state.escaping=false}else{if(le!==null&&this.state.quoting===true&&this.__isEscape(he,me,i)&&me+le.length<ge){if(Ae){if(this.__isQuote(he,me+le.length)){this.state.escaping=true;me+=le.length-1;continue}}else{this.state.escaping=true;me+=le.length-1;continue}}if(this.state.commenting===false&&this.__isQuote(he,me)){if(this.state.quoting===true){const c=he[me+ce.length];const d=ne&&this.__isCharTrimable(he,me+ce.length);const p=ae!==null&&this.__compareBytes(ae,he,me+ce.length,c);const A=this.__isDelimiter(he,me+ce.length,c);const C=ue.length===0?this.__autoDiscoverRecordDelimiter(he,me+ce.length):this.__isRecordDelimiter(c,he,me+ce.length);if(le!==null&&this.__isEscape(he,me,i)&&this.__isQuote(he,me+le.length)){me+=le.length-1}else if(!c||A||C||p||d){this.state.quoting=false;this.state.wasQuoting=true;me+=ce.length-1;continue}else if(re===false){const i=this.__error(new CsvError("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(c)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(i!==undefined)return i}else{this.state.quoting=false;this.state.wasQuoting=true;this.state.field.prepend(ce);me+=ce.length-1}}else{if(this.state.field.length!==0){if(re===false){const i=this.__infoField();const c=Object.keys(T).map((i=>T[i].equals(this.state.field.toString())?i:false)).filter(Boolean)[0];const d=this.__error(new CsvError("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(i.column)} at line ${i.lines}, value is ${JSON.stringify(this.state.field.toString(S))}`,c?`(${c} bom)`:undefined],this.options,i,{field:this.state.field}));if(d!==undefined)return d}}else{this.state.quoting=true;me+=ce.length-1;continue}}}if(this.state.quoting===false){const c=this.__isRecordDelimiter(i,he,me);if(c!==0){const i=this.state.commenting&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0;if(i){this.info.comment_lines++}else{if(this.state.enabled===false&&this.info.lines+(this.state.wasRowDelimiter===true?1:0)>=V){this.state.enabled=true;this.__resetField();this.__resetRecord();me+=c-1;continue}if(ie===true&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++;me+=c-1;continue}this.info.bytes=this.state.bufBytesStart+me;const i=this.__onField();if(i!==undefined)return i;this.info.bytes=this.state.bufBytesStart+me+c;const A=this.__onRecord(d);if(A!==undefined)return A;if(se!==-1&&this.info.records>=se){this.state.stop=true;p();return}}this.state.commenting=false;me+=c-1;continue}if(this.state.commenting){continue}if(ae!==null&&(C===false||this.state.record.length===0&&this.state.field.length===0)){const c=this.__compareBytes(ae,he,me,i);if(c!==0){this.state.commenting=true;continue}}const A=this.__isDelimiter(he,me,i);if(A!==0){this.info.bytes=this.state.bufBytesStart+me;const i=this.__onField();if(i!==undefined)return i;me+=A-1;continue}}}if(this.state.commenting===false){if(ee!==0&&this.state.record_length+this.state.field.length>ee){return this.__error(new CsvError("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${ee}`,`at line ${this.info.lines}`],this.options,this.__infoField()))}}const A=Z===false||this.state.quoting===true||this.state.field.length!==0||!this.__isCharTrimable(he,me);const de=ne===false||this.state.wasQuoting===false;if(A===true&&de===true){this.state.field.append(i)}else if(ne===true&&!this.__isCharTrimable(he,me)){return this.__error(new CsvError("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}else{if(A===false){me+=this.__isCharTrimable(he,me)-1}continue}}if(c===true){if(this.state.quoting===true){const i=this.__error(new CsvError("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(i!==undefined)return i}else{if(this.state.wasQuoting===true||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+me;const i=this.__onField();if(i!==undefined)return i;const c=this.__onRecord(d);if(c!==undefined)return c}else if(this.state.wasRowDelimiter===true){this.info.empty_lines++}else if(this.state.commenting===true){this.info.comment_lines++}}}else{this.state.bufBytesStart+=me;this.state.previousBuf=he.slice(me)}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}},__onRecord:function(i){const{columns:c,group_columns_by_name:d,encoding:p,info:A,from:C,relax_column_count:S,relax_column_count_less:v,relax_column_count_more:_,raw:T,skip_records_with_empty_values:V}=this.options;const{enabled:Z,record:ee}=this.state;if(Z===false){return this.__resetRecord()}const te=ee.length;if(c===true){if(V===true&&isRecordEmpty(ee)){this.__resetRecord();return}return this.__firstLineToColumns(ee)}if(c===false&&this.info.records===0){this.state.expectedRecordLength=te}if(te!==this.state.expectedRecordLength){const i=c===false?new CsvError("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${te} on line ${this.info.lines}`],this.options,this.__infoField(),{record:ee}):new CsvError("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${c.length},`,`got ${te} on line ${this.info.lines}`],this.options,this.__infoField(),{record:ee});if(S===true||v===true&&te<this.state.expectedRecordLength||_===true&&te>this.state.expectedRecordLength){this.info.invalid_field_length++;this.state.error=i}else{const c=this.__error(i);if(c)return c}}if(V===true&&isRecordEmpty(ee)){this.__resetRecord();return}if(this.state.recordHasError===true){this.__resetRecord();this.state.recordHasError=false;return}this.info.records++;if(C===1||this.info.records>=C){const{objname:C}=this.options;if(c!==false){const S={};for(let i=0,p=ee.length;i<p;i++){if(c[i]===undefined||c[i].disabled)continue;if(d===true&&S[c[i].name]!==undefined){if(Array.isArray(S[c[i].name])){S[c[i].name]=S[c[i].name].concat(ee[i])}else{S[c[i].name]=[S[c[i].name],ee[i]]}}else{S[c[i].name]=ee[i]}}if(T===true||A===true){const c=Object.assign({record:S},T===true?{raw:this.state.rawBuffer.toString(p)}:{},A===true?{info:this.__infoRecord()}:{});const d=this.__push(C===undefined?c:[S[C],c],i);if(d){return d}}else{const c=this.__push(C===undefined?S:[S[C],S],i);if(c){return c}}}else{if(T===true||A===true){const c=Object.assign({record:ee},T===true?{raw:this.state.rawBuffer.toString(p)}:{},A===true?{info:this.__infoRecord()}:{});const d=this.__push(C===undefined?c:[ee[C],c],i);if(d){return d}}else{const c=this.__push(C===undefined?ee:[ee[C],ee],i);if(c){return c}}}}this.__resetRecord()},__firstLineToColumns:function(i){const{firstLineToHeaders:c}=this.state;try{const d=c===undefined?i:c.call(null,i);if(!Array.isArray(d)){return this.__error(new CsvError("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(d)}`],this.options,this.__infoField(),{headers:d}))}const p=normalize_columns_array(d);this.state.expectedRecordLength=p.length;this.options.columns=p;this.__resetRecord();return}catch(i){return i}},__resetRecord:function(){if(this.options.raw===true){this.state.rawBuffer.reset()}this.state.error=undefined;this.state.record=[];this.state.record_length=0},__onField:function(){const{cast:i,encoding:c,rtrim:d,max_record_size:p}=this.options;const{enabled:A,wasQuoting:C}=this.state;if(A===false){return this.__resetField()}let S=this.state.field.toString(c);if(d===true&&C===false){S=S.trimRight()}if(i===true){const[i,c]=this.__cast(S);if(i!==undefined)return i;S=c}this.state.record.push(S);if(p!==0&&typeof S==="string"){this.state.record_length+=S.length}this.__resetField()},__resetField:function(){this.state.field.reset();this.state.wasQuoting=false},__push:function(i,c){const{on_record:d}=this.options;if(d!==undefined){const c=this.__infoRecord();try{i=d.call(null,i,c)}catch(i){return i}if(i===undefined||i===null){return}}c(i)},__cast:function(i){const{columns:c,relax_column_count:d}=this.options;const p=Array.isArray(c);if(p===true&&d&&this.options.columns.length<=this.state.record.length){return[undefined,undefined]}if(this.state.castField!==null){try{const c=this.__infoField();return[undefined,this.state.castField.call(null,i,c)]}catch(i){return[i]}}if(this.__isFloat(i)){return[undefined,parseFloat(i)]}else if(this.options.cast_date!==false){const c=this.__infoField();return[undefined,this.options.cast_date.call(null,i,c)]}return[undefined,i]},__isCharTrimable:function(i,c){const isTrim=(i,c)=>{const{timchars:d}=this.state;e:for(let p=0;p<d.length;p++){const A=d[p];for(let d=0;d<A.length;d++){if(A[d]!==i[c+d])continue e}return A.length}return 0};return isTrim(i,c)},__isFloat:function(i){return i-parseFloat(i)+1>=0},__compareBytes:function(i,c,d,p){if(i[0]!==p)return 0;const A=i.length;for(let p=1;p<A;p++){if(i[p]!==c[d+p])return 0}return A},__isDelimiter:function(i,c,d){const{delimiter:p,ignore_last_delimiters:A}=this.options;if(A===true&&this.state.record.length===this.options.columns.length-1){return 0}else if(A!==false&&typeof A==="number"&&this.state.record.length===A-1){return 0}e:for(let A=0;A<p.length;A++){const C=p[A];if(C[0]===d){for(let d=1;d<C.length;d++){if(C[d]!==i[c+d])continue e}return C.length}}return 0},__isRecordDelimiter:function(i,c,d){const{record_delimiter:p}=this.options;const A=p.length;e:for(let C=0;C<A;C++){const A=p[C];const S=A.length;if(A[0]!==i){continue}for(let i=1;i<S;i++){if(A[i]!==c[d+i]){continue e}}return A.length}return 0},__isEscape:function(i,c,d){const{escape:p}=this.options;if(p===null)return false;const A=p.length;if(p[0]===d){for(let d=0;d<A;d++){if(p[d]!==i[c+d]){return false}}return true}return false},__isQuote:function(i,c){const{quote:d}=this.options;if(d===null)return false;const p=d.length;for(let A=0;A<p;A++){if(d[A]!==i[c+A]){return false}}return true},__autoDiscoverRecordDelimiter:function(i,c){const{encoding:d}=this.options;const p=[Buffer.from("\r\n",d),Buffer.from("\n",d),Buffer.from("\r",d)];e:for(let d=0;d<p.length;d++){const A=p[d].length;for(let C=0;C<A;C++){if(p[d][C]!==i[c+C]){continue e}}this.options.record_delimiter.push(p[d]);this.state.recordDelimiterMaxLength=p[d].length;return p[d].length}return 0},__error:function(i){const{encoding:c,raw:d,skip_records_with_error:p}=this.options;const A=typeof i==="string"?new Error(i):i;if(p){this.state.recordHasError=true;if(this.options.on_skip!==undefined){try{this.options.on_skip(A,d?this.state.rawBuffer.toString(c):undefined)}catch(A){return A}}return undefined}else{return A}},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){const{columns:i,raw:c,encoding:d}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:i===true,index:this.state.record.length,raw:c?this.state.rawBuffer.toString(d):undefined}},__infoField:function(){const{columns:i}=this.options;const c=Array.isArray(i);return{...this.__infoRecord(),column:c===true?i.length>this.state.record.length?i[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};const parse=function(i,c={}){if(typeof i==="string"){i=Buffer.from(i)}const d=c&&c.objname?{}:[];const p=transform(c);const push=i=>{if(p.options.objname===undefined)d.push(i);else{d[i[0]]=i[1]}};const close=()=>{};const A=p.parse(i,true,push,close);if(A!==undefined)throw A;return d};c.CsvError=CsvError;c.parse=parse},50591:i=>{(()=>{"use strict";var c={d:(i,d)=>{for(var p in d)c.o(d,p)&&!c.o(i,p)&&Object.defineProperty(i,p,{enumerable:!0,get:d[p]})},o:(i,c)=>Object.prototype.hasOwnProperty.call(i,c),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},d={};c.r(d),c.d(d,{XMLBuilder:()=>lt,XMLParser:()=>tt,XMLValidator:()=>oe});const p=":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",A=new RegExp("^["+p+"]["+p+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(i,c){const d=[];let p=c.exec(i);for(;p;){const A=[];A.startIndex=c.lastIndex-p[0].length;const C=p.length;for(let i=0;i<C;i++)A.push(p[i]);d.push(A),p=c.exec(i)}return d}const r=function(i){return!(null==A.exec(i))},C={allowBooleanAttributes:!1,unpairedTags:[]};function a(i,c){c=Object.assign({},C,c);const d=[];let p=!1,A=!1;"\ufeff"===i[0]&&(i=i.substr(1));for(let C=0;C<i.length;C++)if("<"===i[C]&&"?"===i[C+1]){if(C+=2,C=u(i,C),C.err)return C}else{if("<"!==i[C]){if(l(i[C]))continue;return x("InvalidChar","char '"+i[C]+"' is not expected.",b(i,C))}{let S=C;if(C++,"!"===i[C]){C=h(i,C);continue}{let v=!1;"/"===i[C]&&(v=!0,C++);let _="";for(;C<i.length&&">"!==i[C]&&" "!==i[C]&&"\t"!==i[C]&&"\n"!==i[C]&&"\r"!==i[C];C++)_+=i[C];if(_=_.trim(),"/"===_[_.length-1]&&(_=_.substring(0,_.length-1),C--),!r(_)){let c;return c=0===_.trim().length?"Invalid space after '<'.":"Tag '"+_+"' is an invalid name.",x("InvalidTag",c,b(i,C))}const T=f(i,C);if(!1===T)return x("InvalidAttr","Attributes for '"+_+"' have open quote.",b(i,C));let V=T.value;if(C=T.index,"/"===V[V.length-1]){const d=C-V.length;V=V.substring(0,V.length-1);const A=g(V,c);if(!0!==A)return x(A.err.code,A.err.msg,b(i,d+A.err.line));p=!0}else if(v){if(!T.tagClosed)return x("InvalidTag","Closing tag '"+_+"' doesn't have proper closing.",b(i,C));if(V.trim().length>0)return x("InvalidTag","Closing tag '"+_+"' can't have attributes or invalid starting.",b(i,S));if(0===d.length)return x("InvalidTag","Closing tag '"+_+"' has not been opened.",b(i,S));{const c=d.pop();if(_!==c.tagName){let d=b(i,c.tagStartPos);return x("InvalidTag","Expected closing tag '"+c.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+_+"'.",b(i,S))}0==d.length&&(A=!0)}}else{const v=g(V,c);if(!0!==v)return x(v.err.code,v.err.msg,b(i,C-V.length+v.err.line));if(!0===A)return x("InvalidXml","Multiple possible root nodes found.",b(i,C));-1!==c.unpairedTags.indexOf(_)||d.push({tagName:_,tagStartPos:S}),p=!0}for(C++;C<i.length;C++)if("<"===i[C]){if("!"===i[C+1]){C++,C=h(i,C);continue}if("?"!==i[C+1])break;if(C=u(i,++C),C.err)return C}else if("&"===i[C]){const c=m(i,C);if(-1==c)return x("InvalidChar","char '&' is not expected.",b(i,C));C=c}else if(!0===A&&!l(i[C]))return x("InvalidXml","Extra text at the end",b(i,C));"<"===i[C]&&C--}}}return p?1==d.length?x("InvalidTag","Unclosed tag '"+d[0].tagName+"'.",b(i,d[0].tagStartPos)):!(d.length>0)||x("InvalidXml","Invalid '"+JSON.stringify(d.map((i=>i.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(i){return" "===i||"\t"===i||"\n"===i||"\r"===i}function u(i,c){const d=c;for(;c<i.length;c++)if("?"!=i[c]&&" "!=i[c]);else{const p=i.substr(d,c-d);if(c>5&&"xml"===p)return x("InvalidXml","XML declaration allowed only at the start of the document.",b(i,c));if("?"==i[c]&&">"==i[c+1]){c++;break}}return c}function h(i,c){if(i.length>c+5&&"-"===i[c+1]&&"-"===i[c+2]){for(c+=3;c<i.length;c++)if("-"===i[c]&&"-"===i[c+1]&&">"===i[c+2]){c+=2;break}}else if(i.length>c+8&&"D"===i[c+1]&&"O"===i[c+2]&&"C"===i[c+3]&&"T"===i[c+4]&&"Y"===i[c+5]&&"P"===i[c+6]&&"E"===i[c+7]){let d=1;for(c+=8;c<i.length;c++)if("<"===i[c])d++;else if(">"===i[c]&&(d--,0===d))break}else if(i.length>c+9&&"["===i[c+1]&&"C"===i[c+2]&&"D"===i[c+3]&&"A"===i[c+4]&&"T"===i[c+5]&&"A"===i[c+6]&&"["===i[c+7])for(c+=8;c<i.length;c++)if("]"===i[c]&&"]"===i[c+1]&&">"===i[c+2]){c+=2;break}return c}const S='"',v="'";function f(i,c){let d="",p="",A=!1;for(;c<i.length;c++){if(i[c]===S||i[c]===v)""===p?p=i[c]:p!==i[c]||(p="");else if(">"===i[c]&&""===p){A=!0;break}d+=i[c]}return""===p&&{value:d,index:c,tagClosed:A}}const _=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(i,c){const d=s(i,_),p={};for(let i=0;i<d.length;i++){if(0===d[i][1].length)return x("InvalidAttr","Attribute '"+d[i][2]+"' has no space in starting.",E(d[i]));if(void 0!==d[i][3]&&void 0===d[i][4])return x("InvalidAttr","Attribute '"+d[i][2]+"' is without value.",E(d[i]));if(void 0===d[i][3]&&!c.allowBooleanAttributes)return x("InvalidAttr","boolean attribute '"+d[i][2]+"' is not allowed.",E(d[i]));const A=d[i][2];if(!N(A))return x("InvalidAttr","Attribute '"+A+"' is an invalid name.",E(d[i]));if(p.hasOwnProperty(A))return x("InvalidAttr","Attribute '"+A+"' is repeated.",E(d[i]));p[A]=1}return!0}function m(i,c){if(";"===i[++c])return-1;if("#"===i[c])return function(i,c){let d=/\d/;for("x"===i[c]&&(c++,d=/[\da-fA-F]/);c<i.length;c++){if(";"===i[c])return c;if(!i[c].match(d))break}return-1}(i,++c);let d=0;for(;c<i.length;c++,d++)if(!(i[c].match(/\w/)&&d<20)){if(";"===i[c])break;return-1}return c}function x(i,c,d){return{err:{code:i,msg:c,line:d.line||d,col:d.col}}}function N(i){return r(i)}function b(i,c){const d=i.substring(0,c).split(/\r?\n/);return{line:d.length,col:d[d.length-1].length+1}}function E(i){return i.startIndex+i[1].length}const T={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(i,c){return c},attributeValueProcessor:function(i,c){return c},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(i,c,d){return i},captureMetaData:!1};let V;V="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class y{constructor(i){this.tagname=i,this.child=[],this[":@"]={}}add(i,c){"__proto__"===i&&(i="#__proto__"),this.child.push({[i]:c})}addChild(i,c){"__proto__"===i.tagname&&(i.tagname="#__proto__"),i[":@"]&&Object.keys(i[":@"]).length>0?this.child.push({[i.tagname]:i.child,":@":i[":@"]}):this.child.push({[i.tagname]:i.child}),void 0!==c&&(this.child[this.child.length-1][V]={startIndex:c})}static getMetaDataSymbol(){return V}}class w{constructor(i){this.suppressValidationErr=!i}readDocType(i,c){const d={};if("O"!==i[c+3]||"C"!==i[c+4]||"T"!==i[c+5]||"Y"!==i[c+6]||"P"!==i[c+7]||"E"!==i[c+8])throw new Error("Invalid Tag instead of DOCTYPE");{c+=9;let p=1,A=!1,C=!1,S="";for(;c<i.length;c++)if("<"!==i[c]||C)if(">"===i[c]){if(C?"-"===i[c-1]&&"-"===i[c-2]&&(C=!1,p--):p--,0===p)break}else"["===i[c]?A=!0:S+=i[c];else{if(A&&P(i,"!ENTITY",c)){let p,A;c+=7,[p,A,c]=this.readEntityExp(i,c+1,this.suppressValidationErr),-1===A.indexOf("&")&&(d[p]={regx:RegExp(`&${p};`,"g"),val:A})}else if(A&&P(i,"!ELEMENT",c)){c+=8;const{index:d}=this.readElementExp(i,c+1);c=d}else if(A&&P(i,"!ATTLIST",c))c+=8;else if(A&&P(i,"!NOTATION",c)){c+=9;const{index:d}=this.readNotationExp(i,c+1,this.suppressValidationErr);c=d}else{if(!P(i,"!--",c))throw new Error("Invalid DOCTYPE");C=!0}p++,S=""}if(0!==p)throw new Error("Unclosed DOCTYPE")}return{entities:d,i:c}}readEntityExp(i,c){c=I(i,c);let d="";for(;c<i.length&&!/\s/.test(i[c])&&'"'!==i[c]&&"'"!==i[c];)d+=i[c],c++;if(O(d),c=I(i,c),!this.suppressValidationErr){if("SYSTEM"===i.substring(c,c+6).toUpperCase())throw new Error("External entities are not supported");if("%"===i[c])throw new Error("Parameter entities are not supported")}let p="";return[c,p]=this.readIdentifierVal(i,c,"entity"),[d,p,--c]}readNotationExp(i,c){c=I(i,c);let d="";for(;c<i.length&&!/\s/.test(i[c]);)d+=i[c],c++;!this.suppressValidationErr&&O(d),c=I(i,c);const p=i.substring(c,c+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==p&&"PUBLIC"!==p)throw new Error(`Expected SYSTEM or PUBLIC, found "${p}"`);c+=p.length,c=I(i,c);let A=null,C=null;if("PUBLIC"===p)[c,A]=this.readIdentifierVal(i,c,"publicIdentifier"),'"'!==i[c=I(i,c)]&&"'"!==i[c]||([c,C]=this.readIdentifierVal(i,c,"systemIdentifier"));else if("SYSTEM"===p&&([c,C]=this.readIdentifierVal(i,c,"systemIdentifier"),!this.suppressValidationErr&&!C))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:d,publicIdentifier:A,systemIdentifier:C,index:--c}}readIdentifierVal(i,c,d){let p="";const A=i[c];if('"'!==A&&"'"!==A)throw new Error(`Expected quoted string, found "${A}"`);for(c++;c<i.length&&i[c]!==A;)p+=i[c],c++;if(i[c]!==A)throw new Error(`Unterminated ${d} value`);return[++c,p]}readElementExp(i,c){c=I(i,c);let d="";for(;c<i.length&&!/\s/.test(i[c]);)d+=i[c],c++;if(!this.suppressValidationErr&&!r(d))throw new Error(`Invalid element name: "${d}"`);let p="";if("E"===i[c=I(i,c)]&&P(i,"MPTY",c))c+=4;else if("A"===i[c]&&P(i,"NY",c))c+=2;else if("("===i[c]){for(c++;c<i.length&&")"!==i[c];)p+=i[c],c++;if(")"!==i[c])throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${i[c]}"`);return{elementName:d,contentModel:p.trim(),index:c}}readAttlistExp(i,c){c=I(i,c);let d="";for(;c<i.length&&!/\s/.test(i[c]);)d+=i[c],c++;O(d),c=I(i,c);let p="";for(;c<i.length&&!/\s/.test(i[c]);)p+=i[c],c++;if(!O(p))throw new Error(`Invalid attribute name: "${p}"`);c=I(i,c);let A="";if("NOTATION"===i.substring(c,c+8).toUpperCase()){if(A="NOTATION","("!==i[c=I(i,c+=8)])throw new Error(`Expected '(', found "${i[c]}"`);c++;let d=[];for(;c<i.length&&")"!==i[c];){let p="";for(;c<i.length&&"|"!==i[c]&&")"!==i[c];)p+=i[c],c++;if(p=p.trim(),!O(p))throw new Error(`Invalid notation name: "${p}"`);d.push(p),"|"===i[c]&&(c++,c=I(i,c))}if(")"!==i[c])throw new Error("Unterminated list of notations");c++,A+=" ("+d.join("|")+")"}else{for(;c<i.length&&!/\s/.test(i[c]);)A+=i[c],c++;const d=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!d.includes(A.toUpperCase()))throw new Error(`Invalid attribute type: "${A}"`)}c=I(i,c);let C="";return"#REQUIRED"===i.substring(c,c+8).toUpperCase()?(C="#REQUIRED",c+=8):"#IMPLIED"===i.substring(c,c+7).toUpperCase()?(C="#IMPLIED",c+=7):[c,C]=this.readIdentifierVal(i,c,"ATTLIST"),{elementName:d,attributeName:p,attributeType:A,defaultValue:C,index:c}}}const I=(i,c)=>{for(;c<i.length&&/\s/.test(i[c]);)c++;return c};function P(i,c,d){for(let p=0;p<c.length;p++)if(c[p]!==i[d+p+1])return!1;return!0}function O(i){if(r(i))return i;throw new Error(`Invalid entity name ${i}`)}const Z=/^[-+]?0x[a-fA-F0-9]+$/,ee=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,te={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};const re=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function $(i){return"function"==typeof i?i:Array.isArray(i)?c=>{for(const d of i){if("string"==typeof d&&c===d)return!0;if(d instanceof RegExp&&d.test(c))return!0}}:()=>!1}class D{constructor(i){if(this.options=i,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:(i,c)=>String.fromCodePoint(Number.parseInt(c,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(i,c)=>String.fromCodePoint(Number.parseInt(c,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 i=0;i<this.options.stopNodes.length;i++){const c=this.options.stopNodes[i];"string"==typeof c&&(c.startsWith("*.")?this.stopNodesWildcard.add(c.substring(2)):this.stopNodesExact.add(c))}}}}function j(i){const c=Object.keys(i);for(let d=0;d<c.length;d++){const p=c[d];this.lastEntities[p]={regex:new RegExp("&"+p+";","g"),val:i[p]}}}function M(i,c,d,p,A,C,S){if(void 0!==i&&(this.options.trimValues&&!p&&(i=i.trim()),i.length>0)){S||(i=this.replaceEntitiesValue(i));const p=this.options.tagValueProcessor(c,i,d,A,C);return null==p?i:typeof p!=typeof i||p!==i?p:this.options.trimValues||i.trim()===i?q(i,this.options.parseTagValue,this.options.numberParseOptions):i}}function F(i){if(this.options.removeNSPrefix){const c=i.split(":"),d="/"===i.charAt(0)?"/":"";if("xmlns"===c[0])return"";2===c.length&&(i=d+c[1])}return i}const ne=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function k(i,c){if(!0!==this.options.ignoreAttributes&&"string"==typeof i){const d=s(i,ne),p=d.length,A={};for(let i=0;i<p;i++){const p=this.resolveNameSpace(d[i][1]);if(this.ignoreAttributesFn(p,c))continue;let C=d[i][4],S=this.options.attributeNamePrefix+p;if(p.length)if(this.options.transformAttributeName&&(S=this.options.transformAttributeName(S)),"__proto__"===S&&(S="#__proto__"),void 0!==C){this.options.trimValues&&(C=C.trim()),C=this.replaceEntitiesValue(C);const i=this.options.attributeValueProcessor(p,C,c);A[S]=null==i?C:typeof i!=typeof C||i!==C?i:q(C,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(A[S]=!0)}if(!Object.keys(A).length)return;if(this.options.attributesGroupName){const i={};return i[this.options.attributesGroupName]=A,i}return A}}const L=function(i){i=i.replace(/\r\n?/g,"\n");const c=new y("!xml");let d=c,p="",A="";const C=new w(this.options.processEntities);for(let S=0;S<i.length;S++)if("<"===i[S])if("/"===i[S+1]){const c=G(i,">",S,"Closing Tag is not closed.");let C=i.substring(S+2,c).trim();if(this.options.removeNSPrefix){const i=C.indexOf(":");-1!==i&&(C=C.substr(i+1))}this.options.transformTagName&&(C=this.options.transformTagName(C)),d&&(p=this.saveTextToParentTag(p,d,A));const v=A.substring(A.lastIndexOf(".")+1);if(C&&-1!==this.options.unpairedTags.indexOf(C))throw new Error(`Unpaired tag can not be used as closing tag: </${C}>`);let _=0;v&&-1!==this.options.unpairedTags.indexOf(v)?(_=A.lastIndexOf(".",A.lastIndexOf(".")-1),this.tagsNodeStack.pop()):_=A.lastIndexOf("."),A=A.substring(0,_),d=this.tagsNodeStack.pop(),p="",S=c}else if("?"===i[S+1]){let c=X(i,S,!1,"?>");if(!c)throw new Error("Pi Tag is not closed.");if(p=this.saveTextToParentTag(p,d,A),this.options.ignoreDeclaration&&"?xml"===c.tagName||this.options.ignorePiTags);else{const i=new y(c.tagName);i.add(this.options.textNodeName,""),c.tagName!==c.tagExp&&c.attrExpPresent&&(i[":@"]=this.buildAttributesMap(c.tagExp,A)),this.addChild(d,i,A,S)}S=c.closeIndex+1}else if("!--"===i.substr(S+1,3)){const c=G(i,"--\x3e",S+4,"Comment is not closed.");if(this.options.commentPropName){const C=i.substring(S+4,c-2);p=this.saveTextToParentTag(p,d,A),d.add(this.options.commentPropName,[{[this.options.textNodeName]:C}])}S=c}else if("!D"===i.substr(S+1,2)){const c=C.readDocType(i,S);this.docTypeEntities=c.entities,S=c.i}else if("!["===i.substr(S+1,2)){const c=G(i,"]]>",S,"CDATA is not closed.")-2,C=i.substring(S+9,c);p=this.saveTextToParentTag(p,d,A);let v=this.parseTextData(C,d.tagname,A,!0,!1,!0,!0);null==v&&(v=""),this.options.cdataPropName?d.add(this.options.cdataPropName,[{[this.options.textNodeName]:C}]):d.add(this.options.textNodeName,v),S=c+2}else{let C=X(i,S,this.options.removeNSPrefix),v=C.tagName;const _=C.rawTagName;let T=C.tagExp,V=C.attrExpPresent,Z=C.closeIndex;if(this.options.transformTagName){const i=this.options.transformTagName(v);T===v&&(T=i),v=i}d&&p&&"!xml"!==d.tagname&&(p=this.saveTextToParentTag(p,d,A,!1));const ee=d;ee&&-1!==this.options.unpairedTags.indexOf(ee.tagname)&&(d=this.tagsNodeStack.pop(),A=A.substring(0,A.lastIndexOf("."))),v!==c.tagname&&(A+=A?"."+v:v);const te=S;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,A,v)){let c="";if(T.length>0&&T.lastIndexOf("/")===T.length-1)"/"===v[v.length-1]?(v=v.substr(0,v.length-1),A=A.substr(0,A.length-1),T=v):T=T.substr(0,T.length-1),S=C.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(v))S=C.closeIndex;else{const d=this.readStopNodeData(i,_,Z+1);if(!d)throw new Error(`Unexpected end of ${_}`);S=d.i,c=d.tagContent}const p=new y(v);v!==T&&V&&(p[":@"]=this.buildAttributesMap(T,A)),c&&(c=this.parseTextData(c,v,A,!0,V,!0,!0)),A=A.substr(0,A.lastIndexOf(".")),p.add(this.options.textNodeName,c),this.addChild(d,p,A,te)}else{if(T.length>0&&T.lastIndexOf("/")===T.length-1){if("/"===v[v.length-1]?(v=v.substr(0,v.length-1),A=A.substr(0,A.length-1),T=v):T=T.substr(0,T.length-1),this.options.transformTagName){const i=this.options.transformTagName(v);T===v&&(T=i),v=i}const i=new y(v);v!==T&&V&&(i[":@"]=this.buildAttributesMap(T,A)),this.addChild(d,i,A,te),A=A.substr(0,A.lastIndexOf("."))}else{const i=new y(v);this.tagsNodeStack.push(d),v!==T&&V&&(i[":@"]=this.buildAttributesMap(T,A)),this.addChild(d,i,A,te),d=i}p="",S=Z}}else p+=i[S];return c.child};function U(i,c,d,p){this.options.captureMetaData||(p=void 0);const A=this.options.updateTag(c.tagname,d,c[":@"]);!1===A||("string"==typeof A?(c.tagname=A,i.addChild(c,p)):i.addChild(c,p))}const B=function(i){if(this.options.processEntities){for(let c in this.docTypeEntities){const d=this.docTypeEntities[c];i=i.replace(d.regx,d.val)}for(let c in this.lastEntities){const d=this.lastEntities[c];i=i.replace(d.regex,d.val)}if(this.options.htmlEntities)for(let c in this.htmlEntities){const d=this.htmlEntities[c];i=i.replace(d.regex,d.val)}i=i.replace(this.ampEntity.regex,this.ampEntity.val)}return i};function R(i,c,d,p){return i&&(void 0===p&&(p=0===c.child.length),void 0!==(i=this.parseTextData(i,c.tagname,d,!1,!!c[":@"]&&0!==Object.keys(c[":@"]).length,p))&&""!==i&&c.add(this.options.textNodeName,i),i=""),i}function Y(i,c,d,p){return!(!c||!c.has(p))||!(!i||!i.has(d))}function G(i,c,d,p){const A=i.indexOf(c,d);if(-1===A)throw new Error(p);return A+c.length-1}function X(i,c,d,p=">"){const A=function(i,c,d=">"){let p,A="";for(let C=c;C<i.length;C++){let c=i[C];if(p)c===p&&(p="");else if('"'===c||"'"===c)p=c;else if(c===d[0]){if(!d[1])return{data:A,index:C};if(i[C+1]===d[1])return{data:A,index:C}}else"\t"===c&&(c=" ");A+=c}}(i,c+1,p);if(!A)return;let C=A.data;const S=A.index,v=C.search(/\s/);let _=C,T=!0;-1!==v&&(_=C.substring(0,v),C=C.substring(v+1).trimStart());const V=_;if(d){const i=_.indexOf(":");-1!==i&&(_=_.substr(i+1),T=_!==A.data.substr(i+1))}return{tagName:_,tagExp:C,closeIndex:S,attrExpPresent:T,rawTagName:V}}function W(i,c,d){const p=d;let A=1;for(;d<i.length;d++)if("<"===i[d])if("/"===i[d+1]){const C=G(i,">",d,`${c} is not closed`);if(i.substring(d+2,C).trim()===c&&(A--,0===A))return{tagContent:i.substring(p,d),i:C};d=C}else if("?"===i[d+1])d=G(i,"?>",d+1,"StopNode is not closed.");else if("!--"===i.substr(d+1,3))d=G(i,"--\x3e",d+3,"StopNode is not closed.");else if("!["===i.substr(d+1,2))d=G(i,"]]>",d,"StopNode is not closed.")-2;else{const p=X(i,d,">");p&&((p&&p.tagName)===c&&"/"!==p.tagExp[p.tagExp.length-1]&&A++,d=p.closeIndex)}}function q(i,c,d){if(c&&"string"==typeof i){const c=i.trim();return"true"===c||"false"!==c&&function(i,c={}){if(c=Object.assign({},te,c),!i||"string"!=typeof i)return i;let d=i.trim();if(void 0!==c.skipLike&&c.skipLike.test(d))return i;if("0"===i)return 0;if(c.hex&&Z.test(d))return function(i){if(parseInt)return parseInt(i,16);if(Number.parseInt)return Number.parseInt(i,16);if(window&&window.parseInt)return window.parseInt(i,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(d);if(-1!==d.search(/.+[eE].+/))return function(i,c,d){if(!d.eNotation)return i;const p=c.match(re);if(p){let A=p[1]||"";const C=-1===p[3].indexOf("e")?"E":"e",S=p[2],v=A?i[S.length+1]===C:i[S.length]===C;return S.length>1&&v?i:1!==S.length||!p[3].startsWith(`.${C}`)&&p[3][0]!==C?d.leadingZeros&&!v?(c=(p[1]||"")+p[3],Number(c)):i:Number(c)}return i}(i,d,c);{const A=ee.exec(d);if(A){const C=A[1]||"",S=A[2];let v=(p=A[3])&&-1!==p.indexOf(".")?("."===(p=p.replace(/0+$/,""))?p="0":"."===p[0]?p="0"+p:"."===p[p.length-1]&&(p=p.substring(0,p.length-1)),p):p;const _=C?"."===i[S.length+1]:"."===i[S.length];if(!c.leadingZeros&&(S.length>1||1===S.length&&!_))return i;{const p=Number(d),A=String(p);if(0===p||-0===p)return p;if(-1!==A.search(/[eE]/))return c.eNotation?p:i;if(-1!==d.indexOf("."))return"0"===A||A===v||A===`${C}${v}`?p:i;let _=S?v:d;return S?_===A||C+_===A?p:i:_===A||_===C+A?p:i}}return i}var p}(i,d)}return void 0!==i?i:""}const ie=y.getMetaDataSymbol();function K(i,c){return Q(i,c)}function Q(i,c,d){let p;const A={};for(let C=0;C<i.length;C++){const S=i[C],v=z(S);let _="";if(_=void 0===d?v:d+"."+v,v===c.textNodeName)void 0===p?p=S[v]:p+=""+S[v];else{if(void 0===v)continue;if(S[v]){let i=Q(S[v],c,_);const d=H(i,c);void 0!==S[ie]&&(i[ie]=S[ie]),S[":@"]?J(i,S[":@"],_,c):1!==Object.keys(i).length||void 0===i[c.textNodeName]||c.alwaysCreateTextNode?0===Object.keys(i).length&&(c.alwaysCreateTextNode?i[c.textNodeName]="":i=""):i=i[c.textNodeName],void 0!==A[v]&&A.hasOwnProperty(v)?(Array.isArray(A[v])||(A[v]=[A[v]]),A[v].push(i)):c.isArray(v,_,d)?A[v]=[i]:A[v]=i}}}return"string"==typeof p?p.length>0&&(A[c.textNodeName]=p):void 0!==p&&(A[c.textNodeName]=p),A}function z(i){const c=Object.keys(i);for(let i=0;i<c.length;i++){const d=c[i];if(":@"!==d)return d}}function J(i,c,d,p){if(c){const A=Object.keys(c),C=A.length;for(let S=0;S<C;S++){const C=A[S];p.isArray(C,d+"."+C,!0,!0)?i[C]=[c[C]]:i[C]=c[C]}}}function H(i,c){const{textNodeName:d}=c,p=Object.keys(i).length;return 0===p||!(1!==p||!i[d]&&"boolean"!=typeof i[d]&&0!==i[d])}class tt{constructor(i){this.externalEntities={},this.options=function(i){return Object.assign({},T,i)}(i)}parse(i,c){if("string"!=typeof i&&i.toString)i=i.toString();else if("string"!=typeof i)throw new Error("XML data is accepted in String or Bytes[] form.");if(c){!0===c&&(c={});const d=a(i,c);if(!0!==d)throw Error(`${d.err.msg}:${d.err.line}:${d.err.col}`)}const d=new D(this.options);d.addExternalEntities(this.externalEntities);const p=d.parseXml(i);return this.options.preserveOrder||void 0===p?p:K(p,this.options)}addEntity(i,c){if(-1!==c.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==i.indexOf("&")||-1!==i.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if("&"===c)throw new Error("An entity with value '&' is not permitted");this.externalEntities[i]=c}static getMetaDataSymbol(){return y.getMetaDataSymbol()}}function et(i,c){let d="";return c.format&&c.indentBy.length>0&&(d="\n"),it(i,c,"",d)}function it(i,c,d,p){let A="",C=!1;for(let S=0;S<i.length;S++){const v=i[S],_=nt(v);if(void 0===_)continue;let T="";if(T=0===d.length?_:`${d}.${_}`,_===c.textNodeName){let i=v[_];rt(T,c)||(i=c.tagValueProcessor(_,i),i=ot(i,c)),C&&(A+=p),A+=i,C=!1;continue}if(_===c.cdataPropName){C&&(A+=p),A+=`<![CDATA[${v[_][0][c.textNodeName]}]]>`,C=!1;continue}if(_===c.commentPropName){A+=p+`\x3c!--${v[_][0][c.textNodeName]}--\x3e`,C=!0;continue}if("?"===_[0]){const i=st(v[":@"],c),d="?xml"===_?"":p;let S=v[_][0][c.textNodeName];S=0!==S.length?" "+S:"",A+=d+`<${_}${S}${i}?>`,C=!0;continue}let V=p;""!==V&&(V+=c.indentBy);const Z=p+`<${_}${st(v[":@"],c)}`,ee=it(v[_],c,T,V);-1!==c.unpairedTags.indexOf(_)?c.suppressUnpairedNode?A+=Z+">":A+=Z+"/>":ee&&0!==ee.length||!c.suppressEmptyNode?ee&&ee.endsWith(">")?A+=Z+`>${ee}${p}</${_}>`:(A+=Z+">",ee&&""!==p&&(ee.includes("/>")||ee.includes("</"))?A+=p+c.indentBy+ee+p:A+=ee,A+=`</${_}>`):A+=Z+"/>",C=!0}return A}function nt(i){const c=Object.keys(i);for(let d=0;d<c.length;d++){const p=c[d];if(i.hasOwnProperty(p)&&":@"!==p)return p}}function st(i,c){let d="";if(i&&!c.ignoreAttributes)for(let p in i){if(!i.hasOwnProperty(p))continue;let A=c.attributeValueProcessor(p,i[p]);A=ot(A,c),!0===A&&c.suppressBooleanAttributes?d+=` ${p.substr(c.attributeNamePrefix.length)}`:d+=` ${p.substr(c.attributeNamePrefix.length)}="${A}"`}return d}function rt(i,c){let d=(i=i.substr(0,i.length-c.textNodeName.length-1)).substr(i.lastIndexOf(".")+1);for(let p in c.stopNodes)if(c.stopNodes[p]===i||c.stopNodes[p]==="*."+d)return!0;return!1}function ot(i,c){if(i&&i.length>0&&c.processEntities)for(let d=0;d<c.entities.length;d++){const p=c.entities[d];i=i.replace(p.regex,p.val)}return i}const se={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(i,c){return c},attributeValueProcessor:function(i,c){return c},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function lt(i){this.options=Object.assign({},se,i),!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(i,c,d,p){const A=this.j2x(i,d+1,p.concat(c));return void 0!==i[this.options.textNodeName]&&1===Object.keys(i).length?this.buildTextValNode(i[this.options.textNodeName],c,A.attrStr,d):this.buildObjectNode(A.val,c,A.attrStr,d)}function ht(i){return this.options.indentBy.repeat(i)}function dt(i){return!(!i.startsWith(this.options.attributeNamePrefix)||i===this.options.textNodeName)&&i.substr(this.attrPrefixLen)}lt.prototype.build=function(i){return this.options.preserveOrder?et(i,this.options):(Array.isArray(i)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(i={[this.options.arrayNodeName]:i}),this.j2x(i,0,[]).val)},lt.prototype.j2x=function(i,c,d){let p="",A="";const C=d.join(".");for(let S in i)if(Object.prototype.hasOwnProperty.call(i,S))if(void 0===i[S])this.isAttribute(S)&&(A+="");else if(null===i[S])this.isAttribute(S)||S===this.options.cdataPropName?A+="":"?"===S[0]?A+=this.indentate(c)+"<"+S+"?"+this.tagEndChar:A+=this.indentate(c)+"<"+S+"/"+this.tagEndChar;else if(i[S]instanceof Date)A+=this.buildTextValNode(i[S],S,"",c);else if("object"!=typeof i[S]){const d=this.isAttribute(S);if(d&&!this.ignoreAttributesFn(d,C))p+=this.buildAttrPairStr(d,""+i[S]);else if(!d)if(S===this.options.textNodeName){let c=this.options.tagValueProcessor(S,""+i[S]);A+=this.replaceEntitiesValue(c)}else A+=this.buildTextValNode(i[S],S,"",c)}else if(Array.isArray(i[S])){const p=i[S].length;let C="",v="";for(let _=0;_<p;_++){const p=i[S][_];if(void 0===p);else if(null===p)"?"===S[0]?A+=this.indentate(c)+"<"+S+"?"+this.tagEndChar:A+=this.indentate(c)+"<"+S+"/"+this.tagEndChar;else if("object"==typeof p)if(this.options.oneListGroup){const i=this.j2x(p,c+1,d.concat(S));C+=i.val,this.options.attributesGroupName&&p.hasOwnProperty(this.options.attributesGroupName)&&(v+=i.attrStr)}else C+=this.processTextOrObjNode(p,S,c,d);else if(this.options.oneListGroup){let i=this.options.tagValueProcessor(S,p);i=this.replaceEntitiesValue(i),C+=i}else C+=this.buildTextValNode(p,S,"",c)}this.options.oneListGroup&&(C=this.buildObjectNode(C,S,v,c)),A+=C}else if(this.options.attributesGroupName&&S===this.options.attributesGroupName){const c=Object.keys(i[S]),d=c.length;for(let A=0;A<d;A++)p+=this.buildAttrPairStr(c[A],""+i[S][c[A]])}else A+=this.processTextOrObjNode(i[S],S,c,d);return{attrStr:p,val:A}},lt.prototype.buildAttrPairStr=function(i,c){return c=this.options.attributeValueProcessor(i,""+c),c=this.replaceEntitiesValue(c),this.options.suppressBooleanAttributes&&"true"===c?" "+i:" "+i+'="'+c+'"'},lt.prototype.buildObjectNode=function(i,c,d,p){if(""===i)return"?"===c[0]?this.indentate(p)+"<"+c+d+"?"+this.tagEndChar:this.indentate(p)+"<"+c+d+this.closeTag(c)+this.tagEndChar;{let A="</"+c+this.tagEndChar,C="";return"?"===c[0]&&(C="?",A=""),!d&&""!==d||-1!==i.indexOf("<")?!1!==this.options.commentPropName&&c===this.options.commentPropName&&0===C.length?this.indentate(p)+`\x3c!--${i}--\x3e`+this.newLine:this.indentate(p)+"<"+c+d+C+this.tagEndChar+i+this.indentate(p)+A:this.indentate(p)+"<"+c+d+C+">"+i+A}},lt.prototype.closeTag=function(i){let c="";return-1!==this.options.unpairedTags.indexOf(i)?this.options.suppressUnpairedNode||(c="/"):c=this.options.suppressEmptyNode?"/":`></${i}`,c},lt.prototype.buildTextValNode=function(i,c,d,p){if(!1!==this.options.cdataPropName&&c===this.options.cdataPropName)return this.indentate(p)+`<![CDATA[${i}]]>`+this.newLine;if(!1!==this.options.commentPropName&&c===this.options.commentPropName)return this.indentate(p)+`\x3c!--${i}--\x3e`+this.newLine;if("?"===c[0])return this.indentate(p)+"<"+c+d+"?"+this.tagEndChar;{let A=this.options.tagValueProcessor(c,i);return A=this.replaceEntitiesValue(A),""===A?this.indentate(p)+"<"+c+d+this.closeTag(c)+this.tagEndChar:this.indentate(p)+"<"+c+d+">"+A+"</"+c+this.tagEndChar}},lt.prototype.replaceEntitiesValue=function(i){if(i&&i.length>0&&this.options.processEntities)for(let c=0;c<this.options.entities.length;c++){const d=this.options.entities[c];i=i.replace(d.regex,d.val)}return i};const oe={validate:a};i.exports=d})()},2822:i=>{"use strict";i.exports=JSON.parse('{"name":"@actions/artifact","version":"5.0.1","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":"^2.0.0","@actions/github":"^6.0.1","@actions/http-client":"^3.0.0","@azure/storage-blob":"^12.29.1","@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"}}')},64012:i=>{"use strict";i.exports=JSON.parse('{"name":"@actions/cache","version":"5.0.1","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.0","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1","semver":"^6.3.1"},"devDependencies":{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')}};var c={};function __nccwpck_require__(d){var p=c[d];if(p!==undefined){return p.exports}var A=c[d]={id:d,loaded:false,exports:{}};var C=true;try{i[d].call(A.exports,A,A.exports,__nccwpck_require__);C=false}finally{if(C)delete c[d]}A.loaded=true;return A.exports}(()=>{__nccwpck_require__.nmd=i=>{i.paths=[];if(!i.children)i.children=[];return i}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var d=__nccwpck_require__(41730);module.exports=d})();
|
||
//# sourceMappingURL=index.js.map |