Files
docker-login/dist/index.js

91 lines
3.4 MiB
JavaScript
Raw Normal View History

2026-01-30 14:42:57 +00:00
require('./sourcemap-register.js');(()=>{var i={76846:function(i,d,p){"use strict";var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});const K=p(64487);V(p(13776),d);V(p(45655),d);V(p(64487),d);const ee=new K.DefaultArtifactClient;d["default"]=ee},35592:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class Timestamp$Type extends ne.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 d=Date.now();i.seconds=re.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;return i}toDate(i){return new Date(re.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const d=this.create();const p=i.getTime();d.seconds=re.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(i,d){let p=re.PbLong.from(i.seconds).toNumber()*1e3;if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let v="Z";if(i.nanos>0){let d=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")v="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")v="."+d.substring(0,6)+"Z";else v="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",v)}internalJsonRead(i,d,p){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,te.typeofJsonValue)(i)+".");let v=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(!v)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let V=Date.parse(v[1]+"-"+v[2]+"-"+v[3]+"T"+v[4]+":"+v[5]+":"+v[6]+(v[8]?v[8]:"Z"));if(Number.isNaN(V))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(V<Date.parse("0001-01-01T00:00:00Z")||V>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!p)p=this.create();p.seconds=re.PbLong.from(V/1e3).toString();p.nanos=0;if(v[7])p.nanos=parseInt("1"+v[7]+"0".repeat(9-v[7].length))-1e9;return p}create(i){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos<ee){let[d,v]=i.tag();switch(d){case 1:K.seconds=i.int64().toString();break;case 2:K.nanos=i.int32();break;default:let ee=p.readUnknownField;if(ee==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${v}) for ${this.typeName}`);let te=i.skip(v);if(ee!==false)(ee===true?V.UnknownFieldHandler.onRead:ee)(this.typeName,K,d,v,te)}}return K}internalBinaryWrite(i,d,p){if(i.seconds!=="0")d.tag(1,v.WireType.Varint).int64(i.seconds);if(i.nanos!==0)d.tag(2,v.WireType.Varint).int32(i.nanos);let K=p.writeUnknownFields;if(K!==false)(K==true?V.UnknownFieldHandler.onWrite:K)(this.typeName,i,d);return d}}d.Timestamp=new Timestamp$Type},78806:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const
/*! 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 v=[];const V=new Uint8Array([13,10]);se=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=me.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);se+=i.byteLength}else{const i=me.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){se+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=me.encode(`--${d}--\r\n`);v.push(ee);se+=ee.byteLength;if(K){se=null}ne=i;re=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};ie=`multipart/form-data; boundary=${d}`}else if(K(i)){ne=i;se=i.size;if(i.type){ie=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof ReadableStream?i:V(i)}if(typeof ne==="string"||v.isBuffer(ne)){se=Buffer.byteLength(ne)}if(re!=null){let d;p=new ReadableStream({async start(){d=re(i)[Symbol.asyncIterator]()},async pull(i){const{value:v,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!Ae(p)){const d=new Uint8Array(v);if(d.byteLength){i.enqueue(d)}}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}const oe={stream:p,source:ne,length:se};return[oe,ie]}function safelyExtractBody(i,d=false){if(i instanceof ReadableStream){ue(!v.isDisturbed(i),"The body has already been consumed.");ue(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i,d){const[p,v]=d.stream.tee();d.stream=p;return{stream:v,length:d.length,source:d.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return consumeBody(this,(i=>{let d=bodyMimeType(this);if(d===null){d=""}else if(d){d=fe(d)}return new le([i],{type:d})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,ie,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const d=bodyMimeType(this);if(d!==null){switch(d.essence){case"multipart/form-data":{const p=he(i,d);if(p==="failure"){throw new TypeError("Failed to parse body as FormData.")}const v=new oe;v[ae]=p;return v}case"application/x-www-form-urlencoded":{const d=new URLSearchParams(i.toString());const p=new oe;for(const[i,v]of d){p.append(i,v)}return p}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,d,p){ce.brandCheck(i,p);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[ae]);const v=re();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[ae].body==null){successSteps(Buffer.allocUnsafe(0));return v.promise}await ne(i[ae].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){const d=i[ae].body;return d!=null&&(d.stream.locked||v.isDisturbed(d.stream))}function parseJSONFromBytes(i){return JSON.parse(ie(i))}function bodyMimeType(i){const d=i[ae].headersList;const p=se(d);if(p==="failure"){return null}return p}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:ye,hasFinalizationRegistry:Ee,bodyUnusable:bodyUnusable}},61207:i=>{"use strict";const d=["GET","HEAD","POST"];const p=new Set(d);const v=[101,204,205,304];const V=[301,302,303,30
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */te[ee-4]=p[0];te[ee-3]=p[1];te[ee-2]=p[2];te[ee-1]=p[3];te[1]=K;if(K===126){te.writeUInt16BE(V,2)}else if(K===127){te[2]=te[3]=0;te.writeUIntBE(V,4,6)}te[1]|=128;for(let i=0;i<V;++i){te[ee+i]=d[i]^p[i&3]}return te}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},62869:(i,d,p)=>{"use strict";const{createInflateRaw:v,Z_DEFAULT_WINDOWBITS:V}=p(38522);const{isValidClientWindowBits:K}=p(95673);const ee=Buffer.from([0,0,255,255]);const te=Symbol("kBuffer");const re=Symbol("kLength");class PerMessageDeflate{#$;#p={};constructor(i){this.#p.serverNoContextTakeover=i.has("server_no_context_takeover");this.#p.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,d,p){if(!this.#$){let i=V;if(this.#p.serverMaxWindowBits){if(!K(this.#p.serverMaxWindowBits)){p(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#p.serverMaxWindowBits)}this.#$=v({windowBits:i});this.#$[te]=[];this.#$[re]=0;this.#$.on("data",(i=>{this.#$[te].push(i);this.#$[re]+=i.length}));this.#$.on("error",(i=>{this.#$=null;p(i)}))}this.#$.write(i);if(d){this.#$.write(ee)}this.#$.flush((()=>{const i=Buffer.concat(this.#$[te],this.#$[re]);this.#$[te].length=0;this.#$[re]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},74588:(i,d,p)=>{"use strict";const{Writable:v}=p(57075);const V=p(34589);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re,sentCloseFrameState:ne}=p(21816);const{kReadyState:se,kSentClose:ie,kResponse:oe,kReceivedClose:ae}=p(32456);const{channels:ce}=p(78150);const{isValidStatusCode:le,isValidOpcode:ue,failWebsocketConnection:Ae,websocketMessageReceived:de,utf8Decode:pe,isControlFrame:fe,isTextBinaryFrame:he,isContinuationFrame:ge}=p(95673);const{WebsocketFrameSend:me}=p(69272);const{closeWebSocketConnection:Ee}=p(2569);const{PerMessageDeflate:ye}=p(62869);class ByteParser extends v{#K=[];#X=0;#Z=false;#C=K.INFO;#ee={};#te=[];#re;constructor(i,d){super();this.ws=i;this.#re=d==null?new Map:d;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new ye(d))}}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.#Z=true;this.run(p)}run(i){while(this.#Z){if(this.#C===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);const p=(d[0]&128)!==0;const v=d[0]&15;const V=(d[1]&128)===128;const te=!p&&v!==ee.CONTINUATION;const re=d[1]&127;const ne=d[0]&64;const se=d[0]&32;const ie=d[0]&16;if(!ue(v)){Ae(this.ws,"Invalid opcode received");return i()}if(V){Ae(this.ws,"Frame cannot be masked");return i()}if(ne!==0&&!this.#re.has("permessage-deflate")){Ae(this.ws,"Expected RSV1 to be clear.");return}if(se!==0||ie!==0){Ae(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(te&&!he(v)){Ae(this.ws,"Invalid frame type was fragmented.");return}if(he(v)&&this.#te.length>0){Ae(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&te){Ae(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((re>125||te)&&fe(v)){Ae(this.ws,"Control frame either too large or fragmented");return}if(ge(v)&&this.#te.length===0&&!this.#ee.compressed){Ae(this.ws,"Unexpected continuation frame");return}if(re<=125){this.#ee.payloadLength=re;this.#C=K.READ_DATA}else if(re===126){this.#C=K.PAYLOADLENGTH_16}else if(re===127){this.#C=K.PAYLOADLENGTH_64}if(he(v)){this.#ee.binaryType=v;this.#ee.compressed=ne!==0}this.#ee.opcode=v;this.#ee.masked=V;this.#ee.fin=p;this.#ee.fragmented=te}else if(this.#C===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#C=K.READ_DATA}else if(this.#C===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){Ae(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#C=K.READ_DATA}else if(this.#C===K.READ_DATA){if(this.#X<this.#ee.payloadLength){return i()}const d=this.consume(this.#ee.payloadLength);if(fe(this.#ee.opcode)){this.#Z=this.parseControlFrame(d);this.#C=K.INFO}else{if(!this.#ee.compressed){this.#te.push(d);if(!this.#ee.fragment
/**
* Archiver Vending
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
2026-01-30 13:19:20 +00:00
var v=p(50549);var V={};var vending=function(i,d){return vending.create(i,d)};vending.create=function(i,d){if(V[i]){var p=new v(i,d);p.setFormat(i);p.setModule(new V[i](d));return p}else{throw new Error("create("+i+"): format not registered")}};vending.registerFormat=function(i,d){if(V[i]){throw new Error("register("+i+"): format already registered")}if(typeof d!=="function"){throw new Error("register("+i+"): format module invalid")}if(typeof d.prototype.append!=="function"||typeof d.prototype.finalize!=="function"){throw new Error("register("+i+"): format module missing methods")}V[i]=d};vending.isRegisteredFormat=function(i){if(V[i]){return true}return false};vending.registerFormat("zip",p(22836));vending.registerFormat("tar",p(10396));vending.registerFormat("json",p(54693));i.exports=vending},50549:(i,d,p)=>{
/**
* Archiver Core
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
2026-01-30 13:19:20 +00:00
var v=p(79896);var V=p(51364);var K=p(97329);var ee=p(16928);var te=p(53296);var re=p(39023).inherits;var ne=p(13110);var se=p(29963).Transform;var ie=process.platform==="win32";var Archiver=function(i,d){if(!(this instanceof Archiver)){return new Archiver(i,d)}if(typeof i!=="string"){d=i;i="zip"}d=this.options=te.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});se.call(this,d);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=K.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=K.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};re(Archiver,se);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,d){d=d||{};var p={source:null,filepath:i};if(!d.name){d.name=i}d.sourcePath=i;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof v.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,d,p){if(this._state.aborted){p();return}this._module.append(i,d,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new ne("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,d){i=te.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&i.stats===false){i.stats=d}var p=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=te.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){p=true;i.type="directory"}else if(p){i.name+="/"}}if(typeof i.mode==="number"){if(ie){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(ie){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(ie&&p){i.mode=493}}else if(i.mode===null){i.mode=p?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=te.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._qu
/**
* Archiver Core
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
2026-01-30 13:19:20 +00:00
var v=p(39023);const V={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,d){Error.captureStackTrace(this,this.constructor);this.message=V[i]||i;this.code=i;this.data=d}v.inherits(ArchiverError,Error);d=i.exports=ArchiverError},54693:(i,d,p)=>{
/**
* JSON Format Plugin
*
* @module plugins/json
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
2026-01-30 13:19:20 +00:00
var v=p(39023).inherits;var V=p(29963).Transform;var K=p(84928);var ee=p(53296);var Json=function(i){if(!(this instanceof Json)){return new Json(i)}i=this.options=ee.defaults(i,{});V.call(this,i);this.supports={directory:true,symlink:true};this.files=[]};v(Json,V);Json.prototype._transform=function(i,d,p){p(null,i)};Json.prototype._writeStringified=function(){var i=JSON.stringify(this.files);this.write(i)};Json.prototype.append=function(i,d,p){var v=this;d.crc32=0;function onend(i,V){if(i){p(i);return}d.size=V.length||0;d.crc32=K.unsigned(V);v.files.push(d);p(null,d)}if(d.sourceType==="buffer"){onend(null,i)}else if(d.sourceType==="stream"){ee.collectStream(i,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};i.exports=Json},10396:(i,d,p)=>{
/**
* TAR Format Plugin
*
* @module plugins/tar
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
2026-01-30 13:19:20 +00:00
var v=p(43106);var V=p(56118);var K=p(53296);var Tar=function(i){if(!(this instanceof Tar)){return new Tar(i)}i=this.options=K.defaults(i,{gzip:false});if(typeof i.gzipOptions!=="object"){i.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=V.pack(i);this.compressor=false;if(i.gzip){this.compressor=v.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,d,p){var v=this;d.mtime=d.date;function append(i,V){if(i){p(i);return}v.engine.entry(d,V,(function(i){p(i,d)}))}if(d.sourceType==="buffer"){append(null,i)}else if(d.sourceType==="stream"&&d.stats){d.size=d.stats.size;var V=v.engine.entry(d,(function(i){p(i,d)}));i.pipe(V)}else if(d.sourceType==="stream"){K.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,d){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(i,d)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};i.exports=Tar},22836:(i,d,p)=>{
/**
* ZIP Format Plugin
*
* @module plugins/zip
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
2026-01-30 14:42:57 +00:00
var v=p(41622);var V=p(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=V.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new v(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";function apply(i,...d){return(...p)=>i(...d,...p)}function initialParams(i){return function(...d){var p=d.pop();return i.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var v=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(d,...p)=>i((()=>d(...p)))}var V;if(d){V=queueMicrotask}else if(p){V=setImmediate}else if(v){V=process.nextTick}else{V=fallback}var K=wrap(V);function asyncify(i){if(isAsync(i)){return function(...d){const p=d.pop();const v=i.apply(this,d);return handlePromise(v,p)}}return initialParams((function(d,p){var v;try{v=i.apply(this,d)}catch(i){return p(i)}if(v&&typeof v.then==="function"){return handlePromise(v,p)}else{p(null,v)}}))}function handlePromise(i,d){return i.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,d,p){try{i(d,p)}catch(i){K((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,d){if(!d)d=i.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return i.apply(this,p)}return new Promise(((v,V)=>{p[d-1]=(i,...d)=>{if(i)return V(i);v(d.length>1?d:d[0])};i.apply(this,p)}))}return awaitable}function applyEach$1(i){return function applyEach(d,...p){const v=awaitify((function(v){var V=this;return i(d,((i,d)=>{wrapAsync(i).apply(V,p.concat(d))}),v)}));return v}}function _asyncMap(i,d,p,v){d=d||[];var V=[];var K=0;var ee=wrapAsync(p);return i(d,((i,d,p)=>{var v=K++;ee(i,((i,d)=>{V[v]=d;p(i)}))}),(i=>{v(i,V)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const ee={};var te=ee;function once(i){function wrapper(...d){if(i===null)return;var p=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var d=-1;var p=i.length;return function next(){return++d<p?{value:i[d],key:d}:null}}function createES2015Iterator(i){var d=-1;return function next(){var p=i.next();if(p.done)return null;d++;return{value:p.value,key:d}}}function createObjectIterator(i){var d=i?Object.keys(i):[];var p=-1;var v=d.length;return function next(){var V=d[++p];if(V==="__proto__"){return next()}return p<v?{value:i[V],key:V}:null}}function createIterator(i){if(isArrayLike(i)){return createArrayIterator(i)}var d=getIterator(i);return d?createES2015Iterator(d):createObjectIterator(i)}function onlyOnce(i){return function(...d){if(i===null)throw new Error("Callback was already called.");var p=i;i=null;p.apply(this,d)}}function asyncEachOfLimit(i,d,p,v){let V=false;let K=false;let ee=false;let re=0;let ne=0;function replenish(){if(re>=d||ee||V)return;ee=true;i.next().then((({value:i,done:d})=>{if(K||V)return;ee=false;if(d){V=true;if(re<=0){v(null)}return}re++;p(i,ne,iterateeCallback);ne++;replenish()})).catch(handleError)}function iterateeCallback(i,d){re-=1;if(K)ret
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
2026-01-30 13:19:20 +00:00
var p;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,d=new Array(256);for(var p=0;p!=256;++p){i=p;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;d[p]=i}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(i){var d=0,p=0,v=0,V=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(v=0;v!=256;++v)V[v]=i[v];for(v=0;v!=256;++v){p=i[v];for(d=256+v;d<4096;d+=256)p=V[d]=p>>>8^i[p&255]}var K=[];for(v=1;v!=16;++v)K[v-1]=typeof Int32Array!=="undefined"?V.subarray(v*256,v*256+256):V.slice(v*256,v*256+256);return K}var p=slice_by_16_tables(d);var v=p[0],V=p[1],K=p[2],ee=p[3],te=p[4];var re=p[5],ne=p[6],se=p[7],ie=p[8],oe=p[9];var ae=p[10],ce=p[11],le=p[12],ue=p[13],Ae=p[14];function crc32_bstr(i,p){var v=p^-1;for(var V=0,K=i.length;V<K;)v=v>>>8^d[(v^i.charCodeAt(V++))&255];return~v}function crc32_buf(i,p){var de=p^-1,pe=i.length-15,fe=0;for(;fe<pe;)de=Ae[i[fe++]^de&255]^ue[i[fe++]^de>>8&255]^le[i[fe++]^de>>16&255]^ce[i[fe++]^de>>>24]^ae[i[fe++]]^oe[i[fe++]]^ie[i[fe++]]^se[i[fe++]]^ne[i[fe++]]^re[i[fe++]]^te[i[fe++]]^ee[i[fe++]]^K[i[fe++]]^V[i[fe++]]^v[i[fe++]]^d[i[fe++]];pe+=15;while(fe<pe)de=de>>>8^d[(de^i[fe++])&255];return~de}function crc32_str(i,p){var v=p^-1;for(var V=0,K=i.length,ee=0,te=0;V<K;){ee=i.charCodeAt(V++);if(ee<128){v=v>>>8^d[(v^ee)&255]}else if(ee<2048){v=v>>>8^d[(v^(192|ee>>6&31))&255];v=v>>>8^d[(v^(128|ee&63))&255]}else if(ee>=55296&&ee<57344){ee=(ee&1023)+64;te=i.charCodeAt(V++)&1023;v=v>>>8^d[(v^(240|ee>>8&7))&255];v=v>>>8^d[(v^(128|ee>>2&63))&255];v=v>>>8^d[(v^(128|te>>6&15|(ee&3)<<4))&255];v=v>>>8^d[(v^(128|te&63))&255]}else{v=v>>>8^d[(v^(224|ee>>12&15))&255];v=v>>>8^d[(v^(128|ee>>6&63))&255];v=v>>>8^d[(v^(128|ee&63))&255]}}return~v}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,d,p)=>{"use strict";const{Transform:v}=p(29963);const V=p(84891);class CRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,d,p)=>{"use strict";const{DeflateRaw:v}=p(43106);const V=p(84891);class DeflateCRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}return super.push(i,d)}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,d,p)=>{"use strict";i.exports={CRC32Stream:p(3662),DeflateCRC32Stream:p(76252)}},6110:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.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`.")}}})();d.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC0
/**
* @author Toru Nagashima <https://github.com/mysticatea>
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
2026-01-30 13:19:20 +00:00
*/Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;function pd(i){const d=p.get(i);console.assert(d!=null,"'this' is expected an Event object, but got",i);return d}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,d){p.set(this,{eventTarget:i,event:d,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const v=Object.keys(d);for(let i=0;i<v.length;++i){const d=v[i];if(!(d in this)){Object.defineProperty(this,d,defineRedirectDescriptor(d))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const 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 d=pd(this);d.stopped=true;if(typeof d.event.cancelBubble==="boolean"){d.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);v.set(window.Event.prototype,Event)}function defineRedirectDescriptor(i){return{get(){return pd(this).event[i]},set(d){pd(this).event[i]=d},configurable:true,enumerable:true}}function defineCallDescriptor(i){return{value(){const d=pd(this).event;return d[i].apply(d,arguments)},configurable:true,enumerable:true}}function defineWrapper(i,d){const p=Object.keys(d);if(p.length===0){return i}function CustomEvent(d,p){i.call(this,d,p)}CustomEvent.prototype=Object.create(i.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let v=0;v<p.length;++v){const V=p[v];if(!(V in i.prototype)){const i=Object.getOwnPropertyDescriptor(d,V);const p=typeof i.value==="function";Object.defineProperty(CustomEvent.prototype,V,p?defineCallDescriptor(V):defineRedirectDescriptor(V))}}return CustomEvent}function getWrapper(i){if(i==null||i===Object.prototype){return Event}let d=v.get(i);if(d==null){d=defineWrapper(getWrapper(Object.getPrototypeOf(i)),i);v.set(i,d)}return d}function wrapEvent(i,d){const p=getWrapper(Object.getPrototypeOf(d));return new p(i,d)}function isStopped(i){return pd(i).immediateStopped}function setEventPhase(i,d){pd(i).eventPhase=d}function setCurrentTarget(i,d){pd(i).currentTarget=d}function setPassiveListener(i,d){pd(i).passiveListener=d}const V=new WeakMap;const K=1;const ee=2;const te=3;function isObject(i){return i!==null&&typeof i==="object"}function getListeners(i){const d=V.get(i);if(d==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return d}function defineEventAttributeDesc
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(p){var v=true&&d;var V=true&&i&&i.exports==v&&i;var K=typeof global=="object"&&global;if(K.global===K||K.window===K){p=K}var ee=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var te=/[\x01-\x7F]/g;var re=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var ne=/<\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 se={"­":"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
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
2026-01-30 14:42:57 +00:00
*/function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.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 d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},74281:(i,d,p)=>{"use strict";var v=p(91950);var V=p(59980);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(9557);i.exports.Schema=p(62046);i.exports.FAILSAFE_SCHEMA=p(69832);i.exports.JSON_SCHEMA=p(58927);i.exports.CORE_SCHEMA=p(55746);i.exports.DEFAULT_SCHEMA=p(97336);i.exports.load=v.load;i.exports.loadAll=v.loadAll;i.exports.dump=V.dump;i.exports.YAMLException=p(41248);i.exports.types={binary:p(8149),float:p(57584),map:p(47316),null:p(4333),pairs:p(16267),set:p(78758),timestamp:p(28966),bool:p(67296),int:p(62271),merge:p(76854),omap:p(58649),seq:p(77161),str:p(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,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;p<v;p+=1){V=K[p];i[V]=d[V]}}return i}function repeat(i,d){var p="",v;for(v=0;v<d;v+=1){p+=i}return p}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,d,p)=>{"use strict";var v=p(19816);var V=p(41248);var K=p(97336);var ee=Object.prototype.toString;var te=Object.prototype.hasOwnProperty;var re=65279;var ne=9;var se=10;var ie=13;var oe=32;var ae=33;var ce=34;var le=35;var ue=37;var Ae=38;var de=39;var pe=42;var fe=44;var he=45;var ge=58;var me=61;var Ee=62;var ye=63;var Ce=64;var be=91;var Ie=93;var Be=96;var we=123;var Se=124;var Qe=125;var ve={};ve[0]="\\0";ve[7]="\\a";ve[8]="\\b";ve[9]="\\t";ve[10]="\\n";ve[11]="\\v";ve[12]="\\f";ve[13]="\\r";ve[27]="\\e";ve[34]='\\"';ve[92]="\\\\";ve[133]="\\N";ve[160]="\\_";ve[8232]="\\L";ve[8233]="\\P";var Re=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var Te=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,d){var p,v,V,K,ee,re,ne;if(d===null)return{};p={};v=Object.keys(d);for(V=0,K=v.length;V<K;V+=1){ee=v[V];re=String(d[ee]);if(ee.slice(0,2)==="!!"){ee="tag:yaml.org,2002:"+ee.slice(2)}ne=i.compiledTypeMap["fallback"][ee];if(ne&&te.call(ne.styleAliases,re)){re=ne.styleAliases[re]}p[ee]=re}return p}function encodeHex(i){var d,p,K;d=i.toString(16).toUpperCase();if(i<=255){p="x";K=2}else if(i<=65535){p="u";K=4}else if(i<=4294967295){p="U";K=8}else{throw new V("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+p+v.repeat("0",K-d.length)+d}var Ne=1,ke=2;function State(i){this.schema=i["schema"]||K;this.indent=Math.max(1,i["indent"]||2);this.noArrayIndent=i["noArrayIndent"]||false;this.skipInvalid=i["skipInvalid"]||false;this.flowLevel=v.isNothing(i["flowLevel"])?-1:i["flowLevel"];this.styleMap=compileStyleMap(this.schema,i["styles"
/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/
2026-01-30 14:42:57 +00:00
i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var p=i.length;if(p<=1)return i;var v="";if(p>4&&i[3]==="\\"){var V=i[2];if((V==="?"||V===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);v="//"}}var K=i.split(/[/\\]+/);if(d!==false&&K[K.length-1]===""){K.pop()}return v+K.join("/")}},55560:(i,d,p)=>{var v=p(58264);i.exports=v(once);i.exports.strict=v(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 d=i.name||"Function wrapped with `once`";f.onceError=d+" 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,d,p,v){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var V=arguments.length;var K,ee;switch(V){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,d,p,v)}));default:K=new Array(V-1);ee=0;while(ee<K.length){K[ee++]=arguments[ee]}return process.nextTick((function afterTick(){i.apply(null,K)}))}}},7945:i=>{i.exports=global.process},5506:(i,d,p)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):p(36828)},36828:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80652:(i,d,p)=>{"use strict";const{SymbolDispose:v}=p(50999);const{AbortError:V,codes:K}=p(69220);const{isNodeStream:ee,isWebStream:te,kControllerErrorFunction:re}=p(83426);const ne=p(36815);const{ERR_INVALID_ARG_TYPE:se}=K;let ie;const validateAbortSignal=(i,d)=>{if(typeof i!=="object"||!("aborted"in i)){throw new se(d,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!ee(p)&&!te(p)){throw new se("stream",["ReadableStream","WritableStream","Stream"],p)}return i.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeof i!=="object"||!("aborted"in i)){return d}const K=ee(d)?()=>{d.destroy(new V(undefined,{cause:i.reason}))}:()=>{d[re](new V(undefined,{cause:i.reason}))};if(i.aborted){K()}else{ie=ie||p(23539).addAbortListener;const V=ie(i,K);ne(d,V[v])}return d}},77336:(i,d,p)=>{"use strict";const{StringPrototypeSlice:v,SymbolIterator:V,TypedArrayPrototypeSet:K,Uint8Array:ee}=p(50999);const{Buffer:te}=p(20181);const{inspect:re}=p(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(i){const d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++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 d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=i+d.data;return p}concat(i){if(this.length===0)return te.alloc(0);const d=te.allocUnsafe(i>>>0);let p=this.head;let v=0;while(p){K(d,p.data,v);v+=p.data.length;p=p.next}return d}consume(i,d){const p=this.head.data;if(i<p.length){const d=p.slice(0,i);this.head.data=p.slice(i);return d}if(i===p
/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/
2026-01-30 14:42:57 +00:00
const v=p(79896);const V=p(70857);const K=p(16928);const ee=p(76982);const te={fs:v.constants,os:V.constants};const re="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ne=/XXXXXX/,se=3,ie=(te.O_CREAT||te.fs.O_CREAT)|(te.O_EXCL||te.fs.O_EXCL)|(te.O_RDWR||te.fs.O_RDWR),oe=V.platform()==="win32",ae=te.EBADF||te.os.errno.EBADF,ce=te.ENOENT||te.os.errno.ENOENT,le=448,ue=384,Ae="exit",de=[],pe=v.rmdirSync.bind(v);let fe=false;function rimraf(i,d){return v.rm(i,{recursive:true},d)}function FN_RIMRAF_SYNC(i){return v.rmSync(i,{recursive:true})}function tmpName(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];_assertAndSanitizeOptions(V,(function(i,d){if(i)return K(i);let p=d.tries;(function _getUniqueName(){try{const i=_generateTmpName(d);v.stat(i,(function(d){if(!d){if(p-- >0)return _getUniqueName();return K(new Error("Could not get a unique tmp filename, max tries reached "+i))}K(null,i)}))}catch(i){K(i)}})()}))}function tmpNameSync(i){const d=_parseArguments(i),p=d[0];const V=_assertAndSanitizeOptionsSync(p);let K=V.tries;do{const i=_generateTmpName(V);try{v.statSync(i)}catch(d){return i}}while(K-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.open(d,ie,V.mode||ue,(function _fileCreated(i,p){if(i)return K(i);if(V.discardDescriptor){return v.close(p,(function _discardCallback(i){return K(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,V,false))}))}else{const i=V.discardDescriptor||V.detachDescriptor;K(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,V,false))}}))}))}function fileSync(i){const d=_parseArguments(i),p=d[0];const V=p.discardDescriptor||p.detachDescriptor;const K=tmpNameSync(p);let ee=v.openSync(K,ie,p.mode||ue);if(p.discardDescriptor){v.closeSync(ee);ee=undefined}return{name:K,fd:ee,removeCallback:_prepareTmpFileRemoveCallback(K,V?-1:ee,p,true)}}function dir(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.mkdir(d,V.mode||le,(function _dirCreated(i){if(i)return K(i);K(null,d,_prepareTmpDirRemoveCallback(d,V,false))}))}))}function dirSync(i){const d=_parseArguments(i),p=d[0];const V=tmpNameSync(p);v.mkdirSync(V,p.mode||le);return{name:V,removeCallback:_prepareTmpDirRemoveCallback(V,p,true)}}function _removeFileAsync(i,d){const _handler=function(i){if(i&&!_isENOENT(i)){return d(i)}d()};if(0<=i[0])v.close(i[0],(function(){v.unlink(i[1],_handler)}));else v.unlink(i[1],_handler)}function _removeFileSync(i){let d=null;try{if(0<=i[0])v.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{v.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throw d}}function _prepareTmpFileRemoveCallback(i,d,p,v){const V=_prepareRemoveCallback(_removeFileSync,[d,i],v);const K=_prepareRemoveCallback(_removeFileAsync,[d,i],v,V);if(!p.keep)de.unshift(V);return v?V:K}function _prepareTmpDirRemoveCallback(i,d,p){const V=d.unsafeCleanup?rimraf:v.rmdir.bind(v);const K=d.unsafeCleanup?FN_RIMRAF_SYNC:pe;const ee=_prepareRemoveCallback(K,i,p);const te=_prepareRemoveCallback(V,i,p,ee);if(!d.keep)de.unshift(ee);return p?ee:te}function _prepareRemoveCallback(i,d,p,v){let V=false;return function _cleanupCallback(K){if(!V){const ee=v||_cleanupCallback;const te=de.indexOf(ee);if(te>=0)de.splice(te,1);V=true;if(p||i===pe||i===FN_RIMRAF_SYNC){return i(d)}else{return i(d,K||function(){})}}}}function _garbageCollector(){if(!fe)return;while(de.length){try{de[0]()}catch(i){}}}function _randomChars(i){let d=[],p=null;try{p=ee.randomBytes(i)}catch(d){p=ee.pseudoRandomBytes(i)}for(let v=0;v<i;v++){d.push(re[p[v]%re.length])}return d.join("")}function _isUndefined(i){return typeof i==="undefined"}function _parseArguments(i,d){if(typeof i==="function"){return[{},i]}if(_isUndefined(i)){return[{},d]}const p={};for(const d of Object.getOwnPropertyNames(i)){p[d]=i[d]}return[p,d]}function _resolvePath(i,d,p){const V=K.isAbsolute(i)?i:K.join(d,i);v.stat(V,(function(i){if(i){v.realpath(K.dirname(V),(function(i,d){i
/*! 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 v=[];const V=new Uint8Array([13,10]);ie=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=Be.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);ie+=i.byteLength}else{const i=Be.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){ie+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=Be.encode(`--${d}--`);v.push(ee);ie+=ee.byteLength;if(K){ie=null}se=i;ne=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};oe="multipart/form-data; boundary="+d}else if(ee(i)){se=i;ie=i.size;if(i.type){oe=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(V.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}v=i instanceof be?i:K(i)}if(typeof se==="string"||V.isBuffer(se)){ie=Buffer.byteLength(se)}if(ne!=null){let d;v=new be({async start(){d=ne(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close()}))}else{if(!fe(v)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const ae={stream:v,source:se,length:ie};return[ae,oe]}function safelyExtractBody(i,d=false){if(!be){be=p(63774).ReadableStream}if(i instanceof be){pe(!V.isDisturbed(i),"The body has already been consumed.");pe(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const v=le(p,{transfer:[p]});const[,V]=v.tee();i.stream=d;return{stream:V,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(he(i)){yield i}else{const d=i.stream;if(V.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[de]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ce("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ye(d)}return new ue([i],{type:d})}),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(){ae.brandCheck(this,i);throwIfAborted(this[oe]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ie;let p;try{p=new v({headers:i,preservePath:true})}catch(i){throw new ce(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,v,V,K)=>{const ee=[];if(V==="base64"||V.toLowerCase()==="base64"){let V="";p.on("data",(i=>{V+=i.toString().replace(/[\r\n]/gm,"");const d=V.length-V.length%4;ee.push(Buffer.from(V.slice(0,d),"base64"));V=V.slice(d)}));p.on("end",(()=>{ee.push(Buffer.from(V,"base64"));d.append(i,new Ie(ee,v,{type:K}))}))}else{p.on("data",(i=>{ee.push(i)}));p.on("end",(()=>{d.append(i,new Ie(ee,v,{type:K}))}))}}));const V=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[oe].body))p.write(i);p.end();await V;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[oe].body)){if(!he(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ie;for(const[p,v]of i){d.append(p,v)}return d}else{await P
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */K[V-4]=this.maskKey[0];K[V-3]=this.maskKey[1];K[V-2]=this.maskKey[2];K[V-1]=this.maskKey[3];K[1]=p;if(p===126){K.writeUInt16BE(d,2)}else if(p===127){K[2]=K[3]=0;K.writeUIntBE(d,4,6)}K[1]|=128;for(let i=0;i<d;i++){K[V+i]=this.frameData[i]^this.maskKey[i%4]}return K}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},43171:(i,d,p)=>{"use strict";const{Writable:v}=p(2203);const V=p(31637);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re}=p(45913);const{kReadyState:ne,kSentClose:se,kResponse:ie,kReceivedClose:oe}=p(62933);const{isValidStatusCode:ae,failWebsocketConnection:ce,websocketMessageReceived:le}=p(3574);const{WebsocketFrameSend:ue}=p(31237);const Ae={};Ae.ping=V.channel("undici:websocket:ping");Ae.pong=V.channel("undici:websocket:pong");class ByteParser extends v{#K=[];#X=0;#C=K.INFO;#ee={};#te=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.run(p)}run(i){while(true){if(this.#C===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.fin=(d[0]&128)!==0;this.#ee.opcode=d[0]&15;this.#ee.originalOpcode??=this.#ee.opcode;this.#ee.fragmented=!this.#ee.fin&&this.#ee.opcode!==ee.CONTINUATION;if(this.#ee.fragmented&&this.#ee.opcode!==ee.BINARY&&this.#ee.opcode!==ee.TEXT){ce(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#ee.payloadLength=p;this.#C=K.READ_DATA}else if(p===126){this.#C=K.PAYLOADLENGTH_16}else if(p===127){this.#C=K.PAYLOADLENGTH_64}if(this.#ee.fragmented&&p>125){ce(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#ee.opcode===ee.PING||this.#ee.opcode===ee.PONG||this.#ee.opcode===ee.CLOSE)&&p>125){ce(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#ee.opcode===ee.CLOSE){if(p===1){ce(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#ee.closeInfo=this.parseCloseBody(false,i);if(!this.ws[se]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0);const d=new ue(i);this.ws[ie].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[se]=true}}))}this.ws[ne]=te.CLOSING;this.ws[oe]=true;this.end();return}else if(this.#ee.opcode===ee.PING){const d=this.consume(p);if(!this.ws[oe]){const i=new ue(d);this.ws[ie].socket.write(i.createFrame(ee.PONG));if(Ae.ping.hasSubscribers){Ae.ping.publish({payload:d})}}this.#C=K.INFO;if(this.#X>0){continue}else{i();return}}else if(this.#ee.opcode===ee.PONG){const d=this.consume(p);if(Ae.pong.hasSubscribers){Ae.pong.publish({payload:d})}if(this.#X>0){continue}else{i();return}}}else if(this.#C===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#C=K.READ_DATA}else if(this.#C===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ce(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#C=K.READ_DATA}else if(this.#C===K.READ_DATA){if(this.#X<this.#ee.payloadLength){return i()}else if(this.#X>=this.#ee.payloadLength){const i=this.consume(this.#ee.payloadLength);this.#te.push(i);if(!this.#ee.fragmented||this.#ee.fin&&this.#ee.opcode===ee.CONTINUATION){const i=Buffer.concat(this.#te);le(this.ws,this.#ee.originalOpcode,i);this.#ee={};this.#te.length=0}this.#C=K.INFO}}if(this.#X>0){continue}else{i();break}}}consume(i){if(i>this.#X){return null}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!ae(p)){return null}return{code:p}}let v=d.subarray(2);if(v[0]===239&&v[1]===187&&v[2]===191){v=v.subarray(3)}if(p!==undefined&&!ae(p)){return null}try{v=new TextDecode
/**
* ZipStream
*
* @ignore
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
* @copyright (c) 2014 Chris Talkington, contributors.
*/
2026-01-30 14:42:57 +00:00
var v=p(39023).inherits;var V=p(47544).ZipArchiveOutputStream;var K=p(47544).ZipArchiveEntry;var ee=p(53296);var te=i.exports=function(i){if(!(this instanceof te)){return new te(i)}i=this.options=i||{};i.zlib=i.zlib||{};V.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)}};v(te,V);te.prototype._normalizeFileData=function(i){i=ee.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=i.type==="directory";var p=i.type==="symlink";if(i.name){i.name=ee.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(d||p){i.store=true}i.date=ee.dateify(i.date);return i};te.prototype.entry=function(i,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var v=new K(d.name);v.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){v.setName(d.name,true)}if(d.store){v.setMethod(0)}if(d.comment.length>0){v.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}v.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){i=Buffer.from(d.linkname)}return V.prototype.entry.call(this,v,i,p)};te.prototype.finalize=function(){this.finish()}},94258:function(i,d,p){"use strict";var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K<p.length;K++)if(p[K]!=="default")v(d,i,p[K]);V(d,i);return d}}();var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getRegistriesData=d.getAccountIDs=d.getRegion=d.isPubECR=d.isECR=void 0;const te=K(p(37484));const re=p(28249);const ne=p(29821);const se=p(61279);const ie=p(81970);const oe=p(3669);const ae=/^(([0-9]{12})\.(dkr\.ecr|dkr-ecr)\.(.+)\.(on\.aws|amazonaws\.(com(.cn)?|eu)))(\/([^:]+)(:.+)?)?$/;const ce=/public\.ecr\.aws|ecr-public\.aws\.com/;const isECR=i=>ae.test(i)||(0,d.isPubECR)(i);d.isECR=isECR;const isPubECR=i=>ce.test(i);d.isPubECR=isPubECR;const getRegion=i=>{if((0,d.isPubECR)(i)){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}const p=i.match(ae);if(!p){return""}return p[4]};d.getRegion=getRegion;const getAccountIDs=i=>{if((0,d.isPubECR)(i)){return[]}const p=i.match(ae);if(!p){return[]}const v=[p[2]];if(process.env.AWS_ACCOUNT_IDS){v.push(...pro
//# sourceMappingURL=index.js.map