From 995edadc13559a8b28d0b7e6571229f067ec7659 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sat, 27 Apr 2024 12:55:35 +0300 Subject: [PATCH] Build --- dist/index.js | 2 +- dist/index.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 847f509..53d67a5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -52,7 +52,7 @@ const s=n(5680);const toRegexRange=(t,r,n)=>{if(s(t)===false){throw new TypeErro * This code is released under the MIT license. * SPDX-License-Identifier: MIT */ -(function(t,n){true?n(r):0})(this,(function(t){"use strict";const r=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol:t=>`Symbol(${t})`;function noop(){return undefined}function typeIsObject(t){return typeof t==="object"&&t!==null||typeof t==="function"}const n=noop;function setFunctionName(t,r){try{Object.defineProperty(t,"name",{value:r,configurable:true})}catch(t){}}const s=Promise;const i=Promise.prototype.then;const o=Promise.reject.bind(s);function newPromise(t){return new s(t)}function promiseResolvedWith(t){return newPromise((r=>r(t)))}function promiseRejectedWith(t){return o(t)}function PerformPromiseThen(t,r,n){return i.call(t,r,n)}function uponPromise(t,r,s){PerformPromiseThen(PerformPromiseThen(t,r,s),undefined,n)}function uponFulfillment(t,r){uponPromise(t,r)}function uponRejection(t,r){uponPromise(t,undefined,r)}function transformPromiseWith(t,r,n){return PerformPromiseThen(t,r,n)}function setPromiseIsHandledToTrue(t){PerformPromiseThen(t,undefined,n)}let _queueMicrotask=t=>{if(typeof queueMicrotask==="function"){_queueMicrotask=queueMicrotask}else{const t=promiseResolvedWith(undefined);_queueMicrotask=r=>PerformPromiseThen(t,r)}return _queueMicrotask(t)};function reflectCall(t,r,n){if(typeof t!=="function"){throw new TypeError("Argument is not a function")}return Function.prototype.apply.call(t,r,n)}function promiseCall(t,r,n){try{return promiseResolvedWith(reflectCall(t,r,n))}catch(t){return promiseRejectedWith(t)}}const a=16384;class SimpleQueue{constructor(){this._cursor=0;this._size=0;this._front={_elements:[],_next:undefined};this._back=this._front;this._cursor=0;this._size=0}get length(){return this._size}push(t){const r=this._back;let n=r;if(r._elements.length===a-1){n={_elements:[],_next:undefined}}r._elements.push(t);if(n!==r){this._back=n;r._next=n}++this._size}shift(){const t=this._front;let r=t;const n=this._cursor;let s=n+1;const i=t._elements;const o=i[n];if(s===a){r=t._next;s=0}--this._size;this._cursor=s;if(t!==r){this._front=r}i[n]=undefined;return o}forEach(t){let r=this._cursor;let n=this._front;let s=n._elements;while(r!==s.length||n._next!==undefined){if(r===s.length){n=n._next;s=n._elements;r=0;if(s.length===0){break}}t(s[r]);++r}}peek(){const t=this._front;const r=this._cursor;return t._elements[r]}}const l=r("[[AbortSteps]]");const c=r("[[ErrorSteps]]");const u=r("[[CancelSteps]]");const d=r("[[PullSteps]]");const p=r("[[ReleaseSteps]]");function ReadableStreamReaderGenericInitialize(t,r){t._ownerReadableStream=r;r._reader=t;if(r._state==="readable"){defaultReaderClosedPromiseInitialize(t)}else if(r._state==="closed"){defaultReaderClosedPromiseInitializeAsResolved(t)}else{defaultReaderClosedPromiseInitializeAsRejected(t,r._storedError)}}function ReadableStreamReaderGenericCancel(t,r){const n=t._ownerReadableStream;return ReadableStreamCancel(n,r)}function ReadableStreamReaderGenericRelease(t){const r=t._ownerReadableStream;if(r._state==="readable"){defaultReaderClosedPromiseReject(t,new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`))}else{defaultReaderClosedPromiseResetToRejected(t,new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`))}r._readableStreamController[p]();r._reader=undefined;t._ownerReadableStream=undefined}function readerLockException(t){return new TypeError("Cannot "+t+" a stream using a released reader")}function defaultReaderClosedPromiseInitialize(t){t._closedPromise=newPromise(((r,n)=>{t._closedPromise_resolve=r;t._closedPromise_reject=n}))}function defaultReaderClosedPromiseInitializeAsRejected(t,r){defaultReaderClosedPromiseInitialize(t);defaultReaderClosedPromiseReject(t,r)}function defaultReaderClosedPromiseInitializeAsResolved(t){defaultReaderClosedPromiseInitialize(t);defaultReaderClosedPromiseResolve(t)}function defaultReaderClosedPromiseReject(t,r){if(t._closedPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._closedPromise);t._closedPromise_reject(r);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined}function defaultReaderClosedPromiseResetToRejected(t,r){defaultReaderClosedPromiseInitializeAsRejected(t,r)}function defaultReaderClosedPromiseResolve(t){if(t._closedPromise_resolve===undefined){return}t._closedPromise_resolve(undefined);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined}const h=Number.isFinite||function(t){return typeof t==="number"&&isFinite(t)};const m=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};function isDictionary(t){return typeof t==="object"||typeof t==="function"}function assertDictionary(t,r){if(t!==undefined&&!isDictionary(t)){throw new TypeError(`${r} is not an object.`)}}function assertFunction(t,r){if(typeof t!=="function"){throw new TypeError(`${r} is not a function.`)}}function isObject(t){return typeof t==="object"&&t!==null||typeof t==="function"}function assertObject(t,r){if(!isObject(t)){throw new TypeError(`${r} is not an object.`)}}function assertRequiredArgument(t,r,n){if(t===undefined){throw new TypeError(`Parameter ${r} is required in '${n}'.`)}}function assertRequiredField(t,r,n){if(t===undefined){throw new TypeError(`${r} is required in '${n}'.`)}}function convertUnrestrictedDouble(t){return Number(t)}function censorNegativeZero(t){return t===0?0:t}function integerPart(t){return censorNegativeZero(m(t))}function convertUnsignedLongLongWithEnforceRange(t,r){const n=0;const s=Number.MAX_SAFE_INTEGER;let i=Number(t);i=censorNegativeZero(i);if(!h(i)){throw new TypeError(`${r} is not a finite number`)}i=integerPart(i);if(is){throw new TypeError(`${r} is outside the accepted range of ${n} to ${s}, inclusive`)}if(!h(i)||i===0){return 0}return i}function assertReadableStream(t,r){if(!IsReadableStream(t)){throw new TypeError(`${r} is not a ReadableStream.`)}}function AcquireReadableStreamDefaultReader(t){return new ReadableStreamDefaultReader(t)}function ReadableStreamAddReadRequest(t,r){t._reader._readRequests.push(r)}function ReadableStreamFulfillReadRequest(t,r,n){const s=t._reader;const i=s._readRequests.shift();if(n){i._closeSteps()}else{i._chunkSteps(r)}}function ReadableStreamGetNumReadRequests(t){return t._reader._readRequests.length}function ReadableStreamHasDefaultReader(t){const r=t._reader;if(r===undefined){return false}if(!IsReadableStreamDefaultReader(r)){return false}return true}class ReadableStreamDefaultReader{constructor(t){assertRequiredArgument(t,1,"ReadableStreamDefaultReader");assertReadableStream(t,"First parameter");if(IsReadableStreamLocked(t)){throw new TypeError("This stream has already been locked for exclusive reading by another reader")}ReadableStreamReaderGenericInitialize(this,t);this._readRequests=new SimpleQueue}get closed(){if(!IsReadableStreamDefaultReader(this)){return promiseRejectedWith(defaultReaderBrandCheckException("closed"))}return this._closedPromise}cancel(t=undefined){if(!IsReadableStreamDefaultReader(this)){return promiseRejectedWith(defaultReaderBrandCheckException("cancel"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("cancel"))}return ReadableStreamReaderGenericCancel(this,t)}read(){if(!IsReadableStreamDefaultReader(this)){return promiseRejectedWith(defaultReaderBrandCheckException("read"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("read from"))}let t;let r;const n=newPromise(((n,s)=>{t=n;r=s}));const s={_chunkSteps:r=>t({value:r,done:false}),_closeSteps:()=>t({value:undefined,done:true}),_errorSteps:t=>r(t)};ReadableStreamDefaultReaderRead(this,s);return n}releaseLock(){if(!IsReadableStreamDefaultReader(this)){throw defaultReaderBrandCheckException("releaseLock")}if(this._ownerReadableStream===undefined){return}ReadableStreamDefaultReaderRelease(this)}}Object.defineProperties(ReadableStreamDefaultReader.prototype,{cancel:{enumerable:true},read:{enumerable:true},releaseLock:{enumerable:true},closed:{enumerable:true}});setFunctionName(ReadableStreamDefaultReader.prototype.cancel,"cancel");setFunctionName(ReadableStreamDefaultReader.prototype.read,"read");setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock,"releaseLock");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamDefaultReader.prototype,r.toStringTag,{value:"ReadableStreamDefaultReader",configurable:true})}function IsReadableStreamDefaultReader(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_readRequests")){return false}return t instanceof ReadableStreamDefaultReader}function ReadableStreamDefaultReaderRead(t,r){const n=t._ownerReadableStream;n._disturbed=true;if(n._state==="closed"){r._closeSteps()}else if(n._state==="errored"){r._errorSteps(n._storedError)}else{n._readableStreamController[d](r)}}function ReadableStreamDefaultReaderRelease(t){ReadableStreamReaderGenericRelease(t);const r=new TypeError("Reader was released");ReadableStreamDefaultReaderErrorReadRequests(t,r)}function ReadableStreamDefaultReaderErrorReadRequests(t,r){const n=t._readRequests;t._readRequests=new SimpleQueue;n.forEach((t=>{t._errorSteps(r)}))}function defaultReaderBrandCheckException(t){return new TypeError(`ReadableStreamDefaultReader.prototype.${t} can only be used on a ReadableStreamDefaultReader`)}const g=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);class ReadableStreamAsyncIteratorImpl{constructor(t,r){this._ongoingPromise=undefined;this._isFinished=false;this._reader=t;this._preventCancel=r}next(){const nextSteps=()=>this._nextSteps();this._ongoingPromise=this._ongoingPromise?transformPromiseWith(this._ongoingPromise,nextSteps,nextSteps):nextSteps();return this._ongoingPromise}return(t){const returnSteps=()=>this._returnSteps(t);return this._ongoingPromise?transformPromiseWith(this._ongoingPromise,returnSteps,returnSteps):returnSteps()}_nextSteps(){if(this._isFinished){return Promise.resolve({value:undefined,done:true})}const t=this._reader;let r;let n;const s=newPromise(((t,s)=>{r=t;n=s}));const i={_chunkSteps:t=>{this._ongoingPromise=undefined;_queueMicrotask((()=>r({value:t,done:false})))},_closeSteps:()=>{this._ongoingPromise=undefined;this._isFinished=true;ReadableStreamReaderGenericRelease(t);r({value:undefined,done:true})},_errorSteps:r=>{this._ongoingPromise=undefined;this._isFinished=true;ReadableStreamReaderGenericRelease(t);n(r)}};ReadableStreamDefaultReaderRead(t,i);return s}_returnSteps(t){if(this._isFinished){return Promise.resolve({value:t,done:true})}this._isFinished=true;const r=this._reader;if(!this._preventCancel){const n=ReadableStreamReaderGenericCancel(r,t);ReadableStreamReaderGenericRelease(r);return transformPromiseWith(n,(()=>({value:t,done:true})))}ReadableStreamReaderGenericRelease(r);return promiseResolvedWith({value:t,done:true})}}const y={next(){if(!IsReadableStreamAsyncIterator(this)){return promiseRejectedWith(streamAsyncIteratorBrandCheckException("next"))}return this._asyncIteratorImpl.next()},return(t){if(!IsReadableStreamAsyncIterator(this)){return promiseRejectedWith(streamAsyncIteratorBrandCheckException("return"))}return this._asyncIteratorImpl.return(t)}};if(g!==undefined){Object.setPrototypeOf(y,g)}function AcquireReadableStreamAsyncIterator(t,r){const n=AcquireReadableStreamDefaultReader(t);const s=new ReadableStreamAsyncIteratorImpl(n,r);const i=Object.create(y);i._asyncIteratorImpl=s;return i}function IsReadableStreamAsyncIterator(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_asyncIteratorImpl")){return false}try{return t._asyncIteratorImpl instanceof ReadableStreamAsyncIteratorImpl}catch(t){return false}}function streamAsyncIteratorBrandCheckException(t){return new TypeError(`ReadableStreamAsyncIterator.${t} can only be used on a ReadableSteamAsyncIterator`)}const b=Number.isNaN||function(t){return t!==t};function CreateArrayFromList(t){return t.slice()}function CopyDataBlockBytes(t,r,n,s,i){new Uint8Array(t).set(new Uint8Array(n,s,i),r)}let TransferArrayBuffer=t=>{if(typeof t.transfer==="function"){TransferArrayBuffer=t=>t.transfer()}else if(typeof structuredClone==="function"){TransferArrayBuffer=t=>structuredClone(t,{transfer:[t]})}else{TransferArrayBuffer=t=>t}return TransferArrayBuffer(t)};let IsDetachedBuffer=t=>{if(typeof t.detached==="boolean"){IsDetachedBuffer=t=>t.detached}else{IsDetachedBuffer=t=>t.byteLength===0}return IsDetachedBuffer(t)};function ArrayBufferSlice(t,r,n){if(t.slice){return t.slice(r,n)}const s=n-r;const i=new ArrayBuffer(s);CopyDataBlockBytes(i,0,t,r,s);return i}function GetMethod(t,r){const n=t[r];if(n===undefined||n===null){return undefined}if(typeof n!=="function"){throw new TypeError(`${String(r)} is not a function`)}return n}function CreateAsyncFromSyncIterator(t){const n={[r.iterator]:()=>t.iterator};const s=async function*(){return yield*n}();const i=s.next;return{iterator:s,nextMethod:i,done:false}}function GetIterator(t,n="sync",s){if(s===undefined){if(n==="async"){s=GetMethod(t,r.asyncIterator);if(s===undefined){const n=GetMethod(t,r.iterator);const s=GetIterator(t,"sync",n);return CreateAsyncFromSyncIterator(s)}}else{s=GetMethod(t,r.iterator)}}if(s===undefined){throw new TypeError("The object is not iterable")}const i=reflectCall(s,t,[]);if(!typeIsObject(i)){throw new TypeError("The iterator method must return an object")}const o=i.next;return{iterator:i,nextMethod:o,done:false}}function IteratorNext(t){const r=reflectCall(t.nextMethod,t.iterator,[]);if(!typeIsObject(r)){throw new TypeError("The iterator.next() method must return an object")}return r}function IteratorComplete(t){return Boolean(t.done)}function IteratorValue(t){return t.value}function IsNonNegativeNumber(t){if(typeof t!=="number"){return false}if(b(t)){return false}if(t<0){return false}return true}function CloneAsUint8Array(t){const r=ArrayBufferSlice(t.buffer,t.byteOffset,t.byteOffset+t.byteLength);return new Uint8Array(r)}function DequeueValue(t){const r=t._queue.shift();t._queueTotalSize-=r.size;if(t._queueTotalSize<0){t._queueTotalSize=0}return r.value}function EnqueueValueWithSize(t,r,n){if(!IsNonNegativeNumber(n)||n===Infinity){throw new RangeError("Size must be a finite, non-NaN, non-negative number.")}t._queue.push({value:r,size:n});t._queueTotalSize+=n}function PeekQueueValue(t){const r=t._queue.peek();return r.value}function ResetQueue(t){t._queue=new SimpleQueue;t._queueTotalSize=0}function isDataViewConstructor(t){return t===DataView}function isDataView(t){return isDataViewConstructor(t.constructor)}function arrayBufferViewElementSize(t){if(isDataViewConstructor(t)){return 1}return t.BYTES_PER_ELEMENT}class ReadableStreamBYOBRequest{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!IsReadableStreamBYOBRequest(this)){throw byobRequestBrandCheckException("view")}return this._view}respond(t){if(!IsReadableStreamBYOBRequest(this)){throw byobRequestBrandCheckException("respond")}assertRequiredArgument(t,1,"respond");t=convertUnsignedLongLongWithEnforceRange(t,"First parameter");if(this._associatedReadableByteStreamController===undefined){throw new TypeError("This BYOB request has been invalidated")}if(IsDetachedBuffer(this._view.buffer)){throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`)}ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!IsReadableStreamBYOBRequest(this)){throw byobRequestBrandCheckException("respondWithNewView")}assertRequiredArgument(t,1,"respondWithNewView");if(!ArrayBuffer.isView(t)){throw new TypeError("You can only respond with array buffer views")}if(this._associatedReadableByteStreamController===undefined){throw new TypeError("This BYOB request has been invalidated")}if(IsDetachedBuffer(t.buffer)){throw new TypeError("The given view's buffer has been detached and so cannot be used as a response")}ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController,t)}}Object.defineProperties(ReadableStreamBYOBRequest.prototype,{respond:{enumerable:true},respondWithNewView:{enumerable:true},view:{enumerable:true}});setFunctionName(ReadableStreamBYOBRequest.prototype.respond,"respond");setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView,"respondWithNewView");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamBYOBRequest.prototype,r.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:true})}class ReadableByteStreamController{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("byobRequest")}return ReadableByteStreamControllerGetBYOBRequest(this)}get desiredSize(){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("desiredSize")}return ReadableByteStreamControllerGetDesiredSize(this)}close(){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("close")}if(this._closeRequested){throw new TypeError("The stream has already been closed; do not close it again!")}const t=this._controlledReadableByteStream._state;if(t!=="readable"){throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`)}ReadableByteStreamControllerClose(this)}enqueue(t){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("enqueue")}assertRequiredArgument(t,1,"enqueue");if(!ArrayBuffer.isView(t)){throw new TypeError("chunk must be an array buffer view")}if(t.byteLength===0){throw new TypeError("chunk must have non-zero byteLength")}if(t.buffer.byteLength===0){throw new TypeError(`chunk's buffer must have non-zero byteLength`)}if(this._closeRequested){throw new TypeError("stream is closed or draining")}const r=this._controlledReadableByteStream._state;if(r!=="readable"){throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`)}ReadableByteStreamControllerEnqueue(this,t)}error(t=undefined){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("error")}ReadableByteStreamControllerError(this,t)}[u](t){ReadableByteStreamControllerClearPendingPullIntos(this);ResetQueue(this);const r=this._cancelAlgorithm(t);ReadableByteStreamControllerClearAlgorithms(this);return r}[d](t){const r=this._controlledReadableByteStream;if(this._queueTotalSize>0){ReadableByteStreamControllerFillReadRequestFromQueue(this,t);return}const n=this._autoAllocateChunkSize;if(n!==undefined){let r;try{r=new ArrayBuffer(n)}catch(r){t._errorSteps(r);return}const s={buffer:r,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(s)}ReadableStreamAddReadRequest(r,t);ReadableByteStreamControllerCallPullIfNeeded(this)}[p](){if(this._pendingPullIntos.length>0){const t=this._pendingPullIntos.peek();t.readerType="none";this._pendingPullIntos=new SimpleQueue;this._pendingPullIntos.push(t)}}}Object.defineProperties(ReadableByteStreamController.prototype,{close:{enumerable:true},enqueue:{enumerable:true},error:{enumerable:true},byobRequest:{enumerable:true},desiredSize:{enumerable:true}});setFunctionName(ReadableByteStreamController.prototype.close,"close");setFunctionName(ReadableByteStreamController.prototype.enqueue,"enqueue");setFunctionName(ReadableByteStreamController.prototype.error,"error");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableByteStreamController.prototype,r.toStringTag,{value:"ReadableByteStreamController",configurable:true})}function IsReadableByteStreamController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledReadableByteStream")){return false}return t instanceof ReadableByteStreamController}function IsReadableStreamBYOBRequest(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_associatedReadableByteStreamController")){return false}return t instanceof ReadableStreamBYOBRequest}function ReadableByteStreamControllerCallPullIfNeeded(t){const r=ReadableByteStreamControllerShouldCallPull(t);if(!r){return}if(t._pulling){t._pullAgain=true;return}t._pulling=true;const n=t._pullAlgorithm();uponPromise(n,(()=>{t._pulling=false;if(t._pullAgain){t._pullAgain=false;ReadableByteStreamControllerCallPullIfNeeded(t)}return null}),(r=>{ReadableByteStreamControllerError(t,r);return null}))}function ReadableByteStreamControllerClearPendingPullIntos(t){ReadableByteStreamControllerInvalidateBYOBRequest(t);t._pendingPullIntos=new SimpleQueue}function ReadableByteStreamControllerCommitPullIntoDescriptor(t,r){let n=false;if(t._state==="closed"){n=true}const s=ReadableByteStreamControllerConvertPullIntoDescriptor(r);if(r.readerType==="default"){ReadableStreamFulfillReadRequest(t,s,n)}else{ReadableStreamFulfillReadIntoRequest(t,s,n)}}function ReadableByteStreamControllerConvertPullIntoDescriptor(t){const r=t.bytesFilled;const n=t.elementSize;return new t.viewConstructor(t.buffer,t.byteOffset,r/n)}function ReadableByteStreamControllerEnqueueChunkToQueue(t,r,n,s){t._queue.push({buffer:r,byteOffset:n,byteLength:s});t._queueTotalSize+=s}function ReadableByteStreamControllerEnqueueClonedChunkToQueue(t,r,n,s){let i;try{i=ArrayBufferSlice(r,n,n+s)}catch(r){ReadableByteStreamControllerError(t,r);throw r}ReadableByteStreamControllerEnqueueChunkToQueue(t,i,0,s)}function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(t,r){if(r.bytesFilled>0){ReadableByteStreamControllerEnqueueClonedChunkToQueue(t,r.buffer,r.byteOffset,r.bytesFilled)}ReadableByteStreamControllerShiftPendingPullInto(t)}function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(t,r){const n=Math.min(t._queueTotalSize,r.byteLength-r.bytesFilled);const s=r.bytesFilled+n;let i=n;let o=false;const a=s%r.elementSize;const l=s-a;if(l>=r.minimumFill){i=l-r.bytesFilled;o=true}const c=t._queue;while(i>0){const n=c.peek();const s=Math.min(i,n.byteLength);const o=r.byteOffset+r.bytesFilled;CopyDataBlockBytes(r.buffer,o,n.buffer,n.byteOffset,s);if(n.byteLength===s){c.shift()}else{n.byteOffset+=s;n.byteLength-=s}t._queueTotalSize-=s;ReadableByteStreamControllerFillHeadPullIntoDescriptor(t,s,r);i-=s}return o}function ReadableByteStreamControllerFillHeadPullIntoDescriptor(t,r,n){n.bytesFilled+=r}function ReadableByteStreamControllerHandleQueueDrain(t){if(t._queueTotalSize===0&&t._closeRequested){ReadableByteStreamControllerClearAlgorithms(t);ReadableStreamClose(t._controlledReadableByteStream)}else{ReadableByteStreamControllerCallPullIfNeeded(t)}}function ReadableByteStreamControllerInvalidateBYOBRequest(t){if(t._byobRequest===null){return}t._byobRequest._associatedReadableByteStreamController=undefined;t._byobRequest._view=null;t._byobRequest=null}function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t){while(t._pendingPullIntos.length>0){if(t._queueTotalSize===0){return}const r=t._pendingPullIntos.peek();if(ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(t,r)){ReadableByteStreamControllerShiftPendingPullInto(t);ReadableByteStreamControllerCommitPullIntoDescriptor(t._controlledReadableByteStream,r)}}}function ReadableByteStreamControllerProcessReadRequestsUsingQueue(t){const r=t._controlledReadableByteStream._reader;while(r._readRequests.length>0){if(t._queueTotalSize===0){return}const n=r._readRequests.shift();ReadableByteStreamControllerFillReadRequestFromQueue(t,n)}}function ReadableByteStreamControllerPullInto(t,r,n,s){const i=t._controlledReadableByteStream;const o=r.constructor;const a=arrayBufferViewElementSize(o);const{byteOffset:l,byteLength:c}=r;const u=n*a;let d;try{d=TransferArrayBuffer(r.buffer)}catch(t){s._errorSteps(t);return}const p={buffer:d,bufferByteLength:d.byteLength,byteOffset:l,byteLength:c,bytesFilled:0,minimumFill:u,elementSize:a,viewConstructor:o,readerType:"byob"};if(t._pendingPullIntos.length>0){t._pendingPullIntos.push(p);ReadableStreamAddReadIntoRequest(i,s);return}if(i._state==="closed"){const t=new o(p.buffer,p.byteOffset,0);s._closeSteps(t);return}if(t._queueTotalSize>0){if(ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(t,p)){const r=ReadableByteStreamControllerConvertPullIntoDescriptor(p);ReadableByteStreamControllerHandleQueueDrain(t);s._chunkSteps(r);return}if(t._closeRequested){const r=new TypeError("Insufficient bytes to fill elements in the given buffer");ReadableByteStreamControllerError(t,r);s._errorSteps(r);return}}t._pendingPullIntos.push(p);ReadableStreamAddReadIntoRequest(i,s);ReadableByteStreamControllerCallPullIfNeeded(t)}function ReadableByteStreamControllerRespondInClosedState(t,r){if(r.readerType==="none"){ReadableByteStreamControllerShiftPendingPullInto(t)}const n=t._controlledReadableByteStream;if(ReadableStreamHasBYOBReader(n)){while(ReadableStreamGetNumReadIntoRequests(n)>0){const r=ReadableByteStreamControllerShiftPendingPullInto(t);ReadableByteStreamControllerCommitPullIntoDescriptor(n,r)}}}function ReadableByteStreamControllerRespondInReadableState(t,r,n){ReadableByteStreamControllerFillHeadPullIntoDescriptor(t,r,n);if(n.readerType==="none"){ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(t,n);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t);return}if(n.bytesFilled0){const r=n.byteOffset+n.bytesFilled;ReadableByteStreamControllerEnqueueClonedChunkToQueue(t,n.buffer,r-s,s)}n.bytesFilled-=s;ReadableByteStreamControllerCommitPullIntoDescriptor(t._controlledReadableByteStream,n);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t)}function ReadableByteStreamControllerRespondInternal(t,r){const n=t._pendingPullIntos.peek();ReadableByteStreamControllerInvalidateBYOBRequest(t);const s=t._controlledReadableByteStream._state;if(s==="closed"){ReadableByteStreamControllerRespondInClosedState(t,n)}else{ReadableByteStreamControllerRespondInReadableState(t,r,n)}ReadableByteStreamControllerCallPullIfNeeded(t)}function ReadableByteStreamControllerShiftPendingPullInto(t){const r=t._pendingPullIntos.shift();return r}function ReadableByteStreamControllerShouldCallPull(t){const r=t._controlledReadableByteStream;if(r._state!=="readable"){return false}if(t._closeRequested){return false}if(!t._started){return false}if(ReadableStreamHasDefaultReader(r)&&ReadableStreamGetNumReadRequests(r)>0){return true}if(ReadableStreamHasBYOBReader(r)&&ReadableStreamGetNumReadIntoRequests(r)>0){return true}const n=ReadableByteStreamControllerGetDesiredSize(t);if(n>0){return true}return false}function ReadableByteStreamControllerClearAlgorithms(t){t._pullAlgorithm=undefined;t._cancelAlgorithm=undefined}function ReadableByteStreamControllerClose(t){const r=t._controlledReadableByteStream;if(t._closeRequested||r._state!=="readable"){return}if(t._queueTotalSize>0){t._closeRequested=true;return}if(t._pendingPullIntos.length>0){const r=t._pendingPullIntos.peek();if(r.bytesFilled%r.elementSize!==0){const r=new TypeError("Insufficient bytes to fill elements in the given buffer");ReadableByteStreamControllerError(t,r);throw r}}ReadableByteStreamControllerClearAlgorithms(t);ReadableStreamClose(r)}function ReadableByteStreamControllerEnqueue(t,r){const n=t._controlledReadableByteStream;if(t._closeRequested||n._state!=="readable"){return}const{buffer:s,byteOffset:i,byteLength:o}=r;if(IsDetachedBuffer(s)){throw new TypeError("chunk's buffer is detached and so cannot be enqueued")}const a=TransferArrayBuffer(s);if(t._pendingPullIntos.length>0){const r=t._pendingPullIntos.peek();if(IsDetachedBuffer(r.buffer)){throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk")}ReadableByteStreamControllerInvalidateBYOBRequest(t);r.buffer=TransferArrayBuffer(r.buffer);if(r.readerType==="none"){ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(t,r)}}if(ReadableStreamHasDefaultReader(n)){ReadableByteStreamControllerProcessReadRequestsUsingQueue(t);if(ReadableStreamGetNumReadRequests(n)===0){ReadableByteStreamControllerEnqueueChunkToQueue(t,a,i,o)}else{if(t._pendingPullIntos.length>0){ReadableByteStreamControllerShiftPendingPullInto(t)}const r=new Uint8Array(a,i,o);ReadableStreamFulfillReadRequest(n,r,false)}}else if(ReadableStreamHasBYOBReader(n)){ReadableByteStreamControllerEnqueueChunkToQueue(t,a,i,o);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t)}else{ReadableByteStreamControllerEnqueueChunkToQueue(t,a,i,o)}ReadableByteStreamControllerCallPullIfNeeded(t)}function ReadableByteStreamControllerError(t,r){const n=t._controlledReadableByteStream;if(n._state!=="readable"){return}ReadableByteStreamControllerClearPendingPullIntos(t);ResetQueue(t);ReadableByteStreamControllerClearAlgorithms(t);ReadableStreamError(n,r)}function ReadableByteStreamControllerFillReadRequestFromQueue(t,r){const n=t._queue.shift();t._queueTotalSize-=n.byteLength;ReadableByteStreamControllerHandleQueueDrain(t);const s=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);r._chunkSteps(s)}function ReadableByteStreamControllerGetBYOBRequest(t){if(t._byobRequest===null&&t._pendingPullIntos.length>0){const r=t._pendingPullIntos.peek();const n=new Uint8Array(r.buffer,r.byteOffset+r.bytesFilled,r.byteLength-r.bytesFilled);const s=Object.create(ReadableStreamBYOBRequest.prototype);SetUpReadableStreamBYOBRequest(s,t,n);t._byobRequest=s}return t._byobRequest}function ReadableByteStreamControllerGetDesiredSize(t){const r=t._controlledReadableByteStream._state;if(r==="errored"){return null}if(r==="closed"){return 0}return t._strategyHWM-t._queueTotalSize}function ReadableByteStreamControllerRespond(t,r){const n=t._pendingPullIntos.peek();const s=t._controlledReadableByteStream._state;if(s==="closed"){if(r!==0){throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}}else{if(r===0){throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream")}if(n.bytesFilled+r>n.byteLength){throw new RangeError("bytesWritten out of range")}}n.buffer=TransferArrayBuffer(n.buffer);ReadableByteStreamControllerRespondInternal(t,r)}function ReadableByteStreamControllerRespondWithNewView(t,r){const n=t._pendingPullIntos.peek();const s=t._controlledReadableByteStream._state;if(s==="closed"){if(r.byteLength!==0){throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}}else{if(r.byteLength===0){throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream")}}if(n.byteOffset+n.bytesFilled!==r.byteOffset){throw new RangeError("The region specified by view does not match byobRequest")}if(n.bufferByteLength!==r.buffer.byteLength){throw new RangeError("The buffer of view has different capacity than byobRequest")}if(n.bytesFilled+r.byteLength>n.byteLength){throw new RangeError("The region specified by view is larger than byobRequest")}const i=r.byteLength;n.buffer=TransferArrayBuffer(r.buffer);ReadableByteStreamControllerRespondInternal(t,i)}function SetUpReadableByteStreamController(t,r,n,s,i,o,a){r._controlledReadableByteStream=t;r._pullAgain=false;r._pulling=false;r._byobRequest=null;r._queue=r._queueTotalSize=undefined;ResetQueue(r);r._closeRequested=false;r._started=false;r._strategyHWM=o;r._pullAlgorithm=s;r._cancelAlgorithm=i;r._autoAllocateChunkSize=a;r._pendingPullIntos=new SimpleQueue;t._readableStreamController=r;const l=n();uponPromise(promiseResolvedWith(l),(()=>{r._started=true;ReadableByteStreamControllerCallPullIfNeeded(r);return null}),(t=>{ReadableByteStreamControllerError(r,t);return null}))}function SetUpReadableByteStreamControllerFromUnderlyingSource(t,r,n){const s=Object.create(ReadableByteStreamController.prototype);let i;let o;let a;if(r.start!==undefined){i=()=>r.start(s)}else{i=()=>undefined}if(r.pull!==undefined){o=()=>r.pull(s)}else{o=()=>promiseResolvedWith(undefined)}if(r.cancel!==undefined){a=t=>r.cancel(t)}else{a=()=>promiseResolvedWith(undefined)}const l=r.autoAllocateChunkSize;if(l===0){throw new TypeError("autoAllocateChunkSize must be greater than 0")}SetUpReadableByteStreamController(t,s,i,o,a,n,l)}function SetUpReadableStreamBYOBRequest(t,r,n){t._associatedReadableByteStreamController=r;t._view=n}function byobRequestBrandCheckException(t){return new TypeError(`ReadableStreamBYOBRequest.prototype.${t} can only be used on a ReadableStreamBYOBRequest`)}function byteStreamControllerBrandCheckException(t){return new TypeError(`ReadableByteStreamController.prototype.${t} can only be used on a ReadableByteStreamController`)}function convertReaderOptions(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.mode;return{mode:n===undefined?undefined:convertReadableStreamReaderMode(n,`${r} has member 'mode' that`)}}function convertReadableStreamReaderMode(t,r){t=`${t}`;if(t!=="byob"){throw new TypeError(`${r} '${t}' is not a valid enumeration value for ReadableStreamReaderMode`)}return t}function convertByobReadOptions(t,r){var n;assertDictionary(t,r);const s=(n=t===null||t===void 0?void 0:t.min)!==null&&n!==void 0?n:1;return{min:convertUnsignedLongLongWithEnforceRange(s,`${r} has member 'min' that`)}}function AcquireReadableStreamBYOBReader(t){return new ReadableStreamBYOBReader(t)}function ReadableStreamAddReadIntoRequest(t,r){t._reader._readIntoRequests.push(r)}function ReadableStreamFulfillReadIntoRequest(t,r,n){const s=t._reader;const i=s._readIntoRequests.shift();if(n){i._closeSteps(r)}else{i._chunkSteps(r)}}function ReadableStreamGetNumReadIntoRequests(t){return t._reader._readIntoRequests.length}function ReadableStreamHasBYOBReader(t){const r=t._reader;if(r===undefined){return false}if(!IsReadableStreamBYOBReader(r)){return false}return true}class ReadableStreamBYOBReader{constructor(t){assertRequiredArgument(t,1,"ReadableStreamBYOBReader");assertReadableStream(t,"First parameter");if(IsReadableStreamLocked(t)){throw new TypeError("This stream has already been locked for exclusive reading by another reader")}if(!IsReadableByteStreamController(t._readableStreamController)){throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte "+"source")}ReadableStreamReaderGenericInitialize(this,t);this._readIntoRequests=new SimpleQueue}get closed(){if(!IsReadableStreamBYOBReader(this)){return promiseRejectedWith(byobReaderBrandCheckException("closed"))}return this._closedPromise}cancel(t=undefined){if(!IsReadableStreamBYOBReader(this)){return promiseRejectedWith(byobReaderBrandCheckException("cancel"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("cancel"))}return ReadableStreamReaderGenericCancel(this,t)}read(t,r={}){if(!IsReadableStreamBYOBReader(this)){return promiseRejectedWith(byobReaderBrandCheckException("read"))}if(!ArrayBuffer.isView(t)){return promiseRejectedWith(new TypeError("view must be an array buffer view"))}if(t.byteLength===0){return promiseRejectedWith(new TypeError("view must have non-zero byteLength"))}if(t.buffer.byteLength===0){return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`))}if(IsDetachedBuffer(t.buffer)){return promiseRejectedWith(new TypeError("view's buffer has been detached"))}let n;try{n=convertByobReadOptions(r,"options")}catch(t){return promiseRejectedWith(t)}const s=n.min;if(s===0){return promiseRejectedWith(new TypeError("options.min must be greater than 0"))}if(!isDataView(t)){if(s>t.length){return promiseRejectedWith(new RangeError("options.min must be less than or equal to view's length"))}}else if(s>t.byteLength){return promiseRejectedWith(new RangeError("options.min must be less than or equal to view's byteLength"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("read from"))}let i;let o;const a=newPromise(((t,r)=>{i=t;o=r}));const l={_chunkSteps:t=>i({value:t,done:false}),_closeSteps:t=>i({value:t,done:true}),_errorSteps:t=>o(t)};ReadableStreamBYOBReaderRead(this,t,s,l);return a}releaseLock(){if(!IsReadableStreamBYOBReader(this)){throw byobReaderBrandCheckException("releaseLock")}if(this._ownerReadableStream===undefined){return}ReadableStreamBYOBReaderRelease(this)}}Object.defineProperties(ReadableStreamBYOBReader.prototype,{cancel:{enumerable:true},read:{enumerable:true},releaseLock:{enumerable:true},closed:{enumerable:true}});setFunctionName(ReadableStreamBYOBReader.prototype.cancel,"cancel");setFunctionName(ReadableStreamBYOBReader.prototype.read,"read");setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock,"releaseLock");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamBYOBReader.prototype,r.toStringTag,{value:"ReadableStreamBYOBReader",configurable:true})}function IsReadableStreamBYOBReader(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_readIntoRequests")){return false}return t instanceof ReadableStreamBYOBReader}function ReadableStreamBYOBReaderRead(t,r,n,s){const i=t._ownerReadableStream;i._disturbed=true;if(i._state==="errored"){s._errorSteps(i._storedError)}else{ReadableByteStreamControllerPullInto(i._readableStreamController,r,n,s)}}function ReadableStreamBYOBReaderRelease(t){ReadableStreamReaderGenericRelease(t);const r=new TypeError("Reader was released");ReadableStreamBYOBReaderErrorReadIntoRequests(t,r)}function ReadableStreamBYOBReaderErrorReadIntoRequests(t,r){const n=t._readIntoRequests;t._readIntoRequests=new SimpleQueue;n.forEach((t=>{t._errorSteps(r)}))}function byobReaderBrandCheckException(t){return new TypeError(`ReadableStreamBYOBReader.prototype.${t} can only be used on a ReadableStreamBYOBReader`)}function ExtractHighWaterMark(t,r){const{highWaterMark:n}=t;if(n===undefined){return r}if(b(n)||n<0){throw new RangeError("Invalid highWaterMark")}return n}function ExtractSizeAlgorithm(t){const{size:r}=t;if(!r){return()=>1}return r}function convertQueuingStrategy(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.highWaterMark;const s=t===null||t===void 0?void 0:t.size;return{highWaterMark:n===undefined?undefined:convertUnrestrictedDouble(n),size:s===undefined?undefined:convertQueuingStrategySize(s,`${r} has member 'size' that`)}}function convertQueuingStrategySize(t,r){assertFunction(t,r);return r=>convertUnrestrictedDouble(t(r))}function convertUnderlyingSink(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.abort;const s=t===null||t===void 0?void 0:t.close;const i=t===null||t===void 0?void 0:t.start;const o=t===null||t===void 0?void 0:t.type;const a=t===null||t===void 0?void 0:t.write;return{abort:n===undefined?undefined:convertUnderlyingSinkAbortCallback(n,t,`${r} has member 'abort' that`),close:s===undefined?undefined:convertUnderlyingSinkCloseCallback(s,t,`${r} has member 'close' that`),start:i===undefined?undefined:convertUnderlyingSinkStartCallback(i,t,`${r} has member 'start' that`),write:a===undefined?undefined:convertUnderlyingSinkWriteCallback(a,t,`${r} has member 'write' that`),type:o}}function convertUnderlyingSinkAbortCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertUnderlyingSinkCloseCallback(t,r,n){assertFunction(t,n);return()=>promiseCall(t,r,[])}function convertUnderlyingSinkStartCallback(t,r,n){assertFunction(t,n);return n=>reflectCall(t,r,[n])}function convertUnderlyingSinkWriteCallback(t,r,n){assertFunction(t,n);return(n,s)=>promiseCall(t,r,[n,s])}function assertWritableStream(t,r){if(!IsWritableStream(t)){throw new TypeError(`${r} is not a WritableStream.`)}}function isAbortSignal(t){if(typeof t!=="object"||t===null){return false}try{return typeof t.aborted==="boolean"}catch(t){return false}}const _=typeof AbortController==="function";function createAbortController(){if(_){return new AbortController}return undefined}class WritableStream{constructor(t={},r={}){if(t===undefined){t=null}else{assertObject(t,"First parameter")}const n=convertQueuingStrategy(r,"Second parameter");const s=convertUnderlyingSink(t,"First parameter");InitializeWritableStream(this);const i=s.type;if(i!==undefined){throw new RangeError("Invalid type is specified")}const o=ExtractSizeAlgorithm(n);const a=ExtractHighWaterMark(n,1);SetUpWritableStreamDefaultControllerFromUnderlyingSink(this,s,a,o)}get locked(){if(!IsWritableStream(this)){throw streamBrandCheckException$2("locked")}return IsWritableStreamLocked(this)}abort(t=undefined){if(!IsWritableStream(this)){return promiseRejectedWith(streamBrandCheckException$2("abort"))}if(IsWritableStreamLocked(this)){return promiseRejectedWith(new TypeError("Cannot abort a stream that already has a writer"))}return WritableStreamAbort(this,t)}close(){if(!IsWritableStream(this)){return promiseRejectedWith(streamBrandCheckException$2("close"))}if(IsWritableStreamLocked(this)){return promiseRejectedWith(new TypeError("Cannot close a stream that already has a writer"))}if(WritableStreamCloseQueuedOrInFlight(this)){return promiseRejectedWith(new TypeError("Cannot close an already-closing stream"))}return WritableStreamClose(this)}getWriter(){if(!IsWritableStream(this)){throw streamBrandCheckException$2("getWriter")}return AcquireWritableStreamDefaultWriter(this)}}Object.defineProperties(WritableStream.prototype,{abort:{enumerable:true},close:{enumerable:true},getWriter:{enumerable:true},locked:{enumerable:true}});setFunctionName(WritableStream.prototype.abort,"abort");setFunctionName(WritableStream.prototype.close,"close");setFunctionName(WritableStream.prototype.getWriter,"getWriter");if(typeof r.toStringTag==="symbol"){Object.defineProperty(WritableStream.prototype,r.toStringTag,{value:"WritableStream",configurable:true})}function AcquireWritableStreamDefaultWriter(t){return new WritableStreamDefaultWriter(t)}function CreateWritableStream(t,r,n,s,i=1,o=(()=>1)){const a=Object.create(WritableStream.prototype);InitializeWritableStream(a);const l=Object.create(WritableStreamDefaultController.prototype);SetUpWritableStreamDefaultController(a,l,t,r,n,s,i,o);return a}function InitializeWritableStream(t){t._state="writable";t._storedError=undefined;t._writer=undefined;t._writableStreamController=undefined;t._writeRequests=new SimpleQueue;t._inFlightWriteRequest=undefined;t._closeRequest=undefined;t._inFlightCloseRequest=undefined;t._pendingAbortRequest=undefined;t._backpressure=false}function IsWritableStream(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_writableStreamController")){return false}return t instanceof WritableStream}function IsWritableStreamLocked(t){if(t._writer===undefined){return false}return true}function WritableStreamAbort(t,r){var n;if(t._state==="closed"||t._state==="errored"){return promiseResolvedWith(undefined)}t._writableStreamController._abortReason=r;(n=t._writableStreamController._abortController)===null||n===void 0?void 0:n.abort(r);const s=t._state;if(s==="closed"||s==="errored"){return promiseResolvedWith(undefined)}if(t._pendingAbortRequest!==undefined){return t._pendingAbortRequest._promise}let i=false;if(s==="erroring"){i=true;r=undefined}const o=newPromise(((n,s)=>{t._pendingAbortRequest={_promise:undefined,_resolve:n,_reject:s,_reason:r,_wasAlreadyErroring:i}}));t._pendingAbortRequest._promise=o;if(!i){WritableStreamStartErroring(t,r)}return o}function WritableStreamClose(t){const r=t._state;if(r==="closed"||r==="errored"){return promiseRejectedWith(new TypeError(`The stream (in ${r} state) is not in the writable state and cannot be closed`))}const n=newPromise(((r,n)=>{const s={_resolve:r,_reject:n};t._closeRequest=s}));const s=t._writer;if(s!==undefined&&t._backpressure&&r==="writable"){defaultWriterReadyPromiseResolve(s)}WritableStreamDefaultControllerClose(t._writableStreamController);return n}function WritableStreamAddWriteRequest(t){const r=newPromise(((r,n)=>{const s={_resolve:r,_reject:n};t._writeRequests.push(s)}));return r}function WritableStreamDealWithRejection(t,r){const n=t._state;if(n==="writable"){WritableStreamStartErroring(t,r);return}WritableStreamFinishErroring(t)}function WritableStreamStartErroring(t,r){const n=t._writableStreamController;t._state="erroring";t._storedError=r;const s=t._writer;if(s!==undefined){WritableStreamDefaultWriterEnsureReadyPromiseRejected(s,r)}if(!WritableStreamHasOperationMarkedInFlight(t)&&n._started){WritableStreamFinishErroring(t)}}function WritableStreamFinishErroring(t){t._state="errored";t._writableStreamController[c]();const r=t._storedError;t._writeRequests.forEach((t=>{t._reject(r)}));t._writeRequests=new SimpleQueue;if(t._pendingAbortRequest===undefined){WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return}const n=t._pendingAbortRequest;t._pendingAbortRequest=undefined;if(n._wasAlreadyErroring){n._reject(r);WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return}const s=t._writableStreamController[l](n._reason);uponPromise(s,(()=>{n._resolve();WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return null}),(r=>{n._reject(r);WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return null}))}function WritableStreamFinishInFlightWrite(t){t._inFlightWriteRequest._resolve(undefined);t._inFlightWriteRequest=undefined}function WritableStreamFinishInFlightWriteWithError(t,r){t._inFlightWriteRequest._reject(r);t._inFlightWriteRequest=undefined;WritableStreamDealWithRejection(t,r)}function WritableStreamFinishInFlightClose(t){t._inFlightCloseRequest._resolve(undefined);t._inFlightCloseRequest=undefined;const r=t._state;if(r==="erroring"){t._storedError=undefined;if(t._pendingAbortRequest!==undefined){t._pendingAbortRequest._resolve();t._pendingAbortRequest=undefined}}t._state="closed";const n=t._writer;if(n!==undefined){defaultWriterClosedPromiseResolve(n)}}function WritableStreamFinishInFlightCloseWithError(t,r){t._inFlightCloseRequest._reject(r);t._inFlightCloseRequest=undefined;if(t._pendingAbortRequest!==undefined){t._pendingAbortRequest._reject(r);t._pendingAbortRequest=undefined}WritableStreamDealWithRejection(t,r)}function WritableStreamCloseQueuedOrInFlight(t){if(t._closeRequest===undefined&&t._inFlightCloseRequest===undefined){return false}return true}function WritableStreamHasOperationMarkedInFlight(t){if(t._inFlightWriteRequest===undefined&&t._inFlightCloseRequest===undefined){return false}return true}function WritableStreamMarkCloseRequestInFlight(t){t._inFlightCloseRequest=t._closeRequest;t._closeRequest=undefined}function WritableStreamMarkFirstWriteRequestInFlight(t){t._inFlightWriteRequest=t._writeRequests.shift()}function WritableStreamRejectCloseAndClosedPromiseIfNeeded(t){if(t._closeRequest!==undefined){t._closeRequest._reject(t._storedError);t._closeRequest=undefined}const r=t._writer;if(r!==undefined){defaultWriterClosedPromiseReject(r,t._storedError)}}function WritableStreamUpdateBackpressure(t,r){const n=t._writer;if(n!==undefined&&r!==t._backpressure){if(r){defaultWriterReadyPromiseReset(n)}else{defaultWriterReadyPromiseResolve(n)}}t._backpressure=r}class WritableStreamDefaultWriter{constructor(t){assertRequiredArgument(t,1,"WritableStreamDefaultWriter");assertWritableStream(t,"First parameter");if(IsWritableStreamLocked(t)){throw new TypeError("This stream has already been locked for exclusive writing by another writer")}this._ownerWritableStream=t;t._writer=this;const r=t._state;if(r==="writable"){if(!WritableStreamCloseQueuedOrInFlight(t)&&t._backpressure){defaultWriterReadyPromiseInitialize(this)}else{defaultWriterReadyPromiseInitializeAsResolved(this)}defaultWriterClosedPromiseInitialize(this)}else if(r==="erroring"){defaultWriterReadyPromiseInitializeAsRejected(this,t._storedError);defaultWriterClosedPromiseInitialize(this)}else if(r==="closed"){defaultWriterReadyPromiseInitializeAsResolved(this);defaultWriterClosedPromiseInitializeAsResolved(this)}else{const r=t._storedError;defaultWriterReadyPromiseInitializeAsRejected(this,r);defaultWriterClosedPromiseInitializeAsRejected(this,r)}}get closed(){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("closed"))}return this._closedPromise}get desiredSize(){if(!IsWritableStreamDefaultWriter(this)){throw defaultWriterBrandCheckException("desiredSize")}if(this._ownerWritableStream===undefined){throw defaultWriterLockException("desiredSize")}return WritableStreamDefaultWriterGetDesiredSize(this)}get ready(){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("ready"))}return this._readyPromise}abort(t=undefined){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("abort"))}if(this._ownerWritableStream===undefined){return promiseRejectedWith(defaultWriterLockException("abort"))}return WritableStreamDefaultWriterAbort(this,t)}close(){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("close"))}const t=this._ownerWritableStream;if(t===undefined){return promiseRejectedWith(defaultWriterLockException("close"))}if(WritableStreamCloseQueuedOrInFlight(t)){return promiseRejectedWith(new TypeError("Cannot close an already-closing stream"))}return WritableStreamDefaultWriterClose(this)}releaseLock(){if(!IsWritableStreamDefaultWriter(this)){throw defaultWriterBrandCheckException("releaseLock")}const t=this._ownerWritableStream;if(t===undefined){return}WritableStreamDefaultWriterRelease(this)}write(t=undefined){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("write"))}if(this._ownerWritableStream===undefined){return promiseRejectedWith(defaultWriterLockException("write to"))}return WritableStreamDefaultWriterWrite(this,t)}}Object.defineProperties(WritableStreamDefaultWriter.prototype,{abort:{enumerable:true},close:{enumerable:true},releaseLock:{enumerable:true},write:{enumerable:true},closed:{enumerable:true},desiredSize:{enumerable:true},ready:{enumerable:true}});setFunctionName(WritableStreamDefaultWriter.prototype.abort,"abort");setFunctionName(WritableStreamDefaultWriter.prototype.close,"close");setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock,"releaseLock");setFunctionName(WritableStreamDefaultWriter.prototype.write,"write");if(typeof r.toStringTag==="symbol"){Object.defineProperty(WritableStreamDefaultWriter.prototype,r.toStringTag,{value:"WritableStreamDefaultWriter",configurable:true})}function IsWritableStreamDefaultWriter(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_ownerWritableStream")){return false}return t instanceof WritableStreamDefaultWriter}function WritableStreamDefaultWriterAbort(t,r){const n=t._ownerWritableStream;return WritableStreamAbort(n,r)}function WritableStreamDefaultWriterClose(t){const r=t._ownerWritableStream;return WritableStreamClose(r)}function WritableStreamDefaultWriterCloseWithErrorPropagation(t){const r=t._ownerWritableStream;const n=r._state;if(WritableStreamCloseQueuedOrInFlight(r)||n==="closed"){return promiseResolvedWith(undefined)}if(n==="errored"){return promiseRejectedWith(r._storedError)}return WritableStreamDefaultWriterClose(t)}function WritableStreamDefaultWriterEnsureClosedPromiseRejected(t,r){if(t._closedPromiseState==="pending"){defaultWriterClosedPromiseReject(t,r)}else{defaultWriterClosedPromiseResetToRejected(t,r)}}function WritableStreamDefaultWriterEnsureReadyPromiseRejected(t,r){if(t._readyPromiseState==="pending"){defaultWriterReadyPromiseReject(t,r)}else{defaultWriterReadyPromiseResetToRejected(t,r)}}function WritableStreamDefaultWriterGetDesiredSize(t){const r=t._ownerWritableStream;const n=r._state;if(n==="errored"||n==="erroring"){return null}if(n==="closed"){return 0}return WritableStreamDefaultControllerGetDesiredSize(r._writableStreamController)}function WritableStreamDefaultWriterRelease(t){const r=t._ownerWritableStream;const n=new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`);WritableStreamDefaultWriterEnsureReadyPromiseRejected(t,n);WritableStreamDefaultWriterEnsureClosedPromiseRejected(t,n);r._writer=undefined;t._ownerWritableStream=undefined}function WritableStreamDefaultWriterWrite(t,r){const n=t._ownerWritableStream;const s=n._writableStreamController;const i=WritableStreamDefaultControllerGetChunkSize(s,r);if(n!==t._ownerWritableStream){return promiseRejectedWith(defaultWriterLockException("write to"))}const o=n._state;if(o==="errored"){return promiseRejectedWith(n._storedError)}if(WritableStreamCloseQueuedOrInFlight(n)||o==="closed"){return promiseRejectedWith(new TypeError("The stream is closing or closed and cannot be written to"))}if(o==="erroring"){return promiseRejectedWith(n._storedError)}const a=WritableStreamAddWriteRequest(n);WritableStreamDefaultControllerWrite(s,r,i);return a}const S={};class WritableStreamDefaultController{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!IsWritableStreamDefaultController(this)){throw defaultControllerBrandCheckException$2("abortReason")}return this._abortReason}get signal(){if(!IsWritableStreamDefaultController(this)){throw defaultControllerBrandCheckException$2("signal")}if(this._abortController===undefined){throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported")}return this._abortController.signal}error(t=undefined){if(!IsWritableStreamDefaultController(this)){throw defaultControllerBrandCheckException$2("error")}const r=this._controlledWritableStream._state;if(r!=="writable"){return}WritableStreamDefaultControllerError(this,t)}[l](t){const r=this._abortAlgorithm(t);WritableStreamDefaultControllerClearAlgorithms(this);return r}[c](){ResetQueue(this)}}Object.defineProperties(WritableStreamDefaultController.prototype,{abortReason:{enumerable:true},signal:{enumerable:true},error:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(WritableStreamDefaultController.prototype,r.toStringTag,{value:"WritableStreamDefaultController",configurable:true})}function IsWritableStreamDefaultController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledWritableStream")){return false}return t instanceof WritableStreamDefaultController}function SetUpWritableStreamDefaultController(t,r,n,s,i,o,a,l){r._controlledWritableStream=t;t._writableStreamController=r;r._queue=undefined;r._queueTotalSize=undefined;ResetQueue(r);r._abortReason=undefined;r._abortController=createAbortController();r._started=false;r._strategySizeAlgorithm=l;r._strategyHWM=a;r._writeAlgorithm=s;r._closeAlgorithm=i;r._abortAlgorithm=o;const c=WritableStreamDefaultControllerGetBackpressure(r);WritableStreamUpdateBackpressure(t,c);const u=n();const d=promiseResolvedWith(u);uponPromise(d,(()=>{r._started=true;WritableStreamDefaultControllerAdvanceQueueIfNeeded(r);return null}),(n=>{r._started=true;WritableStreamDealWithRejection(t,n);return null}))}function SetUpWritableStreamDefaultControllerFromUnderlyingSink(t,r,n,s){const i=Object.create(WritableStreamDefaultController.prototype);let o;let a;let l;let c;if(r.start!==undefined){o=()=>r.start(i)}else{o=()=>undefined}if(r.write!==undefined){a=t=>r.write(t,i)}else{a=()=>promiseResolvedWith(undefined)}if(r.close!==undefined){l=()=>r.close()}else{l=()=>promiseResolvedWith(undefined)}if(r.abort!==undefined){c=t=>r.abort(t)}else{c=()=>promiseResolvedWith(undefined)}SetUpWritableStreamDefaultController(t,i,o,a,l,c,n,s)}function WritableStreamDefaultControllerClearAlgorithms(t){t._writeAlgorithm=undefined;t._closeAlgorithm=undefined;t._abortAlgorithm=undefined;t._strategySizeAlgorithm=undefined}function WritableStreamDefaultControllerClose(t){EnqueueValueWithSize(t,S,0);WritableStreamDefaultControllerAdvanceQueueIfNeeded(t)}function WritableStreamDefaultControllerGetChunkSize(t,r){try{return t._strategySizeAlgorithm(r)}catch(r){WritableStreamDefaultControllerErrorIfNeeded(t,r);return 1}}function WritableStreamDefaultControllerGetDesiredSize(t){return t._strategyHWM-t._queueTotalSize}function WritableStreamDefaultControllerWrite(t,r,n){try{EnqueueValueWithSize(t,r,n)}catch(r){WritableStreamDefaultControllerErrorIfNeeded(t,r);return}const s=t._controlledWritableStream;if(!WritableStreamCloseQueuedOrInFlight(s)&&s._state==="writable"){const r=WritableStreamDefaultControllerGetBackpressure(t);WritableStreamUpdateBackpressure(s,r)}WritableStreamDefaultControllerAdvanceQueueIfNeeded(t)}function WritableStreamDefaultControllerAdvanceQueueIfNeeded(t){const r=t._controlledWritableStream;if(!t._started){return}if(r._inFlightWriteRequest!==undefined){return}const n=r._state;if(n==="erroring"){WritableStreamFinishErroring(r);return}if(t._queue.length===0){return}const s=PeekQueueValue(t);if(s===S){WritableStreamDefaultControllerProcessClose(t)}else{WritableStreamDefaultControllerProcessWrite(t,s)}}function WritableStreamDefaultControllerErrorIfNeeded(t,r){if(t._controlledWritableStream._state==="writable"){WritableStreamDefaultControllerError(t,r)}}function WritableStreamDefaultControllerProcessClose(t){const r=t._controlledWritableStream;WritableStreamMarkCloseRequestInFlight(r);DequeueValue(t);const n=t._closeAlgorithm();WritableStreamDefaultControllerClearAlgorithms(t);uponPromise(n,(()=>{WritableStreamFinishInFlightClose(r);return null}),(t=>{WritableStreamFinishInFlightCloseWithError(r,t);return null}))}function WritableStreamDefaultControllerProcessWrite(t,r){const n=t._controlledWritableStream;WritableStreamMarkFirstWriteRequestInFlight(n);const s=t._writeAlgorithm(r);uponPromise(s,(()=>{WritableStreamFinishInFlightWrite(n);const r=n._state;DequeueValue(t);if(!WritableStreamCloseQueuedOrInFlight(n)&&r==="writable"){const r=WritableStreamDefaultControllerGetBackpressure(t);WritableStreamUpdateBackpressure(n,r)}WritableStreamDefaultControllerAdvanceQueueIfNeeded(t);return null}),(r=>{if(n._state==="writable"){WritableStreamDefaultControllerClearAlgorithms(t)}WritableStreamFinishInFlightWriteWithError(n,r);return null}))}function WritableStreamDefaultControllerGetBackpressure(t){const r=WritableStreamDefaultControllerGetDesiredSize(t);return r<=0}function WritableStreamDefaultControllerError(t,r){const n=t._controlledWritableStream;WritableStreamDefaultControllerClearAlgorithms(t);WritableStreamStartErroring(n,r)}function streamBrandCheckException$2(t){return new TypeError(`WritableStream.prototype.${t} can only be used on a WritableStream`)}function defaultControllerBrandCheckException$2(t){return new TypeError(`WritableStreamDefaultController.prototype.${t} can only be used on a WritableStreamDefaultController`)}function defaultWriterBrandCheckException(t){return new TypeError(`WritableStreamDefaultWriter.prototype.${t} can only be used on a WritableStreamDefaultWriter`)}function defaultWriterLockException(t){return new TypeError("Cannot "+t+" a stream using a released writer")}function defaultWriterClosedPromiseInitialize(t){t._closedPromise=newPromise(((r,n)=>{t._closedPromise_resolve=r;t._closedPromise_reject=n;t._closedPromiseState="pending"}))}function defaultWriterClosedPromiseInitializeAsRejected(t,r){defaultWriterClosedPromiseInitialize(t);defaultWriterClosedPromiseReject(t,r)}function defaultWriterClosedPromiseInitializeAsResolved(t){defaultWriterClosedPromiseInitialize(t);defaultWriterClosedPromiseResolve(t)}function defaultWriterClosedPromiseReject(t,r){if(t._closedPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._closedPromise);t._closedPromise_reject(r);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined;t._closedPromiseState="rejected"}function defaultWriterClosedPromiseResetToRejected(t,r){defaultWriterClosedPromiseInitializeAsRejected(t,r)}function defaultWriterClosedPromiseResolve(t){if(t._closedPromise_resolve===undefined){return}t._closedPromise_resolve(undefined);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined;t._closedPromiseState="resolved"}function defaultWriterReadyPromiseInitialize(t){t._readyPromise=newPromise(((r,n)=>{t._readyPromise_resolve=r;t._readyPromise_reject=n}));t._readyPromiseState="pending"}function defaultWriterReadyPromiseInitializeAsRejected(t,r){defaultWriterReadyPromiseInitialize(t);defaultWriterReadyPromiseReject(t,r)}function defaultWriterReadyPromiseInitializeAsResolved(t){defaultWriterReadyPromiseInitialize(t);defaultWriterReadyPromiseResolve(t)}function defaultWriterReadyPromiseReject(t,r){if(t._readyPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._readyPromise);t._readyPromise_reject(r);t._readyPromise_resolve=undefined;t._readyPromise_reject=undefined;t._readyPromiseState="rejected"}function defaultWriterReadyPromiseReset(t){defaultWriterReadyPromiseInitialize(t)}function defaultWriterReadyPromiseResetToRejected(t,r){defaultWriterReadyPromiseInitializeAsRejected(t,r)}function defaultWriterReadyPromiseResolve(t){if(t._readyPromise_resolve===undefined){return}t._readyPromise_resolve(undefined);t._readyPromise_resolve=undefined;t._readyPromise_reject=undefined;t._readyPromiseState="fulfilled"}function getGlobals(){if(typeof globalThis!=="undefined"){return globalThis}else if(typeof self!=="undefined"){return self}else if(typeof global!=="undefined"){return global}return undefined}const E=getGlobals();function isDOMExceptionConstructor(t){if(!(typeof t==="function"||typeof t==="object")){return false}if(t.name!=="DOMException"){return false}try{new t;return true}catch(t){return false}}function getFromGlobal(){const t=E===null||E===void 0?void 0:E.DOMException;return isDOMExceptionConstructor(t)?t:undefined}function createPolyfill(){const t=function DOMException(t,r){this.message=t||"";this.name=r||"Error";if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}};setFunctionName(t,"DOMException");t.prototype=Object.create(Error.prototype);Object.defineProperty(t.prototype,"constructor",{value:t,writable:true,configurable:true});return t}const v=getFromGlobal()||createPolyfill();function ReadableStreamPipeTo(t,r,n,s,i,o){const a=AcquireReadableStreamDefaultReader(t);const l=AcquireWritableStreamDefaultWriter(r);t._disturbed=true;let c=false;let u=promiseResolvedWith(undefined);return newPromise(((d,p)=>{let h;if(o!==undefined){h=()=>{const n=o.reason!==undefined?o.reason:new v("Aborted","AbortError");const a=[];if(!s){a.push((()=>{if(r._state==="writable"){return WritableStreamAbort(r,n)}return promiseResolvedWith(undefined)}))}if(!i){a.push((()=>{if(t._state==="readable"){return ReadableStreamCancel(t,n)}return promiseResolvedWith(undefined)}))}shutdownWithAction((()=>Promise.all(a.map((t=>t())))),true,n)};if(o.aborted){h();return}o.addEventListener("abort",h)}function pipeLoop(){return newPromise(((t,r)=>{function next(n){if(n){t()}else{PerformPromiseThen(pipeStep(),next,r)}}next(false)}))}function pipeStep(){if(c){return promiseResolvedWith(true)}return PerformPromiseThen(l._readyPromise,(()=>newPromise(((t,r)=>{ReadableStreamDefaultReaderRead(a,{_chunkSteps:r=>{u=PerformPromiseThen(WritableStreamDefaultWriterWrite(l,r),undefined,noop);t(false)},_closeSteps:()=>t(true),_errorSteps:r})}))))}isOrBecomesErrored(t,a._closedPromise,(t=>{if(!s){shutdownWithAction((()=>WritableStreamAbort(r,t)),true,t)}else{shutdown(true,t)}return null}));isOrBecomesErrored(r,l._closedPromise,(r=>{if(!i){shutdownWithAction((()=>ReadableStreamCancel(t,r)),true,r)}else{shutdown(true,r)}return null}));isOrBecomesClosed(t,a._closedPromise,(()=>{if(!n){shutdownWithAction((()=>WritableStreamDefaultWriterCloseWithErrorPropagation(l)))}else{shutdown()}return null}));if(WritableStreamCloseQueuedOrInFlight(r)||r._state==="closed"){const r=new TypeError("the destination writable stream closed before all data could be piped to it");if(!i){shutdownWithAction((()=>ReadableStreamCancel(t,r)),true,r)}else{shutdown(true,r)}}setPromiseIsHandledToTrue(pipeLoop());function waitForWritesToFinish(){const t=u;return PerformPromiseThen(u,(()=>t!==u?waitForWritesToFinish():undefined))}function isOrBecomesErrored(t,r,n){if(t._state==="errored"){n(t._storedError)}else{uponRejection(r,n)}}function isOrBecomesClosed(t,r,n){if(t._state==="closed"){n()}else{uponFulfillment(r,n)}}function shutdownWithAction(t,n,s){if(c){return}c=true;if(r._state==="writable"&&!WritableStreamCloseQueuedOrInFlight(r)){uponFulfillment(waitForWritesToFinish(),doTheRest)}else{doTheRest()}function doTheRest(){uponPromise(t(),(()=>finalize(n,s)),(t=>finalize(true,t)));return null}}function shutdown(t,n){if(c){return}c=true;if(r._state==="writable"&&!WritableStreamCloseQueuedOrInFlight(r)){uponFulfillment(waitForWritesToFinish(),(()=>finalize(t,n)))}else{finalize(t,n)}}function finalize(t,r){WritableStreamDefaultWriterRelease(l);ReadableStreamReaderGenericRelease(a);if(o!==undefined){o.removeEventListener("abort",h)}if(t){p(r)}else{d(undefined)}return null}}))}class ReadableStreamDefaultController{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("desiredSize")}return ReadableStreamDefaultControllerGetDesiredSize(this)}close(){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("close")}if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)){throw new TypeError("The stream is not in a state that permits close")}ReadableStreamDefaultControllerClose(this)}enqueue(t=undefined){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("enqueue")}if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)){throw new TypeError("The stream is not in a state that permits enqueue")}return ReadableStreamDefaultControllerEnqueue(this,t)}error(t=undefined){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("error")}ReadableStreamDefaultControllerError(this,t)}[u](t){ResetQueue(this);const r=this._cancelAlgorithm(t);ReadableStreamDefaultControllerClearAlgorithms(this);return r}[d](t){const r=this._controlledReadableStream;if(this._queue.length>0){const n=DequeueValue(this);if(this._closeRequested&&this._queue.length===0){ReadableStreamDefaultControllerClearAlgorithms(this);ReadableStreamClose(r)}else{ReadableStreamDefaultControllerCallPullIfNeeded(this)}t._chunkSteps(n)}else{ReadableStreamAddReadRequest(r,t);ReadableStreamDefaultControllerCallPullIfNeeded(this)}}[p](){}}Object.defineProperties(ReadableStreamDefaultController.prototype,{close:{enumerable:true},enqueue:{enumerable:true},error:{enumerable:true},desiredSize:{enumerable:true}});setFunctionName(ReadableStreamDefaultController.prototype.close,"close");setFunctionName(ReadableStreamDefaultController.prototype.enqueue,"enqueue");setFunctionName(ReadableStreamDefaultController.prototype.error,"error");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamDefaultController.prototype,r.toStringTag,{value:"ReadableStreamDefaultController",configurable:true})}function IsReadableStreamDefaultController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledReadableStream")){return false}return t instanceof ReadableStreamDefaultController}function ReadableStreamDefaultControllerCallPullIfNeeded(t){const r=ReadableStreamDefaultControllerShouldCallPull(t);if(!r){return}if(t._pulling){t._pullAgain=true;return}t._pulling=true;const n=t._pullAlgorithm();uponPromise(n,(()=>{t._pulling=false;if(t._pullAgain){t._pullAgain=false;ReadableStreamDefaultControllerCallPullIfNeeded(t)}return null}),(r=>{ReadableStreamDefaultControllerError(t,r);return null}))}function ReadableStreamDefaultControllerShouldCallPull(t){const r=t._controlledReadableStream;if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(t)){return false}if(!t._started){return false}if(IsReadableStreamLocked(r)&&ReadableStreamGetNumReadRequests(r)>0){return true}const n=ReadableStreamDefaultControllerGetDesiredSize(t);if(n>0){return true}return false}function ReadableStreamDefaultControllerClearAlgorithms(t){t._pullAlgorithm=undefined;t._cancelAlgorithm=undefined;t._strategySizeAlgorithm=undefined}function ReadableStreamDefaultControllerClose(t){if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(t)){return}const r=t._controlledReadableStream;t._closeRequested=true;if(t._queue.length===0){ReadableStreamDefaultControllerClearAlgorithms(t);ReadableStreamClose(r)}}function ReadableStreamDefaultControllerEnqueue(t,r){if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(t)){return}const n=t._controlledReadableStream;if(IsReadableStreamLocked(n)&&ReadableStreamGetNumReadRequests(n)>0){ReadableStreamFulfillReadRequest(n,r,false)}else{let n;try{n=t._strategySizeAlgorithm(r)}catch(r){ReadableStreamDefaultControllerError(t,r);throw r}try{EnqueueValueWithSize(t,r,n)}catch(r){ReadableStreamDefaultControllerError(t,r);throw r}}ReadableStreamDefaultControllerCallPullIfNeeded(t)}function ReadableStreamDefaultControllerError(t,r){const n=t._controlledReadableStream;if(n._state!=="readable"){return}ResetQueue(t);ReadableStreamDefaultControllerClearAlgorithms(t);ReadableStreamError(n,r)}function ReadableStreamDefaultControllerGetDesiredSize(t){const r=t._controlledReadableStream._state;if(r==="errored"){return null}if(r==="closed"){return 0}return t._strategyHWM-t._queueTotalSize}function ReadableStreamDefaultControllerHasBackpressure(t){if(ReadableStreamDefaultControllerShouldCallPull(t)){return false}return true}function ReadableStreamDefaultControllerCanCloseOrEnqueue(t){const r=t._controlledReadableStream._state;if(!t._closeRequested&&r==="readable"){return true}return false}function SetUpReadableStreamDefaultController(t,r,n,s,i,o,a){r._controlledReadableStream=t;r._queue=undefined;r._queueTotalSize=undefined;ResetQueue(r);r._started=false;r._closeRequested=false;r._pullAgain=false;r._pulling=false;r._strategySizeAlgorithm=a;r._strategyHWM=o;r._pullAlgorithm=s;r._cancelAlgorithm=i;t._readableStreamController=r;const l=n();uponPromise(promiseResolvedWith(l),(()=>{r._started=true;ReadableStreamDefaultControllerCallPullIfNeeded(r);return null}),(t=>{ReadableStreamDefaultControllerError(r,t);return null}))}function SetUpReadableStreamDefaultControllerFromUnderlyingSource(t,r,n,s){const i=Object.create(ReadableStreamDefaultController.prototype);let o;let a;let l;if(r.start!==undefined){o=()=>r.start(i)}else{o=()=>undefined}if(r.pull!==undefined){a=()=>r.pull(i)}else{a=()=>promiseResolvedWith(undefined)}if(r.cancel!==undefined){l=t=>r.cancel(t)}else{l=()=>promiseResolvedWith(undefined)}SetUpReadableStreamDefaultController(t,i,o,a,l,n,s)}function defaultControllerBrandCheckException$1(t){return new TypeError(`ReadableStreamDefaultController.prototype.${t} can only be used on a ReadableStreamDefaultController`)}function ReadableStreamTee(t,r){if(IsReadableByteStreamController(t._readableStreamController)){return ReadableByteStreamTee(t)}return ReadableStreamDefaultTee(t)}function ReadableStreamDefaultTee(t,r){const n=AcquireReadableStreamDefaultReader(t);let s=false;let i=false;let o=false;let a=false;let l;let c;let u;let d;let p;const h=newPromise((t=>{p=t}));function pullAlgorithm(){if(s){i=true;return promiseResolvedWith(undefined)}s=true;const t={_chunkSteps:t=>{_queueMicrotask((()=>{i=false;const r=t;const n=t;if(!o){ReadableStreamDefaultControllerEnqueue(u._readableStreamController,r)}if(!a){ReadableStreamDefaultControllerEnqueue(d._readableStreamController,n)}s=false;if(i){pullAlgorithm()}}))},_closeSteps:()=>{s=false;if(!o){ReadableStreamDefaultControllerClose(u._readableStreamController)}if(!a){ReadableStreamDefaultControllerClose(d._readableStreamController)}if(!o||!a){p(undefined)}},_errorSteps:()=>{s=false}};ReadableStreamDefaultReaderRead(n,t);return promiseResolvedWith(undefined)}function cancel1Algorithm(r){o=true;l=r;if(a){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function cancel2Algorithm(r){a=true;c=r;if(o){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function startAlgorithm(){}u=CreateReadableStream(startAlgorithm,pullAlgorithm,cancel1Algorithm);d=CreateReadableStream(startAlgorithm,pullAlgorithm,cancel2Algorithm);uponRejection(n._closedPromise,(t=>{ReadableStreamDefaultControllerError(u._readableStreamController,t);ReadableStreamDefaultControllerError(d._readableStreamController,t);if(!o||!a){p(undefined)}return null}));return[u,d]}function ReadableByteStreamTee(t){let r=AcquireReadableStreamDefaultReader(t);let n=false;let s=false;let i=false;let o=false;let a=false;let l;let c;let u;let d;let p;const h=newPromise((t=>{p=t}));function forwardReaderError(t){uponRejection(t._closedPromise,(n=>{if(t!==r){return null}ReadableByteStreamControllerError(u._readableStreamController,n);ReadableByteStreamControllerError(d._readableStreamController,n);if(!o||!a){p(undefined)}return null}))}function pullWithDefaultReader(){if(IsReadableStreamBYOBReader(r)){ReadableStreamReaderGenericRelease(r);r=AcquireReadableStreamDefaultReader(t);forwardReaderError(r)}const l={_chunkSteps:r=>{_queueMicrotask((()=>{s=false;i=false;const l=r;let c=r;if(!o&&!a){try{c=CloneAsUint8Array(r)}catch(r){ReadableByteStreamControllerError(u._readableStreamController,r);ReadableByteStreamControllerError(d._readableStreamController,r);p(ReadableStreamCancel(t,r));return}}if(!o){ReadableByteStreamControllerEnqueue(u._readableStreamController,l)}if(!a){ReadableByteStreamControllerEnqueue(d._readableStreamController,c)}n=false;if(s){pull1Algorithm()}else if(i){pull2Algorithm()}}))},_closeSteps:()=>{n=false;if(!o){ReadableByteStreamControllerClose(u._readableStreamController)}if(!a){ReadableByteStreamControllerClose(d._readableStreamController)}if(u._readableStreamController._pendingPullIntos.length>0){ReadableByteStreamControllerRespond(u._readableStreamController,0)}if(d._readableStreamController._pendingPullIntos.length>0){ReadableByteStreamControllerRespond(d._readableStreamController,0)}if(!o||!a){p(undefined)}},_errorSteps:()=>{n=false}};ReadableStreamDefaultReaderRead(r,l)}function pullWithBYOBReader(l,c){if(IsReadableStreamDefaultReader(r)){ReadableStreamReaderGenericRelease(r);r=AcquireReadableStreamBYOBReader(t);forwardReaderError(r)}const h=c?d:u;const m=c?u:d;const g={_chunkSteps:r=>{_queueMicrotask((()=>{s=false;i=false;const l=c?a:o;const u=c?o:a;if(!u){let n;try{n=CloneAsUint8Array(r)}catch(r){ReadableByteStreamControllerError(h._readableStreamController,r);ReadableByteStreamControllerError(m._readableStreamController,r);p(ReadableStreamCancel(t,r));return}if(!l){ReadableByteStreamControllerRespondWithNewView(h._readableStreamController,r)}ReadableByteStreamControllerEnqueue(m._readableStreamController,n)}else if(!l){ReadableByteStreamControllerRespondWithNewView(h._readableStreamController,r)}n=false;if(s){pull1Algorithm()}else if(i){pull2Algorithm()}}))},_closeSteps:t=>{n=false;const r=c?a:o;const s=c?o:a;if(!r){ReadableByteStreamControllerClose(h._readableStreamController)}if(!s){ReadableByteStreamControllerClose(m._readableStreamController)}if(t!==undefined){if(!r){ReadableByteStreamControllerRespondWithNewView(h._readableStreamController,t)}if(!s&&m._readableStreamController._pendingPullIntos.length>0){ReadableByteStreamControllerRespond(m._readableStreamController,0)}}if(!r||!s){p(undefined)}},_errorSteps:()=>{n=false}};ReadableStreamBYOBReaderRead(r,l,1,g)}function pull1Algorithm(){if(n){s=true;return promiseResolvedWith(undefined)}n=true;const t=ReadableByteStreamControllerGetBYOBRequest(u._readableStreamController);if(t===null){pullWithDefaultReader()}else{pullWithBYOBReader(t._view,false)}return promiseResolvedWith(undefined)}function pull2Algorithm(){if(n){i=true;return promiseResolvedWith(undefined)}n=true;const t=ReadableByteStreamControllerGetBYOBRequest(d._readableStreamController);if(t===null){pullWithDefaultReader()}else{pullWithBYOBReader(t._view,true)}return promiseResolvedWith(undefined)}function cancel1Algorithm(r){o=true;l=r;if(a){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function cancel2Algorithm(r){a=true;c=r;if(o){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function startAlgorithm(){return}u=CreateReadableByteStream(startAlgorithm,pull1Algorithm,cancel1Algorithm);d=CreateReadableByteStream(startAlgorithm,pull2Algorithm,cancel2Algorithm);forwardReaderError(r);return[u,d]}function isReadableStreamLike(t){return typeIsObject(t)&&typeof t.getReader!=="undefined"}function ReadableStreamFrom(t){if(isReadableStreamLike(t)){return ReadableStreamFromDefaultReader(t.getReader())}return ReadableStreamFromIterable(t)}function ReadableStreamFromIterable(t){let r;const n=GetIterator(t,"async");const s=noop;function pullAlgorithm(){let t;try{t=IteratorNext(n)}catch(t){return promiseRejectedWith(t)}const s=promiseResolvedWith(t);return transformPromiseWith(s,(t=>{if(!typeIsObject(t)){throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object")}const n=IteratorComplete(t);if(n){ReadableStreamDefaultControllerClose(r._readableStreamController)}else{const n=IteratorValue(t);ReadableStreamDefaultControllerEnqueue(r._readableStreamController,n)}}))}function cancelAlgorithm(t){const r=n.iterator;let s;try{s=GetMethod(r,"return")}catch(t){return promiseRejectedWith(t)}if(s===undefined){return promiseResolvedWith(undefined)}let i;try{i=reflectCall(s,r,[t])}catch(t){return promiseRejectedWith(t)}const o=promiseResolvedWith(i);return transformPromiseWith(o,(t=>{if(!typeIsObject(t)){throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")}return undefined}))}r=CreateReadableStream(s,pullAlgorithm,cancelAlgorithm,0);return r}function ReadableStreamFromDefaultReader(t){let r;const n=noop;function pullAlgorithm(){let n;try{n=t.read()}catch(t){return promiseRejectedWith(t)}return transformPromiseWith(n,(t=>{if(!typeIsObject(t)){throw new TypeError("The promise returned by the reader.read() method must fulfill with an object")}if(t.done){ReadableStreamDefaultControllerClose(r._readableStreamController)}else{const n=t.value;ReadableStreamDefaultControllerEnqueue(r._readableStreamController,n)}}))}function cancelAlgorithm(r){try{return promiseResolvedWith(t.cancel(r))}catch(t){return promiseRejectedWith(t)}}r=CreateReadableStream(n,pullAlgorithm,cancelAlgorithm,0);return r}function convertUnderlyingDefaultOrByteSource(t,r){assertDictionary(t,r);const n=t;const s=n===null||n===void 0?void 0:n.autoAllocateChunkSize;const i=n===null||n===void 0?void 0:n.cancel;const o=n===null||n===void 0?void 0:n.pull;const a=n===null||n===void 0?void 0:n.start;const l=n===null||n===void 0?void 0:n.type;return{autoAllocateChunkSize:s===undefined?undefined:convertUnsignedLongLongWithEnforceRange(s,`${r} has member 'autoAllocateChunkSize' that`),cancel:i===undefined?undefined:convertUnderlyingSourceCancelCallback(i,n,`${r} has member 'cancel' that`),pull:o===undefined?undefined:convertUnderlyingSourcePullCallback(o,n,`${r} has member 'pull' that`),start:a===undefined?undefined:convertUnderlyingSourceStartCallback(a,n,`${r} has member 'start' that`),type:l===undefined?undefined:convertReadableStreamType(l,`${r} has member 'type' that`)}}function convertUnderlyingSourceCancelCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertUnderlyingSourcePullCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertUnderlyingSourceStartCallback(t,r,n){assertFunction(t,n);return n=>reflectCall(t,r,[n])}function convertReadableStreamType(t,r){t=`${t}`;if(t!=="bytes"){throw new TypeError(`${r} '${t}' is not a valid enumeration value for ReadableStreamType`)}return t}function convertIteratorOptions(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.preventCancel;return{preventCancel:Boolean(n)}}function convertPipeOptions(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.preventAbort;const s=t===null||t===void 0?void 0:t.preventCancel;const i=t===null||t===void 0?void 0:t.preventClose;const o=t===null||t===void 0?void 0:t.signal;if(o!==undefined){assertAbortSignal(o,`${r} has member 'signal' that`)}return{preventAbort:Boolean(n),preventCancel:Boolean(s),preventClose:Boolean(i),signal:o}}function assertAbortSignal(t,r){if(!isAbortSignal(t)){throw new TypeError(`${r} is not an AbortSignal.`)}}function convertReadableWritablePair(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.readable;assertRequiredField(n,"readable","ReadableWritablePair");assertReadableStream(n,`${r} has member 'readable' that`);const s=t===null||t===void 0?void 0:t.writable;assertRequiredField(s,"writable","ReadableWritablePair");assertWritableStream(s,`${r} has member 'writable' that`);return{readable:n,writable:s}}class ReadableStream{constructor(t={},r={}){if(t===undefined){t=null}else{assertObject(t,"First parameter")}const n=convertQueuingStrategy(r,"Second parameter");const s=convertUnderlyingDefaultOrByteSource(t,"First parameter");InitializeReadableStream(this);if(s.type==="bytes"){if(n.size!==undefined){throw new RangeError("The strategy for a byte stream cannot have a size function")}const t=ExtractHighWaterMark(n,0);SetUpReadableByteStreamControllerFromUnderlyingSource(this,s,t)}else{const t=ExtractSizeAlgorithm(n);const r=ExtractHighWaterMark(n,1);SetUpReadableStreamDefaultControllerFromUnderlyingSource(this,s,r,t)}}get locked(){if(!IsReadableStream(this)){throw streamBrandCheckException$1("locked")}return IsReadableStreamLocked(this)}cancel(t=undefined){if(!IsReadableStream(this)){return promiseRejectedWith(streamBrandCheckException$1("cancel"))}if(IsReadableStreamLocked(this)){return promiseRejectedWith(new TypeError("Cannot cancel a stream that already has a reader"))}return ReadableStreamCancel(this,t)}getReader(t=undefined){if(!IsReadableStream(this)){throw streamBrandCheckException$1("getReader")}const r=convertReaderOptions(t,"First parameter");if(r.mode===undefined){return AcquireReadableStreamDefaultReader(this)}return AcquireReadableStreamBYOBReader(this)}pipeThrough(t,r={}){if(!IsReadableStream(this)){throw streamBrandCheckException$1("pipeThrough")}assertRequiredArgument(t,1,"pipeThrough");const n=convertReadableWritablePair(t,"First parameter");const s=convertPipeOptions(r,"Second parameter");if(IsReadableStreamLocked(this)){throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream")}if(IsWritableStreamLocked(n.writable)){throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream")}const i=ReadableStreamPipeTo(this,n.writable,s.preventClose,s.preventAbort,s.preventCancel,s.signal);setPromiseIsHandledToTrue(i);return n.readable}pipeTo(t,r={}){if(!IsReadableStream(this)){return promiseRejectedWith(streamBrandCheckException$1("pipeTo"))}if(t===undefined){return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`)}if(!IsWritableStream(t)){return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`))}let n;try{n=convertPipeOptions(r,"Second parameter")}catch(t){return promiseRejectedWith(t)}if(IsReadableStreamLocked(this)){return promiseRejectedWith(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"))}if(IsWritableStreamLocked(t)){return promiseRejectedWith(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"))}return ReadableStreamPipeTo(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!IsReadableStream(this)){throw streamBrandCheckException$1("tee")}const t=ReadableStreamTee(this);return CreateArrayFromList(t)}values(t=undefined){if(!IsReadableStream(this)){throw streamBrandCheckException$1("values")}const r=convertIteratorOptions(t,"First parameter");return AcquireReadableStreamAsyncIterator(this,r.preventCancel)}static from(t){return ReadableStreamFrom(t)}}Object.defineProperties(ReadableStream,{from:{enumerable:true}});Object.defineProperties(ReadableStream.prototype,{cancel:{enumerable:true},getReader:{enumerable:true},pipeThrough:{enumerable:true},pipeTo:{enumerable:true},tee:{enumerable:true},values:{enumerable:true},locked:{enumerable:true}});setFunctionName(ReadableStream.from,"from");setFunctionName(ReadableStream.prototype.cancel,"cancel");setFunctionName(ReadableStream.prototype.getReader,"getReader");setFunctionName(ReadableStream.prototype.pipeThrough,"pipeThrough");setFunctionName(ReadableStream.prototype.pipeTo,"pipeTo");setFunctionName(ReadableStream.prototype.tee,"tee");setFunctionName(ReadableStream.prototype.values,"values");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStream.prototype,r.toStringTag,{value:"ReadableStream",configurable:true})}if(typeof r.asyncIterator==="symbol"){Object.defineProperty(ReadableStream.prototype,r.asyncIterator,{value:ReadableStream.prototype.values,writable:true,configurable:true})}function CreateReadableStream(t,r,n,s=1,i=(()=>1)){const o=Object.create(ReadableStream.prototype);InitializeReadableStream(o);const a=Object.create(ReadableStreamDefaultController.prototype);SetUpReadableStreamDefaultController(o,a,t,r,n,s,i);return o}function CreateReadableByteStream(t,r,n){const s=Object.create(ReadableStream.prototype);InitializeReadableStream(s);const i=Object.create(ReadableByteStreamController.prototype);SetUpReadableByteStreamController(s,i,t,r,n,0,undefined);return s}function InitializeReadableStream(t){t._state="readable";t._reader=undefined;t._storedError=undefined;t._disturbed=false}function IsReadableStream(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_readableStreamController")){return false}return t instanceof ReadableStream}function IsReadableStreamLocked(t){if(t._reader===undefined){return false}return true}function ReadableStreamCancel(t,r){t._disturbed=true;if(t._state==="closed"){return promiseResolvedWith(undefined)}if(t._state==="errored"){return promiseRejectedWith(t._storedError)}ReadableStreamClose(t);const n=t._reader;if(n!==undefined&&IsReadableStreamBYOBReader(n)){const t=n._readIntoRequests;n._readIntoRequests=new SimpleQueue;t.forEach((t=>{t._closeSteps(undefined)}))}const s=t._readableStreamController[u](r);return transformPromiseWith(s,noop)}function ReadableStreamClose(t){t._state="closed";const r=t._reader;if(r===undefined){return}defaultReaderClosedPromiseResolve(r);if(IsReadableStreamDefaultReader(r)){const t=r._readRequests;r._readRequests=new SimpleQueue;t.forEach((t=>{t._closeSteps()}))}}function ReadableStreamError(t,r){t._state="errored";t._storedError=r;const n=t._reader;if(n===undefined){return}defaultReaderClosedPromiseReject(n,r);if(IsReadableStreamDefaultReader(n)){ReadableStreamDefaultReaderErrorReadRequests(n,r)}else{ReadableStreamBYOBReaderErrorReadIntoRequests(n,r)}}function streamBrandCheckException$1(t){return new TypeError(`ReadableStream.prototype.${t} can only be used on a ReadableStream`)}function convertQueuingStrategyInit(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.highWaterMark;assertRequiredField(n,"highWaterMark","QueuingStrategyInit");return{highWaterMark:convertUnrestrictedDouble(n)}}const byteLengthSizeFunction=t=>t.byteLength;setFunctionName(byteLengthSizeFunction,"size");class ByteLengthQueuingStrategy{constructor(t){assertRequiredArgument(t,1,"ByteLengthQueuingStrategy");t=convertQueuingStrategyInit(t,"First parameter");this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!IsByteLengthQueuingStrategy(this)){throw byteLengthBrandCheckException("highWaterMark")}return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!IsByteLengthQueuingStrategy(this)){throw byteLengthBrandCheckException("size")}return byteLengthSizeFunction}}Object.defineProperties(ByteLengthQueuingStrategy.prototype,{highWaterMark:{enumerable:true},size:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(ByteLengthQueuingStrategy.prototype,r.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:true})}function byteLengthBrandCheckException(t){return new TypeError(`ByteLengthQueuingStrategy.prototype.${t} can only be used on a ByteLengthQueuingStrategy`)}function IsByteLengthQueuingStrategy(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_byteLengthQueuingStrategyHighWaterMark")){return false}return t instanceof ByteLengthQueuingStrategy}const countSizeFunction=()=>1;setFunctionName(countSizeFunction,"size");class CountQueuingStrategy{constructor(t){assertRequiredArgument(t,1,"CountQueuingStrategy");t=convertQueuingStrategyInit(t,"First parameter");this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!IsCountQueuingStrategy(this)){throw countBrandCheckException("highWaterMark")}return this._countQueuingStrategyHighWaterMark}get size(){if(!IsCountQueuingStrategy(this)){throw countBrandCheckException("size")}return countSizeFunction}}Object.defineProperties(CountQueuingStrategy.prototype,{highWaterMark:{enumerable:true},size:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(CountQueuingStrategy.prototype,r.toStringTag,{value:"CountQueuingStrategy",configurable:true})}function countBrandCheckException(t){return new TypeError(`CountQueuingStrategy.prototype.${t} can only be used on a CountQueuingStrategy`)}function IsCountQueuingStrategy(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_countQueuingStrategyHighWaterMark")){return false}return t instanceof CountQueuingStrategy}function convertTransformer(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.cancel;const s=t===null||t===void 0?void 0:t.flush;const i=t===null||t===void 0?void 0:t.readableType;const o=t===null||t===void 0?void 0:t.start;const a=t===null||t===void 0?void 0:t.transform;const l=t===null||t===void 0?void 0:t.writableType;return{cancel:n===undefined?undefined:convertTransformerCancelCallback(n,t,`${r} has member 'cancel' that`),flush:s===undefined?undefined:convertTransformerFlushCallback(s,t,`${r} has member 'flush' that`),readableType:i,start:o===undefined?undefined:convertTransformerStartCallback(o,t,`${r} has member 'start' that`),transform:a===undefined?undefined:convertTransformerTransformCallback(a,t,`${r} has member 'transform' that`),writableType:l}}function convertTransformerFlushCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertTransformerStartCallback(t,r,n){assertFunction(t,n);return n=>reflectCall(t,r,[n])}function convertTransformerTransformCallback(t,r,n){assertFunction(t,n);return(n,s)=>promiseCall(t,r,[n,s])}function convertTransformerCancelCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}class TransformStream{constructor(t={},r={},n={}){if(t===undefined){t=null}const s=convertQueuingStrategy(r,"Second parameter");const i=convertQueuingStrategy(n,"Third parameter");const o=convertTransformer(t,"First parameter");if(o.readableType!==undefined){throw new RangeError("Invalid readableType specified")}if(o.writableType!==undefined){throw new RangeError("Invalid writableType specified")}const a=ExtractHighWaterMark(i,0);const l=ExtractSizeAlgorithm(i);const c=ExtractHighWaterMark(s,1);const u=ExtractSizeAlgorithm(s);let d;const p=newPromise((t=>{d=t}));InitializeTransformStream(this,p,c,u,a,l);SetUpTransformStreamDefaultControllerFromTransformer(this,o);if(o.start!==undefined){d(o.start(this._transformStreamController))}else{d(undefined)}}get readable(){if(!IsTransformStream(this)){throw streamBrandCheckException("readable")}return this._readable}get writable(){if(!IsTransformStream(this)){throw streamBrandCheckException("writable")}return this._writable}}Object.defineProperties(TransformStream.prototype,{readable:{enumerable:true},writable:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(TransformStream.prototype,r.toStringTag,{value:"TransformStream",configurable:true})}function InitializeTransformStream(t,r,n,s,i,o){function startAlgorithm(){return r}function writeAlgorithm(r){return TransformStreamDefaultSinkWriteAlgorithm(t,r)}function abortAlgorithm(r){return TransformStreamDefaultSinkAbortAlgorithm(t,r)}function closeAlgorithm(){return TransformStreamDefaultSinkCloseAlgorithm(t)}t._writable=CreateWritableStream(startAlgorithm,writeAlgorithm,closeAlgorithm,abortAlgorithm,n,s);function pullAlgorithm(){return TransformStreamDefaultSourcePullAlgorithm(t)}function cancelAlgorithm(r){return TransformStreamDefaultSourceCancelAlgorithm(t,r)}t._readable=CreateReadableStream(startAlgorithm,pullAlgorithm,cancelAlgorithm,i,o);t._backpressure=undefined;t._backpressureChangePromise=undefined;t._backpressureChangePromise_resolve=undefined;TransformStreamSetBackpressure(t,true);t._transformStreamController=undefined}function IsTransformStream(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_transformStreamController")){return false}return t instanceof TransformStream}function TransformStreamError(t,r){ReadableStreamDefaultControllerError(t._readable._readableStreamController,r);TransformStreamErrorWritableAndUnblockWrite(t,r)}function TransformStreamErrorWritableAndUnblockWrite(t,r){TransformStreamDefaultControllerClearAlgorithms(t._transformStreamController);WritableStreamDefaultControllerErrorIfNeeded(t._writable._writableStreamController,r);TransformStreamUnblockWrite(t)}function TransformStreamUnblockWrite(t){if(t._backpressure){TransformStreamSetBackpressure(t,false)}}function TransformStreamSetBackpressure(t,r){if(t._backpressureChangePromise!==undefined){t._backpressureChangePromise_resolve()}t._backpressureChangePromise=newPromise((r=>{t._backpressureChangePromise_resolve=r}));t._backpressure=r}class TransformStreamDefaultController{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("desiredSize")}const t=this._controlledTransformStream._readable._readableStreamController;return ReadableStreamDefaultControllerGetDesiredSize(t)}enqueue(t=undefined){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("enqueue")}TransformStreamDefaultControllerEnqueue(this,t)}error(t=undefined){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("error")}TransformStreamDefaultControllerError(this,t)}terminate(){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("terminate")}TransformStreamDefaultControllerTerminate(this)}}Object.defineProperties(TransformStreamDefaultController.prototype,{enqueue:{enumerable:true},error:{enumerable:true},terminate:{enumerable:true},desiredSize:{enumerable:true}});setFunctionName(TransformStreamDefaultController.prototype.enqueue,"enqueue");setFunctionName(TransformStreamDefaultController.prototype.error,"error");setFunctionName(TransformStreamDefaultController.prototype.terminate,"terminate");if(typeof r.toStringTag==="symbol"){Object.defineProperty(TransformStreamDefaultController.prototype,r.toStringTag,{value:"TransformStreamDefaultController",configurable:true})}function IsTransformStreamDefaultController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledTransformStream")){return false}return t instanceof TransformStreamDefaultController}function SetUpTransformStreamDefaultController(t,r,n,s,i){r._controlledTransformStream=t;t._transformStreamController=r;r._transformAlgorithm=n;r._flushAlgorithm=s;r._cancelAlgorithm=i;r._finishPromise=undefined;r._finishPromise_resolve=undefined;r._finishPromise_reject=undefined}function SetUpTransformStreamDefaultControllerFromTransformer(t,r){const n=Object.create(TransformStreamDefaultController.prototype);let s;let i;let o;if(r.transform!==undefined){s=t=>r.transform(t,n)}else{s=t=>{try{TransformStreamDefaultControllerEnqueue(n,t);return promiseResolvedWith(undefined)}catch(t){return promiseRejectedWith(t)}}}if(r.flush!==undefined){i=()=>r.flush(n)}else{i=()=>promiseResolvedWith(undefined)}if(r.cancel!==undefined){o=t=>r.cancel(t)}else{o=()=>promiseResolvedWith(undefined)}SetUpTransformStreamDefaultController(t,n,s,i,o)}function TransformStreamDefaultControllerClearAlgorithms(t){t._transformAlgorithm=undefined;t._flushAlgorithm=undefined;t._cancelAlgorithm=undefined}function TransformStreamDefaultControllerEnqueue(t,r){const n=t._controlledTransformStream;const s=n._readable._readableStreamController;if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(s)){throw new TypeError("Readable side is not in a state that permits enqueue")}try{ReadableStreamDefaultControllerEnqueue(s,r)}catch(t){TransformStreamErrorWritableAndUnblockWrite(n,t);throw n._readable._storedError}const i=ReadableStreamDefaultControllerHasBackpressure(s);if(i!==n._backpressure){TransformStreamSetBackpressure(n,true)}}function TransformStreamDefaultControllerError(t,r){TransformStreamError(t._controlledTransformStream,r)}function TransformStreamDefaultControllerPerformTransform(t,r){const n=t._transformAlgorithm(r);return transformPromiseWith(n,undefined,(r=>{TransformStreamError(t._controlledTransformStream,r);throw r}))}function TransformStreamDefaultControllerTerminate(t){const r=t._controlledTransformStream;const n=r._readable._readableStreamController;ReadableStreamDefaultControllerClose(n);const s=new TypeError("TransformStream terminated");TransformStreamErrorWritableAndUnblockWrite(r,s)}function TransformStreamDefaultSinkWriteAlgorithm(t,r){const n=t._transformStreamController;if(t._backpressure){const s=t._backpressureChangePromise;return transformPromiseWith(s,(()=>{const s=t._writable;const i=s._state;if(i==="erroring"){throw s._storedError}return TransformStreamDefaultControllerPerformTransform(n,r)}))}return TransformStreamDefaultControllerPerformTransform(n,r)}function TransformStreamDefaultSinkAbortAlgorithm(t,r){const n=t._transformStreamController;if(n._finishPromise!==undefined){return n._finishPromise}const s=t._readable;n._finishPromise=newPromise(((t,r)=>{n._finishPromise_resolve=t;n._finishPromise_reject=r}));const i=n._cancelAlgorithm(r);TransformStreamDefaultControllerClearAlgorithms(n);uponPromise(i,(()=>{if(s._state==="errored"){defaultControllerFinishPromiseReject(n,s._storedError)}else{ReadableStreamDefaultControllerError(s._readableStreamController,r);defaultControllerFinishPromiseResolve(n)}return null}),(t=>{ReadableStreamDefaultControllerError(s._readableStreamController,t);defaultControllerFinishPromiseReject(n,t);return null}));return n._finishPromise}function TransformStreamDefaultSinkCloseAlgorithm(t){const r=t._transformStreamController;if(r._finishPromise!==undefined){return r._finishPromise}const n=t._readable;r._finishPromise=newPromise(((t,n)=>{r._finishPromise_resolve=t;r._finishPromise_reject=n}));const s=r._flushAlgorithm();TransformStreamDefaultControllerClearAlgorithms(r);uponPromise(s,(()=>{if(n._state==="errored"){defaultControllerFinishPromiseReject(r,n._storedError)}else{ReadableStreamDefaultControllerClose(n._readableStreamController);defaultControllerFinishPromiseResolve(r)}return null}),(t=>{ReadableStreamDefaultControllerError(n._readableStreamController,t);defaultControllerFinishPromiseReject(r,t);return null}));return r._finishPromise}function TransformStreamDefaultSourcePullAlgorithm(t){TransformStreamSetBackpressure(t,false);return t._backpressureChangePromise}function TransformStreamDefaultSourceCancelAlgorithm(t,r){const n=t._transformStreamController;if(n._finishPromise!==undefined){return n._finishPromise}const s=t._writable;n._finishPromise=newPromise(((t,r)=>{n._finishPromise_resolve=t;n._finishPromise_reject=r}));const i=n._cancelAlgorithm(r);TransformStreamDefaultControllerClearAlgorithms(n);uponPromise(i,(()=>{if(s._state==="errored"){defaultControllerFinishPromiseReject(n,s._storedError)}else{WritableStreamDefaultControllerErrorIfNeeded(s._writableStreamController,r);TransformStreamUnblockWrite(t);defaultControllerFinishPromiseResolve(n)}return null}),(r=>{WritableStreamDefaultControllerErrorIfNeeded(s._writableStreamController,r);TransformStreamUnblockWrite(t);defaultControllerFinishPromiseReject(n,r);return null}));return n._finishPromise}function defaultControllerBrandCheckException(t){return new TypeError(`TransformStreamDefaultController.prototype.${t} can only be used on a TransformStreamDefaultController`)}function defaultControllerFinishPromiseResolve(t){if(t._finishPromise_resolve===undefined){return}t._finishPromise_resolve();t._finishPromise_resolve=undefined;t._finishPromise_reject=undefined}function defaultControllerFinishPromiseReject(t,r){if(t._finishPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._finishPromise);t._finishPromise_reject(r);t._finishPromise_resolve=undefined;t._finishPromise_reject=undefined}function streamBrandCheckException(t){return new TypeError(`TransformStream.prototype.${t} can only be used on a TransformStream`)}t.ByteLengthQueuingStrategy=ByteLengthQueuingStrategy;t.CountQueuingStrategy=CountQueuingStrategy;t.ReadableByteStreamController=ReadableByteStreamController;t.ReadableStream=ReadableStream;t.ReadableStreamBYOBReader=ReadableStreamBYOBReader;t.ReadableStreamBYOBRequest=ReadableStreamBYOBRequest;t.ReadableStreamDefaultController=ReadableStreamDefaultController;t.ReadableStreamDefaultReader=ReadableStreamDefaultReader;t.TransformStream=TransformStream;t.TransformStreamDefaultController=TransformStreamDefaultController;t.WritableStream=WritableStream;t.WritableStreamDefaultController=WritableStreamDefaultController;t.WritableStreamDefaultWriter=WritableStreamDefaultWriter}))},6144:(t,r,n)=>{n.a(t,(async(t,r)=>{try{var s=n(4040);const t=1;const i=await(0,s.D)().catch((()=>t));if(typeof i==="number"){process.exitCode=i}r()}catch(t){r(t)}}),1)},4040:(r,n,s)=>{s.d(n,{D:()=>main});var i={};s.r(i);s.d(i,{GameVersionFilter:()=>G});var o={};s.r(o);s.d(o,{VersionType:()=>te});var a={};s.r(a);s.d(a,{ModrinthUnfeatureMode:()=>pe});var l={};s.r(l);s.d(l,{SecureString:()=>SecureString});var c={};s.r(c);s.d(c,{FailMode:()=>Oe});var u={};s.r(u);s.d(u,{FileInfo:()=>FileInfo,fileEquals:()=>fileEquals,findFiles:()=>findFiles,findFilesSync:()=>findFilesSync,readAllText:()=>readAllText,readAllTextSync:()=>readAllTextSync,readAllZippedText:()=>readAllZippedText,readFile:()=>file_info_readFile,readFileSync:()=>readFileSync,readZippedFile:()=>readZippedFile});var d={};s.r(d);s.d(d,{createDependency:()=>createDependency,formatDependency:()=>formatDependency,isDependency:()=>isDependency,parseDependency:()=>parseDependency});var p={};s.r(p);s.d(p,{JavaVersion:()=>JavaVersion});var h={};s.r(h);const m=Symbol.for("call");function makeCallable(t){function call(...t){return call[m](...t)}Object.assign(call,t);Object.setPrototypeOf(call,Object.getPrototypeOf(t));return call}function convertComparerToEqualityComparer(t){return(r,n)=>t(r,n)===0}function invertComparer(t){return(r,n)=>t(n,r)}function combineComparers(t,r){return(n,s)=>{const i=t(n,s);return i===0?r(n,s):i}}function negateEqualityComparer(t){return(r,n)=>!t(r,n)}function orEqualityComparers(t,r){return(n,s)=>t(n,s)||r(n,s)}function andEqualityComparers(t,r){return(n,s)=>t(n,s)&&r(n,s)}class CompositeEqualityComparer{_comparer;_negated;constructor(t,r){this._comparer=t;this._negated=r}static createInternal(t,r){return makeCallable(new CompositeEqualityComparer(t,r))}static create(t){return CompositeEqualityComparer.createInternal(t)}equals(t,r){return this._comparer(t,r)}[m](t,r){return this._comparer(t,r)}or(t){const r=t instanceof CompositeEqualityComparer?t._comparer:t;const n=orEqualityComparers(this._comparer,r);return CompositeEqualityComparer.createInternal(n)}and(t){const r=t instanceof CompositeEqualityComparer?t._comparer:t;const n=andEqualityComparers(this._comparer,r);return CompositeEqualityComparer.createInternal(n)}negate(){this._negated??=CompositeEqualityComparer.createInternal(negateEqualityComparer(this._comparer),this);return this._negated}}class CompositeComparer{_comparer;_inverted;constructor(t,r){this._comparer=t;this._inverted=r}static createInternal(t,r){return makeCallable(new CompositeComparer(t,r))}static create(t){return CompositeComparer.createInternal(t)}compare(t,r){return this._comparer(t,r)}[m](t,r){return this._comparer(t,r)}thenBy(t){const r=t instanceof CompositeComparer?t._comparer:t;const n=combineComparers(this._comparer,r);return CompositeComparer.createInternal(n)}invert(){this._inverted??=CompositeComparer.createInternal(invertComparer(this._comparer),this);return this._inverted}asEqualityComparer(){return CompositeEqualityComparer.create(convertComparerToEqualityComparer(this._comparer))}}function createComparer(t){return CompositeComparer.create(t)}const g=createComparer(((t,r)=>{if(t===undefined){return r===undefined?0:-1}if(t===null){return r===undefined?1:r===null?0:-1}if(r===undefined||r===null){return 1}return 0}));const y=g.thenBy(((t,r)=>tr?1:0));function createBaseComparer(){return g}function createDefaultComparer(){return y}const b=createDefaultComparer();const _=createBaseComparer().thenBy(((t,r)=>t?.localeCompare(r,undefined,{sensitivity:"accent"})??0));function createEqualityComparer(t){return CompositeEqualityComparer.create(t)}const S=createEqualityComparer(((t,r)=>t===r));function createDefaultEqualityComparer(){return S}const E=t(import.meta.url)("node:crypto");function string_utils_asString(t){return typeof t==="string"?t:String(t)}const v=/^\p{L}$/u;function isLetter(t){return t?.length===1&&v.test(t)}const R=/^\d$/;function isDigit(t){return t?.length===1&&t>="0"&&t<="9"}const w=/^(?:\p{L}|\d)$/u;function isLetterOrDigit(t){return t?.length===1&&w.test(t)}const C=/^[^\p{Ll}]*$/u;function isUpperCase(t){return C.test(t)}const A=/^[^\p{Lu}]*$/u;function isLowerCase(t){return A.test(t)}function isNumberString(t){return String(+t)===t}function isIntegerString(t){return String(parseInt(t))===t}function stringCompare(t,r,n){const s=n?.ignoreCase?_:b;return s.compare(t,r)}function stringEquals(t,r,n){return stringCompare(t,r,n)===0}function capitalize(t){return t.charAt(0).toUpperCase()+t.slice(1)}function uncapitalize(t){return t.charAt(0).toLowerCase()+t.slice(1)}function toPascalCase(t){if(isUpperCase(t)){t=t.toLowerCase()}return t.replace(/(?:^|[\s_-])(\w)/g,((t,r)=>r.toUpperCase())).replace(/[\s_-]/g,"")}function split(t,r,n){if(!t){return[]}if(Array.isArray(r)){return splitByArrayOfStrings(t,r,n)}return splitByStringOrRegex(t,r,n)}function splitByStringOrRegex(t,r,n){const s=n?.trimEntries??false;const i=n?.removeEmptyEntries??false;const o=t.split(r);if(s){for(let t=0;tt)):o}function splitByArrayOfStrings(t,r,n){const s=n?.trimEntries??false;const i=n?.removeEmptyEntries??false;const o=[];let a=-1;for(let n=0;n{if(t.length<=n){return t}const r=t.split(" ");const s=[];let i="";for(const t of r){if(i.length+t.length<=n){i+=(i?" ":"")+t}else{s.push(i);i=t}}s.push(i);return s}));return i}function string_utils_pad(t,r,n){t||="";switch(n?.align){case"left":return t.padEnd(r,n?.fillString);case"right":return t.padStart(r,n?.fillString);default:const s=r-t.length;if(s<=0){return t}const i=(s>>1)+t.length;return t.padStart(i,n?.fillString).padEnd(r,n?.fillString)}}function generateSecureRandomString(t){const r=(0,E.randomBytes)(Math.ceil(t/2));return r.toString("hex").slice(0,t)}function string_utils_hashString(t,r="sha256"){return createHash(r).update(t).digest("hex")}const T=createDefaultEqualityComparer();const I=_.asEqualityComparer();const P=createEqualityComparer(((t,r)=>compareStringsIgnoreNonWordCharacters(t,r,false)));const N=createEqualityComparer(((t,r)=>compareStringsIgnoreNonWordCharacters(t,r,true)));function compareStringsIgnoreNonWordCharacters(t,r,n){if(t===null||t===undefined||r===null||r===undefined){return t===r}const s=n?"accent":"variant";let i=0;let o=0;while(i=t.length&&o>=r.length}class BigIntDescriptor{get name(){return"bigint"}get defaultValue(){return 0n}hasFlag(t,r){return(t&r)===r}addFlag(t,r){return t|r}removeFlag(t,r){return t&~r}}class BooleanDescriptor{get name(){return"boolean"}get defaultValue(){return false}hasFlag(t,r){return!r||t}addFlag(t,r){return t||r}removeFlag(t,r){return t&&!r}}class NumberDescriptor{get name(){return"number"}get defaultValue(){return 0}hasFlag(t,r){return(t&r)===r}addFlag(t,r){return t|r}removeFlag(t,r){return t&~r}}const D=[",","|"];const O=D[0];class StringDescriptor{get name(){return"string"}get defaultValue(){return""}hasFlag(t,r){if(r===this.defaultValue||r===t){return true}if(!t){return false}const n=split(t,D,{trimEntries:true,removeEmptyEntries:true});return n.includes(r)}addFlag(t,r){t=this.removeFlag(t,r);return t?`${t}${O} ${r}`:t}removeFlag(t,r){if(t===this.defaultValue||r===this.defaultValue){return t}if(t===r){return this.defaultValue}const n=split(t,D,{trimEntries:true,removeEmptyEntries:true});return n.filter((t=>t!==r)).join(`${O} `)}}const k=new Map([["bigint",new BigIntDescriptor],["boolean",new BooleanDescriptor],["number",new NumberDescriptor],["string",new StringDescriptor]]);function getEnumDescriptorByUnderlyingType(t){return k.get(t)}function inferEnumDescriptorOrThrow(t){if(!t.every(((t,r,n)=>r===0||typeof t===typeof n[r-1]))){throw new Error("The enum must contain objects of the same type.")}const r=t.length?typeof t[0]:"number";const n=getEnumDescriptorByUnderlyingType(r);if(!n){throw new Error(`'${r}' is not an acceptable enum type.`)}return n}function isSet(t){if(t instanceof Set){return true}const r=t;return!!r&&typeof r.values==="function"&&typeof r.add==="function"&&typeof r.delete==="function"&&typeof r.has==="function"&&typeof r[Symbol.iterator]==="function"}function isReadOnlySet(t){if(t instanceof Set){return true}const r=t;return!!r&&typeof r.values==="function"&&typeof r.has==="function"&&typeof r[Symbol.iterator]==="function"}class ArraySet{_values;_comparer;constructor(t,r){r??=typeof t==="function"?t:createDefaultEqualityComparer();const n=t&&t!==r?t:[];this._values=[];this._comparer=r;for(const t of n){this.add(t)}}get size(){return this._values.length}add(t){const r=iterable_$i(this._values).indexOf(t,this._comparer);if(r===-1){this._values.push(t)}else{this._values[r]=t}return this}has(t){return iterable_$i(this._values).includes(t,this._comparer)}delete(t){const r=iterable_$i(this._values).indexOf(t,this._comparer);if(r===-1){return false}this._values.splice(r,1);return true}clear(){this._values.splice(0)}keys(){return this._values[Symbol.iterator]()}values(){return this._values[Symbol.iterator]()}*entries(){const t=this._values;for(let r=0;rn(r(t),r(s));return new ArraySet(t,valueComparer)}return new Map(map(t,(t=>[r(t),t]))).values()}function*map(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){yield r(n,s++,t)}}function*flatMap(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){yield*r(n,s++,t)}}function reduce(t,r,n,s){r=s===undefined?r:r.bind(s);let i=n;let o=0;for(const n of t){if(i===undefined&&o===0){i=n}else{i=r(i,n,o,t)}++o}return i}function*skip(t,r){const n=t[Symbol.iterator]();for(let t=0;tn}}function*take(t,r){let n=0;for(const s of t){if(++n>r){return}yield s}}function takeLast(t,r){const n=[];for(const s of t){n.push(s);if(n.length>r){n.shift()}}return n}function slice(t,r,n){if(n===0){return[]}const s=r<0||n<0;if(s){return asArray(t).slice(r,n)}r||=0;const i=r===0?t:skip(t,r);const o=n===undefined?i:take(i,n-r);return o}function reverse(t){return[...t].reverse()}function sort(t,r){return[...t].sort(r||createDefaultComparer())}function every(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(!r(n,s++,t)){return false}}return true}function some(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(r(n,s++,t)){return true}}return false}function min(t,r,n){return extremum(t,-1,r,n)}function max(t,r,n){return extremum(t,1,r,n)}function extremum(t,r,n,s){n||=createDefaultComparer();n=s===undefined?n:n.bind(s);let i=undefined;let o=-1;let a=-1;for(const s of t){++a;if(o===-1){i=s;o=a;continue}if(Math.sign(n(s,i,a,o,t))===r){i=s;o=a}}return i}function count(t,r,n){if(!r&&Array.isArray(t)){return t.length}let s=0;if(r){r=n===undefined?r:r.bind(n);let i=0;for(const n of t){if(r(n,i++,t)){++s}}}else{for(const r of t){++s}}return s}function indexOf(t,r,n,s){if(typeof n!=="number"){s=n;n=0}n??=0;s??=createDefaultEqualityComparer();let i=0;for(const o of t){if(i>=n&&s(r,o)){return i}++i}return-1}function lastIndexOf(t,r,n,s){if(typeof n!=="number"){s=n;n=Infinity}n??=Infinity;s??=createDefaultEqualityComparer();let i=0;let o=-1;for(const a of t){if(i>=n){break}if(s(r,a)){o=i}++i}return o}function includes(t,r,n,s){return indexOf(t,r,n,s)!==-1}function sequenceEqual(t,r,n){n??=createDefaultEqualityComparer();const s=t[Symbol.iterator]();const i=r[Symbol.iterator]();let o=s.next();let a=i.next();while(!o.done&&!a.done){if(!n(o.value,a.value)){return false}o=s.next();a=i.next()}return o.done&&a.done}function startsWith(t,r,n,s){if(typeof n!=="number"){s=n;n=0}n||=0;s||=createDefaultEqualityComparer();const i=skip(t,n||0)[Symbol.iterator]();const o=r[Symbol.iterator]();let a=i.next();let l=o.next();while(!l.done){if(a.done||!s(a.value,l.value)){return false}a=i.next();l=o.next()}return true}function endsWith(t,r,n,s){if(typeof n!=="number"){s=n;n=undefined}const i=asArray(r);const o=typeof n==="number"?take(t,n):t;const a=takeLast(o,i.length);return sequenceEqual(a,i,s)}function findIndex(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(r(n,s,t)){return s}++s}return-1}function first(t,r,n){if(!r){for(const r of t){return r}return undefined}r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(r(n,s++,t)){return n}}return undefined}function last(t,r,n){if(!r){let r=undefined;for(const n of t){r=n}return r}r=n===undefined?r:r.bind(n);let s=0;let i=undefined;for(const n of t){if(r(n,s++,t)){i=n}}return i}function at(t,r){if(Array.isArray(t)){return t.at(r)}const n=r<0;if(n){return first(takeLast(t,-r))}return first(skip(t,r))}function join(t,r){return asArray(t).join(r)}function*concat(...t){for(const r of t){yield*r}}function*prepend(t,r){yield r;yield*t}function*append(t,r){yield*t;yield r}function pop(t){const r=[...t];const n=r.pop();return[n,r]}function shift(t){const r=t[Symbol.iterator]();const n=r.next();const s=n.done?undefined:n.value;return[s,{[Symbol.iterator]:()=>r}]}function forEach(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){r(n,s++,t)}}function asArray(t){return Array.isArray(t)?t:[...t]}function asArrayLike(t){return Array.isArray(t)?t:iterable_$i(t)}function iterable_$i(t){return t instanceof ArrayLikeIterable?t:ArrayLikeIterable.from(t)}class ArrayLikeIterable{_iterable;constructor(t){this._iterable=t}static from(t){return new ArrayLikeIterable(t)}static of(t){return new ArrayLikeIterable({[Symbol.iterator]:()=>t})}get length(){return this.count()}filter(t,r){return ArrayLikeIterable.from(filter(this._iterable,t,r))}map(t,r){return ArrayLikeIterable.from(map(this._iterable,t,r))}flatMap(t,r){return ArrayLikeIterable.from(flatMap(this._iterable,t,r))}reduce(t,r,n){return reduce(this._iterable,t,r,n)}skip(t){return ArrayLikeIterable.from(skip(this._iterable,t))}take(t){return ArrayLikeIterable.from(take(this._iterable,t))}takeLast(t){return ArrayLikeIterable.from(takeLast(this._iterable,t))}slice(t,r){return ArrayLikeIterable.from(slice(this._iterable,t,r))}reverse(){return ArrayLikeIterable.from(reverse(this._iterable))}sort(t){return ArrayLikeIterable.from(sort(this._iterable,t))}every(t,r){return every(this._iterable,t,r)}some(t,r){return some(this._iterable,t,r)}min(t,r){return min(this._iterable,t,r)}max(t,r){return max(this._iterable,t,r)}count(t,r){return count(this._iterable,t,r)}indexOf(t,r,n){return indexOf(this._iterable,t,r,n)}lastIndexOf(t,r,n){return lastIndexOf(this._iterable,t,r,n)}includes(t,r,n){return includes(this._iterable,t,r,n)}sequenceEqual(t,r){return sequenceEqual(this._iterable,t,r)}startsWith(t,r,n){return startsWith(this._iterable,t,r,n)}endsWith(t,r,n){return endsWith(this._iterable,t,r,n)}findIndex(t,r){return findIndex(this._iterable,t,r)}find(t,r){return this.first(t,r)}first(t,r){return first(this._iterable,t,r)}last(t,r){return last(this._iterable,t,r)}at(t){return at(this._iterable,t)}join(t){return join(this._iterable,t)}concat(...t){return ArrayLikeIterable.from(concat(this._iterable,...t))}prepend(t){return ArrayLikeIterable.from(prepend(this._iterable,t))}append(t){return ArrayLikeIterable.from(append(this._iterable,t))}shift(){const[t,r]=shift(this._iterable);return[t,ArrayLikeIterable.from(r)]}unshift(t){return this.prepend(t)}push(t){return this.append(t)}pop(){const[t,r]=pop(this._iterable);return[t,ArrayLikeIterable.from(r)]}keys(){return map(this._iterable,((t,r)=>r))}values(){return this._iterable}entries(){return map(this._iterable,((t,r)=>[r,t]))}forEach(t,r){return forEach(this._iterable,t,r)}asArray(){return asArray(this._iterable)}toArray(){return[...this._iterable]}toMap(t){return t?new ArrayMap(this._iterable,t):new Map(this._iterable)}toSet(t){return t?new ArraySet(this._iterable,t):new Set(this._iterable)}toRecord(){return reduce(this._iterable,((t,[r,n])=>{t[r]=n;return t}),{})}distinct(t){return ArrayLikeIterable.from(distinct(this._iterable,t))}distinctBy(t,r){return ArrayLikeIterable.from(distinctBy(this._iterable,t,r))}[Symbol.iterator](){return this._iterable[Symbol.iterator]()}get[Symbol.toStringTag](){return"Iterable"}}function isMap(t){if(t instanceof Map){return true}const r=t;return!!r&&typeof r.keys==="function"&&typeof r.values==="function"&&typeof r.entries==="function"&&typeof r.get==="function"&&typeof r.set==="function"&&typeof r.has==="function"&&typeof r.delete==="function"&&typeof r[Symbol.iterator]==="function"}function isReadOnlyMap(t){if(t instanceof Map){return true}const r=t;return!!r&&typeof r.keys==="function"&&typeof r.values==="function"&&typeof r.entries==="function"&&typeof r.get==="function"&&typeof r.has==="function"&&typeof r[Symbol.iterator]==="function"}function map_isMultiMap(t){if(t instanceof MultiMap){return true}const r=t;return isMap(r)&&typeof r.append==="function"}class ArrayMap{_keys;_values;_comparer;constructor(t,r){r??=typeof t==="function"?t:createDefaultEqualityComparer();this._keys=[];this._values=[];this._comparer=r;const n=t&&t!==r?t:[];for(const[t,r]of n){this.set(t,r)}}get size(){return this._keys.length}get(t){const r=iterable_$i(this._keys).indexOf(t,this._comparer);return this._values[r]}set(t,r){const n=iterable_$i(this._keys).indexOf(t,this._comparer);if(n===-1){this._keys.push(t);this._values.push(r)}else{this._keys[n]=t;this._values[n]=r}return this}has(t){return iterable_$i(this._keys).includes(t,this._comparer)}delete(t){const r=iterable_$i(this._keys).indexOf(t,this._comparer);if(r===-1){return false}this._keys.splice(r,1);this._values.splice(r,1);return true}clear(){this._keys.splice(0);this._values.splice(0)}keys(){return this._keys[Symbol.iterator]()}values(){return this._values[Symbol.iterator]()}*entries(){const t=this._keys;const r=this._values;for(let n=0;nt))}flatEntries(){return iterable_$i(this.entries()).flatMap((([t,r])=>iterable_$i(r).map((r=>[t,r]))))}forEachFlat(t,r){t=r===undefined?t:t.bind(r);for(const[r,n]of this.flatEntries()){t(n,r,this)}}}function isKeyValueIterable(t){return typeof t?.entries==="function"}function defineNestedProperties(t,r,n){const s=isIterable(r)?r:Object.entries(r);for(const[r,i]of s){defineNestedProperty(t,r,i,n)}return t}function defineNestedProperty(t,r,n,s){r=typeof r==="string"?r.split("."):r;s||=()=>({value:{},writable:true,configurable:true,enumerable:true});let i=t;const o=r.length-1;for(let t=0;tt===r))?.[1]}function getAllKeys(t){return iterable_$i(getAllPropertyDescriptors(t)).map((([t])=>t))}function getAllNames(t){return iterable_$i(getAllKeys(t)).filter((t=>typeof t==="string"))}function getAllSymbols(t){return $i(getAllKeys(t)).filter((t=>typeof t==="symbol"))}function getAllValues(t){return $i(getAllPropertyDescriptors(t)).map((([r])=>t[r]))}function getAllEntries(t){return $i(getAllPropertyDescriptors(t)).map((([r])=>[r,t[r]]))}function getOwnEntries(t){if(!t){return[]}if(!Array.isArray(t)&&isKeyValueIterable(t)){return t.entries()}if(iterable_isIterable(t)){const r=asArray(t);if(r.every((t=>Array.isArray(t)))){return r}}if(Array.isArray(t)){return t.entries()}return Object.entries(t)}function merge(...t){const r={};const n=$i(t).flatMap((t=>getAllPropertyDescriptors(t)));for(const[t,s]of n){Object.defineProperty(r,t,s)}return r}function getSafe(t,r){if(t===null||t===undefined){return undefined}try{return t[r]}catch{return undefined}}function isInvalid(t){return t===null||t===undefined||typeof t==="number"&&isNaN(t)}function toUndefined(t){return undefined}function convert_toString(t){return isInvalid(t)?undefined:String(t)}function toBoolean(t){if(isInvalid(t)){return undefined}switch(typeof t){case"boolean":return!!t;case"number":return t!==0;case"string":if(stringEquals("true",t,{ignoreCase:true})){return true}if(stringEquals("false",t,{ignoreCase:true})){return false}break;default:return undefined}return undefined}function toNumber(t,r){if(isInvalid(t)){return undefined}switch(typeof t){case"number":return r(t);case"boolean":return t?1:0;case"string":const n=r(t);return isNaN(n)?undefined:n;case"object":if(t instanceof Date&&!isNaN(t.getTime())){return t.getTime()}break;default:return undefined}return undefined}function toInteger(t){return toNumber(t,parseInt)}function toFloat(t){return toNumber(t,parseFloat)}function toDate(t){if(isInvalid(t)){return undefined}switch(typeof t){case"object":if(t instanceof Date&&!isNaN(t.getTime())){return t}break;case"string":case"number":const r=new Date(t);return isNaN(r.getTime())?undefined:r;default:return undefined}return undefined}const $=/\/(?.*)\/(?[a-z]*)/;function toRegExp(t){if(t instanceof RegExp){return t}if(typeof t!=="string"){return undefined}const r=t.match($);if(!r){return undefined}try{return new RegExp(r.groups.pattern,r.groups.flags)}catch{return undefined}}const L=["convert","from"];const F=["parse"];function getConverter(t,r){const n=[[L],[F,t=>r=>typeof r==="string"?t(r):undefined]];const s=r?[...n].reverse():n;for(const[r,n]of s){const s=getParseLikeFunction(t,r);if(!s){continue}const i=n?n(s):s;return i}return undefined}function getParseLikeFunction(t,r){if(isInvalid(t)){return undefined}const n=iterable_$i(r).first((r=>typeof getSafe(t,r)==="function"));if(n){return r=>t[n](r)}const s=getAllNames(t);const i=iterable_$i(s).filter((n=>r.some((r=>n.startsWith(r)&&typeof getSafe(t,n)==="function"))));const o=iterable_$i(i).min(((t,n)=>r.findIndex((r=>t.startsWith(r)))-r.findIndex((t=>n.startsWith(t)))));if(!o){return undefined}return r=>t[o](r)}const M=new Map([[String,convert_toString],[Number,toFloat],[Boolean,toBoolean],[Date,toDate],[RegExp,toRegExp]]);const B=new Map([["string",convert_toString],["number",toFloat],["boolean",toBoolean],["undefined",toUndefined]]);function toType(t,r){if(isInvalid(t)){return undefined}if(typeof r==="string"){const n=B.get(r);if(n){return n(t)}const s=globalThis[r];if(s){return toType(t,s)}return undefined}if(typeof r==="function"&&M.has(r)){const n=M.get(r);return n(t)}try{const n=getConverter(r,typeof t==="string");if(n!==undefined){const r=n(t);return isInvalid(r)?undefined:r}return new r(t)}catch{return undefined}}function enumKeys(t){if(isReadOnlyMap(t)){return[...t.keys()]}return Object.getOwnPropertyNames(t).filter((r=>isEnumKey(t,r)))}function isEnumKey(t,r){return typeof t[r]!=="function"&&r!==String(+r)}function enumEntries(t){if(isReadOnlyMap(t)){return[...t.entries()]}return enumKeys(t).map((r=>[r,t[r]]))}class DynamicEnum{_keys;_values;_names;_descriptor;_hasFlags;_comparer;constructor(t,r){this._keys=t.map((([t])=>t));this._values=t.map((([,t])=>t));this._names=new Map(r?.names||[]);this._descriptor=inferEnumDescriptorOrThrow(this._values);this._hasFlags=r?.hasFlags??false;this._comparer=r?.comparer||T;const n=iterable_$i(t).map((([t,r])=>[t,{value:r,enumerable:true}])).toRecord();Object.defineProperties(this,n)}static create(t,r){const n=enumEntries(t);return new DynamicEnum(n,r)}get[Symbol.toStringTag](){return"Enum"}get size(){return this._keys.length}get underlyingType(){return this._descriptor.name}hasFlag(t,r){return this._descriptor.hasFlag(t,r)}get(t){const r=this[t];if(typeof r===this.underlyingType||this._comparer===T){return r}const n=this._comparer;const s=this._keys;const i=this._values;for(let r=0;r=0?this._keys[r]:undefined}friendlyNameOf(t){const r=this.keyOf(t);if(r===undefined){return undefined}const n=this._names.get(r)??toPascalCase(r);return n}find(t,r){const n=this.findKey(t,r);return n===undefined?undefined:this.get(n)}findKey(t,r){t=r===undefined?t:t.bind(r);const n=this._keys;const s=this._values;for(let r=0;r=0;--t){const r=s[t];const l=r===i.defaultValue;const c=i.hasFlag(a,r);if(l||!c){continue}o=o?`${n[t]}${O} ${o}`:n[t];a=i.removeFlag(a,r)}return a===i.defaultValue&&o?o:String(t)}parse(t){const r=this.findOrParseValue(t);if(r!==undefined){return r}if(!this._hasFlags){return undefined}const n=split(t,D,{trimEntries:true,removeEmptyEntries:true});const s=this._descriptor;let i=s.defaultValue;for(const t of n){const r=this.findOrParseValue(t);if(r===undefined){return undefined}i=s.addFlag(i,r)}return i}findOrParseValue(t){const r=this.get(t);if(r!==undefined){return r}const n=toType(t,this.underlyingType);if(n!==undefined){return n}return undefined}}function enumValues(t){if(isReadOnlyMap(t)){return[...t.values()]}return enumKeys(t).map((r=>t[r]))}function hasFlag(t,r){const n=getEnumDescriptorByUnderlyingType(typeof r);return!!n?.hasFlag(t,r)}function createEnum(t,r,n){const s=typeof t==="function"?t():t;const i=toDynamicEnumOptions(r);const o=DynamicEnum.create(s,i);if(n){Object.assign(o,n)}return o}function toDynamicEnumOptions(t){if(!t||t.comparer){return t}const r=t;const n=r.ignoreCase?r.ignoreNonWordCharacters?N:I:r.ignoreNonWordCharacters?P:T;return{...r,comparer:n}}const j={hasFlag:hasFlag,create:createEnum,keys:enumKeys,values:enumValues,entries:enumEntries};const W=t(import.meta.url)("node:util");var U;(function(t){t[t["NONE"]=0]="NONE";t[t["RELEASES"]=1]="RELEASES";t[t["BETAS"]=2]="BETAS";t[t["ALPHAS"]=4]="ALPHAS";t[t["SNAPSHOTS"]=6]="SNAPSHOTS";t[t["ANY"]=7]="ANY";t[t["MIN_PATCH"]=8]="MIN_PATCH";t[t["MAX_PATCH"]=16]="MAX_PATCH";t[t["MIN_MINOR"]=32]="MIN_MINOR";t[t["MAX_MINOR"]=64]="MAX_MINOR";t[t["MIN_MAJOR"]=128]="MIN_MAJOR";t[t["MAX_MAJOR"]=256]="MAX_MAJOR";t[t["MIN"]=168]="MIN";t[t["MAX"]=336]="MAX"})(U||(U={}));const q={hasFlags:true,ignoreCase:true,ignoreNonWordCharacters:true};function game_version_filter_filter(t,r){let n=[...t];if(r===G.NONE||!r){return n}n=filterVersionType(n,r);n=applyVersionRange(n,(t=>t.version.major),r,G.MIN_MAJOR,G.MAX_MAJOR);n=applyVersionRange(n,(t=>t.version.minor),r,G.MIN_MINOR,G.MAX_MINOR);n=applyVersionRange(n,(t=>t.version.patch),r,G.MIN_PATCH,G.MAX_PATCH);return n}function filterVersionType(t,r){const n=G.hasFlag(r,G.RELEASES);const s=G.hasFlag(r,G.BETAS);const i=G.hasFlag(r,G.ALPHAS);const o=n&&s&&i||!(n||s||i);if(!o){return t.filter((t=>(!t.isRelease||n)&&(!t.isBeta||s)&&(!t.isAlpha||i)))}return t}function applyVersionRange(t,r,n,s,i){const o=G.hasFlag(n,s)?-1:G.hasFlag(n,i)?1:0;if(!o){return t}const a=t.reduce(((t,n)=>Math.sign(r(n)-t)===o?r(n):t),o===1?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER);return t.filter((t=>r(t)===a))}function _fromVersionResolver(t){if(stringEquals(t,"exact",{ignoreCase:true})){return U.MIN|U.RELEASES}if(stringEquals(t,"latest",{ignoreCase:true})){return U.MIN_MAJOR|U.MIN_MINOR|U.MAX_PATCH|U.RELEASES}if(stringEquals(t,"all",{ignoreCase:true})){return U.MIN_MAJOR|U.MIN_MINOR}return U.MIN_MAJOR|U.MIN_MINOR|U.RELEASES}const H=(0,W.deprecate)(_fromVersionResolver,"Use the new `game-version-filter` input instead of the deprecated `version-resolver` one.");const V={filter:game_version_filter_filter,fromVersionResolver:H};const G=j.create(U,q,V);var z=s(1383);function parseVersion(t){return SemVerVersion.parse(t)}const Y=/[a-z]{0,2}((\d+\.\d+)(\.\d+)?(.*))/i;class SemVerVersion{_semver;_version;constructor(t,r){this._semver=t;this._version=r??t.format()}static parse(t){const r=(0,z.parse)(t);if(r){return new SemVerVersion(r,t)}const n=t.match(Y);if(n){const t=n[3]?n[1]:`${n[2]}.0${n[4]}`;const r=(0,z.parse)(t)||(0,z.coerce)(t);return new SemVerVersion(r,n[0])}return undefined}get major(){return this._semver.major}get minor(){return this._semver.minor}get patch(){return this._semver.patch}compare(t){if(t===null||t===undefined){return 1}if(typeof t==="string"){t=SemVerVersion.parse(t)}return t instanceof SemVerVersion?this._semver.compare(t._semver):-t.compare(this)}format(){return this._semver.format()}toString(){return this._version}}function parseVersionRange(t){return SemVerVersionRange.parse(t)}function anyVersionRange(t){return SemVerVersionRange.any(t)}function noneVersionRange(t){return SemVerVersionRange.none(t)}const Q=/(?:\[|\()[^\])]+(?:\]|\))/g;function mixedToSemver(t){return t.replace(Q,intervalToSemver)}const K=/(?\[|\()\s*(?[^,\s]+)?\s*(?,)?\s*(?[^,\s\])]+)?\s*(?\]|\))/;function intervalToSemver(t){const r=t.match(K);if(!r){return""}const n=r.groups.from_bracket==="["?">=":">";const s=r.groups.from;const i=r.groups.separator;const o=r.groups.to_bracket==="]"?"<=":"<";const a=r.groups.to;if(!s&&!a){return"*"}if(!s){return`${o}${a}`}if(!i){return s}if(!a){return`${n}${s}`}return`${n}${s} ${o}${a}`}const X=/((?:\d+|[Xx*])(?:\.\d+|\.[Xx*]))(\.\d+|\.[Xx*])?([\w\-.+]*)/g;function fixMissingPatchVersion(t){return t.replace(X,((t,r,n,s)=>n?t:`${r}.0${s}`))}class SemVerVersionRange{static ANY=new SemVerVersionRange(new z.Range("*"),"*");static NONE=new SemVerVersionRange(new z.Range("<0.0.0"));_semver;_range;constructor(t,r){this._semver=t;this._range=r??t.format()}static any(t){if(!t||t===SemVerVersionRange.ANY._range){return SemVerVersionRange.ANY}return new SemVerVersionRange(SemVerVersionRange.ANY._semver,t)}static none(t){if(!t||t===SemVerVersionRange.NONE._range){return SemVerVersionRange.NONE}return new SemVerVersionRange(SemVerVersionRange.NONE._semver,t)}static parse(t){const r=(typeof t==="string"?[t]:asArray(t)).map((t=>t.trim()));const n=r.join(" || ");const s=r.map(mixedToSemver).map(fixMissingPatchVersion).join(" || ");try{const t=new z.Range(s,{includePrerelease:true});return new SemVerVersionRange(t,n)}catch{return undefined}}includes(t){if(typeof t==="string"){t=parseVersion(t)}const r=t?._semver;return this._semver.test(r||t.format())}format(){return this._semver.format()}toString(){return this._range}}var J;(function(t){t["ALPHA"]="alpha";t["BETA"]="beta";t["RELEASE"]="release"})(J||(J={}));const Z={ignoreCase:true};function parseFromFileName(t){if(t.match(/[+-_]alpha/i)){return te.ALPHA}if(t.match(/[+-_]beta/i)){return te.BETA}return te.RELEASE}const ee={parseFromFileName:parseFromFileName};const te=j.create(J,Z,ee);var re;(function(t){t["RELEASE"]="release";t["SNAPSHOT"]="snapshot";t["OLD_BETA"]="old_beta";t["OLD_ALPHA"]="old_alpha"})(re||(re={}));const ne={ignoreCase:true,ignoreNonWordCharacters:true};function toVersionType(t,r){switch(t){case ie.SNAPSHOT:return r?.match(/-pre|-rc|-beta|Pre-[Rr]elease|[Rr]elease Candidate/)?te.BETA:te.ALPHA;case ie.OLD_BETA:return te.BETA;case ie.OLD_ALPHA:return te.ALPHA;default:return te.RELEASE}}const se={toVersionType:toVersionType};const ie=j.create(re,ne,se);class MinecraftVersion{_id;_version;_mcType;_type;_url;_releaseDate;constructor(t,r,n,s,i){this._id=t;this._version=r;this._mcType=n;this._type=ie.toVersionType(n,String(r));this._url=s;this._releaseDate=i}get id(){return this._id}get version(){return this._version}get type(){return this._type}get url(){return this._url}get releaseDate(){return this._releaseDate}get isAlpha(){return this._type===te.ALPHA}get isBeta(){return this._type===te.BETA}get isSnapshot(){return!this.isRelease}get isRelease(){return this._type===te.RELEASE}get isOldAlpha(){return this._mcType===ie.OLD_ALPHA}get isOldBeta(){return this._mcType===ie.OLD_BETA}toString(){return this._id}}function getMinecraftVersionManifestEntries(t){return t.versions.map((t=>({...t,releaseDate:new Date(t.releaseTime)}))).sort(((t,r)=>r.releaseDate.valueOf()-t.releaseDate.valueOf()))}const oe="mc-publish";class MiddlewareHandler{_target;_delegates;constructor(t){this._target=t;this._delegates=[]}use(t){this._delegates.push(t);return this}execute(...t){return this.asFunction()(...t)}asFunction(){if(!this._delegates.length){return this._target}const t=this._target;const r=[...this._delegates];const apply=n=>(...s)=>ns.includes(t)))}return asArrayLike(t).some((t=>s.includes(t)))}function shouldUnfeature(t,r,n){if(t.id===r.id){return false}const s=getGameVersionMode(n);const i=getVersionTypeMode(n);const o=getLoaderMode(n);return satisfies(t.game_versions||[],r.game_versions||[],s)&&satisfies(t.version_type||te.RELEASE,r.version_type||te.RELEASE,i)&&satisfies(t.loaders||[],r.loaders||[],o)}const de={isNone:isNone,isSubset:isSubset,isIntersection:isIntersection,isAny:isAny,getGameVersionMode:getGameVersionMode,getVersionTypeMode:getVersionTypeMode,getLoaderMode:getLoaderMode,shouldUnfeature:shouldUnfeature};const pe=j.create(ue,fe,de);const he="aes-256-cbc";const me=32;const ge=16;const ye=new WeakMap;const be=new WeakMap;const _e=new WeakMap;class SecureString{constructor(t,r,n){ye.set(this,t);be.set(this,r);_e.set(this,n)}static from(t){if(t instanceof SecureString){return t}const r=Buffer.from(t||"");const n=(0,E.randomBytes)(me);const s=(0,E.randomBytes)(ge);const i=(0,E.createCipheriv)(he,n,s);const o=Buffer.concat([i.update(r),i.final()]);return new SecureString(o,n,s)}unwrap(){const t=ye.get(this);const r=be.get(this);const n=_e.get(this);if(!t||!r||!n){throw new Error("The SecureString instance was not properly initialized.")}const s=(0,E.createDecipheriv)(he,r,n);const i=Buffer.concat([s.update(t),s.final()]);return i.toString()}get[Symbol.toStringTag](){return"SecureString"}toString(){return"*****"}toJSON(){return this.toString()}}function isError(t){return t instanceof Error}class argument_error_ArgumentError extends Error{static DEFAULT_ARGUMENT_ERROR_MESSAGE="Value does not fall within the expected range.";static EMPTY_ARGUMENT_ERROR_MESSAGE="The value cannot be null, undefined, or empty.";static PARAM_NAME_MESSAGE_PATTERN=t=>t?` (Parameter '${t}')`:"";_paramName;constructor(t,r,n){super(argument_error_ArgumentError.formatErrorMessage(r,t),n);this.name="ArgumentError";this._paramName=t}get paramName(){return this._paramName}static throwIfNullOrEmpty(t,r,n){if(t===undefined||t===null||t.length===0){throw new argument_error_ArgumentError(r,n||argument_error_ArgumentError.EMPTY_ARGUMENT_ERROR_MESSAGE)}}static formatErrorMessage(t,r){t??=argument_error_ArgumentError.DEFAULT_ARGUMENT_ERROR_MESSAGE;t+=argument_error_ArgumentError.PARAM_NAME_MESSAGE_PATTERN(r);return t}}class ArgumentNullError extends argument_error_ArgumentError{static DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE="Value cannot be null or undefined.";constructor(t,r,n){super(t,r??ArgumentNullError.DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE,n);this.name="ArgumentNullError"}static throwIfNull(t,r,n){if(t===undefined||t===null){throw new ArgumentNullError(r,n)}}}const Se=t(import.meta.url)("node:os");const Ee=process.env;const ve="\r\n";const Re="\n";const we=Se.EOL;function environment_getEnvironmentVariable(t,r){r||=Ee;const n=r[t];return n===undefined?undefined:string_utils_asString(n)}function*getAllEnvironmentVariables(t){t||=Ee;for(const[r,n]of Object.entries(t)){if(n===undefined){continue}yield[r,string_utils_asString(n)]}}function environment_setEnvironmentVariable(t,r,n){n||=Ee;if(r===undefined){delete n[t]}else{n[t]=asString(r)}}function isDebug(t){return environment_getEnvironmentVariable("RUNNER_DEBUG",t)==="1"}function isGitHubAction(t){return environment_getEnvironmentVariable("GITHUB_ACTIONS",t)==="true"}function isWindows(t){t??=process.platform;return t==="win32"}function isMacOs(t){t??=process.platform;return t==="darwin"}function isLinux(t){t??=process.platform;return t==="linux"}const Ce=t(import.meta.url)("node:console");const Ae={error:Ce.error,warn:Ce.warn,info:Ce.info,debug:Ce.debug};class ConsoleLogger{_console;constructor(t){this._console=t||Ae}fatal(t){this._console.error(t)}error(t){this._console.error(t)}warn(t){this._console.warn(t)}info(t){this._console.info(t)}debug(t){this._console.debug(t)}}class NullLogger{fatal(t){}error(t){}warn(t){}info(t){}debug(t){}}class ProcessLogger{_logConsumer;_newline;constructor(t,r){if(typeof t==="function"){this._logConsumer=t}else{const r=t??globalThis.process;this._logConsumer=typeof r.stdout?.write==="function"?t=>r.stdout.write(t):()=>{}}this._newline=r??we}fatal(t){this.error(t)}error(t){this.log(t,"error")}warn(t){this.log(t,"warning")}info(t){this.log(t)}debug(t){this.log(t,"debug")}log(t,r){const n=r?`::${r}::`:"";this._logConsumer(`${n}${t}${this._newline}`)}}const Te=new NullLogger;const Ie=new ConsoleLogger;const Pe=new ProcessLogger;function getDefaultLogger(t){return isGitHubAction(t)?Pe:Ie}class Stopwatch{_isRunning;_startTime;_elapsedTime;_onStart;_onStop;constructor(t,r){this._isRunning=false;this._startTime=0;this._elapsedTime=0;this._onStart=t;this._onStop=r}get elapsedMilliseconds(){return this._elapsedTime+(this._isRunning?Date.now()-this._startTime:0)}get isRunning(){return this._isRunning}start(){if(this._isRunning){return false}this._startTime=Date.now();this._isRunning=true;this._onStart?.(new Date,this);return true}stop(){if(!this._isRunning){return false}this._elapsedTime+=Date.now()-this._startTime;this._isRunning=false;this._onStop?.(this._elapsedTime,new Date,this);return true}reset(){this.stop();this._elapsedTime=0}restart(){this.reset();this.start()}static startNew(t,r){const n=new Stopwatch(t,r);n.start();return n}}function createMessageCallback(t,r){if(typeof r==="string"){return()=>t.info(r)}if(!r){return undefined}return(...n)=>{const s=r(...n);if(typeof s==="string"){t.info(s)}}}class LoggingStopwatch extends Stopwatch{constructor(t,r,n){const s=createMessageCallback(t,r);const i=createMessageCallback(t,n);super(s,i)}static startNew(t,r,n){const s=new LoggingStopwatch(t,r,n);s.start();return s}}var Ne;(function(t){t[t["FAIL"]=0]="FAIL";t[t["WARN"]=1]="WARN";t[t["SKIP"]=2]="SKIP"})(Ne||(Ne={}));const De={ignoreCase:true};const Oe=j.create(Ne,De);class ErrorBuilder{_logger;_errors;constructor(t){this._logger=t||Te;this._errors=[]}get hasErrors(){return this._errors.length>0}append(t,r){switch(r??Oe.SKIP){case Oe.WARN:this._logger.error(t);break;case Oe.SKIP:this._logger.error(t);this._errors.push(t);break;default:throw t}}build(){return this.hasErrors?new AggregateError(this._errors):undefined}throwIfHasErrors(){const t=this.build();if(t){throw t}}}class SoftError extends Error{_isSoft;constructor(t,r){super(r);this.name="SoftError";this._isSoft=t}get isSoft(){return this._isSoft}}function isSoftError(t){return!!t?.isSoft}class FileNotFoundError extends Error{static DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN=t=>t?`Could not find file '${t}'.`:"Could not find the specified file.";_fileName;constructor(t,r,n){super(r??FileNotFoundError.DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN(t),n);this.name="FileNotFoundError";this._fileName=t}get fileName(){return this._fileName}static throwIfNotFound(t,r){if(!(0,ae.existsSync)(t)){throw new FileNotFoundError(String(t),r)}}}class HttpError extends SoftError{_response;constructor(t,r,n){super(n??isServerError(t),r);this.name="HttpError";this._response=t}get response(){return this._response}static async fromResponse(t,r){const n=HttpResponse.cache(t);const s=`${t.status} (${await n.text().then((r=>r&&!isHtmlDocument(r)?`${t.statusText}, ${r}`:t.statusText)).catch((()=>t.statusText))})`;return new HttpError(n,s,r)}}function isHttpError(t){return t instanceof HttpError}function isServerError(t){return t&&(t.status===429||t.status>=500)}function isHtmlDocument(t){return t.startsWith("$e()(t))));return iterable_$i(n).flatMap((t=>t)).distinct().map((t=>new FileInfo(t))).toArray()}function findFilesSync(t){const r=Array.isArray(t)?t:[t];const n=r.map((t=>$e().sync(t)));return iterable_$i(n).flatMap((t=>t)).distinct().map((t=>new FileInfo(t))).toArray()}async function file_info_readFile(t){const r=await getFileName(t);return await(0,Fe.readFile)(r)}async function readAllText(t,r){return(await file_info_readFile(t)).toString(r)}async function readZippedFile(t,r){const n=await getFileName(t);let s=undefined;try{s=new(xe().async)({file:n});return await s.entryData(r)}finally{await(s?.close().catch((()=>undefined)))}}async function readAllZippedText(t,r,n){return(await readZippedFile(t,r)).toString(n)}function readFileSync(t){const r=getFileNameSync(t);return(0,ae.readFileSync)(r)}function readAllTextSync(t,r){return readFileSync(t).toString(r)}async function getFileName(t){if((0,ae.existsSync)(t)){return t.toString()}const r=await $e()(t.toString());if(r?.[0]){return r[0]}throw new FileNotFoundError(t.toString())}function getFileNameSync(t){if((0,ae.existsSync)(t)){return t.toString()}const r=$e().sync(t.toString());if(r?.[0]){return r[0]}throw new FileNotFoundError(t.toString())}var Be;(function(t){t["CURSEFORGE"]="curseforge";t["MODRINTH"]="modrinth";t["GITHUB"]="github"})(Be||(Be={}));const je={ignoreCase:true,ignoreNonWordCharacters:true,names:[["CURSEFORGE","CurseForge"],["GITHUB","GitHub"]]};const We=j.create(Be,je);var Ue;(function(t){t["REQUIRED"]="required";t["RECOMMENDED"]="recommended";t["EMBEDDED"]="embedded";t["OPTIONAL"]="optional";t["CONFLICTING"]="conflicting";t["INCOMPATIBLE"]="incompatible"})(Ue||(Ue={}));const qe={ignoreCase:true};const He=j.create(Ue,qe);var Ve;(function(t){t["DEPENDS"]="depends";t["RECOMMENDS"]="recommends";t["INCLUDES"]="includes";t["SUGGESTS"]="suggests";t["BREAKS"]="breaks";t["CONFLICTS"]="conflicts"})(Ve||(Ve={}));const Ge={ignoreCase:true};function toDependencyType(t){switch(t){case Ye.DEPENDS:return He.REQUIRED;case Ye.RECOMMENDS:return He.RECOMMENDED;case Ye.INCLUDES:return He.EMBEDDED;case Ye.SUGGESTS:return He.OPTIONAL;case Ye.BREAKS:return He.INCOMPATIBLE;case Ye.CONFLICTS:return He.CONFLICTING;default:return undefined}}function fromDependencyType(t){switch(t){case He.REQUIRED:return Ye.DEPENDS;case He.RECOMMENDED:return Ye.RECOMMENDS;case He.EMBEDDED:return Ye.INCLUDES;case He.OPTIONAL:return Ye.SUGGESTS;case He.CONFLICTING:return Ye.CONFLICTS;case He.INCOMPATIBLE:return Ye.BREAKS;default:return undefined}}const ze={toDependencyType:toDependencyType,fromDependencyType:fromDependencyType};const Ye=j.create(Ve,Ge,ze);function isLegacyDependencyFormat(t){return!!t?.includes("|")&&!t.includes("@")}function _parseLegacyDependencyFormat(t){const[r,n,s]=t.split("|").map((t=>t.trim()));const i=n&&Ye.toDependencyType(Ye.parse(n));return{id:r,type:i,versions:s}}const Qe=(0,W.deprecate)(_parseLegacyDependencyFormat,"The old dependency string format is deprecated. "+"Please use the new format. "+"Example: foo@1.0.0-2.0.0(required){modrinth:foo-fabric}#(ignore:curseforge)");function parseDependency(t){const r=isLegacyDependencyFormat(t)?Qe(t):parseDependencyFormat(t);return r&&createDependency(r)}const Ke=/^\s*(?[^@{(#]+)(@(?[^@{(#]*))?(?:\((?[^@{(#]*)\))?(?(?:\{[^:=]+(?:=|:)[^}]*\})+)?(?#\(ignore(?::(?[^)]*))?\))?\s*$/;const Xe=/\{(?[^:=]+)(?:=|:)(?[^}]*)\}/g;function parseDependencyFormat(t){const r=t?.match(Ke);if(!r){return undefined}const n=r.groups.id.trim();const s=r.groups.versionRange?.trim();const i=r.groups.type?.trim();const o=iterable_$i(r.groups.aliases?.matchAll(Xe)||[]).map((t=>[t.groups.platform.trim(),t.groups.id.trim()]));const a=r.groups.ignoredPlatforms?.split(",").map((t=>t.trim()));const l=a?.length?undefined:!!r.groups.ignore;return{id:n,versions:s,type:i,aliases:o,ignore:l,ignoredPlatforms:a}}function createDependency(t){if(typeof t==="string"){return parseDependency(t)}if(isDependency(t)){return t}if(!t?.id){return undefined}const r=t.id||"";const n=t.type&&He.parse(t.type)||He.REQUIRED;const s=typeof t.versions==="string"?[t.versions]:iterable_isIterable(t.versions)?[...t.versions]:[(t.versions||anyVersionRange()).toString()];const i=s.filter((t=>t&&t!==anyVersionRange().toString()));if(!i.length){i.push(anyVersionRange().toString())}const o=iterable_$i(t.ignoredPlatforms||[]).map((t=>We.parse(t))).filter((t=>t)).toSet();const a=t.ignore?()=>true:t=>t?o.has(t):o.size===We.size;const l=iterable_$i(t.aliases||[]).map((([t,r])=>[We.parse(t),r])).filter((([t])=>t)).toMap();const getProjectId=t=>l.get(t)??r;return{id:r,versions:i,type:n,isIgnored:a,getProjectId:getProjectId}}function formatDependency(t){if(!t){return""}const r=t.versions.join(" || ");const n=r&&r!==anyVersionRange().toString()?`@${r}`:"";const s=iterable_$i(We.values()).filter((r=>t.isIgnored(r))).join(",");const i=s&&`#(ignore:${s})`;const o=iterable_$i(We.values()).filter((r=>t.getProjectId(r)!==t.id)).map((r=>`{${r}:${t.getProjectId(r)}}`)).join("");return`${t.id}${n}(${t.type})${o}${i}`}function isDependency(t){const r=t;return typeof r?.id==="string"&&typeof r.type===He.underlyingType&&Array.isArray(r.versions)&&typeof r.getProjectId==="function"&&typeof r.isIgnored==="function"}class JavaVersion{_name;_versionNumber;constructor(t){this._name=`Java ${t}`;this._versionNumber=t}static parse(t){if(!t){return undefined}const r=t.match(/(\d+)\s*$/);if(!r){return undefined}return new JavaVersion(+r[1])}static of(t){if(t instanceof JavaVersion){return t}if(typeof t==="number"){return new JavaVersion(t)}return JavaVersion.parse(String(t))}get name(){return this._name}get versionNumber(){return this._versionNumber}toString(){return this._name}toJSON(){return this._name}}const ACTION_MODULE_LOADER=t=>{if(t==="platforms/modrinth/modrinth-unfeature-mode")return Promise.resolve(a);if(t==="utils/security/secure-string")return Promise.resolve(l);if(t==="utils/io/file-info")return Promise.resolve(u);if(t==="utils/versioning/version-type")return Promise.resolve(o);if(t==="dependencies/dependency")return Promise.resolve(d);if(t==="games/game-version-filter")return Promise.resolve(i);if(t==="utils/java/java-version")return Promise.resolve(p);if(t==="utils/errors/fail-mode")return Promise.resolve(c);if(t==="platforms/uploaded-file")return Promise.resolve(h);return Promise.resolve(undefined)};const Je=new Function("x","return import(x).catch(() => undefined)");const Ze=ACTION_MODULE_LOADER;const DEFAULT_MODULE_PROVIDER=()=>Promise.resolve(globalThis);const et="default";function formatImportDirective(t){if(!t){return undefined}const r=t.module?`${t.module}->`:"";const n=t.isDefault?t.name:`{${t.name}}`;return`${r}${n}`}function parseImportDirective(t){if(!t){return undefined}const r=t.split("->");const n=r.length>1?r[0]:undefined;const s=r[r.length-1];const i=!s.startsWith("{")&&!s.endsWith("}");const o=s.replaceAll(/^{|}$/g,"").trim();return{name:o,module:n,isDefault:i}}async function executeImportDirective(t,r){t=typeof t==="string"?parseImportDirective(t):t;const n=r?.moduleLoader||Je;const s=r?.defaultModuleProvider||DEFAULT_MODULE_PROVIDER;const i=await(t.module?n(t.module):s(t));if(r?.required&&!i){throw new Error(`Cannot find module "${t.module}".`)}if(!i){return undefined}const o=normalizeImportName(t.name);const a=i[t.isDefault?et:o]??i[o]??i[t.name];if(r?.required&&a===undefined){throw new Error(`Cannot find value "${t.name}" in the imported module${t.module?` "${t.module}"`:""}.`)}return{value:a,module:i}}function normalizeImportName(t){t=t?.trim();if(!t){return et}if(t.startsWith("[")||t.endsWith("]")){return Array.name}if(t.includes("<")&&t.includes(">")){const r=t.replaceAll(/<.*>/g,"");return normalizeImportName(r)}return t}var tt=s(8010);var rt=s(4037);const nt=tt.Ct;const st=Symbol.for("path");function isFormData(t){return t?.[Symbol.toStringTag]==="FormData"}function toFormData(t){if(typeof t!=="object"&&typeof t!=="function"){return undefined}if(isFormData(t)){return t}return iterable_$i(getOwnEntries(t)).flatMap((([t,r])=>Array.isArray(r)?iterable_$i(r).map((r=>[t,r])):[[t,r]])).filter((([,t])=>t!==undefined&&t!==null)).map((([t,r])=>[t,...toFormDataEntry(r)])).reduce(((t,[r,n,s])=>{t.append(String(r),n,s);return t}),new nt)}function toFormDataEntry(t){if(!t||typeof t!=="object"&&typeof t!=="function"){return[t===undefined?"":String(t)]}const r=t[st];if(typeof r==="string"){const t=readBlobSync(r);return[t,(0,Me.basename)(r)]}return[JSON.stringify(t)]}if(!rt.MultipartParser){isFormData(rt.MultipartParser)}class QueryString extends URLSearchParams{constructor(t){super(normalizeUrlParams(t))}static parse(t){return new QueryString(t)}get size(){return iterable_$i(this.entries()).count()}get(t){return super.get(t)??undefined}append(t,r){super.append(t,r);return this}set(t,r){super.set(t,r);return this}delete(t){const r=this.has(t);if(r){super.delete(t)}return r}clear(){for(const t of[...super.keys()]){this.delete(t)}}getString(t){return this.get(t)}getBoolean(t){const r=this.get(t);return r===""||toBoolean(r)}getNumber(t){const r=this.get(t);return toFloat(r)}getDate(t){const r=this.get(t);return toDate(r)}getRegExp(t){const r=this.get(t);return toRegExp(r)}forEach(t,r){super.forEach(t,r)}get[Symbol.toStringTag](){return super[Symbol.toStringTag]}}function isURLSearchParams(t){return t?.[Symbol.toStringTag]==="URLSearchParams"}function isQueryString(t){return t instanceof QueryString}function normalizeUrlParams(t){if(t===undefined||t===null){return undefined}if(typeof t==="string"){const r=t.indexOf("?");return r>=0?t.substring(r+1):t}return iterable_$i(Array.isArray(t)?t:getOwnEntries(t)).flatMap((([t,r])=>Array.isArray(r)?iterable_$i(r).map((r=>[t,r])):[[t,r]])).filter((([,t])=>t!==undefined&&t!==null))}function isHttpRequestBody(t){return typeof t==="string"||isBlob(t)||Buffer.isBuffer(t)||isURLSearchParams(t)||isFormData(t)||isReadableStream(t)}function isStreamableHttpRequestBody(t){return isBlob(t)||Buffer.isBuffer(t)||isReadableStream(t)}function isReadableStream(t){const r=t;return!!r&&typeof r.read==="function"&&typeof r.pause==="function"&&typeof r.resume==="function"&&typeof r.setEncoding==="function"}const it=", ";function hasHeader(t,r){return getHeader(t,r)!==undefined}function getHeader(t,r){if(!t){return undefined}if(map_isMultiMap(t)){const n=t.get(r);return typeof n==="string"?n:n?asArrayLike(n).join(it):undefined}if(isMap(t)){return t.get(r)}if(iterable_isIterable(t)){const n=asArrayLike(t);return n.find((t=>asArrayLike(t).at(0)===r))?.[1]}return t[r]}function appendHeader(t,r,n){if(isMultiMap(t)){t.append(r,n);return t}const s=getHeader(t,r);const i=s?`${s}${it}${n}`:n;return setHeader(t,r,i)}function appendHeaders(t,r){return mergeHeaders(t,r,appendHeader)}function setHeader(t,r,n){if(n===undefined||n===null){return deleteHeader(t,r)}if(isMap(t)){t.set(r,n);return t}if(iterable_isIterable(t)){const s=asArray(t);const i=s.findIndex((t=>asArrayLike(t).at(0)===r));if(i>=0){s[i][1]=n}else{s.push([r,n])}return s}t||={};t[r]=n;return t}function setHeaders(t,r){return mergeHeaders(t,r,setHeader)}function setDefaultHeader(t,r,n){return hasHeader(t,r)?t:setHeader(t,r,n)}function setDefaultHeaders(t,r){return mergeHeaders(t,r,setDefaultHeader)}function deleteHeader(t,r){if(isMap(t)){t.delete(r);return t}if(iterable_isIterable(t)){return asArrayLike(t).filter((t=>asArrayLike(t).at(0)!==r))}delete t?.[r];return t}function deleteHeaders(t,r){for(const n of r){t=deleteHeader(t,n)}return t}function cloneHeaders(t){if(t?.constructor&&(isMap(t)||!iterable_isIterable(t))){return setHeaders(new t.constructor,t)}if(iterable_isIterable(t)){return[...t]}return undefined}function mergeHeaders(t,r,n){const s=iterable_isIterable(r)?r:Object.entries(r||{});for(const r of s){const[s,i]=asArray(r);t=n(t,s,i)}return t}function inferHttpRequestBodyHeaders(t){const r={};if(!isStreamableHttpRequestBody(t)){return r}const n="application/octet-stream";const s=typeof t.size==="number"?t.size:typeof t.byteLength==="number"?t.byteLength:Buffer.isBuffer(t["path"])?t["path"].byteLength:typeof t["path"]==="string"||t["path"]?.[Symbol.toStringTag]==="URL"?(0,ae.statSync)(t["path"]).size:undefined;r["Content-Type"]=n;r["Content-Length"]=String(s);return r}function http_method_httpMethodEquals(t,r){return t===r||isGetHttpMethod(t)&&isGetHttpMethod(r)}function canHttpMethodAcceptBody(t){return!isGetHttpMethod(t)&&!isHeadHttpMethod(t)&&!isConnectHttpMethod(t)&&!isTraceHttpMethod(t)}function isGetHttpMethod(t){return!t||t==="GET"}function isPostHttpMethod(t){return t==="POST"}function isPutHttpMethod(t){return t==="PUT"}function isPatchHttpMethod(t){return t==="PATCH"}function isDeleteHttpMethod(t){return t==="DELETE"}function isOptionsHttpMethod(t){return t==="OPTIONS"}function isHeadHttpMethod(t){return t==="HEAD"}function isConnectHttpMethod(t){return t==="CONNECT"}function isTraceHttpMethod(t){return t==="TRACE"}const ot=t(import.meta.url)("node:http");const ct=t(import.meta.url)("node:https");const ut=t(import.meta.url)("node:zlib");const ft=t(import.meta.url)("node:stream");const dt=t(import.meta.url)("node:buffer");function dataUriToBuffer(t){if(!/^data:/i.test(t)){throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")')}t=t.replace(/\r?\n/g,"");const r=t.indexOf(",");if(r===-1||r<=4){throw new TypeError("malformed data: URI")}const n=t.substring(5,r).split(";");let s="";let i=false;const o=n[0]||"text/plain";let a=o;for(let t=1;ttypeof t==="object"&&typeof t.append==="function"&&typeof t.delete==="function"&&typeof t.get==="function"&&typeof t.getAll==="function"&&typeof t.has==="function"&&typeof t.set==="function"&&typeof t.sort==="function"&&t[mt]==="URLSearchParams";const is_isBlob=t=>t&&typeof t==="object"&&typeof t.arrayBuffer==="function"&&typeof t.type==="string"&&typeof t.stream==="function"&&typeof t.constructor==="function"&&/^(Blob|File)$/.test(t[mt]);const isAbortSignal=t=>typeof t==="object"&&(t[mt]==="AbortSignal"||t[mt]==="EventTarget");const isDomainOrSubdomain=(t,r)=>{const n=new URL(r).hostname;const s=new URL(t).hostname;return n===s||n.endsWith(`.${s}`)};const isSameProtocol=(t,r)=>{const n=new URL(r).protocol;const s=new URL(t).protocol;return n===s};const yt=(0,W.promisify)(ft.pipeline);const bt=Symbol("Body internals");class Body{constructor(t,{size:r=0}={}){let n=null;if(t===null){t=null}else if(isURLSearchParameters(t)){t=dt.Buffer.from(t.toString())}else if(is_isBlob(t)){}else if(dt.Buffer.isBuffer(t)){}else if(W.types.isAnyArrayBuffer(t)){t=dt.Buffer.from(t)}else if(ArrayBuffer.isView(t)){t=dt.Buffer.from(t.buffer,t.byteOffset,t.byteLength)}else if(t instanceof ft){}else if(t instanceof tt.Ct){t=(0,tt.au)(t);n=t.type.split("=")[1]}else{t=dt.Buffer.from(String(t))}let s=t;if(dt.Buffer.isBuffer(t)){s=ft.Readable.from(t)}else if(is_isBlob(t)){s=ft.Readable.from(t.stream())}this[bt]={body:t,stream:s,boundary:n,disturbed:false,error:null};this.size=r;if(t instanceof ft){t.on("error",(t=>{const r=t instanceof FetchBaseError?t:new FetchError(`Invalid response body while trying to fetch ${this.url}: ${t.message}`,"system",t);this[bt].error=r}))}}get body(){return this[bt].stream}get bodyUsed(){return this[bt].disturbed}async arrayBuffer(){const{buffer:t,byteOffset:r,byteLength:n}=await consumeBody(this);return t.slice(r,r+n)}async formData(){const t=this.headers.get("content-type");if(t.startsWith("application/x-www-form-urlencoded")){const t=new tt.Ct;const r=new URLSearchParams(await this.text());for(const[n,s]of r){t.append(n,s)}return t}const{toFormData:r}=await Promise.resolve().then(s.bind(s,4037));return r(this.body,t)}async blob(){const t=this.headers&&this.headers.get("content-type")||this[bt].body&&this[bt].body.type||"";const r=await this.arrayBuffer();return new ht.Z([r],{type:t})}async json(){const t=await this.text();return JSON.parse(t)}async text(){const t=await consumeBody(this);return(new TextDecoder).decode(t)}buffer(){return consumeBody(this)}}Body.prototype.buffer=(0,W.deprecate)(Body.prototype.buffer,"Please use 'response.arrayBuffer()' instead of 'response.buffer()'","node-fetch#buffer");Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true},data:{get:(0,W.deprecate)((()=>{}),"data doesn't exist, use json(), text(), arrayBuffer(), or body instead","https://github.com/node-fetch/node-fetch/issues/1000 (response)")}});async function consumeBody(t){if(t[bt].disturbed){throw new TypeError(`body used already for: ${t.url}`)}t[bt].disturbed=true;if(t[bt].error){throw t[bt].error}const{body:r}=t;if(r===null){return dt.Buffer.alloc(0)}if(!(r instanceof ft)){return dt.Buffer.alloc(0)}const n=[];let s=0;try{for await(const i of r){if(t.size>0&&s+i.length>t.size){const n=new FetchError(`content size at ${t.url} over limit: ${t.size}`,"max-size");r.destroy(n);throw n}s+=i.length;n.push(i)}}catch(r){const n=r instanceof FetchBaseError?r:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${r.message}`,"system",r);throw n}if(r.readableEnded===true||r._readableState.ended===true){try{if(n.every((t=>typeof t==="string"))){return dt.Buffer.from(n.join(""))}return dt.Buffer.concat(n,s)}catch(r){throw new FetchError(`Could not create Buffer from response body for ${t.url}: ${r.message}`,"system",r)}}else{throw new FetchError(`Premature close of server response while trying to fetch ${t.url}`)}}const clone=(t,r)=>{let n;let s;let{body:i}=t[bt];if(t.bodyUsed){throw new Error("cannot clone body after it is used")}if(i instanceof ft&&typeof i.getBoundary!=="function"){n=new ft.PassThrough({highWaterMark:r});s=new ft.PassThrough({highWaterMark:r});i.pipe(n);i.pipe(s);t[bt].stream=n;i=s}return i};const _t=(0,W.deprecate)((t=>t.getBoundary()),"form-data doesn't follow the spec and requires special treatment. Use alternative package","https://github.com/node-fetch/node-fetch/issues/1167");const extractContentType=(t,r)=>{if(t===null){return null}if(typeof t==="string"){return"text/plain;charset=UTF-8"}if(isURLSearchParameters(t)){return"application/x-www-form-urlencoded;charset=UTF-8"}if(is_isBlob(t)){return t.type||null}if(dt.Buffer.isBuffer(t)||W.types.isAnyArrayBuffer(t)||ArrayBuffer.isView(t)){return null}if(t instanceof tt.Ct){return`multipart/form-data; boundary=${r[bt].boundary}`}if(t&&typeof t.getBoundary==="function"){return`multipart/form-data;boundary=${_t(t)}`}if(t instanceof ft){return null}return"text/plain;charset=UTF-8"};const getTotalBytes=t=>{const{body:r}=t[bt];if(r===null){return 0}if(is_isBlob(r)){return r.size}if(dt.Buffer.isBuffer(r)){return r.length}if(r&&typeof r.getLengthSync==="function"){return r.hasKnownLength&&r.hasKnownLength()?r.getLengthSync():null}return null};const writeToStream=async(t,{body:r})=>{if(r===null){t.end()}else{await yt(r,t)}};const St=typeof ot.validateHeaderName==="function"?ot.validateHeaderName:t=>{if(!/^[\^`\-\w!#$%&'*+.|~]+$/.test(t)){const r=new TypeError(`Header name must be a valid HTTP token [${t}]`);Object.defineProperty(r,"code",{value:"ERR_INVALID_HTTP_TOKEN"});throw r}};const Et=typeof ot.validateHeaderValue==="function"?ot.validateHeaderValue:(t,r)=>{if(/[^\t\u0020-\u007E\u0080-\u00FF]/.test(r)){const r=new TypeError(`Invalid character in header content ["${t}"]`);Object.defineProperty(r,"code",{value:"ERR_INVALID_CHAR"});throw r}};class Headers extends URLSearchParams{constructor(t){let r=[];if(t instanceof Headers){const n=t.raw();for(const[t,s]of Object.entries(n)){r.push(...s.map((r=>[t,r])))}}else if(t==null){}else if(typeof t==="object"&&!W.types.isBoxedPrimitive(t)){const n=t[Symbol.iterator];if(n==null){r.push(...Object.entries(t))}else{if(typeof n!=="function"){throw new TypeError("Header pairs must be iterable")}r=[...t].map((t=>{if(typeof t!=="object"||W.types.isBoxedPrimitive(t)){throw new TypeError("Each header pair must be an iterable object")}return[...t]})).map((t=>{if(t.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}return[...t]}))}}else{throw new TypeError("Failed to construct 'Headers': The provided value is not of type '(sequence> or record)")}r=r.length>0?r.map((([t,r])=>{St(t);Et(t,String(r));return[String(t).toLowerCase(),String(r)]})):undefined;super(r);return new Proxy(this,{get(t,r,n){switch(r){case"append":case"set":return(n,s)=>{St(n);Et(n,String(s));return URLSearchParams.prototype[r].call(t,String(n).toLowerCase(),String(s))};case"delete":case"has":case"getAll":return n=>{St(n);return URLSearchParams.prototype[r].call(t,String(n).toLowerCase())};case"keys":return()=>{t.sort();return new Set(URLSearchParams.prototype.keys.call(t)).keys()};default:return Reflect.get(t,r,n)}}})}get[Symbol.toStringTag](){return this.constructor.name}toString(){return Object.prototype.toString.call(this)}get(t){const r=this.getAll(t);if(r.length===0){return null}let n=r.join(", ");if(/^content-encoding$/i.test(t)){n=n.toLowerCase()}return n}forEach(t,r=undefined){for(const n of this.keys()){Reflect.apply(t,r,[this.get(n),n,this])}}*values(){for(const t of this.keys()){yield this.get(t)}}*entries(){for(const t of this.keys()){yield[t,this.get(t)]}}[Symbol.iterator](){return this.entries()}raw(){return[...this.keys()].reduce(((t,r)=>{t[r]=this.getAll(r);return t}),{})}[Symbol.for("nodejs.util.inspect.custom")](){return[...this.keys()].reduce(((t,r)=>{const n=this.getAll(r);if(r==="host"){t[r]=n[0]}else{t[r]=n.length>1?n:n[0]}return t}),{})}}Object.defineProperties(Headers.prototype,["get","entries","forEach","values"].reduce(((t,r)=>{t[r]={enumerable:true};return t}),{}));function fromRawHeaders(t=[]){return new Headers(t.reduce(((t,r,n,s)=>{if(n%2===0){t.push(s.slice(n,n+2))}return t}),[]).filter((([t,r])=>{try{St(t);Et(t,String(r));return true}catch{return false}})))}const vt=new Set([301,302,303,307,308]);const isRedirect=t=>vt.has(t);const Rt=Symbol("Response internals");class Response extends Body{constructor(t=null,r={}){super(t,r);const n=r.status!=null?r.status:200;const s=new Headers(r.headers);if(t!==null&&!s.has("Content-Type")){const r=extractContentType(t,this);if(r){s.append("Content-Type",r)}}this[Rt]={type:"default",url:r.url,status:n,statusText:r.statusText||"",headers:s,counter:r.counter,highWaterMark:r.highWaterMark}}get type(){return this[Rt].type}get url(){return this[Rt].url||""}get status(){return this[Rt].status}get ok(){return this[Rt].status>=200&&this[Rt].status<300}get redirected(){return this[Rt].counter>0}get statusText(){return this[Rt].statusText}get headers(){return this[Rt].headers}get highWaterMark(){return this[Rt].highWaterMark}clone(){return new Response(clone(this,this.highWaterMark),{type:this.type,url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected,size:this.size,highWaterMark:this.highWaterMark})}static redirect(t,r=302){if(!isRedirect(r)){throw new RangeError('Failed to execute "redirect" on "response": Invalid status code')}return new Response(null,{headers:{location:new URL(t).toString()},status:r})}static error(){const t=new Response(null,{status:0,statusText:""});t[Rt].type="error";return t}static json(t=undefined,r={}){const n=JSON.stringify(t);if(n===undefined){throw new TypeError("data is not JSON serializable")}const s=new Headers(r&&r.headers);if(!s.has("content-type")){s.set("content-type","application/json")}return new Response(n,{...r,headers:s})}get[Symbol.toStringTag](){return"Response"}}Object.defineProperties(Response.prototype,{type:{enumerable:true},url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});const wt=t(import.meta.url)("node:url");const getSearch=t=>{if(t.search){return t.search}const r=t.href.length-1;const n=t.hash||(t.href[r]==="#"?"#":"");return t.href[r-n.length]==="?"?"?":""};const Ct=t(import.meta.url)("node:net");function stripURLForUseAsAReferrer(t,r=false){if(t==null){return"no-referrer"}t=new URL(t);if(/^(about|blob|data):$/.test(t.protocol)){return"no-referrer"}t.username="";t.password="";t.hash="";if(r){t.pathname="";t.search=""}return t}const At=new Set(["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"]);const Tt="strict-origin-when-cross-origin";function validateReferrerPolicy(t){if(!At.has(t)){throw new TypeError(`Invalid referrerPolicy: ${t}`)}return t}function isOriginPotentiallyTrustworthy(t){if(/^(http|ws)s:$/.test(t.protocol)){return true}const r=t.host.replace(/(^\[)|(]$)/g,"");const n=(0,Ct.isIP)(r);if(n===4&&/^127\./.test(r)){return true}if(n===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(r)){return true}if(t.host==="localhost"||t.host.endsWith(".localhost")){return false}if(t.protocol==="file:"){return true}return false}function isUrlPotentiallyTrustworthy(t){if(/^about:(blank|srcdoc)$/.test(t)){return true}if(t.protocol==="data:"){return true}if(/^(blob|filesystem):$/.test(t.protocol)){return true}return isOriginPotentiallyTrustworthy(t)}function determineRequestsReferrer(t,{referrerURLCallback:r,referrerOriginCallback:n}={}){if(t.referrer==="no-referrer"||t.referrerPolicy===""){return null}const s=t.referrerPolicy;if(t.referrer==="about:client"){return"no-referrer"}const i=t.referrer;let o=stripURLForUseAsAReferrer(i);let a=stripURLForUseAsAReferrer(i,true);if(o.toString().length>4096){o=a}if(r){o=r(o)}if(n){a=n(a)}const l=new URL(t.url);switch(s){case"no-referrer":return"no-referrer";case"origin":return a;case"unsafe-url":return o;case"strict-origin":if(isUrlPotentiallyTrustworthy(o)&&!isUrlPotentiallyTrustworthy(l)){return"no-referrer"}return a.toString();case"strict-origin-when-cross-origin":if(o.origin===l.origin){return o}if(isUrlPotentiallyTrustworthy(o)&&!isUrlPotentiallyTrustworthy(l)){return"no-referrer"}return a;case"same-origin":if(o.origin===l.origin){return o}return"no-referrer";case"origin-when-cross-origin":if(o.origin===l.origin){return o}return a;case"no-referrer-when-downgrade":if(isUrlPotentiallyTrustworthy(o)&&!isUrlPotentiallyTrustworthy(l)){return"no-referrer"}return o;default:throw new TypeError(`Invalid referrerPolicy: ${s}`)}}function parseReferrerPolicyFromHeader(t){const r=(t.get("referrer-policy")||"").split(/[,\s]+/);let n="";for(const t of r){if(t&&At.has(t)){n=t}}return n}const It=Symbol("Request internals");const isRequest=t=>typeof t==="object"&&typeof t[It]==="object";const Pt=(0,W.deprecate)((()=>{}),".data is not a valid RequestInit property, use .body instead","https://github.com/node-fetch/node-fetch/issues/1000 (request)");class Request extends Body{constructor(t,r={}){let n;if(isRequest(t)){n=new URL(t.url)}else{n=new URL(t);t={}}if(n.username!==""||n.password!==""){throw new TypeError(`${n} is an url with embedded credentials.`)}let s=r.method||t.method||"GET";if(/^(delete|get|head|options|post|put)$/i.test(s)){s=s.toUpperCase()}if(!isRequest(r)&&"data"in r){Pt()}if((r.body!=null||isRequest(t)&&t.body!==null)&&(s==="GET"||s==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}const i=r.body?r.body:isRequest(t)&&t.body!==null?clone(t):null;super(i,{size:r.size||t.size||0});const o=new Headers(r.headers||t.headers||{});if(i!==null&&!o.has("Content-Type")){const t=extractContentType(i,this);if(t){o.set("Content-Type",t)}}let a=isRequest(t)?t.signal:null;if("signal"in r){a=r.signal}if(a!=null&&!isAbortSignal(a)){throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget")}let l=r.referrer==null?t.referrer:r.referrer;if(l===""){l="no-referrer"}else if(l){const t=new URL(l);l=/^about:(\/\/)?client$/.test(t)?"client":t}else{l=undefined}this[It]={method:s,redirect:r.redirect||t.redirect||"follow",headers:o,parsedURL:n,signal:a,referrer:l};this.follow=r.follow===undefined?t.follow===undefined?20:t.follow:r.follow;this.compress=r.compress===undefined?t.compress===undefined?true:t.compress:r.compress;this.counter=r.counter||t.counter||0;this.agent=r.agent||t.agent;this.highWaterMark=r.highWaterMark||t.highWaterMark||16384;this.insecureHTTPParser=r.insecureHTTPParser||t.insecureHTTPParser||false;this.referrerPolicy=r.referrerPolicy||t.referrerPolicy||""}get method(){return this[It].method}get url(){return(0,wt.format)(this[It].parsedURL)}get headers(){return this[It].headers}get redirect(){return this[It].redirect}get signal(){return this[It].signal}get referrer(){if(this[It].referrer==="no-referrer"){return""}if(this[It].referrer==="client"){return"about:client"}if(this[It].referrer){return this[It].referrer.toString()}return undefined}get referrerPolicy(){return this[It].referrerPolicy}set referrerPolicy(t){this[It].referrerPolicy=validateReferrerPolicy(t)}clone(){return new Request(this)}get[Symbol.toStringTag](){return"Request"}}Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true},referrer:{enumerable:true},referrerPolicy:{enumerable:true}});const getNodeRequestOptions=t=>{const{parsedURL:r}=t[It];const n=new Headers(t[It].headers);if(!n.has("Accept")){n.set("Accept","*/*")}let s=null;if(t.body===null&&/^(post|put)$/i.test(t.method)){s="0"}if(t.body!==null){const r=getTotalBytes(t);if(typeof r==="number"&&!Number.isNaN(r)){s=String(r)}}if(s){n.set("Content-Length",s)}if(t.referrerPolicy===""){t.referrerPolicy=Tt}if(t.referrer&&t.referrer!=="no-referrer"){t[It].referrer=determineRequestsReferrer(t)}else{t[It].referrer="no-referrer"}if(t[It].referrer instanceof URL){n.set("Referer",t.referrer)}if(!n.has("User-Agent")){n.set("User-Agent","node-fetch")}if(t.compress&&!n.has("Accept-Encoding")){n.set("Accept-Encoding","gzip, deflate, br")}let{agent:i}=t;if(typeof i==="function"){i=i(r)}const o=getSearch(r);const a={path:r.pathname+o,method:t.method,headers:n[Symbol.for("nodejs.util.inspect.custom")](),insecureHTTPParser:t.insecureHTTPParser,agent:i};return{parsedURL:r,options:a}};class AbortError extends FetchBaseError{constructor(t,r="aborted"){super(t,r)}}const Nt=new Set(["data:","http:","https:"]);async function fetch(t,r){return new Promise(((n,s)=>{const i=new Request(t,r);const{parsedURL:o,options:a}=getNodeRequestOptions(i);if(!Nt.has(o.protocol)){throw new TypeError(`node-fetch cannot load ${t}. URL scheme "${o.protocol.replace(/:$/,"")}" is not supported.`)}if(o.protocol==="data:"){const t=pt(i.url);const r=new Response(t,{headers:{"Content-Type":t.typeFull}});n(r);return}const l=(o.protocol==="https:"?ct:ot).request;const{signal:c}=i;let u=null;const abort=()=>{const t=new AbortError("The operation was aborted.");s(t);if(i.body&&i.body instanceof ft.Readable){i.body.destroy(t)}if(!u||!u.body){return}u.body.emit("error",t)};if(c&&c.aborted){abort();return}const abortAndFinalize=()=>{abort();finalize()};const d=l(o.toString(),a);if(c){c.addEventListener("abort",abortAndFinalize)}const finalize=()=>{d.abort();if(c){c.removeEventListener("abort",abortAndFinalize)}};d.on("error",(t=>{s(new FetchError(`request to ${i.url} failed, reason: ${t.message}`,"system",t));finalize()}));fixResponseChunkedTransferBadEnding(d,(t=>{if(u&&u.body){u.body.destroy(t)}}));if(process.version<"v14"){d.on("socket",(t=>{let r;t.prependListener("end",(()=>{r=t._eventsCount}));t.prependListener("close",(n=>{if(u&&r{d.setTimeout(0);const o=fromRawHeaders(t.rawHeaders);if(isRedirect(t.statusCode)){const a=o.get("Location");let l=null;try{l=a===null?null:new URL(a,i.url)}catch{if(i.redirect!=="manual"){s(new FetchError(`uri requested responds with an invalid redirect URL: ${a}`,"invalid-redirect"));finalize();return}}switch(i.redirect){case"error":s(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${i.url}`,"no-redirect"));finalize();return;case"manual":break;case"follow":{if(l===null){break}if(i.counter>=i.follow){s(new FetchError(`maximum redirect reached at: ${i.url}`,"max-redirect"));finalize();return}const a={headers:new Headers(i.headers),follow:i.follow,counter:i.counter+1,agent:i.agent,compress:i.compress,method:i.method,body:clone(i),signal:i.signal,size:i.size,referrer:i.referrer,referrerPolicy:i.referrerPolicy};if(!isDomainOrSubdomain(i.url,l)||!isSameProtocol(i.url,l)){for(const t of["authorization","www-authenticate","cookie","cookie2"]){a.headers.delete(t)}}if(t.statusCode!==303&&i.body&&r.body instanceof ft.Readable){s(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(t.statusCode===303||(t.statusCode===301||t.statusCode===302)&&i.method==="POST"){a.method="GET";a.body=undefined;a.headers.delete("content-length")}const c=parseReferrerPolicyFromHeader(o);if(c){a.referrerPolicy=c}n(fetch(new Request(l,a)));finalize();return}default:return s(new TypeError(`Redirect option '${i.redirect}' is not a valid value of RequestRedirect`))}}if(c){t.once("end",(()=>{c.removeEventListener("abort",abortAndFinalize)}))}let a=(0,ft.pipeline)(t,new ft.PassThrough,(t=>{if(t){s(t)}}));if(process.version<"v12.10"){t.on("aborted",abortAndFinalize)}const l={url:i.url,status:t.statusCode,statusText:t.statusMessage,headers:o,size:i.size,counter:i.counter,highWaterMark:i.highWaterMark};const p=o.get("Content-Encoding");if(!i.compress||i.method==="HEAD"||p===null||t.statusCode===204||t.statusCode===304){u=new Response(a,l);n(u);return}const h={flush:ut.Z_SYNC_FLUSH,finishFlush:ut.Z_SYNC_FLUSH};if(p==="gzip"||p==="x-gzip"){a=(0,ft.pipeline)(a,ut.createGunzip(h),(t=>{if(t){s(t)}}));u=new Response(a,l);n(u);return}if(p==="deflate"||p==="x-deflate"){const r=(0,ft.pipeline)(t,new ft.PassThrough,(t=>{if(t){s(t)}}));r.once("data",(t=>{if((t[0]&15)===8){a=(0,ft.pipeline)(a,ut.createInflate(),(t=>{if(t){s(t)}}))}else{a=(0,ft.pipeline)(a,ut.createInflateRaw(),(t=>{if(t){s(t)}}))}u=new Response(a,l);n(u)}));r.once("end",(()=>{if(!u){u=new Response(a,l);n(u)}}));return}if(p==="br"){a=(0,ft.pipeline)(a,ut.createBrotliDecompress(),(t=>{if(t){s(t)}}));u=new Response(a,l);n(u);return}u=new Response(a,l);n(u)}));writeToStream(d,i).catch(s)}))}function fixResponseChunkedTransferBadEnding(t,r){const n=dt.Buffer.from("0\r\n\r\n");let s=false;let i=false;let o;t.on("response",(t=>{const{headers:r}=t;s=r["transfer-encoding"]==="chunked"&&!r["content-length"]}));t.on("socket",(a=>{const onSocketClose=()=>{if(s&&!i){const t=new Error("Premature close");t.code="ERR_STREAM_PREMATURE_CLOSE";r(t)}};const onData=t=>{i=dt.Buffer.compare(t.slice(-5),n)===0;if(!i&&o){i=dt.Buffer.compare(o.slice(-3),n.slice(0,3))===0&&dt.Buffer.compare(t.slice(-2),n.slice(3))===0}o=t};a.prependListener("close",onSocketClose);a.on("data",onData);t.on("close",(()=>{a.removeListener("close",onSocketClose);a.removeListener("data",onData)}))}))}const Dt={"User-Agent":`Kir-Antipov/${oe} (https://github.com/Kir-Antipov/${oe}/issues/new)`};const Ot=createFetch({handler:fetch,defaultHeaders:Dt});function createFetch(t){const{handler:r=Ot,baseUrl:n,defaultHeaders:s}=t||{};const i=new MiddlewareHandler(r);const configurableFetch=(t,r)=>{t=prepareUrl(configurableFetch,t,r);r=prepareRequest(configurableFetch,r);return i.execute(t,r)};configurableFetch.baseUrl=n||r.baseUrl;configurableFetch.defaultHeaders=setDefaultHeaders(cloneHeaders(s),r.defaultHeaders);Object.defineProperty(configurableFetch,"use",{value:t=>{i.use(t);return configurableFetch}});return configurableFetch}function prepareUrl(t,r,n){if(t.baseUrl&&typeof r==="string"&&r.startsWith("/")){const n=r.slice(1);const s=string_utils_asString(t.baseUrl);const i=s.endsWith("/")?s:`${s}/`;r=new URL(n,i)}if(isURLSearchParams(n?.body)&&!canHttpMethodAcceptBody(n?.method)){if(typeof r==="string"){r=`${r}${r.includes("?")?"&":"?"}${n.body}`}else{n.body.forEach(((t,n)=>r.searchParams.append(n,t)))}}return r}function prepareRequest(t,r){if(t.defaultHeaders){r||={};r.headers=setDefaultHeaders(r.headers,t.defaultHeaders)}if(r?.body&&!canHttpMethodAcceptBody(r.method)){delete r.body}return r}function fetchDestinationEquals(t,r){const[n,s]=Array.isArray(t)?[normalizeUrl(t[0]),normalizeHttpMethod(t[1])]:[normalizeUrl(t)];const[i,o]=Array.isArray(r)?[normalizeUrl(r[0]),normalizeHttpMethod(r[1])]:[normalizeUrl(r)];return httpMethodEquals(s,o)&&n===i}function normalizeUrl(t){const r=asString(t);const n=r.indexOf("?");return n>=0?r.substring(0,n):r}function normalizeHttpMethod(t){return typeof t==="string"?t:t?.method}class HttpResponse{constructor(){}static cache(t){return t instanceof CachedHttpResponse?t:new CachedHttpResponse(t)}static blob(t,r){return HttpResponse.content(t,"application/octet-stream",r)}static formData(t,r){return HttpResponse.content(t,undefined,r)}static json(t,r){const n=typeof t==="string"?t:JSON.stringify(t);return HttpResponse.content(n,"application/json",r)}static text(t,r){return HttpResponse.content(string_utils_asString(t),"text/plain",r)}static redirect(t,r){const n=new Headers(r?.headers);if(!n.has("Location")){n.set("Location",string_utils_asString(t))}const s={headers:n,status:r.status??302,statusText:r.statusText??"Found"};return new Response("",s)}static error(){return Response.error()}static content(t,r,n){ArgumentNullError.throwIfNull(t);const s=new Headers(n?.headers);if(r&&!s.has("Content-Type")){s.set("Content-Type",r)}return new Response(t,{status:n?.status,statusText:n?.statusText,headers:s})}}class CachedHttpResponse{_response;_blob;_formData;constructor(t){this._response=t}get body(){if(this._blob){return this._blob.stream()}if(!this._response.bodyUsed){return this._response.body}throw new Error("Cannot re-read the response body.")}get bodyUsed(){return!this._blob&&!this._formData&&this._response.bodyUsed}get headers(){return this._response.headers}get ok(){return this._response.ok}get redirected(){return this._response.redirected}get status(){return this._response.status}get statusText(){return this._response.statusText}get type(){return this._response.type}get url(){return this._response.url}clone(){return this}async arrayBuffer(){const t=await this.blob();return await t.arrayBuffer()}async blob(){if(this._blob){return this._blob}if(!this._response.bodyUsed){this._blob=await this._response.blob();return this._blob}throw new TypeError("Cannot re-read the response as a Blob.")}async formData(){if(this._formData){return this._formData}if(!this._response.bodyUsed){this._formData=await this._response.formData();return this._formData}throw new TypeError("Cannot re-read the response as a FormData.")}async json(){const t=await this.text();return JSON.parse(t)}async text(){const t=await this.blob();return await t.text()}}function defaultResponse(t){const{filter:r=(t=>t.status===404),response:n=(t=>HttpResponse.text("",t))}=t||{};return async(t,s,i)=>{const o=await i(t,s);if(r(o)){return n(o)}return o}}function throwOnError(t){const{filter:r=(t=>!t.ok),error:n=HttpError.fromResponse}=t||{};return async(t,s,i)=>{const o=await i(t,s);if(r(o)){const t=typeof n==="function"?await n(o):n;throw t}return o}}const DEFAULT_CACHE_FILTER=t=>typeof t==="string"?t.includes("cache=true"):t.searchParams.get("cache")==="true";const DEFAULT_CACHE_COMPARER=(t,r)=>http_method_httpMethodEquals(t[1]?.method,r[1]?.method)&&string_utils_asString(t[0])===string_utils_asString(r[0]);function simpleCache(t){const{filter:r=DEFAULT_CACHE_FILTER,comparer:n=DEFAULT_CACHE_COMPARER}=t||{};const s=new ArrayMap(n);return async(t,n,i)=>{if(!r(t,n)){return await i(t,n)}const o=[t,n];const a=s.get(o);if(a){return a}const l=HttpResponse.cache(await i(t,n));s.set(o,l);return l}}class HttpRequest{constructor(){}static get(t){return new HttpRequestBuilder("GET",t)}static post(t){return new HttpRequestBuilder("POST",t)}static patch(t){return new HttpRequestBuilder("PATCH",t)}static put(t){return new HttpRequestBuilder("PUT",t)}static delete(t){return new HttpRequestBuilder("DELETE",t)}}class HttpRequestBuilder{method;body;headers;redirect;signal;referrer;referrerPolicy;constructor(t,r){Object.assign(this,r);this.method=t}with(t){if(typeof t==="string"){return isGetHttpMethod(this.method)?this.urlParams(t):this.text(t)}if(t===undefined||t===null||isHttpRequestBody(t)){this.body=t??undefined;const r=inferHttpRequestBodyHeaders(this.body);this.headers=setDefaultHeaders(this.headers,r);return this}return isGetHttpMethod(this.method)?this.urlParams(t):this.formData(t)}urlParams(t){if(!isURLSearchParams(t)){t=new QueryString(t)}this.body=t;return this}formData(t){if(!isFormData(t)){t=toFormData(t)}this.body=t;return this}json(t){const r=typeof t==="string"?t:JSON.stringify(t);this.body=r;this.headers=setHeader(this.headers,"Content-Type","application/json");return this}text(t){this.body=t;this.headers=setHeader(this.headers,"Content-Type","text/plain");return this}abort(t){this.signal=t;return this}timeout(t){return this.abort(AbortSignal.timeout(t))}header(t,r){this.headers=setHeader(this.headers,t,r);return this}}const kt="0\\.\\d+(?:\\.\\d+)?a?(?:_\\d+)?|"+"\\d+\\.\\d+(?:\\.\\d+)?(?:-pre\\d+| Pre-[Rr]elease \\d+|-rc\\d+| [Rr]elease Candidate \\d+)?|"+"\\d+w\\d+(?:[a-z]+|~)|"+"[a-c]\\d\\.\\d+(?:\\.\\d+)?[a-z]?(?:_\\d+)?[a-z]?|"+"(Alpha|Beta) v?\\d+\\.\\d+(?:\\.\\d+)?[a-z]?(?:_\\d+)?[a-z]?|"+"Inf?dev (?:0\\.31 )?\\d+(?:-\\d+)?|"+"(?:rd|inf)-\\d+|"+"(?:.*[Ee]xperimental [Ss]napshot )(?:\\d+)";const $t=new RegExp(kt);const Lt=/\d+\.\d+(\.\d+)?/;const xt=/.+(?:-pre| Pre-[Rr]elease )(\d+)/;const Ft=/.+(?:-rc| [Rr]elease Candidate )(\d+)/;const Mt=/(?:Snapshot )?(\d+)w0?(0|[1-9]\d*)([a-z])/;const Bt=/(?:.*[Ee]xperimental [Ss]napshot )(\d+)/;const jt=/(?:b|Beta v?)1\.(\d+(\.\d+)?[a-z]?(_\d+)?[a-z]?)/;const Wt=/(?:a|Alpha v?)[01]\.(\d+(\.\d+)?[a-z]?(_\d+)?[a-z]?)/;const Ut=/(?:inf-|Inf?dev )(?:0\.31 )?(\d+(-\d+)?)/;const qt=parseVersionRange("<=1.16");const Ht=new Map([["13w12~","1.5.1-alpha.13.12.a"],["2point0_red","1.5.2-red"],["2point0_purple","1.5.2-purple"],["2point0_blue","1.5.2-blue"],["15w14a","1.8.4-alpha.15.14.a+loveandhugs"],["1.RV-Pre1","1.9.2-rv+trendy"],["3D Shareware v1.34","1.14-alpha.19.13.shareware"],["1.14.3 - Combat Test","1.14.3-rc.4.combat.1"],["Combat Test 2","1.14.5-combat.2"],["Combat Test 3","1.14.5-combat.3"],["Combat Test 4","1.15-rc.3.combat.4"],["Combat Test 5","1.15.2-rc.2.combat.5"],["20w14~","1.16-alpha.20.13.inf"],["20w14infinite","1.16-alpha.20.13.inf"],["Combat Test 6","1.16.2-beta.3.combat.6"],["Combat Test 7","1.16.3-combat.7"],["1.16_combat-2","1.16.3-combat.7.b"],["1.16_combat-3","1.16.3-combat.7.c"],["1.16_combat-4","1.16.3-combat.8"],["1.16_combat-5","1.16.3-combat.8.b"],["1.16_combat-6","1.16.3-combat.8.c"],["22w13oneblockatatime","1.19-alpha.22.13.oneblockatatime"],["23w13a_or_b","1.20-alpha.23.13.ab"]]);function normalizeMinecraftVersion(t,r,n){const s=r?findNearestReleaseMinecraftVersion(r,n):t.match(Lt)?.[0];return normalizeUnknownMinecraftVersion(t,s)}function normalizeMinecraftVersionRange(t,r,n){if(!iterable_isIterable(t)){return t}const s=typeof t==="string"?[t]:asArrayLike(t);const i=s.map((t=>t.replaceAll(n,(t=>{const n=r.get(t);if(n){return String(n.version)}return normalizeMinecraftVersion(t)}))));return parseVersionRange(i)||noneVersionRange(i.join(" || "))}function getMinecraftVersionRegExp(t){if(!t){return $t}let r=kt;for(const n of t){if(n.match($t)?.[0]!==n){r=`${n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}|${r}`}}return new RegExp(r,"gs")}function normalizeUnknownMinecraftVersion(t,r){if(Ht.has(t)){return Ht.get(t)}if(!r||t===r||t.substring(1).startsWith(r)){return normalizeOldMinecraftVersion(t)}let n;if(n=t.match(Bt)){return`${r}-Experimental.${n[1]}`}if(t.startsWith(r)){if(n=t.match(Ft)){const s=r==="1.16"?String(8+ +n[1]):n[1];t=`rc.${s}`}else if(n=t.match(xt)){const s=isLegacyMinecraftVersion(r);t=`${s?"rc":"beta"}.${n[1]}`}}else if(n=t.match(Mt)){t=`alpha.${n[1]}.${n[2]}.${n[3]}`}else{t=normalizeOldMinecraftVersion(t)}if(t.startsWith(`${r}-`)){return t}return`${r}-${t}`}function normalizeOldMinecraftVersion(t){let r;if(r=t.match(jt)){t=`1.0.0-beta.${r[1]}`}else if(r=t.match(Wt)){t=`1.0.0-alpha.${r[1]}`}else if(r=t.match(Ut)){t=`0.31.${r[1]}`}else if(t.startsWith("c0.")){t=t.substring(1)}else if(t.startsWith("rd-")){t=t.substring(3);if(t==="20090515"){t="150000"}t=`0.0.0-rd.${t}`}let n="";let s=false;let i=false;let o=false;let a=false;for(let r=0;r="0"&&l<="9"){if(r>0&&!s&&!o){n+="."}else if(s&&i){n=n.substring(0,n.length-1)}i=l==="0"&&(!s||i);o=false;s=true}else if(l==="."||l==="-"){if(o){continue}o=true;s=false}else if((l<"A"||l>"Z")&&(l<"a"||l>"z")){if(o){continue}l=".";o=true;s=false}else{if(s){n+=a?".":"-";a=true}o=false;s=false}if(l==="-"){a=true}n+=l}let l=0;while(ll&&n.charAt(c-1)==="."){--c}return n.substring(l,c)}function findNearestReleaseMinecraftVersion(t,r){if(t[r].type===ie.RELEASE){return t[r].id}if(t[r].type!==ie.SNAPSHOT){return undefined}const n=t[r].id.match(Lt);if(n){return n[0]}const s=t[r].id.match(Mt);if(s){const t=+s[1];const r=+s[2];const n=findNearestReleaseMinecraftVersionBySnapshotDate(t,r);if(n){return n}}for(let n=r-1;n>=0;--n){if(t[n].type===ie.RELEASE){return t[n].id}}for(let n=r+1;n=12){return"1.20"}if(t===20&&r>=45||t===21&&r<=20){return"1.17"}if(t===15&&r>=31||t===16&&r<=7){return"1.9"}if(t===14&&r>=2&&r<=34){return"1.8"}if(t===13&&r>=47&&r<=49){return"1.7.4"}if(t===13&&r>=36&&r<=43){return"1.7.2"}if(t===13&&r>=16&&r<=26){return"1.6"}return undefined}function isLegacyMinecraftVersion(t){return qt.includes(t)}const Vt="https://piston-meta.mojang.com/mc";class MojangApiClient{_fetch;_versions;_versionRegExp;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||Vt}).use(throwOnError())}async getMinecraftVersion(t){const r=await this.getAllMinecraftVersions();const n=r.get(t);if(n){return n}const s=await this.getMinecraftVersions(t);return s[0]}async getMinecraftVersions(t){const r=await this.getAllMinecraftVersions();const n=await this.getMinecraftVersionRegExp();const s=normalizeMinecraftVersionRange(t,r,n);return iterable_$i(r.values()).filter((t=>s.includes(t.version))).toArray()}async getAllMinecraftVersions(){if(this._versions){return this._versions}const t=await this._fetch("/game/version_manifest_v2.json");const r=await t.json();const n=getMinecraftVersionManifestEntries(r);const s=n.map(((t,r,n)=>{const s=normalizeMinecraftVersion(t.id,n,r);const i=parseVersion(s);return new MinecraftVersion(t.id,i,t.type,t.url,t.releaseDate)}));this._versions=new Map(s.map((t=>[t.id,t])));return this._versions}async getMinecraftVersionRegExp(){if(this._versionRegExp){return this._versionRegExp}const t=await this.getAllMinecraftVersions();this._versionRegExp=getMinecraftVersionRegExp(t.keys());return this._versionRegExp}}const Gt=MojangApiClient.prototype.getMinecraftVersions.bind(new MojangApiClient);const zt="minecraft";const Yt=new Map([[zt,Gt]]);function getGameVersionProviderByName(t){return Yt.get(t)}function isPromise(t){return typeof t?.then==="function"}function sleep(t){const r=4;if(t{setTimeout(r,t)}))}async function run(t){return await t()}async function runSafely(t){return await run(t).then((t=>[t,undefined])).catch((t=>[undefined,t]))}async function retry(t,r){const n=r?.delay??0;const s=r?.maxAttempts??-1;const i=r?.onError;let o=0;while(true){++o;try{return await t()}catch(t){const r=s>=0&&o>=s;const n=!r&&await isErrorHandled(t,i);if(!n){throw t}}await sleep(n)}}async function isErrorHandled(t,r){if(!isError(t)){return false}const n=await(r?.(t));return n||n===undefined}const Qt=2;const Kt=1e3;class GenericPlatformUploader{_logger;_fetch;constructor(t){this._logger=t?.logger||Te;this._fetch=t?.fetch||Ot}async upload(t){ArgumentNullError.throwIfNull(t,"request");ArgumentNullError.throwIfNull(t.token,"request.token",`A token is required to upload files to ${We.friendlyNameOf(this.platform)}.`);ArgumentNullError.throwIfNullOrEmpty(t.files,"request.files","No files to upload were specified. Please include at least one file in the request.");const r=We.friendlyNameOf(this.platform);const n=t.retryAttempts??Qt;const s=t.retryDelay??Kt;const i=LoggingStopwatch.startNew(this._logger,(()=>`📤 Uploading assets to ${r}`),(t=>`✅ Successfully published assets to ${r} in ${t} ms`));const onError=t=>{if(isSoftError(t)){this._logger.error(t);this._logger.info(`🔂 Facing difficulties, republishing assets to ${r} in ${s} ms`);return true}return false};const o=await retry((()=>this.uploadCore(t)),{maxAttempts:n,delay:s,onError:onError});i.stop();return o}convertToSimpleDependencies(t,r){return(t||[]).filter((t=>t&&!t.isIgnored(this.platform))).map((t=>[t.getProjectId(this.platform),r(t.type)])).filter((([t,r])=>t&&r))}}var Xt;(function(t){t["EMBEDDED_LIBRARY"]="embeddedLibrary";t["INCOMPATIBLE"]="incompatible";t["OPTIONAL_DEPENDENCY"]="optionalDependency";t["REQUIRED_DEPENDENCY"]="requiredDependency";t["TOOL"]="tool"})(Xt||(Xt={}));const Jt={ignoreCase:true,ignoreNonWordCharacters:true};function curseforge_dependency_type_toDependencyType(t){switch(t){case er.EMBEDDED_LIBRARY:return He.EMBEDDED;case er.INCOMPATIBLE:return He.INCOMPATIBLE;case er.OPTIONAL_DEPENDENCY:return He.OPTIONAL;case er.REQUIRED_DEPENDENCY:return He.REQUIRED;case er.TOOL:return He.RECOMMENDED;default:return undefined}}function curseforge_dependency_type_fromDependencyType(t){switch(t){case He.REQUIRED:return er.REQUIRED_DEPENDENCY;case He.RECOMMENDED:return er.OPTIONAL_DEPENDENCY;case He.EMBEDDED:return er.EMBEDDED_LIBRARY;case He.OPTIONAL:return er.OPTIONAL_DEPENDENCY;case He.CONFLICTING:return er.INCOMPATIBLE;case He.INCOMPATIBLE:return er.INCOMPATIBLE;default:return undefined}}const Zt={fromDependencyType:curseforge_dependency_type_fromDependencyType,toDependencyType:curseforge_dependency_type_toDependencyType};const er=j.create(Xt,Jt,Zt);function isCurseForgeProjectId(t){return typeof t==="number"||isIntegerString(t)}const tr=1;const rr=`https://api.curseforge.com/v${tr}`;const nr=SecureString.from(Buffer.from([36,50,97,36,49,48,36,81,73,47,121,101,83,110,106,105,69,90,72,90,109,70,108,109,105,74,86,73,46,50,120,109,87,89,108,80,98,107,65,88,87,56,114,81,46,120,77,54,53,118,107,116,65,115,115,97,74,112,109,105])).unwrap();class CurseForgeEternalApiClient{_fetch;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||rr,defaultHeaders:{"X-Api-Key":t?.token||nr}}).use(defaultResponse({response:t=>HttpResponse.json(null,t)})).use(throwOnError({filter:t=>!t.ok&&t.status!==404}))}async getProject(t){if(!isCurseForgeProjectId(t)){const r=await this._fetch("/mods/search",HttpRequest.get().with({gameId:432,slug:t}));return await r.json().then((r=>r?.data?.find((r=>r.slug===t))))??undefined}const r=await this._fetch(`/mods/${t}`);return await r.json().then((t=>t?.data))??undefined}}function isCurseForgeError(t){const r=t;return!!r&&typeof r.errorCode==="number"&&typeof r.errorMessage==="string"}const sr=1018;const ir=/Invalid slug in project relations: '([^']*)'/;function isInvalidProjectSlugCurseForgeError(t){return isCurseForgeError(t)&&t.errorCode===sr}function getInvalidProjectSlug(t){return isInvalidProjectSlugCurseForgeError(t)?t.errorMessage.match(ir)?.[1]:undefined}const or=1009;function isInvalidGameVersionIdCurseForgeError(t){return isCurseForgeError(t)&&t.errorCode===or}const CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER=(t,r)=>{const n=t?.replace("-Snapshot","");const s=r?.replace("-Snapshot","");return n===s};const CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER=(t,r)=>{const n=t?.match(/\d+\.\d+/)?.[0];const s=r?.match(/\d+\.\d+/)?.[0];return n===s};function findCurseForgeGameVersionIdsByNames(t,r,n,s){n||=I;return iterable_$i(r).map((r=>{const i=t.find((t=>n(t.name,r)));if(i||!s){return i}return t.find((t=>s(t.name,r)))})).filter((t=>t)).map((t=>t.id)).distinct().toArray()}function formatCurseForgeGameVersion(t){return`${t.version.major}.${t.version.minor}${t.version.patch?`.${t.version.patch}`:""}`}function formatCurseForgeGameVersionSnapshot(t){return`${t.version.major}.${t.version.minor}${t.version.patch?`.${t.version.patch}`:""}${t.isSnapshot?"-Snapshot":""}`}function createCurseForgeGameVersionMap(t,r){return{game_versions:filterGameVersionsByTypeName(t,r,"minecraft"),game_versions_for_plugins:filterGameVersionsByTypeName(t,r,"bukkit"),game_versions_for_addons:filterGameVersionsByTypeName(t,r,"addon"),loaders:filterGameVersionsByTypeName(t,r,"modloader"),java_versions:filterGameVersionsByTypeName(t,r,"java"),environments:filterGameVersionsByTypeName(t,r,"environment")}}function filterGameVersionsByTypeName(t,r,n){const s=r.filter((t=>t.slug.startsWith(n)));return t.filter((t=>s.some((r=>r.id===t.gameVersionTypeID))))}const ar={id:1,name:"Bukkit",slug:"bukkit"};function packCurseForgeVersionInit(t,r,n,s){n=FileInfo.of(n);const i=typeof s==="number";const o={changelog:t.changelog||"",changelogType:t.changelog_type||"markdown",displayName:i||!t.name?n.name:t.name,parentFileID:s,gameVersions:i?undefined:r||[],releaseType:t.version_type||te.RELEASE,relations:i||!t.dependencies?.length?undefined:{projects:t.dependencies}};return{file:n,metadata:o}}const lr="https://minecraft.curseforge.com/api";class CurseForgeUploadApiClient{_fetch;_gameVersionProvider;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||lr,defaultHeaders:{"X-Api-Token":t?.token}}).use(simpleCache()).use(throwOnError());this._gameVersionProvider=t?.gameVersionProvider||Gt}async getGameVersionTypes(){const t=await this._fetch("/game/version-types?cache=true");const r=await t.json();if(!r.some((t=>t.id===ar.id))){r.unshift(ar)}return r}async getGameVersions(){const t=await this._fetch("/game/versions?cache=true");return await t.json()}async getGameVersionMap(){const t=await this.getGameVersions();const r=await this.getGameVersionTypes();return createCurseForgeGameVersionMap(t,r)}async createVersion(t){const r=await this.getGameVersionIdVariants(t);let n=undefined;for(const s of t.files||[]){const i={version:t,file:s,game_versions:r,version_id:n?.id};const o=await retry((()=>this.uploadFile(i)),{onError:t=>tryHandleUploadError(t,i)});if(!n){n={id:o.id,project_id:o.project_id,name:o.name,files:[]}}n.files.push(o)}return n}async uploadFile(t){const r=t.version.project_id;const n=packCurseForgeVersionInit(t.version,t.game_versions[0],t.file,t.version_id);const s=await this._fetch(`/projects/${r}/upload-file`,HttpRequest.post().with(n));const i=(await s.json()).id;return{id:i,name:n.metadata.displayName||n.file.name,url:`https://www.curseforge.com/api/v1/mods/${r}/files/${i}/download`,project_id:r,version_id:t.version_id||i}}async getGameVersionIdVariants(t){const r=t.loaders||[];const n=t.java_versions||[];const s=t.game_versions?.length?await this._gameVersionProvider(t.game_versions):[];const i=await this.getGameVersionMap();const o=n.map((t=>JavaVersion.of(t).name));const a=s.map((t=>formatCurseForgeGameVersionSnapshot(t)));const l=s.map((t=>formatCurseForgeGameVersion(t)));const c=findCurseForgeGameVersionIdsByNames(i.game_versions,a,undefined,CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER);const u=findCurseForgeGameVersionIdsByNames(i.loaders,r);const d=findCurseForgeGameVersionIdsByNames(i.java_versions,o);const p=findCurseForgeGameVersionIdsByNames(i.game_versions_for_plugins,l,undefined,CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);const h=findCurseForgeGameVersionIdsByNames(i.game_versions_for_addons,l,undefined,CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);const m=[u.length?c.concat(u,d):c,p,u.length?c:[],h];if(!u.length){[m[0],m[1]]=[m[1],m[0]]}const g=m.filter((t=>t.length));return g.length?g:[[]]}}async function tryHandleUploadError(t,r){if(!isHttpError(t)){return false}const n=await t.response.json().catch((()=>undefined));if(!isCurseForgeError(n)){return false}if(isInvalidProjectSlugCurseForgeError(n)){return handleInvalidProjectSlugCurseForgeError(r,n)}if(isInvalidGameVersionIdCurseForgeError(n)){return handleInvalidGameVersionIdCurseForgeError(r)}return false}function handleInvalidProjectSlugCurseForgeError(t,r){const n=getInvalidProjectSlug(r)||"";const s=t.version.dependencies;t.version={...t.version};t.version.dependencies=t.version.dependencies?.filter((t=>t.slug!==n));return s?.length!==t.version.dependencies?.length}function handleInvalidGameVersionIdCurseForgeError(t){t.version={...t.version};t.game_versions=[...t.game_versions||[]];t.game_versions.shift();return true}class CurseForgeUploader extends GenericPlatformUploader{constructor(t){super(t)}get platform(){return We.CURSEFORGE}async uploadCore(t){argument_error_ArgumentError.throwIfNullOrEmpty(t.id,"request.id","A project ID is required to upload files to CurseForge.");argument_error_ArgumentError.throwIfNullOrEmpty(t.loaders,"request.loaders","At least one loader should be specified to upload files to CurseForge.");argument_error_ArgumentError.throwIfNullOrEmpty(t.gameVersions,"request.gameVersions","At least one game version should be specified to upload files to CurseForge.");const r=new CurseForgeUploadApiClient({token:t.token.unwrap(),fetch:this._fetch});const n=new CurseForgeEternalApiClient({fetch:this._fetch});const s=await this.getProject(t.id,n);const i=await this.createVersion(t,s.id,r,n);return{id:s.id,version:i.id,url:`${s.links.websiteUrl}/files/${i.id}`,files:i.files.map((t=>({id:t.id,name:t.name,url:t.url})))}}async getProject(t,r){const n=await r.getProject(t).catch((()=>undefined));if(n){return n}if(!isCurseForgeProjectId(t)){throw new Error(`Cannot access CurseForge project "${t}" by its slug. Please specify the ID instead.`)}this._logger.debug(`CurseForge project "${t}" is inaccessible.`);return{id:+t,slug:String(t),links:{websiteUrl:`https://www.curseforge.com/minecraft/mc-mods/${t}`}}}async createVersion(t,r,n,s){const i=await this.convertToCurseForgeDependencies(t.dependencies,s);return await n.createVersion({name:t.name,project_id:r,version_type:t.versionType,changelog:t.changelog,game_versions:t.gameVersions,java_versions:t.java,loaders:t.loaders,files:t.files,dependencies:i})}async convertToCurseForgeDependencies(t,r){const n=this.convertToSimpleDependencies(t,er.fromDependencyType);const s=await Promise.all(n.map((async([t,n])=>({slug:isCurseForgeProjectId(t)?await r.getProject(t).catch((()=>undefined)).then((t=>t?.slug)):t,type:n}))));const i=s.filter((t=>t.slug&&t.type)).filter(((t,r,n)=>r===n.findIndex((r=>stringEquals(t.slug,r.slug,{ignoreCase:true})))));return i}}function packGitHubReleaseInit(t){return{...{...t,owner:undefined,repo:undefined,assets:undefined}}}function packGitHubReleasePatch(t){return{...{...t,owner:undefined,repo:undefined,id:undefined,assets:undefined}}}const cr="https://api.github.com";const ur="2022-11-28";class GitHubApiClient{_fetch;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||cr,defaultHeaders:{Accept:"application/vnd.github+json","X-GitHub-Api-Version":ur,Authorization:t?.token&&`Bearer ${t.token}`}}).use(defaultResponse({response:t=>HttpResponse.json(null,t)})).use(throwOnError({filter:t=>!t.ok&&t.status!==404}))}async getRelease(t){const{owner:r,repo:n,id:s,tag_name:i}=t;const o=typeof s==="number"?`/repos/${r}/${n}/releases/${s}`:`/repos/${r}/${n}/releases/tags/${i}`;const a=await this._fetch(o);return await a.json()??undefined}async createRelease(t){const{owner:r,repo:n,assets:s}=t;const i=packGitHubReleaseInit(t);const o=await this._fetch(`/repos/${r}/${n}/releases`,HttpRequest.post().json(i));const a=await o.json();if(s?.length){return await this.updateRelease({owner:r,repo:n,id:a.id,assets:s})}return a}async updateRelease(t){const{owner:r,repo:n,id:s,assets:i}=t;if(i?.length){await this.updateReleaseAssets({owner:r,repo:n,id:s,assets:i})}const o=packGitHubReleasePatch(t);const a=Object.values(o).filter((t=>t!==undefined)).length!==0;if(!a){return await this.getRelease(t)}const l=await this._fetch(`/repos/${r}/${n}/releases/${s}`,HttpRequest.patch().json(o));return await l.json()}async updateReleaseAssets(t){const r=[];const n=await this.getRelease(t);for(const s of t.assets){const i=FileInfo.of(s);const o=n.assets.find((t=>t.name===i.name||t.name===i.path));if(o){await this.deleteReleaseAsset({owner:t.owner,repo:t.repo,id:o.id})}const a=await this.uploadReleaseAsset({upload_url:n.upload_url,asset:i});r.push(a)}return r}async uploadReleaseAsset(t){const{upload_url:r,asset:n}=t;const s=r.includes("{")?r.substring(0,r.indexOf("{")):r;const i=FileInfo.of(n);const o=encodeURIComponent(i.name);const a=i.stream();const l=await this._fetch(`${s}?name=${o}`,HttpRequest.post().with(a));return await l.json()}async deleteReleaseAsset(t){const{owner:r,repo:n,id:s}=t;const i=await this._fetch(`/repos/${r}/${n}/releases/assets/${s}`,HttpRequest["delete"]());return i.ok}}class GitHubUploader extends GenericPlatformUploader{_context;constructor(t){super(t);this._context=t?.githubContext}get platform(){return We.GITHUB}async uploadCore(t){ArgumentNullError.throwIfNull(this._context?.repo,"context.repo","The information about the repository is required to upload files to GitHub.");const r=new GitHubApiClient({token:t.token.unwrap(),fetch:this._fetch,baseUrl:this._context.apiUrl});const n=this._context.repo;const s=await this.updateOrCreateRelease(t,r);return{repo:`${n.owner}/${n.repo}`,tag:s.tag_name,url:s.html_url,files:s.assets.map((t=>({id:t.id,name:t.name,url:t.browser_download_url})))}}async getOrCreateReleaseId(t,r){const n=this._context.repo;const s=t.tag||this._context.tag||t.version;let i=undefined;let o=false;if(t.tag){i=await r.getRelease({...n,tag_name:t.tag}).then((t=>t?.id))}else if(this._context.payload.release?.id){i=this._context.payload.release.id}else if(s){i=await r.getRelease({...n,tag_name:s}).then((t=>t?.id))}if(!i&&s){i=(await r.createRelease({...n,tag_name:s,target_commitish:t.commitish,name:t.name,body:t.changelog,draft:t.draft,prerelease:t.prerelease??t.versionType!==te.RELEASE,discussion_category_name:t.discussion,generate_release_notes:t.generateChangelog??!t.changelog}))?.id;o=true}if(!i){throw new Error(`Cannot find or create GitHub Release${s?` (${s})`:""}.`)}return[i,o]}async updateOrCreateRelease(t,r){const[n,s]=await this.getOrCreateReleaseId(t,r);const i=!t.changelog||s?undefined:t.changelog;const o=t.files;return await r.updateRelease({...this._context.repo,id:n,body:i,assets:o})}}function packModrinthVersionInit(t){const{files:r=[]}=t;const n={...{...t,files:undefined},name:t.name||t.version_number||r[0]&&FileInfo.of(r[0]).name,version_type:t.version_type??te.RELEASE,featured:t.featured??true,dependencies:t.dependencies??[],game_versions:t.game_versions??[],loaders:t.loaders??[],primary_file:r.length?"_0":undefined,file_parts:r.map(((t,r)=>`_${r}`))};const s=r.reduce(((t,r,n)=>{t[`_${n}`]=FileInfo.of(r);return t}),{data:n});return s}function packModrinthVersionSearchTemplate(t){const r=t?.loaders?JSON.stringify(t.loaders):undefined;const n=t?.game_versions?JSON.stringify(t.game_versions):undefined;const s=t?.featured??undefined;return{loaders:r,game_versions:n,featured:s}}const fr=2;const dr=`https://api.modrinth.com/v${fr}`;const pr=`https://staging-api.modrinth.com/v${fr}`;class ModrinthApiClient{_fetch;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||dr,defaultHeaders:{Authorization:t?.token}}).use(simpleCache()).use(defaultResponse({response:t=>HttpResponse.json(null,t)})).use(throwOnError({filter:t=>!t.ok&&t.status!==404}))}async getLoaders(){const t=await this._fetch("/tag/loader?cache=true");return await t.json()??[]}async getGameVersions(){const t=await this._fetch("/tag/game_version?cache=true");return await t.json()??[]}async getProject(t){const r=await this._fetch(`/project/${t}`);return await r.json()??undefined}async getProjectId(t){const r=await this._fetch(`/project/${t}/check`);return(await r.json())?.id??undefined}async getProjects(t){const r=await this._fetch("/projects",HttpRequest.get().with({ids:JSON.stringify(asArray(t))}));return await r.json()??[]}async updateProject(t){const r=await this._fetch(`/project/${t.id}`,HttpRequest.patch().json(t));return r.ok}async deleteProject(t){const r=await this._fetch(`/project/${t}`,HttpRequest["delete"]());return r.ok}async getVersion(t){const r=await this._fetch(`/version/${t}`);return await r.json()??undefined}async getVersions(t){const r=await this._fetch("/versions",HttpRequest.get().with({ids:JSON.stringify(asArray(t))}));return await r.json()??[]}async createVersion(t){const r=packModrinthVersionInit(t);const n=await this._fetch("/version",HttpRequest.post().with(r));return await n.json()??undefined}async updateVersion(t){const r=await this._fetch(`/version/${t.id}`,HttpRequest.patch().json(t));return r.ok}async deleteVersion(t){const r=await this._fetch(`/version/${t}`,HttpRequest["delete"]());return r.ok}async getProjectVersions(t,r){const n=packModrinthVersionSearchTemplate(r);const s=await this._fetch(`/project/${t}/version`,HttpRequest.get().with(n));return await s.json()??[]}async unfeaturePreviousProjectVersions(t,r){r??=pe.SUBSET;const n=await this.getProjectVersions(t.project_id,{featured:true});const s={};for(const i of n){if(!pe.shouldUnfeature(i,t,r)){continue}s[i.id]=await this.updateVersion({id:i.id,featured:false})}return s}}var hr;(function(t){t["REQUIRED"]="required";t["OPTIONAL"]="optional";t["INCOMPATIBLE"]="incompatible";t["EMBEDDED"]="embedded"})(hr||(hr={}));const mr={ignoreCase:true,ignoreNonWordCharacters:true};function modrinth_dependency_type_toDependencyType(t){switch(t){case yr.REQUIRED:return He.REQUIRED;case yr.OPTIONAL:return He.OPTIONAL;case yr.INCOMPATIBLE:return He.INCOMPATIBLE;case yr.EMBEDDED:return He.EMBEDDED;default:return undefined}}function modrinth_dependency_type_fromDependencyType(t){switch(t){case He.REQUIRED:return yr.REQUIRED;case He.OPTIONAL:case He.RECOMMENDED:return yr.OPTIONAL;case He.EMBEDDED:return yr.EMBEDDED;case He.CONFLICTING:case He.INCOMPATIBLE:return yr.INCOMPATIBLE;default:return undefined}}const gr={fromDependencyType:modrinth_dependency_type_fromDependencyType,toDependencyType:modrinth_dependency_type_toDependencyType};const yr=j.create(hr,mr,gr);class ModrinthUploader extends GenericPlatformUploader{constructor(t){super(t)}get platform(){return We.MODRINTH}async uploadCore(t){argument_error_ArgumentError.throwIfNullOrEmpty(t.id,"request.id","A project ID is required to upload files to Modrinth.");argument_error_ArgumentError.throwIfNullOrEmpty(t.version,"request.version","A version number is required to upload files to Modrinth.");argument_error_ArgumentError.throwIfNullOrEmpty(t.loaders,"request.loaders","At least one loader should be specified to upload files to Modrinth.");argument_error_ArgumentError.throwIfNullOrEmpty(t.gameVersions,"request.gameVersions","At least one game version should be specified to upload files to Modrinth.");const r=new ModrinthApiClient({token:t.token.unwrap(),fetch:this._fetch});const n=t.unfeatureMode??(t.featured?pe.SUBSET:pe.NONE);const s=await this.getProject(t.id,r);const i=await this.createVersion(t,s,r);await this.unfeaturePreviousVersions(i,n,r);return{id:s.id,version:i.id,url:`https://modrinth.com/${s.project_type}/${s.slug}/version/${i.version_number}`,files:i.files.map((t=>({id:t.hashes.sha1,name:t.filename,url:t.url})))}}async getProject(t,r){const n=await r.getProject(t);if(n){return n}return{id:t,slug:t,project_type:"mod"}}async createVersion(t,r,n){const s=await this.convertToModrinthGameVersionNames(t.gameVersions,n);const i=await this.convertToModrinthLoaderNames(t.loaders,r,n);const o=await this.convertToModrinthDependencies(t.dependencies,n);return await n.createVersion({name:t.name,version_number:t.version,project_id:r.id,changelog:t.changelog,dependencies:o,game_versions:s,version_type:t.versionType,loaders:i,featured:t.featured,files:t.files})}async convertToModrinthDependencies(t,r){const n=this.convertToSimpleDependencies(t,yr.fromDependencyType);const s=await Promise.all(n.map((async([t,n])=>({project_id:await r.getProjectId(t).catch((()=>undefined)),dependency_type:n}))));const i=s.filter((t=>t.project_id&&t.dependency_type)).filter(((t,r,n)=>r===n.findIndex((r=>t.project_id===r.project_id))));return i}async convertToModrinthLoaderNames(t,r,n){if(!t?.length){return[]}const s=await n.getLoaders();return iterable_$i(t).map((t=>s.find((r=>N(t,r.name))))).filter((t=>t)).filter((t=>t.supported_project_types.includes(r.project_type)||r.id===r.slug)).map((t=>t.name)).toArray()}async convertToModrinthGameVersionNames(t,r){if(!t?.length){return[]}const n=await r.getGameVersions();return iterable_$i(t).map((t=>n.find((r=>N(t,r.version)))?.version)).filter((t=>t)).toArray()}async unfeaturePreviousVersions(t,r,n){if(r===pe.NONE){return}this._logger.info("🔽 Initiating unfeaturing of older Modrinth project versions");const s=await n.unfeaturePreviousProjectVersions(t,r);const i=Object.entries(s).filter((([,t])=>t)).map((([t])=>t));const o=Object.entries(s).filter((([,t])=>!t)).map((([t])=>t));if(i.length){this._logger.info(`🟢 Successfully unfeatured ${i.join(", ")}`)}if(o.length){this._logger.info(`⚠️ Failed to unfeature ${o.join(", ")}. Please, double-check your token`)}}}function createPlatformUploader(t,r){switch(t){case We.MODRINTH:return new ModrinthUploader(r);case We.CURSEFORGE:return new CurseForgeUploader(r);case We.GITHUB:return new GitHubUploader(r);default:throw new Error(`Unknown platform '${We.format(t)}'`)}}const br=["minecraft","java","fabricloader"];const _r=new Map([["fabric","fabric-api"]].map((([t,r])=>[t,typeof r==="string"?iterable_$i(We.values()).map((t=>[t,r])).toMap():r])));function getFabricDependencies(t){return iterable_$i(Ye.values()).flatMap((r=>toFabricDependencyArray(t?.[r],r))).toArray()}function toFabricDependencyArray(t,r){return Object.entries(t||{}).map((([t,n])=>({id:t,version:n,type:r})))}function normalizeFabricDependency(t){return createDependency({id:t?.id,versions:t?.version,type:Ye.toDependencyType(t?.type||Ye.DEPENDS),ignore:br.includes(t?.id),aliases:_r.get(t?.id)})}var Sr;(function(t){t["FABRIC"]="fabric";t["FORGE"]="forge";t["QUILT"]="quilt";t["NEOFORGE"]="neoforge"})(Sr||(Sr={}));const Er={ignoreCase:true};const vr=j.create(Sr,Er);function getFabricMetadataCustomPayload(t){return containsLegacyCustomPayloadDefinition(t)?Rr(t):t?.custom?.[oe]||{}}function containsLegacyCustomPayloadDefinition(t){return!!t?.custom?.modmanager}function _getLegacyFabricMetadataCustomPayload(t){const r=t?.custom?.modmanager;const n=t?.custom?.[oe];return{...r,...n}}const Rr=(0,W.deprecate)(_getLegacyFabricMetadataCustomPayload,"Use `mc-publish` field instead of `modmanager` field.");const wr=[vr.FABRIC];function getLoadersFromFabricMetadataCustomPayload(t){if(containsLegacyLoadersDefinition(t)){return Cr(t)}return t?.loaders||[...wr]}function containsLegacyLoadersDefinition(t){return typeof t?.quilt==="boolean"}function _getLegacyLoadersFromFabricMetadataCustomPayload(t){return t?.quilt?[vr.FABRIC,vr.QUILT]:[...wr]}const Cr=(0,W.deprecate)(_getLegacyLoadersFromFabricMetadataCustomPayload,'Use the universal `"loaders": ["fabric", "quilt"]` field instead of `"quilt": true`');function getDependenciesFromFabricMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromFabricMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class FabricMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new FabricMetadata(t)}get id(){return string_utils_asString(this._raw.id||"")}get name(){return string_utils_asString(this._raw.name||this._raw.id||"")}get version(){return string_utils_asString(this._raw.version||"*")}get loaders(){return getLoadersFromFabricMetadataCustomPayload(this.customPayload)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getFabricDependencies(this._raw).map(normalizeFabricDependency).filter((t=>t));const r=getDependenciesFromFabricMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get raw(){return this._raw}get customPayload(){return getFabricMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromFabricMetadataCustomPayload(this.customPayload,t)||this.id}}const Ar="fabric.mod.json";class FabricMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,Ar);return FabricMetadata.from(JSON.parse(r))}}var Tr=s(4920);const Ir=["minecraft","java","forge"];function getForgeDependencies(t){const r=iterable_$i(Object.values(t?.dependencies||{})).filter((t=>Array.isArray(t))).flatMap((t=>t)).filter((t=>t?.modId)).map((t=>[t.modId,t])).reverse().toMap();return[...r.values()]}function normalizeForgeDependency(t){const r=getForgeDependencyCustomPayload(t);const n=t?.modId;const s=t?.versionRange;const i=Ir.includes(t?.modId)||typeof r.ignore==="boolean"&&r.ignore;const o=typeof r.ignore==="boolean"?undefined:r.ignore;const a=iterable_$i(We.values()).map((t=>[t,r[t]?string_utils_asString(r[t]):undefined])).filter((([,t])=>t)).toMap();const l=t?.incompatible&&He.INCOMPATIBLE||t?.embedded&&He.EMBEDDED||t?.mandatory&&He.REQUIRED||He.OPTIONAL;return createDependency({id:n,versions:s,type:l,ignore:i,ignoredPlatforms:o,aliases:a})}function getForgeDependencyCustomPayload(t){return containsLegacyForgeDependencyCustomPayload(t)?Pr(t):t?.[oe]||{}}function containsLegacyForgeDependencyCustomPayload(t){return!!t?.custom?.[oe]}function _getLegacyForgeDependencyCustomPayload(t){const r=t?.custom?.[oe];const n=t?.[oe];return{...r,...n}}const Pr=(0,W.deprecate)(_getLegacyForgeDependencyCustomPayload,"Define `mc-publish` property directly on your Forge dependency object instead of using nested `custom.mc-publish`.");function getForgeMetadataCustomPayload(t){return forge_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t)?Nr(t):t?.[oe]||{}}function forge_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t){return!!t?.custom?.[oe]||!!t?.custom?.projects||!!t?.projects}function _getLegacyForgeMetadataCustomPayload(t){const r={...t?.projects,...t?.custom?.projects,...t?.custom?.[oe]};const n=t?.[oe];return{...r,...n}}const Nr=(0,W.deprecate)(_getLegacyForgeMetadataCustomPayload,"Use top-level `mc-publish` field in your mods.toml.");function getLoadersFromForgeMetadataCustomPayload(t){const r=getForgeMetadataCustomPayload(t);return r.loaders||[vr.FORGE]}function getDependenciesFromForgeMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromForgeMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class ForgeMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new ForgeMetadata(t)}get id(){return string_utils_asString(this.mod.modId||"")}get name(){return string_utils_asString(this.mod.displayName||this.mod.modId||"")}get version(){return string_utils_asString(this.mod.version||"*")}get loaders(){return getLoadersFromForgeMetadataCustomPayload(this._raw)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getForgeDependencies(this._raw).map(normalizeForgeDependency).filter((t=>t));const r=getDependenciesFromForgeMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get mod(){return this._raw.mods?.[0]||{}}get raw(){return this._raw}get customPayload(){return getForgeMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromForgeMetadataCustomPayload(this.customPayload,t)||this.id}}const Dr="META-INF/mods.toml";class ForgeMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,Dr);const n=ForgeMetadata.from((0,Tr.parse)(r));if(!n.dependencies.some((t=>t.id===vr.FORGE))){throw new Error("A Forge metadata file must contain a 'forge' dependency")}return n}}const Or=["minecraft","java","quilt_loader"];const kr=iterable_$i([["fabric","fabric-api"],["quilt_base","qsl"],["quilted_fabric_api","qsl"]].map((([t,r])=>[t,typeof r==="string"?iterable_$i(We.values()).map((t=>[t,r])).toMap():r]))).toMap();function getQuiltDependencies(t){const r=iterable_$i(mapQuiltDependencies(t?.quilt_loader?.depends)).concat(mapQuiltDependencies(t?.quilt_loader?.breaks,{breaking:true})).concat(mapQuiltDependencies(t?.quilt_loader?.provides,{provided:true})).filter((t=>t.id)).map((t=>[t.id,t])).toMap();return[...r.values()]}function mapQuiltDependencies(t,r){if(!t){return[]}return iterable_$i(t).map((t=>typeof t==="string"?{id:t,...r}:{...t,...r}))}function normalizeQuiltDependency(t){const r=getQuiltDependencyCustomPayload(t);const n=t?.id?.includes(":")?t.id.substring(t.id.indexOf(":")+1):t?.id;const s=t?.version||t?.versions;const i=Or.includes(n)||typeof r.ignore==="boolean"&&r.ignore;const o=typeof r.ignore==="boolean"?undefined:r.ignore;const a=t?.breaking&&t?.unless&&He.CONFLICTING||t?.breaking&&He.INCOMPATIBLE||t?.provided&&He.EMBEDDED||(t?.optional||t?.unless)&&He.OPTIONAL||He.REQUIRED;const l=iterable_$i(kr.get(n)||[]).concat(iterable_$i(We.values()).map((t=>[t,r[t]?string_utils_asString(r[t]):undefined]))).filter((([,t])=>t)).toMap();return createDependency({id:n,versions:s,type:a,ignore:i,ignoredPlatforms:o,aliases:l})}function getQuiltDependencyCustomPayload(t){return t?.[oe]||{}}function getQuiltMetadataCustomPayload(t){return quilt_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t)?$r(t):t?.[oe]||{}}function quilt_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t){return!!t?.projects}function _getLegacyQuiltMetadataCustomPayload(t){const r=t?.projects;const n=t?.[oe];return{...r,...n}}const $r=(0,W.deprecate)(_getLegacyQuiltMetadataCustomPayload,"Use top-level `mc-publish` field in your quilt.mod.json.");const Lr=[vr.QUILT];function getLoadersFromQuiltMetadataCustomPayload(t){return t?.loaders||[...Lr]}function getDependenciesFromQuiltMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromQuiltMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class QuiltMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new QuiltMetadata(t)}get id(){const t=string_utils_asString(this._raw.quilt_loader?.id||"");return t.includes(":")?t.substring(t.indexOf(":")+1):t}get name(){return string_utils_asString(this._raw.quilt_loader?.metadata?.name||this.id)}get version(){return string_utils_asString(this._raw.quilt_loader?.version||"*")}get loaders(){return getLoadersFromQuiltMetadataCustomPayload(this.customPayload)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getQuiltDependencies(this._raw).map(normalizeQuiltDependency).filter((t=>t));const r=getDependenciesFromQuiltMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get raw(){return this._raw}get customPayload(){return getQuiltMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromQuiltMetadataCustomPayload(this.customPayload,t)||this.id}}const xr="quilt.mod.json";class QuiltMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,xr);return QuiltMetadata.from(JSON.parse(r))}}var Fr;(function(t){t["REQUIRED"]="required";t["OPTIONAL"]="optional";t["EMBEDDED"]="embedded";t["INCOMPATIBLE"]="incompatible";t["DISCOURAGED"]="discouraged"})(Fr||(Fr={}));const Mr={ignoreCase:true};function neoforge_dependency_type_toDependencyType(t){switch(t){case jr.REQUIRED:return He.REQUIRED;case jr.OPTIONAL:return He.OPTIONAL;case jr.EMBEDDED:return He.EMBEDDED;case jr.INCOMPATIBLE:return He.INCOMPATIBLE;case jr.DISCOURAGED:return He.CONFLICTING;default:return undefined}}function neoforge_dependency_type_fromDependencyType(t){switch(t){case He.REQUIRED:return jr.REQUIRED;case He.OPTIONAL:case He.RECOMMENDED:return jr.OPTIONAL;case He.EMBEDDED:return jr.EMBEDDED;case He.CONFLICTING:return jr.DISCOURAGED;case He.INCOMPATIBLE:return jr.INCOMPATIBLE;default:return undefined}}const Br={toDependencyType:neoforge_dependency_type_toDependencyType,fromDependencyType:neoforge_dependency_type_fromDependencyType};const jr=j.create(Fr,Mr,Br);const Wr=["minecraft","java","neoforge"];function getNeoForgeDependencies(t){const r=iterable_$i(Object.values(t?.dependencies||{})).filter((t=>Array.isArray(t))).flatMap((t=>t)).filter((t=>t?.modId)).map((t=>[t.modId,t])).reverse().toMap();return[...r.values()]}function normalizeNeoForgeDependency(t){const r=t?.[oe]||{};const n=t?.modId;const s=t?.versionRange;const i=Wr.includes(t?.modId)||typeof r.ignore==="boolean"&&r.ignore;const o=typeof r.ignore==="boolean"?undefined:r.ignore;const a=iterable_$i(We.values()).map((t=>[t,r[t]?string_utils_asString(r[t]):undefined])).filter((([,t])=>t)).toMap();const l=jr.toDependencyType(t?.type||(t?.mandatory??true?jr.REQUIRED:jr.OPTIONAL));return createDependency({id:n,versions:s,type:l,ignore:i,ignoredPlatforms:o,aliases:a})}function getNeoForgeMetadataCustomPayload(t){return t?.[oe]||{}}function getLoadersFromNeoForgeMetadataCustomPayload(t){const r=getNeoForgeMetadataCustomPayload(t);return r.loaders||[vr.NEOFORGE]}function getDependenciesFromNeoForgeMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromNeoForgeMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class NeoForgeMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new NeoForgeMetadata(t)}get id(){return string_utils_asString(this.mod.modId||"")}get name(){return string_utils_asString(this.mod.displayName||this.mod.modId||"")}get version(){return string_utils_asString(this.mod.version||"*")}get loaders(){return getLoadersFromNeoForgeMetadataCustomPayload(this._raw)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getNeoForgeDependencies(this._raw).map(normalizeNeoForgeDependency).filter((t=>t));const r=getDependenciesFromNeoForgeMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get mod(){return this._raw.mods?.[0]||{}}get raw(){return this._raw}get customPayload(){return getNeoForgeMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromNeoForgeMetadataCustomPayload(this.customPayload,t)||this.id}}const Ur="META-INF/mods.toml";class NeoForgeMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,Ur);const n=NeoForgeMetadata.from((0,Tr.parse)(r));if(!n.dependencies.some((t=>t.id===vr.NEOFORGE))){throw new Error("A NeoForge metadata file must contain a 'neoforge' dependency")}return n}}function combineLoaderMetadataReaders(t){const r=[...t];const readMetadataFile=async t=>{for(const n of r){const r=await n.readMetadataFile(t).catch((()=>undefined));if(r){return r}}throw new Error(`Unable to read metadata from the file located at: '${t}'`)};return{readMetadataFile:readMetadataFile}}function createLoaderMetadataReader(t){switch(t){case vr.FABRIC:return new FabricMetadataReader;case vr.FORGE:return new ForgeMetadataReader;case vr.QUILT:return new QuiltMetadataReader;case vr.NEOFORGE:return new NeoForgeMetadataReader;default:throw new Error(`Unknown mod loader '${vr.format(t)}'.`)}}function createDefaultLoaderMetadataReader(){return combineLoaderMetadataReaders(iterable_$i(vr.values()).map(createLoaderMetadataReader))}const qr="GITHUB_EVENT_PATH";const Hr="GITHUB_REPOSITORY";const Vr="GITHUB_API_URL";const Gr="GITHUB_REF";const zr="refs/tags/";class GitHubContext{_env;_payload;constructor(t){this._env=t}get ref(){return environment_getEnvironmentVariable(Gr,this._env)}get tag(){const t=this.payload;if(t.release?.tag_name){return t.release.tag_name}const r=this.ref;if(r?.startsWith(zr)){return r.substring(zr.length)}return undefined}get version(){const t=this.tag;return/v\d/.test(t)?t.substring(1):t}get repo(){const t=environment_getEnvironmentVariable(Hr,this._env);if(t?.includes("/")){const[r,n]=t.split("/");return{owner:r,repo:n}}return undefined}get apiUrl(){return environment_getEnvironmentVariable(Vr,this._env)||cr}get payload(){if(this._payload){return this._payload}const t=environment_getEnvironmentVariable(qr,this._env);try{this._payload=JSON.parse((0,ae.readFileSync)(t,"utf8"))}catch{this._payload={}}return this._payload}}function parseActionParameterTypeDescriptor(t){if(!t){return undefined}t=t.replaceAll(/\s/g,"").replaceAll(/<.*>/g,"");const r=t.includes("[]");t=t.replaceAll("[]","");const n=t.indexOf("?");const s=n>=0?QueryString.parse(t.substring(n)):undefined;t=n>=0?t.substring(0,n):t;const i=normalizePattern(t);const[o,a]=i.split(";").map(parseImportDirective);return{...o,factory:a,options:s,isArray:r}}function normalizePattern(t){if(!t.includes("/")&&t.includes(".")){return normalizePatternInDotNotation(t)}if(!t.includes(":")){return t}const r=t.split(";");const n=r[0];if(!n.includes(":")){return n}const s=n.replaceAll(/:(?:\w+|{\w+})/g,"");const i=n.match(/^.*->/)?.[0];const o=n.match(/\{?(?\w+)(?\}?):(?\{?)(?\w+)\}?/)?.groups;const a=!o.isTypeImported&&!o.isFactoryImported?"":i;const l=a+(o.isFactoryImported?`{${o.factory}}`:o.factory);return`${s};${l}`}function normalizePatternInDotNotation(t){const r=t.split(";");const n=r[0];const s=n.match(/^(?.*?\.)?(?[\w]+?)(?::(?{?\w+}?))?$/);if(!s){return t}const i=s.groups.path;const o=s.groups.name;const a=i&&`${i}${o}`.replaceAll(".","/").replaceAll(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const l=s.groups.factory;const c=l?.charAt(0)==="{";const u=a?`${a}->{${o}}`:o;const d=l?c&&a?`${a}->${l}`:l:r[1];const p=[u,d].filter((t=>t)).join(";");return p}const action_parameter_path_parser_IDENTITY_ACTION_PARAMETER_PATH_PARSER=t=>[t||""];const SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER=t=>(t||"").split(/[^\p{L}\p{N}]/u).map((t=>t.toLowerCase()));const SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER=(t,r,n)=>{const s=SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(t,r,n);if(!r||!n){return s}const i=n.inputs?.[t]===r?n.groups?.input:n.outputs?.[t]===r?n.groups?.output:undefined;const o=i?Object.keys(i):[];const a=iterable_$i(o).map((t=>SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(t,r,n))).filter((t=>iterable_$i(s).startsWith(t))).max(((t,r)=>t.length-r.length));const l=(a?.length||0)+1;const c=flattenPath(s,l);return c};function flattenPath(t,r){if(!(r>=1)){r=1}while(t.length>r){t[t.length-2]+=capitalize(t[t.length-1]);t.splice(t.length-1)}return t}function action_parameter_descriptor_getActionParameterDescriptor(t,r,n,s,i){const o=i?.pathParser??IDENTITY_ACTION_PARAMETER_PATH_PARSER;const a=s?.[r];const l=a&&n(a,r,o(r,a,t));return l}function getActionParameterDescriptors(t,r,n,s){const i=s?.pathParser??action_parameter_path_parser_IDENTITY_ACTION_PARAMETER_PATH_PARSER;const o=n?Object.entries(n):[];const a=o.map((([n,s])=>r(s,n,i(n,s,t))));return a}function getActionInputDescriptor(t,r,n){return getActionParameterDescriptor(t,r,asActionInputDescriptor,t.inputs,n)}function action_input_descriptor_getActionInputDescriptors(t,r){return getActionParameterDescriptors(t,asActionInputDescriptor,t.inputs,r)}function asActionInputDescriptor(t,r,n){const s=t.default===undefined||t.default===Xr;const i=t.type||(s?"string":typeof t.default);return{name:r,path:n,redirect:t.redirect,type:parseActionParameterTypeDescriptor(i),description:t.description??"",required:t.required??false,default:s?undefined:t.default,deprecationMessage:t.deprecationMessage}}var Yr;(function(t){t["SPLIT"]="split";t["SEPARATOR"]="separator";t["PROCESS_SEPARATELY"]="processSeparately";t["TRIM_ENTRIES"]="trimEntries";t["REMOVE_EMPTY_ENTRIES"]="removeEmptyEntries";t["FLAT_DEPTH"]="flatDepth"})(Yr||(Yr={}));const Qr={ignoreCase:true,ignoreNonWordCharacters:true};const Kr=j.create(Yr,Qr);const Xr="${undefined}";const Jr="INPUT_";function setActionInput(t,r,n){const s=normalizeActionParameterName(t);const i=Jr+s;const o=r===undefined||r===Xr?undefined:typeof r==="string"?r:JSON.stringify(r);setEnvironmentVariable(i,o,n)}function setActionInputs(t,r){for(const[n,s]of t){setActionInput(n,s,r)}}function getActionInput(t,r,n){const s=normalizeActionParameterName(t);const i=Jr+s;const o=getEnvironmentVariable(i,n);const a=isActionInputDefined(o)?o:undefined;const l=r?.trimWhitespace??true?a?.trim():a;if(r?.required&&a===undefined){throw new Error(`Input required and not supplied: ${t}.`)}return l}function getActionInputs(t,r,n){return $i(t).map((t=>getActionInput(t,r,n))).toArray()}function getAllActionInputs(t,r){const n=new Map;const s=t?.required;const i=t?.trimWhitespace??true;for(const[t,o]of getAllEnvironmentVariables(r)){if(!t.startsWith(Jr)){continue}const r=t.substring(Jr.length);const a=isActionInputDefined(o);if(s&&!a){throw new Error(`Input required and not supplied: ${r}.`)}if(!a){continue}const l=i?o.trim():o;n.set(r,l)}return n}function isActionInputDefined(t){return typeof t==="string"&&t!==Xr}async function getAllActionInputsAsObject(t,r,n){const s=r?.moduleLoader||Je;const i=r?.converter||toType;const o=asArray(t);const a=getAllActionInputs(r,n);const l={};for(const[t,r]of a){const n=o.find((r=>stringEquals(r.name,t,{ignoreCase:true})));const a=n?.redirect?o.find((t=>t.name===n.redirect)):n;if(!a){continue}const c=await parseInput(r,n.type,s,i);if(c===undefined){throw new Error(`Cannot convert "${n.name}" to "${n.type.name}".`)}defineNestedProperty(l,a.path,{value:c,writable:true,configurable:true,enumerable:true})}return l}async function getAllActionInputsAsObjectUsingMetadata(t,r,n){const s=action_input_descriptor_getActionInputDescriptors(t,r);return await getAllActionInputsAsObject(s,r,n)}async function parseInput(t,r,n,s){const i=r.options?.getBoolean(Kr.SPLIT)??r.isArray;const o=i?parseMultipleInputs:parseSingleInput;return await o(t,r,n,s)}async function parseMultipleInputs(t,r,n,s){const i=r.options?.getRegExp(Kr.SEPARATOR)??/\r?\n/g;const o=r.options?.getBoolean(Kr.PROCESS_SEPARATELY)??true;const a=r.options?.getBoolean(Kr.TRIM_ENTRIES)??true;const l=r.options?.getBoolean(Kr.REMOVE_EMPTY_ENTRIES)??true;const c=r.options?.getNumber(Kr.FLAT_DEPTH)??1;const u=split(t,i,{trimEntries:a,removeEmptyEntries:l});if(!o){return await parseSingleInput(u,r,n,s)}const d=await Promise.all(u.map((t=>parseSingleInput(t,r,n,s))));const p=d.flat(c);return p}async function parseSingleInput(t,r,n,s){if(!r.factory&&!r.module){return await s(t,r.name)}const i=await executeImportDirective(r,{moduleLoader:n,required:false});if(r.factory){const s=await executeImportDirective(r.factory,{moduleLoader:n,defaultModuleProvider:t=>Promise.resolve(t.isDefault?i?.value??globalThis:globalThis),required:true});return await s.value(t,r.options)}const o=[i?.value,i?.module].filter((t=>t));for(const r of o){const[n]=await runSafely((()=>s(t,r)));if(n!==undefined){return n}}return undefined}const Zr={filler:"#"};const en={lineStart:"/* ",filler:"*",lineEnd:" */"};const tn={filler:"//"};const rn=null&&Zr;const nn=null&&["center"];function generateAutoGeneratedWarningText(t){const r="WARNING: AUTO-GENERATED FILE - DO NOT EDIT!\n\nPlease be advised that this is an auto-generated file and should NOT be modified. Any changes made to this file WILL BE OVERWRITTEN.";if(!t){return r}return`${r}\n\nTo make changes to the contents of this file, please modify the ${t} file instead. This will ensure that your changes are properly reflected in the auto-generated file.`}function auto_generated_generateAutoGeneratedWarningFrame(t){const r=t?.message??generateAutoGeneratedWarningText(t?.sourceFileName);const n=Array.isArray(t?.align)?t.align:typeof t?.align==="string"?[t.align]:nn;const s=t?.style?.filler??rn.filler;const i=t?.style?.lineStart??`${s} `;const o=t?.style?.lineEnd??` ${s}`;const a=t?.newline??DEFAULT_NEWLINE;const l=i.length+o.length;const c=Math.max((t?.lineWidth||0)-l,0);const u=splitLines(r,{maxLength:c});const d=$i(u).map((t=>t.length)).max()||0;const p=Math.ceil(d/s.length);const h=`${i}${s.repeat(p)}${o}`;const m=$i(u).map(((t,r)=>pad(t,d,{align:n[Math.min(r,n.length-1)]}))).map((t=>`${i}${t}${o}`)).append(h).prepend(h).join(a);return m}const sn=" ";const on=4;const an='"';function getTab(t){if(typeof t?.tab==="string"){return t.tab}if(typeof t?.tabSize==="number"&&t.tabSize!==on){return createTab(t.tabSize)}return sn}function typescript_formatting_options_getIndentation(t){const r=getTab(t);return createIndentation(r,t?.indent||0)}function typescript_formatting_options_getNewline(t){return typeof t?.newline==="string"?t.newline:we}function typescript_formatting_options_getQuotes(t){return typeof t?.preferredQuotes==="string"?t.preferredQuotes:an}function typescript_formatting_options_incrementIndent(t,r){const n=(t?.indent||0)+(r??1);return{...t,indent:n}}const ln=new Map([[on,sn]]);function createTab(t){const r=ln.get(t);if(r!==undefined){return r}const n=" ".repeat(t);ln.set(t,n);return n}const cn=new Map;function createIndentation(t,r){if(!r){return""}if(r===1){return t}const n=cn.get(t)||new Map;if(!n.size){cn.set(t,n)}const s=n.get(r);if(s!==undefined){return s}const i=t.repeat(r);n.set(r,i);return i}class typescript_comment_TypeScriptComment{_text;constructor(t){this._text=t}get text(){return this._text}get isSingleline(){return isSinglelineComment(this._text)}get isDirective(){return isDirectiveComment(this._text)}get isMultiline(){return isMultilineComment(this._text)}get isTSDoc(){return isTSDocComment(this._text)}static create(t,r){const n=typeof t==="string"?string_utils_splitLines(t):[...t];r||=n.length>1?dn:un;const s=n.map((t=>r.prefix+t.trim()));if(typeof r.startDelimiter==="string"){s.unshift(r.startDelimiter)}if(typeof r.endDelimiter==="string"){s.push(r.endDelimiter)}const i=s.join(Re);return new typescript_comment_TypeScriptComment(i)}static createSingleline(t){return typescript_comment_TypeScriptComment.create(t,un)}static createDirective(t){return typescript_comment_TypeScriptComment.create(t,fn)}static createMultiline(t){return typescript_comment_TypeScriptComment.create(t,dn)}static createTSDoc(t){return typescript_comment_TypeScriptComment.create(t,pn)}static parse(t){return isComment(t)?new typescript_comment_TypeScriptComment(t):typescript_comment_TypeScriptComment.create(t)}format(t){const r=typescript_formatting_options_getIndentation(t);const n=typescript_formatting_options_getNewline(t);const s=string_utils_splitLines(this._text);const i=s.map((t=>r+t)).join(n);return i}}function isSinglelineComment(t){return/^\s*\/\//.test(t)}function isDirectiveComment(t){return/^\s*\/\/\//.test(t)}function isMultilineComment(t){return/^\s*\/\*/.test(t)}function isTSDocComment(t){return/^\s*\/\*\*/.test(t)}function isComment(t){return/^\s*\/[/*]/.test(t)}const un={prefix:"// "};const fn={prefix:"/// "};const dn={startDelimiter:"/*",prefix:" * ",endDelimiter:" */"};const pn={startDelimiter:"/**",prefix:" * ",endDelimiter:" */"};class abstract_typescript_node_AbstractTypeScriptNode{_comments;comments(){return this._comments||[]}addComment(t){const r=typeof t==="string"?TypeScriptComment.parse(t):t;this._comments??=[];this._comments.push(r);return r}addTSDoc(t){return this.addComment(TypeScriptComment.createTSDoc(t))}deleteComment(t){const r=this._comments?.indexOf(t)??-1;if(r===-1){return false}this._comments.splice(r,1);return true}formatComments(t){const r=getNewline(t);const n=this._comments?.map((r=>r.format(t))).join(r)||"";return n}format(t){const r=getNewline(t);const n=this.formatComments(t);const s=this.formatContent(t);const i=`${n}${n?r:""}${s}`;return i}}class typescript_export_TypeScriptExport extends(null&&AbstractTypeScriptNode){_exportedNode;_isDefault;constructor(t,r){super();this._exportedNode=t;this._isDefault=r||false}static create(t,r){return new typescript_export_TypeScriptExport(t,r)}get exportedNode(){return this._exportedNode}get isDefault(){return this._isDefault}formatComments(t){const r=getNewline(t);const n=this._exportedNode;const s=super.formatComments(t);const i=isCommentableTypeScriptNode(n)?n.formatComments(t):"";if(!s){return i}if(!i){return s}return`${s}${r}${i}`}formatContent(t){const r=getIndentation(t);const n=this._exportedNode;const s=(isCommentableTypeScriptNode(n)?n.formatContent(t):n.format(t)).trimStart();const i=`${r}export ${this._isDefault?"default ":""}${s}${s.endsWith(";")?"":";"}`;return i}}class typescript_import_TypeScriptImport extends(null&&AbstractTypeScriptNode){_path;_namedImports;_defaultImportName;_wildcardImportName;constructor(t,r,n,s){super();this._path=t;this._namedImports=r;this._defaultImportName=n;this._wildcardImportName=s;this.assertIsValidImport()}static create(t,r){return new typescript_import_TypeScriptImport(t,r?.namedImports?new Set(r.namedImports):undefined,r?.defaultImportName,r?.wildcardImportName)}static createWildcardImport(t,r){return new typescript_import_TypeScriptImport(t,undefined,undefined,r)}static createDefaultImport(t,r){return new typescript_import_TypeScriptImport(t,undefined,r)}static createNamedImport(t,r){return new typescript_import_TypeScriptImport(t,new Set(r))}static createEmptyImport(t){return new typescript_import_TypeScriptImport(t)}get path(){return this._path}namedImports(){return this._namedImports||[]}addNamedImport(t){ArgumentError.throwIfNullOrEmpty(t,"name");this._namedImports??=new Set;this._namedImports.add(t);this.assertIsValidImport()}addNamedImports(t){for(const r of t){this.addNamedImport(r)}}deleteNamedImport(t){return!!this._namedImports?.delete(t)}get defaultImportName(){return this._defaultImportName}set defaultImportName(t){this._defaultImportName=t;this.assertIsValidImport()}get wildcardImportName(){return this._wildcardImportName}set wildcardImportName(t){this._wildcardImportName=t;this.assertIsValidImport()}get isNamedImport(){return!!this._namedImports?.size}get isDefaultImport(){return!!this._defaultImportName}get isWildcardImport(){return!!this._wildcardImportName}get isEmptyImport(){return!this.isWildcardImport&&!this.isDefaultImport&&!this.isNamedImport}assertIsValidImport(){if(this.isWildcardImport&&(this.isDefaultImport||this.isNamedImport)){throw new Error("Mixing wildcard import with default and/or named imports is not allowed.")}}formatContent(t){const r=getIndentation(t);const n=getQuotes(t);if(this.isEmptyImport){return`${r}// import { } from ${n}${this._path}${n};`}let s=`${r}import `;if(this.isWildcardImport){s+=`* as ${this._wildcardImportName}`}if(this.isDefaultImport){s+=this.defaultImportName}if(this.isNamedImport){const t=`{ ${[...this._namedImports].join(", ")} }`;s+=this.isDefaultImport?", ":"";s+=t}s+=` from ${n}${this._path}${n};`;return s}}class typescript_imports_TypeScriptImports extends(null&&AbstractTypeScriptNode){_imports;constructor(t){super();this._imports=new Map(Array.from(t||[]).map((t=>[t.path,t])))}static create(t){return new typescript_imports_TypeScriptImports(t)}imports(){return this._imports.values()}getImport(t){return this._imports.get(t)}getOrCreateImport(t){if(!this._imports.has(t)){this._imports.set(t,TypeScriptImport.createEmptyImport(t))}return this._imports.get(t)}addImport(t){const r=this._imports.get(t.path);this._imports.set(t.path,t);if(r){t.addNamedImports(r.namedImports());t.defaultImportName||=r.defaultImportName;t.wildcardImportName||=r.wildcardImportName}return t}deleteImport(t){const r=typeof t==="string"?t:t.path;return this._imports.delete(r)}addWildcardImport(t,r){const n=this.getOrCreateImport(t);n.wildcardImportName=r;return n}addDefaultImport(t,r){const n=this.getOrCreateImport(t);n.defaultImportName=r;return n}addNamedImport(t,r){const n=this.getOrCreateImport(t);n.addNamedImport(r);return n}addNamedImports(t,r){const n=this.getOrCreateImport(t);n.addNamedImports(r);return n}formatContent(t){const r=getNewline(t);const n=$i(this).map((r=>r.format(t))).join(r);return n}[Symbol.iterator](){return this.imports()[Symbol.iterator]()}}class typescript_document_TypeScriptDocument extends(null&&AbstractTypeScriptNode){_imports;_nodes;constructor(){super();this._imports=TypeScriptImports.create();this._nodes=[]}static create(){return new typescript_document_TypeScriptDocument}imports(){return this._imports}nodes(){return $i(this._nodes).unshift(this._imports)}getImport(t){return this._imports.getImport(t)}getOrCreateImport(t){return this._imports.getOrCreateImport(t)}addImport(t){return this._imports.addImport(t)}addWildcardImport(t,r){return this._imports.addWildcardImport(t,r)}addDefaultImport(t,r){return this._imports.addDefaultImport(t,r)}addNamedImport(t,r){return this._imports.addNamedImport(t,r)}addNamedImports(t,r){return this._imports.addNamedImports(t,r)}addExport(t){return this.addNode(TypeScriptExport.create(t))}addDefaultExport(t){return this.addNode(TypeScriptExport.create(t,true))}addNode(t){if(t instanceof TypeScriptImport){return this.addImport(t)}if(t instanceof TypeScriptImports){for(const r of t){this.addImport(r)}return this._imports}this._nodes.push(t);return t}saveSync(t,r){writeFileSync(t,this.format(r),r)}save(t,r){return writeFile(t,this.format(r),r)}formatContent(t){const r=getNewline(t);const n=$i(this).map((r=>r.format(t))).filter((t=>t)).join(r+r);const s=n+r;return s}[Symbol.iterator](){return this.nodes()[Symbol.iterator]()}}function isValidMemberName(t){return/^[\p{L}_][\p{L}0-9_]*$/u.test(t)}function typescript_member_escapeMemberName(t,r){if(isValidMemberName(t)){return t}r||=DEFAULT_QUOTES;const n=JSON.stringify(t).slice(1,-1).replaceAll(/[`']/g,"\\$&");return`[${r}${n}${r}]`}class typescript_property_TypeScriptProperty extends(null&&AbstractTypeScriptNode){_name;_type;_options;constructor(t,r,n){super();this._name=t;this._type=r;this._options=n}static create(t,r,n){return new typescript_property_TypeScriptProperty(t,r,n)}get name(){return this._name}get type(){return this._type}get isOptional(){return!!this._options?.isOptional}get accessModifier(){return this._options?.accessModifier}get isReadOnly(){return!!this._options?.isReadOnly}get isAbstract(){return!!this._options?.isAbstract}get isStatic(){return!!this._options?.isStatic}with(t){const r=t?.name??this._name;const n=t?.type??this._type;const s={...this._options,...t};const i=typescript_property_TypeScriptProperty.create(r,n,s);for(const t of this.comments()){i.addComment(t)}return i}formatContent(t){const r=getIndentation(t);const n=getQuotes(t);const s=escapeMemberName(this._name,n);const i=this._type.format(t).trimStart();const o=this.accessModifier?`${this.accessModifier} `:"";const a=this.isAbstract?"static ":"";const l=this.isAbstract?"abstract ":"";const c=this.isReadOnly?"readonly ":"";const u=this.isOptional?"?":"";const d=`${r}${o}${a}${l}${c}${s}${u}: ${i};`;return d}}class typescript_type_literal_TypeScriptTypeLiteral{static STRING=new typescript_type_literal_TypeScriptTypeLiteral("string");static NUMBER=new typescript_type_literal_TypeScriptTypeLiteral("number");static BIGINT=new typescript_type_literal_TypeScriptTypeLiteral("bigint");static BOOLEAN=new typescript_type_literal_TypeScriptTypeLiteral("boolean");static SYMBOL=new typescript_type_literal_TypeScriptTypeLiteral("symbol");static UNDEFINED=new typescript_type_literal_TypeScriptTypeLiteral("undefined");static OBJECT=new typescript_type_literal_TypeScriptTypeLiteral("object");static FUNCTION=new typescript_type_literal_TypeScriptTypeLiteral("function");static NEVER=new typescript_type_literal_TypeScriptTypeLiteral("never");static TYPE_CACHE=new Map([typescript_type_literal_TypeScriptTypeLiteral.STRING,typescript_type_literal_TypeScriptTypeLiteral.NUMBER,typescript_type_literal_TypeScriptTypeLiteral.BIGINT,typescript_type_literal_TypeScriptTypeLiteral.BOOLEAN,typescript_type_literal_TypeScriptTypeLiteral.SYMBOL,typescript_type_literal_TypeScriptTypeLiteral.UNDEFINED,typescript_type_literal_TypeScriptTypeLiteral.OBJECT,typescript_type_literal_TypeScriptTypeLiteral.FUNCTION,typescript_type_literal_TypeScriptTypeLiteral.NEVER].map((t=>[t.value,t])));_value;constructor(t){this._value=t}static create(t){const r=typescript_type_literal_TypeScriptTypeLiteral.TYPE_CACHE.get(t);if(r){return r}return new typescript_type_literal_TypeScriptTypeLiteral(t)}get isComposite(){return false}get isUnion(){return false}get isIntersection(){return false}get isAlias(){return false}composingTypes(){return[this]}get value(){return this._value}format(){return this._value}}class typescript_union_type_TypeScriptUnionType{_composingTypes;constructor(t){this._composingTypes=t}static create(t){const r=[...t];if(!r.length){r.push(TypeScriptTypeLiteral.NEVER)}return new typescript_union_type_TypeScriptUnionType(r)}get isComposite(){return true}get isUnion(){return true}get isIntersection(){return false}get isAlias(){return false}composingTypes(){return this._composingTypes}format(t){const r=this._composingTypes.map((r=>`(${r.format(t).trim()})`)).join(" | ");return r}}class typescript_object_TypeScriptObject{_members;constructor(){this._members=new Map}static create(){return new typescript_object_TypeScriptObject}get isComposite(){return false}get isUnion(){return false}get isIntersection(){return false}get isAlias(){return false}composingTypes(){return[this]}members(){return this._members.values()}properties(){return $i(this).filter((t=>t instanceof TypeScriptProperty))}getMember(t){return this._members.get(t)}getNestedMember(t){const r=typeof t==="string"?t.split("."):t;if(!r||!r.length){return undefined}const n=this.getMember(r[0]);if(r.length===1){return n}if(!(n instanceof TypeScriptProperty)||!(n.type instanceof typescript_object_TypeScriptObject)){return undefined}return n.type.getNestedMember(r.slice(1))}hasMember(t){return this.getMember(t)!==undefined}hasNestedMember(t){return this.getNestedMember(t)!==undefined}addMember(t){this._members.set(t.name,t);return t}deleteMember(t){return this._members.delete(t.name)}getProperty(t){const r=this.getMember(t);return r instanceof TypeScriptProperty?r:undefined}getNestedProperty(t){const r=this.getNestedMember(t);return r instanceof TypeScriptProperty?r:undefined}hasProperty(t){return this.getProperty(t)!==undefined}hasNestedProperty(t){return this.getNestedProperty(t)!==undefined}addProperty(t,r,n){return this.addMember(TypeScriptProperty.create(t,r,n))}addNestedProperty(t,r,n){const s=typeof t==="string"?t.split("."):t;const i=s[0];if(s.length===1){return this.addProperty(i,r,n)}if(!this.hasProperty(i)){const t=typescript_object_TypeScriptObject.create();const o=t.addNestedProperty(s.slice(1),r,n);this.addProperty(i,t,n);return o}let o=this.getProperty(i);let a=$i(decomposeType(o.type)).first((t=>t instanceof typescript_object_TypeScriptObject));if(!a){a=typescript_object_TypeScriptObject.create();o=o.with({type:TypeScriptUnionType.create([o.type,a])});this.addMember(o)}return a.addNestedProperty(s.slice(1),r,n)}format(t){const r=getIndentation(t);const n=getNewline(t);const s=n+n;const i=incrementIndent(t);const o=$i(this).map((t=>t.format(i))).join(s);const a=`${r}{`+`${n}${o}${n}`+`${r}}`;return a}[Symbol.iterator](){return this.members()[Symbol.iterator]()}}class typescript_interface_TypeScriptInterface extends(null&&AbstractTypeScriptNode){_name;_definition;constructor(t,r){super();this._name=t;this._definition=r}static create(t,r){return new typescript_interface_TypeScriptInterface(t,r||TypeScriptObject.create())}get name(){return this._name}get definition(){return this._definition}formatContent(t){const r=getIndentation(t);const n=this._name;const s=this._definition.format(t).trimStart();const i=`${r}interface ${n} ${s}`;return i}}class typescript_type_alias_TypeScriptTypeAlias extends(null&&AbstractTypeScriptNode){_name;_type;constructor(t,r){super();this._name=t;this._type=r}static create(t,r){return new typescript_type_alias_TypeScriptTypeAlias(t,r)}get name(){return this._name}get type(){return this._type}get isComposite(){return true}get isUnion(){return false}get isIntersection(){return false}get isAlias(){return true}composingTypes(){return[this._type]}formatContent(t){const r=getIndentation(t);const n=this._name;const s=this._type.format(t).trimStart();const i=`${r}type ${n} = ${s};`;return i}}class TypeScriptIntersectionType{_composingTypes;constructor(t){this._composingTypes=t}static create(t){const r=[...t];if(!r.length){r.push(TypeScriptTypeLiteral.NEVER)}return new TypeScriptIntersectionType(r)}get isComposite(){return true}get isUnion(){return false}get isIntersection(){return true}get isAlias(){return false}composingTypes(){return this._composingTypes}format(t){const r=this._composingTypes.map((r=>`(${r.format(t).trim()})`)).join(" & ");return r}}const hn="const";const mn="let";const gn="var";class typescript_variable_TypeScriptVariable extends(null&&AbstractTypeScriptNode){_name;_value;_declaration;constructor(t,r,n){super();this._name=t;this._value=r;this._declaration=n||hn}static create(t,r,n){return new typescript_variable_TypeScriptVariable(t,r,n)}get declaration(){return this._declaration}get name(){return this._name}get value(){return this._value}formatComments(t){const r=getNewline(t);const n=this._value;const s=super.formatComments(t);const i=isCommentableTypeScriptNode(n)?n.formatComments(t):"";if(!s){return i}if(!i){return s}return`${s}${r}${i}`}formatContent(t){const r=getIndentation(t);const n=this._value;const s=(isCommentableTypeScriptNode(n)?n.formatContent(t):n.format(t)).trimStart();const i=`${r}${this._declaration} ${this._name} = ${s}${s.endsWith(";")?"":";"}`;return i}}var yn=s(4083);function getActionOutputDescriptor(t,r,n){return getActionParameterDescriptor(t,r,asActionOutputDescriptor,t.outputs,n)}function action_output_descriptor_getActionOutputDescriptors(t,r){return getActionParameterDescriptors(t,asActionOutputDescriptor,t.outputs,r)}function asActionOutputDescriptor(t,r,n){const s=t.value===undefined;const i=t.type||(s?"string":typeof t.value);return{name:r,path:n,redirect:t.redirect,type:parseActionParameterTypeDescriptor(i),description:t.description??"",value:t.value}}const bn="./";const _n="ACTION_NAME";const Sn="ActionInputs";const En="ActionOutputs";const vn="ACTION_MODULE_LOADER";const Rn=typescript_comment_TypeScriptComment.parse("/* eslint-disable */");function parseActionMetadataFromString(t){return(0,yn.Qc)(t)}async function parseActionMetadataFromFile(t,r){const n=(await(0,Fe.readFile)(t,r)).toString();return parseActionMetadataFromString(n)}function processActionMetadataTemplate(t,r){const n=r?.groupDelimiter??DEFAULT_ACTION_GROUP_DELIMITER;const s=r?.removeTemplateOnlyFields??true;const i={...t};i.inputs=sanitizeActionInputs(i.inputs);if(i.groups){i.inputs=groupActionParameters(i.inputs,i.groups.input,n,{default:SYNTHETIC_UNDEFINED});i.outputs=groupActionParameters(i.outputs,i.groups.output,n)}if(!s){return i}if(i.groups){i.groups.input=removeTemplateOnlyActionFields(i.groups.input);i.groups.output=removeTemplateOnlyActionFields(i.groups.output)}i.inputs=removeTemplateOnlyActionFields(i.inputs);i.outputs=removeTemplateOnlyActionFields(i.outputs);return i}function processActionMetadataTemplateString(t,r){const n=r?.newline??DEFAULT_NEWLINE;const s=r?.generateAutoGeneratedWarningMessage??true;const i=parseActionMetadataFromString(t);const o=processActionMetadataTemplate(i,r);const a=stringifyYaml(o,r);const l=n===UNIX_NEWLINE?a:a.replaceAll(UNIX_NEWLINE,n);const c=s?generateAutoGeneratedWarningFrame(r):undefined;const u=[c,l].filter((t=>t)).join(n);return u}async function processActionMetadataTemplateFile(t,r,n){n={sourceFileName:basename(t.toString()),...n};const s=(await readFile(t,n)).toString();const i=processActionMetadataTemplateString(s,n);await writeFile(r,i,n)}function groupActionParameters(t,r,n,s){if(!r||!t){return t}const i={...t};const o=Object.entries(r);const a=$i(Object.entries(t)).flatMap((([t,r])=>$i(o).map((([n,s])=>[n,s,t,r]))));for(const[t,r,l,c]of a){const a=r.include?.includes(l);const u=r.exclude?.includes(l);const d=o.some((([t])=>l.startsWith(t)));const p=(a||!c.unique&&!d)&&!u;if(!p){continue}const h=`${t}${n}${l}`;const m=c.redirect&&`${t}${n}${c.redirect}`;i[h]={...c,redirect:m,...s}}return i}function sanitizeActionInputs(t){if(!t){return t}const r={};for(const[n,s]of Object.entries(t)){const t={...s};if(typeof t.required!=="boolean"){t.required=false}if(t.default===undefined){t.default=SYNTHETIC_UNDEFINED}r[n]=t}return r}function removeTemplateOnlyActionFields(t){if(!t){return t}const r={};for(const[n,s]of Object.entries(t)){const t={...s};delete t.include;delete t.exclude;delete t.unique;r[n]=t}return r}function createTypeScriptDefinitionForActionMetadata(t,r){const n=TypeScriptDocument.create();const s=getActionInputDescriptors(t,r);const i=s.length?Object.entries(t.groups?.input||{}):[];const o=getActionOutputDescriptors(t,r);const a=o.length?Object.entries(t.groups?.output||{}):[];const l=r?.rootPath??bn;const c=[...s,...o].map((t=>createTypeScriptImportForActionParameter(t,l))).filter((t=>t));c.forEach((t=>n.addImport(t)));const u=createTypeScriptCommentsForActionMetadata(r);u.forEach((t=>n.addComment(t)));const d=createTypeScriptConstantForActionName(t,r);n.addExport(d);const p=s.length?createTypeScriptInterfaceForActionInputs(t,s,r):undefined;const h=i.map((([t,n])=>createTypeScriptAliasForActionGroup(n,t,p.name,r)));[p,...h].filter((t=>t)).forEach((t=>n.addExport(t)));const m=o.length?createTypeScriptInterfaceForActionOutputs(t,o,r):undefined;const g=a.map((([t,n])=>createTypeScriptAliasForActionGroup(n,t,m.name,r)));[m,...g].filter((t=>t)).forEach((t=>n.addExport(t)));return n}function createTypeScriptConstantForActionName(t,r){const n=getQuotes(r);const s=r.actionNameConstant||_n;const i=TypeScriptVariable.create(s,TypeScriptTypeLiteral.create(`${n}${t.name}${n}`));if(t.description){i.addTSDoc(t.description)}return i}function createTypeScriptCommentsForActionMetadata(t){const r=t?.disableESLint??true;const n=t?.generateAutoGeneratedWarningMessage??true;const s=[];if(n){const r=generateAutoGeneratedWarningFrame({style:JS_MULTILINE_FRAME_STYLE,...t});const n=TypeScriptComment.parse(r);s.push(n)}if(r){s.push(Rn)}return s}function createTypeScriptInterfaceForActionInputs(t,r,n){const s=t.types?.input;const i=(typeof s==="string"?s:s?.name)||Sn;const o=typeof s==="string"?undefined:s?.description;return createTypeScriptInterfaceForActionParameters(i,o,r,t.groups?.input,n,(t=>!t.required))}function createTypeScriptInterfaceForActionOutputs(t,r,n){const s=t.types?.output;const i=(typeof s==="string"?s:s?.name)||En;const o=typeof s==="string"?undefined:s?.description;return createTypeScriptInterfaceForActionParameters(i,o,r,t.groups?.output,n)}function createTypeScriptInterfaceForActionParameters(t,r,n,s,i,o){o||=()=>false;const a=TypeScriptInterface.create(t);const l=a.definition;if(r){a.addTSDoc(r)}for(const t of n){if(t.redirect){continue}const r=t.path;const n=TypeScriptTypeLiteral.create(`${t.type.name}${t.type.isArray?"[]":""}`);const s=o(t);const i=l.addNestedProperty(r,n,{isOptional:s});if(t.description){i.addTSDoc(t.description)}}for(const[t,r]of Object.entries(s||{})){if(!r.description){continue}const n=i?.pathParser?.(t)||[t];const s=a.definition.getNestedProperty(n);s?.addTSDoc(r.description)}return a}function createTypeScriptImportForActionParameter(t,r){if(!t.type.module||t.redirect){return undefined}const n=`${r||""}${t.type.module}`;const s=TypeScriptImport.createEmptyImport(n);if(t.type.isDefault){s.defaultImportName=t.type.name}else{s.addNamedImport(t.type.name)}return s}function createTypeScriptAliasForActionGroup(t,r,n,s){const i=s?.pathParser?.(r)||[r];const o=i.map((t=>`["${t}"]`)).join("");const a=TypeScriptTypeAlias.create(t.type,TypeScriptTypeLiteral.create(`${n}${o}`));if(t.description){a.addTSDoc(t.description)}return a}function createModuleLoaderTypeScriptDefinitionForActionMetadata(t,r){const n=TypeScriptDocument.create();const s=getActionInputDescriptors(t,r);const i=getActionOutputDescriptors(t,r);const o=$i(s).concat(i).flatMap((t=>[t.type.module,t.type.factory?.module])).filter((t=>t)).distinct().map((t=>[t,`_${hashString(t,"sha1")}`])).toMap();const a=getQuotes(r);const l="return Promise.resolve(undefined);";const c=$i(o).map((([t,r])=>`if (path === ${a}${t}${a}) return Promise.resolve(${r});`)).push(l);const u=getNewline(r);const d=getIndentation(incrementIndent(r));const p=c.map((t=>`${d}${t}`)).join(u);const h=TypeScriptTypeLiteral.create(`(path: string): Promise> => {${u}${p}${u}};`);const m=r?.moduleLoaderName||vn;const g=TypeScriptVariable.create(m,h);n.addExport(g);const y=r?.rootPath??bn;const b=$i(o).map((([t,r])=>TypeScriptImport.createWildcardImport(`${y}${t}`,r)));b.forEach((t=>n.addImport(t)));const _=createTypeScriptCommentsForActionMetadata(r);_.forEach((t=>n.addComment(t)));return n}function stripActionMetadataFromCustomFields(t){const r={...t};delete r.groups;delete r.types;r.inputs=r.inputs?{...r.inputs}:undefined;for(const[t,n]of Object.entries(r.inputs||{})){const s={...n};delete s.type;delete s.unique;delete s.redirect;r.inputs[t]=s}r.outputs=r.outputs?{...r.outputs}:undefined;for(const[t,n]of Object.entries(r.outputs||{})){const s={...n};delete s.type;delete s.unique;delete s.redirect;r.outputs[t]=s}return r}function stripActionMetadataStringFromCustomFields(t,r){const n=r?.newline??DEFAULT_NEWLINE;const s=r?.generateAutoGeneratedWarningMessage??true;const i=parseActionMetadataFromString(t);const o=stripActionMetadataFromCustomFields(i);const a=stringifyYaml(o,r);const l=n===UNIX_NEWLINE?a:a.replaceAll(UNIX_NEWLINE,n);const c=s?generateAutoGeneratedWarningFrame(r):undefined;const u=[c,l].filter((t=>t)).join(n);return u}async function stripActionMetadataFileFromCustomFields(t,r,n){n={sourceFileName:basename(t.toString()),...n};const s=(await readFile(t,n)).toString();const i=stripActionMetadataStringFromCustomFields(s,n);await writeFile(r,i,n)}const wn="GITHUB_OUTPUT";const Cn=new WeakMap;function setActionOutput(t,r,n){n||=Ee;const s=environment_getEnvironmentVariable(wn,n);FileNotFoundError.throwIfNotFound(s);const i=formatNameAndValue(t,r);(0,ae.appendFileSync)(s,`${i}${we}`,"utf8");if(!Cn.has(n)){Cn.set(n,new Map)}Cn.get(n).set(t,r)}function formatNameAndValue(t,r){const n=formatValue(r);const s=generateDelimiter();return`${t}<<${s}${we}${n}${we}${s}`}function formatValue(t){if(typeof t==="string"){return t}if(t===null||t===undefined){return""}return JSON.stringify(t)}function generateDelimiter(){const t=32;return`mcp${t}_${generateSecureRandomString(t)}`}function setActionOutputs(t,r){for(const[n,s]of t){setActionOutput(n,s,r)}}function getActionOutput(t,r){r||=Ee;const n=Cn.get(r);return n?.get(t)}function getActionOutputs(t,r){return $i(t).map((t=>getActionOutput(t,r))).toArray()}function getAllActionOutputs(t){t||=ENVIRONMENT;return new Map(Cn.get(t)||[])}function createActionOutputController(t,r){return new ActionOutputController(t,r).navigate([])}function createActionOutputControllerUsingMetadata(t,r){const n=action_output_descriptor_getActionOutputDescriptors(t,r);return createActionOutputController(n,r)}class ActionOutputController{_descriptors;_getOutput;_setOutput;constructor(t,r){this._descriptors=[...t];this._getOutput=r?.getOutput||getActionOutput;this._setOutput=r?.setOutput||setActionOutput}navigate(t){return new Proxy({path:t},this)}get(t,r){const n=[...t.path,String(r)];const s=this.findNearestDescriptor(n);if(!s){return undefined}if(s.path.length===n.length){return this._getOutput(s.name)}return this.navigate(n)}set(t,r,n){const s=[...t.path,String(r)];const i=this.findNearestDescriptor(s);if(!i){return false}if(i.path.length===s.length){this._setOutput(i.name,n);return true}if(!n||typeof n!=="object"){return false}const o=this.navigate(s);for(const[t,r]of Object.entries(n)){o[t]=r}return true}has(t,r){const n=[...t.path,String(r)];const s=this.findNearestDescriptor(n);return!!s}ownKeys(t){const r=t.path;const n=iterable_$i(this._descriptors).filter((t=>t.path.length>r.length&&iterable_$i(t.path).startsWith(r)));const s=n.map((t=>t.path[r.length])).distinct().toArray();return s}getOwnPropertyDescriptor(t,r){if(!this.has(t,r)){return undefined}const n=this.get(t,r);return{value:n,configurable:true,enumerable:true,writable:true}}defineProperty(){return false}deleteProperty(){return false}getPrototypeOf(){return Object.prototype}setPrototypeOf(){return false}isExtensible(){return false}preventExtensions(){return true}findNearestDescriptor(t){const r=this._descriptors.find((r=>r.path.length===t.length&&iterable_$i(r.path).startsWith(t)))||this._descriptors.find((r=>r.path.length>t.length&&iterable_$i(r.path).startsWith(t)));const n=r?.redirect?this._descriptors.find((t=>t.name===r.redirect)):r;return n}}async function main(){const t=Ee;const r=getDefaultLogger(t);try{const n=await initializeAction(new URL(s(3351),s.b),t);const i=new GitHubContext(t);await publish(n,i,r)}catch(t){r.fatal(t);throw t}}async function publish(t,r,n){const s=createDefaultLoaderMetadataReader();const i=new ErrorBuilder(n);const o=[];for(const a of We.values()){const l={...t.input,...t.input[a]};if(!l?.token){continue}const c=await fillInDefaultValues(l,a,r,s);const u=createPlatformUploader(a,{logger:n,githubContext:r});try{t.output[a]=await u.upload(c);o.push(a)}catch(t){i.append(t,c.failMode??Oe.FAIL)}}if(o.length){n.info(`🎉 Successfully published the assets to ${o.map((t=>We.friendlyNameOf(t))).join(", ")}`)}else if(!i.hasErrors){n.warn("⚠️ No valid platform tokens found in your config. To publish your project, please add the required access tokens for the desired platforms. Assets will not be published without them. Refer to the documentation for assistance in setting up your tokens.")}i.throwIfHasErrors()}async function fillInDefaultValues(t,r,n,s){argument_error_ArgumentError.throwIfNullOrEmpty(t.files,"options.files","No files found for the specified glob. Please ensure the glob is correct and files matching the pattern exist in the specified directory.");t={...t};const i=t.files[0];const o=await(s?.readMetadataFile(i.path).catch((()=>undefined)));const a=getGameVersionProviderByName(o?.gameName||zt);const l=t.gameVersions?.length?t.gameVersions:o?.gameVersions||[];const c=await(a?.(l));const u=c?G.filter(c,t.gameVersionFilter).map((t=>t.id)):l;t.id||=o?.getProjectId(r)||"";t.version||=n.version||o?.version;t.versionType||=te.parseFromFileName(o?.version||i.name);t.name??=n.payload.release?.name||t.version;t.changelog??=n.payload.release?.body||"";t.loaders??=o?.loaders||[];t.dependencies??=o?.dependencies||[];t.gameVersions=u;return t}async function initializeAction(t,r){ArgumentNullError.throwIfNull(t,"path");FileNotFoundError.throwIfNotFound(t);const n={pathParser:SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER,moduleLoader:Ze,getOutput:t=>getActionOutput(t,r),setOutput:(t,n)=>setActionOutput(t,n,r)};const s=await parseActionMetadataFromFile(t);const i=await getAllActionInputsAsObjectUsingMetadata(s,n,r);const o=createActionOutputControllerUsingMetadata(s,n);return{input:i,output:o}}},3351:(t,r,n)=>{t.exports=n.p+"578e00c8827f197b9c7d.yml"},4300:r=>{r.exports=t(import.meta.url)("buffer")},2361:r=>{r.exports=t(import.meta.url)("events")},7147:r=>{r.exports=t(import.meta.url)("fs")},7561:r=>{r.exports=t(import.meta.url)("node:fs")},9411:r=>{r.exports=t(import.meta.url)("node:path")},7742:r=>{r.exports=t(import.meta.url)("node:process")},2477:r=>{r.exports=t(import.meta.url)("node:stream/web")},2037:r=>{r.exports=t(import.meta.url)("os")},1017:r=>{r.exports=t(import.meta.url)("path")},2781:r=>{r.exports=t(import.meta.url)("stream")},3837:r=>{r.exports=t(import.meta.url)("util")},1267:r=>{r.exports=t(import.meta.url)("worker_threads")},9796:r=>{r.exports=t(import.meta.url)("zlib")},8109:(t,r,n)=>{var s=n(5589);var i=n(9338);var o=n(6011);var a=n(5161);var l=n(2986);var c=n(2289);var u=n(45);function resolveCollection(t,r,n,s,i,o){const a=n.type==="block-map"?l.resolveBlockMap(t,r,n,s,o):n.type==="block-seq"?c.resolveBlockSeq(t,r,n,s,o):u.resolveFlowCollection(t,r,n,s,o);const d=a.constructor;if(i==="!"||i===d.tagName){a.tag=d.tagName;return a}if(i)a.tag=i;return a}function composeCollection(t,r,n,l,c){const u=!l?null:r.directives.tagName(l.source,(t=>c(l,"TAG_RESOLVE_FAILED",t)));const d=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!l||!u||u==="!"||u===o.YAMLMap.tagName&&d==="map"||u===a.YAMLSeq.tagName&&d==="seq"||!d){return resolveCollection(t,r,n,c,u)}let p=r.schema.tags.find((t=>t.tag===u&&t.collection===d));if(!p){const s=r.schema.knownTags[u];if(s&&s.collection===d){r.schema.tags.push(Object.assign({},s,{default:false}));p=s}else{if(s?.collection){c(l,"BAD_COLLECTION_TYPE",`${s.tag} used for ${d} collection, but expects ${s.collection}`,true)}else{c(l,"TAG_RESOLVE_FAILED",`Unresolved tag: ${u}`,true)}return resolveCollection(t,r,n,c,u)}}const h=resolveCollection(t,r,n,c,u,p);const m=p.resolve?.(h,(t=>c(l,"TAG_RESOLVE_FAILED",t)),r.options)??h;const g=s.isNode(m)?m:new i.Scalar(m);g.range=h.range;g.tag=u;if(p?.format)g.format=p.format;return g}r.composeCollection=composeCollection},5050:(t,r,n)=>{var s=n(42);var i=n(8676);var o=n(1250);var a=n(6985);function composeDoc(t,r,{offset:n,start:l,value:c,end:u},d){const p=Object.assign({_directives:r},t);const h=new s.Document(undefined,p);const m={atRoot:true,directives:h.directives,options:h.options,schema:h.schema};const g=a.resolveProps(l,{indicator:"doc-start",next:c??u?.[0],offset:n,onError:d,startOnNewline:true});if(g.found){h.directives.docStart=true;if(c&&(c.type==="block-map"||c.type==="block-seq")&&!g.hasNewline)d(g.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")}h.contents=c?i.composeNode(m,c,g,d):i.composeEmptyNode(m,g.end,l,null,g,d);const y=h.contents.range[2];const b=o.resolveEnd(u,y,false,d);if(b.comment)h.comment=b.comment;h.range=[n,y,b.offset];return h}r.composeDoc=composeDoc},8676:(t,r,n)=>{var s=n(5639);var i=n(8109);var o=n(4766);var a=n(1250);var l=n(8781);const c={composeNode:composeNode,composeEmptyNode:composeEmptyNode};function composeNode(t,r,n,s){const{spaceBefore:a,comment:l,anchor:u,tag:d}=n;let p;let h=true;switch(r.type){case"alias":p=composeAlias(t,r,s);if(u||d)s(r,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":p=o.composeScalar(t,r,d,s);if(u)p.anchor=u.source.substring(1);break;case"block-map":case"block-seq":case"flow-collection":p=i.composeCollection(c,t,r,d,s);if(u)p.anchor=u.source.substring(1);break;default:{const i=r.type==="error"?r.message:`Unsupported token (type: ${r.type})`;s(r,"UNEXPECTED_TOKEN",i);p=composeEmptyNode(t,r.offset,undefined,null,n,s);h=false}}if(u&&p.anchor==="")s(u,"BAD_ALIAS","Anchor cannot be an empty string");if(a)p.spaceBefore=true;if(l){if(r.type==="scalar"&&r.source==="")p.comment=l;else p.commentBefore=l}if(t.options.keepSourceTokens&&h)p.srcToken=r;return p}function composeEmptyNode(t,r,n,s,{spaceBefore:i,comment:a,anchor:c,tag:u,end:d},p){const h={type:"scalar",offset:l.emptyScalarPosition(r,n,s),indent:-1,source:""};const m=o.composeScalar(t,h,u,p);if(c){m.anchor=c.source.substring(1);if(m.anchor==="")p(c,"BAD_ALIAS","Anchor cannot be an empty string")}if(i)m.spaceBefore=true;if(a){m.comment=a;m.range[2]=d}return m}function composeAlias({options:t},{offset:r,source:n,end:i},o){const l=new s.Alias(n.substring(1));if(l.source==="")o(r,"BAD_ALIAS","Alias cannot be an empty string");if(l.source.endsWith(":"))o(r+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",true);const c=r+n.length;const u=a.resolveEnd(i,c,t.strict,o);l.range=[r,c,u.offset];if(u.comment)l.comment=u.comment;return l}r.composeEmptyNode=composeEmptyNode;r.composeNode=composeNode},4766:(t,r,n)=>{var s=n(5589);var i=n(9338);var o=n(9485);var a=n(7578);function composeScalar(t,r,n,l){const{value:c,type:u,comment:d,range:p}=r.type==="block-scalar"?o.resolveBlockScalar(r,t.options.strict,l):a.resolveFlowScalar(r,t.options.strict,l);const h=n?t.directives.tagName(n.source,(t=>l(n,"TAG_RESOLVE_FAILED",t))):null;const m=n&&h?findScalarTagByName(t.schema,c,h,n,l):r.type==="scalar"?findScalarTagByTest(t,c,r,l):t.schema[s.SCALAR];let g;try{const o=m.resolve(c,(t=>l(n??r,"TAG_RESOLVE_FAILED",t)),t.options);g=s.isScalar(o)?o:new i.Scalar(o)}catch(t){const s=t instanceof Error?t.message:String(t);l(n??r,"TAG_RESOLVE_FAILED",s);g=new i.Scalar(c)}g.range=p;g.source=c;if(u)g.type=u;if(h)g.tag=h;if(m.format)g.format=m.format;if(d)g.comment=d;return g}function findScalarTagByName(t,r,n,i,o){if(n==="!")return t[s.SCALAR];const a=[];for(const r of t.tags){if(!r.collection&&r.tag===n){if(r.default&&r.test)a.push(r);else return r}}for(const t of a)if(t.test?.test(r))return t;const l=t.knownTags[n];if(l&&!l.collection){t.tags.push(Object.assign({},l,{default:false,test:undefined}));return l}o(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str");return t[s.SCALAR]}function findScalarTagByTest({directives:t,schema:r},n,i,o){const a=r.tags.find((t=>t.default&&t.test?.test(n)))||r[s.SCALAR];if(r.compat){const l=r.compat.find((t=>t.default&&t.test?.test(n)))??r[s.SCALAR];if(a.tag!==l.tag){const r=t.tagString(a.tag);const n=t.tagString(l.tag);const s=`Value may be parsed as either ${r} or ${n}`;o(i,"TAG_RESOLVE_FAILED",s,true)}}return a}r.composeScalar=composeScalar},9493:(t,r,n)=>{var s=n(5400);var i=n(42);var o=n(4236);var a=n(5589);var l=n(5050);var c=n(1250);function getErrorPos(t){if(typeof t==="number")return[t,t+1];if(Array.isArray(t))return t.length===2?t:[t[0],t[1]];const{offset:r,source:n}=t;return[r,r+(typeof n==="string"?n.length:1)]}function parsePrelude(t){let r="";let n=false;let s=false;for(let i=0;i{const i=getErrorPos(t);if(s)this.warnings.push(new o.YAMLWarning(i,r,n));else this.errors.push(new o.YAMLParseError(i,r,n))};this.directives=new s.Directives({version:t.version||"1.2"});this.options=t}decorate(t,r){const{comment:n,afterEmptyLine:s}=parsePrelude(this.prelude);if(n){const i=t.contents;if(r){t.comment=t.comment?`${t.comment}\n${n}`:n}else if(s||t.directives.docStart||!i){t.commentBefore=n}else if(a.isCollection(i)&&!i.flow&&i.items.length>0){let t=i.items[0];if(a.isPair(t))t=t.key;const r=t.commentBefore;t.commentBefore=r?`${n}\n${r}`:n}else{const t=i.commentBefore;i.commentBefore=t?`${n}\n${t}`:n}}if(r){Array.prototype.push.apply(t.errors,this.errors);Array.prototype.push.apply(t.warnings,this.warnings)}else{t.errors=this.errors;t.warnings=this.warnings}this.prelude=[];this.errors=[];this.warnings=[]}streamInfo(){return{comment:parsePrelude(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,r=false,n=-1){for(const r of t)yield*this.next(r);yield*this.end(r,n)}*next(t){if(process.env.LOG_STREAM)console.dir(t,{depth:null});switch(t.type){case"directive":this.directives.add(t.source,((r,n,s)=>{const i=getErrorPos(t);i[0]+=r;this.onError(i,"BAD_DIRECTIVE",n,s)}));this.prelude.push(t.source);this.atDirectives=true;break;case"document":{const r=l.composeDoc(this.options,this.directives,t,this.onError);if(this.atDirectives&&!r.directives.docStart)this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line");this.decorate(r,false);if(this.doc)yield this.doc;this.doc=r;this.atDirectives=false;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const r=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message;const n=new o.YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",r);if(this.atDirectives||!this.doc)this.errors.push(n);else this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new o.YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=true;const r=c.resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);this.decorate(this.doc,true);if(r.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new o.YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=false,r=-1){if(this.doc){this.decorate(this.doc,true);yield this.doc;this.doc=null}else if(t){const t=Object.assign({_directives:this.directives},this.options);const n=new i.Document(undefined,t);if(this.atDirectives)this.onError(r,"MISSING_CHAR","Missing directives-end indicator line");n.range=[0,r,r];this.decorate(n,false);yield n}}}r.Composer=Composer},2986:(t,r,n)=>{var s=n(246);var i=n(6011);var o=n(6985);var a=n(976);var l=n(3669);var c=n(6899);const u="All mapping items must start at the same column";function resolveBlockMap({composeNode:t,composeEmptyNode:r},n,d,p,h){const m=h?.nodeClass??i.YAMLMap;const g=new m(n.schema);if(n.atRoot)n.atRoot=false;let y=d.offset;let b=null;for(const i of d.items){const{start:h,key:m,sep:_,value:S}=i;const E=o.resolveProps(h,{indicator:"explicit-key-ind",next:m??_?.[0],offset:y,onError:p,startOnNewline:true});const v=!E.found;if(v){if(m){if(m.type==="block-seq")p(y,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key");else if("indent"in m&&m.indent!==d.indent)p(y,"BAD_INDENT",u)}if(!E.anchor&&!E.tag&&!_){b=E.end;if(E.comment){if(g.comment)g.comment+="\n"+E.comment;else g.comment=E.comment}continue}if(E.hasNewlineAfterProp||a.containsNewline(m)){p(m??h[h.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}}else if(E.found?.indent!==d.indent){p(y,"BAD_INDENT",u)}const R=E.end;const w=m?t(n,m,E,p):r(n,R,h,null,E,p);if(n.schema.compat)l.flowIndentCheck(d.indent,m,p);if(c.mapIncludes(n,g.items,w))p(R,"DUPLICATE_KEY","Map keys must be unique");const C=o.resolveProps(_??[],{indicator:"map-value-ind",next:S,offset:w.range[2],onError:p,startOnNewline:!m||m.type==="block-scalar"});y=C.end;if(C.found){if(v){if(S?.type==="block-map"&&!C.hasNewline)p(y,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings");if(n.options.strict&&E.start{var s=n(9338);function resolveBlockScalar(t,r,n){const i=t.offset;const o=parseBlockScalarHeader(t,r,n);if(!o)return{value:"",type:null,comment:"",range:[i,i,i]};const a=o.mode===">"?s.Scalar.BLOCK_FOLDED:s.Scalar.BLOCK_LITERAL;const l=t.source?splitLines(t.source):[];let c=l.length;for(let t=l.length-1;t>=0;--t){const r=l[t][1];if(r===""||r==="\r")c=t;else break}if(c===0){const r=o.chomp==="+"&&l.length>0?"\n".repeat(Math.max(1,l.length-1)):"";let n=i+o.length;if(t.source)n+=t.source.length;return{value:r,type:a,comment:o.comment,range:[i,n,n]}}let u=t.indent+o.indent;let d=t.offset+o.length;let p=0;for(let t=0;tu)u=r.length}else{if(r.length=c;--t){if(l[t][0].length>u)c=t+1}let h="";let m="";let g=false;for(let t=0;tu||i[0]==="\t"){if(m===" ")m="\n";else if(!g&&m==="\n")m="\n\n";h+=m+r.slice(u)+i;m="\n";g=true}else if(i===""){if(m==="\n")h+="\n";else m="\n"}else{h+=m+i;m=" ";g=false}}switch(o.chomp){case"-":break;case"+":for(let t=c;t{var s=n(5161);var i=n(6985);var o=n(3669);function resolveBlockSeq({composeNode:t,composeEmptyNode:r},n,a,l,c){const u=c?.nodeClass??s.YAMLSeq;const d=new u(n.schema);if(n.atRoot)n.atRoot=false;let p=a.offset;let h=null;for(const{start:s,value:c}of a.items){const u=i.resolveProps(s,{indicator:"seq-item-ind",next:c,offset:p,onError:l,startOnNewline:true});if(!u.found){if(u.anchor||u.tag||c){if(c&&c.type==="block-seq")l(u.end,"BAD_INDENT","All sequence items must start at the same column");else l(p,"MISSING_CHAR","Sequence item without - indicator")}else{h=u.end;if(u.comment)d.comment=u.comment;continue}}const m=c?t(n,c,u,l):r(n,u.end,s,null,u,l);if(n.schema.compat)o.flowIndentCheck(a.indent,c,l);p=m.range[2];d.items.push(m)}d.range=[a.offset,p,h??p];return d}r.resolveBlockSeq=resolveBlockSeq},1250:(t,r)=>{function resolveEnd(t,r,n,s){let i="";if(t){let o=false;let a="";for(const l of t){const{source:t,type:c}=l;switch(c){case"space":o=true;break;case"comment":{if(n&&!o)s(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const r=t.substring(1)||" ";if(!i)i=r;else i+=a+r;a="";break}case"newline":if(i)a+=t;o=true;break;default:s(l,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}r+=t.length}}return{comment:i,offset:r}}r.resolveEnd=resolveEnd},45:(t,r,n)=>{var s=n(5589);var i=n(246);var o=n(6011);var a=n(5161);var l=n(1250);var c=n(6985);var u=n(976);var d=n(6899);const p="Block collections are not allowed within flow collections";const isBlock=t=>t&&(t.type==="block-map"||t.type==="block-seq");function resolveFlowCollection({composeNode:t,composeEmptyNode:r},n,h,m,g){const y=h.start.source==="{";const b=y?"flow map":"flow sequence";const _=g?.nodeClass??(y?o.YAMLMap:a.YAMLSeq);const S=new _(n.schema);S.flow=true;const E=n.atRoot;if(E)n.atRoot=false;let v=h.offset+h.start.source.length;for(let a=0;a0){const t=l.resolveEnd(C,A,n.options.strict,m);if(t.comment){if(S.comment)S.comment+="\n"+t.comment;else S.comment=t.comment}S.range=[h.offset,A,t.offset]}else{S.range=[h.offset,A,A]}return S}r.resolveFlowCollection=resolveFlowCollection},7578:(t,r,n)=>{var s=n(9338);var i=n(1250);function resolveFlowScalar(t,r,n){const{offset:o,type:a,source:l,end:c}=t;let u;let d;const _onError=(t,r,s)=>n(o+t,r,s);switch(a){case"scalar":u=s.Scalar.PLAIN;d=plainValue(l,_onError);break;case"single-quoted-scalar":u=s.Scalar.QUOTE_SINGLE;d=singleQuotedValue(l,_onError);break;case"double-quoted-scalar":u=s.Scalar.QUOTE_DOUBLE;d=doubleQuotedValue(l,_onError);break;default:n(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`);return{value:"",type:null,comment:"",range:[o,o+l.length,o+l.length]}}const p=o+l.length;const h=i.resolveEnd(c,p,r,n);return{value:d,type:u,comment:h.comment,range:[o,p,h.offset]}}function plainValue(t,r){let n="";switch(t[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${t[0]}`;break}case"@":case"`":{n=`reserved character ${t[0]}`;break}}if(n)r(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return foldLines(t)}function singleQuotedValue(t,r){if(t[t.length-1]!=="'"||t.length===1)r(t.length,"MISSING_CHAR","Missing closing 'quote");return foldLines(t.slice(1,-1)).replace(/''/g,"'")}function foldLines(t){let r,n;try{r=new RegExp("(.*?)(?r?t.slice(r,s+1):i}else{n+=i}}if(t[t.length-1]!=='"'||t.length===1)r(t.length,"MISSING_CHAR",'Missing closing "quote');return n}function foldNewline(t,r){let n="";let s=t[r+1];while(s===" "||s==="\t"||s==="\n"||s==="\r"){if(s==="\r"&&t[r+2]!=="\n")break;if(s==="\n")n+="\n";r+=1;s=t[r+1]}if(!n)n=" ";return{fold:n,offset:r}}const o={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function parseCharCode(t,r,n,s){const i=t.substr(r,n);const o=i.length===n&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){const i=t.substr(r-2,n+2);s(r-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`);return i}return String.fromCodePoint(a)}r.resolveFlowScalar=resolveFlowScalar},6985:(t,r)=>{function resolveProps(t,{flow:r,indicator:n,next:s,offset:i,onError:o,startOnNewline:a}){let l=false;let c=a;let u=a;let d="";let p="";let h=false;let m=false;let g=false;let y=null;let b=null;let _=null;let S=null;let E=null;for(const s of t){if(g){if(s.type!=="space"&&s.type!=="newline"&&s.type!=="comma")o(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");g=false}switch(s.type){case"space":if(!r&&c&&n!=="doc-start"&&s.source[0]==="\t")o(s,"TAB_AS_INDENT","Tabs are not allowed as indentation");u=true;break;case"comment":{if(!u)o(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=s.source.substring(1)||" ";if(!d)d=t;else d+=p+t;p="";c=false;break}case"newline":if(c){if(d)d+=s.source;else l=true}else p+=s.source;c=true;h=true;if(y||b)m=true;u=true;break;case"anchor":if(y)o(s,"MULTIPLE_ANCHORS","A node can have at most one anchor");if(s.source.endsWith(":"))o(s.offset+s.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",true);y=s;if(E===null)E=s.offset;c=false;u=false;g=true;break;case"tag":{if(b)o(s,"MULTIPLE_TAGS","A node can have at most one tag");b=s;if(E===null)E=s.offset;c=false;u=false;g=true;break}case n:if(y||b)o(s,"BAD_PROP_ORDER",`Anchors and tags must be after the ${s.source} indicator`);if(S)o(s,"UNEXPECTED_TOKEN",`Unexpected ${s.source} in ${r??"collection"}`);S=s;c=false;u=false;break;case"comma":if(r){if(_)o(s,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`);_=s;c=false;u=false;break}default:o(s,"UNEXPECTED_TOKEN",`Unexpected ${s.type} token`);c=false;u=false}}const v=t[t.length-1];const R=v?v.offset+v.source.length:i;if(g&&s&&s.type!=="space"&&s.type!=="newline"&&s.type!=="comma"&&(s.type!=="scalar"||s.source!==""))o(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");return{comma:_,found:S,spaceBefore:l,comment:d,hasNewline:h,hasNewlineAfterProp:m,anchor:y,tag:b,end:R,start:E??R}}r.resolveProps=resolveProps},976:(t,r)=>{function containsNewline(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return true;if(t.end)for(const r of t.end)if(r.type==="newline")return true;return false;case"flow-collection":for(const r of t.items){for(const t of r.start)if(t.type==="newline")return true;if(r.sep)for(const t of r.sep)if(t.type==="newline")return true;if(containsNewline(r.key)||containsNewline(r.value))return true}return false;default:return true}}r.containsNewline=containsNewline},8781:(t,r)=>{function emptyScalarPosition(t,r,n){if(r){if(n===null)n=r.length;for(let s=n-1;s>=0;--s){let n=r[s];switch(n.type){case"space":case"comment":case"newline":t-=n.source.length;continue}n=r[++s];while(n?.type==="space"){t+=n.source.length;n=r[++s]}break}}return t}r.emptyScalarPosition=emptyScalarPosition},3669:(t,r,n)=>{var s=n(976);function flowIndentCheck(t,r,n){if(r?.type==="flow-collection"){const i=r.end[0];if(i.indent===t&&(i.source==="]"||i.source==="}")&&s.containsNewline(r)){const t="Flow end indicator should be more indented than parent";n(i,"BAD_INDENT",t,true)}}}r.flowIndentCheck=flowIndentCheck},6899:(t,r,n)=>{var s=n(5589);function mapIncludes(t,r,n){const{uniqueKeys:i}=t.options;if(i===false)return false;const o=typeof i==="function"?i:(r,n)=>r===n||s.isScalar(r)&&s.isScalar(n)&&r.value===n.value&&!(r.value==="<<"&&t.schema.merge);return r.some((t=>o(t.key,n)))}r.mapIncludes=mapIncludes},42:(t,r,n)=>{var s=n(5639);var i=n(2240);var o=n(5589);var a=n(246);var l=n(2358);var c=n(6831);var u=n(5225);var d=n(8459);var p=n(3412);var h=n(9652);var m=n(5400);class Document{constructor(t,r,n){this.commentBefore=null;this.comment=null;this.errors=[];this.warnings=[];Object.defineProperty(this,o.NODE_TYPE,{value:o.DOC});let s=null;if(typeof r==="function"||Array.isArray(r)){s=r}else if(n===undefined&&r){n=r;r=undefined}const i=Object.assign({intAsBigInt:false,keepSourceTokens:false,logLevel:"warn",prettyErrors:true,strict:true,uniqueKeys:true,version:"1.2"},n);this.options=i;let{version:a}=i;if(n?._directives){this.directives=n._directives.atDocument();if(this.directives.yaml.explicit)a=this.directives.yaml.version}else this.directives=new m.Directives({version:a});this.setSchema(a,n);this.contents=t===undefined?null:this.createNode(t,s,n)}clone(){const t=Object.create(Document.prototype,{[o.NODE_TYPE]:{value:o.DOC}});t.commentBefore=this.commentBefore;t.comment=this.comment;t.errors=this.errors.slice();t.warnings=this.warnings.slice();t.options=Object.assign({},this.options);if(this.directives)t.directives=this.directives.clone();t.schema=this.schema.clone();t.contents=o.isNode(this.contents)?this.contents.clone(t.schema):this.contents;if(this.range)t.range=this.range.slice();return t}add(t){if(assertCollection(this.contents))this.contents.add(t)}addIn(t,r){if(assertCollection(this.contents))this.contents.addIn(t,r)}createAlias(t,r){if(!t.anchor){const n=d.anchorNames(this);t.anchor=!r||n.has(r)?d.findNewAnchor(r||"a",n):r}return new s.Alias(t.anchor)}createNode(t,r,n){let s=undefined;if(typeof r==="function"){t=r.call({"":t},"",t);s=r}else if(Array.isArray(r)){const keyToStr=t=>typeof t==="number"||t instanceof String||t instanceof Number;const t=r.filter(keyToStr).map(String);if(t.length>0)r=r.concat(t);s=r}else if(n===undefined&&r){n=r;r=undefined}const{aliasDuplicateObjects:i,anchorPrefix:a,flow:l,keepUndefined:c,onTagObj:u,tag:p}=n??{};const{onAnchor:m,setAnchors:g,sourceObjects:y}=d.createNodeAnchors(this,a||"a");const b={aliasDuplicateObjects:i??true,keepUndefined:c??false,onAnchor:m,onTagObj:u,replacer:s,schema:this.schema,sourceObjects:y};const _=h.createNode(t,p,b);if(l&&o.isCollection(_))_.flow=true;g();return _}createPair(t,r,n={}){const s=this.createNode(t,null,n);const i=this.createNode(r,null,n);return new a.Pair(s,i)}delete(t){return assertCollection(this.contents)?this.contents.delete(t):false}deleteIn(t){if(i.isEmptyPath(t)){if(this.contents==null)return false;this.contents=null;return true}return assertCollection(this.contents)?this.contents.deleteIn(t):false}get(t,r){return o.isCollection(this.contents)?this.contents.get(t,r):undefined}getIn(t,r){if(i.isEmptyPath(t))return!r&&o.isScalar(this.contents)?this.contents.value:this.contents;return o.isCollection(this.contents)?this.contents.getIn(t,r):undefined}has(t){return o.isCollection(this.contents)?this.contents.has(t):false}hasIn(t){if(i.isEmptyPath(t))return this.contents!==undefined;return o.isCollection(this.contents)?this.contents.hasIn(t):false}set(t,r){if(this.contents==null){this.contents=i.collectionFromPath(this.schema,[t],r)}else if(assertCollection(this.contents)){this.contents.set(t,r)}}setIn(t,r){if(i.isEmptyPath(t)){this.contents=r}else if(this.contents==null){this.contents=i.collectionFromPath(this.schema,Array.from(t),r)}else if(assertCollection(this.contents)){this.contents.setIn(t,r)}}setSchema(t,r={}){if(typeof t==="number")t=String(t);let n;switch(t){case"1.1":if(this.directives)this.directives.yaml.version="1.1";else this.directives=new m.Directives({version:"1.1"});n={merge:true,resolveKnownTags:false,schema:"yaml-1.1"};break;case"1.2":case"next":if(this.directives)this.directives.yaml.version=t;else this.directives=new m.Directives({version:t});n={merge:false,resolveKnownTags:true,schema:"core"};break;case null:if(this.directives)delete this.directives;n=null;break;default:{const r=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(r.schema instanceof Object)this.schema=r.schema;else if(n)this.schema=new c.Schema(Object.assign(n,r));else throw new Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:t,jsonArg:r,mapAsMap:n,maxAliasCount:s,onAnchor:i,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!t,mapAsMap:n===true,mapKeyWarned:false,maxAliasCount:typeof s==="number"?s:100};const c=l.toJS(this.contents,r??"",a);if(typeof i==="function")for(const{count:t,res:r}of a.anchors.values())i(r,t);return typeof o==="function"?p.applyReviver(o,{"":c},"",c):c}toJSON(t,r){return this.toJS({json:true,jsonArg:t,mapAsMap:false,onAnchor:r})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const r=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return u.stringifyDocument(this,t)}}function assertCollection(t){if(o.isCollection(t))return true;throw new Error("Expected a YAML collection as document contents")}r.Document=Document},8459:(t,r,n)=>{var s=n(5589);var i=n(6796);function anchorIsValid(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const r=JSON.stringify(t);const n=`Anchor must not contain whitespace or control characters: ${r}`;throw new Error(n)}return true}function anchorNames(t){const r=new Set;i.visit(t,{Value(t,n){if(n.anchor)r.add(n.anchor)}});return r}function findNewAnchor(t,r){for(let n=1;true;++n){const s=`${t}${n}`;if(!r.has(s))return s}}function createNodeAnchors(t,r){const n=[];const i=new Map;let o=null;return{onAnchor:s=>{n.push(s);if(!o)o=anchorNames(t);const i=findNewAnchor(r,o);o.add(i);return i},setAnchors:()=>{for(const t of n){const r=i.get(t);if(typeof r==="object"&&r.anchor&&(s.isScalar(r.node)||s.isCollection(r.node))){r.node.anchor=r.anchor}else{const r=new Error("Failed to resolve repeated object (this should not happen)");r.source=t;throw r}}},sourceObjects:i}}r.anchorIsValid=anchorIsValid;r.anchorNames=anchorNames;r.createNodeAnchors=createNodeAnchors;r.findNewAnchor=findNewAnchor},3412:(t,r)=>{function applyReviver(t,r,n,s){if(s&&typeof s==="object"){if(Array.isArray(s)){for(let r=0,n=s.length;r{var s=n(5639);var i=n(5589);var o=n(9338);const a="tag:yaml.org,2002:";function findTagObject(t,r,n){if(r){const t=n.filter((t=>t.tag===r));const s=t.find((t=>!t.format))??t[0];if(!s)throw new Error(`Tag ${r} not found`);return s}return n.find((r=>r.identify?.(t)&&!r.format))}function createNode(t,r,n){if(i.isDocument(t))t=t.contents;if(i.isNode(t))return t;if(i.isPair(t)){const r=n.schema[i.MAP].createNode?.(n.schema,null,n);r.items.push(t);return r}if(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt!=="undefined"&&t instanceof BigInt){t=t.valueOf()}const{aliasDuplicateObjects:l,onAnchor:c,onTagObj:u,schema:d,sourceObjects:p}=n;let h=undefined;if(l&&t&&typeof t==="object"){h=p.get(t);if(h){if(!h.anchor)h.anchor=c(t);return new s.Alias(h.anchor)}else{h={anchor:null,node:null};p.set(t,h)}}if(r?.startsWith("!!"))r=a+r.slice(2);let m=findTagObject(t,r,d.tags);if(!m){if(t&&typeof t.toJSON==="function"){t=t.toJSON()}if(!t||typeof t!=="object"){const r=new o.Scalar(t);if(h)h.node=r;return r}m=t instanceof Map?d[i.MAP]:Symbol.iterator in Object(t)?d[i.SEQ]:d[i.MAP]}if(u){u(m);delete n.onTagObj}const g=m?.createNode?m.createNode(n.schema,t,n):typeof m?.nodeClass?.from==="function"?m.nodeClass.from(n.schema,t,n):new o.Scalar(t);if(r)g.tag=r;else if(!m.default)g.tag=m.tag;if(h)h.node=g;return g}r.createNode=createNode},5400:(t,r,n)=>{var s=n(5589);var i=n(6796);const o={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};const escapeTagName=t=>t.replace(/[!,[\]{}]/g,(t=>o[t]));class Directives{constructor(t,r){this.docStart=null;this.docEnd=false;this.yaml=Object.assign({},Directives.defaultYaml,t);this.tags=Object.assign({},Directives.defaultTags,r)}clone(){const t=new Directives(this.yaml,this.tags);t.docStart=this.docStart;return t}atDocument(){const t=new Directives(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=true;break;case"1.2":this.atNextDocument=false;this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.2"};this.tags=Object.assign({},Directives.defaultTags);break}return t}add(t,r){if(this.atNextDocument){this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.1"};this.tags=Object.assign({},Directives.defaultTags);this.atNextDocument=false}const n=t.trim().split(/[ \t]+/);const s=n.shift();switch(s){case"%TAG":{if(n.length!==2){r(0,"%TAG directive should contain exactly two parts");if(n.length<2)return false}const[t,s]=n;this.tags[t]=s;return true}case"%YAML":{this.yaml.explicit=true;if(n.length!==1){r(0,"%YAML directive should contain exactly one part");return false}const[t]=n;if(t==="1.1"||t==="1.2"){this.yaml.version=t;return true}else{const n=/^\d+\.\d+$/.test(t);r(6,`Unsupported YAML version ${t}`,n);return false}}default:r(0,`Unknown directive ${s}`,true);return false}}tagName(t,r){if(t==="!")return"!";if(t[0]!=="!"){r(`Not a valid tag: ${t}`);return null}if(t[1]==="<"){const n=t.slice(2,-1);if(n==="!"||n==="!!"){r(`Verbatim tags aren't resolved, so ${t} is invalid.`);return null}if(t[t.length-1]!==">")r("Verbatim tags must end with a >");return n}const[,n,s]=t.match(/^(.*!)([^!]*)$/s);if(!s)r(`The ${t} tag has no suffix`);const i=this.tags[n];if(i){try{return i+decodeURIComponent(s)}catch(t){r(String(t));return null}}if(n==="!")return t;r(`Could not resolve tag: ${t}`);return null}tagString(t){for(const[r,n]of Object.entries(this.tags)){if(t.startsWith(n))return r+escapeTagName(t.substring(n.length))}return t[0]==="!"?t:`!<${t}>`}toString(t){const r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[];const n=Object.entries(this.tags);let o;if(t&&n.length>0&&s.isNode(t.contents)){const r={};i.visit(t.contents,((t,n)=>{if(s.isNode(n)&&n.tag)r[n.tag]=true}));o=Object.keys(r)}else o=[];for(const[s,i]of n){if(s==="!!"&&i==="tag:yaml.org,2002:")continue;if(!t||o.some((t=>t.startsWith(i))))r.push(`%TAG ${s} ${i}`)}return r.join("\n")}}Directives.defaultYaml={explicit:false,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};r.Directives=Directives},4236:(t,r)=>{class YAMLError extends Error{constructor(t,r,n,s){super();this.name=t;this.code=n;this.message=s;this.pos=r}}class YAMLParseError extends YAMLError{constructor(t,r,n){super("YAMLParseError",t,r,n)}}class YAMLWarning extends YAMLError{constructor(t,r,n){super("YAMLWarning",t,r,n)}}const prettifyError=(t,r)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map((t=>r.linePos(t)));const{line:s,col:i}=n.linePos[0];n.message+=` at line ${s}, column ${i}`;let o=i-1;let a=t.substring(r.lineStarts[s-1],r.lineStarts[s]).replace(/[\n\r]+$/,"");if(o>=60&&a.length>80){const t=Math.min(o-39,a.length-79);a="…"+a.substring(t);o-=t-1}if(a.length>80)a=a.substring(0,79)+"…";if(s>1&&/^ *$/.test(a.substring(0,o))){let n=t.substring(r.lineStarts[s-2],r.lineStarts[s-1]);if(n.length>80)n=n.substring(0,79)+"…\n";a=n+a}if(/[^ ]/.test(a)){let t=1;const r=n.linePos[1];if(r&&r.line===s&&r.col>i){t=Math.max(1,Math.min(r.col-i,80-o))}const l=" ".repeat(o)+"^".repeat(t);n.message+=`:\n\n${a}\n${l}\n`}};r.YAMLError=YAMLError;r.YAMLParseError=YAMLParseError;r.YAMLWarning=YAMLWarning;r.prettifyError=prettifyError},4083:(t,r,n)=>{var s;var i=n(9493);var o=n(42);var a=n(6831);var l=n(4236);var c=n(5639);var u=n(5589);var d=n(246);var p=n(9338);var h=n(6011);var m=n(5161);var g=n(9169);var y=n(5976);var b=n(1929);var _=n(3328);var S=n(8649);var E=n(6796);s=i.Composer;s=o.Document;s=a.Schema;s=l.YAMLError;s=l.YAMLParseError;s=l.YAMLWarning;s=c.Alias;s=u.isAlias;s=u.isCollection;s=u.isDocument;s=u.isMap;s=u.isNode;s=u.isPair;s=u.isScalar;s=u.isSeq;s=d.Pair;s=p.Scalar;s=h.YAMLMap;s=m.YAMLSeq;s=g;s=y.Lexer;s=b.LineCounter;s=_.Parser;r.Qc=S.parse;s=S.parseAllDocuments;s=S.parseDocument;s=S.stringify;s=E.visit;s=E.visitAsync},6909:(t,r)=>{function debug(t,...r){if(t==="debug")console.log(...r)}function warn(t,r){if(t==="debug"||t==="warn"){if(typeof process!=="undefined"&&process.emitWarning)process.emitWarning(r);else console.warn(r)}}r.debug=debug;r.warn=warn},5639:(t,r,n)=>{var s=n(8459);var i=n(6796);var o=n(5589);var a=n(1399);var l=n(2358);class Alias extends a.NodeBase{constructor(t){super(o.ALIAS);this.source=t;Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let r=undefined;i.visit(t,{Node:(t,n)=>{if(n===this)return i.visit.BREAK;if(n.anchor===this.source)r=n}});return r}toJSON(t,r){if(!r)return{source:this.source};const{anchors:n,doc:s,maxAliasCount:i}=r;const o=this.resolve(s);if(!o){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let a=n.get(o);if(!a){l.toJS(o,null,r);a=n.get(o)}if(!a||a.res===undefined){const t="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(t)}if(i>=0){a.count+=1;if(a.aliasCount===0)a.aliasCount=getAliasCount(s,o,n);if(a.count*a.aliasCount>i){const t="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(t)}}return a.res}toString(t,r,n){const i=`*${this.source}`;if(t){s.anchorIsValid(this.source);if(t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${i} `}return i}}function getAliasCount(t,r,n){if(o.isAlias(r)){const s=r.resolve(t);const i=n&&s&&n.get(s);return i?i.count*i.aliasCount:0}else if(o.isCollection(r)){let s=0;for(const i of r.items){const r=getAliasCount(t,i,n);if(r>s)s=r}return s}else if(o.isPair(r)){const s=getAliasCount(t,r.key,n);const i=getAliasCount(t,r.value,n);return Math.max(s,i)}return 1}r.Alias=Alias},2240:(t,r,n)=>{var s=n(9652);var i=n(5589);var o=n(1399);function collectionFromPath(t,r,n){let i=n;for(let t=r.length-1;t>=0;--t){const n=r[t];if(typeof n==="number"&&Number.isInteger(n)&&n>=0){const t=[];t[n]=i;i=t}else{i=new Map([[n,i]])}}return s.createNode(i,undefined,{aliasDuplicateObjects:false,keepUndefined:false,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const isEmptyPath=t=>t==null||typeof t==="object"&&!!t[Symbol.iterator]().next().done;class Collection extends o.NodeBase{constructor(t,r){super(t);Object.defineProperty(this,"schema",{value:r,configurable:true,enumerable:false,writable:true})}clone(t){const r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(t)r.schema=t;r.items=r.items.map((r=>i.isNode(r)||i.isPair(r)?r.clone(t):r));if(this.range)r.range=this.range.slice();return r}addIn(t,r){if(isEmptyPath(t))this.add(r);else{const[n,...s]=t;const o=this.get(n,true);if(i.isCollection(o))o.addIn(s,r);else if(o===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,s,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}}deleteIn(t){const[r,...n]=t;if(n.length===0)return this.delete(r);const s=this.get(r,true);if(i.isCollection(s))return s.deleteIn(n);else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}getIn(t,r){const[n,...s]=t;const o=this.get(n,true);if(s.length===0)return!r&&i.isScalar(o)?o.value:o;else return i.isCollection(o)?o.getIn(s,r):undefined}hasAllNullValues(t){return this.items.every((r=>{if(!i.isPair(r))return false;const n=r.value;return n==null||t&&i.isScalar(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(t){const[r,...n]=t;if(n.length===0)return this.has(r);const s=this.get(r,true);return i.isCollection(s)?s.hasIn(n):false}setIn(t,r){const[n,...s]=t;if(s.length===0){this.set(n,r)}else{const t=this.get(n,true);if(i.isCollection(t))t.setIn(s,r);else if(t===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,s,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}}}Collection.maxFlowStringSingleLineLength=60;r.Collection=Collection;r.collectionFromPath=collectionFromPath;r.isEmptyPath=isEmptyPath},1399:(t,r,n)=>{var s=n(3412);var i=n(5589);var o=n(2358);class NodeBase{constructor(t){Object.defineProperty(this,i.NODE_TYPE,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)t.range=this.range.slice();return t}toJS(t,{mapAsMap:r,maxAliasCount:n,onAnchor:a,reviver:l}={}){if(!i.isDocument(t))throw new TypeError("A document argument is required");const c={anchors:new Map,doc:t,keep:true,mapAsMap:r===true,mapKeyWarned:false,maxAliasCount:typeof n==="number"?n:100};const u=o.toJS(this,"",c);if(typeof a==="function")for(const{count:t,res:r}of c.anchors.values())a(r,t);return typeof l==="function"?s.applyReviver(l,{"":u},"",u):u}}r.NodeBase=NodeBase},246:(t,r,n)=>{var s=n(9652);var i=n(4875);var o=n(4676);var a=n(5589);function createPair(t,r,n){const i=s.createNode(t,undefined,n);const o=s.createNode(r,undefined,n);return new Pair(i,o)}class Pair{constructor(t,r=null){Object.defineProperty(this,a.NODE_TYPE,{value:a.PAIR});this.key=t;this.value=r}clone(t){let{key:r,value:n}=this;if(a.isNode(r))r=r.clone(t);if(a.isNode(n))n=n.clone(t);return new Pair(r,n)}toJSON(t,r){const n=r?.mapAsMap?new Map:{};return o.addPairToJSMap(r,n,this)}toString(t,r,n){return t?.doc?i.stringifyPair(this,t,r,n):JSON.stringify(this)}}r.Pair=Pair;r.createPair=createPair},9338:(t,r,n)=>{var s=n(5589);var i=n(1399);var o=n(2358);const isScalarValue=t=>!t||typeof t!=="function"&&typeof t!=="object";class Scalar extends i.NodeBase{constructor(t){super(s.SCALAR);this.value=t}toJSON(t,r){return r?.keep?this.value:o.toJS(this.value,t,r)}toString(){return String(this.value)}}Scalar.BLOCK_FOLDED="BLOCK_FOLDED";Scalar.BLOCK_LITERAL="BLOCK_LITERAL";Scalar.PLAIN="PLAIN";Scalar.QUOTE_DOUBLE="QUOTE_DOUBLE";Scalar.QUOTE_SINGLE="QUOTE_SINGLE";r.Scalar=Scalar;r.isScalarValue=isScalarValue},6011:(t,r,n)=>{var s=n(2466);var i=n(4676);var o=n(2240);var a=n(5589);var l=n(246);var c=n(9338);function findPair(t,r){const n=a.isScalar(r)?r.value:r;for(const s of t){if(a.isPair(s)){if(s.key===r||s.key===n)return s;if(a.isScalar(s.key)&&s.key.value===n)return s}}return undefined}class YAMLMap extends o.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(a.MAP,t);this.items=[]}static from(t,r,n){const{keepUndefined:s,replacer:i}=n;const o=new this(t);const add=(t,a)=>{if(typeof i==="function")a=i.call(r,t,a);else if(Array.isArray(i)&&!i.includes(t))return;if(a!==undefined||s)o.items.push(l.createPair(t,a,n))};if(r instanceof Map){for(const[t,n]of r)add(t,n)}else if(r&&typeof r==="object"){for(const t of Object.keys(r))add(t,r[t])}if(typeof t.sortMapEntries==="function"){o.items.sort(t.sortMapEntries)}return o}add(t,r){let n;if(a.isPair(t))n=t;else if(!t||typeof t!=="object"||!("key"in t)){n=new l.Pair(t,t?.value)}else n=new l.Pair(t.key,t.value);const s=findPair(this.items,n.key);const i=this.schema?.sortMapEntries;if(s){if(!r)throw new Error(`Key ${n.key} already set`);if(a.isScalar(s.value)&&c.isScalarValue(n.value))s.value.value=n.value;else s.value=n.value}else if(i){const t=this.items.findIndex((t=>i(n,t)<0));if(t===-1)this.items.push(n);else this.items.splice(t,0,n)}else{this.items.push(n)}}delete(t){const r=findPair(this.items,t);if(!r)return false;const n=this.items.splice(this.items.indexOf(r),1);return n.length>0}get(t,r){const n=findPair(this.items,t);const s=n?.value;return(!r&&a.isScalar(s)?s.value:s)??undefined}has(t){return!!findPair(this.items,t)}set(t,r){this.add(new l.Pair(t,r),true)}toJSON(t,r,n){const s=n?new n:r?.mapAsMap?new Map:{};if(r?.onCreate)r.onCreate(s);for(const t of this.items)i.addPairToJSMap(r,s,t);return s}toString(t,r,n){if(!t)return JSON.stringify(this);for(const t of this.items){if(!a.isPair(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`)}if(!t.allNullValues&&this.hasAllNullValues(false))t=Object.assign({},t,{allNullValues:true});return s.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:r})}}r.YAMLMap=YAMLMap;r.findPair=findPair},5161:(t,r,n)=>{var s=n(9652);var i=n(2466);var o=n(2240);var a=n(5589);var l=n(9338);var c=n(2358);class YAMLSeq extends o.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(a.SEQ,t);this.items=[]}add(t){this.items.push(t)}delete(t){const r=asItemIndex(t);if(typeof r!=="number")return false;const n=this.items.splice(r,1);return n.length>0}get(t,r){const n=asItemIndex(t);if(typeof n!=="number")return undefined;const s=this.items[n];return!r&&a.isScalar(s)?s.value:s}has(t){const r=asItemIndex(t);return typeof r==="number"&&r=0?r:null}r.YAMLSeq=YAMLSeq},4676:(t,r,n)=>{var s=n(6909);var i=n(8409);var o=n(5589);var a=n(9338);var l=n(2358);const c="<<";function addPairToJSMap(t,r,{key:n,value:s}){if(t?.doc.schema.merge&&isMergeKey(n)){s=o.isAlias(s)?s.resolve(t.doc):s;if(o.isSeq(s))for(const n of s.items)mergeToJSMap(t,r,n);else if(Array.isArray(s))for(const n of s)mergeToJSMap(t,r,n);else mergeToJSMap(t,r,s)}else{const i=l.toJS(n,"",t);if(r instanceof Map){r.set(i,l.toJS(s,i,t))}else if(r instanceof Set){r.add(i)}else{const o=stringifyKey(n,i,t);const a=l.toJS(s,o,t);if(o in r)Object.defineProperty(r,o,{value:a,writable:true,enumerable:true,configurable:true});else r[o]=a}}return r}const isMergeKey=t=>t===c||o.isScalar(t)&&t.value===c&&(!t.type||t.type===a.Scalar.PLAIN);function mergeToJSMap(t,r,n){const s=t&&o.isAlias(n)?n.resolve(t.doc):n;if(!o.isMap(s))throw new Error("Merge sources must be maps or map aliases");const i=s.toJSON(null,t,Map);for(const[t,n]of i){if(r instanceof Map){if(!r.has(t))r.set(t,n)}else if(r instanceof Set){r.add(t)}else if(!Object.prototype.hasOwnProperty.call(r,t)){Object.defineProperty(r,t,{value:n,writable:true,enumerable:true,configurable:true})}}return r}function stringifyKey(t,r,n){if(r===null)return"";if(typeof r!=="object")return String(r);if(o.isNode(t)&&n?.doc){const r=i.createStringifyContext(n.doc,{});r.anchors=new Set;for(const t of n.anchors.keys())r.anchors.add(t.anchor);r.inFlow=true;r.inStringifyKey=true;const o=t.toString(r);if(!n.mapKeyWarned){let t=JSON.stringify(o);if(t.length>40)t=t.substring(0,36)+'..."';s.warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`);n.mapKeyWarned=true}return o}return JSON.stringify(r)}r.addPairToJSMap=addPairToJSMap},5589:(t,r)=>{const n=Symbol.for("yaml.alias");const s=Symbol.for("yaml.document");const i=Symbol.for("yaml.map");const o=Symbol.for("yaml.pair");const a=Symbol.for("yaml.scalar");const l=Symbol.for("yaml.seq");const c=Symbol.for("yaml.node.type");const isAlias=t=>!!t&&typeof t==="object"&&t[c]===n;const isDocument=t=>!!t&&typeof t==="object"&&t[c]===s;const isMap=t=>!!t&&typeof t==="object"&&t[c]===i;const isPair=t=>!!t&&typeof t==="object"&&t[c]===o;const isScalar=t=>!!t&&typeof t==="object"&&t[c]===a;const isSeq=t=>!!t&&typeof t==="object"&&t[c]===l;function isCollection(t){if(t&&typeof t==="object")switch(t[c]){case i:case l:return true}return false}function isNode(t){if(t&&typeof t==="object")switch(t[c]){case n:case i:case a:case l:return true}return false}const hasAnchor=t=>(isScalar(t)||isCollection(t))&&!!t.anchor;r.ALIAS=n;r.DOC=s;r.MAP=i;r.NODE_TYPE=c;r.PAIR=o;r.SCALAR=a;r.SEQ=l;r.hasAnchor=hasAnchor;r.isAlias=isAlias;r.isCollection=isCollection;r.isDocument=isDocument;r.isMap=isMap;r.isNode=isNode;r.isPair=isPair;r.isScalar=isScalar;r.isSeq=isSeq},2358:(t,r,n)=>{var s=n(5589);function toJS(t,r,n){if(Array.isArray(t))return t.map(((t,r)=>toJS(t,String(r),n)));if(t&&typeof t.toJSON==="function"){if(!n||!s.hasAnchor(t))return t.toJSON(r,n);const i={aliasCount:0,count:1,res:undefined};n.anchors.set(t,i);n.onCreate=t=>{i.res=t;delete n.onCreate};const o=t.toJSON(r,n);if(n.onCreate)n.onCreate(o);return o}if(typeof t==="bigint"&&!n?.keep)return Number(t);return t}r.toJS=toJS},9027:(t,r,n)=>{var s=n(9485);var i=n(7578);var o=n(4236);var a=n(6226);function resolveAsScalar(t,r=true,n){if(t){const _onError=(t,r,s)=>{const i=typeof t==="number"?t:Array.isArray(t)?t[0]:t.offset;if(n)n(i,r,s);else throw new o.YAMLParseError([i,i+1],r,s)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return i.resolveFlowScalar(t,r,_onError);case"block-scalar":return s.resolveBlockScalar(t,r,_onError)}}return null}function createScalarToken(t,r){const{implicitKey:n=false,indent:s,inFlow:i=false,offset:o=-1,type:l="PLAIN"}=r;const c=a.stringifyString({type:l,value:t},{implicitKey:n,indent:s>0?" ".repeat(s):"",inFlow:i,options:{blockQuote:true,lineWidth:-1}});const u=r.end??[{type:"newline",offset:-1,indent:s,source:"\n"}];switch(c[0]){case"|":case">":{const t=c.indexOf("\n");const r=c.substring(0,t);const n=c.substring(t+1)+"\n";const i=[{type:"block-scalar-header",offset:o,indent:s,source:r}];if(!addEndtoBlockProps(i,u))i.push({type:"newline",offset:-1,indent:s,source:"\n"});return{type:"block-scalar",offset:o,indent:s,props:i,source:n}}case'"':return{type:"double-quoted-scalar",offset:o,indent:s,source:c,end:u};case"'":return{type:"single-quoted-scalar",offset:o,indent:s,source:c,end:u};default:return{type:"scalar",offset:o,indent:s,source:c,end:u}}}function setScalarValue(t,r,n={}){let{afterKey:s=false,implicitKey:i=false,inFlow:o=false,type:l}=n;let c="indent"in t?t.indent:null;if(s&&typeof c==="number")c+=2;if(!l)switch(t.type){case"single-quoted-scalar":l="QUOTE_SINGLE";break;case"double-quoted-scalar":l="QUOTE_DOUBLE";break;case"block-scalar":{const r=t.props[0];if(r.type!=="block-scalar-header")throw new Error("Invalid block scalar header");l=r.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:l="PLAIN"}const u=a.stringifyString({type:l,value:r},{implicitKey:i||c===null,indent:c!==null&&c>0?" ".repeat(c):"",inFlow:o,options:{blockQuote:true,lineWidth:-1}});switch(u[0]){case"|":case">":setBlockScalarValue(t,u);break;case'"':setFlowScalarValue(t,u,"double-quoted-scalar");break;case"'":setFlowScalarValue(t,u,"single-quoted-scalar");break;default:setFlowScalarValue(t,u,"scalar")}}function setBlockScalarValue(t,r){const n=r.indexOf("\n");const s=r.substring(0,n);const i=r.substring(n+1)+"\n";if(t.type==="block-scalar"){const r=t.props[0];if(r.type!=="block-scalar-header")throw new Error("Invalid block scalar header");r.source=s;t.source=i}else{const{offset:r}=t;const n="indent"in t?t.indent:-1;const o=[{type:"block-scalar-header",offset:r,indent:n,source:s}];if(!addEndtoBlockProps(o,"end"in t?t.end:undefined))o.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(t))if(r!=="type"&&r!=="offset")delete t[r];Object.assign(t,{type:"block-scalar",indent:n,props:o,source:i})}}function addEndtoBlockProps(t,r){if(r)for(const n of r)switch(n.type){case"space":case"comment":t.push(n);break;case"newline":t.push(n);return true}return false}function setFlowScalarValue(t,r,n){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=n;t.source=r;break;case"block-scalar":{const s=t.props.slice(1);let i=r.length;if(t.props[0].type==="block-scalar-header")i-=t.props[0].source.length;for(const t of s)t.offset+=i;delete t.props;Object.assign(t,{type:n,source:r,end:s});break}case"block-map":case"block-seq":{const s=t.offset+r.length;const i={type:"newline",offset:s,indent:t.indent,source:"\n"};delete t.items;Object.assign(t,{type:n,source:r,end:[i]});break}default:{const s="indent"in t?t.indent:-1;const i="end"in t&&Array.isArray(t.end)?t.end.filter((t=>t.type==="space"||t.type==="comment"||t.type==="newline")):[];for(const r of Object.keys(t))if(r!=="type"&&r!=="offset")delete t[r];Object.assign(t,{type:n,indent:s,source:r,end:i})}}}r.createScalarToken=createScalarToken;r.resolveAsScalar=resolveAsScalar;r.setScalarValue=setScalarValue},6307:(t,r)=>{const stringify=t=>"type"in t?stringifyToken(t):stringifyItem(t);function stringifyToken(t){switch(t.type){case"block-scalar":{let r="";for(const n of t.props)r+=stringifyToken(n);return r+t.source}case"block-map":case"block-seq":{let r="";for(const n of t.items)r+=stringifyItem(n);return r}case"flow-collection":{let r=t.start.source;for(const n of t.items)r+=stringifyItem(n);for(const n of t.end)r+=n.source;return r}case"document":{let r=stringifyItem(t);if(t.end)for(const n of t.end)r+=n.source;return r}default:{let r=t.source;if("end"in t&&t.end)for(const n of t.end)r+=n.source;return r}}}function stringifyItem({start:t,key:r,sep:n,value:s}){let i="";for(const r of t)i+=r.source;if(r)i+=stringifyToken(r);if(n)for(const t of n)i+=t.source;if(s)i+=stringifyToken(s);return i}r.stringify=stringify},8497:(t,r)=>{const n=Symbol("break visit");const s=Symbol("skip children");const i=Symbol("remove item");function visit(t,r){if("type"in t&&t.type==="document")t={start:t.start,value:t.value};_visit(Object.freeze([]),t,r)}visit.BREAK=n;visit.SKIP=s;visit.REMOVE=i;visit.itemAtPath=(t,r)=>{let n=t;for(const[t,s]of r){const r=n?.[t];if(r&&"items"in r){n=r.items[s]}else return undefined}return n};visit.parentCollection=(t,r)=>{const n=visit.itemAtPath(t,r.slice(0,-1));const s=r[r.length-1][0];const i=n?.[s];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function _visit(t,r,s){let o=s(r,t);if(typeof o==="symbol")return o;for(const a of["key","value"]){const l=r[a];if(l&&"items"in l){for(let r=0;r{var s=n(9027);var i=n(6307);var o=n(8497);const a="\ufeff";const l="";const c="";const u="";const isCollection=t=>!!t&&"items"in t;const isScalar=t=>!!t&&(t.type==="scalar"||t.type==="single-quoted-scalar"||t.type==="double-quoted-scalar"||t.type==="block-scalar");function prettyToken(t){switch(t){case a:return"";case l:return"";case c:return"";case u:return"";default:return JSON.stringify(t)}}function tokenType(t){switch(t){case a:return"byte-order-mark";case l:return"doc-mode";case c:return"flow-error-end";case u:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}r.createScalarToken=s.createScalarToken;r.resolveAsScalar=s.resolveAsScalar;r.setScalarValue=s.setScalarValue;r.stringify=i.stringify;r.visit=o.visit;r.BOM=a;r.DOCUMENT=l;r.FLOW_END=c;r.SCALAR=u;r.isCollection=isCollection;r.isScalar=isScalar;r.prettyToken=prettyToken;r.tokenType=tokenType},5976:(t,r,n)=>{var s=n(9169);function isEmpty(t){switch(t){case undefined:case" ":case"\n":case"\r":case"\t":return true;default:return false}}const i="0123456789ABCDEFabcdef".split("");const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split("");const a=",[]{}".split("");const l=" ,[]{}\n\r\t".split("");const isNotAnchorChar=t=>!t||l.includes(t);class Lexer{constructor(){this.atEnd=false;this.blockScalarIndent=-1;this.blockScalarKeep=false;this.buffer="";this.flowKey=false;this.flowLevel=0;this.indentNext=0;this.indentValue=0;this.lineEndPos=null;this.next=null;this.pos=0}*lex(t,r=false){if(t){this.buffer=this.buffer?this.buffer+t:t;this.lineEndPos=null}this.atEnd=!r;let n=this.next??"stream";while(n&&(r||this.hasChars(1)))n=yield*this.parseNext(n)}atLineEnd(){let t=this.pos;let r=this.buffer[t];while(r===" "||r==="\t")r=this.buffer[++t];if(!r||r==="#"||r==="\n")return true;if(r==="\r")return this.buffer[t+1]==="\n";return false}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let r=this.buffer[t];if(this.indentNext>0){let n=0;while(r===" ")r=this.buffer[++n+t];if(r==="\r"){const r=this.buffer[n+t+1];if(r==="\n"||!r&&!this.atEnd)return t+n+1}return r==="\n"||n>=this.indentNext||!r&&!this.atEnd?t+n:-1}if(r==="-"||r==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&isEmpty(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;if(typeof t!=="number"||t!==-1&&tthis.indentValue&&!isEmpty(this.charAt(1)))this.indentNext=this.indentValue;return yield*this.parseBlockStart()}*parseBlockStart(){const[t,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&isEmpty(r)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(true));this.indentNext=this.indentValue+1;this.indentValue+=t;return yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(true);const t=this.getLine();if(t===null)return this.setNext("doc");let r=yield*this.pushIndicators();switch(t[r]){case"#":yield*this.pushCount(t.length-r);case undefined:yield*this.pushNewline();return yield*this.parseLineStart();case"{":case"[":yield*this.pushCount(1);this.flowKey=false;this.flowLevel=1;return"flow";case"}":case"]":yield*this.pushCount(1);return"doc";case"*":yield*this.pushUntil(isNotAnchorChar);return"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":r+=(yield*this.parseBlockScalarHeader());r+=(yield*this.pushSpaces(true));yield*this.pushCount(t.length-r);yield*this.pushNewline();return yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,r;let n=-1;do{t=yield*this.pushNewline();if(t>0){r=yield*this.pushSpaces(false);this.indentValue=n=r}else{r=0}r+=(yield*this.pushSpaces(true))}while(t+r>0);const i=this.getLine();if(i===null)return this.setNext("flow");if(n!==-1&&n"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if(r!=="-")break}return yield*this.pushUntil((t=>isEmpty(t)||t==="#"))}*parseBlockScalar(){let t=this.pos-1;let r=0;let n;e:for(let s=this.pos;n=this.buffer[s];++s){switch(n){case" ":r+=1;break;case"\n":t=s;r=0;break;case"\r":{const t=this.buffer[s+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if(t==="\n")break}default:break e}}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){if(this.blockScalarIndent===-1)this.indentNext=r;else this.indentNext+=this.blockScalarIndent;do{const r=this.continueScalar(t+1);if(r===-1)break;t=this.buffer.indexOf("\n",r)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep){do{let n=t-1;let s=this.buffer[n];if(s==="\r")s=this.buffer[--n];const i=n;while(s===" "||s==="\t")s=this.buffer[--n];if(s==="\n"&&n>=this.pos&&n+1+r>i)t=n;else break}while(true)}yield s.SCALAR;yield*this.pushToIndex(t+1,true);return yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let r=this.pos-1;let n=this.pos-1;let i;while(i=this.buffer[++n]){if(i===":"){const s=this.buffer[n+1];if(isEmpty(s)||t&&s===",")break;r=n}else if(isEmpty(i)){let s=this.buffer[n+1];if(i==="\r"){if(s==="\n"){n+=1;i="\n";s=this.buffer[n+1]}else r=n}if(s==="#"||t&&a.includes(s))break;if(i==="\n"){const t=this.continueScalar(n+1);if(t===-1)break;n=Math.max(n,t-2)}}else{if(t&&a.includes(i))break;r=n}}if(!i&&!this.atEnd)return this.setNext("plain-scalar");yield s.SCALAR;yield*this.pushToIndex(r+1,true);return t?"flow":"doc"}*pushCount(t){if(t>0){yield this.buffer.substr(this.pos,t);this.pos+=t;return t}return 0}*pushToIndex(t,r){const n=this.buffer.slice(this.pos,t);if(n){yield n;this.pos+=n.length;return n.length}else if(r)yield"";return 0}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(true))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(isNotAnchorChar))+(yield*this.pushSpaces(true))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0;const r=this.charAt(1);if(isEmpty(r)||t&&a.includes(r)){if(!t)this.indentNext=this.indentValue+1;else if(this.flowKey)this.flowKey=false;return(yield*this.pushCount(1))+(yield*this.pushSpaces(true))+(yield*this.pushIndicators())}}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2;let r=this.buffer[t];while(!isEmpty(r)&&r!==">")r=this.buffer[++t];return yield*this.pushToIndex(r===">"?t+1:t,false)}else{let t=this.pos+1;let r=this.buffer[t];while(r){if(o.includes(r))r=this.buffer[++t];else if(r==="%"&&i.includes(this.buffer[t+1])&&i.includes(this.buffer[t+2])){r=this.buffer[t+=3]}else break}return yield*this.pushToIndex(t,false)}}*pushNewline(){const t=this.buffer[this.pos];if(t==="\n")return yield*this.pushCount(1);else if(t==="\r"&&this.charAt(1)==="\n")return yield*this.pushCount(2);else return 0}*pushSpaces(t){let r=this.pos-1;let n;do{n=this.buffer[++r]}while(n===" "||t&&n==="\t");const s=r-this.pos;if(s>0){yield this.buffer.substr(this.pos,s);this.pos=r}return s}*pushUntil(t){let r=this.pos;let n=this.buffer[r];while(!t(n))n=this.buffer[++r];return yield*this.pushToIndex(r,false)}}r.Lexer=Lexer},1929:(t,r)=>{class LineCounter{constructor(){this.lineStarts=[];this.addNewLine=t=>this.lineStarts.push(t);this.linePos=t=>{let r=0;let n=this.lineStarts.length;while(r>1;if(this.lineStarts[s]{var s=n(9169);var i=n(5976);function includesToken(t,r){for(let n=0;n=0){switch(t[r].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}}while(t[++r]?.type==="space"){}return t.splice(r,t.length)}function fixFlowSeqItems(t){if(t.start.type==="flow-seq-start"){for(const r of t.items){if(r.sep&&!r.value&&!includesToken(r.start,"explicit-key-ind")&&!includesToken(r.sep,"map-value-ind")){if(r.key)r.value=r.key;delete r.key;if(isFlowToken(r.value)){if(r.value.end)Array.prototype.push.apply(r.value.end,r.sep);else r.value.end=r.sep}else Array.prototype.push.apply(r.start,r.sep);delete r.sep}}}}class Parser{constructor(t){this.atNewLine=true;this.atScalar=false;this.indent=0;this.offset=0;this.onKeyLine=false;this.stack=[];this.source="";this.type="";this.lexer=new i.Lexer;this.onNewLine=t}*parse(t,r=false){if(this.onNewLine&&this.offset===0)this.onNewLine(0);for(const n of this.lexer.lex(t,r))yield*this.next(n);if(!r)yield*this.end()}*next(t){this.source=t;if(process.env.LOG_TOKENS)console.log("|",s.prettyToken(t));if(this.atScalar){this.atScalar=false;yield*this.step();this.offset+=t.length;return}const r=s.tokenType(t);if(!r){const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t});this.offset+=t.length}else if(r==="scalar"){this.atNewLine=false;this.atScalar=true;this.type="scalar"}else{this.type=r;yield*this.step();switch(r){case"newline":this.atNewLine=true;this.indent=0;if(this.onNewLine)this.onNewLine(this.offset+t.length);break;case"space":if(this.atNewLine&&t[0]===" ")this.indent+=t.length;break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":if(this.atNewLine)this.indent+=t.length;break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=false}this.offset+=t.length}}*end(){while(this.stack.length>0)yield*this.pop()}get sourceToken(){const t={type:this.type,offset:this.offset,indent:this.indent,source:this.source};return t}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){while(this.stack.length>0)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const r=t??this.stack.pop();if(!r){const t="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:t}}else if(this.stack.length===0){yield r}else{const t=this.peek(1);if(r.type==="block-scalar"){r.indent="indent"in t?t.indent:0}else if(r.type==="flow-collection"&&t.type==="document"){r.indent=0}if(r.type==="flow-collection")fixFlowSeqItems(r);switch(t.type){case"document":t.value=r;break;case"block-scalar":t.props.push(r);break;case"block-map":{const n=t.items[t.items.length-1];if(n.value){t.items.push({start:[],key:r,sep:[]});this.onKeyLine=true;return}else if(n.sep){n.value=r}else{Object.assign(n,{key:r,sep:[]});this.onKeyLine=!includesToken(n.start,"explicit-key-ind");return}break}case"block-seq":{const n=t.items[t.items.length-1];if(n.value)t.items.push({start:[],value:r});else n.value=r;break}case"flow-collection":{const n=t.items[t.items.length-1];if(!n||n.value)t.items.push({start:[],key:r,sep:[]});else if(n.sep)n.value=r;else Object.assign(n,{key:r,sep:[]});return}default:yield*this.pop();yield*this.pop(r)}if((t.type==="document"||t.type==="block-map"||t.type==="block-seq")&&(r.type==="block-map"||r.type==="block-seq")){const n=r.items[r.items.length-1];if(n&&!n.sep&&!n.value&&n.start.length>0&&findNonEmptyIndex(n.start)===-1&&(r.indent===0||n.start.every((t=>t.type!=="comment"||t.indent=t.indent){const n=!this.onKeyLine&&this.indent===t.indent&&r.sep;let s=[];if(n&&r.sep&&!r.value){const n=[];for(let s=0;st.indent)n.length=0;break;default:n.length=0}}if(n.length>=2)s=r.sep.splice(n[1])}switch(this.type){case"anchor":case"tag":if(n||r.value){s.push(this.sourceToken);t.items.push({start:s});this.onKeyLine=true}else if(r.sep){r.sep.push(this.sourceToken)}else{r.start.push(this.sourceToken)}return;case"explicit-key-ind":if(!r.sep&&!includesToken(r.start,"explicit-key-ind")){r.start.push(this.sourceToken)}else if(n||r.value){s.push(this.sourceToken);t.items.push({start:s})}else{this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]})}this.onKeyLine=true;return;case"map-value-ind":if(includesToken(r.start,"explicit-key-ind")){if(!r.sep){if(includesToken(r.start,"newline")){Object.assign(r,{key:null,sep:[this.sourceToken]})}else{const t=getFirstKeyStartProps(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}}else if(r.value){t.items.push({start:[],key:null,sep:[this.sourceToken]})}else if(includesToken(r.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else if(isFlowToken(r.key)&&!includesToken(r.sep,"newline")){const t=getFirstKeyStartProps(r.start);const n=r.key;const s=r.sep;s.push(this.sourceToken);delete r.key,delete r.sep;this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:n,sep:s}]})}else if(s.length>0){r.sep=r.sep.concat(s,this.sourceToken)}else{r.sep.push(this.sourceToken)}}else{if(!r.sep){Object.assign(r,{key:null,sep:[this.sourceToken]})}else if(r.value||n){t.items.push({start:s,key:null,sep:[this.sourceToken]})}else if(includesToken(r.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]})}else{r.sep.push(this.sourceToken)}}this.onKeyLine=true;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);if(n||r.value){t.items.push({start:s,key:i,sep:[]});this.onKeyLine=true}else if(r.sep){this.stack.push(i)}else{Object.assign(r,{key:i,sep:[]});this.onKeyLine=true}return}default:{const i=this.startBlockValue(t);if(i){if(n&&i.type!=="block-seq"&&includesToken(r.start,"explicit-key-ind")){t.items.push({start:s})}this.stack.push(i);return}}}}yield*this.pop();yield*this.step()}*blockSequence(t){const r=t.items[t.items.length-1];switch(this.type){case"newline":if(r.value){const n="end"in r.value?r.value.end:undefined;const s=Array.isArray(n)?n[n.length-1]:undefined;if(s?.type==="comment")n?.push(this.sourceToken);else t.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,t.indent)){const n=t.items[t.items.length-2];const s=n?.value?.end;if(Array.isArray(s)){Array.prototype.push.apply(s,r.start);s.push(this.sourceToken);t.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=t.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;if(r.value||includesToken(r.start,"seq-item-ind"))t.items.push({start:[this.sourceToken]});else r.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop();yield*this.step()}*flowCollection(t){const r=t.items[t.items.length-1];if(this.type==="flow-error-end"){let t;do{yield*this.pop();t=this.peek(1)}while(t&&t.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":if(!r||r.sep)t.items.push({start:[this.sourceToken]});else r.start.push(this.sourceToken);return;case"map-value-ind":if(!r||r.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":if(!r||r.value)t.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);if(!r||r.value)t.items.push({start:[],key:n,sep:[]});else if(r.sep)this.stack.push(n);else Object.assign(r,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const n=this.startBlockValue(t);if(n)this.stack.push(n);else{yield*this.pop();yield*this.step()}}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep)){yield*this.pop();yield*this.step()}else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const n=getPrevProps(r);const s=getFirstKeyStartProps(n);fixFlowSeqItems(t);const i=t.end.splice(1,t.end.length);i.push(this.sourceToken);const o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:i}]};this.onKeyLine=true;this.stack[this.stack.length-1]=o}else{yield*this.lineEnd(t)}}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;while(t!==0){this.onNewLine(this.offset+t);t=this.source.indexOf("\n",t)+1}}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=true;const r=getPrevProps(t);const n=getFirstKeyStartProps(r);n.push(this.sourceToken);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n}]}}case"map-value-ind":{this.onKeyLine=true;const r=getPrevProps(t);const n=getFirstKeyStartProps(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,r){if(this.type!=="comment")return false;if(this.indent<=r)return false;return t.every((t=>t.type==="newline"||t.type==="space"))}*documentEnd(t){if(this.type!=="doc-mode"){if(t.end)t.end.push(this.sourceToken);else t.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop();yield*this.step();break;case"newline":this.onKeyLine=false;case"space":case"comment":default:if(t.end)t.end.push(this.sourceToken);else t.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}r.Parser=Parser},8649:(t,r,n)=>{var s=n(9493);var i=n(42);var o=n(4236);var a=n(6909);var l=n(1929);var c=n(3328);function parseOptions(t){const r=t.prettyErrors!==false;const n=t.lineCounter||r&&new l.LineCounter||null;return{lineCounter:n,prettyErrors:r}}function parseAllDocuments(t,r={}){const{lineCounter:n,prettyErrors:i}=parseOptions(r);const a=new c.Parser(n?.addNewLine);const l=new s.Composer(r);const u=Array.from(l.compose(a.parse(t)));if(i&&n)for(const r of u){r.errors.forEach(o.prettifyError(t,n));r.warnings.forEach(o.prettifyError(t,n))}if(u.length>0)return u;return Object.assign([],{empty:true},l.streamInfo())}function parseDocument(t,r={}){const{lineCounter:n,prettyErrors:i}=parseOptions(r);const a=new c.Parser(n?.addNewLine);const l=new s.Composer(r);let u=null;for(const r of l.compose(a.parse(t),true,t.length)){if(!u)u=r;else if(u.options.logLevel!=="silent"){u.errors.push(new o.YAMLParseError(r.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}if(i&&n){u.errors.forEach(o.prettifyError(t,n));u.warnings.forEach(o.prettifyError(t,n))}return u}function parse(t,r,n){let s=undefined;if(typeof r==="function"){s=r}else if(n===undefined&&r&&typeof r==="object"){n=r}const i=parseDocument(t,n);if(!i)return null;i.warnings.forEach((t=>a.warn(i.options.logLevel,t)));if(i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];else i.errors=[]}return i.toJS(Object.assign({reviver:s},n))}function stringify(t,r,n){let s=null;if(typeof r==="function"||Array.isArray(r)){s=r}else if(n===undefined&&r){n=r}if(typeof n==="string")n=n.length;if(typeof n==="number"){const t=Math.round(n);n=t<1?undefined:t>8?{indent:8}:{indent:t}}if(t===undefined){const{keepUndefined:t}=n??r??{};if(!t)return undefined}return new i.Document(t,s,n).toString(n)}r.parse=parse;r.parseAllDocuments=parseAllDocuments;r.parseDocument=parseDocument;r.stringify=stringify},6831:(t,r,n)=>{var s=n(5589);var i=n(83);var o=n(1693);var a=n(2201);var l=n(4138);const sortMapEntriesByKey=(t,r)=>t.keyr.key?1:0;class Schema{constructor({compat:t,customTags:r,merge:n,resolveKnownTags:c,schema:u,sortMapEntries:d,toStringDefaults:p}){this.compat=Array.isArray(t)?l.getTags(t,"compat"):t?l.getTags(null,t):null;this.merge=!!n;this.name=typeof u==="string"&&u||"core";this.knownTags=c?l.coreKnownTags:{};this.tags=l.getTags(r,this.name);this.toStringOptions=p??null;Object.defineProperty(this,s.MAP,{value:i.map});Object.defineProperty(this,s.SCALAR,{value:a.string});Object.defineProperty(this,s.SEQ,{value:o.seq});this.sortMapEntries=typeof d==="function"?d:d===true?sortMapEntriesByKey:null}clone(){const t=Object.create(Schema.prototype,Object.getOwnPropertyDescriptors(this));t.tags=this.tags.slice();return t}}r.Schema=Schema},83:(t,r,n)=>{var s=n(5589);var i=n(6011);const o={collection:"map",default:true,nodeClass:i.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(t,r){if(!s.isMap(t))r("Expected a mapping for this tag");return t},createNode:(t,r,n)=>i.YAMLMap.from(t,r,n)};r.map=o},6703:(t,r,n)=>{var s=n(9338);const i={identify:t=>t==null,createNode:()=>new s.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new s.Scalar(null),stringify:({source:t},r)=>typeof t==="string"&&i.test.test(t)?t:r.options.nullStr};r.nullTag=i},1693:(t,r,n)=>{var s=n(5589);var i=n(5161);const o={collection:"seq",default:true,nodeClass:i.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(t,r){if(!s.isSeq(t))r("Expected a sequence for this tag");return t},createNode:(t,r,n)=>i.YAMLSeq.from(t,r,n)};r.seq=o},2201:(t,r,n)=>{var s=n(6226);const i={identify:t=>typeof t==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify(t,r,n,i){r=Object.assign({actualString:true},r);return s.stringifyString(t,r,n,i)}};r.string=i},2045:(t,r,n)=>{var s=n(9338);const i={identify:t=>typeof t==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new s.Scalar(t[0]==="t"||t[0]==="T"),stringify({source:t,value:r},n){if(t&&i.test.test(t)){const n=t[0]==="t"||t[0]==="T";if(r===n)return t}return r?n.options.trueStr:n.options.falseStr}};r.boolTag=i},6810:(t,r,n)=>{var s=n(9338);var i=n(4174);const o={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:i.stringifyNumber};const a={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const r=Number(t.value);return isFinite(r)?r.toExponential():i.stringifyNumber(t)}};const l={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const r=new s.Scalar(parseFloat(t));const n=t.indexOf(".");if(n!==-1&&t[t.length-1]==="0")r.minFractionDigits=t.length-n-1;return r},stringify:i.stringifyNumber};r.float=l;r.floatExp=a;r.floatNaN=o},3019:(t,r,n)=>{var s=n(4174);const intIdentify=t=>typeof t==="bigint"||Number.isInteger(t);const intResolve=(t,r,n,{intAsBigInt:s})=>s?BigInt(t):parseInt(t.substring(r),n);function intStringify(t,r,n){const{value:i}=t;if(intIdentify(i)&&i>=0)return n+i.toString(r);return s.stringifyNumber(t)}const i={identify:t=>intIdentify(t)&&t>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,r,n)=>intResolve(t,2,8,n),stringify:t=>intStringify(t,8,"0o")};const o={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,r,n)=>intResolve(t,0,10,n),stringify:s.stringifyNumber};const a={identify:t=>intIdentify(t)&&t>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,r,n)=>intResolve(t,2,16,n),stringify:t=>intStringify(t,16,"0x")};r.int=o;r.intHex=a;r.intOct=i},27:(t,r,n)=>{var s=n(83);var i=n(6703);var o=n(1693);var a=n(2201);var l=n(2045);var c=n(6810);var u=n(3019);const d=[s.map,o.seq,a.string,i.nullTag,l.boolTag,u.intOct,u.int,u.intHex,c.floatNaN,c.floatExp,c.float];r.schema=d},4545:(t,r,n)=>{var s=n(9338);var i=n(83);var o=n(1693);function intIdentify(t){return typeof t==="bigint"||Number.isInteger(t)}const stringifyJSON=({value:t})=>JSON.stringify(t);const a=[{identify:t=>typeof t==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:stringifyJSON},{identify:t=>t==null,createNode:()=>new s.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:t=>typeof t==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:stringifyJSON},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,r,{intAsBigInt:n})=>n?BigInt(t):parseInt(t,10),stringify:({value:t})=>intIdentify(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:stringifyJSON}];const l={default:true,tag:"",test:/^/,resolve(t,r){r(`Unresolved plain scalar ${JSON.stringify(t)}`);return t}};const c=[i.map,o.seq].concat(a,l);r.schema=c},4138:(t,r,n)=>{var s=n(83);var i=n(6703);var o=n(1693);var a=n(2201);var l=n(2045);var c=n(6810);var u=n(3019);var d=n(27);var p=n(4545);var h=n(5724);var m=n(8974);var g=n(9841);var y=n(5389);var b=n(7847);var _=n(1156);const S=new Map([["core",d.schema],["failsafe",[s.map,o.seq,a.string]],["json",p.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]);const E={binary:h.binary,bool:l.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:_.floatTime,int:u.int,intHex:u.intHex,intOct:u.intOct,intTime:_.intTime,map:s.map,null:i.nullTag,omap:m.omap,pairs:g.pairs,seq:o.seq,set:b.set,timestamp:_.timestamp};const v={"tag:yaml.org,2002:binary":h.binary,"tag:yaml.org,2002:omap":m.omap,"tag:yaml.org,2002:pairs":g.pairs,"tag:yaml.org,2002:set":b.set,"tag:yaml.org,2002:timestamp":_.timestamp};function getTags(t,r){let n=S.get(r);if(!n){if(Array.isArray(t))n=[];else{const t=Array.from(S.keys()).filter((t=>t!=="yaml11")).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${t} or define customTags array`)}}if(Array.isArray(t)){for(const r of t)n=n.concat(r)}else if(typeof t==="function"){n=t(n.slice())}return n.map((t=>{if(typeof t!=="string")return t;const r=E[t];if(r)return r;const n=Object.keys(E).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag "${t}"; use one of ${n}`)}))}r.coreKnownTags=v;r.getTags=getTags},5724:(t,r,n)=>{var s=n(9338);var i=n(6226);const o={identify:t=>t instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve(t,r){if(typeof Buffer==="function"){return Buffer.from(t,"base64")}else if(typeof atob==="function"){const r=atob(t.replace(/[\n\r]/g,""));const n=new Uint8Array(r.length);for(let t=0;t{var s=n(9338);function boolStringify({value:t,source:r},n){const s=t?i:o;if(r&&s.test.test(r))return r;return t?n.options.trueStr:n.options.falseStr}const i={identify:t=>t===true,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new s.Scalar(true),stringify:boolStringify};const o={identify:t=>t===false,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new s.Scalar(false),stringify:boolStringify};r.falseTag=o;r.trueTag=i},8035:(t,r,n)=>{var s=n(9338);var i=n(4174);const o={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:i.stringifyNumber};const a={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const r=Number(t.value);return isFinite(r)?r.toExponential():i.stringifyNumber(t)}};const l={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const r=new s.Scalar(parseFloat(t.replace(/_/g,"")));const n=t.indexOf(".");if(n!==-1){const s=t.substring(n+1).replace(/_/g,"");if(s[s.length-1]==="0")r.minFractionDigits=s.length}return r},stringify:i.stringifyNumber};r.float=l;r.floatExp=a;r.floatNaN=o},9503:(t,r,n)=>{var s=n(4174);const intIdentify=t=>typeof t==="bigint"||Number.isInteger(t);function intResolve(t,r,n,{intAsBigInt:s}){const i=t[0];if(i==="-"||i==="+")r+=1;t=t.substring(r).replace(/_/g,"");if(s){switch(n){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`;break}const r=BigInt(t);return i==="-"?BigInt(-1)*r:r}const o=parseInt(t,n);return i==="-"?-1*o:o}function intStringify(t,r,n){const{value:i}=t;if(intIdentify(i)){const t=i.toString(r);return i<0?"-"+n+t.substr(1):n+t}return s.stringifyNumber(t)}const i={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,r,n)=>intResolve(t,2,2,n),stringify:t=>intStringify(t,2,"0b")};const o={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,r,n)=>intResolve(t,1,8,n),stringify:t=>intStringify(t,8,"0")};const a={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,r,n)=>intResolve(t,0,10,n),stringify:s.stringifyNumber};const l={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,r,n)=>intResolve(t,2,16,n),stringify:t=>intStringify(t,16,"0x")};r.int=a;r.intBin=i;r.intHex=l;r.intOct=o},8974:(t,r,n)=>{var s=n(5589);var i=n(2358);var o=n(6011);var a=n(5161);var l=n(9841);class YAMLOMap extends a.YAMLSeq{constructor(){super();this.add=o.YAMLMap.prototype.add.bind(this);this.delete=o.YAMLMap.prototype.delete.bind(this);this.get=o.YAMLMap.prototype.get.bind(this);this.has=o.YAMLMap.prototype.has.bind(this);this.set=o.YAMLMap.prototype.set.bind(this);this.tag=YAMLOMap.tag}toJSON(t,r){if(!r)return super.toJSON(t);const n=new Map;if(r?.onCreate)r.onCreate(n);for(const t of this.items){let o,a;if(s.isPair(t)){o=i.toJS(t.key,"",r);a=i.toJS(t.value,o,r)}else{o=i.toJS(t,"",r)}if(n.has(o))throw new Error("Ordered maps must not include duplicate keys");n.set(o,a)}return n}static from(t,r,n){const s=l.createPairs(t,r,n);const i=new this;i.items=s.items;return i}}YAMLOMap.tag="tag:yaml.org,2002:omap";const c={collection:"seq",identify:t=>t instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve(t,r){const n=l.resolvePairs(t,r);const i=[];for(const{key:t}of n.items){if(s.isScalar(t)){if(i.includes(t.value)){r(`Ordered maps must not include duplicate keys: ${t.value}`)}else{i.push(t.value)}}}return Object.assign(new YAMLOMap,n)},createNode:(t,r,n)=>YAMLOMap.from(t,r,n)};r.YAMLOMap=YAMLOMap;r.omap=c},9841:(t,r,n)=>{var s=n(5589);var i=n(246);var o=n(9338);var a=n(5161);function resolvePairs(t,r){if(s.isSeq(t)){for(let n=0;n1)r("Each pair must have its own sequence indicator");const t=a.items[0]||new i.Pair(new o.Scalar(null));if(a.commentBefore)t.key.commentBefore=t.key.commentBefore?`${a.commentBefore}\n${t.key.commentBefore}`:a.commentBefore;if(a.comment){const r=t.value??t.key;r.comment=r.comment?`${a.comment}\n${r.comment}`:a.comment}a=t}t.items[n]=s.isPair(a)?a:new i.Pair(a)}}else r("Expected a sequence for this tag");return t}function createPairs(t,r,n){const{replacer:s}=n;const o=new a.YAMLSeq(t);o.tag="tag:yaml.org,2002:pairs";let l=0;if(r&&Symbol.iterator in Object(r))for(let t of r){if(typeof s==="function")t=s.call(r,String(l++),t);let a,c;if(Array.isArray(t)){if(t.length===2){a=t[0];c=t[1]}else throw new TypeError(`Expected [key, value] tuple: ${t}`)}else if(t&&t instanceof Object){const r=Object.keys(t);if(r.length===1){a=r[0];c=t[a]}else{throw new TypeError(`Expected tuple with one key, not ${r.length} keys`)}}else{a=t}o.items.push(i.createPair(a,c,n))}return o}const l={collection:"seq",default:false,tag:"tag:yaml.org,2002:pairs",resolve:resolvePairs,createNode:createPairs};r.createPairs=createPairs;r.pairs=l;r.resolvePairs=resolvePairs},5389:(t,r,n)=>{var s=n(83);var i=n(6703);var o=n(1693);var a=n(2201);var l=n(5724);var c=n(2631);var u=n(8035);var d=n(9503);var p=n(8974);var h=n(9841);var m=n(7847);var g=n(1156);const y=[s.map,o.seq,a.string,i.nullTag,c.trueTag,c.falseTag,d.intBin,d.intOct,d.int,d.intHex,u.floatNaN,u.floatExp,u.float,l.binary,p.omap,h.pairs,m.set,g.intTime,g.floatTime,g.timestamp];r.schema=y},7847:(t,r,n)=>{var s=n(5589);var i=n(246);var o=n(6011);class YAMLSet extends o.YAMLMap{constructor(t){super(t);this.tag=YAMLSet.tag}add(t){let r;if(s.isPair(t))r=t;else if(t&&typeof t==="object"&&"key"in t&&"value"in t&&t.value===null)r=new i.Pair(t.key,null);else r=new i.Pair(t,null);const n=o.findPair(this.items,r.key);if(!n)this.items.push(r)}get(t,r){const n=o.findPair(this.items,t);return!r&&s.isPair(n)?s.isScalar(n.key)?n.key.value:n.key:n}set(t,r){if(typeof r!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);const n=o.findPair(this.items,t);if(n&&!r){this.items.splice(this.items.indexOf(n),1)}else if(!n&&r){this.items.push(new i.Pair(t))}}toJSON(t,r){return super.toJSON(t,r,Set)}toString(t,r,n){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(true))return super.toString(Object.assign({},t,{allNullValues:true}),r,n);else throw new Error("Set items must all have null values")}static from(t,r,n){const{replacer:s}=n;const o=new this(t);if(r&&Symbol.iterator in Object(r))for(let t of r){if(typeof s==="function")t=s.call(r,t,t);o.items.push(i.createPair(t,null,n))}return o}}YAMLSet.tag="tag:yaml.org,2002:set";const a={collection:"map",identify:t=>t instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",createNode:(t,r,n)=>YAMLSet.from(t,r,n),resolve(t,r){if(s.isMap(t)){if(t.hasAllNullValues(true))return Object.assign(new YAMLSet,t);else r("Set items must all have null values")}else r("Expected a mapping for this tag");return t}};r.YAMLSet=YAMLSet;r.set=a},1156:(t,r,n)=>{var s=n(4174);function parseSexagesimal(t,r){const n=t[0];const s=n==="-"||n==="+"?t.substring(1):t;const num=t=>r?BigInt(t):Number(t);const i=s.replace(/_/g,"").split(":").reduce(((t,r)=>t*num(60)+num(r)),num(0));return n==="-"?num(-1)*i:i}function stringifySexagesimal(t){let{value:r}=t;let num=t=>t;if(typeof r==="bigint")num=t=>BigInt(t);else if(isNaN(r)||!isFinite(r))return s.stringifyNumber(t);let n="";if(r<0){n="-";r*=num(-1)}const i=num(60);const o=[r%i];if(r<60){o.unshift(0)}else{r=(r-o[0])/i;o.unshift(r%i);if(r>=60){r=(r-o[0])/i;o.unshift(r)}}return n+o.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const i={identify:t=>typeof t==="bigint"||Number.isInteger(t),default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,r,{intAsBigInt:n})=>parseSexagesimal(t,n),stringify:stringifySexagesimal};const o={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>parseSexagesimal(t,false),stringify:stringifySexagesimal};const a={identify:t=>t instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:"+"(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?$"),resolve(t){const r=t.match(a.test);if(!r)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,s,i,o,l,c]=r.map(Number);const u=r[7]?Number((r[7]+"00").substr(1,3)):0;let d=Date.UTC(n,s-1,i,o||0,l||0,c||0,u);const p=r[8];if(p&&p!=="Z"){let t=parseSexagesimal(p,false);if(Math.abs(t)<30)t*=60;d-=6e4*t}return new Date(d)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};r.floatTime=o;r.intTime=i;r.timestamp=a},2889:(t,r)=>{const n="flow";const s="block";const i="quoted";function foldFlowLines(t,r,n="flow",{indentAtStart:o,lineWidth:a=80,minContentWidth:l=20,onFold:c,onOverflow:u}={}){if(!a||a<0)return t;const d=Math.max(1+l,1+a-r.length);if(t.length<=d)return t;const p=[];const h={};let m=a-r.length;if(typeof o==="number"){if(o>a-Math.max(2,l))p.push(0);else m=a-o}let g=undefined;let y=undefined;let b=false;let _=-1;let S=-1;let E=-1;if(n===s){_=consumeMoreIndentedLines(t,_);if(_!==-1)m=_+d}for(let r;r=t[_+=1];){if(n===i&&r==="\\"){S=_;switch(t[_+1]){case"x":_+=3;break;case"u":_+=5;break;case"U":_+=9;break;default:_+=1}E=_}if(r==="\n"){if(n===s)_=consumeMoreIndentedLines(t,_);m=_+d;g=undefined}else{if(r===" "&&y&&y!==" "&&y!=="\n"&&y!=="\t"){const r=t[_+1];if(r&&r!==" "&&r!=="\n"&&r!=="\t")g=_}if(_>=m){if(g){p.push(g);m=g+d;g=undefined}else if(n===i){while(y===" "||y==="\t"){y=r;r=t[_+=1];b=true}const n=_>E+1?_-2:S-1;if(h[n])return t;p.push(n);h[n]=true;m=n+d;g=undefined}else{b=true}}}y=r}if(b&&u)u();if(p.length===0)return t;if(c)c();let v=t.slice(0,p[0]);for(let s=0;s{var s=n(8459);var i=n(5589);var o=n(5182);var a=n(6226);function createStringifyContext(t,r){const n=Object.assign({blockQuote:true,commentString:o.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:false,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:true,indentSeq:true,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:false,singleQuote:null,trueStr:"true",verifyAliasOrder:true},t.schema.toStringOptions,r);let s;switch(n.collectionStyle){case"block":s=false;break;case"flow":s=true;break;default:s=null}return{anchors:new Set,doc:t,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent==="number"?" ".repeat(n.indent):" ",inFlow:s,options:n}}function getTagObject(t,r){if(r.tag){const n=t.filter((t=>t.tag===r.tag));if(n.length>0)return n.find((t=>t.format===r.format))??n[0]}let n=undefined;let s;if(i.isScalar(r)){s=r.value;const i=t.filter((t=>t.identify?.(s)));n=i.find((t=>t.format===r.format))??i.find((t=>!t.format))}else{s=r;n=t.find((t=>t.nodeClass&&s instanceof t.nodeClass))}if(!n){const t=s?.constructor?.name??typeof s;throw new Error(`Tag not resolved for ${t} value`)}return n}function stringifyProps(t,r,{anchors:n,doc:o}){if(!o.directives)return"";const a=[];const l=(i.isScalar(t)||i.isCollection(t))&&t.anchor;if(l&&s.anchorIsValid(l)){n.add(l);a.push(`&${l}`)}const c=t.tag?t.tag:r.default?null:r.tag;if(c)a.push(o.directives.tagString(c));return a.join(" ")}function stringify(t,r,n,s){if(i.isPair(t))return t.toString(r,n,s);if(i.isAlias(t)){if(r.doc.directives)return t.toString(r);if(r.resolvedAliases?.has(t)){throw new TypeError(`Cannot stringify circular structure without alias nodes`)}else{if(r.resolvedAliases)r.resolvedAliases.add(t);else r.resolvedAliases=new Set([t]);t=t.resolve(r.doc)}}let o=undefined;const l=i.isNode(t)?t:r.doc.createNode(t,{onTagObj:t=>o=t});if(!o)o=getTagObject(r.doc.schema.tags,l);const c=stringifyProps(l,o,r);if(c.length>0)r.indentAtStart=(r.indentAtStart??0)+c.length+1;const u=typeof o.stringify==="function"?o.stringify(l,r,n,s):i.isScalar(l)?a.stringifyString(l,r,n,s):l.toString(r,n,s);if(!c)return u;return i.isScalar(l)||u[0]==="{"||u[0]==="["?`${c} ${u}`:`${c}\n${r.indent}${u}`}r.createStringifyContext=createStringifyContext;r.stringify=stringify},2466:(t,r,n)=>{var s=n(2240);var i=n(5589);var o=n(8409);var a=n(5182);function stringifyCollection(t,r,n){const s=r.inFlow??t.flow;const i=s?stringifyFlowCollection:stringifyBlockCollection;return i(t,r,n)}function stringifyBlockCollection({comment:t,items:r},n,{blockItemPrefix:s,flowChars:l,itemIndent:c,onChompKeep:u,onComment:d}){const{indent:p,options:{commentString:h}}=n;const m=Object.assign({},n,{indent:c,type:null});let g=false;const y=[];for(let t=0;tu=null),(()=>g=true));if(u)d+=a.lineComment(d,c,h(u));if(g&&u)g=false;y.push(s+d)}let b;if(y.length===0){b=l.start+l.end}else{b=y[0];for(let t=1;tl=null));if(tb||u.includes("\n")))y=true;_.push(u);b=_.length}let S;const{start:E,end:v}=l;if(_.length===0){S=E+v}else{if(!y){const t=_.reduce(((t,r)=>t+r.length+2),2);y=t>s.Collection.maxFlowStringSingleLineLength}if(y){S=E;for(const t of _)S+=t?`\n${p}${d}${t}`:"\n";S+=`\n${d}${v}`}else{S=`${E}${h}${_.join(" ")}${h}${v}`}}if(t){S+=a.lineComment(S,d,m(t));if(u)u()}return S}function addCommentBefore({indent:t,options:{commentString:r}},n,s,i){if(s&&i)s=s.replace(/^\n+/,"");if(s){const i=a.indentComment(r(s),t);n.push(i.trimStart())}}r.stringifyCollection=stringifyCollection},5182:(t,r)=>{const stringifyComment=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function indentComment(t,r){if(/^\n+$/.test(t))return t.substring(1);return r?t.replace(/^(?! *$)/gm,r):t}const lineComment=(t,r,n)=>t.endsWith("\n")?indentComment(n,r):n.includes("\n")?"\n"+indentComment(n,r):(t.endsWith(" ")?"":" ")+n;r.indentComment=indentComment;r.lineComment=lineComment;r.stringifyComment=stringifyComment},5225:(t,r,n)=>{var s=n(5589);var i=n(8409);var o=n(5182);function stringifyDocument(t,r){const n=[];let a=r.directives===true;if(r.directives!==false&&t.directives){const r=t.directives.toString(t);if(r){n.push(r);a=true}else if(t.directives.docStart)a=true}if(a)n.push("---");const l=i.createStringifyContext(t,r);const{commentString:c}=l.options;if(t.commentBefore){if(n.length!==1)n.unshift("");const r=c(t.commentBefore);n.unshift(o.indentComment(r,""))}let u=false;let d=null;if(t.contents){if(s.isNode(t.contents)){if(t.contents.spaceBefore&&a)n.push("");if(t.contents.commentBefore){const r=c(t.contents.commentBefore);n.push(o.indentComment(r,""))}l.forceBlockIndent=!!t.comment;d=t.contents.comment}const r=d?undefined:()=>u=true;let p=i.stringify(t.contents,l,(()=>d=null),r);if(d)p+=o.lineComment(p,"",c(d));if((p[0]==="|"||p[0]===">")&&n[n.length-1]==="---"){n[n.length-1]=`--- ${p}`}else n.push(p)}else{n.push(i.stringify(t.contents,l))}if(t.directives?.docEnd){if(t.comment){const r=c(t.comment);if(r.includes("\n")){n.push("...");n.push(o.indentComment(r,""))}else{n.push(`... ${r}`)}}else{n.push("...")}}else{let r=t.comment;if(r&&u)r=r.replace(/^\n+/,"");if(r){if((!u||d)&&n[n.length-1]!=="")n.push("");n.push(o.indentComment(c(r),""))}}return n.join("\n")+"\n"}r.stringifyDocument=stringifyDocument},4174:(t,r)=>{function stringifyNumber({format:t,minFractionDigits:r,tag:n,value:s}){if(typeof s==="bigint")return String(s);const i=typeof s==="number"?s:Number(s);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let o=JSON.stringify(s);if(!t&&r&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(o)){let t=o.indexOf(".");if(t<0){t=o.length;o+="."}let n=r-(o.length-t-1);while(n-- >0)o+="0"}return o}r.stringifyNumber=stringifyNumber},4875:(t,r,n)=>{var s=n(5589);var i=n(9338);var o=n(8409);var a=n(5182);function stringifyPair({key:t,value:r},n,l,c){const{allNullValues:u,doc:d,indent:p,indentStep:h,options:{commentString:m,indentSeq:g,simpleKeys:y}}=n;let b=s.isNode(t)&&t.comment||null;if(y){if(b){throw new Error("With simple keys, key nodes cannot have comments")}if(s.isCollection(t)){const t="With simple keys, collection cannot be used as a key value";throw new Error(t)}}let _=!y&&(!t||b&&r==null&&!n.inFlow||s.isCollection(t)||(s.isScalar(t)?t.type===i.Scalar.BLOCK_FOLDED||t.type===i.Scalar.BLOCK_LITERAL:typeof t==="object"));n=Object.assign({},n,{allNullValues:false,implicitKey:!_&&(y||!u),indent:p+h});let S=false;let E=false;let v=o.stringify(t,n,(()=>S=true),(()=>E=true));if(!_&&!n.inFlow&&v.length>1024){if(y)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");_=true}if(n.inFlow){if(u||r==null){if(S&&l)l();return v===""?"?":_?`? ${v}`:v}}else if(u&&!y||r==null&&_){v=`? ${v}`;if(b&&!S){v+=a.lineComment(v,n.indent,m(b))}else if(E&&c)c();return v}if(S)b=null;if(_){if(b)v+=a.lineComment(v,n.indent,m(b));v=`? ${v}\n${p}:`}else{v=`${v}:`;if(b)v+=a.lineComment(v,n.indent,m(b))}let R,w,C;if(s.isNode(r)){R=!!r.spaceBefore;w=r.commentBefore;C=r.comment}else{R=false;w=null;C=null;if(r&&typeof r==="object")r=d.createNode(r)}n.implicitKey=false;if(!_&&!b&&s.isScalar(r))n.indentAtStart=v.length+1;E=false;if(!g&&h.length>=2&&!n.inFlow&&!_&&s.isSeq(r)&&!r.flow&&!r.tag&&!r.anchor){n.indent=n.indent.substring(2)}let A=false;const T=o.stringify(r,n,(()=>A=true),(()=>E=true));let I=" ";if(b||R||w){I=R?"\n":"";if(w){const t=m(w);I+=`\n${a.indentComment(t,n.indent)}`}if(T===""&&!n.inFlow){if(I==="\n")I="\n\n"}else{I+=`\n${n.indent}`}}else if(!_&&s.isCollection(r)){const t=T[0];const s=T.indexOf("\n");const i=s!==-1;const o=n.inFlow??r.flow??r.items.length===0;if(i||!o){let r=false;if(i&&(t==="&"||t==="!")){let n=T.indexOf(" ");if(t==="&"&&n!==-1&&n{var s=n(9338);var i=n(2889);const getFoldOptions=(t,r)=>({indentAtStart:r?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth});const containsDocumentMarker=t=>/^(%|---|\.\.\.)/m.test(t);function lineLengthOverLimit(t,r,n){if(!r||r<0)return false;const s=r-n;const i=t.length;if(i<=s)return false;for(let r=0,n=0;rs)return true;n=r+1;if(i-n<=s)return false}}return true}function doubleQuotedString(t,r){const n=JSON.stringify(t);if(r.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=r;const o=r.options.doubleQuotedMinMultiLineLength;const a=r.indent||(containsDocumentMarker(t)?" ":"");let l="";let c=0;for(let t=0,r=n[t];r;r=n[++t]){if(r===" "&&n[t+1]==="\\"&&n[t+2]==="n"){l+=n.slice(c,t)+"\\ ";t+=1;c=t;r="\\"}if(r==="\\")switch(n[t+1]){case"u":{l+=n.slice(c,t);const r=n.substr(t+2,4);switch(r){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:if(r.substr(0,2)==="00")l+="\\x"+r.substr(2);else l+=n.substr(t,6)}t+=5;c=t+1}break;case"n":if(s||n[t+2]==='"'||n.length\n";let g;let y;for(y=n.length;y>0;--y){const t=n[y-1];if(t!=="\n"&&t!=="\t"&&t!==" ")break}let b=n.substring(y);const _=b.indexOf("\n");if(_===-1){g="-"}else if(n===b||_!==b.length-1){g="+";if(c)c()}else{g=""}if(b){n=n.slice(0,-b.length);if(b[b.length-1]==="\n")b=b.slice(0,-1);b=b.replace(o,`$&${h}`)}let S=false;let E;let v=-1;for(E=0;E")+(S?w:"")+g;if(t){C+=" "+d(t.replace(/ ?[\r\n]+/g," "));if(l)l()}if(m){n=n.replace(/\n+/g,`$&${h}`);return`${C}\n${h}${R}${n}${b}`}n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${h}`);const A=i.foldFlowLines(`${R}${n}${b}`,h,i.FOLD_BLOCK,getFoldOptions(a,true));return`${C}\n${h}${A}`}function plainString(t,r,n,o){const{type:a,value:l}=t;const{actualString:c,implicitKey:u,indent:d,indentStep:p,inFlow:h}=r;if(u&&l.includes("\n")||h&&/[[\]{},]/.test(l)){return quotedString(l,r)}if(!l||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(l)){return u||h||!l.includes("\n")?quotedString(l,r):blockString(t,r,n,o)}if(!u&&!h&&a!==s.Scalar.PLAIN&&l.includes("\n")){return blockString(t,r,n,o)}if(containsDocumentMarker(l)){if(d===""){r.forceBlockIndent=true;return blockString(t,r,n,o)}else if(u&&d===p){return quotedString(l,r)}}const m=l.replace(/\n+/g,`$&\n${d}`);if(c){const test=t=>t.default&&t.tag!=="tag:yaml.org,2002:str"&&t.test?.test(m);const{compat:t,tags:n}=r.doc.schema;if(n.some(test)||t?.some(test))return quotedString(l,r)}return u?m:i.foldFlowLines(m,d,i.FOLD_FLOW,getFoldOptions(r,false))}function stringifyString(t,r,n,i){const{implicitKey:o,inFlow:a}=r;const l=typeof t.value==="string"?t:Object.assign({},t,{value:String(t.value)});let{type:c}=t;if(c!==s.Scalar.QUOTE_DOUBLE){if(/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(l.value))c=s.Scalar.QUOTE_DOUBLE}const _stringify=t=>{switch(t){case s.Scalar.BLOCK_FOLDED:case s.Scalar.BLOCK_LITERAL:return o||a?quotedString(l.value,r):blockString(l,r,n,i);case s.Scalar.QUOTE_DOUBLE:return doubleQuotedString(l.value,r);case s.Scalar.QUOTE_SINGLE:return singleQuotedString(l.value,r);case s.Scalar.PLAIN:return plainString(l,r,n,i);default:return null}};let u=_stringify(c);if(u===null){const{defaultKeyType:t,defaultStringType:n}=r.options;const s=o&&t||n;u=_stringify(s);if(u===null)throw new Error(`Unsupported default string type ${s}`)}return u}r.stringifyString=stringifyString},6796:(t,r,n)=>{var s=n(5589);const i=Symbol("break visit");const o=Symbol("skip children");const a=Symbol("remove node");function visit(t,r){const n=initVisitor(r);if(s.isDocument(t)){const r=visit_(null,t.contents,n,Object.freeze([t]));if(r===a)t.contents=null}else visit_(null,t,n,Object.freeze([]))}visit.BREAK=i;visit.SKIP=o;visit.REMOVE=a;function visit_(t,r,n,o){const l=callVisitor(t,r,n,o);if(s.isNode(l)||s.isPair(l)){replaceNode(t,o,l);return visit_(t,l,n,o)}if(typeof l!=="symbol"){if(s.isCollection(r)){o=Object.freeze(o.concat(r));for(let t=0;t{const s=65536;if(!globalThis.ReadableStream){try{const t=n(7742);const{emitWarning:r}=t;try{t.emitWarning=()=>{};Object.assign(globalThis,n(2477));t.emitWarning=r}catch(n){t.emitWarning=r;throw n}}catch(t){Object.assign(globalThis,n(1452))}}try{const{Blob:t}=n(4300);if(t&&!t.prototype.stream){t.prototype.stream=function name(t){let r=0;const n=this;return new ReadableStream({type:"bytes",async pull(t){const i=n.slice(r,Math.min(n.size,r+s));const o=await i.arrayBuffer();r+=o.byteLength;t.enqueue(new Uint8Array(o));if(r===n.size){t.close()}}})}}}catch(t){}},3213:(t,r,n)=>{n.d(r,{Z:()=>a});var s=n(1410);const i=class File extends s.Z{#e=0;#t="";constructor(t,r,n={}){if(arguments.length<2){throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`)}super(t,n);if(n===null)n={};const s=n.lastModified===undefined?Date.now():Number(n.lastModified);if(!Number.isNaN(s)){this.#e=s}this.#t=String(r)}get name(){return this.#t}get lastModified(){return this.#e}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](t){return!!t&&t instanceof s.Z&&/^(File)$/.test(t[Symbol.toStringTag])}};const o=i;const a=o},2185:(t,r,n)=>{n.d(r,{$B:()=>a.Z,SX:()=>blobFromSync});var s=n(7561);var i=n(9411);var o=n(7760);var a=n(3213);var l=n(1410);const{stat:c}=s.promises;const blobFromSync=(t,r)=>fromBlob((0,s.statSync)(t),t,r);const blobFrom=(t,r)=>c(t).then((n=>fromBlob(n,t,r)));const fileFrom=(t,r)=>c(t).then((n=>fromFile(n,t,r)));const fileFromSync=(t,r)=>fromFile(statSync(t),t,r);const fromBlob=(t,r,n="")=>new l.Z([new BlobDataItem({path:r,size:t.size,lastModified:t.mtimeMs,start:0})],{type:n});const fromFile=(t,r,n="")=>new File([new BlobDataItem({path:r,size:t.size,lastModified:t.mtimeMs,start:0})],basename(r),{type:n,lastModified:t.mtimeMs});class BlobDataItem{#r;#n;constructor(t){this.#r=t.path;this.#n=t.start;this.size=t.size;this.lastModified=t.lastModified}slice(t,r){return new BlobDataItem({path:this.#r,lastModified:this.lastModified,size:r-t,start:this.#n+t})}async*stream(){const{mtimeMs:t}=await c(this.#r);if(t>this.lastModified){throw new o("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.","NotReadableError")}yield*(0,s.createReadStream)(this.#r,{start:this.#n,end:this.#n+this.size-1})}get[Symbol.toStringTag](){return"Blob"}}var u=null&&blobFromSync},1410:(t,r,n)=>{n.d(r,{Z:()=>l});var s=n(8572); +(function(t,n){true?n(r):0})(this,(function(t){"use strict";const r=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol:t=>`Symbol(${t})`;function noop(){return undefined}function typeIsObject(t){return typeof t==="object"&&t!==null||typeof t==="function"}const n=noop;function setFunctionName(t,r){try{Object.defineProperty(t,"name",{value:r,configurable:true})}catch(t){}}const s=Promise;const i=Promise.prototype.then;const o=Promise.reject.bind(s);function newPromise(t){return new s(t)}function promiseResolvedWith(t){return newPromise((r=>r(t)))}function promiseRejectedWith(t){return o(t)}function PerformPromiseThen(t,r,n){return i.call(t,r,n)}function uponPromise(t,r,s){PerformPromiseThen(PerformPromiseThen(t,r,s),undefined,n)}function uponFulfillment(t,r){uponPromise(t,r)}function uponRejection(t,r){uponPromise(t,undefined,r)}function transformPromiseWith(t,r,n){return PerformPromiseThen(t,r,n)}function setPromiseIsHandledToTrue(t){PerformPromiseThen(t,undefined,n)}let _queueMicrotask=t=>{if(typeof queueMicrotask==="function"){_queueMicrotask=queueMicrotask}else{const t=promiseResolvedWith(undefined);_queueMicrotask=r=>PerformPromiseThen(t,r)}return _queueMicrotask(t)};function reflectCall(t,r,n){if(typeof t!=="function"){throw new TypeError("Argument is not a function")}return Function.prototype.apply.call(t,r,n)}function promiseCall(t,r,n){try{return promiseResolvedWith(reflectCall(t,r,n))}catch(t){return promiseRejectedWith(t)}}const a=16384;class SimpleQueue{constructor(){this._cursor=0;this._size=0;this._front={_elements:[],_next:undefined};this._back=this._front;this._cursor=0;this._size=0}get length(){return this._size}push(t){const r=this._back;let n=r;if(r._elements.length===a-1){n={_elements:[],_next:undefined}}r._elements.push(t);if(n!==r){this._back=n;r._next=n}++this._size}shift(){const t=this._front;let r=t;const n=this._cursor;let s=n+1;const i=t._elements;const o=i[n];if(s===a){r=t._next;s=0}--this._size;this._cursor=s;if(t!==r){this._front=r}i[n]=undefined;return o}forEach(t){let r=this._cursor;let n=this._front;let s=n._elements;while(r!==s.length||n._next!==undefined){if(r===s.length){n=n._next;s=n._elements;r=0;if(s.length===0){break}}t(s[r]);++r}}peek(){const t=this._front;const r=this._cursor;return t._elements[r]}}const l=r("[[AbortSteps]]");const c=r("[[ErrorSteps]]");const u=r("[[CancelSteps]]");const d=r("[[PullSteps]]");const p=r("[[ReleaseSteps]]");function ReadableStreamReaderGenericInitialize(t,r){t._ownerReadableStream=r;r._reader=t;if(r._state==="readable"){defaultReaderClosedPromiseInitialize(t)}else if(r._state==="closed"){defaultReaderClosedPromiseInitializeAsResolved(t)}else{defaultReaderClosedPromiseInitializeAsRejected(t,r._storedError)}}function ReadableStreamReaderGenericCancel(t,r){const n=t._ownerReadableStream;return ReadableStreamCancel(n,r)}function ReadableStreamReaderGenericRelease(t){const r=t._ownerReadableStream;if(r._state==="readable"){defaultReaderClosedPromiseReject(t,new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`))}else{defaultReaderClosedPromiseResetToRejected(t,new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`))}r._readableStreamController[p]();r._reader=undefined;t._ownerReadableStream=undefined}function readerLockException(t){return new TypeError("Cannot "+t+" a stream using a released reader")}function defaultReaderClosedPromiseInitialize(t){t._closedPromise=newPromise(((r,n)=>{t._closedPromise_resolve=r;t._closedPromise_reject=n}))}function defaultReaderClosedPromiseInitializeAsRejected(t,r){defaultReaderClosedPromiseInitialize(t);defaultReaderClosedPromiseReject(t,r)}function defaultReaderClosedPromiseInitializeAsResolved(t){defaultReaderClosedPromiseInitialize(t);defaultReaderClosedPromiseResolve(t)}function defaultReaderClosedPromiseReject(t,r){if(t._closedPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._closedPromise);t._closedPromise_reject(r);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined}function defaultReaderClosedPromiseResetToRejected(t,r){defaultReaderClosedPromiseInitializeAsRejected(t,r)}function defaultReaderClosedPromiseResolve(t){if(t._closedPromise_resolve===undefined){return}t._closedPromise_resolve(undefined);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined}const h=Number.isFinite||function(t){return typeof t==="number"&&isFinite(t)};const m=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};function isDictionary(t){return typeof t==="object"||typeof t==="function"}function assertDictionary(t,r){if(t!==undefined&&!isDictionary(t)){throw new TypeError(`${r} is not an object.`)}}function assertFunction(t,r){if(typeof t!=="function"){throw new TypeError(`${r} is not a function.`)}}function isObject(t){return typeof t==="object"&&t!==null||typeof t==="function"}function assertObject(t,r){if(!isObject(t)){throw new TypeError(`${r} is not an object.`)}}function assertRequiredArgument(t,r,n){if(t===undefined){throw new TypeError(`Parameter ${r} is required in '${n}'.`)}}function assertRequiredField(t,r,n){if(t===undefined){throw new TypeError(`${r} is required in '${n}'.`)}}function convertUnrestrictedDouble(t){return Number(t)}function censorNegativeZero(t){return t===0?0:t}function integerPart(t){return censorNegativeZero(m(t))}function convertUnsignedLongLongWithEnforceRange(t,r){const n=0;const s=Number.MAX_SAFE_INTEGER;let i=Number(t);i=censorNegativeZero(i);if(!h(i)){throw new TypeError(`${r} is not a finite number`)}i=integerPart(i);if(is){throw new TypeError(`${r} is outside the accepted range of ${n} to ${s}, inclusive`)}if(!h(i)||i===0){return 0}return i}function assertReadableStream(t,r){if(!IsReadableStream(t)){throw new TypeError(`${r} is not a ReadableStream.`)}}function AcquireReadableStreamDefaultReader(t){return new ReadableStreamDefaultReader(t)}function ReadableStreamAddReadRequest(t,r){t._reader._readRequests.push(r)}function ReadableStreamFulfillReadRequest(t,r,n){const s=t._reader;const i=s._readRequests.shift();if(n){i._closeSteps()}else{i._chunkSteps(r)}}function ReadableStreamGetNumReadRequests(t){return t._reader._readRequests.length}function ReadableStreamHasDefaultReader(t){const r=t._reader;if(r===undefined){return false}if(!IsReadableStreamDefaultReader(r)){return false}return true}class ReadableStreamDefaultReader{constructor(t){assertRequiredArgument(t,1,"ReadableStreamDefaultReader");assertReadableStream(t,"First parameter");if(IsReadableStreamLocked(t)){throw new TypeError("This stream has already been locked for exclusive reading by another reader")}ReadableStreamReaderGenericInitialize(this,t);this._readRequests=new SimpleQueue}get closed(){if(!IsReadableStreamDefaultReader(this)){return promiseRejectedWith(defaultReaderBrandCheckException("closed"))}return this._closedPromise}cancel(t=undefined){if(!IsReadableStreamDefaultReader(this)){return promiseRejectedWith(defaultReaderBrandCheckException("cancel"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("cancel"))}return ReadableStreamReaderGenericCancel(this,t)}read(){if(!IsReadableStreamDefaultReader(this)){return promiseRejectedWith(defaultReaderBrandCheckException("read"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("read from"))}let t;let r;const n=newPromise(((n,s)=>{t=n;r=s}));const s={_chunkSteps:r=>t({value:r,done:false}),_closeSteps:()=>t({value:undefined,done:true}),_errorSteps:t=>r(t)};ReadableStreamDefaultReaderRead(this,s);return n}releaseLock(){if(!IsReadableStreamDefaultReader(this)){throw defaultReaderBrandCheckException("releaseLock")}if(this._ownerReadableStream===undefined){return}ReadableStreamDefaultReaderRelease(this)}}Object.defineProperties(ReadableStreamDefaultReader.prototype,{cancel:{enumerable:true},read:{enumerable:true},releaseLock:{enumerable:true},closed:{enumerable:true}});setFunctionName(ReadableStreamDefaultReader.prototype.cancel,"cancel");setFunctionName(ReadableStreamDefaultReader.prototype.read,"read");setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock,"releaseLock");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamDefaultReader.prototype,r.toStringTag,{value:"ReadableStreamDefaultReader",configurable:true})}function IsReadableStreamDefaultReader(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_readRequests")){return false}return t instanceof ReadableStreamDefaultReader}function ReadableStreamDefaultReaderRead(t,r){const n=t._ownerReadableStream;n._disturbed=true;if(n._state==="closed"){r._closeSteps()}else if(n._state==="errored"){r._errorSteps(n._storedError)}else{n._readableStreamController[d](r)}}function ReadableStreamDefaultReaderRelease(t){ReadableStreamReaderGenericRelease(t);const r=new TypeError("Reader was released");ReadableStreamDefaultReaderErrorReadRequests(t,r)}function ReadableStreamDefaultReaderErrorReadRequests(t,r){const n=t._readRequests;t._readRequests=new SimpleQueue;n.forEach((t=>{t._errorSteps(r)}))}function defaultReaderBrandCheckException(t){return new TypeError(`ReadableStreamDefaultReader.prototype.${t} can only be used on a ReadableStreamDefaultReader`)}const g=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);class ReadableStreamAsyncIteratorImpl{constructor(t,r){this._ongoingPromise=undefined;this._isFinished=false;this._reader=t;this._preventCancel=r}next(){const nextSteps=()=>this._nextSteps();this._ongoingPromise=this._ongoingPromise?transformPromiseWith(this._ongoingPromise,nextSteps,nextSteps):nextSteps();return this._ongoingPromise}return(t){const returnSteps=()=>this._returnSteps(t);return this._ongoingPromise?transformPromiseWith(this._ongoingPromise,returnSteps,returnSteps):returnSteps()}_nextSteps(){if(this._isFinished){return Promise.resolve({value:undefined,done:true})}const t=this._reader;let r;let n;const s=newPromise(((t,s)=>{r=t;n=s}));const i={_chunkSteps:t=>{this._ongoingPromise=undefined;_queueMicrotask((()=>r({value:t,done:false})))},_closeSteps:()=>{this._ongoingPromise=undefined;this._isFinished=true;ReadableStreamReaderGenericRelease(t);r({value:undefined,done:true})},_errorSteps:r=>{this._ongoingPromise=undefined;this._isFinished=true;ReadableStreamReaderGenericRelease(t);n(r)}};ReadableStreamDefaultReaderRead(t,i);return s}_returnSteps(t){if(this._isFinished){return Promise.resolve({value:t,done:true})}this._isFinished=true;const r=this._reader;if(!this._preventCancel){const n=ReadableStreamReaderGenericCancel(r,t);ReadableStreamReaderGenericRelease(r);return transformPromiseWith(n,(()=>({value:t,done:true})))}ReadableStreamReaderGenericRelease(r);return promiseResolvedWith({value:t,done:true})}}const y={next(){if(!IsReadableStreamAsyncIterator(this)){return promiseRejectedWith(streamAsyncIteratorBrandCheckException("next"))}return this._asyncIteratorImpl.next()},return(t){if(!IsReadableStreamAsyncIterator(this)){return promiseRejectedWith(streamAsyncIteratorBrandCheckException("return"))}return this._asyncIteratorImpl.return(t)}};if(g!==undefined){Object.setPrototypeOf(y,g)}function AcquireReadableStreamAsyncIterator(t,r){const n=AcquireReadableStreamDefaultReader(t);const s=new ReadableStreamAsyncIteratorImpl(n,r);const i=Object.create(y);i._asyncIteratorImpl=s;return i}function IsReadableStreamAsyncIterator(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_asyncIteratorImpl")){return false}try{return t._asyncIteratorImpl instanceof ReadableStreamAsyncIteratorImpl}catch(t){return false}}function streamAsyncIteratorBrandCheckException(t){return new TypeError(`ReadableStreamAsyncIterator.${t} can only be used on a ReadableSteamAsyncIterator`)}const b=Number.isNaN||function(t){return t!==t};function CreateArrayFromList(t){return t.slice()}function CopyDataBlockBytes(t,r,n,s,i){new Uint8Array(t).set(new Uint8Array(n,s,i),r)}let TransferArrayBuffer=t=>{if(typeof t.transfer==="function"){TransferArrayBuffer=t=>t.transfer()}else if(typeof structuredClone==="function"){TransferArrayBuffer=t=>structuredClone(t,{transfer:[t]})}else{TransferArrayBuffer=t=>t}return TransferArrayBuffer(t)};let IsDetachedBuffer=t=>{if(typeof t.detached==="boolean"){IsDetachedBuffer=t=>t.detached}else{IsDetachedBuffer=t=>t.byteLength===0}return IsDetachedBuffer(t)};function ArrayBufferSlice(t,r,n){if(t.slice){return t.slice(r,n)}const s=n-r;const i=new ArrayBuffer(s);CopyDataBlockBytes(i,0,t,r,s);return i}function GetMethod(t,r){const n=t[r];if(n===undefined||n===null){return undefined}if(typeof n!=="function"){throw new TypeError(`${String(r)} is not a function`)}return n}function CreateAsyncFromSyncIterator(t){const n={[r.iterator]:()=>t.iterator};const s=async function*(){return yield*n}();const i=s.next;return{iterator:s,nextMethod:i,done:false}}function GetIterator(t,n="sync",s){if(s===undefined){if(n==="async"){s=GetMethod(t,r.asyncIterator);if(s===undefined){const n=GetMethod(t,r.iterator);const s=GetIterator(t,"sync",n);return CreateAsyncFromSyncIterator(s)}}else{s=GetMethod(t,r.iterator)}}if(s===undefined){throw new TypeError("The object is not iterable")}const i=reflectCall(s,t,[]);if(!typeIsObject(i)){throw new TypeError("The iterator method must return an object")}const o=i.next;return{iterator:i,nextMethod:o,done:false}}function IteratorNext(t){const r=reflectCall(t.nextMethod,t.iterator,[]);if(!typeIsObject(r)){throw new TypeError("The iterator.next() method must return an object")}return r}function IteratorComplete(t){return Boolean(t.done)}function IteratorValue(t){return t.value}function IsNonNegativeNumber(t){if(typeof t!=="number"){return false}if(b(t)){return false}if(t<0){return false}return true}function CloneAsUint8Array(t){const r=ArrayBufferSlice(t.buffer,t.byteOffset,t.byteOffset+t.byteLength);return new Uint8Array(r)}function DequeueValue(t){const r=t._queue.shift();t._queueTotalSize-=r.size;if(t._queueTotalSize<0){t._queueTotalSize=0}return r.value}function EnqueueValueWithSize(t,r,n){if(!IsNonNegativeNumber(n)||n===Infinity){throw new RangeError("Size must be a finite, non-NaN, non-negative number.")}t._queue.push({value:r,size:n});t._queueTotalSize+=n}function PeekQueueValue(t){const r=t._queue.peek();return r.value}function ResetQueue(t){t._queue=new SimpleQueue;t._queueTotalSize=0}function isDataViewConstructor(t){return t===DataView}function isDataView(t){return isDataViewConstructor(t.constructor)}function arrayBufferViewElementSize(t){if(isDataViewConstructor(t)){return 1}return t.BYTES_PER_ELEMENT}class ReadableStreamBYOBRequest{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!IsReadableStreamBYOBRequest(this)){throw byobRequestBrandCheckException("view")}return this._view}respond(t){if(!IsReadableStreamBYOBRequest(this)){throw byobRequestBrandCheckException("respond")}assertRequiredArgument(t,1,"respond");t=convertUnsignedLongLongWithEnforceRange(t,"First parameter");if(this._associatedReadableByteStreamController===undefined){throw new TypeError("This BYOB request has been invalidated")}if(IsDetachedBuffer(this._view.buffer)){throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`)}ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!IsReadableStreamBYOBRequest(this)){throw byobRequestBrandCheckException("respondWithNewView")}assertRequiredArgument(t,1,"respondWithNewView");if(!ArrayBuffer.isView(t)){throw new TypeError("You can only respond with array buffer views")}if(this._associatedReadableByteStreamController===undefined){throw new TypeError("This BYOB request has been invalidated")}if(IsDetachedBuffer(t.buffer)){throw new TypeError("The given view's buffer has been detached and so cannot be used as a response")}ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController,t)}}Object.defineProperties(ReadableStreamBYOBRequest.prototype,{respond:{enumerable:true},respondWithNewView:{enumerable:true},view:{enumerable:true}});setFunctionName(ReadableStreamBYOBRequest.prototype.respond,"respond");setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView,"respondWithNewView");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamBYOBRequest.prototype,r.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:true})}class ReadableByteStreamController{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("byobRequest")}return ReadableByteStreamControllerGetBYOBRequest(this)}get desiredSize(){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("desiredSize")}return ReadableByteStreamControllerGetDesiredSize(this)}close(){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("close")}if(this._closeRequested){throw new TypeError("The stream has already been closed; do not close it again!")}const t=this._controlledReadableByteStream._state;if(t!=="readable"){throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`)}ReadableByteStreamControllerClose(this)}enqueue(t){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("enqueue")}assertRequiredArgument(t,1,"enqueue");if(!ArrayBuffer.isView(t)){throw new TypeError("chunk must be an array buffer view")}if(t.byteLength===0){throw new TypeError("chunk must have non-zero byteLength")}if(t.buffer.byteLength===0){throw new TypeError(`chunk's buffer must have non-zero byteLength`)}if(this._closeRequested){throw new TypeError("stream is closed or draining")}const r=this._controlledReadableByteStream._state;if(r!=="readable"){throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`)}ReadableByteStreamControllerEnqueue(this,t)}error(t=undefined){if(!IsReadableByteStreamController(this)){throw byteStreamControllerBrandCheckException("error")}ReadableByteStreamControllerError(this,t)}[u](t){ReadableByteStreamControllerClearPendingPullIntos(this);ResetQueue(this);const r=this._cancelAlgorithm(t);ReadableByteStreamControllerClearAlgorithms(this);return r}[d](t){const r=this._controlledReadableByteStream;if(this._queueTotalSize>0){ReadableByteStreamControllerFillReadRequestFromQueue(this,t);return}const n=this._autoAllocateChunkSize;if(n!==undefined){let r;try{r=new ArrayBuffer(n)}catch(r){t._errorSteps(r);return}const s={buffer:r,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(s)}ReadableStreamAddReadRequest(r,t);ReadableByteStreamControllerCallPullIfNeeded(this)}[p](){if(this._pendingPullIntos.length>0){const t=this._pendingPullIntos.peek();t.readerType="none";this._pendingPullIntos=new SimpleQueue;this._pendingPullIntos.push(t)}}}Object.defineProperties(ReadableByteStreamController.prototype,{close:{enumerable:true},enqueue:{enumerable:true},error:{enumerable:true},byobRequest:{enumerable:true},desiredSize:{enumerable:true}});setFunctionName(ReadableByteStreamController.prototype.close,"close");setFunctionName(ReadableByteStreamController.prototype.enqueue,"enqueue");setFunctionName(ReadableByteStreamController.prototype.error,"error");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableByteStreamController.prototype,r.toStringTag,{value:"ReadableByteStreamController",configurable:true})}function IsReadableByteStreamController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledReadableByteStream")){return false}return t instanceof ReadableByteStreamController}function IsReadableStreamBYOBRequest(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_associatedReadableByteStreamController")){return false}return t instanceof ReadableStreamBYOBRequest}function ReadableByteStreamControllerCallPullIfNeeded(t){const r=ReadableByteStreamControllerShouldCallPull(t);if(!r){return}if(t._pulling){t._pullAgain=true;return}t._pulling=true;const n=t._pullAlgorithm();uponPromise(n,(()=>{t._pulling=false;if(t._pullAgain){t._pullAgain=false;ReadableByteStreamControllerCallPullIfNeeded(t)}return null}),(r=>{ReadableByteStreamControllerError(t,r);return null}))}function ReadableByteStreamControllerClearPendingPullIntos(t){ReadableByteStreamControllerInvalidateBYOBRequest(t);t._pendingPullIntos=new SimpleQueue}function ReadableByteStreamControllerCommitPullIntoDescriptor(t,r){let n=false;if(t._state==="closed"){n=true}const s=ReadableByteStreamControllerConvertPullIntoDescriptor(r);if(r.readerType==="default"){ReadableStreamFulfillReadRequest(t,s,n)}else{ReadableStreamFulfillReadIntoRequest(t,s,n)}}function ReadableByteStreamControllerConvertPullIntoDescriptor(t){const r=t.bytesFilled;const n=t.elementSize;return new t.viewConstructor(t.buffer,t.byteOffset,r/n)}function ReadableByteStreamControllerEnqueueChunkToQueue(t,r,n,s){t._queue.push({buffer:r,byteOffset:n,byteLength:s});t._queueTotalSize+=s}function ReadableByteStreamControllerEnqueueClonedChunkToQueue(t,r,n,s){let i;try{i=ArrayBufferSlice(r,n,n+s)}catch(r){ReadableByteStreamControllerError(t,r);throw r}ReadableByteStreamControllerEnqueueChunkToQueue(t,i,0,s)}function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(t,r){if(r.bytesFilled>0){ReadableByteStreamControllerEnqueueClonedChunkToQueue(t,r.buffer,r.byteOffset,r.bytesFilled)}ReadableByteStreamControllerShiftPendingPullInto(t)}function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(t,r){const n=Math.min(t._queueTotalSize,r.byteLength-r.bytesFilled);const s=r.bytesFilled+n;let i=n;let o=false;const a=s%r.elementSize;const l=s-a;if(l>=r.minimumFill){i=l-r.bytesFilled;o=true}const c=t._queue;while(i>0){const n=c.peek();const s=Math.min(i,n.byteLength);const o=r.byteOffset+r.bytesFilled;CopyDataBlockBytes(r.buffer,o,n.buffer,n.byteOffset,s);if(n.byteLength===s){c.shift()}else{n.byteOffset+=s;n.byteLength-=s}t._queueTotalSize-=s;ReadableByteStreamControllerFillHeadPullIntoDescriptor(t,s,r);i-=s}return o}function ReadableByteStreamControllerFillHeadPullIntoDescriptor(t,r,n){n.bytesFilled+=r}function ReadableByteStreamControllerHandleQueueDrain(t){if(t._queueTotalSize===0&&t._closeRequested){ReadableByteStreamControllerClearAlgorithms(t);ReadableStreamClose(t._controlledReadableByteStream)}else{ReadableByteStreamControllerCallPullIfNeeded(t)}}function ReadableByteStreamControllerInvalidateBYOBRequest(t){if(t._byobRequest===null){return}t._byobRequest._associatedReadableByteStreamController=undefined;t._byobRequest._view=null;t._byobRequest=null}function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t){while(t._pendingPullIntos.length>0){if(t._queueTotalSize===0){return}const r=t._pendingPullIntos.peek();if(ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(t,r)){ReadableByteStreamControllerShiftPendingPullInto(t);ReadableByteStreamControllerCommitPullIntoDescriptor(t._controlledReadableByteStream,r)}}}function ReadableByteStreamControllerProcessReadRequestsUsingQueue(t){const r=t._controlledReadableByteStream._reader;while(r._readRequests.length>0){if(t._queueTotalSize===0){return}const n=r._readRequests.shift();ReadableByteStreamControllerFillReadRequestFromQueue(t,n)}}function ReadableByteStreamControllerPullInto(t,r,n,s){const i=t._controlledReadableByteStream;const o=r.constructor;const a=arrayBufferViewElementSize(o);const{byteOffset:l,byteLength:c}=r;const u=n*a;let d;try{d=TransferArrayBuffer(r.buffer)}catch(t){s._errorSteps(t);return}const p={buffer:d,bufferByteLength:d.byteLength,byteOffset:l,byteLength:c,bytesFilled:0,minimumFill:u,elementSize:a,viewConstructor:o,readerType:"byob"};if(t._pendingPullIntos.length>0){t._pendingPullIntos.push(p);ReadableStreamAddReadIntoRequest(i,s);return}if(i._state==="closed"){const t=new o(p.buffer,p.byteOffset,0);s._closeSteps(t);return}if(t._queueTotalSize>0){if(ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(t,p)){const r=ReadableByteStreamControllerConvertPullIntoDescriptor(p);ReadableByteStreamControllerHandleQueueDrain(t);s._chunkSteps(r);return}if(t._closeRequested){const r=new TypeError("Insufficient bytes to fill elements in the given buffer");ReadableByteStreamControllerError(t,r);s._errorSteps(r);return}}t._pendingPullIntos.push(p);ReadableStreamAddReadIntoRequest(i,s);ReadableByteStreamControllerCallPullIfNeeded(t)}function ReadableByteStreamControllerRespondInClosedState(t,r){if(r.readerType==="none"){ReadableByteStreamControllerShiftPendingPullInto(t)}const n=t._controlledReadableByteStream;if(ReadableStreamHasBYOBReader(n)){while(ReadableStreamGetNumReadIntoRequests(n)>0){const r=ReadableByteStreamControllerShiftPendingPullInto(t);ReadableByteStreamControllerCommitPullIntoDescriptor(n,r)}}}function ReadableByteStreamControllerRespondInReadableState(t,r,n){ReadableByteStreamControllerFillHeadPullIntoDescriptor(t,r,n);if(n.readerType==="none"){ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(t,n);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t);return}if(n.bytesFilled0){const r=n.byteOffset+n.bytesFilled;ReadableByteStreamControllerEnqueueClonedChunkToQueue(t,n.buffer,r-s,s)}n.bytesFilled-=s;ReadableByteStreamControllerCommitPullIntoDescriptor(t._controlledReadableByteStream,n);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t)}function ReadableByteStreamControllerRespondInternal(t,r){const n=t._pendingPullIntos.peek();ReadableByteStreamControllerInvalidateBYOBRequest(t);const s=t._controlledReadableByteStream._state;if(s==="closed"){ReadableByteStreamControllerRespondInClosedState(t,n)}else{ReadableByteStreamControllerRespondInReadableState(t,r,n)}ReadableByteStreamControllerCallPullIfNeeded(t)}function ReadableByteStreamControllerShiftPendingPullInto(t){const r=t._pendingPullIntos.shift();return r}function ReadableByteStreamControllerShouldCallPull(t){const r=t._controlledReadableByteStream;if(r._state!=="readable"){return false}if(t._closeRequested){return false}if(!t._started){return false}if(ReadableStreamHasDefaultReader(r)&&ReadableStreamGetNumReadRequests(r)>0){return true}if(ReadableStreamHasBYOBReader(r)&&ReadableStreamGetNumReadIntoRequests(r)>0){return true}const n=ReadableByteStreamControllerGetDesiredSize(t);if(n>0){return true}return false}function ReadableByteStreamControllerClearAlgorithms(t){t._pullAlgorithm=undefined;t._cancelAlgorithm=undefined}function ReadableByteStreamControllerClose(t){const r=t._controlledReadableByteStream;if(t._closeRequested||r._state!=="readable"){return}if(t._queueTotalSize>0){t._closeRequested=true;return}if(t._pendingPullIntos.length>0){const r=t._pendingPullIntos.peek();if(r.bytesFilled%r.elementSize!==0){const r=new TypeError("Insufficient bytes to fill elements in the given buffer");ReadableByteStreamControllerError(t,r);throw r}}ReadableByteStreamControllerClearAlgorithms(t);ReadableStreamClose(r)}function ReadableByteStreamControllerEnqueue(t,r){const n=t._controlledReadableByteStream;if(t._closeRequested||n._state!=="readable"){return}const{buffer:s,byteOffset:i,byteLength:o}=r;if(IsDetachedBuffer(s)){throw new TypeError("chunk's buffer is detached and so cannot be enqueued")}const a=TransferArrayBuffer(s);if(t._pendingPullIntos.length>0){const r=t._pendingPullIntos.peek();if(IsDetachedBuffer(r.buffer)){throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk")}ReadableByteStreamControllerInvalidateBYOBRequest(t);r.buffer=TransferArrayBuffer(r.buffer);if(r.readerType==="none"){ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(t,r)}}if(ReadableStreamHasDefaultReader(n)){ReadableByteStreamControllerProcessReadRequestsUsingQueue(t);if(ReadableStreamGetNumReadRequests(n)===0){ReadableByteStreamControllerEnqueueChunkToQueue(t,a,i,o)}else{if(t._pendingPullIntos.length>0){ReadableByteStreamControllerShiftPendingPullInto(t)}const r=new Uint8Array(a,i,o);ReadableStreamFulfillReadRequest(n,r,false)}}else if(ReadableStreamHasBYOBReader(n)){ReadableByteStreamControllerEnqueueChunkToQueue(t,a,i,o);ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(t)}else{ReadableByteStreamControllerEnqueueChunkToQueue(t,a,i,o)}ReadableByteStreamControllerCallPullIfNeeded(t)}function ReadableByteStreamControllerError(t,r){const n=t._controlledReadableByteStream;if(n._state!=="readable"){return}ReadableByteStreamControllerClearPendingPullIntos(t);ResetQueue(t);ReadableByteStreamControllerClearAlgorithms(t);ReadableStreamError(n,r)}function ReadableByteStreamControllerFillReadRequestFromQueue(t,r){const n=t._queue.shift();t._queueTotalSize-=n.byteLength;ReadableByteStreamControllerHandleQueueDrain(t);const s=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);r._chunkSteps(s)}function ReadableByteStreamControllerGetBYOBRequest(t){if(t._byobRequest===null&&t._pendingPullIntos.length>0){const r=t._pendingPullIntos.peek();const n=new Uint8Array(r.buffer,r.byteOffset+r.bytesFilled,r.byteLength-r.bytesFilled);const s=Object.create(ReadableStreamBYOBRequest.prototype);SetUpReadableStreamBYOBRequest(s,t,n);t._byobRequest=s}return t._byobRequest}function ReadableByteStreamControllerGetDesiredSize(t){const r=t._controlledReadableByteStream._state;if(r==="errored"){return null}if(r==="closed"){return 0}return t._strategyHWM-t._queueTotalSize}function ReadableByteStreamControllerRespond(t,r){const n=t._pendingPullIntos.peek();const s=t._controlledReadableByteStream._state;if(s==="closed"){if(r!==0){throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}}else{if(r===0){throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream")}if(n.bytesFilled+r>n.byteLength){throw new RangeError("bytesWritten out of range")}}n.buffer=TransferArrayBuffer(n.buffer);ReadableByteStreamControllerRespondInternal(t,r)}function ReadableByteStreamControllerRespondWithNewView(t,r){const n=t._pendingPullIntos.peek();const s=t._controlledReadableByteStream._state;if(s==="closed"){if(r.byteLength!==0){throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}}else{if(r.byteLength===0){throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream")}}if(n.byteOffset+n.bytesFilled!==r.byteOffset){throw new RangeError("The region specified by view does not match byobRequest")}if(n.bufferByteLength!==r.buffer.byteLength){throw new RangeError("The buffer of view has different capacity than byobRequest")}if(n.bytesFilled+r.byteLength>n.byteLength){throw new RangeError("The region specified by view is larger than byobRequest")}const i=r.byteLength;n.buffer=TransferArrayBuffer(r.buffer);ReadableByteStreamControllerRespondInternal(t,i)}function SetUpReadableByteStreamController(t,r,n,s,i,o,a){r._controlledReadableByteStream=t;r._pullAgain=false;r._pulling=false;r._byobRequest=null;r._queue=r._queueTotalSize=undefined;ResetQueue(r);r._closeRequested=false;r._started=false;r._strategyHWM=o;r._pullAlgorithm=s;r._cancelAlgorithm=i;r._autoAllocateChunkSize=a;r._pendingPullIntos=new SimpleQueue;t._readableStreamController=r;const l=n();uponPromise(promiseResolvedWith(l),(()=>{r._started=true;ReadableByteStreamControllerCallPullIfNeeded(r);return null}),(t=>{ReadableByteStreamControllerError(r,t);return null}))}function SetUpReadableByteStreamControllerFromUnderlyingSource(t,r,n){const s=Object.create(ReadableByteStreamController.prototype);let i;let o;let a;if(r.start!==undefined){i=()=>r.start(s)}else{i=()=>undefined}if(r.pull!==undefined){o=()=>r.pull(s)}else{o=()=>promiseResolvedWith(undefined)}if(r.cancel!==undefined){a=t=>r.cancel(t)}else{a=()=>promiseResolvedWith(undefined)}const l=r.autoAllocateChunkSize;if(l===0){throw new TypeError("autoAllocateChunkSize must be greater than 0")}SetUpReadableByteStreamController(t,s,i,o,a,n,l)}function SetUpReadableStreamBYOBRequest(t,r,n){t._associatedReadableByteStreamController=r;t._view=n}function byobRequestBrandCheckException(t){return new TypeError(`ReadableStreamBYOBRequest.prototype.${t} can only be used on a ReadableStreamBYOBRequest`)}function byteStreamControllerBrandCheckException(t){return new TypeError(`ReadableByteStreamController.prototype.${t} can only be used on a ReadableByteStreamController`)}function convertReaderOptions(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.mode;return{mode:n===undefined?undefined:convertReadableStreamReaderMode(n,`${r} has member 'mode' that`)}}function convertReadableStreamReaderMode(t,r){t=`${t}`;if(t!=="byob"){throw new TypeError(`${r} '${t}' is not a valid enumeration value for ReadableStreamReaderMode`)}return t}function convertByobReadOptions(t,r){var n;assertDictionary(t,r);const s=(n=t===null||t===void 0?void 0:t.min)!==null&&n!==void 0?n:1;return{min:convertUnsignedLongLongWithEnforceRange(s,`${r} has member 'min' that`)}}function AcquireReadableStreamBYOBReader(t){return new ReadableStreamBYOBReader(t)}function ReadableStreamAddReadIntoRequest(t,r){t._reader._readIntoRequests.push(r)}function ReadableStreamFulfillReadIntoRequest(t,r,n){const s=t._reader;const i=s._readIntoRequests.shift();if(n){i._closeSteps(r)}else{i._chunkSteps(r)}}function ReadableStreamGetNumReadIntoRequests(t){return t._reader._readIntoRequests.length}function ReadableStreamHasBYOBReader(t){const r=t._reader;if(r===undefined){return false}if(!IsReadableStreamBYOBReader(r)){return false}return true}class ReadableStreamBYOBReader{constructor(t){assertRequiredArgument(t,1,"ReadableStreamBYOBReader");assertReadableStream(t,"First parameter");if(IsReadableStreamLocked(t)){throw new TypeError("This stream has already been locked for exclusive reading by another reader")}if(!IsReadableByteStreamController(t._readableStreamController)){throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte "+"source")}ReadableStreamReaderGenericInitialize(this,t);this._readIntoRequests=new SimpleQueue}get closed(){if(!IsReadableStreamBYOBReader(this)){return promiseRejectedWith(byobReaderBrandCheckException("closed"))}return this._closedPromise}cancel(t=undefined){if(!IsReadableStreamBYOBReader(this)){return promiseRejectedWith(byobReaderBrandCheckException("cancel"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("cancel"))}return ReadableStreamReaderGenericCancel(this,t)}read(t,r={}){if(!IsReadableStreamBYOBReader(this)){return promiseRejectedWith(byobReaderBrandCheckException("read"))}if(!ArrayBuffer.isView(t)){return promiseRejectedWith(new TypeError("view must be an array buffer view"))}if(t.byteLength===0){return promiseRejectedWith(new TypeError("view must have non-zero byteLength"))}if(t.buffer.byteLength===0){return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`))}if(IsDetachedBuffer(t.buffer)){return promiseRejectedWith(new TypeError("view's buffer has been detached"))}let n;try{n=convertByobReadOptions(r,"options")}catch(t){return promiseRejectedWith(t)}const s=n.min;if(s===0){return promiseRejectedWith(new TypeError("options.min must be greater than 0"))}if(!isDataView(t)){if(s>t.length){return promiseRejectedWith(new RangeError("options.min must be less than or equal to view's length"))}}else if(s>t.byteLength){return promiseRejectedWith(new RangeError("options.min must be less than or equal to view's byteLength"))}if(this._ownerReadableStream===undefined){return promiseRejectedWith(readerLockException("read from"))}let i;let o;const a=newPromise(((t,r)=>{i=t;o=r}));const l={_chunkSteps:t=>i({value:t,done:false}),_closeSteps:t=>i({value:t,done:true}),_errorSteps:t=>o(t)};ReadableStreamBYOBReaderRead(this,t,s,l);return a}releaseLock(){if(!IsReadableStreamBYOBReader(this)){throw byobReaderBrandCheckException("releaseLock")}if(this._ownerReadableStream===undefined){return}ReadableStreamBYOBReaderRelease(this)}}Object.defineProperties(ReadableStreamBYOBReader.prototype,{cancel:{enumerable:true},read:{enumerable:true},releaseLock:{enumerable:true},closed:{enumerable:true}});setFunctionName(ReadableStreamBYOBReader.prototype.cancel,"cancel");setFunctionName(ReadableStreamBYOBReader.prototype.read,"read");setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock,"releaseLock");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamBYOBReader.prototype,r.toStringTag,{value:"ReadableStreamBYOBReader",configurable:true})}function IsReadableStreamBYOBReader(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_readIntoRequests")){return false}return t instanceof ReadableStreamBYOBReader}function ReadableStreamBYOBReaderRead(t,r,n,s){const i=t._ownerReadableStream;i._disturbed=true;if(i._state==="errored"){s._errorSteps(i._storedError)}else{ReadableByteStreamControllerPullInto(i._readableStreamController,r,n,s)}}function ReadableStreamBYOBReaderRelease(t){ReadableStreamReaderGenericRelease(t);const r=new TypeError("Reader was released");ReadableStreamBYOBReaderErrorReadIntoRequests(t,r)}function ReadableStreamBYOBReaderErrorReadIntoRequests(t,r){const n=t._readIntoRequests;t._readIntoRequests=new SimpleQueue;n.forEach((t=>{t._errorSteps(r)}))}function byobReaderBrandCheckException(t){return new TypeError(`ReadableStreamBYOBReader.prototype.${t} can only be used on a ReadableStreamBYOBReader`)}function ExtractHighWaterMark(t,r){const{highWaterMark:n}=t;if(n===undefined){return r}if(b(n)||n<0){throw new RangeError("Invalid highWaterMark")}return n}function ExtractSizeAlgorithm(t){const{size:r}=t;if(!r){return()=>1}return r}function convertQueuingStrategy(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.highWaterMark;const s=t===null||t===void 0?void 0:t.size;return{highWaterMark:n===undefined?undefined:convertUnrestrictedDouble(n),size:s===undefined?undefined:convertQueuingStrategySize(s,`${r} has member 'size' that`)}}function convertQueuingStrategySize(t,r){assertFunction(t,r);return r=>convertUnrestrictedDouble(t(r))}function convertUnderlyingSink(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.abort;const s=t===null||t===void 0?void 0:t.close;const i=t===null||t===void 0?void 0:t.start;const o=t===null||t===void 0?void 0:t.type;const a=t===null||t===void 0?void 0:t.write;return{abort:n===undefined?undefined:convertUnderlyingSinkAbortCallback(n,t,`${r} has member 'abort' that`),close:s===undefined?undefined:convertUnderlyingSinkCloseCallback(s,t,`${r} has member 'close' that`),start:i===undefined?undefined:convertUnderlyingSinkStartCallback(i,t,`${r} has member 'start' that`),write:a===undefined?undefined:convertUnderlyingSinkWriteCallback(a,t,`${r} has member 'write' that`),type:o}}function convertUnderlyingSinkAbortCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertUnderlyingSinkCloseCallback(t,r,n){assertFunction(t,n);return()=>promiseCall(t,r,[])}function convertUnderlyingSinkStartCallback(t,r,n){assertFunction(t,n);return n=>reflectCall(t,r,[n])}function convertUnderlyingSinkWriteCallback(t,r,n){assertFunction(t,n);return(n,s)=>promiseCall(t,r,[n,s])}function assertWritableStream(t,r){if(!IsWritableStream(t)){throw new TypeError(`${r} is not a WritableStream.`)}}function isAbortSignal(t){if(typeof t!=="object"||t===null){return false}try{return typeof t.aborted==="boolean"}catch(t){return false}}const _=typeof AbortController==="function";function createAbortController(){if(_){return new AbortController}return undefined}class WritableStream{constructor(t={},r={}){if(t===undefined){t=null}else{assertObject(t,"First parameter")}const n=convertQueuingStrategy(r,"Second parameter");const s=convertUnderlyingSink(t,"First parameter");InitializeWritableStream(this);const i=s.type;if(i!==undefined){throw new RangeError("Invalid type is specified")}const o=ExtractSizeAlgorithm(n);const a=ExtractHighWaterMark(n,1);SetUpWritableStreamDefaultControllerFromUnderlyingSink(this,s,a,o)}get locked(){if(!IsWritableStream(this)){throw streamBrandCheckException$2("locked")}return IsWritableStreamLocked(this)}abort(t=undefined){if(!IsWritableStream(this)){return promiseRejectedWith(streamBrandCheckException$2("abort"))}if(IsWritableStreamLocked(this)){return promiseRejectedWith(new TypeError("Cannot abort a stream that already has a writer"))}return WritableStreamAbort(this,t)}close(){if(!IsWritableStream(this)){return promiseRejectedWith(streamBrandCheckException$2("close"))}if(IsWritableStreamLocked(this)){return promiseRejectedWith(new TypeError("Cannot close a stream that already has a writer"))}if(WritableStreamCloseQueuedOrInFlight(this)){return promiseRejectedWith(new TypeError("Cannot close an already-closing stream"))}return WritableStreamClose(this)}getWriter(){if(!IsWritableStream(this)){throw streamBrandCheckException$2("getWriter")}return AcquireWritableStreamDefaultWriter(this)}}Object.defineProperties(WritableStream.prototype,{abort:{enumerable:true},close:{enumerable:true},getWriter:{enumerable:true},locked:{enumerable:true}});setFunctionName(WritableStream.prototype.abort,"abort");setFunctionName(WritableStream.prototype.close,"close");setFunctionName(WritableStream.prototype.getWriter,"getWriter");if(typeof r.toStringTag==="symbol"){Object.defineProperty(WritableStream.prototype,r.toStringTag,{value:"WritableStream",configurable:true})}function AcquireWritableStreamDefaultWriter(t){return new WritableStreamDefaultWriter(t)}function CreateWritableStream(t,r,n,s,i=1,o=(()=>1)){const a=Object.create(WritableStream.prototype);InitializeWritableStream(a);const l=Object.create(WritableStreamDefaultController.prototype);SetUpWritableStreamDefaultController(a,l,t,r,n,s,i,o);return a}function InitializeWritableStream(t){t._state="writable";t._storedError=undefined;t._writer=undefined;t._writableStreamController=undefined;t._writeRequests=new SimpleQueue;t._inFlightWriteRequest=undefined;t._closeRequest=undefined;t._inFlightCloseRequest=undefined;t._pendingAbortRequest=undefined;t._backpressure=false}function IsWritableStream(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_writableStreamController")){return false}return t instanceof WritableStream}function IsWritableStreamLocked(t){if(t._writer===undefined){return false}return true}function WritableStreamAbort(t,r){var n;if(t._state==="closed"||t._state==="errored"){return promiseResolvedWith(undefined)}t._writableStreamController._abortReason=r;(n=t._writableStreamController._abortController)===null||n===void 0?void 0:n.abort(r);const s=t._state;if(s==="closed"||s==="errored"){return promiseResolvedWith(undefined)}if(t._pendingAbortRequest!==undefined){return t._pendingAbortRequest._promise}let i=false;if(s==="erroring"){i=true;r=undefined}const o=newPromise(((n,s)=>{t._pendingAbortRequest={_promise:undefined,_resolve:n,_reject:s,_reason:r,_wasAlreadyErroring:i}}));t._pendingAbortRequest._promise=o;if(!i){WritableStreamStartErroring(t,r)}return o}function WritableStreamClose(t){const r=t._state;if(r==="closed"||r==="errored"){return promiseRejectedWith(new TypeError(`The stream (in ${r} state) is not in the writable state and cannot be closed`))}const n=newPromise(((r,n)=>{const s={_resolve:r,_reject:n};t._closeRequest=s}));const s=t._writer;if(s!==undefined&&t._backpressure&&r==="writable"){defaultWriterReadyPromiseResolve(s)}WritableStreamDefaultControllerClose(t._writableStreamController);return n}function WritableStreamAddWriteRequest(t){const r=newPromise(((r,n)=>{const s={_resolve:r,_reject:n};t._writeRequests.push(s)}));return r}function WritableStreamDealWithRejection(t,r){const n=t._state;if(n==="writable"){WritableStreamStartErroring(t,r);return}WritableStreamFinishErroring(t)}function WritableStreamStartErroring(t,r){const n=t._writableStreamController;t._state="erroring";t._storedError=r;const s=t._writer;if(s!==undefined){WritableStreamDefaultWriterEnsureReadyPromiseRejected(s,r)}if(!WritableStreamHasOperationMarkedInFlight(t)&&n._started){WritableStreamFinishErroring(t)}}function WritableStreamFinishErroring(t){t._state="errored";t._writableStreamController[c]();const r=t._storedError;t._writeRequests.forEach((t=>{t._reject(r)}));t._writeRequests=new SimpleQueue;if(t._pendingAbortRequest===undefined){WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return}const n=t._pendingAbortRequest;t._pendingAbortRequest=undefined;if(n._wasAlreadyErroring){n._reject(r);WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return}const s=t._writableStreamController[l](n._reason);uponPromise(s,(()=>{n._resolve();WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return null}),(r=>{n._reject(r);WritableStreamRejectCloseAndClosedPromiseIfNeeded(t);return null}))}function WritableStreamFinishInFlightWrite(t){t._inFlightWriteRequest._resolve(undefined);t._inFlightWriteRequest=undefined}function WritableStreamFinishInFlightWriteWithError(t,r){t._inFlightWriteRequest._reject(r);t._inFlightWriteRequest=undefined;WritableStreamDealWithRejection(t,r)}function WritableStreamFinishInFlightClose(t){t._inFlightCloseRequest._resolve(undefined);t._inFlightCloseRequest=undefined;const r=t._state;if(r==="erroring"){t._storedError=undefined;if(t._pendingAbortRequest!==undefined){t._pendingAbortRequest._resolve();t._pendingAbortRequest=undefined}}t._state="closed";const n=t._writer;if(n!==undefined){defaultWriterClosedPromiseResolve(n)}}function WritableStreamFinishInFlightCloseWithError(t,r){t._inFlightCloseRequest._reject(r);t._inFlightCloseRequest=undefined;if(t._pendingAbortRequest!==undefined){t._pendingAbortRequest._reject(r);t._pendingAbortRequest=undefined}WritableStreamDealWithRejection(t,r)}function WritableStreamCloseQueuedOrInFlight(t){if(t._closeRequest===undefined&&t._inFlightCloseRequest===undefined){return false}return true}function WritableStreamHasOperationMarkedInFlight(t){if(t._inFlightWriteRequest===undefined&&t._inFlightCloseRequest===undefined){return false}return true}function WritableStreamMarkCloseRequestInFlight(t){t._inFlightCloseRequest=t._closeRequest;t._closeRequest=undefined}function WritableStreamMarkFirstWriteRequestInFlight(t){t._inFlightWriteRequest=t._writeRequests.shift()}function WritableStreamRejectCloseAndClosedPromiseIfNeeded(t){if(t._closeRequest!==undefined){t._closeRequest._reject(t._storedError);t._closeRequest=undefined}const r=t._writer;if(r!==undefined){defaultWriterClosedPromiseReject(r,t._storedError)}}function WritableStreamUpdateBackpressure(t,r){const n=t._writer;if(n!==undefined&&r!==t._backpressure){if(r){defaultWriterReadyPromiseReset(n)}else{defaultWriterReadyPromiseResolve(n)}}t._backpressure=r}class WritableStreamDefaultWriter{constructor(t){assertRequiredArgument(t,1,"WritableStreamDefaultWriter");assertWritableStream(t,"First parameter");if(IsWritableStreamLocked(t)){throw new TypeError("This stream has already been locked for exclusive writing by another writer")}this._ownerWritableStream=t;t._writer=this;const r=t._state;if(r==="writable"){if(!WritableStreamCloseQueuedOrInFlight(t)&&t._backpressure){defaultWriterReadyPromiseInitialize(this)}else{defaultWriterReadyPromiseInitializeAsResolved(this)}defaultWriterClosedPromiseInitialize(this)}else if(r==="erroring"){defaultWriterReadyPromiseInitializeAsRejected(this,t._storedError);defaultWriterClosedPromiseInitialize(this)}else if(r==="closed"){defaultWriterReadyPromiseInitializeAsResolved(this);defaultWriterClosedPromiseInitializeAsResolved(this)}else{const r=t._storedError;defaultWriterReadyPromiseInitializeAsRejected(this,r);defaultWriterClosedPromiseInitializeAsRejected(this,r)}}get closed(){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("closed"))}return this._closedPromise}get desiredSize(){if(!IsWritableStreamDefaultWriter(this)){throw defaultWriterBrandCheckException("desiredSize")}if(this._ownerWritableStream===undefined){throw defaultWriterLockException("desiredSize")}return WritableStreamDefaultWriterGetDesiredSize(this)}get ready(){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("ready"))}return this._readyPromise}abort(t=undefined){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("abort"))}if(this._ownerWritableStream===undefined){return promiseRejectedWith(defaultWriterLockException("abort"))}return WritableStreamDefaultWriterAbort(this,t)}close(){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("close"))}const t=this._ownerWritableStream;if(t===undefined){return promiseRejectedWith(defaultWriterLockException("close"))}if(WritableStreamCloseQueuedOrInFlight(t)){return promiseRejectedWith(new TypeError("Cannot close an already-closing stream"))}return WritableStreamDefaultWriterClose(this)}releaseLock(){if(!IsWritableStreamDefaultWriter(this)){throw defaultWriterBrandCheckException("releaseLock")}const t=this._ownerWritableStream;if(t===undefined){return}WritableStreamDefaultWriterRelease(this)}write(t=undefined){if(!IsWritableStreamDefaultWriter(this)){return promiseRejectedWith(defaultWriterBrandCheckException("write"))}if(this._ownerWritableStream===undefined){return promiseRejectedWith(defaultWriterLockException("write to"))}return WritableStreamDefaultWriterWrite(this,t)}}Object.defineProperties(WritableStreamDefaultWriter.prototype,{abort:{enumerable:true},close:{enumerable:true},releaseLock:{enumerable:true},write:{enumerable:true},closed:{enumerable:true},desiredSize:{enumerable:true},ready:{enumerable:true}});setFunctionName(WritableStreamDefaultWriter.prototype.abort,"abort");setFunctionName(WritableStreamDefaultWriter.prototype.close,"close");setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock,"releaseLock");setFunctionName(WritableStreamDefaultWriter.prototype.write,"write");if(typeof r.toStringTag==="symbol"){Object.defineProperty(WritableStreamDefaultWriter.prototype,r.toStringTag,{value:"WritableStreamDefaultWriter",configurable:true})}function IsWritableStreamDefaultWriter(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_ownerWritableStream")){return false}return t instanceof WritableStreamDefaultWriter}function WritableStreamDefaultWriterAbort(t,r){const n=t._ownerWritableStream;return WritableStreamAbort(n,r)}function WritableStreamDefaultWriterClose(t){const r=t._ownerWritableStream;return WritableStreamClose(r)}function WritableStreamDefaultWriterCloseWithErrorPropagation(t){const r=t._ownerWritableStream;const n=r._state;if(WritableStreamCloseQueuedOrInFlight(r)||n==="closed"){return promiseResolvedWith(undefined)}if(n==="errored"){return promiseRejectedWith(r._storedError)}return WritableStreamDefaultWriterClose(t)}function WritableStreamDefaultWriterEnsureClosedPromiseRejected(t,r){if(t._closedPromiseState==="pending"){defaultWriterClosedPromiseReject(t,r)}else{defaultWriterClosedPromiseResetToRejected(t,r)}}function WritableStreamDefaultWriterEnsureReadyPromiseRejected(t,r){if(t._readyPromiseState==="pending"){defaultWriterReadyPromiseReject(t,r)}else{defaultWriterReadyPromiseResetToRejected(t,r)}}function WritableStreamDefaultWriterGetDesiredSize(t){const r=t._ownerWritableStream;const n=r._state;if(n==="errored"||n==="erroring"){return null}if(n==="closed"){return 0}return WritableStreamDefaultControllerGetDesiredSize(r._writableStreamController)}function WritableStreamDefaultWriterRelease(t){const r=t._ownerWritableStream;const n=new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`);WritableStreamDefaultWriterEnsureReadyPromiseRejected(t,n);WritableStreamDefaultWriterEnsureClosedPromiseRejected(t,n);r._writer=undefined;t._ownerWritableStream=undefined}function WritableStreamDefaultWriterWrite(t,r){const n=t._ownerWritableStream;const s=n._writableStreamController;const i=WritableStreamDefaultControllerGetChunkSize(s,r);if(n!==t._ownerWritableStream){return promiseRejectedWith(defaultWriterLockException("write to"))}const o=n._state;if(o==="errored"){return promiseRejectedWith(n._storedError)}if(WritableStreamCloseQueuedOrInFlight(n)||o==="closed"){return promiseRejectedWith(new TypeError("The stream is closing or closed and cannot be written to"))}if(o==="erroring"){return promiseRejectedWith(n._storedError)}const a=WritableStreamAddWriteRequest(n);WritableStreamDefaultControllerWrite(s,r,i);return a}const S={};class WritableStreamDefaultController{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!IsWritableStreamDefaultController(this)){throw defaultControllerBrandCheckException$2("abortReason")}return this._abortReason}get signal(){if(!IsWritableStreamDefaultController(this)){throw defaultControllerBrandCheckException$2("signal")}if(this._abortController===undefined){throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported")}return this._abortController.signal}error(t=undefined){if(!IsWritableStreamDefaultController(this)){throw defaultControllerBrandCheckException$2("error")}const r=this._controlledWritableStream._state;if(r!=="writable"){return}WritableStreamDefaultControllerError(this,t)}[l](t){const r=this._abortAlgorithm(t);WritableStreamDefaultControllerClearAlgorithms(this);return r}[c](){ResetQueue(this)}}Object.defineProperties(WritableStreamDefaultController.prototype,{abortReason:{enumerable:true},signal:{enumerable:true},error:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(WritableStreamDefaultController.prototype,r.toStringTag,{value:"WritableStreamDefaultController",configurable:true})}function IsWritableStreamDefaultController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledWritableStream")){return false}return t instanceof WritableStreamDefaultController}function SetUpWritableStreamDefaultController(t,r,n,s,i,o,a,l){r._controlledWritableStream=t;t._writableStreamController=r;r._queue=undefined;r._queueTotalSize=undefined;ResetQueue(r);r._abortReason=undefined;r._abortController=createAbortController();r._started=false;r._strategySizeAlgorithm=l;r._strategyHWM=a;r._writeAlgorithm=s;r._closeAlgorithm=i;r._abortAlgorithm=o;const c=WritableStreamDefaultControllerGetBackpressure(r);WritableStreamUpdateBackpressure(t,c);const u=n();const d=promiseResolvedWith(u);uponPromise(d,(()=>{r._started=true;WritableStreamDefaultControllerAdvanceQueueIfNeeded(r);return null}),(n=>{r._started=true;WritableStreamDealWithRejection(t,n);return null}))}function SetUpWritableStreamDefaultControllerFromUnderlyingSink(t,r,n,s){const i=Object.create(WritableStreamDefaultController.prototype);let o;let a;let l;let c;if(r.start!==undefined){o=()=>r.start(i)}else{o=()=>undefined}if(r.write!==undefined){a=t=>r.write(t,i)}else{a=()=>promiseResolvedWith(undefined)}if(r.close!==undefined){l=()=>r.close()}else{l=()=>promiseResolvedWith(undefined)}if(r.abort!==undefined){c=t=>r.abort(t)}else{c=()=>promiseResolvedWith(undefined)}SetUpWritableStreamDefaultController(t,i,o,a,l,c,n,s)}function WritableStreamDefaultControllerClearAlgorithms(t){t._writeAlgorithm=undefined;t._closeAlgorithm=undefined;t._abortAlgorithm=undefined;t._strategySizeAlgorithm=undefined}function WritableStreamDefaultControllerClose(t){EnqueueValueWithSize(t,S,0);WritableStreamDefaultControllerAdvanceQueueIfNeeded(t)}function WritableStreamDefaultControllerGetChunkSize(t,r){try{return t._strategySizeAlgorithm(r)}catch(r){WritableStreamDefaultControllerErrorIfNeeded(t,r);return 1}}function WritableStreamDefaultControllerGetDesiredSize(t){return t._strategyHWM-t._queueTotalSize}function WritableStreamDefaultControllerWrite(t,r,n){try{EnqueueValueWithSize(t,r,n)}catch(r){WritableStreamDefaultControllerErrorIfNeeded(t,r);return}const s=t._controlledWritableStream;if(!WritableStreamCloseQueuedOrInFlight(s)&&s._state==="writable"){const r=WritableStreamDefaultControllerGetBackpressure(t);WritableStreamUpdateBackpressure(s,r)}WritableStreamDefaultControllerAdvanceQueueIfNeeded(t)}function WritableStreamDefaultControllerAdvanceQueueIfNeeded(t){const r=t._controlledWritableStream;if(!t._started){return}if(r._inFlightWriteRequest!==undefined){return}const n=r._state;if(n==="erroring"){WritableStreamFinishErroring(r);return}if(t._queue.length===0){return}const s=PeekQueueValue(t);if(s===S){WritableStreamDefaultControllerProcessClose(t)}else{WritableStreamDefaultControllerProcessWrite(t,s)}}function WritableStreamDefaultControllerErrorIfNeeded(t,r){if(t._controlledWritableStream._state==="writable"){WritableStreamDefaultControllerError(t,r)}}function WritableStreamDefaultControllerProcessClose(t){const r=t._controlledWritableStream;WritableStreamMarkCloseRequestInFlight(r);DequeueValue(t);const n=t._closeAlgorithm();WritableStreamDefaultControllerClearAlgorithms(t);uponPromise(n,(()=>{WritableStreamFinishInFlightClose(r);return null}),(t=>{WritableStreamFinishInFlightCloseWithError(r,t);return null}))}function WritableStreamDefaultControllerProcessWrite(t,r){const n=t._controlledWritableStream;WritableStreamMarkFirstWriteRequestInFlight(n);const s=t._writeAlgorithm(r);uponPromise(s,(()=>{WritableStreamFinishInFlightWrite(n);const r=n._state;DequeueValue(t);if(!WritableStreamCloseQueuedOrInFlight(n)&&r==="writable"){const r=WritableStreamDefaultControllerGetBackpressure(t);WritableStreamUpdateBackpressure(n,r)}WritableStreamDefaultControllerAdvanceQueueIfNeeded(t);return null}),(r=>{if(n._state==="writable"){WritableStreamDefaultControllerClearAlgorithms(t)}WritableStreamFinishInFlightWriteWithError(n,r);return null}))}function WritableStreamDefaultControllerGetBackpressure(t){const r=WritableStreamDefaultControllerGetDesiredSize(t);return r<=0}function WritableStreamDefaultControllerError(t,r){const n=t._controlledWritableStream;WritableStreamDefaultControllerClearAlgorithms(t);WritableStreamStartErroring(n,r)}function streamBrandCheckException$2(t){return new TypeError(`WritableStream.prototype.${t} can only be used on a WritableStream`)}function defaultControllerBrandCheckException$2(t){return new TypeError(`WritableStreamDefaultController.prototype.${t} can only be used on a WritableStreamDefaultController`)}function defaultWriterBrandCheckException(t){return new TypeError(`WritableStreamDefaultWriter.prototype.${t} can only be used on a WritableStreamDefaultWriter`)}function defaultWriterLockException(t){return new TypeError("Cannot "+t+" a stream using a released writer")}function defaultWriterClosedPromiseInitialize(t){t._closedPromise=newPromise(((r,n)=>{t._closedPromise_resolve=r;t._closedPromise_reject=n;t._closedPromiseState="pending"}))}function defaultWriterClosedPromiseInitializeAsRejected(t,r){defaultWriterClosedPromiseInitialize(t);defaultWriterClosedPromiseReject(t,r)}function defaultWriterClosedPromiseInitializeAsResolved(t){defaultWriterClosedPromiseInitialize(t);defaultWriterClosedPromiseResolve(t)}function defaultWriterClosedPromiseReject(t,r){if(t._closedPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._closedPromise);t._closedPromise_reject(r);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined;t._closedPromiseState="rejected"}function defaultWriterClosedPromiseResetToRejected(t,r){defaultWriterClosedPromiseInitializeAsRejected(t,r)}function defaultWriterClosedPromiseResolve(t){if(t._closedPromise_resolve===undefined){return}t._closedPromise_resolve(undefined);t._closedPromise_resolve=undefined;t._closedPromise_reject=undefined;t._closedPromiseState="resolved"}function defaultWriterReadyPromiseInitialize(t){t._readyPromise=newPromise(((r,n)=>{t._readyPromise_resolve=r;t._readyPromise_reject=n}));t._readyPromiseState="pending"}function defaultWriterReadyPromiseInitializeAsRejected(t,r){defaultWriterReadyPromiseInitialize(t);defaultWriterReadyPromiseReject(t,r)}function defaultWriterReadyPromiseInitializeAsResolved(t){defaultWriterReadyPromiseInitialize(t);defaultWriterReadyPromiseResolve(t)}function defaultWriterReadyPromiseReject(t,r){if(t._readyPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._readyPromise);t._readyPromise_reject(r);t._readyPromise_resolve=undefined;t._readyPromise_reject=undefined;t._readyPromiseState="rejected"}function defaultWriterReadyPromiseReset(t){defaultWriterReadyPromiseInitialize(t)}function defaultWriterReadyPromiseResetToRejected(t,r){defaultWriterReadyPromiseInitializeAsRejected(t,r)}function defaultWriterReadyPromiseResolve(t){if(t._readyPromise_resolve===undefined){return}t._readyPromise_resolve(undefined);t._readyPromise_resolve=undefined;t._readyPromise_reject=undefined;t._readyPromiseState="fulfilled"}function getGlobals(){if(typeof globalThis!=="undefined"){return globalThis}else if(typeof self!=="undefined"){return self}else if(typeof global!=="undefined"){return global}return undefined}const E=getGlobals();function isDOMExceptionConstructor(t){if(!(typeof t==="function"||typeof t==="object")){return false}if(t.name!=="DOMException"){return false}try{new t;return true}catch(t){return false}}function getFromGlobal(){const t=E===null||E===void 0?void 0:E.DOMException;return isDOMExceptionConstructor(t)?t:undefined}function createPolyfill(){const t=function DOMException(t,r){this.message=t||"";this.name=r||"Error";if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}};setFunctionName(t,"DOMException");t.prototype=Object.create(Error.prototype);Object.defineProperty(t.prototype,"constructor",{value:t,writable:true,configurable:true});return t}const v=getFromGlobal()||createPolyfill();function ReadableStreamPipeTo(t,r,n,s,i,o){const a=AcquireReadableStreamDefaultReader(t);const l=AcquireWritableStreamDefaultWriter(r);t._disturbed=true;let c=false;let u=promiseResolvedWith(undefined);return newPromise(((d,p)=>{let h;if(o!==undefined){h=()=>{const n=o.reason!==undefined?o.reason:new v("Aborted","AbortError");const a=[];if(!s){a.push((()=>{if(r._state==="writable"){return WritableStreamAbort(r,n)}return promiseResolvedWith(undefined)}))}if(!i){a.push((()=>{if(t._state==="readable"){return ReadableStreamCancel(t,n)}return promiseResolvedWith(undefined)}))}shutdownWithAction((()=>Promise.all(a.map((t=>t())))),true,n)};if(o.aborted){h();return}o.addEventListener("abort",h)}function pipeLoop(){return newPromise(((t,r)=>{function next(n){if(n){t()}else{PerformPromiseThen(pipeStep(),next,r)}}next(false)}))}function pipeStep(){if(c){return promiseResolvedWith(true)}return PerformPromiseThen(l._readyPromise,(()=>newPromise(((t,r)=>{ReadableStreamDefaultReaderRead(a,{_chunkSteps:r=>{u=PerformPromiseThen(WritableStreamDefaultWriterWrite(l,r),undefined,noop);t(false)},_closeSteps:()=>t(true),_errorSteps:r})}))))}isOrBecomesErrored(t,a._closedPromise,(t=>{if(!s){shutdownWithAction((()=>WritableStreamAbort(r,t)),true,t)}else{shutdown(true,t)}return null}));isOrBecomesErrored(r,l._closedPromise,(r=>{if(!i){shutdownWithAction((()=>ReadableStreamCancel(t,r)),true,r)}else{shutdown(true,r)}return null}));isOrBecomesClosed(t,a._closedPromise,(()=>{if(!n){shutdownWithAction((()=>WritableStreamDefaultWriterCloseWithErrorPropagation(l)))}else{shutdown()}return null}));if(WritableStreamCloseQueuedOrInFlight(r)||r._state==="closed"){const r=new TypeError("the destination writable stream closed before all data could be piped to it");if(!i){shutdownWithAction((()=>ReadableStreamCancel(t,r)),true,r)}else{shutdown(true,r)}}setPromiseIsHandledToTrue(pipeLoop());function waitForWritesToFinish(){const t=u;return PerformPromiseThen(u,(()=>t!==u?waitForWritesToFinish():undefined))}function isOrBecomesErrored(t,r,n){if(t._state==="errored"){n(t._storedError)}else{uponRejection(r,n)}}function isOrBecomesClosed(t,r,n){if(t._state==="closed"){n()}else{uponFulfillment(r,n)}}function shutdownWithAction(t,n,s){if(c){return}c=true;if(r._state==="writable"&&!WritableStreamCloseQueuedOrInFlight(r)){uponFulfillment(waitForWritesToFinish(),doTheRest)}else{doTheRest()}function doTheRest(){uponPromise(t(),(()=>finalize(n,s)),(t=>finalize(true,t)));return null}}function shutdown(t,n){if(c){return}c=true;if(r._state==="writable"&&!WritableStreamCloseQueuedOrInFlight(r)){uponFulfillment(waitForWritesToFinish(),(()=>finalize(t,n)))}else{finalize(t,n)}}function finalize(t,r){WritableStreamDefaultWriterRelease(l);ReadableStreamReaderGenericRelease(a);if(o!==undefined){o.removeEventListener("abort",h)}if(t){p(r)}else{d(undefined)}return null}}))}class ReadableStreamDefaultController{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("desiredSize")}return ReadableStreamDefaultControllerGetDesiredSize(this)}close(){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("close")}if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)){throw new TypeError("The stream is not in a state that permits close")}ReadableStreamDefaultControllerClose(this)}enqueue(t=undefined){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("enqueue")}if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)){throw new TypeError("The stream is not in a state that permits enqueue")}return ReadableStreamDefaultControllerEnqueue(this,t)}error(t=undefined){if(!IsReadableStreamDefaultController(this)){throw defaultControllerBrandCheckException$1("error")}ReadableStreamDefaultControllerError(this,t)}[u](t){ResetQueue(this);const r=this._cancelAlgorithm(t);ReadableStreamDefaultControllerClearAlgorithms(this);return r}[d](t){const r=this._controlledReadableStream;if(this._queue.length>0){const n=DequeueValue(this);if(this._closeRequested&&this._queue.length===0){ReadableStreamDefaultControllerClearAlgorithms(this);ReadableStreamClose(r)}else{ReadableStreamDefaultControllerCallPullIfNeeded(this)}t._chunkSteps(n)}else{ReadableStreamAddReadRequest(r,t);ReadableStreamDefaultControllerCallPullIfNeeded(this)}}[p](){}}Object.defineProperties(ReadableStreamDefaultController.prototype,{close:{enumerable:true},enqueue:{enumerable:true},error:{enumerable:true},desiredSize:{enumerable:true}});setFunctionName(ReadableStreamDefaultController.prototype.close,"close");setFunctionName(ReadableStreamDefaultController.prototype.enqueue,"enqueue");setFunctionName(ReadableStreamDefaultController.prototype.error,"error");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStreamDefaultController.prototype,r.toStringTag,{value:"ReadableStreamDefaultController",configurable:true})}function IsReadableStreamDefaultController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledReadableStream")){return false}return t instanceof ReadableStreamDefaultController}function ReadableStreamDefaultControllerCallPullIfNeeded(t){const r=ReadableStreamDefaultControllerShouldCallPull(t);if(!r){return}if(t._pulling){t._pullAgain=true;return}t._pulling=true;const n=t._pullAlgorithm();uponPromise(n,(()=>{t._pulling=false;if(t._pullAgain){t._pullAgain=false;ReadableStreamDefaultControllerCallPullIfNeeded(t)}return null}),(r=>{ReadableStreamDefaultControllerError(t,r);return null}))}function ReadableStreamDefaultControllerShouldCallPull(t){const r=t._controlledReadableStream;if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(t)){return false}if(!t._started){return false}if(IsReadableStreamLocked(r)&&ReadableStreamGetNumReadRequests(r)>0){return true}const n=ReadableStreamDefaultControllerGetDesiredSize(t);if(n>0){return true}return false}function ReadableStreamDefaultControllerClearAlgorithms(t){t._pullAlgorithm=undefined;t._cancelAlgorithm=undefined;t._strategySizeAlgorithm=undefined}function ReadableStreamDefaultControllerClose(t){if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(t)){return}const r=t._controlledReadableStream;t._closeRequested=true;if(t._queue.length===0){ReadableStreamDefaultControllerClearAlgorithms(t);ReadableStreamClose(r)}}function ReadableStreamDefaultControllerEnqueue(t,r){if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(t)){return}const n=t._controlledReadableStream;if(IsReadableStreamLocked(n)&&ReadableStreamGetNumReadRequests(n)>0){ReadableStreamFulfillReadRequest(n,r,false)}else{let n;try{n=t._strategySizeAlgorithm(r)}catch(r){ReadableStreamDefaultControllerError(t,r);throw r}try{EnqueueValueWithSize(t,r,n)}catch(r){ReadableStreamDefaultControllerError(t,r);throw r}}ReadableStreamDefaultControllerCallPullIfNeeded(t)}function ReadableStreamDefaultControllerError(t,r){const n=t._controlledReadableStream;if(n._state!=="readable"){return}ResetQueue(t);ReadableStreamDefaultControllerClearAlgorithms(t);ReadableStreamError(n,r)}function ReadableStreamDefaultControllerGetDesiredSize(t){const r=t._controlledReadableStream._state;if(r==="errored"){return null}if(r==="closed"){return 0}return t._strategyHWM-t._queueTotalSize}function ReadableStreamDefaultControllerHasBackpressure(t){if(ReadableStreamDefaultControllerShouldCallPull(t)){return false}return true}function ReadableStreamDefaultControllerCanCloseOrEnqueue(t){const r=t._controlledReadableStream._state;if(!t._closeRequested&&r==="readable"){return true}return false}function SetUpReadableStreamDefaultController(t,r,n,s,i,o,a){r._controlledReadableStream=t;r._queue=undefined;r._queueTotalSize=undefined;ResetQueue(r);r._started=false;r._closeRequested=false;r._pullAgain=false;r._pulling=false;r._strategySizeAlgorithm=a;r._strategyHWM=o;r._pullAlgorithm=s;r._cancelAlgorithm=i;t._readableStreamController=r;const l=n();uponPromise(promiseResolvedWith(l),(()=>{r._started=true;ReadableStreamDefaultControllerCallPullIfNeeded(r);return null}),(t=>{ReadableStreamDefaultControllerError(r,t);return null}))}function SetUpReadableStreamDefaultControllerFromUnderlyingSource(t,r,n,s){const i=Object.create(ReadableStreamDefaultController.prototype);let o;let a;let l;if(r.start!==undefined){o=()=>r.start(i)}else{o=()=>undefined}if(r.pull!==undefined){a=()=>r.pull(i)}else{a=()=>promiseResolvedWith(undefined)}if(r.cancel!==undefined){l=t=>r.cancel(t)}else{l=()=>promiseResolvedWith(undefined)}SetUpReadableStreamDefaultController(t,i,o,a,l,n,s)}function defaultControllerBrandCheckException$1(t){return new TypeError(`ReadableStreamDefaultController.prototype.${t} can only be used on a ReadableStreamDefaultController`)}function ReadableStreamTee(t,r){if(IsReadableByteStreamController(t._readableStreamController)){return ReadableByteStreamTee(t)}return ReadableStreamDefaultTee(t)}function ReadableStreamDefaultTee(t,r){const n=AcquireReadableStreamDefaultReader(t);let s=false;let i=false;let o=false;let a=false;let l;let c;let u;let d;let p;const h=newPromise((t=>{p=t}));function pullAlgorithm(){if(s){i=true;return promiseResolvedWith(undefined)}s=true;const t={_chunkSteps:t=>{_queueMicrotask((()=>{i=false;const r=t;const n=t;if(!o){ReadableStreamDefaultControllerEnqueue(u._readableStreamController,r)}if(!a){ReadableStreamDefaultControllerEnqueue(d._readableStreamController,n)}s=false;if(i){pullAlgorithm()}}))},_closeSteps:()=>{s=false;if(!o){ReadableStreamDefaultControllerClose(u._readableStreamController)}if(!a){ReadableStreamDefaultControllerClose(d._readableStreamController)}if(!o||!a){p(undefined)}},_errorSteps:()=>{s=false}};ReadableStreamDefaultReaderRead(n,t);return promiseResolvedWith(undefined)}function cancel1Algorithm(r){o=true;l=r;if(a){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function cancel2Algorithm(r){a=true;c=r;if(o){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function startAlgorithm(){}u=CreateReadableStream(startAlgorithm,pullAlgorithm,cancel1Algorithm);d=CreateReadableStream(startAlgorithm,pullAlgorithm,cancel2Algorithm);uponRejection(n._closedPromise,(t=>{ReadableStreamDefaultControllerError(u._readableStreamController,t);ReadableStreamDefaultControllerError(d._readableStreamController,t);if(!o||!a){p(undefined)}return null}));return[u,d]}function ReadableByteStreamTee(t){let r=AcquireReadableStreamDefaultReader(t);let n=false;let s=false;let i=false;let o=false;let a=false;let l;let c;let u;let d;let p;const h=newPromise((t=>{p=t}));function forwardReaderError(t){uponRejection(t._closedPromise,(n=>{if(t!==r){return null}ReadableByteStreamControllerError(u._readableStreamController,n);ReadableByteStreamControllerError(d._readableStreamController,n);if(!o||!a){p(undefined)}return null}))}function pullWithDefaultReader(){if(IsReadableStreamBYOBReader(r)){ReadableStreamReaderGenericRelease(r);r=AcquireReadableStreamDefaultReader(t);forwardReaderError(r)}const l={_chunkSteps:r=>{_queueMicrotask((()=>{s=false;i=false;const l=r;let c=r;if(!o&&!a){try{c=CloneAsUint8Array(r)}catch(r){ReadableByteStreamControllerError(u._readableStreamController,r);ReadableByteStreamControllerError(d._readableStreamController,r);p(ReadableStreamCancel(t,r));return}}if(!o){ReadableByteStreamControllerEnqueue(u._readableStreamController,l)}if(!a){ReadableByteStreamControllerEnqueue(d._readableStreamController,c)}n=false;if(s){pull1Algorithm()}else if(i){pull2Algorithm()}}))},_closeSteps:()=>{n=false;if(!o){ReadableByteStreamControllerClose(u._readableStreamController)}if(!a){ReadableByteStreamControllerClose(d._readableStreamController)}if(u._readableStreamController._pendingPullIntos.length>0){ReadableByteStreamControllerRespond(u._readableStreamController,0)}if(d._readableStreamController._pendingPullIntos.length>0){ReadableByteStreamControllerRespond(d._readableStreamController,0)}if(!o||!a){p(undefined)}},_errorSteps:()=>{n=false}};ReadableStreamDefaultReaderRead(r,l)}function pullWithBYOBReader(l,c){if(IsReadableStreamDefaultReader(r)){ReadableStreamReaderGenericRelease(r);r=AcquireReadableStreamBYOBReader(t);forwardReaderError(r)}const h=c?d:u;const m=c?u:d;const g={_chunkSteps:r=>{_queueMicrotask((()=>{s=false;i=false;const l=c?a:o;const u=c?o:a;if(!u){let n;try{n=CloneAsUint8Array(r)}catch(r){ReadableByteStreamControllerError(h._readableStreamController,r);ReadableByteStreamControllerError(m._readableStreamController,r);p(ReadableStreamCancel(t,r));return}if(!l){ReadableByteStreamControllerRespondWithNewView(h._readableStreamController,r)}ReadableByteStreamControllerEnqueue(m._readableStreamController,n)}else if(!l){ReadableByteStreamControllerRespondWithNewView(h._readableStreamController,r)}n=false;if(s){pull1Algorithm()}else if(i){pull2Algorithm()}}))},_closeSteps:t=>{n=false;const r=c?a:o;const s=c?o:a;if(!r){ReadableByteStreamControllerClose(h._readableStreamController)}if(!s){ReadableByteStreamControllerClose(m._readableStreamController)}if(t!==undefined){if(!r){ReadableByteStreamControllerRespondWithNewView(h._readableStreamController,t)}if(!s&&m._readableStreamController._pendingPullIntos.length>0){ReadableByteStreamControllerRespond(m._readableStreamController,0)}}if(!r||!s){p(undefined)}},_errorSteps:()=>{n=false}};ReadableStreamBYOBReaderRead(r,l,1,g)}function pull1Algorithm(){if(n){s=true;return promiseResolvedWith(undefined)}n=true;const t=ReadableByteStreamControllerGetBYOBRequest(u._readableStreamController);if(t===null){pullWithDefaultReader()}else{pullWithBYOBReader(t._view,false)}return promiseResolvedWith(undefined)}function pull2Algorithm(){if(n){i=true;return promiseResolvedWith(undefined)}n=true;const t=ReadableByteStreamControllerGetBYOBRequest(d._readableStreamController);if(t===null){pullWithDefaultReader()}else{pullWithBYOBReader(t._view,true)}return promiseResolvedWith(undefined)}function cancel1Algorithm(r){o=true;l=r;if(a){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function cancel2Algorithm(r){a=true;c=r;if(o){const r=CreateArrayFromList([l,c]);const n=ReadableStreamCancel(t,r);p(n)}return h}function startAlgorithm(){return}u=CreateReadableByteStream(startAlgorithm,pull1Algorithm,cancel1Algorithm);d=CreateReadableByteStream(startAlgorithm,pull2Algorithm,cancel2Algorithm);forwardReaderError(r);return[u,d]}function isReadableStreamLike(t){return typeIsObject(t)&&typeof t.getReader!=="undefined"}function ReadableStreamFrom(t){if(isReadableStreamLike(t)){return ReadableStreamFromDefaultReader(t.getReader())}return ReadableStreamFromIterable(t)}function ReadableStreamFromIterable(t){let r;const n=GetIterator(t,"async");const s=noop;function pullAlgorithm(){let t;try{t=IteratorNext(n)}catch(t){return promiseRejectedWith(t)}const s=promiseResolvedWith(t);return transformPromiseWith(s,(t=>{if(!typeIsObject(t)){throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object")}const n=IteratorComplete(t);if(n){ReadableStreamDefaultControllerClose(r._readableStreamController)}else{const n=IteratorValue(t);ReadableStreamDefaultControllerEnqueue(r._readableStreamController,n)}}))}function cancelAlgorithm(t){const r=n.iterator;let s;try{s=GetMethod(r,"return")}catch(t){return promiseRejectedWith(t)}if(s===undefined){return promiseResolvedWith(undefined)}let i;try{i=reflectCall(s,r,[t])}catch(t){return promiseRejectedWith(t)}const o=promiseResolvedWith(i);return transformPromiseWith(o,(t=>{if(!typeIsObject(t)){throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")}return undefined}))}r=CreateReadableStream(s,pullAlgorithm,cancelAlgorithm,0);return r}function ReadableStreamFromDefaultReader(t){let r;const n=noop;function pullAlgorithm(){let n;try{n=t.read()}catch(t){return promiseRejectedWith(t)}return transformPromiseWith(n,(t=>{if(!typeIsObject(t)){throw new TypeError("The promise returned by the reader.read() method must fulfill with an object")}if(t.done){ReadableStreamDefaultControllerClose(r._readableStreamController)}else{const n=t.value;ReadableStreamDefaultControllerEnqueue(r._readableStreamController,n)}}))}function cancelAlgorithm(r){try{return promiseResolvedWith(t.cancel(r))}catch(t){return promiseRejectedWith(t)}}r=CreateReadableStream(n,pullAlgorithm,cancelAlgorithm,0);return r}function convertUnderlyingDefaultOrByteSource(t,r){assertDictionary(t,r);const n=t;const s=n===null||n===void 0?void 0:n.autoAllocateChunkSize;const i=n===null||n===void 0?void 0:n.cancel;const o=n===null||n===void 0?void 0:n.pull;const a=n===null||n===void 0?void 0:n.start;const l=n===null||n===void 0?void 0:n.type;return{autoAllocateChunkSize:s===undefined?undefined:convertUnsignedLongLongWithEnforceRange(s,`${r} has member 'autoAllocateChunkSize' that`),cancel:i===undefined?undefined:convertUnderlyingSourceCancelCallback(i,n,`${r} has member 'cancel' that`),pull:o===undefined?undefined:convertUnderlyingSourcePullCallback(o,n,`${r} has member 'pull' that`),start:a===undefined?undefined:convertUnderlyingSourceStartCallback(a,n,`${r} has member 'start' that`),type:l===undefined?undefined:convertReadableStreamType(l,`${r} has member 'type' that`)}}function convertUnderlyingSourceCancelCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertUnderlyingSourcePullCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertUnderlyingSourceStartCallback(t,r,n){assertFunction(t,n);return n=>reflectCall(t,r,[n])}function convertReadableStreamType(t,r){t=`${t}`;if(t!=="bytes"){throw new TypeError(`${r} '${t}' is not a valid enumeration value for ReadableStreamType`)}return t}function convertIteratorOptions(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.preventCancel;return{preventCancel:Boolean(n)}}function convertPipeOptions(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.preventAbort;const s=t===null||t===void 0?void 0:t.preventCancel;const i=t===null||t===void 0?void 0:t.preventClose;const o=t===null||t===void 0?void 0:t.signal;if(o!==undefined){assertAbortSignal(o,`${r} has member 'signal' that`)}return{preventAbort:Boolean(n),preventCancel:Boolean(s),preventClose:Boolean(i),signal:o}}function assertAbortSignal(t,r){if(!isAbortSignal(t)){throw new TypeError(`${r} is not an AbortSignal.`)}}function convertReadableWritablePair(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.readable;assertRequiredField(n,"readable","ReadableWritablePair");assertReadableStream(n,`${r} has member 'readable' that`);const s=t===null||t===void 0?void 0:t.writable;assertRequiredField(s,"writable","ReadableWritablePair");assertWritableStream(s,`${r} has member 'writable' that`);return{readable:n,writable:s}}class ReadableStream{constructor(t={},r={}){if(t===undefined){t=null}else{assertObject(t,"First parameter")}const n=convertQueuingStrategy(r,"Second parameter");const s=convertUnderlyingDefaultOrByteSource(t,"First parameter");InitializeReadableStream(this);if(s.type==="bytes"){if(n.size!==undefined){throw new RangeError("The strategy for a byte stream cannot have a size function")}const t=ExtractHighWaterMark(n,0);SetUpReadableByteStreamControllerFromUnderlyingSource(this,s,t)}else{const t=ExtractSizeAlgorithm(n);const r=ExtractHighWaterMark(n,1);SetUpReadableStreamDefaultControllerFromUnderlyingSource(this,s,r,t)}}get locked(){if(!IsReadableStream(this)){throw streamBrandCheckException$1("locked")}return IsReadableStreamLocked(this)}cancel(t=undefined){if(!IsReadableStream(this)){return promiseRejectedWith(streamBrandCheckException$1("cancel"))}if(IsReadableStreamLocked(this)){return promiseRejectedWith(new TypeError("Cannot cancel a stream that already has a reader"))}return ReadableStreamCancel(this,t)}getReader(t=undefined){if(!IsReadableStream(this)){throw streamBrandCheckException$1("getReader")}const r=convertReaderOptions(t,"First parameter");if(r.mode===undefined){return AcquireReadableStreamDefaultReader(this)}return AcquireReadableStreamBYOBReader(this)}pipeThrough(t,r={}){if(!IsReadableStream(this)){throw streamBrandCheckException$1("pipeThrough")}assertRequiredArgument(t,1,"pipeThrough");const n=convertReadableWritablePair(t,"First parameter");const s=convertPipeOptions(r,"Second parameter");if(IsReadableStreamLocked(this)){throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream")}if(IsWritableStreamLocked(n.writable)){throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream")}const i=ReadableStreamPipeTo(this,n.writable,s.preventClose,s.preventAbort,s.preventCancel,s.signal);setPromiseIsHandledToTrue(i);return n.readable}pipeTo(t,r={}){if(!IsReadableStream(this)){return promiseRejectedWith(streamBrandCheckException$1("pipeTo"))}if(t===undefined){return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`)}if(!IsWritableStream(t)){return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`))}let n;try{n=convertPipeOptions(r,"Second parameter")}catch(t){return promiseRejectedWith(t)}if(IsReadableStreamLocked(this)){return promiseRejectedWith(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"))}if(IsWritableStreamLocked(t)){return promiseRejectedWith(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"))}return ReadableStreamPipeTo(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!IsReadableStream(this)){throw streamBrandCheckException$1("tee")}const t=ReadableStreamTee(this);return CreateArrayFromList(t)}values(t=undefined){if(!IsReadableStream(this)){throw streamBrandCheckException$1("values")}const r=convertIteratorOptions(t,"First parameter");return AcquireReadableStreamAsyncIterator(this,r.preventCancel)}static from(t){return ReadableStreamFrom(t)}}Object.defineProperties(ReadableStream,{from:{enumerable:true}});Object.defineProperties(ReadableStream.prototype,{cancel:{enumerable:true},getReader:{enumerable:true},pipeThrough:{enumerable:true},pipeTo:{enumerable:true},tee:{enumerable:true},values:{enumerable:true},locked:{enumerable:true}});setFunctionName(ReadableStream.from,"from");setFunctionName(ReadableStream.prototype.cancel,"cancel");setFunctionName(ReadableStream.prototype.getReader,"getReader");setFunctionName(ReadableStream.prototype.pipeThrough,"pipeThrough");setFunctionName(ReadableStream.prototype.pipeTo,"pipeTo");setFunctionName(ReadableStream.prototype.tee,"tee");setFunctionName(ReadableStream.prototype.values,"values");if(typeof r.toStringTag==="symbol"){Object.defineProperty(ReadableStream.prototype,r.toStringTag,{value:"ReadableStream",configurable:true})}if(typeof r.asyncIterator==="symbol"){Object.defineProperty(ReadableStream.prototype,r.asyncIterator,{value:ReadableStream.prototype.values,writable:true,configurable:true})}function CreateReadableStream(t,r,n,s=1,i=(()=>1)){const o=Object.create(ReadableStream.prototype);InitializeReadableStream(o);const a=Object.create(ReadableStreamDefaultController.prototype);SetUpReadableStreamDefaultController(o,a,t,r,n,s,i);return o}function CreateReadableByteStream(t,r,n){const s=Object.create(ReadableStream.prototype);InitializeReadableStream(s);const i=Object.create(ReadableByteStreamController.prototype);SetUpReadableByteStreamController(s,i,t,r,n,0,undefined);return s}function InitializeReadableStream(t){t._state="readable";t._reader=undefined;t._storedError=undefined;t._disturbed=false}function IsReadableStream(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_readableStreamController")){return false}return t instanceof ReadableStream}function IsReadableStreamLocked(t){if(t._reader===undefined){return false}return true}function ReadableStreamCancel(t,r){t._disturbed=true;if(t._state==="closed"){return promiseResolvedWith(undefined)}if(t._state==="errored"){return promiseRejectedWith(t._storedError)}ReadableStreamClose(t);const n=t._reader;if(n!==undefined&&IsReadableStreamBYOBReader(n)){const t=n._readIntoRequests;n._readIntoRequests=new SimpleQueue;t.forEach((t=>{t._closeSteps(undefined)}))}const s=t._readableStreamController[u](r);return transformPromiseWith(s,noop)}function ReadableStreamClose(t){t._state="closed";const r=t._reader;if(r===undefined){return}defaultReaderClosedPromiseResolve(r);if(IsReadableStreamDefaultReader(r)){const t=r._readRequests;r._readRequests=new SimpleQueue;t.forEach((t=>{t._closeSteps()}))}}function ReadableStreamError(t,r){t._state="errored";t._storedError=r;const n=t._reader;if(n===undefined){return}defaultReaderClosedPromiseReject(n,r);if(IsReadableStreamDefaultReader(n)){ReadableStreamDefaultReaderErrorReadRequests(n,r)}else{ReadableStreamBYOBReaderErrorReadIntoRequests(n,r)}}function streamBrandCheckException$1(t){return new TypeError(`ReadableStream.prototype.${t} can only be used on a ReadableStream`)}function convertQueuingStrategyInit(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.highWaterMark;assertRequiredField(n,"highWaterMark","QueuingStrategyInit");return{highWaterMark:convertUnrestrictedDouble(n)}}const byteLengthSizeFunction=t=>t.byteLength;setFunctionName(byteLengthSizeFunction,"size");class ByteLengthQueuingStrategy{constructor(t){assertRequiredArgument(t,1,"ByteLengthQueuingStrategy");t=convertQueuingStrategyInit(t,"First parameter");this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!IsByteLengthQueuingStrategy(this)){throw byteLengthBrandCheckException("highWaterMark")}return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!IsByteLengthQueuingStrategy(this)){throw byteLengthBrandCheckException("size")}return byteLengthSizeFunction}}Object.defineProperties(ByteLengthQueuingStrategy.prototype,{highWaterMark:{enumerable:true},size:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(ByteLengthQueuingStrategy.prototype,r.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:true})}function byteLengthBrandCheckException(t){return new TypeError(`ByteLengthQueuingStrategy.prototype.${t} can only be used on a ByteLengthQueuingStrategy`)}function IsByteLengthQueuingStrategy(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_byteLengthQueuingStrategyHighWaterMark")){return false}return t instanceof ByteLengthQueuingStrategy}const countSizeFunction=()=>1;setFunctionName(countSizeFunction,"size");class CountQueuingStrategy{constructor(t){assertRequiredArgument(t,1,"CountQueuingStrategy");t=convertQueuingStrategyInit(t,"First parameter");this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!IsCountQueuingStrategy(this)){throw countBrandCheckException("highWaterMark")}return this._countQueuingStrategyHighWaterMark}get size(){if(!IsCountQueuingStrategy(this)){throw countBrandCheckException("size")}return countSizeFunction}}Object.defineProperties(CountQueuingStrategy.prototype,{highWaterMark:{enumerable:true},size:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(CountQueuingStrategy.prototype,r.toStringTag,{value:"CountQueuingStrategy",configurable:true})}function countBrandCheckException(t){return new TypeError(`CountQueuingStrategy.prototype.${t} can only be used on a CountQueuingStrategy`)}function IsCountQueuingStrategy(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_countQueuingStrategyHighWaterMark")){return false}return t instanceof CountQueuingStrategy}function convertTransformer(t,r){assertDictionary(t,r);const n=t===null||t===void 0?void 0:t.cancel;const s=t===null||t===void 0?void 0:t.flush;const i=t===null||t===void 0?void 0:t.readableType;const o=t===null||t===void 0?void 0:t.start;const a=t===null||t===void 0?void 0:t.transform;const l=t===null||t===void 0?void 0:t.writableType;return{cancel:n===undefined?undefined:convertTransformerCancelCallback(n,t,`${r} has member 'cancel' that`),flush:s===undefined?undefined:convertTransformerFlushCallback(s,t,`${r} has member 'flush' that`),readableType:i,start:o===undefined?undefined:convertTransformerStartCallback(o,t,`${r} has member 'start' that`),transform:a===undefined?undefined:convertTransformerTransformCallback(a,t,`${r} has member 'transform' that`),writableType:l}}function convertTransformerFlushCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}function convertTransformerStartCallback(t,r,n){assertFunction(t,n);return n=>reflectCall(t,r,[n])}function convertTransformerTransformCallback(t,r,n){assertFunction(t,n);return(n,s)=>promiseCall(t,r,[n,s])}function convertTransformerCancelCallback(t,r,n){assertFunction(t,n);return n=>promiseCall(t,r,[n])}class TransformStream{constructor(t={},r={},n={}){if(t===undefined){t=null}const s=convertQueuingStrategy(r,"Second parameter");const i=convertQueuingStrategy(n,"Third parameter");const o=convertTransformer(t,"First parameter");if(o.readableType!==undefined){throw new RangeError("Invalid readableType specified")}if(o.writableType!==undefined){throw new RangeError("Invalid writableType specified")}const a=ExtractHighWaterMark(i,0);const l=ExtractSizeAlgorithm(i);const c=ExtractHighWaterMark(s,1);const u=ExtractSizeAlgorithm(s);let d;const p=newPromise((t=>{d=t}));InitializeTransformStream(this,p,c,u,a,l);SetUpTransformStreamDefaultControllerFromTransformer(this,o);if(o.start!==undefined){d(o.start(this._transformStreamController))}else{d(undefined)}}get readable(){if(!IsTransformStream(this)){throw streamBrandCheckException("readable")}return this._readable}get writable(){if(!IsTransformStream(this)){throw streamBrandCheckException("writable")}return this._writable}}Object.defineProperties(TransformStream.prototype,{readable:{enumerable:true},writable:{enumerable:true}});if(typeof r.toStringTag==="symbol"){Object.defineProperty(TransformStream.prototype,r.toStringTag,{value:"TransformStream",configurable:true})}function InitializeTransformStream(t,r,n,s,i,o){function startAlgorithm(){return r}function writeAlgorithm(r){return TransformStreamDefaultSinkWriteAlgorithm(t,r)}function abortAlgorithm(r){return TransformStreamDefaultSinkAbortAlgorithm(t,r)}function closeAlgorithm(){return TransformStreamDefaultSinkCloseAlgorithm(t)}t._writable=CreateWritableStream(startAlgorithm,writeAlgorithm,closeAlgorithm,abortAlgorithm,n,s);function pullAlgorithm(){return TransformStreamDefaultSourcePullAlgorithm(t)}function cancelAlgorithm(r){return TransformStreamDefaultSourceCancelAlgorithm(t,r)}t._readable=CreateReadableStream(startAlgorithm,pullAlgorithm,cancelAlgorithm,i,o);t._backpressure=undefined;t._backpressureChangePromise=undefined;t._backpressureChangePromise_resolve=undefined;TransformStreamSetBackpressure(t,true);t._transformStreamController=undefined}function IsTransformStream(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_transformStreamController")){return false}return t instanceof TransformStream}function TransformStreamError(t,r){ReadableStreamDefaultControllerError(t._readable._readableStreamController,r);TransformStreamErrorWritableAndUnblockWrite(t,r)}function TransformStreamErrorWritableAndUnblockWrite(t,r){TransformStreamDefaultControllerClearAlgorithms(t._transformStreamController);WritableStreamDefaultControllerErrorIfNeeded(t._writable._writableStreamController,r);TransformStreamUnblockWrite(t)}function TransformStreamUnblockWrite(t){if(t._backpressure){TransformStreamSetBackpressure(t,false)}}function TransformStreamSetBackpressure(t,r){if(t._backpressureChangePromise!==undefined){t._backpressureChangePromise_resolve()}t._backpressureChangePromise=newPromise((r=>{t._backpressureChangePromise_resolve=r}));t._backpressure=r}class TransformStreamDefaultController{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("desiredSize")}const t=this._controlledTransformStream._readable._readableStreamController;return ReadableStreamDefaultControllerGetDesiredSize(t)}enqueue(t=undefined){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("enqueue")}TransformStreamDefaultControllerEnqueue(this,t)}error(t=undefined){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("error")}TransformStreamDefaultControllerError(this,t)}terminate(){if(!IsTransformStreamDefaultController(this)){throw defaultControllerBrandCheckException("terminate")}TransformStreamDefaultControllerTerminate(this)}}Object.defineProperties(TransformStreamDefaultController.prototype,{enqueue:{enumerable:true},error:{enumerable:true},terminate:{enumerable:true},desiredSize:{enumerable:true}});setFunctionName(TransformStreamDefaultController.prototype.enqueue,"enqueue");setFunctionName(TransformStreamDefaultController.prototype.error,"error");setFunctionName(TransformStreamDefaultController.prototype.terminate,"terminate");if(typeof r.toStringTag==="symbol"){Object.defineProperty(TransformStreamDefaultController.prototype,r.toStringTag,{value:"TransformStreamDefaultController",configurable:true})}function IsTransformStreamDefaultController(t){if(!typeIsObject(t)){return false}if(!Object.prototype.hasOwnProperty.call(t,"_controlledTransformStream")){return false}return t instanceof TransformStreamDefaultController}function SetUpTransformStreamDefaultController(t,r,n,s,i){r._controlledTransformStream=t;t._transformStreamController=r;r._transformAlgorithm=n;r._flushAlgorithm=s;r._cancelAlgorithm=i;r._finishPromise=undefined;r._finishPromise_resolve=undefined;r._finishPromise_reject=undefined}function SetUpTransformStreamDefaultControllerFromTransformer(t,r){const n=Object.create(TransformStreamDefaultController.prototype);let s;let i;let o;if(r.transform!==undefined){s=t=>r.transform(t,n)}else{s=t=>{try{TransformStreamDefaultControllerEnqueue(n,t);return promiseResolvedWith(undefined)}catch(t){return promiseRejectedWith(t)}}}if(r.flush!==undefined){i=()=>r.flush(n)}else{i=()=>promiseResolvedWith(undefined)}if(r.cancel!==undefined){o=t=>r.cancel(t)}else{o=()=>promiseResolvedWith(undefined)}SetUpTransformStreamDefaultController(t,n,s,i,o)}function TransformStreamDefaultControllerClearAlgorithms(t){t._transformAlgorithm=undefined;t._flushAlgorithm=undefined;t._cancelAlgorithm=undefined}function TransformStreamDefaultControllerEnqueue(t,r){const n=t._controlledTransformStream;const s=n._readable._readableStreamController;if(!ReadableStreamDefaultControllerCanCloseOrEnqueue(s)){throw new TypeError("Readable side is not in a state that permits enqueue")}try{ReadableStreamDefaultControllerEnqueue(s,r)}catch(t){TransformStreamErrorWritableAndUnblockWrite(n,t);throw n._readable._storedError}const i=ReadableStreamDefaultControllerHasBackpressure(s);if(i!==n._backpressure){TransformStreamSetBackpressure(n,true)}}function TransformStreamDefaultControllerError(t,r){TransformStreamError(t._controlledTransformStream,r)}function TransformStreamDefaultControllerPerformTransform(t,r){const n=t._transformAlgorithm(r);return transformPromiseWith(n,undefined,(r=>{TransformStreamError(t._controlledTransformStream,r);throw r}))}function TransformStreamDefaultControllerTerminate(t){const r=t._controlledTransformStream;const n=r._readable._readableStreamController;ReadableStreamDefaultControllerClose(n);const s=new TypeError("TransformStream terminated");TransformStreamErrorWritableAndUnblockWrite(r,s)}function TransformStreamDefaultSinkWriteAlgorithm(t,r){const n=t._transformStreamController;if(t._backpressure){const s=t._backpressureChangePromise;return transformPromiseWith(s,(()=>{const s=t._writable;const i=s._state;if(i==="erroring"){throw s._storedError}return TransformStreamDefaultControllerPerformTransform(n,r)}))}return TransformStreamDefaultControllerPerformTransform(n,r)}function TransformStreamDefaultSinkAbortAlgorithm(t,r){const n=t._transformStreamController;if(n._finishPromise!==undefined){return n._finishPromise}const s=t._readable;n._finishPromise=newPromise(((t,r)=>{n._finishPromise_resolve=t;n._finishPromise_reject=r}));const i=n._cancelAlgorithm(r);TransformStreamDefaultControllerClearAlgorithms(n);uponPromise(i,(()=>{if(s._state==="errored"){defaultControllerFinishPromiseReject(n,s._storedError)}else{ReadableStreamDefaultControllerError(s._readableStreamController,r);defaultControllerFinishPromiseResolve(n)}return null}),(t=>{ReadableStreamDefaultControllerError(s._readableStreamController,t);defaultControllerFinishPromiseReject(n,t);return null}));return n._finishPromise}function TransformStreamDefaultSinkCloseAlgorithm(t){const r=t._transformStreamController;if(r._finishPromise!==undefined){return r._finishPromise}const n=t._readable;r._finishPromise=newPromise(((t,n)=>{r._finishPromise_resolve=t;r._finishPromise_reject=n}));const s=r._flushAlgorithm();TransformStreamDefaultControllerClearAlgorithms(r);uponPromise(s,(()=>{if(n._state==="errored"){defaultControllerFinishPromiseReject(r,n._storedError)}else{ReadableStreamDefaultControllerClose(n._readableStreamController);defaultControllerFinishPromiseResolve(r)}return null}),(t=>{ReadableStreamDefaultControllerError(n._readableStreamController,t);defaultControllerFinishPromiseReject(r,t);return null}));return r._finishPromise}function TransformStreamDefaultSourcePullAlgorithm(t){TransformStreamSetBackpressure(t,false);return t._backpressureChangePromise}function TransformStreamDefaultSourceCancelAlgorithm(t,r){const n=t._transformStreamController;if(n._finishPromise!==undefined){return n._finishPromise}const s=t._writable;n._finishPromise=newPromise(((t,r)=>{n._finishPromise_resolve=t;n._finishPromise_reject=r}));const i=n._cancelAlgorithm(r);TransformStreamDefaultControllerClearAlgorithms(n);uponPromise(i,(()=>{if(s._state==="errored"){defaultControllerFinishPromiseReject(n,s._storedError)}else{WritableStreamDefaultControllerErrorIfNeeded(s._writableStreamController,r);TransformStreamUnblockWrite(t);defaultControllerFinishPromiseResolve(n)}return null}),(r=>{WritableStreamDefaultControllerErrorIfNeeded(s._writableStreamController,r);TransformStreamUnblockWrite(t);defaultControllerFinishPromiseReject(n,r);return null}));return n._finishPromise}function defaultControllerBrandCheckException(t){return new TypeError(`TransformStreamDefaultController.prototype.${t} can only be used on a TransformStreamDefaultController`)}function defaultControllerFinishPromiseResolve(t){if(t._finishPromise_resolve===undefined){return}t._finishPromise_resolve();t._finishPromise_resolve=undefined;t._finishPromise_reject=undefined}function defaultControllerFinishPromiseReject(t,r){if(t._finishPromise_reject===undefined){return}setPromiseIsHandledToTrue(t._finishPromise);t._finishPromise_reject(r);t._finishPromise_resolve=undefined;t._finishPromise_reject=undefined}function streamBrandCheckException(t){return new TypeError(`TransformStream.prototype.${t} can only be used on a TransformStream`)}t.ByteLengthQueuingStrategy=ByteLengthQueuingStrategy;t.CountQueuingStrategy=CountQueuingStrategy;t.ReadableByteStreamController=ReadableByteStreamController;t.ReadableStream=ReadableStream;t.ReadableStreamBYOBReader=ReadableStreamBYOBReader;t.ReadableStreamBYOBRequest=ReadableStreamBYOBRequest;t.ReadableStreamDefaultController=ReadableStreamDefaultController;t.ReadableStreamDefaultReader=ReadableStreamDefaultReader;t.TransformStream=TransformStream;t.TransformStreamDefaultController=TransformStreamDefaultController;t.WritableStream=WritableStream;t.WritableStreamDefaultController=WritableStreamDefaultController;t.WritableStreamDefaultWriter=WritableStreamDefaultWriter}))},6144:(t,r,n)=>{n.a(t,(async(t,r)=>{try{var s=n(4040);const t=1;const i=await(0,s.D)().catch((()=>t));if(typeof i==="number"){process.exitCode=i}r()}catch(t){r(t)}}),1)},4040:(r,n,s)=>{s.d(n,{D:()=>main});var i={};s.r(i);s.d(i,{GameVersionFilter:()=>G});var o={};s.r(o);s.d(o,{VersionType:()=>te});var a={};s.r(a);s.d(a,{ModrinthUnfeatureMode:()=>pe});var l={};s.r(l);s.d(l,{SecureString:()=>SecureString});var c={};s.r(c);s.d(c,{FailMode:()=>Oe});var u={};s.r(u);s.d(u,{FileInfo:()=>FileInfo,fileEquals:()=>fileEquals,findFiles:()=>findFiles,findFilesSync:()=>findFilesSync,readAllText:()=>readAllText,readAllTextSync:()=>readAllTextSync,readAllZippedText:()=>readAllZippedText,readFile:()=>file_info_readFile,readFileSync:()=>readFileSync,readZippedFile:()=>readZippedFile});var d={};s.r(d);s.d(d,{createDependency:()=>createDependency,formatDependency:()=>formatDependency,isDependency:()=>isDependency,parseDependency:()=>parseDependency});var p={};s.r(p);s.d(p,{JavaVersion:()=>JavaVersion});var h={};s.r(h);const m=Symbol.for("call");function makeCallable(t){function call(...t){return call[m](...t)}Object.assign(call,t);Object.setPrototypeOf(call,Object.getPrototypeOf(t));return call}function convertComparerToEqualityComparer(t){return(r,n)=>t(r,n)===0}function invertComparer(t){return(r,n)=>t(n,r)}function combineComparers(t,r){return(n,s)=>{const i=t(n,s);return i===0?r(n,s):i}}function negateEqualityComparer(t){return(r,n)=>!t(r,n)}function orEqualityComparers(t,r){return(n,s)=>t(n,s)||r(n,s)}function andEqualityComparers(t,r){return(n,s)=>t(n,s)&&r(n,s)}class CompositeEqualityComparer{_comparer;_negated;constructor(t,r){this._comparer=t;this._negated=r}static createInternal(t,r){return makeCallable(new CompositeEqualityComparer(t,r))}static create(t){return CompositeEqualityComparer.createInternal(t)}equals(t,r){return this._comparer(t,r)}[m](t,r){return this._comparer(t,r)}or(t){const r=t instanceof CompositeEqualityComparer?t._comparer:t;const n=orEqualityComparers(this._comparer,r);return CompositeEqualityComparer.createInternal(n)}and(t){const r=t instanceof CompositeEqualityComparer?t._comparer:t;const n=andEqualityComparers(this._comparer,r);return CompositeEqualityComparer.createInternal(n)}negate(){this._negated??=CompositeEqualityComparer.createInternal(negateEqualityComparer(this._comparer),this);return this._negated}}class CompositeComparer{_comparer;_inverted;constructor(t,r){this._comparer=t;this._inverted=r}static createInternal(t,r){return makeCallable(new CompositeComparer(t,r))}static create(t){return CompositeComparer.createInternal(t)}compare(t,r){return this._comparer(t,r)}[m](t,r){return this._comparer(t,r)}thenBy(t){const r=t instanceof CompositeComparer?t._comparer:t;const n=combineComparers(this._comparer,r);return CompositeComparer.createInternal(n)}invert(){this._inverted??=CompositeComparer.createInternal(invertComparer(this._comparer),this);return this._inverted}asEqualityComparer(){return CompositeEqualityComparer.create(convertComparerToEqualityComparer(this._comparer))}}function createComparer(t){return CompositeComparer.create(t)}const g=createComparer(((t,r)=>{if(t===undefined){return r===undefined?0:-1}if(t===null){return r===undefined?1:r===null?0:-1}if(r===undefined||r===null){return 1}return 0}));const y=g.thenBy(((t,r)=>tr?1:0));function createBaseComparer(){return g}function createDefaultComparer(){return y}const b=createDefaultComparer();const _=createBaseComparer().thenBy(((t,r)=>t?.localeCompare(r,undefined,{sensitivity:"accent"})??0));function createEqualityComparer(t){return CompositeEqualityComparer.create(t)}const S=createEqualityComparer(((t,r)=>t===r));function createDefaultEqualityComparer(){return S}const E=t(import.meta.url)("node:crypto");function string_utils_asString(t){return typeof t==="string"?t:String(t)}const v=/^\p{L}$/u;function isLetter(t){return t?.length===1&&v.test(t)}const R=/^\d$/;function isDigit(t){return t?.length===1&&t>="0"&&t<="9"}const w=/^(?:\p{L}|\d)$/u;function isLetterOrDigit(t){return t?.length===1&&w.test(t)}const C=/^[^\p{Ll}]*$/u;function isUpperCase(t){return C.test(t)}const A=/^[^\p{Lu}]*$/u;function isLowerCase(t){return A.test(t)}function isNumberString(t){return String(+t)===t}function isIntegerString(t){return String(parseInt(t))===t}function stringCompare(t,r,n){const s=n?.ignoreCase?_:b;return s.compare(t,r)}function stringEquals(t,r,n){return stringCompare(t,r,n)===0}function capitalize(t){return t.charAt(0).toUpperCase()+t.slice(1)}function uncapitalize(t){return t.charAt(0).toLowerCase()+t.slice(1)}function toPascalCase(t){if(isUpperCase(t)){t=t.toLowerCase()}return t.replace(/(?:^|[\s_-])(\w)/g,((t,r)=>r.toUpperCase())).replace(/[\s_-]/g,"")}function split(t,r,n){if(!t){return[]}if(Array.isArray(r)){return splitByArrayOfStrings(t,r,n)}return splitByStringOrRegex(t,r,n)}function splitByStringOrRegex(t,r,n){const s=n?.trimEntries??false;const i=n?.removeEmptyEntries??false;const o=t.split(r);if(s){for(let t=0;tt)):o}function splitByArrayOfStrings(t,r,n){const s=n?.trimEntries??false;const i=n?.removeEmptyEntries??false;const o=[];let a=-1;for(let n=0;n{if(t.length<=n){return t}const r=t.split(" ");const s=[];let i="";for(const t of r){if(i.length+t.length<=n){i+=(i?" ":"")+t}else{s.push(i);i=t}}s.push(i);return s}));return i}function string_utils_pad(t,r,n){t||="";switch(n?.align){case"left":return t.padEnd(r,n?.fillString);case"right":return t.padStart(r,n?.fillString);default:const s=r-t.length;if(s<=0){return t}const i=(s>>1)+t.length;return t.padStart(i,n?.fillString).padEnd(r,n?.fillString)}}function generateSecureRandomString(t){const r=(0,E.randomBytes)(Math.ceil(t/2));return r.toString("hex").slice(0,t)}function string_utils_hashString(t,r="sha256"){return createHash(r).update(t).digest("hex")}const T=createDefaultEqualityComparer();const I=_.asEqualityComparer();const P=createEqualityComparer(((t,r)=>compareStringsIgnoreNonWordCharacters(t,r,false)));const N=createEqualityComparer(((t,r)=>compareStringsIgnoreNonWordCharacters(t,r,true)));function compareStringsIgnoreNonWordCharacters(t,r,n){if(t===null||t===undefined||r===null||r===undefined){return t===r}const s=n?"accent":"variant";let i=0;let o=0;while(i=t.length&&o>=r.length}class BigIntDescriptor{get name(){return"bigint"}get defaultValue(){return 0n}hasFlag(t,r){return(t&r)===r}addFlag(t,r){return t|r}removeFlag(t,r){return t&~r}}class BooleanDescriptor{get name(){return"boolean"}get defaultValue(){return false}hasFlag(t,r){return!r||t}addFlag(t,r){return t||r}removeFlag(t,r){return t&&!r}}class NumberDescriptor{get name(){return"number"}get defaultValue(){return 0}hasFlag(t,r){return(t&r)===r}addFlag(t,r){return t|r}removeFlag(t,r){return t&~r}}const D=[",","|"];const O=D[0];class StringDescriptor{get name(){return"string"}get defaultValue(){return""}hasFlag(t,r){if(r===this.defaultValue||r===t){return true}if(!t){return false}const n=split(t,D,{trimEntries:true,removeEmptyEntries:true});return n.includes(r)}addFlag(t,r){t=this.removeFlag(t,r);return t?`${t}${O} ${r}`:t}removeFlag(t,r){if(t===this.defaultValue||r===this.defaultValue){return t}if(t===r){return this.defaultValue}const n=split(t,D,{trimEntries:true,removeEmptyEntries:true});return n.filter((t=>t!==r)).join(`${O} `)}}const k=new Map([["bigint",new BigIntDescriptor],["boolean",new BooleanDescriptor],["number",new NumberDescriptor],["string",new StringDescriptor]]);function getEnumDescriptorByUnderlyingType(t){return k.get(t)}function inferEnumDescriptorOrThrow(t){if(!t.every(((t,r,n)=>r===0||typeof t===typeof n[r-1]))){throw new Error("The enum must contain objects of the same type.")}const r=t.length?typeof t[0]:"number";const n=getEnumDescriptorByUnderlyingType(r);if(!n){throw new Error(`'${r}' is not an acceptable enum type.`)}return n}function isSet(t){if(t instanceof Set){return true}const r=t;return!!r&&typeof r.values==="function"&&typeof r.add==="function"&&typeof r.delete==="function"&&typeof r.has==="function"&&typeof r[Symbol.iterator]==="function"}function isReadOnlySet(t){if(t instanceof Set){return true}const r=t;return!!r&&typeof r.values==="function"&&typeof r.has==="function"&&typeof r[Symbol.iterator]==="function"}class ArraySet{_values;_comparer;constructor(t,r){r??=typeof t==="function"?t:createDefaultEqualityComparer();const n=t&&t!==r?t:[];this._values=[];this._comparer=r;for(const t of n){this.add(t)}}get size(){return this._values.length}add(t){const r=iterable_$i(this._values).indexOf(t,this._comparer);if(r===-1){this._values.push(t)}else{this._values[r]=t}return this}has(t){return iterable_$i(this._values).includes(t,this._comparer)}delete(t){const r=iterable_$i(this._values).indexOf(t,this._comparer);if(r===-1){return false}this._values.splice(r,1);return true}clear(){this._values.splice(0)}keys(){return this._values[Symbol.iterator]()}values(){return this._values[Symbol.iterator]()}*entries(){const t=this._values;for(let r=0;rn(r(t),r(s));return new ArraySet(t,valueComparer)}return new Map(map(t,(t=>[r(t),t]))).values()}function*map(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){yield r(n,s++,t)}}function*flatMap(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){yield*r(n,s++,t)}}function reduce(t,r,n,s){r=s===undefined?r:r.bind(s);let i=n;let o=0;for(const n of t){if(i===undefined&&o===0){i=n}else{i=r(i,n,o,t)}++o}return i}function*skip(t,r){const n=t[Symbol.iterator]();for(let t=0;tn}}function*take(t,r){let n=0;for(const s of t){if(++n>r){return}yield s}}function takeLast(t,r){const n=[];for(const s of t){n.push(s);if(n.length>r){n.shift()}}return n}function slice(t,r,n){if(n===0){return[]}const s=r<0||n<0;if(s){return asArray(t).slice(r,n)}r||=0;const i=r===0?t:skip(t,r);const o=n===undefined?i:take(i,n-r);return o}function reverse(t){return[...t].reverse()}function sort(t,r){return[...t].sort(r||createDefaultComparer())}function every(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(!r(n,s++,t)){return false}}return true}function some(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(r(n,s++,t)){return true}}return false}function min(t,r,n){return extremum(t,-1,r,n)}function max(t,r,n){return extremum(t,1,r,n)}function extremum(t,r,n,s){n||=createDefaultComparer();n=s===undefined?n:n.bind(s);let i=undefined;let o=-1;let a=-1;for(const s of t){++a;if(o===-1){i=s;o=a;continue}if(Math.sign(n(s,i,a,o,t))===r){i=s;o=a}}return i}function count(t,r,n){if(!r&&Array.isArray(t)){return t.length}let s=0;if(r){r=n===undefined?r:r.bind(n);let i=0;for(const n of t){if(r(n,i++,t)){++s}}}else{for(const r of t){++s}}return s}function indexOf(t,r,n,s){if(typeof n!=="number"){s=n;n=0}n??=0;s??=createDefaultEqualityComparer();let i=0;for(const o of t){if(i>=n&&s(r,o)){return i}++i}return-1}function lastIndexOf(t,r,n,s){if(typeof n!=="number"){s=n;n=Infinity}n??=Infinity;s??=createDefaultEqualityComparer();let i=0;let o=-1;for(const a of t){if(i>=n){break}if(s(r,a)){o=i}++i}return o}function includes(t,r,n,s){return indexOf(t,r,n,s)!==-1}function sequenceEqual(t,r,n){n??=createDefaultEqualityComparer();const s=t[Symbol.iterator]();const i=r[Symbol.iterator]();let o=s.next();let a=i.next();while(!o.done&&!a.done){if(!n(o.value,a.value)){return false}o=s.next();a=i.next()}return o.done&&a.done}function startsWith(t,r,n,s){if(typeof n!=="number"){s=n;n=0}n||=0;s||=createDefaultEqualityComparer();const i=skip(t,n||0)[Symbol.iterator]();const o=r[Symbol.iterator]();let a=i.next();let l=o.next();while(!l.done){if(a.done||!s(a.value,l.value)){return false}a=i.next();l=o.next()}return true}function endsWith(t,r,n,s){if(typeof n!=="number"){s=n;n=undefined}const i=asArray(r);const o=typeof n==="number"?take(t,n):t;const a=takeLast(o,i.length);return sequenceEqual(a,i,s)}function findIndex(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(r(n,s,t)){return s}++s}return-1}function first(t,r,n){if(!r){for(const r of t){return r}return undefined}r=n===undefined?r:r.bind(n);let s=0;for(const n of t){if(r(n,s++,t)){return n}}return undefined}function last(t,r,n){if(!r){let r=undefined;for(const n of t){r=n}return r}r=n===undefined?r:r.bind(n);let s=0;let i=undefined;for(const n of t){if(r(n,s++,t)){i=n}}return i}function at(t,r){if(Array.isArray(t)){return t.at(r)}const n=r<0;if(n){return first(takeLast(t,-r))}return first(skip(t,r))}function join(t,r){return asArray(t).join(r)}function*concat(...t){for(const r of t){yield*r}}function*prepend(t,r){yield r;yield*t}function*append(t,r){yield*t;yield r}function pop(t){const r=[...t];const n=r.pop();return[n,r]}function shift(t){const r=t[Symbol.iterator]();const n=r.next();const s=n.done?undefined:n.value;return[s,{[Symbol.iterator]:()=>r}]}function forEach(t,r,n){r=n===undefined?r:r.bind(n);let s=0;for(const n of t){r(n,s++,t)}}function asArray(t){return Array.isArray(t)?t:[...t]}function asArrayLike(t){return Array.isArray(t)?t:iterable_$i(t)}function iterable_$i(t){return t instanceof ArrayLikeIterable?t:ArrayLikeIterable.from(t)}class ArrayLikeIterable{_iterable;constructor(t){this._iterable=t}static from(t){return new ArrayLikeIterable(t)}static of(t){return new ArrayLikeIterable({[Symbol.iterator]:()=>t})}get length(){return this.count()}filter(t,r){return ArrayLikeIterable.from(filter(this._iterable,t,r))}map(t,r){return ArrayLikeIterable.from(map(this._iterable,t,r))}flatMap(t,r){return ArrayLikeIterable.from(flatMap(this._iterable,t,r))}reduce(t,r,n){return reduce(this._iterable,t,r,n)}skip(t){return ArrayLikeIterable.from(skip(this._iterable,t))}take(t){return ArrayLikeIterable.from(take(this._iterable,t))}takeLast(t){return ArrayLikeIterable.from(takeLast(this._iterable,t))}slice(t,r){return ArrayLikeIterable.from(slice(this._iterable,t,r))}reverse(){return ArrayLikeIterable.from(reverse(this._iterable))}sort(t){return ArrayLikeIterable.from(sort(this._iterable,t))}every(t,r){return every(this._iterable,t,r)}some(t,r){return some(this._iterable,t,r)}min(t,r){return min(this._iterable,t,r)}max(t,r){return max(this._iterable,t,r)}count(t,r){return count(this._iterable,t,r)}indexOf(t,r,n){return indexOf(this._iterable,t,r,n)}lastIndexOf(t,r,n){return lastIndexOf(this._iterable,t,r,n)}includes(t,r,n){return includes(this._iterable,t,r,n)}sequenceEqual(t,r){return sequenceEqual(this._iterable,t,r)}startsWith(t,r,n){return startsWith(this._iterable,t,r,n)}endsWith(t,r,n){return endsWith(this._iterable,t,r,n)}findIndex(t,r){return findIndex(this._iterable,t,r)}find(t,r){return this.first(t,r)}first(t,r){return first(this._iterable,t,r)}last(t,r){return last(this._iterable,t,r)}at(t){return at(this._iterable,t)}join(t){return join(this._iterable,t)}concat(...t){return ArrayLikeIterable.from(concat(this._iterable,...t))}prepend(t){return ArrayLikeIterable.from(prepend(this._iterable,t))}append(t){return ArrayLikeIterable.from(append(this._iterable,t))}shift(){const[t,r]=shift(this._iterable);return[t,ArrayLikeIterable.from(r)]}unshift(t){return this.prepend(t)}push(t){return this.append(t)}pop(){const[t,r]=pop(this._iterable);return[t,ArrayLikeIterable.from(r)]}keys(){return map(this._iterable,((t,r)=>r))}values(){return this._iterable}entries(){return map(this._iterable,((t,r)=>[r,t]))}forEach(t,r){return forEach(this._iterable,t,r)}asArray(){return asArray(this._iterable)}toArray(){return[...this._iterable]}toMap(t){return t?new ArrayMap(this._iterable,t):new Map(this._iterable)}toSet(t){return t?new ArraySet(this._iterable,t):new Set(this._iterable)}toRecord(){return reduce(this._iterable,((t,[r,n])=>{t[r]=n;return t}),{})}distinct(t){return ArrayLikeIterable.from(distinct(this._iterable,t))}distinctBy(t,r){return ArrayLikeIterable.from(distinctBy(this._iterable,t,r))}[Symbol.iterator](){return this._iterable[Symbol.iterator]()}get[Symbol.toStringTag](){return"Iterable"}}function isMap(t){if(t instanceof Map){return true}const r=t;return!!r&&typeof r.keys==="function"&&typeof r.values==="function"&&typeof r.entries==="function"&&typeof r.get==="function"&&typeof r.set==="function"&&typeof r.has==="function"&&typeof r.delete==="function"&&typeof r[Symbol.iterator]==="function"}function isReadOnlyMap(t){if(t instanceof Map){return true}const r=t;return!!r&&typeof r.keys==="function"&&typeof r.values==="function"&&typeof r.entries==="function"&&typeof r.get==="function"&&typeof r.has==="function"&&typeof r[Symbol.iterator]==="function"}function map_isMultiMap(t){if(t instanceof MultiMap){return true}const r=t;return isMap(r)&&typeof r.append==="function"}class ArrayMap{_keys;_values;_comparer;constructor(t,r){r??=typeof t==="function"?t:createDefaultEqualityComparer();this._keys=[];this._values=[];this._comparer=r;const n=t&&t!==r?t:[];for(const[t,r]of n){this.set(t,r)}}get size(){return this._keys.length}get(t){const r=iterable_$i(this._keys).indexOf(t,this._comparer);return this._values[r]}set(t,r){const n=iterable_$i(this._keys).indexOf(t,this._comparer);if(n===-1){this._keys.push(t);this._values.push(r)}else{this._keys[n]=t;this._values[n]=r}return this}has(t){return iterable_$i(this._keys).includes(t,this._comparer)}delete(t){const r=iterable_$i(this._keys).indexOf(t,this._comparer);if(r===-1){return false}this._keys.splice(r,1);this._values.splice(r,1);return true}clear(){this._keys.splice(0);this._values.splice(0)}keys(){return this._keys[Symbol.iterator]()}values(){return this._values[Symbol.iterator]()}*entries(){const t=this._keys;const r=this._values;for(let n=0;nt))}flatEntries(){return iterable_$i(this.entries()).flatMap((([t,r])=>iterable_$i(r).map((r=>[t,r]))))}forEachFlat(t,r){t=r===undefined?t:t.bind(r);for(const[r,n]of this.flatEntries()){t(n,r,this)}}}function isKeyValueIterable(t){return typeof t?.entries==="function"}function defineNestedProperties(t,r,n){const s=isIterable(r)?r:Object.entries(r);for(const[r,i]of s){defineNestedProperty(t,r,i,n)}return t}function defineNestedProperty(t,r,n,s){r=typeof r==="string"?r.split("."):r;s||=()=>({value:{},writable:true,configurable:true,enumerable:true});let i=t;const o=r.length-1;for(let t=0;tt===r))?.[1]}function getAllKeys(t){return iterable_$i(getAllPropertyDescriptors(t)).map((([t])=>t))}function getAllNames(t){return iterable_$i(getAllKeys(t)).filter((t=>typeof t==="string"))}function getAllSymbols(t){return $i(getAllKeys(t)).filter((t=>typeof t==="symbol"))}function getAllValues(t){return $i(getAllPropertyDescriptors(t)).map((([r])=>t[r]))}function getAllEntries(t){return $i(getAllPropertyDescriptors(t)).map((([r])=>[r,t[r]]))}function getOwnEntries(t){if(!t){return[]}if(!Array.isArray(t)&&isKeyValueIterable(t)){return t.entries()}if(iterable_isIterable(t)){const r=asArray(t);if(r.every((t=>Array.isArray(t)))){return r}}if(Array.isArray(t)){return t.entries()}return Object.entries(t)}function merge(...t){const r={};const n=$i(t).flatMap((t=>getAllPropertyDescriptors(t)));for(const[t,s]of n){Object.defineProperty(r,t,s)}return r}function getSafe(t,r){if(t===null||t===undefined){return undefined}try{return t[r]}catch{return undefined}}function isInvalid(t){return t===null||t===undefined||typeof t==="number"&&isNaN(t)}function toUndefined(t){return undefined}function convert_toString(t){return isInvalid(t)?undefined:String(t)}function toBoolean(t){if(isInvalid(t)){return undefined}switch(typeof t){case"boolean":return!!t;case"number":return t!==0;case"string":if(stringEquals("true",t,{ignoreCase:true})){return true}if(stringEquals("false",t,{ignoreCase:true})){return false}break;default:return undefined}return undefined}function toNumber(t,r){if(isInvalid(t)){return undefined}switch(typeof t){case"number":return r(t);case"boolean":return t?1:0;case"string":const n=r(t);return isNaN(n)?undefined:n;case"object":if(t instanceof Date&&!isNaN(t.getTime())){return t.getTime()}break;default:return undefined}return undefined}function toInteger(t){return toNumber(t,parseInt)}function toFloat(t){return toNumber(t,parseFloat)}function toDate(t){if(isInvalid(t)){return undefined}switch(typeof t){case"object":if(t instanceof Date&&!isNaN(t.getTime())){return t}break;case"string":case"number":const r=new Date(t);return isNaN(r.getTime())?undefined:r;default:return undefined}return undefined}const $=/\/(?.*)\/(?[a-z]*)/;function toRegExp(t){if(t instanceof RegExp){return t}if(typeof t!=="string"){return undefined}const r=t.match($);if(!r){return undefined}try{return new RegExp(r.groups.pattern,r.groups.flags)}catch{return undefined}}const L=["convert","from"];const F=["parse"];function getConverter(t,r){const n=[[L],[F,t=>r=>typeof r==="string"?t(r):undefined]];const s=r?[...n].reverse():n;for(const[r,n]of s){const s=getParseLikeFunction(t,r);if(!s){continue}const i=n?n(s):s;return i}return undefined}function getParseLikeFunction(t,r){if(isInvalid(t)){return undefined}const n=iterable_$i(r).first((r=>typeof getSafe(t,r)==="function"));if(n){return r=>t[n](r)}const s=getAllNames(t);const i=iterable_$i(s).filter((n=>r.some((r=>n.startsWith(r)&&typeof getSafe(t,n)==="function"))));const o=iterable_$i(i).min(((t,n)=>r.findIndex((r=>t.startsWith(r)))-r.findIndex((t=>n.startsWith(t)))));if(!o){return undefined}return r=>t[o](r)}const M=new Map([[String,convert_toString],[Number,toFloat],[Boolean,toBoolean],[Date,toDate],[RegExp,toRegExp]]);const B=new Map([["string",convert_toString],["number",toFloat],["boolean",toBoolean],["undefined",toUndefined]]);function toType(t,r){if(isInvalid(t)){return undefined}if(typeof r==="string"){const n=B.get(r);if(n){return n(t)}const s=globalThis[r];if(s){return toType(t,s)}return undefined}if(typeof r==="function"&&M.has(r)){const n=M.get(r);return n(t)}try{const n=getConverter(r,typeof t==="string");if(n!==undefined){const r=n(t);return isInvalid(r)?undefined:r}return new r(t)}catch{return undefined}}function enumKeys(t){if(isReadOnlyMap(t)){return[...t.keys()]}return Object.getOwnPropertyNames(t).filter((r=>isEnumKey(t,r)))}function isEnumKey(t,r){return typeof t[r]!=="function"&&r!==String(+r)}function enumEntries(t){if(isReadOnlyMap(t)){return[...t.entries()]}return enumKeys(t).map((r=>[r,t[r]]))}class DynamicEnum{_keys;_values;_names;_descriptor;_hasFlags;_comparer;constructor(t,r){this._keys=t.map((([t])=>t));this._values=t.map((([,t])=>t));this._names=new Map(r?.names||[]);this._descriptor=inferEnumDescriptorOrThrow(this._values);this._hasFlags=r?.hasFlags??false;this._comparer=r?.comparer||T;const n=iterable_$i(t).map((([t,r])=>[t,{value:r,enumerable:true}])).toRecord();Object.defineProperties(this,n)}static create(t,r){const n=enumEntries(t);return new DynamicEnum(n,r)}get[Symbol.toStringTag](){return"Enum"}get size(){return this._keys.length}get underlyingType(){return this._descriptor.name}hasFlag(t,r){return this._descriptor.hasFlag(t,r)}get(t){const r=this[t];if(typeof r===this.underlyingType||this._comparer===T){return r}const n=this._comparer;const s=this._keys;const i=this._values;for(let r=0;r=0?this._keys[r]:undefined}friendlyNameOf(t){const r=this.keyOf(t);if(r===undefined){return undefined}const n=this._names.get(r)??toPascalCase(r);return n}find(t,r){const n=this.findKey(t,r);return n===undefined?undefined:this.get(n)}findKey(t,r){t=r===undefined?t:t.bind(r);const n=this._keys;const s=this._values;for(let r=0;r=0;--t){const r=s[t];const l=r===i.defaultValue;const c=i.hasFlag(a,r);if(l||!c){continue}o=o?`${n[t]}${O} ${o}`:n[t];a=i.removeFlag(a,r)}return a===i.defaultValue&&o?o:String(t)}parse(t){const r=this.findOrParseValue(t);if(r!==undefined){return r}if(!this._hasFlags){return undefined}const n=split(t,D,{trimEntries:true,removeEmptyEntries:true});const s=this._descriptor;let i=s.defaultValue;for(const t of n){const r=this.findOrParseValue(t);if(r===undefined){return undefined}i=s.addFlag(i,r)}return i}findOrParseValue(t){const r=this.get(t);if(r!==undefined){return r}const n=toType(t,this.underlyingType);if(n!==undefined){return n}return undefined}}function enumValues(t){if(isReadOnlyMap(t)){return[...t.values()]}return enumKeys(t).map((r=>t[r]))}function hasFlag(t,r){const n=getEnumDescriptorByUnderlyingType(typeof r);return!!n?.hasFlag(t,r)}function createEnum(t,r,n){const s=typeof t==="function"?t():t;const i=toDynamicEnumOptions(r);const o=DynamicEnum.create(s,i);if(n){Object.assign(o,n)}return o}function toDynamicEnumOptions(t){if(!t||t.comparer){return t}const r=t;const n=r.ignoreCase?r.ignoreNonWordCharacters?N:I:r.ignoreNonWordCharacters?P:T;return{...r,comparer:n}}const j={hasFlag:hasFlag,create:createEnum,keys:enumKeys,values:enumValues,entries:enumEntries};const W=t(import.meta.url)("node:util");var U;(function(t){t[t["NONE"]=0]="NONE";t[t["RELEASES"]=1]="RELEASES";t[t["BETAS"]=2]="BETAS";t[t["ALPHAS"]=4]="ALPHAS";t[t["SNAPSHOTS"]=6]="SNAPSHOTS";t[t["ANY"]=7]="ANY";t[t["MIN_PATCH"]=8]="MIN_PATCH";t[t["MAX_PATCH"]=16]="MAX_PATCH";t[t["MIN_MINOR"]=32]="MIN_MINOR";t[t["MAX_MINOR"]=64]="MAX_MINOR";t[t["MIN_MAJOR"]=128]="MIN_MAJOR";t[t["MAX_MAJOR"]=256]="MAX_MAJOR";t[t["MIN"]=168]="MIN";t[t["MAX"]=336]="MAX"})(U||(U={}));const q={hasFlags:true,ignoreCase:true,ignoreNonWordCharacters:true};function game_version_filter_filter(t,r){let n=[...t];if(r===G.NONE||!r){return n}n=filterVersionType(n,r);n=applyVersionRange(n,(t=>t.version.major),r,G.MIN_MAJOR,G.MAX_MAJOR);n=applyVersionRange(n,(t=>t.version.minor),r,G.MIN_MINOR,G.MAX_MINOR);n=applyVersionRange(n,(t=>t.version.patch),r,G.MIN_PATCH,G.MAX_PATCH);return n}function filterVersionType(t,r){const n=G.hasFlag(r,G.RELEASES);const s=G.hasFlag(r,G.BETAS);const i=G.hasFlag(r,G.ALPHAS);const o=n&&s&&i||!(n||s||i);if(!o){return t.filter((t=>(!t.isRelease||n)&&(!t.isBeta||s)&&(!t.isAlpha||i)))}return t}function applyVersionRange(t,r,n,s,i){const o=G.hasFlag(n,s)?-1:G.hasFlag(n,i)?1:0;if(!o){return t}const a=t.reduce(((t,n)=>Math.sign(r(n)-t)===o?r(n):t),o===1?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER);return t.filter((t=>r(t)===a))}function _fromVersionResolver(t){if(stringEquals(t,"exact",{ignoreCase:true})){return U.MIN|U.RELEASES}if(stringEquals(t,"latest",{ignoreCase:true})){return U.MIN_MAJOR|U.MIN_MINOR|U.MAX_PATCH|U.RELEASES}if(stringEquals(t,"all",{ignoreCase:true})){return U.MIN_MAJOR|U.MIN_MINOR}return U.MIN_MAJOR|U.MIN_MINOR|U.RELEASES}const H=(0,W.deprecate)(_fromVersionResolver,"Use the new `game-version-filter` input instead of the deprecated `version-resolver` one.");const V={filter:game_version_filter_filter,fromVersionResolver:H};const G=j.create(U,q,V);var z=s(1383);function parseVersion(t){return SemVerVersion.parse(t)}const Y=/[a-z]{0,2}((\d+\.\d+)(\.\d+)?(.*))/i;class SemVerVersion{_semver;_version;constructor(t,r){this._semver=t;this._version=r??t.format()}static parse(t){const r=(0,z.parse)(t);if(r){return new SemVerVersion(r,t)}const n=t.match(Y);if(n){const t=n[3]?n[1]:`${n[2]}.0${n[4]}`;const r=(0,z.parse)(t)||(0,z.coerce)(t);return new SemVerVersion(r,n[0])}return undefined}get major(){return this._semver.major}get minor(){return this._semver.minor}get patch(){return this._semver.patch}compare(t){if(t===null||t===undefined){return 1}if(typeof t==="string"){t=SemVerVersion.parse(t)}return t instanceof SemVerVersion?this._semver.compare(t._semver):-t.compare(this)}format(){return this._semver.format()}toString(){return this._version}}function parseVersionRange(t){return SemVerVersionRange.parse(t)}function anyVersionRange(t){return SemVerVersionRange.any(t)}function noneVersionRange(t){return SemVerVersionRange.none(t)}const Q=/(?:\[|\()[^\])]+(?:\]|\))/g;function mixedToSemver(t){return t.replace(Q,intervalToSemver)}const K=/(?\[|\()\s*(?[^,\s]+)?\s*(?,)?\s*(?[^,\s\])]+)?\s*(?\]|\))/;function intervalToSemver(t){const r=t.match(K);if(!r){return""}const n=r.groups.from_bracket==="["?">=":">";const s=r.groups.from;const i=r.groups.separator;const o=r.groups.to_bracket==="]"?"<=":"<";const a=r.groups.to;if(!s&&!a){return"*"}if(!s){return`${o}${a}`}if(!i){return s}if(!a){return`${n}${s}`}return`${n}${s} ${o}${a}`}const X=/((?:\d+|[Xx*])(?:\.\d+|\.[Xx*]))(\.\d+|\.[Xx*])?([\w\-.+]*)/g;function fixMissingPatchVersion(t){return t.replace(X,((t,r,n,s)=>n?t:`${r}.0${s}`))}class SemVerVersionRange{static ANY=new SemVerVersionRange(new z.Range("*"),"*");static NONE=new SemVerVersionRange(new z.Range("<0.0.0"));_semver;_range;constructor(t,r){this._semver=t;this._range=r??t.format()}static any(t){if(!t||t===SemVerVersionRange.ANY._range){return SemVerVersionRange.ANY}return new SemVerVersionRange(SemVerVersionRange.ANY._semver,t)}static none(t){if(!t||t===SemVerVersionRange.NONE._range){return SemVerVersionRange.NONE}return new SemVerVersionRange(SemVerVersionRange.NONE._semver,t)}static parse(t){const r=(typeof t==="string"?[t]:asArray(t)).map((t=>t.trim()));const n=r.join(" || ");const s=r.map(mixedToSemver).map(fixMissingPatchVersion).join(" || ");try{const t=new z.Range(s,{includePrerelease:true});return new SemVerVersionRange(t,n)}catch{return undefined}}includes(t){if(typeof t==="string"){t=parseVersion(t)}const r=t?._semver;return this._semver.test(r||t.format())}format(){return this._semver.format()}toString(){return this._range}}var J;(function(t){t["ALPHA"]="alpha";t["BETA"]="beta";t["RELEASE"]="release"})(J||(J={}));const Z={ignoreCase:true};function parseFromFileName(t){if(t.match(/[+-_]alpha/i)){return te.ALPHA}if(t.match(/[+-_]beta/i)){return te.BETA}return te.RELEASE}const ee={parseFromFileName:parseFromFileName};const te=j.create(J,Z,ee);var re;(function(t){t["RELEASE"]="release";t["SNAPSHOT"]="snapshot";t["OLD_BETA"]="old_beta";t["OLD_ALPHA"]="old_alpha"})(re||(re={}));const ne={ignoreCase:true,ignoreNonWordCharacters:true};function toVersionType(t,r){switch(t){case ie.SNAPSHOT:return r?.match(/-pre|-rc|-beta|Pre-[Rr]elease|[Rr]elease Candidate/)?te.BETA:te.ALPHA;case ie.OLD_BETA:return te.BETA;case ie.OLD_ALPHA:return te.ALPHA;default:return te.RELEASE}}const se={toVersionType:toVersionType};const ie=j.create(re,ne,se);class MinecraftVersion{_id;_version;_mcType;_type;_url;_releaseDate;constructor(t,r,n,s,i){this._id=t;this._version=r;this._mcType=n;this._type=ie.toVersionType(n,String(r));this._url=s;this._releaseDate=i}get id(){return this._id}get version(){return this._version}get type(){return this._type}get url(){return this._url}get releaseDate(){return this._releaseDate}get isAlpha(){return this._type===te.ALPHA}get isBeta(){return this._type===te.BETA}get isSnapshot(){return!this.isRelease}get isRelease(){return this._type===te.RELEASE}get isOldAlpha(){return this._mcType===ie.OLD_ALPHA}get isOldBeta(){return this._mcType===ie.OLD_BETA}toString(){return this._id}}function getMinecraftVersionManifestEntries(t){return t.versions.map((t=>({...t,releaseDate:new Date(t.releaseTime)}))).sort(((t,r)=>r.releaseDate.valueOf()-t.releaseDate.valueOf()))}const oe="mc-publish";class MiddlewareHandler{_target;_delegates;constructor(t){this._target=t;this._delegates=[]}use(t){this._delegates.push(t);return this}execute(...t){return this.asFunction()(...t)}asFunction(){if(!this._delegates.length){return this._target}const t=this._target;const r=[...this._delegates];const apply=n=>(...s)=>ns.includes(t)))}return asArrayLike(t).some((t=>s.includes(t)))}function shouldUnfeature(t,r,n){if(t.id===r.id){return false}const s=getGameVersionMode(n);const i=getVersionTypeMode(n);const o=getLoaderMode(n);return satisfies(t.game_versions||[],r.game_versions||[],s)&&satisfies(t.version_type||te.RELEASE,r.version_type||te.RELEASE,i)&&satisfies(t.loaders||[],r.loaders||[],o)}const de={isNone:isNone,isSubset:isSubset,isIntersection:isIntersection,isAny:isAny,getGameVersionMode:getGameVersionMode,getVersionTypeMode:getVersionTypeMode,getLoaderMode:getLoaderMode,shouldUnfeature:shouldUnfeature};const pe=j.create(ue,fe,de);const he="aes-256-cbc";const me=32;const ge=16;const ye=new WeakMap;const be=new WeakMap;const _e=new WeakMap;class SecureString{constructor(t,r,n){ye.set(this,t);be.set(this,r);_e.set(this,n)}static from(t){if(t instanceof SecureString){return t}const r=Buffer.from(t||"");const n=(0,E.randomBytes)(me);const s=(0,E.randomBytes)(ge);const i=(0,E.createCipheriv)(he,n,s);const o=Buffer.concat([i.update(r),i.final()]);return new SecureString(o,n,s)}unwrap(){const t=ye.get(this);const r=be.get(this);const n=_e.get(this);if(!t||!r||!n){throw new Error("The SecureString instance was not properly initialized.")}const s=(0,E.createDecipheriv)(he,r,n);const i=Buffer.concat([s.update(t),s.final()]);return i.toString()}get[Symbol.toStringTag](){return"SecureString"}toString(){return"*****"}toJSON(){return this.toString()}}function isError(t){return t instanceof Error}class argument_error_ArgumentError extends Error{static DEFAULT_ARGUMENT_ERROR_MESSAGE="Value does not fall within the expected range.";static EMPTY_ARGUMENT_ERROR_MESSAGE="The value cannot be null, undefined, or empty.";static PARAM_NAME_MESSAGE_PATTERN=t=>t?` (Parameter '${t}')`:"";_paramName;constructor(t,r,n){super(argument_error_ArgumentError.formatErrorMessage(r,t),n);this.name="ArgumentError";this._paramName=t}get paramName(){return this._paramName}static throwIfNullOrEmpty(t,r,n){if(t===undefined||t===null||t.length===0){throw new argument_error_ArgumentError(r,n||argument_error_ArgumentError.EMPTY_ARGUMENT_ERROR_MESSAGE)}}static formatErrorMessage(t,r){t??=argument_error_ArgumentError.DEFAULT_ARGUMENT_ERROR_MESSAGE;t+=argument_error_ArgumentError.PARAM_NAME_MESSAGE_PATTERN(r);return t}}class ArgumentNullError extends argument_error_ArgumentError{static DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE="Value cannot be null or undefined.";constructor(t,r,n){super(t,r??ArgumentNullError.DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE,n);this.name="ArgumentNullError"}static throwIfNull(t,r,n){if(t===undefined||t===null){throw new ArgumentNullError(r,n)}}}const Se=t(import.meta.url)("node:os");const Ee=process.env;const ve="\r\n";const Re="\n";const we=Se.EOL;function environment_getEnvironmentVariable(t,r){r||=Ee;const n=r[t];return n===undefined?undefined:string_utils_asString(n)}function*getAllEnvironmentVariables(t){t||=Ee;for(const[r,n]of Object.entries(t)){if(n===undefined){continue}yield[r,string_utils_asString(n)]}}function environment_setEnvironmentVariable(t,r,n){n||=Ee;if(r===undefined){delete n[t]}else{n[t]=asString(r)}}function isDebug(t){return environment_getEnvironmentVariable("RUNNER_DEBUG",t)==="1"}function isGitHubAction(t){return environment_getEnvironmentVariable("GITHUB_ACTIONS",t)==="true"}function isWindows(t){t??=process.platform;return t==="win32"}function isMacOs(t){t??=process.platform;return t==="darwin"}function isLinux(t){t??=process.platform;return t==="linux"}const Ce=t(import.meta.url)("node:console");const Ae={error:Ce.error,warn:Ce.warn,info:Ce.info,debug:Ce.debug};class ConsoleLogger{_console;constructor(t){this._console=t||Ae}fatal(t){this._console.error(t)}error(t){this._console.error(t)}warn(t){this._console.warn(t)}info(t){this._console.info(t)}debug(t){this._console.debug(t)}}class NullLogger{fatal(t){}error(t){}warn(t){}info(t){}debug(t){}}class ProcessLogger{_logConsumer;_newline;constructor(t,r){if(typeof t==="function"){this._logConsumer=t}else{const r=t??globalThis.process;this._logConsumer=typeof r.stdout?.write==="function"?t=>r.stdout.write(t):()=>{}}this._newline=r??we}fatal(t){this.error(t)}error(t){this.log(t,"error")}warn(t){this.log(t,"warning")}info(t){this.log(t)}debug(t){this.log(t,"debug")}log(t,r){const n=r?`::${r}::`:"";this._logConsumer(`${n}${t}${this._newline}`)}}const Te=new NullLogger;const Ie=new ConsoleLogger;const Pe=new ProcessLogger;function getDefaultLogger(t){return isGitHubAction(t)?Pe:Ie}class Stopwatch{_isRunning;_startTime;_elapsedTime;_onStart;_onStop;constructor(t,r){this._isRunning=false;this._startTime=0;this._elapsedTime=0;this._onStart=t;this._onStop=r}get elapsedMilliseconds(){return this._elapsedTime+(this._isRunning?Date.now()-this._startTime:0)}get isRunning(){return this._isRunning}start(){if(this._isRunning){return false}this._startTime=Date.now();this._isRunning=true;this._onStart?.(new Date,this);return true}stop(){if(!this._isRunning){return false}this._elapsedTime+=Date.now()-this._startTime;this._isRunning=false;this._onStop?.(this._elapsedTime,new Date,this);return true}reset(){this.stop();this._elapsedTime=0}restart(){this.reset();this.start()}static startNew(t,r){const n=new Stopwatch(t,r);n.start();return n}}function createMessageCallback(t,r){if(typeof r==="string"){return()=>t.info(r)}if(!r){return undefined}return(...n)=>{const s=r(...n);if(typeof s==="string"){t.info(s)}}}class LoggingStopwatch extends Stopwatch{constructor(t,r,n){const s=createMessageCallback(t,r);const i=createMessageCallback(t,n);super(s,i)}static startNew(t,r,n){const s=new LoggingStopwatch(t,r,n);s.start();return s}}var Ne;(function(t){t[t["FAIL"]=0]="FAIL";t[t["WARN"]=1]="WARN";t[t["SKIP"]=2]="SKIP"})(Ne||(Ne={}));const De={ignoreCase:true};const Oe=j.create(Ne,De);class ErrorBuilder{_logger;_errors;constructor(t){this._logger=t||Te;this._errors=[]}get hasErrors(){return this._errors.length>0}append(t,r){switch(r??Oe.SKIP){case Oe.WARN:this._logger.error(t);break;case Oe.SKIP:this._logger.error(t);this._errors.push(t);break;default:throw t}}build(){return this.hasErrors?new AggregateError(this._errors):undefined}throwIfHasErrors(){const t=this.build();if(t){throw t}}}class SoftError extends Error{_isSoft;constructor(t,r){super(r);this.name="SoftError";this._isSoft=t}get isSoft(){return this._isSoft}}function isSoftError(t){return!!t?.isSoft}class FileNotFoundError extends Error{static DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN=t=>t?`Could not find file '${t}'.`:"Could not find the specified file.";_fileName;constructor(t,r,n){super(r??FileNotFoundError.DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN(t),n);this.name="FileNotFoundError";this._fileName=t}get fileName(){return this._fileName}static throwIfNotFound(t,r){if(!(0,ae.existsSync)(t)){throw new FileNotFoundError(String(t),r)}}}class HttpError extends SoftError{_response;constructor(t,r,n){super(n??isServerError(t),r);this.name="HttpError";this._response=t}get response(){return this._response}static async fromResponse(t,r){const n=HttpResponse.cache(t);const s=`${t.status} (${await n.text().then((r=>r&&!isHtmlDocument(r)?`${t.statusText}, ${r}`:t.statusText)).catch((()=>t.statusText))})`;return new HttpError(n,s,r)}}function isHttpError(t){return t instanceof HttpError}function isServerError(t){return t&&(t.status===429||t.status>=500)}function isHtmlDocument(t){return t.startsWith("$e()(t))));return iterable_$i(n).flatMap((t=>t)).distinct().map((t=>new FileInfo(t))).toArray()}function findFilesSync(t){const r=Array.isArray(t)?t:[t];const n=r.map((t=>$e().sync(t)));return iterable_$i(n).flatMap((t=>t)).distinct().map((t=>new FileInfo(t))).toArray()}async function file_info_readFile(t){const r=await getFileName(t);return await(0,Fe.readFile)(r)}async function readAllText(t,r){return(await file_info_readFile(t)).toString(r)}async function readZippedFile(t,r){const n=await getFileName(t);let s=undefined;try{s=new(xe().async)({file:n});return await s.entryData(r)}finally{await(s?.close().catch((()=>undefined)))}}async function readAllZippedText(t,r,n){return(await readZippedFile(t,r)).toString(n)}function readFileSync(t){const r=getFileNameSync(t);return(0,ae.readFileSync)(r)}function readAllTextSync(t,r){return readFileSync(t).toString(r)}async function getFileName(t){if((0,ae.existsSync)(t)){return t.toString()}const r=await $e()(t.toString());if(r?.[0]){return r[0]}throw new FileNotFoundError(t.toString())}function getFileNameSync(t){if((0,ae.existsSync)(t)){return t.toString()}const r=$e().sync(t.toString());if(r?.[0]){return r[0]}throw new FileNotFoundError(t.toString())}var Be;(function(t){t["CURSEFORGE"]="curseforge";t["MODRINTH"]="modrinth";t["GITHUB"]="github"})(Be||(Be={}));const je={ignoreCase:true,ignoreNonWordCharacters:true,names:[["CURSEFORGE","CurseForge"],["GITHUB","GitHub"]]};const We=j.create(Be,je);var Ue;(function(t){t["REQUIRED"]="required";t["RECOMMENDED"]="recommended";t["EMBEDDED"]="embedded";t["OPTIONAL"]="optional";t["CONFLICTING"]="conflicting";t["INCOMPATIBLE"]="incompatible"})(Ue||(Ue={}));const qe={ignoreCase:true};const He=j.create(Ue,qe);var Ve;(function(t){t["DEPENDS"]="depends";t["RECOMMENDS"]="recommends";t["INCLUDES"]="includes";t["SUGGESTS"]="suggests";t["BREAKS"]="breaks";t["CONFLICTS"]="conflicts"})(Ve||(Ve={}));const Ge={ignoreCase:true};function toDependencyType(t){switch(t){case Ye.DEPENDS:return He.REQUIRED;case Ye.RECOMMENDS:return He.RECOMMENDED;case Ye.INCLUDES:return He.EMBEDDED;case Ye.SUGGESTS:return He.OPTIONAL;case Ye.BREAKS:return He.INCOMPATIBLE;case Ye.CONFLICTS:return He.CONFLICTING;default:return undefined}}function fromDependencyType(t){switch(t){case He.REQUIRED:return Ye.DEPENDS;case He.RECOMMENDED:return Ye.RECOMMENDS;case He.EMBEDDED:return Ye.INCLUDES;case He.OPTIONAL:return Ye.SUGGESTS;case He.CONFLICTING:return Ye.CONFLICTS;case He.INCOMPATIBLE:return Ye.BREAKS;default:return undefined}}const ze={toDependencyType:toDependencyType,fromDependencyType:fromDependencyType};const Ye=j.create(Ve,Ge,ze);function isLegacyDependencyFormat(t){return!!t?.includes("|")&&!t.includes("@")}function _parseLegacyDependencyFormat(t){const[r,n,s]=t.split("|").map((t=>t.trim()));const i=n&&Ye.toDependencyType(Ye.parse(n));return{id:r,type:i,versions:s}}const Qe=(0,W.deprecate)(_parseLegacyDependencyFormat,"The old dependency string format is deprecated. "+"Please use the new format. "+"Example: foo@1.0.0-2.0.0(required){modrinth:foo-fabric}#(ignore:curseforge)");function parseDependency(t){const r=isLegacyDependencyFormat(t)?Qe(t):parseDependencyFormat(t);return r&&createDependency(r)}const Ke=/^\s*(?[^@{(#]+)(@(?[^@{(#]*))?(?:\((?[^@{(#]*)\))?(?(?:\{[^:=]+(?:=|:)[^}]*\})+)?(?#\(ignore(?::(?[^)]*))?\))?\s*$/;const Xe=/\{(?[^:=]+)(?:=|:)(?[^}]*)\}/g;function parseDependencyFormat(t){const r=t?.match(Ke);if(!r){return undefined}const n=r.groups.id.trim();const s=r.groups.versionRange?.trim();const i=r.groups.type?.trim();const o=iterable_$i(r.groups.aliases?.matchAll(Xe)||[]).map((t=>[t.groups.platform.trim(),t.groups.id.trim()]));const a=r.groups.ignoredPlatforms?.split(",").map((t=>t.trim()));const l=a?.length?undefined:!!r.groups.ignore;return{id:n,versions:s,type:i,aliases:o,ignore:l,ignoredPlatforms:a}}function createDependency(t){if(typeof t==="string"){return parseDependency(t)}if(isDependency(t)){return t}if(!t?.id){return undefined}const r=t.id||"";const n=t.type&&He.parse(t.type)||He.REQUIRED;const s=typeof t.versions==="string"?[t.versions]:iterable_isIterable(t.versions)?[...t.versions]:[(t.versions||anyVersionRange()).toString()];const i=s.filter((t=>t&&t!==anyVersionRange().toString()));if(!i.length){i.push(anyVersionRange().toString())}const o=iterable_$i(t.ignoredPlatforms||[]).map((t=>We.parse(t))).filter((t=>t)).toSet();const a=t.ignore?()=>true:t=>t?o.has(t):o.size===We.size;const l=iterable_$i(t.aliases||[]).map((([t,r])=>[We.parse(t),r])).filter((([t])=>t)).toMap();const getProjectId=t=>l.get(t)??r;return{id:r,versions:i,type:n,isIgnored:a,getProjectId:getProjectId}}function formatDependency(t){if(!t){return""}const r=t.versions.join(" || ");const n=r&&r!==anyVersionRange().toString()?`@${r}`:"";const s=iterable_$i(We.values()).filter((r=>t.isIgnored(r))).join(",");const i=s&&`#(ignore:${s})`;const o=iterable_$i(We.values()).filter((r=>t.getProjectId(r)!==t.id)).map((r=>`{${r}:${t.getProjectId(r)}}`)).join("");return`${t.id}${n}(${t.type})${o}${i}`}function isDependency(t){const r=t;return typeof r?.id==="string"&&typeof r.type===He.underlyingType&&Array.isArray(r.versions)&&typeof r.getProjectId==="function"&&typeof r.isIgnored==="function"}class JavaVersion{_name;_versionNumber;constructor(t){this._name=`Java ${t}`;this._versionNumber=t}static parse(t){if(!t){return undefined}const r=t.match(/(\d+)\s*$/);if(!r){return undefined}return new JavaVersion(+r[1])}static of(t){if(t instanceof JavaVersion){return t}if(typeof t==="number"){return new JavaVersion(t)}return JavaVersion.parse(String(t))}get name(){return this._name}get versionNumber(){return this._versionNumber}toString(){return this._name}toJSON(){return this._name}}const ACTION_MODULE_LOADER=t=>{if(t==="platforms/modrinth/modrinth-unfeature-mode")return Promise.resolve(a);if(t==="utils/security/secure-string")return Promise.resolve(l);if(t==="utils/io/file-info")return Promise.resolve(u);if(t==="utils/versioning/version-type")return Promise.resolve(o);if(t==="dependencies/dependency")return Promise.resolve(d);if(t==="games/game-version-filter")return Promise.resolve(i);if(t==="utils/java/java-version")return Promise.resolve(p);if(t==="utils/errors/fail-mode")return Promise.resolve(c);if(t==="platforms/uploaded-file")return Promise.resolve(h);return Promise.resolve(undefined)};const Je=new Function("x","return import(x).catch(() => undefined)");const Ze=ACTION_MODULE_LOADER;const DEFAULT_MODULE_PROVIDER=()=>Promise.resolve(globalThis);const et="default";function formatImportDirective(t){if(!t){return undefined}const r=t.module?`${t.module}->`:"";const n=t.isDefault?t.name:`{${t.name}}`;return`${r}${n}`}function parseImportDirective(t){if(!t){return undefined}const r=t.split("->");const n=r.length>1?r[0]:undefined;const s=r[r.length-1];const i=!s.startsWith("{")&&!s.endsWith("}");const o=s.replaceAll(/^{|}$/g,"").trim();return{name:o,module:n,isDefault:i}}async function executeImportDirective(t,r){t=typeof t==="string"?parseImportDirective(t):t;const n=r?.moduleLoader||Je;const s=r?.defaultModuleProvider||DEFAULT_MODULE_PROVIDER;const i=await(t.module?n(t.module):s(t));if(r?.required&&!i){throw new Error(`Cannot find module "${t.module}".`)}if(!i){return undefined}const o=normalizeImportName(t.name);const a=i[t.isDefault?et:o]??i[o]??i[t.name];if(r?.required&&a===undefined){throw new Error(`Cannot find value "${t.name}" in the imported module${t.module?` "${t.module}"`:""}.`)}return{value:a,module:i}}function normalizeImportName(t){t=t?.trim();if(!t){return et}if(t.startsWith("[")||t.endsWith("]")){return Array.name}if(t.includes("<")&&t.includes(">")){const r=t.replaceAll(/<.*>/g,"");return normalizeImportName(r)}return t}var tt=s(8010);var rt=s(4037);const nt=tt.Ct;const st=Symbol.for("path");function isFormData(t){return t?.[Symbol.toStringTag]==="FormData"}function toFormData(t){if(typeof t!=="object"&&typeof t!=="function"){return undefined}if(isFormData(t)){return t}return iterable_$i(getOwnEntries(t)).flatMap((([t,r])=>Array.isArray(r)?iterable_$i(r).map((r=>[t,r])):[[t,r]])).filter((([,t])=>t!==undefined&&t!==null)).map((([t,r])=>[t,...toFormDataEntry(r)])).reduce(((t,[r,n,s])=>{t.append(String(r),n,s);return t}),new nt)}function toFormDataEntry(t){if(!t||typeof t!=="object"&&typeof t!=="function"){return[t===undefined?"":String(t)]}const r=t[st];if(typeof r==="string"){const t=readBlobSync(r);return[t,(0,Me.basename)(r)]}return[JSON.stringify(t)]}if(!rt.MultipartParser){isFormData(rt.MultipartParser)}class QueryString extends URLSearchParams{constructor(t){super(normalizeUrlParams(t))}static parse(t){return new QueryString(t)}get size(){return iterable_$i(this.entries()).count()}get(t){return super.get(t)??undefined}append(t,r){super.append(t,r);return this}set(t,r){super.set(t,r);return this}delete(t){const r=this.has(t);if(r){super.delete(t)}return r}clear(){for(const t of[...super.keys()]){this.delete(t)}}getString(t){return this.get(t)}getBoolean(t){const r=this.get(t);return r===""||toBoolean(r)}getNumber(t){const r=this.get(t);return toFloat(r)}getDate(t){const r=this.get(t);return toDate(r)}getRegExp(t){const r=this.get(t);return toRegExp(r)}forEach(t,r){super.forEach(t,r)}get[Symbol.toStringTag](){return super[Symbol.toStringTag]}}function isURLSearchParams(t){return t?.[Symbol.toStringTag]==="URLSearchParams"}function isQueryString(t){return t instanceof QueryString}function normalizeUrlParams(t){if(t===undefined||t===null){return undefined}if(typeof t==="string"){const r=t.indexOf("?");return r>=0?t.substring(r+1):t}return iterable_$i(Array.isArray(t)?t:getOwnEntries(t)).flatMap((([t,r])=>Array.isArray(r)?iterable_$i(r).map((r=>[t,r])):[[t,r]])).filter((([,t])=>t!==undefined&&t!==null))}function isHttpRequestBody(t){return typeof t==="string"||isBlob(t)||Buffer.isBuffer(t)||isURLSearchParams(t)||isFormData(t)||isReadableStream(t)}function isStreamableHttpRequestBody(t){return isBlob(t)||Buffer.isBuffer(t)||isReadableStream(t)}function isReadableStream(t){const r=t;return!!r&&typeof r.read==="function"&&typeof r.pause==="function"&&typeof r.resume==="function"&&typeof r.setEncoding==="function"}const it=", ";function hasHeader(t,r){return getHeader(t,r)!==undefined}function getHeader(t,r){if(!t){return undefined}if(map_isMultiMap(t)){const n=t.get(r);return typeof n==="string"?n:n?asArrayLike(n).join(it):undefined}if(isMap(t)){return t.get(r)}if(iterable_isIterable(t)){const n=asArrayLike(t);return n.find((t=>asArrayLike(t).at(0)===r))?.[1]}return t[r]}function appendHeader(t,r,n){if(isMultiMap(t)){t.append(r,n);return t}const s=getHeader(t,r);const i=s?`${s}${it}${n}`:n;return setHeader(t,r,i)}function appendHeaders(t,r){return mergeHeaders(t,r,appendHeader)}function setHeader(t,r,n){if(n===undefined||n===null){return deleteHeader(t,r)}if(isMap(t)){t.set(r,n);return t}if(iterable_isIterable(t)){const s=asArray(t);const i=s.findIndex((t=>asArrayLike(t).at(0)===r));if(i>=0){s[i][1]=n}else{s.push([r,n])}return s}t||={};t[r]=n;return t}function setHeaders(t,r){return mergeHeaders(t,r,setHeader)}function setDefaultHeader(t,r,n){return hasHeader(t,r)?t:setHeader(t,r,n)}function setDefaultHeaders(t,r){return mergeHeaders(t,r,setDefaultHeader)}function deleteHeader(t,r){if(isMap(t)){t.delete(r);return t}if(iterable_isIterable(t)){return asArrayLike(t).filter((t=>asArrayLike(t).at(0)!==r))}delete t?.[r];return t}function deleteHeaders(t,r){for(const n of r){t=deleteHeader(t,n)}return t}function cloneHeaders(t){if(t?.constructor&&(isMap(t)||!iterable_isIterable(t))){return setHeaders(new t.constructor,t)}if(iterable_isIterable(t)){return[...t]}return undefined}function mergeHeaders(t,r,n){const s=iterable_isIterable(r)?r:Object.entries(r||{});for(const r of s){const[s,i]=asArray(r);t=n(t,s,i)}return t}function inferHttpRequestBodyHeaders(t){const r={};if(!isStreamableHttpRequestBody(t)){return r}const n="application/octet-stream";const s=typeof t.size==="number"?t.size:typeof t.byteLength==="number"?t.byteLength:Buffer.isBuffer(t["path"])?t["path"].byteLength:typeof t["path"]==="string"||t["path"]?.[Symbol.toStringTag]==="URL"?(0,ae.statSync)(t["path"]).size:undefined;r["Content-Type"]=n;r["Content-Length"]=String(s);return r}function http_method_httpMethodEquals(t,r){return t===r||isGetHttpMethod(t)&&isGetHttpMethod(r)}function canHttpMethodAcceptBody(t){return!isGetHttpMethod(t)&&!isHeadHttpMethod(t)&&!isConnectHttpMethod(t)&&!isTraceHttpMethod(t)}function isGetHttpMethod(t){return!t||t==="GET"}function isPostHttpMethod(t){return t==="POST"}function isPutHttpMethod(t){return t==="PUT"}function isPatchHttpMethod(t){return t==="PATCH"}function isDeleteHttpMethod(t){return t==="DELETE"}function isOptionsHttpMethod(t){return t==="OPTIONS"}function isHeadHttpMethod(t){return t==="HEAD"}function isConnectHttpMethod(t){return t==="CONNECT"}function isTraceHttpMethod(t){return t==="TRACE"}const ot=t(import.meta.url)("node:http");const ct=t(import.meta.url)("node:https");const ut=t(import.meta.url)("node:zlib");const ft=t(import.meta.url)("node:stream");const dt=t(import.meta.url)("node:buffer");function dataUriToBuffer(t){if(!/^data:/i.test(t)){throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")')}t=t.replace(/\r?\n/g,"");const r=t.indexOf(",");if(r===-1||r<=4){throw new TypeError("malformed data: URI")}const n=t.substring(5,r).split(";");let s="";let i=false;const o=n[0]||"text/plain";let a=o;for(let t=1;ttypeof t==="object"&&typeof t.append==="function"&&typeof t.delete==="function"&&typeof t.get==="function"&&typeof t.getAll==="function"&&typeof t.has==="function"&&typeof t.set==="function"&&typeof t.sort==="function"&&t[mt]==="URLSearchParams";const is_isBlob=t=>t&&typeof t==="object"&&typeof t.arrayBuffer==="function"&&typeof t.type==="string"&&typeof t.stream==="function"&&typeof t.constructor==="function"&&/^(Blob|File)$/.test(t[mt]);const isAbortSignal=t=>typeof t==="object"&&(t[mt]==="AbortSignal"||t[mt]==="EventTarget");const isDomainOrSubdomain=(t,r)=>{const n=new URL(r).hostname;const s=new URL(t).hostname;return n===s||n.endsWith(`.${s}`)};const isSameProtocol=(t,r)=>{const n=new URL(r).protocol;const s=new URL(t).protocol;return n===s};const yt=(0,W.promisify)(ft.pipeline);const bt=Symbol("Body internals");class Body{constructor(t,{size:r=0}={}){let n=null;if(t===null){t=null}else if(isURLSearchParameters(t)){t=dt.Buffer.from(t.toString())}else if(is_isBlob(t)){}else if(dt.Buffer.isBuffer(t)){}else if(W.types.isAnyArrayBuffer(t)){t=dt.Buffer.from(t)}else if(ArrayBuffer.isView(t)){t=dt.Buffer.from(t.buffer,t.byteOffset,t.byteLength)}else if(t instanceof ft){}else if(t instanceof tt.Ct){t=(0,tt.au)(t);n=t.type.split("=")[1]}else{t=dt.Buffer.from(String(t))}let s=t;if(dt.Buffer.isBuffer(t)){s=ft.Readable.from(t)}else if(is_isBlob(t)){s=ft.Readable.from(t.stream())}this[bt]={body:t,stream:s,boundary:n,disturbed:false,error:null};this.size=r;if(t instanceof ft){t.on("error",(t=>{const r=t instanceof FetchBaseError?t:new FetchError(`Invalid response body while trying to fetch ${this.url}: ${t.message}`,"system",t);this[bt].error=r}))}}get body(){return this[bt].stream}get bodyUsed(){return this[bt].disturbed}async arrayBuffer(){const{buffer:t,byteOffset:r,byteLength:n}=await consumeBody(this);return t.slice(r,r+n)}async formData(){const t=this.headers.get("content-type");if(t.startsWith("application/x-www-form-urlencoded")){const t=new tt.Ct;const r=new URLSearchParams(await this.text());for(const[n,s]of r){t.append(n,s)}return t}const{toFormData:r}=await Promise.resolve().then(s.bind(s,4037));return r(this.body,t)}async blob(){const t=this.headers&&this.headers.get("content-type")||this[bt].body&&this[bt].body.type||"";const r=await this.arrayBuffer();return new ht.Z([r],{type:t})}async json(){const t=await this.text();return JSON.parse(t)}async text(){const t=await consumeBody(this);return(new TextDecoder).decode(t)}buffer(){return consumeBody(this)}}Body.prototype.buffer=(0,W.deprecate)(Body.prototype.buffer,"Please use 'response.arrayBuffer()' instead of 'response.buffer()'","node-fetch#buffer");Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true},data:{get:(0,W.deprecate)((()=>{}),"data doesn't exist, use json(), text(), arrayBuffer(), or body instead","https://github.com/node-fetch/node-fetch/issues/1000 (response)")}});async function consumeBody(t){if(t[bt].disturbed){throw new TypeError(`body used already for: ${t.url}`)}t[bt].disturbed=true;if(t[bt].error){throw t[bt].error}const{body:r}=t;if(r===null){return dt.Buffer.alloc(0)}if(!(r instanceof ft)){return dt.Buffer.alloc(0)}const n=[];let s=0;try{for await(const i of r){if(t.size>0&&s+i.length>t.size){const n=new FetchError(`content size at ${t.url} over limit: ${t.size}`,"max-size");r.destroy(n);throw n}s+=i.length;n.push(i)}}catch(r){const n=r instanceof FetchBaseError?r:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${r.message}`,"system",r);throw n}if(r.readableEnded===true||r._readableState.ended===true){try{if(n.every((t=>typeof t==="string"))){return dt.Buffer.from(n.join(""))}return dt.Buffer.concat(n,s)}catch(r){throw new FetchError(`Could not create Buffer from response body for ${t.url}: ${r.message}`,"system",r)}}else{throw new FetchError(`Premature close of server response while trying to fetch ${t.url}`)}}const clone=(t,r)=>{let n;let s;let{body:i}=t[bt];if(t.bodyUsed){throw new Error("cannot clone body after it is used")}if(i instanceof ft&&typeof i.getBoundary!=="function"){n=new ft.PassThrough({highWaterMark:r});s=new ft.PassThrough({highWaterMark:r});i.pipe(n);i.pipe(s);t[bt].stream=n;i=s}return i};const _t=(0,W.deprecate)((t=>t.getBoundary()),"form-data doesn't follow the spec and requires special treatment. Use alternative package","https://github.com/node-fetch/node-fetch/issues/1167");const extractContentType=(t,r)=>{if(t===null){return null}if(typeof t==="string"){return"text/plain;charset=UTF-8"}if(isURLSearchParameters(t)){return"application/x-www-form-urlencoded;charset=UTF-8"}if(is_isBlob(t)){return t.type||null}if(dt.Buffer.isBuffer(t)||W.types.isAnyArrayBuffer(t)||ArrayBuffer.isView(t)){return null}if(t instanceof tt.Ct){return`multipart/form-data; boundary=${r[bt].boundary}`}if(t&&typeof t.getBoundary==="function"){return`multipart/form-data;boundary=${_t(t)}`}if(t instanceof ft){return null}return"text/plain;charset=UTF-8"};const getTotalBytes=t=>{const{body:r}=t[bt];if(r===null){return 0}if(is_isBlob(r)){return r.size}if(dt.Buffer.isBuffer(r)){return r.length}if(r&&typeof r.getLengthSync==="function"){return r.hasKnownLength&&r.hasKnownLength()?r.getLengthSync():null}return null};const writeToStream=async(t,{body:r})=>{if(r===null){t.end()}else{await yt(r,t)}};const St=typeof ot.validateHeaderName==="function"?ot.validateHeaderName:t=>{if(!/^[\^`\-\w!#$%&'*+.|~]+$/.test(t)){const r=new TypeError(`Header name must be a valid HTTP token [${t}]`);Object.defineProperty(r,"code",{value:"ERR_INVALID_HTTP_TOKEN"});throw r}};const Et=typeof ot.validateHeaderValue==="function"?ot.validateHeaderValue:(t,r)=>{if(/[^\t\u0020-\u007E\u0080-\u00FF]/.test(r)){const r=new TypeError(`Invalid character in header content ["${t}"]`);Object.defineProperty(r,"code",{value:"ERR_INVALID_CHAR"});throw r}};class Headers extends URLSearchParams{constructor(t){let r=[];if(t instanceof Headers){const n=t.raw();for(const[t,s]of Object.entries(n)){r.push(...s.map((r=>[t,r])))}}else if(t==null){}else if(typeof t==="object"&&!W.types.isBoxedPrimitive(t)){const n=t[Symbol.iterator];if(n==null){r.push(...Object.entries(t))}else{if(typeof n!=="function"){throw new TypeError("Header pairs must be iterable")}r=[...t].map((t=>{if(typeof t!=="object"||W.types.isBoxedPrimitive(t)){throw new TypeError("Each header pair must be an iterable object")}return[...t]})).map((t=>{if(t.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}return[...t]}))}}else{throw new TypeError("Failed to construct 'Headers': The provided value is not of type '(sequence> or record)")}r=r.length>0?r.map((([t,r])=>{St(t);Et(t,String(r));return[String(t).toLowerCase(),String(r)]})):undefined;super(r);return new Proxy(this,{get(t,r,n){switch(r){case"append":case"set":return(n,s)=>{St(n);Et(n,String(s));return URLSearchParams.prototype[r].call(t,String(n).toLowerCase(),String(s))};case"delete":case"has":case"getAll":return n=>{St(n);return URLSearchParams.prototype[r].call(t,String(n).toLowerCase())};case"keys":return()=>{t.sort();return new Set(URLSearchParams.prototype.keys.call(t)).keys()};default:return Reflect.get(t,r,n)}}})}get[Symbol.toStringTag](){return this.constructor.name}toString(){return Object.prototype.toString.call(this)}get(t){const r=this.getAll(t);if(r.length===0){return null}let n=r.join(", ");if(/^content-encoding$/i.test(t)){n=n.toLowerCase()}return n}forEach(t,r=undefined){for(const n of this.keys()){Reflect.apply(t,r,[this.get(n),n,this])}}*values(){for(const t of this.keys()){yield this.get(t)}}*entries(){for(const t of this.keys()){yield[t,this.get(t)]}}[Symbol.iterator](){return this.entries()}raw(){return[...this.keys()].reduce(((t,r)=>{t[r]=this.getAll(r);return t}),{})}[Symbol.for("nodejs.util.inspect.custom")](){return[...this.keys()].reduce(((t,r)=>{const n=this.getAll(r);if(r==="host"){t[r]=n[0]}else{t[r]=n.length>1?n:n[0]}return t}),{})}}Object.defineProperties(Headers.prototype,["get","entries","forEach","values"].reduce(((t,r)=>{t[r]={enumerable:true};return t}),{}));function fromRawHeaders(t=[]){return new Headers(t.reduce(((t,r,n,s)=>{if(n%2===0){t.push(s.slice(n,n+2))}return t}),[]).filter((([t,r])=>{try{St(t);Et(t,String(r));return true}catch{return false}})))}const vt=new Set([301,302,303,307,308]);const isRedirect=t=>vt.has(t);const Rt=Symbol("Response internals");class Response extends Body{constructor(t=null,r={}){super(t,r);const n=r.status!=null?r.status:200;const s=new Headers(r.headers);if(t!==null&&!s.has("Content-Type")){const r=extractContentType(t,this);if(r){s.append("Content-Type",r)}}this[Rt]={type:"default",url:r.url,status:n,statusText:r.statusText||"",headers:s,counter:r.counter,highWaterMark:r.highWaterMark}}get type(){return this[Rt].type}get url(){return this[Rt].url||""}get status(){return this[Rt].status}get ok(){return this[Rt].status>=200&&this[Rt].status<300}get redirected(){return this[Rt].counter>0}get statusText(){return this[Rt].statusText}get headers(){return this[Rt].headers}get highWaterMark(){return this[Rt].highWaterMark}clone(){return new Response(clone(this,this.highWaterMark),{type:this.type,url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected,size:this.size,highWaterMark:this.highWaterMark})}static redirect(t,r=302){if(!isRedirect(r)){throw new RangeError('Failed to execute "redirect" on "response": Invalid status code')}return new Response(null,{headers:{location:new URL(t).toString()},status:r})}static error(){const t=new Response(null,{status:0,statusText:""});t[Rt].type="error";return t}static json(t=undefined,r={}){const n=JSON.stringify(t);if(n===undefined){throw new TypeError("data is not JSON serializable")}const s=new Headers(r&&r.headers);if(!s.has("content-type")){s.set("content-type","application/json")}return new Response(n,{...r,headers:s})}get[Symbol.toStringTag](){return"Response"}}Object.defineProperties(Response.prototype,{type:{enumerable:true},url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});const wt=t(import.meta.url)("node:url");const getSearch=t=>{if(t.search){return t.search}const r=t.href.length-1;const n=t.hash||(t.href[r]==="#"?"#":"");return t.href[r-n.length]==="?"?"?":""};const Ct=t(import.meta.url)("node:net");function stripURLForUseAsAReferrer(t,r=false){if(t==null){return"no-referrer"}t=new URL(t);if(/^(about|blob|data):$/.test(t.protocol)){return"no-referrer"}t.username="";t.password="";t.hash="";if(r){t.pathname="";t.search=""}return t}const At=new Set(["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"]);const Tt="strict-origin-when-cross-origin";function validateReferrerPolicy(t){if(!At.has(t)){throw new TypeError(`Invalid referrerPolicy: ${t}`)}return t}function isOriginPotentiallyTrustworthy(t){if(/^(http|ws)s:$/.test(t.protocol)){return true}const r=t.host.replace(/(^\[)|(]$)/g,"");const n=(0,Ct.isIP)(r);if(n===4&&/^127\./.test(r)){return true}if(n===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(r)){return true}if(t.host==="localhost"||t.host.endsWith(".localhost")){return false}if(t.protocol==="file:"){return true}return false}function isUrlPotentiallyTrustworthy(t){if(/^about:(blank|srcdoc)$/.test(t)){return true}if(t.protocol==="data:"){return true}if(/^(blob|filesystem):$/.test(t.protocol)){return true}return isOriginPotentiallyTrustworthy(t)}function determineRequestsReferrer(t,{referrerURLCallback:r,referrerOriginCallback:n}={}){if(t.referrer==="no-referrer"||t.referrerPolicy===""){return null}const s=t.referrerPolicy;if(t.referrer==="about:client"){return"no-referrer"}const i=t.referrer;let o=stripURLForUseAsAReferrer(i);let a=stripURLForUseAsAReferrer(i,true);if(o.toString().length>4096){o=a}if(r){o=r(o)}if(n){a=n(a)}const l=new URL(t.url);switch(s){case"no-referrer":return"no-referrer";case"origin":return a;case"unsafe-url":return o;case"strict-origin":if(isUrlPotentiallyTrustworthy(o)&&!isUrlPotentiallyTrustworthy(l)){return"no-referrer"}return a.toString();case"strict-origin-when-cross-origin":if(o.origin===l.origin){return o}if(isUrlPotentiallyTrustworthy(o)&&!isUrlPotentiallyTrustworthy(l)){return"no-referrer"}return a;case"same-origin":if(o.origin===l.origin){return o}return"no-referrer";case"origin-when-cross-origin":if(o.origin===l.origin){return o}return a;case"no-referrer-when-downgrade":if(isUrlPotentiallyTrustworthy(o)&&!isUrlPotentiallyTrustworthy(l)){return"no-referrer"}return o;default:throw new TypeError(`Invalid referrerPolicy: ${s}`)}}function parseReferrerPolicyFromHeader(t){const r=(t.get("referrer-policy")||"").split(/[,\s]+/);let n="";for(const t of r){if(t&&At.has(t)){n=t}}return n}const It=Symbol("Request internals");const isRequest=t=>typeof t==="object"&&typeof t[It]==="object";const Pt=(0,W.deprecate)((()=>{}),".data is not a valid RequestInit property, use .body instead","https://github.com/node-fetch/node-fetch/issues/1000 (request)");class Request extends Body{constructor(t,r={}){let n;if(isRequest(t)){n=new URL(t.url)}else{n=new URL(t);t={}}if(n.username!==""||n.password!==""){throw new TypeError(`${n} is an url with embedded credentials.`)}let s=r.method||t.method||"GET";if(/^(delete|get|head|options|post|put)$/i.test(s)){s=s.toUpperCase()}if(!isRequest(r)&&"data"in r){Pt()}if((r.body!=null||isRequest(t)&&t.body!==null)&&(s==="GET"||s==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}const i=r.body?r.body:isRequest(t)&&t.body!==null?clone(t):null;super(i,{size:r.size||t.size||0});const o=new Headers(r.headers||t.headers||{});if(i!==null&&!o.has("Content-Type")){const t=extractContentType(i,this);if(t){o.set("Content-Type",t)}}let a=isRequest(t)?t.signal:null;if("signal"in r){a=r.signal}if(a!=null&&!isAbortSignal(a)){throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget")}let l=r.referrer==null?t.referrer:r.referrer;if(l===""){l="no-referrer"}else if(l){const t=new URL(l);l=/^about:(\/\/)?client$/.test(t)?"client":t}else{l=undefined}this[It]={method:s,redirect:r.redirect||t.redirect||"follow",headers:o,parsedURL:n,signal:a,referrer:l};this.follow=r.follow===undefined?t.follow===undefined?20:t.follow:r.follow;this.compress=r.compress===undefined?t.compress===undefined?true:t.compress:r.compress;this.counter=r.counter||t.counter||0;this.agent=r.agent||t.agent;this.highWaterMark=r.highWaterMark||t.highWaterMark||16384;this.insecureHTTPParser=r.insecureHTTPParser||t.insecureHTTPParser||false;this.referrerPolicy=r.referrerPolicy||t.referrerPolicy||""}get method(){return this[It].method}get url(){return(0,wt.format)(this[It].parsedURL)}get headers(){return this[It].headers}get redirect(){return this[It].redirect}get signal(){return this[It].signal}get referrer(){if(this[It].referrer==="no-referrer"){return""}if(this[It].referrer==="client"){return"about:client"}if(this[It].referrer){return this[It].referrer.toString()}return undefined}get referrerPolicy(){return this[It].referrerPolicy}set referrerPolicy(t){this[It].referrerPolicy=validateReferrerPolicy(t)}clone(){return new Request(this)}get[Symbol.toStringTag](){return"Request"}}Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true},referrer:{enumerable:true},referrerPolicy:{enumerable:true}});const getNodeRequestOptions=t=>{const{parsedURL:r}=t[It];const n=new Headers(t[It].headers);if(!n.has("Accept")){n.set("Accept","*/*")}let s=null;if(t.body===null&&/^(post|put)$/i.test(t.method)){s="0"}if(t.body!==null){const r=getTotalBytes(t);if(typeof r==="number"&&!Number.isNaN(r)){s=String(r)}}if(s){n.set("Content-Length",s)}if(t.referrerPolicy===""){t.referrerPolicy=Tt}if(t.referrer&&t.referrer!=="no-referrer"){t[It].referrer=determineRequestsReferrer(t)}else{t[It].referrer="no-referrer"}if(t[It].referrer instanceof URL){n.set("Referer",t.referrer)}if(!n.has("User-Agent")){n.set("User-Agent","node-fetch")}if(t.compress&&!n.has("Accept-Encoding")){n.set("Accept-Encoding","gzip, deflate, br")}let{agent:i}=t;if(typeof i==="function"){i=i(r)}const o=getSearch(r);const a={path:r.pathname+o,method:t.method,headers:n[Symbol.for("nodejs.util.inspect.custom")](),insecureHTTPParser:t.insecureHTTPParser,agent:i};return{parsedURL:r,options:a}};class AbortError extends FetchBaseError{constructor(t,r="aborted"){super(t,r)}}const Nt=new Set(["data:","http:","https:"]);async function fetch(t,r){return new Promise(((n,s)=>{const i=new Request(t,r);const{parsedURL:o,options:a}=getNodeRequestOptions(i);if(!Nt.has(o.protocol)){throw new TypeError(`node-fetch cannot load ${t}. URL scheme "${o.protocol.replace(/:$/,"")}" is not supported.`)}if(o.protocol==="data:"){const t=pt(i.url);const r=new Response(t,{headers:{"Content-Type":t.typeFull}});n(r);return}const l=(o.protocol==="https:"?ct:ot).request;const{signal:c}=i;let u=null;const abort=()=>{const t=new AbortError("The operation was aborted.");s(t);if(i.body&&i.body instanceof ft.Readable){i.body.destroy(t)}if(!u||!u.body){return}u.body.emit("error",t)};if(c&&c.aborted){abort();return}const abortAndFinalize=()=>{abort();finalize()};const d=l(o.toString(),a);if(c){c.addEventListener("abort",abortAndFinalize)}const finalize=()=>{d.abort();if(c){c.removeEventListener("abort",abortAndFinalize)}};d.on("error",(t=>{s(new FetchError(`request to ${i.url} failed, reason: ${t.message}`,"system",t));finalize()}));fixResponseChunkedTransferBadEnding(d,(t=>{if(u&&u.body){u.body.destroy(t)}}));if(process.version<"v14"){d.on("socket",(t=>{let r;t.prependListener("end",(()=>{r=t._eventsCount}));t.prependListener("close",(n=>{if(u&&r{d.setTimeout(0);const o=fromRawHeaders(t.rawHeaders);if(isRedirect(t.statusCode)){const a=o.get("Location");let l=null;try{l=a===null?null:new URL(a,i.url)}catch{if(i.redirect!=="manual"){s(new FetchError(`uri requested responds with an invalid redirect URL: ${a}`,"invalid-redirect"));finalize();return}}switch(i.redirect){case"error":s(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${i.url}`,"no-redirect"));finalize();return;case"manual":break;case"follow":{if(l===null){break}if(i.counter>=i.follow){s(new FetchError(`maximum redirect reached at: ${i.url}`,"max-redirect"));finalize();return}const a={headers:new Headers(i.headers),follow:i.follow,counter:i.counter+1,agent:i.agent,compress:i.compress,method:i.method,body:clone(i),signal:i.signal,size:i.size,referrer:i.referrer,referrerPolicy:i.referrerPolicy};if(!isDomainOrSubdomain(i.url,l)||!isSameProtocol(i.url,l)){for(const t of["authorization","www-authenticate","cookie","cookie2"]){a.headers.delete(t)}}if(t.statusCode!==303&&i.body&&r.body instanceof ft.Readable){s(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(t.statusCode===303||(t.statusCode===301||t.statusCode===302)&&i.method==="POST"){a.method="GET";a.body=undefined;a.headers.delete("content-length")}const c=parseReferrerPolicyFromHeader(o);if(c){a.referrerPolicy=c}n(fetch(new Request(l,a)));finalize();return}default:return s(new TypeError(`Redirect option '${i.redirect}' is not a valid value of RequestRedirect`))}}if(c){t.once("end",(()=>{c.removeEventListener("abort",abortAndFinalize)}))}let a=(0,ft.pipeline)(t,new ft.PassThrough,(t=>{if(t){s(t)}}));if(process.version<"v12.10"){t.on("aborted",abortAndFinalize)}const l={url:i.url,status:t.statusCode,statusText:t.statusMessage,headers:o,size:i.size,counter:i.counter,highWaterMark:i.highWaterMark};const p=o.get("Content-Encoding");if(!i.compress||i.method==="HEAD"||p===null||t.statusCode===204||t.statusCode===304){u=new Response(a,l);n(u);return}const h={flush:ut.Z_SYNC_FLUSH,finishFlush:ut.Z_SYNC_FLUSH};if(p==="gzip"||p==="x-gzip"){a=(0,ft.pipeline)(a,ut.createGunzip(h),(t=>{if(t){s(t)}}));u=new Response(a,l);n(u);return}if(p==="deflate"||p==="x-deflate"){const r=(0,ft.pipeline)(t,new ft.PassThrough,(t=>{if(t){s(t)}}));r.once("data",(t=>{if((t[0]&15)===8){a=(0,ft.pipeline)(a,ut.createInflate(),(t=>{if(t){s(t)}}))}else{a=(0,ft.pipeline)(a,ut.createInflateRaw(),(t=>{if(t){s(t)}}))}u=new Response(a,l);n(u)}));r.once("end",(()=>{if(!u){u=new Response(a,l);n(u)}}));return}if(p==="br"){a=(0,ft.pipeline)(a,ut.createBrotliDecompress(),(t=>{if(t){s(t)}}));u=new Response(a,l);n(u);return}u=new Response(a,l);n(u)}));writeToStream(d,i).catch(s)}))}function fixResponseChunkedTransferBadEnding(t,r){const n=dt.Buffer.from("0\r\n\r\n");let s=false;let i=false;let o;t.on("response",(t=>{const{headers:r}=t;s=r["transfer-encoding"]==="chunked"&&!r["content-length"]}));t.on("socket",(a=>{const onSocketClose=()=>{if(s&&!i){const t=new Error("Premature close");t.code="ERR_STREAM_PREMATURE_CLOSE";r(t)}};const onData=t=>{i=dt.Buffer.compare(t.slice(-5),n)===0;if(!i&&o){i=dt.Buffer.compare(o.slice(-3),n.slice(0,3))===0&&dt.Buffer.compare(t.slice(-2),n.slice(3))===0}o=t};a.prependListener("close",onSocketClose);a.on("data",onData);t.on("close",(()=>{a.removeListener("close",onSocketClose);a.removeListener("data",onData)}))}))}const Dt={"User-Agent":`Kir-Antipov/${oe} (https://github.com/Kir-Antipov/${oe}/issues/new)`};const Ot=createFetch({handler:fetch,defaultHeaders:Dt});function createFetch(t){const{handler:r=Ot,baseUrl:n,defaultHeaders:s}=t||{};const i=new MiddlewareHandler(r);const configurableFetch=(t,r)=>{t=prepareUrl(configurableFetch,t,r);r=prepareRequest(configurableFetch,r);return i.execute(t,r)};configurableFetch.baseUrl=n||r.baseUrl;configurableFetch.defaultHeaders=setDefaultHeaders(cloneHeaders(s),r.defaultHeaders);Object.defineProperty(configurableFetch,"use",{value:t=>{i.use(t);return configurableFetch}});return configurableFetch}function prepareUrl(t,r,n){if(t.baseUrl&&typeof r==="string"&&r.startsWith("/")){const n=r.slice(1);const s=string_utils_asString(t.baseUrl);const i=s.endsWith("/")?s:`${s}/`;r=new URL(n,i)}if(isURLSearchParams(n?.body)&&!canHttpMethodAcceptBody(n?.method)){if(typeof r==="string"){r=`${r}${r.includes("?")?"&":"?"}${n.body}`}else{n.body.forEach(((t,n)=>r.searchParams.append(n,t)))}}return r}function prepareRequest(t,r){if(t.defaultHeaders){r||={};r.headers=setDefaultHeaders(r.headers,t.defaultHeaders)}if(r?.body&&!canHttpMethodAcceptBody(r.method)){delete r.body}return r}function fetchDestinationEquals(t,r){const[n,s]=Array.isArray(t)?[normalizeUrl(t[0]),normalizeHttpMethod(t[1])]:[normalizeUrl(t)];const[i,o]=Array.isArray(r)?[normalizeUrl(r[0]),normalizeHttpMethod(r[1])]:[normalizeUrl(r)];return httpMethodEquals(s,o)&&n===i}function normalizeUrl(t){const r=asString(t);const n=r.indexOf("?");return n>=0?r.substring(0,n):r}function normalizeHttpMethod(t){return typeof t==="string"?t:t?.method}class HttpResponse{constructor(){}static cache(t){return t instanceof CachedHttpResponse?t:new CachedHttpResponse(t)}static blob(t,r){return HttpResponse.content(t,"application/octet-stream",r)}static formData(t,r){return HttpResponse.content(t,undefined,r)}static json(t,r){const n=typeof t==="string"?t:JSON.stringify(t);return HttpResponse.content(n,"application/json",r)}static text(t,r){return HttpResponse.content(string_utils_asString(t),"text/plain",r)}static redirect(t,r){const n=new Headers(r?.headers);if(!n.has("Location")){n.set("Location",string_utils_asString(t))}const s={headers:n,status:r.status??302,statusText:r.statusText??"Found"};return new Response("",s)}static error(){return Response.error()}static content(t,r,n){ArgumentNullError.throwIfNull(t);const s=new Headers(n?.headers);if(r&&!s.has("Content-Type")){s.set("Content-Type",r)}return new Response(t,{status:n?.status,statusText:n?.statusText,headers:s})}}class CachedHttpResponse{_response;_blob;_formData;constructor(t){this._response=t}get body(){if(this._blob){return this._blob.stream()}if(!this._response.bodyUsed){return this._response.body}throw new Error("Cannot re-read the response body.")}get bodyUsed(){return!this._blob&&!this._formData&&this._response.bodyUsed}get headers(){return this._response.headers}get ok(){return this._response.ok}get redirected(){return this._response.redirected}get status(){return this._response.status}get statusText(){return this._response.statusText}get type(){return this._response.type}get url(){return this._response.url}clone(){return this}async arrayBuffer(){const t=await this.blob();return await t.arrayBuffer()}async blob(){if(this._blob){return this._blob}if(!this._response.bodyUsed){this._blob=await this._response.blob();return this._blob}throw new TypeError("Cannot re-read the response as a Blob.")}async formData(){if(this._formData){return this._formData}if(!this._response.bodyUsed){this._formData=await this._response.formData();return this._formData}throw new TypeError("Cannot re-read the response as a FormData.")}async json(){const t=await this.text();return JSON.parse(t)}async text(){const t=await this.blob();return await t.text()}}function defaultResponse(t){const{filter:r=(t=>t.status===404),response:n=(t=>HttpResponse.text("",t))}=t||{};return async(t,s,i)=>{const o=await i(t,s);if(r(o)){return n(o)}return o}}function throwOnError(t){const{filter:r=(t=>!t.ok),error:n=HttpError.fromResponse}=t||{};return async(t,s,i)=>{const o=await i(t,s);if(r(o)){const t=typeof n==="function"?await n(o):n;throw t}return o}}const DEFAULT_CACHE_FILTER=t=>typeof t==="string"?t.includes("cache=true"):t.searchParams.get("cache")==="true";const DEFAULT_CACHE_COMPARER=(t,r)=>http_method_httpMethodEquals(t[1]?.method,r[1]?.method)&&string_utils_asString(t[0])===string_utils_asString(r[0]);function simpleCache(t){const{filter:r=DEFAULT_CACHE_FILTER,comparer:n=DEFAULT_CACHE_COMPARER}=t||{};const s=new ArrayMap(n);return async(t,n,i)=>{if(!r(t,n)){return await i(t,n)}const o=[t,n];const a=s.get(o);if(a){return a}const l=HttpResponse.cache(await i(t,n));s.set(o,l);return l}}class HttpRequest{constructor(){}static get(t){return new HttpRequestBuilder("GET",t)}static post(t){return new HttpRequestBuilder("POST",t)}static patch(t){return new HttpRequestBuilder("PATCH",t)}static put(t){return new HttpRequestBuilder("PUT",t)}static delete(t){return new HttpRequestBuilder("DELETE",t)}}class HttpRequestBuilder{method;body;headers;redirect;signal;referrer;referrerPolicy;constructor(t,r){Object.assign(this,r);this.method=t}with(t){if(typeof t==="string"){return isGetHttpMethod(this.method)?this.urlParams(t):this.text(t)}if(t===undefined||t===null||isHttpRequestBody(t)){this.body=t??undefined;const r=inferHttpRequestBodyHeaders(this.body);this.headers=setDefaultHeaders(this.headers,r);return this}return isGetHttpMethod(this.method)?this.urlParams(t):this.formData(t)}urlParams(t){if(!isURLSearchParams(t)){t=new QueryString(t)}this.body=t;return this}formData(t){if(!isFormData(t)){t=toFormData(t)}this.body=t;return this}json(t){const r=typeof t==="string"?t:JSON.stringify(t);this.body=r;this.headers=setHeader(this.headers,"Content-Type","application/json");return this}text(t){this.body=t;this.headers=setHeader(this.headers,"Content-Type","text/plain");return this}abort(t){this.signal=t;return this}timeout(t){return this.abort(AbortSignal.timeout(t))}header(t,r){this.headers=setHeader(this.headers,t,r);return this}}const kt="0\\.\\d+(?:\\.\\d+)?a?(?:_\\d+)?|"+"\\d+\\.\\d+(?:\\.\\d+)?(?:-pre\\d+| Pre-[Rr]elease \\d+|-rc\\d+| [Rr]elease Candidate \\d+)?|"+"\\d+w\\d+(?:[a-z]+|~)|"+"[a-c]\\d\\.\\d+(?:\\.\\d+)?[a-z]?(?:_\\d+)?[a-z]?|"+"(Alpha|Beta) v?\\d+\\.\\d+(?:\\.\\d+)?[a-z]?(?:_\\d+)?[a-z]?|"+"Inf?dev (?:0\\.31 )?\\d+(?:-\\d+)?|"+"(?:rd|inf)-\\d+|"+"(?:.*[Ee]xperimental [Ss]napshot )(?:\\d+)";const $t=new RegExp(kt);const Lt=/\d+\.\d+(\.\d+)?/;const xt=/.+(?:-pre| Pre-[Rr]elease )(\d+)/;const Ft=/.+(?:-rc| [Rr]elease Candidate )(\d+)/;const Mt=/(?:Snapshot )?(\d+)w0?(0|[1-9]\d*)([a-z])/;const Bt=/(?:.*[Ee]xperimental [Ss]napshot )(\d+)/;const jt=/(?:b|Beta v?)1\.(\d+(\.\d+)?[a-z]?(_\d+)?[a-z]?)/;const Wt=/(?:a|Alpha v?)[01]\.(\d+(\.\d+)?[a-z]?(_\d+)?[a-z]?)/;const Ut=/(?:inf-|Inf?dev )(?:0\.31 )?(\d+(-\d+)?)/;const qt=parseVersionRange("<=1.16");const Ht=new Map([["13w12~","1.5.1-alpha.13.12.a"],["2point0_red","1.5.2-red"],["2point0_purple","1.5.2-purple"],["2point0_blue","1.5.2-blue"],["15w14a","1.8.4-alpha.15.14.a+loveandhugs"],["1.RV-Pre1","1.9.2-rv+trendy"],["3D Shareware v1.34","1.14-alpha.19.13.shareware"],["1.14.3 - Combat Test","1.14.3-rc.4.combat.1"],["Combat Test 2","1.14.5-combat.2"],["Combat Test 3","1.14.5-combat.3"],["Combat Test 4","1.15-rc.3.combat.4"],["Combat Test 5","1.15.2-rc.2.combat.5"],["20w14~","1.16-alpha.20.13.inf"],["20w14infinite","1.16-alpha.20.13.inf"],["Combat Test 6","1.16.2-beta.3.combat.6"],["Combat Test 7","1.16.3-combat.7"],["1.16_combat-2","1.16.3-combat.7.b"],["1.16_combat-3","1.16.3-combat.7.c"],["1.16_combat-4","1.16.3-combat.8"],["1.16_combat-5","1.16.3-combat.8.b"],["1.16_combat-6","1.16.3-combat.8.c"],["22w13oneblockatatime","1.19-alpha.22.13.oneblockatatime"],["23w13a_or_b","1.20-alpha.23.13.ab"]]);function normalizeMinecraftVersion(t,r,n){const s=r?findNearestReleaseMinecraftVersion(r,n):t.match(Lt)?.[0];return normalizeUnknownMinecraftVersion(t,s)}function normalizeMinecraftVersionRange(t,r,n){if(!iterable_isIterable(t)){return t}const s=typeof t==="string"?[t]:asArrayLike(t);const i=s.map((t=>t.replaceAll(n,(t=>{const n=r.get(t);if(n){return String(n.version)}return normalizeMinecraftVersion(t)}))));return parseVersionRange(i)||noneVersionRange(i.join(" || "))}function getMinecraftVersionRegExp(t){if(!t){return $t}let r=kt;for(const n of t){if(n.match($t)?.[0]!==n){r=`${n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}|${r}`}}return new RegExp(r,"gs")}function normalizeUnknownMinecraftVersion(t,r){if(Ht.has(t)){return Ht.get(t)}if(!r||t===r||t.substring(1).startsWith(r)){return normalizeOldMinecraftVersion(t)}let n;if(n=t.match(Bt)){return`${r}-Experimental.${n[1]}`}if(t.startsWith(r)){if(n=t.match(Ft)){const s=r==="1.16"?String(8+ +n[1]):n[1];t=`rc.${s}`}else if(n=t.match(xt)){const s=isLegacyMinecraftVersion(r);t=`${s?"rc":"beta"}.${n[1]}`}}else if(n=t.match(Mt)){t=`alpha.${n[1]}.${n[2]}.${n[3]}`}else{t=normalizeOldMinecraftVersion(t)}if(t.startsWith(`${r}-`)){return t}return`${r}-${t}`}function normalizeOldMinecraftVersion(t){let r;if(r=t.match(jt)){t=`1.0.0-beta.${r[1]}`}else if(r=t.match(Wt)){t=`1.0.0-alpha.${r[1]}`}else if(r=t.match(Ut)){t=`0.31.${r[1]}`}else if(t.startsWith("c0.")){t=t.substring(1)}else if(t.startsWith("rd-")){t=t.substring(3);if(t==="20090515"){t="150000"}t=`0.0.0-rd.${t}`}let n="";let s=false;let i=false;let o=false;let a=false;for(let r=0;r="0"&&l<="9"){if(r>0&&!s&&!o){n+="."}else if(s&&i){n=n.substring(0,n.length-1)}i=l==="0"&&(!s||i);o=false;s=true}else if(l==="."||l==="-"){if(o){continue}o=true;s=false}else if((l<"A"||l>"Z")&&(l<"a"||l>"z")){if(o){continue}l=".";o=true;s=false}else{if(s){n+=a?".":"-";a=true}o=false;s=false}if(l==="-"){a=true}n+=l}let l=0;while(ll&&n.charAt(c-1)==="."){--c}return n.substring(l,c)}function findNearestReleaseMinecraftVersion(t,r){if(t[r].type===ie.RELEASE){return t[r].id}if(t[r].type!==ie.SNAPSHOT){return undefined}const n=t[r].id.match(Lt);if(n){return n[0]}const s=t[r].id.match(Mt);if(s){const t=+s[1];const r=+s[2];const n=findNearestReleaseMinecraftVersionBySnapshotDate(t,r);if(n){return n}}for(let n=r-1;n>=0;--n){if(t[n].type===ie.RELEASE){return t[n].id}}for(let n=r+1;n=12){return"1.20"}if(t===20&&r>=45||t===21&&r<=20){return"1.17"}if(t===15&&r>=31||t===16&&r<=7){return"1.9"}if(t===14&&r>=2&&r<=34){return"1.8"}if(t===13&&r>=47&&r<=49){return"1.7.4"}if(t===13&&r>=36&&r<=43){return"1.7.2"}if(t===13&&r>=16&&r<=26){return"1.6"}return undefined}function isLegacyMinecraftVersion(t){return qt.includes(t)}const Vt="https://piston-meta.mojang.com/mc";class MojangApiClient{_fetch;_versions;_versionRegExp;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||Vt}).use(throwOnError())}async getMinecraftVersion(t){const r=await this.getAllMinecraftVersions();const n=r.get(t);if(n){return n}const s=await this.getMinecraftVersions(t);return s[0]}async getMinecraftVersions(t){const r=await this.getAllMinecraftVersions();const n=await this.getMinecraftVersionRegExp();const s=normalizeMinecraftVersionRange(t,r,n);return iterable_$i(r.values()).filter((t=>s.includes(t.version))).toArray()}async getAllMinecraftVersions(){if(this._versions){return this._versions}const t=await this._fetch("/game/version_manifest_v2.json");const r=await t.json();const n=getMinecraftVersionManifestEntries(r);const s=n.map(((t,r,n)=>{const s=normalizeMinecraftVersion(t.id,n,r);const i=parseVersion(s);return new MinecraftVersion(t.id,i,t.type,t.url,t.releaseDate)}));this._versions=new Map(s.map((t=>[t.id,t])));return this._versions}async getMinecraftVersionRegExp(){if(this._versionRegExp){return this._versionRegExp}const t=await this.getAllMinecraftVersions();this._versionRegExp=getMinecraftVersionRegExp(t.keys());return this._versionRegExp}}const Gt=MojangApiClient.prototype.getMinecraftVersions.bind(new MojangApiClient);const zt="minecraft";const Yt=new Map([[zt,Gt]]);function getGameVersionProviderByName(t){return Yt.get(t)}function isPromise(t){return typeof t?.then==="function"}function sleep(t){const r=4;if(t{setTimeout(r,t)}))}async function run(t){return await t()}async function runSafely(t){return await run(t).then((t=>[t,undefined])).catch((t=>[undefined,t]))}async function retry(t,r){const n=r?.delay??0;const s=r?.maxAttempts??-1;const i=r?.onError;let o=0;while(true){++o;try{return await t()}catch(t){const r=s>=0&&o>=s;const n=!r&&await isErrorHandled(t,i);if(!n){throw t}}await sleep(n)}}async function isErrorHandled(t,r){if(!isError(t)){return false}const n=await(r?.(t));return n||n===undefined}const Qt=2;const Kt=1e3;class GenericPlatformUploader{_logger;_fetch;constructor(t){this._logger=t?.logger||Te;this._fetch=t?.fetch||Ot}async upload(t){ArgumentNullError.throwIfNull(t,"request");ArgumentNullError.throwIfNull(t.token,"request.token",`A token is required to upload files to ${We.friendlyNameOf(this.platform)}.`);ArgumentNullError.throwIfNullOrEmpty(t.files,"request.files","No files to upload were specified. Please include at least one file in the request.");const r=We.friendlyNameOf(this.platform);const n=t.retryAttempts??Qt;const s=t.retryDelay??Kt;const i=LoggingStopwatch.startNew(this._logger,(()=>`📤 Uploading assets to ${r}`),(t=>`✅ Successfully published assets to ${r} in ${t} ms`));const onError=t=>{if(isSoftError(t)){this._logger.error(t);this._logger.info(`🔂 Facing difficulties, republishing assets to ${r} in ${s} ms`);return true}return false};const o=await retry((()=>this.uploadCore(t)),{maxAttempts:n,delay:s,onError:onError});i.stop();return o}convertToSimpleDependencies(t,r){return(t||[]).filter((t=>t&&!t.isIgnored(this.platform))).map((t=>[t.getProjectId(this.platform),r(t.type)])).filter((([t,r])=>t&&r))}}var Xt;(function(t){t["EMBEDDED_LIBRARY"]="embeddedLibrary";t["INCOMPATIBLE"]="incompatible";t["OPTIONAL_DEPENDENCY"]="optionalDependency";t["REQUIRED_DEPENDENCY"]="requiredDependency";t["TOOL"]="tool"})(Xt||(Xt={}));const Jt={ignoreCase:true,ignoreNonWordCharacters:true};function curseforge_dependency_type_toDependencyType(t){switch(t){case er.EMBEDDED_LIBRARY:return He.EMBEDDED;case er.INCOMPATIBLE:return He.INCOMPATIBLE;case er.OPTIONAL_DEPENDENCY:return He.OPTIONAL;case er.REQUIRED_DEPENDENCY:return He.REQUIRED;case er.TOOL:return He.RECOMMENDED;default:return undefined}}function curseforge_dependency_type_fromDependencyType(t){switch(t){case He.REQUIRED:return er.REQUIRED_DEPENDENCY;case He.RECOMMENDED:return er.OPTIONAL_DEPENDENCY;case He.EMBEDDED:return er.EMBEDDED_LIBRARY;case He.OPTIONAL:return er.OPTIONAL_DEPENDENCY;case He.CONFLICTING:return er.INCOMPATIBLE;case He.INCOMPATIBLE:return er.INCOMPATIBLE;default:return undefined}}const Zt={fromDependencyType:curseforge_dependency_type_fromDependencyType,toDependencyType:curseforge_dependency_type_toDependencyType};const er=j.create(Xt,Jt,Zt);function isCurseForgeProjectId(t){return typeof t==="number"||isIntegerString(t)}const tr=1;const rr=`https://api.curseforge.com/v${tr}`;const nr=SecureString.from(Buffer.from([36,50,97,36,49,48,36,81,73,47,121,101,83,110,106,105,69,90,72,90,109,70,108,109,105,74,86,73,46,50,120,109,87,89,108,80,98,107,65,88,87,56,114,81,46,120,77,54,53,118,107,116,65,115,115,97,74,112,109,105])).unwrap();class CurseForgeEternalApiClient{_fetch;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||rr,defaultHeaders:{"X-Api-Key":t?.token||nr}}).use(defaultResponse({response:t=>HttpResponse.json(null,t)})).use(throwOnError({filter:t=>!t.ok&&t.status!==404}))}async getProject(t){if(!isCurseForgeProjectId(t)){const r=await this._fetch("/mods/search",HttpRequest.get().with({gameId:432,slug:t}));return await r.json().then((r=>r?.data?.find((r=>r.slug===t))))??undefined}const r=await this._fetch(`/mods/${t}`);return await r.json().then((t=>t?.data))??undefined}}function isCurseForgeError(t){const r=t;return!!r&&typeof r.errorCode==="number"&&typeof r.errorMessage==="string"}const sr=1018;const ir=/Invalid slug in project relations: '([^']*)'/;function isInvalidProjectSlugCurseForgeError(t){return isCurseForgeError(t)&&t.errorCode===sr}function getInvalidProjectSlug(t){return isInvalidProjectSlugCurseForgeError(t)?t.errorMessage.match(ir)?.[1]:undefined}const or=1009;function isInvalidGameVersionIdCurseForgeError(t){return isCurseForgeError(t)&&t.errorCode===or}const CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER=(t,r)=>{const n=t?.replace("-Snapshot","");const s=r?.replace("-Snapshot","");return n===s};const CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER=(t,r)=>{const n=t?.match(/\d+\.\d+/)?.[0];const s=r?.match(/\d+\.\d+/)?.[0];return n===s};function findCurseForgeGameVersionIdsByNames(t,r,n,s){n||=I;return iterable_$i(r).map((r=>{const i=t.find((t=>n(t.name,r)));if(i||!s){return i}return t.find((t=>s(t.name,r)))})).filter((t=>t)).map((t=>t.id)).distinct().toArray()}function formatCurseForgeGameVersion(t){return`${t.version.major}.${t.version.minor}${t.version.patch?`.${t.version.patch}`:""}`}function formatCurseForgeGameVersionSnapshot(t){return`${t.version.major}.${t.version.minor}${t.version.patch?`.${t.version.patch}`:""}${t.isSnapshot?"-Snapshot":""}`}function createCurseForgeGameVersionMap(t,r){return{game_versions:filterGameVersionsByTypeName(t,r,"minecraft"),game_versions_for_plugins:filterGameVersionsByTypeName(t,r,"bukkit"),game_versions_for_addons:filterGameVersionsByTypeName(t,r,"addon"),loaders:filterGameVersionsByTypeName(t,r,"modloader"),java_versions:filterGameVersionsByTypeName(t,r,"java"),environments:filterGameVersionsByTypeName(t,r,"environment")}}function filterGameVersionsByTypeName(t,r,n){const s=r.filter((t=>t.slug.startsWith(n)));return t.filter((t=>s.some((r=>r.id===t.gameVersionTypeID))))}const ar={id:1,name:"Bukkit",slug:"bukkit"};function packCurseForgeVersionInit(t,r,n,s){n=FileInfo.of(n);const i=typeof s==="number";const o={changelog:t.changelog||"",changelogType:t.changelog_type||"markdown",displayName:i||!t.name?n.name:t.name,parentFileID:s,gameVersions:i?undefined:r||[],releaseType:t.version_type||te.RELEASE,relations:i||!t.dependencies?.length?undefined:{projects:t.dependencies}};return{file:n,metadata:o}}const lr="https://minecraft.curseforge.com/api";class CurseForgeUploadApiClient{_fetch;_gameVersionProvider;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||lr,defaultHeaders:{"X-Api-Token":t?.token}}).use(simpleCache()).use(throwOnError());this._gameVersionProvider=t?.gameVersionProvider||Gt}async getGameVersionTypes(){const t=await this._fetch("/game/version-types?cache=true");const r=await t.json();if(!r.some((t=>t.id===ar.id))){r.unshift(ar)}return r}async getGameVersions(){const t=await this._fetch("/game/versions?cache=true");return await t.json()}async getGameVersionMap(){const t=await this.getGameVersions();const r=await this.getGameVersionTypes();return createCurseForgeGameVersionMap(t,r)}async createVersion(t){const r=await this.getGameVersionIdVariants(t);let n=undefined;for(const s of t.files||[]){const i={version:t,file:s,game_versions:r,version_id:n?.id};const o=await retry((()=>this.uploadFile(i)),{onError:t=>tryHandleUploadError(t,i)});if(!n){n={id:o.id,project_id:o.project_id,name:o.name,files:[]}}n.files.push(o)}return n}async uploadFile(t){const r=t.version.project_id;const n=packCurseForgeVersionInit(t.version,t.game_versions[0],t.file,t.version_id);const s=await this._fetch(`/projects/${r}/upload-file`,HttpRequest.post().with(n));const i=(await s.json()).id;return{id:i,name:n.metadata.displayName||n.file.name,url:`https://www.curseforge.com/api/v1/mods/${r}/files/${i}/download`,project_id:r,version_id:t.version_id||i}}async getGameVersionIdVariants(t){const r=t.loaders||[];const n=t.java_versions||[];const s=t.game_versions?.length?await this._gameVersionProvider(t.game_versions):[];const i=await this.getGameVersionMap();const o=n.map((t=>JavaVersion.of(t).name));const a=s.map((t=>formatCurseForgeGameVersionSnapshot(t)));const l=s.map((t=>formatCurseForgeGameVersion(t)));const c=findCurseForgeGameVersionIdsByNames(i.game_versions,a,undefined,CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER);const u=findCurseForgeGameVersionIdsByNames(i.loaders,r);const d=findCurseForgeGameVersionIdsByNames(i.java_versions,o);const p=findCurseForgeGameVersionIdsByNames(i.game_versions_for_plugins,l,undefined,CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);const h=findCurseForgeGameVersionIdsByNames(i.game_versions_for_addons,l,undefined,CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);const m=[u.length?c.concat(u,d):c,p,u.length?c:[],h];if(!u.length){[m[0],m[1]]=[m[1],m[0]]}const g=m.filter((t=>t.length));return g.length?g:[[]]}}async function tryHandleUploadError(t,r){if(!isHttpError(t)){return false}const n=await t.response.json().catch((()=>undefined));if(!isCurseForgeError(n)){return false}if(isInvalidProjectSlugCurseForgeError(n)){return handleInvalidProjectSlugCurseForgeError(r,n)}if(isInvalidGameVersionIdCurseForgeError(n)){return handleInvalidGameVersionIdCurseForgeError(r)}return false}function handleInvalidProjectSlugCurseForgeError(t,r){const n=getInvalidProjectSlug(r)||"";const s=t.version.dependencies;t.version={...t.version};t.version.dependencies=t.version.dependencies?.filter((t=>t.slug!==n));return s?.length!==t.version.dependencies?.length}function handleInvalidGameVersionIdCurseForgeError(t){t.version={...t.version};t.game_versions=[...t.game_versions||[]];t.game_versions.shift();return true}class CurseForgeUploader extends GenericPlatformUploader{constructor(t){super(t)}get platform(){return We.CURSEFORGE}async uploadCore(t){argument_error_ArgumentError.throwIfNullOrEmpty(t.id,"request.id","A project ID is required to upload files to CurseForge.");argument_error_ArgumentError.throwIfNullOrEmpty(t.loaders,"request.loaders","At least one loader should be specified to upload files to CurseForge.");argument_error_ArgumentError.throwIfNullOrEmpty(t.gameVersions,"request.gameVersions","At least one game version should be specified to upload files to CurseForge.");const r=new CurseForgeUploadApiClient({token:t.token.unwrap(),fetch:this._fetch});const n=new CurseForgeEternalApiClient({fetch:this._fetch});const s=await this.getProject(t.id,n);const i=await this.createVersion(t,s.id,r,n);return{id:s.id,version:i.id,url:`${s.links.websiteUrl}/files/${i.id}`,files:i.files.map((t=>({id:t.id,name:t.name,url:t.url})))}}async getProject(t,r){const n=await r.getProject(t).catch((()=>undefined));if(n){return n}if(!isCurseForgeProjectId(t)){throw new Error(`Cannot access CurseForge project "${t}" by its slug. Please specify the ID instead.`)}this._logger.debug(`CurseForge project "${t}" is inaccessible.`);return{id:+t,slug:String(t),links:{websiteUrl:`https://www.curseforge.com/minecraft/mc-mods/${t}`}}}async createVersion(t,r,n,s){const i=await this.convertToCurseForgeDependencies(t.dependencies,s);return await n.createVersion({name:t.name,project_id:r,version_type:t.versionType,changelog:t.changelog,game_versions:t.gameVersions,java_versions:t.java,loaders:t.loaders,files:t.files,dependencies:i})}async convertToCurseForgeDependencies(t,r){const n=this.convertToSimpleDependencies(t,er.fromDependencyType);const s=await Promise.all(n.map((async([t,n])=>({slug:isCurseForgeProjectId(t)?await r.getProject(t).catch((()=>undefined)).then((t=>t?.slug)):t,type:n}))));const i=s.filter((t=>t.slug&&t.type)).filter(((t,r,n)=>r===n.findIndex((r=>stringEquals(t.slug,r.slug,{ignoreCase:true})))));return i}}function packGitHubReleaseInit(t){return{...{...t,owner:undefined,repo:undefined,assets:undefined}}}function packGitHubReleasePatch(t){return{...{...t,owner:undefined,repo:undefined,id:undefined,assets:undefined}}}const cr="https://api.github.com";const ur="2022-11-28";class GitHubApiClient{_fetch;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||cr,defaultHeaders:{Accept:"application/vnd.github+json","X-GitHub-Api-Version":ur,Authorization:t?.token&&`Bearer ${t.token}`}}).use(defaultResponse({response:t=>HttpResponse.json(null,t)})).use(throwOnError({filter:t=>!t.ok&&t.status!==404}))}async getRelease(t){const{owner:r,repo:n,id:s,tag_name:i}=t;const o=typeof s==="number"?`/repos/${r}/${n}/releases/${s}`:`/repos/${r}/${n}/releases/tags/${i}`;const a=await this._fetch(o);return await a.json()??undefined}async createRelease(t){const{owner:r,repo:n,assets:s}=t;const i=packGitHubReleaseInit(t);const o=await this._fetch(`/repos/${r}/${n}/releases`,HttpRequest.post().json(i));const a=await o.json();if(s?.length){return await this.updateRelease({owner:r,repo:n,id:a.id,assets:s})}return a}async updateRelease(t){const{owner:r,repo:n,id:s,assets:i}=t;if(i?.length){await this.updateReleaseAssets({owner:r,repo:n,id:s,assets:i})}const o=packGitHubReleasePatch(t);const a=Object.values(o).filter((t=>t!==undefined)).length!==0;if(!a){return await this.getRelease(t)}const l=await this._fetch(`/repos/${r}/${n}/releases/${s}`,HttpRequest.patch().json(o));return await l.json()}async updateReleaseAssets(t){const r=[];const n=await this.getRelease(t);for(const s of t.assets){const i=FileInfo.of(s);const o=n.assets.find((t=>t.name===i.name||t.name===i.path));if(o){await this.deleteReleaseAsset({owner:t.owner,repo:t.repo,id:o.id})}const a=await this.uploadReleaseAsset({upload_url:n.upload_url,asset:i});r.push(a)}return r}async uploadReleaseAsset(t){const{upload_url:r,asset:n}=t;const s=r.includes("{")?r.substring(0,r.indexOf("{")):r;const i=FileInfo.of(n);const o=encodeURIComponent(i.name);const a=i.stream();const l=await this._fetch(`${s}?name=${o}`,HttpRequest.post().with(a));return await l.json()}async deleteReleaseAsset(t){const{owner:r,repo:n,id:s}=t;const i=await this._fetch(`/repos/${r}/${n}/releases/assets/${s}`,HttpRequest["delete"]());return i.ok}}class GitHubUploader extends GenericPlatformUploader{_context;constructor(t){super(t);this._context=t?.githubContext}get platform(){return We.GITHUB}async uploadCore(t){ArgumentNullError.throwIfNull(this._context?.repo,"context.repo","The information about the repository is required to upload files to GitHub.");const r=new GitHubApiClient({token:t.token.unwrap(),fetch:this._fetch,baseUrl:this._context.apiUrl});const n=this._context.repo;const s=await this.updateOrCreateRelease(t,r);return{repo:`${n.owner}/${n.repo}`,tag:s.tag_name,url:s.html_url,files:s.assets.map((t=>({id:t.id,name:t.name,url:t.browser_download_url})))}}async getOrCreateReleaseId(t,r){const n=this._context.repo;const s=t.tag||this._context.tag||t.version;let i=undefined;let o=false;if(t.tag){i=await r.getRelease({...n,tag_name:t.tag}).then((t=>t?.id))}else if(this._context.payload.release?.id){i=this._context.payload.release.id}else if(s){i=await r.getRelease({...n,tag_name:s}).then((t=>t?.id))}if(!i&&s){i=(await r.createRelease({...n,tag_name:s,target_commitish:t.commitish,name:t.name,body:t.changelog,draft:t.draft,prerelease:t.prerelease??t.versionType!==te.RELEASE,discussion_category_name:t.discussion,generate_release_notes:t.generateChangelog??!t.changelog}))?.id;o=true}if(!i){throw new Error(`Cannot find or create GitHub Release${s?` (${s})`:""}.`)}return[i,o]}async updateOrCreateRelease(t,r){const[n,s]=await this.getOrCreateReleaseId(t,r);const i=!t.changelog||s?undefined:t.changelog;const o=t.files;return await r.updateRelease({...this._context.repo,id:n,body:i,assets:o})}}function packModrinthVersionInit(t){const{files:r=[]}=t;const n={...{...t,files:undefined},name:t.name||t.version_number||r[0]&&FileInfo.of(r[0]).name,version_type:t.version_type??te.RELEASE,featured:t.featured??true,dependencies:t.dependencies??[],game_versions:t.game_versions??[],loaders:t.loaders??[],primary_file:r.length?"_0":undefined,file_parts:r.map(((t,r)=>`_${r}`))};const s=r.reduce(((t,r,n)=>{t[`_${n}`]=FileInfo.of(r);return t}),{data:n});return s}function packModrinthVersionSearchTemplate(t){const r=t?.loaders?JSON.stringify(t.loaders):undefined;const n=t?.game_versions?JSON.stringify(t.game_versions):undefined;const s=t?.featured??undefined;return{loaders:r,game_versions:n,featured:s}}const fr=2;const dr=`https://api.modrinth.com/v${fr}`;const pr=`https://staging-api.modrinth.com/v${fr}`;class ModrinthApiClient{_fetch;constructor(t){this._fetch=createFetch({handler:t?.fetch,baseUrl:t?.baseUrl||t?.fetch?.["baseUrl"]||dr,defaultHeaders:{Authorization:t?.token}}).use(simpleCache()).use(defaultResponse({response:t=>HttpResponse.json(null,t)})).use(throwOnError({filter:t=>!t.ok&&t.status!==404}))}async getLoaders(){const t=await this._fetch("/tag/loader?cache=true");return await t.json()??[]}async getGameVersions(){const t=await this._fetch("/tag/game_version?cache=true");return await t.json()??[]}async getProject(t){const r=await this._fetch(`/project/${t}`);return await r.json()??undefined}async getProjectId(t){const r=await this._fetch(`/project/${t}/check`);return(await r.json())?.id??undefined}async getProjects(t){const r=await this._fetch("/projects",HttpRequest.get().with({ids:JSON.stringify(asArray(t))}));return await r.json()??[]}async updateProject(t){const r=await this._fetch(`/project/${t.id}`,HttpRequest.patch().json(t));return r.ok}async deleteProject(t){const r=await this._fetch(`/project/${t}`,HttpRequest["delete"]());return r.ok}async getVersion(t){const r=await this._fetch(`/version/${t}`);return await r.json()??undefined}async getVersions(t){const r=await this._fetch("/versions",HttpRequest.get().with({ids:JSON.stringify(asArray(t))}));return await r.json()??[]}async createVersion(t){const r=packModrinthVersionInit(t);const n=await this._fetch("/version",HttpRequest.post().with(r));return await n.json()??undefined}async updateVersion(t){const r=await this._fetch(`/version/${t.id}`,HttpRequest.patch().json(t));return r.ok}async deleteVersion(t){const r=await this._fetch(`/version/${t}`,HttpRequest["delete"]());return r.ok}async getProjectVersions(t,r){const n=packModrinthVersionSearchTemplate(r);const s=await this._fetch(`/project/${t}/version`,HttpRequest.get().with(n));return await s.json()??[]}async unfeaturePreviousProjectVersions(t,r){r??=pe.SUBSET;const n=await this.getProjectVersions(t.project_id,{featured:true});const s={};for(const i of n){if(!pe.shouldUnfeature(i,t,r)){continue}s[i.id]=await this.updateVersion({id:i.id,featured:false})}return s}}var hr;(function(t){t["REQUIRED"]="required";t["OPTIONAL"]="optional";t["INCOMPATIBLE"]="incompatible";t["EMBEDDED"]="embedded"})(hr||(hr={}));const mr={ignoreCase:true,ignoreNonWordCharacters:true};function modrinth_dependency_type_toDependencyType(t){switch(t){case yr.REQUIRED:return He.REQUIRED;case yr.OPTIONAL:return He.OPTIONAL;case yr.INCOMPATIBLE:return He.INCOMPATIBLE;case yr.EMBEDDED:return He.EMBEDDED;default:return undefined}}function modrinth_dependency_type_fromDependencyType(t){switch(t){case He.REQUIRED:return yr.REQUIRED;case He.OPTIONAL:case He.RECOMMENDED:return yr.OPTIONAL;case He.EMBEDDED:return yr.EMBEDDED;case He.CONFLICTING:case He.INCOMPATIBLE:return yr.INCOMPATIBLE;default:return undefined}}const gr={fromDependencyType:modrinth_dependency_type_fromDependencyType,toDependencyType:modrinth_dependency_type_toDependencyType};const yr=j.create(hr,mr,gr);class ModrinthUploader extends GenericPlatformUploader{constructor(t){super(t)}get platform(){return We.MODRINTH}async uploadCore(t){argument_error_ArgumentError.throwIfNullOrEmpty(t.id,"request.id","A project ID is required to upload files to Modrinth.");argument_error_ArgumentError.throwIfNullOrEmpty(t.version,"request.version","A version number is required to upload files to Modrinth.");argument_error_ArgumentError.throwIfNullOrEmpty(t.loaders,"request.loaders","At least one loader should be specified to upload files to Modrinth.");argument_error_ArgumentError.throwIfNullOrEmpty(t.gameVersions,"request.gameVersions","At least one game version should be specified to upload files to Modrinth.");const r=new ModrinthApiClient({token:t.token.unwrap(),fetch:this._fetch});const n=t.unfeatureMode??(t.featured?pe.SUBSET:pe.NONE);const s=await this.getProject(t.id,r);const i=await this.createVersion(t,s,r);await this.unfeaturePreviousVersions(i,n,r);return{id:s.id,version:i.id,url:`https://modrinth.com/${s.project_type}/${s.slug}/version/${i.version_number}`,files:i.files.map((t=>({id:t.hashes.sha1,name:t.filename,url:t.url})))}}async getProject(t,r){const n=await r.getProject(t);if(n){return n}return{id:t,slug:t,project_type:"mod"}}async createVersion(t,r,n){const s=await this.convertToModrinthGameVersionNames(t.gameVersions,n);const i=await this.convertToModrinthLoaderNames(t.loaders,r,n);const o=await this.convertToModrinthDependencies(t.dependencies,n);return await n.createVersion({name:t.name,version_number:t.version,project_id:r.id,changelog:t.changelog,dependencies:o,game_versions:s,version_type:t.versionType,loaders:i,featured:t.featured,files:t.files})}async convertToModrinthDependencies(t,r){const n=this.convertToSimpleDependencies(t,yr.fromDependencyType);const s=await Promise.all(n.map((async([t,n])=>({project_id:await r.getProjectId(t).catch((()=>undefined)),dependency_type:n}))));const i=s.filter((t=>t.project_id&&t.dependency_type)).filter(((t,r,n)=>r===n.findIndex((r=>t.project_id===r.project_id))));return i}async convertToModrinthLoaderNames(t,r,n){if(!t?.length){return[]}const s=await n.getLoaders();return iterable_$i(t).map((t=>s.find((r=>N(t,r.name))))).filter((t=>t)).filter((t=>t.supported_project_types.includes(r.project_type)||r.id===r.slug)).map((t=>t.name)).toArray()}async convertToModrinthGameVersionNames(t,r){if(!t?.length){return[]}const n=await r.getGameVersions();return iterable_$i(t).map((t=>n.find((r=>N(t,r.version)))?.version)).filter((t=>t)).toArray()}async unfeaturePreviousVersions(t,r,n){if(r===pe.NONE){return}this._logger.info("🔽 Initiating unfeaturing of older Modrinth project versions");const s=await n.unfeaturePreviousProjectVersions(t,r);const i=Object.entries(s).filter((([,t])=>t)).map((([t])=>t));const o=Object.entries(s).filter((([,t])=>!t)).map((([t])=>t));if(i.length){this._logger.info(`🟢 Successfully unfeatured ${i.join(", ")}`)}if(o.length){this._logger.info(`⚠️ Failed to unfeature ${o.join(", ")}. Please, double-check your token`)}}}function createPlatformUploader(t,r){switch(t){case We.MODRINTH:return new ModrinthUploader(r);case We.CURSEFORGE:return new CurseForgeUploader(r);case We.GITHUB:return new GitHubUploader(r);default:throw new Error(`Unknown platform '${We.format(t)}'`)}}const br=["minecraft","java","fabricloader"];const _r=new Map([["fabric","fabric-api"]].map((([t,r])=>[t,typeof r==="string"?iterable_$i(We.values()).map((t=>[t,r])).toMap():r])));function getFabricDependencies(t){return iterable_$i(Ye.values()).flatMap((r=>toFabricDependencyArray(t?.[r],r))).toArray()}function toFabricDependencyArray(t,r){return Object.entries(t||{}).map((([t,n])=>({id:t,version:n,type:r})))}function normalizeFabricDependency(t){return createDependency({id:t?.id,versions:t?.version,type:Ye.toDependencyType(t?.type||Ye.DEPENDS),ignore:br.includes(t?.id),aliases:_r.get(t?.id)})}var Sr;(function(t){t["FABRIC"]="fabric";t["FORGE"]="forge";t["QUILT"]="quilt";t["NEOFORGE"]="neoforge"})(Sr||(Sr={}));const Er={ignoreCase:true};const vr=j.create(Sr,Er);function getFabricMetadataCustomPayload(t){return containsLegacyCustomPayloadDefinition(t)?Rr(t):t?.custom?.[oe]||{}}function containsLegacyCustomPayloadDefinition(t){return!!t?.custom?.modmanager}function _getLegacyFabricMetadataCustomPayload(t){const r=t?.custom?.modmanager;const n=t?.custom?.[oe];return{...r,...n}}const Rr=(0,W.deprecate)(_getLegacyFabricMetadataCustomPayload,"Use `mc-publish` field instead of `modmanager` field.");const wr=[vr.FABRIC];function getLoadersFromFabricMetadataCustomPayload(t){if(containsLegacyLoadersDefinition(t)){return Cr(t)}return t?.loaders||[...wr]}function containsLegacyLoadersDefinition(t){return typeof t?.quilt==="boolean"}function _getLegacyLoadersFromFabricMetadataCustomPayload(t){return t?.quilt?[vr.FABRIC,vr.QUILT]:[...wr]}const Cr=(0,W.deprecate)(_getLegacyLoadersFromFabricMetadataCustomPayload,'Use the universal `"loaders": ["fabric", "quilt"]` field instead of `"quilt": true`');function getDependenciesFromFabricMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromFabricMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class FabricMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new FabricMetadata(t)}get id(){return string_utils_asString(this._raw.id||"")}get name(){return string_utils_asString(this._raw.name||this._raw.id||"")}get version(){return string_utils_asString(this._raw.version||"*")}get loaders(){return getLoadersFromFabricMetadataCustomPayload(this.customPayload)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getFabricDependencies(this._raw).map(normalizeFabricDependency).filter((t=>t));const r=getDependenciesFromFabricMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get raw(){return this._raw}get customPayload(){return getFabricMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromFabricMetadataCustomPayload(this.customPayload,t)||this.id}}const Ar="fabric.mod.json";class FabricMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,Ar);return FabricMetadata.from(JSON.parse(r))}}var Tr=s(4920);const Ir=["minecraft","java","forge"];function getForgeDependencies(t){const r=iterable_$i(Object.values(t?.dependencies||{})).filter((t=>Array.isArray(t))).flatMap((t=>t)).filter((t=>t?.modId)).map((t=>[t.modId,t])).reverse().toMap();return[...r.values()]}function normalizeForgeDependency(t){const r=getForgeDependencyCustomPayload(t);const n=t?.modId;const s=t?.versionRange;const i=Ir.includes(t?.modId)||typeof r.ignore==="boolean"&&r.ignore;const o=typeof r.ignore==="boolean"?undefined:r.ignore;const a=iterable_$i(We.values()).map((t=>[t,r[t]?string_utils_asString(r[t]):undefined])).filter((([,t])=>t)).toMap();const l=t?.incompatible&&He.INCOMPATIBLE||t?.embedded&&He.EMBEDDED||t?.mandatory&&He.REQUIRED||He.OPTIONAL;return createDependency({id:n,versions:s,type:l,ignore:i,ignoredPlatforms:o,aliases:a})}function getForgeDependencyCustomPayload(t){return containsLegacyForgeDependencyCustomPayload(t)?Pr(t):t?.[oe]||{}}function containsLegacyForgeDependencyCustomPayload(t){return!!t?.custom?.[oe]}function _getLegacyForgeDependencyCustomPayload(t){const r=t?.custom?.[oe];const n=t?.[oe];return{...r,...n}}const Pr=(0,W.deprecate)(_getLegacyForgeDependencyCustomPayload,"Define `mc-publish` property directly on your Forge dependency object instead of using nested `custom.mc-publish`.");function getForgeMetadataCustomPayload(t){return forge_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t)?Nr(t):t?.[oe]||{}}function forge_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t){return!!t?.custom?.[oe]||!!t?.custom?.projects||!!t?.projects}function _getLegacyForgeMetadataCustomPayload(t){const r={...t?.projects,...t?.custom?.projects,...t?.custom?.[oe]};const n=t?.[oe];return{...r,...n}}const Nr=(0,W.deprecate)(_getLegacyForgeMetadataCustomPayload,"Use top-level `mc-publish` field in your mods.toml.");function getLoadersFromForgeMetadataCustomPayload(t){const r=getForgeMetadataCustomPayload(t);return r.loaders||[vr.FORGE]}function getDependenciesFromForgeMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromForgeMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class ForgeMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new ForgeMetadata(t)}get id(){return string_utils_asString(this.mod.modId||"")}get name(){return string_utils_asString(this.mod.displayName||this.mod.modId||"")}get version(){return string_utils_asString(this.mod.version||"*")}get loaders(){return getLoadersFromForgeMetadataCustomPayload(this._raw)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getForgeDependencies(this._raw).map(normalizeForgeDependency).filter((t=>t));const r=getDependenciesFromForgeMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get mod(){return this._raw.mods?.[0]||{}}get raw(){return this._raw}get customPayload(){return getForgeMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromForgeMetadataCustomPayload(this.customPayload,t)||this.id}}const Dr="META-INF/mods.toml";class ForgeMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,Dr);const n=ForgeMetadata.from((0,Tr.parse)(r));if(!n.dependencies.some((t=>t.id===vr.FORGE))){throw new Error("A Forge metadata file must contain a 'forge' dependency")}return n}}const Or=["minecraft","java","quilt_loader"];const kr=iterable_$i([["fabric","fabric-api"],["quilt_base","qsl"],["quilted_fabric_api","qsl"]].map((([t,r])=>[t,typeof r==="string"?iterable_$i(We.values()).map((t=>[t,r])).toMap():r]))).toMap();function getQuiltDependencies(t){const r=iterable_$i(mapQuiltDependencies(t?.quilt_loader?.depends)).concat(mapQuiltDependencies(t?.quilt_loader?.breaks,{breaking:true})).concat(mapQuiltDependencies(t?.quilt_loader?.provides,{provided:true})).filter((t=>t.id)).map((t=>[t.id,t])).toMap();return[...r.values()]}function mapQuiltDependencies(t,r){if(!t){return[]}return iterable_$i(t).map((t=>typeof t==="string"?{id:t,...r}:{...t,...r}))}function normalizeQuiltDependency(t){const r=getQuiltDependencyCustomPayload(t);const n=t?.id?.includes(":")?t.id.substring(t.id.indexOf(":")+1):t?.id;const s=t?.version||t?.versions;const i=Or.includes(n)||typeof r.ignore==="boolean"&&r.ignore;const o=typeof r.ignore==="boolean"?undefined:r.ignore;const a=t?.breaking&&t?.unless&&He.CONFLICTING||t?.breaking&&He.INCOMPATIBLE||t?.provided&&He.EMBEDDED||(t?.optional||t?.unless)&&He.OPTIONAL||He.REQUIRED;const l=iterable_$i(kr.get(n)||[]).concat(iterable_$i(We.values()).map((t=>[t,r[t]?string_utils_asString(r[t]):undefined]))).filter((([,t])=>t)).toMap();return createDependency({id:n,versions:s,type:a,ignore:i,ignoredPlatforms:o,aliases:l})}function getQuiltDependencyCustomPayload(t){return t?.[oe]||{}}function getQuiltMetadataCustomPayload(t){return quilt_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t)?$r(t):t?.[oe]||{}}function quilt_metadata_custom_payload_containsLegacyCustomPayloadDefinition(t){return!!t?.projects}function _getLegacyQuiltMetadataCustomPayload(t){const r=t?.projects;const n=t?.[oe];return{...r,...n}}const $r=(0,W.deprecate)(_getLegacyQuiltMetadataCustomPayload,"Use top-level `mc-publish` field in your quilt.mod.json.");const Lr=[vr.QUILT];function getLoadersFromQuiltMetadataCustomPayload(t){return t?.loaders||[...Lr]}function getDependenciesFromQuiltMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromQuiltMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class QuiltMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new QuiltMetadata(t)}get id(){const t=string_utils_asString(this._raw.quilt_loader?.id||"");return t.includes(":")?t.substring(t.indexOf(":")+1):t}get name(){return string_utils_asString(this._raw.quilt_loader?.metadata?.name||this.id)}get version(){return string_utils_asString(this._raw.quilt_loader?.version||"*")}get loaders(){return getLoadersFromQuiltMetadataCustomPayload(this.customPayload)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getQuiltDependencies(this._raw).map(normalizeQuiltDependency).filter((t=>t));const r=getDependenciesFromQuiltMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get raw(){return this._raw}get customPayload(){return getQuiltMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromQuiltMetadataCustomPayload(this.customPayload,t)||this.id}}const xr="quilt.mod.json";class QuiltMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,xr);return QuiltMetadata.from(JSON.parse(r))}}var Fr;(function(t){t["REQUIRED"]="required";t["OPTIONAL"]="optional";t["EMBEDDED"]="embedded";t["INCOMPATIBLE"]="incompatible";t["DISCOURAGED"]="discouraged"})(Fr||(Fr={}));const Mr={ignoreCase:true};function neoforge_dependency_type_toDependencyType(t){switch(t){case jr.REQUIRED:return He.REQUIRED;case jr.OPTIONAL:return He.OPTIONAL;case jr.EMBEDDED:return He.EMBEDDED;case jr.INCOMPATIBLE:return He.INCOMPATIBLE;case jr.DISCOURAGED:return He.CONFLICTING;default:return undefined}}function neoforge_dependency_type_fromDependencyType(t){switch(t){case He.REQUIRED:return jr.REQUIRED;case He.OPTIONAL:case He.RECOMMENDED:return jr.OPTIONAL;case He.EMBEDDED:return jr.EMBEDDED;case He.CONFLICTING:return jr.DISCOURAGED;case He.INCOMPATIBLE:return jr.INCOMPATIBLE;default:return undefined}}const Br={toDependencyType:neoforge_dependency_type_toDependencyType,fromDependencyType:neoforge_dependency_type_fromDependencyType};const jr=j.create(Fr,Mr,Br);const Wr=["minecraft","java","neoforge"];function getNeoForgeDependencies(t){const r=iterable_$i(Object.values(t?.dependencies||{})).filter((t=>Array.isArray(t))).flatMap((t=>t)).filter((t=>t?.modId)).map((t=>[t.modId,t])).reverse().toMap();return[...r.values()]}function normalizeNeoForgeDependency(t){const r=t?.[oe]||{};const n=t?.modId;const s=t?.versionRange;const i=Wr.includes(t?.modId)||typeof r.ignore==="boolean"&&r.ignore;const o=typeof r.ignore==="boolean"?undefined:r.ignore;const a=iterable_$i(We.values()).map((t=>[t,r[t]?string_utils_asString(r[t]):undefined])).filter((([,t])=>t)).toMap();const l=jr.toDependencyType(t?.type||(t?.mandatory??true?jr.REQUIRED:jr.OPTIONAL));return createDependency({id:n,versions:s,type:l,ignore:i,ignoredPlatforms:o,aliases:a})}function getNeoForgeMetadataCustomPayload(t){return t?.[oe]||{}}function getLoadersFromNeoForgeMetadataCustomPayload(t){const r=getNeoForgeMetadataCustomPayload(t);return r.loaders||[vr.NEOFORGE]}function getDependenciesFromNeoForgeMetadataCustomPayload(t){if(!Array.isArray(t?.dependencies)){return[]}return t?.dependencies?.map((t=>createDependency(t))).filter((t=>t))||[]}function getProjectIdFromNeoForgeMetadataCustomPayload(t,r){const n=t?.[r];return n?string_utils_asString(n):undefined}class NeoForgeMetadata{_raw;constructor(t){this._raw=t||{}}static from(t){return new NeoForgeMetadata(t)}get id(){return string_utils_asString(this.mod.modId||"")}get name(){return string_utils_asString(this.mod.displayName||this.mod.modId||"")}get version(){return string_utils_asString(this.mod.version||"*")}get loaders(){return getLoadersFromNeoForgeMetadataCustomPayload(this._raw)}get gameName(){return zt}get gameVersions(){return[...this.dependencies.find((t=>t.id===this.gameName))?.versions||[]]}get dependencies(){const t=getNeoForgeDependencies(this._raw).map(normalizeNeoForgeDependency).filter((t=>t));const r=getDependenciesFromNeoForgeMetadataCustomPayload(this.customPayload);const n=iterable_$i(t).concat(r).filter((t=>t)).map((t=>[t.id,t])).toMap();return[...n.values()]}get mod(){return this._raw.mods?.[0]||{}}get raw(){return this._raw}get customPayload(){return getNeoForgeMetadataCustomPayload(this._raw)}getProjectId(t){return getProjectIdFromNeoForgeMetadataCustomPayload(this.customPayload,t)||this.id}}const Ur="META-INF/mods.toml";const qr="META-INF/neoforge.mods.toml";class NeoForgeMetadataReader{async readMetadataFile(t){const r=await readAllZippedText(t,qr).catch((()=>readAllZippedText(t,Ur)));const n=NeoForgeMetadata.from((0,Tr.parse)(r));if(!n.dependencies.some((t=>t.id===vr.NEOFORGE))){throw new Error("A NeoForge metadata file must contain a 'neoforge' dependency")}return n}}function combineLoaderMetadataReaders(t){const r=[...t];const readMetadataFile=async t=>{for(const n of r){const r=await n.readMetadataFile(t).catch((()=>undefined));if(r){return r}}throw new Error(`Unable to read metadata from the file located at: '${t}'`)};return{readMetadataFile:readMetadataFile}}function createLoaderMetadataReader(t){switch(t){case vr.FABRIC:return new FabricMetadataReader;case vr.FORGE:return new ForgeMetadataReader;case vr.QUILT:return new QuiltMetadataReader;case vr.NEOFORGE:return new NeoForgeMetadataReader;default:throw new Error(`Unknown mod loader '${vr.format(t)}'.`)}}function createDefaultLoaderMetadataReader(){return combineLoaderMetadataReaders(iterable_$i(vr.values()).map(createLoaderMetadataReader))}const Hr="GITHUB_EVENT_PATH";const Vr="GITHUB_REPOSITORY";const Gr="GITHUB_API_URL";const zr="GITHUB_REF";const Yr="refs/tags/";class GitHubContext{_env;_payload;constructor(t){this._env=t}get ref(){return environment_getEnvironmentVariable(zr,this._env)}get tag(){const t=this.payload;if(t.release?.tag_name){return t.release.tag_name}const r=this.ref;if(r?.startsWith(Yr)){return r.substring(Yr.length)}return undefined}get version(){const t=this.tag;return/v\d/.test(t)?t.substring(1):t}get repo(){const t=environment_getEnvironmentVariable(Vr,this._env);if(t?.includes("/")){const[r,n]=t.split("/");return{owner:r,repo:n}}return undefined}get apiUrl(){return environment_getEnvironmentVariable(Gr,this._env)||cr}get payload(){if(this._payload){return this._payload}const t=environment_getEnvironmentVariable(Hr,this._env);try{this._payload=JSON.parse((0,ae.readFileSync)(t,"utf8"))}catch{this._payload={}}return this._payload}}function parseActionParameterTypeDescriptor(t){if(!t){return undefined}t=t.replaceAll(/\s/g,"").replaceAll(/<.*>/g,"");const r=t.includes("[]");t=t.replaceAll("[]","");const n=t.indexOf("?");const s=n>=0?QueryString.parse(t.substring(n)):undefined;t=n>=0?t.substring(0,n):t;const i=normalizePattern(t);const[o,a]=i.split(";").map(parseImportDirective);return{...o,factory:a,options:s,isArray:r}}function normalizePattern(t){if(!t.includes("/")&&t.includes(".")){return normalizePatternInDotNotation(t)}if(!t.includes(":")){return t}const r=t.split(";");const n=r[0];if(!n.includes(":")){return n}const s=n.replaceAll(/:(?:\w+|{\w+})/g,"");const i=n.match(/^.*->/)?.[0];const o=n.match(/\{?(?\w+)(?\}?):(?\{?)(?\w+)\}?/)?.groups;const a=!o.isTypeImported&&!o.isFactoryImported?"":i;const l=a+(o.isFactoryImported?`{${o.factory}}`:o.factory);return`${s};${l}`}function normalizePatternInDotNotation(t){const r=t.split(";");const n=r[0];const s=n.match(/^(?.*?\.)?(?[\w]+?)(?::(?{?\w+}?))?$/);if(!s){return t}const i=s.groups.path;const o=s.groups.name;const a=i&&`${i}${o}`.replaceAll(".","/").replaceAll(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const l=s.groups.factory;const c=l?.charAt(0)==="{";const u=a?`${a}->{${o}}`:o;const d=l?c&&a?`${a}->${l}`:l:r[1];const p=[u,d].filter((t=>t)).join(";");return p}const action_parameter_path_parser_IDENTITY_ACTION_PARAMETER_PATH_PARSER=t=>[t||""];const SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER=t=>(t||"").split(/[^\p{L}\p{N}]/u).map((t=>t.toLowerCase()));const SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER=(t,r,n)=>{const s=SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(t,r,n);if(!r||!n){return s}const i=n.inputs?.[t]===r?n.groups?.input:n.outputs?.[t]===r?n.groups?.output:undefined;const o=i?Object.keys(i):[];const a=iterable_$i(o).map((t=>SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(t,r,n))).filter((t=>iterable_$i(s).startsWith(t))).max(((t,r)=>t.length-r.length));const l=(a?.length||0)+1;const c=flattenPath(s,l);return c};function flattenPath(t,r){if(!(r>=1)){r=1}while(t.length>r){t[t.length-2]+=capitalize(t[t.length-1]);t.splice(t.length-1)}return t}function action_parameter_descriptor_getActionParameterDescriptor(t,r,n,s,i){const o=i?.pathParser??IDENTITY_ACTION_PARAMETER_PATH_PARSER;const a=s?.[r];const l=a&&n(a,r,o(r,a,t));return l}function getActionParameterDescriptors(t,r,n,s){const i=s?.pathParser??action_parameter_path_parser_IDENTITY_ACTION_PARAMETER_PATH_PARSER;const o=n?Object.entries(n):[];const a=o.map((([n,s])=>r(s,n,i(n,s,t))));return a}function getActionInputDescriptor(t,r,n){return getActionParameterDescriptor(t,r,asActionInputDescriptor,t.inputs,n)}function action_input_descriptor_getActionInputDescriptors(t,r){return getActionParameterDescriptors(t,asActionInputDescriptor,t.inputs,r)}function asActionInputDescriptor(t,r,n){const s=t.default===undefined||t.default===Jr;const i=t.type||(s?"string":typeof t.default);return{name:r,path:n,redirect:t.redirect,type:parseActionParameterTypeDescriptor(i),description:t.description??"",required:t.required??false,default:s?undefined:t.default,deprecationMessage:t.deprecationMessage}}var Qr;(function(t){t["SPLIT"]="split";t["SEPARATOR"]="separator";t["PROCESS_SEPARATELY"]="processSeparately";t["TRIM_ENTRIES"]="trimEntries";t["REMOVE_EMPTY_ENTRIES"]="removeEmptyEntries";t["FLAT_DEPTH"]="flatDepth"})(Qr||(Qr={}));const Kr={ignoreCase:true,ignoreNonWordCharacters:true};const Xr=j.create(Qr,Kr);const Jr="${undefined}";const Zr="INPUT_";function setActionInput(t,r,n){const s=normalizeActionParameterName(t);const i=Zr+s;const o=r===undefined||r===Jr?undefined:typeof r==="string"?r:JSON.stringify(r);setEnvironmentVariable(i,o,n)}function setActionInputs(t,r){for(const[n,s]of t){setActionInput(n,s,r)}}function getActionInput(t,r,n){const s=normalizeActionParameterName(t);const i=Zr+s;const o=getEnvironmentVariable(i,n);const a=isActionInputDefined(o)?o:undefined;const l=r?.trimWhitespace??true?a?.trim():a;if(r?.required&&a===undefined){throw new Error(`Input required and not supplied: ${t}.`)}return l}function getActionInputs(t,r,n){return $i(t).map((t=>getActionInput(t,r,n))).toArray()}function getAllActionInputs(t,r){const n=new Map;const s=t?.required;const i=t?.trimWhitespace??true;for(const[t,o]of getAllEnvironmentVariables(r)){if(!t.startsWith(Zr)){continue}const r=t.substring(Zr.length);const a=isActionInputDefined(o);if(s&&!a){throw new Error(`Input required and not supplied: ${r}.`)}if(!a){continue}const l=i?o.trim():o;n.set(r,l)}return n}function isActionInputDefined(t){return typeof t==="string"&&t!==Jr}async function getAllActionInputsAsObject(t,r,n){const s=r?.moduleLoader||Je;const i=r?.converter||toType;const o=asArray(t);const a=getAllActionInputs(r,n);const l={};for(const[t,r]of a){const n=o.find((r=>stringEquals(r.name,t,{ignoreCase:true})));const a=n?.redirect?o.find((t=>t.name===n.redirect)):n;if(!a){continue}const c=await parseInput(r,n.type,s,i);if(c===undefined){throw new Error(`Cannot convert "${n.name}" to "${n.type.name}".`)}defineNestedProperty(l,a.path,{value:c,writable:true,configurable:true,enumerable:true})}return l}async function getAllActionInputsAsObjectUsingMetadata(t,r,n){const s=action_input_descriptor_getActionInputDescriptors(t,r);return await getAllActionInputsAsObject(s,r,n)}async function parseInput(t,r,n,s){const i=r.options?.getBoolean(Xr.SPLIT)??r.isArray;const o=i?parseMultipleInputs:parseSingleInput;return await o(t,r,n,s)}async function parseMultipleInputs(t,r,n,s){const i=r.options?.getRegExp(Xr.SEPARATOR)??/\r?\n/g;const o=r.options?.getBoolean(Xr.PROCESS_SEPARATELY)??true;const a=r.options?.getBoolean(Xr.TRIM_ENTRIES)??true;const l=r.options?.getBoolean(Xr.REMOVE_EMPTY_ENTRIES)??true;const c=r.options?.getNumber(Xr.FLAT_DEPTH)??1;const u=split(t,i,{trimEntries:a,removeEmptyEntries:l});if(!o){return await parseSingleInput(u,r,n,s)}const d=await Promise.all(u.map((t=>parseSingleInput(t,r,n,s))));const p=d.flat(c);return p}async function parseSingleInput(t,r,n,s){if(!r.factory&&!r.module){return await s(t,r.name)}const i=await executeImportDirective(r,{moduleLoader:n,required:false});if(r.factory){const s=await executeImportDirective(r.factory,{moduleLoader:n,defaultModuleProvider:t=>Promise.resolve(t.isDefault?i?.value??globalThis:globalThis),required:true});return await s.value(t,r.options)}const o=[i?.value,i?.module].filter((t=>t));for(const r of o){const[n]=await runSafely((()=>s(t,r)));if(n!==undefined){return n}}return undefined}const en={filler:"#"};const tn={lineStart:"/* ",filler:"*",lineEnd:" */"};const rn={filler:"//"};const nn=null&&en;const sn=null&&["center"];function generateAutoGeneratedWarningText(t){const r="WARNING: AUTO-GENERATED FILE - DO NOT EDIT!\n\nPlease be advised that this is an auto-generated file and should NOT be modified. Any changes made to this file WILL BE OVERWRITTEN.";if(!t){return r}return`${r}\n\nTo make changes to the contents of this file, please modify the ${t} file instead. This will ensure that your changes are properly reflected in the auto-generated file.`}function auto_generated_generateAutoGeneratedWarningFrame(t){const r=t?.message??generateAutoGeneratedWarningText(t?.sourceFileName);const n=Array.isArray(t?.align)?t.align:typeof t?.align==="string"?[t.align]:sn;const s=t?.style?.filler??nn.filler;const i=t?.style?.lineStart??`${s} `;const o=t?.style?.lineEnd??` ${s}`;const a=t?.newline??DEFAULT_NEWLINE;const l=i.length+o.length;const c=Math.max((t?.lineWidth||0)-l,0);const u=splitLines(r,{maxLength:c});const d=$i(u).map((t=>t.length)).max()||0;const p=Math.ceil(d/s.length);const h=`${i}${s.repeat(p)}${o}`;const m=$i(u).map(((t,r)=>pad(t,d,{align:n[Math.min(r,n.length-1)]}))).map((t=>`${i}${t}${o}`)).append(h).prepend(h).join(a);return m}const on=" ";const an=4;const ln='"';function getTab(t){if(typeof t?.tab==="string"){return t.tab}if(typeof t?.tabSize==="number"&&t.tabSize!==an){return createTab(t.tabSize)}return on}function typescript_formatting_options_getIndentation(t){const r=getTab(t);return createIndentation(r,t?.indent||0)}function typescript_formatting_options_getNewline(t){return typeof t?.newline==="string"?t.newline:we}function typescript_formatting_options_getQuotes(t){return typeof t?.preferredQuotes==="string"?t.preferredQuotes:ln}function typescript_formatting_options_incrementIndent(t,r){const n=(t?.indent||0)+(r??1);return{...t,indent:n}}const cn=new Map([[an,on]]);function createTab(t){const r=cn.get(t);if(r!==undefined){return r}const n=" ".repeat(t);cn.set(t,n);return n}const un=new Map;function createIndentation(t,r){if(!r){return""}if(r===1){return t}const n=un.get(t)||new Map;if(!n.size){un.set(t,n)}const s=n.get(r);if(s!==undefined){return s}const i=t.repeat(r);n.set(r,i);return i}class typescript_comment_TypeScriptComment{_text;constructor(t){this._text=t}get text(){return this._text}get isSingleline(){return isSinglelineComment(this._text)}get isDirective(){return isDirectiveComment(this._text)}get isMultiline(){return isMultilineComment(this._text)}get isTSDoc(){return isTSDocComment(this._text)}static create(t,r){const n=typeof t==="string"?string_utils_splitLines(t):[...t];r||=n.length>1?pn:fn;const s=n.map((t=>r.prefix+t.trim()));if(typeof r.startDelimiter==="string"){s.unshift(r.startDelimiter)}if(typeof r.endDelimiter==="string"){s.push(r.endDelimiter)}const i=s.join(Re);return new typescript_comment_TypeScriptComment(i)}static createSingleline(t){return typescript_comment_TypeScriptComment.create(t,fn)}static createDirective(t){return typescript_comment_TypeScriptComment.create(t,dn)}static createMultiline(t){return typescript_comment_TypeScriptComment.create(t,pn)}static createTSDoc(t){return typescript_comment_TypeScriptComment.create(t,hn)}static parse(t){return isComment(t)?new typescript_comment_TypeScriptComment(t):typescript_comment_TypeScriptComment.create(t)}format(t){const r=typescript_formatting_options_getIndentation(t);const n=typescript_formatting_options_getNewline(t);const s=string_utils_splitLines(this._text);const i=s.map((t=>r+t)).join(n);return i}}function isSinglelineComment(t){return/^\s*\/\//.test(t)}function isDirectiveComment(t){return/^\s*\/\/\//.test(t)}function isMultilineComment(t){return/^\s*\/\*/.test(t)}function isTSDocComment(t){return/^\s*\/\*\*/.test(t)}function isComment(t){return/^\s*\/[/*]/.test(t)}const fn={prefix:"// "};const dn={prefix:"/// "};const pn={startDelimiter:"/*",prefix:" * ",endDelimiter:" */"};const hn={startDelimiter:"/**",prefix:" * ",endDelimiter:" */"};class abstract_typescript_node_AbstractTypeScriptNode{_comments;comments(){return this._comments||[]}addComment(t){const r=typeof t==="string"?TypeScriptComment.parse(t):t;this._comments??=[];this._comments.push(r);return r}addTSDoc(t){return this.addComment(TypeScriptComment.createTSDoc(t))}deleteComment(t){const r=this._comments?.indexOf(t)??-1;if(r===-1){return false}this._comments.splice(r,1);return true}formatComments(t){const r=getNewline(t);const n=this._comments?.map((r=>r.format(t))).join(r)||"";return n}format(t){const r=getNewline(t);const n=this.formatComments(t);const s=this.formatContent(t);const i=`${n}${n?r:""}${s}`;return i}}class typescript_export_TypeScriptExport extends(null&&AbstractTypeScriptNode){_exportedNode;_isDefault;constructor(t,r){super();this._exportedNode=t;this._isDefault=r||false}static create(t,r){return new typescript_export_TypeScriptExport(t,r)}get exportedNode(){return this._exportedNode}get isDefault(){return this._isDefault}formatComments(t){const r=getNewline(t);const n=this._exportedNode;const s=super.formatComments(t);const i=isCommentableTypeScriptNode(n)?n.formatComments(t):"";if(!s){return i}if(!i){return s}return`${s}${r}${i}`}formatContent(t){const r=getIndentation(t);const n=this._exportedNode;const s=(isCommentableTypeScriptNode(n)?n.formatContent(t):n.format(t)).trimStart();const i=`${r}export ${this._isDefault?"default ":""}${s}${s.endsWith(";")?"":";"}`;return i}}class typescript_import_TypeScriptImport extends(null&&AbstractTypeScriptNode){_path;_namedImports;_defaultImportName;_wildcardImportName;constructor(t,r,n,s){super();this._path=t;this._namedImports=r;this._defaultImportName=n;this._wildcardImportName=s;this.assertIsValidImport()}static create(t,r){return new typescript_import_TypeScriptImport(t,r?.namedImports?new Set(r.namedImports):undefined,r?.defaultImportName,r?.wildcardImportName)}static createWildcardImport(t,r){return new typescript_import_TypeScriptImport(t,undefined,undefined,r)}static createDefaultImport(t,r){return new typescript_import_TypeScriptImport(t,undefined,r)}static createNamedImport(t,r){return new typescript_import_TypeScriptImport(t,new Set(r))}static createEmptyImport(t){return new typescript_import_TypeScriptImport(t)}get path(){return this._path}namedImports(){return this._namedImports||[]}addNamedImport(t){ArgumentError.throwIfNullOrEmpty(t,"name");this._namedImports??=new Set;this._namedImports.add(t);this.assertIsValidImport()}addNamedImports(t){for(const r of t){this.addNamedImport(r)}}deleteNamedImport(t){return!!this._namedImports?.delete(t)}get defaultImportName(){return this._defaultImportName}set defaultImportName(t){this._defaultImportName=t;this.assertIsValidImport()}get wildcardImportName(){return this._wildcardImportName}set wildcardImportName(t){this._wildcardImportName=t;this.assertIsValidImport()}get isNamedImport(){return!!this._namedImports?.size}get isDefaultImport(){return!!this._defaultImportName}get isWildcardImport(){return!!this._wildcardImportName}get isEmptyImport(){return!this.isWildcardImport&&!this.isDefaultImport&&!this.isNamedImport}assertIsValidImport(){if(this.isWildcardImport&&(this.isDefaultImport||this.isNamedImport)){throw new Error("Mixing wildcard import with default and/or named imports is not allowed.")}}formatContent(t){const r=getIndentation(t);const n=getQuotes(t);if(this.isEmptyImport){return`${r}// import { } from ${n}${this._path}${n};`}let s=`${r}import `;if(this.isWildcardImport){s+=`* as ${this._wildcardImportName}`}if(this.isDefaultImport){s+=this.defaultImportName}if(this.isNamedImport){const t=`{ ${[...this._namedImports].join(", ")} }`;s+=this.isDefaultImport?", ":"";s+=t}s+=` from ${n}${this._path}${n};`;return s}}class typescript_imports_TypeScriptImports extends(null&&AbstractTypeScriptNode){_imports;constructor(t){super();this._imports=new Map(Array.from(t||[]).map((t=>[t.path,t])))}static create(t){return new typescript_imports_TypeScriptImports(t)}imports(){return this._imports.values()}getImport(t){return this._imports.get(t)}getOrCreateImport(t){if(!this._imports.has(t)){this._imports.set(t,TypeScriptImport.createEmptyImport(t))}return this._imports.get(t)}addImport(t){const r=this._imports.get(t.path);this._imports.set(t.path,t);if(r){t.addNamedImports(r.namedImports());t.defaultImportName||=r.defaultImportName;t.wildcardImportName||=r.wildcardImportName}return t}deleteImport(t){const r=typeof t==="string"?t:t.path;return this._imports.delete(r)}addWildcardImport(t,r){const n=this.getOrCreateImport(t);n.wildcardImportName=r;return n}addDefaultImport(t,r){const n=this.getOrCreateImport(t);n.defaultImportName=r;return n}addNamedImport(t,r){const n=this.getOrCreateImport(t);n.addNamedImport(r);return n}addNamedImports(t,r){const n=this.getOrCreateImport(t);n.addNamedImports(r);return n}formatContent(t){const r=getNewline(t);const n=$i(this).map((r=>r.format(t))).join(r);return n}[Symbol.iterator](){return this.imports()[Symbol.iterator]()}}class typescript_document_TypeScriptDocument extends(null&&AbstractTypeScriptNode){_imports;_nodes;constructor(){super();this._imports=TypeScriptImports.create();this._nodes=[]}static create(){return new typescript_document_TypeScriptDocument}imports(){return this._imports}nodes(){return $i(this._nodes).unshift(this._imports)}getImport(t){return this._imports.getImport(t)}getOrCreateImport(t){return this._imports.getOrCreateImport(t)}addImport(t){return this._imports.addImport(t)}addWildcardImport(t,r){return this._imports.addWildcardImport(t,r)}addDefaultImport(t,r){return this._imports.addDefaultImport(t,r)}addNamedImport(t,r){return this._imports.addNamedImport(t,r)}addNamedImports(t,r){return this._imports.addNamedImports(t,r)}addExport(t){return this.addNode(TypeScriptExport.create(t))}addDefaultExport(t){return this.addNode(TypeScriptExport.create(t,true))}addNode(t){if(t instanceof TypeScriptImport){return this.addImport(t)}if(t instanceof TypeScriptImports){for(const r of t){this.addImport(r)}return this._imports}this._nodes.push(t);return t}saveSync(t,r){writeFileSync(t,this.format(r),r)}save(t,r){return writeFile(t,this.format(r),r)}formatContent(t){const r=getNewline(t);const n=$i(this).map((r=>r.format(t))).filter((t=>t)).join(r+r);const s=n+r;return s}[Symbol.iterator](){return this.nodes()[Symbol.iterator]()}}function isValidMemberName(t){return/^[\p{L}_][\p{L}0-9_]*$/u.test(t)}function typescript_member_escapeMemberName(t,r){if(isValidMemberName(t)){return t}r||=DEFAULT_QUOTES;const n=JSON.stringify(t).slice(1,-1).replaceAll(/[`']/g,"\\$&");return`[${r}${n}${r}]`}class typescript_property_TypeScriptProperty extends(null&&AbstractTypeScriptNode){_name;_type;_options;constructor(t,r,n){super();this._name=t;this._type=r;this._options=n}static create(t,r,n){return new typescript_property_TypeScriptProperty(t,r,n)}get name(){return this._name}get type(){return this._type}get isOptional(){return!!this._options?.isOptional}get accessModifier(){return this._options?.accessModifier}get isReadOnly(){return!!this._options?.isReadOnly}get isAbstract(){return!!this._options?.isAbstract}get isStatic(){return!!this._options?.isStatic}with(t){const r=t?.name??this._name;const n=t?.type??this._type;const s={...this._options,...t};const i=typescript_property_TypeScriptProperty.create(r,n,s);for(const t of this.comments()){i.addComment(t)}return i}formatContent(t){const r=getIndentation(t);const n=getQuotes(t);const s=escapeMemberName(this._name,n);const i=this._type.format(t).trimStart();const o=this.accessModifier?`${this.accessModifier} `:"";const a=this.isAbstract?"static ":"";const l=this.isAbstract?"abstract ":"";const c=this.isReadOnly?"readonly ":"";const u=this.isOptional?"?":"";const d=`${r}${o}${a}${l}${c}${s}${u}: ${i};`;return d}}class typescript_type_literal_TypeScriptTypeLiteral{static STRING=new typescript_type_literal_TypeScriptTypeLiteral("string");static NUMBER=new typescript_type_literal_TypeScriptTypeLiteral("number");static BIGINT=new typescript_type_literal_TypeScriptTypeLiteral("bigint");static BOOLEAN=new typescript_type_literal_TypeScriptTypeLiteral("boolean");static SYMBOL=new typescript_type_literal_TypeScriptTypeLiteral("symbol");static UNDEFINED=new typescript_type_literal_TypeScriptTypeLiteral("undefined");static OBJECT=new typescript_type_literal_TypeScriptTypeLiteral("object");static FUNCTION=new typescript_type_literal_TypeScriptTypeLiteral("function");static NEVER=new typescript_type_literal_TypeScriptTypeLiteral("never");static TYPE_CACHE=new Map([typescript_type_literal_TypeScriptTypeLiteral.STRING,typescript_type_literal_TypeScriptTypeLiteral.NUMBER,typescript_type_literal_TypeScriptTypeLiteral.BIGINT,typescript_type_literal_TypeScriptTypeLiteral.BOOLEAN,typescript_type_literal_TypeScriptTypeLiteral.SYMBOL,typescript_type_literal_TypeScriptTypeLiteral.UNDEFINED,typescript_type_literal_TypeScriptTypeLiteral.OBJECT,typescript_type_literal_TypeScriptTypeLiteral.FUNCTION,typescript_type_literal_TypeScriptTypeLiteral.NEVER].map((t=>[t.value,t])));_value;constructor(t){this._value=t}static create(t){const r=typescript_type_literal_TypeScriptTypeLiteral.TYPE_CACHE.get(t);if(r){return r}return new typescript_type_literal_TypeScriptTypeLiteral(t)}get isComposite(){return false}get isUnion(){return false}get isIntersection(){return false}get isAlias(){return false}composingTypes(){return[this]}get value(){return this._value}format(){return this._value}}class typescript_union_type_TypeScriptUnionType{_composingTypes;constructor(t){this._composingTypes=t}static create(t){const r=[...t];if(!r.length){r.push(TypeScriptTypeLiteral.NEVER)}return new typescript_union_type_TypeScriptUnionType(r)}get isComposite(){return true}get isUnion(){return true}get isIntersection(){return false}get isAlias(){return false}composingTypes(){return this._composingTypes}format(t){const r=this._composingTypes.map((r=>`(${r.format(t).trim()})`)).join(" | ");return r}}class typescript_object_TypeScriptObject{_members;constructor(){this._members=new Map}static create(){return new typescript_object_TypeScriptObject}get isComposite(){return false}get isUnion(){return false}get isIntersection(){return false}get isAlias(){return false}composingTypes(){return[this]}members(){return this._members.values()}properties(){return $i(this).filter((t=>t instanceof TypeScriptProperty))}getMember(t){return this._members.get(t)}getNestedMember(t){const r=typeof t==="string"?t.split("."):t;if(!r||!r.length){return undefined}const n=this.getMember(r[0]);if(r.length===1){return n}if(!(n instanceof TypeScriptProperty)||!(n.type instanceof typescript_object_TypeScriptObject)){return undefined}return n.type.getNestedMember(r.slice(1))}hasMember(t){return this.getMember(t)!==undefined}hasNestedMember(t){return this.getNestedMember(t)!==undefined}addMember(t){this._members.set(t.name,t);return t}deleteMember(t){return this._members.delete(t.name)}getProperty(t){const r=this.getMember(t);return r instanceof TypeScriptProperty?r:undefined}getNestedProperty(t){const r=this.getNestedMember(t);return r instanceof TypeScriptProperty?r:undefined}hasProperty(t){return this.getProperty(t)!==undefined}hasNestedProperty(t){return this.getNestedProperty(t)!==undefined}addProperty(t,r,n){return this.addMember(TypeScriptProperty.create(t,r,n))}addNestedProperty(t,r,n){const s=typeof t==="string"?t.split("."):t;const i=s[0];if(s.length===1){return this.addProperty(i,r,n)}if(!this.hasProperty(i)){const t=typescript_object_TypeScriptObject.create();const o=t.addNestedProperty(s.slice(1),r,n);this.addProperty(i,t,n);return o}let o=this.getProperty(i);let a=$i(decomposeType(o.type)).first((t=>t instanceof typescript_object_TypeScriptObject));if(!a){a=typescript_object_TypeScriptObject.create();o=o.with({type:TypeScriptUnionType.create([o.type,a])});this.addMember(o)}return a.addNestedProperty(s.slice(1),r,n)}format(t){const r=getIndentation(t);const n=getNewline(t);const s=n+n;const i=incrementIndent(t);const o=$i(this).map((t=>t.format(i))).join(s);const a=`${r}{`+`${n}${o}${n}`+`${r}}`;return a}[Symbol.iterator](){return this.members()[Symbol.iterator]()}}class typescript_interface_TypeScriptInterface extends(null&&AbstractTypeScriptNode){_name;_definition;constructor(t,r){super();this._name=t;this._definition=r}static create(t,r){return new typescript_interface_TypeScriptInterface(t,r||TypeScriptObject.create())}get name(){return this._name}get definition(){return this._definition}formatContent(t){const r=getIndentation(t);const n=this._name;const s=this._definition.format(t).trimStart();const i=`${r}interface ${n} ${s}`;return i}}class typescript_type_alias_TypeScriptTypeAlias extends(null&&AbstractTypeScriptNode){_name;_type;constructor(t,r){super();this._name=t;this._type=r}static create(t,r){return new typescript_type_alias_TypeScriptTypeAlias(t,r)}get name(){return this._name}get type(){return this._type}get isComposite(){return true}get isUnion(){return false}get isIntersection(){return false}get isAlias(){return true}composingTypes(){return[this._type]}formatContent(t){const r=getIndentation(t);const n=this._name;const s=this._type.format(t).trimStart();const i=`${r}type ${n} = ${s};`;return i}}class TypeScriptIntersectionType{_composingTypes;constructor(t){this._composingTypes=t}static create(t){const r=[...t];if(!r.length){r.push(TypeScriptTypeLiteral.NEVER)}return new TypeScriptIntersectionType(r)}get isComposite(){return true}get isUnion(){return false}get isIntersection(){return true}get isAlias(){return false}composingTypes(){return this._composingTypes}format(t){const r=this._composingTypes.map((r=>`(${r.format(t).trim()})`)).join(" & ");return r}}const mn="const";const gn="let";const yn="var";class typescript_variable_TypeScriptVariable extends(null&&AbstractTypeScriptNode){_name;_value;_declaration;constructor(t,r,n){super();this._name=t;this._value=r;this._declaration=n||mn}static create(t,r,n){return new typescript_variable_TypeScriptVariable(t,r,n)}get declaration(){return this._declaration}get name(){return this._name}get value(){return this._value}formatComments(t){const r=getNewline(t);const n=this._value;const s=super.formatComments(t);const i=isCommentableTypeScriptNode(n)?n.formatComments(t):"";if(!s){return i}if(!i){return s}return`${s}${r}${i}`}formatContent(t){const r=getIndentation(t);const n=this._value;const s=(isCommentableTypeScriptNode(n)?n.formatContent(t):n.format(t)).trimStart();const i=`${r}${this._declaration} ${this._name} = ${s}${s.endsWith(";")?"":";"}`;return i}}var bn=s(4083);function getActionOutputDescriptor(t,r,n){return getActionParameterDescriptor(t,r,asActionOutputDescriptor,t.outputs,n)}function action_output_descriptor_getActionOutputDescriptors(t,r){return getActionParameterDescriptors(t,asActionOutputDescriptor,t.outputs,r)}function asActionOutputDescriptor(t,r,n){const s=t.value===undefined;const i=t.type||(s?"string":typeof t.value);return{name:r,path:n,redirect:t.redirect,type:parseActionParameterTypeDescriptor(i),description:t.description??"",value:t.value}}const _n="./";const Sn="ACTION_NAME";const En="ActionInputs";const vn="ActionOutputs";const Rn="ACTION_MODULE_LOADER";const wn=typescript_comment_TypeScriptComment.parse("/* eslint-disable */");function parseActionMetadataFromString(t){return(0,bn.Qc)(t)}async function parseActionMetadataFromFile(t,r){const n=(await(0,Fe.readFile)(t,r)).toString();return parseActionMetadataFromString(n)}function processActionMetadataTemplate(t,r){const n=r?.groupDelimiter??DEFAULT_ACTION_GROUP_DELIMITER;const s=r?.removeTemplateOnlyFields??true;const i={...t};i.inputs=sanitizeActionInputs(i.inputs);if(i.groups){i.inputs=groupActionParameters(i.inputs,i.groups.input,n,{default:SYNTHETIC_UNDEFINED});i.outputs=groupActionParameters(i.outputs,i.groups.output,n)}if(!s){return i}if(i.groups){i.groups.input=removeTemplateOnlyActionFields(i.groups.input);i.groups.output=removeTemplateOnlyActionFields(i.groups.output)}i.inputs=removeTemplateOnlyActionFields(i.inputs);i.outputs=removeTemplateOnlyActionFields(i.outputs);return i}function processActionMetadataTemplateString(t,r){const n=r?.newline??DEFAULT_NEWLINE;const s=r?.generateAutoGeneratedWarningMessage??true;const i=parseActionMetadataFromString(t);const o=processActionMetadataTemplate(i,r);const a=stringifyYaml(o,r);const l=n===UNIX_NEWLINE?a:a.replaceAll(UNIX_NEWLINE,n);const c=s?generateAutoGeneratedWarningFrame(r):undefined;const u=[c,l].filter((t=>t)).join(n);return u}async function processActionMetadataTemplateFile(t,r,n){n={sourceFileName:basename(t.toString()),...n};const s=(await readFile(t,n)).toString();const i=processActionMetadataTemplateString(s,n);await writeFile(r,i,n)}function groupActionParameters(t,r,n,s){if(!r||!t){return t}const i={...t};const o=Object.entries(r);const a=$i(Object.entries(t)).flatMap((([t,r])=>$i(o).map((([n,s])=>[n,s,t,r]))));for(const[t,r,l,c]of a){const a=r.include?.includes(l);const u=r.exclude?.includes(l);const d=o.some((([t])=>l.startsWith(t)));const p=(a||!c.unique&&!d)&&!u;if(!p){continue}const h=`${t}${n}${l}`;const m=c.redirect&&`${t}${n}${c.redirect}`;i[h]={...c,redirect:m,...s}}return i}function sanitizeActionInputs(t){if(!t){return t}const r={};for(const[n,s]of Object.entries(t)){const t={...s};if(typeof t.required!=="boolean"){t.required=false}if(t.default===undefined){t.default=SYNTHETIC_UNDEFINED}r[n]=t}return r}function removeTemplateOnlyActionFields(t){if(!t){return t}const r={};for(const[n,s]of Object.entries(t)){const t={...s};delete t.include;delete t.exclude;delete t.unique;r[n]=t}return r}function createTypeScriptDefinitionForActionMetadata(t,r){const n=TypeScriptDocument.create();const s=getActionInputDescriptors(t,r);const i=s.length?Object.entries(t.groups?.input||{}):[];const o=getActionOutputDescriptors(t,r);const a=o.length?Object.entries(t.groups?.output||{}):[];const l=r?.rootPath??_n;const c=[...s,...o].map((t=>createTypeScriptImportForActionParameter(t,l))).filter((t=>t));c.forEach((t=>n.addImport(t)));const u=createTypeScriptCommentsForActionMetadata(r);u.forEach((t=>n.addComment(t)));const d=createTypeScriptConstantForActionName(t,r);n.addExport(d);const p=s.length?createTypeScriptInterfaceForActionInputs(t,s,r):undefined;const h=i.map((([t,n])=>createTypeScriptAliasForActionGroup(n,t,p.name,r)));[p,...h].filter((t=>t)).forEach((t=>n.addExport(t)));const m=o.length?createTypeScriptInterfaceForActionOutputs(t,o,r):undefined;const g=a.map((([t,n])=>createTypeScriptAliasForActionGroup(n,t,m.name,r)));[m,...g].filter((t=>t)).forEach((t=>n.addExport(t)));return n}function createTypeScriptConstantForActionName(t,r){const n=getQuotes(r);const s=r.actionNameConstant||Sn;const i=TypeScriptVariable.create(s,TypeScriptTypeLiteral.create(`${n}${t.name}${n}`));if(t.description){i.addTSDoc(t.description)}return i}function createTypeScriptCommentsForActionMetadata(t){const r=t?.disableESLint??true;const n=t?.generateAutoGeneratedWarningMessage??true;const s=[];if(n){const r=generateAutoGeneratedWarningFrame({style:JS_MULTILINE_FRAME_STYLE,...t});const n=TypeScriptComment.parse(r);s.push(n)}if(r){s.push(wn)}return s}function createTypeScriptInterfaceForActionInputs(t,r,n){const s=t.types?.input;const i=(typeof s==="string"?s:s?.name)||En;const o=typeof s==="string"?undefined:s?.description;return createTypeScriptInterfaceForActionParameters(i,o,r,t.groups?.input,n,(t=>!t.required))}function createTypeScriptInterfaceForActionOutputs(t,r,n){const s=t.types?.output;const i=(typeof s==="string"?s:s?.name)||vn;const o=typeof s==="string"?undefined:s?.description;return createTypeScriptInterfaceForActionParameters(i,o,r,t.groups?.output,n)}function createTypeScriptInterfaceForActionParameters(t,r,n,s,i,o){o||=()=>false;const a=TypeScriptInterface.create(t);const l=a.definition;if(r){a.addTSDoc(r)}for(const t of n){if(t.redirect){continue}const r=t.path;const n=TypeScriptTypeLiteral.create(`${t.type.name}${t.type.isArray?"[]":""}`);const s=o(t);const i=l.addNestedProperty(r,n,{isOptional:s});if(t.description){i.addTSDoc(t.description)}}for(const[t,r]of Object.entries(s||{})){if(!r.description){continue}const n=i?.pathParser?.(t)||[t];const s=a.definition.getNestedProperty(n);s?.addTSDoc(r.description)}return a}function createTypeScriptImportForActionParameter(t,r){if(!t.type.module||t.redirect){return undefined}const n=`${r||""}${t.type.module}`;const s=TypeScriptImport.createEmptyImport(n);if(t.type.isDefault){s.defaultImportName=t.type.name}else{s.addNamedImport(t.type.name)}return s}function createTypeScriptAliasForActionGroup(t,r,n,s){const i=s?.pathParser?.(r)||[r];const o=i.map((t=>`["${t}"]`)).join("");const a=TypeScriptTypeAlias.create(t.type,TypeScriptTypeLiteral.create(`${n}${o}`));if(t.description){a.addTSDoc(t.description)}return a}function createModuleLoaderTypeScriptDefinitionForActionMetadata(t,r){const n=TypeScriptDocument.create();const s=getActionInputDescriptors(t,r);const i=getActionOutputDescriptors(t,r);const o=$i(s).concat(i).flatMap((t=>[t.type.module,t.type.factory?.module])).filter((t=>t)).distinct().map((t=>[t,`_${hashString(t,"sha1")}`])).toMap();const a=getQuotes(r);const l="return Promise.resolve(undefined);";const c=$i(o).map((([t,r])=>`if (path === ${a}${t}${a}) return Promise.resolve(${r});`)).push(l);const u=getNewline(r);const d=getIndentation(incrementIndent(r));const p=c.map((t=>`${d}${t}`)).join(u);const h=TypeScriptTypeLiteral.create(`(path: string): Promise> => {${u}${p}${u}};`);const m=r?.moduleLoaderName||Rn;const g=TypeScriptVariable.create(m,h);n.addExport(g);const y=r?.rootPath??_n;const b=$i(o).map((([t,r])=>TypeScriptImport.createWildcardImport(`${y}${t}`,r)));b.forEach((t=>n.addImport(t)));const _=createTypeScriptCommentsForActionMetadata(r);_.forEach((t=>n.addComment(t)));return n}function stripActionMetadataFromCustomFields(t){const r={...t};delete r.groups;delete r.types;r.inputs=r.inputs?{...r.inputs}:undefined;for(const[t,n]of Object.entries(r.inputs||{})){const s={...n};delete s.type;delete s.unique;delete s.redirect;r.inputs[t]=s}r.outputs=r.outputs?{...r.outputs}:undefined;for(const[t,n]of Object.entries(r.outputs||{})){const s={...n};delete s.type;delete s.unique;delete s.redirect;r.outputs[t]=s}return r}function stripActionMetadataStringFromCustomFields(t,r){const n=r?.newline??DEFAULT_NEWLINE;const s=r?.generateAutoGeneratedWarningMessage??true;const i=parseActionMetadataFromString(t);const o=stripActionMetadataFromCustomFields(i);const a=stringifyYaml(o,r);const l=n===UNIX_NEWLINE?a:a.replaceAll(UNIX_NEWLINE,n);const c=s?generateAutoGeneratedWarningFrame(r):undefined;const u=[c,l].filter((t=>t)).join(n);return u}async function stripActionMetadataFileFromCustomFields(t,r,n){n={sourceFileName:basename(t.toString()),...n};const s=(await readFile(t,n)).toString();const i=stripActionMetadataStringFromCustomFields(s,n);await writeFile(r,i,n)}const Cn="GITHUB_OUTPUT";const An=new WeakMap;function setActionOutput(t,r,n){n||=Ee;const s=environment_getEnvironmentVariable(Cn,n);FileNotFoundError.throwIfNotFound(s);const i=formatNameAndValue(t,r);(0,ae.appendFileSync)(s,`${i}${we}`,"utf8");if(!An.has(n)){An.set(n,new Map)}An.get(n).set(t,r)}function formatNameAndValue(t,r){const n=formatValue(r);const s=generateDelimiter();return`${t}<<${s}${we}${n}${we}${s}`}function formatValue(t){if(typeof t==="string"){return t}if(t===null||t===undefined){return""}return JSON.stringify(t)}function generateDelimiter(){const t=32;return`mcp${t}_${generateSecureRandomString(t)}`}function setActionOutputs(t,r){for(const[n,s]of t){setActionOutput(n,s,r)}}function getActionOutput(t,r){r||=Ee;const n=An.get(r);return n?.get(t)}function getActionOutputs(t,r){return $i(t).map((t=>getActionOutput(t,r))).toArray()}function getAllActionOutputs(t){t||=ENVIRONMENT;return new Map(An.get(t)||[])}function createActionOutputController(t,r){return new ActionOutputController(t,r).navigate([])}function createActionOutputControllerUsingMetadata(t,r){const n=action_output_descriptor_getActionOutputDescriptors(t,r);return createActionOutputController(n,r)}class ActionOutputController{_descriptors;_getOutput;_setOutput;constructor(t,r){this._descriptors=[...t];this._getOutput=r?.getOutput||getActionOutput;this._setOutput=r?.setOutput||setActionOutput}navigate(t){return new Proxy({path:t},this)}get(t,r){const n=[...t.path,String(r)];const s=this.findNearestDescriptor(n);if(!s){return undefined}if(s.path.length===n.length){return this._getOutput(s.name)}return this.navigate(n)}set(t,r,n){const s=[...t.path,String(r)];const i=this.findNearestDescriptor(s);if(!i){return false}if(i.path.length===s.length){this._setOutput(i.name,n);return true}if(!n||typeof n!=="object"){return false}const o=this.navigate(s);for(const[t,r]of Object.entries(n)){o[t]=r}return true}has(t,r){const n=[...t.path,String(r)];const s=this.findNearestDescriptor(n);return!!s}ownKeys(t){const r=t.path;const n=iterable_$i(this._descriptors).filter((t=>t.path.length>r.length&&iterable_$i(t.path).startsWith(r)));const s=n.map((t=>t.path[r.length])).distinct().toArray();return s}getOwnPropertyDescriptor(t,r){if(!this.has(t,r)){return undefined}const n=this.get(t,r);return{value:n,configurable:true,enumerable:true,writable:true}}defineProperty(){return false}deleteProperty(){return false}getPrototypeOf(){return Object.prototype}setPrototypeOf(){return false}isExtensible(){return false}preventExtensions(){return true}findNearestDescriptor(t){const r=this._descriptors.find((r=>r.path.length===t.length&&iterable_$i(r.path).startsWith(t)))||this._descriptors.find((r=>r.path.length>t.length&&iterable_$i(r.path).startsWith(t)));const n=r?.redirect?this._descriptors.find((t=>t.name===r.redirect)):r;return n}}async function main(){const t=Ee;const r=getDefaultLogger(t);try{const n=await initializeAction(new URL(s(3351),s.b),t);const i=new GitHubContext(t);await publish(n,i,r)}catch(t){r.fatal(t);throw t}}async function publish(t,r,n){const s=createDefaultLoaderMetadataReader();const i=new ErrorBuilder(n);const o=[];for(const a of We.values()){const l={...t.input,...t.input[a]};if(!l?.token){continue}const c=await fillInDefaultValues(l,a,r,s);const u=createPlatformUploader(a,{logger:n,githubContext:r});try{t.output[a]=await u.upload(c);o.push(a)}catch(t){i.append(t,c.failMode??Oe.FAIL)}}if(o.length){n.info(`🎉 Successfully published the assets to ${o.map((t=>We.friendlyNameOf(t))).join(", ")}`)}else if(!i.hasErrors){n.warn("⚠️ No valid platform tokens found in your config. To publish your project, please add the required access tokens for the desired platforms. Assets will not be published without them. Refer to the documentation for assistance in setting up your tokens.")}i.throwIfHasErrors()}async function fillInDefaultValues(t,r,n,s){argument_error_ArgumentError.throwIfNullOrEmpty(t.files,"options.files","No files found for the specified glob. Please ensure the glob is correct and files matching the pattern exist in the specified directory.");t={...t};const i=t.files[0];const o=await(s?.readMetadataFile(i.path).catch((()=>undefined)));const a=getGameVersionProviderByName(o?.gameName||zt);const l=t.gameVersions?.length?t.gameVersions:o?.gameVersions||[];const c=await(a?.(l));const u=c?G.filter(c,t.gameVersionFilter).map((t=>t.id)):l;t.id||=o?.getProjectId(r)||"";t.version||=n.version||o?.version;t.versionType||=te.parseFromFileName(o?.version||i.name);t.name??=n.payload.release?.name||t.version;t.changelog??=n.payload.release?.body||"";t.loaders??=o?.loaders||[];t.dependencies??=o?.dependencies||[];t.gameVersions=u;return t}async function initializeAction(t,r){ArgumentNullError.throwIfNull(t,"path");FileNotFoundError.throwIfNotFound(t);const n={pathParser:SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER,moduleLoader:Ze,getOutput:t=>getActionOutput(t,r),setOutput:(t,n)=>setActionOutput(t,n,r)};const s=await parseActionMetadataFromFile(t);const i=await getAllActionInputsAsObjectUsingMetadata(s,n,r);const o=createActionOutputControllerUsingMetadata(s,n);return{input:i,output:o}}},3351:(t,r,n)=>{t.exports=n.p+"578e00c8827f197b9c7d.yml"},4300:r=>{r.exports=t(import.meta.url)("buffer")},2361:r=>{r.exports=t(import.meta.url)("events")},7147:r=>{r.exports=t(import.meta.url)("fs")},7561:r=>{r.exports=t(import.meta.url)("node:fs")},9411:r=>{r.exports=t(import.meta.url)("node:path")},7742:r=>{r.exports=t(import.meta.url)("node:process")},2477:r=>{r.exports=t(import.meta.url)("node:stream/web")},2037:r=>{r.exports=t(import.meta.url)("os")},1017:r=>{r.exports=t(import.meta.url)("path")},2781:r=>{r.exports=t(import.meta.url)("stream")},3837:r=>{r.exports=t(import.meta.url)("util")},1267:r=>{r.exports=t(import.meta.url)("worker_threads")},9796:r=>{r.exports=t(import.meta.url)("zlib")},8109:(t,r,n)=>{var s=n(5589);var i=n(9338);var o=n(6011);var a=n(5161);var l=n(2986);var c=n(2289);var u=n(45);function resolveCollection(t,r,n,s,i,o){const a=n.type==="block-map"?l.resolveBlockMap(t,r,n,s,o):n.type==="block-seq"?c.resolveBlockSeq(t,r,n,s,o):u.resolveFlowCollection(t,r,n,s,o);const d=a.constructor;if(i==="!"||i===d.tagName){a.tag=d.tagName;return a}if(i)a.tag=i;return a}function composeCollection(t,r,n,l,c){const u=!l?null:r.directives.tagName(l.source,(t=>c(l,"TAG_RESOLVE_FAILED",t)));const d=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!l||!u||u==="!"||u===o.YAMLMap.tagName&&d==="map"||u===a.YAMLSeq.tagName&&d==="seq"||!d){return resolveCollection(t,r,n,c,u)}let p=r.schema.tags.find((t=>t.tag===u&&t.collection===d));if(!p){const s=r.schema.knownTags[u];if(s&&s.collection===d){r.schema.tags.push(Object.assign({},s,{default:false}));p=s}else{if(s?.collection){c(l,"BAD_COLLECTION_TYPE",`${s.tag} used for ${d} collection, but expects ${s.collection}`,true)}else{c(l,"TAG_RESOLVE_FAILED",`Unresolved tag: ${u}`,true)}return resolveCollection(t,r,n,c,u)}}const h=resolveCollection(t,r,n,c,u,p);const m=p.resolve?.(h,(t=>c(l,"TAG_RESOLVE_FAILED",t)),r.options)??h;const g=s.isNode(m)?m:new i.Scalar(m);g.range=h.range;g.tag=u;if(p?.format)g.format=p.format;return g}r.composeCollection=composeCollection},5050:(t,r,n)=>{var s=n(42);var i=n(8676);var o=n(1250);var a=n(6985);function composeDoc(t,r,{offset:n,start:l,value:c,end:u},d){const p=Object.assign({_directives:r},t);const h=new s.Document(undefined,p);const m={atRoot:true,directives:h.directives,options:h.options,schema:h.schema};const g=a.resolveProps(l,{indicator:"doc-start",next:c??u?.[0],offset:n,onError:d,startOnNewline:true});if(g.found){h.directives.docStart=true;if(c&&(c.type==="block-map"||c.type==="block-seq")&&!g.hasNewline)d(g.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")}h.contents=c?i.composeNode(m,c,g,d):i.composeEmptyNode(m,g.end,l,null,g,d);const y=h.contents.range[2];const b=o.resolveEnd(u,y,false,d);if(b.comment)h.comment=b.comment;h.range=[n,y,b.offset];return h}r.composeDoc=composeDoc},8676:(t,r,n)=>{var s=n(5639);var i=n(8109);var o=n(4766);var a=n(1250);var l=n(8781);const c={composeNode:composeNode,composeEmptyNode:composeEmptyNode};function composeNode(t,r,n,s){const{spaceBefore:a,comment:l,anchor:u,tag:d}=n;let p;let h=true;switch(r.type){case"alias":p=composeAlias(t,r,s);if(u||d)s(r,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":p=o.composeScalar(t,r,d,s);if(u)p.anchor=u.source.substring(1);break;case"block-map":case"block-seq":case"flow-collection":p=i.composeCollection(c,t,r,d,s);if(u)p.anchor=u.source.substring(1);break;default:{const i=r.type==="error"?r.message:`Unsupported token (type: ${r.type})`;s(r,"UNEXPECTED_TOKEN",i);p=composeEmptyNode(t,r.offset,undefined,null,n,s);h=false}}if(u&&p.anchor==="")s(u,"BAD_ALIAS","Anchor cannot be an empty string");if(a)p.spaceBefore=true;if(l){if(r.type==="scalar"&&r.source==="")p.comment=l;else p.commentBefore=l}if(t.options.keepSourceTokens&&h)p.srcToken=r;return p}function composeEmptyNode(t,r,n,s,{spaceBefore:i,comment:a,anchor:c,tag:u,end:d},p){const h={type:"scalar",offset:l.emptyScalarPosition(r,n,s),indent:-1,source:""};const m=o.composeScalar(t,h,u,p);if(c){m.anchor=c.source.substring(1);if(m.anchor==="")p(c,"BAD_ALIAS","Anchor cannot be an empty string")}if(i)m.spaceBefore=true;if(a){m.comment=a;m.range[2]=d}return m}function composeAlias({options:t},{offset:r,source:n,end:i},o){const l=new s.Alias(n.substring(1));if(l.source==="")o(r,"BAD_ALIAS","Alias cannot be an empty string");if(l.source.endsWith(":"))o(r+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",true);const c=r+n.length;const u=a.resolveEnd(i,c,t.strict,o);l.range=[r,c,u.offset];if(u.comment)l.comment=u.comment;return l}r.composeEmptyNode=composeEmptyNode;r.composeNode=composeNode},4766:(t,r,n)=>{var s=n(5589);var i=n(9338);var o=n(9485);var a=n(7578);function composeScalar(t,r,n,l){const{value:c,type:u,comment:d,range:p}=r.type==="block-scalar"?o.resolveBlockScalar(r,t.options.strict,l):a.resolveFlowScalar(r,t.options.strict,l);const h=n?t.directives.tagName(n.source,(t=>l(n,"TAG_RESOLVE_FAILED",t))):null;const m=n&&h?findScalarTagByName(t.schema,c,h,n,l):r.type==="scalar"?findScalarTagByTest(t,c,r,l):t.schema[s.SCALAR];let g;try{const o=m.resolve(c,(t=>l(n??r,"TAG_RESOLVE_FAILED",t)),t.options);g=s.isScalar(o)?o:new i.Scalar(o)}catch(t){const s=t instanceof Error?t.message:String(t);l(n??r,"TAG_RESOLVE_FAILED",s);g=new i.Scalar(c)}g.range=p;g.source=c;if(u)g.type=u;if(h)g.tag=h;if(m.format)g.format=m.format;if(d)g.comment=d;return g}function findScalarTagByName(t,r,n,i,o){if(n==="!")return t[s.SCALAR];const a=[];for(const r of t.tags){if(!r.collection&&r.tag===n){if(r.default&&r.test)a.push(r);else return r}}for(const t of a)if(t.test?.test(r))return t;const l=t.knownTags[n];if(l&&!l.collection){t.tags.push(Object.assign({},l,{default:false,test:undefined}));return l}o(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str");return t[s.SCALAR]}function findScalarTagByTest({directives:t,schema:r},n,i,o){const a=r.tags.find((t=>t.default&&t.test?.test(n)))||r[s.SCALAR];if(r.compat){const l=r.compat.find((t=>t.default&&t.test?.test(n)))??r[s.SCALAR];if(a.tag!==l.tag){const r=t.tagString(a.tag);const n=t.tagString(l.tag);const s=`Value may be parsed as either ${r} or ${n}`;o(i,"TAG_RESOLVE_FAILED",s,true)}}return a}r.composeScalar=composeScalar},9493:(t,r,n)=>{var s=n(5400);var i=n(42);var o=n(4236);var a=n(5589);var l=n(5050);var c=n(1250);function getErrorPos(t){if(typeof t==="number")return[t,t+1];if(Array.isArray(t))return t.length===2?t:[t[0],t[1]];const{offset:r,source:n}=t;return[r,r+(typeof n==="string"?n.length:1)]}function parsePrelude(t){let r="";let n=false;let s=false;for(let i=0;i{const i=getErrorPos(t);if(s)this.warnings.push(new o.YAMLWarning(i,r,n));else this.errors.push(new o.YAMLParseError(i,r,n))};this.directives=new s.Directives({version:t.version||"1.2"});this.options=t}decorate(t,r){const{comment:n,afterEmptyLine:s}=parsePrelude(this.prelude);if(n){const i=t.contents;if(r){t.comment=t.comment?`${t.comment}\n${n}`:n}else if(s||t.directives.docStart||!i){t.commentBefore=n}else if(a.isCollection(i)&&!i.flow&&i.items.length>0){let t=i.items[0];if(a.isPair(t))t=t.key;const r=t.commentBefore;t.commentBefore=r?`${n}\n${r}`:n}else{const t=i.commentBefore;i.commentBefore=t?`${n}\n${t}`:n}}if(r){Array.prototype.push.apply(t.errors,this.errors);Array.prototype.push.apply(t.warnings,this.warnings)}else{t.errors=this.errors;t.warnings=this.warnings}this.prelude=[];this.errors=[];this.warnings=[]}streamInfo(){return{comment:parsePrelude(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,r=false,n=-1){for(const r of t)yield*this.next(r);yield*this.end(r,n)}*next(t){if(process.env.LOG_STREAM)console.dir(t,{depth:null});switch(t.type){case"directive":this.directives.add(t.source,((r,n,s)=>{const i=getErrorPos(t);i[0]+=r;this.onError(i,"BAD_DIRECTIVE",n,s)}));this.prelude.push(t.source);this.atDirectives=true;break;case"document":{const r=l.composeDoc(this.options,this.directives,t,this.onError);if(this.atDirectives&&!r.directives.docStart)this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line");this.decorate(r,false);if(this.doc)yield this.doc;this.doc=r;this.atDirectives=false;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const r=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message;const n=new o.YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",r);if(this.atDirectives||!this.doc)this.errors.push(n);else this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new o.YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=true;const r=c.resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);this.decorate(this.doc,true);if(r.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new o.YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=false,r=-1){if(this.doc){this.decorate(this.doc,true);yield this.doc;this.doc=null}else if(t){const t=Object.assign({_directives:this.directives},this.options);const n=new i.Document(undefined,t);if(this.atDirectives)this.onError(r,"MISSING_CHAR","Missing directives-end indicator line");n.range=[0,r,r];this.decorate(n,false);yield n}}}r.Composer=Composer},2986:(t,r,n)=>{var s=n(246);var i=n(6011);var o=n(6985);var a=n(976);var l=n(3669);var c=n(6899);const u="All mapping items must start at the same column";function resolveBlockMap({composeNode:t,composeEmptyNode:r},n,d,p,h){const m=h?.nodeClass??i.YAMLMap;const g=new m(n.schema);if(n.atRoot)n.atRoot=false;let y=d.offset;let b=null;for(const i of d.items){const{start:h,key:m,sep:_,value:S}=i;const E=o.resolveProps(h,{indicator:"explicit-key-ind",next:m??_?.[0],offset:y,onError:p,startOnNewline:true});const v=!E.found;if(v){if(m){if(m.type==="block-seq")p(y,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key");else if("indent"in m&&m.indent!==d.indent)p(y,"BAD_INDENT",u)}if(!E.anchor&&!E.tag&&!_){b=E.end;if(E.comment){if(g.comment)g.comment+="\n"+E.comment;else g.comment=E.comment}continue}if(E.hasNewlineAfterProp||a.containsNewline(m)){p(m??h[h.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}}else if(E.found?.indent!==d.indent){p(y,"BAD_INDENT",u)}const R=E.end;const w=m?t(n,m,E,p):r(n,R,h,null,E,p);if(n.schema.compat)l.flowIndentCheck(d.indent,m,p);if(c.mapIncludes(n,g.items,w))p(R,"DUPLICATE_KEY","Map keys must be unique");const C=o.resolveProps(_??[],{indicator:"map-value-ind",next:S,offset:w.range[2],onError:p,startOnNewline:!m||m.type==="block-scalar"});y=C.end;if(C.found){if(v){if(S?.type==="block-map"&&!C.hasNewline)p(y,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings");if(n.options.strict&&E.start{var s=n(9338);function resolveBlockScalar(t,r,n){const i=t.offset;const o=parseBlockScalarHeader(t,r,n);if(!o)return{value:"",type:null,comment:"",range:[i,i,i]};const a=o.mode===">"?s.Scalar.BLOCK_FOLDED:s.Scalar.BLOCK_LITERAL;const l=t.source?splitLines(t.source):[];let c=l.length;for(let t=l.length-1;t>=0;--t){const r=l[t][1];if(r===""||r==="\r")c=t;else break}if(c===0){const r=o.chomp==="+"&&l.length>0?"\n".repeat(Math.max(1,l.length-1)):"";let n=i+o.length;if(t.source)n+=t.source.length;return{value:r,type:a,comment:o.comment,range:[i,n,n]}}let u=t.indent+o.indent;let d=t.offset+o.length;let p=0;for(let t=0;tu)u=r.length}else{if(r.length=c;--t){if(l[t][0].length>u)c=t+1}let h="";let m="";let g=false;for(let t=0;tu||i[0]==="\t"){if(m===" ")m="\n";else if(!g&&m==="\n")m="\n\n";h+=m+r.slice(u)+i;m="\n";g=true}else if(i===""){if(m==="\n")h+="\n";else m="\n"}else{h+=m+i;m=" ";g=false}}switch(o.chomp){case"-":break;case"+":for(let t=c;t{var s=n(5161);var i=n(6985);var o=n(3669);function resolveBlockSeq({composeNode:t,composeEmptyNode:r},n,a,l,c){const u=c?.nodeClass??s.YAMLSeq;const d=new u(n.schema);if(n.atRoot)n.atRoot=false;let p=a.offset;let h=null;for(const{start:s,value:c}of a.items){const u=i.resolveProps(s,{indicator:"seq-item-ind",next:c,offset:p,onError:l,startOnNewline:true});if(!u.found){if(u.anchor||u.tag||c){if(c&&c.type==="block-seq")l(u.end,"BAD_INDENT","All sequence items must start at the same column");else l(p,"MISSING_CHAR","Sequence item without - indicator")}else{h=u.end;if(u.comment)d.comment=u.comment;continue}}const m=c?t(n,c,u,l):r(n,u.end,s,null,u,l);if(n.schema.compat)o.flowIndentCheck(a.indent,c,l);p=m.range[2];d.items.push(m)}d.range=[a.offset,p,h??p];return d}r.resolveBlockSeq=resolveBlockSeq},1250:(t,r)=>{function resolveEnd(t,r,n,s){let i="";if(t){let o=false;let a="";for(const l of t){const{source:t,type:c}=l;switch(c){case"space":o=true;break;case"comment":{if(n&&!o)s(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const r=t.substring(1)||" ";if(!i)i=r;else i+=a+r;a="";break}case"newline":if(i)a+=t;o=true;break;default:s(l,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}r+=t.length}}return{comment:i,offset:r}}r.resolveEnd=resolveEnd},45:(t,r,n)=>{var s=n(5589);var i=n(246);var o=n(6011);var a=n(5161);var l=n(1250);var c=n(6985);var u=n(976);var d=n(6899);const p="Block collections are not allowed within flow collections";const isBlock=t=>t&&(t.type==="block-map"||t.type==="block-seq");function resolveFlowCollection({composeNode:t,composeEmptyNode:r},n,h,m,g){const y=h.start.source==="{";const b=y?"flow map":"flow sequence";const _=g?.nodeClass??(y?o.YAMLMap:a.YAMLSeq);const S=new _(n.schema);S.flow=true;const E=n.atRoot;if(E)n.atRoot=false;let v=h.offset+h.start.source.length;for(let a=0;a0){const t=l.resolveEnd(C,A,n.options.strict,m);if(t.comment){if(S.comment)S.comment+="\n"+t.comment;else S.comment=t.comment}S.range=[h.offset,A,t.offset]}else{S.range=[h.offset,A,A]}return S}r.resolveFlowCollection=resolveFlowCollection},7578:(t,r,n)=>{var s=n(9338);var i=n(1250);function resolveFlowScalar(t,r,n){const{offset:o,type:a,source:l,end:c}=t;let u;let d;const _onError=(t,r,s)=>n(o+t,r,s);switch(a){case"scalar":u=s.Scalar.PLAIN;d=plainValue(l,_onError);break;case"single-quoted-scalar":u=s.Scalar.QUOTE_SINGLE;d=singleQuotedValue(l,_onError);break;case"double-quoted-scalar":u=s.Scalar.QUOTE_DOUBLE;d=doubleQuotedValue(l,_onError);break;default:n(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`);return{value:"",type:null,comment:"",range:[o,o+l.length,o+l.length]}}const p=o+l.length;const h=i.resolveEnd(c,p,r,n);return{value:d,type:u,comment:h.comment,range:[o,p,h.offset]}}function plainValue(t,r){let n="";switch(t[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${t[0]}`;break}case"@":case"`":{n=`reserved character ${t[0]}`;break}}if(n)r(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return foldLines(t)}function singleQuotedValue(t,r){if(t[t.length-1]!=="'"||t.length===1)r(t.length,"MISSING_CHAR","Missing closing 'quote");return foldLines(t.slice(1,-1)).replace(/''/g,"'")}function foldLines(t){let r,n;try{r=new RegExp("(.*?)(?r?t.slice(r,s+1):i}else{n+=i}}if(t[t.length-1]!=='"'||t.length===1)r(t.length,"MISSING_CHAR",'Missing closing "quote');return n}function foldNewline(t,r){let n="";let s=t[r+1];while(s===" "||s==="\t"||s==="\n"||s==="\r"){if(s==="\r"&&t[r+2]!=="\n")break;if(s==="\n")n+="\n";r+=1;s=t[r+1]}if(!n)n=" ";return{fold:n,offset:r}}const o={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function parseCharCode(t,r,n,s){const i=t.substr(r,n);const o=i.length===n&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){const i=t.substr(r-2,n+2);s(r-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`);return i}return String.fromCodePoint(a)}r.resolveFlowScalar=resolveFlowScalar},6985:(t,r)=>{function resolveProps(t,{flow:r,indicator:n,next:s,offset:i,onError:o,startOnNewline:a}){let l=false;let c=a;let u=a;let d="";let p="";let h=false;let m=false;let g=false;let y=null;let b=null;let _=null;let S=null;let E=null;for(const s of t){if(g){if(s.type!=="space"&&s.type!=="newline"&&s.type!=="comma")o(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");g=false}switch(s.type){case"space":if(!r&&c&&n!=="doc-start"&&s.source[0]==="\t")o(s,"TAB_AS_INDENT","Tabs are not allowed as indentation");u=true;break;case"comment":{if(!u)o(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=s.source.substring(1)||" ";if(!d)d=t;else d+=p+t;p="";c=false;break}case"newline":if(c){if(d)d+=s.source;else l=true}else p+=s.source;c=true;h=true;if(y||b)m=true;u=true;break;case"anchor":if(y)o(s,"MULTIPLE_ANCHORS","A node can have at most one anchor");if(s.source.endsWith(":"))o(s.offset+s.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",true);y=s;if(E===null)E=s.offset;c=false;u=false;g=true;break;case"tag":{if(b)o(s,"MULTIPLE_TAGS","A node can have at most one tag");b=s;if(E===null)E=s.offset;c=false;u=false;g=true;break}case n:if(y||b)o(s,"BAD_PROP_ORDER",`Anchors and tags must be after the ${s.source} indicator`);if(S)o(s,"UNEXPECTED_TOKEN",`Unexpected ${s.source} in ${r??"collection"}`);S=s;c=false;u=false;break;case"comma":if(r){if(_)o(s,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`);_=s;c=false;u=false;break}default:o(s,"UNEXPECTED_TOKEN",`Unexpected ${s.type} token`);c=false;u=false}}const v=t[t.length-1];const R=v?v.offset+v.source.length:i;if(g&&s&&s.type!=="space"&&s.type!=="newline"&&s.type!=="comma"&&(s.type!=="scalar"||s.source!==""))o(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");return{comma:_,found:S,spaceBefore:l,comment:d,hasNewline:h,hasNewlineAfterProp:m,anchor:y,tag:b,end:R,start:E??R}}r.resolveProps=resolveProps},976:(t,r)=>{function containsNewline(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return true;if(t.end)for(const r of t.end)if(r.type==="newline")return true;return false;case"flow-collection":for(const r of t.items){for(const t of r.start)if(t.type==="newline")return true;if(r.sep)for(const t of r.sep)if(t.type==="newline")return true;if(containsNewline(r.key)||containsNewline(r.value))return true}return false;default:return true}}r.containsNewline=containsNewline},8781:(t,r)=>{function emptyScalarPosition(t,r,n){if(r){if(n===null)n=r.length;for(let s=n-1;s>=0;--s){let n=r[s];switch(n.type){case"space":case"comment":case"newline":t-=n.source.length;continue}n=r[++s];while(n?.type==="space"){t+=n.source.length;n=r[++s]}break}}return t}r.emptyScalarPosition=emptyScalarPosition},3669:(t,r,n)=>{var s=n(976);function flowIndentCheck(t,r,n){if(r?.type==="flow-collection"){const i=r.end[0];if(i.indent===t&&(i.source==="]"||i.source==="}")&&s.containsNewline(r)){const t="Flow end indicator should be more indented than parent";n(i,"BAD_INDENT",t,true)}}}r.flowIndentCheck=flowIndentCheck},6899:(t,r,n)=>{var s=n(5589);function mapIncludes(t,r,n){const{uniqueKeys:i}=t.options;if(i===false)return false;const o=typeof i==="function"?i:(r,n)=>r===n||s.isScalar(r)&&s.isScalar(n)&&r.value===n.value&&!(r.value==="<<"&&t.schema.merge);return r.some((t=>o(t.key,n)))}r.mapIncludes=mapIncludes},42:(t,r,n)=>{var s=n(5639);var i=n(2240);var o=n(5589);var a=n(246);var l=n(2358);var c=n(6831);var u=n(5225);var d=n(8459);var p=n(3412);var h=n(9652);var m=n(5400);class Document{constructor(t,r,n){this.commentBefore=null;this.comment=null;this.errors=[];this.warnings=[];Object.defineProperty(this,o.NODE_TYPE,{value:o.DOC});let s=null;if(typeof r==="function"||Array.isArray(r)){s=r}else if(n===undefined&&r){n=r;r=undefined}const i=Object.assign({intAsBigInt:false,keepSourceTokens:false,logLevel:"warn",prettyErrors:true,strict:true,uniqueKeys:true,version:"1.2"},n);this.options=i;let{version:a}=i;if(n?._directives){this.directives=n._directives.atDocument();if(this.directives.yaml.explicit)a=this.directives.yaml.version}else this.directives=new m.Directives({version:a});this.setSchema(a,n);this.contents=t===undefined?null:this.createNode(t,s,n)}clone(){const t=Object.create(Document.prototype,{[o.NODE_TYPE]:{value:o.DOC}});t.commentBefore=this.commentBefore;t.comment=this.comment;t.errors=this.errors.slice();t.warnings=this.warnings.slice();t.options=Object.assign({},this.options);if(this.directives)t.directives=this.directives.clone();t.schema=this.schema.clone();t.contents=o.isNode(this.contents)?this.contents.clone(t.schema):this.contents;if(this.range)t.range=this.range.slice();return t}add(t){if(assertCollection(this.contents))this.contents.add(t)}addIn(t,r){if(assertCollection(this.contents))this.contents.addIn(t,r)}createAlias(t,r){if(!t.anchor){const n=d.anchorNames(this);t.anchor=!r||n.has(r)?d.findNewAnchor(r||"a",n):r}return new s.Alias(t.anchor)}createNode(t,r,n){let s=undefined;if(typeof r==="function"){t=r.call({"":t},"",t);s=r}else if(Array.isArray(r)){const keyToStr=t=>typeof t==="number"||t instanceof String||t instanceof Number;const t=r.filter(keyToStr).map(String);if(t.length>0)r=r.concat(t);s=r}else if(n===undefined&&r){n=r;r=undefined}const{aliasDuplicateObjects:i,anchorPrefix:a,flow:l,keepUndefined:c,onTagObj:u,tag:p}=n??{};const{onAnchor:m,setAnchors:g,sourceObjects:y}=d.createNodeAnchors(this,a||"a");const b={aliasDuplicateObjects:i??true,keepUndefined:c??false,onAnchor:m,onTagObj:u,replacer:s,schema:this.schema,sourceObjects:y};const _=h.createNode(t,p,b);if(l&&o.isCollection(_))_.flow=true;g();return _}createPair(t,r,n={}){const s=this.createNode(t,null,n);const i=this.createNode(r,null,n);return new a.Pair(s,i)}delete(t){return assertCollection(this.contents)?this.contents.delete(t):false}deleteIn(t){if(i.isEmptyPath(t)){if(this.contents==null)return false;this.contents=null;return true}return assertCollection(this.contents)?this.contents.deleteIn(t):false}get(t,r){return o.isCollection(this.contents)?this.contents.get(t,r):undefined}getIn(t,r){if(i.isEmptyPath(t))return!r&&o.isScalar(this.contents)?this.contents.value:this.contents;return o.isCollection(this.contents)?this.contents.getIn(t,r):undefined}has(t){return o.isCollection(this.contents)?this.contents.has(t):false}hasIn(t){if(i.isEmptyPath(t))return this.contents!==undefined;return o.isCollection(this.contents)?this.contents.hasIn(t):false}set(t,r){if(this.contents==null){this.contents=i.collectionFromPath(this.schema,[t],r)}else if(assertCollection(this.contents)){this.contents.set(t,r)}}setIn(t,r){if(i.isEmptyPath(t)){this.contents=r}else if(this.contents==null){this.contents=i.collectionFromPath(this.schema,Array.from(t),r)}else if(assertCollection(this.contents)){this.contents.setIn(t,r)}}setSchema(t,r={}){if(typeof t==="number")t=String(t);let n;switch(t){case"1.1":if(this.directives)this.directives.yaml.version="1.1";else this.directives=new m.Directives({version:"1.1"});n={merge:true,resolveKnownTags:false,schema:"yaml-1.1"};break;case"1.2":case"next":if(this.directives)this.directives.yaml.version=t;else this.directives=new m.Directives({version:t});n={merge:false,resolveKnownTags:true,schema:"core"};break;case null:if(this.directives)delete this.directives;n=null;break;default:{const r=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(r.schema instanceof Object)this.schema=r.schema;else if(n)this.schema=new c.Schema(Object.assign(n,r));else throw new Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:t,jsonArg:r,mapAsMap:n,maxAliasCount:s,onAnchor:i,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!t,mapAsMap:n===true,mapKeyWarned:false,maxAliasCount:typeof s==="number"?s:100};const c=l.toJS(this.contents,r??"",a);if(typeof i==="function")for(const{count:t,res:r}of a.anchors.values())i(r,t);return typeof o==="function"?p.applyReviver(o,{"":c},"",c):c}toJSON(t,r){return this.toJS({json:true,jsonArg:t,mapAsMap:false,onAnchor:r})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const r=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return u.stringifyDocument(this,t)}}function assertCollection(t){if(o.isCollection(t))return true;throw new Error("Expected a YAML collection as document contents")}r.Document=Document},8459:(t,r,n)=>{var s=n(5589);var i=n(6796);function anchorIsValid(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const r=JSON.stringify(t);const n=`Anchor must not contain whitespace or control characters: ${r}`;throw new Error(n)}return true}function anchorNames(t){const r=new Set;i.visit(t,{Value(t,n){if(n.anchor)r.add(n.anchor)}});return r}function findNewAnchor(t,r){for(let n=1;true;++n){const s=`${t}${n}`;if(!r.has(s))return s}}function createNodeAnchors(t,r){const n=[];const i=new Map;let o=null;return{onAnchor:s=>{n.push(s);if(!o)o=anchorNames(t);const i=findNewAnchor(r,o);o.add(i);return i},setAnchors:()=>{for(const t of n){const r=i.get(t);if(typeof r==="object"&&r.anchor&&(s.isScalar(r.node)||s.isCollection(r.node))){r.node.anchor=r.anchor}else{const r=new Error("Failed to resolve repeated object (this should not happen)");r.source=t;throw r}}},sourceObjects:i}}r.anchorIsValid=anchorIsValid;r.anchorNames=anchorNames;r.createNodeAnchors=createNodeAnchors;r.findNewAnchor=findNewAnchor},3412:(t,r)=>{function applyReviver(t,r,n,s){if(s&&typeof s==="object"){if(Array.isArray(s)){for(let r=0,n=s.length;r{var s=n(5639);var i=n(5589);var o=n(9338);const a="tag:yaml.org,2002:";function findTagObject(t,r,n){if(r){const t=n.filter((t=>t.tag===r));const s=t.find((t=>!t.format))??t[0];if(!s)throw new Error(`Tag ${r} not found`);return s}return n.find((r=>r.identify?.(t)&&!r.format))}function createNode(t,r,n){if(i.isDocument(t))t=t.contents;if(i.isNode(t))return t;if(i.isPair(t)){const r=n.schema[i.MAP].createNode?.(n.schema,null,n);r.items.push(t);return r}if(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt!=="undefined"&&t instanceof BigInt){t=t.valueOf()}const{aliasDuplicateObjects:l,onAnchor:c,onTagObj:u,schema:d,sourceObjects:p}=n;let h=undefined;if(l&&t&&typeof t==="object"){h=p.get(t);if(h){if(!h.anchor)h.anchor=c(t);return new s.Alias(h.anchor)}else{h={anchor:null,node:null};p.set(t,h)}}if(r?.startsWith("!!"))r=a+r.slice(2);let m=findTagObject(t,r,d.tags);if(!m){if(t&&typeof t.toJSON==="function"){t=t.toJSON()}if(!t||typeof t!=="object"){const r=new o.Scalar(t);if(h)h.node=r;return r}m=t instanceof Map?d[i.MAP]:Symbol.iterator in Object(t)?d[i.SEQ]:d[i.MAP]}if(u){u(m);delete n.onTagObj}const g=m?.createNode?m.createNode(n.schema,t,n):typeof m?.nodeClass?.from==="function"?m.nodeClass.from(n.schema,t,n):new o.Scalar(t);if(r)g.tag=r;else if(!m.default)g.tag=m.tag;if(h)h.node=g;return g}r.createNode=createNode},5400:(t,r,n)=>{var s=n(5589);var i=n(6796);const o={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};const escapeTagName=t=>t.replace(/[!,[\]{}]/g,(t=>o[t]));class Directives{constructor(t,r){this.docStart=null;this.docEnd=false;this.yaml=Object.assign({},Directives.defaultYaml,t);this.tags=Object.assign({},Directives.defaultTags,r)}clone(){const t=new Directives(this.yaml,this.tags);t.docStart=this.docStart;return t}atDocument(){const t=new Directives(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=true;break;case"1.2":this.atNextDocument=false;this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.2"};this.tags=Object.assign({},Directives.defaultTags);break}return t}add(t,r){if(this.atNextDocument){this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.1"};this.tags=Object.assign({},Directives.defaultTags);this.atNextDocument=false}const n=t.trim().split(/[ \t]+/);const s=n.shift();switch(s){case"%TAG":{if(n.length!==2){r(0,"%TAG directive should contain exactly two parts");if(n.length<2)return false}const[t,s]=n;this.tags[t]=s;return true}case"%YAML":{this.yaml.explicit=true;if(n.length!==1){r(0,"%YAML directive should contain exactly one part");return false}const[t]=n;if(t==="1.1"||t==="1.2"){this.yaml.version=t;return true}else{const n=/^\d+\.\d+$/.test(t);r(6,`Unsupported YAML version ${t}`,n);return false}}default:r(0,`Unknown directive ${s}`,true);return false}}tagName(t,r){if(t==="!")return"!";if(t[0]!=="!"){r(`Not a valid tag: ${t}`);return null}if(t[1]==="<"){const n=t.slice(2,-1);if(n==="!"||n==="!!"){r(`Verbatim tags aren't resolved, so ${t} is invalid.`);return null}if(t[t.length-1]!==">")r("Verbatim tags must end with a >");return n}const[,n,s]=t.match(/^(.*!)([^!]*)$/s);if(!s)r(`The ${t} tag has no suffix`);const i=this.tags[n];if(i){try{return i+decodeURIComponent(s)}catch(t){r(String(t));return null}}if(n==="!")return t;r(`Could not resolve tag: ${t}`);return null}tagString(t){for(const[r,n]of Object.entries(this.tags)){if(t.startsWith(n))return r+escapeTagName(t.substring(n.length))}return t[0]==="!"?t:`!<${t}>`}toString(t){const r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[];const n=Object.entries(this.tags);let o;if(t&&n.length>0&&s.isNode(t.contents)){const r={};i.visit(t.contents,((t,n)=>{if(s.isNode(n)&&n.tag)r[n.tag]=true}));o=Object.keys(r)}else o=[];for(const[s,i]of n){if(s==="!!"&&i==="tag:yaml.org,2002:")continue;if(!t||o.some((t=>t.startsWith(i))))r.push(`%TAG ${s} ${i}`)}return r.join("\n")}}Directives.defaultYaml={explicit:false,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};r.Directives=Directives},4236:(t,r)=>{class YAMLError extends Error{constructor(t,r,n,s){super();this.name=t;this.code=n;this.message=s;this.pos=r}}class YAMLParseError extends YAMLError{constructor(t,r,n){super("YAMLParseError",t,r,n)}}class YAMLWarning extends YAMLError{constructor(t,r,n){super("YAMLWarning",t,r,n)}}const prettifyError=(t,r)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map((t=>r.linePos(t)));const{line:s,col:i}=n.linePos[0];n.message+=` at line ${s}, column ${i}`;let o=i-1;let a=t.substring(r.lineStarts[s-1],r.lineStarts[s]).replace(/[\n\r]+$/,"");if(o>=60&&a.length>80){const t=Math.min(o-39,a.length-79);a="…"+a.substring(t);o-=t-1}if(a.length>80)a=a.substring(0,79)+"…";if(s>1&&/^ *$/.test(a.substring(0,o))){let n=t.substring(r.lineStarts[s-2],r.lineStarts[s-1]);if(n.length>80)n=n.substring(0,79)+"…\n";a=n+a}if(/[^ ]/.test(a)){let t=1;const r=n.linePos[1];if(r&&r.line===s&&r.col>i){t=Math.max(1,Math.min(r.col-i,80-o))}const l=" ".repeat(o)+"^".repeat(t);n.message+=`:\n\n${a}\n${l}\n`}};r.YAMLError=YAMLError;r.YAMLParseError=YAMLParseError;r.YAMLWarning=YAMLWarning;r.prettifyError=prettifyError},4083:(t,r,n)=>{var s;var i=n(9493);var o=n(42);var a=n(6831);var l=n(4236);var c=n(5639);var u=n(5589);var d=n(246);var p=n(9338);var h=n(6011);var m=n(5161);var g=n(9169);var y=n(5976);var b=n(1929);var _=n(3328);var S=n(8649);var E=n(6796);s=i.Composer;s=o.Document;s=a.Schema;s=l.YAMLError;s=l.YAMLParseError;s=l.YAMLWarning;s=c.Alias;s=u.isAlias;s=u.isCollection;s=u.isDocument;s=u.isMap;s=u.isNode;s=u.isPair;s=u.isScalar;s=u.isSeq;s=d.Pair;s=p.Scalar;s=h.YAMLMap;s=m.YAMLSeq;s=g;s=y.Lexer;s=b.LineCounter;s=_.Parser;r.Qc=S.parse;s=S.parseAllDocuments;s=S.parseDocument;s=S.stringify;s=E.visit;s=E.visitAsync},6909:(t,r)=>{function debug(t,...r){if(t==="debug")console.log(...r)}function warn(t,r){if(t==="debug"||t==="warn"){if(typeof process!=="undefined"&&process.emitWarning)process.emitWarning(r);else console.warn(r)}}r.debug=debug;r.warn=warn},5639:(t,r,n)=>{var s=n(8459);var i=n(6796);var o=n(5589);var a=n(1399);var l=n(2358);class Alias extends a.NodeBase{constructor(t){super(o.ALIAS);this.source=t;Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let r=undefined;i.visit(t,{Node:(t,n)=>{if(n===this)return i.visit.BREAK;if(n.anchor===this.source)r=n}});return r}toJSON(t,r){if(!r)return{source:this.source};const{anchors:n,doc:s,maxAliasCount:i}=r;const o=this.resolve(s);if(!o){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let a=n.get(o);if(!a){l.toJS(o,null,r);a=n.get(o)}if(!a||a.res===undefined){const t="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(t)}if(i>=0){a.count+=1;if(a.aliasCount===0)a.aliasCount=getAliasCount(s,o,n);if(a.count*a.aliasCount>i){const t="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(t)}}return a.res}toString(t,r,n){const i=`*${this.source}`;if(t){s.anchorIsValid(this.source);if(t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${i} `}return i}}function getAliasCount(t,r,n){if(o.isAlias(r)){const s=r.resolve(t);const i=n&&s&&n.get(s);return i?i.count*i.aliasCount:0}else if(o.isCollection(r)){let s=0;for(const i of r.items){const r=getAliasCount(t,i,n);if(r>s)s=r}return s}else if(o.isPair(r)){const s=getAliasCount(t,r.key,n);const i=getAliasCount(t,r.value,n);return Math.max(s,i)}return 1}r.Alias=Alias},2240:(t,r,n)=>{var s=n(9652);var i=n(5589);var o=n(1399);function collectionFromPath(t,r,n){let i=n;for(let t=r.length-1;t>=0;--t){const n=r[t];if(typeof n==="number"&&Number.isInteger(n)&&n>=0){const t=[];t[n]=i;i=t}else{i=new Map([[n,i]])}}return s.createNode(i,undefined,{aliasDuplicateObjects:false,keepUndefined:false,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const isEmptyPath=t=>t==null||typeof t==="object"&&!!t[Symbol.iterator]().next().done;class Collection extends o.NodeBase{constructor(t,r){super(t);Object.defineProperty(this,"schema",{value:r,configurable:true,enumerable:false,writable:true})}clone(t){const r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(t)r.schema=t;r.items=r.items.map((r=>i.isNode(r)||i.isPair(r)?r.clone(t):r));if(this.range)r.range=this.range.slice();return r}addIn(t,r){if(isEmptyPath(t))this.add(r);else{const[n,...s]=t;const o=this.get(n,true);if(i.isCollection(o))o.addIn(s,r);else if(o===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,s,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}}deleteIn(t){const[r,...n]=t;if(n.length===0)return this.delete(r);const s=this.get(r,true);if(i.isCollection(s))return s.deleteIn(n);else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}getIn(t,r){const[n,...s]=t;const o=this.get(n,true);if(s.length===0)return!r&&i.isScalar(o)?o.value:o;else return i.isCollection(o)?o.getIn(s,r):undefined}hasAllNullValues(t){return this.items.every((r=>{if(!i.isPair(r))return false;const n=r.value;return n==null||t&&i.isScalar(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(t){const[r,...n]=t;if(n.length===0)return this.has(r);const s=this.get(r,true);return i.isCollection(s)?s.hasIn(n):false}setIn(t,r){const[n,...s]=t;if(s.length===0){this.set(n,r)}else{const t=this.get(n,true);if(i.isCollection(t))t.setIn(s,r);else if(t===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,s,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}}}Collection.maxFlowStringSingleLineLength=60;r.Collection=Collection;r.collectionFromPath=collectionFromPath;r.isEmptyPath=isEmptyPath},1399:(t,r,n)=>{var s=n(3412);var i=n(5589);var o=n(2358);class NodeBase{constructor(t){Object.defineProperty(this,i.NODE_TYPE,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)t.range=this.range.slice();return t}toJS(t,{mapAsMap:r,maxAliasCount:n,onAnchor:a,reviver:l}={}){if(!i.isDocument(t))throw new TypeError("A document argument is required");const c={anchors:new Map,doc:t,keep:true,mapAsMap:r===true,mapKeyWarned:false,maxAliasCount:typeof n==="number"?n:100};const u=o.toJS(this,"",c);if(typeof a==="function")for(const{count:t,res:r}of c.anchors.values())a(r,t);return typeof l==="function"?s.applyReviver(l,{"":u},"",u):u}}r.NodeBase=NodeBase},246:(t,r,n)=>{var s=n(9652);var i=n(4875);var o=n(4676);var a=n(5589);function createPair(t,r,n){const i=s.createNode(t,undefined,n);const o=s.createNode(r,undefined,n);return new Pair(i,o)}class Pair{constructor(t,r=null){Object.defineProperty(this,a.NODE_TYPE,{value:a.PAIR});this.key=t;this.value=r}clone(t){let{key:r,value:n}=this;if(a.isNode(r))r=r.clone(t);if(a.isNode(n))n=n.clone(t);return new Pair(r,n)}toJSON(t,r){const n=r?.mapAsMap?new Map:{};return o.addPairToJSMap(r,n,this)}toString(t,r,n){return t?.doc?i.stringifyPair(this,t,r,n):JSON.stringify(this)}}r.Pair=Pair;r.createPair=createPair},9338:(t,r,n)=>{var s=n(5589);var i=n(1399);var o=n(2358);const isScalarValue=t=>!t||typeof t!=="function"&&typeof t!=="object";class Scalar extends i.NodeBase{constructor(t){super(s.SCALAR);this.value=t}toJSON(t,r){return r?.keep?this.value:o.toJS(this.value,t,r)}toString(){return String(this.value)}}Scalar.BLOCK_FOLDED="BLOCK_FOLDED";Scalar.BLOCK_LITERAL="BLOCK_LITERAL";Scalar.PLAIN="PLAIN";Scalar.QUOTE_DOUBLE="QUOTE_DOUBLE";Scalar.QUOTE_SINGLE="QUOTE_SINGLE";r.Scalar=Scalar;r.isScalarValue=isScalarValue},6011:(t,r,n)=>{var s=n(2466);var i=n(4676);var o=n(2240);var a=n(5589);var l=n(246);var c=n(9338);function findPair(t,r){const n=a.isScalar(r)?r.value:r;for(const s of t){if(a.isPair(s)){if(s.key===r||s.key===n)return s;if(a.isScalar(s.key)&&s.key.value===n)return s}}return undefined}class YAMLMap extends o.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(a.MAP,t);this.items=[]}static from(t,r,n){const{keepUndefined:s,replacer:i}=n;const o=new this(t);const add=(t,a)=>{if(typeof i==="function")a=i.call(r,t,a);else if(Array.isArray(i)&&!i.includes(t))return;if(a!==undefined||s)o.items.push(l.createPair(t,a,n))};if(r instanceof Map){for(const[t,n]of r)add(t,n)}else if(r&&typeof r==="object"){for(const t of Object.keys(r))add(t,r[t])}if(typeof t.sortMapEntries==="function"){o.items.sort(t.sortMapEntries)}return o}add(t,r){let n;if(a.isPair(t))n=t;else if(!t||typeof t!=="object"||!("key"in t)){n=new l.Pair(t,t?.value)}else n=new l.Pair(t.key,t.value);const s=findPair(this.items,n.key);const i=this.schema?.sortMapEntries;if(s){if(!r)throw new Error(`Key ${n.key} already set`);if(a.isScalar(s.value)&&c.isScalarValue(n.value))s.value.value=n.value;else s.value=n.value}else if(i){const t=this.items.findIndex((t=>i(n,t)<0));if(t===-1)this.items.push(n);else this.items.splice(t,0,n)}else{this.items.push(n)}}delete(t){const r=findPair(this.items,t);if(!r)return false;const n=this.items.splice(this.items.indexOf(r),1);return n.length>0}get(t,r){const n=findPair(this.items,t);const s=n?.value;return(!r&&a.isScalar(s)?s.value:s)??undefined}has(t){return!!findPair(this.items,t)}set(t,r){this.add(new l.Pair(t,r),true)}toJSON(t,r,n){const s=n?new n:r?.mapAsMap?new Map:{};if(r?.onCreate)r.onCreate(s);for(const t of this.items)i.addPairToJSMap(r,s,t);return s}toString(t,r,n){if(!t)return JSON.stringify(this);for(const t of this.items){if(!a.isPair(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`)}if(!t.allNullValues&&this.hasAllNullValues(false))t=Object.assign({},t,{allNullValues:true});return s.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:r})}}r.YAMLMap=YAMLMap;r.findPair=findPair},5161:(t,r,n)=>{var s=n(9652);var i=n(2466);var o=n(2240);var a=n(5589);var l=n(9338);var c=n(2358);class YAMLSeq extends o.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(a.SEQ,t);this.items=[]}add(t){this.items.push(t)}delete(t){const r=asItemIndex(t);if(typeof r!=="number")return false;const n=this.items.splice(r,1);return n.length>0}get(t,r){const n=asItemIndex(t);if(typeof n!=="number")return undefined;const s=this.items[n];return!r&&a.isScalar(s)?s.value:s}has(t){const r=asItemIndex(t);return typeof r==="number"&&r=0?r:null}r.YAMLSeq=YAMLSeq},4676:(t,r,n)=>{var s=n(6909);var i=n(8409);var o=n(5589);var a=n(9338);var l=n(2358);const c="<<";function addPairToJSMap(t,r,{key:n,value:s}){if(t?.doc.schema.merge&&isMergeKey(n)){s=o.isAlias(s)?s.resolve(t.doc):s;if(o.isSeq(s))for(const n of s.items)mergeToJSMap(t,r,n);else if(Array.isArray(s))for(const n of s)mergeToJSMap(t,r,n);else mergeToJSMap(t,r,s)}else{const i=l.toJS(n,"",t);if(r instanceof Map){r.set(i,l.toJS(s,i,t))}else if(r instanceof Set){r.add(i)}else{const o=stringifyKey(n,i,t);const a=l.toJS(s,o,t);if(o in r)Object.defineProperty(r,o,{value:a,writable:true,enumerable:true,configurable:true});else r[o]=a}}return r}const isMergeKey=t=>t===c||o.isScalar(t)&&t.value===c&&(!t.type||t.type===a.Scalar.PLAIN);function mergeToJSMap(t,r,n){const s=t&&o.isAlias(n)?n.resolve(t.doc):n;if(!o.isMap(s))throw new Error("Merge sources must be maps or map aliases");const i=s.toJSON(null,t,Map);for(const[t,n]of i){if(r instanceof Map){if(!r.has(t))r.set(t,n)}else if(r instanceof Set){r.add(t)}else if(!Object.prototype.hasOwnProperty.call(r,t)){Object.defineProperty(r,t,{value:n,writable:true,enumerable:true,configurable:true})}}return r}function stringifyKey(t,r,n){if(r===null)return"";if(typeof r!=="object")return String(r);if(o.isNode(t)&&n?.doc){const r=i.createStringifyContext(n.doc,{});r.anchors=new Set;for(const t of n.anchors.keys())r.anchors.add(t.anchor);r.inFlow=true;r.inStringifyKey=true;const o=t.toString(r);if(!n.mapKeyWarned){let t=JSON.stringify(o);if(t.length>40)t=t.substring(0,36)+'..."';s.warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`);n.mapKeyWarned=true}return o}return JSON.stringify(r)}r.addPairToJSMap=addPairToJSMap},5589:(t,r)=>{const n=Symbol.for("yaml.alias");const s=Symbol.for("yaml.document");const i=Symbol.for("yaml.map");const o=Symbol.for("yaml.pair");const a=Symbol.for("yaml.scalar");const l=Symbol.for("yaml.seq");const c=Symbol.for("yaml.node.type");const isAlias=t=>!!t&&typeof t==="object"&&t[c]===n;const isDocument=t=>!!t&&typeof t==="object"&&t[c]===s;const isMap=t=>!!t&&typeof t==="object"&&t[c]===i;const isPair=t=>!!t&&typeof t==="object"&&t[c]===o;const isScalar=t=>!!t&&typeof t==="object"&&t[c]===a;const isSeq=t=>!!t&&typeof t==="object"&&t[c]===l;function isCollection(t){if(t&&typeof t==="object")switch(t[c]){case i:case l:return true}return false}function isNode(t){if(t&&typeof t==="object")switch(t[c]){case n:case i:case a:case l:return true}return false}const hasAnchor=t=>(isScalar(t)||isCollection(t))&&!!t.anchor;r.ALIAS=n;r.DOC=s;r.MAP=i;r.NODE_TYPE=c;r.PAIR=o;r.SCALAR=a;r.SEQ=l;r.hasAnchor=hasAnchor;r.isAlias=isAlias;r.isCollection=isCollection;r.isDocument=isDocument;r.isMap=isMap;r.isNode=isNode;r.isPair=isPair;r.isScalar=isScalar;r.isSeq=isSeq},2358:(t,r,n)=>{var s=n(5589);function toJS(t,r,n){if(Array.isArray(t))return t.map(((t,r)=>toJS(t,String(r),n)));if(t&&typeof t.toJSON==="function"){if(!n||!s.hasAnchor(t))return t.toJSON(r,n);const i={aliasCount:0,count:1,res:undefined};n.anchors.set(t,i);n.onCreate=t=>{i.res=t;delete n.onCreate};const o=t.toJSON(r,n);if(n.onCreate)n.onCreate(o);return o}if(typeof t==="bigint"&&!n?.keep)return Number(t);return t}r.toJS=toJS},9027:(t,r,n)=>{var s=n(9485);var i=n(7578);var o=n(4236);var a=n(6226);function resolveAsScalar(t,r=true,n){if(t){const _onError=(t,r,s)=>{const i=typeof t==="number"?t:Array.isArray(t)?t[0]:t.offset;if(n)n(i,r,s);else throw new o.YAMLParseError([i,i+1],r,s)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return i.resolveFlowScalar(t,r,_onError);case"block-scalar":return s.resolveBlockScalar(t,r,_onError)}}return null}function createScalarToken(t,r){const{implicitKey:n=false,indent:s,inFlow:i=false,offset:o=-1,type:l="PLAIN"}=r;const c=a.stringifyString({type:l,value:t},{implicitKey:n,indent:s>0?" ".repeat(s):"",inFlow:i,options:{blockQuote:true,lineWidth:-1}});const u=r.end??[{type:"newline",offset:-1,indent:s,source:"\n"}];switch(c[0]){case"|":case">":{const t=c.indexOf("\n");const r=c.substring(0,t);const n=c.substring(t+1)+"\n";const i=[{type:"block-scalar-header",offset:o,indent:s,source:r}];if(!addEndtoBlockProps(i,u))i.push({type:"newline",offset:-1,indent:s,source:"\n"});return{type:"block-scalar",offset:o,indent:s,props:i,source:n}}case'"':return{type:"double-quoted-scalar",offset:o,indent:s,source:c,end:u};case"'":return{type:"single-quoted-scalar",offset:o,indent:s,source:c,end:u};default:return{type:"scalar",offset:o,indent:s,source:c,end:u}}}function setScalarValue(t,r,n={}){let{afterKey:s=false,implicitKey:i=false,inFlow:o=false,type:l}=n;let c="indent"in t?t.indent:null;if(s&&typeof c==="number")c+=2;if(!l)switch(t.type){case"single-quoted-scalar":l="QUOTE_SINGLE";break;case"double-quoted-scalar":l="QUOTE_DOUBLE";break;case"block-scalar":{const r=t.props[0];if(r.type!=="block-scalar-header")throw new Error("Invalid block scalar header");l=r.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:l="PLAIN"}const u=a.stringifyString({type:l,value:r},{implicitKey:i||c===null,indent:c!==null&&c>0?" ".repeat(c):"",inFlow:o,options:{blockQuote:true,lineWidth:-1}});switch(u[0]){case"|":case">":setBlockScalarValue(t,u);break;case'"':setFlowScalarValue(t,u,"double-quoted-scalar");break;case"'":setFlowScalarValue(t,u,"single-quoted-scalar");break;default:setFlowScalarValue(t,u,"scalar")}}function setBlockScalarValue(t,r){const n=r.indexOf("\n");const s=r.substring(0,n);const i=r.substring(n+1)+"\n";if(t.type==="block-scalar"){const r=t.props[0];if(r.type!=="block-scalar-header")throw new Error("Invalid block scalar header");r.source=s;t.source=i}else{const{offset:r}=t;const n="indent"in t?t.indent:-1;const o=[{type:"block-scalar-header",offset:r,indent:n,source:s}];if(!addEndtoBlockProps(o,"end"in t?t.end:undefined))o.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(t))if(r!=="type"&&r!=="offset")delete t[r];Object.assign(t,{type:"block-scalar",indent:n,props:o,source:i})}}function addEndtoBlockProps(t,r){if(r)for(const n of r)switch(n.type){case"space":case"comment":t.push(n);break;case"newline":t.push(n);return true}return false}function setFlowScalarValue(t,r,n){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=n;t.source=r;break;case"block-scalar":{const s=t.props.slice(1);let i=r.length;if(t.props[0].type==="block-scalar-header")i-=t.props[0].source.length;for(const t of s)t.offset+=i;delete t.props;Object.assign(t,{type:n,source:r,end:s});break}case"block-map":case"block-seq":{const s=t.offset+r.length;const i={type:"newline",offset:s,indent:t.indent,source:"\n"};delete t.items;Object.assign(t,{type:n,source:r,end:[i]});break}default:{const s="indent"in t?t.indent:-1;const i="end"in t&&Array.isArray(t.end)?t.end.filter((t=>t.type==="space"||t.type==="comment"||t.type==="newline")):[];for(const r of Object.keys(t))if(r!=="type"&&r!=="offset")delete t[r];Object.assign(t,{type:n,indent:s,source:r,end:i})}}}r.createScalarToken=createScalarToken;r.resolveAsScalar=resolveAsScalar;r.setScalarValue=setScalarValue},6307:(t,r)=>{const stringify=t=>"type"in t?stringifyToken(t):stringifyItem(t);function stringifyToken(t){switch(t.type){case"block-scalar":{let r="";for(const n of t.props)r+=stringifyToken(n);return r+t.source}case"block-map":case"block-seq":{let r="";for(const n of t.items)r+=stringifyItem(n);return r}case"flow-collection":{let r=t.start.source;for(const n of t.items)r+=stringifyItem(n);for(const n of t.end)r+=n.source;return r}case"document":{let r=stringifyItem(t);if(t.end)for(const n of t.end)r+=n.source;return r}default:{let r=t.source;if("end"in t&&t.end)for(const n of t.end)r+=n.source;return r}}}function stringifyItem({start:t,key:r,sep:n,value:s}){let i="";for(const r of t)i+=r.source;if(r)i+=stringifyToken(r);if(n)for(const t of n)i+=t.source;if(s)i+=stringifyToken(s);return i}r.stringify=stringify},8497:(t,r)=>{const n=Symbol("break visit");const s=Symbol("skip children");const i=Symbol("remove item");function visit(t,r){if("type"in t&&t.type==="document")t={start:t.start,value:t.value};_visit(Object.freeze([]),t,r)}visit.BREAK=n;visit.SKIP=s;visit.REMOVE=i;visit.itemAtPath=(t,r)=>{let n=t;for(const[t,s]of r){const r=n?.[t];if(r&&"items"in r){n=r.items[s]}else return undefined}return n};visit.parentCollection=(t,r)=>{const n=visit.itemAtPath(t,r.slice(0,-1));const s=r[r.length-1][0];const i=n?.[s];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function _visit(t,r,s){let o=s(r,t);if(typeof o==="symbol")return o;for(const a of["key","value"]){const l=r[a];if(l&&"items"in l){for(let r=0;r{var s=n(9027);var i=n(6307);var o=n(8497);const a="\ufeff";const l="";const c="";const u="";const isCollection=t=>!!t&&"items"in t;const isScalar=t=>!!t&&(t.type==="scalar"||t.type==="single-quoted-scalar"||t.type==="double-quoted-scalar"||t.type==="block-scalar");function prettyToken(t){switch(t){case a:return"";case l:return"";case c:return"";case u:return"";default:return JSON.stringify(t)}}function tokenType(t){switch(t){case a:return"byte-order-mark";case l:return"doc-mode";case c:return"flow-error-end";case u:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}r.createScalarToken=s.createScalarToken;r.resolveAsScalar=s.resolveAsScalar;r.setScalarValue=s.setScalarValue;r.stringify=i.stringify;r.visit=o.visit;r.BOM=a;r.DOCUMENT=l;r.FLOW_END=c;r.SCALAR=u;r.isCollection=isCollection;r.isScalar=isScalar;r.prettyToken=prettyToken;r.tokenType=tokenType},5976:(t,r,n)=>{var s=n(9169);function isEmpty(t){switch(t){case undefined:case" ":case"\n":case"\r":case"\t":return true;default:return false}}const i="0123456789ABCDEFabcdef".split("");const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split("");const a=",[]{}".split("");const l=" ,[]{}\n\r\t".split("");const isNotAnchorChar=t=>!t||l.includes(t);class Lexer{constructor(){this.atEnd=false;this.blockScalarIndent=-1;this.blockScalarKeep=false;this.buffer="";this.flowKey=false;this.flowLevel=0;this.indentNext=0;this.indentValue=0;this.lineEndPos=null;this.next=null;this.pos=0}*lex(t,r=false){if(t){this.buffer=this.buffer?this.buffer+t:t;this.lineEndPos=null}this.atEnd=!r;let n=this.next??"stream";while(n&&(r||this.hasChars(1)))n=yield*this.parseNext(n)}atLineEnd(){let t=this.pos;let r=this.buffer[t];while(r===" "||r==="\t")r=this.buffer[++t];if(!r||r==="#"||r==="\n")return true;if(r==="\r")return this.buffer[t+1]==="\n";return false}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let r=this.buffer[t];if(this.indentNext>0){let n=0;while(r===" ")r=this.buffer[++n+t];if(r==="\r"){const r=this.buffer[n+t+1];if(r==="\n"||!r&&!this.atEnd)return t+n+1}return r==="\n"||n>=this.indentNext||!r&&!this.atEnd?t+n:-1}if(r==="-"||r==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&isEmpty(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;if(typeof t!=="number"||t!==-1&&tthis.indentValue&&!isEmpty(this.charAt(1)))this.indentNext=this.indentValue;return yield*this.parseBlockStart()}*parseBlockStart(){const[t,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&isEmpty(r)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(true));this.indentNext=this.indentValue+1;this.indentValue+=t;return yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(true);const t=this.getLine();if(t===null)return this.setNext("doc");let r=yield*this.pushIndicators();switch(t[r]){case"#":yield*this.pushCount(t.length-r);case undefined:yield*this.pushNewline();return yield*this.parseLineStart();case"{":case"[":yield*this.pushCount(1);this.flowKey=false;this.flowLevel=1;return"flow";case"}":case"]":yield*this.pushCount(1);return"doc";case"*":yield*this.pushUntil(isNotAnchorChar);return"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":r+=(yield*this.parseBlockScalarHeader());r+=(yield*this.pushSpaces(true));yield*this.pushCount(t.length-r);yield*this.pushNewline();return yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,r;let n=-1;do{t=yield*this.pushNewline();if(t>0){r=yield*this.pushSpaces(false);this.indentValue=n=r}else{r=0}r+=(yield*this.pushSpaces(true))}while(t+r>0);const i=this.getLine();if(i===null)return this.setNext("flow");if(n!==-1&&n"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if(r!=="-")break}return yield*this.pushUntil((t=>isEmpty(t)||t==="#"))}*parseBlockScalar(){let t=this.pos-1;let r=0;let n;e:for(let s=this.pos;n=this.buffer[s];++s){switch(n){case" ":r+=1;break;case"\n":t=s;r=0;break;case"\r":{const t=this.buffer[s+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if(t==="\n")break}default:break e}}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){if(this.blockScalarIndent===-1)this.indentNext=r;else this.indentNext+=this.blockScalarIndent;do{const r=this.continueScalar(t+1);if(r===-1)break;t=this.buffer.indexOf("\n",r)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep){do{let n=t-1;let s=this.buffer[n];if(s==="\r")s=this.buffer[--n];const i=n;while(s===" "||s==="\t")s=this.buffer[--n];if(s==="\n"&&n>=this.pos&&n+1+r>i)t=n;else break}while(true)}yield s.SCALAR;yield*this.pushToIndex(t+1,true);return yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let r=this.pos-1;let n=this.pos-1;let i;while(i=this.buffer[++n]){if(i===":"){const s=this.buffer[n+1];if(isEmpty(s)||t&&s===",")break;r=n}else if(isEmpty(i)){let s=this.buffer[n+1];if(i==="\r"){if(s==="\n"){n+=1;i="\n";s=this.buffer[n+1]}else r=n}if(s==="#"||t&&a.includes(s))break;if(i==="\n"){const t=this.continueScalar(n+1);if(t===-1)break;n=Math.max(n,t-2)}}else{if(t&&a.includes(i))break;r=n}}if(!i&&!this.atEnd)return this.setNext("plain-scalar");yield s.SCALAR;yield*this.pushToIndex(r+1,true);return t?"flow":"doc"}*pushCount(t){if(t>0){yield this.buffer.substr(this.pos,t);this.pos+=t;return t}return 0}*pushToIndex(t,r){const n=this.buffer.slice(this.pos,t);if(n){yield n;this.pos+=n.length;return n.length}else if(r)yield"";return 0}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(true))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(isNotAnchorChar))+(yield*this.pushSpaces(true))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0;const r=this.charAt(1);if(isEmpty(r)||t&&a.includes(r)){if(!t)this.indentNext=this.indentValue+1;else if(this.flowKey)this.flowKey=false;return(yield*this.pushCount(1))+(yield*this.pushSpaces(true))+(yield*this.pushIndicators())}}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2;let r=this.buffer[t];while(!isEmpty(r)&&r!==">")r=this.buffer[++t];return yield*this.pushToIndex(r===">"?t+1:t,false)}else{let t=this.pos+1;let r=this.buffer[t];while(r){if(o.includes(r))r=this.buffer[++t];else if(r==="%"&&i.includes(this.buffer[t+1])&&i.includes(this.buffer[t+2])){r=this.buffer[t+=3]}else break}return yield*this.pushToIndex(t,false)}}*pushNewline(){const t=this.buffer[this.pos];if(t==="\n")return yield*this.pushCount(1);else if(t==="\r"&&this.charAt(1)==="\n")return yield*this.pushCount(2);else return 0}*pushSpaces(t){let r=this.pos-1;let n;do{n=this.buffer[++r]}while(n===" "||t&&n==="\t");const s=r-this.pos;if(s>0){yield this.buffer.substr(this.pos,s);this.pos=r}return s}*pushUntil(t){let r=this.pos;let n=this.buffer[r];while(!t(n))n=this.buffer[++r];return yield*this.pushToIndex(r,false)}}r.Lexer=Lexer},1929:(t,r)=>{class LineCounter{constructor(){this.lineStarts=[];this.addNewLine=t=>this.lineStarts.push(t);this.linePos=t=>{let r=0;let n=this.lineStarts.length;while(r>1;if(this.lineStarts[s]{var s=n(9169);var i=n(5976);function includesToken(t,r){for(let n=0;n=0){switch(t[r].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}}while(t[++r]?.type==="space"){}return t.splice(r,t.length)}function fixFlowSeqItems(t){if(t.start.type==="flow-seq-start"){for(const r of t.items){if(r.sep&&!r.value&&!includesToken(r.start,"explicit-key-ind")&&!includesToken(r.sep,"map-value-ind")){if(r.key)r.value=r.key;delete r.key;if(isFlowToken(r.value)){if(r.value.end)Array.prototype.push.apply(r.value.end,r.sep);else r.value.end=r.sep}else Array.prototype.push.apply(r.start,r.sep);delete r.sep}}}}class Parser{constructor(t){this.atNewLine=true;this.atScalar=false;this.indent=0;this.offset=0;this.onKeyLine=false;this.stack=[];this.source="";this.type="";this.lexer=new i.Lexer;this.onNewLine=t}*parse(t,r=false){if(this.onNewLine&&this.offset===0)this.onNewLine(0);for(const n of this.lexer.lex(t,r))yield*this.next(n);if(!r)yield*this.end()}*next(t){this.source=t;if(process.env.LOG_TOKENS)console.log("|",s.prettyToken(t));if(this.atScalar){this.atScalar=false;yield*this.step();this.offset+=t.length;return}const r=s.tokenType(t);if(!r){const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t});this.offset+=t.length}else if(r==="scalar"){this.atNewLine=false;this.atScalar=true;this.type="scalar"}else{this.type=r;yield*this.step();switch(r){case"newline":this.atNewLine=true;this.indent=0;if(this.onNewLine)this.onNewLine(this.offset+t.length);break;case"space":if(this.atNewLine&&t[0]===" ")this.indent+=t.length;break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":if(this.atNewLine)this.indent+=t.length;break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=false}this.offset+=t.length}}*end(){while(this.stack.length>0)yield*this.pop()}get sourceToken(){const t={type:this.type,offset:this.offset,indent:this.indent,source:this.source};return t}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){while(this.stack.length>0)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const r=t??this.stack.pop();if(!r){const t="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:t}}else if(this.stack.length===0){yield r}else{const t=this.peek(1);if(r.type==="block-scalar"){r.indent="indent"in t?t.indent:0}else if(r.type==="flow-collection"&&t.type==="document"){r.indent=0}if(r.type==="flow-collection")fixFlowSeqItems(r);switch(t.type){case"document":t.value=r;break;case"block-scalar":t.props.push(r);break;case"block-map":{const n=t.items[t.items.length-1];if(n.value){t.items.push({start:[],key:r,sep:[]});this.onKeyLine=true;return}else if(n.sep){n.value=r}else{Object.assign(n,{key:r,sep:[]});this.onKeyLine=!includesToken(n.start,"explicit-key-ind");return}break}case"block-seq":{const n=t.items[t.items.length-1];if(n.value)t.items.push({start:[],value:r});else n.value=r;break}case"flow-collection":{const n=t.items[t.items.length-1];if(!n||n.value)t.items.push({start:[],key:r,sep:[]});else if(n.sep)n.value=r;else Object.assign(n,{key:r,sep:[]});return}default:yield*this.pop();yield*this.pop(r)}if((t.type==="document"||t.type==="block-map"||t.type==="block-seq")&&(r.type==="block-map"||r.type==="block-seq")){const n=r.items[r.items.length-1];if(n&&!n.sep&&!n.value&&n.start.length>0&&findNonEmptyIndex(n.start)===-1&&(r.indent===0||n.start.every((t=>t.type!=="comment"||t.indent=t.indent){const n=!this.onKeyLine&&this.indent===t.indent&&r.sep;let s=[];if(n&&r.sep&&!r.value){const n=[];for(let s=0;st.indent)n.length=0;break;default:n.length=0}}if(n.length>=2)s=r.sep.splice(n[1])}switch(this.type){case"anchor":case"tag":if(n||r.value){s.push(this.sourceToken);t.items.push({start:s});this.onKeyLine=true}else if(r.sep){r.sep.push(this.sourceToken)}else{r.start.push(this.sourceToken)}return;case"explicit-key-ind":if(!r.sep&&!includesToken(r.start,"explicit-key-ind")){r.start.push(this.sourceToken)}else if(n||r.value){s.push(this.sourceToken);t.items.push({start:s})}else{this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]})}this.onKeyLine=true;return;case"map-value-ind":if(includesToken(r.start,"explicit-key-ind")){if(!r.sep){if(includesToken(r.start,"newline")){Object.assign(r,{key:null,sep:[this.sourceToken]})}else{const t=getFirstKeyStartProps(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}}else if(r.value){t.items.push({start:[],key:null,sep:[this.sourceToken]})}else if(includesToken(r.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else if(isFlowToken(r.key)&&!includesToken(r.sep,"newline")){const t=getFirstKeyStartProps(r.start);const n=r.key;const s=r.sep;s.push(this.sourceToken);delete r.key,delete r.sep;this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:n,sep:s}]})}else if(s.length>0){r.sep=r.sep.concat(s,this.sourceToken)}else{r.sep.push(this.sourceToken)}}else{if(!r.sep){Object.assign(r,{key:null,sep:[this.sourceToken]})}else if(r.value||n){t.items.push({start:s,key:null,sep:[this.sourceToken]})}else if(includesToken(r.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]})}else{r.sep.push(this.sourceToken)}}this.onKeyLine=true;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);if(n||r.value){t.items.push({start:s,key:i,sep:[]});this.onKeyLine=true}else if(r.sep){this.stack.push(i)}else{Object.assign(r,{key:i,sep:[]});this.onKeyLine=true}return}default:{const i=this.startBlockValue(t);if(i){if(n&&i.type!=="block-seq"&&includesToken(r.start,"explicit-key-ind")){t.items.push({start:s})}this.stack.push(i);return}}}}yield*this.pop();yield*this.step()}*blockSequence(t){const r=t.items[t.items.length-1];switch(this.type){case"newline":if(r.value){const n="end"in r.value?r.value.end:undefined;const s=Array.isArray(n)?n[n.length-1]:undefined;if(s?.type==="comment")n?.push(this.sourceToken);else t.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,t.indent)){const n=t.items[t.items.length-2];const s=n?.value?.end;if(Array.isArray(s)){Array.prototype.push.apply(s,r.start);s.push(this.sourceToken);t.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=t.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;if(r.value||includesToken(r.start,"seq-item-ind"))t.items.push({start:[this.sourceToken]});else r.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop();yield*this.step()}*flowCollection(t){const r=t.items[t.items.length-1];if(this.type==="flow-error-end"){let t;do{yield*this.pop();t=this.peek(1)}while(t&&t.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":if(!r||r.sep)t.items.push({start:[this.sourceToken]});else r.start.push(this.sourceToken);return;case"map-value-ind":if(!r||r.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":if(!r||r.value)t.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);if(!r||r.value)t.items.push({start:[],key:n,sep:[]});else if(r.sep)this.stack.push(n);else Object.assign(r,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const n=this.startBlockValue(t);if(n)this.stack.push(n);else{yield*this.pop();yield*this.step()}}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep)){yield*this.pop();yield*this.step()}else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const n=getPrevProps(r);const s=getFirstKeyStartProps(n);fixFlowSeqItems(t);const i=t.end.splice(1,t.end.length);i.push(this.sourceToken);const o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:i}]};this.onKeyLine=true;this.stack[this.stack.length-1]=o}else{yield*this.lineEnd(t)}}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;while(t!==0){this.onNewLine(this.offset+t);t=this.source.indexOf("\n",t)+1}}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=true;const r=getPrevProps(t);const n=getFirstKeyStartProps(r);n.push(this.sourceToken);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n}]}}case"map-value-ind":{this.onKeyLine=true;const r=getPrevProps(t);const n=getFirstKeyStartProps(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,r){if(this.type!=="comment")return false;if(this.indent<=r)return false;return t.every((t=>t.type==="newline"||t.type==="space"))}*documentEnd(t){if(this.type!=="doc-mode"){if(t.end)t.end.push(this.sourceToken);else t.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop();yield*this.step();break;case"newline":this.onKeyLine=false;case"space":case"comment":default:if(t.end)t.end.push(this.sourceToken);else t.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}r.Parser=Parser},8649:(t,r,n)=>{var s=n(9493);var i=n(42);var o=n(4236);var a=n(6909);var l=n(1929);var c=n(3328);function parseOptions(t){const r=t.prettyErrors!==false;const n=t.lineCounter||r&&new l.LineCounter||null;return{lineCounter:n,prettyErrors:r}}function parseAllDocuments(t,r={}){const{lineCounter:n,prettyErrors:i}=parseOptions(r);const a=new c.Parser(n?.addNewLine);const l=new s.Composer(r);const u=Array.from(l.compose(a.parse(t)));if(i&&n)for(const r of u){r.errors.forEach(o.prettifyError(t,n));r.warnings.forEach(o.prettifyError(t,n))}if(u.length>0)return u;return Object.assign([],{empty:true},l.streamInfo())}function parseDocument(t,r={}){const{lineCounter:n,prettyErrors:i}=parseOptions(r);const a=new c.Parser(n?.addNewLine);const l=new s.Composer(r);let u=null;for(const r of l.compose(a.parse(t),true,t.length)){if(!u)u=r;else if(u.options.logLevel!=="silent"){u.errors.push(new o.YAMLParseError(r.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}if(i&&n){u.errors.forEach(o.prettifyError(t,n));u.warnings.forEach(o.prettifyError(t,n))}return u}function parse(t,r,n){let s=undefined;if(typeof r==="function"){s=r}else if(n===undefined&&r&&typeof r==="object"){n=r}const i=parseDocument(t,n);if(!i)return null;i.warnings.forEach((t=>a.warn(i.options.logLevel,t)));if(i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];else i.errors=[]}return i.toJS(Object.assign({reviver:s},n))}function stringify(t,r,n){let s=null;if(typeof r==="function"||Array.isArray(r)){s=r}else if(n===undefined&&r){n=r}if(typeof n==="string")n=n.length;if(typeof n==="number"){const t=Math.round(n);n=t<1?undefined:t>8?{indent:8}:{indent:t}}if(t===undefined){const{keepUndefined:t}=n??r??{};if(!t)return undefined}return new i.Document(t,s,n).toString(n)}r.parse=parse;r.parseAllDocuments=parseAllDocuments;r.parseDocument=parseDocument;r.stringify=stringify},6831:(t,r,n)=>{var s=n(5589);var i=n(83);var o=n(1693);var a=n(2201);var l=n(4138);const sortMapEntriesByKey=(t,r)=>t.keyr.key?1:0;class Schema{constructor({compat:t,customTags:r,merge:n,resolveKnownTags:c,schema:u,sortMapEntries:d,toStringDefaults:p}){this.compat=Array.isArray(t)?l.getTags(t,"compat"):t?l.getTags(null,t):null;this.merge=!!n;this.name=typeof u==="string"&&u||"core";this.knownTags=c?l.coreKnownTags:{};this.tags=l.getTags(r,this.name);this.toStringOptions=p??null;Object.defineProperty(this,s.MAP,{value:i.map});Object.defineProperty(this,s.SCALAR,{value:a.string});Object.defineProperty(this,s.SEQ,{value:o.seq});this.sortMapEntries=typeof d==="function"?d:d===true?sortMapEntriesByKey:null}clone(){const t=Object.create(Schema.prototype,Object.getOwnPropertyDescriptors(this));t.tags=this.tags.slice();return t}}r.Schema=Schema},83:(t,r,n)=>{var s=n(5589);var i=n(6011);const o={collection:"map",default:true,nodeClass:i.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(t,r){if(!s.isMap(t))r("Expected a mapping for this tag");return t},createNode:(t,r,n)=>i.YAMLMap.from(t,r,n)};r.map=o},6703:(t,r,n)=>{var s=n(9338);const i={identify:t=>t==null,createNode:()=>new s.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new s.Scalar(null),stringify:({source:t},r)=>typeof t==="string"&&i.test.test(t)?t:r.options.nullStr};r.nullTag=i},1693:(t,r,n)=>{var s=n(5589);var i=n(5161);const o={collection:"seq",default:true,nodeClass:i.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(t,r){if(!s.isSeq(t))r("Expected a sequence for this tag");return t},createNode:(t,r,n)=>i.YAMLSeq.from(t,r,n)};r.seq=o},2201:(t,r,n)=>{var s=n(6226);const i={identify:t=>typeof t==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify(t,r,n,i){r=Object.assign({actualString:true},r);return s.stringifyString(t,r,n,i)}};r.string=i},2045:(t,r,n)=>{var s=n(9338);const i={identify:t=>typeof t==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new s.Scalar(t[0]==="t"||t[0]==="T"),stringify({source:t,value:r},n){if(t&&i.test.test(t)){const n=t[0]==="t"||t[0]==="T";if(r===n)return t}return r?n.options.trueStr:n.options.falseStr}};r.boolTag=i},6810:(t,r,n)=>{var s=n(9338);var i=n(4174);const o={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:i.stringifyNumber};const a={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const r=Number(t.value);return isFinite(r)?r.toExponential():i.stringifyNumber(t)}};const l={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const r=new s.Scalar(parseFloat(t));const n=t.indexOf(".");if(n!==-1&&t[t.length-1]==="0")r.minFractionDigits=t.length-n-1;return r},stringify:i.stringifyNumber};r.float=l;r.floatExp=a;r.floatNaN=o},3019:(t,r,n)=>{var s=n(4174);const intIdentify=t=>typeof t==="bigint"||Number.isInteger(t);const intResolve=(t,r,n,{intAsBigInt:s})=>s?BigInt(t):parseInt(t.substring(r),n);function intStringify(t,r,n){const{value:i}=t;if(intIdentify(i)&&i>=0)return n+i.toString(r);return s.stringifyNumber(t)}const i={identify:t=>intIdentify(t)&&t>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,r,n)=>intResolve(t,2,8,n),stringify:t=>intStringify(t,8,"0o")};const o={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,r,n)=>intResolve(t,0,10,n),stringify:s.stringifyNumber};const a={identify:t=>intIdentify(t)&&t>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,r,n)=>intResolve(t,2,16,n),stringify:t=>intStringify(t,16,"0x")};r.int=o;r.intHex=a;r.intOct=i},27:(t,r,n)=>{var s=n(83);var i=n(6703);var o=n(1693);var a=n(2201);var l=n(2045);var c=n(6810);var u=n(3019);const d=[s.map,o.seq,a.string,i.nullTag,l.boolTag,u.intOct,u.int,u.intHex,c.floatNaN,c.floatExp,c.float];r.schema=d},4545:(t,r,n)=>{var s=n(9338);var i=n(83);var o=n(1693);function intIdentify(t){return typeof t==="bigint"||Number.isInteger(t)}const stringifyJSON=({value:t})=>JSON.stringify(t);const a=[{identify:t=>typeof t==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:stringifyJSON},{identify:t=>t==null,createNode:()=>new s.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:t=>typeof t==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:stringifyJSON},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,r,{intAsBigInt:n})=>n?BigInt(t):parseInt(t,10),stringify:({value:t})=>intIdentify(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:stringifyJSON}];const l={default:true,tag:"",test:/^/,resolve(t,r){r(`Unresolved plain scalar ${JSON.stringify(t)}`);return t}};const c=[i.map,o.seq].concat(a,l);r.schema=c},4138:(t,r,n)=>{var s=n(83);var i=n(6703);var o=n(1693);var a=n(2201);var l=n(2045);var c=n(6810);var u=n(3019);var d=n(27);var p=n(4545);var h=n(5724);var m=n(8974);var g=n(9841);var y=n(5389);var b=n(7847);var _=n(1156);const S=new Map([["core",d.schema],["failsafe",[s.map,o.seq,a.string]],["json",p.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]);const E={binary:h.binary,bool:l.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:_.floatTime,int:u.int,intHex:u.intHex,intOct:u.intOct,intTime:_.intTime,map:s.map,null:i.nullTag,omap:m.omap,pairs:g.pairs,seq:o.seq,set:b.set,timestamp:_.timestamp};const v={"tag:yaml.org,2002:binary":h.binary,"tag:yaml.org,2002:omap":m.omap,"tag:yaml.org,2002:pairs":g.pairs,"tag:yaml.org,2002:set":b.set,"tag:yaml.org,2002:timestamp":_.timestamp};function getTags(t,r){let n=S.get(r);if(!n){if(Array.isArray(t))n=[];else{const t=Array.from(S.keys()).filter((t=>t!=="yaml11")).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${t} or define customTags array`)}}if(Array.isArray(t)){for(const r of t)n=n.concat(r)}else if(typeof t==="function"){n=t(n.slice())}return n.map((t=>{if(typeof t!=="string")return t;const r=E[t];if(r)return r;const n=Object.keys(E).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag "${t}"; use one of ${n}`)}))}r.coreKnownTags=v;r.getTags=getTags},5724:(t,r,n)=>{var s=n(9338);var i=n(6226);const o={identify:t=>t instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve(t,r){if(typeof Buffer==="function"){return Buffer.from(t,"base64")}else if(typeof atob==="function"){const r=atob(t.replace(/[\n\r]/g,""));const n=new Uint8Array(r.length);for(let t=0;t{var s=n(9338);function boolStringify({value:t,source:r},n){const s=t?i:o;if(r&&s.test.test(r))return r;return t?n.options.trueStr:n.options.falseStr}const i={identify:t=>t===true,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new s.Scalar(true),stringify:boolStringify};const o={identify:t=>t===false,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new s.Scalar(false),stringify:boolStringify};r.falseTag=o;r.trueTag=i},8035:(t,r,n)=>{var s=n(9338);var i=n(4174);const o={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:i.stringifyNumber};const a={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const r=Number(t.value);return isFinite(r)?r.toExponential():i.stringifyNumber(t)}};const l={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const r=new s.Scalar(parseFloat(t.replace(/_/g,"")));const n=t.indexOf(".");if(n!==-1){const s=t.substring(n+1).replace(/_/g,"");if(s[s.length-1]==="0")r.minFractionDigits=s.length}return r},stringify:i.stringifyNumber};r.float=l;r.floatExp=a;r.floatNaN=o},9503:(t,r,n)=>{var s=n(4174);const intIdentify=t=>typeof t==="bigint"||Number.isInteger(t);function intResolve(t,r,n,{intAsBigInt:s}){const i=t[0];if(i==="-"||i==="+")r+=1;t=t.substring(r).replace(/_/g,"");if(s){switch(n){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`;break}const r=BigInt(t);return i==="-"?BigInt(-1)*r:r}const o=parseInt(t,n);return i==="-"?-1*o:o}function intStringify(t,r,n){const{value:i}=t;if(intIdentify(i)){const t=i.toString(r);return i<0?"-"+n+t.substr(1):n+t}return s.stringifyNumber(t)}const i={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,r,n)=>intResolve(t,2,2,n),stringify:t=>intStringify(t,2,"0b")};const o={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,r,n)=>intResolve(t,1,8,n),stringify:t=>intStringify(t,8,"0")};const a={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,r,n)=>intResolve(t,0,10,n),stringify:s.stringifyNumber};const l={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,r,n)=>intResolve(t,2,16,n),stringify:t=>intStringify(t,16,"0x")};r.int=a;r.intBin=i;r.intHex=l;r.intOct=o},8974:(t,r,n)=>{var s=n(5589);var i=n(2358);var o=n(6011);var a=n(5161);var l=n(9841);class YAMLOMap extends a.YAMLSeq{constructor(){super();this.add=o.YAMLMap.prototype.add.bind(this);this.delete=o.YAMLMap.prototype.delete.bind(this);this.get=o.YAMLMap.prototype.get.bind(this);this.has=o.YAMLMap.prototype.has.bind(this);this.set=o.YAMLMap.prototype.set.bind(this);this.tag=YAMLOMap.tag}toJSON(t,r){if(!r)return super.toJSON(t);const n=new Map;if(r?.onCreate)r.onCreate(n);for(const t of this.items){let o,a;if(s.isPair(t)){o=i.toJS(t.key,"",r);a=i.toJS(t.value,o,r)}else{o=i.toJS(t,"",r)}if(n.has(o))throw new Error("Ordered maps must not include duplicate keys");n.set(o,a)}return n}static from(t,r,n){const s=l.createPairs(t,r,n);const i=new this;i.items=s.items;return i}}YAMLOMap.tag="tag:yaml.org,2002:omap";const c={collection:"seq",identify:t=>t instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve(t,r){const n=l.resolvePairs(t,r);const i=[];for(const{key:t}of n.items){if(s.isScalar(t)){if(i.includes(t.value)){r(`Ordered maps must not include duplicate keys: ${t.value}`)}else{i.push(t.value)}}}return Object.assign(new YAMLOMap,n)},createNode:(t,r,n)=>YAMLOMap.from(t,r,n)};r.YAMLOMap=YAMLOMap;r.omap=c},9841:(t,r,n)=>{var s=n(5589);var i=n(246);var o=n(9338);var a=n(5161);function resolvePairs(t,r){if(s.isSeq(t)){for(let n=0;n1)r("Each pair must have its own sequence indicator");const t=a.items[0]||new i.Pair(new o.Scalar(null));if(a.commentBefore)t.key.commentBefore=t.key.commentBefore?`${a.commentBefore}\n${t.key.commentBefore}`:a.commentBefore;if(a.comment){const r=t.value??t.key;r.comment=r.comment?`${a.comment}\n${r.comment}`:a.comment}a=t}t.items[n]=s.isPair(a)?a:new i.Pair(a)}}else r("Expected a sequence for this tag");return t}function createPairs(t,r,n){const{replacer:s}=n;const o=new a.YAMLSeq(t);o.tag="tag:yaml.org,2002:pairs";let l=0;if(r&&Symbol.iterator in Object(r))for(let t of r){if(typeof s==="function")t=s.call(r,String(l++),t);let a,c;if(Array.isArray(t)){if(t.length===2){a=t[0];c=t[1]}else throw new TypeError(`Expected [key, value] tuple: ${t}`)}else if(t&&t instanceof Object){const r=Object.keys(t);if(r.length===1){a=r[0];c=t[a]}else{throw new TypeError(`Expected tuple with one key, not ${r.length} keys`)}}else{a=t}o.items.push(i.createPair(a,c,n))}return o}const l={collection:"seq",default:false,tag:"tag:yaml.org,2002:pairs",resolve:resolvePairs,createNode:createPairs};r.createPairs=createPairs;r.pairs=l;r.resolvePairs=resolvePairs},5389:(t,r,n)=>{var s=n(83);var i=n(6703);var o=n(1693);var a=n(2201);var l=n(5724);var c=n(2631);var u=n(8035);var d=n(9503);var p=n(8974);var h=n(9841);var m=n(7847);var g=n(1156);const y=[s.map,o.seq,a.string,i.nullTag,c.trueTag,c.falseTag,d.intBin,d.intOct,d.int,d.intHex,u.floatNaN,u.floatExp,u.float,l.binary,p.omap,h.pairs,m.set,g.intTime,g.floatTime,g.timestamp];r.schema=y},7847:(t,r,n)=>{var s=n(5589);var i=n(246);var o=n(6011);class YAMLSet extends o.YAMLMap{constructor(t){super(t);this.tag=YAMLSet.tag}add(t){let r;if(s.isPair(t))r=t;else if(t&&typeof t==="object"&&"key"in t&&"value"in t&&t.value===null)r=new i.Pair(t.key,null);else r=new i.Pair(t,null);const n=o.findPair(this.items,r.key);if(!n)this.items.push(r)}get(t,r){const n=o.findPair(this.items,t);return!r&&s.isPair(n)?s.isScalar(n.key)?n.key.value:n.key:n}set(t,r){if(typeof r!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);const n=o.findPair(this.items,t);if(n&&!r){this.items.splice(this.items.indexOf(n),1)}else if(!n&&r){this.items.push(new i.Pair(t))}}toJSON(t,r){return super.toJSON(t,r,Set)}toString(t,r,n){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(true))return super.toString(Object.assign({},t,{allNullValues:true}),r,n);else throw new Error("Set items must all have null values")}static from(t,r,n){const{replacer:s}=n;const o=new this(t);if(r&&Symbol.iterator in Object(r))for(let t of r){if(typeof s==="function")t=s.call(r,t,t);o.items.push(i.createPair(t,null,n))}return o}}YAMLSet.tag="tag:yaml.org,2002:set";const a={collection:"map",identify:t=>t instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",createNode:(t,r,n)=>YAMLSet.from(t,r,n),resolve(t,r){if(s.isMap(t)){if(t.hasAllNullValues(true))return Object.assign(new YAMLSet,t);else r("Set items must all have null values")}else r("Expected a mapping for this tag");return t}};r.YAMLSet=YAMLSet;r.set=a},1156:(t,r,n)=>{var s=n(4174);function parseSexagesimal(t,r){const n=t[0];const s=n==="-"||n==="+"?t.substring(1):t;const num=t=>r?BigInt(t):Number(t);const i=s.replace(/_/g,"").split(":").reduce(((t,r)=>t*num(60)+num(r)),num(0));return n==="-"?num(-1)*i:i}function stringifySexagesimal(t){let{value:r}=t;let num=t=>t;if(typeof r==="bigint")num=t=>BigInt(t);else if(isNaN(r)||!isFinite(r))return s.stringifyNumber(t);let n="";if(r<0){n="-";r*=num(-1)}const i=num(60);const o=[r%i];if(r<60){o.unshift(0)}else{r=(r-o[0])/i;o.unshift(r%i);if(r>=60){r=(r-o[0])/i;o.unshift(r)}}return n+o.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const i={identify:t=>typeof t==="bigint"||Number.isInteger(t),default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,r,{intAsBigInt:n})=>parseSexagesimal(t,n),stringify:stringifySexagesimal};const o={identify:t=>typeof t==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>parseSexagesimal(t,false),stringify:stringifySexagesimal};const a={identify:t=>t instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:"+"(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?$"),resolve(t){const r=t.match(a.test);if(!r)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,s,i,o,l,c]=r.map(Number);const u=r[7]?Number((r[7]+"00").substr(1,3)):0;let d=Date.UTC(n,s-1,i,o||0,l||0,c||0,u);const p=r[8];if(p&&p!=="Z"){let t=parseSexagesimal(p,false);if(Math.abs(t)<30)t*=60;d-=6e4*t}return new Date(d)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};r.floatTime=o;r.intTime=i;r.timestamp=a},2889:(t,r)=>{const n="flow";const s="block";const i="quoted";function foldFlowLines(t,r,n="flow",{indentAtStart:o,lineWidth:a=80,minContentWidth:l=20,onFold:c,onOverflow:u}={}){if(!a||a<0)return t;const d=Math.max(1+l,1+a-r.length);if(t.length<=d)return t;const p=[];const h={};let m=a-r.length;if(typeof o==="number"){if(o>a-Math.max(2,l))p.push(0);else m=a-o}let g=undefined;let y=undefined;let b=false;let _=-1;let S=-1;let E=-1;if(n===s){_=consumeMoreIndentedLines(t,_);if(_!==-1)m=_+d}for(let r;r=t[_+=1];){if(n===i&&r==="\\"){S=_;switch(t[_+1]){case"x":_+=3;break;case"u":_+=5;break;case"U":_+=9;break;default:_+=1}E=_}if(r==="\n"){if(n===s)_=consumeMoreIndentedLines(t,_);m=_+d;g=undefined}else{if(r===" "&&y&&y!==" "&&y!=="\n"&&y!=="\t"){const r=t[_+1];if(r&&r!==" "&&r!=="\n"&&r!=="\t")g=_}if(_>=m){if(g){p.push(g);m=g+d;g=undefined}else if(n===i){while(y===" "||y==="\t"){y=r;r=t[_+=1];b=true}const n=_>E+1?_-2:S-1;if(h[n])return t;p.push(n);h[n]=true;m=n+d;g=undefined}else{b=true}}}y=r}if(b&&u)u();if(p.length===0)return t;if(c)c();let v=t.slice(0,p[0]);for(let s=0;s{var s=n(8459);var i=n(5589);var o=n(5182);var a=n(6226);function createStringifyContext(t,r){const n=Object.assign({blockQuote:true,commentString:o.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:false,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:true,indentSeq:true,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:false,singleQuote:null,trueStr:"true",verifyAliasOrder:true},t.schema.toStringOptions,r);let s;switch(n.collectionStyle){case"block":s=false;break;case"flow":s=true;break;default:s=null}return{anchors:new Set,doc:t,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent==="number"?" ".repeat(n.indent):" ",inFlow:s,options:n}}function getTagObject(t,r){if(r.tag){const n=t.filter((t=>t.tag===r.tag));if(n.length>0)return n.find((t=>t.format===r.format))??n[0]}let n=undefined;let s;if(i.isScalar(r)){s=r.value;const i=t.filter((t=>t.identify?.(s)));n=i.find((t=>t.format===r.format))??i.find((t=>!t.format))}else{s=r;n=t.find((t=>t.nodeClass&&s instanceof t.nodeClass))}if(!n){const t=s?.constructor?.name??typeof s;throw new Error(`Tag not resolved for ${t} value`)}return n}function stringifyProps(t,r,{anchors:n,doc:o}){if(!o.directives)return"";const a=[];const l=(i.isScalar(t)||i.isCollection(t))&&t.anchor;if(l&&s.anchorIsValid(l)){n.add(l);a.push(`&${l}`)}const c=t.tag?t.tag:r.default?null:r.tag;if(c)a.push(o.directives.tagString(c));return a.join(" ")}function stringify(t,r,n,s){if(i.isPair(t))return t.toString(r,n,s);if(i.isAlias(t)){if(r.doc.directives)return t.toString(r);if(r.resolvedAliases?.has(t)){throw new TypeError(`Cannot stringify circular structure without alias nodes`)}else{if(r.resolvedAliases)r.resolvedAliases.add(t);else r.resolvedAliases=new Set([t]);t=t.resolve(r.doc)}}let o=undefined;const l=i.isNode(t)?t:r.doc.createNode(t,{onTagObj:t=>o=t});if(!o)o=getTagObject(r.doc.schema.tags,l);const c=stringifyProps(l,o,r);if(c.length>0)r.indentAtStart=(r.indentAtStart??0)+c.length+1;const u=typeof o.stringify==="function"?o.stringify(l,r,n,s):i.isScalar(l)?a.stringifyString(l,r,n,s):l.toString(r,n,s);if(!c)return u;return i.isScalar(l)||u[0]==="{"||u[0]==="["?`${c} ${u}`:`${c}\n${r.indent}${u}`}r.createStringifyContext=createStringifyContext;r.stringify=stringify},2466:(t,r,n)=>{var s=n(2240);var i=n(5589);var o=n(8409);var a=n(5182);function stringifyCollection(t,r,n){const s=r.inFlow??t.flow;const i=s?stringifyFlowCollection:stringifyBlockCollection;return i(t,r,n)}function stringifyBlockCollection({comment:t,items:r},n,{blockItemPrefix:s,flowChars:l,itemIndent:c,onChompKeep:u,onComment:d}){const{indent:p,options:{commentString:h}}=n;const m=Object.assign({},n,{indent:c,type:null});let g=false;const y=[];for(let t=0;tu=null),(()=>g=true));if(u)d+=a.lineComment(d,c,h(u));if(g&&u)g=false;y.push(s+d)}let b;if(y.length===0){b=l.start+l.end}else{b=y[0];for(let t=1;tl=null));if(tb||u.includes("\n")))y=true;_.push(u);b=_.length}let S;const{start:E,end:v}=l;if(_.length===0){S=E+v}else{if(!y){const t=_.reduce(((t,r)=>t+r.length+2),2);y=t>s.Collection.maxFlowStringSingleLineLength}if(y){S=E;for(const t of _)S+=t?`\n${p}${d}${t}`:"\n";S+=`\n${d}${v}`}else{S=`${E}${h}${_.join(" ")}${h}${v}`}}if(t){S+=a.lineComment(S,d,m(t));if(u)u()}return S}function addCommentBefore({indent:t,options:{commentString:r}},n,s,i){if(s&&i)s=s.replace(/^\n+/,"");if(s){const i=a.indentComment(r(s),t);n.push(i.trimStart())}}r.stringifyCollection=stringifyCollection},5182:(t,r)=>{const stringifyComment=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function indentComment(t,r){if(/^\n+$/.test(t))return t.substring(1);return r?t.replace(/^(?! *$)/gm,r):t}const lineComment=(t,r,n)=>t.endsWith("\n")?indentComment(n,r):n.includes("\n")?"\n"+indentComment(n,r):(t.endsWith(" ")?"":" ")+n;r.indentComment=indentComment;r.lineComment=lineComment;r.stringifyComment=stringifyComment},5225:(t,r,n)=>{var s=n(5589);var i=n(8409);var o=n(5182);function stringifyDocument(t,r){const n=[];let a=r.directives===true;if(r.directives!==false&&t.directives){const r=t.directives.toString(t);if(r){n.push(r);a=true}else if(t.directives.docStart)a=true}if(a)n.push("---");const l=i.createStringifyContext(t,r);const{commentString:c}=l.options;if(t.commentBefore){if(n.length!==1)n.unshift("");const r=c(t.commentBefore);n.unshift(o.indentComment(r,""))}let u=false;let d=null;if(t.contents){if(s.isNode(t.contents)){if(t.contents.spaceBefore&&a)n.push("");if(t.contents.commentBefore){const r=c(t.contents.commentBefore);n.push(o.indentComment(r,""))}l.forceBlockIndent=!!t.comment;d=t.contents.comment}const r=d?undefined:()=>u=true;let p=i.stringify(t.contents,l,(()=>d=null),r);if(d)p+=o.lineComment(p,"",c(d));if((p[0]==="|"||p[0]===">")&&n[n.length-1]==="---"){n[n.length-1]=`--- ${p}`}else n.push(p)}else{n.push(i.stringify(t.contents,l))}if(t.directives?.docEnd){if(t.comment){const r=c(t.comment);if(r.includes("\n")){n.push("...");n.push(o.indentComment(r,""))}else{n.push(`... ${r}`)}}else{n.push("...")}}else{let r=t.comment;if(r&&u)r=r.replace(/^\n+/,"");if(r){if((!u||d)&&n[n.length-1]!=="")n.push("");n.push(o.indentComment(c(r),""))}}return n.join("\n")+"\n"}r.stringifyDocument=stringifyDocument},4174:(t,r)=>{function stringifyNumber({format:t,minFractionDigits:r,tag:n,value:s}){if(typeof s==="bigint")return String(s);const i=typeof s==="number"?s:Number(s);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let o=JSON.stringify(s);if(!t&&r&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(o)){let t=o.indexOf(".");if(t<0){t=o.length;o+="."}let n=r-(o.length-t-1);while(n-- >0)o+="0"}return o}r.stringifyNumber=stringifyNumber},4875:(t,r,n)=>{var s=n(5589);var i=n(9338);var o=n(8409);var a=n(5182);function stringifyPair({key:t,value:r},n,l,c){const{allNullValues:u,doc:d,indent:p,indentStep:h,options:{commentString:m,indentSeq:g,simpleKeys:y}}=n;let b=s.isNode(t)&&t.comment||null;if(y){if(b){throw new Error("With simple keys, key nodes cannot have comments")}if(s.isCollection(t)){const t="With simple keys, collection cannot be used as a key value";throw new Error(t)}}let _=!y&&(!t||b&&r==null&&!n.inFlow||s.isCollection(t)||(s.isScalar(t)?t.type===i.Scalar.BLOCK_FOLDED||t.type===i.Scalar.BLOCK_LITERAL:typeof t==="object"));n=Object.assign({},n,{allNullValues:false,implicitKey:!_&&(y||!u),indent:p+h});let S=false;let E=false;let v=o.stringify(t,n,(()=>S=true),(()=>E=true));if(!_&&!n.inFlow&&v.length>1024){if(y)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");_=true}if(n.inFlow){if(u||r==null){if(S&&l)l();return v===""?"?":_?`? ${v}`:v}}else if(u&&!y||r==null&&_){v=`? ${v}`;if(b&&!S){v+=a.lineComment(v,n.indent,m(b))}else if(E&&c)c();return v}if(S)b=null;if(_){if(b)v+=a.lineComment(v,n.indent,m(b));v=`? ${v}\n${p}:`}else{v=`${v}:`;if(b)v+=a.lineComment(v,n.indent,m(b))}let R,w,C;if(s.isNode(r)){R=!!r.spaceBefore;w=r.commentBefore;C=r.comment}else{R=false;w=null;C=null;if(r&&typeof r==="object")r=d.createNode(r)}n.implicitKey=false;if(!_&&!b&&s.isScalar(r))n.indentAtStart=v.length+1;E=false;if(!g&&h.length>=2&&!n.inFlow&&!_&&s.isSeq(r)&&!r.flow&&!r.tag&&!r.anchor){n.indent=n.indent.substring(2)}let A=false;const T=o.stringify(r,n,(()=>A=true),(()=>E=true));let I=" ";if(b||R||w){I=R?"\n":"";if(w){const t=m(w);I+=`\n${a.indentComment(t,n.indent)}`}if(T===""&&!n.inFlow){if(I==="\n")I="\n\n"}else{I+=`\n${n.indent}`}}else if(!_&&s.isCollection(r)){const t=T[0];const s=T.indexOf("\n");const i=s!==-1;const o=n.inFlow??r.flow??r.items.length===0;if(i||!o){let r=false;if(i&&(t==="&"||t==="!")){let n=T.indexOf(" ");if(t==="&"&&n!==-1&&n{var s=n(9338);var i=n(2889);const getFoldOptions=(t,r)=>({indentAtStart:r?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth});const containsDocumentMarker=t=>/^(%|---|\.\.\.)/m.test(t);function lineLengthOverLimit(t,r,n){if(!r||r<0)return false;const s=r-n;const i=t.length;if(i<=s)return false;for(let r=0,n=0;rs)return true;n=r+1;if(i-n<=s)return false}}return true}function doubleQuotedString(t,r){const n=JSON.stringify(t);if(r.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=r;const o=r.options.doubleQuotedMinMultiLineLength;const a=r.indent||(containsDocumentMarker(t)?" ":"");let l="";let c=0;for(let t=0,r=n[t];r;r=n[++t]){if(r===" "&&n[t+1]==="\\"&&n[t+2]==="n"){l+=n.slice(c,t)+"\\ ";t+=1;c=t;r="\\"}if(r==="\\")switch(n[t+1]){case"u":{l+=n.slice(c,t);const r=n.substr(t+2,4);switch(r){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:if(r.substr(0,2)==="00")l+="\\x"+r.substr(2);else l+=n.substr(t,6)}t+=5;c=t+1}break;case"n":if(s||n[t+2]==='"'||n.length\n";let g;let y;for(y=n.length;y>0;--y){const t=n[y-1];if(t!=="\n"&&t!=="\t"&&t!==" ")break}let b=n.substring(y);const _=b.indexOf("\n");if(_===-1){g="-"}else if(n===b||_!==b.length-1){g="+";if(c)c()}else{g=""}if(b){n=n.slice(0,-b.length);if(b[b.length-1]==="\n")b=b.slice(0,-1);b=b.replace(o,`$&${h}`)}let S=false;let E;let v=-1;for(E=0;E")+(S?w:"")+g;if(t){C+=" "+d(t.replace(/ ?[\r\n]+/g," "));if(l)l()}if(m){n=n.replace(/\n+/g,`$&${h}`);return`${C}\n${h}${R}${n}${b}`}n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${h}`);const A=i.foldFlowLines(`${R}${n}${b}`,h,i.FOLD_BLOCK,getFoldOptions(a,true));return`${C}\n${h}${A}`}function plainString(t,r,n,o){const{type:a,value:l}=t;const{actualString:c,implicitKey:u,indent:d,indentStep:p,inFlow:h}=r;if(u&&l.includes("\n")||h&&/[[\]{},]/.test(l)){return quotedString(l,r)}if(!l||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(l)){return u||h||!l.includes("\n")?quotedString(l,r):blockString(t,r,n,o)}if(!u&&!h&&a!==s.Scalar.PLAIN&&l.includes("\n")){return blockString(t,r,n,o)}if(containsDocumentMarker(l)){if(d===""){r.forceBlockIndent=true;return blockString(t,r,n,o)}else if(u&&d===p){return quotedString(l,r)}}const m=l.replace(/\n+/g,`$&\n${d}`);if(c){const test=t=>t.default&&t.tag!=="tag:yaml.org,2002:str"&&t.test?.test(m);const{compat:t,tags:n}=r.doc.schema;if(n.some(test)||t?.some(test))return quotedString(l,r)}return u?m:i.foldFlowLines(m,d,i.FOLD_FLOW,getFoldOptions(r,false))}function stringifyString(t,r,n,i){const{implicitKey:o,inFlow:a}=r;const l=typeof t.value==="string"?t:Object.assign({},t,{value:String(t.value)});let{type:c}=t;if(c!==s.Scalar.QUOTE_DOUBLE){if(/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(l.value))c=s.Scalar.QUOTE_DOUBLE}const _stringify=t=>{switch(t){case s.Scalar.BLOCK_FOLDED:case s.Scalar.BLOCK_LITERAL:return o||a?quotedString(l.value,r):blockString(l,r,n,i);case s.Scalar.QUOTE_DOUBLE:return doubleQuotedString(l.value,r);case s.Scalar.QUOTE_SINGLE:return singleQuotedString(l.value,r);case s.Scalar.PLAIN:return plainString(l,r,n,i);default:return null}};let u=_stringify(c);if(u===null){const{defaultKeyType:t,defaultStringType:n}=r.options;const s=o&&t||n;u=_stringify(s);if(u===null)throw new Error(`Unsupported default string type ${s}`)}return u}r.stringifyString=stringifyString},6796:(t,r,n)=>{var s=n(5589);const i=Symbol("break visit");const o=Symbol("skip children");const a=Symbol("remove node");function visit(t,r){const n=initVisitor(r);if(s.isDocument(t)){const r=visit_(null,t.contents,n,Object.freeze([t]));if(r===a)t.contents=null}else visit_(null,t,n,Object.freeze([]))}visit.BREAK=i;visit.SKIP=o;visit.REMOVE=a;function visit_(t,r,n,o){const l=callVisitor(t,r,n,o);if(s.isNode(l)||s.isPair(l)){replaceNode(t,o,l);return visit_(t,l,n,o)}if(typeof l!=="symbol"){if(s.isCollection(r)){o=Object.freeze(o.concat(r));for(let t=0;t{const s=65536;if(!globalThis.ReadableStream){try{const t=n(7742);const{emitWarning:r}=t;try{t.emitWarning=()=>{};Object.assign(globalThis,n(2477));t.emitWarning=r}catch(n){t.emitWarning=r;throw n}}catch(t){Object.assign(globalThis,n(1452))}}try{const{Blob:t}=n(4300);if(t&&!t.prototype.stream){t.prototype.stream=function name(t){let r=0;const n=this;return new ReadableStream({type:"bytes",async pull(t){const i=n.slice(r,Math.min(n.size,r+s));const o=await i.arrayBuffer();r+=o.byteLength;t.enqueue(new Uint8Array(o));if(r===n.size){t.close()}}})}}}catch(t){}},3213:(t,r,n)=>{n.d(r,{Z:()=>a});var s=n(1410);const i=class File extends s.Z{#e=0;#t="";constructor(t,r,n={}){if(arguments.length<2){throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`)}super(t,n);if(n===null)n={};const s=n.lastModified===undefined?Date.now():Number(n.lastModified);if(!Number.isNaN(s)){this.#e=s}this.#t=String(r)}get name(){return this.#t}get lastModified(){return this.#e}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](t){return!!t&&t instanceof s.Z&&/^(File)$/.test(t[Symbol.toStringTag])}};const o=i;const a=o},2185:(t,r,n)=>{n.d(r,{$B:()=>a.Z,SX:()=>blobFromSync});var s=n(7561);var i=n(9411);var o=n(7760);var a=n(3213);var l=n(1410);const{stat:c}=s.promises;const blobFromSync=(t,r)=>fromBlob((0,s.statSync)(t),t,r);const blobFrom=(t,r)=>c(t).then((n=>fromBlob(n,t,r)));const fileFrom=(t,r)=>c(t).then((n=>fromFile(n,t,r)));const fileFromSync=(t,r)=>fromFile(statSync(t),t,r);const fromBlob=(t,r,n="")=>new l.Z([new BlobDataItem({path:r,size:t.size,lastModified:t.mtimeMs,start:0})],{type:n});const fromFile=(t,r,n="")=>new File([new BlobDataItem({path:r,size:t.size,lastModified:t.mtimeMs,start:0})],basename(r),{type:n,lastModified:t.mtimeMs});class BlobDataItem{#r;#n;constructor(t){this.#r=t.path;this.#n=t.start;this.size=t.size;this.lastModified=t.lastModified}slice(t,r){return new BlobDataItem({path:this.#r,lastModified:this.lastModified,size:r-t,start:this.#n+t})}async*stream(){const{mtimeMs:t}=await c(this.#r);if(t>this.lastModified){throw new o("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.","NotReadableError")}yield*(0,s.createReadStream)(this.#r,{start:this.#n,end:this.#n+this.size-1})}get[Symbol.toStringTag](){return"Blob"}}var u=null&&blobFromSync},1410:(t,r,n)=>{n.d(r,{Z:()=>l});var s=n(8572); /*! fetch-blob. MIT License. Jimmy Wärting */const i=65536;async function*toIterator(t,r=true){for(const n of t){if("stream"in n){yield*n.stream()}else if(ArrayBuffer.isView(n)){if(r){let t=n.byteOffset;const r=n.byteOffset+n.byteLength;while(t!==r){const s=Math.min(r-t,i);const o=n.buffer.slice(t,t+s);t+=o.byteLength;yield new Uint8Array(o)}}else{yield n}}else{let t=0,r=n;while(t!==r.size){const n=r.slice(t,Math.min(r.size,t+i));const s=await n.arrayBuffer();t+=s.byteLength;yield new Uint8Array(s)}}}}const o=class Blob{#s=[];#i="";#o=0;#a="transparent";constructor(t=[],r={}){if(typeof t!=="object"||t===null){throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.")}if(typeof t[Symbol.iterator]!=="function"){throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.")}if(typeof r!=="object"&&typeof r!=="function"){throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.")}if(r===null)r={};const n=new TextEncoder;for(const r of t){let t;if(ArrayBuffer.isView(r)){t=new Uint8Array(r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength))}else if(r instanceof ArrayBuffer){t=new Uint8Array(r.slice(0))}else if(r instanceof Blob){t=r}else{t=n.encode(`${r}`)}this.#o+=ArrayBuffer.isView(t)?t.byteLength:t.size;this.#s.push(t)}this.#a=`${r.endings===undefined?"transparent":r.endings}`;const s=r.type===undefined?"":String(r.type);this.#i=/^[\x20-\x7E]*$/.test(s)?s:""}get size(){return this.#o}get type(){return this.#i}async text(){const t=new TextDecoder;let r="";for await(const n of toIterator(this.#s,false)){r+=t.decode(n,{stream:true})}r+=t.decode();return r}async arrayBuffer(){const t=new Uint8Array(this.size);let r=0;for await(const n of toIterator(this.#s,false)){t.set(n,r);r+=n.length}return t.buffer}stream(){const t=toIterator(this.#s,true);return new globalThis.ReadableStream({type:"bytes",async pull(r){const n=await t.next();n.done?r.close():r.enqueue(n.value)},async cancel(){await t.return()}})}slice(t=0,r=this.size,n=""){const{size:s}=this;let i=t<0?Math.max(s+t,0):Math.min(t,s);let o=r<0?Math.max(s+r,0):Math.min(r,s);const a=Math.max(o-i,0);const l=this.#s;const c=[];let u=0;for(const t of l){if(u>=a){break}const r=ArrayBuffer.isView(t)?t.byteLength:t.size;if(i&&r<=i){i-=r;o-=r}else{let n;if(ArrayBuffer.isView(t)){n=t.subarray(i,Math.min(r,o));u+=n.byteLength}else{n=t.slice(i,Math.min(r,o));u+=n.size}o-=r;c.push(n);i=0}}const d=new Blob([],{type:String(n).toLowerCase()});d.#o=a;d.#s=c;return d}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](t){return t&&typeof t==="object"&&typeof t.constructor==="function"&&(typeof t.stream==="function"||typeof t.arrayBuffer==="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}};Object.defineProperties(o.prototype,{size:{enumerable:true},type:{enumerable:true},slice:{enumerable:true}});const a=o;const l=a},8010:(t,r,n)=>{n.d(r,{Ct:()=>p,au:()=>formDataToBlob});var s=n(1410);var i=n(3213); /*! formdata-polyfill. MIT License. Jimmy Wärting */var{toStringTag:o,iterator:a,hasInstance:l}=Symbol,c=Math.random,u="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),f=(t,r,n)=>(t+="",/^(Blob|File)$/.test(r&&r[o])?[(n=n!==void 0?n+"":r[o]=="File"?r.name:"blob",t),r.name!==n||r[o]=="blob"?new i.Z([r],n,r):r]:[t,r+""]),e=(t,r)=>(r?t:t.replace(/\r?\n|\r/g,"\r\n")).replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),x=(t,r,n)=>{if(r.lengthtypeof t[r]!="function"))}append(...t){x("append",arguments,2);this.#l.push(f(...t))}delete(t){x("delete",arguments,1);t+="";this.#l=this.#l.filter((([r])=>r!==t))}get(t){x("get",arguments,1);t+="";for(var r=this.#l,n=r.length,s=0;sn[0]===t&&r.push(n[1])));return r}has(t){x("has",arguments,1);t+="";return this.#l.some((r=>r[0]===t))}forEach(t,r){x("forEach",arguments,1);for(var[n,s]of this)t.call(r,s,n,this)}set(...t){x("set",arguments,2);var r=[],n=!0;t=f(...t);this.#l.forEach((s=>{s[0]===t[0]?n&&(n=!r.push(t)):r.push(s)}));n&&r.push(t);this.#l=r}*entries(){yield*this.#l}*keys(){for(var[t]of this)yield t}*values(){for(var[,t]of this)yield t}};function formDataToBlob(t,r=s.Z){var n=`${c()}${c()}`.replace(/\./g,"").slice(-28).padStart(32,"-"),i=[],o=`--${n}\r\nContent-Disposition: form-data; name="`;t.forEach(((t,r)=>typeof t=="string"?i.push(o+e(r)+`"\r\n\r\n${t.replace(/\r(?!\n)|(?{n.r(r);n.d(r,{toFormData:()=>toFormData});var s=n(2185);var i=n(8010);let o=0;const a={START_BOUNDARY:o++,HEADER_FIELD_START:o++,HEADER_FIELD:o++,HEADER_VALUE_START:o++,HEADER_VALUE:o++,HEADER_VALUE_ALMOST_DONE:o++,HEADERS_ALMOST_DONE:o++,PART_DATA_START:o++,PART_DATA:o++,END:o++};let l=1;const c={PART_BOUNDARY:l,LAST_BOUNDARY:l*=2};const u=10;const d=13;const p=32;const h=45;const m=58;const g=97;const y=122;const lower=t=>t|32;const noop=()=>{};class MultipartParser{constructor(t){this.index=0;this.flags=0;this.onHeaderEnd=noop;this.onHeaderField=noop;this.onHeadersEnd=noop;this.onHeaderValue=noop;this.onPartBegin=noop;this.onPartData=noop;this.onPartEnd=noop;this.boundaryChars={};t="\r\n--"+t;const r=new Uint8Array(t.length);for(let n=0;n{this[t+"Mark"]=r};const clear=t=>{delete this[t+"Mark"]};const callback=(t,r,n,s)=>{if(r===undefined||r!==n){this[t](s&&s.subarray(r,n))}};const dataCallback=(n,s)=>{const i=n+"Mark";if(!(i in this)){return}if(s){callback(n,this[i],r,t);delete this[i]}else{callback(n,this[i],t.length,t);this[i]=0}};for(r=0;ry){return}break;case a.HEADER_VALUE_START:if(w===p){break}mark("onHeaderValue");_=a.HEADER_VALUE;case a.HEADER_VALUE:if(w===d){dataCallback("onHeaderValue",true);callback("onHeaderEnd");_=a.HEADER_VALUE_ALMOST_DONE}break;case a.HEADER_VALUE_ALMOST_DONE:if(w!==u){return}_=a.HEADER_FIELD_START;break;case a.HEADERS_ALMOST_DONE:if(w!==u){return}callback("onHeadersEnd");_=a.PART_DATA_START;break;case a.PART_DATA_START:_=a.PART_DATA;mark("onPartData");case a.PART_DATA:s=b;if(b===0){r+=v;while(r0){i[b-1]=w}else if(s>0){const t=new Uint8Array(i.buffer,i.byteOffset,i.byteLength);callback("onPartData",0,s,t);s=0;mark("onPartData");r--}break;case a.END:break;default:throw new Error(`Unexpected state entered: ${_}`)}}dataCallback("onHeaderField");dataCallback("onHeaderValue");dataCallback("onPartData");this.index=b;this.state=_;this.flags=S}end(){if(this.state===a.HEADER_FIELD_START&&this.index===0||this.state===a.PART_DATA&&this.index===this.boundary.length){this.onPartEnd()}else if(this.state!==a.END){throw new Error("MultipartParser.end(): stream ended unexpectedly")}}}function _fileName(t){const r=t.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);if(!r){return}const n=r[2]||r[3]||"";let s=n.slice(n.lastIndexOf("\\")+1);s=s.replace(/%22/g,'"');s=s.replace(/&#(\d{4});/g,((t,r)=>String.fromCharCode(r)));return s}async function toFormData(t,r){if(!/multipart/i.test(r)){throw new TypeError("Failed to fetch")}const n=r.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!n){throw new TypeError("no or bad content-type header, no multipart boundary")}const o=new MultipartParser(n[1]||n[2]);let a;let l;let c;let u;let d;let p;const h=[];const m=new i.Ct;const onPartData=t=>{c+=g.decode(t,{stream:true})};const appendToFile=t=>{h.push(t)};const appendFileToFormData=()=>{const t=new s.$B(h,p,{type:d});m.append(u,t)};const appendEntryToFormData=()=>{m.append(u,c)};const g=new TextDecoder("utf-8");g.decode();o.onPartBegin=function(){o.onPartData=onPartData;o.onPartEnd=appendEntryToFormData;a="";l="";c="";u="";d="";p=null;h.length=0};o.onHeaderField=function(t){a+=g.decode(t,{stream:true})};o.onHeaderValue=function(t){l+=g.decode(t,{stream:true})};o.onHeaderEnd=function(){l+=g.decode();a=a.toLowerCase();if(a==="content-disposition"){const t=l.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);if(t){u=t[2]||t[3]||""}p=_fileName(l);if(p){o.onPartData=appendToFile;o.onPartEnd=appendFileToFormData}}else if(a==="content-type"){d=l}l="";a=""};for await(const r of t){o.write(r)}o.end();return m}}};var n={};function __nccwpck_require__(t){var s=n[t];if(s!==undefined){return s.exports}var i=n[t]={exports:{}};var o=true;try{r[t].call(i.exports,i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete n[t]}return i.exports}__nccwpck_require__.m=r;(()=>{var t=typeof Symbol==="function"?Symbol("webpack queues"):"__webpack_queues__";var r=typeof Symbol==="function"?Symbol("webpack exports"):"__webpack_exports__";var n=typeof Symbol==="function"?Symbol("webpack error"):"__webpack_error__";var resolveQueue=t=>{if(t&&!t.d){t.d=1;t.forEach((t=>t.r--));t.forEach((t=>t.r--?t.r++:t()))}};var wrapDeps=s=>s.map((s=>{if(s!==null&&typeof s==="object"){if(s[t])return s;if(s.then){var i=[];i.d=0;s.then((t=>{o[r]=t;resolveQueue(i)}),(t=>{o[n]=t;resolveQueue(i)}));var o={};o[t]=t=>t(i);return o}}var a={};a[t]=t=>{};a[r]=s;return a}));__nccwpck_require__.a=(s,i,o)=>{var a;o&&((a=[]).d=1);var l=new Set;var c=s.exports;var u;var d;var p;var h=new Promise(((t,r)=>{p=r;d=t}));h[r]=c;h[t]=t=>(a&&t(a),l.forEach(t),h["catch"]((t=>{})));s.exports=h;i((s=>{u=wrapDeps(s);var i;var getResult=()=>u.map((t=>{if(t[n])throw t[n];return t[r]}));var o=new Promise((r=>{i=()=>r(getResult);i.r=0;var fnQueue=t=>t!==a&&!l.has(t)&&(l.add(t),t&&!t.d&&(i.r++,t.push(i)));u.map((r=>r[t](fnQueue)))}));return i.r?o:getResult()}),(t=>(t?p(h[n]=t):d(c),resolveQueue(a))));a&&(a.d=0)}})();(()=>{__nccwpck_require__.n=t=>{var r=t&&t.__esModule?()=>t["default"]:()=>t;__nccwpck_require__.d(r,{a:r});return r}})();(()=>{__nccwpck_require__.d=(t,r)=>{for(var n in r){if(__nccwpck_require__.o(r,n)&&!__nccwpck_require__.o(t,n)){Object.defineProperty(t,n,{enumerable:true,get:r[n]})}}}})();(()=>{__nccwpck_require__.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();(()=>{var t;if(typeof import.meta.url==="string")t=import.meta.url;if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");__nccwpck_require__.p=t})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";(()=>{__nccwpck_require__.b=new URL("./",import.meta.url);var t={179:0}})();var s=__nccwpck_require__(6144);s=await s; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index 7ba8285..c5cb6a9 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["Object","defineProperty","exports","value","createFileSystemAdapter","FILE_SYSTEM_ADAPTER","fs","__webpack_require__","lstat","stat","lstatSync","statSync","readdir","readdirSync","fsMethods","undefined","assign","IS_SUPPORT_READDIR_WITH_FILE_TYPES","NODE_PROCESS_VERSION_PARTS","process","versions","node","split","Error","MAJOR_VERSION","Number","parseInt","MINOR_VERSION","SUPPORTED_MAJOR_VERSION","SUPPORTED_MINOR_VERSION","IS_MATCHED_BY_MAJOR","IS_MATCHED_BY_MAJOR_AND_MINOR","Settings","scandirSync","scandir","async","sync","settings_1","default","path","optionsOrSettingsOrCallback","callback","read","getSettings","optionsOrSettings","settings","settingsOrOptions","readdirWithFileTypes","fsStat","rpl","constants_1","utils","common","directory","stats","withFileTypes","readdirError","dirents","callFailureCallback","entries","map","dirent","name","joinPathSegments","pathSegmentSeparator","followSymbolicLinks","callSuccessCallback","tasks","entry","makeRplTaskEntry","rplError","rplEntries","done","isSymbolicLink","statError","throwErrorOnBrokenSymbolicLink","createDirentFromStats","names","fsStatSettings","error","result","a","b","separator","endsWith","entryPath","constructor","_options","this","_getValue","sep","followSymbolicLink","option","DirentFromStats","isBlockDevice","bind","isCharacterDevice","isDirectory","isFIFO","isFile","isSocket","lstatError","markSymbolicLink","walkStream","walkSync","walk","async_1","stream_1","sync_1","provider","AsyncProvider","_root","_settings","_reader","_storage","onError","onEntry","push","onEnd","StreamProvider","_stream","Readable","objectMode","destroy","isDestroyed","emit","SyncProvider","events_1","fsScandir","fastq","reader_1","AsyncReader","super","_scandir","_emitter","EventEmitter","_queue","_worker","concurrency","_isFatalError","_isDestroyed","drain","setImmediate","_pushToQueue","basePath","killAndDrain","on","once","base","queueItem","_handleError","item","fsScandirSettings","_handleEntry","isFatalError","fullpath","isAppliedFilter","entryFilter","_emitEntry","deepFilter","replacePathSegmentSeparator","errorFilter","filter","filepath","join","Reader","SyncReader","arguments","Set","_handleQueue","add","values","_handleDirectory","_pushToStorage","POSITIVE_INFINITY","stringify","compile","expand","parse","braces","input","options","output","Array","isArray","pattern","create","concat","nodupes","noempty","Boolean","length","module","fill","ast","parent","invalidBlock","isInvalidBrace","invalidNode","invalid","escapeInvalid","prefix","isOpen","isClose","type","prev","nodes","ranges","args","reduce","range","wrap","toRegex","child","MAX_LENGTH","CHAR_0","CHAR_9","CHAR_UPPERCASE_A","CHAR_LOWERCASE_A","CHAR_UPPERCASE_Z","CHAR_LOWERCASE_Z","CHAR_LEFT_PARENTHESES","CHAR_RIGHT_PARENTHESES","CHAR_ASTERISK","CHAR_AMPERSAND","CHAR_AT","CHAR_BACKSLASH","CHAR_BACKTICK","CHAR_CARRIAGE_RETURN","CHAR_CIRCUMFLEX_ACCENT","CHAR_COLON","CHAR_COMMA","CHAR_DOLLAR","CHAR_DOT","CHAR_DOUBLE_QUOTE","CHAR_EQUAL","CHAR_EXCLAMATION_MARK","CHAR_FORM_FEED","CHAR_FORWARD_SLASH","CHAR_HASH","CHAR_HYPHEN_MINUS","CHAR_LEFT_ANGLE_BRACKET","CHAR_LEFT_CURLY_BRACE","CHAR_LEFT_SQUARE_BRACKET","CHAR_LINE_FEED","CHAR_NO_BREAK_SPACE","CHAR_PERCENT","CHAR_PLUS","CHAR_QUESTION_MARK","CHAR_RIGHT_ANGLE_BRACKET","CHAR_RIGHT_CURLY_BRACE","CHAR_RIGHT_SQUARE_BRACKET","CHAR_SEMICOLON","CHAR_SINGLE_QUOTE","CHAR_SPACE","CHAR_TAB","CHAR_UNDERSCORE","CHAR_VERTICAL_LINE","CHAR_ZERO_WIDTH_NOBREAK_SPACE","append","queue","stash","enclose","flatten","ele","rangeLimit","p","q","dollar","pop","exceedsLimit","step","RangeError","encloseBrace","block","i","TypeError","opts","max","maxLength","Math","min","SyntaxError","stack","brackets","index","depth","memo","advance","keepEscaping","closed","next","open","keepQuotes","slice","brace","close","commas","shift","siblings","before","forEach","indexOf","splice","isOpenOrClose","isInteger","num","trim","find","limit","escapeNode","n","escaped","acc","flat","arr","isGlob","pathPosixDirname","posix","isWin32","slash","backslash","enclosure","globby","globParent","str","flipBackslashes","replace","test","taskManager","FastGlob","source","assertPatternsInput","works","getWorks","Promise","all","array","glob","globSync","globStream","stream","merge","generateTasks","patterns","generate","isDynamicPattern","escapePath","escape","convertPathToPattern","escapePosixPath","convertPosixPathToPattern","win32","escapeWindowsPath","convertWindowsPathToPattern","_Provider","isValidSource","every","string","isString","isEmpty","convertPatternGroupToTask","convertPatternGroupsToTasks","groupPatternsByBaseDirectory","getNegativePatternsAsPositive","getPositivePatterns","convertPatternsToTasks","processPatterns","ignore","positivePatterns","negativePatterns","staticPatterns","isStaticPattern","dynamicPatterns","staticTasks","dynamicTasks","braceExpansion","expandPatternsWithBraceExpansion","baseNameMatch","includes","removeDuplicateSlashes","positive","negative","dynamic","patternsOutsideCurrentDirectory","getPatternsOutsideCurrentDirectory","patternsInsideCurrentDirectory","getPatternsInsideCurrentDirectory","outsideCurrentDirectoryGroup","insideCurrentDirectoryGroup","getNegativePatterns","convertToPositivePattern","group","collection","getBaseDirectory","keys","convertToNegativePattern","provider_1","ProviderAsync","task","root","_getRootDirectory","_getReaderOptions","api","transform","static","partial_1","DeepFilter","_micromatchOptions","getFilter","matcher","_getMatcher","negativeRe","_getNegativePatternsRe","_filter","affectDepthOfReadingPatterns","isAffectDepthOfReadingPattern","convertPatternsToRe","_isSkippedByDeep","_isSkippedSymbolicLink","removeLeadingDotSegment","_isSkippedByPositivePatterns","_isSkippedByNegativePatterns","deep","Infinity","_getEntryLevel","entryPathDepth","basePathDepth","match","patternsRe","matchAny","EntryFilter","Map","positiveRe","dot","unique","_isDuplicateEntry","_onlyFileFilter","_onlyDirectoryFilter","_isSkippedByAbsoluteNegativePatterns","isMatched","_isMatchToPatterns","_createIndexRecord","has","set","onlyFiles","onlyDirectories","absolute","makeAbsolute","cwd","ErrorFilter","_isNonFatalError","errno","isEnoentCodeError","suppressErrors","Matcher","_patterns","_fillStorage","segments","_getPatternSegments","sections","_splitSegmentsIntoSections","complete","parts","getPatternParts","part","patternRe","makeRe","splitWhen","segment","hasGlobStar","matcher_1","PartialMatcher","levels","info","section","deep_1","entry_1","error_1","entry_2","Provider","_getMicromatchOptions","entryTransformer","resolve","getTransformer","matchBase","nobrace","nocase","caseSensitiveMatch","noext","extglob","noglobstar","globstar","strictSlashes","stream_2","ProviderStream","destination","ProviderSync","EntryTransformer","_transform","unixify","markDirectories","fsWalk","ReaderAsync","_walkAsync","_readerStream","reject","_fsStatSettings","_getFullEntryPath","_makeEntry","ReaderStream","_walkStream","_stat","filepaths","PassThrough","_write","_enc","_getEntry","then","end","catch","write","_getStat","ReaderSync","_walkSync","_statSync","DEFAULT_FILE_SYSTEM_ADAPTER","os","CPU_COUNT","cpus","_getFileSystemMethods","methods","items","predicate","groupIndex","code","IS_WINDOWS_PLATFORM","platform","LEADING_DOT_SEGMENT_CHARACTERS_COUNT","POSIX_UNESCAPED_GLOB_SYMBOLS_RE","WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE","DOS_DEVICE_PATH_RE","WINDOWS_BACKSLASHES_RE","charAt","secondCharactery","expandBraceExpansion","endsWithSlashGlobStar","isPatternRelatedToParentDirectory","isPositivePattern","isNegativePattern","micromatch","GLOBSTAR","ESCAPE_SYMBOL","COMMON_GLOB_SYMBOLS_RE","REGEX_CHARACTER_CLASS_SYMBOLS_RE","REGEX_GROUP_SYMBOLS_RE","GLOB_EXTENSION_SYMBOLS_RE","BRACE_EXPANSION_SEPARATORS_RE","DOUBLE_SLASH_RE","hasBraceExpansion","openingBraceIndex","closingBraceIndex","braceContent","startsWith","basename","sort","scan","unshift","some","merge2","streams","mergedStream","propagateCloseEventToSources","reusify","fastqueue","context","worker","cache","Task","queueHead","queueTail","_running","errorHandler","self","noop","saturated","pause","paused","running","resume","idle","getQueue","empty","kill","current","counter","release","get","call","worked","holder","handler","err","val","queueAsPromised","asyncWrapper","arg","cb","res","pushCb","unshiftCb","drained","previousDrain","promise","util","toRegexRange","isObject","toNumber","String","isValidValue","isNumber","zeros","start","pad","dash","padStart","toMaxLen","toSequence","negatives","positives","capture","toRange","isNumbers","fromCharCode","stop","rangeError","inspect","invalidRange","strictRanges","invalidStep","fillNumbers","descending","startString","endString","stepString","abs","padded","maxLen","format","fillLetters","charCodeAt","isExtglob","exec","chars","strictCheck","pipeIndex","closeSquareIndex","closeCurlyIndex","closeParenIndex","backSlashIndex","relaxedCheck","check","strict","isFinite","Stream","prototype","streamsQueue","merging","pipe","doEnd","doPipeError","pipeError","highWaterMark","addStream","len","pauseStreams","mergeStream","nextTick","endStream","pipesCount","onend","removeListener","onerror","_readableState","endEmitted","setMaxListeners","apply","picomatch","isEmptyString","list","omit","keep","onResult","state","isMatch","negated","negatedExtglob","matched","delete","matches","failglob","nonull","nullglob","unescape","any","not","contains","matchKeys","obj","key","isWindows","regex","toPosixSlashes","v","braceExpand","globalThis","DOMException","MessageChannel","port","port1","ab","ArrayBuffer","postMessage","events","zlib","consts","LOCHDR","LOCSIG","LOCVER","LOCFLG","LOCHOW","LOCTIM","LOCCRC","LOCSIZ","LOCLEN","LOCNAM","LOCEXT","EXTSIG","EXTHDR","EXTCRC","EXTSIZ","EXTLEN","CENHDR","CENSIG","CENVEM","CENVER","CENFLG","CENHOW","CENTIM","CENCRC","CENSIZ","CENLEN","CENNAM","CENEXT","CENCOM","CENDSK","CENATT","CENATX","CENOFF","ENDHDR","ENDSIG","ENDSIGFIRST","ENDSUB","ENDTOT","ENDSIZ","ENDOFF","ENDCOM","MAXFILECOMMENT","ENDL64HDR","ENDL64SIG","ENDL64SIGFIRST","ENDL64OFS","END64HDR","END64SIG","END64SIGFIRST","END64SUB","END64TOT","END64SIZ","END64OFF","STORED","SHRUNK","REDUCED1","REDUCED2","REDUCED3","REDUCED4","IMPLODED","DEFLATED","ENHANCED_DEFLATED","PKWARE","BZIP2","LZMA","IBM_TERSE","IBM_LZ77","FLG_ENC","FLG_COMP1","FLG_COMP2","FLG_DESC","FLG_ENH","FLG_STR","FLG_LNG","FLG_MSK","FLG_ENTRY_ENC","EF_ID","EF_SIZE","ID_ZIP64","ID_AVINFO","ID_PFS","ID_OS2","ID_NTFS","ID_OPENVMS","ID_UNIX","ID_FORK","ID_PATCH","ID_X509_PKCS7","ID_X509_CERTID_F","ID_X509_CERTID_C","ID_STRONGENC","ID_RECORD_MGT","ID_X509_PKCS7_RL","ID_IBM1","ID_IBM2","ID_POSZIP","EF_ZIP64_OR_32","EF_ZIP64_OR_16","StreamZip","config","fd","fileSize","chunkSize","op","centralDirectory","ready","that","storeEntries","fileName","file","textDecoder","nameEncoding","TextDecoder","readFile","f","fstat","size","round","readCentralDirectory","readUntilFoundCallback","bytesRead","pos","lastPos","bufferPosition","win","position","buffer","minPos","firstByte","readUInt32LE","sig","lastBufferPosition","lastBytesRead","expandLength","expandLeft","totalReadLength","FileWindowBuffer","readCentralDirectoryComplete","CentralDirectoryHeader","headerOffset","commentLength","comment","toString","entriesCount","volumeEntries","totalEntries","offset","readZip64CentralDirectoryLocator","readEntries","readZip64CentralDirectoryLocatorComplete","locHeader","CentralDirectoryLoc64Header","readLength","readZip64CentralDirectoryComplete","zip64cd","CentralDirectoryZip64Header","entriesLeft","readEntriesCallback","bufferPos","bufferLength","ZipEntry","readHeader","entryHeaderSize","fnameLen","extraLen","comLen","advanceBytes","moveRight","move","skipEntryNameValidation","validateName","checkEntriesExist","openEntry","dataOffset","entryStream","EntryDataReaderStream","compressedSize","method","createInflateRaw","canVerifyCrc","EntryVerifyStream","crc","entryDataSync","e","en","data","Buffer","alloc","FsRead","inflateRawSync","verify","CrcVerify","readEx","readDataHeader","encrypted","ex","flags","extract","outPath","stm","fsStm","errThrown","unpipe","fdFile","createWriteStream","createDirectories","baseDir","dirs","dir","mkdir","recursive","extractFiles","baseRelPath","files","extractedCount","targetPath","entryName","allDirs","hasOwnProperty","lastIndexOf","relPath","childEntry","dirname","partsPath","x","y","originalEmit","setFs","customFs","debugLog","debug","console","log","inherits","propZip","Symbol","StreamZipAsync","zip","entryData","chunk","removeAllListeners","readUInt16LE","readUInt64LE","verMade","version","timebytes","datebytes","time","parseZipTime","diskStart","inattr","attr","nameData","decode","Uint8Array","lastChar","readExtra","signature","maxPos","parseZip64Extra","waiting","readSync","readCallback","fsOp","checkOp","expandRight","copy","_read","Transform","baseStm","encoding","crcTable","getCrcTable","off","buf","writeInt32LE","c","k","timebits","toBits","datebits","mt","h","m","s","Y","M","D","dt_str","Date","getTime","dec","WIN_SLASH","WIN_NO_SLASH","DOT_LITERAL","PLUS_LITERAL","QMARK_LITERAL","SLASH_LITERAL","ONE_CHAR","QMARK","END_ANCHOR","START_ANCHOR","DOTS_SLASH","NO_DOT","NO_DOTS","NO_DOT_SLASH","NO_DOTS_SLASH","QMARK_NO_DOT","STAR","POSIX_CHARS","WINDOWS_CHARS","POSIX_REGEX_SOURCE","alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit","REGEX_BACKSLASH","REGEX_NON_SPECIAL_CHARS","REGEX_SPECIAL_CHARS","REGEX_SPECIAL_CHARS_BACKREF","REGEX_SPECIAL_CHARS_GLOBAL","REGEX_REMOVE_BACKSLASH","REPLACEMENTS","CHAR_BACKWARD_SLASH","CHAR_GRAVE_ACCENT","SEP","extglobChars","globChars","constants","expandRange","RegExp","escapeRegex","syntaxError","char","bos","prepend","tokens","PLATFORM_CHARS","EXTGLOB_CHARS","nodot","qmarkNoDot","star","bash","noextglob","consumed","backtrack","parens","quotes","removePrefix","extglobs","eos","peek","remaining","consume","token","negate","count","increment","decrement","tok","isBrace","inner","extglobOpen","conditions","extglobClose","rest","extglobStar","expression","fastpaths","backslashes","esc","first","repeat","wrapOutput","slashes","idx","pre","strictBrackets","nobracket","prevValue","literalBrackets","hasRegexChars","outputIndex","tokensIndex","dots","comma","out","toks","t","isGroup","supportsLookbehinds","nonegate","prior","isStart","afterStar","after","escapeLast","suffix","slashDot","returnState","fns","arrayMatcher","isState","compileRe","isIgnored","ignoreOpts","onMatch","returnObject","onIgnore","returnOutput","parsed","isPathSeparator","isPrefix","isGlobstar","scanToEnd","lastIndex","isBracket","braceEscaped","finished","isExtglobChar","noparen","removeBackslashes","maxDepth","prevIndex","isRegexChar","segs","windows","lastIdx","queueMicrotask","window","global","setTimeout","Constructor","head","tail","runParallel","results","pending","isSync","each","ANY","Comparator","comp","parseOptions","loose","semver","operator","r","re","COMPARATORLOOSE","COMPARATOR","SemVer","er","cmp","intersects","Range","includePrerelease","safeRe","raw","parseRange","isNullSet","isAny","comps","memoOpts","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","memoKey","cached","hr","HYPHENRANGELOOSE","HYPHENRANGE","hyphenReplace","COMPARATORTRIM","comparatorTrimReplace","TILDETRIM","tildeTrimReplace","CARETTRIM","caretTrimReplace","rangeList","parseComparator","replaceGTE0","rangeMap","comparators","thisComparators","isSatisfiable","rangeComparators","thisComparator","rangeComparator","testSet","LRU","remainingComparators","testComparator","otherComparator","replaceCarets","replaceTildes","replaceXRanges","replaceStars","isX","id","toLowerCase","replaceTilde","TILDELOOSE","TILDE","_","pr","ret","replaceCaret","CARETLOOSE","CARET","z","replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","anyX","GTE0PRE","GTE0","incPr","$0","from","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","prerelease","allowed","major","minor","patch","MAX_SAFE_INTEGER","compareIdentifiers","LOOSE","FULL","build","compare","other","compareMain","comparePre","compareBuild","inc","identifier","identifierBase","isNaN","clean","eq","neq","gt","gte","lt","lte","coerce","rtl","COERCE","COERCERTL","versionA","versionB","compareLoose","diff","version1","version2","v1","v2","comparison","v1Higher","highVersion","lowVersion","highHasPre","lowHasPre","throwErrors","rcompare","rsort","satisfies","valid","internalRe","identifiers","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","simplifyRange","subset","src","SEMVER_SPEC_VERSION","RELEASE_TYPES","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","env","NODE_DEBUG","numeric","anum","bnum","looseOption","freeze","emptyOpts","R","LETTERDASHNUMBER","safeRegexReplacements","makeSafeRegex","createToken","isGlobal","safe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","LONETILDE","LONECARET","Yallist","MAX","LENGTH","LENGTH_CALCULATOR","ALLOW_STALE","MAX_AGE","DISPOSE","NO_DISPOSE_ON_SET","LRU_LIST","CACHE","UPDATE_AGE_ON_GET","naiveLength","LRUCache","lc","stale","maxAge","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","hit","itemCount","rforEach","fn","thisp","walker","forEachStep","toArray","dump","isStale","now","dumpLru","del","Entry","load","l","expiresAt","prune","doUse","unshiftNode","removeNode","iterator","Node","pushNode","forEachReverse","getReverse","mapReverse","initial","reduceReverse","toArrayReverse","sliceReverse","deleteCount","insert","reverse","inserted","r1","r2","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","hilo","gtfn","ltefn","ltfn","ecomp","high","low","included","simplified","original","sub","dom","sawNonNull","OUTER","simpleSub","simpleDom","isSub","simpleSubset","minimumVersionWithPreRelease","minimumVersion","eqSet","higherGT","lowerLT","gtltComp","higher","hasDomLT","hasDomGT","needDomLTPre","needDomGTPre","relaxZeros","strictZeros","relax","shorthand","cacheKey","isPadded","hasPadding","newMin","splitToPatterns","collatePatterns","neg","onlyNegative","filterPatterns","onlyPositive","intersected","subpatterns","splitToRanges","nines","countNines","stops","countZeros","rangeToPattern","digits","zipped","startDigit","stopDigit","toCharacterClass","toQuantifier","padZeros","intersection","integer","pow","clearCache","parser","compiler","assignedPaths","valueAssignments","currentPath","arrayMode","setPath","addTableArray","genError","line","col","column","fullPath","reduceValueNode","pathAssigned","reduceArrayWithTypeChecking","reduceInlineTableNode","quotedPath","quoteDottedString","deepRef","newObj","traversed","traversedPath","ctx","firstType","peg$subclass","ctor","message","expected","found","peg$FAILED","peg$startRuleFunctions","peg$parsestart","peg$startRuleFunction","peg$c0","peg$c1","peg$c2","peg$c3","peg$c4","description","peg$c5","peg$c6","peg$c7","peg$c8","peg$c9","peg$c10","peg$c11","addNode","peg$c12","peg$c13","peg$c14","peg$c15","peg$c16","peg$c17","peg$c18","peg$c19","peg$c20","peg$c21","peg$c22","peg$c23","peg$c24","peg$c25","peg$c26","peg$c27","peg$c28","peg$c29","peg$c30","peg$c31","peg$c32","peg$c33","peg$c34","peg$c35","peg$c36","peg$c37","peg$c38","peg$c39","peg$c40","peg$c41","peg$c42","left","right","parseFloat","peg$c43","text","peg$c44","peg$c45","peg$c46","peg$c47","peg$c48","peg$c49","peg$c50","peg$c51","peg$c52","peg$c53","peg$c54","peg$c55","peg$c56","peg$c57","peg$c58","peg$c59","peg$c60","peg$c61","peg$c62","peg$c63","peg$c64","peg$c65","peg$c66","peg$c67","peg$c68","peg$c69","peg$c70","peg$c71","date","peg$c72","peg$c73","peg$c74","peg$c75","peg$c76","peg$c77","peg$c78","peg$c79","peg$c80","peg$c81","peg$c82","peg$c83","peg$c84","peg$c85","peg$c86","peg$c87","peg$c88","peg$c89","peg$c90","peg$c91","peg$c92","peg$c93","peg$c94","peg$c95","peg$c96","d","peg$c97","peg$c98","peg$c99","peg$c100","peg$c101","peg$c102","peg$c103","peg$c104","peg$c105","peg$c106","peg$c107","peg$c108","peg$c109","peg$c110","peg$c111","peg$c112","peg$c113","peg$c114","peg$c115","peg$c116","peg$c117","peg$c118","peg$c119","peg$c120","convertCodePoint","peg$c121","peg$c122","peg$currPos","peg$reportedPos","peg$cachedPos","peg$cachedPosDetails","seenCR","peg$maxFailPos","peg$maxFailExpected","peg$silentFails","peg$cache","peg$result","startRule","substring","peg$computePosDetails","peg$buildException","details","startPos","endPos","ch","peg$fail","cleanupExpected","buildMessage","stringEscape","hex","toUpperCase","expectedDescs","expectedDesc","foundDesc","posDetails","s0","s1","s2","nextPos","peg$parseline","s3","s4","s5","s6","peg$parseS","peg$parseexpression","peg$parsecomment","peg$parseNL","peg$parseEOF","peg$parsepath","peg$parsetablearray","peg$parseassignment","peg$parsetable_key","s7","peg$parsedot_ended_table_key_part","peg$parsetable_key_part","peg$parsekey","peg$parsequoted_key","peg$parsevalue","peg$parseASCII_BASIC","peg$parsedouble_quoted_single_line_string","peg$parsesingle_quoted_single_line_string","peg$parsestring","peg$parsedatetime","peg$parsefloat","peg$parseinteger","peg$parseboolean","peg$parsearray","peg$parseinline_table","peg$parsedouble_quoted_multiline_string","peg$parsesingle_quoted_multiline_string","substr","peg$parsemultiline_string_char","peg$parsestring_char","peg$parsemultiline_literal_char","peg$parseliteral_char","peg$parseESCAPED","peg$parsemultiline_string_delim","peg$parseNLS","peg$parsefloat_text","peg$parseinteger_text","peg$parseDIGITS","peg$parseDIGIT_OR_UNDER","peg$parsearray_sep","peg$parsearray_value","peg$parsearray_value_list","peg$parseinline_table_assignment","s8","s9","s10","peg$parsesecfragment","peg$parsedate","s11","peg$parsetime","peg$parsetime_with_offset","s12","s13","s14","s15","s16","peg$parseHEX","peg$parseESCAPED_UNICODE","floor","fromCodePoint","MAX_SIZE","codeUnits","highSurrogate","lowSurrogate","codePoint","factory","SymbolPolyfill","typeIsObject","rethrowAssertionErrorRejection","setFunctionName","configurable","_a","originalPromise","originalPromiseThen","originalPromiseReject","newPromise","executor","promiseResolvedWith","promiseRejectedWith","reason","PerformPromiseThen","onFulfilled","onRejected","uponPromise","uponFulfillment","uponRejection","transformPromiseWith","fulfillmentHandler","rejectionHandler","setPromiseIsHandledToTrue","_queueMicrotask","resolvedPromise","reflectCall","F","V","Function","promiseCall","QUEUE_MAX_ARRAY_SIZE","SimpleQueue","_cursor","_size","_front","_elements","_next","_back","element","oldBack","newBack","oldFront","newFront","oldCursor","newCursor","elements","front","cursor","AbortSteps","ErrorSteps","CancelSteps","PullSteps","ReleaseSteps","ReadableStreamReaderGenericInitialize","reader","_ownerReadableStream","_state","defaultReaderClosedPromiseInitialize","defaultReaderClosedPromiseInitializeAsResolved","defaultReaderClosedPromiseInitializeAsRejected","_storedError","ReadableStreamReaderGenericCancel","ReadableStreamCancel","ReadableStreamReaderGenericRelease","defaultReaderClosedPromiseReject","defaultReaderClosedPromiseResetToRejected","_readableStreamController","readerLockException","_closedPromise","_closedPromise_resolve","_closedPromise_reject","defaultReaderClosedPromiseResolve","NumberIsFinite","MathTrunc","trunc","ceil","isDictionary","assertDictionary","assertFunction","assertObject","assertRequiredArgument","assertRequiredField","field","convertUnrestrictedDouble","censorNegativeZero","integerPart","convertUnsignedLongLongWithEnforceRange","lowerBound","upperBound","assertReadableStream","IsReadableStream","AcquireReadableStreamDefaultReader","ReadableStreamDefaultReader","ReadableStreamAddReadRequest","readRequest","_readRequests","ReadableStreamFulfillReadRequest","_closeSteps","_chunkSteps","ReadableStreamGetNumReadRequests","ReadableStreamHasDefaultReader","IsReadableStreamDefaultReader","IsReadableStreamLocked","defaultReaderBrandCheckException","cancel","resolvePromise","rejectPromise","_errorSteps","ReadableStreamDefaultReaderRead","releaseLock","ReadableStreamDefaultReaderRelease","defineProperties","enumerable","toStringTag","_disturbed","ReadableStreamDefaultReaderErrorReadRequests","readRequests","AsyncIteratorPrototype","getPrototypeOf","ReadableStreamAsyncIteratorImpl","preventCancel","_ongoingPromise","_isFinished","_preventCancel","nextSteps","_nextSteps","returnSteps","_returnSteps","ReadableStreamAsyncIteratorPrototype","IsReadableStreamAsyncIterator","streamAsyncIteratorBrandCheckException","_asyncIteratorImpl","return","setPrototypeOf","AcquireReadableStreamAsyncIterator","impl","NumberIsNaN","CreateArrayFromList","CopyDataBlockBytes","dest","destOffset","srcOffset","TransferArrayBuffer","O","transfer","structuredClone","IsDetachedBuffer","detached","byteLength","ArrayBufferSlice","begin","GetMethod","receiver","prop","func","CreateAsyncFromSyncIterator","syncIteratorRecord","syncIterable","asyncIterator","nextMethod","GetIterator","hint","syncMethod","IteratorNext","iteratorRecord","IteratorComplete","iterResult","IteratorValue","IsNonNegativeNumber","CloneAsUint8Array","byteOffset","DequeueValue","container","pair","_queueTotalSize","EnqueueValueWithSize","PeekQueueValue","ResetQueue","isDataViewConstructor","DataView","isDataView","view","arrayBufferViewElementSize","BYTES_PER_ELEMENT","ReadableStreamBYOBRequest","IsReadableStreamBYOBRequest","byobRequestBrandCheckException","_view","respond","bytesWritten","_associatedReadableByteStreamController","ReadableByteStreamControllerRespond","respondWithNewView","isView","ReadableByteStreamControllerRespondWithNewView","ReadableByteStreamController","byobRequest","IsReadableByteStreamController","byteStreamControllerBrandCheckException","ReadableByteStreamControllerGetBYOBRequest","desiredSize","ReadableByteStreamControllerGetDesiredSize","_closeRequested","_controlledReadableByteStream","ReadableByteStreamControllerClose","enqueue","ReadableByteStreamControllerEnqueue","ReadableByteStreamControllerError","ReadableByteStreamControllerClearPendingPullIntos","_cancelAlgorithm","ReadableByteStreamControllerClearAlgorithms","ReadableByteStreamControllerFillReadRequestFromQueue","autoAllocateChunkSize","_autoAllocateChunkSize","bufferE","pullIntoDescriptor","bufferByteLength","bytesFilled","minimumFill","elementSize","viewConstructor","readerType","_pendingPullIntos","ReadableByteStreamControllerCallPullIfNeeded","firstPullInto","controller","shouldPull","ReadableByteStreamControllerShouldCallPull","_pulling","_pullAgain","pullPromise","_pullAlgorithm","ReadableByteStreamControllerInvalidateBYOBRequest","ReadableByteStreamControllerCommitPullIntoDescriptor","filledView","ReadableByteStreamControllerConvertPullIntoDescriptor","ReadableStreamFulfillReadIntoRequest","ReadableByteStreamControllerEnqueueChunkToQueue","ReadableByteStreamControllerEnqueueClonedChunkToQueue","clonedChunk","cloneE","ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue","firstDescriptor","ReadableByteStreamControllerShiftPendingPullInto","ReadableByteStreamControllerFillPullIntoDescriptorFromQueue","maxBytesToCopy","maxBytesFilled","totalBytesToCopyRemaining","remainderBytes","maxAlignedBytes","headOfQueue","bytesToCopy","destStart","ReadableByteStreamControllerFillHeadPullIntoDescriptor","ReadableByteStreamControllerHandleQueueDrain","ReadableStreamClose","_byobRequest","ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue","ReadableByteStreamControllerProcessReadRequestsUsingQueue","ReadableByteStreamControllerPullInto","readIntoRequest","ReadableStreamAddReadIntoRequest","emptyView","ReadableByteStreamControllerRespondInClosedState","ReadableStreamHasBYOBReader","ReadableStreamGetNumReadIntoRequests","ReadableByteStreamControllerRespondInReadableState","remainderSize","ReadableByteStreamControllerRespondInternal","descriptor","_started","firstPendingPullInto","transferredBuffer","transferredView","ReadableStreamError","SetUpReadableStreamBYOBRequest","_strategyHWM","viewByteLength","SetUpReadableByteStreamController","startAlgorithm","pullAlgorithm","cancelAlgorithm","startResult","SetUpReadableByteStreamControllerFromUnderlyingSource","underlyingByteSource","pull","request","convertReaderOptions","mode","convertReadableStreamReaderMode","convertByobReadOptions","AcquireReadableStreamBYOBReader","ReadableStreamBYOBReader","_readIntoRequests","IsReadableStreamBYOBReader","byobReaderBrandCheckException","rawOptions","ReadableStreamBYOBReaderRead","ReadableStreamBYOBReaderRelease","ReadableStreamBYOBReaderErrorReadIntoRequests","readIntoRequests","ExtractHighWaterMark","strategy","defaultHWM","ExtractSizeAlgorithm","convertQueuingStrategy","init","convertQueuingStrategySize","convertUnderlyingSink","abort","convertUnderlyingSinkAbortCallback","convertUnderlyingSinkCloseCallback","convertUnderlyingSinkStartCallback","convertUnderlyingSinkWriteCallback","assertWritableStream","IsWritableStream","isAbortSignal","aborted","supportsAbortController","AbortController","createAbortController","WritableStream","rawUnderlyingSink","rawStrategy","underlyingSink","InitializeWritableStream","sizeAlgorithm","SetUpWritableStreamDefaultControllerFromUnderlyingSink","locked","streamBrandCheckException$2","IsWritableStreamLocked","WritableStreamAbort","WritableStreamCloseQueuedOrInFlight","WritableStreamClose","getWriter","AcquireWritableStreamDefaultWriter","WritableStreamDefaultWriter","CreateWritableStream","writeAlgorithm","closeAlgorithm","abortAlgorithm","WritableStreamDefaultController","SetUpWritableStreamDefaultController","_writer","_writableStreamController","_writeRequests","_inFlightWriteRequest","_closeRequest","_inFlightCloseRequest","_pendingAbortRequest","_backpressure","_abortReason","_abortController","_promise","wasAlreadyErroring","_resolve","_reject","_reason","_wasAlreadyErroring","WritableStreamStartErroring","closeRequest","writer","defaultWriterReadyPromiseResolve","WritableStreamDefaultControllerClose","WritableStreamAddWriteRequest","writeRequest","WritableStreamDealWithRejection","WritableStreamFinishErroring","WritableStreamDefaultWriterEnsureReadyPromiseRejected","WritableStreamHasOperationMarkedInFlight","storedError","WritableStreamRejectCloseAndClosedPromiseIfNeeded","abortRequest","WritableStreamFinishInFlightWrite","WritableStreamFinishInFlightWriteWithError","WritableStreamFinishInFlightClose","defaultWriterClosedPromiseResolve","WritableStreamFinishInFlightCloseWithError","WritableStreamMarkCloseRequestInFlight","WritableStreamMarkFirstWriteRequestInFlight","defaultWriterClosedPromiseReject","WritableStreamUpdateBackpressure","backpressure","defaultWriterReadyPromiseReset","_ownerWritableStream","defaultWriterReadyPromiseInitialize","defaultWriterReadyPromiseInitializeAsResolved","defaultWriterClosedPromiseInitialize","defaultWriterReadyPromiseInitializeAsRejected","defaultWriterClosedPromiseInitializeAsResolved","defaultWriterClosedPromiseInitializeAsRejected","IsWritableStreamDefaultWriter","defaultWriterBrandCheckException","defaultWriterLockException","WritableStreamDefaultWriterGetDesiredSize","_readyPromise","WritableStreamDefaultWriterAbort","WritableStreamDefaultWriterClose","WritableStreamDefaultWriterRelease","WritableStreamDefaultWriterWrite","WritableStreamDefaultWriterCloseWithErrorPropagation","WritableStreamDefaultWriterEnsureClosedPromiseRejected","_closedPromiseState","defaultWriterClosedPromiseResetToRejected","_readyPromiseState","defaultWriterReadyPromiseReject","defaultWriterReadyPromiseResetToRejected","WritableStreamDefaultControllerGetDesiredSize","releasedError","WritableStreamDefaultControllerGetChunkSize","WritableStreamDefaultControllerWrite","closeSentinel","abortReason","IsWritableStreamDefaultController","defaultControllerBrandCheckException$2","signal","_controlledWritableStream","WritableStreamDefaultControllerError","_abortAlgorithm","WritableStreamDefaultControllerClearAlgorithms","_strategySizeAlgorithm","_writeAlgorithm","_closeAlgorithm","WritableStreamDefaultControllerGetBackpressure","startPromise","WritableStreamDefaultControllerAdvanceQueueIfNeeded","chunkSizeE","WritableStreamDefaultControllerErrorIfNeeded","enqueueE","WritableStreamDefaultControllerProcessClose","WritableStreamDefaultControllerProcessWrite","sinkClosePromise","sinkWritePromise","_readyPromise_resolve","_readyPromise_reject","getGlobals","globals","isDOMExceptionConstructor","getFromGlobal","createPolyfill","captureStackTrace","writable","ReadableStreamPipeTo","preventClose","preventAbort","shuttingDown","currentWrite","actions","shutdownWithAction","action","addEventListener","pipeLoop","resolveLoop","rejectLoop","pipeStep","resolveRead","rejectRead","isOrBecomesErrored","shutdown","isOrBecomesClosed","destClosed","waitForWritesToFinish","oldCurrentWrite","originalIsError","originalError","doTheRest","finalize","newError","isError","removeEventListener","ReadableStreamDefaultController","IsReadableStreamDefaultController","defaultControllerBrandCheckException$1","ReadableStreamDefaultControllerGetDesiredSize","ReadableStreamDefaultControllerCanCloseOrEnqueue","ReadableStreamDefaultControllerClose","ReadableStreamDefaultControllerEnqueue","ReadableStreamDefaultControllerError","ReadableStreamDefaultControllerClearAlgorithms","_controlledReadableStream","ReadableStreamDefaultControllerCallPullIfNeeded","ReadableStreamDefaultControllerShouldCallPull","ReadableStreamDefaultControllerHasBackpressure","SetUpReadableStreamDefaultController","SetUpReadableStreamDefaultControllerFromUnderlyingSource","underlyingSource","ReadableStreamTee","cloneForBranch2","ReadableByteStreamTee","ReadableStreamDefaultTee","reading","readAgain","canceled1","canceled2","reason1","reason2","branch1","branch2","resolveCancelPromise","cancelPromise","chunk1","chunk2","cancel1Algorithm","compositeReason","cancelResult","cancel2Algorithm","CreateReadableStream","readAgainForBranch1","readAgainForBranch2","forwardReaderError","thisReader","pullWithDefaultReader","pull1Algorithm","pull2Algorithm","pullWithBYOBReader","forBranch2","byobBranch","otherBranch","byobCanceled","otherCanceled","CreateReadableByteStream","isReadableStreamLike","getReader","ReadableStreamFrom","ReadableStreamFromDefaultReader","ReadableStreamFromIterable","asyncIterable","nextResult","nextPromise","returnMethod","returnResult","returnPromise","readPromise","readResult","convertUnderlyingDefaultOrByteSource","convertUnderlyingSourceCancelCallback","convertUnderlyingSourcePullCallback","convertUnderlyingSourceStartCallback","convertReadableStreamType","convertIteratorOptions","convertPipeOptions","assertAbortSignal","convertReadableWritablePair","readable","ReadableStream","rawUnderlyingSource","InitializeReadableStream","streamBrandCheckException$1","pipeThrough","rawTransform","pipeTo","tee","branches","sourceCancelPromise","convertQueuingStrategyInit","byteLengthSizeFunction","ByteLengthQueuingStrategy","_byteLengthQueuingStrategyHighWaterMark","IsByteLengthQueuingStrategy","byteLengthBrandCheckException","countSizeFunction","CountQueuingStrategy","_countQueuingStrategyHighWaterMark","IsCountQueuingStrategy","countBrandCheckException","convertTransformer","flush","readableType","writableType","convertTransformerCancelCallback","convertTransformerFlushCallback","convertTransformerStartCallback","convertTransformerTransformCallback","TransformStream","rawTransformer","rawWritableStrategy","rawReadableStrategy","writableStrategy","readableStrategy","transformer","readableHighWaterMark","readableSizeAlgorithm","writableHighWaterMark","writableSizeAlgorithm","startPromise_resolve","InitializeTransformStream","SetUpTransformStreamDefaultControllerFromTransformer","_transformStreamController","IsTransformStream","streamBrandCheckException","_readable","_writable","TransformStreamDefaultSinkWriteAlgorithm","TransformStreamDefaultSinkAbortAlgorithm","TransformStreamDefaultSinkCloseAlgorithm","TransformStreamDefaultSourcePullAlgorithm","TransformStreamDefaultSourceCancelAlgorithm","_backpressureChangePromise","_backpressureChangePromise_resolve","TransformStreamSetBackpressure","TransformStreamError","TransformStreamErrorWritableAndUnblockWrite","TransformStreamDefaultControllerClearAlgorithms","TransformStreamUnblockWrite","TransformStreamDefaultController","IsTransformStreamDefaultController","defaultControllerBrandCheckException","readableController","_controlledTransformStream","TransformStreamDefaultControllerEnqueue","TransformStreamDefaultControllerError","terminate","TransformStreamDefaultControllerTerminate","SetUpTransformStreamDefaultController","transformAlgorithm","flushAlgorithm","_transformAlgorithm","_flushAlgorithm","_finishPromise","_finishPromise_resolve","_finishPromise_reject","transformResultE","TransformStreamDefaultControllerPerformTransform","transformPromise","backpressureChangePromise","defaultControllerFinishPromiseReject","defaultControllerFinishPromiseResolve","flushPromise","EXIT_FAILURE","exitCode","_program__WEBPACK_IMPORTED_MODULE_0__","CALL","for","makeCallable","convertComparerToEqualityComparer","comparer","invertComparer","combineComparers","leftResult","negateEqualityComparer","orEqualityComparers","andEqualityComparers","CompositeEqualityComparer","_comparer","_negated","inverted","createInternal","equals","or","unwrappedComparer","combinedComparer","and","CompositeComparer","_inverted","thenBy","invert","asEqualityComparer","createComparer","BASE_COMPARER","DEFAULT_COMPARER","createBaseComparer","createDefaultComparer","ORDINAL_COMPARER","IGNORE_CASE_COMPARER","localeCompare","sensitivity","createEqualityComparer","DEFAULT_EQUALITY_COMPARER","createDefaultEqualityComparer","external_node_crypto_namespaceObject","__WEBPACK_EXTERNAL_createRequire","url","string_utils_asString","IS_LETTER_REGEX","isLetter","IS_DIGIT_REGEX","isDigit","IS_LETTER_OR_DIGIT_REGEX","isLetterOrDigit","IS_UPPER_CASE_REGEX","isUpperCase","IS_LOWER_CASE_REGEX","isLowerCase","isNumberString","isIntegerString","stringCompare","ignoreCase","stringEquals","capitalize","uncapitalize","toPascalCase","splitByArrayOfStrings","splitByStringOrRegex","trimEntries","removeEmptyEntries","separators","splitted","previousIndex","lastPart","string_utils_splitLines","lines","shortenedLines","flatMap","words","linesFromCurrentLine","currentLine","string_utils_pad","align","padEnd","fillString","availableLength","padStartLength","generateSecureRandomString","bytes","randomBytes","string_utils_hashString","algorithm","createHash","update","digest","ORDINAL_EQUALITY_COMPARER","IGNORE_CASE_EQUALITY_COMPARER","IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER","compareStringsIgnoreNonWordCharacters","IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER","xI","yI","xChar","yChar","BigIntDescriptor","defaultValue","hasFlag","flag","addFlag","removeFlag","BooleanDescriptor","NumberDescriptor","ENUM_SEPARATORS","DEFAULT_ENUM_SEPARATOR","StringDescriptor","KNOWN_ENUM_DESCRIPTORS","getEnumDescriptorByUnderlyingType","inferEnumDescriptorOrThrow","underlyingType","isSet","isReadOnlySet","ArraySet","_values","valuesOrComparer","iterable_$i","clear","callbackFn","thisArg","iterable_isIterable","iterable","distinct","distinctBy","selector","valueComparer","initialValue","accumulator","skip","it","take","takeLast","isRelative","asArray","skipped","took","extremum","comparisonSign","currentValue","currentValueIndex","sign","_value","searchElement","fromIndex","sequenceEqual","second","firstIterator","secondIterator","firstCurrentElement","secondCurrentElement","searchElements","iterableIterator","searchElementsIterator","iterableElement","toIndex","searchElementsBuffered","limitedIterable","lastElements","findIndex","last","lastValue","at","iterables","firstIteration","firstElement","asArrayLike","ArrayLikeIterable","_iterable","of","toMap","ArrayMap","toSet","toRecord","record","isMap","isReadOnlyMap","map_isMultiMap","MultiMap","multiMap","_keys","entriesOrComparer","getFirst","existingValues","flatValues","flatEntries","forEachFlat","isKeyValueIterable","defineNestedProperties","properties","iterableProperties","isIterable","defineNestedProperty","property","currentObj","propertyName","existingValue","nestedDescriptor","getAllPropertyDescriptors","visited","getOwnPropertyNames","getOwnPropertySymbols","descriptors","getOwnPropertyDescriptors","getPropertyDescriptor","ownPropertyDescriptor","getOwnPropertyDescriptor","$i","getAllKeys","getAllNames","getAllSymbols","getAllValues","getAllEntries","getOwnEntries","getSafe","target","isInvalid","toUndefined","_obj","convert_toString","toBoolean","parsedNumber","toInteger","toFloat","toDate","REGEX_PARSER_REGEX","toRegExp","groups","CONVERT_METHOD_PREFIXES","PARSE_METHOD_PREFIXES","getConverter","prioritizeParsing","strategies","resolvedStrategies","prefixes","mapper","parseLike","getParseLikeFunction","mapped","prioritizedParseMethodName","propertyNames","parseMethodNames","firstParseMethodName","KNOWN_CONSTRUCTORS","KNOWN_TYPES","toType","knownConverter","globalThisMember","converter","converted","enumKeys","isEnumKey","enumEntries","DynamicEnum","_names","_descriptor","_hasFlags","hasFlags","underlyingEnum","keyOf","friendlyNameOf","friendlyName","findKey","existingKey","remainingValue","isZero","isFlagPresent","findOrParseValue","formattedFlags","formattedFlag","keyAsValue","enumValues","createEnum","dynamicEnumOptions","toDynamicEnumOptions","dynamicEnum","o","ignoreNonWordCharacters","Enum","external_node_util_namespaceObject","GameVersionFilterValues","GameVersionFilterOptions","game_version_filter_filter","filtered","GameVersionFilter","NONE","filterVersionType","applyVersionRange","MIN_MAJOR","MAX_MAJOR","MIN_MINOR","MAX_MINOR","MIN_PATCH","MAX_PATCH","allowReleases","RELEASES","allowBetas","BETAS","allowAlphas","ALPHAS","allowAny","isRelease","isBeta","isAlpha","minFlag","maxFlag","MIN_SAFE_INTEGER","_fromVersionResolver","versionResolverName","MIN","fromVersionResolver","deprecate","GameVersionFilterMethods","parseVersion","SemVerVersion","SEMVER_TAG_REGEX","_semver","_version","node_modules_semver","numericVersion","parsedSemVer","parseVersionRange","SemVerVersionRange","anyVersionRange","noneVersionRange","none","INTERVAL_LIKE_REGEX","mixedToSemver","intervalToSemver","INTERVAL_REGEX","fromOperator","from_bracket","toOperator","to_bracket","SEMVER_OPTIONAL_PATCH_REGEX","fixMissingPatchVersion","_range","mixedRange","semverRange","parsedSemverRange","internalSemVer","VersionTypeValues","VersionTypeOptions","parseFromFileName","VersionType","ALPHA","BETA","RELEASE","VersionTypeMethods","MinecraftVersionTypeValues","MinecraftVersionTypeOptions","toVersionType","MinecraftVersionType","SNAPSHOT","OLD_BETA","OLD_ALPHA","MinecraftVersionTypeMethods","MinecraftVersion","_id","_mcType","_type","_url","_releaseDate","releaseDate","isSnapshot","isOldAlpha","isOldBeta","getMinecraftVersionManifestEntries","manifest","releaseTime","valueOf","ACTION_NAME","MiddlewareHandler","_target","_delegates","use","middleware","execute","asFunction","delegates","Blob","isBlob","blob","readBlob","blobFrom","readBlobSync","SX","ModrinthUnfeatureModeValues","ModrinthUnfeatureModeOptions","isNone","ModrinthUnfeatureMode","isSubset","GAME_VERSION_SUBSET","VERSION_TYPE_SUBSET","LOADER_SUBSET","isIntersection","GAME_VERSION_INTERSECTION","VERSION_TYPE_INTERSECTION","LOADER_INTERSECTION","getGameVersionMode","GAME_VERSION_ANY","getVersionTypeMode","VERSION_TYPE_ANY","getLoaderMode","LOADER_ANY","previous","currentArray","shouldUnfeature","gameVersionMode","versionTypeMode","loaderMode","game_versions","version_type","loaders","ModrinthUnfeatureModeMethods","CIPHER_TYPE","KEY_LENGTH","IV_LENGTH","BUFFERS","WeakMap","KEYS","IVS","SecureString","iv","decryptedBuffer","cipher","createCipheriv","final","unwrap","decipher","createDecipheriv","toJSON","argument_error_ArgumentError","paramName","_paramName","formatErrorMessage","throwIfNullOrEmpty","argument","EMPTY_ARGUMENT_ERROR_MESSAGE","DEFAULT_ARGUMENT_ERROR_MESSAGE","PARAM_NAME_MESSAGE_PATTERN","ArgumentNullError","DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE","throwIfNull","external_node_os_namespaceObject","environment_ENVIRONMENT","WINDOWS_NEWLINE","environment_UNIX_NEWLINE","environment_DEFAULT_NEWLINE","EOL","environment_getEnvironmentVariable","variable","getAllEnvironmentVariables","environment_setEnvironmentVariable","asString","isDebug","isGitHubAction","platformName","isMacOs","isLinux","external_node_console_namespaceObject","CONSOLE_INSTANCE","warn","ConsoleLogger","_console","fatal","NullLogger","_message","ProcessLogger","_logConsumer","_newline","processOrLogConsumer","newline","stdout","msg","level","cmd","NULL_LOGGER","CONSOLE_LOGGER","PROCESS_LOGGER","getDefaultLogger","Stopwatch","_isRunning","_startTime","_elapsedTime","_onStart","_onStop","onStart","onStop","elapsedMilliseconds","isRunning","restart","startNew","stopwatch","createMessageCallback","logger","LoggingStopwatch","startCallback","stopCallback","FailModeValues","FailModeOptions","FailMode","ErrorBuilder","_logger","_errors","hasErrors","SKIP","WARN","AggregateError","throwIfHasErrors","SoftError","_isSoft","isSoft","isSoftError","FileNotFoundError","_fileName","DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN","throwIfNotFound","external_node_fs_","existsSync","HttpError","_response","response","isServerError","fromResponse","cachedResponse","HttpResponse","errorText","status","isHtmlDocument","statusText","isHttpError","promises_namespaceObject","FileInfo","_path","external_node_path_","directoryName","exists","createReadStream","json","JSON","fileEquals","leftPath","rightPath","findFiles","out_default","findFilesSync","file_info_readFile","getFileName","readAllText","readZippedFile","node_stream_zip_default","readAllZippedText","readFileSync","getFileNameSync","readAllTextSync","PlatformTypeValues","PlatformTypeOptions","PlatformType","DependencyTypeValues","DependencyTypeOptions","DependencyType","FabricDependencyTypeValues","FabricDependencyTypeOptions","toDependencyType","FabricDependencyType","DEPENDS","REQUIRED","RECOMMENDS","RECOMMENDED","INCLUDES","EMBEDDED","SUGGESTS","OPTIONAL","BREAKS","INCOMPATIBLE","CONFLICTS","CONFLICTING","fromDependencyType","FabricDependencyTypeMethods","isLegacyDependencyFormat","dependency","_parseLegacyDependencyFormat","dependencyFormat","fabricType","parseLegacyDependencyFormat","parseDependency","dependencyInfo","parseDependencyFormat","createDependency","DEPENDENCY_REGEX","DEPENDENCY_ALIASES_REGEX","versionRange","aliases","matchAll","ignoredPlatforms","isDependency","versionRanges","getProjectId","formatDependency","ignoredBy","JavaVersion","_name","_versionNumber","versionNumber","java","ACTION_MODULE_LOADER","modrinth_unfeature_mode_namespaceObject","secure_string_namespaceObject","file_info_namespaceObject","version_type_namespaceObject","dependency_namespaceObject","game_version_filter_namespaceObject","java_version_namespaceObject","fail_mode_namespaceObject","uploaded_file_namespaceObject","NODE_MODULE_LOADER","DYNAMIC_MODULE_LOADER","DEFAULT_MODULE_PROVIDER","DEFAULT_EXPORT_NAME","formatImportDirective","directive","wrappedName","isDefault","parseImportDirective","stringifiedDirective","replaceAll","executeImportDirective","moduleLoader","defaultModuleProvider","targetModule","required","importName","normalizeImportName","nameWithoutGenerics","FormData","esm_min","Ct","FILE_PATH","isFormData","toFormData","toFormDataEntry","formData","multipart_parser","MultipartParser","QueryString","URLSearchParams","params","normalizeUrlParams","queryString","existed","getString","getBoolean","rawValue","getNumber","getDate","getRegExp","isURLSearchParams","urlParams","isQueryString","isHttpRequestBody","body","isBuffer","isReadableStream","isStreamableHttpRequestBody","setEncoding","HEADER_SEPARATOR","hasHeader","headers","header","getHeader","arrayLikeHeaders","appendHeader","isMultiMap","concatenatedValue","setHeader","appendHeaders","newHeaders","mergeHeaders","deleteHeader","headerIndex","setHeaders","setDefaultHeader","setDefaultHeaders","defaultHeaders","deleteHeaders","headersToDelete","cloneHeaders","merger","defaultHeadersIterable","headerEntry","inferHttpRequestBodyHeaders","http_method_httpMethodEquals","isGetHttpMethod","canHttpMethodAcceptBody","isHeadHttpMethod","isConnectHttpMethod","isTraceHttpMethod","isPostHttpMethod","isPutHttpMethod","isPatchHttpMethod","isDeleteHttpMethod","isOptionsHttpMethod","external_node_http_namespaceObject","external_node_https_namespaceObject","external_node_zlib_namespaceObject","external_node_stream_namespaceObject","external_node_buffer_namespaceObject","dataUriToBuffer","uri","firstComma","meta","charset","base64","typeFull","dist","FetchBaseError","FetchError","systemError","erroredSysCall","syscall","NAME","isURLSearchParameters","object","getAll","is_isBlob","arrayBuffer","isDomainOrSubdomain","orig","URL","hostname","isSameProtocol","protocol","pipeline","promisify","INTERNALS","Body","boundary","types","isAnyArrayBuffer","au","disturbed","error_","bodyUsed","consumeBody","ct","parameters","fetch_blob","Z","accum","accumBytes","readableEnded","ended","clone","instance","p1","p2","getBoundary","getNonSpecFormDataBoundary","extractContentType","getTotalBytes","getLengthSync","hasKnownLength","writeToStream","validateHeaderName","validateHeaderValue","Headers","isBoxedPrimitive","Proxy","Reflect","fromRawHeaders","redirectStatus","isRedirect","response_INTERNALS","Response","contentType","ok","redirected","redirect","location","external_node_url_namespaceObject","getSearch","parsedURL","search","lastOffset","href","hash","external_node_net_namespaceObject","stripURLForUseAsAReferrer","originOnly","username","password","pathname","ReferrerPolicy","DEFAULT_REFERRER_POLICY","validateReferrerPolicy","referrerPolicy","isOriginPotentiallyTrustworthy","hostIp","host","hostIPVersion","isIP","isUrlPotentiallyTrustworthy","determineRequestsReferrer","referrerURLCallback","referrerOriginCallback","referrer","policy","referrerSource","referrerURL","referrerOrigin","currentURL","origin","parseReferrerPolicyFromHeader","policyTokens","request_INTERNALS","isRequest","doBadDataWarn","Request","inputBody","parsedReferrer","follow","compress","agent","insecureHTTPParser","getNodeRequestOptions","contentLengthValue","totalBytes","AbortError","supportedSchemas","fetch","options_","send","abortAndFinalize","request_","fixResponseChunkedTransferBadEnding","endedWithEventsCount","prependListener","_eventsCount","hadError","response_","rawHeaders","statusCode","locationURL","requestOptions","responseReferrerPolicy","responseOptions","statusMessage","codings","zlibOptions","Z_SYNC_FLUSH","finishFlush","createGunzip","createInflate","createBrotliDecompress","errorCallback","LAST_CHUNK","isChunkedTransfer","properLastChunkReceived","previousChunk","socket","onSocketClose","onData","DEFAULT_HEADERS","fetch_fetch","createFetch","baseUrl","fetchPipeline","configurableFetch","prepareUrl","prepareRequest","urlWithoutSlashOnItsStart","baseUrlWithSlashOnItsEnd","param","searchParams","fetchDestinationEquals","leftUrl","leftMethod","normalizeUrl","normalizeHttpMethod","rightUrl","rightMethod","httpMethodEquals","urlString","separatorIndex","CachedHttpResponse","content","serialized","redirectOptions","_blob","_formData","defaultResponse","responseFactory","throwOnError","errorInstance","DEFAULT_CACHE_FILTER","DEFAULT_CACHE_COMPARER","simpleCache","HttpRequest","HttpRequestBuilder","post","put","bodyHeaders","timeout","ms","AbortSignal","VERSION_PATTERN","VERSION_REGEX","RELEASE_REGEX","PRE_RELEASE_REGEX","RELEASE_CANDIDATE_REGEX","SNAPSHOT_REGEX","EXPERIMENTAL_REGEX","BETA_REGEX","ALPHA_REGEX","INDEV_REGEX","LEGACY_VERSION_RANGE","SPECIAL_VERSIONS","normalizeMinecraftVersion","releaseVersion","findNearestReleaseMinecraftVersion","normalizeUnknownMinecraftVersion","normalizeMinecraftVersionRange","versionRegex","normalizedRanges","getMinecraftVersionRegExp","normalizeOldMinecraftVersion","rcBuild","isLegacy","isLegacyMinecraftVersion","normalized","wasDigit","wasLeadingZero","wasSeparator","hasHyphen","snapshot","year","week","hardcodedSnapshotVersion","findNearestReleaseMinecraftVersionBySnapshotDate","MOJANG_API_URL","MojangApiClient","_fetch","_versions","_versionRegExp","getMinecraftVersion","getAllMinecraftVersions","getMinecraftVersions","normalizedRange","manifestEntries","normalizedVersion","MINECRAFT_VERSION_PROVIDER","MINECRAFT","GAME_VERSION_PROVIDERS","getGameVersionProviderByName","isPromise","sleep","MIN_DELAY","run","runSafely","retry","delay","maxAttempts","attempts","isNumberOfAttemptsExceeded","isRecoverable","isErrorHandled","handlerOutput","DEFAULT_RETRY_ATTEMPTS","DEFAULT_RETRY_DELAY","GenericPlatformUploader","upload","retryAttempts","retryDelay","report","uploadCore","convertToSimpleDependencies","dependencies","typeConverter","CurseForgeDependencyTypeValues","CurseForgeDependencyTypeOptions","curseforge_dependency_type_toDependencyType","CurseForgeDependencyType","EMBEDDED_LIBRARY","OPTIONAL_DEPENDENCY","REQUIRED_DEPENDENCY","TOOL","curseforge_dependency_type_fromDependencyType","CurseForgeDependencyTypeMethods","isCurseForgeProjectId","idOrSlug","CURSEFORGE_ETERNAL_API_VERSION","CURSEFORGE_ETERNAL_API_URL","DEFINITELY_NOT_AN_API_KEY","CurseForgeEternalApiClient","getProject","with","gameId","slug","isCurseForgeError","errorCode","errorMessage","INVALID_PROJECT_SLUG_ERROR_CODE","INVALID_PROJECT_SLUG_REGEX","isInvalidProjectSlugCurseForgeError","getInvalidProjectSlug","INVALID_GAME_VERSION_ID_ERROR_CODE","isInvalidGameVersionIdCurseForgeError","CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER","aVersion","bVersion","CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER","findCurseForgeGameVersionIdsByNames","fallbackComparer","formatCurseForgeGameVersion","gameVersion","formatCurseForgeGameVersionSnapshot","createCurseForgeGameVersionMap","filterGameVersionsByTypeName","game_versions_for_plugins","game_versions_for_addons","java_versions","environments","typeName","filteredTypes","gameVersionTypeID","BUKKIT_GAME_VERSION_TYPE","packCurseForgeVersionInit","gameVersions","parentFileId","hasParentFile","metadata","changelog","changelogType","changelog_type","displayName","parentFileID","releaseType","relations","projects","CURSEFORGE_UPLOAD_API_URL","CurseForgeUploadApiClient","_gameVersionProvider","gameVersionProvider","getGameVersionTypes","gameVersionTypes","getGameVersions","getGameVersionMap","createVersion","gameVersionIdVariants","getGameVersionIdVariants","createdVersion","fileData","version_id","uploadedFile","uploadFile","tryHandleUploadError","project_id","projectId","form","gameVersionUnion","javaVersions","javaVersionNames","gameVersionNames","pluginGameVersionNames","gameVersionIds","loaderIds","javaIds","pluginGameVersionIds","addonGameVersionIds","idVariants","nonEmptyIdVariants","errorObject","handleInvalidProjectSlugCurseForgeError","handleInvalidGameVersionIdCurseForgeError","invalidSlug","oldDependencies","CurseForgeUploader","CURSEFORGE","eternalApi","project","links","websiteUrl","convertToCurseForgeDependencies","versionType","simpleDependencies","curseForgeDependencies","uniqueCurseForgeDependencies","packGitHubReleaseInit","owner","repo","assets","packGitHubReleasePatch","GITHUB_API_URL","GITHUB_API_VERSION","GitHubApiClient","Accept","Authorization","getRelease","tag_name","createRelease","createdRelease","updateRelease","updateReleaseAssets","shouldUpdate","releaseAssets","asset","existingAsset","deleteReleaseAsset","uploadedAsset","uploadReleaseAsset","upload_url","fileInfo","encodeURIComponent","fileContent","GitHubUploader","_context","githubContext","GITHUB","apiUrl","updateOrCreateRelease","tag","html_url","browser_download_url","getOrCreateReleaseId","created","payload","target_commitish","commitish","draft","discussion_category_name","discussion","generate_release_notes","generateChangelog","packModrinthVersionInit","version_number","featured","primary_file","file_parts","packModrinthVersionSearchTemplate","template","MODRINTH_API_VERSION","MODRINTH_API_URL","MODRINTH_STAGING_API_URL","ModrinthApiClient","getLoaders","getProjects","idsOrSlugs","ids","updateProject","deleteProject","getVersion","getVersions","updateVersion","deleteVersion","getProjectVersions","unfeaturePreviousProjectVersions","currentVersion","SUBSET","previousVersions","unfeaturedVersions","previousVersion","ModrinthDependencyTypeValues","ModrinthDependencyTypeOptions","modrinth_dependency_type_toDependencyType","ModrinthDependencyType","modrinth_dependency_type_fromDependencyType","ModrinthDependencyTypeMethods","ModrinthUploader","MODRINTH","unfeatureMode","unfeaturePreviousVersions","project_type","hashes","sha1","filename","convertToModrinthGameVersionNames","convertToModrinthLoaderNames","convertToModrinthDependencies","modrinthDependencies","dependency_type","uniqueModrinthDependencies","modrinthLoaders","supported_project_types","modrinthGameVersions","success","nonUnfeaturedVersions","createPlatformUploader","IGNORED_DEPENDENCIES","DEPENDENCY_ALIASES","getFabricDependencies","toFabricDependencyArray","normalizeFabricDependency","LoaderTypeValues","LoaderTypeOptions","LoaderType","getFabricMetadataCustomPayload","containsLegacyCustomPayloadDefinition","getLegacyFabricMetadataCustomPayload","custom","modmanager","_getLegacyFabricMetadataCustomPayload","modManagerPayload","basePayload","DEFAULT_LOADERS","FABRIC","getLoadersFromFabricMetadataCustomPayload","containsLegacyLoadersDefinition","getLegacyLoadersFromFabricMetadataCustomPayload","quilt","_getLegacyLoadersFromFabricMetadataCustomPayload","QUILT","getDependenciesFromFabricMetadataCustomPayload","getProjectIdFromFabricMetadataCustomPayload","FabricMetadata","_raw","customPayload","gameName","baseDependencies","payloadDependencies","dependencyMap","FABRIC_MOD_JSON","FabricMetadataReader","readMetadataFile","metadataText","forge_dependency_IGNORED_DEPENDENCIES","getForgeDependencies","modId","normalizeForgeDependency","getForgeDependencyCustomPayload","incompatible","embedded","mandatory","containsLegacyForgeDependencyCustomPayload","getLegacyForgeDependencyCustomPayload","_getLegacyForgeDependencyCustomPayload","legacyPayload","getForgeMetadataCustomPayload","forge_metadata_custom_payload_containsLegacyCustomPayloadDefinition","getLegacyForgeMetadataCustomPayload","_getLegacyForgeMetadataCustomPayload","getLoadersFromForgeMetadataCustomPayload","FORGE","getDependenciesFromForgeMetadataCustomPayload","getProjectIdFromForgeMetadataCustomPayload","ForgeMetadata","mod","mods","MODS_TOML","ForgeMetadataReader","toml","quilt_dependency_IGNORED_DEPENDENCIES","quilt_dependency_DEPENDENCY_ALIASES","getQuiltDependencies","mapQuiltDependencies","quilt_loader","depends","breaks","breaking","provides","provided","customFields","normalizeQuiltDependency","getQuiltDependencyCustomPayload","unless","optional","getQuiltMetadataCustomPayload","quilt_metadata_custom_payload_containsLegacyCustomPayloadDefinition","getLegacyQuiltMetadataCustomPayload","_getLegacyQuiltMetadataCustomPayload","quilt_metadata_custom_payload_DEFAULT_LOADERS","getLoadersFromQuiltMetadataCustomPayload","getDependenciesFromQuiltMetadataCustomPayload","getProjectIdFromQuiltMetadataCustomPayload","QuiltMetadata","QUILT_MOD_JSON","QuiltMetadataReader","NeoForgeDependencyTypeValues","NeoForgeDependencyTypeOptions","neoforge_dependency_type_toDependencyType","NeoForgeDependencyType","DISCOURAGED","neoforge_dependency_type_fromDependencyType","NeoForgeDependencyTypeMethods","neoforge_dependency_IGNORED_DEPENDENCIES","getNeoForgeDependencies","normalizeNeoForgeDependency","getNeoForgeMetadataCustomPayload","getLoadersFromNeoForgeMetadataCustomPayload","NEOFORGE","getDependenciesFromNeoForgeMetadataCustomPayload","getProjectIdFromNeoForgeMetadataCustomPayload","NeoForgeMetadata","raw_neoforge_metadata_MODS_TOML","NeoForgeMetadataReader","combineLoaderMetadataReaders","readers","readerArray","createLoaderMetadataReader","loader","createDefaultLoaderMetadataReader","GITHUB_PAYLOAD_PATH","GITHUB_REPOSITORY","github_context_GITHUB_API_URL","GITHUB_REF","GITHUB_REF_TAG_PREFIX","GitHubContext","_env","_payload","ref","repository","parseActionParameterTypeDescriptor","optionsIndex","normalizedDescriptor","normalizePattern","normalizePatternInDotNotation","mainDescriptor","typeDescriptor","typeModule","factoryModule","isTypeImported","isFactoryImported","factoryDescriptor","dotDescriptor","factoryName","slashDescriptor","action_parameter_path_parser_IDENTITY_ACTION_PARAMETER_PATH_PARSER","SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER","SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER","parameter","inputs","outputs","groupNames","parameterGroup","maxPathLength","flattenedPath","flattenPath","action_parameter_descriptor_getActionParameterDescriptor","descriptorFactory","pathParser","IDENTITY_ACTION_PARAMETER_PATH_PARSER","getActionParameterDescriptors","namedParameters","getActionInputDescriptor","getActionParameterDescriptor","asActionInputDescriptor","action_input_descriptor_getActionInputDescriptors","isDefaultUndefined","action_input_SYNTHETIC_UNDEFINED","deprecationMessage","ActionParameterFactoryOptionsValues","ActionParameterFactoryOptionsOptions","ActionParameterFactoryOptions","INPUT_PREFIX","setActionInput","normalizedName","normalizeActionParameterName","environmentVariableName","stringifiedValue","setEnvironmentVariable","setActionInputs","getActionInput","brokenValue","getEnvironmentVariable","isActionInputDefined","trimmedValue","trimWhitespace","getActionInputs","getAllActionInputs","inputName","isValueDefined","inputValue","getAllActionInputsAsObject","descriptorArray","inputObject","targetDescriptor","parsedValue","parseInput","getAllActionInputsAsObjectUsingMetadata","shouldSplit","SPLIT","parseMultipleInputs","parseSingleInput","SEPARATOR","processSeparately","PROCESS_SEPARATELY","TRIM_ENTRIES","REMOVE_EMPTY_ENTRIES","flatDepth","FLAT_DEPTH","processedValues","flattenedValues","typeImport","factoryImport","conversionMethodContainers","convertedValue","YAML_FRAME_STYLE","filler","auto_generated_JS_MULTILINE_FRAME_STYLE","lineStart","lineEnd","JS_SINGLELINE_FRAME_STYLE","DEFAULT_FRAME_STYLE","DEFAULT_FRAME_ALIGN","generateAutoGeneratedWarningText","sourceFileName","baseWarning","auto_generated_generateAutoGeneratedWarningFrame","style","DEFAULT_NEWLINE","minLineLength","maxLineLength","lineWidth","splitLines","frameSize","fillerCount","frameLine","builtFrame","DEFAULT_TAB","DEFAULT_TAB_SIZE","typescript_formatting_options_DEFAULT_QUOTES","getTab","tab","tabSize","createTab","typescript_formatting_options_getIndentation","createIndentation","indent","typescript_formatting_options_getNewline","typescript_formatting_options_getQuotes","preferredQuotes","typescript_formatting_options_incrementIndent","CACHED_TABS","cachedTab","generatedTab","CACHED_INDENTATION","cachedIndentationsByTab","cachedIndentation","generatedIndentation","typescript_comment_TypeScriptComment","_text","isSingleline","isSinglelineComment","isDirective","isDirectiveComment","isMultiline","isMultilineComment","isTSDoc","isTSDocComment","MULTILINE_TEMPLATE","SINGLELINE_TEMPLATE","commentedLines","startDelimiter","endDelimiter","commentText","createSingleline","createDirective","DIRECTIVE_TEMPLATE","createMultiline","createTSDoc","TSDOC_TEMPLATE","isComment","abstract_typescript_node_AbstractTypeScriptNode","_comments","comments","addComment","commentNode","TypeScriptComment","addTSDoc","deleteComment","formatComments","getNewline","formattedComments","formattedContent","formatContent","formattedNode","typescript_export_TypeScriptExport","_exportedNode","_isDefault","exportedNode","thisComments","nodeComments","isCommentableTypeScriptNode","getIndentation","formattedExportedNode","trimStart","formattedExport","typescript_import_TypeScriptImport","_namedImports","_defaultImportName","_wildcardImportName","namedImports","defaultImportName","wildcardImportName","assertIsValidImport","createWildcardImport","createDefaultImport","createNamedImport","createEmptyImport","addNamedImport","ArgumentError","addNamedImports","deleteNamedImport","isNamedImport","isDefaultImport","isWildcardImport","isEmptyImport","getQuotes","formatted","formattedNamedImports","typescript_imports_TypeScriptImports","_imports","imports","getImport","getOrCreateImport","TypeScriptImport","addImport","importNode","existingImportNode","deleteImport","importNodeOrPath","addWildcardImport","addDefaultImport","namedImport","formattedImports","typescript_document_TypeScriptDocument","_nodes","TypeScriptImports","addExport","TypeScriptExport","addDefaultExport","saveSync","writeFileSync","save","writeFile","formattedNodes","formattedDocument","isValidMemberName","typescript_member_escapeMemberName","DEFAULT_QUOTES","escapedName","typescript_property_TypeScriptProperty","isOptional","accessModifier","isReadOnly","isAbstract","isStatic","copiedProperty","formattedName","escapeMemberName","formattedType","staticModifier","abstractModifier","readonlyModifier","optionalModifier","formattedProperty","typescript_type_literal_TypeScriptTypeLiteral","STRING","NUMBER","BIGINT","BOOLEAN","SYMBOL","UNDEFINED","OBJECT","FUNCTION","NEVER","cachedType","TYPE_CACHE","isComposite","isUnion","isAlias","composingTypes","typescript_union_type_TypeScriptUnionType","_composingTypes","composingTypesArray","TypeScriptTypeLiteral","formattedTypes","typescript_object_TypeScriptObject","_members","members","TypeScriptProperty","getMember","getNestedMember","member","hasMember","hasNestedMember","addMember","deleteMember","getProperty","getNestedProperty","hasProperty","hasNestedProperty","addProperty","addNestedProperty","localPropertyName","nestedObject","nestedProperty","localProperty","decomposeType","TypeScriptUnionType","doubleNewline","indentedOptions","incrementIndent","formattedMembers","formattedObject","typescript_interface_TypeScriptInterface","_definition","definition","TypeScriptObject","formattedDefinition","formattedInterface","typescript_type_alias_TypeScriptTypeAlias","formattedTypeAlias","TypeScriptIntersectionType","CONST_DECLARATION","LET_DECLARATION","VAR_DECLARATION","typescript_variable_TypeScriptVariable","_declaration","declaration","formattedValue","getActionOutputDescriptor","asActionOutputDescriptor","action_output_descriptor_getActionOutputDescriptors","isValueUndefined","DEFAULT_ROOT_PATH","DEFAULT_ACTION_NAME_CONSTANT_NAME","DEFAULT_INPUT_TYPE_NAME","DEFAULT_OUTPUT_TYPE_NAME","DEFAULT_MODULE_LOADER_NAME","DISABLE_ES_LINT_COMMENT","parseActionMetadataFromString","actionYamlText","yaml_dist","Qc","parseActionMetadataFromFile","actionFile","processActionMetadataTemplate","groupDelimiter","DEFAULT_ACTION_GROUP_DELIMITER","removeTemplateOnlyFields","sanitizeActionInputs","groupActionParameters","SYNTHETIC_UNDEFINED","removeTemplateOnlyActionFields","processActionMetadataTemplateString","templateYamlText","generateAutoGeneratedWarningMessage","parsedTemplate","processedTemplate","stringifiedProcessedTemplate","stringifyYaml","fixedStringifiedProcessedTemplate","UNIX_NEWLINE","warningMessage","generateAutoGeneratedWarningFrame","stringifiedProcessedTemplateWithWarning","processActionMetadataTemplateFile","inputTemplateFile","outputMetadataFile","namedGroups","groupedValues","vName","gName","g","groupName","valueName","isForciblyIncluded","include","isForciblyExcluded","exclude","isPartOfGroup","shouldBeIncluded","groupedValueName","groupedRedirectName","sanitizedInputs","copiedInput","cleanedValues","copiedValue","createTypeScriptDefinitionForActionMetadata","document","TypeScriptDocument","inputDescriptors","getActionInputDescriptors","inputGroups","outputDescriptors","getActionOutputDescriptors","outputGroups","rootPath","createTypeScriptImportForActionParameter","createTypeScriptCommentsForActionMetadata","actionName","createTypeScriptConstantForActionName","inputsInterface","createTypeScriptInterfaceForActionInputs","inputGroupAliases","createTypeScriptAliasForActionGroup","outputInterface","createTypeScriptInterfaceForActionOutputs","outputGroupAliases","actionNameConstant","TypeScriptVariable","disableESLint","autoGeneratedWarningMessage","JS_MULTILINE_FRAME_STYLE","autoGeneratedWarningComment","pathExtractionOptions","inputType","typeDescription","createTypeScriptInterfaceForActionParameters","outputType","isOptionalPredicate","tsInterface","TypeScriptInterface","tsInterfaceDefinition","groupProperty","modulePath","tsImport","referencedTypeName","mappedPath","groupAlias","TypeScriptTypeAlias","createModuleLoaderTypeScriptDefinitionForActionMetadata","modules","hashString","fallback","formattedConditions","moduleLoaderBody","moduleLoaderName","stripActionMetadataFromCustomFields","stripped","strippedInput","strippedOutput","stripActionMetadataStringFromCustomFields","parsedMetadata","strippedMetadata","stringifiedStrippedMetadata","fixedStringifiedStrippedMetadata","stringifiedStrippedMetadataWithWarning","stripActionMetadataFileFromCustomFields","inputMetadataFile","OUTPUT_FILE_NAME","OUTPUT_CACHE","setActionOutput","nameAndValue","formatNameAndValue","appendFileSync","formatValue","delimiter","generateDelimiter","DELIMITER_SIZE","setActionOutputs","getActionOutput","getActionOutputs","getAllActionOutputs","ENVIRONMENT","createActionOutputController","ActionOutputController","navigate","createActionOutputControllerUsingMetadata","_descriptors","_getOutput","_setOutput","getOutput","setOutput","findNearestDescriptor","newValue","proxy","ownKeys","deleteProperty","isExtensible","preventExtensions","main","initializeAction","publish","metadataReader","errors","processedPlatforms","platformOptions","fillInDefaultValues","uploader","failMode","FAIL","primaryFile","wrappedGameVersions","unwrappedGameVersions","gameVersionFilter","identity","Scalar","YAMLMap","YAMLSeq","resolveBlockMap","resolveBlockSeq","resolveFlowCollection","resolveCollection","CN","tagName","coll","Coll","composeCollection","tagToken","directives","expType","schema","tags","kt","knownTags","isNode","Document","composeNode","resolveEnd","resolveProps","composeDoc","_directives","doc","atRoot","props","indicator","startOnNewline","docStart","hasNewline","contents","composeEmptyNode","contentEnd","Alias","composeScalar","utilEmptyScalarPosition","spaceBefore","anchor","isSrcToken","composeAlias","commentBefore","keepSourceTokens","srcToken","emptyScalarPosition","alias","valueEnd","resolveBlockScalar","resolveFlowScalar","findScalarTagByName","findScalarTagByTest","SCALAR","scalar","isScalar","matchWithTest","compat","ts","tagString","cs","getErrorPos","parsePrelude","prelude","atComment","afterEmptyLine","Composer","atDirectives","warnings","warning","YAMLWarning","YAMLParseError","Directives","decorate","afterDoc","dc","isCollection","flow","isPair","streamInfo","compose","forceDoc","endOffset","LOG_STREAM","docEnd","Pair","utilContainsNewline","utilFlowIndentCheck","utilMapIncludes","startColMsg","bm","NodeClass","nodeClass","commentEnd","collItem","keyProps","implicitKey","hasNewlineAfterProp","containsNewline","keyStart","keyNode","flowIndentCheck","mapIncludes","valueProps","valueNode","parseBlockScalarHeader","BLOCK_FOLDED","BLOCK_LITERAL","chompStart","chomp","trimIndent","contentStart","prevMoreIndented","crlf","hasSpace","line0","bs","seq","reqSpace","blockMsg","isBlock","fc","fcName","prevItemComment","loop","st","expectedEnd","ce","ee","cePos","_onError","rel","PLAIN","plainValue","QUOTE_SINGLE","singleQuotedValue","QUOTE_DOUBLE","doubleQuotedValue","badChar","foldLines","fold","foldNewline","cc","escapeCodes","u","U","parseCharCode","wsStart","N","L","P","NaN","atNewline","commentSep","uniqueKeys","isEqual","Collection","toJS","Schema","stringifyDocument","anchors","applyReviver","createNode","replacer","NODE_TYPE","DOC","_replacer","opt","intAsBigInt","logLevel","prettyErrors","atDocument","yaml","explicit","setSchema","assertCollection","addIn","createAlias","anchorNames","findNewAnchor","keyToStr","asStr","aliasDuplicateObjects","anchorPrefix","keepUndefined","onTagObj","onAnchor","setAnchors","sourceObjects","createNodeAnchors","createPair","deleteIn","isEmptyPath","keepScalar","getIn","hasIn","collectionFromPath","setIn","resolveKnownTags","sv","jsonArg","mapAsMap","maxAliasCount","reviver","mapKeyWarned","visit","anchorIsValid","sa","Value","_key","aliasObjects","prevAnchors","v0","defaultTagPrefix","findTagObject","tagObj","identify","isDocument","MAP","BigInt","SEQ","escapeChars","escapeTagName","tn","defaultYaml","defaultTags","atNextDocument","handle","isValid","verbatim","decodeURIComponent","tagEntries","tagNames","YAMLError","prettifyError","linePos","ci","lineStr","lineStarts","pointer","composer","cst","lexer","lineCounter","publicApi","__webpack_unused_export__","isSeq","Lexer","LineCounter","Parser","parseAllDocuments","parseDocument","visitAsync","messages","emitWarning","NodeBase","ALIAS","BREAK","_arg","ReferenceError","aliasCount","getAliasCount","_onComment","_onChompKeep","verifyAliasOrder","kc","vc","hasAllNullValues","allowScalar","maxFlowStringSingleLineLength","stringifyPair","addPairToJSMap","PAIR","onComment","onChompKeep","isScalarValue","stringifyCollection","findPair","sortMapEntries","overwrite","_pair","sortEntries","Type","onCreate","allNullValues","blockItemPrefix","flowChars","itemIndent","asItemIndex","MERGE_KEY","isMergeKey","mergeToJSMap","jsKey","stringKey","stringifyKey","jsValue","srcMap","strCtx","createStringifyContext","inFlow","inStringifyKey","strKey","jsonStr","hasAnchor","stringifyString","resolveAsScalar","createScalarToken","blockQuote","he","addEndtoBlockProps","setScalarValue","afterKey","setBlockScalarValue","setFlowScalarValue","oa","nl","stringifyToken","stringifyItem","REMOVE","visitor","_visit","itemAtPath","parentCollection","ctrl","cstScalar","cstStringify","cstVisit","BOM","DOCUMENT","FLOW_END","prettyToken","tokenType","hexDigits","tagChars","invalidFlowScalarChars","invalidAnchorChars","isNotAnchorChar","atEnd","blockScalarIndent","blockScalarKeep","flowKey","flowLevel","indentNext","indentValue","lineEndPos","lex","incomplete","hasChars","parseNext","atLineEnd","continueScalar","dt","getLine","setNext","parseStream","parseLineStart","parseBlockStart","parseFlowCollection","parseQuotedScalar","parseBlockScalar","parsePlainScalar","pushCount","dirEnd","pushSpaces","pushNewline","sp","ch0","ch1","pushIndicators","pushUntil","atFlowEndMarker","quote","qb","pushToIndex","allowEmpty","pushTag","allowTabs","addNewLine","mid","includesToken","findNonEmptyIndex","isFlowToken","getPrevProps","getFirstKeyStartProps","fixFlowSeqItems","onNewLine","atNewLine","atScalar","onKeyLine","lexeme","LOG_TOKENS","sourceToken","top","blockScalar","blockMap","blockSequence","flowCollection","documentEnd","bv","startBlockValue","atIndentedComment","atNextItem","flowScalar","lineCounter$1","parser$1","composer$1","docs","_doc","_reviver","sortMapEntriesByKey","customTags","toStringDefaults","getTags","coreKnownTags","toStringOptions","nullTag","nullStr","actualString","boolTag","trueStr","falseStr","stringifyNumber","floatNaN","NEGATIVE_INFINITY","floatExp","toExponential","float","minFractionDigits","intIdentify","intResolve","radix","intStringify","intOct","int","intHex","_null","bool","stringifyJSON","jsonScalars","jsonError","schema$1","binary","omap","pairs","schema$2","timestamp","schemas","tagsByName","floatTime","intTime","null","schemaName","atob","btoa","minContentWidth","boolStringify","boolObj","trueTag","falseTag","intBin","YAMLOMap","pairs$1","createPairs","resolvePairs","seenKeys","cn","YAMLSet","keepPair","parseSexagesimal","asBigInt","stringifySexagesimal","_60","month","day","hour","minute","millisec","UTC","tz","toISOString","FOLD_FLOW","FOLD_BLOCK","FOLD_QUOTED","foldFlowLines","indentAtStart","onFold","onOverflow","endStep","folds","escapedFolds","overflow","escStart","escEnd","consumeMoreIndentedLines","j","stringifyComment","commentString","defaultKeyType","defaultStringType","doubleQuotedAsJSON","doubleQuotedMinMultiLineLength","flowCollectionPadding","indentSeq","simpleKeys","singleQuote","collectionStyle","indentStep","getTagObject","stringifyProps","anchors$1","resolvedAliases","stringifyFlowCollection","stringifyBlockCollection","itemCtx","chompKeep","addCommentBefore","ik","lineComment","indentComment","fcPadding","reqNewline","linesAtValue","sum","ic","hasDirectives","contentComment","forceBlockIndent","keyComment","explicitKey","keyCommentDone","vsb","vcb","valueComment","valueCommentDone","valueStr","ws","vs0","nl0","hasPropsLine","sp0","getFoldOptions","containsDocumentMarker","lineLengthOverLimit","indentLength","strLen","doubleQuotedString","minMultiLineLength","singleQuotedString","quotedString","qs","hasDouble","hasSingle","blockEndNewlines","blockString","literal","endStart","endNlPos","startWithSpace","startEnd","startNlPos","indentSize","plainString","ss","_stringify","visitor_","initVisitor","cd","visit_","callVisitor","replaceNode","ck","cv","visitAsync_","Seq","pt","POOL_SIZE","_File","File","_index_js__WEBPACK_IMPORTED_MODULE_0__","lastModified","fileBits","hasInstance","__WEBPACK_DEFAULT_EXPORT__","node_fs__WEBPACK_IMPORTED_MODULE_0__","promises","blobFromSync","fromBlob","fileFrom","fromFile","fileFromSync","_index_js__WEBPACK_IMPORTED_MODULE_4__","BlobDataItem","mtimeMs","node_domexception__WEBPACK_IMPORTED_MODULE_2__","toIterator","_Blob","endings","blobParts","encoder","TextEncoder","encode","decoder","relativeStart","relativeEnd","span","added","subarray","random","fetch_blob_file_js__WEBPACK_IMPORTED_MODULE_1__","formDataToBlob","B","fetch_blob__WEBPACK_IMPORTED_MODULE_0__","S","START_BOUNDARY","HEADER_FIELD_START","HEADER_FIELD","HEADER_VALUE_START","HEADER_VALUE","HEADER_VALUE_ALMOST_DONE","HEADERS_ALMOST_DONE","PART_DATA_START","PART_DATA","END","PART_BOUNDARY","LAST_BOUNDARY","LF","CR","SPACE","HYPHEN","COLON","A","onHeaderEnd","onHeaderField","onHeadersEnd","onHeaderValue","onPartBegin","onPartData","onPartEnd","boundaryChars","ui8a","lookbehind","length_","boundaryLength","boundaryEnd","cl","mark","callbackSymbol","dataCallback","markSymbol","_lookbehind","headerValue","headerField","entryValue","entryChunks","formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__","appendToFile","appendFileToFormData","fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__","$B","appendEntryToFormData","__webpack_module_cache__","moduleId","cachedModule","threw","__webpack_modules__","webpackQueues","webpackExports","webpackError","resolveQueue","wrapDeps","deps","dep","hasAwait","depQueues","currentDeps","outerResolve","rej","getResult","fnQueue","getter","__esModule","scriptUrl","installedChunks","__webpack_exports__"],"sources":[".././node_modules/@nodelib/fs.scandir/out/adapters/fs.js",".././node_modules/@nodelib/fs.scandir/out/constants.js",".././node_modules/@nodelib/fs.scandir/out/index.js",".././node_modules/@nodelib/fs.scandir/out/providers/async.js",".././node_modules/@nodelib/fs.scandir/out/providers/common.js",".././node_modules/@nodelib/fs.scandir/out/providers/sync.js",".././node_modules/@nodelib/fs.scandir/out/settings.js",".././node_modules/@nodelib/fs.scandir/out/utils/fs.js",".././node_modules/@nodelib/fs.scandir/out/utils/index.js",".././node_modules/@nodelib/fs.stat/out/adapters/fs.js",".././node_modules/@nodelib/fs.stat/out/index.js",".././node_modules/@nodelib/fs.stat/out/providers/async.js",".././node_modules/@nodelib/fs.stat/out/providers/sync.js",".././node_modules/@nodelib/fs.stat/out/settings.js",".././node_modules/@nodelib/fs.walk/out/index.js",".././node_modules/@nodelib/fs.walk/out/providers/async.js",".././node_modules/@nodelib/fs.walk/out/providers/stream.js",".././node_modules/@nodelib/fs.walk/out/providers/sync.js",".././node_modules/@nodelib/fs.walk/out/readers/async.js",".././node_modules/@nodelib/fs.walk/out/readers/common.js",".././node_modules/@nodelib/fs.walk/out/readers/reader.js",".././node_modules/@nodelib/fs.walk/out/readers/sync.js",".././node_modules/@nodelib/fs.walk/out/settings.js",".././node_modules/braces/index.js",".././node_modules/braces/lib/compile.js",".././node_modules/braces/lib/constants.js",".././node_modules/braces/lib/expand.js",".././node_modules/braces/lib/parse.js",".././node_modules/braces/lib/stringify.js",".././node_modules/braces/lib/utils.js",".././node_modules/fast-glob/node_modules/glob-parent/index.js",".././node_modules/fast-glob/out/index.js",".././node_modules/fast-glob/out/managers/tasks.js",".././node_modules/fast-glob/out/providers/async.js",".././node_modules/fast-glob/out/providers/filters/deep.js",".././node_modules/fast-glob/out/providers/filters/entry.js",".././node_modules/fast-glob/out/providers/filters/error.js",".././node_modules/fast-glob/out/providers/matchers/matcher.js",".././node_modules/fast-glob/out/providers/matchers/partial.js",".././node_modules/fast-glob/out/providers/provider.js",".././node_modules/fast-glob/out/providers/stream.js",".././node_modules/fast-glob/out/providers/sync.js",".././node_modules/fast-glob/out/providers/transformers/entry.js",".././node_modules/fast-glob/out/readers/async.js",".././node_modules/fast-glob/out/readers/reader.js",".././node_modules/fast-glob/out/readers/stream.js",".././node_modules/fast-glob/out/readers/sync.js",".././node_modules/fast-glob/out/settings.js",".././node_modules/fast-glob/out/utils/array.js",".././node_modules/fast-glob/out/utils/errno.js",".././node_modules/fast-glob/out/utils/fs.js",".././node_modules/fast-glob/out/utils/index.js",".././node_modules/fast-glob/out/utils/path.js",".././node_modules/fast-glob/out/utils/pattern.js",".././node_modules/fast-glob/out/utils/stream.js",".././node_modules/fast-glob/out/utils/string.js",".././node_modules/fastq/queue.js",".././node_modules/fill-range/index.js",".././node_modules/is-extglob/index.js",".././node_modules/is-glob/index.js",".././node_modules/is-number/index.js",".././node_modules/merge2/index.js",".././node_modules/micromatch/index.js",".././node_modules/node-domexception/index.js",".././node_modules/node-stream-zip/node_stream_zip.js",".././node_modules/picomatch/index.js",".././node_modules/picomatch/lib/constants.js",".././node_modules/picomatch/lib/parse.js",".././node_modules/picomatch/lib/picomatch.js",".././node_modules/picomatch/lib/scan.js",".././node_modules/picomatch/lib/utils.js",".././node_modules/queue-microtask/index.js",".././node_modules/reusify/reusify.js",".././node_modules/run-parallel/index.js",".././node_modules/semver/classes/comparator.js",".././node_modules/semver/classes/range.js",".././node_modules/semver/classes/semver.js",".././node_modules/semver/functions/clean.js",".././node_modules/semver/functions/cmp.js",".././node_modules/semver/functions/coerce.js",".././node_modules/semver/functions/compare-build.js",".././node_modules/semver/functions/compare-loose.js",".././node_modules/semver/functions/compare.js",".././node_modules/semver/functions/diff.js",".././node_modules/semver/functions/eq.js",".././node_modules/semver/functions/gt.js",".././node_modules/semver/functions/gte.js",".././node_modules/semver/functions/inc.js",".././node_modules/semver/functions/lt.js",".././node_modules/semver/functions/lte.js",".././node_modules/semver/functions/major.js",".././node_modules/semver/functions/minor.js",".././node_modules/semver/functions/neq.js",".././node_modules/semver/functions/parse.js",".././node_modules/semver/functions/patch.js",".././node_modules/semver/functions/prerelease.js",".././node_modules/semver/functions/rcompare.js",".././node_modules/semver/functions/rsort.js",".././node_modules/semver/functions/satisfies.js",".././node_modules/semver/functions/sort.js",".././node_modules/semver/functions/valid.js",".././node_modules/semver/index.js",".././node_modules/semver/internal/constants.js",".././node_modules/semver/internal/debug.js",".././node_modules/semver/internal/identifiers.js",".././node_modules/semver/internal/parse-options.js",".././node_modules/semver/internal/re.js",".././node_modules/semver/node_modules/lru-cache/index.js",".././node_modules/semver/node_modules/yallist/iterator.js",".././node_modules/semver/node_modules/yallist/yallist.js",".././node_modules/semver/ranges/gtr.js",".././node_modules/semver/ranges/intersects.js",".././node_modules/semver/ranges/ltr.js",".././node_modules/semver/ranges/max-satisfying.js",".././node_modules/semver/ranges/min-satisfying.js",".././node_modules/semver/ranges/min-version.js",".././node_modules/semver/ranges/outside.js",".././node_modules/semver/ranges/simplify.js",".././node_modules/semver/ranges/subset.js",".././node_modules/semver/ranges/to-comparators.js",".././node_modules/semver/ranges/valid.js",".././node_modules/to-regex-range/index.js",".././node_modules/toml/index.js",".././node_modules/toml/lib/compiler.js",".././node_modules/toml/lib/parser.js",".././node_modules/web-streams-polyfill/dist/ponyfill.es2018.js",".././src/index.ts",".././src/utils/functions/callable.ts",".././src/utils/comparison/comparer.utils.ts",".././src/utils/comparison/equality-comparer.utils.ts",".././src/utils/comparison/composite-equality-comparer.ts",".././src/utils/comparison/composite-comparer.ts",".././src/utils/comparison/comparer.ts",".././src/utils/comparison/string-comparer.ts",".././src/utils/comparison/equality-comparer.ts","../external node-commonjs \"node:crypto\"",".././src/utils/string-utils.ts",".././src/utils/comparison/string-equality-comparer.ts",".././src/utils/enum/descriptors/bigint-descriptor.ts",".././src/utils/enum/descriptors/boolean-descriptor.ts",".././src/utils/enum/descriptors/number-descriptor.ts",".././src/utils/enum/enum-separators.ts",".././src/utils/enum/descriptors/string-descriptor.ts",".././src/utils/enum/descriptors/enum-descriptor.ts",".././src/utils/collections/set.ts",".././src/utils/collections/iterable.ts",".././src/utils/collections/map.ts",".././src/utils/collections/key-value-iterable.ts",".././src/utils/reflection/object-reflector.ts",".././src/utils/convert.ts",".././src/utils/enum/enum-key.ts",".././src/utils/enum/enum-entry.ts",".././src/utils/enum/dynamic-enum.ts",".././src/utils/enum/enum-value.ts",".././src/utils/enum/enum.ts","../external node-commonjs \"node:util\"",".././src/games/game-version-filter.ts",".././src/utils/versioning/version.ts",".././src/utils/versioning/version-range.ts",".././src/utils/versioning/version-type.ts",".././src/games/minecraft/minecraft-version-type.ts",".././src/games/minecraft/minecraft-version.ts",".././src/action.ts",".././src/utils/functions/middleware.ts",".././src/utils/net/blob.ts",".././src/platforms/modrinth/modrinth-unfeature-mode.ts",".././src/utils/security/secure-string.ts",".././src/utils/errors/error.ts",".././src/utils/errors/argument-error.ts",".././src/utils/errors/argument-null-error.ts","../external node-commonjs \"node:os\"",".././src/utils/environment.ts","../external node-commonjs \"node:console\"",".././src/utils/logging/console-logger.ts",".././src/utils/logging/null-logger.ts",".././src/utils/logging/process-logger.ts",".././src/utils/logging/logger.ts",".././src/utils/diagnostics/stopwatch.ts",".././src/utils/logging/logging-stopwatch.ts",".././src/utils/errors/fail-mode.ts",".././src/utils/errors/error-builder.ts",".././src/utils/errors/soft-error.ts",".././src/utils/errors/file-not-found-error.ts",".././src/utils/errors/http-error.ts","../external node-commonjs \"node:fs/promises\"",".././src/utils/io/file-info.ts",".././src/platforms/platform-type.ts",".././src/dependencies/dependency-type.ts",".././src/loaders/fabric/fabric-dependency-type.ts",".././src/dependencies/dependency.legacy.ts",".././src/dependencies/dependency.ts",".././src/utils/java/java-version.ts",".././src/utils/reflection/module-loader.g.ts",".././src/utils/reflection/module-loader.ts",".././src/utils/reflection/import-directive.ts",".././src/utils/net/form-data.ts",".././src/utils/net/query-string.ts",".././src/utils/net/http-request-body.ts",".././src/utils/net/headers.ts",".././src/utils/net/http-method.ts","../external node-commonjs \"node:http\"","../external node-commonjs \"node:https\"","../external node-commonjs \"node:zlib\"","../external node-commonjs \"node:stream\"","../external node-commonjs \"node:buffer\"",".././node_modules/data-uri-to-buffer/dist/index.js",".././node_modules/node-fetch/src/errors/base.js",".././node_modules/node-fetch/src/errors/fetch-error.js",".././node_modules/node-fetch/src/utils/is.js",".././node_modules/node-fetch/src/body.js",".././node_modules/node-fetch/src/headers.js",".././node_modules/node-fetch/src/utils/is-redirect.js",".././node_modules/node-fetch/src/response.js","../external node-commonjs \"node:url\"",".././node_modules/node-fetch/src/utils/get-search.js","../external node-commonjs \"node:net\"",".././node_modules/node-fetch/src/utils/referrer.js",".././node_modules/node-fetch/src/request.js",".././node_modules/node-fetch/src/errors/abort-error.js",".././node_modules/node-fetch/src/index.js",".././src/utils/net/fetch.ts",".././src/utils/net/http-response.ts",".././src/utils/net/fetch-middlewares.ts",".././src/utils/net/http-request.ts",".././src/games/minecraft/minecraft-version-lookup.ts",".././src/games/minecraft/mojang-api-client.ts",".././src/games/minecraft/minecraft-version-provider.ts",".././src/games/minecraft/minecraft.ts",".././src/games/game-version-provider.ts",".././src/utils/async-utils.ts",".././src/platforms/generic-platform-uploader.ts",".././src/platforms/curseforge/curseforge-dependency-type.ts",".././src/platforms/curseforge/curseforge-project.ts",".././src/platforms/curseforge/curseforge-eternal-api-client.ts",".././src/platforms/curseforge/curseforge-error.ts",".././src/platforms/curseforge/curseforge-game-version.ts",".././src/platforms/curseforge/curseforge-game-version-map.ts",".././src/platforms/curseforge/curseforge-game-version-type.ts",".././src/platforms/curseforge/curseforge-version.ts",".././src/platforms/curseforge/curseforge-upload-api-client.ts",".././src/platforms/curseforge/curseforge-uploader.ts",".././src/platforms/github/github-release.ts",".././src/platforms/github/github-api-client.ts",".././src/platforms/github/github-uploader.ts",".././src/platforms/modrinth/modrinth-version.ts",".././src/platforms/modrinth/modrinth-api-client.ts",".././src/platforms/modrinth/modrinth-dependency-type.ts",".././src/platforms/modrinth/modrinth-uploader.ts",".././src/platforms/platform-uploader.ts",".././src/loaders/fabric/fabric-dependency.ts",".././src/loaders/loader-type.ts",".././src/loaders/fabric/fabric-metadata-custom-payload.ts",".././src/loaders/fabric/fabric-metadata.ts",".././src/loaders/fabric/raw-fabric-metadata.ts",".././src/loaders/fabric/fabric-metadata-reader.ts",".././src/loaders/forge/forge-dependency.ts",".././src/loaders/forge/forge-metadata-custom-payload.ts",".././src/loaders/forge/forge-metadata.ts",".././src/loaders/forge/raw-forge-metadata.ts",".././src/loaders/forge/forge-metadata-reader.ts",".././src/loaders/quilt/quilt-dependency.ts",".././src/loaders/quilt/quilt-metadata-custom-payload.ts",".././src/loaders/quilt/quilt-metadata.ts",".././src/loaders/quilt/raw-quilt-metadata.ts",".././src/loaders/quilt/quilt-metadata-reader.ts",".././src/loaders/neoforge/neoforge-dependency-type.ts",".././src/loaders/neoforge/neoforge-dependency.ts",".././src/loaders/neoforge/neoforge-metadata-custom-payload.ts",".././src/loaders/neoforge/neoforge-metadata.ts",".././src/loaders/neoforge/raw-neoforge-metadata.ts",".././src/loaders/neoforge/neoforge-metadata-reader.ts",".././src/loaders/loader-metadata-reader.ts",".././src/platforms/github/github-context.ts",".././src/utils/actions/action-parameter-type-descriptor.ts",".././src/utils/actions/action-parameter-path-parser.ts",".././src/utils/actions/action-parameter-descriptor.ts",".././src/utils/actions/action-input-descriptor.ts",".././src/utils/actions/action-parameter-factory-options.ts",".././src/utils/actions/action-input.ts",".././src/utils/auto-generated.ts",".././src/utils/typescript/typescript-formatting-options.ts",".././src/utils/typescript/typescript-comment.ts",".././src/utils/typescript/abstract-typescript-node.ts",".././src/utils/typescript/typescript-export.ts",".././src/utils/typescript/typescript-import.ts",".././src/utils/typescript/typescript-imports.ts",".././src/utils/typescript/typescript-document.ts",".././src/utils/typescript/typescript-member.ts",".././src/utils/typescript/typescript-property.ts",".././src/utils/typescript/typescript-type-literal.ts",".././src/utils/typescript/typescript-union-type.ts",".././src/utils/typescript/typescript-object.ts",".././src/utils/typescript/typescript-interface.ts",".././src/utils/typescript/typescript-type-alias.ts",".././src/utils/typescript/typescript-intersection-type.ts",".././src/utils/typescript/typescript-variable.ts",".././src/utils/actions/action-output-descriptor.ts",".././src/utils/actions/action-metadata.ts",".././src/utils/actions/action-output.ts",".././src/program.ts","../external node-commonjs \"buffer\"","../external node-commonjs \"events\"","../external node-commonjs \"fs\"","../external node-commonjs \"node:fs\"","../external node-commonjs \"node:path\"","../external node-commonjs \"node:process\"","../external node-commonjs \"node:stream/web\"","../external node-commonjs \"os\"","../external node-commonjs \"path\"","../external node-commonjs \"stream\"","../external node-commonjs \"util\"","../external node-commonjs \"worker_threads\"","../external node-commonjs \"zlib\"",".././node_modules/yaml/dist/compose/compose-collection.js",".././node_modules/yaml/dist/compose/compose-doc.js",".././node_modules/yaml/dist/compose/compose-node.js",".././node_modules/yaml/dist/compose/compose-scalar.js",".././node_modules/yaml/dist/compose/composer.js",".././node_modules/yaml/dist/compose/resolve-block-map.js",".././node_modules/yaml/dist/compose/resolve-block-scalar.js",".././node_modules/yaml/dist/compose/resolve-block-seq.js",".././node_modules/yaml/dist/compose/resolve-end.js",".././node_modules/yaml/dist/compose/resolve-flow-collection.js",".././node_modules/yaml/dist/compose/resolve-flow-scalar.js",".././node_modules/yaml/dist/compose/resolve-props.js",".././node_modules/yaml/dist/compose/util-contains-newline.js",".././node_modules/yaml/dist/compose/util-empty-scalar-position.js",".././node_modules/yaml/dist/compose/util-flow-indent-check.js",".././node_modules/yaml/dist/compose/util-map-includes.js",".././node_modules/yaml/dist/doc/Document.js",".././node_modules/yaml/dist/doc/anchors.js",".././node_modules/yaml/dist/doc/applyReviver.js",".././node_modules/yaml/dist/doc/createNode.js",".././node_modules/yaml/dist/doc/directives.js",".././node_modules/yaml/dist/errors.js",".././node_modules/yaml/dist/index.js",".././node_modules/yaml/dist/log.js",".././node_modules/yaml/dist/nodes/Alias.js",".././node_modules/yaml/dist/nodes/Collection.js",".././node_modules/yaml/dist/nodes/Node.js",".././node_modules/yaml/dist/nodes/Pair.js",".././node_modules/yaml/dist/nodes/Scalar.js",".././node_modules/yaml/dist/nodes/YAMLMap.js",".././node_modules/yaml/dist/nodes/YAMLSeq.js",".././node_modules/yaml/dist/nodes/addPairToJSMap.js",".././node_modules/yaml/dist/nodes/identity.js",".././node_modules/yaml/dist/nodes/toJS.js",".././node_modules/yaml/dist/parse/cst-scalar.js",".././node_modules/yaml/dist/parse/cst-stringify.js",".././node_modules/yaml/dist/parse/cst-visit.js",".././node_modules/yaml/dist/parse/cst.js",".././node_modules/yaml/dist/parse/lexer.js",".././node_modules/yaml/dist/parse/line-counter.js",".././node_modules/yaml/dist/parse/parser.js",".././node_modules/yaml/dist/public-api.js",".././node_modules/yaml/dist/schema/Schema.js",".././node_modules/yaml/dist/schema/common/map.js",".././node_modules/yaml/dist/schema/common/null.js",".././node_modules/yaml/dist/schema/common/seq.js",".././node_modules/yaml/dist/schema/common/string.js",".././node_modules/yaml/dist/schema/core/bool.js",".././node_modules/yaml/dist/schema/core/float.js",".././node_modules/yaml/dist/schema/core/int.js",".././node_modules/yaml/dist/schema/core/schema.js",".././node_modules/yaml/dist/schema/json/schema.js",".././node_modules/yaml/dist/schema/tags.js",".././node_modules/yaml/dist/schema/yaml-1.1/binary.js",".././node_modules/yaml/dist/schema/yaml-1.1/bool.js",".././node_modules/yaml/dist/schema/yaml-1.1/float.js",".././node_modules/yaml/dist/schema/yaml-1.1/int.js",".././node_modules/yaml/dist/schema/yaml-1.1/omap.js",".././node_modules/yaml/dist/schema/yaml-1.1/pairs.js",".././node_modules/yaml/dist/schema/yaml-1.1/schema.js",".././node_modules/yaml/dist/schema/yaml-1.1/set.js",".././node_modules/yaml/dist/schema/yaml-1.1/timestamp.js",".././node_modules/yaml/dist/stringify/foldFlowLines.js",".././node_modules/yaml/dist/stringify/stringify.js",".././node_modules/yaml/dist/stringify/stringifyCollection.js",".././node_modules/yaml/dist/stringify/stringifyComment.js",".././node_modules/yaml/dist/stringify/stringifyDocument.js",".././node_modules/yaml/dist/stringify/stringifyNumber.js",".././node_modules/yaml/dist/stringify/stringifyPair.js",".././node_modules/yaml/dist/stringify/stringifyString.js",".././node_modules/yaml/dist/visit.js",".././node_modules/fetch-blob/streams.cjs",".././node_modules/fetch-blob/file.js",".././node_modules/fetch-blob/from.js",".././node_modules/fetch-blob/index.js",".././node_modules/formdata-polyfill/esm.min.js",".././node_modules/node-fetch/src/utils/multipart-parser.js","../webpack/bootstrap","../webpack/runtime/async module","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/make namespace object","../webpack/runtime/publicPath","../webpack/runtime/compat","../webpack/runtime/import chunk loading","../webpack/startup"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nexports.FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n stat: fs.stat,\n lstatSync: fs.lstatSync,\n statSync: fs.statSync,\n readdir: fs.readdir,\n readdirSync: fs.readdirSync\n};\nfunction createFileSystemAdapter(fsMethods) {\n if (fsMethods === undefined) {\n return exports.FILE_SYSTEM_ADAPTER;\n }\n return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);\n}\nexports.createFileSystemAdapter = createFileSystemAdapter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;\nconst NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.');\nif (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {\n throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);\n}\nconst MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);\nconst MINOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[1], 10);\nconst SUPPORTED_MAJOR_VERSION = 10;\nconst SUPPORTED_MINOR_VERSION = 10;\nconst IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;\nconst IS_MATCHED_BY_MAJOR_AND_MINOR = MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= SUPPORTED_MINOR_VERSION;\n/**\n * IS `true` for Node.js 10.10 and greater.\n */\nexports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Settings = exports.scandirSync = exports.scandir = void 0;\nconst async = require(\"./providers/async\");\nconst sync = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction scandir(path, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n async.read(path, getSettings(), optionsOrSettingsOrCallback);\n return;\n }\n async.read(path, getSettings(optionsOrSettingsOrCallback), callback);\n}\nexports.scandir = scandir;\nfunction scandirSync(path, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n return sync.read(path, settings);\n}\nexports.scandirSync = scandirSync;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readdir = exports.readdirWithFileTypes = exports.read = void 0;\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst rpl = require(\"run-parallel\");\nconst constants_1 = require(\"../constants\");\nconst utils = require(\"../utils\");\nconst common = require(\"./common\");\nfunction read(directory, settings, callback) {\n if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {\n readdirWithFileTypes(directory, settings, callback);\n return;\n }\n readdir(directory, settings, callback);\n}\nexports.read = read;\nfunction readdirWithFileTypes(directory, settings, callback) {\n settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {\n if (readdirError !== null) {\n callFailureCallback(callback, readdirError);\n return;\n }\n const entries = dirents.map((dirent) => ({\n dirent,\n name: dirent.name,\n path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)\n }));\n if (!settings.followSymbolicLinks) {\n callSuccessCallback(callback, entries);\n return;\n }\n const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));\n rpl(tasks, (rplError, rplEntries) => {\n if (rplError !== null) {\n callFailureCallback(callback, rplError);\n return;\n }\n callSuccessCallback(callback, rplEntries);\n });\n });\n}\nexports.readdirWithFileTypes = readdirWithFileTypes;\nfunction makeRplTaskEntry(entry, settings) {\n return (done) => {\n if (!entry.dirent.isSymbolicLink()) {\n done(null, entry);\n return;\n }\n settings.fs.stat(entry.path, (statError, stats) => {\n if (statError !== null) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n done(statError);\n return;\n }\n done(null, entry);\n return;\n }\n entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);\n done(null, entry);\n });\n };\n}\nfunction readdir(directory, settings, callback) {\n settings.fs.readdir(directory, (readdirError, names) => {\n if (readdirError !== null) {\n callFailureCallback(callback, readdirError);\n return;\n }\n const tasks = names.map((name) => {\n const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);\n return (done) => {\n fsStat.stat(path, settings.fsStatSettings, (error, stats) => {\n if (error !== null) {\n done(error);\n return;\n }\n const entry = {\n name,\n path,\n dirent: utils.fs.createDirentFromStats(name, stats)\n };\n if (settings.stats) {\n entry.stats = stats;\n }\n done(null, entry);\n });\n };\n });\n rpl(tasks, (rplError, entries) => {\n if (rplError !== null) {\n callFailureCallback(callback, rplError);\n return;\n }\n callSuccessCallback(callback, entries);\n });\n });\n}\nexports.readdir = readdir;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, result) {\n callback(null, result);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.joinPathSegments = void 0;\nfunction joinPathSegments(a, b, separator) {\n /**\n * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).\n */\n if (a.endsWith(separator)) {\n return a + b;\n }\n return a + separator + b;\n}\nexports.joinPathSegments = joinPathSegments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readdir = exports.readdirWithFileTypes = exports.read = void 0;\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst constants_1 = require(\"../constants\");\nconst utils = require(\"../utils\");\nconst common = require(\"./common\");\nfunction read(directory, settings) {\n if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {\n return readdirWithFileTypes(directory, settings);\n }\n return readdir(directory, settings);\n}\nexports.read = read;\nfunction readdirWithFileTypes(directory, settings) {\n const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });\n return dirents.map((dirent) => {\n const entry = {\n dirent,\n name: dirent.name,\n path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)\n };\n if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {\n try {\n const stats = settings.fs.statSync(entry.path);\n entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);\n }\n catch (error) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n throw error;\n }\n }\n }\n return entry;\n });\n}\nexports.readdirWithFileTypes = readdirWithFileTypes;\nfunction readdir(directory, settings) {\n const names = settings.fs.readdirSync(directory);\n return names.map((name) => {\n const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);\n const stats = fsStat.statSync(entryPath, settings.fsStatSettings);\n const entry = {\n name,\n path: entryPath,\n dirent: utils.fs.createDirentFromStats(name, stats)\n };\n if (settings.stats) {\n entry.stats = stats;\n }\n return entry;\n });\n}\nexports.readdir = readdir;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);\n this.fs = fs.createFileSystemAdapter(this._options.fs);\n this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n this.stats = this._getValue(this._options.stats, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n this.fsStatSettings = new fsStat.Settings({\n followSymbolicLink: this.followSymbolicLinks,\n fs: this.fs,\n throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink\n });\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createDirentFromStats = void 0;\nclass DirentFromStats {\n constructor(name, stats) {\n this.name = name;\n this.isBlockDevice = stats.isBlockDevice.bind(stats);\n this.isCharacterDevice = stats.isCharacterDevice.bind(stats);\n this.isDirectory = stats.isDirectory.bind(stats);\n this.isFIFO = stats.isFIFO.bind(stats);\n this.isFile = stats.isFile.bind(stats);\n this.isSocket = stats.isSocket.bind(stats);\n this.isSymbolicLink = stats.isSymbolicLink.bind(stats);\n }\n}\nfunction createDirentFromStats(name, stats) {\n return new DirentFromStats(name, stats);\n}\nexports.createDirentFromStats = createDirentFromStats;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fs = void 0;\nconst fs = require(\"./fs\");\nexports.fs = fs;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nexports.FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n stat: fs.stat,\n lstatSync: fs.lstatSync,\n statSync: fs.statSync\n};\nfunction createFileSystemAdapter(fsMethods) {\n if (fsMethods === undefined) {\n return exports.FILE_SYSTEM_ADAPTER;\n }\n return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);\n}\nexports.createFileSystemAdapter = createFileSystemAdapter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.statSync = exports.stat = exports.Settings = void 0;\nconst async = require(\"./providers/async\");\nconst sync = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction stat(path, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n async.read(path, getSettings(), optionsOrSettingsOrCallback);\n return;\n }\n async.read(path, getSettings(optionsOrSettingsOrCallback), callback);\n}\nexports.stat = stat;\nfunction statSync(path, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n return sync.read(path, settings);\n}\nexports.statSync = statSync;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.read = void 0;\nfunction read(path, settings, callback) {\n settings.fs.lstat(path, (lstatError, lstat) => {\n if (lstatError !== null) {\n callFailureCallback(callback, lstatError);\n return;\n }\n if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {\n callSuccessCallback(callback, lstat);\n return;\n }\n settings.fs.stat(path, (statError, stat) => {\n if (statError !== null) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n callFailureCallback(callback, statError);\n return;\n }\n callSuccessCallback(callback, lstat);\n return;\n }\n if (settings.markSymbolicLink) {\n stat.isSymbolicLink = () => true;\n }\n callSuccessCallback(callback, stat);\n });\n });\n}\nexports.read = read;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, result) {\n callback(null, result);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.read = void 0;\nfunction read(path, settings) {\n const lstat = settings.fs.lstatSync(path);\n if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {\n return lstat;\n }\n try {\n const stat = settings.fs.statSync(path);\n if (settings.markSymbolicLink) {\n stat.isSymbolicLink = () => true;\n }\n return stat;\n }\n catch (error) {\n if (!settings.throwErrorOnBrokenSymbolicLink) {\n return lstat;\n }\n throw error;\n }\n}\nexports.read = read;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);\n this.fs = fs.createFileSystemAdapter(this._options.fs);\n this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;\nconst async_1 = require(\"./providers/async\");\nconst stream_1 = require(\"./providers/stream\");\nconst sync_1 = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction walk(directory, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);\n return;\n }\n new async_1.default(directory, getSettings(optionsOrSettingsOrCallback)).read(callback);\n}\nexports.walk = walk;\nfunction walkSync(directory, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n const provider = new sync_1.default(directory, settings);\n return provider.read();\n}\nexports.walkSync = walkSync;\nfunction walkStream(directory, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n const provider = new stream_1.default(directory, settings);\n return provider.read();\n}\nexports.walkStream = walkStream;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst async_1 = require(\"../readers/async\");\nclass AsyncProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new async_1.default(this._root, this._settings);\n this._storage = [];\n }\n read(callback) {\n this._reader.onError((error) => {\n callFailureCallback(callback, error);\n });\n this._reader.onEntry((entry) => {\n this._storage.push(entry);\n });\n this._reader.onEnd(() => {\n callSuccessCallback(callback, this._storage);\n });\n this._reader.read();\n }\n}\nexports.default = AsyncProvider;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, entries) {\n callback(null, entries);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst async_1 = require(\"../readers/async\");\nclass StreamProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new async_1.default(this._root, this._settings);\n this._stream = new stream_1.Readable({\n objectMode: true,\n read: () => { },\n destroy: () => {\n if (!this._reader.isDestroyed) {\n this._reader.destroy();\n }\n }\n });\n }\n read() {\n this._reader.onError((error) => {\n this._stream.emit('error', error);\n });\n this._reader.onEntry((entry) => {\n this._stream.push(entry);\n });\n this._reader.onEnd(() => {\n this._stream.push(null);\n });\n this._reader.read();\n return this._stream;\n }\n}\nexports.default = StreamProvider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst sync_1 = require(\"../readers/sync\");\nclass SyncProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new sync_1.default(this._root, this._settings);\n }\n read() {\n return this._reader.read();\n }\n}\nexports.default = SyncProvider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst events_1 = require(\"events\");\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nconst fastq = require(\"fastq\");\nconst common = require(\"./common\");\nconst reader_1 = require(\"./reader\");\nclass AsyncReader extends reader_1.default {\n constructor(_root, _settings) {\n super(_root, _settings);\n this._settings = _settings;\n this._scandir = fsScandir.scandir;\n this._emitter = new events_1.EventEmitter();\n this._queue = fastq(this._worker.bind(this), this._settings.concurrency);\n this._isFatalError = false;\n this._isDestroyed = false;\n this._queue.drain = () => {\n if (!this._isFatalError) {\n this._emitter.emit('end');\n }\n };\n }\n read() {\n this._isFatalError = false;\n this._isDestroyed = false;\n setImmediate(() => {\n this._pushToQueue(this._root, this._settings.basePath);\n });\n return this._emitter;\n }\n get isDestroyed() {\n return this._isDestroyed;\n }\n destroy() {\n if (this._isDestroyed) {\n throw new Error('The reader is already destroyed');\n }\n this._isDestroyed = true;\n this._queue.killAndDrain();\n }\n onEntry(callback) {\n this._emitter.on('entry', callback);\n }\n onError(callback) {\n this._emitter.once('error', callback);\n }\n onEnd(callback) {\n this._emitter.once('end', callback);\n }\n _pushToQueue(directory, base) {\n const queueItem = { directory, base };\n this._queue.push(queueItem, (error) => {\n if (error !== null) {\n this._handleError(error);\n }\n });\n }\n _worker(item, done) {\n this._scandir(item.directory, this._settings.fsScandirSettings, (error, entries) => {\n if (error !== null) {\n done(error, undefined);\n return;\n }\n for (const entry of entries) {\n this._handleEntry(entry, item.base);\n }\n done(null, undefined);\n });\n }\n _handleError(error) {\n if (this._isDestroyed || !common.isFatalError(this._settings, error)) {\n return;\n }\n this._isFatalError = true;\n this._isDestroyed = true;\n this._emitter.emit('error', error);\n }\n _handleEntry(entry, base) {\n if (this._isDestroyed || this._isFatalError) {\n return;\n }\n const fullpath = entry.path;\n if (base !== undefined) {\n entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);\n }\n if (common.isAppliedFilter(this._settings.entryFilter, entry)) {\n this._emitEntry(entry);\n }\n if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {\n this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);\n }\n }\n _emitEntry(entry) {\n this._emitter.emit('entry', entry);\n }\n}\nexports.default = AsyncReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;\nfunction isFatalError(settings, error) {\n if (settings.errorFilter === null) {\n return true;\n }\n return !settings.errorFilter(error);\n}\nexports.isFatalError = isFatalError;\nfunction isAppliedFilter(filter, value) {\n return filter === null || filter(value);\n}\nexports.isAppliedFilter = isAppliedFilter;\nfunction replacePathSegmentSeparator(filepath, separator) {\n return filepath.split(/[/\\\\]/).join(separator);\n}\nexports.replacePathSegmentSeparator = replacePathSegmentSeparator;\nfunction joinPathSegments(a, b, separator) {\n if (a === '') {\n return b;\n }\n /**\n * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).\n */\n if (a.endsWith(separator)) {\n return a + b;\n }\n return a + separator + b;\n}\nexports.joinPathSegments = joinPathSegments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst common = require(\"./common\");\nclass Reader {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator);\n }\n}\nexports.default = Reader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nconst common = require(\"./common\");\nconst reader_1 = require(\"./reader\");\nclass SyncReader extends reader_1.default {\n constructor() {\n super(...arguments);\n this._scandir = fsScandir.scandirSync;\n this._storage = [];\n this._queue = new Set();\n }\n read() {\n this._pushToQueue(this._root, this._settings.basePath);\n this._handleQueue();\n return this._storage;\n }\n _pushToQueue(directory, base) {\n this._queue.add({ directory, base });\n }\n _handleQueue() {\n for (const item of this._queue.values()) {\n this._handleDirectory(item.directory, item.base);\n }\n }\n _handleDirectory(directory, base) {\n try {\n const entries = this._scandir(directory, this._settings.fsScandirSettings);\n for (const entry of entries) {\n this._handleEntry(entry, base);\n }\n }\n catch (error) {\n this._handleError(error);\n }\n }\n _handleError(error) {\n if (!common.isFatalError(this._settings, error)) {\n return;\n }\n throw error;\n }\n _handleEntry(entry, base) {\n const fullpath = entry.path;\n if (base !== undefined) {\n entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);\n }\n if (common.isAppliedFilter(this._settings.entryFilter, entry)) {\n this._pushToStorage(entry);\n }\n if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {\n this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);\n }\n }\n _pushToStorage(entry) {\n this._storage.push(entry);\n }\n}\nexports.default = SyncReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.basePath = this._getValue(this._options.basePath, undefined);\n this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY);\n this.deepFilter = this._getValue(this._options.deepFilter, null);\n this.entryFilter = this._getValue(this._options.entryFilter, null);\n this.errorFilter = this._getValue(this._options.errorFilter, null);\n this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n this.fsScandirSettings = new fsScandir.Settings({\n followSymbolicLinks: this._options.followSymbolicLinks,\n fs: this._options.fs,\n pathSegmentSeparator: this._options.pathSegmentSeparator,\n stats: this._options.stats,\n throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink\n });\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","'use strict';\n\nconst stringify = require('./lib/stringify');\nconst compile = require('./lib/compile');\nconst expand = require('./lib/expand');\nconst parse = require('./lib/parse');\n\n/**\n * Expand the given pattern or create a regex-compatible string.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces('{a,b,c}', { compile: true })); //=> ['(a|b|c)']\n * console.log(braces('{a,b,c}')); //=> ['a', 'b', 'c']\n * ```\n * @param {String} `str`\n * @param {Object} `options`\n * @return {String}\n * @api public\n */\n\nconst braces = (input, options = {}) => {\n let output = [];\n\n if (Array.isArray(input)) {\n for (let pattern of input) {\n let result = braces.create(pattern, options);\n if (Array.isArray(result)) {\n output.push(...result);\n } else {\n output.push(result);\n }\n }\n } else {\n output = [].concat(braces.create(input, options));\n }\n\n if (options && options.expand === true && options.nodupes === true) {\n output = [...new Set(output)];\n }\n return output;\n};\n\n/**\n * Parse the given `str` with the given `options`.\n *\n * ```js\n * // braces.parse(pattern, [, options]);\n * const ast = braces.parse('a/{b,c}/d');\n * console.log(ast);\n * ```\n * @param {String} pattern Brace pattern to parse\n * @param {Object} options\n * @return {Object} Returns an AST\n * @api public\n */\n\nbraces.parse = (input, options = {}) => parse(input, options);\n\n/**\n * Creates a braces string from an AST, or an AST node.\n *\n * ```js\n * const braces = require('braces');\n * let ast = braces.parse('foo/{a,b}/bar');\n * console.log(stringify(ast.nodes[2])); //=> '{a,b}'\n * ```\n * @param {String} `input` Brace pattern or AST.\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.stringify = (input, options = {}) => {\n if (typeof input === 'string') {\n return stringify(braces.parse(input, options), options);\n }\n return stringify(input, options);\n};\n\n/**\n * Compiles a brace pattern into a regex-compatible, optimized string.\n * This method is called by the main [braces](#braces) function by default.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces.compile('a/{b,c}/d'));\n * //=> ['a/(b|c)/d']\n * ```\n * @param {String} `input` Brace pattern or AST.\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.compile = (input, options = {}) => {\n if (typeof input === 'string') {\n input = braces.parse(input, options);\n }\n return compile(input, options);\n};\n\n/**\n * Expands a brace pattern into an array. This method is called by the\n * main [braces](#braces) function when `options.expand` is true. Before\n * using this method it's recommended that you read the [performance notes](#performance))\n * and advantages of using [.compile](#compile) instead.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces.expand('a/{b,c}/d'));\n * //=> ['a/b/d', 'a/c/d'];\n * ```\n * @param {String} `pattern` Brace pattern\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.expand = (input, options = {}) => {\n if (typeof input === 'string') {\n input = braces.parse(input, options);\n }\n\n let result = expand(input, options);\n\n // filter out empty strings if specified\n if (options.noempty === true) {\n result = result.filter(Boolean);\n }\n\n // filter out duplicates if specified\n if (options.nodupes === true) {\n result = [...new Set(result)];\n }\n\n return result;\n};\n\n/**\n * Processes a brace pattern and returns either an expanded array\n * (if `options.expand` is true), a highly optimized regex-compatible string.\n * This method is called by the main [braces](#braces) function.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces.create('user-{200..300}/project-{a,b,c}-{1..10}'))\n * //=> 'user-(20[0-9]|2[1-9][0-9]|300)/project-(a|b|c)-([1-9]|10)'\n * ```\n * @param {String} `pattern` Brace pattern\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.create = (input, options = {}) => {\n if (input === '' || input.length < 3) {\n return [input];\n }\n\n return options.expand !== true\n ? braces.compile(input, options)\n : braces.expand(input, options);\n};\n\n/**\n * Expose \"braces\"\n */\n\nmodule.exports = braces;\n","'use strict';\n\nconst fill = require('fill-range');\nconst utils = require('./utils');\n\nconst compile = (ast, options = {}) => {\n let walk = (node, parent = {}) => {\n let invalidBlock = utils.isInvalidBrace(parent);\n let invalidNode = node.invalid === true && options.escapeInvalid === true;\n let invalid = invalidBlock === true || invalidNode === true;\n let prefix = options.escapeInvalid === true ? '\\\\' : '';\n let output = '';\n\n if (node.isOpen === true) {\n return prefix + node.value;\n }\n if (node.isClose === true) {\n return prefix + node.value;\n }\n\n if (node.type === 'open') {\n return invalid ? (prefix + node.value) : '(';\n }\n\n if (node.type === 'close') {\n return invalid ? (prefix + node.value) : ')';\n }\n\n if (node.type === 'comma') {\n return node.prev.type === 'comma' ? '' : (invalid ? node.value : '|');\n }\n\n if (node.value) {\n return node.value;\n }\n\n if (node.nodes && node.ranges > 0) {\n let args = utils.reduce(node.nodes);\n let range = fill(...args, { ...options, wrap: false, toRegex: true });\n\n if (range.length !== 0) {\n return args.length > 1 && range.length > 1 ? `(${range})` : range;\n }\n }\n\n if (node.nodes) {\n for (let child of node.nodes) {\n output += walk(child, node);\n }\n }\n return output;\n };\n\n return walk(ast);\n};\n\nmodule.exports = compile;\n","'use strict';\n\nmodule.exports = {\n MAX_LENGTH: 1024 * 64,\n\n // Digits\n CHAR_0: '0', /* 0 */\n CHAR_9: '9', /* 9 */\n\n // Alphabet chars.\n CHAR_UPPERCASE_A: 'A', /* A */\n CHAR_LOWERCASE_A: 'a', /* a */\n CHAR_UPPERCASE_Z: 'Z', /* Z */\n CHAR_LOWERCASE_Z: 'z', /* z */\n\n CHAR_LEFT_PARENTHESES: '(', /* ( */\n CHAR_RIGHT_PARENTHESES: ')', /* ) */\n\n CHAR_ASTERISK: '*', /* * */\n\n // Non-alphabetic chars.\n CHAR_AMPERSAND: '&', /* & */\n CHAR_AT: '@', /* @ */\n CHAR_BACKSLASH: '\\\\', /* \\ */\n CHAR_BACKTICK: '`', /* ` */\n CHAR_CARRIAGE_RETURN: '\\r', /* \\r */\n CHAR_CIRCUMFLEX_ACCENT: '^', /* ^ */\n CHAR_COLON: ':', /* : */\n CHAR_COMMA: ',', /* , */\n CHAR_DOLLAR: '$', /* . */\n CHAR_DOT: '.', /* . */\n CHAR_DOUBLE_QUOTE: '\"', /* \" */\n CHAR_EQUAL: '=', /* = */\n CHAR_EXCLAMATION_MARK: '!', /* ! */\n CHAR_FORM_FEED: '\\f', /* \\f */\n CHAR_FORWARD_SLASH: '/', /* / */\n CHAR_HASH: '#', /* # */\n CHAR_HYPHEN_MINUS: '-', /* - */\n CHAR_LEFT_ANGLE_BRACKET: '<', /* < */\n CHAR_LEFT_CURLY_BRACE: '{', /* { */\n CHAR_LEFT_SQUARE_BRACKET: '[', /* [ */\n CHAR_LINE_FEED: '\\n', /* \\n */\n CHAR_NO_BREAK_SPACE: '\\u00A0', /* \\u00A0 */\n CHAR_PERCENT: '%', /* % */\n CHAR_PLUS: '+', /* + */\n CHAR_QUESTION_MARK: '?', /* ? */\n CHAR_RIGHT_ANGLE_BRACKET: '>', /* > */\n CHAR_RIGHT_CURLY_BRACE: '}', /* } */\n CHAR_RIGHT_SQUARE_BRACKET: ']', /* ] */\n CHAR_SEMICOLON: ';', /* ; */\n CHAR_SINGLE_QUOTE: '\\'', /* ' */\n CHAR_SPACE: ' ', /* */\n CHAR_TAB: '\\t', /* \\t */\n CHAR_UNDERSCORE: '_', /* _ */\n CHAR_VERTICAL_LINE: '|', /* | */\n CHAR_ZERO_WIDTH_NOBREAK_SPACE: '\\uFEFF' /* \\uFEFF */\n};\n","'use strict';\n\nconst fill = require('fill-range');\nconst stringify = require('./stringify');\nconst utils = require('./utils');\n\nconst append = (queue = '', stash = '', enclose = false) => {\n let result = [];\n\n queue = [].concat(queue);\n stash = [].concat(stash);\n\n if (!stash.length) return queue;\n if (!queue.length) {\n return enclose ? utils.flatten(stash).map(ele => `{${ele}}`) : stash;\n }\n\n for (let item of queue) {\n if (Array.isArray(item)) {\n for (let value of item) {\n result.push(append(value, stash, enclose));\n }\n } else {\n for (let ele of stash) {\n if (enclose === true && typeof ele === 'string') ele = `{${ele}}`;\n result.push(Array.isArray(ele) ? append(item, ele, enclose) : (item + ele));\n }\n }\n }\n return utils.flatten(result);\n};\n\nconst expand = (ast, options = {}) => {\n let rangeLimit = options.rangeLimit === void 0 ? 1000 : options.rangeLimit;\n\n let walk = (node, parent = {}) => {\n node.queue = [];\n\n let p = parent;\n let q = parent.queue;\n\n while (p.type !== 'brace' && p.type !== 'root' && p.parent) {\n p = p.parent;\n q = p.queue;\n }\n\n if (node.invalid || node.dollar) {\n q.push(append(q.pop(), stringify(node, options)));\n return;\n }\n\n if (node.type === 'brace' && node.invalid !== true && node.nodes.length === 2) {\n q.push(append(q.pop(), ['{}']));\n return;\n }\n\n if (node.nodes && node.ranges > 0) {\n let args = utils.reduce(node.nodes);\n\n if (utils.exceedsLimit(...args, options.step, rangeLimit)) {\n throw new RangeError('expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.');\n }\n\n let range = fill(...args, options);\n if (range.length === 0) {\n range = stringify(node, options);\n }\n\n q.push(append(q.pop(), range));\n node.nodes = [];\n return;\n }\n\n let enclose = utils.encloseBrace(node);\n let queue = node.queue;\n let block = node;\n\n while (block.type !== 'brace' && block.type !== 'root' && block.parent) {\n block = block.parent;\n queue = block.queue;\n }\n\n for (let i = 0; i < node.nodes.length; i++) {\n let child = node.nodes[i];\n\n if (child.type === 'comma' && node.type === 'brace') {\n if (i === 1) queue.push('');\n queue.push('');\n continue;\n }\n\n if (child.type === 'close') {\n q.push(append(q.pop(), queue, enclose));\n continue;\n }\n\n if (child.value && child.type !== 'open') {\n queue.push(append(queue.pop(), child.value));\n continue;\n }\n\n if (child.nodes) {\n walk(child, node);\n }\n }\n\n return queue;\n };\n\n return utils.flatten(walk(ast));\n};\n\nmodule.exports = expand;\n","'use strict';\n\nconst stringify = require('./stringify');\n\n/**\n * Constants\n */\n\nconst {\n MAX_LENGTH,\n CHAR_BACKSLASH, /* \\ */\n CHAR_BACKTICK, /* ` */\n CHAR_COMMA, /* , */\n CHAR_DOT, /* . */\n CHAR_LEFT_PARENTHESES, /* ( */\n CHAR_RIGHT_PARENTHESES, /* ) */\n CHAR_LEFT_CURLY_BRACE, /* { */\n CHAR_RIGHT_CURLY_BRACE, /* } */\n CHAR_LEFT_SQUARE_BRACKET, /* [ */\n CHAR_RIGHT_SQUARE_BRACKET, /* ] */\n CHAR_DOUBLE_QUOTE, /* \" */\n CHAR_SINGLE_QUOTE, /* ' */\n CHAR_NO_BREAK_SPACE,\n CHAR_ZERO_WIDTH_NOBREAK_SPACE\n} = require('./constants');\n\n/**\n * parse\n */\n\nconst parse = (input, options = {}) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n let opts = options || {};\n let max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n if (input.length > max) {\n throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);\n }\n\n let ast = { type: 'root', input, nodes: [] };\n let stack = [ast];\n let block = ast;\n let prev = ast;\n let brackets = 0;\n let length = input.length;\n let index = 0;\n let depth = 0;\n let value;\n let memo = {};\n\n /**\n * Helpers\n */\n\n const advance = () => input[index++];\n const push = node => {\n if (node.type === 'text' && prev.type === 'dot') {\n prev.type = 'text';\n }\n\n if (prev && prev.type === 'text' && node.type === 'text') {\n prev.value += node.value;\n return;\n }\n\n block.nodes.push(node);\n node.parent = block;\n node.prev = prev;\n prev = node;\n return node;\n };\n\n push({ type: 'bos' });\n\n while (index < length) {\n block = stack[stack.length - 1];\n value = advance();\n\n /**\n * Invalid chars\n */\n\n if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) {\n continue;\n }\n\n /**\n * Escaped chars\n */\n\n if (value === CHAR_BACKSLASH) {\n push({ type: 'text', value: (options.keepEscaping ? value : '') + advance() });\n continue;\n }\n\n /**\n * Right square bracket (literal): ']'\n */\n\n if (value === CHAR_RIGHT_SQUARE_BRACKET) {\n push({ type: 'text', value: '\\\\' + value });\n continue;\n }\n\n /**\n * Left square bracket: '['\n */\n\n if (value === CHAR_LEFT_SQUARE_BRACKET) {\n brackets++;\n\n let closed = true;\n let next;\n\n while (index < length && (next = advance())) {\n value += next;\n\n if (next === CHAR_LEFT_SQUARE_BRACKET) {\n brackets++;\n continue;\n }\n\n if (next === CHAR_BACKSLASH) {\n value += advance();\n continue;\n }\n\n if (next === CHAR_RIGHT_SQUARE_BRACKET) {\n brackets--;\n\n if (brackets === 0) {\n break;\n }\n }\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Parentheses\n */\n\n if (value === CHAR_LEFT_PARENTHESES) {\n block = push({ type: 'paren', nodes: [] });\n stack.push(block);\n push({ type: 'text', value });\n continue;\n }\n\n if (value === CHAR_RIGHT_PARENTHESES) {\n if (block.type !== 'paren') {\n push({ type: 'text', value });\n continue;\n }\n block = stack.pop();\n push({ type: 'text', value });\n block = stack[stack.length - 1];\n continue;\n }\n\n /**\n * Quotes: '|\"|`\n */\n\n if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {\n let open = value;\n let next;\n\n if (options.keepQuotes !== true) {\n value = '';\n }\n\n while (index < length && (next = advance())) {\n if (next === CHAR_BACKSLASH) {\n value += next + advance();\n continue;\n }\n\n if (next === open) {\n if (options.keepQuotes === true) value += next;\n break;\n }\n\n value += next;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Left curly brace: '{'\n */\n\n if (value === CHAR_LEFT_CURLY_BRACE) {\n depth++;\n\n let dollar = prev.value && prev.value.slice(-1) === '$' || block.dollar === true;\n let brace = {\n type: 'brace',\n open: true,\n close: false,\n dollar,\n depth,\n commas: 0,\n ranges: 0,\n nodes: []\n };\n\n block = push(brace);\n stack.push(block);\n push({ type: 'open', value });\n continue;\n }\n\n /**\n * Right curly brace: '}'\n */\n\n if (value === CHAR_RIGHT_CURLY_BRACE) {\n if (block.type !== 'brace') {\n push({ type: 'text', value });\n continue;\n }\n\n let type = 'close';\n block = stack.pop();\n block.close = true;\n\n push({ type, value });\n depth--;\n\n block = stack[stack.length - 1];\n continue;\n }\n\n /**\n * Comma: ','\n */\n\n if (value === CHAR_COMMA && depth > 0) {\n if (block.ranges > 0) {\n block.ranges = 0;\n let open = block.nodes.shift();\n block.nodes = [open, { type: 'text', value: stringify(block) }];\n }\n\n push({ type: 'comma', value });\n block.commas++;\n continue;\n }\n\n /**\n * Dot: '.'\n */\n\n if (value === CHAR_DOT && depth > 0 && block.commas === 0) {\n let siblings = block.nodes;\n\n if (depth === 0 || siblings.length === 0) {\n push({ type: 'text', value });\n continue;\n }\n\n if (prev.type === 'dot') {\n block.range = [];\n prev.value += value;\n prev.type = 'range';\n\n if (block.nodes.length !== 3 && block.nodes.length !== 5) {\n block.invalid = true;\n block.ranges = 0;\n prev.type = 'text';\n continue;\n }\n\n block.ranges++;\n block.args = [];\n continue;\n }\n\n if (prev.type === 'range') {\n siblings.pop();\n\n let before = siblings[siblings.length - 1];\n before.value += prev.value + value;\n prev = before;\n block.ranges--;\n continue;\n }\n\n push({ type: 'dot', value });\n continue;\n }\n\n /**\n * Text\n */\n\n push({ type: 'text', value });\n }\n\n // Mark imbalanced braces and brackets as invalid\n do {\n block = stack.pop();\n\n if (block.type !== 'root') {\n block.nodes.forEach(node => {\n if (!node.nodes) {\n if (node.type === 'open') node.isOpen = true;\n if (node.type === 'close') node.isClose = true;\n if (!node.nodes) node.type = 'text';\n node.invalid = true;\n }\n });\n\n // get the location of the block on parent.nodes (block's siblings)\n let parent = stack[stack.length - 1];\n let index = parent.nodes.indexOf(block);\n // replace the (invalid) block with it's nodes\n parent.nodes.splice(index, 1, ...block.nodes);\n }\n } while (stack.length > 0);\n\n push({ type: 'eos' });\n return ast;\n};\n\nmodule.exports = parse;\n","'use strict';\n\nconst utils = require('./utils');\n\nmodule.exports = (ast, options = {}) => {\n let stringify = (node, parent = {}) => {\n let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);\n let invalidNode = node.invalid === true && options.escapeInvalid === true;\n let output = '';\n\n if (node.value) {\n if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) {\n return '\\\\' + node.value;\n }\n return node.value;\n }\n\n if (node.value) {\n return node.value;\n }\n\n if (node.nodes) {\n for (let child of node.nodes) {\n output += stringify(child);\n }\n }\n return output;\n };\n\n return stringify(ast);\n};\n\n","'use strict';\n\nexports.isInteger = num => {\n if (typeof num === 'number') {\n return Number.isInteger(num);\n }\n if (typeof num === 'string' && num.trim() !== '') {\n return Number.isInteger(Number(num));\n }\n return false;\n};\n\n/**\n * Find a node of the given type\n */\n\nexports.find = (node, type) => node.nodes.find(node => node.type === type);\n\n/**\n * Find a node of the given type\n */\n\nexports.exceedsLimit = (min, max, step = 1, limit) => {\n if (limit === false) return false;\n if (!exports.isInteger(min) || !exports.isInteger(max)) return false;\n return ((Number(max) - Number(min)) / Number(step)) >= limit;\n};\n\n/**\n * Escape the given node with '\\\\' before node.value\n */\n\nexports.escapeNode = (block, n = 0, type) => {\n let node = block.nodes[n];\n if (!node) return;\n\n if ((type && node.type === type) || node.type === 'open' || node.type === 'close') {\n if (node.escaped !== true) {\n node.value = '\\\\' + node.value;\n node.escaped = true;\n }\n }\n};\n\n/**\n * Returns true if the given brace node should be enclosed in literal braces\n */\n\nexports.encloseBrace = node => {\n if (node.type !== 'brace') return false;\n if ((node.commas >> 0 + node.ranges >> 0) === 0) {\n node.invalid = true;\n return true;\n }\n return false;\n};\n\n/**\n * Returns true if a brace node is invalid.\n */\n\nexports.isInvalidBrace = block => {\n if (block.type !== 'brace') return false;\n if (block.invalid === true || block.dollar) return true;\n if ((block.commas >> 0 + block.ranges >> 0) === 0) {\n block.invalid = true;\n return true;\n }\n if (block.open !== true || block.close !== true) {\n block.invalid = true;\n return true;\n }\n return false;\n};\n\n/**\n * Returns true if a node is an open or close node\n */\n\nexports.isOpenOrClose = node => {\n if (node.type === 'open' || node.type === 'close') {\n return true;\n }\n return node.open === true || node.close === true;\n};\n\n/**\n * Reduce an array of text nodes.\n */\n\nexports.reduce = nodes => nodes.reduce((acc, node) => {\n if (node.type === 'text') acc.push(node.value);\n if (node.type === 'range') node.type = 'text';\n return acc;\n}, []);\n\n/**\n * Flatten an array\n */\n\nexports.flatten = (...args) => {\n const result = [];\n const flat = arr => {\n for (let i = 0; i < arr.length; i++) {\n let ele = arr[i];\n Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele);\n }\n return result;\n };\n flat(args);\n return result;\n};\n","'use strict';\n\nvar isGlob = require('is-glob');\nvar pathPosixDirname = require('path').posix.dirname;\nvar isWin32 = require('os').platform() === 'win32';\n\nvar slash = '/';\nvar backslash = /\\\\/g;\nvar enclosure = /[\\{\\[].*[\\}\\]]$/;\nvar globby = /(^|[^\\\\])([\\{\\[]|\\([^\\)]+$)/;\nvar escaped = /\\\\([\\!\\*\\?\\|\\[\\]\\(\\)\\{\\}])/g;\n\n/**\n * @param {string} str\n * @param {Object} opts\n * @param {boolean} [opts.flipBackslashes=true]\n * @returns {string}\n */\nmodule.exports = function globParent(str, opts) {\n var options = Object.assign({ flipBackslashes: true }, opts);\n\n // flip windows path separators\n if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {\n str = str.replace(backslash, slash);\n }\n\n // special case for strings ending in enclosure containing path separator\n if (enclosure.test(str)) {\n str += slash;\n }\n\n // preserves full path in case of trailing path separator\n str += 'a';\n\n // remove path parts that are globby\n do {\n str = pathPosixDirname(str);\n } while (isGlob(str) || globby.test(str));\n\n // remove escape chars and return result\n return str.replace(escaped, '$1');\n};\n","\"use strict\";\nconst taskManager = require(\"./managers/tasks\");\nconst async_1 = require(\"./providers/async\");\nconst stream_1 = require(\"./providers/stream\");\nconst sync_1 = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nconst utils = require(\"./utils\");\nasync function FastGlob(source, options) {\n assertPatternsInput(source);\n const works = getWorks(source, async_1.default, options);\n const result = await Promise.all(works);\n return utils.array.flatten(result);\n}\n// https://github.com/typescript-eslint/typescript-eslint/issues/60\n// eslint-disable-next-line no-redeclare\n(function (FastGlob) {\n FastGlob.glob = FastGlob;\n FastGlob.globSync = sync;\n FastGlob.globStream = stream;\n FastGlob.async = FastGlob;\n function sync(source, options) {\n assertPatternsInput(source);\n const works = getWorks(source, sync_1.default, options);\n return utils.array.flatten(works);\n }\n FastGlob.sync = sync;\n function stream(source, options) {\n assertPatternsInput(source);\n const works = getWorks(source, stream_1.default, options);\n /**\n * The stream returned by the provider cannot work with an asynchronous iterator.\n * To support asynchronous iterators, regardless of the number of tasks, we always multiplex streams.\n * This affects performance (+25%). I don't see best solution right now.\n */\n return utils.stream.merge(works);\n }\n FastGlob.stream = stream;\n function generateTasks(source, options) {\n assertPatternsInput(source);\n const patterns = [].concat(source);\n const settings = new settings_1.default(options);\n return taskManager.generate(patterns, settings);\n }\n FastGlob.generateTasks = generateTasks;\n function isDynamicPattern(source, options) {\n assertPatternsInput(source);\n const settings = new settings_1.default(options);\n return utils.pattern.isDynamicPattern(source, settings);\n }\n FastGlob.isDynamicPattern = isDynamicPattern;\n function escapePath(source) {\n assertPatternsInput(source);\n return utils.path.escape(source);\n }\n FastGlob.escapePath = escapePath;\n function convertPathToPattern(source) {\n assertPatternsInput(source);\n return utils.path.convertPathToPattern(source);\n }\n FastGlob.convertPathToPattern = convertPathToPattern;\n let posix;\n (function (posix) {\n function escapePath(source) {\n assertPatternsInput(source);\n return utils.path.escapePosixPath(source);\n }\n posix.escapePath = escapePath;\n function convertPathToPattern(source) {\n assertPatternsInput(source);\n return utils.path.convertPosixPathToPattern(source);\n }\n posix.convertPathToPattern = convertPathToPattern;\n })(posix = FastGlob.posix || (FastGlob.posix = {}));\n let win32;\n (function (win32) {\n function escapePath(source) {\n assertPatternsInput(source);\n return utils.path.escapeWindowsPath(source);\n }\n win32.escapePath = escapePath;\n function convertPathToPattern(source) {\n assertPatternsInput(source);\n return utils.path.convertWindowsPathToPattern(source);\n }\n win32.convertPathToPattern = convertPathToPattern;\n })(win32 = FastGlob.win32 || (FastGlob.win32 = {}));\n})(FastGlob || (FastGlob = {}));\nfunction getWorks(source, _Provider, options) {\n const patterns = [].concat(source);\n const settings = new settings_1.default(options);\n const tasks = taskManager.generate(patterns, settings);\n const provider = new _Provider(settings);\n return tasks.map(provider.read, provider);\n}\nfunction assertPatternsInput(input) {\n const source = [].concat(input);\n const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));\n if (!isValidSource) {\n throw new TypeError('Patterns must be a string (non empty) or an array of strings');\n }\n}\nmodule.exports = FastGlob;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;\nconst utils = require(\"../utils\");\nfunction generate(input, settings) {\n const patterns = processPatterns(input, settings);\n const ignore = processPatterns(settings.ignore, settings);\n const positivePatterns = getPositivePatterns(patterns);\n const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);\n const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings));\n const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings));\n const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */ false);\n const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */ true);\n return staticTasks.concat(dynamicTasks);\n}\nexports.generate = generate;\nfunction processPatterns(input, settings) {\n let patterns = input;\n /**\n * The original pattern like `{,*,**,a/*}` can lead to problems checking the depth when matching entry\n * and some problems with the micromatch package (see fast-glob issues: #365, #394).\n *\n * To solve this problem, we expand all patterns containing brace expansion. This can lead to a slight slowdown\n * in matching in the case of a large set of patterns after expansion.\n */\n if (settings.braceExpansion) {\n patterns = utils.pattern.expandPatternsWithBraceExpansion(patterns);\n }\n /**\n * If the `baseNameMatch` option is enabled, we must add globstar to patterns, so that they can be used\n * at any nesting level.\n *\n * We do this here, because otherwise we have to complicate the filtering logic. For example, we need to change\n * the pattern in the filter before creating a regular expression. There is no need to change the patterns\n * in the application. Only on the input.\n */\n if (settings.baseNameMatch) {\n patterns = patterns.map((pattern) => pattern.includes('/') ? pattern : `**/${pattern}`);\n }\n /**\n * This method also removes duplicate slashes that may have been in the pattern or formed as a result of expansion.\n */\n return patterns.map((pattern) => utils.pattern.removeDuplicateSlashes(pattern));\n}\n/**\n * Returns tasks grouped by basic pattern directories.\n *\n * Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.\n * This is necessary because directory traversal starts at the base directory and goes deeper.\n */\nfunction convertPatternsToTasks(positive, negative, dynamic) {\n const tasks = [];\n const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);\n const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);\n const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);\n const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);\n tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));\n /*\n * For the sake of reducing future accesses to the file system, we merge all tasks within the current directory\n * into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.\n */\n if ('.' in insideCurrentDirectoryGroup) {\n tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));\n }\n else {\n tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));\n }\n return tasks;\n}\nexports.convertPatternsToTasks = convertPatternsToTasks;\nfunction getPositivePatterns(patterns) {\n return utils.pattern.getPositivePatterns(patterns);\n}\nexports.getPositivePatterns = getPositivePatterns;\nfunction getNegativePatternsAsPositive(patterns, ignore) {\n const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);\n const positive = negative.map(utils.pattern.convertToPositivePattern);\n return positive;\n}\nexports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;\nfunction groupPatternsByBaseDirectory(patterns) {\n const group = {};\n return patterns.reduce((collection, pattern) => {\n const base = utils.pattern.getBaseDirectory(pattern);\n if (base in collection) {\n collection[base].push(pattern);\n }\n else {\n collection[base] = [pattern];\n }\n return collection;\n }, group);\n}\nexports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;\nfunction convertPatternGroupsToTasks(positive, negative, dynamic) {\n return Object.keys(positive).map((base) => {\n return convertPatternGroupToTask(base, positive[base], negative, dynamic);\n });\n}\nexports.convertPatternGroupsToTasks = convertPatternGroupsToTasks;\nfunction convertPatternGroupToTask(base, positive, negative, dynamic) {\n return {\n dynamic,\n positive,\n negative,\n base,\n patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))\n };\n}\nexports.convertPatternGroupToTask = convertPatternGroupToTask;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst async_1 = require(\"../readers/async\");\nconst provider_1 = require(\"./provider\");\nclass ProviderAsync extends provider_1.default {\n constructor() {\n super(...arguments);\n this._reader = new async_1.default(this._settings);\n }\n async read(task) {\n const root = this._getRootDirectory(task);\n const options = this._getReaderOptions(task);\n const entries = await this.api(root, task, options);\n return entries.map((entry) => options.transform(entry));\n }\n api(root, task, options) {\n if (task.dynamic) {\n return this._reader.dynamic(root, options);\n }\n return this._reader.static(task.patterns, options);\n }\n}\nexports.default = ProviderAsync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nconst partial_1 = require(\"../matchers/partial\");\nclass DeepFilter {\n constructor(_settings, _micromatchOptions) {\n this._settings = _settings;\n this._micromatchOptions = _micromatchOptions;\n }\n getFilter(basePath, positive, negative) {\n const matcher = this._getMatcher(positive);\n const negativeRe = this._getNegativePatternsRe(negative);\n return (entry) => this._filter(basePath, entry, matcher, negativeRe);\n }\n _getMatcher(patterns) {\n return new partial_1.default(patterns, this._settings, this._micromatchOptions);\n }\n _getNegativePatternsRe(patterns) {\n const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);\n return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);\n }\n _filter(basePath, entry, matcher, negativeRe) {\n if (this._isSkippedByDeep(basePath, entry.path)) {\n return false;\n }\n if (this._isSkippedSymbolicLink(entry)) {\n return false;\n }\n const filepath = utils.path.removeLeadingDotSegment(entry.path);\n if (this._isSkippedByPositivePatterns(filepath, matcher)) {\n return false;\n }\n return this._isSkippedByNegativePatterns(filepath, negativeRe);\n }\n _isSkippedByDeep(basePath, entryPath) {\n /**\n * Avoid unnecessary depth calculations when it doesn't matter.\n */\n if (this._settings.deep === Infinity) {\n return false;\n }\n return this._getEntryLevel(basePath, entryPath) >= this._settings.deep;\n }\n _getEntryLevel(basePath, entryPath) {\n const entryPathDepth = entryPath.split('/').length;\n if (basePath === '') {\n return entryPathDepth;\n }\n const basePathDepth = basePath.split('/').length;\n return entryPathDepth - basePathDepth;\n }\n _isSkippedSymbolicLink(entry) {\n return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();\n }\n _isSkippedByPositivePatterns(entryPath, matcher) {\n return !this._settings.baseNameMatch && !matcher.match(entryPath);\n }\n _isSkippedByNegativePatterns(entryPath, patternsRe) {\n return !utils.pattern.matchAny(entryPath, patternsRe);\n }\n}\nexports.default = DeepFilter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass EntryFilter {\n constructor(_settings, _micromatchOptions) {\n this._settings = _settings;\n this._micromatchOptions = _micromatchOptions;\n this.index = new Map();\n }\n getFilter(positive, negative) {\n const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);\n const negativeRe = utils.pattern.convertPatternsToRe(negative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }));\n return (entry) => this._filter(entry, positiveRe, negativeRe);\n }\n _filter(entry, positiveRe, negativeRe) {\n const filepath = utils.path.removeLeadingDotSegment(entry.path);\n if (this._settings.unique && this._isDuplicateEntry(filepath)) {\n return false;\n }\n if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {\n return false;\n }\n if (this._isSkippedByAbsoluteNegativePatterns(filepath, negativeRe)) {\n return false;\n }\n const isDirectory = entry.dirent.isDirectory();\n const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory);\n if (this._settings.unique && isMatched) {\n this._createIndexRecord(filepath);\n }\n return isMatched;\n }\n _isDuplicateEntry(filepath) {\n return this.index.has(filepath);\n }\n _createIndexRecord(filepath) {\n this.index.set(filepath, undefined);\n }\n _onlyFileFilter(entry) {\n return this._settings.onlyFiles && !entry.dirent.isFile();\n }\n _onlyDirectoryFilter(entry) {\n return this._settings.onlyDirectories && !entry.dirent.isDirectory();\n }\n _isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {\n if (!this._settings.absolute) {\n return false;\n }\n const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);\n return utils.pattern.matchAny(fullpath, patternsRe);\n }\n _isMatchToPatterns(filepath, patternsRe, isDirectory) {\n // Trying to match files and directories by patterns.\n const isMatched = utils.pattern.matchAny(filepath, patternsRe);\n // A pattern with a trailling slash can be used for directory matching.\n // To apply such pattern, we need to add a tralling slash to the path.\n if (!isMatched && isDirectory) {\n return utils.pattern.matchAny(filepath + '/', patternsRe);\n }\n return isMatched;\n }\n}\nexports.default = EntryFilter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass ErrorFilter {\n constructor(_settings) {\n this._settings = _settings;\n }\n getFilter() {\n return (error) => this._isNonFatalError(error);\n }\n _isNonFatalError(error) {\n return utils.errno.isEnoentCodeError(error) || this._settings.suppressErrors;\n }\n}\nexports.default = ErrorFilter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass Matcher {\n constructor(_patterns, _settings, _micromatchOptions) {\n this._patterns = _patterns;\n this._settings = _settings;\n this._micromatchOptions = _micromatchOptions;\n this._storage = [];\n this._fillStorage();\n }\n _fillStorage() {\n for (const pattern of this._patterns) {\n const segments = this._getPatternSegments(pattern);\n const sections = this._splitSegmentsIntoSections(segments);\n this._storage.push({\n complete: sections.length <= 1,\n pattern,\n segments,\n sections\n });\n }\n }\n _getPatternSegments(pattern) {\n const parts = utils.pattern.getPatternParts(pattern, this._micromatchOptions);\n return parts.map((part) => {\n const dynamic = utils.pattern.isDynamicPattern(part, this._settings);\n if (!dynamic) {\n return {\n dynamic: false,\n pattern: part\n };\n }\n return {\n dynamic: true,\n pattern: part,\n patternRe: utils.pattern.makeRe(part, this._micromatchOptions)\n };\n });\n }\n _splitSegmentsIntoSections(segments) {\n return utils.array.splitWhen(segments, (segment) => segment.dynamic && utils.pattern.hasGlobStar(segment.pattern));\n }\n}\nexports.default = Matcher;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst matcher_1 = require(\"./matcher\");\nclass PartialMatcher extends matcher_1.default {\n match(filepath) {\n const parts = filepath.split('/');\n const levels = parts.length;\n const patterns = this._storage.filter((info) => !info.complete || info.segments.length > levels);\n for (const pattern of patterns) {\n const section = pattern.sections[0];\n /**\n * In this case, the pattern has a globstar and we must read all directories unconditionally,\n * but only if the level has reached the end of the first group.\n *\n * fixtures/{a,b}/**\n * ^ true/false ^ always true\n */\n if (!pattern.complete && levels > section.length) {\n return true;\n }\n const match = parts.every((part, index) => {\n const segment = pattern.segments[index];\n if (segment.dynamic && segment.patternRe.test(part)) {\n return true;\n }\n if (!segment.dynamic && segment.pattern === part) {\n return true;\n }\n return false;\n });\n if (match) {\n return true;\n }\n }\n return false;\n }\n}\nexports.default = PartialMatcher;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst deep_1 = require(\"./filters/deep\");\nconst entry_1 = require(\"./filters/entry\");\nconst error_1 = require(\"./filters/error\");\nconst entry_2 = require(\"./transformers/entry\");\nclass Provider {\n constructor(_settings) {\n this._settings = _settings;\n this.errorFilter = new error_1.default(this._settings);\n this.entryFilter = new entry_1.default(this._settings, this._getMicromatchOptions());\n this.deepFilter = new deep_1.default(this._settings, this._getMicromatchOptions());\n this.entryTransformer = new entry_2.default(this._settings);\n }\n _getRootDirectory(task) {\n return path.resolve(this._settings.cwd, task.base);\n }\n _getReaderOptions(task) {\n const basePath = task.base === '.' ? '' : task.base;\n return {\n basePath,\n pathSegmentSeparator: '/',\n concurrency: this._settings.concurrency,\n deepFilter: this.deepFilter.getFilter(basePath, task.positive, task.negative),\n entryFilter: this.entryFilter.getFilter(task.positive, task.negative),\n errorFilter: this.errorFilter.getFilter(),\n followSymbolicLinks: this._settings.followSymbolicLinks,\n fs: this._settings.fs,\n stats: this._settings.stats,\n throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,\n transform: this.entryTransformer.getTransformer()\n };\n }\n _getMicromatchOptions() {\n return {\n dot: this._settings.dot,\n matchBase: this._settings.baseNameMatch,\n nobrace: !this._settings.braceExpansion,\n nocase: !this._settings.caseSensitiveMatch,\n noext: !this._settings.extglob,\n noglobstar: !this._settings.globstar,\n posix: true,\n strictSlashes: false\n };\n }\n}\nexports.default = Provider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst stream_2 = require(\"../readers/stream\");\nconst provider_1 = require(\"./provider\");\nclass ProviderStream extends provider_1.default {\n constructor() {\n super(...arguments);\n this._reader = new stream_2.default(this._settings);\n }\n read(task) {\n const root = this._getRootDirectory(task);\n const options = this._getReaderOptions(task);\n const source = this.api(root, task, options);\n const destination = new stream_1.Readable({ objectMode: true, read: () => { } });\n source\n .once('error', (error) => destination.emit('error', error))\n .on('data', (entry) => destination.emit('data', options.transform(entry)))\n .once('end', () => destination.emit('end'));\n destination\n .once('close', () => source.destroy());\n return destination;\n }\n api(root, task, options) {\n if (task.dynamic) {\n return this._reader.dynamic(root, options);\n }\n return this._reader.static(task.patterns, options);\n }\n}\nexports.default = ProviderStream;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst sync_1 = require(\"../readers/sync\");\nconst provider_1 = require(\"./provider\");\nclass ProviderSync extends provider_1.default {\n constructor() {\n super(...arguments);\n this._reader = new sync_1.default(this._settings);\n }\n read(task) {\n const root = this._getRootDirectory(task);\n const options = this._getReaderOptions(task);\n const entries = this.api(root, task, options);\n return entries.map(options.transform);\n }\n api(root, task, options) {\n if (task.dynamic) {\n return this._reader.dynamic(root, options);\n }\n return this._reader.static(task.patterns, options);\n }\n}\nexports.default = ProviderSync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass EntryTransformer {\n constructor(_settings) {\n this._settings = _settings;\n }\n getTransformer() {\n return (entry) => this._transform(entry);\n }\n _transform(entry) {\n let filepath = entry.path;\n if (this._settings.absolute) {\n filepath = utils.path.makeAbsolute(this._settings.cwd, filepath);\n filepath = utils.path.unixify(filepath);\n }\n if (this._settings.markDirectories && entry.dirent.isDirectory()) {\n filepath += '/';\n }\n if (!this._settings.objectMode) {\n return filepath;\n }\n return Object.assign(Object.assign({}, entry), { path: filepath });\n }\n}\nexports.default = EntryTransformer;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsWalk = require(\"@nodelib/fs.walk\");\nconst reader_1 = require(\"./reader\");\nconst stream_1 = require(\"./stream\");\nclass ReaderAsync extends reader_1.default {\n constructor() {\n super(...arguments);\n this._walkAsync = fsWalk.walk;\n this._readerStream = new stream_1.default(this._settings);\n }\n dynamic(root, options) {\n return new Promise((resolve, reject) => {\n this._walkAsync(root, options, (error, entries) => {\n if (error === null) {\n resolve(entries);\n }\n else {\n reject(error);\n }\n });\n });\n }\n async static(patterns, options) {\n const entries = [];\n const stream = this._readerStream.static(patterns, options);\n // After #235, replace it with an asynchronous iterator.\n return new Promise((resolve, reject) => {\n stream.once('error', reject);\n stream.on('data', (entry) => entries.push(entry));\n stream.once('end', () => resolve(entries));\n });\n }\n}\nexports.default = ReaderAsync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst utils = require(\"../utils\");\nclass Reader {\n constructor(_settings) {\n this._settings = _settings;\n this._fsStatSettings = new fsStat.Settings({\n followSymbolicLink: this._settings.followSymbolicLinks,\n fs: this._settings.fs,\n throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks\n });\n }\n _getFullEntryPath(filepath) {\n return path.resolve(this._settings.cwd, filepath);\n }\n _makeEntry(stats, pattern) {\n const entry = {\n name: pattern,\n path: pattern,\n dirent: utils.fs.createDirentFromStats(pattern, stats)\n };\n if (this._settings.stats) {\n entry.stats = stats;\n }\n return entry;\n }\n _isFatalError(error) {\n return !utils.errno.isEnoentCodeError(error) && !this._settings.suppressErrors;\n }\n}\nexports.default = Reader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fsWalk = require(\"@nodelib/fs.walk\");\nconst reader_1 = require(\"./reader\");\nclass ReaderStream extends reader_1.default {\n constructor() {\n super(...arguments);\n this._walkStream = fsWalk.walkStream;\n this._stat = fsStat.stat;\n }\n dynamic(root, options) {\n return this._walkStream(root, options);\n }\n static(patterns, options) {\n const filepaths = patterns.map(this._getFullEntryPath, this);\n const stream = new stream_1.PassThrough({ objectMode: true });\n stream._write = (index, _enc, done) => {\n return this._getEntry(filepaths[index], patterns[index], options)\n .then((entry) => {\n if (entry !== null && options.entryFilter(entry)) {\n stream.push(entry);\n }\n if (index === filepaths.length - 1) {\n stream.end();\n }\n done();\n })\n .catch(done);\n };\n for (let i = 0; i < filepaths.length; i++) {\n stream.write(i);\n }\n return stream;\n }\n _getEntry(filepath, pattern, options) {\n return this._getStat(filepath)\n .then((stats) => this._makeEntry(stats, pattern))\n .catch((error) => {\n if (options.errorFilter(error)) {\n return null;\n }\n throw error;\n });\n }\n _getStat(filepath) {\n return new Promise((resolve, reject) => {\n this._stat(filepath, this._fsStatSettings, (error, stats) => {\n return error === null ? resolve(stats) : reject(error);\n });\n });\n }\n}\nexports.default = ReaderStream;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fsWalk = require(\"@nodelib/fs.walk\");\nconst reader_1 = require(\"./reader\");\nclass ReaderSync extends reader_1.default {\n constructor() {\n super(...arguments);\n this._walkSync = fsWalk.walkSync;\n this._statSync = fsStat.statSync;\n }\n dynamic(root, options) {\n return this._walkSync(root, options);\n }\n static(patterns, options) {\n const entries = [];\n for (const pattern of patterns) {\n const filepath = this._getFullEntryPath(pattern);\n const entry = this._getEntry(filepath, pattern, options);\n if (entry === null || !options.entryFilter(entry)) {\n continue;\n }\n entries.push(entry);\n }\n return entries;\n }\n _getEntry(filepath, pattern, options) {\n try {\n const stats = this._getStat(filepath);\n return this._makeEntry(stats, pattern);\n }\n catch (error) {\n if (options.errorFilter(error)) {\n return null;\n }\n throw error;\n }\n }\n _getStat(filepath) {\n return this._statSync(filepath, this._fsStatSettings);\n }\n}\nexports.default = ReaderSync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nconst os = require(\"os\");\n/**\n * The `os.cpus` method can return zero. We expect the number of cores to be greater than zero.\n * https://github.com/nodejs/node/blob/7faeddf23a98c53896f8b574a6e66589e8fb1eb8/lib/os.js#L106-L107\n */\nconst CPU_COUNT = Math.max(os.cpus().length, 1);\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n lstatSync: fs.lstatSync,\n stat: fs.stat,\n statSync: fs.statSync,\n readdir: fs.readdir,\n readdirSync: fs.readdirSync\n};\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.absolute = this._getValue(this._options.absolute, false);\n this.baseNameMatch = this._getValue(this._options.baseNameMatch, false);\n this.braceExpansion = this._getValue(this._options.braceExpansion, true);\n this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, true);\n this.concurrency = this._getValue(this._options.concurrency, CPU_COUNT);\n this.cwd = this._getValue(this._options.cwd, process.cwd());\n this.deep = this._getValue(this._options.deep, Infinity);\n this.dot = this._getValue(this._options.dot, false);\n this.extglob = this._getValue(this._options.extglob, true);\n this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, true);\n this.fs = this._getFileSystemMethods(this._options.fs);\n this.globstar = this._getValue(this._options.globstar, true);\n this.ignore = this._getValue(this._options.ignore, []);\n this.markDirectories = this._getValue(this._options.markDirectories, false);\n this.objectMode = this._getValue(this._options.objectMode, false);\n this.onlyDirectories = this._getValue(this._options.onlyDirectories, false);\n this.onlyFiles = this._getValue(this._options.onlyFiles, true);\n this.stats = this._getValue(this._options.stats, false);\n this.suppressErrors = this._getValue(this._options.suppressErrors, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, false);\n this.unique = this._getValue(this._options.unique, true);\n if (this.onlyDirectories) {\n this.onlyFiles = false;\n }\n if (this.stats) {\n this.objectMode = true;\n }\n // Remove the cast to the array in the next major (#404).\n this.ignore = [].concat(this.ignore);\n }\n _getValue(option, value) {\n return option === undefined ? value : option;\n }\n _getFileSystemMethods(methods = {}) {\n return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitWhen = exports.flatten = void 0;\nfunction flatten(items) {\n return items.reduce((collection, item) => [].concat(collection, item), []);\n}\nexports.flatten = flatten;\nfunction splitWhen(items, predicate) {\n const result = [[]];\n let groupIndex = 0;\n for (const item of items) {\n if (predicate(item)) {\n groupIndex++;\n result[groupIndex] = [];\n }\n else {\n result[groupIndex].push(item);\n }\n }\n return result;\n}\nexports.splitWhen = splitWhen;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEnoentCodeError = void 0;\nfunction isEnoentCodeError(error) {\n return error.code === 'ENOENT';\n}\nexports.isEnoentCodeError = isEnoentCodeError;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createDirentFromStats = void 0;\nclass DirentFromStats {\n constructor(name, stats) {\n this.name = name;\n this.isBlockDevice = stats.isBlockDevice.bind(stats);\n this.isCharacterDevice = stats.isCharacterDevice.bind(stats);\n this.isDirectory = stats.isDirectory.bind(stats);\n this.isFIFO = stats.isFIFO.bind(stats);\n this.isFile = stats.isFile.bind(stats);\n this.isSocket = stats.isSocket.bind(stats);\n this.isSymbolicLink = stats.isSymbolicLink.bind(stats);\n }\n}\nfunction createDirentFromStats(name, stats) {\n return new DirentFromStats(name, stats);\n}\nexports.createDirentFromStats = createDirentFromStats;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;\nconst array = require(\"./array\");\nexports.array = array;\nconst errno = require(\"./errno\");\nexports.errno = errno;\nconst fs = require(\"./fs\");\nexports.fs = fs;\nconst path = require(\"./path\");\nexports.path = path;\nconst pattern = require(\"./pattern\");\nexports.pattern = pattern;\nconst stream = require(\"./stream\");\nexports.stream = stream;\nconst string = require(\"./string\");\nexports.string = string;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;\nconst os = require(\"os\");\nconst path = require(\"path\");\nconst IS_WINDOWS_PLATFORM = os.platform() === 'win32';\nconst LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; // ./ or .\\\\\n/**\n * All non-escaped special characters.\n * Posix: ()*?[]{|}, !+@ before (, ! at the beginning, \\\\ before non-special characters.\n * Windows: (){}[], !+@ before (, ! at the beginning.\n */\nconst POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\\\?)([()*?[\\]{|}]|^!|[!+@](?=\\()|\\\\(?![!()*+?@[\\]{|}]))/g;\nconst WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\\\?)([()[\\]{}]|^!|[!+@](?=\\())/g;\n/**\n * The device path (\\\\.\\ or \\\\?\\).\n * https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#dos-device-paths\n */\nconst DOS_DEVICE_PATH_RE = /^\\\\\\\\([.?])/;\n/**\n * All backslashes except those escaping special characters.\n * Windows: !()+@{}\n * https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions\n */\nconst WINDOWS_BACKSLASHES_RE = /\\\\(?![!()+@[\\]{}])/g;\n/**\n * Designed to work only with simple paths: `dir\\\\file`.\n */\nfunction unixify(filepath) {\n return filepath.replace(/\\\\/g, '/');\n}\nexports.unixify = unixify;\nfunction makeAbsolute(cwd, filepath) {\n return path.resolve(cwd, filepath);\n}\nexports.makeAbsolute = makeAbsolute;\nfunction removeLeadingDotSegment(entry) {\n // We do not use `startsWith` because this is 10x slower than current implementation for some cases.\n // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with\n if (entry.charAt(0) === '.') {\n const secondCharactery = entry.charAt(1);\n if (secondCharactery === '/' || secondCharactery === '\\\\') {\n return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT);\n }\n }\n return entry;\n}\nexports.removeLeadingDotSegment = removeLeadingDotSegment;\nexports.escape = IS_WINDOWS_PLATFORM ? escapeWindowsPath : escapePosixPath;\nfunction escapeWindowsPath(pattern) {\n return pattern.replace(WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE, '\\\\$2');\n}\nexports.escapeWindowsPath = escapeWindowsPath;\nfunction escapePosixPath(pattern) {\n return pattern.replace(POSIX_UNESCAPED_GLOB_SYMBOLS_RE, '\\\\$2');\n}\nexports.escapePosixPath = escapePosixPath;\nexports.convertPathToPattern = IS_WINDOWS_PLATFORM ? convertWindowsPathToPattern : convertPosixPathToPattern;\nfunction convertWindowsPathToPattern(filepath) {\n return escapeWindowsPath(filepath)\n .replace(DOS_DEVICE_PATH_RE, '//$1')\n .replace(WINDOWS_BACKSLASHES_RE, '/');\n}\nexports.convertWindowsPathToPattern = convertWindowsPathToPattern;\nfunction convertPosixPathToPattern(filepath) {\n return escapePosixPath(filepath);\n}\nexports.convertPosixPathToPattern = convertPosixPathToPattern;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;\nconst path = require(\"path\");\nconst globParent = require(\"glob-parent\");\nconst micromatch = require(\"micromatch\");\nconst GLOBSTAR = '**';\nconst ESCAPE_SYMBOL = '\\\\';\nconst COMMON_GLOB_SYMBOLS_RE = /[*?]|^!/;\nconst REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\\[[^[]*]/;\nconst REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\\([^(]*\\|[^|]*\\)/;\nconst GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\\([^(]*\\)/;\nconst BRACE_EXPANSION_SEPARATORS_RE = /,|\\.\\./;\n/**\n * Matches a sequence of two or more consecutive slashes, excluding the first two slashes at the beginning of the string.\n * The latter is due to the presence of the device path at the beginning of the UNC path.\n */\nconst DOUBLE_SLASH_RE = /(?!^)\\/{2,}/g;\nfunction isStaticPattern(pattern, options = {}) {\n return !isDynamicPattern(pattern, options);\n}\nexports.isStaticPattern = isStaticPattern;\nfunction isDynamicPattern(pattern, options = {}) {\n /**\n * A special case with an empty string is necessary for matching patterns that start with a forward slash.\n * An empty string cannot be a dynamic pattern.\n * For example, the pattern `/lib/*` will be spread into parts: '', 'lib', '*'.\n */\n if (pattern === '') {\n return false;\n }\n /**\n * When the `caseSensitiveMatch` option is disabled, all patterns must be marked as dynamic, because we cannot check\n * filepath directly (without read directory).\n */\n if (options.caseSensitiveMatch === false || pattern.includes(ESCAPE_SYMBOL)) {\n return true;\n }\n if (COMMON_GLOB_SYMBOLS_RE.test(pattern) || REGEX_CHARACTER_CLASS_SYMBOLS_RE.test(pattern) || REGEX_GROUP_SYMBOLS_RE.test(pattern)) {\n return true;\n }\n if (options.extglob !== false && GLOB_EXTENSION_SYMBOLS_RE.test(pattern)) {\n return true;\n }\n if (options.braceExpansion !== false && hasBraceExpansion(pattern)) {\n return true;\n }\n return false;\n}\nexports.isDynamicPattern = isDynamicPattern;\nfunction hasBraceExpansion(pattern) {\n const openingBraceIndex = pattern.indexOf('{');\n if (openingBraceIndex === -1) {\n return false;\n }\n const closingBraceIndex = pattern.indexOf('}', openingBraceIndex + 1);\n if (closingBraceIndex === -1) {\n return false;\n }\n const braceContent = pattern.slice(openingBraceIndex, closingBraceIndex);\n return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent);\n}\nfunction convertToPositivePattern(pattern) {\n return isNegativePattern(pattern) ? pattern.slice(1) : pattern;\n}\nexports.convertToPositivePattern = convertToPositivePattern;\nfunction convertToNegativePattern(pattern) {\n return '!' + pattern;\n}\nexports.convertToNegativePattern = convertToNegativePattern;\nfunction isNegativePattern(pattern) {\n return pattern.startsWith('!') && pattern[1] !== '(';\n}\nexports.isNegativePattern = isNegativePattern;\nfunction isPositivePattern(pattern) {\n return !isNegativePattern(pattern);\n}\nexports.isPositivePattern = isPositivePattern;\nfunction getNegativePatterns(patterns) {\n return patterns.filter(isNegativePattern);\n}\nexports.getNegativePatterns = getNegativePatterns;\nfunction getPositivePatterns(patterns) {\n return patterns.filter(isPositivePattern);\n}\nexports.getPositivePatterns = getPositivePatterns;\n/**\n * Returns patterns that can be applied inside the current directory.\n *\n * @example\n * // ['./*', '*', 'a/*']\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\n */\nfunction getPatternsInsideCurrentDirectory(patterns) {\n return patterns.filter((pattern) => !isPatternRelatedToParentDirectory(pattern));\n}\nexports.getPatternsInsideCurrentDirectory = getPatternsInsideCurrentDirectory;\n/**\n * Returns patterns to be expanded relative to (outside) the current directory.\n *\n * @example\n * // ['../*', './../*']\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\n */\nfunction getPatternsOutsideCurrentDirectory(patterns) {\n return patterns.filter(isPatternRelatedToParentDirectory);\n}\nexports.getPatternsOutsideCurrentDirectory = getPatternsOutsideCurrentDirectory;\nfunction isPatternRelatedToParentDirectory(pattern) {\n return pattern.startsWith('..') || pattern.startsWith('./..');\n}\nexports.isPatternRelatedToParentDirectory = isPatternRelatedToParentDirectory;\nfunction getBaseDirectory(pattern) {\n return globParent(pattern, { flipBackslashes: false });\n}\nexports.getBaseDirectory = getBaseDirectory;\nfunction hasGlobStar(pattern) {\n return pattern.includes(GLOBSTAR);\n}\nexports.hasGlobStar = hasGlobStar;\nfunction endsWithSlashGlobStar(pattern) {\n return pattern.endsWith('/' + GLOBSTAR);\n}\nexports.endsWithSlashGlobStar = endsWithSlashGlobStar;\nfunction isAffectDepthOfReadingPattern(pattern) {\n const basename = path.basename(pattern);\n return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);\n}\nexports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;\nfunction expandPatternsWithBraceExpansion(patterns) {\n return patterns.reduce((collection, pattern) => {\n return collection.concat(expandBraceExpansion(pattern));\n }, []);\n}\nexports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;\nfunction expandBraceExpansion(pattern) {\n const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });\n /**\n * Sort the patterns by length so that the same depth patterns are processed side by side.\n * `a/{b,}/{c,}/*` – `['a///*', 'a/b//*', 'a//c/*', 'a/b/c/*']`\n */\n patterns.sort((a, b) => a.length - b.length);\n /**\n * Micromatch can return an empty string in the case of patterns like `{a,}`.\n */\n return patterns.filter((pattern) => pattern !== '');\n}\nexports.expandBraceExpansion = expandBraceExpansion;\nfunction getPatternParts(pattern, options) {\n let { parts } = micromatch.scan(pattern, Object.assign(Object.assign({}, options), { parts: true }));\n /**\n * The scan method returns an empty array in some cases.\n * See micromatch/picomatch#58 for more details.\n */\n if (parts.length === 0) {\n parts = [pattern];\n }\n /**\n * The scan method does not return an empty part for the pattern with a forward slash.\n * This is another part of micromatch/picomatch#58.\n */\n if (parts[0].startsWith('/')) {\n parts[0] = parts[0].slice(1);\n parts.unshift('');\n }\n return parts;\n}\nexports.getPatternParts = getPatternParts;\nfunction makeRe(pattern, options) {\n return micromatch.makeRe(pattern, options);\n}\nexports.makeRe = makeRe;\nfunction convertPatternsToRe(patterns, options) {\n return patterns.map((pattern) => makeRe(pattern, options));\n}\nexports.convertPatternsToRe = convertPatternsToRe;\nfunction matchAny(entry, patternsRe) {\n return patternsRe.some((patternRe) => patternRe.test(entry));\n}\nexports.matchAny = matchAny;\n/**\n * This package only works with forward slashes as a path separator.\n * Because of this, we cannot use the standard `path.normalize` method, because on Windows platform it will use of backslashes.\n */\nfunction removeDuplicateSlashes(pattern) {\n return pattern.replace(DOUBLE_SLASH_RE, '/');\n}\nexports.removeDuplicateSlashes = removeDuplicateSlashes;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.merge = void 0;\nconst merge2 = require(\"merge2\");\nfunction merge(streams) {\n const mergedStream = merge2(streams);\n streams.forEach((stream) => {\n stream.once('error', (error) => mergedStream.emit('error', error));\n });\n mergedStream.once('close', () => propagateCloseEventToSources(streams));\n mergedStream.once('end', () => propagateCloseEventToSources(streams));\n return mergedStream;\n}\nexports.merge = merge;\nfunction propagateCloseEventToSources(streams) {\n streams.forEach((stream) => stream.emit('close'));\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmpty = exports.isString = void 0;\nfunction isString(input) {\n return typeof input === 'string';\n}\nexports.isString = isString;\nfunction isEmpty(input) {\n return input === '';\n}\nexports.isEmpty = isEmpty;\n","'use strict'\n\n/* eslint-disable no-var */\n\nvar reusify = require('reusify')\n\nfunction fastqueue (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n if (concurrency < 1) {\n throw new Error('fastqueue concurrency must be greater than 1')\n }\n\n var cache = reusify(Task)\n var queueHead = null\n var queueTail = null\n var _running = 0\n var errorHandler = null\n\n var self = {\n push: push,\n drain: noop,\n saturated: noop,\n pause: pause,\n paused: false,\n concurrency: concurrency,\n running: running,\n resume: resume,\n idle: idle,\n length: length,\n getQueue: getQueue,\n unshift: unshift,\n empty: noop,\n kill: kill,\n killAndDrain: killAndDrain,\n error: error\n }\n\n return self\n\n function running () {\n return _running\n }\n\n function pause () {\n self.paused = true\n }\n\n function length () {\n var current = queueHead\n var counter = 0\n\n while (current) {\n current = current.next\n counter++\n }\n\n return counter\n }\n\n function getQueue () {\n var current = queueHead\n var tasks = []\n\n while (current) {\n tasks.push(current.value)\n current = current.next\n }\n\n return tasks\n }\n\n function resume () {\n if (!self.paused) return\n self.paused = false\n for (var i = 0; i < self.concurrency; i++) {\n _running++\n release()\n }\n }\n\n function idle () {\n return _running === 0 && self.length() === 0\n }\n\n function push (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueTail) {\n queueTail.next = current\n queueTail = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function unshift (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueHead) {\n current.next = queueHead\n queueHead = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function release (holder) {\n if (holder) {\n cache.release(holder)\n }\n var next = queueHead\n if (next) {\n if (!self.paused) {\n if (queueTail === queueHead) {\n queueTail = null\n }\n queueHead = next.next\n next.next = null\n worker.call(context, next.value, next.worked)\n if (queueTail === null) {\n self.empty()\n }\n } else {\n _running--\n }\n } else if (--_running === 0) {\n self.drain()\n }\n }\n\n function kill () {\n queueHead = null\n queueTail = null\n self.drain = noop\n }\n\n function killAndDrain () {\n queueHead = null\n queueTail = null\n self.drain()\n self.drain = noop\n }\n\n function error (handler) {\n errorHandler = handler\n }\n}\n\nfunction noop () {}\n\nfunction Task () {\n this.value = null\n this.callback = noop\n this.next = null\n this.release = noop\n this.context = null\n this.errorHandler = null\n\n var self = this\n\n this.worked = function worked (err, result) {\n var callback = self.callback\n var errorHandler = self.errorHandler\n var val = self.value\n self.value = null\n self.callback = noop\n if (self.errorHandler) {\n errorHandler(err, val)\n }\n callback.call(self.context, err, result)\n self.release(self)\n }\n}\n\nfunction queueAsPromised (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n function asyncWrapper (arg, cb) {\n worker.call(this, arg)\n .then(function (res) {\n cb(null, res)\n }, cb)\n }\n\n var queue = fastqueue(context, asyncWrapper, concurrency)\n\n var pushCb = queue.push\n var unshiftCb = queue.unshift\n\n queue.push = push\n queue.unshift = unshift\n queue.drained = drained\n\n return queue\n\n function push (value) {\n var p = new Promise(function (resolve, reject) {\n pushCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function unshift (value) {\n var p = new Promise(function (resolve, reject) {\n unshiftCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function drained () {\n if (queue.idle()) {\n return new Promise(function (resolve) {\n resolve()\n })\n }\n\n var previousDrain = queue.drain\n\n var p = new Promise(function (resolve) {\n queue.drain = function () {\n previousDrain()\n resolve()\n }\n })\n\n return p\n }\n}\n\nmodule.exports = fastqueue\nmodule.exports.promise = queueAsPromised\n","/*!\n * fill-range \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\n'use strict';\n\nconst util = require('util');\nconst toRegexRange = require('to-regex-range');\n\nconst isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\n\nconst transform = toNumber => {\n return value => toNumber === true ? Number(value) : String(value);\n};\n\nconst isValidValue = value => {\n return typeof value === 'number' || (typeof value === 'string' && value !== '');\n};\n\nconst isNumber = num => Number.isInteger(+num);\n\nconst zeros = input => {\n let value = `${input}`;\n let index = -1;\n if (value[0] === '-') value = value.slice(1);\n if (value === '0') return false;\n while (value[++index] === '0');\n return index > 0;\n};\n\nconst stringify = (start, end, options) => {\n if (typeof start === 'string' || typeof end === 'string') {\n return true;\n }\n return options.stringify === true;\n};\n\nconst pad = (input, maxLength, toNumber) => {\n if (maxLength > 0) {\n let dash = input[0] === '-' ? '-' : '';\n if (dash) input = input.slice(1);\n input = (dash + input.padStart(dash ? maxLength - 1 : maxLength, '0'));\n }\n if (toNumber === false) {\n return String(input);\n }\n return input;\n};\n\nconst toMaxLen = (input, maxLength) => {\n let negative = input[0] === '-' ? '-' : '';\n if (negative) {\n input = input.slice(1);\n maxLength--;\n }\n while (input.length < maxLength) input = '0' + input;\n return negative ? ('-' + input) : input;\n};\n\nconst toSequence = (parts, options) => {\n parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n\n let prefix = options.capture ? '' : '?:';\n let positives = '';\n let negatives = '';\n let result;\n\n if (parts.positives.length) {\n positives = parts.positives.join('|');\n }\n\n if (parts.negatives.length) {\n negatives = `-(${prefix}${parts.negatives.join('|')})`;\n }\n\n if (positives && negatives) {\n result = `${positives}|${negatives}`;\n } else {\n result = positives || negatives;\n }\n\n if (options.wrap) {\n return `(${prefix}${result})`;\n }\n\n return result;\n};\n\nconst toRange = (a, b, isNumbers, options) => {\n if (isNumbers) {\n return toRegexRange(a, b, { wrap: false, ...options });\n }\n\n let start = String.fromCharCode(a);\n if (a === b) return start;\n\n let stop = String.fromCharCode(b);\n return `[${start}-${stop}]`;\n};\n\nconst toRegex = (start, end, options) => {\n if (Array.isArray(start)) {\n let wrap = options.wrap === true;\n let prefix = options.capture ? '' : '?:';\n return wrap ? `(${prefix}${start.join('|')})` : start.join('|');\n }\n return toRegexRange(start, end, options);\n};\n\nconst rangeError = (...args) => {\n return new RangeError('Invalid range arguments: ' + util.inspect(...args));\n};\n\nconst invalidRange = (start, end, options) => {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n};\n\nconst invalidStep = (step, options) => {\n if (options.strictRanges === true) {\n throw new TypeError(`Expected step \"${step}\" to be a number`);\n }\n return [];\n};\n\nconst fillNumbers = (start, end, step = 1, options = {}) => {\n let a = Number(start);\n let b = Number(end);\n\n if (!Number.isInteger(a) || !Number.isInteger(b)) {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n }\n\n // fix negative zero\n if (a === 0) a = 0;\n if (b === 0) b = 0;\n\n let descending = a > b;\n let startString = String(start);\n let endString = String(end);\n let stepString = String(step);\n step = Math.max(Math.abs(step), 1);\n\n let padded = zeros(startString) || zeros(endString) || zeros(stepString);\n let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;\n let toNumber = padded === false && stringify(start, end, options) === false;\n let format = options.transform || transform(toNumber);\n\n if (options.toRegex && step === 1) {\n return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);\n }\n\n let parts = { negatives: [], positives: [] };\n let push = num => parts[num < 0 ? 'negatives' : 'positives'].push(Math.abs(num));\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n if (options.toRegex === true && step > 1) {\n push(a);\n } else {\n range.push(pad(format(a, index), maxLen, toNumber));\n }\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return step > 1\n ? toSequence(parts, options)\n : toRegex(range, null, { wrap: false, ...options });\n }\n\n return range;\n};\n\nconst fillLetters = (start, end, step = 1, options = {}) => {\n if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {\n return invalidRange(start, end, options);\n }\n\n\n let format = options.transform || (val => String.fromCharCode(val));\n let a = `${start}`.charCodeAt(0);\n let b = `${end}`.charCodeAt(0);\n\n let descending = a > b;\n let min = Math.min(a, b);\n let max = Math.max(a, b);\n\n if (options.toRegex && step === 1) {\n return toRange(min, max, false, options);\n }\n\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n range.push(format(a, index));\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return toRegex(range, null, { wrap: false, options });\n }\n\n return range;\n};\n\nconst fill = (start, end, step, options = {}) => {\n if (end == null && isValidValue(start)) {\n return [start];\n }\n\n if (!isValidValue(start) || !isValidValue(end)) {\n return invalidRange(start, end, options);\n }\n\n if (typeof step === 'function') {\n return fill(start, end, 1, { transform: step });\n }\n\n if (isObject(step)) {\n return fill(start, end, 0, step);\n }\n\n let opts = { ...options };\n if (opts.capture === true) opts.wrap = true;\n step = step || opts.step || 1;\n\n if (!isNumber(step)) {\n if (step != null && !isObject(step)) return invalidStep(step, opts);\n return fill(start, end, 1, step);\n }\n\n if (isNumber(start) && isNumber(end)) {\n return fillNumbers(start, end, step, opts);\n }\n\n return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);\n};\n\nmodule.exports = fill;\n","/*!\n * is-extglob \n *\n * Copyright (c) 2014-2016, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\nmodule.exports = function isExtglob(str) {\n if (typeof str !== 'string' || str === '') {\n return false;\n }\n\n var match;\n while ((match = /(\\\\).|([@?!+*]\\(.*\\))/g.exec(str))) {\n if (match[2]) return true;\n str = str.slice(match.index + match[0].length);\n }\n\n return false;\n};\n","/*!\n * is-glob \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nvar isExtglob = require('is-extglob');\nvar chars = { '{': '}', '(': ')', '[': ']'};\nvar strictCheck = function(str) {\n if (str[0] === '!') {\n return true;\n }\n var index = 0;\n var pipeIndex = -2;\n var closeSquareIndex = -2;\n var closeCurlyIndex = -2;\n var closeParenIndex = -2;\n var backSlashIndex = -2;\n while (index < str.length) {\n if (str[index] === '*') {\n return true;\n }\n\n if (str[index + 1] === '?' && /[\\].+)]/.test(str[index])) {\n return true;\n }\n\n if (closeSquareIndex !== -1 && str[index] === '[' && str[index + 1] !== ']') {\n if (closeSquareIndex < index) {\n closeSquareIndex = str.indexOf(']', index);\n }\n if (closeSquareIndex > index) {\n if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {\n return true;\n }\n backSlashIndex = str.indexOf('\\\\', index);\n if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {\n return true;\n }\n }\n }\n\n if (closeCurlyIndex !== -1 && str[index] === '{' && str[index + 1] !== '}') {\n closeCurlyIndex = str.indexOf('}', index);\n if (closeCurlyIndex > index) {\n backSlashIndex = str.indexOf('\\\\', index);\n if (backSlashIndex === -1 || backSlashIndex > closeCurlyIndex) {\n return true;\n }\n }\n }\n\n if (closeParenIndex !== -1 && str[index] === '(' && str[index + 1] === '?' && /[:!=]/.test(str[index + 2]) && str[index + 3] !== ')') {\n closeParenIndex = str.indexOf(')', index);\n if (closeParenIndex > index) {\n backSlashIndex = str.indexOf('\\\\', index);\n if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {\n return true;\n }\n }\n }\n\n if (pipeIndex !== -1 && str[index] === '(' && str[index + 1] !== '|') {\n if (pipeIndex < index) {\n pipeIndex = str.indexOf('|', index);\n }\n if (pipeIndex !== -1 && str[pipeIndex + 1] !== ')') {\n closeParenIndex = str.indexOf(')', pipeIndex);\n if (closeParenIndex > pipeIndex) {\n backSlashIndex = str.indexOf('\\\\', pipeIndex);\n if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {\n return true;\n }\n }\n }\n }\n\n if (str[index] === '\\\\') {\n var open = str[index + 1];\n index += 2;\n var close = chars[open];\n\n if (close) {\n var n = str.indexOf(close, index);\n if (n !== -1) {\n index = n + 1;\n }\n }\n\n if (str[index] === '!') {\n return true;\n }\n } else {\n index++;\n }\n }\n return false;\n};\n\nvar relaxedCheck = function(str) {\n if (str[0] === '!') {\n return true;\n }\n var index = 0;\n while (index < str.length) {\n if (/[*?{}()[\\]]/.test(str[index])) {\n return true;\n }\n\n if (str[index] === '\\\\') {\n var open = str[index + 1];\n index += 2;\n var close = chars[open];\n\n if (close) {\n var n = str.indexOf(close, index);\n if (n !== -1) {\n index = n + 1;\n }\n }\n\n if (str[index] === '!') {\n return true;\n }\n } else {\n index++;\n }\n }\n return false;\n};\n\nmodule.exports = function isGlob(str, options) {\n if (typeof str !== 'string' || str === '') {\n return false;\n }\n\n if (isExtglob(str)) {\n return true;\n }\n\n var check = strictCheck;\n\n // optionally relax check\n if (options && options.strict === false) {\n check = relaxedCheck;\n }\n\n return check(str);\n};\n","/*!\n * is-number \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function(num) {\n if (typeof num === 'number') {\n return num - num === 0;\n }\n if (typeof num === 'string' && num.trim() !== '') {\n return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);\n }\n return false;\n};\n","'use strict'\n/*\n * merge2\n * https://github.com/teambition/merge2\n *\n * Copyright (c) 2014-2020 Teambition\n * Licensed under the MIT license.\n */\nconst Stream = require('stream')\nconst PassThrough = Stream.PassThrough\nconst slice = Array.prototype.slice\n\nmodule.exports = merge2\n\nfunction merge2 () {\n const streamsQueue = []\n const args = slice.call(arguments)\n let merging = false\n let options = args[args.length - 1]\n\n if (options && !Array.isArray(options) && options.pipe == null) {\n args.pop()\n } else {\n options = {}\n }\n\n const doEnd = options.end !== false\n const doPipeError = options.pipeError === true\n if (options.objectMode == null) {\n options.objectMode = true\n }\n if (options.highWaterMark == null) {\n options.highWaterMark = 64 * 1024\n }\n const mergedStream = PassThrough(options)\n\n function addStream () {\n for (let i = 0, len = arguments.length; i < len; i++) {\n streamsQueue.push(pauseStreams(arguments[i], options))\n }\n mergeStream()\n return this\n }\n\n function mergeStream () {\n if (merging) {\n return\n }\n merging = true\n\n let streams = streamsQueue.shift()\n if (!streams) {\n process.nextTick(endStream)\n return\n }\n if (!Array.isArray(streams)) {\n streams = [streams]\n }\n\n let pipesCount = streams.length + 1\n\n function next () {\n if (--pipesCount > 0) {\n return\n }\n merging = false\n mergeStream()\n }\n\n function pipe (stream) {\n function onend () {\n stream.removeListener('merge2UnpipeEnd', onend)\n stream.removeListener('end', onend)\n if (doPipeError) {\n stream.removeListener('error', onerror)\n }\n next()\n }\n function onerror (err) {\n mergedStream.emit('error', err)\n }\n // skip ended stream\n if (stream._readableState.endEmitted) {\n return next()\n }\n\n stream.on('merge2UnpipeEnd', onend)\n stream.on('end', onend)\n\n if (doPipeError) {\n stream.on('error', onerror)\n }\n\n stream.pipe(mergedStream, { end: false })\n // compatible for old stream\n stream.resume()\n }\n\n for (let i = 0; i < streams.length; i++) {\n pipe(streams[i])\n }\n\n next()\n }\n\n function endStream () {\n merging = false\n // emit 'queueDrain' when all streams merged.\n mergedStream.emit('queueDrain')\n if (doEnd) {\n mergedStream.end()\n }\n }\n\n mergedStream.setMaxListeners(0)\n mergedStream.add = addStream\n mergedStream.on('unpipe', function (stream) {\n stream.emit('merge2UnpipeEnd')\n })\n\n if (args.length) {\n addStream.apply(null, args)\n }\n return mergedStream\n}\n\n// check and pause streams for pipe.\nfunction pauseStreams (streams, options) {\n if (!Array.isArray(streams)) {\n // Backwards-compat with old-style streams\n if (!streams._readableState && streams.pipe) {\n streams = streams.pipe(PassThrough(options))\n }\n if (!streams._readableState || !streams.pause || !streams.pipe) {\n throw new Error('Only readable stream can be merged.')\n }\n streams.pause()\n } else {\n for (let i = 0, len = streams.length; i < len; i++) {\n streams[i] = pauseStreams(streams[i], options)\n }\n }\n return streams\n}\n","'use strict';\n\nconst util = require('util');\nconst braces = require('braces');\nconst picomatch = require('picomatch');\nconst utils = require('picomatch/lib/utils');\nconst isEmptyString = val => val === '' || val === './';\n\n/**\n * Returns an array of strings that match one or more glob patterns.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm(list, patterns[, options]);\n *\n * console.log(mm(['a.js', 'a.txt'], ['*.js']));\n * //=> [ 'a.js' ]\n * ```\n * @param {String|Array} `list` List of strings to match.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options)\n * @return {Array} Returns an array of matches\n * @summary false\n * @api public\n */\n\nconst micromatch = (list, patterns, options) => {\n patterns = [].concat(patterns);\n list = [].concat(list);\n\n let omit = new Set();\n let keep = new Set();\n let items = new Set();\n let negatives = 0;\n\n let onResult = state => {\n items.add(state.output);\n if (options && options.onResult) {\n options.onResult(state);\n }\n };\n\n for (let i = 0; i < patterns.length; i++) {\n let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);\n let negated = isMatch.state.negated || isMatch.state.negatedExtglob;\n if (negated) negatives++;\n\n for (let item of list) {\n let matched = isMatch(item, true);\n\n let match = negated ? !matched.isMatch : matched.isMatch;\n if (!match) continue;\n\n if (negated) {\n omit.add(matched.output);\n } else {\n omit.delete(matched.output);\n keep.add(matched.output);\n }\n }\n }\n\n let result = negatives === patterns.length ? [...items] : [...keep];\n let matches = result.filter(item => !omit.has(item));\n\n if (options && matches.length === 0) {\n if (options.failglob === true) {\n throw new Error(`No matches found for \"${patterns.join(', ')}\"`);\n }\n\n if (options.nonull === true || options.nullglob === true) {\n return options.unescape ? patterns.map(p => p.replace(/\\\\/g, '')) : patterns;\n }\n }\n\n return matches;\n};\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.match = micromatch;\n\n/**\n * Returns a matcher function from the given glob `pattern` and `options`.\n * The returned function takes a string to match as its only argument and returns\n * true if the string is a match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matcher(pattern[, options]);\n *\n * const isMatch = mm.matcher('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @param {String} `pattern` Glob pattern\n * @param {Object} `options`\n * @return {Function} Returns a matcher function.\n * @api public\n */\n\nmicromatch.matcher = (pattern, options) => picomatch(pattern, options);\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.isMatch(string, patterns[, options]);\n *\n * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(mm.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `[options]` See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.any = micromatch.isMatch;\n\n/**\n * Returns a list of strings that _**do not match any**_ of the given `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.not(list, patterns[, options]);\n *\n * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));\n * //=> ['b.b', 'c.c']\n * ```\n * @param {Array} `list` Array of strings to match.\n * @param {String|Array} `patterns` One or more glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array} Returns an array of strings that **do not match** the given patterns.\n * @api public\n */\n\nmicromatch.not = (list, patterns, options = {}) => {\n patterns = [].concat(patterns).map(String);\n let result = new Set();\n let items = [];\n\n let onResult = state => {\n if (options.onResult) options.onResult(state);\n items.push(state.output);\n };\n\n let matches = new Set(micromatch(list, patterns, { ...options, onResult }));\n\n for (let item of items) {\n if (!matches.has(item)) {\n result.add(item);\n }\n }\n return [...result];\n};\n\n/**\n * Returns true if the given `string` contains the given pattern. Similar\n * to [.isMatch](#isMatch) but the pattern can match any part of the string.\n *\n * ```js\n * var mm = require('micromatch');\n * // mm.contains(string, pattern[, options]);\n *\n * console.log(mm.contains('aa/bb/cc', '*b'));\n * //=> true\n * console.log(mm.contains('aa/bb/cc', '*d'));\n * //=> false\n * ```\n * @param {String} `str` The string to match.\n * @param {String|Array} `patterns` Glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any of the patterns matches any part of `str`.\n * @api public\n */\n\nmicromatch.contains = (str, pattern, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n if (Array.isArray(pattern)) {\n return pattern.some(p => micromatch.contains(str, p, options));\n }\n\n if (typeof pattern === 'string') {\n if (isEmptyString(str) || isEmptyString(pattern)) {\n return false;\n }\n\n if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {\n return true;\n }\n }\n\n return micromatch.isMatch(str, pattern, { ...options, contains: true });\n};\n\n/**\n * Filter the keys of the given object with the given `glob` pattern\n * and `options`. Does not attempt to match nested keys. If you need this feature,\n * use [glob-object][] instead.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matchKeys(object, patterns[, options]);\n *\n * const obj = { aa: 'a', ab: 'b', ac: 'c' };\n * console.log(mm.matchKeys(obj, '*b'));\n * //=> { ab: 'b' }\n * ```\n * @param {Object} `object` The object with keys to filter.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Object} Returns an object with only keys that match the given patterns.\n * @api public\n */\n\nmicromatch.matchKeys = (obj, patterns, options) => {\n if (!utils.isObject(obj)) {\n throw new TypeError('Expected the first argument to be an object');\n }\n let keys = micromatch(Object.keys(obj), patterns, options);\n let res = {};\n for (let key of keys) res[key] = obj[key];\n return res;\n};\n\n/**\n * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.some(list, patterns[, options]);\n *\n * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // true\n * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`\n * @api public\n */\n\nmicromatch.some = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (items.some(item => isMatch(item))) {\n return true;\n }\n }\n return false;\n};\n\n/**\n * Returns true if every string in the given `list` matches\n * any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.every(list, patterns[, options]);\n *\n * console.log(mm.every('foo.js', ['foo.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // false\n * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`\n * @api public\n */\n\nmicromatch.every = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (!items.every(item => isMatch(item))) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Returns true if **all** of the given `patterns` match\n * the specified string.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.all(string, patterns[, options]);\n *\n * console.log(mm.all('foo.js', ['foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', '!foo.js']));\n * // false\n *\n * console.log(mm.all('foo.js', ['*.js', 'foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));\n * // true\n * ```\n * @param {String|Array} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.all = (str, patterns, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n return [].concat(patterns).every(p => picomatch(p, options)(str));\n};\n\n/**\n * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.capture(pattern, string[, options]);\n *\n * console.log(mm.capture('test/*.js', 'test/foo.js'));\n * //=> ['foo']\n * console.log(mm.capture('test/*.js', 'foo/bar.css'));\n * //=> null\n * ```\n * @param {String} `glob` Glob pattern to use for matching.\n * @param {String} `input` String to match\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.\n * @api public\n */\n\nmicromatch.capture = (glob, input, options) => {\n let posix = utils.isWindows(options);\n let regex = picomatch.makeRe(String(glob), { ...options, capture: true });\n let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);\n\n if (match) {\n return match.slice(1).map(v => v === void 0 ? '' : v);\n }\n};\n\n/**\n * Create a regular expression from the given glob `pattern`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.makeRe(pattern[, options]);\n *\n * console.log(mm.makeRe('*.js'));\n * //=> /^(?:(\\.[\\\\\\/])?(?!\\.)(?=.)[^\\/]*?\\.js)$/\n * ```\n * @param {String} `pattern` A glob pattern to convert to regex.\n * @param {Object} `options`\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\nmicromatch.makeRe = (...args) => picomatch.makeRe(...args);\n\n/**\n * Scan a glob pattern to separate the pattern into segments. Used\n * by the [split](#split) method.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.scan(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\nmicromatch.scan = (...args) => picomatch.scan(...args);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.parse(pattern[, options]);\n * ```\n * @param {String} `glob`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as regex source string.\n * @api public\n */\n\nmicromatch.parse = (patterns, options) => {\n let res = [];\n for (let pattern of [].concat(patterns || [])) {\n for (let str of braces(String(pattern), options)) {\n res.push(picomatch.parse(str, options));\n }\n }\n return res;\n};\n\n/**\n * Process the given brace `pattern`.\n *\n * ```js\n * const { braces } = require('micromatch');\n * console.log(braces('foo/{a,b,c}/bar'));\n * //=> [ 'foo/(a|b|c)/bar' ]\n *\n * console.log(braces('foo/{a,b,c}/bar', { expand: true }));\n * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]\n * ```\n * @param {String} `pattern` String with brace pattern to process.\n * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.\n * @return {Array}\n * @api public\n */\n\nmicromatch.braces = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n if ((options && options.nobrace === true) || !/\\{.*\\}/.test(pattern)) {\n return [pattern];\n }\n return braces(pattern, options);\n};\n\n/**\n * Expand braces\n */\n\nmicromatch.braceExpand = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n return micromatch.braces(pattern, { ...options, expand: true });\n};\n\n/**\n * Expose micromatch\n */\n\nmodule.exports = micromatch;\n","/*! node-domexception. MIT License. Jimmy Wärting */\n\nif (!globalThis.DOMException) {\n try {\n const { MessageChannel } = require('worker_threads'),\n port = new MessageChannel().port1,\n ab = new ArrayBuffer()\n port.postMessage(ab, [ab, ab])\n } catch (err) {\n err.constructor.name === 'DOMException' && (\n globalThis.DOMException = err.constructor\n )\n }\n}\n\nmodule.exports = globalThis.DOMException\n","/**\n * @license node-stream-zip | (c) 2020 Antelle | https://github.com/antelle/node-stream-zip/blob/master/LICENSE\n * Portions copyright https://github.com/cthackers/adm-zip | https://raw.githubusercontent.com/cthackers/adm-zip/master/LICENSE\n */\n\nlet fs = require('fs');\nconst util = require('util');\nconst path = require('path');\nconst events = require('events');\nconst zlib = require('zlib');\nconst stream = require('stream');\n\nconst consts = {\n /* The local file header */\n LOCHDR: 30, // LOC header size\n LOCSIG: 0x04034b50, // \"PK\\003\\004\"\n LOCVER: 4, // version needed to extract\n LOCFLG: 6, // general purpose bit flag\n LOCHOW: 8, // compression method\n LOCTIM: 10, // modification time (2 bytes time, 2 bytes date)\n LOCCRC: 14, // uncompressed file crc-32 value\n LOCSIZ: 18, // compressed size\n LOCLEN: 22, // uncompressed size\n LOCNAM: 26, // filename length\n LOCEXT: 28, // extra field length\n\n /* The Data descriptor */\n EXTSIG: 0x08074b50, // \"PK\\007\\008\"\n EXTHDR: 16, // EXT header size\n EXTCRC: 4, // uncompressed file crc-32 value\n EXTSIZ: 8, // compressed size\n EXTLEN: 12, // uncompressed size\n\n /* The central directory file header */\n CENHDR: 46, // CEN header size\n CENSIG: 0x02014b50, // \"PK\\001\\002\"\n CENVEM: 4, // version made by\n CENVER: 6, // version needed to extract\n CENFLG: 8, // encrypt, decrypt flags\n CENHOW: 10, // compression method\n CENTIM: 12, // modification time (2 bytes time, 2 bytes date)\n CENCRC: 16, // uncompressed file crc-32 value\n CENSIZ: 20, // compressed size\n CENLEN: 24, // uncompressed size\n CENNAM: 28, // filename length\n CENEXT: 30, // extra field length\n CENCOM: 32, // file comment length\n CENDSK: 34, // volume number start\n CENATT: 36, // internal file attributes\n CENATX: 38, // external file attributes (host system dependent)\n CENOFF: 42, // LOC header offset\n\n /* The entries in the end of central directory */\n ENDHDR: 22, // END header size\n ENDSIG: 0x06054b50, // \"PK\\005\\006\"\n ENDSIGFIRST: 0x50,\n ENDSUB: 8, // number of entries on this disk\n ENDTOT: 10, // total number of entries\n ENDSIZ: 12, // central directory size in bytes\n ENDOFF: 16, // offset of first CEN header\n ENDCOM: 20, // zip file comment length\n MAXFILECOMMENT: 0xffff,\n\n /* The entries in the end of ZIP64 central directory locator */\n ENDL64HDR: 20, // ZIP64 end of central directory locator header size\n ENDL64SIG: 0x07064b50, // ZIP64 end of central directory locator signature\n ENDL64SIGFIRST: 0x50,\n ENDL64OFS: 8, // ZIP64 end of central directory offset\n\n /* The entries in the end of ZIP64 central directory */\n END64HDR: 56, // ZIP64 end of central directory header size\n END64SIG: 0x06064b50, // ZIP64 end of central directory signature\n END64SIGFIRST: 0x50,\n END64SUB: 24, // number of entries on this disk\n END64TOT: 32, // total number of entries\n END64SIZ: 40,\n END64OFF: 48,\n\n /* Compression methods */\n STORED: 0, // no compression\n SHRUNK: 1, // shrunk\n REDUCED1: 2, // reduced with compression factor 1\n REDUCED2: 3, // reduced with compression factor 2\n REDUCED3: 4, // reduced with compression factor 3\n REDUCED4: 5, // reduced with compression factor 4\n IMPLODED: 6, // imploded\n // 7 reserved\n DEFLATED: 8, // deflated\n ENHANCED_DEFLATED: 9, // deflate64\n PKWARE: 10, // PKWare DCL imploded\n // 11 reserved\n BZIP2: 12, // compressed using BZIP2\n // 13 reserved\n LZMA: 14, // LZMA\n // 15-17 reserved\n IBM_TERSE: 18, // compressed using IBM TERSE\n IBM_LZ77: 19, //IBM LZ77 z\n\n /* General purpose bit flag */\n FLG_ENC: 0, // encrypted file\n FLG_COMP1: 1, // compression option\n FLG_COMP2: 2, // compression option\n FLG_DESC: 4, // data descriptor\n FLG_ENH: 8, // enhanced deflation\n FLG_STR: 16, // strong encryption\n FLG_LNG: 1024, // language encoding\n FLG_MSK: 4096, // mask header values\n FLG_ENTRY_ENC: 1,\n\n /* 4.5 Extensible data fields */\n EF_ID: 0,\n EF_SIZE: 2,\n\n /* Header IDs */\n ID_ZIP64: 0x0001,\n ID_AVINFO: 0x0007,\n ID_PFS: 0x0008,\n ID_OS2: 0x0009,\n ID_NTFS: 0x000a,\n ID_OPENVMS: 0x000c,\n ID_UNIX: 0x000d,\n ID_FORK: 0x000e,\n ID_PATCH: 0x000f,\n ID_X509_PKCS7: 0x0014,\n ID_X509_CERTID_F: 0x0015,\n ID_X509_CERTID_C: 0x0016,\n ID_STRONGENC: 0x0017,\n ID_RECORD_MGT: 0x0018,\n ID_X509_PKCS7_RL: 0x0019,\n ID_IBM1: 0x0065,\n ID_IBM2: 0x0066,\n ID_POSZIP: 0x4690,\n\n EF_ZIP64_OR_32: 0xffffffff,\n EF_ZIP64_OR_16: 0xffff,\n};\n\nconst StreamZip = function (config) {\n let fd, fileSize, chunkSize, op, centralDirectory, closed;\n const ready = false,\n that = this,\n entries = config.storeEntries !== false ? {} : null,\n fileName = config.file,\n textDecoder = config.nameEncoding ? new TextDecoder(config.nameEncoding) : null;\n\n open();\n\n function open() {\n if (config.fd) {\n fd = config.fd;\n readFile();\n } else {\n fs.open(fileName, 'r', (err, f) => {\n if (err) {\n return that.emit('error', err);\n }\n fd = f;\n readFile();\n });\n }\n }\n\n function readFile() {\n fs.fstat(fd, (err, stat) => {\n if (err) {\n return that.emit('error', err);\n }\n fileSize = stat.size;\n chunkSize = config.chunkSize || Math.round(fileSize / 1000);\n chunkSize = Math.max(\n Math.min(chunkSize, Math.min(128 * 1024, fileSize)),\n Math.min(1024, fileSize)\n );\n readCentralDirectory();\n });\n }\n\n function readUntilFoundCallback(err, bytesRead) {\n if (err || !bytesRead) {\n return that.emit('error', err || new Error('Archive read error'));\n }\n let pos = op.lastPos;\n let bufferPosition = pos - op.win.position;\n const buffer = op.win.buffer;\n const minPos = op.minPos;\n while (--pos >= minPos && --bufferPosition >= 0) {\n if (buffer.length - bufferPosition >= 4 && buffer[bufferPosition] === op.firstByte) {\n // quick check first signature byte\n if (buffer.readUInt32LE(bufferPosition) === op.sig) {\n op.lastBufferPosition = bufferPosition;\n op.lastBytesRead = bytesRead;\n op.complete();\n return;\n }\n }\n }\n if (pos === minPos) {\n return that.emit('error', new Error('Bad archive'));\n }\n op.lastPos = pos + 1;\n op.chunkSize *= 2;\n if (pos <= minPos) {\n return that.emit('error', new Error('Bad archive'));\n }\n const expandLength = Math.min(op.chunkSize, pos - minPos);\n op.win.expandLeft(expandLength, readUntilFoundCallback);\n }\n\n function readCentralDirectory() {\n const totalReadLength = Math.min(consts.ENDHDR + consts.MAXFILECOMMENT, fileSize);\n op = {\n win: new FileWindowBuffer(fd),\n totalReadLength,\n minPos: fileSize - totalReadLength,\n lastPos: fileSize,\n chunkSize: Math.min(1024, chunkSize),\n firstByte: consts.ENDSIGFIRST,\n sig: consts.ENDSIG,\n complete: readCentralDirectoryComplete,\n };\n op.win.read(fileSize - op.chunkSize, op.chunkSize, readUntilFoundCallback);\n }\n\n function readCentralDirectoryComplete() {\n const buffer = op.win.buffer;\n const pos = op.lastBufferPosition;\n try {\n centralDirectory = new CentralDirectoryHeader();\n centralDirectory.read(buffer.slice(pos, pos + consts.ENDHDR));\n centralDirectory.headerOffset = op.win.position + pos;\n if (centralDirectory.commentLength) {\n that.comment = buffer\n .slice(\n pos + consts.ENDHDR,\n pos + consts.ENDHDR + centralDirectory.commentLength\n )\n .toString();\n } else {\n that.comment = null;\n }\n that.entriesCount = centralDirectory.volumeEntries;\n that.centralDirectory = centralDirectory;\n if (\n (centralDirectory.volumeEntries === consts.EF_ZIP64_OR_16 &&\n centralDirectory.totalEntries === consts.EF_ZIP64_OR_16) ||\n centralDirectory.size === consts.EF_ZIP64_OR_32 ||\n centralDirectory.offset === consts.EF_ZIP64_OR_32\n ) {\n readZip64CentralDirectoryLocator();\n } else {\n op = {};\n readEntries();\n }\n } catch (err) {\n that.emit('error', err);\n }\n }\n\n function readZip64CentralDirectoryLocator() {\n const length = consts.ENDL64HDR;\n if (op.lastBufferPosition > length) {\n op.lastBufferPosition -= length;\n readZip64CentralDirectoryLocatorComplete();\n } else {\n op = {\n win: op.win,\n totalReadLength: length,\n minPos: op.win.position - length,\n lastPos: op.win.position,\n chunkSize: op.chunkSize,\n firstByte: consts.ENDL64SIGFIRST,\n sig: consts.ENDL64SIG,\n complete: readZip64CentralDirectoryLocatorComplete,\n };\n op.win.read(op.lastPos - op.chunkSize, op.chunkSize, readUntilFoundCallback);\n }\n }\n\n function readZip64CentralDirectoryLocatorComplete() {\n const buffer = op.win.buffer;\n const locHeader = new CentralDirectoryLoc64Header();\n locHeader.read(\n buffer.slice(op.lastBufferPosition, op.lastBufferPosition + consts.ENDL64HDR)\n );\n const readLength = fileSize - locHeader.headerOffset;\n op = {\n win: op.win,\n totalReadLength: readLength,\n minPos: locHeader.headerOffset,\n lastPos: op.lastPos,\n chunkSize: op.chunkSize,\n firstByte: consts.END64SIGFIRST,\n sig: consts.END64SIG,\n complete: readZip64CentralDirectoryComplete,\n };\n op.win.read(fileSize - op.chunkSize, op.chunkSize, readUntilFoundCallback);\n }\n\n function readZip64CentralDirectoryComplete() {\n const buffer = op.win.buffer;\n const zip64cd = new CentralDirectoryZip64Header();\n zip64cd.read(buffer.slice(op.lastBufferPosition, op.lastBufferPosition + consts.END64HDR));\n that.centralDirectory.volumeEntries = zip64cd.volumeEntries;\n that.centralDirectory.totalEntries = zip64cd.totalEntries;\n that.centralDirectory.size = zip64cd.size;\n that.centralDirectory.offset = zip64cd.offset;\n that.entriesCount = zip64cd.volumeEntries;\n op = {};\n readEntries();\n }\n\n function readEntries() {\n op = {\n win: new FileWindowBuffer(fd),\n pos: centralDirectory.offset,\n chunkSize,\n entriesLeft: centralDirectory.volumeEntries,\n };\n op.win.read(op.pos, Math.min(chunkSize, fileSize - op.pos), readEntriesCallback);\n }\n\n function readEntriesCallback(err, bytesRead) {\n if (err || !bytesRead) {\n return that.emit('error', err || new Error('Entries read error'));\n }\n let bufferPos = op.pos - op.win.position;\n let entry = op.entry;\n const buffer = op.win.buffer;\n const bufferLength = buffer.length;\n try {\n while (op.entriesLeft > 0) {\n if (!entry) {\n entry = new ZipEntry();\n entry.readHeader(buffer, bufferPos);\n entry.headerOffset = op.win.position + bufferPos;\n op.entry = entry;\n op.pos += consts.CENHDR;\n bufferPos += consts.CENHDR;\n }\n const entryHeaderSize = entry.fnameLen + entry.extraLen + entry.comLen;\n const advanceBytes = entryHeaderSize + (op.entriesLeft > 1 ? consts.CENHDR : 0);\n if (bufferLength - bufferPos < advanceBytes) {\n op.win.moveRight(chunkSize, readEntriesCallback, bufferPos);\n op.move = true;\n return;\n }\n entry.read(buffer, bufferPos, textDecoder);\n if (!config.skipEntryNameValidation) {\n entry.validateName();\n }\n if (entries) {\n entries[entry.name] = entry;\n }\n that.emit('entry', entry);\n op.entry = entry = null;\n op.entriesLeft--;\n op.pos += entryHeaderSize;\n bufferPos += entryHeaderSize;\n }\n that.emit('ready');\n } catch (err) {\n that.emit('error', err);\n }\n }\n\n function checkEntriesExist() {\n if (!entries) {\n throw new Error('storeEntries disabled');\n }\n }\n\n Object.defineProperty(this, 'ready', {\n get() {\n return ready;\n },\n });\n\n this.entry = function (name) {\n checkEntriesExist();\n return entries[name];\n };\n\n this.entries = function () {\n checkEntriesExist();\n return entries;\n };\n\n this.stream = function (entry, callback) {\n return this.openEntry(\n entry,\n (err, entry) => {\n if (err) {\n return callback(err);\n }\n const offset = dataOffset(entry);\n let entryStream = new EntryDataReaderStream(fd, offset, entry.compressedSize);\n if (entry.method === consts.STORED) {\n // nothing to do\n } else if (entry.method === consts.DEFLATED) {\n entryStream = entryStream.pipe(zlib.createInflateRaw());\n } else {\n return callback(new Error('Unknown compression method: ' + entry.method));\n }\n if (canVerifyCrc(entry)) {\n entryStream = entryStream.pipe(\n new EntryVerifyStream(entryStream, entry.crc, entry.size)\n );\n }\n callback(null, entryStream);\n },\n false\n );\n };\n\n this.entryDataSync = function (entry) {\n let err = null;\n this.openEntry(\n entry,\n (e, en) => {\n err = e;\n entry = en;\n },\n true\n );\n if (err) {\n throw err;\n }\n let data = Buffer.alloc(entry.compressedSize);\n new FsRead(fd, data, 0, entry.compressedSize, dataOffset(entry), (e) => {\n err = e;\n }).read(true);\n if (err) {\n throw err;\n }\n if (entry.method === consts.STORED) {\n // nothing to do\n } else if (entry.method === consts.DEFLATED || entry.method === consts.ENHANCED_DEFLATED) {\n data = zlib.inflateRawSync(data);\n } else {\n throw new Error('Unknown compression method: ' + entry.method);\n }\n if (data.length !== entry.size) {\n throw new Error('Invalid size');\n }\n if (canVerifyCrc(entry)) {\n const verify = new CrcVerify(entry.crc, entry.size);\n verify.data(data);\n }\n return data;\n };\n\n this.openEntry = function (entry, callback, sync) {\n if (typeof entry === 'string') {\n checkEntriesExist();\n entry = entries[entry];\n if (!entry) {\n return callback(new Error('Entry not found'));\n }\n }\n if (!entry.isFile) {\n return callback(new Error('Entry is not file'));\n }\n if (!fd) {\n return callback(new Error('Archive closed'));\n }\n const buffer = Buffer.alloc(consts.LOCHDR);\n new FsRead(fd, buffer, 0, buffer.length, entry.offset, (err) => {\n if (err) {\n return callback(err);\n }\n let readEx;\n try {\n entry.readDataHeader(buffer);\n if (entry.encrypted) {\n readEx = new Error('Entry encrypted');\n }\n } catch (ex) {\n readEx = ex;\n }\n callback(readEx, entry);\n }).read(sync);\n };\n\n function dataOffset(entry) {\n return entry.offset + consts.LOCHDR + entry.fnameLen + entry.extraLen;\n }\n\n function canVerifyCrc(entry) {\n // if bit 3 (0x08) of the general-purpose flags field is set, then the CRC-32 and file sizes are not known when the header is written\n return (entry.flags & 0x8) !== 0x8;\n }\n\n function extract(entry, outPath, callback) {\n that.stream(entry, (err, stm) => {\n if (err) {\n callback(err);\n } else {\n let fsStm, errThrown;\n stm.on('error', (err) => {\n errThrown = err;\n if (fsStm) {\n stm.unpipe(fsStm);\n fsStm.close(() => {\n callback(err);\n });\n }\n });\n fs.open(outPath, 'w', (err, fdFile) => {\n if (err) {\n return callback(err);\n }\n if (errThrown) {\n fs.close(fd, () => {\n callback(errThrown);\n });\n return;\n }\n fsStm = fs.createWriteStream(outPath, { fd: fdFile });\n fsStm.on('finish', () => {\n that.emit('extract', entry, outPath);\n if (!errThrown) {\n callback();\n }\n });\n stm.pipe(fsStm);\n });\n }\n });\n }\n\n function createDirectories(baseDir, dirs, callback) {\n if (!dirs.length) {\n return callback();\n }\n let dir = dirs.shift();\n dir = path.join(baseDir, path.join(...dir));\n fs.mkdir(dir, { recursive: true }, (err) => {\n if (err && err.code !== 'EEXIST') {\n return callback(err);\n }\n createDirectories(baseDir, dirs, callback);\n });\n }\n\n function extractFiles(baseDir, baseRelPath, files, callback, extractedCount) {\n if (!files.length) {\n return callback(null, extractedCount);\n }\n const file = files.shift();\n const targetPath = path.join(baseDir, file.name.replace(baseRelPath, ''));\n extract(file, targetPath, (err) => {\n if (err) {\n return callback(err, extractedCount);\n }\n extractFiles(baseDir, baseRelPath, files, callback, extractedCount + 1);\n });\n }\n\n this.extract = function (entry, outPath, callback) {\n let entryName = entry || '';\n if (typeof entry === 'string') {\n entry = this.entry(entry);\n if (entry) {\n entryName = entry.name;\n } else {\n if (entryName.length && entryName[entryName.length - 1] !== '/') {\n entryName += '/';\n }\n }\n }\n if (!entry || entry.isDirectory) {\n const files = [],\n dirs = [],\n allDirs = {};\n for (const e in entries) {\n if (\n Object.prototype.hasOwnProperty.call(entries, e) &&\n e.lastIndexOf(entryName, 0) === 0\n ) {\n let relPath = e.replace(entryName, '');\n const childEntry = entries[e];\n if (childEntry.isFile) {\n files.push(childEntry);\n relPath = path.dirname(relPath);\n }\n if (relPath && !allDirs[relPath] && relPath !== '.') {\n allDirs[relPath] = true;\n let parts = relPath.split('/').filter((f) => {\n return f;\n });\n if (parts.length) {\n dirs.push(parts);\n }\n while (parts.length > 1) {\n parts = parts.slice(0, parts.length - 1);\n const partsPath = parts.join('/');\n if (allDirs[partsPath] || partsPath === '.') {\n break;\n }\n allDirs[partsPath] = true;\n dirs.push(parts);\n }\n }\n }\n }\n dirs.sort((x, y) => {\n return x.length - y.length;\n });\n if (dirs.length) {\n createDirectories(outPath, dirs, (err) => {\n if (err) {\n callback(err);\n } else {\n extractFiles(outPath, entryName, files, callback, 0);\n }\n });\n } else {\n extractFiles(outPath, entryName, files, callback, 0);\n }\n } else {\n fs.stat(outPath, (err, stat) => {\n if (stat && stat.isDirectory()) {\n extract(entry, path.join(outPath, path.basename(entry.name)), callback);\n } else {\n extract(entry, outPath, callback);\n }\n });\n }\n };\n\n this.close = function (callback) {\n if (closed || !fd) {\n closed = true;\n if (callback) {\n callback();\n }\n } else {\n closed = true;\n fs.close(fd, (err) => {\n fd = null;\n if (callback) {\n callback(err);\n }\n });\n }\n };\n\n const originalEmit = events.EventEmitter.prototype.emit;\n this.emit = function (...args) {\n if (!closed) {\n return originalEmit.call(this, ...args);\n }\n };\n};\n\nStreamZip.setFs = function (customFs) {\n fs = customFs;\n};\n\nStreamZip.debugLog = (...args) => {\n if (StreamZip.debug) {\n // eslint-disable-next-line no-console\n console.log(...args);\n }\n};\n\nutil.inherits(StreamZip, events.EventEmitter);\n\nconst propZip = Symbol('zip');\n\nStreamZip.async = class StreamZipAsync extends events.EventEmitter {\n constructor(config) {\n super();\n\n const zip = new StreamZip(config);\n\n zip.on('entry', (entry) => this.emit('entry', entry));\n zip.on('extract', (entry, outPath) => this.emit('extract', entry, outPath));\n\n this[propZip] = new Promise((resolve, reject) => {\n zip.on('ready', () => {\n zip.removeListener('error', reject);\n resolve(zip);\n });\n zip.on('error', reject);\n });\n }\n\n get entriesCount() {\n return this[propZip].then((zip) => zip.entriesCount);\n }\n\n get comment() {\n return this[propZip].then((zip) => zip.comment);\n }\n\n async entry(name) {\n const zip = await this[propZip];\n return zip.entry(name);\n }\n\n async entries() {\n const zip = await this[propZip];\n return zip.entries();\n }\n\n async stream(entry) {\n const zip = await this[propZip];\n return new Promise((resolve, reject) => {\n zip.stream(entry, (err, stm) => {\n if (err) {\n reject(err);\n } else {\n resolve(stm);\n }\n });\n });\n }\n\n async entryData(entry) {\n const stm = await this.stream(entry);\n return new Promise((resolve, reject) => {\n const data = [];\n stm.on('data', (chunk) => data.push(chunk));\n stm.on('end', () => {\n resolve(Buffer.concat(data));\n });\n stm.on('error', (err) => {\n stm.removeAllListeners('end');\n reject(err);\n });\n });\n }\n\n async extract(entry, outPath) {\n const zip = await this[propZip];\n return new Promise((resolve, reject) => {\n zip.extract(entry, outPath, (err, res) => {\n if (err) {\n reject(err);\n } else {\n resolve(res);\n }\n });\n });\n }\n\n async close() {\n const zip = await this[propZip];\n return new Promise((resolve, reject) => {\n zip.close((err) => {\n if (err) {\n reject(err);\n } else {\n resolve();\n }\n });\n });\n }\n};\n\nclass CentralDirectoryHeader {\n read(data) {\n if (data.length !== consts.ENDHDR || data.readUInt32LE(0) !== consts.ENDSIG) {\n throw new Error('Invalid central directory');\n }\n // number of entries on this volume\n this.volumeEntries = data.readUInt16LE(consts.ENDSUB);\n // total number of entries\n this.totalEntries = data.readUInt16LE(consts.ENDTOT);\n // central directory size in bytes\n this.size = data.readUInt32LE(consts.ENDSIZ);\n // offset of first CEN header\n this.offset = data.readUInt32LE(consts.ENDOFF);\n // zip file comment length\n this.commentLength = data.readUInt16LE(consts.ENDCOM);\n }\n}\n\nclass CentralDirectoryLoc64Header {\n read(data) {\n if (data.length !== consts.ENDL64HDR || data.readUInt32LE(0) !== consts.ENDL64SIG) {\n throw new Error('Invalid zip64 central directory locator');\n }\n // ZIP64 EOCD header offset\n this.headerOffset = readUInt64LE(data, consts.ENDSUB);\n }\n}\n\nclass CentralDirectoryZip64Header {\n read(data) {\n if (data.length !== consts.END64HDR || data.readUInt32LE(0) !== consts.END64SIG) {\n throw new Error('Invalid central directory');\n }\n // number of entries on this volume\n this.volumeEntries = readUInt64LE(data, consts.END64SUB);\n // total number of entries\n this.totalEntries = readUInt64LE(data, consts.END64TOT);\n // central directory size in bytes\n this.size = readUInt64LE(data, consts.END64SIZ);\n // offset of first CEN header\n this.offset = readUInt64LE(data, consts.END64OFF);\n }\n}\n\nclass ZipEntry {\n readHeader(data, offset) {\n // data should be 46 bytes and start with \"PK 01 02\"\n if (data.length < offset + consts.CENHDR || data.readUInt32LE(offset) !== consts.CENSIG) {\n throw new Error('Invalid entry header');\n }\n // version made by\n this.verMade = data.readUInt16LE(offset + consts.CENVEM);\n // version needed to extract\n this.version = data.readUInt16LE(offset + consts.CENVER);\n // encrypt, decrypt flags\n this.flags = data.readUInt16LE(offset + consts.CENFLG);\n // compression method\n this.method = data.readUInt16LE(offset + consts.CENHOW);\n // modification time (2 bytes time, 2 bytes date)\n const timebytes = data.readUInt16LE(offset + consts.CENTIM);\n const datebytes = data.readUInt16LE(offset + consts.CENTIM + 2);\n this.time = parseZipTime(timebytes, datebytes);\n\n // uncompressed file crc-32 value\n this.crc = data.readUInt32LE(offset + consts.CENCRC);\n // compressed size\n this.compressedSize = data.readUInt32LE(offset + consts.CENSIZ);\n // uncompressed size\n this.size = data.readUInt32LE(offset + consts.CENLEN);\n // filename length\n this.fnameLen = data.readUInt16LE(offset + consts.CENNAM);\n // extra field length\n this.extraLen = data.readUInt16LE(offset + consts.CENEXT);\n // file comment length\n this.comLen = data.readUInt16LE(offset + consts.CENCOM);\n // volume number start\n this.diskStart = data.readUInt16LE(offset + consts.CENDSK);\n // internal file attributes\n this.inattr = data.readUInt16LE(offset + consts.CENATT);\n // external file attributes\n this.attr = data.readUInt32LE(offset + consts.CENATX);\n // LOC header offset\n this.offset = data.readUInt32LE(offset + consts.CENOFF);\n }\n\n readDataHeader(data) {\n // 30 bytes and should start with \"PK\\003\\004\"\n if (data.readUInt32LE(0) !== consts.LOCSIG) {\n throw new Error('Invalid local header');\n }\n // version needed to extract\n this.version = data.readUInt16LE(consts.LOCVER);\n // general purpose bit flag\n this.flags = data.readUInt16LE(consts.LOCFLG);\n // compression method\n this.method = data.readUInt16LE(consts.LOCHOW);\n // modification time (2 bytes time ; 2 bytes date)\n const timebytes = data.readUInt16LE(consts.LOCTIM);\n const datebytes = data.readUInt16LE(consts.LOCTIM + 2);\n this.time = parseZipTime(timebytes, datebytes);\n\n // uncompressed file crc-32 value\n this.crc = data.readUInt32LE(consts.LOCCRC) || this.crc;\n // compressed size\n const compressedSize = data.readUInt32LE(consts.LOCSIZ);\n if (compressedSize && compressedSize !== consts.EF_ZIP64_OR_32) {\n this.compressedSize = compressedSize;\n }\n // uncompressed size\n const size = data.readUInt32LE(consts.LOCLEN);\n if (size && size !== consts.EF_ZIP64_OR_32) {\n this.size = size;\n }\n // filename length\n this.fnameLen = data.readUInt16LE(consts.LOCNAM);\n // extra field length\n this.extraLen = data.readUInt16LE(consts.LOCEXT);\n }\n\n read(data, offset, textDecoder) {\n const nameData = data.slice(offset, (offset += this.fnameLen));\n this.name = textDecoder\n ? textDecoder.decode(new Uint8Array(nameData))\n : nameData.toString('utf8');\n const lastChar = data[offset - 1];\n this.isDirectory = lastChar === 47 || lastChar === 92;\n\n if (this.extraLen) {\n this.readExtra(data, offset);\n offset += this.extraLen;\n }\n this.comment = this.comLen ? data.slice(offset, offset + this.comLen).toString() : null;\n }\n\n validateName() {\n if (/\\\\|^\\w+:|^\\/|(^|\\/)\\.\\.(\\/|$)/.test(this.name)) {\n throw new Error('Malicious entry: ' + this.name);\n }\n }\n\n readExtra(data, offset) {\n let signature, size;\n const maxPos = offset + this.extraLen;\n while (offset < maxPos) {\n signature = data.readUInt16LE(offset);\n offset += 2;\n size = data.readUInt16LE(offset);\n offset += 2;\n if (consts.ID_ZIP64 === signature) {\n this.parseZip64Extra(data, offset, size);\n }\n offset += size;\n }\n }\n\n parseZip64Extra(data, offset, length) {\n if (length >= 8 && this.size === consts.EF_ZIP64_OR_32) {\n this.size = readUInt64LE(data, offset);\n offset += 8;\n length -= 8;\n }\n if (length >= 8 && this.compressedSize === consts.EF_ZIP64_OR_32) {\n this.compressedSize = readUInt64LE(data, offset);\n offset += 8;\n length -= 8;\n }\n if (length >= 8 && this.offset === consts.EF_ZIP64_OR_32) {\n this.offset = readUInt64LE(data, offset);\n offset += 8;\n length -= 8;\n }\n if (length >= 4 && this.diskStart === consts.EF_ZIP64_OR_16) {\n this.diskStart = data.readUInt32LE(offset);\n // offset += 4; length -= 4;\n }\n }\n\n get encrypted() {\n return (this.flags & consts.FLG_ENTRY_ENC) === consts.FLG_ENTRY_ENC;\n }\n\n get isFile() {\n return !this.isDirectory;\n }\n}\n\nclass FsRead {\n constructor(fd, buffer, offset, length, position, callback) {\n this.fd = fd;\n this.buffer = buffer;\n this.offset = offset;\n this.length = length;\n this.position = position;\n this.callback = callback;\n this.bytesRead = 0;\n this.waiting = false;\n }\n\n read(sync) {\n StreamZip.debugLog('read', this.position, this.bytesRead, this.length, this.offset);\n this.waiting = true;\n let err;\n if (sync) {\n let bytesRead = 0;\n try {\n bytesRead = fs.readSync(\n this.fd,\n this.buffer,\n this.offset + this.bytesRead,\n this.length - this.bytesRead,\n this.position + this.bytesRead\n );\n } catch (e) {\n err = e;\n }\n this.readCallback(sync, err, err ? bytesRead : null);\n } else {\n fs.read(\n this.fd,\n this.buffer,\n this.offset + this.bytesRead,\n this.length - this.bytesRead,\n this.position + this.bytesRead,\n this.readCallback.bind(this, sync)\n );\n }\n }\n\n readCallback(sync, err, bytesRead) {\n if (typeof bytesRead === 'number') {\n this.bytesRead += bytesRead;\n }\n if (err || !bytesRead || this.bytesRead === this.length) {\n this.waiting = false;\n return this.callback(err, this.bytesRead);\n } else {\n this.read(sync);\n }\n }\n}\n\nclass FileWindowBuffer {\n constructor(fd) {\n this.position = 0;\n this.buffer = Buffer.alloc(0);\n this.fd = fd;\n this.fsOp = null;\n }\n\n checkOp() {\n if (this.fsOp && this.fsOp.waiting) {\n throw new Error('Operation in progress');\n }\n }\n\n read(pos, length, callback) {\n this.checkOp();\n if (this.buffer.length < length) {\n this.buffer = Buffer.alloc(length);\n }\n this.position = pos;\n this.fsOp = new FsRead(this.fd, this.buffer, 0, length, this.position, callback).read();\n }\n\n expandLeft(length, callback) {\n this.checkOp();\n this.buffer = Buffer.concat([Buffer.alloc(length), this.buffer]);\n this.position -= length;\n if (this.position < 0) {\n this.position = 0;\n }\n this.fsOp = new FsRead(this.fd, this.buffer, 0, length, this.position, callback).read();\n }\n\n expandRight(length, callback) {\n this.checkOp();\n const offset = this.buffer.length;\n this.buffer = Buffer.concat([this.buffer, Buffer.alloc(length)]);\n this.fsOp = new FsRead(\n this.fd,\n this.buffer,\n offset,\n length,\n this.position + offset,\n callback\n ).read();\n }\n\n moveRight(length, callback, shift) {\n this.checkOp();\n if (shift) {\n this.buffer.copy(this.buffer, 0, shift);\n } else {\n shift = 0;\n }\n this.position += shift;\n this.fsOp = new FsRead(\n this.fd,\n this.buffer,\n this.buffer.length - shift,\n shift,\n this.position + this.buffer.length - shift,\n callback\n ).read();\n }\n}\n\nclass EntryDataReaderStream extends stream.Readable {\n constructor(fd, offset, length) {\n super();\n this.fd = fd;\n this.offset = offset;\n this.length = length;\n this.pos = 0;\n this.readCallback = this.readCallback.bind(this);\n }\n\n _read(n) {\n const buffer = Buffer.alloc(Math.min(n, this.length - this.pos));\n if (buffer.length) {\n fs.read(this.fd, buffer, 0, buffer.length, this.offset + this.pos, this.readCallback);\n } else {\n this.push(null);\n }\n }\n\n readCallback(err, bytesRead, buffer) {\n this.pos += bytesRead;\n if (err) {\n this.emit('error', err);\n this.push(null);\n } else if (!bytesRead) {\n this.push(null);\n } else {\n if (bytesRead !== buffer.length) {\n buffer = buffer.slice(0, bytesRead);\n }\n this.push(buffer);\n }\n }\n}\n\nclass EntryVerifyStream extends stream.Transform {\n constructor(baseStm, crc, size) {\n super();\n this.verify = new CrcVerify(crc, size);\n baseStm.on('error', (e) => {\n this.emit('error', e);\n });\n }\n\n _transform(data, encoding, callback) {\n let err;\n try {\n this.verify.data(data);\n } catch (e) {\n err = e;\n }\n callback(err, data);\n }\n}\n\nclass CrcVerify {\n constructor(crc, size) {\n this.crc = crc;\n this.size = size;\n this.state = {\n crc: ~0,\n size: 0,\n };\n }\n\n data(data) {\n const crcTable = CrcVerify.getCrcTable();\n let crc = this.state.crc;\n let off = 0;\n let len = data.length;\n while (--len >= 0) {\n crc = crcTable[(crc ^ data[off++]) & 0xff] ^ (crc >>> 8);\n }\n this.state.crc = crc;\n this.state.size += data.length;\n if (this.state.size >= this.size) {\n const buf = Buffer.alloc(4);\n buf.writeInt32LE(~this.state.crc & 0xffffffff, 0);\n crc = buf.readUInt32LE(0);\n if (crc !== this.crc) {\n throw new Error('Invalid CRC');\n }\n if (this.state.size !== this.size) {\n throw new Error('Invalid size');\n }\n }\n }\n\n static getCrcTable() {\n let crcTable = CrcVerify.crcTable;\n if (!crcTable) {\n CrcVerify.crcTable = crcTable = [];\n const b = Buffer.alloc(4);\n for (let n = 0; n < 256; n++) {\n let c = n;\n for (let k = 8; --k >= 0; ) {\n if ((c & 1) !== 0) {\n c = 0xedb88320 ^ (c >>> 1);\n } else {\n c = c >>> 1;\n }\n }\n if (c < 0) {\n b.writeInt32LE(c, 0);\n c = b.readUInt32LE(0);\n }\n crcTable[n] = c;\n }\n }\n return crcTable;\n }\n}\n\nfunction parseZipTime(timebytes, datebytes) {\n const timebits = toBits(timebytes, 16);\n const datebits = toBits(datebytes, 16);\n\n const mt = {\n h: parseInt(timebits.slice(0, 5).join(''), 2),\n m: parseInt(timebits.slice(5, 11).join(''), 2),\n s: parseInt(timebits.slice(11, 16).join(''), 2) * 2,\n Y: parseInt(datebits.slice(0, 7).join(''), 2) + 1980,\n M: parseInt(datebits.slice(7, 11).join(''), 2),\n D: parseInt(datebits.slice(11, 16).join(''), 2),\n };\n const dt_str = [mt.Y, mt.M, mt.D].join('-') + ' ' + [mt.h, mt.m, mt.s].join(':') + ' GMT+0';\n return new Date(dt_str).getTime();\n}\n\nfunction toBits(dec, size) {\n let b = (dec >>> 0).toString(2);\n while (b.length < size) {\n b = '0' + b;\n }\n return b.split('');\n}\n\nfunction readUInt64LE(buffer, offset) {\n return buffer.readUInt32LE(offset + 4) * 0x0000000100000000 + buffer.readUInt32LE(offset);\n}\n\nmodule.exports = StreamZip;\n","'use strict';\n\nmodule.exports = require('./lib/picomatch');\n","'use strict';\n\nconst path = require('path');\nconst WIN_SLASH = '\\\\\\\\/';\nconst WIN_NO_SLASH = `[^${WIN_SLASH}]`;\n\n/**\n * Posix glob regex\n */\n\nconst DOT_LITERAL = '\\\\.';\nconst PLUS_LITERAL = '\\\\+';\nconst QMARK_LITERAL = '\\\\?';\nconst SLASH_LITERAL = '\\\\/';\nconst ONE_CHAR = '(?=.)';\nconst QMARK = '[^/]';\nconst END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;\nconst START_ANCHOR = `(?:^|${SLASH_LITERAL})`;\nconst DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;\nconst NO_DOT = `(?!${DOT_LITERAL})`;\nconst NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;\nconst NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;\nconst NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;\nconst QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;\nconst STAR = `${QMARK}*?`;\n\nconst POSIX_CHARS = {\n DOT_LITERAL,\n PLUS_LITERAL,\n QMARK_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n QMARK,\n END_ANCHOR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOTS,\n NO_DOT_SLASH,\n NO_DOTS_SLASH,\n QMARK_NO_DOT,\n STAR,\n START_ANCHOR\n};\n\n/**\n * Windows glob regex\n */\n\nconst WINDOWS_CHARS = {\n ...POSIX_CHARS,\n\n SLASH_LITERAL: `[${WIN_SLASH}]`,\n QMARK: WIN_NO_SLASH,\n STAR: `${WIN_NO_SLASH}*?`,\n DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,\n NO_DOT: `(?!${DOT_LITERAL})`,\n NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,\n NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,\n NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,\n QMARK_NO_DOT: `[^.${WIN_SLASH}]`,\n START_ANCHOR: `(?:^|[${WIN_SLASH}])`,\n END_ANCHOR: `(?:[${WIN_SLASH}]|$)`\n};\n\n/**\n * POSIX Bracket Regex\n */\n\nconst POSIX_REGEX_SOURCE = {\n alnum: 'a-zA-Z0-9',\n alpha: 'a-zA-Z',\n ascii: '\\\\x00-\\\\x7F',\n blank: ' \\\\t',\n cntrl: '\\\\x00-\\\\x1F\\\\x7F',\n digit: '0-9',\n graph: '\\\\x21-\\\\x7E',\n lower: 'a-z',\n print: '\\\\x20-\\\\x7E ',\n punct: '\\\\-!\"#$%&\\'()\\\\*+,./:;<=>?@[\\\\]^_`{|}~',\n space: ' \\\\t\\\\r\\\\n\\\\v\\\\f',\n upper: 'A-Z',\n word: 'A-Za-z0-9_',\n xdigit: 'A-Fa-f0-9'\n};\n\nmodule.exports = {\n MAX_LENGTH: 1024 * 64,\n POSIX_REGEX_SOURCE,\n\n // regular expressions\n REGEX_BACKSLASH: /\\\\(?![*+?^${}(|)[\\]])/g,\n REGEX_NON_SPECIAL_CHARS: /^[^@![\\].,$*+?^{}()|\\\\/]+/,\n REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\\]]/,\n REGEX_SPECIAL_CHARS_BACKREF: /(\\\\?)((\\W)(\\3*))/g,\n REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\\]])/g,\n REGEX_REMOVE_BACKSLASH: /(?:\\[.*?[^\\\\]\\]|\\\\(?=.))/g,\n\n // Replace globs with equivalent patterns to reduce parsing time.\n REPLACEMENTS: {\n '***': '*',\n '**/**': '**',\n '**/**/**': '**'\n },\n\n // Digits\n CHAR_0: 48, /* 0 */\n CHAR_9: 57, /* 9 */\n\n // Alphabet chars.\n CHAR_UPPERCASE_A: 65, /* A */\n CHAR_LOWERCASE_A: 97, /* a */\n CHAR_UPPERCASE_Z: 90, /* Z */\n CHAR_LOWERCASE_Z: 122, /* z */\n\n CHAR_LEFT_PARENTHESES: 40, /* ( */\n CHAR_RIGHT_PARENTHESES: 41, /* ) */\n\n CHAR_ASTERISK: 42, /* * */\n\n // Non-alphabetic chars.\n CHAR_AMPERSAND: 38, /* & */\n CHAR_AT: 64, /* @ */\n CHAR_BACKWARD_SLASH: 92, /* \\ */\n CHAR_CARRIAGE_RETURN: 13, /* \\r */\n CHAR_CIRCUMFLEX_ACCENT: 94, /* ^ */\n CHAR_COLON: 58, /* : */\n CHAR_COMMA: 44, /* , */\n CHAR_DOT: 46, /* . */\n CHAR_DOUBLE_QUOTE: 34, /* \" */\n CHAR_EQUAL: 61, /* = */\n CHAR_EXCLAMATION_MARK: 33, /* ! */\n CHAR_FORM_FEED: 12, /* \\f */\n CHAR_FORWARD_SLASH: 47, /* / */\n CHAR_GRAVE_ACCENT: 96, /* ` */\n CHAR_HASH: 35, /* # */\n CHAR_HYPHEN_MINUS: 45, /* - */\n CHAR_LEFT_ANGLE_BRACKET: 60, /* < */\n CHAR_LEFT_CURLY_BRACE: 123, /* { */\n CHAR_LEFT_SQUARE_BRACKET: 91, /* [ */\n CHAR_LINE_FEED: 10, /* \\n */\n CHAR_NO_BREAK_SPACE: 160, /* \\u00A0 */\n CHAR_PERCENT: 37, /* % */\n CHAR_PLUS: 43, /* + */\n CHAR_QUESTION_MARK: 63, /* ? */\n CHAR_RIGHT_ANGLE_BRACKET: 62, /* > */\n CHAR_RIGHT_CURLY_BRACE: 125, /* } */\n CHAR_RIGHT_SQUARE_BRACKET: 93, /* ] */\n CHAR_SEMICOLON: 59, /* ; */\n CHAR_SINGLE_QUOTE: 39, /* ' */\n CHAR_SPACE: 32, /* */\n CHAR_TAB: 9, /* \\t */\n CHAR_UNDERSCORE: 95, /* _ */\n CHAR_VERTICAL_LINE: 124, /* | */\n CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \\uFEFF */\n\n SEP: path.sep,\n\n /**\n * Create EXTGLOB_CHARS\n */\n\n extglobChars(chars) {\n return {\n '!': { type: 'negate', open: '(?:(?!(?:', close: `))${chars.STAR})` },\n '?': { type: 'qmark', open: '(?:', close: ')?' },\n '+': { type: 'plus', open: '(?:', close: ')+' },\n '*': { type: 'star', open: '(?:', close: ')*' },\n '@': { type: 'at', open: '(?:', close: ')' }\n };\n },\n\n /**\n * Create GLOB_CHARS\n */\n\n globChars(win32) {\n return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;\n }\n};\n","'use strict';\n\nconst constants = require('./constants');\nconst utils = require('./utils');\n\n/**\n * Constants\n */\n\nconst {\n MAX_LENGTH,\n POSIX_REGEX_SOURCE,\n REGEX_NON_SPECIAL_CHARS,\n REGEX_SPECIAL_CHARS_BACKREF,\n REPLACEMENTS\n} = constants;\n\n/**\n * Helpers\n */\n\nconst expandRange = (args, options) => {\n if (typeof options.expandRange === 'function') {\n return options.expandRange(...args, options);\n }\n\n args.sort();\n const value = `[${args.join('-')}]`;\n\n try {\n /* eslint-disable-next-line no-new */\n new RegExp(value);\n } catch (ex) {\n return args.map(v => utils.escapeRegex(v)).join('..');\n }\n\n return value;\n};\n\n/**\n * Create the message for a syntax error\n */\n\nconst syntaxError = (type, char) => {\n return `Missing ${type}: \"${char}\" - use \"\\\\\\\\${char}\" to match literal characters`;\n};\n\n/**\n * Parse the given input string.\n * @param {String} input\n * @param {Object} options\n * @return {Object}\n */\n\nconst parse = (input, options) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n input = REPLACEMENTS[input] || input;\n\n const opts = { ...options };\n const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n\n let len = input.length;\n if (len > max) {\n throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);\n }\n\n const bos = { type: 'bos', value: '', output: opts.prepend || '' };\n const tokens = [bos];\n\n const capture = opts.capture ? '' : '?:';\n const win32 = utils.isWindows(options);\n\n // create constants based on platform, for windows or posix\n const PLATFORM_CHARS = constants.globChars(win32);\n const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);\n\n const {\n DOT_LITERAL,\n PLUS_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOT_SLASH,\n NO_DOTS_SLASH,\n QMARK,\n QMARK_NO_DOT,\n STAR,\n START_ANCHOR\n } = PLATFORM_CHARS;\n\n const globstar = opts => {\n return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;\n };\n\n const nodot = opts.dot ? '' : NO_DOT;\n const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;\n let star = opts.bash === true ? globstar(opts) : STAR;\n\n if (opts.capture) {\n star = `(${star})`;\n }\n\n // minimatch options support\n if (typeof opts.noext === 'boolean') {\n opts.noextglob = opts.noext;\n }\n\n const state = {\n input,\n index: -1,\n start: 0,\n dot: opts.dot === true,\n consumed: '',\n output: '',\n prefix: '',\n backtrack: false,\n negated: false,\n brackets: 0,\n braces: 0,\n parens: 0,\n quotes: 0,\n globstar: false,\n tokens\n };\n\n input = utils.removePrefix(input, state);\n len = input.length;\n\n const extglobs = [];\n const braces = [];\n const stack = [];\n let prev = bos;\n let value;\n\n /**\n * Tokenizing helpers\n */\n\n const eos = () => state.index === len - 1;\n const peek = state.peek = (n = 1) => input[state.index + n];\n const advance = state.advance = () => input[++state.index] || '';\n const remaining = () => input.slice(state.index + 1);\n const consume = (value = '', num = 0) => {\n state.consumed += value;\n state.index += num;\n };\n\n const append = token => {\n state.output += token.output != null ? token.output : token.value;\n consume(token.value);\n };\n\n const negate = () => {\n let count = 1;\n\n while (peek() === '!' && (peek(2) !== '(' || peek(3) === '?')) {\n advance();\n state.start++;\n count++;\n }\n\n if (count % 2 === 0) {\n return false;\n }\n\n state.negated = true;\n state.start++;\n return true;\n };\n\n const increment = type => {\n state[type]++;\n stack.push(type);\n };\n\n const decrement = type => {\n state[type]--;\n stack.pop();\n };\n\n /**\n * Push tokens onto the tokens array. This helper speeds up\n * tokenizing by 1) helping us avoid backtracking as much as possible,\n * and 2) helping us avoid creating extra tokens when consecutive\n * characters are plain text. This improves performance and simplifies\n * lookbehinds.\n */\n\n const push = tok => {\n if (prev.type === 'globstar') {\n const isBrace = state.braces > 0 && (tok.type === 'comma' || tok.type === 'brace');\n const isExtglob = tok.extglob === true || (extglobs.length && (tok.type === 'pipe' || tok.type === 'paren'));\n\n if (tok.type !== 'slash' && tok.type !== 'paren' && !isBrace && !isExtglob) {\n state.output = state.output.slice(0, -prev.output.length);\n prev.type = 'star';\n prev.value = '*';\n prev.output = star;\n state.output += prev.output;\n }\n }\n\n if (extglobs.length && tok.type !== 'paren') {\n extglobs[extglobs.length - 1].inner += tok.value;\n }\n\n if (tok.value || tok.output) append(tok);\n if (prev && prev.type === 'text' && tok.type === 'text') {\n prev.value += tok.value;\n prev.output = (prev.output || '') + tok.value;\n return;\n }\n\n tok.prev = prev;\n tokens.push(tok);\n prev = tok;\n };\n\n const extglobOpen = (type, value) => {\n const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: '' };\n\n token.prev = prev;\n token.parens = state.parens;\n token.output = state.output;\n const output = (opts.capture ? '(' : '') + token.open;\n\n increment('parens');\n push({ type, value, output: state.output ? '' : ONE_CHAR });\n push({ type: 'paren', extglob: true, value: advance(), output });\n extglobs.push(token);\n };\n\n const extglobClose = token => {\n let output = token.close + (opts.capture ? ')' : '');\n let rest;\n\n if (token.type === 'negate') {\n let extglobStar = star;\n\n if (token.inner && token.inner.length > 1 && token.inner.includes('/')) {\n extglobStar = globstar(opts);\n }\n\n if (extglobStar !== star || eos() || /^\\)+$/.test(remaining())) {\n output = token.close = `)$))${extglobStar}`;\n }\n\n if (token.inner.includes('*') && (rest = remaining()) && /^\\.[^\\\\/.]+$/.test(rest)) {\n // Any non-magical string (`.ts`) or even nested expression (`.{ts,tsx}`) can follow after the closing parenthesis.\n // In this case, we need to parse the string and use it in the output of the original pattern.\n // Suitable patterns: `/!(*.d).ts`, `/!(*.d).{ts,tsx}`, `**/!(*-dbg).@(js)`.\n //\n // Disabling the `fastpaths` option due to a problem with parsing strings as `.ts` in the pattern like `**/!(*.d).ts`.\n const expression = parse(rest, { ...options, fastpaths: false }).output;\n\n output = token.close = `)${expression})${extglobStar})`;\n }\n\n if (token.prev.type === 'bos') {\n state.negatedExtglob = true;\n }\n }\n\n push({ type: 'paren', extglob: true, value, output });\n decrement('parens');\n };\n\n /**\n * Fast paths\n */\n\n if (opts.fastpaths !== false && !/(^[*!]|[/()[\\]{}\"])/.test(input)) {\n let backslashes = false;\n\n let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => {\n if (first === '\\\\') {\n backslashes = true;\n return m;\n }\n\n if (first === '?') {\n if (esc) {\n return esc + first + (rest ? QMARK.repeat(rest.length) : '');\n }\n if (index === 0) {\n return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : '');\n }\n return QMARK.repeat(chars.length);\n }\n\n if (first === '.') {\n return DOT_LITERAL.repeat(chars.length);\n }\n\n if (first === '*') {\n if (esc) {\n return esc + first + (rest ? star : '');\n }\n return star;\n }\n return esc ? m : `\\\\${m}`;\n });\n\n if (backslashes === true) {\n if (opts.unescape === true) {\n output = output.replace(/\\\\/g, '');\n } else {\n output = output.replace(/\\\\+/g, m => {\n return m.length % 2 === 0 ? '\\\\\\\\' : (m ? '\\\\' : '');\n });\n }\n }\n\n if (output === input && opts.contains === true) {\n state.output = input;\n return state;\n }\n\n state.output = utils.wrapOutput(output, state, options);\n return state;\n }\n\n /**\n * Tokenize input until we reach end-of-string\n */\n\n while (!eos()) {\n value = advance();\n\n if (value === '\\u0000') {\n continue;\n }\n\n /**\n * Escaped characters\n */\n\n if (value === '\\\\') {\n const next = peek();\n\n if (next === '/' && opts.bash !== true) {\n continue;\n }\n\n if (next === '.' || next === ';') {\n continue;\n }\n\n if (!next) {\n value += '\\\\';\n push({ type: 'text', value });\n continue;\n }\n\n // collapse slashes to reduce potential for exploits\n const match = /^\\\\+/.exec(remaining());\n let slashes = 0;\n\n if (match && match[0].length > 2) {\n slashes = match[0].length;\n state.index += slashes;\n if (slashes % 2 !== 0) {\n value += '\\\\';\n }\n }\n\n if (opts.unescape === true) {\n value = advance();\n } else {\n value += advance();\n }\n\n if (state.brackets === 0) {\n push({ type: 'text', value });\n continue;\n }\n }\n\n /**\n * If we're inside a regex character class, continue\n * until we reach the closing bracket.\n */\n\n if (state.brackets > 0 && (value !== ']' || prev.value === '[' || prev.value === '[^')) {\n if (opts.posix !== false && value === ':') {\n const inner = prev.value.slice(1);\n if (inner.includes('[')) {\n prev.posix = true;\n\n if (inner.includes(':')) {\n const idx = prev.value.lastIndexOf('[');\n const pre = prev.value.slice(0, idx);\n const rest = prev.value.slice(idx + 2);\n const posix = POSIX_REGEX_SOURCE[rest];\n if (posix) {\n prev.value = pre + posix;\n state.backtrack = true;\n advance();\n\n if (!bos.output && tokens.indexOf(prev) === 1) {\n bos.output = ONE_CHAR;\n }\n continue;\n }\n }\n }\n }\n\n if ((value === '[' && peek() !== ':') || (value === '-' && peek() === ']')) {\n value = `\\\\${value}`;\n }\n\n if (value === ']' && (prev.value === '[' || prev.value === '[^')) {\n value = `\\\\${value}`;\n }\n\n if (opts.posix === true && value === '!' && prev.value === '[') {\n value = '^';\n }\n\n prev.value += value;\n append({ value });\n continue;\n }\n\n /**\n * If we're inside a quoted string, continue\n * until we reach the closing double quote.\n */\n\n if (state.quotes === 1 && value !== '\"') {\n value = utils.escapeRegex(value);\n prev.value += value;\n append({ value });\n continue;\n }\n\n /**\n * Double quotes\n */\n\n if (value === '\"') {\n state.quotes = state.quotes === 1 ? 0 : 1;\n if (opts.keepQuotes === true) {\n push({ type: 'text', value });\n }\n continue;\n }\n\n /**\n * Parentheses\n */\n\n if (value === '(') {\n increment('parens');\n push({ type: 'paren', value });\n continue;\n }\n\n if (value === ')') {\n if (state.parens === 0 && opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('opening', '('));\n }\n\n const extglob = extglobs[extglobs.length - 1];\n if (extglob && state.parens === extglob.parens + 1) {\n extglobClose(extglobs.pop());\n continue;\n }\n\n push({ type: 'paren', value, output: state.parens ? ')' : '\\\\)' });\n decrement('parens');\n continue;\n }\n\n /**\n * Square brackets\n */\n\n if (value === '[') {\n if (opts.nobracket === true || !remaining().includes(']')) {\n if (opts.nobracket !== true && opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('closing', ']'));\n }\n\n value = `\\\\${value}`;\n } else {\n increment('brackets');\n }\n\n push({ type: 'bracket', value });\n continue;\n }\n\n if (value === ']') {\n if (opts.nobracket === true || (prev && prev.type === 'bracket' && prev.value.length === 1)) {\n push({ type: 'text', value, output: `\\\\${value}` });\n continue;\n }\n\n if (state.brackets === 0) {\n if (opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('opening', '['));\n }\n\n push({ type: 'text', value, output: `\\\\${value}` });\n continue;\n }\n\n decrement('brackets');\n\n const prevValue = prev.value.slice(1);\n if (prev.posix !== true && prevValue[0] === '^' && !prevValue.includes('/')) {\n value = `/${value}`;\n }\n\n prev.value += value;\n append({ value });\n\n // when literal brackets are explicitly disabled\n // assume we should match with a regex character class\n if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) {\n continue;\n }\n\n const escaped = utils.escapeRegex(prev.value);\n state.output = state.output.slice(0, -prev.value.length);\n\n // when literal brackets are explicitly enabled\n // assume we should escape the brackets to match literal characters\n if (opts.literalBrackets === true) {\n state.output += escaped;\n prev.value = escaped;\n continue;\n }\n\n // when the user specifies nothing, try to match both\n prev.value = `(${capture}${escaped}|${prev.value})`;\n state.output += prev.value;\n continue;\n }\n\n /**\n * Braces\n */\n\n if (value === '{' && opts.nobrace !== true) {\n increment('braces');\n\n const open = {\n type: 'brace',\n value,\n output: '(',\n outputIndex: state.output.length,\n tokensIndex: state.tokens.length\n };\n\n braces.push(open);\n push(open);\n continue;\n }\n\n if (value === '}') {\n const brace = braces[braces.length - 1];\n\n if (opts.nobrace === true || !brace) {\n push({ type: 'text', value, output: value });\n continue;\n }\n\n let output = ')';\n\n if (brace.dots === true) {\n const arr = tokens.slice();\n const range = [];\n\n for (let i = arr.length - 1; i >= 0; i--) {\n tokens.pop();\n if (arr[i].type === 'brace') {\n break;\n }\n if (arr[i].type !== 'dots') {\n range.unshift(arr[i].value);\n }\n }\n\n output = expandRange(range, opts);\n state.backtrack = true;\n }\n\n if (brace.comma !== true && brace.dots !== true) {\n const out = state.output.slice(0, brace.outputIndex);\n const toks = state.tokens.slice(brace.tokensIndex);\n brace.value = brace.output = '\\\\{';\n value = output = '\\\\}';\n state.output = out;\n for (const t of toks) {\n state.output += (t.output || t.value);\n }\n }\n\n push({ type: 'brace', value, output });\n decrement('braces');\n braces.pop();\n continue;\n }\n\n /**\n * Pipes\n */\n\n if (value === '|') {\n if (extglobs.length > 0) {\n extglobs[extglobs.length - 1].conditions++;\n }\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Commas\n */\n\n if (value === ',') {\n let output = value;\n\n const brace = braces[braces.length - 1];\n if (brace && stack[stack.length - 1] === 'braces') {\n brace.comma = true;\n output = '|';\n }\n\n push({ type: 'comma', value, output });\n continue;\n }\n\n /**\n * Slashes\n */\n\n if (value === '/') {\n // if the beginning of the glob is \"./\", advance the start\n // to the current index, and don't add the \"./\" characters\n // to the state. This greatly simplifies lookbehinds when\n // checking for BOS characters like \"!\" and \".\" (not \"./\")\n if (prev.type === 'dot' && state.index === state.start + 1) {\n state.start = state.index + 1;\n state.consumed = '';\n state.output = '';\n tokens.pop();\n prev = bos; // reset \"prev\" to the first token\n continue;\n }\n\n push({ type: 'slash', value, output: SLASH_LITERAL });\n continue;\n }\n\n /**\n * Dots\n */\n\n if (value === '.') {\n if (state.braces > 0 && prev.type === 'dot') {\n if (prev.value === '.') prev.output = DOT_LITERAL;\n const brace = braces[braces.length - 1];\n prev.type = 'dots';\n prev.output += value;\n prev.value += value;\n brace.dots = true;\n continue;\n }\n\n if ((state.braces + state.parens) === 0 && prev.type !== 'bos' && prev.type !== 'slash') {\n push({ type: 'text', value, output: DOT_LITERAL });\n continue;\n }\n\n push({ type: 'dot', value, output: DOT_LITERAL });\n continue;\n }\n\n /**\n * Question marks\n */\n\n if (value === '?') {\n const isGroup = prev && prev.value === '(';\n if (!isGroup && opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n extglobOpen('qmark', value);\n continue;\n }\n\n if (prev && prev.type === 'paren') {\n const next = peek();\n let output = value;\n\n if (next === '<' && !utils.supportsLookbehinds()) {\n throw new Error('Node.js v10 or higher is required for regex lookbehinds');\n }\n\n if ((prev.value === '(' && !/[!=<:]/.test(next)) || (next === '<' && !/<([!=]|\\w+>)/.test(remaining()))) {\n output = `\\\\${value}`;\n }\n\n push({ type: 'text', value, output });\n continue;\n }\n\n if (opts.dot !== true && (prev.type === 'slash' || prev.type === 'bos')) {\n push({ type: 'qmark', value, output: QMARK_NO_DOT });\n continue;\n }\n\n push({ type: 'qmark', value, output: QMARK });\n continue;\n }\n\n /**\n * Exclamation\n */\n\n if (value === '!') {\n if (opts.noextglob !== true && peek() === '(') {\n if (peek(2) !== '?' || !/[!=<:]/.test(peek(3))) {\n extglobOpen('negate', value);\n continue;\n }\n }\n\n if (opts.nonegate !== true && state.index === 0) {\n negate();\n continue;\n }\n }\n\n /**\n * Plus\n */\n\n if (value === '+') {\n if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n extglobOpen('plus', value);\n continue;\n }\n\n if ((prev && prev.value === '(') || opts.regex === false) {\n push({ type: 'plus', value, output: PLUS_LITERAL });\n continue;\n }\n\n if ((prev && (prev.type === 'bracket' || prev.type === 'paren' || prev.type === 'brace')) || state.parens > 0) {\n push({ type: 'plus', value });\n continue;\n }\n\n push({ type: 'plus', value: PLUS_LITERAL });\n continue;\n }\n\n /**\n * Plain text\n */\n\n if (value === '@') {\n if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n push({ type: 'at', extglob: true, value, output: '' });\n continue;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Plain text\n */\n\n if (value !== '*') {\n if (value === '$' || value === '^') {\n value = `\\\\${value}`;\n }\n\n const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());\n if (match) {\n value += match[0];\n state.index += match[0].length;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Stars\n */\n\n if (prev && (prev.type === 'globstar' || prev.star === true)) {\n prev.type = 'star';\n prev.star = true;\n prev.value += value;\n prev.output = star;\n state.backtrack = true;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n let rest = remaining();\n if (opts.noextglob !== true && /^\\([^?]/.test(rest)) {\n extglobOpen('star', value);\n continue;\n }\n\n if (prev.type === 'star') {\n if (opts.noglobstar === true) {\n consume(value);\n continue;\n }\n\n const prior = prev.prev;\n const before = prior.prev;\n const isStart = prior.type === 'slash' || prior.type === 'bos';\n const afterStar = before && (before.type === 'star' || before.type === 'globstar');\n\n if (opts.bash === true && (!isStart || (rest[0] && rest[0] !== '/'))) {\n push({ type: 'star', value, output: '' });\n continue;\n }\n\n const isBrace = state.braces > 0 && (prior.type === 'comma' || prior.type === 'brace');\n const isExtglob = extglobs.length && (prior.type === 'pipe' || prior.type === 'paren');\n if (!isStart && prior.type !== 'paren' && !isBrace && !isExtglob) {\n push({ type: 'star', value, output: '' });\n continue;\n }\n\n // strip consecutive `/**/`\n while (rest.slice(0, 3) === '/**') {\n const after = input[state.index + 4];\n if (after && after !== '/') {\n break;\n }\n rest = rest.slice(3);\n consume('/**', 3);\n }\n\n if (prior.type === 'bos' && eos()) {\n prev.type = 'globstar';\n prev.value += value;\n prev.output = globstar(opts);\n state.output = prev.output;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n if (prior.type === 'slash' && prior.prev.type !== 'bos' && !afterStar && eos()) {\n state.output = state.output.slice(0, -(prior.output + prev.output).length);\n prior.output = `(?:${prior.output}`;\n\n prev.type = 'globstar';\n prev.output = globstar(opts) + (opts.strictSlashes ? ')' : '|$)');\n prev.value += value;\n state.globstar = true;\n state.output += prior.output + prev.output;\n consume(value);\n continue;\n }\n\n if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {\n const end = rest[1] !== void 0 ? '|$' : '';\n\n state.output = state.output.slice(0, -(prior.output + prev.output).length);\n prior.output = `(?:${prior.output}`;\n\n prev.type = 'globstar';\n prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;\n prev.value += value;\n\n state.output += prior.output + prev.output;\n state.globstar = true;\n\n consume(value + advance());\n\n push({ type: 'slash', value: '/', output: '' });\n continue;\n }\n\n if (prior.type === 'bos' && rest[0] === '/') {\n prev.type = 'globstar';\n prev.value += value;\n prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;\n state.output = prev.output;\n state.globstar = true;\n consume(value + advance());\n push({ type: 'slash', value: '/', output: '' });\n continue;\n }\n\n // remove single star from output\n state.output = state.output.slice(0, -prev.output.length);\n\n // reset previous token to globstar\n prev.type = 'globstar';\n prev.output = globstar(opts);\n prev.value += value;\n\n // reset output with globstar\n state.output += prev.output;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n const token = { type: 'star', value, output: star };\n\n if (opts.bash === true) {\n token.output = '.*?';\n if (prev.type === 'bos' || prev.type === 'slash') {\n token.output = nodot + token.output;\n }\n push(token);\n continue;\n }\n\n if (prev && (prev.type === 'bracket' || prev.type === 'paren') && opts.regex === true) {\n token.output = value;\n push(token);\n continue;\n }\n\n if (state.index === state.start || prev.type === 'slash' || prev.type === 'dot') {\n if (prev.type === 'dot') {\n state.output += NO_DOT_SLASH;\n prev.output += NO_DOT_SLASH;\n\n } else if (opts.dot === true) {\n state.output += NO_DOTS_SLASH;\n prev.output += NO_DOTS_SLASH;\n\n } else {\n state.output += nodot;\n prev.output += nodot;\n }\n\n if (peek() !== '*') {\n state.output += ONE_CHAR;\n prev.output += ONE_CHAR;\n }\n }\n\n push(token);\n }\n\n while (state.brackets > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ']'));\n state.output = utils.escapeLast(state.output, '[');\n decrement('brackets');\n }\n\n while (state.parens > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ')'));\n state.output = utils.escapeLast(state.output, '(');\n decrement('parens');\n }\n\n while (state.braces > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', '}'));\n state.output = utils.escapeLast(state.output, '{');\n decrement('braces');\n }\n\n if (opts.strictSlashes !== true && (prev.type === 'star' || prev.type === 'bracket')) {\n push({ type: 'maybe_slash', value: '', output: `${SLASH_LITERAL}?` });\n }\n\n // rebuild the output if we had to backtrack at any point\n if (state.backtrack === true) {\n state.output = '';\n\n for (const token of state.tokens) {\n state.output += token.output != null ? token.output : token.value;\n\n if (token.suffix) {\n state.output += token.suffix;\n }\n }\n }\n\n return state;\n};\n\n/**\n * Fast paths for creating regular expressions for common glob patterns.\n * This can significantly speed up processing and has very little downside\n * impact when none of the fast paths match.\n */\n\nparse.fastpaths = (input, options) => {\n const opts = { ...options };\n const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n const len = input.length;\n if (len > max) {\n throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);\n }\n\n input = REPLACEMENTS[input] || input;\n const win32 = utils.isWindows(options);\n\n // create constants based on platform, for windows or posix\n const {\n DOT_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOTS,\n NO_DOTS_SLASH,\n STAR,\n START_ANCHOR\n } = constants.globChars(win32);\n\n const nodot = opts.dot ? NO_DOTS : NO_DOT;\n const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;\n const capture = opts.capture ? '' : '?:';\n const state = { negated: false, prefix: '' };\n let star = opts.bash === true ? '.*?' : STAR;\n\n if (opts.capture) {\n star = `(${star})`;\n }\n\n const globstar = opts => {\n if (opts.noglobstar === true) return star;\n return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;\n };\n\n const create = str => {\n switch (str) {\n case '*':\n return `${nodot}${ONE_CHAR}${star}`;\n\n case '.*':\n return `${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '*.*':\n return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '*/*':\n return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;\n\n case '**':\n return nodot + globstar(opts);\n\n case '**/*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;\n\n case '**/*.*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '**/.*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n default: {\n const match = /^(.*?)\\.(\\w+)$/.exec(str);\n if (!match) return;\n\n const source = create(match[1]);\n if (!source) return;\n\n return source + DOT_LITERAL + match[2];\n }\n }\n };\n\n const output = utils.removePrefix(input, state);\n let source = create(output);\n\n if (source && opts.strictSlashes !== true) {\n source += `${SLASH_LITERAL}?`;\n }\n\n return source;\n};\n\nmodule.exports = parse;\n","'use strict';\n\nconst path = require('path');\nconst scan = require('./scan');\nconst parse = require('./parse');\nconst utils = require('./utils');\nconst constants = require('./constants');\nconst isObject = val => val && typeof val === 'object' && !Array.isArray(val);\n\n/**\n * Creates a matcher function from one or more glob patterns. The\n * returned function takes a string to match as its first argument,\n * and returns true if the string is a match. The returned matcher\n * function also takes a boolean as the second argument that, when true,\n * returns an object with additional information.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch(glob[, options]);\n *\n * const isMatch = picomatch('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @name picomatch\n * @param {String|Array} `globs` One or more glob patterns.\n * @param {Object=} `options`\n * @return {Function=} Returns a matcher function.\n * @api public\n */\n\nconst picomatch = (glob, options, returnState = false) => {\n if (Array.isArray(glob)) {\n const fns = glob.map(input => picomatch(input, options, returnState));\n const arrayMatcher = str => {\n for (const isMatch of fns) {\n const state = isMatch(str);\n if (state) return state;\n }\n return false;\n };\n return arrayMatcher;\n }\n\n const isState = isObject(glob) && glob.tokens && glob.input;\n\n if (glob === '' || (typeof glob !== 'string' && !isState)) {\n throw new TypeError('Expected pattern to be a non-empty string');\n }\n\n const opts = options || {};\n const posix = utils.isWindows(options);\n const regex = isState\n ? picomatch.compileRe(glob, options)\n : picomatch.makeRe(glob, options, false, true);\n\n const state = regex.state;\n delete regex.state;\n\n let isIgnored = () => false;\n if (opts.ignore) {\n const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };\n isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);\n }\n\n const matcher = (input, returnObject = false) => {\n const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });\n const result = { glob, state, regex, posix, input, output, match, isMatch };\n\n if (typeof opts.onResult === 'function') {\n opts.onResult(result);\n }\n\n if (isMatch === false) {\n result.isMatch = false;\n return returnObject ? result : false;\n }\n\n if (isIgnored(input)) {\n if (typeof opts.onIgnore === 'function') {\n opts.onIgnore(result);\n }\n result.isMatch = false;\n return returnObject ? result : false;\n }\n\n if (typeof opts.onMatch === 'function') {\n opts.onMatch(result);\n }\n return returnObject ? result : true;\n };\n\n if (returnState) {\n matcher.state = state;\n }\n\n return matcher;\n};\n\n/**\n * Test `input` with the given `regex`. This is used by the main\n * `picomatch()` function to test the input string.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.test(input, regex[, options]);\n *\n * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\\/([^/]*?))$/));\n * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }\n * ```\n * @param {String} `input` String to test.\n * @param {RegExp} `regex`\n * @return {Object} Returns an object with matching info.\n * @api public\n */\n\npicomatch.test = (input, regex, options, { glob, posix } = {}) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected input to be a string');\n }\n\n if (input === '') {\n return { isMatch: false, output: '' };\n }\n\n const opts = options || {};\n const format = opts.format || (posix ? utils.toPosixSlashes : null);\n let match = input === glob;\n let output = (match && format) ? format(input) : input;\n\n if (match === false) {\n output = format ? format(input) : input;\n match = output === glob;\n }\n\n if (match === false || opts.capture === true) {\n if (opts.matchBase === true || opts.basename === true) {\n match = picomatch.matchBase(input, regex, options, posix);\n } else {\n match = regex.exec(output);\n }\n }\n\n return { isMatch: Boolean(match), match, output };\n};\n\n/**\n * Match the basename of a filepath.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.matchBase(input, glob[, options]);\n * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true\n * ```\n * @param {String} `input` String to test.\n * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).\n * @return {Boolean}\n * @api public\n */\n\npicomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {\n const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);\n return regex.test(path.basename(input));\n};\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.isMatch(string, patterns[, options]);\n *\n * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String|Array} str The string to test.\n * @param {String|Array} patterns One or more glob patterns to use for matching.\n * @param {Object} [options] See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\npicomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const picomatch = require('picomatch');\n * const result = picomatch.parse(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as a regex source string.\n * @api public\n */\n\npicomatch.parse = (pattern, options) => {\n if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));\n return parse(pattern, { ...options, fastpaths: false });\n};\n\n/**\n * Scan a glob pattern to separate the pattern into segments.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.scan(input[, options]);\n *\n * const result = picomatch.scan('!./foo/*.js');\n * console.log(result);\n * { prefix: '!./',\n * input: '!./foo/*.js',\n * start: 3,\n * base: 'foo',\n * glob: '*.js',\n * isBrace: false,\n * isBracket: false,\n * isGlob: true,\n * isExtglob: false,\n * isGlobstar: false,\n * negated: true }\n * ```\n * @param {String} `input` Glob pattern to scan.\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\npicomatch.scan = (input, options) => scan(input, options);\n\n/**\n * Compile a regular expression from the `state` object returned by the\n * [parse()](#parse) method.\n *\n * @param {Object} `state`\n * @param {Object} `options`\n * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.\n * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.\n * @return {RegExp}\n * @api public\n */\n\npicomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {\n if (returnOutput === true) {\n return state.output;\n }\n\n const opts = options || {};\n const prepend = opts.contains ? '' : '^';\n const append = opts.contains ? '' : '$';\n\n let source = `${prepend}(?:${state.output})${append}`;\n if (state && state.negated === true) {\n source = `^(?!${source}).*$`;\n }\n\n const regex = picomatch.toRegex(source, options);\n if (returnState === true) {\n regex.state = state;\n }\n\n return regex;\n};\n\n/**\n * Create a regular expression from a parsed glob pattern.\n *\n * ```js\n * const picomatch = require('picomatch');\n * const state = picomatch.parse('*.js');\n * // picomatch.compileRe(state[, options]);\n *\n * console.log(picomatch.compileRe(state));\n * //=> /^(?:(?!\\.)(?=.)[^/]*?\\.js)$/\n * ```\n * @param {String} `state` The object returned from the `.parse` method.\n * @param {Object} `options`\n * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.\n * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\npicomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {\n if (!input || typeof input !== 'string') {\n throw new TypeError('Expected a non-empty string');\n }\n\n let parsed = { negated: false, fastpaths: true };\n\n if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {\n parsed.output = parse.fastpaths(input, options);\n }\n\n if (!parsed.output) {\n parsed = parse(input, options);\n }\n\n return picomatch.compileRe(parsed, options, returnOutput, returnState);\n};\n\n/**\n * Create a regular expression from the given regex source string.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.toRegex(source[, options]);\n *\n * const { output } = picomatch.parse('*.js');\n * console.log(picomatch.toRegex(output));\n * //=> /^(?:(?!\\.)(?=.)[^/]*?\\.js)$/\n * ```\n * @param {String} `source` Regular expression source string.\n * @param {Object} `options`\n * @return {RegExp}\n * @api public\n */\n\npicomatch.toRegex = (source, options) => {\n try {\n const opts = options || {};\n return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));\n } catch (err) {\n if (options && options.debug === true) throw err;\n return /$^/;\n }\n};\n\n/**\n * Picomatch constants.\n * @return {Object}\n */\n\npicomatch.constants = constants;\n\n/**\n * Expose \"picomatch\"\n */\n\nmodule.exports = picomatch;\n","'use strict';\n\nconst utils = require('./utils');\nconst {\n CHAR_ASTERISK, /* * */\n CHAR_AT, /* @ */\n CHAR_BACKWARD_SLASH, /* \\ */\n CHAR_COMMA, /* , */\n CHAR_DOT, /* . */\n CHAR_EXCLAMATION_MARK, /* ! */\n CHAR_FORWARD_SLASH, /* / */\n CHAR_LEFT_CURLY_BRACE, /* { */\n CHAR_LEFT_PARENTHESES, /* ( */\n CHAR_LEFT_SQUARE_BRACKET, /* [ */\n CHAR_PLUS, /* + */\n CHAR_QUESTION_MARK, /* ? */\n CHAR_RIGHT_CURLY_BRACE, /* } */\n CHAR_RIGHT_PARENTHESES, /* ) */\n CHAR_RIGHT_SQUARE_BRACKET /* ] */\n} = require('./constants');\n\nconst isPathSeparator = code => {\n return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n};\n\nconst depth = token => {\n if (token.isPrefix !== true) {\n token.depth = token.isGlobstar ? Infinity : 1;\n }\n};\n\n/**\n * Quickly scans a glob pattern and returns an object with a handful of\n * useful properties, like `isGlob`, `path` (the leading non-glob, if it exists),\n * `glob` (the actual pattern), `negated` (true if the path starts with `!` but not\n * with `!(`) and `negatedExtglob` (true if the path starts with `!(`).\n *\n * ```js\n * const pm = require('picomatch');\n * console.log(pm.scan('foo/bar/*.js'));\n * { isGlob: true, input: 'foo/bar/*.js', base: 'foo/bar', glob: '*.js' }\n * ```\n * @param {String} `str`\n * @param {Object} `options`\n * @return {Object} Returns an object with tokens and regex source string.\n * @api public\n */\n\nconst scan = (input, options) => {\n const opts = options || {};\n\n const length = input.length - 1;\n const scanToEnd = opts.parts === true || opts.scanToEnd === true;\n const slashes = [];\n const tokens = [];\n const parts = [];\n\n let str = input;\n let index = -1;\n let start = 0;\n let lastIndex = 0;\n let isBrace = false;\n let isBracket = false;\n let isGlob = false;\n let isExtglob = false;\n let isGlobstar = false;\n let braceEscaped = false;\n let backslashes = false;\n let negated = false;\n let negatedExtglob = false;\n let finished = false;\n let braces = 0;\n let prev;\n let code;\n let token = { value: '', depth: 0, isGlob: false };\n\n const eos = () => index >= length;\n const peek = () => str.charCodeAt(index + 1);\n const advance = () => {\n prev = code;\n return str.charCodeAt(++index);\n };\n\n while (index < length) {\n code = advance();\n let next;\n\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n code = advance();\n\n if (code === CHAR_LEFT_CURLY_BRACE) {\n braceEscaped = true;\n }\n continue;\n }\n\n if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) {\n braces++;\n\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n advance();\n continue;\n }\n\n if (code === CHAR_LEFT_CURLY_BRACE) {\n braces++;\n continue;\n }\n\n if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) {\n isBrace = token.isBrace = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (braceEscaped !== true && code === CHAR_COMMA) {\n isBrace = token.isBrace = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (code === CHAR_RIGHT_CURLY_BRACE) {\n braces--;\n\n if (braces === 0) {\n braceEscaped = false;\n isBrace = token.isBrace = true;\n finished = true;\n break;\n }\n }\n }\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (code === CHAR_FORWARD_SLASH) {\n slashes.push(index);\n tokens.push(token);\n token = { value: '', depth: 0, isGlob: false };\n\n if (finished === true) continue;\n if (prev === CHAR_DOT && index === (start + 1)) {\n start += 2;\n continue;\n }\n\n lastIndex = index + 1;\n continue;\n }\n\n if (opts.noext !== true) {\n const isExtglobChar = code === CHAR_PLUS\n || code === CHAR_AT\n || code === CHAR_ASTERISK\n || code === CHAR_QUESTION_MARK\n || code === CHAR_EXCLAMATION_MARK;\n\n if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {\n isGlob = token.isGlob = true;\n isExtglob = token.isExtglob = true;\n finished = true;\n if (code === CHAR_EXCLAMATION_MARK && index === start) {\n negatedExtglob = true;\n }\n\n if (scanToEnd === true) {\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n code = advance();\n continue;\n }\n\n if (code === CHAR_RIGHT_PARENTHESES) {\n isGlob = token.isGlob = true;\n finished = true;\n break;\n }\n }\n continue;\n }\n break;\n }\n }\n\n if (code === CHAR_ASTERISK) {\n if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n break;\n }\n\n if (code === CHAR_QUESTION_MARK) {\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n break;\n }\n\n if (code === CHAR_LEFT_SQUARE_BRACKET) {\n while (eos() !== true && (next = advance())) {\n if (next === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n advance();\n continue;\n }\n\n if (next === CHAR_RIGHT_SQUARE_BRACKET) {\n isBracket = token.isBracket = true;\n isGlob = token.isGlob = true;\n finished = true;\n break;\n }\n }\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) {\n negated = token.negated = true;\n start++;\n continue;\n }\n\n if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {\n isGlob = token.isGlob = true;\n\n if (scanToEnd === true) {\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_LEFT_PARENTHESES) {\n backslashes = token.backslashes = true;\n code = advance();\n continue;\n }\n\n if (code === CHAR_RIGHT_PARENTHESES) {\n finished = true;\n break;\n }\n }\n continue;\n }\n break;\n }\n\n if (isGlob === true) {\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n }\n\n if (opts.noext === true) {\n isExtglob = false;\n isGlob = false;\n }\n\n let base = str;\n let prefix = '';\n let glob = '';\n\n if (start > 0) {\n prefix = str.slice(0, start);\n str = str.slice(start);\n lastIndex -= start;\n }\n\n if (base && isGlob === true && lastIndex > 0) {\n base = str.slice(0, lastIndex);\n glob = str.slice(lastIndex);\n } else if (isGlob === true) {\n base = '';\n glob = str;\n } else {\n base = str;\n }\n\n if (base && base !== '' && base !== '/' && base !== str) {\n if (isPathSeparator(base.charCodeAt(base.length - 1))) {\n base = base.slice(0, -1);\n }\n }\n\n if (opts.unescape === true) {\n if (glob) glob = utils.removeBackslashes(glob);\n\n if (base && backslashes === true) {\n base = utils.removeBackslashes(base);\n }\n }\n\n const state = {\n prefix,\n input,\n start,\n base,\n glob,\n isBrace,\n isBracket,\n isGlob,\n isExtglob,\n isGlobstar,\n negated,\n negatedExtglob\n };\n\n if (opts.tokens === true) {\n state.maxDepth = 0;\n if (!isPathSeparator(code)) {\n tokens.push(token);\n }\n state.tokens = tokens;\n }\n\n if (opts.parts === true || opts.tokens === true) {\n let prevIndex;\n\n for (let idx = 0; idx < slashes.length; idx++) {\n const n = prevIndex ? prevIndex + 1 : start;\n const i = slashes[idx];\n const value = input.slice(n, i);\n if (opts.tokens) {\n if (idx === 0 && start !== 0) {\n tokens[idx].isPrefix = true;\n tokens[idx].value = prefix;\n } else {\n tokens[idx].value = value;\n }\n depth(tokens[idx]);\n state.maxDepth += tokens[idx].depth;\n }\n if (idx !== 0 || value !== '') {\n parts.push(value);\n }\n prevIndex = i;\n }\n\n if (prevIndex && prevIndex + 1 < input.length) {\n const value = input.slice(prevIndex + 1);\n parts.push(value);\n\n if (opts.tokens) {\n tokens[tokens.length - 1].value = value;\n depth(tokens[tokens.length - 1]);\n state.maxDepth += tokens[tokens.length - 1].depth;\n }\n }\n\n state.slashes = slashes;\n state.parts = parts;\n }\n\n return state;\n};\n\nmodule.exports = scan;\n","'use strict';\n\nconst path = require('path');\nconst win32 = process.platform === 'win32';\nconst {\n REGEX_BACKSLASH,\n REGEX_REMOVE_BACKSLASH,\n REGEX_SPECIAL_CHARS,\n REGEX_SPECIAL_CHARS_GLOBAL\n} = require('./constants');\n\nexports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\nexports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);\nexports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);\nexports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\\\$1');\nexports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');\n\nexports.removeBackslashes = str => {\n return str.replace(REGEX_REMOVE_BACKSLASH, match => {\n return match === '\\\\' ? '' : match;\n });\n};\n\nexports.supportsLookbehinds = () => {\n const segs = process.version.slice(1).split('.').map(Number);\n if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {\n return true;\n }\n return false;\n};\n\nexports.isWindows = options => {\n if (options && typeof options.windows === 'boolean') {\n return options.windows;\n }\n return win32 === true || path.sep === '\\\\';\n};\n\nexports.escapeLast = (input, char, lastIdx) => {\n const idx = input.lastIndexOf(char, lastIdx);\n if (idx === -1) return input;\n if (input[idx - 1] === '\\\\') return exports.escapeLast(input, char, idx - 1);\n return `${input.slice(0, idx)}\\\\${input.slice(idx)}`;\n};\n\nexports.removePrefix = (input, state = {}) => {\n let output = input;\n if (output.startsWith('./')) {\n output = output.slice(2);\n state.prefix = './';\n }\n return output;\n};\n\nexports.wrapOutput = (input, state = {}, options = {}) => {\n const prepend = options.contains ? '' : '^';\n const append = options.contains ? '' : '$';\n\n let output = `${prepend}(?:${input})${append}`;\n if (state.negated === true) {\n output = `(?:^(?!${output}).*$)`;\n }\n return output;\n};\n","/*! queue-microtask. MIT License. Feross Aboukhadijeh */\nlet promise\n\nmodule.exports = typeof queueMicrotask === 'function'\n ? queueMicrotask.bind(typeof window !== 'undefined' ? window : global)\n // reuse resolved promise, and allocate it lazily\n : cb => (promise || (promise = Promise.resolve()))\n .then(cb)\n .catch(err => setTimeout(() => { throw err }, 0))\n","'use strict'\n\nfunction reusify (Constructor) {\n var head = new Constructor()\n var tail = head\n\n function get () {\n var current = head\n\n if (current.next) {\n head = current.next\n } else {\n head = new Constructor()\n tail = head\n }\n\n current.next = null\n\n return current\n }\n\n function release (obj) {\n tail.next = obj\n tail = obj\n }\n\n return {\n get: get,\n release: release\n }\n}\n\nmodule.exports = reusify\n","/*! run-parallel. MIT License. Feross Aboukhadijeh */\nmodule.exports = runParallel\n\nconst queueMicrotask = require('queue-microtask')\n\nfunction runParallel (tasks, cb) {\n let results, pending, keys\n let isSync = true\n\n if (Array.isArray(tasks)) {\n results = []\n pending = tasks.length\n } else {\n keys = Object.keys(tasks)\n results = {}\n pending = keys.length\n }\n\n function done (err) {\n function end () {\n if (cb) cb(err, results)\n cb = null\n }\n if (isSync) queueMicrotask(end)\n else end()\n }\n\n function each (i, err, result) {\n results[i] = result\n if (--pending === 0 || err) {\n done(err)\n }\n }\n\n if (!pending) {\n // empty\n done(null)\n } else if (keys) {\n // object\n keys.forEach(function (key) {\n tasks[key](function (err, result) { each(key, err, result) })\n })\n } else {\n // array\n tasks.forEach(function (task, i) {\n task(function (err, result) { each(i, err, result) })\n })\n }\n\n isSync = false\n}\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return `${from} ${to}`.trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","/*!\n * to-regex-range \n *\n * Copyright (c) 2015-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nconst isNumber = require('is-number');\n\nconst toRegexRange = (min, max, options) => {\n if (isNumber(min) === false) {\n throw new TypeError('toRegexRange: expected the first argument to be a number');\n }\n\n if (max === void 0 || min === max) {\n return String(min);\n }\n\n if (isNumber(max) === false) {\n throw new TypeError('toRegexRange: expected the second argument to be a number.');\n }\n\n let opts = { relaxZeros: true, ...options };\n if (typeof opts.strictZeros === 'boolean') {\n opts.relaxZeros = opts.strictZeros === false;\n }\n\n let relax = String(opts.relaxZeros);\n let shorthand = String(opts.shorthand);\n let capture = String(opts.capture);\n let wrap = String(opts.wrap);\n let cacheKey = min + ':' + max + '=' + relax + shorthand + capture + wrap;\n\n if (toRegexRange.cache.hasOwnProperty(cacheKey)) {\n return toRegexRange.cache[cacheKey].result;\n }\n\n let a = Math.min(min, max);\n let b = Math.max(min, max);\n\n if (Math.abs(a - b) === 1) {\n let result = min + '|' + max;\n if (opts.capture) {\n return `(${result})`;\n }\n if (opts.wrap === false) {\n return result;\n }\n return `(?:${result})`;\n }\n\n let isPadded = hasPadding(min) || hasPadding(max);\n let state = { min, max, a, b };\n let positives = [];\n let negatives = [];\n\n if (isPadded) {\n state.isPadded = isPadded;\n state.maxLen = String(state.max).length;\n }\n\n if (a < 0) {\n let newMin = b < 0 ? Math.abs(b) : 1;\n negatives = splitToPatterns(newMin, Math.abs(a), state, opts);\n a = state.a = 0;\n }\n\n if (b >= 0) {\n positives = splitToPatterns(a, b, state, opts);\n }\n\n state.negatives = negatives;\n state.positives = positives;\n state.result = collatePatterns(negatives, positives, opts);\n\n if (opts.capture === true) {\n state.result = `(${state.result})`;\n } else if (opts.wrap !== false && (positives.length + negatives.length) > 1) {\n state.result = `(?:${state.result})`;\n }\n\n toRegexRange.cache[cacheKey] = state;\n return state.result;\n};\n\nfunction collatePatterns(neg, pos, options) {\n let onlyNegative = filterPatterns(neg, pos, '-', false, options) || [];\n let onlyPositive = filterPatterns(pos, neg, '', false, options) || [];\n let intersected = filterPatterns(neg, pos, '-?', true, options) || [];\n let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);\n return subpatterns.join('|');\n}\n\nfunction splitToRanges(min, max) {\n let nines = 1;\n let zeros = 1;\n\n let stop = countNines(min, nines);\n let stops = new Set([max]);\n\n while (min <= stop && stop <= max) {\n stops.add(stop);\n nines += 1;\n stop = countNines(min, nines);\n }\n\n stop = countZeros(max + 1, zeros) - 1;\n\n while (min < stop && stop <= max) {\n stops.add(stop);\n zeros += 1;\n stop = countZeros(max + 1, zeros) - 1;\n }\n\n stops = [...stops];\n stops.sort(compare);\n return stops;\n}\n\n/**\n * Convert a range to a regex pattern\n * @param {Number} `start`\n * @param {Number} `stop`\n * @return {String}\n */\n\nfunction rangeToPattern(start, stop, options) {\n if (start === stop) {\n return { pattern: start, count: [], digits: 0 };\n }\n\n let zipped = zip(start, stop);\n let digits = zipped.length;\n let pattern = '';\n let count = 0;\n\n for (let i = 0; i < digits; i++) {\n let [startDigit, stopDigit] = zipped[i];\n\n if (startDigit === stopDigit) {\n pattern += startDigit;\n\n } else if (startDigit !== '0' || stopDigit !== '9') {\n pattern += toCharacterClass(startDigit, stopDigit, options);\n\n } else {\n count++;\n }\n }\n\n if (count) {\n pattern += options.shorthand === true ? '\\\\d' : '[0-9]';\n }\n\n return { pattern, count: [count], digits };\n}\n\nfunction splitToPatterns(min, max, tok, options) {\n let ranges = splitToRanges(min, max);\n let tokens = [];\n let start = min;\n let prev;\n\n for (let i = 0; i < ranges.length; i++) {\n let max = ranges[i];\n let obj = rangeToPattern(String(start), String(max), options);\n let zeros = '';\n\n if (!tok.isPadded && prev && prev.pattern === obj.pattern) {\n if (prev.count.length > 1) {\n prev.count.pop();\n }\n\n prev.count.push(obj.count[0]);\n prev.string = prev.pattern + toQuantifier(prev.count);\n start = max + 1;\n continue;\n }\n\n if (tok.isPadded) {\n zeros = padZeros(max, tok, options);\n }\n\n obj.string = zeros + obj.pattern + toQuantifier(obj.count);\n tokens.push(obj);\n start = max + 1;\n prev = obj;\n }\n\n return tokens;\n}\n\nfunction filterPatterns(arr, comparison, prefix, intersection, options) {\n let result = [];\n\n for (let ele of arr) {\n let { string } = ele;\n\n // only push if _both_ are negative...\n if (!intersection && !contains(comparison, 'string', string)) {\n result.push(prefix + string);\n }\n\n // or _both_ are positive\n if (intersection && contains(comparison, 'string', string)) {\n result.push(prefix + string);\n }\n }\n return result;\n}\n\n/**\n * Zip strings\n */\n\nfunction zip(a, b) {\n let arr = [];\n for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);\n return arr;\n}\n\nfunction compare(a, b) {\n return a > b ? 1 : b > a ? -1 : 0;\n}\n\nfunction contains(arr, key, val) {\n return arr.some(ele => ele[key] === val);\n}\n\nfunction countNines(min, len) {\n return Number(String(min).slice(0, -len) + '9'.repeat(len));\n}\n\nfunction countZeros(integer, zeros) {\n return integer - (integer % Math.pow(10, zeros));\n}\n\nfunction toQuantifier(digits) {\n let [start = 0, stop = ''] = digits;\n if (stop || start > 1) {\n return `{${start + (stop ? ',' + stop : '')}}`;\n }\n return '';\n}\n\nfunction toCharacterClass(a, b, options) {\n return `[${a}${(b - a === 1) ? '' : '-'}${b}]`;\n}\n\nfunction hasPadding(str) {\n return /^-?(0+)\\d/.test(str);\n}\n\nfunction padZeros(value, tok, options) {\n if (!tok.isPadded) {\n return value;\n }\n\n let diff = Math.abs(tok.maxLen - String(value).length);\n let relax = options.relaxZeros !== false;\n\n switch (diff) {\n case 0:\n return '';\n case 1:\n return relax ? '0?' : '0';\n case 2:\n return relax ? '0{0,2}' : '00';\n default: {\n return relax ? `0{0,${diff}}` : `0{${diff}}`;\n }\n }\n}\n\n/**\n * Cache\n */\n\ntoRegexRange.cache = {};\ntoRegexRange.clearCache = () => (toRegexRange.cache = {});\n\n/**\n * Expose `toRegexRange`\n */\n\nmodule.exports = toRegexRange;\n","var parser = require('./lib/parser');\nvar compiler = require('./lib/compiler');\n\nmodule.exports = {\n parse: function(input) {\n var nodes = parser.parse(input.toString());\n return compiler.compile(nodes);\n }\n};\n","\"use strict\";\nfunction compile(nodes) {\n var assignedPaths = [];\n var valueAssignments = [];\n var currentPath = \"\";\n var data = Object.create(null);\n var context = data;\n var arrayMode = false;\n\n return reduce(nodes);\n\n function reduce(nodes) {\n var node;\n for (var i = 0; i < nodes.length; i++) {\n node = nodes[i];\n switch (node.type) {\n case \"Assign\":\n assign(node);\n break;\n case \"ObjectPath\":\n setPath(node);\n break;\n case \"ArrayPath\":\n addTableArray(node);\n break;\n }\n }\n\n return data;\n }\n\n function genError(err, line, col) {\n var ex = new Error(err);\n ex.line = line;\n ex.column = col;\n throw ex;\n }\n\n function assign(node) {\n var key = node.key;\n var value = node.value;\n var line = node.line;\n var column = node.column;\n\n var fullPath;\n if (currentPath) {\n fullPath = currentPath + \".\" + key;\n } else {\n fullPath = key;\n }\n if (typeof context[key] !== \"undefined\") {\n genError(\"Cannot redefine existing key '\" + fullPath + \"'.\", line, column);\n }\n\n context[key] = reduceValueNode(value);\n\n if (!pathAssigned(fullPath)) {\n assignedPaths.push(fullPath);\n valueAssignments.push(fullPath);\n }\n }\n\n\n function pathAssigned(path) {\n return assignedPaths.indexOf(path) !== -1;\n }\n\n function reduceValueNode(node) {\n if (node.type === \"Array\") {\n return reduceArrayWithTypeChecking(node.value);\n } else if (node.type === \"InlineTable\") {\n return reduceInlineTableNode(node.value);\n } else {\n return node.value;\n }\n }\n\n function reduceInlineTableNode(values) {\n var obj = Object.create(null);\n for (var i = 0; i < values.length; i++) {\n var val = values[i];\n if (val.value.type === \"InlineTable\") {\n obj[val.key] = reduceInlineTableNode(val.value.value);\n } else if (val.type === \"InlineTableValue\") {\n obj[val.key] = reduceValueNode(val.value);\n }\n }\n\n return obj;\n }\n\n function setPath(node) {\n var path = node.value;\n var quotedPath = path.map(quoteDottedString).join(\".\");\n var line = node.line;\n var column = node.column;\n\n if (pathAssigned(quotedPath)) {\n genError(\"Cannot redefine existing key '\" + path + \"'.\", line, column);\n }\n assignedPaths.push(quotedPath);\n context = deepRef(data, path, Object.create(null), line, column);\n currentPath = path;\n }\n\n function addTableArray(node) {\n var path = node.value;\n var quotedPath = path.map(quoteDottedString).join(\".\");\n var line = node.line;\n var column = node.column;\n\n if (!pathAssigned(quotedPath)) {\n assignedPaths.push(quotedPath);\n }\n assignedPaths = assignedPaths.filter(function(p) {\n return p.indexOf(quotedPath) !== 0;\n });\n assignedPaths.push(quotedPath);\n context = deepRef(data, path, [], line, column);\n currentPath = quotedPath;\n\n if (context instanceof Array) {\n var newObj = Object.create(null);\n context.push(newObj);\n context = newObj;\n } else {\n genError(\"Cannot redefine existing key '\" + path + \"'.\", line, column);\n }\n }\n\n // Given a path 'a.b.c', create (as necessary) `start.a`,\n // `start.a.b`, and `start.a.b.c`, assigning `value` to `start.a.b.c`.\n // If `a` or `b` are arrays and have items in them, the last item in the\n // array is used as the context for the next sub-path.\n function deepRef(start, keys, value, line, column) {\n var traversed = [];\n var traversedPath = \"\";\n var path = keys.join(\".\");\n var ctx = start;\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n traversed.push(key);\n traversedPath = traversed.join(\".\");\n if (typeof ctx[key] === \"undefined\") {\n if (i === keys.length - 1) {\n ctx[key] = value;\n } else {\n ctx[key] = Object.create(null);\n }\n } else if (i !== keys.length - 1 && valueAssignments.indexOf(traversedPath) > -1) {\n // already a non-object value at key, can't be used as part of a new path\n genError(\"Cannot redefine existing key '\" + traversedPath + \"'.\", line, column);\n }\n\n ctx = ctx[key];\n if (ctx instanceof Array && ctx.length && i < keys.length - 1) {\n ctx = ctx[ctx.length - 1];\n }\n }\n\n return ctx;\n }\n\n function reduceArrayWithTypeChecking(array) {\n // Ensure that all items in the array are of the same type\n var firstType = null;\n for (var i = 0; i < array.length; i++) {\n var node = array[i];\n if (firstType === null) {\n firstType = node.type;\n } else {\n if (node.type !== firstType) {\n genError(\"Cannot add value of type \" + node.type + \" to array of type \" +\n firstType + \".\", node.line, node.column);\n }\n }\n }\n\n // Recursively reduce array of nodes into array of the nodes' values\n return array.map(reduceValueNode);\n }\n\n function quoteDottedString(str) {\n if (str.indexOf(\".\") > -1) {\n return \"\\\"\" + str + \"\\\"\";\n } else {\n return str;\n }\n }\n}\n\nmodule.exports = {\n compile: compile\n};\n","module.exports = (function() {\n /*\n * Generated by PEG.js 0.8.0.\n *\n * http://pegjs.majda.cz/\n */\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function SyntaxError(message, expected, found, offset, line, column) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.offset = offset;\n this.line = line;\n this.column = column;\n\n this.name = \"SyntaxError\";\n }\n\n peg$subclass(SyntaxError, Error);\n\n function parse(input) {\n var options = arguments.length > 1 ? arguments[1] : {},\n\n peg$FAILED = {},\n\n peg$startRuleFunctions = { start: peg$parsestart },\n peg$startRuleFunction = peg$parsestart,\n\n peg$c0 = [],\n peg$c1 = function() { return nodes },\n peg$c2 = peg$FAILED,\n peg$c3 = \"#\",\n peg$c4 = { type: \"literal\", value: \"#\", description: \"\\\"#\\\"\" },\n peg$c5 = void 0,\n peg$c6 = { type: \"any\", description: \"any character\" },\n peg$c7 = \"[\",\n peg$c8 = { type: \"literal\", value: \"[\", description: \"\\\"[\\\"\" },\n peg$c9 = \"]\",\n peg$c10 = { type: \"literal\", value: \"]\", description: \"\\\"]\\\"\" },\n peg$c11 = function(name) { addNode(node('ObjectPath', name, line, column)) },\n peg$c12 = function(name) { addNode(node('ArrayPath', name, line, column)) },\n peg$c13 = function(parts, name) { return parts.concat(name) },\n peg$c14 = function(name) { return [name] },\n peg$c15 = function(name) { return name },\n peg$c16 = \".\",\n peg$c17 = { type: \"literal\", value: \".\", description: \"\\\".\\\"\" },\n peg$c18 = \"=\",\n peg$c19 = { type: \"literal\", value: \"=\", description: \"\\\"=\\\"\" },\n peg$c20 = function(key, value) { addNode(node('Assign', value, line, column, key)) },\n peg$c21 = function(chars) { return chars.join('') },\n peg$c22 = function(node) { return node.value },\n peg$c23 = \"\\\"\\\"\\\"\",\n peg$c24 = { type: \"literal\", value: \"\\\"\\\"\\\"\", description: \"\\\"\\\\\\\"\\\\\\\"\\\\\\\"\\\"\" },\n peg$c25 = null,\n peg$c26 = function(chars) { return node('String', chars.join(''), line, column) },\n peg$c27 = \"\\\"\",\n peg$c28 = { type: \"literal\", value: \"\\\"\", description: \"\\\"\\\\\\\"\\\"\" },\n peg$c29 = \"'''\",\n peg$c30 = { type: \"literal\", value: \"'''\", description: \"\\\"'''\\\"\" },\n peg$c31 = \"'\",\n peg$c32 = { type: \"literal\", value: \"'\", description: \"\\\"'\\\"\" },\n peg$c33 = function(char) { return char },\n peg$c34 = function(char) { return char},\n peg$c35 = \"\\\\\",\n peg$c36 = { type: \"literal\", value: \"\\\\\", description: \"\\\"\\\\\\\\\\\"\" },\n peg$c37 = function() { return '' },\n peg$c38 = \"e\",\n peg$c39 = { type: \"literal\", value: \"e\", description: \"\\\"e\\\"\" },\n peg$c40 = \"E\",\n peg$c41 = { type: \"literal\", value: \"E\", description: \"\\\"E\\\"\" },\n peg$c42 = function(left, right) { return node('Float', parseFloat(left + 'e' + right), line, column) },\n peg$c43 = function(text) { return node('Float', parseFloat(text), line, column) },\n peg$c44 = \"+\",\n peg$c45 = { type: \"literal\", value: \"+\", description: \"\\\"+\\\"\" },\n peg$c46 = function(digits) { return digits.join('') },\n peg$c47 = \"-\",\n peg$c48 = { type: \"literal\", value: \"-\", description: \"\\\"-\\\"\" },\n peg$c49 = function(digits) { return '-' + digits.join('') },\n peg$c50 = function(text) { return node('Integer', parseInt(text, 10), line, column) },\n peg$c51 = \"true\",\n peg$c52 = { type: \"literal\", value: \"true\", description: \"\\\"true\\\"\" },\n peg$c53 = function() { return node('Boolean', true, line, column) },\n peg$c54 = \"false\",\n peg$c55 = { type: \"literal\", value: \"false\", description: \"\\\"false\\\"\" },\n peg$c56 = function() { return node('Boolean', false, line, column) },\n peg$c57 = function() { return node('Array', [], line, column) },\n peg$c58 = function(value) { return node('Array', value ? [value] : [], line, column) },\n peg$c59 = function(values) { return node('Array', values, line, column) },\n peg$c60 = function(values, value) { return node('Array', values.concat(value), line, column) },\n peg$c61 = function(value) { return value },\n peg$c62 = \",\",\n peg$c63 = { type: \"literal\", value: \",\", description: \"\\\",\\\"\" },\n peg$c64 = \"{\",\n peg$c65 = { type: \"literal\", value: \"{\", description: \"\\\"{\\\"\" },\n peg$c66 = \"}\",\n peg$c67 = { type: \"literal\", value: \"}\", description: \"\\\"}\\\"\" },\n peg$c68 = function(values) { return node('InlineTable', values, line, column) },\n peg$c69 = function(key, value) { return node('InlineTableValue', value, line, column, key) },\n peg$c70 = function(digits) { return \".\" + digits },\n peg$c71 = function(date) { return date.join('') },\n peg$c72 = \":\",\n peg$c73 = { type: \"literal\", value: \":\", description: \"\\\":\\\"\" },\n peg$c74 = function(time) { return time.join('') },\n peg$c75 = \"T\",\n peg$c76 = { type: \"literal\", value: \"T\", description: \"\\\"T\\\"\" },\n peg$c77 = \"Z\",\n peg$c78 = { type: \"literal\", value: \"Z\", description: \"\\\"Z\\\"\" },\n peg$c79 = function(date, time) { return node('Date', new Date(date + \"T\" + time + \"Z\"), line, column) },\n peg$c80 = function(date, time) { return node('Date', new Date(date + \"T\" + time), line, column) },\n peg$c81 = /^[ \\t]/,\n peg$c82 = { type: \"class\", value: \"[ \\\\t]\", description: \"[ \\\\t]\" },\n peg$c83 = \"\\n\",\n peg$c84 = { type: \"literal\", value: \"\\n\", description: \"\\\"\\\\n\\\"\" },\n peg$c85 = \"\\r\",\n peg$c86 = { type: \"literal\", value: \"\\r\", description: \"\\\"\\\\r\\\"\" },\n peg$c87 = /^[0-9a-f]/i,\n peg$c88 = { type: \"class\", value: \"[0-9a-f]i\", description: \"[0-9a-f]i\" },\n peg$c89 = /^[0-9]/,\n peg$c90 = { type: \"class\", value: \"[0-9]\", description: \"[0-9]\" },\n peg$c91 = \"_\",\n peg$c92 = { type: \"literal\", value: \"_\", description: \"\\\"_\\\"\" },\n peg$c93 = function() { return \"\" },\n peg$c94 = /^[A-Za-z0-9_\\-]/,\n peg$c95 = { type: \"class\", value: \"[A-Za-z0-9_\\\\-]\", description: \"[A-Za-z0-9_\\\\-]\" },\n peg$c96 = function(d) { return d.join('') },\n peg$c97 = \"\\\\\\\"\",\n peg$c98 = { type: \"literal\", value: \"\\\\\\\"\", description: \"\\\"\\\\\\\\\\\\\\\"\\\"\" },\n peg$c99 = function() { return '\"' },\n peg$c100 = \"\\\\\\\\\",\n peg$c101 = { type: \"literal\", value: \"\\\\\\\\\", description: \"\\\"\\\\\\\\\\\\\\\\\\\"\" },\n peg$c102 = function() { return '\\\\' },\n peg$c103 = \"\\\\b\",\n peg$c104 = { type: \"literal\", value: \"\\\\b\", description: \"\\\"\\\\\\\\b\\\"\" },\n peg$c105 = function() { return '\\b' },\n peg$c106 = \"\\\\t\",\n peg$c107 = { type: \"literal\", value: \"\\\\t\", description: \"\\\"\\\\\\\\t\\\"\" },\n peg$c108 = function() { return '\\t' },\n peg$c109 = \"\\\\n\",\n peg$c110 = { type: \"literal\", value: \"\\\\n\", description: \"\\\"\\\\\\\\n\\\"\" },\n peg$c111 = function() { return '\\n' },\n peg$c112 = \"\\\\f\",\n peg$c113 = { type: \"literal\", value: \"\\\\f\", description: \"\\\"\\\\\\\\f\\\"\" },\n peg$c114 = function() { return '\\f' },\n peg$c115 = \"\\\\r\",\n peg$c116 = { type: \"literal\", value: \"\\\\r\", description: \"\\\"\\\\\\\\r\\\"\" },\n peg$c117 = function() { return '\\r' },\n peg$c118 = \"\\\\U\",\n peg$c119 = { type: \"literal\", value: \"\\\\U\", description: \"\\\"\\\\\\\\U\\\"\" },\n peg$c120 = function(digits) { return convertCodePoint(digits.join('')) },\n peg$c121 = \"\\\\u\",\n peg$c122 = { type: \"literal\", value: \"\\\\u\", description: \"\\\"\\\\\\\\u\\\"\" },\n\n peg$currPos = 0,\n peg$reportedPos = 0,\n peg$cachedPos = 0,\n peg$cachedPosDetails = { line: 1, column: 1, seenCR: false },\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$cache = {},\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$reportedPos, peg$currPos);\n }\n\n function offset() {\n return peg$reportedPos;\n }\n\n function line() {\n return peg$computePosDetails(peg$reportedPos).line;\n }\n\n function column() {\n return peg$computePosDetails(peg$reportedPos).column;\n }\n\n function expected(description) {\n throw peg$buildException(\n null,\n [{ type: \"other\", description: description }],\n peg$reportedPos\n );\n }\n\n function error(message) {\n throw peg$buildException(message, null, peg$reportedPos);\n }\n\n function peg$computePosDetails(pos) {\n function advance(details, startPos, endPos) {\n var p, ch;\n\n for (p = startPos; p < endPos; p++) {\n ch = input.charAt(p);\n if (ch === \"\\n\") {\n if (!details.seenCR) { details.line++; }\n details.column = 1;\n details.seenCR = false;\n } else if (ch === \"\\r\" || ch === \"\\u2028\" || ch === \"\\u2029\") {\n details.line++;\n details.column = 1;\n details.seenCR = true;\n } else {\n details.column++;\n details.seenCR = false;\n }\n }\n }\n\n if (peg$cachedPos !== pos) {\n if (peg$cachedPos > pos) {\n peg$cachedPos = 0;\n peg$cachedPosDetails = { line: 1, column: 1, seenCR: false };\n }\n advance(peg$cachedPosDetails, peg$cachedPos, pos);\n peg$cachedPos = pos;\n }\n\n return peg$cachedPosDetails;\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildException(message, expected, pos) {\n function cleanupExpected(expected) {\n var i = 1;\n\n expected.sort(function(a, b) {\n if (a.description < b.description) {\n return -1;\n } else if (a.description > b.description) {\n return 1;\n } else {\n return 0;\n }\n });\n\n while (i < expected.length) {\n if (expected[i - 1] === expected[i]) {\n expected.splice(i, 1);\n } else {\n i++;\n }\n }\n }\n\n function buildMessage(expected, found) {\n function stringEscape(s) {\n function hex(ch) { return ch.charCodeAt(0).toString(16).toUpperCase(); }\n\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\x08/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x07\\x0B\\x0E\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x80-\\xFF]/g, function(ch) { return '\\\\x' + hex(ch); })\n .replace(/[\\u0180-\\u0FFF]/g, function(ch) { return '\\\\u0' + hex(ch); })\n .replace(/[\\u1080-\\uFFFF]/g, function(ch) { return '\\\\u' + hex(ch); });\n }\n\n var expectedDescs = new Array(expected.length),\n expectedDesc, foundDesc, i;\n\n for (i = 0; i < expected.length; i++) {\n expectedDescs[i] = expected[i].description;\n }\n\n expectedDesc = expected.length > 1\n ? expectedDescs.slice(0, -1).join(\", \")\n + \" or \"\n + expectedDescs[expected.length - 1]\n : expectedDescs[0];\n\n foundDesc = found ? \"\\\"\" + stringEscape(found) + \"\\\"\" : \"end of input\";\n\n return \"Expected \" + expectedDesc + \" but \" + foundDesc + \" found.\";\n }\n\n var posDetails = peg$computePosDetails(pos),\n found = pos < input.length ? input.charAt(pos) : null;\n\n if (expected !== null) {\n cleanupExpected(expected);\n }\n\n return new SyntaxError(\n message !== null ? message : buildMessage(expected, found),\n expected,\n found,\n pos,\n posDetails.line,\n posDetails.column\n );\n }\n\n function peg$parsestart() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 0,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseline();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseline();\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c1();\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseline() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n var key = peg$currPos * 49 + 1,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseexpression();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parsecomment();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parsecomment();\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseNL();\n if (s6 !== peg$FAILED) {\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseNL();\n }\n } else {\n s5 = peg$c2;\n }\n if (s5 === peg$FAILED) {\n s5 = peg$parseEOF();\n }\n if (s5 !== peg$FAILED) {\n s1 = [s1, s2, s3, s4, s5];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseNL();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseNL();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 === peg$FAILED) {\n s2 = peg$parseEOF();\n }\n if (s2 !== peg$FAILED) {\n s1 = [s1, s2];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$parseNL();\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseexpression() {\n var s0;\n\n var key = peg$currPos * 49 + 2,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parsecomment();\n if (s0 === peg$FAILED) {\n s0 = peg$parsepath();\n if (s0 === peg$FAILED) {\n s0 = peg$parsetablearray();\n if (s0 === peg$FAILED) {\n s0 = peg$parseassignment();\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsecomment() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 3,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 35) {\n s1 = peg$c3;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$currPos;\n s4 = peg$currPos;\n peg$silentFails++;\n s5 = peg$parseNL();\n if (s5 === peg$FAILED) {\n s5 = peg$parseEOF();\n }\n peg$silentFails--;\n if (s5 === peg$FAILED) {\n s4 = peg$c5;\n } else {\n peg$currPos = s4;\n s4 = peg$c2;\n }\n if (s4 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s5 !== peg$FAILED) {\n s4 = [s4, s5];\n s3 = s4;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$currPos;\n s4 = peg$currPos;\n peg$silentFails++;\n s5 = peg$parseNL();\n if (s5 === peg$FAILED) {\n s5 = peg$parseEOF();\n }\n peg$silentFails--;\n if (s5 === peg$FAILED) {\n s4 = peg$c5;\n } else {\n peg$currPos = s4;\n s4 = peg$c2;\n }\n if (s4 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s5 !== peg$FAILED) {\n s4 = [s4, s5];\n s3 = s4;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n }\n if (s2 !== peg$FAILED) {\n s1 = [s1, s2];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsepath() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 4,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsetable_key();\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s5 = peg$c9;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c11(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetablearray() {\n var s0, s1, s2, s3, s4, s5, s6, s7;\n\n var key = peg$currPos * 49 + 5,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 91) {\n s2 = peg$c7;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n s4 = peg$parsetable_key();\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s6 = peg$c9;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s7 = peg$c9;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s7 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c12(s4);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetable_key() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 6,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsedot_ended_table_key_part();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsedot_ended_table_key_part();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsetable_key_part();\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c13(s1, s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsetable_key_part();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c14(s1);\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetable_key_part() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 7,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsequoted_key();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedot_ended_table_key_part() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n var key = peg$currPos * 49 + 8,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsequoted_key();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseassignment() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 9,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsekey();\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s3 = peg$c18;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parsevalue();\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c20(s1, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsequoted_key();\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s3 = peg$c18;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parsevalue();\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c20(s1, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsekey() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 10,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseASCII_BASIC();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseASCII_BASIC();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c21(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsequoted_key() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 11,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsedouble_quoted_single_line_string();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c22(s1);\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsesingle_quoted_single_line_string();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c22(s1);\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsevalue() {\n var s0;\n\n var key = peg$currPos * 49 + 12,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parsestring();\n if (s0 === peg$FAILED) {\n s0 = peg$parsedatetime();\n if (s0 === peg$FAILED) {\n s0 = peg$parsefloat();\n if (s0 === peg$FAILED) {\n s0 = peg$parseinteger();\n if (s0 === peg$FAILED) {\n s0 = peg$parseboolean();\n if (s0 === peg$FAILED) {\n s0 = peg$parsearray();\n if (s0 === peg$FAILED) {\n s0 = peg$parseinline_table();\n }\n }\n }\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsestring() {\n var s0;\n\n var key = peg$currPos * 49 + 13,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parsedouble_quoted_multiline_string();\n if (s0 === peg$FAILED) {\n s0 = peg$parsedouble_quoted_single_line_string();\n if (s0 === peg$FAILED) {\n s0 = peg$parsesingle_quoted_multiline_string();\n if (s0 === peg$FAILED) {\n s0 = peg$parsesingle_quoted_single_line_string();\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedouble_quoted_multiline_string() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 14,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 3) === peg$c23) {\n s1 = peg$c23;\n peg$currPos += 3;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c24); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseNL();\n if (s2 === peg$FAILED) {\n s2 = peg$c25;\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsemultiline_string_char();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsemultiline_string_char();\n }\n if (s3 !== peg$FAILED) {\n if (input.substr(peg$currPos, 3) === peg$c23) {\n s4 = peg$c23;\n peg$currPos += 3;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c24); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedouble_quoted_single_line_string() {\n var s0, s1, s2, s3;\n\n var key = peg$currPos * 49 + 15,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 34) {\n s1 = peg$c27;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c28); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsestring_char();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsestring_char();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 34) {\n s3 = peg$c27;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c28); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsesingle_quoted_multiline_string() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 16,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 3) === peg$c29) {\n s1 = peg$c29;\n peg$currPos += 3;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c30); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseNL();\n if (s2 === peg$FAILED) {\n s2 = peg$c25;\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsemultiline_literal_char();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsemultiline_literal_char();\n }\n if (s3 !== peg$FAILED) {\n if (input.substr(peg$currPos, 3) === peg$c29) {\n s4 = peg$c29;\n peg$currPos += 3;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c30); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsesingle_quoted_single_line_string() {\n var s0, s1, s2, s3;\n\n var key = peg$currPos * 49 + 17,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 39) {\n s1 = peg$c31;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c32); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseliteral_char();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseliteral_char();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 39) {\n s3 = peg$c31;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c32); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsestring_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 18,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseESCAPED();\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 34) {\n s2 = peg$c27;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c28); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c33(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseliteral_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 19,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 39) {\n s2 = peg$c31;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c32); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c33(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsemultiline_string_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 20,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseESCAPED();\n if (s0 === peg$FAILED) {\n s0 = peg$parsemultiline_string_delim();\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.substr(peg$currPos, 3) === peg$c23) {\n s2 = peg$c23;\n peg$currPos += 3;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c24); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c34(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsemultiline_string_delim() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 21,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 92) {\n s1 = peg$c35;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c36); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseNL();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseNLS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseNLS();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c37();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsemultiline_literal_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 22,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.substr(peg$currPos, 3) === peg$c29) {\n s2 = peg$c29;\n peg$currPos += 3;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c30); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c33(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsefloat() {\n var s0, s1, s2, s3;\n\n var key = peg$currPos * 49 + 23,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsefloat_text();\n if (s1 === peg$FAILED) {\n s1 = peg$parseinteger_text();\n }\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 101) {\n s2 = peg$c38;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c39); }\n }\n if (s2 === peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 69) {\n s2 = peg$c40;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c41); }\n }\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parseinteger_text();\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c42(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsefloat_text();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c43(s1);\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsefloat_text() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 24,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 43) {\n s1 = peg$c44;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c45); }\n }\n if (s1 === peg$FAILED) {\n s1 = peg$c25;\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseDIGITS();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGITS();\n if (s5 !== peg$FAILED) {\n s3 = [s3, s4, s5];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c46(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 45) {\n s1 = peg$c47;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseDIGITS();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGITS();\n if (s5 !== peg$FAILED) {\n s3 = [s3, s4, s5];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c49(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinteger() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 25,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parseinteger_text();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c50(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinteger_text() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 26,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 43) {\n s1 = peg$c44;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c45); }\n }\n if (s1 === peg$FAILED) {\n s1 = peg$c25;\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseDIGIT_OR_UNDER();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = peg$c5;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c46(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 45) {\n s1 = peg$c47;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseDIGIT_OR_UNDER();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = peg$c5;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c49(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseboolean() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 27,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 4) === peg$c51) {\n s1 = peg$c51;\n peg$currPos += 4;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c52); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c53();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 5) === peg$c54) {\n s1 = peg$c54;\n peg$currPos += 5;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c55); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c56();\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 28,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsearray_sep();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsearray_sep();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c9;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c57();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsearray_value();\n if (s2 === peg$FAILED) {\n s2 = peg$c25;\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c9;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c58(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsearray_value_list();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsearray_value_list();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c9;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c59(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsearray_value_list();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsearray_value_list();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsearray_value();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s4 = peg$c9;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c60(s2, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray_value() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 29,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsearray_sep();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsearray_sep();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsevalue();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsearray_sep();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsearray_sep();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c61(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray_value_list() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n var key = peg$currPos * 49 + 30,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsearray_sep();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsearray_sep();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsevalue();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsearray_sep();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsearray_sep();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s4 = peg$c62;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c63); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parsearray_sep();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parsearray_sep();\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c61(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray_sep() {\n var s0;\n\n var key = peg$currPos * 49 + 31,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseS();\n if (s0 === peg$FAILED) {\n s0 = peg$parseNL();\n if (s0 === peg$FAILED) {\n s0 = peg$parsecomment();\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinline_table() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 32,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c64;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c65); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseinline_table_assignment();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseinline_table_assignment();\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s5 = peg$c66;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c67); }\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c68(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinline_table_assignment() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;\n\n var key = peg$currPos * 49 + 33,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s4 = peg$c18;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n s6 = peg$parsevalue();\n if (s6 !== peg$FAILED) {\n s7 = [];\n s8 = peg$parseS();\n while (s8 !== peg$FAILED) {\n s7.push(s8);\n s8 = peg$parseS();\n }\n if (s7 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s8 = peg$c62;\n peg$currPos++;\n } else {\n s8 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c63); }\n }\n if (s8 !== peg$FAILED) {\n s9 = [];\n s10 = peg$parseS();\n while (s10 !== peg$FAILED) {\n s9.push(s10);\n s10 = peg$parseS();\n }\n if (s9 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c69(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s4 = peg$c18;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n s6 = peg$parsevalue();\n if (s6 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c69(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsesecfragment() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 34,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 46) {\n s1 = peg$c16;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseDIGITS();\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c70(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedate() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;\n\n var key = peg$currPos * 49 + 35,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n s4 = peg$parseDIGIT_OR_UNDER();\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGIT_OR_UNDER();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 45) {\n s6 = peg$c47;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s6 !== peg$FAILED) {\n s7 = peg$parseDIGIT_OR_UNDER();\n if (s7 !== peg$FAILED) {\n s8 = peg$parseDIGIT_OR_UNDER();\n if (s8 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 45) {\n s9 = peg$c47;\n peg$currPos++;\n } else {\n s9 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s9 !== peg$FAILED) {\n s10 = peg$parseDIGIT_OR_UNDER();\n if (s10 !== peg$FAILED) {\n s11 = peg$parseDIGIT_OR_UNDER();\n if (s11 !== peg$FAILED) {\n s2 = [s2, s3, s4, s5, s6, s7, s8, s9, s10, s11];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c71(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetime() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;\n\n var key = peg$currPos * 49 + 36,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s4 = peg$c72;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGIT_OR_UNDER();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseDIGIT_OR_UNDER();\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s7 = peg$c72;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s7 !== peg$FAILED) {\n s8 = peg$parseDIGIT_OR_UNDER();\n if (s8 !== peg$FAILED) {\n s9 = peg$parseDIGIT_OR_UNDER();\n if (s9 !== peg$FAILED) {\n s10 = peg$parsesecfragment();\n if (s10 === peg$FAILED) {\n s10 = peg$c25;\n }\n if (s10 !== peg$FAILED) {\n s2 = [s2, s3, s4, s5, s6, s7, s8, s9, s10];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c74(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetime_with_offset() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16;\n\n var key = peg$currPos * 49 + 37,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s4 = peg$c72;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGIT_OR_UNDER();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseDIGIT_OR_UNDER();\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s7 = peg$c72;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s7 !== peg$FAILED) {\n s8 = peg$parseDIGIT_OR_UNDER();\n if (s8 !== peg$FAILED) {\n s9 = peg$parseDIGIT_OR_UNDER();\n if (s9 !== peg$FAILED) {\n s10 = peg$parsesecfragment();\n if (s10 === peg$FAILED) {\n s10 = peg$c25;\n }\n if (s10 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 45) {\n s11 = peg$c47;\n peg$currPos++;\n } else {\n s11 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s11 === peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 43) {\n s11 = peg$c44;\n peg$currPos++;\n } else {\n s11 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c45); }\n }\n }\n if (s11 !== peg$FAILED) {\n s12 = peg$parseDIGIT_OR_UNDER();\n if (s12 !== peg$FAILED) {\n s13 = peg$parseDIGIT_OR_UNDER();\n if (s13 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s14 = peg$c72;\n peg$currPos++;\n } else {\n s14 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s14 !== peg$FAILED) {\n s15 = peg$parseDIGIT_OR_UNDER();\n if (s15 !== peg$FAILED) {\n s16 = peg$parseDIGIT_OR_UNDER();\n if (s16 !== peg$FAILED) {\n s2 = [s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c74(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedatetime() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 38,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsedate();\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 84) {\n s2 = peg$c75;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c76); }\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsetime();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 90) {\n s4 = peg$c77;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c78); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c79(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsedate();\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 84) {\n s2 = peg$c75;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c76); }\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsetime_with_offset();\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c80(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseS() {\n var s0;\n\n var key = peg$currPos * 49 + 39,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c81.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c82); }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseNL() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 40,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (input.charCodeAt(peg$currPos) === 10) {\n s0 = peg$c83;\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c84); }\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 13) {\n s1 = peg$c85;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c86); }\n }\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 10) {\n s2 = peg$c83;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c84); }\n }\n if (s2 !== peg$FAILED) {\n s1 = [s1, s2];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseNLS() {\n var s0;\n\n var key = peg$currPos * 49 + 41,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseNL();\n if (s0 === peg$FAILED) {\n s0 = peg$parseS();\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseEOF() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 42,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n peg$silentFails++;\n if (input.length > peg$currPos) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n peg$silentFails--;\n if (s1 === peg$FAILED) {\n s0 = peg$c5;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseHEX() {\n var s0;\n\n var key = peg$currPos * 49 + 43,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c87.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c88); }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseDIGIT_OR_UNDER() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 44,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c89.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c90); }\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 95) {\n s1 = peg$c91;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c92); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c93();\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseASCII_BASIC() {\n var s0;\n\n var key = peg$currPos * 49 + 45,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c94.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c95); }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseDIGITS() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 46,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseDIGIT_OR_UNDER();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c96(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseESCAPED() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 47,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c97) {\n s1 = peg$c97;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c98); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c99();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c100) {\n s1 = peg$c100;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c101); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c102();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c103) {\n s1 = peg$c103;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c104); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c105();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c106) {\n s1 = peg$c106;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c107); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c108();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c109) {\n s1 = peg$c109;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c110); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c111();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c112) {\n s1 = peg$c112;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c113); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c114();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c115) {\n s1 = peg$c115;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c116); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c117();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$parseESCAPED_UNICODE();\n }\n }\n }\n }\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseESCAPED_UNICODE() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;\n\n var key = peg$currPos * 49 + 48,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c118) {\n s1 = peg$c118;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c119); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseHEX();\n if (s3 !== peg$FAILED) {\n s4 = peg$parseHEX();\n if (s4 !== peg$FAILED) {\n s5 = peg$parseHEX();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseHEX();\n if (s6 !== peg$FAILED) {\n s7 = peg$parseHEX();\n if (s7 !== peg$FAILED) {\n s8 = peg$parseHEX();\n if (s8 !== peg$FAILED) {\n s9 = peg$parseHEX();\n if (s9 !== peg$FAILED) {\n s10 = peg$parseHEX();\n if (s10 !== peg$FAILED) {\n s3 = [s3, s4, s5, s6, s7, s8, s9, s10];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c120(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c121) {\n s1 = peg$c121;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c122); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseHEX();\n if (s3 !== peg$FAILED) {\n s4 = peg$parseHEX();\n if (s4 !== peg$FAILED) {\n s5 = peg$parseHEX();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseHEX();\n if (s6 !== peg$FAILED) {\n s3 = [s3, s4, s5, s6];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c120(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n\n var nodes = [];\n\n function genError(err, line, col) {\n var ex = new Error(err);\n ex.line = line;\n ex.column = col;\n throw ex;\n }\n\n function addNode(node) {\n nodes.push(node);\n }\n\n function node(type, value, line, column, key) {\n var obj = { type: type, value: value, line: line(), column: column() };\n if (key) obj.key = key;\n return obj;\n }\n\n function convertCodePoint(str, line, col) {\n var num = parseInt(\"0x\" + str);\n\n if (\n !isFinite(num) ||\n Math.floor(num) != num ||\n num < 0 ||\n num > 0x10FFFF ||\n (num > 0xD7FF && num < 0xE000)\n ) {\n genError(\"Invalid Unicode escape code: \" + str, line, col);\n } else {\n return fromCodePoint(num);\n }\n }\n\n function fromCodePoint() {\n var MAX_SIZE = 0x4000;\n var codeUnits = [];\n var highSurrogate;\n var lowSurrogate;\n var index = -1;\n var length = arguments.length;\n if (!length) {\n return '';\n }\n var result = '';\n while (++index < length) {\n var codePoint = Number(arguments[index]);\n if (codePoint <= 0xFFFF) { // BMP code point\n codeUnits.push(codePoint);\n } else { // Astral code point; split in surrogate halves\n // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n highSurrogate = (codePoint >> 10) + 0xD800;\n lowSurrogate = (codePoint % 0x400) + 0xDC00;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 == length || codeUnits.length > MAX_SIZE) {\n result += String.fromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n }\n\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail({ type: \"end\", description: \"end of input\" });\n }\n\n throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos);\n }\n }\n\n return {\n SyntaxError: SyntaxError,\n parse: parse\n };\n})();\n","/**\n * @license\n * web-streams-polyfill v3.3.2\n * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.\n * This code is released under the MIT license.\n * SPDX-License-Identifier: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WebStreamsPolyfill = {}));\n})(this, (function (exports) { 'use strict';\n\n /// \n const SymbolPolyfill = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ?\n Symbol :\n description => `Symbol(${description})`;\n\n function noop() {\n return undefined;\n }\n\n function typeIsObject(x) {\n return (typeof x === 'object' && x !== null) || typeof x === 'function';\n }\n const rethrowAssertionErrorRejection = noop;\n function setFunctionName(fn, name) {\n try {\n Object.defineProperty(fn, 'name', {\n value: name,\n configurable: true\n });\n }\n catch (_a) {\n // This property is non-configurable in older browsers, so ignore if this throws.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility\n }\n }\n\n const originalPromise = Promise;\n const originalPromiseThen = Promise.prototype.then;\n const originalPromiseReject = Promise.reject.bind(originalPromise);\n // https://webidl.spec.whatwg.org/#a-new-promise\n function newPromise(executor) {\n return new originalPromise(executor);\n }\n // https://webidl.spec.whatwg.org/#a-promise-resolved-with\n function promiseResolvedWith(value) {\n return newPromise(resolve => resolve(value));\n }\n // https://webidl.spec.whatwg.org/#a-promise-rejected-with\n function promiseRejectedWith(reason) {\n return originalPromiseReject(reason);\n }\n function PerformPromiseThen(promise, onFulfilled, onRejected) {\n // There doesn't appear to be any way to correctly emulate the behaviour from JavaScript, so this is just an\n // approximation.\n return originalPromiseThen.call(promise, onFulfilled, onRejected);\n }\n // Bluebird logs a warning when a promise is created within a fulfillment handler, but then isn't returned\n // from that handler. To prevent this, return null instead of void from all handlers.\n // http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it\n function uponPromise(promise, onFulfilled, onRejected) {\n PerformPromiseThen(PerformPromiseThen(promise, onFulfilled, onRejected), undefined, rethrowAssertionErrorRejection);\n }\n function uponFulfillment(promise, onFulfilled) {\n uponPromise(promise, onFulfilled);\n }\n function uponRejection(promise, onRejected) {\n uponPromise(promise, undefined, onRejected);\n }\n function transformPromiseWith(promise, fulfillmentHandler, rejectionHandler) {\n return PerformPromiseThen(promise, fulfillmentHandler, rejectionHandler);\n }\n function setPromiseIsHandledToTrue(promise) {\n PerformPromiseThen(promise, undefined, rethrowAssertionErrorRejection);\n }\n let _queueMicrotask = callback => {\n if (typeof queueMicrotask === 'function') {\n _queueMicrotask = queueMicrotask;\n }\n else {\n const resolvedPromise = promiseResolvedWith(undefined);\n _queueMicrotask = cb => PerformPromiseThen(resolvedPromise, cb);\n }\n return _queueMicrotask(callback);\n };\n function reflectCall(F, V, args) {\n if (typeof F !== 'function') {\n throw new TypeError('Argument is not a function');\n }\n return Function.prototype.apply.call(F, V, args);\n }\n function promiseCall(F, V, args) {\n try {\n return promiseResolvedWith(reflectCall(F, V, args));\n }\n catch (value) {\n return promiseRejectedWith(value);\n }\n }\n\n // Original from Chromium\n // https://chromium.googlesource.com/chromium/src/+/0aee4434a4dba42a42abaea9bfbc0cd196a63bc1/third_party/blink/renderer/core/streams/SimpleQueue.js\n const QUEUE_MAX_ARRAY_SIZE = 16384;\n /**\n * Simple queue structure.\n *\n * Avoids scalability issues with using a packed array directly by using\n * multiple arrays in a linked list and keeping the array size bounded.\n */\n class SimpleQueue {\n constructor() {\n this._cursor = 0;\n this._size = 0;\n // _front and _back are always defined.\n this._front = {\n _elements: [],\n _next: undefined\n };\n this._back = this._front;\n // The cursor is used to avoid calling Array.shift().\n // It contains the index of the front element of the array inside the\n // front-most node. It is always in the range [0, QUEUE_MAX_ARRAY_SIZE).\n this._cursor = 0;\n // When there is only one node, size === elements.length - cursor.\n this._size = 0;\n }\n get length() {\n return this._size;\n }\n // For exception safety, this method is structured in order:\n // 1. Read state\n // 2. Calculate required state mutations\n // 3. Perform state mutations\n push(element) {\n const oldBack = this._back;\n let newBack = oldBack;\n if (oldBack._elements.length === QUEUE_MAX_ARRAY_SIZE - 1) {\n newBack = {\n _elements: [],\n _next: undefined\n };\n }\n // push() is the mutation most likely to throw an exception, so it\n // goes first.\n oldBack._elements.push(element);\n if (newBack !== oldBack) {\n this._back = newBack;\n oldBack._next = newBack;\n }\n ++this._size;\n }\n // Like push(), shift() follows the read -> calculate -> mutate pattern for\n // exception safety.\n shift() { // must not be called on an empty queue\n const oldFront = this._front;\n let newFront = oldFront;\n const oldCursor = this._cursor;\n let newCursor = oldCursor + 1;\n const elements = oldFront._elements;\n const element = elements[oldCursor];\n if (newCursor === QUEUE_MAX_ARRAY_SIZE) {\n newFront = oldFront._next;\n newCursor = 0;\n }\n // No mutations before this point.\n --this._size;\n this._cursor = newCursor;\n if (oldFront !== newFront) {\n this._front = newFront;\n }\n // Permit shifted element to be garbage collected.\n elements[oldCursor] = undefined;\n return element;\n }\n // The tricky thing about forEach() is that it can be called\n // re-entrantly. The queue may be mutated inside the callback. It is easy to\n // see that push() within the callback has no negative effects since the end\n // of the queue is checked for on every iteration. If shift() is called\n // repeatedly within the callback then the next iteration may return an\n // element that has been removed. In this case the callback will be called\n // with undefined values until we either \"catch up\" with elements that still\n // exist or reach the back of the queue.\n forEach(callback) {\n let i = this._cursor;\n let node = this._front;\n let elements = node._elements;\n while (i !== elements.length || node._next !== undefined) {\n if (i === elements.length) {\n node = node._next;\n elements = node._elements;\n i = 0;\n if (elements.length === 0) {\n break;\n }\n }\n callback(elements[i]);\n ++i;\n }\n }\n // Return the element that would be returned if shift() was called now,\n // without modifying the queue.\n peek() { // must not be called on an empty queue\n const front = this._front;\n const cursor = this._cursor;\n return front._elements[cursor];\n }\n }\n\n const AbortSteps = SymbolPolyfill('[[AbortSteps]]');\n const ErrorSteps = SymbolPolyfill('[[ErrorSteps]]');\n const CancelSteps = SymbolPolyfill('[[CancelSteps]]');\n const PullSteps = SymbolPolyfill('[[PullSteps]]');\n const ReleaseSteps = SymbolPolyfill('[[ReleaseSteps]]');\n\n function ReadableStreamReaderGenericInitialize(reader, stream) {\n reader._ownerReadableStream = stream;\n stream._reader = reader;\n if (stream._state === 'readable') {\n defaultReaderClosedPromiseInitialize(reader);\n }\n else if (stream._state === 'closed') {\n defaultReaderClosedPromiseInitializeAsResolved(reader);\n }\n else {\n defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError);\n }\n }\n // A client of ReadableStreamDefaultReader and ReadableStreamBYOBReader may use these functions directly to bypass state\n // check.\n function ReadableStreamReaderGenericCancel(reader, reason) {\n const stream = reader._ownerReadableStream;\n return ReadableStreamCancel(stream, reason);\n }\n function ReadableStreamReaderGenericRelease(reader) {\n const stream = reader._ownerReadableStream;\n if (stream._state === 'readable') {\n defaultReaderClosedPromiseReject(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));\n }\n else {\n defaultReaderClosedPromiseResetToRejected(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));\n }\n stream._readableStreamController[ReleaseSteps]();\n stream._reader = undefined;\n reader._ownerReadableStream = undefined;\n }\n // Helper functions for the readers.\n function readerLockException(name) {\n return new TypeError('Cannot ' + name + ' a stream using a released reader');\n }\n // Helper functions for the ReadableStreamDefaultReader.\n function defaultReaderClosedPromiseInitialize(reader) {\n reader._closedPromise = newPromise((resolve, reject) => {\n reader._closedPromise_resolve = resolve;\n reader._closedPromise_reject = reject;\n });\n }\n function defaultReaderClosedPromiseInitializeAsRejected(reader, reason) {\n defaultReaderClosedPromiseInitialize(reader);\n defaultReaderClosedPromiseReject(reader, reason);\n }\n function defaultReaderClosedPromiseInitializeAsResolved(reader) {\n defaultReaderClosedPromiseInitialize(reader);\n defaultReaderClosedPromiseResolve(reader);\n }\n function defaultReaderClosedPromiseReject(reader, reason) {\n if (reader._closedPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(reader._closedPromise);\n reader._closedPromise_reject(reason);\n reader._closedPromise_resolve = undefined;\n reader._closedPromise_reject = undefined;\n }\n function defaultReaderClosedPromiseResetToRejected(reader, reason) {\n defaultReaderClosedPromiseInitializeAsRejected(reader, reason);\n }\n function defaultReaderClosedPromiseResolve(reader) {\n if (reader._closedPromise_resolve === undefined) {\n return;\n }\n reader._closedPromise_resolve(undefined);\n reader._closedPromise_resolve = undefined;\n reader._closedPromise_reject = undefined;\n }\n\n /// \n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill\n const NumberIsFinite = Number.isFinite || function (x) {\n return typeof x === 'number' && isFinite(x);\n };\n\n /// \n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc#Polyfill\n const MathTrunc = Math.trunc || function (v) {\n return v < 0 ? Math.ceil(v) : Math.floor(v);\n };\n\n // https://heycam.github.io/webidl/#idl-dictionaries\n function isDictionary(x) {\n return typeof x === 'object' || typeof x === 'function';\n }\n function assertDictionary(obj, context) {\n if (obj !== undefined && !isDictionary(obj)) {\n throw new TypeError(`${context} is not an object.`);\n }\n }\n // https://heycam.github.io/webidl/#idl-callback-functions\n function assertFunction(x, context) {\n if (typeof x !== 'function') {\n throw new TypeError(`${context} is not a function.`);\n }\n }\n // https://heycam.github.io/webidl/#idl-object\n function isObject(x) {\n return (typeof x === 'object' && x !== null) || typeof x === 'function';\n }\n function assertObject(x, context) {\n if (!isObject(x)) {\n throw new TypeError(`${context} is not an object.`);\n }\n }\n function assertRequiredArgument(x, position, context) {\n if (x === undefined) {\n throw new TypeError(`Parameter ${position} is required in '${context}'.`);\n }\n }\n function assertRequiredField(x, field, context) {\n if (x === undefined) {\n throw new TypeError(`${field} is required in '${context}'.`);\n }\n }\n // https://heycam.github.io/webidl/#idl-unrestricted-double\n function convertUnrestrictedDouble(value) {\n return Number(value);\n }\n function censorNegativeZero(x) {\n return x === 0 ? 0 : x;\n }\n function integerPart(x) {\n return censorNegativeZero(MathTrunc(x));\n }\n // https://heycam.github.io/webidl/#idl-unsigned-long-long\n function convertUnsignedLongLongWithEnforceRange(value, context) {\n const lowerBound = 0;\n const upperBound = Number.MAX_SAFE_INTEGER;\n let x = Number(value);\n x = censorNegativeZero(x);\n if (!NumberIsFinite(x)) {\n throw new TypeError(`${context} is not a finite number`);\n }\n x = integerPart(x);\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(`${context} is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`);\n }\n if (!NumberIsFinite(x) || x === 0) {\n return 0;\n }\n // TODO Use BigInt if supported?\n // let xBigInt = BigInt(integerPart(x));\n // xBigInt = BigInt.asUintN(64, xBigInt);\n // return Number(xBigInt);\n return x;\n }\n\n function assertReadableStream(x, context) {\n if (!IsReadableStream(x)) {\n throw new TypeError(`${context} is not a ReadableStream.`);\n }\n }\n\n // Abstract operations for the ReadableStream.\n function AcquireReadableStreamDefaultReader(stream) {\n return new ReadableStreamDefaultReader(stream);\n }\n // ReadableStream API exposed for controllers.\n function ReadableStreamAddReadRequest(stream, readRequest) {\n stream._reader._readRequests.push(readRequest);\n }\n function ReadableStreamFulfillReadRequest(stream, chunk, done) {\n const reader = stream._reader;\n const readRequest = reader._readRequests.shift();\n if (done) {\n readRequest._closeSteps();\n }\n else {\n readRequest._chunkSteps(chunk);\n }\n }\n function ReadableStreamGetNumReadRequests(stream) {\n return stream._reader._readRequests.length;\n }\n function ReadableStreamHasDefaultReader(stream) {\n const reader = stream._reader;\n if (reader === undefined) {\n return false;\n }\n if (!IsReadableStreamDefaultReader(reader)) {\n return false;\n }\n return true;\n }\n /**\n * A default reader vended by a {@link ReadableStream}.\n *\n * @public\n */\n class ReadableStreamDefaultReader {\n constructor(stream) {\n assertRequiredArgument(stream, 1, 'ReadableStreamDefaultReader');\n assertReadableStream(stream, 'First parameter');\n if (IsReadableStreamLocked(stream)) {\n throw new TypeError('This stream has already been locked for exclusive reading by another reader');\n }\n ReadableStreamReaderGenericInitialize(this, stream);\n this._readRequests = new SimpleQueue();\n }\n /**\n * Returns a promise that will be fulfilled when the stream becomes closed,\n * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing.\n */\n get closed() {\n if (!IsReadableStreamDefaultReader(this)) {\n return promiseRejectedWith(defaultReaderBrandCheckException('closed'));\n }\n return this._closedPromise;\n }\n /**\n * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.\n */\n cancel(reason = undefined) {\n if (!IsReadableStreamDefaultReader(this)) {\n return promiseRejectedWith(defaultReaderBrandCheckException('cancel'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('cancel'));\n }\n return ReadableStreamReaderGenericCancel(this, reason);\n }\n /**\n * Returns a promise that allows access to the next chunk from the stream's internal queue, if available.\n *\n * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source.\n */\n read() {\n if (!IsReadableStreamDefaultReader(this)) {\n return promiseRejectedWith(defaultReaderBrandCheckException('read'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('read from'));\n }\n let resolvePromise;\n let rejectPromise;\n const promise = newPromise((resolve, reject) => {\n resolvePromise = resolve;\n rejectPromise = reject;\n });\n const readRequest = {\n _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),\n _closeSteps: () => resolvePromise({ value: undefined, done: true }),\n _errorSteps: e => rejectPromise(e)\n };\n ReadableStreamDefaultReaderRead(this, readRequest);\n return promise;\n }\n /**\n * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.\n * If the associated stream is errored when the lock is released, the reader will appear errored in the same way\n * from now on; otherwise, the reader will appear closed.\n *\n * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by\n * the reader's {@link ReadableStreamDefaultReader.read | read()} method has not yet been settled. Attempting to\n * do so will throw a `TypeError` and leave the reader locked to the stream.\n */\n releaseLock() {\n if (!IsReadableStreamDefaultReader(this)) {\n throw defaultReaderBrandCheckException('releaseLock');\n }\n if (this._ownerReadableStream === undefined) {\n return;\n }\n ReadableStreamDefaultReaderRelease(this);\n }\n }\n Object.defineProperties(ReadableStreamDefaultReader.prototype, {\n cancel: { enumerable: true },\n read: { enumerable: true },\n releaseLock: { enumerable: true },\n closed: { enumerable: true }\n });\n setFunctionName(ReadableStreamDefaultReader.prototype.cancel, 'cancel');\n setFunctionName(ReadableStreamDefaultReader.prototype.read, 'read');\n setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock, 'releaseLock');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamDefaultReader.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamDefaultReader',\n configurable: true\n });\n }\n // Abstract operations for the readers.\n function IsReadableStreamDefaultReader(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_readRequests')) {\n return false;\n }\n return x instanceof ReadableStreamDefaultReader;\n }\n function ReadableStreamDefaultReaderRead(reader, readRequest) {\n const stream = reader._ownerReadableStream;\n stream._disturbed = true;\n if (stream._state === 'closed') {\n readRequest._closeSteps();\n }\n else if (stream._state === 'errored') {\n readRequest._errorSteps(stream._storedError);\n }\n else {\n stream._readableStreamController[PullSteps](readRequest);\n }\n }\n function ReadableStreamDefaultReaderRelease(reader) {\n ReadableStreamReaderGenericRelease(reader);\n const e = new TypeError('Reader was released');\n ReadableStreamDefaultReaderErrorReadRequests(reader, e);\n }\n function ReadableStreamDefaultReaderErrorReadRequests(reader, e) {\n const readRequests = reader._readRequests;\n reader._readRequests = new SimpleQueue();\n readRequests.forEach(readRequest => {\n readRequest._errorSteps(e);\n });\n }\n // Helper functions for the ReadableStreamDefaultReader.\n function defaultReaderBrandCheckException(name) {\n return new TypeError(`ReadableStreamDefaultReader.prototype.${name} can only be used on a ReadableStreamDefaultReader`);\n }\n\n /// \n /* eslint-disable @typescript-eslint/no-empty-function */\n const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () { }).prototype);\n\n /// \n class ReadableStreamAsyncIteratorImpl {\n constructor(reader, preventCancel) {\n this._ongoingPromise = undefined;\n this._isFinished = false;\n this._reader = reader;\n this._preventCancel = preventCancel;\n }\n next() {\n const nextSteps = () => this._nextSteps();\n this._ongoingPromise = this._ongoingPromise ?\n transformPromiseWith(this._ongoingPromise, nextSteps, nextSteps) :\n nextSteps();\n return this._ongoingPromise;\n }\n return(value) {\n const returnSteps = () => this._returnSteps(value);\n return this._ongoingPromise ?\n transformPromiseWith(this._ongoingPromise, returnSteps, returnSteps) :\n returnSteps();\n }\n _nextSteps() {\n if (this._isFinished) {\n return Promise.resolve({ value: undefined, done: true });\n }\n const reader = this._reader;\n let resolvePromise;\n let rejectPromise;\n const promise = newPromise((resolve, reject) => {\n resolvePromise = resolve;\n rejectPromise = reject;\n });\n const readRequest = {\n _chunkSteps: chunk => {\n this._ongoingPromise = undefined;\n // This needs to be delayed by one microtask, otherwise we stop pulling too early which breaks a test.\n // FIXME Is this a bug in the specification, or in the test?\n _queueMicrotask(() => resolvePromise({ value: chunk, done: false }));\n },\n _closeSteps: () => {\n this._ongoingPromise = undefined;\n this._isFinished = true;\n ReadableStreamReaderGenericRelease(reader);\n resolvePromise({ value: undefined, done: true });\n },\n _errorSteps: reason => {\n this._ongoingPromise = undefined;\n this._isFinished = true;\n ReadableStreamReaderGenericRelease(reader);\n rejectPromise(reason);\n }\n };\n ReadableStreamDefaultReaderRead(reader, readRequest);\n return promise;\n }\n _returnSteps(value) {\n if (this._isFinished) {\n return Promise.resolve({ value, done: true });\n }\n this._isFinished = true;\n const reader = this._reader;\n if (!this._preventCancel) {\n const result = ReadableStreamReaderGenericCancel(reader, value);\n ReadableStreamReaderGenericRelease(reader);\n return transformPromiseWith(result, () => ({ value, done: true }));\n }\n ReadableStreamReaderGenericRelease(reader);\n return promiseResolvedWith({ value, done: true });\n }\n }\n const ReadableStreamAsyncIteratorPrototype = {\n next() {\n if (!IsReadableStreamAsyncIterator(this)) {\n return promiseRejectedWith(streamAsyncIteratorBrandCheckException('next'));\n }\n return this._asyncIteratorImpl.next();\n },\n return(value) {\n if (!IsReadableStreamAsyncIterator(this)) {\n return promiseRejectedWith(streamAsyncIteratorBrandCheckException('return'));\n }\n return this._asyncIteratorImpl.return(value);\n }\n };\n if (AsyncIteratorPrototype !== undefined) {\n Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype);\n }\n // Abstract operations for the ReadableStream.\n function AcquireReadableStreamAsyncIterator(stream, preventCancel) {\n const reader = AcquireReadableStreamDefaultReader(stream);\n const impl = new ReadableStreamAsyncIteratorImpl(reader, preventCancel);\n const iterator = Object.create(ReadableStreamAsyncIteratorPrototype);\n iterator._asyncIteratorImpl = impl;\n return iterator;\n }\n function IsReadableStreamAsyncIterator(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_asyncIteratorImpl')) {\n return false;\n }\n try {\n // noinspection SuspiciousTypeOfGuard\n return x._asyncIteratorImpl instanceof\n ReadableStreamAsyncIteratorImpl;\n }\n catch (_a) {\n return false;\n }\n }\n // Helper functions for the ReadableStream.\n function streamAsyncIteratorBrandCheckException(name) {\n return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`);\n }\n\n /// \n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill\n const NumberIsNaN = Number.isNaN || function (x) {\n // eslint-disable-next-line no-self-compare\n return x !== x;\n };\n\n function CreateArrayFromList(elements) {\n // We use arrays to represent lists, so this is basically a no-op.\n // Do a slice though just in case we happen to depend on the unique-ness.\n return elements.slice();\n }\n function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) {\n new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset);\n }\n let TransferArrayBuffer = (O) => {\n if (typeof O.transfer === 'function') {\n TransferArrayBuffer = buffer => buffer.transfer();\n }\n else if (typeof structuredClone === 'function') {\n TransferArrayBuffer = buffer => structuredClone(buffer, { transfer: [buffer] });\n }\n else {\n // Not implemented correctly\n TransferArrayBuffer = buffer => buffer;\n }\n return TransferArrayBuffer(O);\n };\n let IsDetachedBuffer = (O) => {\n if (typeof O.detached === 'boolean') {\n IsDetachedBuffer = buffer => buffer.detached;\n }\n else {\n // Not implemented correctly\n IsDetachedBuffer = buffer => buffer.byteLength === 0;\n }\n return IsDetachedBuffer(O);\n };\n function ArrayBufferSlice(buffer, begin, end) {\n // ArrayBuffer.prototype.slice is not available on IE10\n // https://www.caniuse.com/mdn-javascript_builtins_arraybuffer_slice\n if (buffer.slice) {\n return buffer.slice(begin, end);\n }\n const length = end - begin;\n const slice = new ArrayBuffer(length);\n CopyDataBlockBytes(slice, 0, buffer, begin, length);\n return slice;\n }\n function GetMethod(receiver, prop) {\n const func = receiver[prop];\n if (func === undefined || func === null) {\n return undefined;\n }\n if (typeof func !== 'function') {\n throw new TypeError(`${String(prop)} is not a function`);\n }\n return func;\n }\n function CreateAsyncFromSyncIterator(syncIteratorRecord) {\n // Instead of re-implementing CreateAsyncFromSyncIterator and %AsyncFromSyncIteratorPrototype%,\n // we use yield* inside an async generator function to achieve the same result.\n // Wrap the sync iterator inside a sync iterable, so we can use it with yield*.\n const syncIterable = {\n [SymbolPolyfill.iterator]: () => syncIteratorRecord.iterator\n };\n // Create an async generator function and immediately invoke it.\n const asyncIterator = (async function* () {\n return yield* syncIterable;\n }());\n // Return as an async iterator record.\n const nextMethod = asyncIterator.next;\n return { iterator: asyncIterator, nextMethod, done: false };\n }\n function GetIterator(obj, hint = 'sync', method) {\n if (method === undefined) {\n if (hint === 'async') {\n method = GetMethod(obj, SymbolPolyfill.asyncIterator);\n if (method === undefined) {\n const syncMethod = GetMethod(obj, SymbolPolyfill.iterator);\n const syncIteratorRecord = GetIterator(obj, 'sync', syncMethod);\n return CreateAsyncFromSyncIterator(syncIteratorRecord);\n }\n }\n else {\n method = GetMethod(obj, SymbolPolyfill.iterator);\n }\n }\n if (method === undefined) {\n throw new TypeError('The object is not iterable');\n }\n const iterator = reflectCall(method, obj, []);\n if (!typeIsObject(iterator)) {\n throw new TypeError('The iterator method must return an object');\n }\n const nextMethod = iterator.next;\n return { iterator, nextMethod, done: false };\n }\n function IteratorNext(iteratorRecord) {\n const result = reflectCall(iteratorRecord.nextMethod, iteratorRecord.iterator, []);\n if (!typeIsObject(result)) {\n throw new TypeError('The iterator.next() method must return an object');\n }\n return result;\n }\n function IteratorComplete(iterResult) {\n return Boolean(iterResult.done);\n }\n function IteratorValue(iterResult) {\n return iterResult.value;\n }\n\n function IsNonNegativeNumber(v) {\n if (typeof v !== 'number') {\n return false;\n }\n if (NumberIsNaN(v)) {\n return false;\n }\n if (v < 0) {\n return false;\n }\n return true;\n }\n function CloneAsUint8Array(O) {\n const buffer = ArrayBufferSlice(O.buffer, O.byteOffset, O.byteOffset + O.byteLength);\n return new Uint8Array(buffer);\n }\n\n function DequeueValue(container) {\n const pair = container._queue.shift();\n container._queueTotalSize -= pair.size;\n if (container._queueTotalSize < 0) {\n container._queueTotalSize = 0;\n }\n return pair.value;\n }\n function EnqueueValueWithSize(container, value, size) {\n if (!IsNonNegativeNumber(size) || size === Infinity) {\n throw new RangeError('Size must be a finite, non-NaN, non-negative number.');\n }\n container._queue.push({ value, size });\n container._queueTotalSize += size;\n }\n function PeekQueueValue(container) {\n const pair = container._queue.peek();\n return pair.value;\n }\n function ResetQueue(container) {\n container._queue = new SimpleQueue();\n container._queueTotalSize = 0;\n }\n\n function isDataViewConstructor(ctor) {\n return ctor === DataView;\n }\n function isDataView(view) {\n return isDataViewConstructor(view.constructor);\n }\n function arrayBufferViewElementSize(ctor) {\n if (isDataViewConstructor(ctor)) {\n return 1;\n }\n return ctor.BYTES_PER_ELEMENT;\n }\n\n /**\n * A pull-into request in a {@link ReadableByteStreamController}.\n *\n * @public\n */\n class ReadableStreamBYOBRequest {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the view for writing in to, or `null` if the BYOB request has already been responded to.\n */\n get view() {\n if (!IsReadableStreamBYOBRequest(this)) {\n throw byobRequestBrandCheckException('view');\n }\n return this._view;\n }\n respond(bytesWritten) {\n if (!IsReadableStreamBYOBRequest(this)) {\n throw byobRequestBrandCheckException('respond');\n }\n assertRequiredArgument(bytesWritten, 1, 'respond');\n bytesWritten = convertUnsignedLongLongWithEnforceRange(bytesWritten, 'First parameter');\n if (this._associatedReadableByteStreamController === undefined) {\n throw new TypeError('This BYOB request has been invalidated');\n }\n if (IsDetachedBuffer(this._view.buffer)) {\n throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`);\n }\n ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController, bytesWritten);\n }\n respondWithNewView(view) {\n if (!IsReadableStreamBYOBRequest(this)) {\n throw byobRequestBrandCheckException('respondWithNewView');\n }\n assertRequiredArgument(view, 1, 'respondWithNewView');\n if (!ArrayBuffer.isView(view)) {\n throw new TypeError('You can only respond with array buffer views');\n }\n if (this._associatedReadableByteStreamController === undefined) {\n throw new TypeError('This BYOB request has been invalidated');\n }\n if (IsDetachedBuffer(view.buffer)) {\n throw new TypeError('The given view\\'s buffer has been detached and so cannot be used as a response');\n }\n ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController, view);\n }\n }\n Object.defineProperties(ReadableStreamBYOBRequest.prototype, {\n respond: { enumerable: true },\n respondWithNewView: { enumerable: true },\n view: { enumerable: true }\n });\n setFunctionName(ReadableStreamBYOBRequest.prototype.respond, 'respond');\n setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView, 'respondWithNewView');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamBYOBRequest.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamBYOBRequest',\n configurable: true\n });\n }\n /**\n * Allows control of a {@link ReadableStream | readable byte stream}'s state and internal queue.\n *\n * @public\n */\n class ReadableByteStreamController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the current BYOB pull request, or `null` if there isn't one.\n */\n get byobRequest() {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('byobRequest');\n }\n return ReadableByteStreamControllerGetBYOBRequest(this);\n }\n /**\n * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is\n * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure.\n */\n get desiredSize() {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('desiredSize');\n }\n return ReadableByteStreamControllerGetDesiredSize(this);\n }\n /**\n * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from\n * the stream, but once those are read, the stream will become closed.\n */\n close() {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('close');\n }\n if (this._closeRequested) {\n throw new TypeError('The stream has already been closed; do not close it again!');\n }\n const state = this._controlledReadableByteStream._state;\n if (state !== 'readable') {\n throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be closed`);\n }\n ReadableByteStreamControllerClose(this);\n }\n enqueue(chunk) {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('enqueue');\n }\n assertRequiredArgument(chunk, 1, 'enqueue');\n if (!ArrayBuffer.isView(chunk)) {\n throw new TypeError('chunk must be an array buffer view');\n }\n if (chunk.byteLength === 0) {\n throw new TypeError('chunk must have non-zero byteLength');\n }\n if (chunk.buffer.byteLength === 0) {\n throw new TypeError(`chunk's buffer must have non-zero byteLength`);\n }\n if (this._closeRequested) {\n throw new TypeError('stream is closed or draining');\n }\n const state = this._controlledReadableByteStream._state;\n if (state !== 'readable') {\n throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be enqueued to`);\n }\n ReadableByteStreamControllerEnqueue(this, chunk);\n }\n /**\n * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.\n */\n error(e = undefined) {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('error');\n }\n ReadableByteStreamControllerError(this, e);\n }\n /** @internal */\n [CancelSteps](reason) {\n ReadableByteStreamControllerClearPendingPullIntos(this);\n ResetQueue(this);\n const result = this._cancelAlgorithm(reason);\n ReadableByteStreamControllerClearAlgorithms(this);\n return result;\n }\n /** @internal */\n [PullSteps](readRequest) {\n const stream = this._controlledReadableByteStream;\n if (this._queueTotalSize > 0) {\n ReadableByteStreamControllerFillReadRequestFromQueue(this, readRequest);\n return;\n }\n const autoAllocateChunkSize = this._autoAllocateChunkSize;\n if (autoAllocateChunkSize !== undefined) {\n let buffer;\n try {\n buffer = new ArrayBuffer(autoAllocateChunkSize);\n }\n catch (bufferE) {\n readRequest._errorSteps(bufferE);\n return;\n }\n const pullIntoDescriptor = {\n buffer,\n bufferByteLength: autoAllocateChunkSize,\n byteOffset: 0,\n byteLength: autoAllocateChunkSize,\n bytesFilled: 0,\n minimumFill: 1,\n elementSize: 1,\n viewConstructor: Uint8Array,\n readerType: 'default'\n };\n this._pendingPullIntos.push(pullIntoDescriptor);\n }\n ReadableStreamAddReadRequest(stream, readRequest);\n ReadableByteStreamControllerCallPullIfNeeded(this);\n }\n /** @internal */\n [ReleaseSteps]() {\n if (this._pendingPullIntos.length > 0) {\n const firstPullInto = this._pendingPullIntos.peek();\n firstPullInto.readerType = 'none';\n this._pendingPullIntos = new SimpleQueue();\n this._pendingPullIntos.push(firstPullInto);\n }\n }\n }\n Object.defineProperties(ReadableByteStreamController.prototype, {\n close: { enumerable: true },\n enqueue: { enumerable: true },\n error: { enumerable: true },\n byobRequest: { enumerable: true },\n desiredSize: { enumerable: true }\n });\n setFunctionName(ReadableByteStreamController.prototype.close, 'close');\n setFunctionName(ReadableByteStreamController.prototype.enqueue, 'enqueue');\n setFunctionName(ReadableByteStreamController.prototype.error, 'error');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableByteStreamController.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableByteStreamController',\n configurable: true\n });\n }\n // Abstract operations for the ReadableByteStreamController.\n function IsReadableByteStreamController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableByteStream')) {\n return false;\n }\n return x instanceof ReadableByteStreamController;\n }\n function IsReadableStreamBYOBRequest(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_associatedReadableByteStreamController')) {\n return false;\n }\n return x instanceof ReadableStreamBYOBRequest;\n }\n function ReadableByteStreamControllerCallPullIfNeeded(controller) {\n const shouldPull = ReadableByteStreamControllerShouldCallPull(controller);\n if (!shouldPull) {\n return;\n }\n if (controller._pulling) {\n controller._pullAgain = true;\n return;\n }\n controller._pulling = true;\n // TODO: Test controller argument\n const pullPromise = controller._pullAlgorithm();\n uponPromise(pullPromise, () => {\n controller._pulling = false;\n if (controller._pullAgain) {\n controller._pullAgain = false;\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n return null;\n }, e => {\n ReadableByteStreamControllerError(controller, e);\n return null;\n });\n }\n function ReadableByteStreamControllerClearPendingPullIntos(controller) {\n ReadableByteStreamControllerInvalidateBYOBRequest(controller);\n controller._pendingPullIntos = new SimpleQueue();\n }\n function ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor) {\n let done = false;\n if (stream._state === 'closed') {\n done = true;\n }\n const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);\n if (pullIntoDescriptor.readerType === 'default') {\n ReadableStreamFulfillReadRequest(stream, filledView, done);\n }\n else {\n ReadableStreamFulfillReadIntoRequest(stream, filledView, done);\n }\n }\n function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) {\n const bytesFilled = pullIntoDescriptor.bytesFilled;\n const elementSize = pullIntoDescriptor.elementSize;\n return new pullIntoDescriptor.viewConstructor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, bytesFilled / elementSize);\n }\n function ReadableByteStreamControllerEnqueueChunkToQueue(controller, buffer, byteOffset, byteLength) {\n controller._queue.push({ buffer, byteOffset, byteLength });\n controller._queueTotalSize += byteLength;\n }\n function ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, buffer, byteOffset, byteLength) {\n let clonedChunk;\n try {\n clonedChunk = ArrayBufferSlice(buffer, byteOffset, byteOffset + byteLength);\n }\n catch (cloneE) {\n ReadableByteStreamControllerError(controller, cloneE);\n throw cloneE;\n }\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, clonedChunk, 0, byteLength);\n }\n function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstDescriptor) {\n if (firstDescriptor.bytesFilled > 0) {\n ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, firstDescriptor.buffer, firstDescriptor.byteOffset, firstDescriptor.bytesFilled);\n }\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n }\n function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor) {\n const maxBytesToCopy = Math.min(controller._queueTotalSize, pullIntoDescriptor.byteLength - pullIntoDescriptor.bytesFilled);\n const maxBytesFilled = pullIntoDescriptor.bytesFilled + maxBytesToCopy;\n let totalBytesToCopyRemaining = maxBytesToCopy;\n let ready = false;\n const remainderBytes = maxBytesFilled % pullIntoDescriptor.elementSize;\n const maxAlignedBytes = maxBytesFilled - remainderBytes;\n // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head\n // of the queue, so the underlying source can keep filling it.\n if (maxAlignedBytes >= pullIntoDescriptor.minimumFill) {\n totalBytesToCopyRemaining = maxAlignedBytes - pullIntoDescriptor.bytesFilled;\n ready = true;\n }\n const queue = controller._queue;\n while (totalBytesToCopyRemaining > 0) {\n const headOfQueue = queue.peek();\n const bytesToCopy = Math.min(totalBytesToCopyRemaining, headOfQueue.byteLength);\n const destStart = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;\n CopyDataBlockBytes(pullIntoDescriptor.buffer, destStart, headOfQueue.buffer, headOfQueue.byteOffset, bytesToCopy);\n if (headOfQueue.byteLength === bytesToCopy) {\n queue.shift();\n }\n else {\n headOfQueue.byteOffset += bytesToCopy;\n headOfQueue.byteLength -= bytesToCopy;\n }\n controller._queueTotalSize -= bytesToCopy;\n ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesToCopy, pullIntoDescriptor);\n totalBytesToCopyRemaining -= bytesToCopy;\n }\n return ready;\n }\n function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, size, pullIntoDescriptor) {\n pullIntoDescriptor.bytesFilled += size;\n }\n function ReadableByteStreamControllerHandleQueueDrain(controller) {\n if (controller._queueTotalSize === 0 && controller._closeRequested) {\n ReadableByteStreamControllerClearAlgorithms(controller);\n ReadableStreamClose(controller._controlledReadableByteStream);\n }\n else {\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n }\n function ReadableByteStreamControllerInvalidateBYOBRequest(controller) {\n if (controller._byobRequest === null) {\n return;\n }\n controller._byobRequest._associatedReadableByteStreamController = undefined;\n controller._byobRequest._view = null;\n controller._byobRequest = null;\n }\n function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller) {\n while (controller._pendingPullIntos.length > 0) {\n if (controller._queueTotalSize === 0) {\n return;\n }\n const pullIntoDescriptor = controller._pendingPullIntos.peek();\n if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);\n }\n }\n }\n function ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller) {\n const reader = controller._controlledReadableByteStream._reader;\n while (reader._readRequests.length > 0) {\n if (controller._queueTotalSize === 0) {\n return;\n }\n const readRequest = reader._readRequests.shift();\n ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest);\n }\n }\n function ReadableByteStreamControllerPullInto(controller, view, min, readIntoRequest) {\n const stream = controller._controlledReadableByteStream;\n const ctor = view.constructor;\n const elementSize = arrayBufferViewElementSize(ctor);\n const { byteOffset, byteLength } = view;\n const minimumFill = min * elementSize;\n let buffer;\n try {\n buffer = TransferArrayBuffer(view.buffer);\n }\n catch (e) {\n readIntoRequest._errorSteps(e);\n return;\n }\n const pullIntoDescriptor = {\n buffer,\n bufferByteLength: buffer.byteLength,\n byteOffset,\n byteLength,\n bytesFilled: 0,\n minimumFill,\n elementSize,\n viewConstructor: ctor,\n readerType: 'byob'\n };\n if (controller._pendingPullIntos.length > 0) {\n controller._pendingPullIntos.push(pullIntoDescriptor);\n // No ReadableByteStreamControllerCallPullIfNeeded() call since:\n // - No change happens on desiredSize\n // - The source has already been notified of that there's at least 1 pending read(view)\n ReadableStreamAddReadIntoRequest(stream, readIntoRequest);\n return;\n }\n if (stream._state === 'closed') {\n const emptyView = new ctor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, 0);\n readIntoRequest._closeSteps(emptyView);\n return;\n }\n if (controller._queueTotalSize > 0) {\n if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {\n const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);\n ReadableByteStreamControllerHandleQueueDrain(controller);\n readIntoRequest._chunkSteps(filledView);\n return;\n }\n if (controller._closeRequested) {\n const e = new TypeError('Insufficient bytes to fill elements in the given buffer');\n ReadableByteStreamControllerError(controller, e);\n readIntoRequest._errorSteps(e);\n return;\n }\n }\n controller._pendingPullIntos.push(pullIntoDescriptor);\n ReadableStreamAddReadIntoRequest(stream, readIntoRequest);\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) {\n if (firstDescriptor.readerType === 'none') {\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n }\n const stream = controller._controlledReadableByteStream;\n if (ReadableStreamHasBYOBReader(stream)) {\n while (ReadableStreamGetNumReadIntoRequests(stream) > 0) {\n const pullIntoDescriptor = ReadableByteStreamControllerShiftPendingPullInto(controller);\n ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor);\n }\n }\n }\n function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) {\n ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor);\n if (pullIntoDescriptor.readerType === 'none') {\n ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, pullIntoDescriptor);\n ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);\n return;\n }\n if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.minimumFill) {\n // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head\n // of the queue, so the underlying source can keep filling it.\n return;\n }\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n const remainderSize = pullIntoDescriptor.bytesFilled % pullIntoDescriptor.elementSize;\n if (remainderSize > 0) {\n const end = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;\n ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, pullIntoDescriptor.buffer, end - remainderSize, remainderSize);\n }\n pullIntoDescriptor.bytesFilled -= remainderSize;\n ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);\n ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);\n }\n function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n ReadableByteStreamControllerInvalidateBYOBRequest(controller);\n const state = controller._controlledReadableByteStream._state;\n if (state === 'closed') {\n ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor);\n }\n else {\n ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, firstDescriptor);\n }\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n function ReadableByteStreamControllerShiftPendingPullInto(controller) {\n const descriptor = controller._pendingPullIntos.shift();\n return descriptor;\n }\n function ReadableByteStreamControllerShouldCallPull(controller) {\n const stream = controller._controlledReadableByteStream;\n if (stream._state !== 'readable') {\n return false;\n }\n if (controller._closeRequested) {\n return false;\n }\n if (!controller._started) {\n return false;\n }\n if (ReadableStreamHasDefaultReader(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {\n return true;\n }\n if (ReadableStreamHasBYOBReader(stream) && ReadableStreamGetNumReadIntoRequests(stream) > 0) {\n return true;\n }\n const desiredSize = ReadableByteStreamControllerGetDesiredSize(controller);\n if (desiredSize > 0) {\n return true;\n }\n return false;\n }\n function ReadableByteStreamControllerClearAlgorithms(controller) {\n controller._pullAlgorithm = undefined;\n controller._cancelAlgorithm = undefined;\n }\n // A client of ReadableByteStreamController may use these functions directly to bypass state check.\n function ReadableByteStreamControllerClose(controller) {\n const stream = controller._controlledReadableByteStream;\n if (controller._closeRequested || stream._state !== 'readable') {\n return;\n }\n if (controller._queueTotalSize > 0) {\n controller._closeRequested = true;\n return;\n }\n if (controller._pendingPullIntos.length > 0) {\n const firstPendingPullInto = controller._pendingPullIntos.peek();\n if (firstPendingPullInto.bytesFilled % firstPendingPullInto.elementSize !== 0) {\n const e = new TypeError('Insufficient bytes to fill elements in the given buffer');\n ReadableByteStreamControllerError(controller, e);\n throw e;\n }\n }\n ReadableByteStreamControllerClearAlgorithms(controller);\n ReadableStreamClose(stream);\n }\n function ReadableByteStreamControllerEnqueue(controller, chunk) {\n const stream = controller._controlledReadableByteStream;\n if (controller._closeRequested || stream._state !== 'readable') {\n return;\n }\n const { buffer, byteOffset, byteLength } = chunk;\n if (IsDetachedBuffer(buffer)) {\n throw new TypeError('chunk\\'s buffer is detached and so cannot be enqueued');\n }\n const transferredBuffer = TransferArrayBuffer(buffer);\n if (controller._pendingPullIntos.length > 0) {\n const firstPendingPullInto = controller._pendingPullIntos.peek();\n if (IsDetachedBuffer(firstPendingPullInto.buffer)) {\n throw new TypeError('The BYOB request\\'s buffer has been detached and so cannot be filled with an enqueued chunk');\n }\n ReadableByteStreamControllerInvalidateBYOBRequest(controller);\n firstPendingPullInto.buffer = TransferArrayBuffer(firstPendingPullInto.buffer);\n if (firstPendingPullInto.readerType === 'none') {\n ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstPendingPullInto);\n }\n }\n if (ReadableStreamHasDefaultReader(stream)) {\n ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller);\n if (ReadableStreamGetNumReadRequests(stream) === 0) {\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);\n }\n else {\n if (controller._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n }\n const transferredView = new Uint8Array(transferredBuffer, byteOffset, byteLength);\n ReadableStreamFulfillReadRequest(stream, transferredView, false);\n }\n }\n else if (ReadableStreamHasBYOBReader(stream)) {\n // TODO: Ideally in this branch detaching should happen only if the buffer is not consumed fully.\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);\n ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);\n }\n else {\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);\n }\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n function ReadableByteStreamControllerError(controller, e) {\n const stream = controller._controlledReadableByteStream;\n if (stream._state !== 'readable') {\n return;\n }\n ReadableByteStreamControllerClearPendingPullIntos(controller);\n ResetQueue(controller);\n ReadableByteStreamControllerClearAlgorithms(controller);\n ReadableStreamError(stream, e);\n }\n function ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest) {\n const entry = controller._queue.shift();\n controller._queueTotalSize -= entry.byteLength;\n ReadableByteStreamControllerHandleQueueDrain(controller);\n const view = new Uint8Array(entry.buffer, entry.byteOffset, entry.byteLength);\n readRequest._chunkSteps(view);\n }\n function ReadableByteStreamControllerGetBYOBRequest(controller) {\n if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n const view = new Uint8Array(firstDescriptor.buffer, firstDescriptor.byteOffset + firstDescriptor.bytesFilled, firstDescriptor.byteLength - firstDescriptor.bytesFilled);\n const byobRequest = Object.create(ReadableStreamBYOBRequest.prototype);\n SetUpReadableStreamBYOBRequest(byobRequest, controller, view);\n controller._byobRequest = byobRequest;\n }\n return controller._byobRequest;\n }\n function ReadableByteStreamControllerGetDesiredSize(controller) {\n const state = controller._controlledReadableByteStream._state;\n if (state === 'errored') {\n return null;\n }\n if (state === 'closed') {\n return 0;\n }\n return controller._strategyHWM - controller._queueTotalSize;\n }\n function ReadableByteStreamControllerRespond(controller, bytesWritten) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n const state = controller._controlledReadableByteStream._state;\n if (state === 'closed') {\n if (bytesWritten !== 0) {\n throw new TypeError('bytesWritten must be 0 when calling respond() on a closed stream');\n }\n }\n else {\n if (bytesWritten === 0) {\n throw new TypeError('bytesWritten must be greater than 0 when calling respond() on a readable stream');\n }\n if (firstDescriptor.bytesFilled + bytesWritten > firstDescriptor.byteLength) {\n throw new RangeError('bytesWritten out of range');\n }\n }\n firstDescriptor.buffer = TransferArrayBuffer(firstDescriptor.buffer);\n ReadableByteStreamControllerRespondInternal(controller, bytesWritten);\n }\n function ReadableByteStreamControllerRespondWithNewView(controller, view) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n const state = controller._controlledReadableByteStream._state;\n if (state === 'closed') {\n if (view.byteLength !== 0) {\n throw new TypeError('The view\\'s length must be 0 when calling respondWithNewView() on a closed stream');\n }\n }\n else {\n if (view.byteLength === 0) {\n throw new TypeError('The view\\'s length must be greater than 0 when calling respondWithNewView() on a readable stream');\n }\n }\n if (firstDescriptor.byteOffset + firstDescriptor.bytesFilled !== view.byteOffset) {\n throw new RangeError('The region specified by view does not match byobRequest');\n }\n if (firstDescriptor.bufferByteLength !== view.buffer.byteLength) {\n throw new RangeError('The buffer of view has different capacity than byobRequest');\n }\n if (firstDescriptor.bytesFilled + view.byteLength > firstDescriptor.byteLength) {\n throw new RangeError('The region specified by view is larger than byobRequest');\n }\n const viewByteLength = view.byteLength;\n firstDescriptor.buffer = TransferArrayBuffer(view.buffer);\n ReadableByteStreamControllerRespondInternal(controller, viewByteLength);\n }\n function SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize) {\n controller._controlledReadableByteStream = stream;\n controller._pullAgain = false;\n controller._pulling = false;\n controller._byobRequest = null;\n // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.\n controller._queue = controller._queueTotalSize = undefined;\n ResetQueue(controller);\n controller._closeRequested = false;\n controller._started = false;\n controller._strategyHWM = highWaterMark;\n controller._pullAlgorithm = pullAlgorithm;\n controller._cancelAlgorithm = cancelAlgorithm;\n controller._autoAllocateChunkSize = autoAllocateChunkSize;\n controller._pendingPullIntos = new SimpleQueue();\n stream._readableStreamController = controller;\n const startResult = startAlgorithm();\n uponPromise(promiseResolvedWith(startResult), () => {\n controller._started = true;\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n return null;\n }, r => {\n ReadableByteStreamControllerError(controller, r);\n return null;\n });\n }\n function SetUpReadableByteStreamControllerFromUnderlyingSource(stream, underlyingByteSource, highWaterMark) {\n const controller = Object.create(ReadableByteStreamController.prototype);\n let startAlgorithm;\n let pullAlgorithm;\n let cancelAlgorithm;\n if (underlyingByteSource.start !== undefined) {\n startAlgorithm = () => underlyingByteSource.start(controller);\n }\n else {\n startAlgorithm = () => undefined;\n }\n if (underlyingByteSource.pull !== undefined) {\n pullAlgorithm = () => underlyingByteSource.pull(controller);\n }\n else {\n pullAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingByteSource.cancel !== undefined) {\n cancelAlgorithm = reason => underlyingByteSource.cancel(reason);\n }\n else {\n cancelAlgorithm = () => promiseResolvedWith(undefined);\n }\n const autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize;\n if (autoAllocateChunkSize === 0) {\n throw new TypeError('autoAllocateChunkSize must be greater than 0');\n }\n SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize);\n }\n function SetUpReadableStreamBYOBRequest(request, controller, view) {\n request._associatedReadableByteStreamController = controller;\n request._view = view;\n }\n // Helper functions for the ReadableStreamBYOBRequest.\n function byobRequestBrandCheckException(name) {\n return new TypeError(`ReadableStreamBYOBRequest.prototype.${name} can only be used on a ReadableStreamBYOBRequest`);\n }\n // Helper functions for the ReadableByteStreamController.\n function byteStreamControllerBrandCheckException(name) {\n return new TypeError(`ReadableByteStreamController.prototype.${name} can only be used on a ReadableByteStreamController`);\n }\n\n function convertReaderOptions(options, context) {\n assertDictionary(options, context);\n const mode = options === null || options === void 0 ? void 0 : options.mode;\n return {\n mode: mode === undefined ? undefined : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`)\n };\n }\n function convertReadableStreamReaderMode(mode, context) {\n mode = `${mode}`;\n if (mode !== 'byob') {\n throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`);\n }\n return mode;\n }\n function convertByobReadOptions(options, context) {\n var _a;\n assertDictionary(options, context);\n const min = (_a = options === null || options === void 0 ? void 0 : options.min) !== null && _a !== void 0 ? _a : 1;\n return {\n min: convertUnsignedLongLongWithEnforceRange(min, `${context} has member 'min' that`)\n };\n }\n\n // Abstract operations for the ReadableStream.\n function AcquireReadableStreamBYOBReader(stream) {\n return new ReadableStreamBYOBReader(stream);\n }\n // ReadableStream API exposed for controllers.\n function ReadableStreamAddReadIntoRequest(stream, readIntoRequest) {\n stream._reader._readIntoRequests.push(readIntoRequest);\n }\n function ReadableStreamFulfillReadIntoRequest(stream, chunk, done) {\n const reader = stream._reader;\n const readIntoRequest = reader._readIntoRequests.shift();\n if (done) {\n readIntoRequest._closeSteps(chunk);\n }\n else {\n readIntoRequest._chunkSteps(chunk);\n }\n }\n function ReadableStreamGetNumReadIntoRequests(stream) {\n return stream._reader._readIntoRequests.length;\n }\n function ReadableStreamHasBYOBReader(stream) {\n const reader = stream._reader;\n if (reader === undefined) {\n return false;\n }\n if (!IsReadableStreamBYOBReader(reader)) {\n return false;\n }\n return true;\n }\n /**\n * A BYOB reader vended by a {@link ReadableStream}.\n *\n * @public\n */\n class ReadableStreamBYOBReader {\n constructor(stream) {\n assertRequiredArgument(stream, 1, 'ReadableStreamBYOBReader');\n assertReadableStream(stream, 'First parameter');\n if (IsReadableStreamLocked(stream)) {\n throw new TypeError('This stream has already been locked for exclusive reading by another reader');\n }\n if (!IsReadableByteStreamController(stream._readableStreamController)) {\n throw new TypeError('Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte ' +\n 'source');\n }\n ReadableStreamReaderGenericInitialize(this, stream);\n this._readIntoRequests = new SimpleQueue();\n }\n /**\n * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or\n * the reader's lock is released before the stream finishes closing.\n */\n get closed() {\n if (!IsReadableStreamBYOBReader(this)) {\n return promiseRejectedWith(byobReaderBrandCheckException('closed'));\n }\n return this._closedPromise;\n }\n /**\n * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.\n */\n cancel(reason = undefined) {\n if (!IsReadableStreamBYOBReader(this)) {\n return promiseRejectedWith(byobReaderBrandCheckException('cancel'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('cancel'));\n }\n return ReadableStreamReaderGenericCancel(this, reason);\n }\n read(view, rawOptions = {}) {\n if (!IsReadableStreamBYOBReader(this)) {\n return promiseRejectedWith(byobReaderBrandCheckException('read'));\n }\n if (!ArrayBuffer.isView(view)) {\n return promiseRejectedWith(new TypeError('view must be an array buffer view'));\n }\n if (view.byteLength === 0) {\n return promiseRejectedWith(new TypeError('view must have non-zero byteLength'));\n }\n if (view.buffer.byteLength === 0) {\n return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`));\n }\n if (IsDetachedBuffer(view.buffer)) {\n return promiseRejectedWith(new TypeError('view\\'s buffer has been detached'));\n }\n let options;\n try {\n options = convertByobReadOptions(rawOptions, 'options');\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n const min = options.min;\n if (min === 0) {\n return promiseRejectedWith(new TypeError('options.min must be greater than 0'));\n }\n if (!isDataView(view)) {\n if (min > view.length) {\n return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\\'s length'));\n }\n }\n else if (min > view.byteLength) {\n return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\\'s byteLength'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('read from'));\n }\n let resolvePromise;\n let rejectPromise;\n const promise = newPromise((resolve, reject) => {\n resolvePromise = resolve;\n rejectPromise = reject;\n });\n const readIntoRequest = {\n _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),\n _closeSteps: chunk => resolvePromise({ value: chunk, done: true }),\n _errorSteps: e => rejectPromise(e)\n };\n ReadableStreamBYOBReaderRead(this, view, min, readIntoRequest);\n return promise;\n }\n /**\n * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.\n * If the associated stream is errored when the lock is released, the reader will appear errored in the same way\n * from now on; otherwise, the reader will appear closed.\n *\n * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by\n * the reader's {@link ReadableStreamBYOBReader.read | read()} method has not yet been settled. Attempting to\n * do so will throw a `TypeError` and leave the reader locked to the stream.\n */\n releaseLock() {\n if (!IsReadableStreamBYOBReader(this)) {\n throw byobReaderBrandCheckException('releaseLock');\n }\n if (this._ownerReadableStream === undefined) {\n return;\n }\n ReadableStreamBYOBReaderRelease(this);\n }\n }\n Object.defineProperties(ReadableStreamBYOBReader.prototype, {\n cancel: { enumerable: true },\n read: { enumerable: true },\n releaseLock: { enumerable: true },\n closed: { enumerable: true }\n });\n setFunctionName(ReadableStreamBYOBReader.prototype.cancel, 'cancel');\n setFunctionName(ReadableStreamBYOBReader.prototype.read, 'read');\n setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock, 'releaseLock');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamBYOBReader.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamBYOBReader',\n configurable: true\n });\n }\n // Abstract operations for the readers.\n function IsReadableStreamBYOBReader(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_readIntoRequests')) {\n return false;\n }\n return x instanceof ReadableStreamBYOBReader;\n }\n function ReadableStreamBYOBReaderRead(reader, view, min, readIntoRequest) {\n const stream = reader._ownerReadableStream;\n stream._disturbed = true;\n if (stream._state === 'errored') {\n readIntoRequest._errorSteps(stream._storedError);\n }\n else {\n ReadableByteStreamControllerPullInto(stream._readableStreamController, view, min, readIntoRequest);\n }\n }\n function ReadableStreamBYOBReaderRelease(reader) {\n ReadableStreamReaderGenericRelease(reader);\n const e = new TypeError('Reader was released');\n ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);\n }\n function ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e) {\n const readIntoRequests = reader._readIntoRequests;\n reader._readIntoRequests = new SimpleQueue();\n readIntoRequests.forEach(readIntoRequest => {\n readIntoRequest._errorSteps(e);\n });\n }\n // Helper functions for the ReadableStreamBYOBReader.\n function byobReaderBrandCheckException(name) {\n return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`);\n }\n\n function ExtractHighWaterMark(strategy, defaultHWM) {\n const { highWaterMark } = strategy;\n if (highWaterMark === undefined) {\n return defaultHWM;\n }\n if (NumberIsNaN(highWaterMark) || highWaterMark < 0) {\n throw new RangeError('Invalid highWaterMark');\n }\n return highWaterMark;\n }\n function ExtractSizeAlgorithm(strategy) {\n const { size } = strategy;\n if (!size) {\n return () => 1;\n }\n return size;\n }\n\n function convertQueuingStrategy(init, context) {\n assertDictionary(init, context);\n const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;\n const size = init === null || init === void 0 ? void 0 : init.size;\n return {\n highWaterMark: highWaterMark === undefined ? undefined : convertUnrestrictedDouble(highWaterMark),\n size: size === undefined ? undefined : convertQueuingStrategySize(size, `${context} has member 'size' that`)\n };\n }\n function convertQueuingStrategySize(fn, context) {\n assertFunction(fn, context);\n return chunk => convertUnrestrictedDouble(fn(chunk));\n }\n\n function convertUnderlyingSink(original, context) {\n assertDictionary(original, context);\n const abort = original === null || original === void 0 ? void 0 : original.abort;\n const close = original === null || original === void 0 ? void 0 : original.close;\n const start = original === null || original === void 0 ? void 0 : original.start;\n const type = original === null || original === void 0 ? void 0 : original.type;\n const write = original === null || original === void 0 ? void 0 : original.write;\n return {\n abort: abort === undefined ?\n undefined :\n convertUnderlyingSinkAbortCallback(abort, original, `${context} has member 'abort' that`),\n close: close === undefined ?\n undefined :\n convertUnderlyingSinkCloseCallback(close, original, `${context} has member 'close' that`),\n start: start === undefined ?\n undefined :\n convertUnderlyingSinkStartCallback(start, original, `${context} has member 'start' that`),\n write: write === undefined ?\n undefined :\n convertUnderlyingSinkWriteCallback(write, original, `${context} has member 'write' that`),\n type\n };\n }\n function convertUnderlyingSinkAbortCallback(fn, original, context) {\n assertFunction(fn, context);\n return (reason) => promiseCall(fn, original, [reason]);\n }\n function convertUnderlyingSinkCloseCallback(fn, original, context) {\n assertFunction(fn, context);\n return () => promiseCall(fn, original, []);\n }\n function convertUnderlyingSinkStartCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => reflectCall(fn, original, [controller]);\n }\n function convertUnderlyingSinkWriteCallback(fn, original, context) {\n assertFunction(fn, context);\n return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);\n }\n\n function assertWritableStream(x, context) {\n if (!IsWritableStream(x)) {\n throw new TypeError(`${context} is not a WritableStream.`);\n }\n }\n\n function isAbortSignal(value) {\n if (typeof value !== 'object' || value === null) {\n return false;\n }\n try {\n return typeof value.aborted === 'boolean';\n }\n catch (_a) {\n // AbortSignal.prototype.aborted throws if its brand check fails\n return false;\n }\n }\n const supportsAbortController = typeof AbortController === 'function';\n /**\n * Construct a new AbortController, if supported by the platform.\n *\n * @internal\n */\n function createAbortController() {\n if (supportsAbortController) {\n return new AbortController();\n }\n return undefined;\n }\n\n /**\n * A writable stream represents a destination for data, into which you can write.\n *\n * @public\n */\n class WritableStream {\n constructor(rawUnderlyingSink = {}, rawStrategy = {}) {\n if (rawUnderlyingSink === undefined) {\n rawUnderlyingSink = null;\n }\n else {\n assertObject(rawUnderlyingSink, 'First parameter');\n }\n const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');\n const underlyingSink = convertUnderlyingSink(rawUnderlyingSink, 'First parameter');\n InitializeWritableStream(this);\n const type = underlyingSink.type;\n if (type !== undefined) {\n throw new RangeError('Invalid type is specified');\n }\n const sizeAlgorithm = ExtractSizeAlgorithm(strategy);\n const highWaterMark = ExtractHighWaterMark(strategy, 1);\n SetUpWritableStreamDefaultControllerFromUnderlyingSink(this, underlyingSink, highWaterMark, sizeAlgorithm);\n }\n /**\n * Returns whether or not the writable stream is locked to a writer.\n */\n get locked() {\n if (!IsWritableStream(this)) {\n throw streamBrandCheckException$2('locked');\n }\n return IsWritableStreamLocked(this);\n }\n /**\n * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be\n * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort\n * mechanism of the underlying sink.\n *\n * The returned promise will fulfill if the stream shuts down successfully, or reject if the underlying sink signaled\n * that there was an error doing so. Additionally, it will reject with a `TypeError` (without attempting to cancel\n * the stream) if the stream is currently locked.\n */\n abort(reason = undefined) {\n if (!IsWritableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$2('abort'));\n }\n if (IsWritableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('Cannot abort a stream that already has a writer'));\n }\n return WritableStreamAbort(this, reason);\n }\n /**\n * Closes the stream. The underlying sink will finish processing any previously-written chunks, before invoking its\n * close behavior. During this time any further attempts to write will fail (without erroring the stream).\n *\n * The method returns a promise that will fulfill if all remaining chunks are successfully written and the stream\n * successfully closes, or rejects if an error is encountered during this process. Additionally, it will reject with\n * a `TypeError` (without attempting to cancel the stream) if the stream is currently locked.\n */\n close() {\n if (!IsWritableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$2('close'));\n }\n if (IsWritableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('Cannot close a stream that already has a writer'));\n }\n if (WritableStreamCloseQueuedOrInFlight(this)) {\n return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));\n }\n return WritableStreamClose(this);\n }\n /**\n * Creates a {@link WritableStreamDefaultWriter | writer} and locks the stream to the new writer. While the stream\n * is locked, no other writer can be acquired until this one is released.\n *\n * This functionality is especially useful for creating abstractions that desire the ability to write to a stream\n * without interruption or interleaving. By getting a writer for the stream, you can ensure nobody else can write at\n * the same time, which would cause the resulting written data to be unpredictable and probably useless.\n */\n getWriter() {\n if (!IsWritableStream(this)) {\n throw streamBrandCheckException$2('getWriter');\n }\n return AcquireWritableStreamDefaultWriter(this);\n }\n }\n Object.defineProperties(WritableStream.prototype, {\n abort: { enumerable: true },\n close: { enumerable: true },\n getWriter: { enumerable: true },\n locked: { enumerable: true }\n });\n setFunctionName(WritableStream.prototype.abort, 'abort');\n setFunctionName(WritableStream.prototype.close, 'close');\n setFunctionName(WritableStream.prototype.getWriter, 'getWriter');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(WritableStream.prototype, SymbolPolyfill.toStringTag, {\n value: 'WritableStream',\n configurable: true\n });\n }\n // Abstract operations for the WritableStream.\n function AcquireWritableStreamDefaultWriter(stream) {\n return new WritableStreamDefaultWriter(stream);\n }\n // Throws if and only if startAlgorithm throws.\n function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {\n const stream = Object.create(WritableStream.prototype);\n InitializeWritableStream(stream);\n const controller = Object.create(WritableStreamDefaultController.prototype);\n SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);\n return stream;\n }\n function InitializeWritableStream(stream) {\n stream._state = 'writable';\n // The error that will be reported by new method calls once the state becomes errored. Only set when [[state]] is\n // 'erroring' or 'errored'. May be set to an undefined value.\n stream._storedError = undefined;\n stream._writer = undefined;\n // Initialize to undefined first because the constructor of the controller checks this\n // variable to validate the caller.\n stream._writableStreamController = undefined;\n // This queue is placed here instead of the writer class in order to allow for passing a writer to the next data\n // producer without waiting for the queued writes to finish.\n stream._writeRequests = new SimpleQueue();\n // Write requests are removed from _writeRequests when write() is called on the underlying sink. This prevents\n // them from being erroneously rejected on error. If a write() call is in-flight, the request is stored here.\n stream._inFlightWriteRequest = undefined;\n // The promise that was returned from writer.close(). Stored here because it may be fulfilled after the writer\n // has been detached.\n stream._closeRequest = undefined;\n // Close request is removed from _closeRequest when close() is called on the underlying sink. This prevents it\n // from being erroneously rejected on error. If a close() call is in-flight, the request is stored here.\n stream._inFlightCloseRequest = undefined;\n // The promise that was returned from writer.abort(). This may also be fulfilled after the writer has detached.\n stream._pendingAbortRequest = undefined;\n // The backpressure signal set by the controller.\n stream._backpressure = false;\n }\n function IsWritableStream(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_writableStreamController')) {\n return false;\n }\n return x instanceof WritableStream;\n }\n function IsWritableStreamLocked(stream) {\n if (stream._writer === undefined) {\n return false;\n }\n return true;\n }\n function WritableStreamAbort(stream, reason) {\n var _a;\n if (stream._state === 'closed' || stream._state === 'errored') {\n return promiseResolvedWith(undefined);\n }\n stream._writableStreamController._abortReason = reason;\n (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(reason);\n // TypeScript narrows the type of `stream._state` down to 'writable' | 'erroring',\n // but it doesn't know that signaling abort runs author code that might have changed the state.\n // Widen the type again by casting to WritableStreamState.\n const state = stream._state;\n if (state === 'closed' || state === 'errored') {\n return promiseResolvedWith(undefined);\n }\n if (stream._pendingAbortRequest !== undefined) {\n return stream._pendingAbortRequest._promise;\n }\n let wasAlreadyErroring = false;\n if (state === 'erroring') {\n wasAlreadyErroring = true;\n // reason will not be used, so don't keep a reference to it.\n reason = undefined;\n }\n const promise = newPromise((resolve, reject) => {\n stream._pendingAbortRequest = {\n _promise: undefined,\n _resolve: resolve,\n _reject: reject,\n _reason: reason,\n _wasAlreadyErroring: wasAlreadyErroring\n };\n });\n stream._pendingAbortRequest._promise = promise;\n if (!wasAlreadyErroring) {\n WritableStreamStartErroring(stream, reason);\n }\n return promise;\n }\n function WritableStreamClose(stream) {\n const state = stream._state;\n if (state === 'closed' || state === 'errored') {\n return promiseRejectedWith(new TypeError(`The stream (in ${state} state) is not in the writable state and cannot be closed`));\n }\n const promise = newPromise((resolve, reject) => {\n const closeRequest = {\n _resolve: resolve,\n _reject: reject\n };\n stream._closeRequest = closeRequest;\n });\n const writer = stream._writer;\n if (writer !== undefined && stream._backpressure && state === 'writable') {\n defaultWriterReadyPromiseResolve(writer);\n }\n WritableStreamDefaultControllerClose(stream._writableStreamController);\n return promise;\n }\n // WritableStream API exposed for controllers.\n function WritableStreamAddWriteRequest(stream) {\n const promise = newPromise((resolve, reject) => {\n const writeRequest = {\n _resolve: resolve,\n _reject: reject\n };\n stream._writeRequests.push(writeRequest);\n });\n return promise;\n }\n function WritableStreamDealWithRejection(stream, error) {\n const state = stream._state;\n if (state === 'writable') {\n WritableStreamStartErroring(stream, error);\n return;\n }\n WritableStreamFinishErroring(stream);\n }\n function WritableStreamStartErroring(stream, reason) {\n const controller = stream._writableStreamController;\n stream._state = 'erroring';\n stream._storedError = reason;\n const writer = stream._writer;\n if (writer !== undefined) {\n WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, reason);\n }\n if (!WritableStreamHasOperationMarkedInFlight(stream) && controller._started) {\n WritableStreamFinishErroring(stream);\n }\n }\n function WritableStreamFinishErroring(stream) {\n stream._state = 'errored';\n stream._writableStreamController[ErrorSteps]();\n const storedError = stream._storedError;\n stream._writeRequests.forEach(writeRequest => {\n writeRequest._reject(storedError);\n });\n stream._writeRequests = new SimpleQueue();\n if (stream._pendingAbortRequest === undefined) {\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return;\n }\n const abortRequest = stream._pendingAbortRequest;\n stream._pendingAbortRequest = undefined;\n if (abortRequest._wasAlreadyErroring) {\n abortRequest._reject(storedError);\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return;\n }\n const promise = stream._writableStreamController[AbortSteps](abortRequest._reason);\n uponPromise(promise, () => {\n abortRequest._resolve();\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return null;\n }, (reason) => {\n abortRequest._reject(reason);\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return null;\n });\n }\n function WritableStreamFinishInFlightWrite(stream) {\n stream._inFlightWriteRequest._resolve(undefined);\n stream._inFlightWriteRequest = undefined;\n }\n function WritableStreamFinishInFlightWriteWithError(stream, error) {\n stream._inFlightWriteRequest._reject(error);\n stream._inFlightWriteRequest = undefined;\n WritableStreamDealWithRejection(stream, error);\n }\n function WritableStreamFinishInFlightClose(stream) {\n stream._inFlightCloseRequest._resolve(undefined);\n stream._inFlightCloseRequest = undefined;\n const state = stream._state;\n if (state === 'erroring') {\n // The error was too late to do anything, so it is ignored.\n stream._storedError = undefined;\n if (stream._pendingAbortRequest !== undefined) {\n stream._pendingAbortRequest._resolve();\n stream._pendingAbortRequest = undefined;\n }\n }\n stream._state = 'closed';\n const writer = stream._writer;\n if (writer !== undefined) {\n defaultWriterClosedPromiseResolve(writer);\n }\n }\n function WritableStreamFinishInFlightCloseWithError(stream, error) {\n stream._inFlightCloseRequest._reject(error);\n stream._inFlightCloseRequest = undefined;\n // Never execute sink abort() after sink close().\n if (stream._pendingAbortRequest !== undefined) {\n stream._pendingAbortRequest._reject(error);\n stream._pendingAbortRequest = undefined;\n }\n WritableStreamDealWithRejection(stream, error);\n }\n // TODO(ricea): Fix alphabetical order.\n function WritableStreamCloseQueuedOrInFlight(stream) {\n if (stream._closeRequest === undefined && stream._inFlightCloseRequest === undefined) {\n return false;\n }\n return true;\n }\n function WritableStreamHasOperationMarkedInFlight(stream) {\n if (stream._inFlightWriteRequest === undefined && stream._inFlightCloseRequest === undefined) {\n return false;\n }\n return true;\n }\n function WritableStreamMarkCloseRequestInFlight(stream) {\n stream._inFlightCloseRequest = stream._closeRequest;\n stream._closeRequest = undefined;\n }\n function WritableStreamMarkFirstWriteRequestInFlight(stream) {\n stream._inFlightWriteRequest = stream._writeRequests.shift();\n }\n function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream) {\n if (stream._closeRequest !== undefined) {\n stream._closeRequest._reject(stream._storedError);\n stream._closeRequest = undefined;\n }\n const writer = stream._writer;\n if (writer !== undefined) {\n defaultWriterClosedPromiseReject(writer, stream._storedError);\n }\n }\n function WritableStreamUpdateBackpressure(stream, backpressure) {\n const writer = stream._writer;\n if (writer !== undefined && backpressure !== stream._backpressure) {\n if (backpressure) {\n defaultWriterReadyPromiseReset(writer);\n }\n else {\n defaultWriterReadyPromiseResolve(writer);\n }\n }\n stream._backpressure = backpressure;\n }\n /**\n * A default writer vended by a {@link WritableStream}.\n *\n * @public\n */\n class WritableStreamDefaultWriter {\n constructor(stream) {\n assertRequiredArgument(stream, 1, 'WritableStreamDefaultWriter');\n assertWritableStream(stream, 'First parameter');\n if (IsWritableStreamLocked(stream)) {\n throw new TypeError('This stream has already been locked for exclusive writing by another writer');\n }\n this._ownerWritableStream = stream;\n stream._writer = this;\n const state = stream._state;\n if (state === 'writable') {\n if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._backpressure) {\n defaultWriterReadyPromiseInitialize(this);\n }\n else {\n defaultWriterReadyPromiseInitializeAsResolved(this);\n }\n defaultWriterClosedPromiseInitialize(this);\n }\n else if (state === 'erroring') {\n defaultWriterReadyPromiseInitializeAsRejected(this, stream._storedError);\n defaultWriterClosedPromiseInitialize(this);\n }\n else if (state === 'closed') {\n defaultWriterReadyPromiseInitializeAsResolved(this);\n defaultWriterClosedPromiseInitializeAsResolved(this);\n }\n else {\n const storedError = stream._storedError;\n defaultWriterReadyPromiseInitializeAsRejected(this, storedError);\n defaultWriterClosedPromiseInitializeAsRejected(this, storedError);\n }\n }\n /**\n * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or\n * the writer’s lock is released before the stream finishes closing.\n */\n get closed() {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('closed'));\n }\n return this._closedPromise;\n }\n /**\n * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full.\n * A producer can use this information to determine the right amount of data to write.\n *\n * It will be `null` if the stream cannot be successfully written to (due to either being errored, or having an abort\n * queued up). It will return zero if the stream is closed. And the getter will throw an exception if invoked when\n * the writer’s lock is released.\n */\n get desiredSize() {\n if (!IsWritableStreamDefaultWriter(this)) {\n throw defaultWriterBrandCheckException('desiredSize');\n }\n if (this._ownerWritableStream === undefined) {\n throw defaultWriterLockException('desiredSize');\n }\n return WritableStreamDefaultWriterGetDesiredSize(this);\n }\n /**\n * Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions\n * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips\n * back to zero or below, the getter will return a new promise that stays pending until the next transition.\n *\n * If the stream becomes errored or aborted, or the writer’s lock is released, the returned promise will become\n * rejected.\n */\n get ready() {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('ready'));\n }\n return this._readyPromise;\n }\n /**\n * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}.\n */\n abort(reason = undefined) {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('abort'));\n }\n if (this._ownerWritableStream === undefined) {\n return promiseRejectedWith(defaultWriterLockException('abort'));\n }\n return WritableStreamDefaultWriterAbort(this, reason);\n }\n /**\n * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}.\n */\n close() {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('close'));\n }\n const stream = this._ownerWritableStream;\n if (stream === undefined) {\n return promiseRejectedWith(defaultWriterLockException('close'));\n }\n if (WritableStreamCloseQueuedOrInFlight(stream)) {\n return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));\n }\n return WritableStreamDefaultWriterClose(this);\n }\n /**\n * Releases the writer’s lock on the corresponding stream. After the lock is released, the writer is no longer active.\n * If the associated stream is errored when the lock is released, the writer will appear errored in the same way from\n * now on; otherwise, the writer will appear closed.\n *\n * Note that the lock can still be released even if some ongoing writes have not yet finished (i.e. even if the\n * promises returned from previous calls to {@link WritableStreamDefaultWriter.write | write()} have not yet settled).\n * It’s not necessary to hold the lock on the writer for the duration of the write; the lock instead simply prevents\n * other producers from writing in an interleaved manner.\n */\n releaseLock() {\n if (!IsWritableStreamDefaultWriter(this)) {\n throw defaultWriterBrandCheckException('releaseLock');\n }\n const stream = this._ownerWritableStream;\n if (stream === undefined) {\n return;\n }\n WritableStreamDefaultWriterRelease(this);\n }\n write(chunk = undefined) {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('write'));\n }\n if (this._ownerWritableStream === undefined) {\n return promiseRejectedWith(defaultWriterLockException('write to'));\n }\n return WritableStreamDefaultWriterWrite(this, chunk);\n }\n }\n Object.defineProperties(WritableStreamDefaultWriter.prototype, {\n abort: { enumerable: true },\n close: { enumerable: true },\n releaseLock: { enumerable: true },\n write: { enumerable: true },\n closed: { enumerable: true },\n desiredSize: { enumerable: true },\n ready: { enumerable: true }\n });\n setFunctionName(WritableStreamDefaultWriter.prototype.abort, 'abort');\n setFunctionName(WritableStreamDefaultWriter.prototype.close, 'close');\n setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock, 'releaseLock');\n setFunctionName(WritableStreamDefaultWriter.prototype.write, 'write');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(WritableStreamDefaultWriter.prototype, SymbolPolyfill.toStringTag, {\n value: 'WritableStreamDefaultWriter',\n configurable: true\n });\n }\n // Abstract operations for the WritableStreamDefaultWriter.\n function IsWritableStreamDefaultWriter(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_ownerWritableStream')) {\n return false;\n }\n return x instanceof WritableStreamDefaultWriter;\n }\n // A client of WritableStreamDefaultWriter may use these functions directly to bypass state check.\n function WritableStreamDefaultWriterAbort(writer, reason) {\n const stream = writer._ownerWritableStream;\n return WritableStreamAbort(stream, reason);\n }\n function WritableStreamDefaultWriterClose(writer) {\n const stream = writer._ownerWritableStream;\n return WritableStreamClose(stream);\n }\n function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) {\n const stream = writer._ownerWritableStream;\n const state = stream._state;\n if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {\n return promiseResolvedWith(undefined);\n }\n if (state === 'errored') {\n return promiseRejectedWith(stream._storedError);\n }\n return WritableStreamDefaultWriterClose(writer);\n }\n function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error) {\n if (writer._closedPromiseState === 'pending') {\n defaultWriterClosedPromiseReject(writer, error);\n }\n else {\n defaultWriterClosedPromiseResetToRejected(writer, error);\n }\n }\n function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error) {\n if (writer._readyPromiseState === 'pending') {\n defaultWriterReadyPromiseReject(writer, error);\n }\n else {\n defaultWriterReadyPromiseResetToRejected(writer, error);\n }\n }\n function WritableStreamDefaultWriterGetDesiredSize(writer) {\n const stream = writer._ownerWritableStream;\n const state = stream._state;\n if (state === 'errored' || state === 'erroring') {\n return null;\n }\n if (state === 'closed') {\n return 0;\n }\n return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController);\n }\n function WritableStreamDefaultWriterRelease(writer) {\n const stream = writer._ownerWritableStream;\n const releasedError = new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`);\n WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, releasedError);\n // The state transitions to \"errored\" before the sink abort() method runs, but the writer.closed promise is not\n // rejected until afterwards. This means that simply testing state will not work.\n WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, releasedError);\n stream._writer = undefined;\n writer._ownerWritableStream = undefined;\n }\n function WritableStreamDefaultWriterWrite(writer, chunk) {\n const stream = writer._ownerWritableStream;\n const controller = stream._writableStreamController;\n const chunkSize = WritableStreamDefaultControllerGetChunkSize(controller, chunk);\n if (stream !== writer._ownerWritableStream) {\n return promiseRejectedWith(defaultWriterLockException('write to'));\n }\n const state = stream._state;\n if (state === 'errored') {\n return promiseRejectedWith(stream._storedError);\n }\n if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {\n return promiseRejectedWith(new TypeError('The stream is closing or closed and cannot be written to'));\n }\n if (state === 'erroring') {\n return promiseRejectedWith(stream._storedError);\n }\n const promise = WritableStreamAddWriteRequest(stream);\n WritableStreamDefaultControllerWrite(controller, chunk, chunkSize);\n return promise;\n }\n const closeSentinel = {};\n /**\n * Allows control of a {@link WritableStream | writable stream}'s state and internal queue.\n *\n * @public\n */\n class WritableStreamDefaultController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted.\n *\n * @deprecated\n * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177.\n * Use {@link WritableStreamDefaultController.signal}'s `reason` instead.\n */\n get abortReason() {\n if (!IsWritableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$2('abortReason');\n }\n return this._abortReason;\n }\n /**\n * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.\n */\n get signal() {\n if (!IsWritableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$2('signal');\n }\n if (this._abortController === undefined) {\n // Older browsers or older Node versions may not support `AbortController` or `AbortSignal`.\n // We don't want to bundle and ship an `AbortController` polyfill together with our polyfill,\n // so instead we only implement support for `signal` if we find a global `AbortController` constructor.\n throw new TypeError('WritableStreamDefaultController.prototype.signal is not supported');\n }\n return this._abortController.signal;\n }\n /**\n * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`.\n *\n * This method is rarely used, since usually it suffices to return a rejected promise from one of the underlying\n * sink's methods. However, it can be useful for suddenly shutting down a stream in response to an event outside the\n * normal lifecycle of interactions with the underlying sink.\n */\n error(e = undefined) {\n if (!IsWritableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$2('error');\n }\n const state = this._controlledWritableStream._state;\n if (state !== 'writable') {\n // The stream is closed, errored or will be soon. The sink can't do anything useful if it gets an error here, so\n // just treat it as a no-op.\n return;\n }\n WritableStreamDefaultControllerError(this, e);\n }\n /** @internal */\n [AbortSteps](reason) {\n const result = this._abortAlgorithm(reason);\n WritableStreamDefaultControllerClearAlgorithms(this);\n return result;\n }\n /** @internal */\n [ErrorSteps]() {\n ResetQueue(this);\n }\n }\n Object.defineProperties(WritableStreamDefaultController.prototype, {\n abortReason: { enumerable: true },\n signal: { enumerable: true },\n error: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(WritableStreamDefaultController.prototype, SymbolPolyfill.toStringTag, {\n value: 'WritableStreamDefaultController',\n configurable: true\n });\n }\n // Abstract operations implementing interface required by the WritableStream.\n function IsWritableStreamDefaultController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledWritableStream')) {\n return false;\n }\n return x instanceof WritableStreamDefaultController;\n }\n function SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm) {\n controller._controlledWritableStream = stream;\n stream._writableStreamController = controller;\n // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.\n controller._queue = undefined;\n controller._queueTotalSize = undefined;\n ResetQueue(controller);\n controller._abortReason = undefined;\n controller._abortController = createAbortController();\n controller._started = false;\n controller._strategySizeAlgorithm = sizeAlgorithm;\n controller._strategyHWM = highWaterMark;\n controller._writeAlgorithm = writeAlgorithm;\n controller._closeAlgorithm = closeAlgorithm;\n controller._abortAlgorithm = abortAlgorithm;\n const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);\n WritableStreamUpdateBackpressure(stream, backpressure);\n const startResult = startAlgorithm();\n const startPromise = promiseResolvedWith(startResult);\n uponPromise(startPromise, () => {\n controller._started = true;\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n return null;\n }, r => {\n controller._started = true;\n WritableStreamDealWithRejection(stream, r);\n return null;\n });\n }\n function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream, underlyingSink, highWaterMark, sizeAlgorithm) {\n const controller = Object.create(WritableStreamDefaultController.prototype);\n let startAlgorithm;\n let writeAlgorithm;\n let closeAlgorithm;\n let abortAlgorithm;\n if (underlyingSink.start !== undefined) {\n startAlgorithm = () => underlyingSink.start(controller);\n }\n else {\n startAlgorithm = () => undefined;\n }\n if (underlyingSink.write !== undefined) {\n writeAlgorithm = chunk => underlyingSink.write(chunk, controller);\n }\n else {\n writeAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingSink.close !== undefined) {\n closeAlgorithm = () => underlyingSink.close();\n }\n else {\n closeAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingSink.abort !== undefined) {\n abortAlgorithm = reason => underlyingSink.abort(reason);\n }\n else {\n abortAlgorithm = () => promiseResolvedWith(undefined);\n }\n SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);\n }\n // ClearAlgorithms may be called twice. Erroring the same stream in multiple ways will often result in redundant calls.\n function WritableStreamDefaultControllerClearAlgorithms(controller) {\n controller._writeAlgorithm = undefined;\n controller._closeAlgorithm = undefined;\n controller._abortAlgorithm = undefined;\n controller._strategySizeAlgorithm = undefined;\n }\n function WritableStreamDefaultControllerClose(controller) {\n EnqueueValueWithSize(controller, closeSentinel, 0);\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n }\n function WritableStreamDefaultControllerGetChunkSize(controller, chunk) {\n try {\n return controller._strategySizeAlgorithm(chunk);\n }\n catch (chunkSizeE) {\n WritableStreamDefaultControllerErrorIfNeeded(controller, chunkSizeE);\n return 1;\n }\n }\n function WritableStreamDefaultControllerGetDesiredSize(controller) {\n return controller._strategyHWM - controller._queueTotalSize;\n }\n function WritableStreamDefaultControllerWrite(controller, chunk, chunkSize) {\n try {\n EnqueueValueWithSize(controller, chunk, chunkSize);\n }\n catch (enqueueE) {\n WritableStreamDefaultControllerErrorIfNeeded(controller, enqueueE);\n return;\n }\n const stream = controller._controlledWritableStream;\n if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._state === 'writable') {\n const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);\n WritableStreamUpdateBackpressure(stream, backpressure);\n }\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n }\n // Abstract operations for the WritableStreamDefaultController.\n function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller) {\n const stream = controller._controlledWritableStream;\n if (!controller._started) {\n return;\n }\n if (stream._inFlightWriteRequest !== undefined) {\n return;\n }\n const state = stream._state;\n if (state === 'erroring') {\n WritableStreamFinishErroring(stream);\n return;\n }\n if (controller._queue.length === 0) {\n return;\n }\n const value = PeekQueueValue(controller);\n if (value === closeSentinel) {\n WritableStreamDefaultControllerProcessClose(controller);\n }\n else {\n WritableStreamDefaultControllerProcessWrite(controller, value);\n }\n }\n function WritableStreamDefaultControllerErrorIfNeeded(controller, error) {\n if (controller._controlledWritableStream._state === 'writable') {\n WritableStreamDefaultControllerError(controller, error);\n }\n }\n function WritableStreamDefaultControllerProcessClose(controller) {\n const stream = controller._controlledWritableStream;\n WritableStreamMarkCloseRequestInFlight(stream);\n DequeueValue(controller);\n const sinkClosePromise = controller._closeAlgorithm();\n WritableStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(sinkClosePromise, () => {\n WritableStreamFinishInFlightClose(stream);\n return null;\n }, reason => {\n WritableStreamFinishInFlightCloseWithError(stream, reason);\n return null;\n });\n }\n function WritableStreamDefaultControllerProcessWrite(controller, chunk) {\n const stream = controller._controlledWritableStream;\n WritableStreamMarkFirstWriteRequestInFlight(stream);\n const sinkWritePromise = controller._writeAlgorithm(chunk);\n uponPromise(sinkWritePromise, () => {\n WritableStreamFinishInFlightWrite(stream);\n const state = stream._state;\n DequeueValue(controller);\n if (!WritableStreamCloseQueuedOrInFlight(stream) && state === 'writable') {\n const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);\n WritableStreamUpdateBackpressure(stream, backpressure);\n }\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n return null;\n }, reason => {\n if (stream._state === 'writable') {\n WritableStreamDefaultControllerClearAlgorithms(controller);\n }\n WritableStreamFinishInFlightWriteWithError(stream, reason);\n return null;\n });\n }\n function WritableStreamDefaultControllerGetBackpressure(controller) {\n const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller);\n return desiredSize <= 0;\n }\n // A client of WritableStreamDefaultController may use these functions directly to bypass state check.\n function WritableStreamDefaultControllerError(controller, error) {\n const stream = controller._controlledWritableStream;\n WritableStreamDefaultControllerClearAlgorithms(controller);\n WritableStreamStartErroring(stream, error);\n }\n // Helper functions for the WritableStream.\n function streamBrandCheckException$2(name) {\n return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);\n }\n // Helper functions for the WritableStreamDefaultController.\n function defaultControllerBrandCheckException$2(name) {\n return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`);\n }\n // Helper functions for the WritableStreamDefaultWriter.\n function defaultWriterBrandCheckException(name) {\n return new TypeError(`WritableStreamDefaultWriter.prototype.${name} can only be used on a WritableStreamDefaultWriter`);\n }\n function defaultWriterLockException(name) {\n return new TypeError('Cannot ' + name + ' a stream using a released writer');\n }\n function defaultWriterClosedPromiseInitialize(writer) {\n writer._closedPromise = newPromise((resolve, reject) => {\n writer._closedPromise_resolve = resolve;\n writer._closedPromise_reject = reject;\n writer._closedPromiseState = 'pending';\n });\n }\n function defaultWriterClosedPromiseInitializeAsRejected(writer, reason) {\n defaultWriterClosedPromiseInitialize(writer);\n defaultWriterClosedPromiseReject(writer, reason);\n }\n function defaultWriterClosedPromiseInitializeAsResolved(writer) {\n defaultWriterClosedPromiseInitialize(writer);\n defaultWriterClosedPromiseResolve(writer);\n }\n function defaultWriterClosedPromiseReject(writer, reason) {\n if (writer._closedPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(writer._closedPromise);\n writer._closedPromise_reject(reason);\n writer._closedPromise_resolve = undefined;\n writer._closedPromise_reject = undefined;\n writer._closedPromiseState = 'rejected';\n }\n function defaultWriterClosedPromiseResetToRejected(writer, reason) {\n defaultWriterClosedPromiseInitializeAsRejected(writer, reason);\n }\n function defaultWriterClosedPromiseResolve(writer) {\n if (writer._closedPromise_resolve === undefined) {\n return;\n }\n writer._closedPromise_resolve(undefined);\n writer._closedPromise_resolve = undefined;\n writer._closedPromise_reject = undefined;\n writer._closedPromiseState = 'resolved';\n }\n function defaultWriterReadyPromiseInitialize(writer) {\n writer._readyPromise = newPromise((resolve, reject) => {\n writer._readyPromise_resolve = resolve;\n writer._readyPromise_reject = reject;\n });\n writer._readyPromiseState = 'pending';\n }\n function defaultWriterReadyPromiseInitializeAsRejected(writer, reason) {\n defaultWriterReadyPromiseInitialize(writer);\n defaultWriterReadyPromiseReject(writer, reason);\n }\n function defaultWriterReadyPromiseInitializeAsResolved(writer) {\n defaultWriterReadyPromiseInitialize(writer);\n defaultWriterReadyPromiseResolve(writer);\n }\n function defaultWriterReadyPromiseReject(writer, reason) {\n if (writer._readyPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(writer._readyPromise);\n writer._readyPromise_reject(reason);\n writer._readyPromise_resolve = undefined;\n writer._readyPromise_reject = undefined;\n writer._readyPromiseState = 'rejected';\n }\n function defaultWriterReadyPromiseReset(writer) {\n defaultWriterReadyPromiseInitialize(writer);\n }\n function defaultWriterReadyPromiseResetToRejected(writer, reason) {\n defaultWriterReadyPromiseInitializeAsRejected(writer, reason);\n }\n function defaultWriterReadyPromiseResolve(writer) {\n if (writer._readyPromise_resolve === undefined) {\n return;\n }\n writer._readyPromise_resolve(undefined);\n writer._readyPromise_resolve = undefined;\n writer._readyPromise_reject = undefined;\n writer._readyPromiseState = 'fulfilled';\n }\n\n /// \n function getGlobals() {\n if (typeof globalThis !== 'undefined') {\n return globalThis;\n }\n else if (typeof self !== 'undefined') {\n return self;\n }\n else if (typeof global !== 'undefined') {\n return global;\n }\n return undefined;\n }\n const globals = getGlobals();\n\n /// \n function isDOMExceptionConstructor(ctor) {\n if (!(typeof ctor === 'function' || typeof ctor === 'object')) {\n return false;\n }\n if (ctor.name !== 'DOMException') {\n return false;\n }\n try {\n new ctor();\n return true;\n }\n catch (_a) {\n return false;\n }\n }\n /**\n * Support:\n * - Web browsers\n * - Node 18 and higher (https://github.com/nodejs/node/commit/e4b1fb5e6422c1ff151234bb9de792d45dd88d87)\n */\n function getFromGlobal() {\n const ctor = globals === null || globals === void 0 ? void 0 : globals.DOMException;\n return isDOMExceptionConstructor(ctor) ? ctor : undefined;\n }\n /**\n * Support:\n * - All platforms\n */\n function createPolyfill() {\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const ctor = function DOMException(message, name) {\n this.message = message || '';\n this.name = name || 'Error';\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n };\n setFunctionName(ctor, 'DOMException');\n ctor.prototype = Object.create(Error.prototype);\n Object.defineProperty(ctor.prototype, 'constructor', { value: ctor, writable: true, configurable: true });\n return ctor;\n }\n // eslint-disable-next-line @typescript-eslint/no-redeclare\n const DOMException = getFromGlobal() || createPolyfill();\n\n function ReadableStreamPipeTo(source, dest, preventClose, preventAbort, preventCancel, signal) {\n const reader = AcquireReadableStreamDefaultReader(source);\n const writer = AcquireWritableStreamDefaultWriter(dest);\n source._disturbed = true;\n let shuttingDown = false;\n // This is used to keep track of the spec's requirement that we wait for ongoing writes during shutdown.\n let currentWrite = promiseResolvedWith(undefined);\n return newPromise((resolve, reject) => {\n let abortAlgorithm;\n if (signal !== undefined) {\n abortAlgorithm = () => {\n const error = signal.reason !== undefined ? signal.reason : new DOMException('Aborted', 'AbortError');\n const actions = [];\n if (!preventAbort) {\n actions.push(() => {\n if (dest._state === 'writable') {\n return WritableStreamAbort(dest, error);\n }\n return promiseResolvedWith(undefined);\n });\n }\n if (!preventCancel) {\n actions.push(() => {\n if (source._state === 'readable') {\n return ReadableStreamCancel(source, error);\n }\n return promiseResolvedWith(undefined);\n });\n }\n shutdownWithAction(() => Promise.all(actions.map(action => action())), true, error);\n };\n if (signal.aborted) {\n abortAlgorithm();\n return;\n }\n signal.addEventListener('abort', abortAlgorithm);\n }\n // Using reader and writer, read all chunks from this and write them to dest\n // - Backpressure must be enforced\n // - Shutdown must stop all activity\n function pipeLoop() {\n return newPromise((resolveLoop, rejectLoop) => {\n function next(done) {\n if (done) {\n resolveLoop();\n }\n else {\n // Use `PerformPromiseThen` instead of `uponPromise` to avoid\n // adding unnecessary `.catch(rethrowAssertionErrorRejection)` handlers\n PerformPromiseThen(pipeStep(), next, rejectLoop);\n }\n }\n next(false);\n });\n }\n function pipeStep() {\n if (shuttingDown) {\n return promiseResolvedWith(true);\n }\n return PerformPromiseThen(writer._readyPromise, () => {\n return newPromise((resolveRead, rejectRead) => {\n ReadableStreamDefaultReaderRead(reader, {\n _chunkSteps: chunk => {\n currentWrite = PerformPromiseThen(WritableStreamDefaultWriterWrite(writer, chunk), undefined, noop);\n resolveRead(false);\n },\n _closeSteps: () => resolveRead(true),\n _errorSteps: rejectRead\n });\n });\n });\n }\n // Errors must be propagated forward\n isOrBecomesErrored(source, reader._closedPromise, storedError => {\n if (!preventAbort) {\n shutdownWithAction(() => WritableStreamAbort(dest, storedError), true, storedError);\n }\n else {\n shutdown(true, storedError);\n }\n return null;\n });\n // Errors must be propagated backward\n isOrBecomesErrored(dest, writer._closedPromise, storedError => {\n if (!preventCancel) {\n shutdownWithAction(() => ReadableStreamCancel(source, storedError), true, storedError);\n }\n else {\n shutdown(true, storedError);\n }\n return null;\n });\n // Closing must be propagated forward\n isOrBecomesClosed(source, reader._closedPromise, () => {\n if (!preventClose) {\n shutdownWithAction(() => WritableStreamDefaultWriterCloseWithErrorPropagation(writer));\n }\n else {\n shutdown();\n }\n return null;\n });\n // Closing must be propagated backward\n if (WritableStreamCloseQueuedOrInFlight(dest) || dest._state === 'closed') {\n const destClosed = new TypeError('the destination writable stream closed before all data could be piped to it');\n if (!preventCancel) {\n shutdownWithAction(() => ReadableStreamCancel(source, destClosed), true, destClosed);\n }\n else {\n shutdown(true, destClosed);\n }\n }\n setPromiseIsHandledToTrue(pipeLoop());\n function waitForWritesToFinish() {\n // Another write may have started while we were waiting on this currentWrite, so we have to be sure to wait\n // for that too.\n const oldCurrentWrite = currentWrite;\n return PerformPromiseThen(currentWrite, () => oldCurrentWrite !== currentWrite ? waitForWritesToFinish() : undefined);\n }\n function isOrBecomesErrored(stream, promise, action) {\n if (stream._state === 'errored') {\n action(stream._storedError);\n }\n else {\n uponRejection(promise, action);\n }\n }\n function isOrBecomesClosed(stream, promise, action) {\n if (stream._state === 'closed') {\n action();\n }\n else {\n uponFulfillment(promise, action);\n }\n }\n function shutdownWithAction(action, originalIsError, originalError) {\n if (shuttingDown) {\n return;\n }\n shuttingDown = true;\n if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {\n uponFulfillment(waitForWritesToFinish(), doTheRest);\n }\n else {\n doTheRest();\n }\n function doTheRest() {\n uponPromise(action(), () => finalize(originalIsError, originalError), newError => finalize(true, newError));\n return null;\n }\n }\n function shutdown(isError, error) {\n if (shuttingDown) {\n return;\n }\n shuttingDown = true;\n if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {\n uponFulfillment(waitForWritesToFinish(), () => finalize(isError, error));\n }\n else {\n finalize(isError, error);\n }\n }\n function finalize(isError, error) {\n WritableStreamDefaultWriterRelease(writer);\n ReadableStreamReaderGenericRelease(reader);\n if (signal !== undefined) {\n signal.removeEventListener('abort', abortAlgorithm);\n }\n if (isError) {\n reject(error);\n }\n else {\n resolve(undefined);\n }\n return null;\n }\n });\n }\n\n /**\n * Allows control of a {@link ReadableStream | readable stream}'s state and internal queue.\n *\n * @public\n */\n class ReadableStreamDefaultController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is\n * over-full. An underlying source ought to use this information to determine when and how to apply backpressure.\n */\n get desiredSize() {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('desiredSize');\n }\n return ReadableStreamDefaultControllerGetDesiredSize(this);\n }\n /**\n * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from\n * the stream, but once those are read, the stream will become closed.\n */\n close() {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('close');\n }\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {\n throw new TypeError('The stream is not in a state that permits close');\n }\n ReadableStreamDefaultControllerClose(this);\n }\n enqueue(chunk = undefined) {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('enqueue');\n }\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {\n throw new TypeError('The stream is not in a state that permits enqueue');\n }\n return ReadableStreamDefaultControllerEnqueue(this, chunk);\n }\n /**\n * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.\n */\n error(e = undefined) {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('error');\n }\n ReadableStreamDefaultControllerError(this, e);\n }\n /** @internal */\n [CancelSteps](reason) {\n ResetQueue(this);\n const result = this._cancelAlgorithm(reason);\n ReadableStreamDefaultControllerClearAlgorithms(this);\n return result;\n }\n /** @internal */\n [PullSteps](readRequest) {\n const stream = this._controlledReadableStream;\n if (this._queue.length > 0) {\n const chunk = DequeueValue(this);\n if (this._closeRequested && this._queue.length === 0) {\n ReadableStreamDefaultControllerClearAlgorithms(this);\n ReadableStreamClose(stream);\n }\n else {\n ReadableStreamDefaultControllerCallPullIfNeeded(this);\n }\n readRequest._chunkSteps(chunk);\n }\n else {\n ReadableStreamAddReadRequest(stream, readRequest);\n ReadableStreamDefaultControllerCallPullIfNeeded(this);\n }\n }\n /** @internal */\n [ReleaseSteps]() {\n // Do nothing.\n }\n }\n Object.defineProperties(ReadableStreamDefaultController.prototype, {\n close: { enumerable: true },\n enqueue: { enumerable: true },\n error: { enumerable: true },\n desiredSize: { enumerable: true }\n });\n setFunctionName(ReadableStreamDefaultController.prototype.close, 'close');\n setFunctionName(ReadableStreamDefaultController.prototype.enqueue, 'enqueue');\n setFunctionName(ReadableStreamDefaultController.prototype.error, 'error');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamDefaultController.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamDefaultController',\n configurable: true\n });\n }\n // Abstract operations for the ReadableStreamDefaultController.\n function IsReadableStreamDefaultController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableStream')) {\n return false;\n }\n return x instanceof ReadableStreamDefaultController;\n }\n function ReadableStreamDefaultControllerCallPullIfNeeded(controller) {\n const shouldPull = ReadableStreamDefaultControllerShouldCallPull(controller);\n if (!shouldPull) {\n return;\n }\n if (controller._pulling) {\n controller._pullAgain = true;\n return;\n }\n controller._pulling = true;\n const pullPromise = controller._pullAlgorithm();\n uponPromise(pullPromise, () => {\n controller._pulling = false;\n if (controller._pullAgain) {\n controller._pullAgain = false;\n ReadableStreamDefaultControllerCallPullIfNeeded(controller);\n }\n return null;\n }, e => {\n ReadableStreamDefaultControllerError(controller, e);\n return null;\n });\n }\n function ReadableStreamDefaultControllerShouldCallPull(controller) {\n const stream = controller._controlledReadableStream;\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {\n return false;\n }\n if (!controller._started) {\n return false;\n }\n if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {\n return true;\n }\n const desiredSize = ReadableStreamDefaultControllerGetDesiredSize(controller);\n if (desiredSize > 0) {\n return true;\n }\n return false;\n }\n function ReadableStreamDefaultControllerClearAlgorithms(controller) {\n controller._pullAlgorithm = undefined;\n controller._cancelAlgorithm = undefined;\n controller._strategySizeAlgorithm = undefined;\n }\n // A client of ReadableStreamDefaultController may use these functions directly to bypass state check.\n function ReadableStreamDefaultControllerClose(controller) {\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {\n return;\n }\n const stream = controller._controlledReadableStream;\n controller._closeRequested = true;\n if (controller._queue.length === 0) {\n ReadableStreamDefaultControllerClearAlgorithms(controller);\n ReadableStreamClose(stream);\n }\n }\n function ReadableStreamDefaultControllerEnqueue(controller, chunk) {\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {\n return;\n }\n const stream = controller._controlledReadableStream;\n if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {\n ReadableStreamFulfillReadRequest(stream, chunk, false);\n }\n else {\n let chunkSize;\n try {\n chunkSize = controller._strategySizeAlgorithm(chunk);\n }\n catch (chunkSizeE) {\n ReadableStreamDefaultControllerError(controller, chunkSizeE);\n throw chunkSizeE;\n }\n try {\n EnqueueValueWithSize(controller, chunk, chunkSize);\n }\n catch (enqueueE) {\n ReadableStreamDefaultControllerError(controller, enqueueE);\n throw enqueueE;\n }\n }\n ReadableStreamDefaultControllerCallPullIfNeeded(controller);\n }\n function ReadableStreamDefaultControllerError(controller, e) {\n const stream = controller._controlledReadableStream;\n if (stream._state !== 'readable') {\n return;\n }\n ResetQueue(controller);\n ReadableStreamDefaultControllerClearAlgorithms(controller);\n ReadableStreamError(stream, e);\n }\n function ReadableStreamDefaultControllerGetDesiredSize(controller) {\n const state = controller._controlledReadableStream._state;\n if (state === 'errored') {\n return null;\n }\n if (state === 'closed') {\n return 0;\n }\n return controller._strategyHWM - controller._queueTotalSize;\n }\n // This is used in the implementation of TransformStream.\n function ReadableStreamDefaultControllerHasBackpressure(controller) {\n if (ReadableStreamDefaultControllerShouldCallPull(controller)) {\n return false;\n }\n return true;\n }\n function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) {\n const state = controller._controlledReadableStream._state;\n if (!controller._closeRequested && state === 'readable') {\n return true;\n }\n return false;\n }\n function SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) {\n controller._controlledReadableStream = stream;\n controller._queue = undefined;\n controller._queueTotalSize = undefined;\n ResetQueue(controller);\n controller._started = false;\n controller._closeRequested = false;\n controller._pullAgain = false;\n controller._pulling = false;\n controller._strategySizeAlgorithm = sizeAlgorithm;\n controller._strategyHWM = highWaterMark;\n controller._pullAlgorithm = pullAlgorithm;\n controller._cancelAlgorithm = cancelAlgorithm;\n stream._readableStreamController = controller;\n const startResult = startAlgorithm();\n uponPromise(promiseResolvedWith(startResult), () => {\n controller._started = true;\n ReadableStreamDefaultControllerCallPullIfNeeded(controller);\n return null;\n }, r => {\n ReadableStreamDefaultControllerError(controller, r);\n return null;\n });\n }\n function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underlyingSource, highWaterMark, sizeAlgorithm) {\n const controller = Object.create(ReadableStreamDefaultController.prototype);\n let startAlgorithm;\n let pullAlgorithm;\n let cancelAlgorithm;\n if (underlyingSource.start !== undefined) {\n startAlgorithm = () => underlyingSource.start(controller);\n }\n else {\n startAlgorithm = () => undefined;\n }\n if (underlyingSource.pull !== undefined) {\n pullAlgorithm = () => underlyingSource.pull(controller);\n }\n else {\n pullAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingSource.cancel !== undefined) {\n cancelAlgorithm = reason => underlyingSource.cancel(reason);\n }\n else {\n cancelAlgorithm = () => promiseResolvedWith(undefined);\n }\n SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);\n }\n // Helper functions for the ReadableStreamDefaultController.\n function defaultControllerBrandCheckException$1(name) {\n return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`);\n }\n\n function ReadableStreamTee(stream, cloneForBranch2) {\n if (IsReadableByteStreamController(stream._readableStreamController)) {\n return ReadableByteStreamTee(stream);\n }\n return ReadableStreamDefaultTee(stream);\n }\n function ReadableStreamDefaultTee(stream, cloneForBranch2) {\n const reader = AcquireReadableStreamDefaultReader(stream);\n let reading = false;\n let readAgain = false;\n let canceled1 = false;\n let canceled2 = false;\n let reason1;\n let reason2;\n let branch1;\n let branch2;\n let resolveCancelPromise;\n const cancelPromise = newPromise(resolve => {\n resolveCancelPromise = resolve;\n });\n function pullAlgorithm() {\n if (reading) {\n readAgain = true;\n return promiseResolvedWith(undefined);\n }\n reading = true;\n const readRequest = {\n _chunkSteps: chunk => {\n // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using\n // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let\n // successful synchronously-available reads get ahead of asynchronously-available errors.\n _queueMicrotask(() => {\n readAgain = false;\n const chunk1 = chunk;\n const chunk2 = chunk;\n // There is no way to access the cloning code right now in the reference implementation.\n // If we add one then we'll need an implementation for serializable objects.\n // if (!canceled2 && cloneForBranch2) {\n // chunk2 = StructuredDeserialize(StructuredSerialize(chunk2));\n // }\n if (!canceled1) {\n ReadableStreamDefaultControllerEnqueue(branch1._readableStreamController, chunk1);\n }\n if (!canceled2) {\n ReadableStreamDefaultControllerEnqueue(branch2._readableStreamController, chunk2);\n }\n reading = false;\n if (readAgain) {\n pullAlgorithm();\n }\n });\n },\n _closeSteps: () => {\n reading = false;\n if (!canceled1) {\n ReadableStreamDefaultControllerClose(branch1._readableStreamController);\n }\n if (!canceled2) {\n ReadableStreamDefaultControllerClose(branch2._readableStreamController);\n }\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n },\n _errorSteps: () => {\n reading = false;\n }\n };\n ReadableStreamDefaultReaderRead(reader, readRequest);\n return promiseResolvedWith(undefined);\n }\n function cancel1Algorithm(reason) {\n canceled1 = true;\n reason1 = reason;\n if (canceled2) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function cancel2Algorithm(reason) {\n canceled2 = true;\n reason2 = reason;\n if (canceled1) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function startAlgorithm() {\n // do nothing\n }\n branch1 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel1Algorithm);\n branch2 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm);\n uponRejection(reader._closedPromise, (r) => {\n ReadableStreamDefaultControllerError(branch1._readableStreamController, r);\n ReadableStreamDefaultControllerError(branch2._readableStreamController, r);\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n return null;\n });\n return [branch1, branch2];\n }\n function ReadableByteStreamTee(stream) {\n let reader = AcquireReadableStreamDefaultReader(stream);\n let reading = false;\n let readAgainForBranch1 = false;\n let readAgainForBranch2 = false;\n let canceled1 = false;\n let canceled2 = false;\n let reason1;\n let reason2;\n let branch1;\n let branch2;\n let resolveCancelPromise;\n const cancelPromise = newPromise(resolve => {\n resolveCancelPromise = resolve;\n });\n function forwardReaderError(thisReader) {\n uponRejection(thisReader._closedPromise, r => {\n if (thisReader !== reader) {\n return null;\n }\n ReadableByteStreamControllerError(branch1._readableStreamController, r);\n ReadableByteStreamControllerError(branch2._readableStreamController, r);\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n return null;\n });\n }\n function pullWithDefaultReader() {\n if (IsReadableStreamBYOBReader(reader)) {\n ReadableStreamReaderGenericRelease(reader);\n reader = AcquireReadableStreamDefaultReader(stream);\n forwardReaderError(reader);\n }\n const readRequest = {\n _chunkSteps: chunk => {\n // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using\n // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let\n // successful synchronously-available reads get ahead of asynchronously-available errors.\n _queueMicrotask(() => {\n readAgainForBranch1 = false;\n readAgainForBranch2 = false;\n const chunk1 = chunk;\n let chunk2 = chunk;\n if (!canceled1 && !canceled2) {\n try {\n chunk2 = CloneAsUint8Array(chunk);\n }\n catch (cloneE) {\n ReadableByteStreamControllerError(branch1._readableStreamController, cloneE);\n ReadableByteStreamControllerError(branch2._readableStreamController, cloneE);\n resolveCancelPromise(ReadableStreamCancel(stream, cloneE));\n return;\n }\n }\n if (!canceled1) {\n ReadableByteStreamControllerEnqueue(branch1._readableStreamController, chunk1);\n }\n if (!canceled2) {\n ReadableByteStreamControllerEnqueue(branch2._readableStreamController, chunk2);\n }\n reading = false;\n if (readAgainForBranch1) {\n pull1Algorithm();\n }\n else if (readAgainForBranch2) {\n pull2Algorithm();\n }\n });\n },\n _closeSteps: () => {\n reading = false;\n if (!canceled1) {\n ReadableByteStreamControllerClose(branch1._readableStreamController);\n }\n if (!canceled2) {\n ReadableByteStreamControllerClose(branch2._readableStreamController);\n }\n if (branch1._readableStreamController._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerRespond(branch1._readableStreamController, 0);\n }\n if (branch2._readableStreamController._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerRespond(branch2._readableStreamController, 0);\n }\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n },\n _errorSteps: () => {\n reading = false;\n }\n };\n ReadableStreamDefaultReaderRead(reader, readRequest);\n }\n function pullWithBYOBReader(view, forBranch2) {\n if (IsReadableStreamDefaultReader(reader)) {\n ReadableStreamReaderGenericRelease(reader);\n reader = AcquireReadableStreamBYOBReader(stream);\n forwardReaderError(reader);\n }\n const byobBranch = forBranch2 ? branch2 : branch1;\n const otherBranch = forBranch2 ? branch1 : branch2;\n const readIntoRequest = {\n _chunkSteps: chunk => {\n // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using\n // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let\n // successful synchronously-available reads get ahead of asynchronously-available errors.\n _queueMicrotask(() => {\n readAgainForBranch1 = false;\n readAgainForBranch2 = false;\n const byobCanceled = forBranch2 ? canceled2 : canceled1;\n const otherCanceled = forBranch2 ? canceled1 : canceled2;\n if (!otherCanceled) {\n let clonedChunk;\n try {\n clonedChunk = CloneAsUint8Array(chunk);\n }\n catch (cloneE) {\n ReadableByteStreamControllerError(byobBranch._readableStreamController, cloneE);\n ReadableByteStreamControllerError(otherBranch._readableStreamController, cloneE);\n resolveCancelPromise(ReadableStreamCancel(stream, cloneE));\n return;\n }\n if (!byobCanceled) {\n ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);\n }\n ReadableByteStreamControllerEnqueue(otherBranch._readableStreamController, clonedChunk);\n }\n else if (!byobCanceled) {\n ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);\n }\n reading = false;\n if (readAgainForBranch1) {\n pull1Algorithm();\n }\n else if (readAgainForBranch2) {\n pull2Algorithm();\n }\n });\n },\n _closeSteps: chunk => {\n reading = false;\n const byobCanceled = forBranch2 ? canceled2 : canceled1;\n const otherCanceled = forBranch2 ? canceled1 : canceled2;\n if (!byobCanceled) {\n ReadableByteStreamControllerClose(byobBranch._readableStreamController);\n }\n if (!otherCanceled) {\n ReadableByteStreamControllerClose(otherBranch._readableStreamController);\n }\n if (chunk !== undefined) {\n if (!byobCanceled) {\n ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);\n }\n if (!otherCanceled && otherBranch._readableStreamController._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerRespond(otherBranch._readableStreamController, 0);\n }\n }\n if (!byobCanceled || !otherCanceled) {\n resolveCancelPromise(undefined);\n }\n },\n _errorSteps: () => {\n reading = false;\n }\n };\n ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest);\n }\n function pull1Algorithm() {\n if (reading) {\n readAgainForBranch1 = true;\n return promiseResolvedWith(undefined);\n }\n reading = true;\n const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController);\n if (byobRequest === null) {\n pullWithDefaultReader();\n }\n else {\n pullWithBYOBReader(byobRequest._view, false);\n }\n return promiseResolvedWith(undefined);\n }\n function pull2Algorithm() {\n if (reading) {\n readAgainForBranch2 = true;\n return promiseResolvedWith(undefined);\n }\n reading = true;\n const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch2._readableStreamController);\n if (byobRequest === null) {\n pullWithDefaultReader();\n }\n else {\n pullWithBYOBReader(byobRequest._view, true);\n }\n return promiseResolvedWith(undefined);\n }\n function cancel1Algorithm(reason) {\n canceled1 = true;\n reason1 = reason;\n if (canceled2) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function cancel2Algorithm(reason) {\n canceled2 = true;\n reason2 = reason;\n if (canceled1) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function startAlgorithm() {\n return;\n }\n branch1 = CreateReadableByteStream(startAlgorithm, pull1Algorithm, cancel1Algorithm);\n branch2 = CreateReadableByteStream(startAlgorithm, pull2Algorithm, cancel2Algorithm);\n forwardReaderError(reader);\n return [branch1, branch2];\n }\n\n function isReadableStreamLike(stream) {\n return typeIsObject(stream) && typeof stream.getReader !== 'undefined';\n }\n\n function ReadableStreamFrom(source) {\n if (isReadableStreamLike(source)) {\n return ReadableStreamFromDefaultReader(source.getReader());\n }\n return ReadableStreamFromIterable(source);\n }\n function ReadableStreamFromIterable(asyncIterable) {\n let stream;\n const iteratorRecord = GetIterator(asyncIterable, 'async');\n const startAlgorithm = noop;\n function pullAlgorithm() {\n let nextResult;\n try {\n nextResult = IteratorNext(iteratorRecord);\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n const nextPromise = promiseResolvedWith(nextResult);\n return transformPromiseWith(nextPromise, iterResult => {\n if (!typeIsObject(iterResult)) {\n throw new TypeError('The promise returned by the iterator.next() method must fulfill with an object');\n }\n const done = IteratorComplete(iterResult);\n if (done) {\n ReadableStreamDefaultControllerClose(stream._readableStreamController);\n }\n else {\n const value = IteratorValue(iterResult);\n ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);\n }\n });\n }\n function cancelAlgorithm(reason) {\n const iterator = iteratorRecord.iterator;\n let returnMethod;\n try {\n returnMethod = GetMethod(iterator, 'return');\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n if (returnMethod === undefined) {\n return promiseResolvedWith(undefined);\n }\n let returnResult;\n try {\n returnResult = reflectCall(returnMethod, iterator, [reason]);\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n const returnPromise = promiseResolvedWith(returnResult);\n return transformPromiseWith(returnPromise, iterResult => {\n if (!typeIsObject(iterResult)) {\n throw new TypeError('The promise returned by the iterator.return() method must fulfill with an object');\n }\n return undefined;\n });\n }\n stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);\n return stream;\n }\n function ReadableStreamFromDefaultReader(reader) {\n let stream;\n const startAlgorithm = noop;\n function pullAlgorithm() {\n let readPromise;\n try {\n readPromise = reader.read();\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n return transformPromiseWith(readPromise, readResult => {\n if (!typeIsObject(readResult)) {\n throw new TypeError('The promise returned by the reader.read() method must fulfill with an object');\n }\n if (readResult.done) {\n ReadableStreamDefaultControllerClose(stream._readableStreamController);\n }\n else {\n const value = readResult.value;\n ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);\n }\n });\n }\n function cancelAlgorithm(reason) {\n try {\n return promiseResolvedWith(reader.cancel(reason));\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n }\n stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);\n return stream;\n }\n\n function convertUnderlyingDefaultOrByteSource(source, context) {\n assertDictionary(source, context);\n const original = source;\n const autoAllocateChunkSize = original === null || original === void 0 ? void 0 : original.autoAllocateChunkSize;\n const cancel = original === null || original === void 0 ? void 0 : original.cancel;\n const pull = original === null || original === void 0 ? void 0 : original.pull;\n const start = original === null || original === void 0 ? void 0 : original.start;\n const type = original === null || original === void 0 ? void 0 : original.type;\n return {\n autoAllocateChunkSize: autoAllocateChunkSize === undefined ?\n undefined :\n convertUnsignedLongLongWithEnforceRange(autoAllocateChunkSize, `${context} has member 'autoAllocateChunkSize' that`),\n cancel: cancel === undefined ?\n undefined :\n convertUnderlyingSourceCancelCallback(cancel, original, `${context} has member 'cancel' that`),\n pull: pull === undefined ?\n undefined :\n convertUnderlyingSourcePullCallback(pull, original, `${context} has member 'pull' that`),\n start: start === undefined ?\n undefined :\n convertUnderlyingSourceStartCallback(start, original, `${context} has member 'start' that`),\n type: type === undefined ? undefined : convertReadableStreamType(type, `${context} has member 'type' that`)\n };\n }\n function convertUnderlyingSourceCancelCallback(fn, original, context) {\n assertFunction(fn, context);\n return (reason) => promiseCall(fn, original, [reason]);\n }\n function convertUnderlyingSourcePullCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => promiseCall(fn, original, [controller]);\n }\n function convertUnderlyingSourceStartCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => reflectCall(fn, original, [controller]);\n }\n function convertReadableStreamType(type, context) {\n type = `${type}`;\n if (type !== 'bytes') {\n throw new TypeError(`${context} '${type}' is not a valid enumeration value for ReadableStreamType`);\n }\n return type;\n }\n\n function convertIteratorOptions(options, context) {\n assertDictionary(options, context);\n const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;\n return { preventCancel: Boolean(preventCancel) };\n }\n\n function convertPipeOptions(options, context) {\n assertDictionary(options, context);\n const preventAbort = options === null || options === void 0 ? void 0 : options.preventAbort;\n const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;\n const preventClose = options === null || options === void 0 ? void 0 : options.preventClose;\n const signal = options === null || options === void 0 ? void 0 : options.signal;\n if (signal !== undefined) {\n assertAbortSignal(signal, `${context} has member 'signal' that`);\n }\n return {\n preventAbort: Boolean(preventAbort),\n preventCancel: Boolean(preventCancel),\n preventClose: Boolean(preventClose),\n signal\n };\n }\n function assertAbortSignal(signal, context) {\n if (!isAbortSignal(signal)) {\n throw new TypeError(`${context} is not an AbortSignal.`);\n }\n }\n\n function convertReadableWritablePair(pair, context) {\n assertDictionary(pair, context);\n const readable = pair === null || pair === void 0 ? void 0 : pair.readable;\n assertRequiredField(readable, 'readable', 'ReadableWritablePair');\n assertReadableStream(readable, `${context} has member 'readable' that`);\n const writable = pair === null || pair === void 0 ? void 0 : pair.writable;\n assertRequiredField(writable, 'writable', 'ReadableWritablePair');\n assertWritableStream(writable, `${context} has member 'writable' that`);\n return { readable, writable };\n }\n\n /**\n * A readable stream represents a source of data, from which you can read.\n *\n * @public\n */\n class ReadableStream {\n constructor(rawUnderlyingSource = {}, rawStrategy = {}) {\n if (rawUnderlyingSource === undefined) {\n rawUnderlyingSource = null;\n }\n else {\n assertObject(rawUnderlyingSource, 'First parameter');\n }\n const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');\n const underlyingSource = convertUnderlyingDefaultOrByteSource(rawUnderlyingSource, 'First parameter');\n InitializeReadableStream(this);\n if (underlyingSource.type === 'bytes') {\n if (strategy.size !== undefined) {\n throw new RangeError('The strategy for a byte stream cannot have a size function');\n }\n const highWaterMark = ExtractHighWaterMark(strategy, 0);\n SetUpReadableByteStreamControllerFromUnderlyingSource(this, underlyingSource, highWaterMark);\n }\n else {\n const sizeAlgorithm = ExtractSizeAlgorithm(strategy);\n const highWaterMark = ExtractHighWaterMark(strategy, 1);\n SetUpReadableStreamDefaultControllerFromUnderlyingSource(this, underlyingSource, highWaterMark, sizeAlgorithm);\n }\n }\n /**\n * Whether or not the readable stream is locked to a {@link ReadableStreamDefaultReader | reader}.\n */\n get locked() {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('locked');\n }\n return IsReadableStreamLocked(this);\n }\n /**\n * Cancels the stream, signaling a loss of interest in the stream by a consumer.\n *\n * The supplied `reason` argument will be given to the underlying source's {@link UnderlyingSource.cancel | cancel()}\n * method, which might or might not use it.\n */\n cancel(reason = undefined) {\n if (!IsReadableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$1('cancel'));\n }\n if (IsReadableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('Cannot cancel a stream that already has a reader'));\n }\n return ReadableStreamCancel(this, reason);\n }\n getReader(rawOptions = undefined) {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('getReader');\n }\n const options = convertReaderOptions(rawOptions, 'First parameter');\n if (options.mode === undefined) {\n return AcquireReadableStreamDefaultReader(this);\n }\n return AcquireReadableStreamBYOBReader(this);\n }\n pipeThrough(rawTransform, rawOptions = {}) {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('pipeThrough');\n }\n assertRequiredArgument(rawTransform, 1, 'pipeThrough');\n const transform = convertReadableWritablePair(rawTransform, 'First parameter');\n const options = convertPipeOptions(rawOptions, 'Second parameter');\n if (IsReadableStreamLocked(this)) {\n throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream');\n }\n if (IsWritableStreamLocked(transform.writable)) {\n throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream');\n }\n const promise = ReadableStreamPipeTo(this, transform.writable, options.preventClose, options.preventAbort, options.preventCancel, options.signal);\n setPromiseIsHandledToTrue(promise);\n return transform.readable;\n }\n pipeTo(destination, rawOptions = {}) {\n if (!IsReadableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$1('pipeTo'));\n }\n if (destination === undefined) {\n return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`);\n }\n if (!IsWritableStream(destination)) {\n return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`));\n }\n let options;\n try {\n options = convertPipeOptions(rawOptions, 'Second parameter');\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n if (IsReadableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream'));\n }\n if (IsWritableStreamLocked(destination)) {\n return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream'));\n }\n return ReadableStreamPipeTo(this, destination, options.preventClose, options.preventAbort, options.preventCancel, options.signal);\n }\n /**\n * Tees this readable stream, returning a two-element array containing the two resulting branches as\n * new {@link ReadableStream} instances.\n *\n * Teeing a stream will lock it, preventing any other consumer from acquiring a reader.\n * To cancel the stream, cancel both of the resulting branches; a composite cancellation reason will then be\n * propagated to the stream's underlying source.\n *\n * Note that the chunks seen in each branch will be the same object. If the chunks are not immutable,\n * this could allow interference between the two branches.\n */\n tee() {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('tee');\n }\n const branches = ReadableStreamTee(this);\n return CreateArrayFromList(branches);\n }\n values(rawOptions = undefined) {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('values');\n }\n const options = convertIteratorOptions(rawOptions, 'First parameter');\n return AcquireReadableStreamAsyncIterator(this, options.preventCancel);\n }\n /**\n * Creates a new ReadableStream wrapping the provided iterable or async iterable.\n *\n * This can be used to adapt various kinds of objects into a readable stream,\n * such as an array, an async generator, or a Node.js readable stream.\n */\n static from(asyncIterable) {\n return ReadableStreamFrom(asyncIterable);\n }\n }\n Object.defineProperties(ReadableStream, {\n from: { enumerable: true }\n });\n Object.defineProperties(ReadableStream.prototype, {\n cancel: { enumerable: true },\n getReader: { enumerable: true },\n pipeThrough: { enumerable: true },\n pipeTo: { enumerable: true },\n tee: { enumerable: true },\n values: { enumerable: true },\n locked: { enumerable: true }\n });\n setFunctionName(ReadableStream.from, 'from');\n setFunctionName(ReadableStream.prototype.cancel, 'cancel');\n setFunctionName(ReadableStream.prototype.getReader, 'getReader');\n setFunctionName(ReadableStream.prototype.pipeThrough, 'pipeThrough');\n setFunctionName(ReadableStream.prototype.pipeTo, 'pipeTo');\n setFunctionName(ReadableStream.prototype.tee, 'tee');\n setFunctionName(ReadableStream.prototype.values, 'values');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStream.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStream',\n configurable: true\n });\n }\n if (typeof SymbolPolyfill.asyncIterator === 'symbol') {\n Object.defineProperty(ReadableStream.prototype, SymbolPolyfill.asyncIterator, {\n value: ReadableStream.prototype.values,\n writable: true,\n configurable: true\n });\n }\n // Abstract operations for the ReadableStream.\n // Throws if and only if startAlgorithm throws.\n function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {\n const stream = Object.create(ReadableStream.prototype);\n InitializeReadableStream(stream);\n const controller = Object.create(ReadableStreamDefaultController.prototype);\n SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);\n return stream;\n }\n // Throws if and only if startAlgorithm throws.\n function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) {\n const stream = Object.create(ReadableStream.prototype);\n InitializeReadableStream(stream);\n const controller = Object.create(ReadableByteStreamController.prototype);\n SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, undefined);\n return stream;\n }\n function InitializeReadableStream(stream) {\n stream._state = 'readable';\n stream._reader = undefined;\n stream._storedError = undefined;\n stream._disturbed = false;\n }\n function IsReadableStream(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_readableStreamController')) {\n return false;\n }\n return x instanceof ReadableStream;\n }\n function IsReadableStreamLocked(stream) {\n if (stream._reader === undefined) {\n return false;\n }\n return true;\n }\n // ReadableStream API exposed for controllers.\n function ReadableStreamCancel(stream, reason) {\n stream._disturbed = true;\n if (stream._state === 'closed') {\n return promiseResolvedWith(undefined);\n }\n if (stream._state === 'errored') {\n return promiseRejectedWith(stream._storedError);\n }\n ReadableStreamClose(stream);\n const reader = stream._reader;\n if (reader !== undefined && IsReadableStreamBYOBReader(reader)) {\n const readIntoRequests = reader._readIntoRequests;\n reader._readIntoRequests = new SimpleQueue();\n readIntoRequests.forEach(readIntoRequest => {\n readIntoRequest._closeSteps(undefined);\n });\n }\n const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason);\n return transformPromiseWith(sourceCancelPromise, noop);\n }\n function ReadableStreamClose(stream) {\n stream._state = 'closed';\n const reader = stream._reader;\n if (reader === undefined) {\n return;\n }\n defaultReaderClosedPromiseResolve(reader);\n if (IsReadableStreamDefaultReader(reader)) {\n const readRequests = reader._readRequests;\n reader._readRequests = new SimpleQueue();\n readRequests.forEach(readRequest => {\n readRequest._closeSteps();\n });\n }\n }\n function ReadableStreamError(stream, e) {\n stream._state = 'errored';\n stream._storedError = e;\n const reader = stream._reader;\n if (reader === undefined) {\n return;\n }\n defaultReaderClosedPromiseReject(reader, e);\n if (IsReadableStreamDefaultReader(reader)) {\n ReadableStreamDefaultReaderErrorReadRequests(reader, e);\n }\n else {\n ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);\n }\n }\n // Helper functions for the ReadableStream.\n function streamBrandCheckException$1(name) {\n return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);\n }\n\n function convertQueuingStrategyInit(init, context) {\n assertDictionary(init, context);\n const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;\n assertRequiredField(highWaterMark, 'highWaterMark', 'QueuingStrategyInit');\n return {\n highWaterMark: convertUnrestrictedDouble(highWaterMark)\n };\n }\n\n // The size function must not have a prototype property nor be a constructor\n const byteLengthSizeFunction = (chunk) => {\n return chunk.byteLength;\n };\n setFunctionName(byteLengthSizeFunction, 'size');\n /**\n * A queuing strategy that counts the number of bytes in each chunk.\n *\n * @public\n */\n class ByteLengthQueuingStrategy {\n constructor(options) {\n assertRequiredArgument(options, 1, 'ByteLengthQueuingStrategy');\n options = convertQueuingStrategyInit(options, 'First parameter');\n this._byteLengthQueuingStrategyHighWaterMark = options.highWaterMark;\n }\n /**\n * Returns the high water mark provided to the constructor.\n */\n get highWaterMark() {\n if (!IsByteLengthQueuingStrategy(this)) {\n throw byteLengthBrandCheckException('highWaterMark');\n }\n return this._byteLengthQueuingStrategyHighWaterMark;\n }\n /**\n * Measures the size of `chunk` by returning the value of its `byteLength` property.\n */\n get size() {\n if (!IsByteLengthQueuingStrategy(this)) {\n throw byteLengthBrandCheckException('size');\n }\n return byteLengthSizeFunction;\n }\n }\n Object.defineProperties(ByteLengthQueuingStrategy.prototype, {\n highWaterMark: { enumerable: true },\n size: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ByteLengthQueuingStrategy.prototype, SymbolPolyfill.toStringTag, {\n value: 'ByteLengthQueuingStrategy',\n configurable: true\n });\n }\n // Helper functions for the ByteLengthQueuingStrategy.\n function byteLengthBrandCheckException(name) {\n return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`);\n }\n function IsByteLengthQueuingStrategy(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_byteLengthQueuingStrategyHighWaterMark')) {\n return false;\n }\n return x instanceof ByteLengthQueuingStrategy;\n }\n\n // The size function must not have a prototype property nor be a constructor\n const countSizeFunction = () => {\n return 1;\n };\n setFunctionName(countSizeFunction, 'size');\n /**\n * A queuing strategy that counts the number of chunks.\n *\n * @public\n */\n class CountQueuingStrategy {\n constructor(options) {\n assertRequiredArgument(options, 1, 'CountQueuingStrategy');\n options = convertQueuingStrategyInit(options, 'First parameter');\n this._countQueuingStrategyHighWaterMark = options.highWaterMark;\n }\n /**\n * Returns the high water mark provided to the constructor.\n */\n get highWaterMark() {\n if (!IsCountQueuingStrategy(this)) {\n throw countBrandCheckException('highWaterMark');\n }\n return this._countQueuingStrategyHighWaterMark;\n }\n /**\n * Measures the size of `chunk` by always returning 1.\n * This ensures that the total queue size is a count of the number of chunks in the queue.\n */\n get size() {\n if (!IsCountQueuingStrategy(this)) {\n throw countBrandCheckException('size');\n }\n return countSizeFunction;\n }\n }\n Object.defineProperties(CountQueuingStrategy.prototype, {\n highWaterMark: { enumerable: true },\n size: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(CountQueuingStrategy.prototype, SymbolPolyfill.toStringTag, {\n value: 'CountQueuingStrategy',\n configurable: true\n });\n }\n // Helper functions for the CountQueuingStrategy.\n function countBrandCheckException(name) {\n return new TypeError(`CountQueuingStrategy.prototype.${name} can only be used on a CountQueuingStrategy`);\n }\n function IsCountQueuingStrategy(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_countQueuingStrategyHighWaterMark')) {\n return false;\n }\n return x instanceof CountQueuingStrategy;\n }\n\n function convertTransformer(original, context) {\n assertDictionary(original, context);\n const cancel = original === null || original === void 0 ? void 0 : original.cancel;\n const flush = original === null || original === void 0 ? void 0 : original.flush;\n const readableType = original === null || original === void 0 ? void 0 : original.readableType;\n const start = original === null || original === void 0 ? void 0 : original.start;\n const transform = original === null || original === void 0 ? void 0 : original.transform;\n const writableType = original === null || original === void 0 ? void 0 : original.writableType;\n return {\n cancel: cancel === undefined ?\n undefined :\n convertTransformerCancelCallback(cancel, original, `${context} has member 'cancel' that`),\n flush: flush === undefined ?\n undefined :\n convertTransformerFlushCallback(flush, original, `${context} has member 'flush' that`),\n readableType,\n start: start === undefined ?\n undefined :\n convertTransformerStartCallback(start, original, `${context} has member 'start' that`),\n transform: transform === undefined ?\n undefined :\n convertTransformerTransformCallback(transform, original, `${context} has member 'transform' that`),\n writableType\n };\n }\n function convertTransformerFlushCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => promiseCall(fn, original, [controller]);\n }\n function convertTransformerStartCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => reflectCall(fn, original, [controller]);\n }\n function convertTransformerTransformCallback(fn, original, context) {\n assertFunction(fn, context);\n return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);\n }\n function convertTransformerCancelCallback(fn, original, context) {\n assertFunction(fn, context);\n return (reason) => promiseCall(fn, original, [reason]);\n }\n\n // Class TransformStream\n /**\n * A transform stream consists of a pair of streams: a {@link WritableStream | writable stream},\n * known as its writable side, and a {@link ReadableStream | readable stream}, known as its readable side.\n * In a manner specific to the transform stream in question, writes to the writable side result in new data being\n * made available for reading from the readable side.\n *\n * @public\n */\n class TransformStream {\n constructor(rawTransformer = {}, rawWritableStrategy = {}, rawReadableStrategy = {}) {\n if (rawTransformer === undefined) {\n rawTransformer = null;\n }\n const writableStrategy = convertQueuingStrategy(rawWritableStrategy, 'Second parameter');\n const readableStrategy = convertQueuingStrategy(rawReadableStrategy, 'Third parameter');\n const transformer = convertTransformer(rawTransformer, 'First parameter');\n if (transformer.readableType !== undefined) {\n throw new RangeError('Invalid readableType specified');\n }\n if (transformer.writableType !== undefined) {\n throw new RangeError('Invalid writableType specified');\n }\n const readableHighWaterMark = ExtractHighWaterMark(readableStrategy, 0);\n const readableSizeAlgorithm = ExtractSizeAlgorithm(readableStrategy);\n const writableHighWaterMark = ExtractHighWaterMark(writableStrategy, 1);\n const writableSizeAlgorithm = ExtractSizeAlgorithm(writableStrategy);\n let startPromise_resolve;\n const startPromise = newPromise(resolve => {\n startPromise_resolve = resolve;\n });\n InitializeTransformStream(this, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm);\n SetUpTransformStreamDefaultControllerFromTransformer(this, transformer);\n if (transformer.start !== undefined) {\n startPromise_resolve(transformer.start(this._transformStreamController));\n }\n else {\n startPromise_resolve(undefined);\n }\n }\n /**\n * The readable side of the transform stream.\n */\n get readable() {\n if (!IsTransformStream(this)) {\n throw streamBrandCheckException('readable');\n }\n return this._readable;\n }\n /**\n * The writable side of the transform stream.\n */\n get writable() {\n if (!IsTransformStream(this)) {\n throw streamBrandCheckException('writable');\n }\n return this._writable;\n }\n }\n Object.defineProperties(TransformStream.prototype, {\n readable: { enumerable: true },\n writable: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(TransformStream.prototype, SymbolPolyfill.toStringTag, {\n value: 'TransformStream',\n configurable: true\n });\n }\n function InitializeTransformStream(stream, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm) {\n function startAlgorithm() {\n return startPromise;\n }\n function writeAlgorithm(chunk) {\n return TransformStreamDefaultSinkWriteAlgorithm(stream, chunk);\n }\n function abortAlgorithm(reason) {\n return TransformStreamDefaultSinkAbortAlgorithm(stream, reason);\n }\n function closeAlgorithm() {\n return TransformStreamDefaultSinkCloseAlgorithm(stream);\n }\n stream._writable = CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, writableHighWaterMark, writableSizeAlgorithm);\n function pullAlgorithm() {\n return TransformStreamDefaultSourcePullAlgorithm(stream);\n }\n function cancelAlgorithm(reason) {\n return TransformStreamDefaultSourceCancelAlgorithm(stream, reason);\n }\n stream._readable = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, readableHighWaterMark, readableSizeAlgorithm);\n // The [[backpressure]] slot is set to undefined so that it can be initialised by TransformStreamSetBackpressure.\n stream._backpressure = undefined;\n stream._backpressureChangePromise = undefined;\n stream._backpressureChangePromise_resolve = undefined;\n TransformStreamSetBackpressure(stream, true);\n stream._transformStreamController = undefined;\n }\n function IsTransformStream(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_transformStreamController')) {\n return false;\n }\n return x instanceof TransformStream;\n }\n // This is a no-op if both sides are already errored.\n function TransformStreamError(stream, e) {\n ReadableStreamDefaultControllerError(stream._readable._readableStreamController, e);\n TransformStreamErrorWritableAndUnblockWrite(stream, e);\n }\n function TransformStreamErrorWritableAndUnblockWrite(stream, e) {\n TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController);\n WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController, e);\n TransformStreamUnblockWrite(stream);\n }\n function TransformStreamUnblockWrite(stream) {\n if (stream._backpressure) {\n // Pretend that pull() was called to permit any pending write() calls to complete. TransformStreamSetBackpressure()\n // cannot be called from enqueue() or pull() once the ReadableStream is errored, so this will will be the final time\n // _backpressure is set.\n TransformStreamSetBackpressure(stream, false);\n }\n }\n function TransformStreamSetBackpressure(stream, backpressure) {\n // Passes also when called during construction.\n if (stream._backpressureChangePromise !== undefined) {\n stream._backpressureChangePromise_resolve();\n }\n stream._backpressureChangePromise = newPromise(resolve => {\n stream._backpressureChangePromise_resolve = resolve;\n });\n stream._backpressure = backpressure;\n }\n // Class TransformStreamDefaultController\n /**\n * Allows control of the {@link ReadableStream} and {@link WritableStream} of the associated {@link TransformStream}.\n *\n * @public\n */\n class TransformStreamDefaultController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full.\n */\n get desiredSize() {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('desiredSize');\n }\n const readableController = this._controlledTransformStream._readable._readableStreamController;\n return ReadableStreamDefaultControllerGetDesiredSize(readableController);\n }\n enqueue(chunk = undefined) {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('enqueue');\n }\n TransformStreamDefaultControllerEnqueue(this, chunk);\n }\n /**\n * Errors both the readable side and the writable side of the controlled transform stream, making all future\n * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded.\n */\n error(reason = undefined) {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('error');\n }\n TransformStreamDefaultControllerError(this, reason);\n }\n /**\n * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the\n * transformer only needs to consume a portion of the chunks written to the writable side.\n */\n terminate() {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('terminate');\n }\n TransformStreamDefaultControllerTerminate(this);\n }\n }\n Object.defineProperties(TransformStreamDefaultController.prototype, {\n enqueue: { enumerable: true },\n error: { enumerable: true },\n terminate: { enumerable: true },\n desiredSize: { enumerable: true }\n });\n setFunctionName(TransformStreamDefaultController.prototype.enqueue, 'enqueue');\n setFunctionName(TransformStreamDefaultController.prototype.error, 'error');\n setFunctionName(TransformStreamDefaultController.prototype.terminate, 'terminate');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(TransformStreamDefaultController.prototype, SymbolPolyfill.toStringTag, {\n value: 'TransformStreamDefaultController',\n configurable: true\n });\n }\n // Transform Stream Default Controller Abstract Operations\n function IsTransformStreamDefaultController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledTransformStream')) {\n return false;\n }\n return x instanceof TransformStreamDefaultController;\n }\n function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm) {\n controller._controlledTransformStream = stream;\n stream._transformStreamController = controller;\n controller._transformAlgorithm = transformAlgorithm;\n controller._flushAlgorithm = flushAlgorithm;\n controller._cancelAlgorithm = cancelAlgorithm;\n controller._finishPromise = undefined;\n controller._finishPromise_resolve = undefined;\n controller._finishPromise_reject = undefined;\n }\n function SetUpTransformStreamDefaultControllerFromTransformer(stream, transformer) {\n const controller = Object.create(TransformStreamDefaultController.prototype);\n let transformAlgorithm;\n let flushAlgorithm;\n let cancelAlgorithm;\n if (transformer.transform !== undefined) {\n transformAlgorithm = chunk => transformer.transform(chunk, controller);\n }\n else {\n transformAlgorithm = chunk => {\n try {\n TransformStreamDefaultControllerEnqueue(controller, chunk);\n return promiseResolvedWith(undefined);\n }\n catch (transformResultE) {\n return promiseRejectedWith(transformResultE);\n }\n };\n }\n if (transformer.flush !== undefined) {\n flushAlgorithm = () => transformer.flush(controller);\n }\n else {\n flushAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (transformer.cancel !== undefined) {\n cancelAlgorithm = reason => transformer.cancel(reason);\n }\n else {\n cancelAlgorithm = () => promiseResolvedWith(undefined);\n }\n SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm);\n }\n function TransformStreamDefaultControllerClearAlgorithms(controller) {\n controller._transformAlgorithm = undefined;\n controller._flushAlgorithm = undefined;\n controller._cancelAlgorithm = undefined;\n }\n function TransformStreamDefaultControllerEnqueue(controller, chunk) {\n const stream = controller._controlledTransformStream;\n const readableController = stream._readable._readableStreamController;\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)) {\n throw new TypeError('Readable side is not in a state that permits enqueue');\n }\n // We throttle transform invocations based on the backpressure of the ReadableStream, but we still\n // accept TransformStreamDefaultControllerEnqueue() calls.\n try {\n ReadableStreamDefaultControllerEnqueue(readableController, chunk);\n }\n catch (e) {\n // This happens when readableStrategy.size() throws.\n TransformStreamErrorWritableAndUnblockWrite(stream, e);\n throw stream._readable._storedError;\n }\n const backpressure = ReadableStreamDefaultControllerHasBackpressure(readableController);\n if (backpressure !== stream._backpressure) {\n TransformStreamSetBackpressure(stream, true);\n }\n }\n function TransformStreamDefaultControllerError(controller, e) {\n TransformStreamError(controller._controlledTransformStream, e);\n }\n function TransformStreamDefaultControllerPerformTransform(controller, chunk) {\n const transformPromise = controller._transformAlgorithm(chunk);\n return transformPromiseWith(transformPromise, undefined, r => {\n TransformStreamError(controller._controlledTransformStream, r);\n throw r;\n });\n }\n function TransformStreamDefaultControllerTerminate(controller) {\n const stream = controller._controlledTransformStream;\n const readableController = stream._readable._readableStreamController;\n ReadableStreamDefaultControllerClose(readableController);\n const error = new TypeError('TransformStream terminated');\n TransformStreamErrorWritableAndUnblockWrite(stream, error);\n }\n // TransformStreamDefaultSink Algorithms\n function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) {\n const controller = stream._transformStreamController;\n if (stream._backpressure) {\n const backpressureChangePromise = stream._backpressureChangePromise;\n return transformPromiseWith(backpressureChangePromise, () => {\n const writable = stream._writable;\n const state = writable._state;\n if (state === 'erroring') {\n throw writable._storedError;\n }\n return TransformStreamDefaultControllerPerformTransform(controller, chunk);\n });\n }\n return TransformStreamDefaultControllerPerformTransform(controller, chunk);\n }\n function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) {\n const controller = stream._transformStreamController;\n if (controller._finishPromise !== undefined) {\n return controller._finishPromise;\n }\n // stream._readable cannot change after construction, so caching it across a call to user code is safe.\n const readable = stream._readable;\n // Assign the _finishPromise now so that if _cancelAlgorithm calls readable.cancel() internally,\n // we don't run the _cancelAlgorithm again.\n controller._finishPromise = newPromise((resolve, reject) => {\n controller._finishPromise_resolve = resolve;\n controller._finishPromise_reject = reject;\n });\n const cancelPromise = controller._cancelAlgorithm(reason);\n TransformStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(cancelPromise, () => {\n if (readable._state === 'errored') {\n defaultControllerFinishPromiseReject(controller, readable._storedError);\n }\n else {\n ReadableStreamDefaultControllerError(readable._readableStreamController, reason);\n defaultControllerFinishPromiseResolve(controller);\n }\n return null;\n }, r => {\n ReadableStreamDefaultControllerError(readable._readableStreamController, r);\n defaultControllerFinishPromiseReject(controller, r);\n return null;\n });\n return controller._finishPromise;\n }\n function TransformStreamDefaultSinkCloseAlgorithm(stream) {\n const controller = stream._transformStreamController;\n if (controller._finishPromise !== undefined) {\n return controller._finishPromise;\n }\n // stream._readable cannot change after construction, so caching it across a call to user code is safe.\n const readable = stream._readable;\n // Assign the _finishPromise now so that if _flushAlgorithm calls readable.cancel() internally,\n // we don't also run the _cancelAlgorithm.\n controller._finishPromise = newPromise((resolve, reject) => {\n controller._finishPromise_resolve = resolve;\n controller._finishPromise_reject = reject;\n });\n const flushPromise = controller._flushAlgorithm();\n TransformStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(flushPromise, () => {\n if (readable._state === 'errored') {\n defaultControllerFinishPromiseReject(controller, readable._storedError);\n }\n else {\n ReadableStreamDefaultControllerClose(readable._readableStreamController);\n defaultControllerFinishPromiseResolve(controller);\n }\n return null;\n }, r => {\n ReadableStreamDefaultControllerError(readable._readableStreamController, r);\n defaultControllerFinishPromiseReject(controller, r);\n return null;\n });\n return controller._finishPromise;\n }\n // TransformStreamDefaultSource Algorithms\n function TransformStreamDefaultSourcePullAlgorithm(stream) {\n // Invariant. Enforced by the promises returned by start() and pull().\n TransformStreamSetBackpressure(stream, false);\n // Prevent the next pull() call until there is backpressure.\n return stream._backpressureChangePromise;\n }\n function TransformStreamDefaultSourceCancelAlgorithm(stream, reason) {\n const controller = stream._transformStreamController;\n if (controller._finishPromise !== undefined) {\n return controller._finishPromise;\n }\n // stream._writable cannot change after construction, so caching it across a call to user code is safe.\n const writable = stream._writable;\n // Assign the _finishPromise now so that if _flushAlgorithm calls writable.abort() or\n // writable.cancel() internally, we don't run the _cancelAlgorithm again, or also run the\n // _flushAlgorithm.\n controller._finishPromise = newPromise((resolve, reject) => {\n controller._finishPromise_resolve = resolve;\n controller._finishPromise_reject = reject;\n });\n const cancelPromise = controller._cancelAlgorithm(reason);\n TransformStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(cancelPromise, () => {\n if (writable._state === 'errored') {\n defaultControllerFinishPromiseReject(controller, writable._storedError);\n }\n else {\n WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, reason);\n TransformStreamUnblockWrite(stream);\n defaultControllerFinishPromiseResolve(controller);\n }\n return null;\n }, r => {\n WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, r);\n TransformStreamUnblockWrite(stream);\n defaultControllerFinishPromiseReject(controller, r);\n return null;\n });\n return controller._finishPromise;\n }\n // Helper functions for the TransformStreamDefaultController.\n function defaultControllerBrandCheckException(name) {\n return new TypeError(`TransformStreamDefaultController.prototype.${name} can only be used on a TransformStreamDefaultController`);\n }\n function defaultControllerFinishPromiseResolve(controller) {\n if (controller._finishPromise_resolve === undefined) {\n return;\n }\n controller._finishPromise_resolve();\n controller._finishPromise_resolve = undefined;\n controller._finishPromise_reject = undefined;\n }\n function defaultControllerFinishPromiseReject(controller, reason) {\n if (controller._finishPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(controller._finishPromise);\n controller._finishPromise_reject(reason);\n controller._finishPromise_resolve = undefined;\n controller._finishPromise_reject = undefined;\n }\n // Helper functions for the TransformStream.\n function streamBrandCheckException(name) {\n return new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`);\n }\n\n exports.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy;\n exports.CountQueuingStrategy = CountQueuingStrategy;\n exports.ReadableByteStreamController = ReadableByteStreamController;\n exports.ReadableStream = ReadableStream;\n exports.ReadableStreamBYOBReader = ReadableStreamBYOBReader;\n exports.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest;\n exports.ReadableStreamDefaultController = ReadableStreamDefaultController;\n exports.ReadableStreamDefaultReader = ReadableStreamDefaultReader;\n exports.TransformStream = TransformStream;\n exports.TransformStreamDefaultController = TransformStreamDefaultController;\n exports.WritableStream = WritableStream;\n exports.WritableStreamDefaultController = WritableStreamDefaultController;\n exports.WritableStreamDefaultWriter = WritableStreamDefaultWriter;\n\n}));\n//# sourceMappingURL=ponyfill.es2018.js.map\n","import { main } from \"@/program\";\n/**\n * The exit code for failure situations.\n */\nconst EXIT_FAILURE = 1;\n// Execute the script and catch any errors it may throw.\n// If the script threw an error, exit with generic failure exit code.\nconst exitCode = await main().catch(() => EXIT_FAILURE);\nif (typeof exitCode === \"number\") {\n process.exitCode = exitCode;\n}\n","/**\n * A symbol representing the `call` function of a {@link Callable} object.\n */\nexport const CALL = Symbol.for(\"call\");\n/**\n * Makes an object callable.\n *\n * @template T - The type of the object.\n * @param obj - The object to make callable.\n *\n * @returns A new {@link Callable} object with the same properties as the original one, but which can be called like a function.\n */\nexport function makeCallable(obj) {\n /**\n * Redirects a call to the {@link CALL} function.\n */\n function call(...args) {\n return call[CALL](...args);\n }\n Object.assign(call, obj);\n Object.setPrototypeOf(call, Object.getPrototypeOf(obj));\n return call;\n}\n","/**\n * Converts a comparer function into an equality comparer function.\n * The resulting equality comparer function returns `true` if the comparer returns `0`.\n *\n * @param comparer - The comparer function to convert.\n *\n * @returns An equality comparer function that returns `true` if the comparer returns `0`.\n */\nexport function convertComparerToEqualityComparer(comparer) {\n return (x, y) => comparer(x, y) === 0;\n}\n/**\n * Returns a new comparer function that represents the inverted comparison result of the original comparer.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - The original comparer function.\n *\n * @returns A new comparer function that represents the inverted comparison result of the original comparer.\n */\nexport function invertComparer(comparer) {\n return (left, right) => comparer(right, left);\n}\n/**\n * Combines two {@link Comparer} instances in order to create a new one that sorts\n * elements based on the first comparer, and then by the second one.\n *\n * @template T - The type of the elements being compared.\n * @param left - The first comparer to use when comparing elements.\n * @param right - The second comparer to use when comparing elements.\n *\n * @returns A new {@link Comparer} instance that sorts elements based on the first comparer, and then by the second one.\n */\nexport function combineComparers(left, right) {\n return (a, b) => {\n const leftResult = left(a, b);\n return leftResult === 0 ? right(a, b) : leftResult;\n };\n}\n","/**\n * Returns a new equality comparer that is the negation of the specified comparer.\n *\n * @template T - The type of values being compared.\n *\n * @param comparer - The equality comparer to negate.\n *\n * @returns A new equality comparer that returns `true` when the specified comparer returns `false`, and vice versa.\n */\nexport function negateEqualityComparer(comparer) {\n return (x, y) => !comparer(x, y);\n}\n/**\n * Combines two equality comparers using the logical OR operator.\n *\n * @template T - The type of values being compared.\n *\n * @param left - The first equality comparer to use in the OR operation.\n * @param right - The second equality comparer to use in the OR operation.\n *\n * @returns A new equality comparer that returns `true` if either the `left` or `right` comparer returns `true`.\n */\nexport function orEqualityComparers(left, right) {\n return (x, y) => left(x, y) || right(x, y);\n}\n/**\n * Combines two equality comparers using the logical AND operator.\n *\n * @template T - The type of values being compared.\n *\n * @param left - The first equality comparer to use in the AND operation.\n * @param right - The second equality comparer to use in the AND operation.\n *\n * @returns A new equality comparer that returns `true` if both the `left` and `right` comparers return `true`.\n */\nexport function andEqualityComparers(left, right) {\n return (x, y) => left(x, y) && right(x, y);\n}\n","import { CALL, makeCallable } from \"@/utils/functions/callable\";\nimport { andEqualityComparers, negateEqualityComparer, orEqualityComparers } from \"./equality-comparer.utils\";\n/**\n * A class that represents a composite equality comparer.\n *\n * @template T - The type of the elements to compare.\n */\nexport class CompositeEqualityComparer {\n /**\n * The underlying comparer function used for comparison.\n */\n _comparer;\n /**\n * The negated version of this comparer.\n */\n _negated;\n /**\n * Creates a new instance of {@link CompositeEqualityComparer}.\n *\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeEqualityComparer} instance, if any.\n *\n * @remarks\n *\n * Should **not** be called directly. Use {@link create}, or {@link createInternal} instead.\n */\n constructor(comparer, inverted) {\n this._comparer = comparer;\n this._negated = inverted;\n }\n /**\n * Creates a new instance of {@link CompositeEqualityComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeEqualityComparer} instance, if any.\n *\n * @returns A new instance of {@link CompositeEqualityComparer}.\n */\n static createInternal(comparer, inverted) {\n return makeCallable(new CompositeEqualityComparer(comparer, inverted));\n }\n /**\n * Creates a new instance of {@link CompositeEqualityComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n *\n * @returns A new instance of {@link CompositeEqualityComparer}.\n */\n static create(comparer) {\n return CompositeEqualityComparer.createInternal(comparer);\n }\n /**\n * Compares two values for equality.\n *\n * @param x - The first value to compare.\n * @param y - The second value to compare.\n *\n * @returns `true` if the values are equal; otherwise, `false`.\n */\n equals(x, y) {\n return this._comparer(x, y);\n }\n /**\n * Compares two values for equality.\n *\n * @param x - The first value to compare.\n * @param y - The second value to compare.\n *\n * @returns `true` if the values are equal; otherwise, `false`.\n */\n [CALL](x, y) {\n return this._comparer(x, y);\n }\n /**\n * Combines this comparer with another using the logical OR operator.\n *\n * @param comparer - The other comparer to combine with.\n *\n * @returns A new composite equality comparer representing the combination of this and the other comparer.\n */\n or(comparer) {\n const unwrappedComparer = comparer instanceof CompositeEqualityComparer ? comparer._comparer : comparer;\n const combinedComparer = orEqualityComparers(this._comparer, unwrappedComparer);\n return CompositeEqualityComparer.createInternal(combinedComparer);\n }\n /**\n * Combines this comparer with another using the logical AND operator.\n *\n * @param comparer - The other comparer to combine with.\n *\n * @returns A new composite equality comparer representing the combination of this and the other comparer.\n */\n and(comparer) {\n const unwrappedComparer = comparer instanceof CompositeEqualityComparer ? comparer._comparer : comparer;\n const combinedComparer = andEqualityComparers(this._comparer, unwrappedComparer);\n return CompositeEqualityComparer.createInternal(combinedComparer);\n }\n /**\n * Negates this comparer using the logical NOT operator.\n *\n * @returns A new composite equality comparer representing the negation of this comparer.\n */\n negate() {\n this._negated ??= CompositeEqualityComparer.createInternal(negateEqualityComparer(this._comparer), this);\n return this._negated;\n }\n}\n","import { CALL, makeCallable } from \"@/utils/functions/callable\";\nimport { combineComparers, convertComparerToEqualityComparer, invertComparer } from \"./comparer.utils\";\nimport { CompositeEqualityComparer } from \"./composite-equality-comparer\";\n/**\n * A class that represents a composite comparer.\n *\n * @template T - The type of the elements to compare.\n */\nexport class CompositeComparer {\n /**\n * The underlying comparer function used for comparison.\n */\n _comparer;\n /**\n * The inverted version of this comparer.\n */\n _inverted;\n /**\n * Constructs a new instance of {@link CompositeComparer}.\n *\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeComparer} instance, if any.\n *\n * @remarks\n *\n * Should **not** be called directly. Use {@link create}, or {@link createInternal} instead.\n */\n constructor(comparer, inverted) {\n this._comparer = comparer;\n this._inverted = inverted;\n }\n /**\n * Creates a new instance of {@link CompositeComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeComparer} instance, if any.\n *\n * @returns A new instance of {@link CompositeComparer}.\n */\n static createInternal(comparer, inverted) {\n return makeCallable(new CompositeComparer(comparer, inverted));\n }\n /**\n * Creates a new instance of {@link CompositeComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n *\n * @returns A new instance of {@link CompositeComparer}.\n */\n static create(comparer) {\n return CompositeComparer.createInternal(comparer);\n }\n /**\n * Compares two elements and returns a value indicating whether one element is less than, equal to, or greater than the other.\n *\n * @param left - The first element to compare.\n * @param right - The second element to compare.\n *\n * @returns A number that represents the comparison result.\n */\n compare(left, right) {\n return this._comparer(left, right);\n }\n /**\n * Compares two elements and returns a value indicating whether one element is less than, equal to, or greater than the other.\n *\n * @param left - The first element to compare.\n * @param right - The second element to compare.\n *\n * @returns A number that represents the comparison result.\n */\n [CALL](left, right) {\n return this._comparer(left, right);\n }\n /**\n * Creates a new comparer which compares elements using this comparer first, and then using the `nextComparer`.\n *\n * @param comparer - The next comparer to use if this comparer returns equal result.\n *\n * @returns A new comparer which compares elements using this comparer first, and then using the `nextComparer`.\n */\n thenBy(comparer) {\n const unwrappedComparer = comparer instanceof CompositeComparer ? comparer._comparer : comparer;\n const combinedComparer = combineComparers(this._comparer, unwrappedComparer);\n return CompositeComparer.createInternal(combinedComparer);\n }\n /**\n * Creates a new comparer that inverts the comparison result of this comparer.\n *\n * @returns A new comparer that inverts the comparison result of this comparer.\n */\n invert() {\n this._inverted ??= CompositeComparer.createInternal(invertComparer(this._comparer), this);\n return this._inverted;\n }\n /**\n * Converts the current {@link CompositeComparer} instance into a new {@link CompositeEqualityComparer} instance.\n *\n * @returns A new {@link CompositeEqualityComparer} instance that uses the underlying comparer function to compare for equality.\n */\n asEqualityComparer() {\n return CompositeEqualityComparer.create(convertComparerToEqualityComparer(this._comparer));\n }\n}\n","import { CompositeComparer } from \"./composite-comparer\";\n/**\n * Creates a new {@link CompositeComparer} instance based on the specified `comparer`.\n *\n * @template T - The type of the elements being compared.\n * @param comparer - The base {@link Comparer} used to create the new {@link CompositeComparer}.\n *\n * @returns A new {@link CompositeComparer} instance.\n */\nexport function createComparer(comparer) {\n return CompositeComparer.create(comparer);\n}\n// These functions were moved to a different file because of problems with circular references.\nexport { convertComparerToEqualityComparer, invertComparer, combineComparers, } from \"./comparer.utils\";\n/**\n * The base comparer that can compare any two values.\n *\n * It treats `undefined` as smaller than any other value, and `null` as smaller than any value except `undefined`.\n * Any non-null and non-undefined values are considered equal.\n */\nconst BASE_COMPARER = createComparer((left, right) => {\n if (left === undefined) {\n return right === undefined ? 0 : -1;\n }\n if (left === null) {\n return right === undefined ? 1 : right === null ? 0 : -1;\n }\n if (right === undefined || right === null) {\n return 1;\n }\n return 0;\n});\n/**\n * The default comparer that compares two values using their natural order\n * defined by the built-in `>` and `<` operators.\n */\nconst DEFAULT_COMPARER = BASE_COMPARER.thenBy((left, right) => left < right ? -1 : left > right ? 1 : 0);\n/**\n * Creates a base comparer that can compare any two values.\n *\n * It treats `undefined` as smaller than any other value, and `null` as smaller than any value except `undefined`.\n * Any non-null and non-undefined values are considered equal.\n *\n * @template T - The type of the elements being compared.\n */\nexport function createBaseComparer() {\n return BASE_COMPARER;\n}\n/**\n * Creates a default comparer that compares two values using their natural order\n * defined by the built-in `>` and `<` operators.\n *\n * @template T - The type of the elements being compared.\n */\nexport function createDefaultComparer() {\n return DEFAULT_COMPARER;\n}\n","import { createBaseComparer, createDefaultComparer } from \"./comparer\";\n/**\n * A string comparer that performs a case-sensitive ordinal string comparison.\n */\nexport const ORDINAL_COMPARER = createDefaultComparer();\n/**\n * A string comparer that ignores case differences.\n */\nexport const IGNORE_CASE_COMPARER = createBaseComparer().thenBy((left, right) => left?.localeCompare(right, undefined, { sensitivity: \"accent\" }) ?? 0);\n","import { CompositeEqualityComparer } from \"./composite-equality-comparer\";\n/**\n * Creates a composite equality comparer from the specified function.\n *\n * @template T - The type of values being compared.\n *\n * @param comparer - The equality comparer function to use as the base comparer.\n *\n * @returns A new {@link CompositeEqualityComparer} object.\n */\nexport function createEqualityComparer(comparer) {\n return CompositeEqualityComparer.create(comparer);\n}\n// These functions were moved to a different file because of problems with circular references.\nexport { negateEqualityComparer, orEqualityComparers, andEqualityComparers, } from \"./equality-comparer.utils\";\n/**\n * The default equality comparer that uses strict equality (`===`) to compare values.\n */\nconst DEFAULT_EQUALITY_COMPARER = createEqualityComparer((x, y) => x === y);\n/**\n * Creates a composite equality comparer that uses strict equality (`===`) to compare values.\n *\n * @template T - The type of values being compared.\n */\nexport function createDefaultEqualityComparer() {\n return DEFAULT_EQUALITY_COMPARER;\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:crypto\");","import { createHash, randomBytes } from \"node:crypto\";\nimport { IGNORE_CASE_COMPARER, ORDINAL_COMPARER } from \"@/utils/comparison\";\n/**\n * Returns the input value converted to a string.\n *\n * If the input value is already a string, it is returned as-is.\n * Otherwise, the output of `String()` is returned.\n *\n * @param s - The input value to convert to a string.\n *\n * @returns The input value as a string.\n */\nexport function asString(s) {\n return typeof s === \"string\" ? s : String(s);\n}\n/**\n * A regular expression that matches a string consisting of a single letter character.\n */\nexport const IS_LETTER_REGEX = /^\\p{L}$/u;\n/**\n * Checks if the provided string is a single letter.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the string is a single letter; otherwise, `false`.\n */\nexport function isLetter(s) {\n return s?.length === 1 && IS_LETTER_REGEX.test(s);\n}\n/**\n * A regular expression that matches a string consisting of a single digit character.\n */\nexport const IS_DIGIT_REGEX = /^\\d$/;\n/**\n * Checks if the provided string is a single digit.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the string is a single digit; otherwise, `false`.\n */\nexport function isDigit(s) {\n return s?.length === 1 && s >= \"0\" && s <= \"9\";\n}\n/**\n * A regular expression that matches a string consisting of a single letter or digit character.\n */\nexport const IS_LETTER_OR_DIGIT_REGEX = /^(?:\\p{L}|\\d)$/u;\n/**\n * Checks if the provided string is a single letter or digit.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the string is a single letter or digit; otherwise, `false`.\n */\nexport function isLetterOrDigit(s) {\n return s?.length === 1 && IS_LETTER_OR_DIGIT_REGEX.test(s);\n}\n/**\n * A regular expression that matches strings containing only uppercase characters\n * and not containing any lowercase Unicode characters.\n */\nexport const IS_UPPER_CASE_REGEX = /^[^\\p{Ll}]*$/u;\n/**\n * Checks if a string contains only uppercase characters.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the input string contains only uppercase characters; otherwise, `false`.\n */\nexport function isUpperCase(s) {\n return IS_UPPER_CASE_REGEX.test(s);\n}\n/**\n * A regular expression that matches strings containing only lowercase characters\n * and not containing any uppercase Unicode characters.\n */\nexport const IS_LOWER_CASE_REGEX = /^[^\\p{Lu}]*$/u;\n/**\n * Checks if a string contains only lowercase characters.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the input string contains only lowercase characters; otherwise, `false`.\n */\nexport function isLowerCase(s) {\n return IS_LOWER_CASE_REGEX.test(s);\n}\n/**\n * Checks if a given string represents a valid number.\n *\n * @param s - The string to be checked.\n *\n * @returns `true` if the string represents a valid number; otherwise, `false`.\n */\nexport function isNumberString(s) {\n return String(+s) === s;\n}\n/**\n * Checks if a given string represents a valid integer number.\n *\n * @param s - The string to be checked.\n *\n * @returns `true` if the string represents a valid integer number; otherwise, `false`.\n */\nexport function isIntegerString(s) {\n return String(parseInt(s)) === s;\n}\n/**\n * Compares two strings lexicographically and returns a value indicating whether one string is less than, equal to, or greater than the other.\n *\n * @param left - The first string to compare.\n * @param right - The second string to compare.\n * @param options - Options for comparing strings.\n *\n * @returns A value indicating the comparison result:\n *\n * - A value less than 0 indicates that `left` is less than `right`.\n * - 0 indicates that `left` is equal to `right`.\n * - A value greater than 0 indicates that `left` is greater than `right`.\n */\nexport function stringCompare(left, right, options) {\n const comparer = options?.ignoreCase ? IGNORE_CASE_COMPARER : ORDINAL_COMPARER;\n return comparer.compare(left, right);\n}\n/**\n * Compares two strings.\n *\n * @param left - The first string to compare.\n * @param right - The second string to compare.\n * @param options - Options for comparing strings.\n *\n * @returns `true` if the strings are equal; otherwise, `false`.\n */\nexport function stringEquals(left, right, options) {\n return stringCompare(left, right, options) === 0;\n}\n/**\n * Capitalizes the first letter of a string.\n *\n * @param s - The string to capitalize.\n *\n * @returns The capitalized string.\n */\nexport function capitalize(s) {\n return s.charAt(0).toUpperCase() + s.slice(1);\n}\n/**\n * Converts the first character of a string to lowercase.\n *\n * @param s - The input string.\n *\n * @returns The input string with the first character converted to lowercase.\n */\nexport function uncapitalize(s) {\n return s.charAt(0).toLowerCase() + s.slice(1);\n}\n/**\n * Converts a string to PascalCase.\n *\n * This function can handle input strings in the following formats:\n * - PascalCase\n * - camelCase\n * - kebab-case\n * - snake_case\n * - SCREAMING_SNAKE_CASE\n *\n * @param s - The input string to be converted to PascalCase.\n *\n * @returns The input string converted to PascalCase.\n */\nexport function toPascalCase(s) {\n // Convert input to lowercase if the entire string is in uppercase (SCREAMING_SNAKE_CASE)\n if (isUpperCase(s)) {\n s = s.toLowerCase();\n }\n return s\n // Replace any character following a non-word character (such as - or _) with its uppercase counterpart\n .replace(/(?:^|[\\s_-])(\\w)/g, (_, char) => char.toUpperCase())\n // Remove any non-word characters (such as - or _) from the result\n .replace(/[\\s_-]/g, \"\");\n}\n/**\n * Splits a string into an array of substrings based on a separator.\n *\n * @param s - The string to split.\n * @param separator - The separator to split the string by. Can be a string, a regular expression, or an array of strings.\n * @param options - Options for splitting the string.\n *\n * @returns An array of substrings from the original string.\n */\nexport function split(s, separator, options) {\n if (!s) {\n return [];\n }\n if (Array.isArray(separator)) {\n return splitByArrayOfStrings(s, separator, options);\n }\n return splitByStringOrRegex(s, separator, options);\n}\n/**\n * Split a string into substrings using the specified separator and return them as an array.\n *\n * @param s - The string to split.\n * @param separator - The separator to split the string by. Can be a string, or a regular expression.\n * @param options - Options for splitting the string.\n *\n * @returns An array of substrings from the original string.\n */\nfunction splitByStringOrRegex(s, separator, options) {\n const trimEntries = options?.trimEntries ?? false;\n const removeEmptyEntries = options?.removeEmptyEntries ?? false;\n const parts = s.split(separator);\n if (trimEntries) {\n for (let i = 0; i < parts.length; ++i) {\n parts[i] = parts[i].trim();\n }\n }\n return removeEmptyEntries ? parts.filter(x => x) : parts;\n}\n/**\n * Splits a string into an array of substrings based on the given separators.\n *\n * @param s - The input string to split.\n * @param separators - The array of separators to split the string by.\n * @param options - Options for splitting the string.\n *\n * @returns An array of substrings from the original string.\n */\nfunction splitByArrayOfStrings(s, separators, options) {\n const trimEntries = options?.trimEntries ?? false;\n const removeEmptyEntries = options?.removeEmptyEntries ?? false;\n const splitted = [];\n let previousIndex = -1;\n for (let i = 0; i < s.length; ++i) {\n if (!separators.includes(s.charAt(i))) {\n continue;\n }\n let part = s.substring(previousIndex + 1, i);\n previousIndex = i;\n if (trimEntries) {\n part = part.trim();\n }\n if (part || !removeEmptyEntries) {\n splitted.push(part);\n }\n }\n let lastPart = s.substring(previousIndex + 1);\n if (trimEntries) {\n lastPart = lastPart.trim();\n }\n if (lastPart || !removeEmptyEntries) {\n splitted.push(lastPart);\n }\n return splitted;\n}\n/**\n * Splits a string into an array of lines.\n *\n * @param text - The input string to split.\n * @param options - An optional object that specifies the options for splitting the string, including the maximum line length.\n *\n * @returns An array of strings, where each string represents a line from the input string. If the `maxLength` option is specified, the lines will be truncated at the specified length.\n */\nexport function splitLines(text, options) {\n const maxLength = options?.maxLength || 0;\n const lines = text.split(/\\r?\\n/);\n if (maxLength <= 0) {\n return lines;\n }\n const shortenedLines = lines.flatMap(line => {\n if (line.length <= maxLength) {\n return line;\n }\n const words = line.split(\" \");\n const linesFromCurrentLine = [];\n let currentLine = \"\";\n for (const word of words) {\n if (currentLine.length + word.length <= maxLength) {\n currentLine += (currentLine ? \" \" : \"\") + word;\n }\n else {\n linesFromCurrentLine.push(currentLine);\n currentLine = word;\n }\n }\n linesFromCurrentLine.push(currentLine);\n return linesFromCurrentLine;\n });\n return shortenedLines;\n}\n/**\n * Pads a string with spaces or a specific fill character to the specified maximum length.\n *\n * @param s - The input string to pad.\n * @param maxLength - The maximum length of the padded string.\n * @param options - An optional object that specifies the options for padding the string.\n *\n * @returns A string that represents the padded input string according to the specified options.\n */\nexport function pad(s, maxLength, options) {\n s ||= \"\";\n switch (options?.align) {\n case \"left\":\n return s.padEnd(maxLength, options?.fillString);\n case \"right\":\n return s.padStart(maxLength, options?.fillString);\n default:\n const availableLength = maxLength - s.length;\n if (availableLength <= 0) {\n return s;\n }\n const padStartLength = (availableLength >> 1) + s.length;\n return s.padStart(padStartLength, options?.fillString).padEnd(maxLength, options?.fillString);\n }\n}\n/**\n * Generates a secure random string of a specified length.\n *\n * @param length - The desired length of the generated string.\n *\n * @returns The secure random string in hexadecimal format.\n */\nexport function generateSecureRandomString(length) {\n const bytes = randomBytes(Math.ceil(length / 2));\n return bytes.toString(\"hex\").slice(0, length);\n}\n/**\n * Hashes a string using the specified algorithm.\n *\n * @param input - The string to be hashed.\n * @param algorithm - The hashing algorithm to use (default: \"sha256\").\n *\n * @returns The hashed string in hexadecimal format.\n */\nexport function hashString(input, algorithm = \"sha256\") {\n return createHash(algorithm).update(input).digest(\"hex\");\n}\n","import { IS_LETTER_OR_DIGIT_REGEX } from \"@/utils/string-utils\";\nimport { createDefaultEqualityComparer, createEqualityComparer } from \"./equality-comparer\";\nimport { IGNORE_CASE_COMPARER } from \"./string-comparer\";\n/**\n * A string comparer that performs a case-sensitive ordinal string comparison.\n */\nexport const ORDINAL_EQUALITY_COMPARER = createDefaultEqualityComparer();\n/**\n * A string comparer that ignores case differences.\n */\nexport const IGNORE_CASE_EQUALITY_COMPARER = IGNORE_CASE_COMPARER.asEqualityComparer();\n/**\n * An equality comparer that compares two strings ignoring non-word characters (e.g. spaces, punctuation).\n */\nexport const IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER = createEqualityComparer((x, y) => compareStringsIgnoreNonWordCharacters(x, y, false));\n/**\n * Creates an equality comparer that compares two strings ignoring non-word characters (e.g. spaces, punctuation) and case sensitivity.\n */\nexport const IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER = createEqualityComparer((x, y) => compareStringsIgnoreNonWordCharacters(x, y, true));\n/**\n * A comparer function that compares two strings ignoring non-word characters (e.g. spaces, punctuation).\n *\n * @param x - The first string to compare.\n * @param y - The second string to compare.\n * @param ignoreCase - A flag indicating whether to ignore case during comparison.\n *\n * @returns `true` if the two strings are equal; otherwise, `false`.\n */\nfunction compareStringsIgnoreNonWordCharacters(x, y, ignoreCase) {\n if (x === null || x === undefined || y === null || y === undefined) {\n return x === y;\n }\n const sensitivity = ignoreCase ? \"accent\" : \"variant\";\n let xI = 0;\n let yI = 0;\n while (xI < x.length && yI < y.length) {\n let xChar = x.charAt(xI);\n let yChar = y.charAt(yI);\n if (xChar === yChar) {\n ++xI;\n ++yI;\n continue;\n }\n while (xI < x.length && !IS_LETTER_OR_DIGIT_REGEX.test(xChar)) {\n xChar = x.charAt(++xI);\n }\n while (yI < y.length && !IS_LETTER_OR_DIGIT_REGEX.test(yChar)) {\n yChar = y.charAt(++yI);\n }\n if (xChar.localeCompare(yChar, undefined, { sensitivity }) !== 0) {\n return false;\n }\n ++xI;\n ++yI;\n }\n while (xI < x.length && !IS_LETTER_OR_DIGIT_REGEX.test(x.charAt(xI))) {\n ++xI;\n }\n while (yI < y.length && !IS_LETTER_OR_DIGIT_REGEX.test(y.charAt(yI))) {\n ++yI;\n }\n return xI >= x.length && yI >= y.length;\n}\n","/**\n * This descriptor is used to describe a set of flags stored as a `bigint` value.\n */\nexport class BigIntDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"bigint\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return 0n;\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n return (value & flag) === flag;\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n return value | flag;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n return value & ~flag;\n }\n}\n","/**\n * This descriptor is used to describe a set of flags stored as a `boolean` value.\n */\nexport class BooleanDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"boolean\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return false;\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n return !flag || value;\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n return value || flag;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n return value && !flag;\n }\n}\n","/**\n * This descriptor is used to describe a set of flags stored as a `number` value.\n */\nexport class NumberDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"number\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return 0;\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n return (value & flag) === flag;\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n return value | flag;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n return value & ~flag;\n }\n}\n","/**\n * An array of characters that can be used to separate enum values in a string.\n */\nexport const ENUM_SEPARATORS = [\",\", \"|\"];\n/**\n * The default separator used when converting an enum value to a string.\n */\nexport const DEFAULT_ENUM_SEPARATOR = ENUM_SEPARATORS[0];\n","import { split } from \"@/utils/string-utils\";\nimport { ENUM_SEPARATORS, DEFAULT_ENUM_SEPARATOR } from \"../enum-separators\";\n/**\n * This descriptor is used to describe a set of flags stored as a `string` value.\n *\n * @remarks\n *\n * It's super inefficient, when it comes to flags, because the whole concept\n * of string flags just seems too shady to me to optimize for these scenarios.\n * So, string enums are ok, but string enums with flags are not recommended.\n */\nexport class StringDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"string\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return \"\";\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n if (flag === this.defaultValue || flag === value) {\n return true;\n }\n if (!value) {\n return false;\n }\n const flags = split(value, ENUM_SEPARATORS, { trimEntries: true, removeEmptyEntries: true });\n return flags.includes(flag);\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n value = this.removeFlag(value, flag);\n return value ? `${value}${DEFAULT_ENUM_SEPARATOR} ${flag}` : value;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n if (value === this.defaultValue || flag === this.defaultValue) {\n return value;\n }\n if (value === flag) {\n return this.defaultValue;\n }\n const flags = split(value, ENUM_SEPARATORS, { trimEntries: true, removeEmptyEntries: true });\n return flags.filter(x => x !== flag).join(`${DEFAULT_ENUM_SEPARATOR} `);\n }\n}\n","import { BigIntDescriptor } from \"./bigint-descriptor\";\nimport { BooleanDescriptor } from \"./boolean-descriptor\";\nimport { NumberDescriptor } from \"./number-descriptor\";\nimport { StringDescriptor } from \"./string-descriptor\";\n/**\n * A map of known `EnumDescriptor`s, keyed by the string representation of their underlying type.\n */\nconst KNOWN_ENUM_DESCRIPTORS = new Map([\n [\"bigint\", new BigIntDescriptor()],\n [\"boolean\", new BooleanDescriptor()],\n [\"number\", new NumberDescriptor()],\n [\"string\", new StringDescriptor()],\n]);\n/**\n * Gets the {@link EnumDescriptor} for the provided type name.\n *\n * @template T - The type of the result to return\n * @param type - The name of the type to get the descriptor for\n *\n * @returns The descriptor for the specified type, or `undefined` if there is no such descriptor.\n */\nexport function getEnumDescriptorByUnderlyingType(type) {\n return KNOWN_ENUM_DESCRIPTORS.get(type);\n}\n/**\n * Infers the descriptor for an enum based on its values.\n *\n * @template T - Type of the enum.\n *\n * @param values - The values of the enum.\n *\n * @returns The inferred descriptor for the enum.\n *\n * @throws An error if the enum contains objects of different types or an invalid underlying type.\n */\nexport function inferEnumDescriptorOrThrow(values) {\n if (!values.every((x, i, self) => i === 0 || typeof x === typeof self[i - 1])) {\n throw new Error(\"The enum must contain objects of the same type.\");\n }\n const underlyingType = values.length ? typeof values[0] : \"number\";\n const descriptor = getEnumDescriptorByUnderlyingType(underlyingType);\n if (!descriptor) {\n throw new Error(`'${underlyingType}' is not an acceptable enum type.`);\n }\n return descriptor;\n}\n","import { createDefaultEqualityComparer } from \"@/utils/comparison\";\nimport { $i } from \"./iterable\";\n/**\n * Checks if a given value is an instance of a {@link Set}-like object.\n *\n * @template T - The element type of the `Set`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `Set`-like object or not.\n */\nexport function isSet(value) {\n if (value instanceof Set) {\n return true;\n }\n const set = value;\n return (!!set &&\n typeof set.values === \"function\" &&\n typeof set.add === \"function\" &&\n typeof set.delete === \"function\" &&\n typeof set.has === \"function\" &&\n typeof set[Symbol.iterator] === \"function\");\n}\n/**\n * Checks if a given value is an instance of a {@link ReadOnlySet}-like object.\n *\n * @template T - The element type of the `ReadOnlySet`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `ReadOnlySet`-like object or not.\n */\nexport function isReadOnlySet(value) {\n if (value instanceof Set) {\n return true;\n }\n const set = value;\n return (!!set &&\n typeof set.values === \"function\" &&\n typeof set.has === \"function\" &&\n typeof set[Symbol.iterator] === \"function\");\n}\n/**\n * Implements {@link Set} using an array under the hood.\n *\n * @template T - The type of values in the Map.\n *\n * @remarks\n *\n * Recommended for small collections and/or for occasions when you need to provide a custom equality comparer.\n */\nexport class ArraySet {\n /**\n * The array of values.\n */\n _values;\n /**\n * The equality comparer used to compare values.\n */\n _comparer;\n /**\n * Constructs an {@link ArraySet} from either an iterable of values or an equality comparer.\n *\n * @param valuesOrComparer - The iterable of values or the equality comparer to use for comparing values.\n * @param comparer - The equality comparer to use for comparing values (if `valuesOrComparer` is an iterable).\n */\n constructor(valuesOrComparer, comparer) {\n // If valuesOrComparer is a function, it must be the comparer, so use it.\n // Otherwise, use the default comparer.\n comparer ??= typeof valuesOrComparer === \"function\" ? valuesOrComparer : createDefaultEqualityComparer();\n // If valuesOrComparer is undefined or is in fact a comparer, create an empty array of values.\n const values = valuesOrComparer && valuesOrComparer !== comparer ? valuesOrComparer : [];\n this._values = [];\n this._comparer = comparer;\n for (const value of values) {\n this.add(value);\n }\n }\n /**\n * Returns the number of elements in the set.\n */\n get size() {\n return this._values.length;\n }\n /**\n * Adds a value to the set.\n *\n * @param value - The value to add to the set.\n *\n * @returns The set object, for chaining purposes.\n */\n add(value) {\n const i = $i(this._values).indexOf(value, this._comparer);\n if (i === -1) {\n this._values.push(value);\n }\n else {\n this._values[i] = value;\n }\n return this;\n }\n /**\n * Returns a boolean indicating whether a value exists in the set or not.\n *\n * @param value - The value to search for in the set.\n *\n * @returns `true` if the given value exists in the set; otherwise, `false`.\n */\n has(value) {\n return $i(this._values).includes(value, this._comparer);\n }\n /**\n * Removes the value from the set.\n *\n * @param value - The value to remove from the set.\n *\n * @returns `true` if the value was found and removed; otherwise, `false`.\n */\n delete(value) {\n const i = $i(this._values).indexOf(value, this._comparer);\n if (i === -1) {\n return false;\n }\n this._values.splice(i, 1);\n return true;\n }\n /**\n * Removes all values from the set.\n */\n clear() {\n this._values.splice(0);\n }\n /**\n * Funnily enough, returns an iterator over the values in the set.\n *\n * @remarks\n *\n * This method exists because somebody thought that we need to keep\n * `Set`'s and `Map`'s APIs similar for some reason.\n */\n keys() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns an iterator over the values in the set.\n */\n values() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns a new {@link Iterator} object that contains an array of `[value, value]`\n * for each element in the {@link ArraySet} object, in insertion order.\n *\n * @remarks\n *\n * This method exists because somebody thought that we need to keep\n * `Set`'s and `Map`'s APIs similar for some reason.\n */\n *entries() {\n const values = this._values;\n for (let i = 0; i < values.length; ++i) {\n yield [values[i], values[i]];\n }\n }\n /**\n * Executes a provided function once per each value in the set.\n *\n * @param callbackFn - Function to execute for each value in the set.\n * @param thisArg - Object to use as `this` when executing `callbackFn`.\n */\n forEach(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n const values = this._values;\n for (let i = 0; i < values.length; ++i) {\n callbackFn(values[i], values[i], this);\n }\n }\n /**\n * Returns an iterator over the values in the set.\n */\n [Symbol.iterator]() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Set\";\n }\n}\n","import { createDefaultComparer, createDefaultEqualityComparer } from \"@/utils/comparison\";\nimport { ArrayMap } from \"./map\";\nimport { ArraySet } from \"./set\";\n/**\n * Determines whether a value is iterable.H\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterable - The value to check.\n *\n * @returns `true` if the value is iterable; otherwise, `false`.\n */\nexport function isIterable(iterable) {\n return typeof iterable?.[Symbol.iterator] === \"function\";\n}\n/**\n * Returns the elements of an iterable that meet the condition specified in a callback function.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to filter.\n * @param predicate - A function to test each element of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns An iterable that contains the elements from the input iterable that satisfy the condition specified by the predicate function.\n */\nexport function* filter(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n yield value;\n }\n }\n}\n/**\n * Returns an iterable that contains only the distinct elements of the input iterable.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to filter.\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing only the distinct elements of the input iterable.\n */\nexport function distinct(iterable, comparer) {\n return comparer ? new ArraySet(iterable, comparer) : new Set(iterable);\n}\n/**\n * Returns a new iterable that contains only the distinct elements of the input iterable, based on the selected property.\n *\n * @template T - The type of the elements in the iterable.\n * @template U - The type of the property used for comparison.\n *\n * @param iterable - The iterable to filter.\n * @param selector - A function to select the property used for comparison.\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing the distinct elements of the input iterable based on the selected property.\n */\nexport function distinctBy(iterable, selector, comparer) {\n if (comparer) {\n const valueComparer = (a, b) => comparer(selector(a), selector(b));\n return new ArraySet(iterable, valueComparer);\n }\n return new Map(map(iterable, x => [selector(x), x])).values();\n}\n/**\n * Executes a provided function on every element of the iterable and returns the results in a new iterable.\n *\n * @template T - The type of the elements in the input iterable.\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param iterable - The iterable to map.\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the results of applying the callback function to each element in the input iterable.\n */\nexport function* map(iterable, callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n yield callbackFn(value, i++, iterable);\n }\n}\n/**\n * Executes a provided function on every element of the iterable and flattens the results into a new iterable.\n *\n * @template T - The type of the elements in the input iterable.\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param iterable - The iterable to flat map.\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the flattened results of applying the callback function to each element in the input iterable.\n */\nexport function* flatMap(iterable, callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n yield* callbackFn(value, i++, iterable);\n }\n}\n/**\n * Applies a provided function to each element of the iterable, ultimately reducing the iterable to a single value.\n *\n * @template T - The type of the elements in the input iterable.\n * @template U - The type of the accumulator and the resulting single value.\n *\n * @param iterable - The iterable to reduce.\n * @param callbackFn - The function to apply to each element in the input iterable and the accumulator.\n * @param initialValue - The initial value to use as the accumulator.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns The accumulated single value resulting from applying the callback function to each element in the input iterable.\n */\nexport function reduce(iterable, callbackFn, initialValue, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let accumulator = initialValue;\n let i = 0;\n for (const value of iterable) {\n if (accumulator === undefined && i === 0) {\n accumulator = value;\n }\n else {\n accumulator = callbackFn(accumulator, value, i, iterable);\n }\n ++i;\n }\n return accumulator;\n}\n/**\n * Returns an iterable that skips the first `count` elements of the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param count - The number of elements to skip. Must be a non-negative integer.\n *\n * @returns An iterable that contains the remaining elements after skipping `count` elements.\n */\nexport function* skip(iterable, count) {\n const it = iterable[Symbol.iterator]();\n for (let i = 0; i < count; ++i) {\n const { done } = it.next();\n if (done) {\n return;\n }\n }\n yield* { [Symbol.iterator]: () => it };\n}\n/**\n * Returns an iterable that contains the first `count` elements of the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param count - The number of elements to take. Must be a non-negative integer.\n *\n * @returns An iterable that contains the first `count` elements of the input iterable.\n */\nexport function* take(iterable, count) {\n let i = 0;\n for (const value of iterable) {\n if (++i > count) {\n return;\n }\n yield value;\n }\n}\n/**\n * Returns an iterable containing the last `count` elements of the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param count - The number of elements to include in the output iterable.\n *\n * @returns An iterable containing the last `count` elements of the input iterable.\n */\nexport function takeLast(iterable, count) {\n const buffer = [];\n for (const item of iterable) {\n buffer.push(item);\n if (buffer.length > count) {\n buffer.shift();\n }\n }\n return buffer;\n}\n/**\n * Returns an iterable that contains a subset of the elements in the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param start - The starting index *(inclusive)*. If omitted, defaults to `0`.\n * @param end - The ending index *(exclusive)*. If omitted, returns all elements after the `start` index.\n *\n * @returns An iterable that contains a subset of the elements in the input iterable.\n */\nexport function slice(iterable, start, end) {\n if (end === 0) {\n return [];\n }\n const isRelative = start < 0 || end < 0;\n if (isRelative) {\n return asArray(iterable).slice(start, end);\n }\n start ||= 0;\n const skipped = start === 0 ? iterable : skip(iterable, start);\n const took = end === undefined ? skipped : take(skipped, end - start);\n return took;\n}\n/**\n * Returns a new array with the elements of the input iterable in reverse order.\n *\n * @remarks\n *\n * This function will eagerly iterate over the input iterable and return an array with its elements in reverse order.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to reverse.\n *\n * @returns A new array with the elements of the input iterable in reverse order.\n */\nexport function reverse(iterable) {\n return [...iterable].reverse();\n}\n/**\n * Returns a new array with the elements of the input iterable sorted according to the specified comparer function.\n *\n * @remarks\n *\n * This function will eagerly iterate over the input iterable and return a new array with its elements sorted in ascending order.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to sort.\n * @param comparer - An optional function that compares two elements and returns a number indicating their relative order.\n *\n * @returns A new array with the elements of the input iterable sorted according to the specified comparer function.\n */\nexport function sort(iterable, comparer) {\n return [...iterable].sort(comparer || createDefaultComparer());\n}\n/**\n * Checks whether all elements of an iterable satisfy a specific condition.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to check.\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `false` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if every element of the iterable satisfies the condition; otherwise, `false`.\n*/\nexport function every(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (!predicate(value, i++, iterable)) {\n return false;\n }\n }\n return true;\n}\n/**\n * Checks whether any element of an iterable satisfies a specific condition.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to check.\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `true` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if any element of the iterable satisfies the condition; otherwise, `false`.\n */\nexport function some(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n return true;\n }\n }\n return false;\n}\n/**\n * Returns the minimum value in an iterable based on a specified comparison function.\n *\n * @param iterable - The iterable from which to find the minimum value.\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The minimum value in the iterable, or `undefined` if the iterable is empty.\n */\nexport function min(iterable, comparer, thisArg) {\n return extremum(iterable, -1, comparer, thisArg);\n}\n/**\n * Returns the maximum value in an iterable based on a specified comparison function.\n *\n * @param iterable - The iterable from which to find the maximum value.\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The maximum value in the iterable, or `undefined` if the iterable is empty.\n */\nexport function max(iterable, comparer, thisArg) {\n return extremum(iterable, 1, comparer, thisArg);\n}\n/**\n * Finds the extreme value in an iterable based on a specified comparison sign and comparison function.\n *\n * @param iterable - The iterable from which to find the extreme value.\n * @param comparisonSign - A positive number to indicate maximum search; a negative number to indicate minimum search.\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The extreme value in the iterable, or `undefined` if the iterable is empty.\n */\nfunction extremum(iterable, comparisonSign, comparer, thisArg) {\n comparer ||= createDefaultComparer();\n comparer = thisArg === undefined ? comparer : comparer.bind(thisArg);\n let currentValue = undefined;\n let currentValueIndex = -1;\n let i = -1;\n for (const value of iterable) {\n ++i;\n if (currentValueIndex === -1) {\n currentValue = value;\n currentValueIndex = i;\n continue;\n }\n if (Math.sign(comparer(value, currentValue, i, currentValueIndex, iterable)) === comparisonSign) {\n currentValue = value;\n currentValueIndex = i;\n }\n }\n return currentValue;\n}\n/**\n * Counts the number of elements in an iterable that satisfy a specific condition.\n *\n * @remarks\n *\n * If no predicate function is provided, this method returns the length of the iterable.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to check.\n * @param predicate - The count method calls the predicate function for each element in the iterable and increments the counter if the predicate returns a value which is coercible to the `true` boolean value.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns The number of elements in the iterable that satisfy the condition.\n */\nexport function count(iterable, predicate, thisArg) {\n if (!predicate && Array.isArray(iterable)) {\n return iterable.length;\n }\n let count = 0;\n if (predicate) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n ++count;\n }\n }\n }\n else {\n for (const _value of iterable) {\n ++count;\n }\n }\n return count;\n}\n/**\n * Returns the index of the first occurrence of a specified value in an iterable object, starting the search at a specified index.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable object to search for the specified value.\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index to start the search at.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the first occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\nexport function indexOf(iterable, searchElement, fromIndex, comparer) {\n if (typeof fromIndex !== \"number\") {\n comparer = fromIndex;\n fromIndex = 0;\n }\n fromIndex ??= 0;\n comparer ??= createDefaultEqualityComparer();\n let i = 0;\n for (const value of iterable) {\n if (i >= fromIndex && comparer(searchElement, value)) {\n return i;\n }\n ++i;\n }\n return -1;\n}\n/**\n * Returns the index of the last occurrence of a specified value in an iterable object, starting the search at a specified index.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable object to search for the specified value.\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index at which to begin searching backward.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the last occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\nexport function lastIndexOf(iterable, searchElement, fromIndex, comparer) {\n if (typeof fromIndex !== \"number\") {\n comparer = fromIndex;\n fromIndex = Infinity;\n }\n fromIndex ??= Infinity;\n comparer ??= createDefaultEqualityComparer();\n let i = 0;\n let lastIndex = -1;\n for (const value of iterable) {\n if (i >= fromIndex) {\n break;\n }\n if (comparer(searchElement, value)) {\n lastIndex = i;\n }\n ++i;\n }\n return lastIndex;\n}\n/**\n * Determines whether an iterable includes a certain element, returning `true` or `false` as appropriate.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search for the element.\n * @param searchElement - The element to search for.\n * @param fromIndex - The position in the iterable at which to begin searching for the element.\n * @param comparer - An optional function to use for comparing elements.\n *\n * @returns A boolean indicating whether the element was found in the iterable.\n */\nexport function includes(iterable, searchElement, fromIndex, comparer) {\n return indexOf(iterable, searchElement, fromIndex, comparer) !== -1;\n}\n/**\n * Checks if two iterables are equal, element by element, using an optional custom comparer.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param first - The first iterable to compare.\n * @param second - The second iterable to compare.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterables are equal.\n */\nexport function sequenceEqual(first, second, comparer) {\n comparer ??= createDefaultEqualityComparer();\n const firstIterator = first[Symbol.iterator]();\n const secondIterator = second[Symbol.iterator]();\n let firstCurrentElement = firstIterator.next();\n let secondCurrentElement = secondIterator.next();\n while (!firstCurrentElement.done && !secondCurrentElement.done) {\n if (!comparer(firstCurrentElement.value, secondCurrentElement.value)) {\n return false;\n }\n firstCurrentElement = firstIterator.next();\n secondCurrentElement = secondIterator.next();\n }\n return firstCurrentElement.done && secondCurrentElement.done;\n}\n/**\n * Checks if an iterable starts with the specified search elements, using an optional custom comparer.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to search.\n * @param searchElements - The elements to search for at the start of the iterable.\n * @param fromIndex - An optional index to start the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable starts with the search elements.\n */\nexport function startsWith(iterable, searchElements, fromIndex, comparer) {\n if (typeof fromIndex !== \"number\") {\n comparer = fromIndex;\n fromIndex = 0;\n }\n fromIndex ||= 0;\n comparer ||= createDefaultEqualityComparer();\n const iterableIterator = skip(iterable, fromIndex || 0)[Symbol.iterator]();\n const searchElementsIterator = searchElements[Symbol.iterator]();\n let iterableElement = iterableIterator.next();\n let searchElement = searchElementsIterator.next();\n while (!searchElement.done) {\n if (iterableElement.done || !comparer(iterableElement.value, searchElement.value)) {\n return false;\n }\n iterableElement = iterableIterator.next();\n searchElement = searchElementsIterator.next();\n }\n return true;\n}\n/**\n * Checks if an iterable ends with the specified search elements, using an optional custom comparer.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to search.\n * @param searchElements - The elements to search for at the end of the iterable.\n * @param toIndex - An optional index to end the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable ends with the search elements.\n */\nexport function endsWith(iterable, searchElements, toIndex, comparer) {\n if (typeof toIndex !== \"number\") {\n comparer = toIndex;\n toIndex = undefined;\n }\n const searchElementsBuffered = asArray(searchElements);\n const limitedIterable = typeof toIndex === \"number\" ? take(iterable, toIndex) : iterable;\n const lastElements = takeLast(limitedIterable, searchElementsBuffered.length);\n return sequenceEqual(lastElements, searchElementsBuffered, comparer);\n}\n/**\n * Returns the index of the first element in an iterable that satisfies the provided predicate function.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search.\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The index of the first element in the iterable that satisfies the provided predicate function, or `-1` if none are found.\n */\nexport function findIndex(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i, iterable)) {\n return i;\n }\n ++i;\n }\n return -1;\n}\n/**\n * Returns the first element in an iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the first element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the first element in the iterable, or `undefined` if the iterable is empty.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search.\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\nexport function first(iterable, predicate, thisArg) {\n if (!predicate) {\n // eslint-disable-next-line no-unreachable-loop\n for (const value of iterable) {\n return value;\n }\n return undefined;\n }\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n return value;\n }\n }\n return undefined;\n}\n/**\n * Returns the last element in an iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the last element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the last element in the iterable, or `undefined` if the iterable is empty.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search.\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The last element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\nexport function last(iterable, predicate, thisArg) {\n if (!predicate) {\n let lastValue = undefined;\n for (const value of iterable) {\n lastValue = value;\n }\n return lastValue;\n }\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n let lastValue = undefined;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n lastValue = value;\n }\n }\n return lastValue;\n}\n/**\n * Returns the element at the specified index in an iterable object.\n *\n * @template T - The type of elements in the iterable object.\n *\n * @param iterable - The iterable object to get the element from.\n * @param index - The zero-based index of the element to get.\n *\n * @returns The element at the specified index or `undefined` if the index is out of range or the iterable is empty.\n */\nexport function at(iterable, index) {\n if (Array.isArray(iterable)) {\n return iterable.at(index);\n }\n const isRelative = index < 0;\n if (isRelative) {\n return first(takeLast(iterable, -index));\n }\n return first(skip(iterable, index));\n}\n/**\n * Concatenates the elements in an iterable object using a specified separator between each element.\n *\n * @param iterable - The iterable object to concatenate.\n * @param separator - The string to use as a separator. If omitted, a comma (`,`) is used.\n *\n * @returns The concatenated string.\n */\nexport function join(iterable, separator) {\n return asArray(iterable).join(separator);\n}\n/**\n * Concatenates multiple iterable objects into a single iterable object.\n *\n * @template T - The type of elements in the iterable objects.\n *\n * @param iterables - The iterable objects to concatenate.\n *\n * @returns An iterable object that contains all the elements of the input iterable objects in the order they were passed in.\n */\nexport function* concat(...iterables) {\n for (const iterable of iterables) {\n yield* iterable;\n }\n}\n/**\n * Prepends the specified value to an iterable and returns a new iterable.\n *\n * @param iterable - The iterable to prepend the value to.\n * @param value - The value to prepend to the iterable.\n *\n * @returns A new iterable with the specified value prepended.\n */\nexport function* prepend(iterable, value) {\n yield value;\n yield* iterable;\n}\n/**\n * Appends the specified value to an iterable and returns a new iterable.\n *\n * @param iterable - The iterable to append the value to.\n * @param value - The value to append to the iterable.\n *\n * @returns A new iterable with the specified value appended.\n */\nexport function* append(iterable, value) {\n yield* iterable;\n yield value;\n}\n/**\n * Removes the last element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable from which to remove the last element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\nexport function pop(iterable) {\n const buffer = [...iterable];\n const value = buffer.pop();\n return [value, buffer];\n}\n/**\n * Removes the first element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable from which to remove the first element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\nexport function shift(iterable) {\n const iterator = iterable[Symbol.iterator]();\n const firstIteration = iterator.next();\n const firstElement = firstIteration.done ? undefined : firstIteration.value;\n return [firstElement, { [Symbol.iterator]: () => iterator }];\n}\n/**\n * Calls a function for each element in an iterable object.\n *\n * @template T - The type of elements in the iterable object.\n *\n * @param iterable - The iterable object to iterate over.\n * @param callbackFn - A function to call for each element in the iterable object.\n * @param thisArg - An object to use as `this` when executing the `callbackFn` function.\n */\nexport function forEach(iterable, callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n callbackFn(value, i++, iterable);\n }\n}\n/**\n * Converts an iterable to an array.\n *\n * If the iterable is already an array, a reference to the same array will be returned.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to convert to an array.\n *\n * @returns An array containing all the elements of the iterable, or a reference to the same array if it is already an array.\n */\nexport function asArray(iterable) {\n return Array.isArray(iterable) ? iterable : [...iterable];\n}\n/**\n * Converts an iterable to an array or an {@link ArrayLikeIterable}.\n *\n * If the iterable is already an array, a reference to the same array will be returned.\n * If the iterable is not an array, an {@link ArrayLikeIterable} object will be returned.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to convert to an array or an {@link ArrayLikeIterable}.\n *\n * @returns A reference to the same array if it is already an array, or an {@link ArrayLikeIterable} object if the iterable is not an array.\n */\nexport function asArrayLike(iterable) {\n return Array.isArray(iterable) ? iterable : $i(iterable);\n}\n/**\n * Wraps an iterable and adds array-like functionality to it.\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterable - The iterable to wrap.\n *\n * @returns A new instance of the {@link ArrayLikeIterable} class.\n */\nexport function $i(iterable) {\n return iterable instanceof ArrayLikeIterable ? iterable : ArrayLikeIterable.from(iterable);\n}\n/**\n * Wraps an iterable and adds array-like functionality to it.\n *\n * @template T - The type of elements in the iterable.\n */\nexport class ArrayLikeIterable {\n /**\n * The original iterable, wrapped by this instance.\n */\n _iterable;\n /**\n * Creates a new instance of the {@link ArrayLikeIterable} class.\n *\n * @param iterable - The iterable to wrap.\n */\n constructor(iterable) {\n this._iterable = iterable;\n }\n /**\n * Creates a new instance of the {@link ArrayLikeIterable} class from an iterable.\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterable - The iterable to wrap.\n *\n * @returns A new instance of the {@link ArrayLikeIterable} class.\n */\n static from(iterable) {\n return new ArrayLikeIterable(iterable);\n }\n /**\n * Creates a new instance of the {@link ArrayLikeIterable} class from an iterator.\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterator - The iterator to wrap.\n *\n * @returns A new instance of the {@link ArrayLikeIterable} class.\n */\n static of(iterator) {\n return new ArrayLikeIterable({ [Symbol.iterator]: () => iterator });\n }\n /**\n * Returns the number of elements in this iterable.\n *\n * @remarks\n *\n * Accessing this property will cause the iterable to be fully evaluated,\n * which may and definitely will result in performance overhead for large iterables.\n */\n get length() {\n return this.count();\n }\n /**\n * Returns the elements of the iterable that meet the condition specified in a callback function.\n *\n * @param predicate - A function to test each element of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns An iterable that contains the elements from the input iterable that satisfy the condition specified by the predicate function.\n */\n filter(predicate, thisArg) {\n return ArrayLikeIterable.from(filter(this._iterable, predicate, thisArg));\n }\n /**\n * Executes a provided function on every element of the iterable and returns the results in a new iterable.\n *\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the results of applying the callback function to each element in the input iterable.\n */\n map(callbackFn, thisArg) {\n return ArrayLikeIterable.from(map(this._iterable, callbackFn, thisArg));\n }\n /**\n * Executes a provided function on every element of the iterable and flattens the results into a new iterable.\n *\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the flattened results of applying the callback function to each element in the input iterable.\n */\n flatMap(callbackFn, thisArg) {\n return ArrayLikeIterable.from(flatMap(this._iterable, callbackFn, thisArg));\n }\n /**\n * Applies a provided function to each element of the iterable, ultimately reducing the iterable to a single value.\n *\n * @template U - The type of the accumulator and the resulting single value.\n *\n * @param callbackFn - The function to apply to each element in the input iterable and the accumulator.\n * @param initialValue - The initial value to use as the accumulator.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns The accumulated single value resulting from applying the callback function to each element in the input iterable.\n */\n reduce(callbackFn, initialValue, thisArg) {\n return reduce(this._iterable, callbackFn, initialValue, thisArg);\n }\n /**\n * Returns an iterable that skips the first `count` elements of the input iterable.\n *\n * @param count - The number of elements to skip. Must be a non-negative integer.\n *\n * @returns An iterable that contains the remaining elements after skipping `count` elements.\n */\n skip(count) {\n return ArrayLikeIterable.from(skip(this._iterable, count));\n }\n /**\n * Returns an iterable that contains the first `count` elements of the input iterable.\n *\n * @param count - The number of elements to take. Must be a non-negative integer.\n *\n * @returns An iterable that contains the first `count` elements of the input iterable.\n */\n take(count) {\n return ArrayLikeIterable.from(take(this._iterable, count));\n }\n /**\n * Returns an iterable containing the last `count` elements of the input iterable.\n *\n * @param count - The number of elements to include in the output iterable.\n *\n * @returns An iterable containing the last `count` elements of the input iterable.\n */\n takeLast(count) {\n return ArrayLikeIterable.from(takeLast(this._iterable, count));\n }\n /**\n * Returns an iterable that contains a subset of the elements in the input iterable.\n *\n * @param start - The starting index *(inclusive)*. If omitted, defaults to `0`.\n * @param end - The ending index *(exclusive)*. If omitted, returns all elements after the `start` index.\n *\n * @returns An iterable that contains a subset of the elements in the input iterable.\n */\n slice(start, end) {\n return ArrayLikeIterable.from(slice(this._iterable, start, end));\n }\n /**\n * Returns a new iterable with the elements of the input iterable in reverse order.\n *\n * @returns A new iterable with the elements of the input iterable in reverse order.\n */\n reverse() {\n return ArrayLikeIterable.from(reverse(this._iterable));\n }\n /**\n * Returns a new iterable with the elements of the input iterable sorted according to the specified comparer function.\n *\n * @param comparer - An optional function that compares two elements and returns a number indicating their relative order.\n *\n * @returns A new iterable with the elements of the input iterable sorted according to the specified comparer function.\n */\n sort(comparer) {\n return ArrayLikeIterable.from(sort(this._iterable, comparer));\n }\n /**\n * Checks whether all elements of an iterable satisfy a specific condition.\n *\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `false` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if every element of the iterable satisfies the condition; otherwise, `false`.\n */\n every(predicate, thisArg) {\n return every(this._iterable, predicate, thisArg);\n }\n /**\n * Checks whether any element of the iterable satisfies a specific condition.\n *\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `true` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if any element of the iterable satisfies the condition; otherwise, `false`.\n */\n some(predicate, thisArg) {\n return some(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the minimum value in the iterable based on a specified comparison function.\n *\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The minimum value in the iterable, or `undefined` if the iterable is empty.\n */\n min(comparer, thisArg) {\n return min(this._iterable, comparer, thisArg);\n }\n /**\n * Returns the maximum value in the iterable based on a specified comparison function.\n *\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The maximum value in the iterable, or `undefined` if the iterable is empty.\n */\n max(comparer, thisArg) {\n return max(this._iterable, comparer, thisArg);\n }\n /**\n * Counts the number of elements in an iterable that satisfy a specific condition.\n *\n * @remarks\n *\n * If no predicate function is provided, this method returns the length of the iterable.\n *\n * @param predicate - The count method calls the predicate function for each element in the iterable and increments the counter if the predicate returns a value which is coercible to the `true` boolean value.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns The number of elements in the iterable that satisfy the condition.\n */\n count(predicate, thisArg) {\n return count(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the index of the first occurrence of a specified value in the iterable object, starting the search at a specified index.\n *\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index to start the search at.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the first occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\n indexOf(searchElement, fromIndex, comparer) {\n return indexOf(this._iterable, searchElement, fromIndex, comparer);\n }\n /**\n * Returns the index of the last occurrence of a specified value in the iterable object, starting the search at a specified index.\n *\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index to start the search at.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the last occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\n lastIndexOf(searchElement, fromIndex, comparer) {\n return lastIndexOf(this._iterable, searchElement, fromIndex, comparer);\n }\n /**\n * Determines whether the iterable includes a certain element, returning `true` or `false` as appropriate.\n *\n * @param searchElement - The element to search for.\n * @param fromIndex - The position in the iterable at which to begin searching for the element.\n * @param comparer - An optional function to use for comparing elements.\n *\n * @returns A boolean indicating whether the element was found in the iterable.\n */\n includes(searchElement, fromIndex, comparer) {\n return includes(this._iterable, searchElement, fromIndex, comparer);\n }\n /**\n * Checks if two iterables are equal, element by element, using an optional custom comparer.\n *\n * @param second - The second iterable to compare.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterables are equal.\n */\n sequenceEqual(second, comparer) {\n return sequenceEqual(this._iterable, second, comparer);\n }\n /**\n * Checks if the iterable starts with the specified search elements, using an optional custom comparer.\n *\n * @param searchElements - The elements to search for at the start of the iterable.\n * @param fromIndex - An optional index to start the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable starts with the search elements.\n */\n startsWith(searchElements, fromIndex, comparer) {\n return startsWith(this._iterable, searchElements, fromIndex, comparer);\n }\n /**\n * Checks if the iterable ends with the specified search elements, using an optional custom comparer.\n *\n * @param searchElements - The elements to search for at the end of the iterable.\n * @param toIndex - An optional index to end the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable ends with the search elements.\n */\n endsWith(searchElements, toIndex, comparer) {\n return endsWith(this._iterable, searchElements, toIndex, comparer);\n }\n /**\n * Returns the index of the first element in the iterable that satisfies the provided predicate function.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The index of the first element in the iterable that satisfies the provided predicate function, or `-1` if none are found.\n */\n findIndex(predicate, thisArg) {\n return findIndex(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the first element in the iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the first element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the first element in the iterable, or `undefined` if the iterable is empty.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\n find(predicate, thisArg) {\n return this.first(predicate, thisArg);\n }\n /**\n * Returns the first element in the iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the first element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the first element in the iterable, or `undefined` if the iterable is empty.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\n first(predicate, thisArg) {\n return first(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the last element in the iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the last element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the last element in the iterable, or `undefined` if the iterable is empty.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The last element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\n last(predicate, thisArg) {\n return last(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the element at the specified index in an iterable object.\n *\n * @param index - The zero-based index of the element to get.\n *\n * @returns The element at the specified index or `undefined` if the index is out of range or the iterable is empty.\n */\n at(index) {\n return at(this._iterable, index);\n }\n /**\n * Concatenates the elements in an iterable object using a specified separator between each element.\n *\n * @param separator - The string to use as a separator. If omitted, a comma (`,`) is used.\n *\n * @returns The concatenated string.\n */\n join(separator) {\n return join(this._iterable, separator);\n }\n /**\n * Concatenates multiple iterable objects into a single iterable object.\n *\n * @param iterables - The iterable objects to concatenate.\n *\n * @returns An iterable object that contains all the elements of the input iterable objects in the order they were passed in.\n */\n concat(...iterables) {\n return ArrayLikeIterable.from(concat(this._iterable, ...iterables));\n }\n /**\n * Prepends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to prepend to the iterable.\n *\n * @returns A new iterable with the specified value prepended.\n */\n prepend(value) {\n return ArrayLikeIterable.from(prepend(this._iterable, value));\n }\n /**\n * Appends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to append to the iterable.\n *\n * @returns A new iterable with the specified value appended.\n */\n append(value) {\n return ArrayLikeIterable.from(append(this._iterable, value));\n }\n /**\n * Removes the first element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\n shift() {\n const [value, iterable] = shift(this._iterable);\n return [value, ArrayLikeIterable.from(iterable)];\n }\n /**\n * Prepends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to prepend to the iterable.\n *\n * @returns A new iterable with the specified value prepended.\n */\n unshift(value) {\n return this.prepend(value);\n }\n /**\n * Appends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to append to the iterable.\n *\n * @returns A new iterable with the specified value appended.\n */\n push(value) {\n return this.append(value);\n }\n /**\n * Removes the last element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\n pop() {\n const [value, iterable] = pop(this._iterable);\n return [value, ArrayLikeIterable.from(iterable)];\n }\n /**\n * Returns an iterable of indices in the iterable.\n */\n keys() {\n return map(this._iterable, (_value, i) => i);\n }\n /**\n * Returns an iterable of values in the iterable.\n */\n values() {\n return this._iterable;\n }\n /**\n * Returns an iterable of index, value pairs for every entry in the iterable.\n */\n entries() {\n return map(this._iterable, (value, i) => [i, value]);\n }\n /**\n * Calls a function for each element in an iterable object.\n *\n * @param callbackFn - A function to call for each element in the iterable object.\n * @param thisArg - An object to use as `this` when executing the `callbackFn` function.\n */\n forEach(callbackFn, thisArg) {\n return forEach(this._iterable, callbackFn, thisArg);\n }\n /**\n * Converts the iterable to an array.\n *\n * If the iterable is already an array, a reference to the same array will be returned.\n */\n asArray() {\n return asArray(this._iterable);\n }\n /**\n * Returns an array containing all elements of this iterable.\n */\n toArray() {\n return [...this._iterable];\n }\n /**\n * Converts the iterable of key-value pairs into a Map.\n *\n * @template K - The type of the keys in the key-value pairs.\n * @template V - The type of the values in the key-value pairs.\n *\n * @param comparer - Optional custom equality comparer for the keys.\n *\n * @returns A Map containing the key-value pairs from this iterable.\n */\n toMap(comparer) {\n return comparer ? new ArrayMap(this._iterable, comparer) : new Map(this._iterable);\n }\n /**\n * Converts the iterable into a Set.\n *\n * @param comparer - Optional custom equality comparer for the values.\n *\n * @returns A Set containing the values from this iterable.\n */\n toSet(comparer) {\n return comparer ? new ArraySet(this._iterable, comparer) : new Set(this._iterable);\n }\n /**\n * Converts the iterable of key-value pairs into a Record.\n *\n * @template K - The type of the keys in the key-value pairs.\n * @template V - The type of the values in the key-value pairs.\n *\n * @returns A Record containing the key-value pairs from this iterable.\n */\n toRecord() {\n return reduce(this._iterable, (record, [key, value]) => {\n record[key] = value;\n return record;\n }, {});\n }\n /**\n * Returns an iterable that contains only the distinct elements of the current iterable.\n *\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing only the distinct elements of the current iterable.\n */\n distinct(comparer) {\n return ArrayLikeIterable.from(distinct(this._iterable, comparer));\n }\n /**\n * Returns a new iterable that contains only the distinct elements of the current iterable, based on the selected property.\n *\n * @template U - The type of the property used for comparison.\n *\n * @param selector - A function to select the property used for comparison.\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing the distinct elements of the current iterable based on the selected property.\n */\n distinctBy(selector, comparer) {\n return ArrayLikeIterable.from(distinctBy(this._iterable, selector, comparer));\n }\n /**\n * Returns an iterator for this iterable.\n */\n [Symbol.iterator]() {\n return this._iterable[Symbol.iterator]();\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Iterable\";\n }\n}\n","import { createDefaultEqualityComparer } from \"@/utils/comparison\";\nimport { $i, asArray, isIterable } from \"./iterable\";\n/**\n * Checks if a given value is an instance of a {@link Map}-like object.\n *\n * @template K - The key type of the `Map`-like object.\n * @template V - The value type of the `Map`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `Map`-like object or not.\n */\nexport function isMap(value) {\n if (value instanceof Map) {\n return true;\n }\n const map = value;\n return (!!map &&\n typeof map.keys === \"function\" &&\n typeof map.values === \"function\" &&\n typeof map.entries === \"function\" &&\n typeof map.get === \"function\" &&\n typeof map.set === \"function\" &&\n typeof map.has === \"function\" &&\n typeof map.delete === \"function\" &&\n typeof map[Symbol.iterator] === \"function\");\n}\n/**\n * Checks if a given value is an instance of a {@link ReadOnlyMap}-like object.\n *\n * @template K - The key type of the `ReadOnlyMap`-like object.\n * @template V - The value type of the `ReadOnlyMap`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `ReadOnlyMap`-like object or not.\n */\nexport function isReadOnlyMap(value) {\n if (value instanceof Map) {\n return true;\n }\n const map = value;\n return (!!map &&\n typeof map.keys === \"function\" &&\n typeof map.values === \"function\" &&\n typeof map.entries === \"function\" &&\n typeof map.get === \"function\" &&\n typeof map.has === \"function\" &&\n typeof map[Symbol.iterator] === \"function\");\n}\n/**\n * Checks if a given value is an instance of a {@link MultiMap}-like object.\n *\n * @template K - The key type of the `MultiMap`-like object.\n * @template V - The value type of the `MultiMap`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `MultiMap`-like object or not.\n */\nexport function isMultiMap(value) {\n if (value instanceof MultiMap) {\n return true;\n }\n const multiMap = value;\n return (isMap(multiMap) &&\n typeof multiMap.append === \"function\");\n}\n/**\n * Implements {@link Map} using an array under the hood.\n *\n * @template K - The type of keys in the Map.\n * @template V - The type of values in the Map.\n *\n * @remarks\n *\n * Recommended for small collections and/or for occasions when you need to provide a custom equality comparer.\n */\nexport class ArrayMap {\n /**\n * The array of keys.\n */\n _keys;\n /**\n * The array of values.\n */\n _values;\n /**\n * The equality comparer used to compare keys.\n */\n _comparer;\n /**\n * Constructs an {@link ArrayMap} from either an iterable of key-value pairs or an equality comparer.\n *\n * @param entriesOrComparer - The iterable of key-value pairs or the equality comparer to use for comparing keys.\n * @param comparer - The equality comparer to use for comparing keys (if `entriesOrComparer` is an iterable).\n */\n constructor(entriesOrComparer, comparer) {\n // If entriesOrComparer is a function, it must be the comparer, so use it.\n // Otherwise, use the default comparer.\n comparer ??= typeof entriesOrComparer === \"function\" ? entriesOrComparer : createDefaultEqualityComparer();\n this._keys = [];\n this._values = [];\n this._comparer = comparer;\n // If entriesOrComparer is undefined or is in fact a comparer, create an empty array of entries.\n const entries = entriesOrComparer && entriesOrComparer !== comparer ? entriesOrComparer : [];\n for (const [key, value] of entries) {\n this.set(key, value);\n }\n }\n /**\n * The number of key-value pairs in the map.\n */\n get size() {\n return this._keys.length;\n }\n /**\n * Gets the value associated with the specified key.\n *\n * @param key - The key of the value to get.\n *\n * @returns The value associated with the specified key, or `undefined` if the key is not found.\n */\n get(key) {\n const i = $i(this._keys).indexOf(key, this._comparer);\n // Will return `undefined` if i === -1, which is exactly what we are looking for.\n return this._values[i];\n }\n /**\n * Sets the value associated with the specified key.\n *\n * @param key - The key of the value to set.\n * @param value - The value to set.\n *\n * @returns This {@link ArrayMap} instance for chaining purposes.\n */\n set(key, value) {\n const i = $i(this._keys).indexOf(key, this._comparer);\n if (i === -1) {\n this._keys.push(key);\n this._values.push(value);\n }\n else {\n // Since we use a custom comparer, we need to update the key too.\n this._keys[i] = key;\n this._values[i] = value;\n }\n return this;\n }\n /**\n * Determines whether the map contains the specified key.\n *\n * @param key - The key to check for.\n *\n * @returns `true` if the map contains the key; otherwise, `false`.\n */\n has(key) {\n return $i(this._keys).includes(key, this._comparer);\n }\n /**\n * Removes the entry with the specified key from the map.\n *\n * @param key - The key of the entry to remove.\n *\n * @returns `true` if an entry with the specified key was found and removed; otherwise, `false`.\n */\n delete(key) {\n const i = $i(this._keys).indexOf(key, this._comparer);\n if (i === -1) {\n return false;\n }\n this._keys.splice(i, 1);\n this._values.splice(i, 1);\n return true;\n }\n /**\n * Removes all key-value pairs from the map.\n */\n clear() {\n this._keys.splice(0);\n this._values.splice(0);\n }\n /**\n * Returns an iterator over the keys in the map.\n */\n keys() {\n return this._keys[Symbol.iterator]();\n }\n /**\n * Returns an iterator over the values in the map.\n */\n values() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns an iterator over the entries in the map.\n */\n *entries() {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n yield [keys[i], values[i]];\n }\n }\n /**\n * Calls the specified callback function for each key-value pair in the map.\n *\n * @param callbackFn - This function is called one time for each element in the map. It takes the value, key, and the map itself as arguments.\n * @param thisArg - An optional object to which `this` keyword can refer in the `callbackFn` function.\n */\n forEach(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n callbackFn(values[i], keys[i], this);\n }\n }\n /**\n * Returns an iterator over the entries in the map.\n */\n [Symbol.iterator]() {\n return this.entries();\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Map\";\n }\n}\n/**\n * A multi-map class that allows multiple values per key.\n *\n * @template K - The type of keys in the MultiMap.\n * @template V - The type of values in the MultiMap.\n *\n * @remarks\n *\n * This class extends {@link ArrayMap} and stores values in arrays.\n */\nexport class MultiMap extends ArrayMap {\n /**\n * Gets the first value associated with the specified key.\n *\n * @param key - The key of the value to get.\n *\n * @returns The first value associated with the specified key, or `undefined` if the key is not found.\n */\n getFirst(key) {\n return this.get(key)?.[0];\n }\n /**\n * Sets a single value or multiple values associated with the specified key, replacing any existing values.\n *\n * @param key - The key of the value to set.\n * @param value - The value or values to set.\n *\n * @returns This {@link MultiMap} instance for chaining purposes.\n */\n set(key, value) {\n const values = typeof value !== \"string\" && isIterable(value) ? asArray(value) : [value];\n return super.set(key, values);\n }\n /**\n * Appends a single value or multiple values to the values associated with the specified key.\n *\n * @param key - The key of the values to append.\n * @param value - The iterable of values to append.\n *\n * @returns This {@link MultiMap} instance for chaining purposes.\n */\n append(key, value) {\n const existingValues = this.get(key);\n if (!existingValues) {\n return this.set(key, value);\n }\n if (typeof value !== \"string\" && isIterable(value)) {\n existingValues.push(...value);\n }\n else {\n existingValues.push(value);\n }\n return this;\n }\n /**\n * Removes value/values associated with the specified key.\n *\n * @param key - The key of the values to remove.\n * @param value - The value to remove.\n * @param comparer - The optional equality comparer to use for comparing values.\n *\n * @returns `true` if value/values were found and removed; otherwise, `false`.\n */\n delete(key, value, comparer) {\n if (value === undefined) {\n return super.delete(key);\n }\n const values = this.get(key);\n if (!values) {\n return false;\n }\n const i = $i(values).indexOf(value, comparer);\n if (i === -1) {\n return false;\n }\n values.splice(i, 1);\n return true;\n }\n /**\n * Returns an iterable of all values in the MultiMap.\n */\n flatValues() {\n return $i(this.values()).flatMap(x => x);\n }\n /**\n * Returns an iterable of key-value pairs in the MultiMap, where each key is associated with a single value.\n */\n flatEntries() {\n return $i(this.entries()).flatMap(([key, values]) => $i(values).map(value => [key, value]));\n }\n /**\n * Calls the specified callback function for each key-value pair in the MultiMap, with each key associated with a single value.\n *\n * @param callbackFn - This function is called one time for each key-value pair in the MultiMap. It takes the value, key, and the MultiMap itself as arguments.\n * @param thisArg - An optional object to which `this` keyword can refer in the `callbackFn` function.\n */\n forEachFlat(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n for (const [key, value] of this.flatEntries()) {\n callbackFn(value, key, this);\n }\n }\n}\n","/**\n * Type guard to check if the given object implements the {@link KeyValueIterable} interface.\n *\n * @template K - The key type.\n * @template V - The value type.\n *\n * @param obj - The object to check.\n *\n * @returns `true` if the object implements the {@link KeyValueIterable} interface; otherwise, `false`.\n */\nexport function isKeyValueIterable(obj) {\n return typeof obj?.entries === \"function\";\n}\n","import { $i, isIterable, isKeyValueIterable, asArray } from \"@/utils/collections\";\n/**\n * Defines nested properties on an object.\n *\n * @template T - The type of the object to define nested properties on.\n *\n * @param obj - The object to define nested properties on.\n * @param properties - A map or iterable of property paths and property descriptors.\n * @param factory - An optional factory function for creating property descriptors for nested objects.\n *\n * @returns The input object with the nested properties defined.\n * @throws {TypeError} - If a path tries to define a property on a non-object value, e.g., `boolean`, `number`, etc.\n */\nexport function defineNestedProperties(obj, properties, factory) {\n const iterableProperties = isIterable(properties) ? properties : Object.entries(properties);\n for (const [path, descriptor] of iterableProperties) {\n defineNestedProperty(obj, path, descriptor, factory);\n }\n return obj;\n}\n/**\n * Defines a single nested property on an object using a property descriptor and an optional factory function.\n *\n * @template T - The type of the object to define the nested property on.\n *\n * @param obj - The object to define the nested property on.\n * @param path - The path of the nested property to define, as a dot-separated string (e.g., \"a.b.c\") or an array of property keys.\n * @param property - The property descriptor for the nested property.\n * @param factory - An optional factory function for creating property descriptors for nested objects.\n *\n * @returns The input object with the nested property defined.\n * @throws {TypeError} - If a path tries to define a property on a non-object value, e.g., `boolean`, `number`, etc.\n */\nexport function defineNestedProperty(obj, path, property, factory) {\n path = typeof path === \"string\" ? path.split(\".\") : path;\n factory ||= () => ({ value: {}, writable: true, configurable: true, enumerable: true });\n let currentObj = obj;\n const depth = path.length - 1;\n for (let i = 0; i < depth; ++i) {\n const propertyName = path[i];\n const existingValue = currentObj[propertyName];\n if (existingValue === undefined || existingValue === null) {\n const nestedDescriptor = factory(currentObj, propertyName);\n Object.defineProperty(currentObj, propertyName, nestedDescriptor);\n }\n currentObj = currentObj[propertyName];\n }\n const name = path[depth];\n Object.defineProperty(currentObj, name, property);\n return obj;\n}\n/**\n * Returns an iterable of all property descriptors from the given object and its prototypes.\n *\n * @param obj - The object to get the property descriptors from.\n *\n * @returns An iterable of key-descriptor pairs.\n */\nexport function* getAllPropertyDescriptors(obj) {\n const visited = new Set();\n while (obj !== undefined && obj !== null) {\n const keys = Array.prototype.concat(Object.getOwnPropertyNames(obj), Object.getOwnPropertySymbols(obj));\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n for (const key of keys) {\n if (!visited.has(key)) {\n visited.add(key);\n yield [key, descriptors[key]];\n }\n }\n obj = Object.getPrototypeOf(obj);\n }\n}\n/**\n * Retrieves a property descriptor from the given object, considering its prototype chain.\n *\n * @param obj - The object to get the property descriptor from.\n * @param key - The property key.\n *\n * @returns The property descriptor, or `undefined` if not found.\n */\nexport function getPropertyDescriptor(obj, key) {\n key = typeof key === \"number\" ? String(key) : key;\n const ownPropertyDescriptor = Object.getOwnPropertyDescriptor(obj, key);\n if (ownPropertyDescriptor) {\n return ownPropertyDescriptor;\n }\n return $i(getAllPropertyDescriptors(obj)).find(([x]) => x === key)?.[1];\n}\n/**\n * Generates an iterable of all keys from the given object and its prototypes.\n *\n * @param obj - The object to get the keys from.\n *\n * @returns An iterable of property keys.\n */\nexport function getAllKeys(obj) {\n return $i(getAllPropertyDescriptors(obj)).map(([key]) => key);\n}\n/**\n * Generates an iterable of all string keys from the given object and its prototypes.\n *\n * @param obj - The object to get the string keys from.\n *\n * @returns An iterable of string property keys.\n */\nexport function getAllNames(obj) {\n return $i(getAllKeys(obj)).filter((key) => typeof key === \"string\");\n}\n/**\n * Generates an iterable of all symbol keys from the given object and its prototypes.\n *\n * @param obj - The object to get the symbol keys from.\n *\n * @returns An iterable of symbol property keys.\n */\nexport function getAllSymbols(obj) {\n return $i(getAllKeys(obj)).filter((key) => typeof key === \"symbol\");\n}\n/**\n * Generates an iterable of all property values from the given object and its prototypes.\n *\n * @param obj - The object to get the property values from.\n *\n * @returns An iterable of property values.\n */\nexport function getAllValues(obj) {\n return $i(getAllPropertyDescriptors(obj)).map(([key]) => obj[key]);\n}\n/**\n * Generates an iterable of all entries from the given object and its prototypes.\n *\n * @param obj - The object to get the entries from.\n *\n * @returns An iterable of key-value pairs.\n */\nexport function getAllEntries(obj) {\n return $i(getAllPropertyDescriptors(obj)).map(([key]) => [key, obj[key]]);\n}\n/**\n * Retrieves the key-value pairs from an object.\n *\n * @template K - The key type.\n * @template V - The value type.\n *\n * @param obj - The object to extract key-value pairs from.\n *\n * @returns An iterable containing the key-value pairs.\n */\nexport function getOwnEntries(obj) {\n if (!obj) {\n return [];\n }\n if (!Array.isArray(obj) && isKeyValueIterable(obj)) {\n return obj.entries();\n }\n if (isIterable(obj)) {\n const entries = asArray(obj);\n if (entries.every(x => Array.isArray(x))) {\n return entries;\n }\n }\n if (Array.isArray(obj)) {\n return obj.entries();\n }\n return Object.entries(obj);\n}\n/**\n * Merges multiple objects into a single object while preserving property descriptors.\n * If a property exists in multiple objects, the last object's descriptor takes precedence.\n *\n * @template T - A tuple of objects to be merged.\n *\n * @param values - The objects to be merged.\n *\n * @returns A single object resulting from the merge of input objects.\n */\nexport function merge(...values) {\n const result = {};\n const descriptors = $i(values).flatMap(x => getAllPropertyDescriptors(x));\n for (const [property, descriptor] of descriptors) {\n Object.defineProperty(result, property, descriptor);\n }\n return result;\n}\n/**\n * Safely retrieves a property value from an object, or returns `undefined` if the property is not accessible.\n *\n * @template T - The type of the object.\n * @template K - The type of the property key.\n *\n * @param target - The object from which to retrieve the property value.\n * @param key - The key of the property to retrieve.\n *\n * @returns The value of the property if accessible, otherwise `undefined`.\n */\nexport function getSafe(target, key) {\n if (target === null || target === undefined) {\n return undefined;\n }\n try {\n return target[key];\n }\n catch {\n return undefined;\n }\n}\n","import { $i } from \"@/utils/collections/iterable\";\nimport { getAllNames, getSafe } from \"@/utils/reflection/object-reflector\";\nimport { stringEquals } from \"@/utils/string-utils\";\n/**\n * Returns whether the given `obj` is `null`, `undefined`, or `NaN`.\n *\n * @param obj - The object to check.\n *\n * @returns `true` if the `obj` is `null`, `undefined`, or `NaN`; otherwise, `false`.\n */\nfunction isInvalid(obj) {\n return obj === null || obj === undefined || typeof obj === \"number\" && isNaN(obj);\n}\n/**\n * Always returns `undefined`, ignoring the input value.\n *\n * @param _obj - The input value to ignore.\n *\n * @returns `undefined`.\n */\nexport function toUndefined(_obj) {\n return undefined;\n}\n/**\n * Converts the given `obj` to a string.\n *\n * @param obj - The object to convert.\n *\n * @returns The string representation of `obj`, or `undefined` if the input is `null`, `undefined`, or `NaN`.\n */\nexport function toString(obj) {\n return isInvalid(obj) ? undefined : String(obj);\n}\n/**\n * Converts an input value to a boolean value.\n *\n * @param obj - The object to convert.\n *\n * @returns The converted boolean value, or `undefined` if the input value cannot be converted to boolean.\n */\nexport function toBoolean(obj) {\n if (isInvalid(obj)) {\n return undefined;\n }\n switch (typeof obj) {\n case \"boolean\":\n return !!obj;\n case \"number\":\n return obj !== 0;\n case \"string\":\n if (stringEquals(\"true\", obj, { ignoreCase: true })) {\n return true;\n }\n if (stringEquals(\"false\", obj, { ignoreCase: true })) {\n return false;\n }\n break;\n default:\n return undefined;\n }\n // ESLint\n return undefined;\n}\n/**\n * Converts an input value to a number type.\n *\n * @param obj - The input value to be converted.\n * @param parser - A function to parse the input value.\n *\n * @returns The converted number value, or `undefined` if the input value cannot be converted to a number type.\n */\nfunction toNumber(obj, parser) {\n if (isInvalid(obj)) {\n return undefined;\n }\n switch (typeof obj) {\n case \"number\":\n return parser(obj);\n case \"boolean\":\n return obj ? 1 : 0;\n case \"string\":\n const parsedNumber = parser(obj);\n return isNaN(parsedNumber) ? undefined : parsedNumber;\n case \"object\":\n if (obj instanceof Date && !isNaN(obj.getTime())) {\n return obj.getTime();\n }\n break;\n default:\n return undefined;\n }\n // ESLint\n return undefined;\n}\n/**\n * Converts an input value to an integer number.\n *\n * @param obj - The input value to be converted.\n *\n * @returns The converted integer number value, or `undefined` if the input value cannot be converted to an integer number type.\n */\nexport function toInteger(obj) {\n return toNumber(obj, parseInt);\n}\n/**\n * Converts an input value to a floating-point number.\n *\n * @param obj - The input value to be converted.\n *\n * @returns The converted floating-point number value, or `undefined` if the input value cannot be converted to a floating-point number type.\n */\nexport function toFloat(obj) {\n return toNumber(obj, parseFloat);\n}\n/**\n * Converts a value to a {@link Date}.\n *\n * @param obj - The value to convert.\n *\n * @returns The converted {@link Date}, or `undefined` if the value is invalid.\n */\nexport function toDate(obj) {\n if (isInvalid(obj)) {\n return undefined;\n }\n switch (typeof obj) {\n case \"object\":\n if (obj instanceof Date && !isNaN(obj.getTime())) {\n return obj;\n }\n break;\n case \"string\":\n case \"number\":\n const date = new Date(obj);\n return isNaN(date.getTime()) ? undefined : date;\n default:\n return undefined;\n }\n // ESLint\n return undefined;\n}\n/**\n * The regular expression used to parse a string representation of a regex into its pattern and flags parts.\n */\nconst REGEX_PARSER_REGEX = /\\/(?.*)\\/(?[a-z]*)/;\n/**\n * Converts a value to a {@link RegExp}.\n *\n * @param obj - The value to convert.\n *\n * @returns A {@link RegExp} representing the given `obj`, or `undefined` if the input is invalid or cannot be converted to a regex.\n */\nexport function toRegExp(obj) {\n if (obj instanceof RegExp) {\n return obj;\n }\n if (typeof obj !== \"string\") {\n return undefined;\n }\n const match = obj.match(REGEX_PARSER_REGEX);\n if (!match) {\n return undefined;\n }\n try {\n return new RegExp(match.groups.pattern, match.groups.flags);\n }\n catch {\n return undefined;\n }\n}\n/**\n * The prefixes that indicate a method is a conversion method.\n */\nconst CONVERT_METHOD_PREFIXES = [\"convert\", \"from\"];\n/**\n * The prefixes that indicate a method is a parsing method.\n */\nconst PARSE_METHOD_PREFIXES = [\"parse\"];\n/**\n * Retrieves a `Converter` function from the given object, if one is defined.\n *\n * @param obj - The object to retrieve the `Converter` function from.\n * @param prioritizeParsing - Indicates wether the parsing should be prioritized.\n *\n * @returns A `Converter` function that can convert an unknown value to the target type `T`, or `undefined` if none was found.\n */\nfunction getConverter(obj, prioritizeParsing) {\n const strategies = [\n [CONVERT_METHOD_PREFIXES],\n [PARSE_METHOD_PREFIXES, (parser) => (x) => typeof x === \"string\" ? parser(x) : undefined],\n ];\n const resolvedStrategies = prioritizeParsing ? [...strategies].reverse() : strategies;\n for (const [prefixes, mapper] of resolvedStrategies) {\n const parseLike = getParseLikeFunction(obj, prefixes);\n if (!parseLike) {\n continue;\n }\n const mapped = mapper ? mapper(parseLike) : parseLike;\n return mapped;\n }\n return undefined;\n}\n/**\n * Attempts to retrieve a parsing method from the given object using the specified prefixes.\n *\n * @param obj - The object to retrieve the method from.\n * @param prefixes - The list of method name prefixes to search for.\n *\n * @returns The first matching parse-like function that was found, or `undefined` if none were found.\n */\nfunction getParseLikeFunction(obj, prefixes) {\n // If the object is invalid, return undefined.\n if (isInvalid(obj)) {\n return undefined;\n }\n // If the object has a method named exactly like one of the given prefix, we should use it.\n const prioritizedParseMethodName = $i(prefixes).first(x => typeof getSafe(obj, x) === \"function\");\n if (prioritizedParseMethodName) {\n return x => obj[prioritizedParseMethodName](x);\n }\n // Find all method names on the object that start with one of the specified prefixes.\n const propertyNames = getAllNames(obj);\n const parseMethodNames = $i(propertyNames).filter(x => prefixes.some(p => x.startsWith(p) && typeof getSafe(obj, x) === \"function\"));\n // Determine the first parse-like method name by sorting them based on prefix precedence and taking the first result.\n const firstParseMethodName = $i(parseMethodNames).min((a, b) => prefixes.findIndex(p => a.startsWith(p)) - prefixes.findIndex(p => b.startsWith(p)));\n // If no parse-like method names were found, return undefined.\n if (!firstParseMethodName) {\n return undefined;\n }\n // Return a function that invokes the first parse-like method with the specified input.\n return x => obj[firstParseMethodName](x);\n}\n/**\n * Map of known constructors and their corresponding converters.\n */\nconst KNOWN_CONSTRUCTORS = new Map([\n [String, toString],\n [Number, toFloat],\n [Boolean, toBoolean],\n [Date, toDate],\n [RegExp, toRegExp],\n]);\n/**\n * Map of known types and their corresponding converters.\n */\nconst KNOWN_TYPES = new Map([\n [\"string\", toString],\n [\"number\", toFloat],\n [\"boolean\", toBoolean],\n [\"undefined\", toUndefined],\n]);\n/**\n * Converts an object to the specified target type.\n *\n * @param obj - The object to convert.\n * @param target - The target type to convert to.\n *\n * @returns An object of the specified target type, or `undefined` if the conversion failed.\n */\nexport function toType(obj, target) {\n // If the input object is invalid, return undefined.\n if (isInvalid(obj)) {\n return undefined;\n }\n if (typeof target === \"string\") {\n // If the target is a string representing a known type, use the corresponding conversion function.\n const knownConverter = KNOWN_TYPES.get(target);\n if (knownConverter) {\n return knownConverter(obj);\n }\n // If the target is a key of the `globalThis` object, convert the input to its type.\n const globalThisMember = globalThis[target];\n if (globalThisMember) {\n return toType(obj, globalThisMember);\n }\n return undefined;\n }\n // If the target is a known constructor function, use its corresponding conversion function.\n if (typeof target === \"function\" && KNOWN_CONSTRUCTORS.has(target)) {\n const knownConverter = KNOWN_CONSTRUCTORS.get(target);\n return knownConverter(obj);\n }\n try {\n // Attempt to retrieve a converter function from the target type.\n const converter = getConverter(target, typeof obj === \"string\");\n // If the converter function was found, use it to convert the input object.\n if (converter !== undefined) {\n const converted = converter(obj);\n return isInvalid(converted) ? undefined : converted;\n }\n // If no converter function was found, assume that target is a constructor,\n // since we've exhausted every over possibility.\n return new target(obj);\n }\n catch {\n // If an error occurs during conversion, return undefined.\n return undefined;\n }\n}\n","import { isReadOnlyMap } from \"@/utils/collections\";\n/**\n * Retrieves an array of the string keys of the specified `enum` object.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to retrieve the keys for.\n *\n * @returns An array of the string keys of the specified `enum` object.\n */\nexport function enumKeys(e) {\n if (isReadOnlyMap(e)) {\n return [...e.keys()];\n }\n return Object.getOwnPropertyNames(e).filter(key => isEnumKey(e, key));\n}\n/**\n * Determines if the provided key is an enumeration key.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to check the key against.\n * @param key - The key to be checked.\n *\n * @returns `true` if the key is an enumeration key; otherwise, `false`.\n */\nfunction isEnumKey(e, key) {\n return typeof e[key] !== \"function\" && key !== String(+key);\n}\n","import { isReadOnlyMap } from \"@/utils/collections\";\nimport { enumKeys } from \"./enum-key\";\n/**\n * Retrieves an array of the entries of the specified `enum` object.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to retrieve the entries for.\n *\n * @returns An array of the entries of the specified `enum` object.\n */\nexport function enumEntries(e) {\n if (isReadOnlyMap(e)) {\n return [...e.entries()];\n }\n return enumKeys(e).map(key => [key, e[key]]);\n}\n","import { $i } from \"@/utils/collections\";\nimport { ORDINAL_EQUALITY_COMPARER } from \"@/utils/comparison\";\nimport { toType } from \"@/utils/convert\";\nimport { split, toPascalCase } from \"@/utils/string-utils\";\nimport { inferEnumDescriptorOrThrow } from \"./descriptors\";\nimport { enumEntries } from \"./enum-entry\";\nimport { DEFAULT_ENUM_SEPARATOR, ENUM_SEPARATORS } from \"./enum-separators\";\n/**\n * A dynamic enum implementation that allows you to create an enum at runtime.\n *\n * @template T - The type of the enum.\n */\nexport class DynamicEnum {\n /**\n * An array of enum keys.\n */\n _keys;\n /**\n * An array of enum values.\n */\n _values;\n /**\n * A map containing the enum keys and their corresponding display names.\n */\n _names;\n /**\n * The enum descriptor.\n */\n _descriptor;\n /**\n * A boolean indicating whether the enum should be treated as a set of flags.\n */\n _hasFlags;\n /**\n * The equality comparer used to compare enum keys.\n */\n _comparer;\n /**\n * Constructs a new {@link DynamicEnum} instance.\n *\n * @param entries - An array of key-value pairs representing the entries of the enum.\n * @param options - An object containing options for the `DynamicEnum` instance, such as whether the enum is a flags enum.\n */\n constructor(entries, options) {\n this._keys = entries.map(([key]) => key);\n this._values = entries.map(([, value]) => value);\n this._names = new Map(options?.names || []);\n this._descriptor = inferEnumDescriptorOrThrow(this._values);\n this._hasFlags = options?.hasFlags ?? false;\n this._comparer = options?.comparer || ORDINAL_EQUALITY_COMPARER;\n const properties = $i(entries).map(([key, value]) => [key, { value, enumerable: true }]).toRecord();\n Object.defineProperties(this, properties);\n }\n /**\n * Creates a dynamic enum from an existing enum object.\n *\n * @param underlyingEnum - The underlying enum object.\n * @param options - The options to use when creating the new enum.\n *\n * @returns A new dynamic enum.\n */\n static create(underlyingEnum, options) {\n const entries = enumEntries(underlyingEnum);\n return new DynamicEnum(entries, options);\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Enum\";\n }\n /**\n * The number of values in the enum.\n */\n get size() {\n return this._keys.length;\n }\n /**\n * The underlying type of the enum.\n */\n get underlyingType() {\n return this._descriptor.name;\n }\n /**\n * Determines whether the given `value` contains the specified `flag`.\n *\n * @param value - The value to check for the presence of the flag.\n * @param flag - The flag to check for.\n *\n * @returns `true` if the value has the flag; otherwise, `false`.\n */\n hasFlag(value, flag) {\n return this._descriptor.hasFlag(value, flag);\n }\n /**\n * Gets the enum value associated with the specified key.\n *\n * @param key - The key to look up.\n *\n * @returns The enum value associated with the key, or `undefined` if the key is not found.\n */\n get(key) {\n // Attempt to retrieve the value from this object's properties.\n const value = this[key];\n if (typeof value === this.underlyingType || this._comparer === ORDINAL_EQUALITY_COMPARER) {\n return value;\n }\n // Apply the custom comparer.\n const comparer = this._comparer;\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n if (comparer(key, keys[i])) {\n return values[i];\n }\n }\n // Nothing we can do about it.\n return undefined;\n }\n /**\n * Returns the key of the first occurrence of a value in the enum.\n *\n * @param value - The value to locate in the enum.\n *\n * @returns The key of the first occurrence of a value in the enum, or `undefined` if it is not present.\n */\n keyOf(value) {\n const i = this._values.indexOf(value);\n return i >= 0 ? this._keys[i] : undefined;\n }\n /**\n * Returns the friendly name of the key of the first occurrence of a value in the enum.\n *\n * @param value - The value to locate in the enum.\n *\n * @returns The friendly name of the key of the first occurrence of a value in the enum, or `undefined` if it is not present.\n */\n friendlyNameOf(value) {\n const key = this.keyOf(value);\n if (key === undefined) {\n return undefined;\n }\n const friendlyName = this._names.get(key) ?? toPascalCase(key);\n return friendlyName;\n }\n /**\n * Returns the first element in the enum that satisfies the provided `predicate`.\n *\n * @param predicate - A function to test each key/value pair in the enum. It should return `true` to indicate a match; otherwise, `false`.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the enum that satisfies the provided `predicate`, or `undefined` if no value satisfies the function.\n */\n find(predicate, thisArg) {\n const key = this.findKey(predicate, thisArg);\n return key === undefined ? undefined : this.get(key);\n }\n /**\n * Returns the key for the first element in the enum that satisfies the provided `predicate`.\n *\n * @param predicate - A function to test each key/value pair in the enum. It should return `true` to indicate a match; otherwise, `false`.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The key of the first element in the enum that satisfies the provided `predicate`, or `undefined` if no key satisfies the function.\n */\n findKey(predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < values.length; ++i) {\n if (predicate(values[i], keys[i], this)) {\n return keys[i];\n }\n }\n return undefined;\n }\n /**\n * Checks whether the specified key exists in the enum.\n *\n * @param key - The key to check.\n *\n * @returns `true` if the key exists in the enum; otherwise, `false`.\n */\n has(key) {\n return this.get(key) !== undefined;\n }\n /**\n * Checks whether the specified value exists in the enum.\n *\n * @param value - The enum value to check.\n *\n * @returns `true` if the enum value exists in the enum; otherwise, `false`.\n */\n includes(value) {\n return this._values.includes(value);\n }\n /**\n * Returns an iterator that yields the keys of the enum.\n */\n keys() {\n return this._keys[Symbol.iterator]();\n }\n /**\n * Returns an iterator that yields the values of the enum.\n */\n values() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns an iterator that yields the key/value pairs for every entry in the enum.\n */\n *entries() {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n yield [keys[i], values[i]];\n }\n }\n /**\n * Returns an iterator that yields the key/value pairs for every entry in the enum.\n */\n [Symbol.iterator]() {\n return this.entries();\n }\n /**\n * Executes a provided function once per each key/value pair in the enum, in definition order.\n *\n * @param callbackFn - The function to call for each element in the enum.\n * @param thisArg - The value to use as `this` when calling `callbackFn`.\n */\n forEach(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n callbackFn(values[i], keys[i], this);\n }\n }\n /**\n * Formats the given value as a string.\n *\n * @param value - The value to format.\n *\n * @returns The formatted string, or `undefined` if the value does not belong to the enum.\n */\n format(value) {\n // Unsupported value cannot be formatted.\n if (typeof value !== this.underlyingType) {\n return undefined;\n }\n // Attempt to find an existing key for the provided value.\n const existingKey = this.keyOf(value);\n if (existingKey !== undefined) {\n return existingKey;\n }\n // In case values in this enum are not flags,\n // and we did not find a key for the `value` during the previous step,\n // just return its string representation.\n //\n // Note: we don't return `undefine` or throw error,\n // because the `value` has the same type as other enum members.\n // E.g., `42` is considered a valid value for any number enum,\n // even if it was not directly specified.\n if (!this._hasFlags) {\n return String(value);\n }\n // Retrieve the keys, values, and descriptor,\n // so we won't need to directly access them every time it's necessary.\n const keys = this._keys;\n const values = this._values;\n const descriptor = this._descriptor;\n // Prepare for generating the string representation.\n let name = \"\";\n let remainingValue = value;\n // Iterate over each flag value in reverse order.\n // (because the flags with higher values are likely to be\n // more significant than the flags with lower values)\n for (let i = values.length - 1; i >= 0; --i) {\n const flag = values[i];\n // If the current flag is not present in the remaining value,\n // or is the default value (e.g., `0` for number enums), skip to the next flag.\n const isZero = flag === descriptor.defaultValue;\n const isFlagPresent = descriptor.hasFlag(remainingValue, flag);\n if (isZero || !isFlagPresent) {\n continue;\n }\n // If this is not the first flag to be added to the name, add a separator to the current name.\n name = name ? `${keys[i]}${DEFAULT_ENUM_SEPARATOR} ${name}` : keys[i];\n // Remove the current flag from the remaining value to ensure that\n // we won't add aliases of the same value to the result string.\n remainingValue = descriptor.removeFlag(remainingValue, flag);\n }\n // If the remaining value is equal to the default value for the descriptor\n // (e.g., `0` for number enums), return the generated name.\n //\n // Otherwise, it means there were some flags, which aren't specified in the enum,\n // so just return the string representation of the provided value.\n return remainingValue === descriptor.defaultValue && name ? name : String(value);\n }\n /**\n * Parses the specified string and returns the corresponding enum value.\n *\n * @param key - The string to parse.\n *\n * @returns The corresponding enum value, or `undefined` if the string could not be parsed.\n */\n parse(key) {\n // Attempt to find an existing value for the provided key.\n const existingValue = this.findOrParseValue(key);\n if (existingValue !== undefined) {\n return existingValue;\n }\n // In case values in this enum are not flags,\n // and we did not find a value for the `key` during the previous step,\n // return `undefined`, since the key is not valid for this enum.\n if (!this._hasFlags) {\n return undefined;\n }\n // Otherwise, we need to parse the key into individual flags and combine them into a single value.\n const formattedFlags = split(key, ENUM_SEPARATORS, { trimEntries: true, removeEmptyEntries: true });\n const descriptor = this._descriptor;\n // Start with the default value for the enum.\n let result = descriptor.defaultValue;\n for (const formattedFlag of formattedFlags) {\n // Try to find the value for the current string representation of flag.\n const flag = this.findOrParseValue(formattedFlag);\n // If the value is not found, return `undefined`.\n // In this case a single failure makes the whole input invalid.\n if (flag === undefined) {\n return undefined;\n }\n // Otherwise, combine it with the result.\n result = descriptor.addFlag(result, flag);\n }\n // Return the final combined value.\n return result;\n }\n /**\n * Finds the enum value for the given key.\n *\n * @param key - The key of the enum value to find.\n *\n * @returns The enum value with the given key, or `undefined` if no element with that key exists.\n */\n findOrParseValue(key) {\n // If the value was found, return it as is.\n const value = this.get(key);\n if (value !== undefined) {\n return value;\n }\n // If the key couldn't be found in the enumeration, try to parse it as a value.\n // E.g., `42` is considered a valid value for any number enum,\n // even if it was not directly specified.\n const keyAsValue = toType(key, this.underlyingType);\n if (keyAsValue !== undefined) {\n return keyAsValue;\n }\n // If the key couldn't be found in the enum and it couldn't be parsed as a value,\n // there's not much we can do about it, so just return `undefined`.\n return undefined;\n }\n}\n","import { isReadOnlyMap } from \"@/utils/collections\";\nimport { enumKeys } from \"./enum-key\";\n/**\n * Retrieves an array of the values of the specified `enum` object.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to retrieve the values for.\n *\n * @returns An array of the values of the specified `enum` object.\n */\nexport function enumValues(e) {\n if (isReadOnlyMap(e)) {\n return [...e.values()];\n }\n return enumKeys(e).map(key => e[key]);\n}\n","import { IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER, IGNORE_CASE_EQUALITY_COMPARER, IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER, ORDINAL_EQUALITY_COMPARER } from \"@/utils/comparison\";\nimport { getEnumDescriptorByUnderlyingType } from \"./descriptors\";\nimport { DynamicEnum } from \"./dynamic-enum\";\nimport { enumKeys } from \"./enum-key\";\nimport { enumValues } from \"./enum-value\";\nimport { enumEntries } from \"./enum-entry\";\n/**\n * Determines whether the given `value` contains the specified `flag`.\n *\n * @template T - Type of the enum.\n *\n * @param value - The value to check for the presence of the flag.\n * @param flag - The flag to check for.\n *\n * @returns `true` if the value has the flag; otherwise, `false`.\n */\nexport function hasFlag(value, flag) {\n const descriptor = getEnumDescriptorByUnderlyingType(typeof flag);\n return !!descriptor?.hasFlag(value, flag);\n}\n/**\n * Creates a new enum object from the specified `enumFactory` or `underlyingEnum` with the specified `options`.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum factory or underlying enum to use for the new enum.\n * @param options - The options to use when creating the new enum.\n *\n * @returns The constructed enum object.\n */\nexport function createEnum(e, options, methods) {\n const underlyingEnum = typeof e === \"function\" ? e() : e;\n const dynamicEnumOptions = toDynamicEnumOptions(options);\n const dynamicEnum = DynamicEnum.create(underlyingEnum, dynamicEnumOptions);\n if (methods) {\n Object.assign(dynamicEnum, methods);\n }\n return dynamicEnum;\n}\n/**\n * Converts specified `options` into an instance acceptable by the {@link DynamicEnum}'s constructor.\n *\n * @param options - The options to be converted.\n *\n * @returns The options acceptable by the {@link DynamicEnum}'s constructor.\n */\nfunction toDynamicEnumOptions(options) {\n if (!options || options.comparer) {\n return options;\n }\n const o = options;\n const comparer = o.ignoreCase ? o.ignoreNonWordCharacters\n ? IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER\n : IGNORE_CASE_EQUALITY_COMPARER\n : o.ignoreNonWordCharacters\n ? IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER\n : ORDINAL_EQUALITY_COMPARER;\n return { ...o, comparer };\n}\n/**\n * An object that emulates the `Object` API for `Enum` objects.\n */\nexport const Enum = {\n hasFlag,\n create: createEnum,\n keys: enumKeys,\n values: enumValues,\n entries: enumEntries,\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:util\");","import { Enum } from \"@/utils/enum\";\nimport { stringEquals } from \"@/utils/string-utils\";\nimport { deprecate } from \"node:util\";\n// _ TODO: Remove deprecated stuff in v4.0\n/**\n * Represents a game version filter.\n *\n * This filter can be used to filter game versions based on the provided criteria.\n *\n * @partial\n */\nvar GameVersionFilterValues;\n(function (GameVersionFilterValues) {\n /**\n * No filter applied.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"NONE\"] = 0] = \"NONE\";\n /**\n * Filter to include release versions.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"RELEASES\"] = 1] = \"RELEASES\";\n /**\n * Filter to include beta versions.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"BETAS\"] = 2] = \"BETAS\";\n /**\n * Filter to include alpha versions.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"ALPHAS\"] = 4] = \"ALPHAS\";\n /**\n * Filter to include both alpha and beta versions (snapshots).\n */\n GameVersionFilterValues[GameVersionFilterValues[\"SNAPSHOTS\"] = 6] = \"SNAPSHOTS\";\n /**\n * Filter to include any version type.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"ANY\"] = 7] = \"ANY\";\n /**\n * Filter to include versions with the minimum patch number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN_PATCH\"] = 8] = \"MIN_PATCH\";\n /**\n * Filter to include versions with the maximum patch number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX_PATCH\"] = 16] = \"MAX_PATCH\";\n /**\n * Filter to include versions with the minimum minor number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN_MINOR\"] = 32] = \"MIN_MINOR\";\n /**\n * Filter to include versions with the maximum minor number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX_MINOR\"] = 64] = \"MAX_MINOR\";\n /**\n * Filter to include versions with the minimum major number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN_MAJOR\"] = 128] = \"MIN_MAJOR\";\n /**\n * Filter to include versions with the maximum major number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX_MAJOR\"] = 256] = \"MAX_MAJOR\";\n /**\n * Filter to include the last version in a range, considering major, minor, and patch numbers.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN\"] = 168] = \"MIN\";\n /**\n * Filter to include the first version in a range, considering major, minor, and patch numbers.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX\"] = 336] = \"MAX\";\n})(GameVersionFilterValues || (GameVersionFilterValues = {}));\n/**\n * Options for configuring the behavior of the `GameVersionFilter` enum.\n *\n * @partial\n */\nconst GameVersionFilterOptions = {\n /**\n * `GameVersionFilter` is a flag-based enum.\n */\n hasFlags: true,\n /**\n * The case should be ignored while parsing the filter.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the filter.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Filters game versions based on the provided filter.\n *\n * @template T - The type of the game versions.\n *\n * @param versions - An iterable of game versions to filter.\n * @param filter - The filter to apply to the versions.\n *\n * @returns An array of filtered game versions.\n */\nfunction filter(versions, filter) {\n let filtered = [...versions];\n if (filter === GameVersionFilter.NONE || !filter) {\n return filtered;\n }\n filtered = filterVersionType(filtered, filter);\n filtered = applyVersionRange(filtered, x => x.version.major, filter, GameVersionFilter.MIN_MAJOR, GameVersionFilter.MAX_MAJOR);\n filtered = applyVersionRange(filtered, x => x.version.minor, filter, GameVersionFilter.MIN_MINOR, GameVersionFilter.MAX_MINOR);\n filtered = applyVersionRange(filtered, x => x.version.patch, filter, GameVersionFilter.MIN_PATCH, GameVersionFilter.MAX_PATCH);\n return filtered;\n}\n/**\n * Filters game versions based on version type.\n *\n * @template T - The type of the game versions.\n *\n * @param versions - An array of game versions to filter.\n * @param filter - The filter to apply to the versions.\n *\n * @returns An array of filtered game versions.\n */\nfunction filterVersionType(versions, filter) {\n const allowReleases = GameVersionFilter.hasFlag(filter, GameVersionFilter.RELEASES);\n const allowBetas = GameVersionFilter.hasFlag(filter, GameVersionFilter.BETAS);\n const allowAlphas = GameVersionFilter.hasFlag(filter, GameVersionFilter.ALPHAS);\n const allowAny = (allowReleases && allowBetas && allowAlphas) || !(allowReleases || allowBetas || allowAlphas);\n if (!allowAny) {\n return versions.filter(x => (!x.isRelease || allowReleases) && (!x.isBeta || allowBetas) && (!x.isAlpha || allowAlphas));\n }\n return versions;\n}\n/**\n * Applies a version range filter based on the provided flags.\n *\n * @template T - The type of the game versions.\n *\n * @param versions - An array of game versions to filter.\n * @param selector - A function to select a specific version value (major, minor, or patch).\n * @param flags - The filter flags to apply to the versions.\n * @param minFlag - The `minimum` flag applicable to the selected version value.\n * @param maxFlag - The `maximum` flag applicable to the selected version value.\n *\n * @returns An array of filtered game versions.\n */\nfunction applyVersionRange(versions, selector, flags, minFlag, maxFlag) {\n const comparer = GameVersionFilter.hasFlag(flags, minFlag) ? -1 : GameVersionFilter.hasFlag(flags, maxFlag) ? 1 : 0;\n if (!comparer) {\n return versions;\n }\n const target = versions.reduce((current, version) => Math.sign(selector(version) - current) === comparer ? selector(version) : current, comparer === 1 ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER);\n return versions.filter(x => selector(x) === target);\n}\n/**\n * Converts a version resolver name to a game version filter.\n *\n * @param versionResolverName - The name of the version resolver.\n *\n * @returns The corresponding game version filter.\n */\nfunction _fromVersionResolver(versionResolverName) {\n if (stringEquals(versionResolverName, \"exact\", { ignoreCase: true })) {\n return GameVersionFilterValues.MIN | GameVersionFilterValues.RELEASES;\n }\n if (stringEquals(versionResolverName, \"latest\", { ignoreCase: true })) {\n return (GameVersionFilterValues.MIN_MAJOR |\n GameVersionFilterValues.MIN_MINOR |\n GameVersionFilterValues.MAX_PATCH |\n GameVersionFilterValues.RELEASES);\n }\n if (stringEquals(versionResolverName, \"all\", { ignoreCase: true })) {\n return GameVersionFilterValues.MIN_MAJOR | GameVersionFilterValues.MIN_MINOR;\n }\n return (GameVersionFilterValues.MIN_MAJOR |\n GameVersionFilterValues.MIN_MINOR |\n GameVersionFilterValues.RELEASES);\n}\n/**\n * Converts a version resolver name to a game version filter.\n *\n * @param versionResolverName - The name of the version resolver.\n *\n * @returns The corresponding game version filter.\n *\n * @deprecated\n *\n * Use keys of the new {@link GameVersionFilter} instead.\n */\nconst fromVersionResolver = deprecate(_fromVersionResolver, \"Use the new `game-version-filter` input instead of the deprecated `version-resolver` one.\");\n/**\n * A collection of methods to work with `GameVersionFilter`.\n *\n * @partial\n */\nconst GameVersionFilterMethods = {\n filter,\n fromVersionResolver,\n};\n/**\n * Represents a game version filter.\n *\n * This filter can be used to filter game versions based on the provided criteria.\n */\nexport const GameVersionFilter = Enum.create(GameVersionFilterValues, GameVersionFilterOptions, GameVersionFilterMethods);\n","import { coerce, parse as parseSemVer } from \"semver\";\n/**\n * Parses a version string into a {@link Version} instance.\n *\n * @param version - The version string to parse.\n *\n * @returns A {@link Version} instance if parsing is successful, or `undefined` if it fails.\n */\nexport function parseVersion(version) {\n return SemVerVersion.parse(version);\n}\n/**\n * Regular expression for matching semver-like tags in version strings.\n */\nconst SEMVER_TAG_REGEX = /[a-z]{0,2}((\\d+\\.\\d+)(\\.\\d+)?(.*))/i;\n/**\n * Represents a version number compliant with the Semantic Versioning specification.\n */\nclass SemVerVersion {\n /**\n * The SemVer object representing the parsed semantic version.\n */\n _semver;\n /**\n * The original string representation of the version.\n */\n _version;\n /**\n * Constructs a new {@link SemVerVersion} instance.\n *\n * @param semver - The SemVer object representing the parsed semantic version.\n * @param version - The original string representation of the version.\n */\n constructor(semver, version) {\n this._semver = semver;\n this._version = version ?? semver.format();\n }\n /**\n * Parses a version string into a {@link SemVerVersion} instance.\n *\n * @param version - The version string to parse.\n *\n * @returns A {@link SemVerVersion} instance if parsing is successful, or `undefined` if it fails.\n */\n static parse(version) {\n const semver = parseSemVer(version);\n if (semver) {\n return new SemVerVersion(semver, version);\n }\n const match = version.match(SEMVER_TAG_REGEX);\n if (match) {\n const numericVersion = match[3] ? match[1] : `${match[2]}.0${match[4]}`;\n const parsedSemVer = parseSemVer(numericVersion) || coerce(numericVersion);\n return new SemVerVersion(parsedSemVer, match[0]);\n }\n return undefined;\n }\n /**\n * @inheritdoc\n */\n get major() {\n return this._semver.major;\n }\n /**\n * @inheritdoc\n */\n get minor() {\n return this._semver.minor;\n }\n /**\n * @inheritdoc\n */\n get patch() {\n return this._semver.patch;\n }\n /**\n * @inheritdoc\n */\n compare(other) {\n if (other === null || other === undefined) {\n return 1;\n }\n if (typeof other === \"string\") {\n other = SemVerVersion.parse(other);\n }\n return other instanceof SemVerVersion ? this._semver.compare(other._semver) : -other.compare(this);\n }\n /**\n * @inheritdoc\n */\n format() {\n return this._semver.format();\n }\n /**\n * @inheritdoc\n */\n toString() {\n return this._version;\n }\n}\n","import { asArray } from \"@/utils/collections\";\nimport { Range } from \"semver\";\nimport { parseVersion } from \"./version\";\n/**\n * Parses a string or a collection of strings and returns into a version range.\n *\n * @param range - The string or a collection of strings to be parsed.\n *\n * @returns The parsed {@link VersionRange} instance, or `undefined` if the input is invalid.\n */\nexport function parseVersionRange(range) {\n return SemVerVersionRange.parse(range);\n}\n/**\n * Returns a version range that includes any version.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes any version.\n */\nexport function anyVersionRange(range) {\n return SemVerVersionRange.any(range);\n}\n/**\n * Returns a version range that includes no versions.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes no versions.\n */\nexport function noneVersionRange(range) {\n return SemVerVersionRange.none(range);\n}\n/**\n * Regular expression for matching interval-like expressions in version range strings.\n */\nconst INTERVAL_LIKE_REGEX = /(?:\\[|\\()[^\\])]+(?:\\]|\\))/g;\n/**\n * Converts a mixed version range string into a semver-compatible version range string.\n *\n * @param range - The mixed version range string.\n *\n * @returns The semver-compatible version range string.\n */\nfunction mixedToSemver(range) {\n return range.replace(INTERVAL_LIKE_REGEX, intervalToSemver);\n}\n/**\n * Regular expression for matching interval expressions in version range strings.\n */\nconst INTERVAL_REGEX = /(?\\[|\\()\\s*(?[^,\\s]+)?\\s*(?,)?\\s*(?[^,\\s\\])]+)?\\s*(?\\]|\\))/;\n/**\n * Converts an interval expression into a semver-compatible range expression.\n *\n * @param range - The interval expression.\n *\n * @returns The semver-compatible range expression.\n */\nfunction intervalToSemver(range) {\n const match = range.match(INTERVAL_REGEX);\n if (!match) {\n return \"\";\n }\n const fromOperator = match.groups.from_bracket === \"[\" ? \">=\" : \">\";\n const from = match.groups.from;\n const separator = match.groups.separator;\n const toOperator = match.groups.to_bracket === \"]\" ? \"<=\" : \"<\";\n const to = match.groups.to;\n if (!from && !to) {\n return \"*\";\n }\n if (!from) {\n return `${toOperator}${to}`;\n }\n if (!separator) {\n return from;\n }\n if (!to) {\n return `${fromOperator}${from}`;\n }\n return `${fromOperator}${from} ${toOperator}${to}`;\n}\n/**\n * Regular expression for matching semver-like tags in version strings with optional patch version.\n */\nconst SEMVER_OPTIONAL_PATCH_REGEX = /((?:\\d+|[Xx*])(?:\\.\\d+|\\.[Xx*]))(\\.\\d+|\\.[Xx*])?([\\w\\-.+]*)/g;\n/**\n * Ensures that a semver string has a patch version, adding \".0\" if it is missing.\n *\n * @param semver - The semver string.\n *\n * @returns The semver string with a patch version.\n */\nfunction fixMissingPatchVersion(semver) {\n return semver.replace(SEMVER_OPTIONAL_PATCH_REGEX, (match, before, patch, after) => {\n return patch ? match : `${before}.0${after}`;\n });\n}\n/**\n * Represents a version range compliant with the Semantic Versioning specification.\n */\nclass SemVerVersionRange {\n /**\n * Represents a range that includes any version.\n */\n static ANY = new SemVerVersionRange(new Range(\"*\"), \"*\");\n /**\n * Represents a range that includes no versions.\n */\n static NONE = new SemVerVersionRange(new Range(\"<0.0.0\"));\n /**\n * The semver-compliant range object.\n */\n _semver;\n /**\n * The original version range string.\n */\n _range;\n /**\n * Constructs a new {@link SemVerVersionRange} instance.\n *\n * @param semver - The semver-compliant range object.\n * @param range - The original version range string.\n */\n constructor(semver, range) {\n this._semver = semver;\n this._range = range ?? semver.format();\n }\n /**\n * Returns a version range that includes any version.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes any version.\n */\n static any(range) {\n if (!range || range === SemVerVersionRange.ANY._range) {\n return SemVerVersionRange.ANY;\n }\n return new SemVerVersionRange(SemVerVersionRange.ANY._semver, range);\n }\n /**\n * Returns a version range that includes no versions.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes no versions.\n */\n static none(range) {\n if (!range || range === SemVerVersionRange.NONE._range) {\n return SemVerVersionRange.NONE;\n }\n return new SemVerVersionRange(SemVerVersionRange.NONE._semver, range);\n }\n /**\n * Parses a string or a collection of strings and returns into a version range.\n *\n * @param range - The string or a collection of strings to be parsed.\n *\n * @returns The parsed {@link SemVerVersionRange} instance, or `undefined` if the input is invalid.\n */\n static parse(range) {\n const ranges = (typeof range === \"string\" ? [range] : asArray(range)).map(x => x.trim());\n const mixedRange = ranges.join(\" || \");\n const semverRange = ranges.map(mixedToSemver).map(fixMissingPatchVersion).join(\" || \");\n try {\n const parsedSemverRange = new Range(semverRange, { includePrerelease: true });\n return new SemVerVersionRange(parsedSemverRange, mixedRange);\n }\n catch {\n return undefined;\n }\n }\n /**\n * @inheritdoc\n */\n includes(version) {\n if (typeof version === \"string\") {\n version = parseVersion(version);\n }\n const internalSemVer = version?._semver;\n return this._semver.test(internalSemVer || version.format());\n }\n /**\n * @inheritdoc\n */\n format() {\n return this._semver.format();\n }\n /**\n * @inheritdoc\n */\n toString() {\n return this._range;\n }\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different version types for software releases.\n *\n * @partial\n */\nvar VersionTypeValues;\n(function (VersionTypeValues) {\n /**\n * Alpha version, usually for early testing and development.\n */\n VersionTypeValues[\"ALPHA\"] = \"alpha\";\n /**\n * Beta version, typically for more advanced testing and bug fixing.\n */\n VersionTypeValues[\"BETA\"] = \"beta\";\n /**\n * Release version, the stable and final version of the software.\n */\n VersionTypeValues[\"RELEASE\"] = \"release\";\n})(VersionTypeValues || (VersionTypeValues = {}));\n/**\n * Options for configuring the behavior of the VersionType enum.\n *\n * @partial\n */\nconst VersionTypeOptions = {\n /**\n * The case should be ignored while parsing the version type.\n */\n ignoreCase: true,\n};\n/**\n * Parses the provided file name and returns the corresponding {@link VersionType}.\n *\n * @param fileName - The file name string to parse.\n *\n * @returns The detected {@link VersionType} based on the input file name.\n */\nfunction parseFromFileName(fileName) {\n if (fileName.match(/[+-_]alpha/i)) {\n return VersionType.ALPHA;\n }\n if (fileName.match(/[+-_]beta/i)) {\n return VersionType.BETA;\n }\n return VersionType.RELEASE;\n}\n/**\n * A collection of methods to work with VersionType.\n *\n * @partial\n */\nconst VersionTypeMethods = {\n parseFromFileName,\n};\n/**\n * Represents different version types for software releases.\n */\nexport const VersionType = Enum.create(VersionTypeValues, VersionTypeOptions, VersionTypeMethods);\n","import { VersionType } from \"@/utils/versioning\";\nimport { Enum } from \"@/utils/enum\";\n/**\n * Represents Minecraft version types.\n *\n * @partial\n */\nvar MinecraftVersionTypeValues;\n(function (MinecraftVersionTypeValues) {\n /**\n * Represents the release version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"RELEASE\"] = \"release\";\n /**\n * Represents the snapshot version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"SNAPSHOT\"] = \"snapshot\";\n /**\n * Represents the old beta version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"OLD_BETA\"] = \"old_beta\";\n /**\n * Represents the old alpha version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"OLD_ALPHA\"] = \"old_alpha\";\n})(MinecraftVersionTypeValues || (MinecraftVersionTypeValues = {}));\n/**\n * Options for configuring the behavior of the MinecraftVersionType enum.\n *\n * @partial\n */\nconst MinecraftVersionTypeOptions = {\n /**\n * The case should be ignored while parsing the version type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the version type.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Converts a `MinecraftVersionType` value to a corresponding `VersionType` value.\n *\n * @param type - The Minecraft version type to convert.\n * @param version - The Minecraft version string, used for additional checks when the type is `Snapshot`.\n *\n * @returns The corresponding `VersionType` value.\n */\nfunction toVersionType(type, version) {\n switch (type) {\n case MinecraftVersionType.SNAPSHOT:\n return version?.match(/-pre|-rc|-beta|Pre-[Rr]elease|[Rr]elease Candidate/)\n ? VersionType.BETA\n : VersionType.ALPHA;\n case MinecraftVersionType.OLD_BETA:\n return VersionType.BETA;\n case MinecraftVersionType.OLD_ALPHA:\n return VersionType.ALPHA;\n default:\n return VersionType.RELEASE;\n }\n}\n/**\n * A collection of methods to work with MinecraftVersionType.\n *\n * @partial\n */\nconst MinecraftVersionTypeMethods = {\n toVersionType,\n};\n/**\n * Represents Minecraft version types.\n */\nexport const MinecraftVersionType = Enum.create(MinecraftVersionTypeValues, MinecraftVersionTypeOptions, MinecraftVersionTypeMethods);\n","import { VersionType } from \"@/utils/versioning\";\nimport { MinecraftVersionType } from \"./minecraft-version-type\";\n/**\n * Represents a Minecraft version.\n */\nexport class MinecraftVersion {\n /**\n * The version identifier.\n */\n _id;\n /**\n * The parsed version information.\n */\n _version;\n /**\n * The original Minecraft version type.\n */\n _mcType;\n /**\n * The normalized version type.\n */\n _type;\n /**\n * The URL for the version's metadata.\n */\n _url;\n /**\n * The release date of the version.\n */\n _releaseDate;\n /**\n * Constructs a new {@link MinecraftVersion} instance.\n *\n * @param id - The version identifier.\n * @param version - The parsed version information.\n * @param type - The Minecraft version type.\n * @param url - The URL for the version's metadata.\n * @param releaseDate - The release date of the version.\n */\n constructor(id, version, type, url, releaseDate) {\n this._id = id;\n this._version = version;\n this._mcType = type;\n this._type = MinecraftVersionType.toVersionType(type, String(version));\n this._url = url;\n this._releaseDate = releaseDate;\n }\n /**\n * Returns the version identifier.\n */\n get id() {\n return this._id;\n }\n /**\n * Returns the parsed version information.\n */\n get version() {\n return this._version;\n }\n /**\n * Returns the version type.\n */\n get type() {\n return this._type;\n }\n /**\n * Returns the URL for the version's metadata.\n */\n get url() {\n return this._url;\n }\n /**\n * Returns the release date of the version.\n */\n get releaseDate() {\n return this._releaseDate;\n }\n /**\n * Returns `true` if the version is an alpha version.\n */\n get isAlpha() {\n return this._type === VersionType.ALPHA;\n }\n /**\n * Returns `true` if the version is a beta version.\n */\n get isBeta() {\n return this._type === VersionType.BETA;\n }\n /**\n * Returns `true` if the version is a snapshot version.\n */\n get isSnapshot() {\n return !this.isRelease;\n }\n /**\n * Returns `true` if the version is a release version.\n */\n get isRelease() {\n return this._type === VersionType.RELEASE;\n }\n /**\n * Returns `true` if the version is an old alpha version.\n */\n get isOldAlpha() {\n return this._mcType === MinecraftVersionType.OLD_ALPHA;\n }\n /**\n * Returns `true` if the version is an old beta version.\n */\n get isOldBeta() {\n return this._mcType === MinecraftVersionType.OLD_BETA;\n }\n /**\n * Returns the version identifier as a string.\n */\n toString() {\n return this._id;\n }\n}\n/**\n * Returns an array of Minecraft version manifest entries.\n *\n * @param manifest - The Minecraft version manifest.\n *\n * @returns An array of Minecraft version manifest entries.\n */\nexport function getMinecraftVersionManifestEntries(manifest) {\n return manifest.versions\n .map(x => ({ ...x, releaseDate: new Date(x.releaseTime) }))\n .sort((a, b) => b.releaseDate.valueOf() - a.releaseDate.valueOf());\n}\n","/**\n * Your one-stop GitHub Action for seamless Minecraft project publication across various platforms.\n */\nexport const ACTION_NAME = \"mc-publish\";\n;\n;\n","/**\n * A class that manages middleware functions for a given function of type `T`.\n *\n * It allows adding middleware functions to intercept, modify, or add behavior to the original function.\n *\n * @template T - The type of the function.\n */\nexport class MiddlewareHandler {\n /**\n * The target function that the middleware functions will be applied to.\n */\n _target;\n /**\n * A list of middleware functions that will be executed in the order they were added.\n */\n _delegates;\n /**\n * Constructs a new {@link MiddlewareHandler} instance.\n *\n * @param target - The target function that the middleware functions will be applied to.\n */\n constructor(target) {\n this._target = target;\n this._delegates = [];\n }\n /**\n * Adds a middleware function to the {@link MiddlewareHandler}.\n *\n * Middleware functions are executed in the order they were added.\n *\n * @param middleware - The middleware function to add.\n *\n * @returns `this` instance, allowing for method chaining.\n */\n use(middleware) {\n this._delegates.push(middleware);\n return this;\n }\n /**\n * Executes the middleware chain and the target function with the provided arguments.\n *\n * The middleware functions are called in the order they were added.\n *\n * @param args - The arguments to pass to the middleware functions and the target function.\n *\n * @returns The result of the target function after applying all middleware functions.\n */\n execute(...args) {\n return this.asFunction()(...args);\n }\n /**\n * Returns the composed target function with the middleware chain applied.\n *\n * This function can be called directly, and it will execute the middleware chain and the target function.\n *\n * @returns The composed target function.\n */\n asFunction() {\n if (!this._delegates.length) {\n return this._target;\n }\n const target = this._target;\n const delegates = [...this._delegates];\n const apply = (i) => (...args) => i < delegates.length\n ? delegates[i](...args, apply(i + 1))\n : target(...args);\n return apply(0);\n }\n}\n","/* eslint-disable-next-line no-restricted-imports */\nimport { Blob as BlobPolyfill, blobFrom, blobFromSync } from \"node-fetch\";\n/**\n * A `Blob` encapsulates immutable, raw data that can be safely shared across multiple worker threads.\n */\nexport const Blob = BlobPolyfill;\n/**\n * Checks if an object is a `Blob`.\n *\n * @param blob - The object to check.\n *\n * @returns `true` if the object is a `Blob`; otherwise, `false`.\n */\nexport function isBlob(blob) {\n const name = blob?.[Symbol.toStringTag];\n return name === \"Blob\" || name === \"File\";\n}\n/**\n * Reads a file from the given path and returns its content as a `Blob`.\n *\n * @param path - The file path to read the content from.\n *\n * @returns A `Promise` that resolves to a `Blob` containing the file content.\n */\nexport function readBlob(path) {\n return blobFrom(path);\n}\n/**\n * Synchronously reads a file from the given path and returns its content as a `Blob`.\n *\n * @param path - The file path to read the content from.\n *\n * @returns A `Blob` containing the file content.\n */\nexport function readBlobSync(path) {\n return blobFromSync(path);\n}\n","import { asArray, asArrayLike, isIterable } from \"@/utils/collections\";\nimport { Enum } from \"@/utils/enum\";\nimport { VersionType } from \"@/utils/versioning\";\n/**\n * Represents the modes for unfeaturing Modrinth versions.\n *\n * @partial\n */\nvar ModrinthUnfeatureModeValues;\n(function (ModrinthUnfeatureModeValues) {\n /**\n * No unfeature mode.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"NONE\"] = 0] = \"NONE\";\n /**\n * Unfeature mode for game version subset.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"GAME_VERSION_SUBSET\"] = 1] = \"GAME_VERSION_SUBSET\";\n /**\n * Unfeature mode for version intersection.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"GAME_VERSION_INTERSECTION\"] = 2] = \"GAME_VERSION_INTERSECTION\";\n /**\n * Unfeature mode for any version.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"GAME_VERSION_ANY\"] = 4] = \"GAME_VERSION_ANY\";\n /**\n * Unfeature mode for version type subset.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"VERSION_TYPE_SUBSET\"] = 8] = \"VERSION_TYPE_SUBSET\";\n /**\n * Unfeature mode for version type intersection.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"VERSION_TYPE_INTERSECTION\"] = 16] = \"VERSION_TYPE_INTERSECTION\";\n /**\n * Unfeature mode for any version type.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"VERSION_TYPE_ANY\"] = 32] = \"VERSION_TYPE_ANY\";\n /**\n * Unfeature mode for loader subset.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"LOADER_SUBSET\"] = 64] = \"LOADER_SUBSET\";\n /**\n * Unfeature mode for loader intersection.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"LOADER_INTERSECTION\"] = 128] = \"LOADER_INTERSECTION\";\n /**\n * Unfeature mode for any loader.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"LOADER_ANY\"] = 256] = \"LOADER_ANY\";\n /**\n * Unfeature mode for a subset of game versions, loaders, and version types.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"SUBSET\"] = 73] = \"SUBSET\";\n /**\n * Unfeature mode for an intersection of game versions, loaders, and version types.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"INTERSECTION\"] = 146] = \"INTERSECTION\";\n /**\n * Unfeature mode for any game version, loader, or version type.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"ANY\"] = 292] = \"ANY\";\n})(ModrinthUnfeatureModeValues || (ModrinthUnfeatureModeValues = {}));\n/**\n * Options for configuring the behavior of the ModrinthUnfeatureMode enum.\n *\n * @partial\n */\nconst ModrinthUnfeatureModeOptions = {\n /**\n * `ModrinthUnfeatureMode` is a flag-based enum.\n */\n hasFlags: true,\n /**\n * The case should be ignored while parsing the unfeature mode.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the unfeature mode.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Determines if the given unfeature mode is the \"none\" mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is \"none\"; otherwise, `false`.\n */\nfunction isNone(mode) {\n return mode === ModrinthUnfeatureMode.NONE;\n}\n/**\n * Determines if the given unfeature mode is a subset mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is a subset mode; otherwise, `false`.\n */\nfunction isSubset(mode) {\n return (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_SUBSET) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_SUBSET) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_SUBSET));\n}\n/**\n * Determines if the given unfeature mode is an intersection mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is an intersection mode; otherwise, `false`.\n */\nfunction isIntersection(mode) {\n return (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_INTERSECTION) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_INTERSECTION) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_INTERSECTION));\n}\n/**\n * Determines if the given unfeature mode is an \"any\" mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is an \"any\" mode; otherwise, `false`.\n */\nfunction isAny(mode) {\n return !isSubset(mode) && !isIntersection(mode);\n}\n/**\n * Retrieves the version-specific unfeature mode from the composite unfeature mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns The version-specific unfeature mode.\n */\nfunction getGameVersionMode(mode) {\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_SUBSET)) {\n return ModrinthUnfeatureMode.GAME_VERSION_SUBSET;\n }\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_INTERSECTION)) {\n return ModrinthUnfeatureMode.GAME_VERSION_INTERSECTION;\n }\n return ModrinthUnfeatureMode.GAME_VERSION_ANY;\n}\n/**\n * Retrieves the version type-specific unfeature mode from the given composite unfeature mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns The version type-specific unfeature mode.\n */\nfunction getVersionTypeMode(mode) {\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_SUBSET)) {\n return ModrinthUnfeatureMode.VERSION_TYPE_SUBSET;\n }\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_INTERSECTION)) {\n return ModrinthUnfeatureMode.VERSION_TYPE_INTERSECTION;\n }\n return ModrinthUnfeatureMode.VERSION_TYPE_ANY;\n}\n/**\n * Retrieves the loader-specific unfeature mode from the given composite unfeature mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns The loader-specific unfeature mode.\n */\nfunction getLoaderMode(mode) {\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_SUBSET)) {\n return ModrinthUnfeatureMode.LOADER_SUBSET;\n }\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_INTERSECTION)) {\n return ModrinthUnfeatureMode.LOADER_INTERSECTION;\n }\n return ModrinthUnfeatureMode.LOADER_ANY;\n}\n/**\n * Determines if the `previous` value satisfies the given unfeature condition.\n *\n * @param previous - The previous value.\n * @param current - The current value.\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the `previous` value satisfies the given unfeature condition; otherwise, `false`.\n */\nfunction satisfies(previous, current, mode) {\n if (isAny(mode)) {\n return true;\n }\n // If the provided items are scalars, the only way the could intersect with each other\n // or one be a subset of another is for them to be strictly equal.\n // This way we cover both possibilities at the same time.\n if (!isIterable(current) || !isIterable(previous)) {\n return current === previous;\n }\n const currentArray = asArray(current);\n if (isSubset(mode)) {\n return asArrayLike(previous).every(x => currentArray.includes(x));\n }\n // isIntersection(mode) === true\n return asArrayLike(previous).some(x => currentArray.includes(x));\n}\n/**\n * Determines if the `previous` version should be unfeatured based on the given unfeature mode.\n *\n * @param previous - The previous version.\n * @param current - The current version.\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the `previous` version should be unfeatured based on the given unfeature mode; otherwise, `false`.\n */\nfunction shouldUnfeature(previous, current, mode) {\n if (previous.id === current.id) {\n return false;\n }\n const gameVersionMode = getGameVersionMode(mode);\n const versionTypeMode = getVersionTypeMode(mode);\n const loaderMode = getLoaderMode(mode);\n return (satisfies(previous.game_versions || [], current.game_versions || [], gameVersionMode) &&\n satisfies(previous.version_type || VersionType.RELEASE, current.version_type || VersionType.RELEASE, versionTypeMode) &&\n satisfies(previous.loaders || [], current.loaders || [], loaderMode));\n}\n/**\n * A collection of methods to work with ModrinthUnfeatureMode.\n *\n * @partial\n */\nconst ModrinthUnfeatureModeMethods = {\n isNone,\n isSubset,\n isIntersection,\n isAny,\n getGameVersionMode,\n getVersionTypeMode,\n getLoaderMode,\n shouldUnfeature,\n};\n/**\n * Represents the modes for unfeaturing Modrinth versions.\n */\nexport const ModrinthUnfeatureMode = Enum.create(ModrinthUnfeatureModeValues, ModrinthUnfeatureModeOptions, ModrinthUnfeatureModeMethods);\n","import { randomBytes, createCipheriv, createDecipheriv } from \"node:crypto\";\n/**\n * Cipher type used for encryption and decryption.\n */\nconst CIPHER_TYPE = \"aes-256-cbc\";\n/**\n * Length of the encryption key.\n */\nconst KEY_LENGTH = 32;\n/**\n * Length of the initialization vector.\n */\nconst IV_LENGTH = 16;\n/**\n * WeakMap to store the encrypted Buffer data of each SecureString instance.\n */\nconst BUFFERS = new WeakMap();\n/**\n * WeakMap to store the encryption key of each SecureString instance.\n */\nconst KEYS = new WeakMap();\n/**\n * WeakMap to store the initialization vector of each SecureString instance.\n */\nconst IVS = new WeakMap();\n/**\n * Represents a secure string, which can only be accessed when unwrapped.\n */\nexport class SecureString {\n /**\n * Constructs a new {@link SecureString} instances.\n *\n * @param buffer - Encrypted buffer data.\n * @param key - Encryption key.\n * @param iv - Initialization vector.\n */\n constructor(buffer, key, iv) {\n BUFFERS.set(this, buffer);\n KEYS.set(this, key);\n IVS.set(this, iv);\n }\n /**\n * Creates a new {@link SecureString} instance from a given input string, or `Buffer`.\n *\n * @param s - The input string, or `Buffer`.\n *\n * @returns A new {@link SecureString} instance.\n */\n static from(s) {\n if (s instanceof SecureString) {\n return s;\n }\n const decryptedBuffer = Buffer.from(s || \"\");\n const key = randomBytes(KEY_LENGTH);\n const iv = randomBytes(IV_LENGTH);\n const cipher = createCipheriv(CIPHER_TYPE, key, iv);\n const buffer = Buffer.concat([cipher.update(decryptedBuffer), cipher.final()]);\n return new SecureString(buffer, key, iv);\n }\n /**\n * Unwraps the encrypted {@link SecureString} instance and returns the decrypted string.\n *\n * @returns Decrypted string.\n */\n unwrap() {\n const buffer = BUFFERS.get(this);\n const key = KEYS.get(this);\n const iv = IVS.get(this);\n if (!buffer || !key || !iv) {\n throw new Error(\"The SecureString instance was not properly initialized.\");\n }\n const decipher = createDecipheriv(CIPHER_TYPE, key, iv);\n const decryptedBuffer = Buffer.concat([decipher.update(buffer), decipher.final()]);\n return decryptedBuffer.toString();\n }\n /**\n * Returns the custom string tag to identify {@link SecureString} instances.\n *\n * @returns \"SecureString\".\n */\n get [Symbol.toStringTag]() {\n return \"SecureString\";\n }\n /**\n * Return a masked string, hiding the actual content.\n *\n * @returns A masked string.\n */\n toString() {\n return \"*****\";\n }\n /**\n * Return a masked string, hiding the actual content.\n *\n * @returns A masked string.\n */\n toJSON() {\n return this.toString();\n }\n}\n","/**\n * Determines if the input is an {@link Error}.\n *\n * @param error - Input to be checked.\n *\n * @returns `true` if the input is an `Error`; otherwise, `false`.\n */\nexport function isError(error) {\n return error instanceof Error;\n}\n","/**\n * Represents an error that is thrown when one of the arguments provided to a method is not valid.\n */\nexport class ArgumentError extends Error {\n /**\n * The default message to use when no message is provided.\n */\n static DEFAULT_ARGUMENT_ERROR_MESSAGE = \"Value does not fall within the expected range.\";\n /**\n * The message to use when an object was empty.\n */\n static EMPTY_ARGUMENT_ERROR_MESSAGE = \"The value cannot be null, undefined, or empty.\";\n /**\n * The pattern used to format the parameter name into the error message.\n *\n * @param paramName - The name of the parameter causing the error.\n *\n * @returns A formatted error message that includes the parameter name.\n */\n static PARAM_NAME_MESSAGE_PATTERN = (paramName) => paramName ? ` (Parameter '${paramName}')` : \"\";\n /**\n * The name of the parameter that caused the error.\n */\n _paramName;\n /**\n * Initializes a new instance of the {@link ArgumentError} class.\n *\n * @param paramName - The name of the parameter that caused the error.\n * @param message - The error message to display.\n * @param options - Optional settings for the error object.\n */\n constructor(paramName, message, options) {\n super(ArgumentError.formatErrorMessage(message, paramName), options);\n this.name = \"ArgumentError\";\n this._paramName = paramName;\n }\n /**\n * Gets the name of the parameter that caused the error.\n *\n * @returns The name of the parameter that caused the error, or `undefined` if no name was provided.\n */\n get paramName() {\n return this._paramName;\n }\n /**\n * Throws an {@link ArgumentError} if the specified argument is `null`, `undefined`, or empty.\n *\n * @param argument - The argument to check.\n * @param paramName - The name of the parameter being checked.\n * @param message - The error message to display.\n *\n * @throws An {@link ArgumentError} if the specified argument is `null`, `undefined`, or empty.\n */\n static throwIfNullOrEmpty(argument, paramName, message) {\n if (argument === undefined || argument === null || argument.length === 0) {\n throw new ArgumentError(paramName, message || ArgumentError.EMPTY_ARGUMENT_ERROR_MESSAGE);\n }\n }\n /**\n * Formats the error message to include any specified parameter name.\n *\n * @param message - The error message to format.\n * @param paramName - The name of the parameter that caused the error.\n *\n * @returns The formatted error message.\n */\n static formatErrorMessage(message, paramName) {\n message ??= ArgumentError.DEFAULT_ARGUMENT_ERROR_MESSAGE;\n message += ArgumentError.PARAM_NAME_MESSAGE_PATTERN(paramName);\n return message;\n }\n}\n","import { ArgumentError } from \"./argument-error\";\n/**\n * Represents an error that occurs when a required argument is null or undefined.\n */\nexport class ArgumentNullError extends ArgumentError {\n /**\n * The default message to use when no message is provided.\n */\n static DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE = \"Value cannot be null or undefined.\";\n /**\n * Initializes a new instance of the {@link ArgumentNullError} class.\n *\n * @param paramName - The name of the parameter that caused the error.\n * @param message - The error message to display.\n * @param options - Optional settings for the error object.\n */\n constructor(paramName, message, options) {\n super(paramName, message ?? ArgumentNullError.DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE, options);\n this.name = \"ArgumentNullError\";\n }\n /**\n * Throws an {@link ArgumentNullError} if the specified argument is `null` or `undefined`.\n *\n * @param argument - The argument to check.\n * @param paramName - The name of the parameter being checked.\n * @param message - The error message to display.\n *\n * @throws An {@link ArgumentNullError} if the specified argument is `null` or `undefined`.\n */\n static throwIfNull(argument, paramName, message) {\n if (argument === undefined || argument === null) {\n throw new ArgumentNullError(paramName, message);\n }\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:os\");","import { asString } from \"@/utils/string-utils\";\nimport { EOL } from \"node:os\";\n/**\n * An object containing environment variables as key-value pairs.\n */\nexport const ENVIRONMENT = process.env;\n/**\n * The Windows-style line break character sequence.\n */\nexport const WINDOWS_NEWLINE = \"\\r\\n\";\n/**\n * The Unix-style line break character sequence.\n */\nexport const UNIX_NEWLINE = \"\\n\";\n/**\n * The default line break character sequence based on the operating system.\n */\nexport const DEFAULT_NEWLINE = EOL;\n/**\n * Retrieves the environment variable with the specified `name`.\n *\n * @param name - The name of the environment variable to retrieve.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns The value of the specified environment variable, if any; otherwise, `undefined`.\n */\nexport function getEnvironmentVariable(name, env) {\n env ||= ENVIRONMENT;\n const variable = env[name];\n return variable === undefined ? undefined : asString(variable);\n}\n/**\n * Returns an iterable that yields all environment variables as name/value key-value pairs.\n *\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns An iterable that yields all environment variables as name/value key-value pairs.\n */\nexport function* getAllEnvironmentVariables(env) {\n env ||= ENVIRONMENT;\n for (const [name, variable] of Object.entries(env)) {\n if (variable === undefined) {\n continue;\n }\n yield [name, asString(variable)];\n }\n}\n/**\n * Updates the value of an environment variable with the specified name.\n *\n * @param name - The name of the environment variable to update.\n * @param value - The new value for the environment variable.\n * @param env - An optional set of the environment variables to update. Defaults to `process.env`.\n */\nexport function setEnvironmentVariable(name, value, env) {\n env ||= ENVIRONMENT;\n if (value === undefined) {\n delete env[name];\n }\n else {\n env[name] = asString(value);\n }\n}\n/**\n * Determines whether the current environment is in debug mode.\n *\n * @param env - An optional set of the environment variables to check. Defaults to `process.env`.\n *\n * @returns `true` if the environment is in debug mode; otherwise, `false`.\n */\nexport function isDebug(env) {\n // Why in the world is this \"1\" instead of \"true\"?\n // https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables\n return getEnvironmentVariable(\"RUNNER_DEBUG\", env) === \"1\";\n}\n/**\n * Determines whether the current environment is running on GitHub Actions.\n *\n * @param env - An optional set of the environment variables to check. Defaults to `process.env`.\n *\n * @returns `true` if the current environment is running on GitHub Actions; otherwise, `false`.\n */\nexport function isGitHubAction(env) {\n // https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables\n return getEnvironmentVariable(\"GITHUB_ACTIONS\", env) === \"true\";\n}\n/**\n * Determines whether the specified platform is Windows.\n *\n * @param platformName - An optional string that represents the platform to check. If not provided, the current platform will be used as the default.\n *\n * @returns `true` if the specified platform is Windows; otherwise, `false`.\n */\nexport function isWindows(platformName) {\n platformName ??= process.platform;\n return platformName === \"win32\";\n}\n/**\n * Determines whether the current platform is macOS.\n *\n * @param platformName - An optional string that represents the platform to check. If not provided, the current platform will be used as the default.\n *\n * @returns `true` if the current platform is macOS; otherwise, `false`.\n */\nexport function isMacOs(platformName) {\n platformName ??= process.platform;\n return platformName === \"darwin\";\n}\n/**\n * Determines whether the current platform is Linux.\n *\n * @param platformName - An optional string that represents the platform to check. If not provided, the current platform will be used as the default.\n *\n * @returns `true` if the current platform is Linux; otherwise, `false`.\n */\nexport function isLinux(platformName) {\n platformName ??= process.platform;\n return platformName === \"linux\";\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:console\");","import { error, warn, info, debug } from \"node:console\";\n/**\n * Default console instance.\n */\nconst CONSOLE_INSTANCE = { error, warn, info, debug };\n/**\n * A logger that writes log messages to the console.\n */\nexport class ConsoleLogger {\n /**\n * A console instance to log messages to.\n */\n _console;\n /**\n * Constructs a new {@link ConsoleLogger} instance.\n *\n * @param console - Optional custom console object to use for logging.\n */\n constructor(console) {\n this._console = console || CONSOLE_INSTANCE;\n }\n /**\n * @inheritdoc\n */\n fatal(message) {\n this._console.error(message);\n }\n /**\n * @inheritdoc\n */\n error(message) {\n this._console.error(message);\n }\n /**\n * @inheritdoc\n */\n warn(message) {\n this._console.warn(message);\n }\n /**\n * @inheritdoc\n */\n info(message) {\n this._console.info(message);\n }\n /**\n * @inheritdoc\n */\n debug(message) {\n this._console.debug(message);\n }\n}\n","/**\n * Null logger implementation, used for discarding all log messages.\n */\nexport class NullLogger {\n /**\n * @inheritdoc\n */\n fatal(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n error(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n warn(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n info(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n debug(_message) {\n // NOP\n }\n}\n","import { DEFAULT_NEWLINE } from \"@/utils/environment\";\n/**\n * A logger implementation that dumps formatted log messages to `stdout`.\n *\n * Compatible with GitHub Actions.\n *\n * @remarks\n *\n * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-debug-message\n */\nexport class ProcessLogger {\n /**\n * A function to consume produced log messages.\n */\n _logConsumer;\n /**\n * The newline sequence to use when writing logs.\n */\n _newline;\n /**\n * Constructs a new {@link ProcessLogger} instance.\n *\n * @param processOrLogConsumer - A process this logger is attached to, or a function to consume log messages.\n * @param newline - The newline sequence to use when writing logs. Defaults to `os.EOL`.\n */\n constructor(processOrLogConsumer, newline) {\n if (typeof processOrLogConsumer === \"function\") {\n this._logConsumer = processOrLogConsumer;\n }\n else {\n const process = processOrLogConsumer ?? globalThis.process;\n this._logConsumer =\n typeof process.stdout?.write === \"function\"\n ? msg => process.stdout.write(msg)\n : (() => { });\n }\n this._newline = newline ?? DEFAULT_NEWLINE;\n }\n /**\n * @inheritdoc\n */\n fatal(message) {\n this.error(message);\n }\n /**\n * @inheritdoc\n */\n error(message) {\n this.log(message, \"error\");\n }\n /**\n * @inheritdoc\n */\n warn(message) {\n this.log(message, \"warning\");\n }\n /**\n * @inheritdoc\n */\n info(message) {\n this.log(message);\n }\n /**\n * @inheritdoc\n */\n debug(message) {\n this.log(message, \"debug\");\n }\n /**\n * Logs a message with an optional log level.\n *\n * @param message - The message to log.\n * @param level - Optional log level string.\n */\n log(message, level) {\n const cmd = level ? `::${level}::` : \"\";\n this._logConsumer(`${cmd}${message}${this._newline}`);\n }\n}\n","import { isGitHubAction } from \"@/utils/environment\";\nimport { ConsoleLogger } from \"./console-logger\";\nimport { NullLogger } from \"./null-logger\";\nimport { ProcessLogger } from \"./process-logger\";\n/**\n * A constant representing the {@link NullLogger} instance, which does not log any message.\n */\nexport const NULL_LOGGER = new NullLogger();\n/**\n * A constant representing the {@link ConsoleLogger} instance, which logs messages to the console.\n */\nexport const CONSOLE_LOGGER = new ConsoleLogger();\n/**\n * A constant representing the {@link ProcessLogger} instance, which dumps log messages to the `stdout`.\n */\nexport const PROCESS_LOGGER = new ProcessLogger();\n/**\n * Returns a logger instance that is the most suitable for the current environment.\n *\n * - If we are currently in a GitHub Actions environment, the logger will write to `process.stdout`.\n * - Otherwise, logs will be written to the console.\n *\n * @param env - An optional set of the environment variables to check. Defaults to `process.env`.\n *\n * @returns A logger instance suitable for the current environment.\n */\nexport function getDefaultLogger(env) {\n return isGitHubAction(env) ? PROCESS_LOGGER : CONSOLE_LOGGER;\n}\n","/**\n * A class for measuring elapsed time.\n */\nexport class Stopwatch {\n /**\n * Indicates whether the stopwatch is currently running.\n */\n _isRunning;\n /**\n * The time when stopwatch was started.\n */\n _startTime;\n /**\n * The elapsed time in milliseconds since the stopwatch was started.\n */\n _elapsedTime;\n /**\n * A callback function that will be called when the stopwatch is started.\n */\n _onStart;\n /**\n * A callback function that will be called when the stopwatch is stopped.\n */\n _onStop;\n /**\n * Creates a new instance of {@link Stopwatch}.\n *\n * @param onStart - A callback function that will be called when the stopwatch is started.\n * @param onStop - A callback function that will be called when the stopwatch is stopped.\n */\n constructor(onStart, onStop) {\n this._isRunning = false;\n this._startTime = 0;\n this._elapsedTime = 0;\n this._onStart = onStart;\n this._onStop = onStop;\n }\n /**\n * Gets the elapsed time in milliseconds since the stopwatch was started.\n */\n get elapsedMilliseconds() {\n return this._elapsedTime + (this._isRunning ? Date.now() - this._startTime : 0);\n }\n /**\n * Gets a value indicating whether the stopwatch is currently running.\n */\n get isRunning() {\n return this._isRunning;\n }\n /**\n * Starts the stopwatch.\n *\n * @returns `true` if the stopwatch was successfully started; `false` if it was already running.\n */\n start() {\n if (this._isRunning) {\n return false;\n }\n this._startTime = Date.now();\n this._isRunning = true;\n this._onStart?.(new Date(), this);\n return true;\n }\n /**\n * Stops the stopwatch.\n *\n * @returns `true` if the stopwatch was successfully stopped; `false` if it was already stopped.\n */\n stop() {\n if (!this._isRunning) {\n return false;\n }\n this._elapsedTime += Date.now() - this._startTime;\n this._isRunning = false;\n this._onStop?.(this._elapsedTime, new Date(), this);\n return true;\n }\n /**\n * Resets the stopwatch.\n */\n reset() {\n this.stop();\n this._elapsedTime = 0;\n }\n /**\n * Restarts the stopwatch.\n */\n restart() {\n this.reset();\n this.start();\n }\n /**\n * Creates a new instance of {@link Stopwatch} and starts it.\n *\n * @param onStart - A callback function that will be called when the stopwatch is started.\n * @param onStop - A callback function that will be called when the stopwatch is stopped.\n *\n * @returns The newly created and started stopwatch.\n */\n static startNew(onStart, onStop) {\n const stopwatch = new Stopwatch(onStart, onStop);\n stopwatch.start();\n return stopwatch;\n }\n}\n","import { Stopwatch } from \"@/utils/diagnostics\";\n/**\n * Creates a callback that will log a message if one is returned by the provided `message` callback.\n *\n * @param logger - The {@link Logger} instance to use for logging.\n * @param message - A string or a callback that returns a string or `void` indicating whether to log a message.\n *\n * @returns A callback that takes the same amount of arguments as the original `message` one\n * and logs a message if one is returned by the `message` callback.\n */\nfunction createMessageCallback(logger, message) {\n if (typeof message === \"string\") {\n return (() => logger.info(message));\n }\n if (!message) {\n return undefined;\n }\n return ((...args) => {\n const result = message(...args);\n if (typeof result === \"string\") {\n logger.info(result);\n }\n });\n}\n/**\n * An extension of the {@link Stopwatch} class that adds logging functionality.\n*/\n// For God's sake, it's been 8 years!\n// https://github.com/microsoft/TypeScript/issues/4628\n// eslint-disable-next-line\n// @ts-expect-error: ts2417\nexport class LoggingStopwatch extends Stopwatch {\n /**\n * Creates a new {@link LoggingStopwatch} instance.\n *\n * @param logger - The {@link Logger} instance to use for logging.\n * @param onStart - A string or a callback to be called when the stopwatch is started.\n * @param onStop - A string or a callback to be called when the stopwatch is stopped.\n */\n constructor(logger, onStart, onStop) {\n const startCallback = createMessageCallback(logger, onStart);\n const stopCallback = createMessageCallback(logger, onStop);\n super(startCallback, stopCallback);\n }\n /**\n * Creates a new {@link LoggingStopwatch} instance and starts it.\n *\n * @param logger - The {@link Logger} instance to use for logging.\n * @param onStart - A string or a callback to be called when the stopwatch is started.\n * @param onStop - A string or a callback to be called when the stopwatch is stopped.\n *\n * @returns The newly created and started {@link LoggingStopwatch} instance.\n */\n static startNew(logger, onStart, onStop) {\n const stopwatch = new LoggingStopwatch(logger, onStart, onStop);\n stopwatch.start();\n return stopwatch;\n }\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different failure modes for handling errors.\n *\n * @partial\n */\nvar FailModeValues;\n(function (FailModeValues) {\n /**\n * Fail mode, halts the operation on encountering an error.\n */\n FailModeValues[FailModeValues[\"FAIL\"] = 0] = \"FAIL\";\n /**\n * Warn mode, logs a warning and continues operation on encountering an error.\n */\n FailModeValues[FailModeValues[\"WARN\"] = 1] = \"WARN\";\n /**\n * Skip mode, skips the current operation and continues with the next one on encountering an error.\n */\n FailModeValues[FailModeValues[\"SKIP\"] = 2] = \"SKIP\";\n})(FailModeValues || (FailModeValues = {}));\n/**\n * Options for configuring the behavior of the `FailMode` enum.\n *\n * @partial\n */\nconst FailModeOptions = {\n /**\n * The case should be ignored while parsing the fail mode.\n */\n ignoreCase: true,\n};\n/**\n * Represents different failure modes for handling errors.\n */\nexport const FailMode = Enum.create(FailModeValues, FailModeOptions);\n","import { NULL_LOGGER } from \"@/utils/logging\";\nimport { FailMode } from \"./fail-mode\";\n/**\n * A class for building and handling errors based on a given mode.\n */\nexport class ErrorBuilder {\n /**\n * The logger to use for logging errors.\n */\n _logger;\n /**\n * The accumulated errors.\n */\n _errors;\n /**\n * Constructs a new {@link ErrorBuilder} instance.\n *\n * @param logger - The logger to use for logging errors.\n */\n constructor(logger) {\n this._logger = logger || NULL_LOGGER;\n this._errors = [];\n }\n /**\n * Checks if any errors have been appended.\n *\n * @returns `true` if there are errors; otherwise, `false`.\n */\n get hasErrors() {\n return this._errors.length > 0;\n }\n /**\n * Appends an error to the builder, handling it according to the provided mode.\n *\n * @param error - The error to append.\n * @param mode - The mode to use when handling the error. Defaults to `SKIP` if not provided.\n */\n append(error, mode) {\n switch (mode ?? FailMode.SKIP) {\n case FailMode.WARN:\n this._logger.error(error);\n break;\n case FailMode.SKIP:\n this._logger.error(error);\n this._errors.push(error);\n break;\n default:\n throw error;\n }\n }\n /**\n * Builds an `AggregateError` from the errors appended so far.\n *\n * @returns The built error, or `undefined` if no errors have been appended.\n */\n build() {\n return this.hasErrors ? new AggregateError(this._errors) : undefined;\n }\n /**\n * Builds an `AggregateError` from the errors appended so far, and throw it.\n *\n * @throws The built error, if any errors have been appended.\n */\n throwIfHasErrors() {\n const error = this.build();\n if (error) {\n throw error;\n }\n }\n}\n","/**\n * Represents a soft error, indicating whether the error is recoverable or not.\n */\nexport class SoftError extends Error {\n /**\n * Indicates whether the error is recoverable or not.\n */\n _isSoft;\n /**\n * Initializes a new instance of the {@link SoftError} class.\n *\n * @param isSoft - Indicates whether the error is recoverable or not.\n * @param message - An optional error message.\n */\n constructor(isSoft, message) {\n super(message);\n this.name = \"SoftError\";\n this._isSoft = isSoft;\n }\n /**\n * Indicates whether the error is recoverable or not.\n */\n get isSoft() {\n return this._isSoft;\n }\n}\n/**\n * Determines whether the specified error is a soft error.\n *\n * @param error - The error to check.\n *\n * @returns `true` if the error is soft (i.e., recoverable); otherwise, `false`.\n */\nexport function isSoftError(error) {\n return !!error?.isSoft;\n}\n","import { existsSync } from \"node:fs\";\n/**\n * Represents an error that occurs when a specified file cannot be found.\n */\nexport class FileNotFoundError extends Error {\n /**\n * Default error message pattern.\n */\n static DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN = (fileName) => fileName ? `Could not find file '${fileName}'.` : \"Could not find the specified file.\";\n /**\n * The name of the file that could not be found.\n */\n _fileName;\n /**\n * Constructs a new {@link FileNotFoundError} instance.\n *\n * @param fileName - The name of the file that could not be found.\n * @param message - The error message to display.\n * @param options - Optional settings for the error object.\n */\n constructor(fileName, message, options) {\n super(message ?? FileNotFoundError.DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN(fileName), options);\n this.name = \"FileNotFoundError\";\n this._fileName = fileName;\n }\n /**\n * Gets the name of the file that could not be found.\n */\n get fileName() {\n return this._fileName;\n }\n /**\n * Throws a {@link FileNotFoundError} if the specified file does not exist.\n *\n * @param fileName - The name of the file to check for existence.\n * @param message - The error message to display.\n */\n static throwIfNotFound(fileName, message) {\n if (!existsSync(fileName)) {\n throw new FileNotFoundError(String(fileName), message);\n }\n }\n}\n","import { HttpResponse } from \"@/utils/net\";\nimport { SoftError } from \"./soft-error\";\n/**\n * Represents an HTTP error.\n */\nexport class HttpError extends SoftError {\n /**\n * The HTTP Response object associated with this error.\n */\n _response;\n /**\n * Creates a new {@link HttpError} instance.\n *\n * @param response - The HTTP Response object associated with this error.\n * @param message - The error message.\n * @param isSoft - Indicates whether the error is recoverable or not.\n */\n constructor(response, message, isSoft) {\n super(isSoft ?? isServerError(response), message);\n this.name = \"HttpError\";\n this._response = response;\n }\n /**\n * Gets the HTTP Response object associated with this error.\n */\n get response() {\n return this._response;\n }\n /**\n * Extracts error information from the given HTTP Response object\n * and returns an {@link HttpError} instance.\n *\n * @param response - The HTTP Response object to extract the error information from.\n * @param isSoft - Indicates whether the error is recoverable or not.\n *\n * @returns A `Promise` that resolves to an {@link HttpError} instance.\n */\n static async fromResponse(response, isSoft) {\n const cachedResponse = HttpResponse.cache(response);\n const errorText = `${response.status} (${await cachedResponse.text()\n .then(x => x && !isHtmlDocument(x) ? `${response.statusText}, ${x}` : response.statusText)\n .catch(() => response.statusText)})`;\n return new HttpError(cachedResponse, errorText, isSoft);\n }\n}\n/**\n * Determines if the given error is an {@link HttpError}.\n *\n * @param error - The error to be checked.\n *\n * @returns `true` if the provided error is an instance of HttpError; otherwise, `false`.\n */\nexport function isHttpError(error) {\n return error instanceof HttpError;\n}\n/**\n * Determines whether the given `HttpResponse` represents a server error.\n *\n * @param response - The `HttpResponse` to check.\n *\n * @returns `true` if the response is a server error; otherwise, `false`.\n */\nfunction isServerError(response) {\n return response && (response.status === 429 || response.status >= 500);\n}\n/**\n * Determines if the given text is an HTML document.\n *\n * @param text - The string to check.\n *\n * @returns `true` if the provided string is an HTML document; otherwise, `false`.\n */\nfunction isHtmlDocument(text) {\n return text.startsWith(\" glob(x)));\n return $i(files).flatMap(x => x).distinct().map(x => new FileInfo(x)).toArray();\n}\n/**\n * Synchronously finds files that match the given pattern(s).\n *\n * @param pattern - A glob pattern or an array of glob patterns to match.\n *\n * @returns An array of {@link FileInfo} objects.\n */\nexport function findFilesSync(pattern) {\n const patterns = Array.isArray(pattern) ? pattern : [pattern];\n const files = patterns.map(x => glob.sync(x));\n return $i(files).flatMap(x => x).distinct().map(x => new FileInfo(x)).toArray();\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern asynchronously.\n *\n * @param pattern - The glob pattern to match.\n *\n * @returns A promise that resolves to a Buffer containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport async function readFile(pattern) {\n const file = await getFileName(pattern);\n return await readFileNode(file);\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern asynchronously and returns it as a string.\n *\n * @param pattern - The glob pattern to match.\n * @param encoding - The optional encoding to use for reading the file. Defaults to `utf8`.\n *\n * @returns A promise that resolves to a string containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport async function readAllText(pattern, encoding) {\n return (await readFile(pattern)).toString(encoding);\n}\n/**\n * Reads a zipped file and returns its content as a Buffer.\n *\n * @param pattern - The glob pattern used to locate the zip archive.\n * @param entry - The entry name of the file within the zip archive.\n *\n * @returns A promise that resolves to a Buffer containing the file contents.\n */\nexport async function readZippedFile(pattern, entry) {\n const file = await getFileName(pattern);\n let zip = undefined;\n try {\n // Dude, it's not my constructor, calm down.\n // eslint-disable-next-line new-cap\n zip = new StreamZip.async({ file });\n return await zip.entryData(entry);\n }\n finally {\n await zip?.close().catch(() => undefined);\n }\n}\n/**\n * Reads a zipped file and returns its content as a string.\n *\n * @param pattern - The glob pattern used to locate the zip archive.\n * @param entry - The entry name of the file within the zip archive.\n * @param encoding - The optional encoding to use for reading the file. Defaults to `utf8`.\n *\n * @returns A promise that resolves to a string containing the file contents.\n */\nexport async function readAllZippedText(pattern, entry, encoding) {\n return (await readZippedFile(pattern, entry)).toString(encoding);\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern synchronously.\n *\n * @param pattern - The glob pattern to match.\n *\n * @returns A Buffer containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport function readFileSync(pattern) {\n const file = getFileNameSync(pattern);\n return readFileNodeSync(file);\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern synchronously and returns it as a string.\n *\n * @param pattern - The glob pattern to match.\n * @param encoding - The optional encoding to use for reading the file. Defaults to `utf-8`.\n *\n * @returns A string containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport function readAllTextSync(pattern, encoding) {\n return readFileSync(pattern).toString(encoding);\n}\n/**\n * Retrieves the name of the first file that matches the specified glob pattern.\n *\n * @param pattern - The file path or glob pattern.\n *\n * @returns The name of the first matching file.\n *\n * @throws {FileNotFoundError} - If no matching file is found.\n */\nasync function getFileName(pattern) {\n if (existsSync(pattern)) {\n return pattern.toString();\n }\n const files = await glob(pattern.toString());\n if (files?.[0]) {\n return files[0];\n }\n throw new FileNotFoundError(pattern.toString());\n}\n/**\n * Synchronously retrieves the name of the first file that matches the specified glob pattern.\n *\n * @param pattern - The file path or glob pattern.\n *\n * @returns The name of the first matching file.\n *\n * @throws {FileNotFoundError} - If no matching file is found.\n */\nfunction getFileNameSync(pattern) {\n if (existsSync(pattern)) {\n return pattern.toString();\n }\n const files = glob.sync(pattern.toString());\n if (files?.[0]) {\n return files[0];\n }\n throw new FileNotFoundError(pattern.toString());\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different platform types for mod distribution.\n *\n * @partial\n */\nvar PlatformTypeValues;\n(function (PlatformTypeValues) {\n /**\n * Represents CurseForge.\n */\n PlatformTypeValues[\"CURSEFORGE\"] = \"curseforge\";\n /**\n * Represents Modrinth.\n */\n PlatformTypeValues[\"MODRINTH\"] = \"modrinth\";\n /**\n * Represents GitHub.\n */\n PlatformTypeValues[\"GITHUB\"] = \"github\";\n})(PlatformTypeValues || (PlatformTypeValues = {}));\n/**\n * Options for configuring the behavior of the `PlatformType` enum.\n *\n * @partial\n */\nconst PlatformTypeOptions = {\n /**\n * The case should be ignored while parsing the platform type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the platform type.\n */\n ignoreNonWordCharacters: true,\n /**\n * Custom friendly names for keys that don't follow the general naming convention.\n */\n names: [\n [\"CURSEFORGE\", \"CurseForge\"],\n [\"GITHUB\", \"GitHub\"],\n ],\n};\n/**\n * Represents different platform types for mod distribution.\n */\nexport const PlatformType = Enum.create(PlatformTypeValues, PlatformTypeOptions);\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different dependency types.\n *\n * @partial\n */\nvar DependencyTypeValues;\n(function (DependencyTypeValues) {\n /**\n * The dependency is required for the project to function.\n */\n DependencyTypeValues[\"REQUIRED\"] = \"required\";\n /**\n * The dependency is recommended for the project but not required.\n */\n DependencyTypeValues[\"RECOMMENDED\"] = \"recommended\";\n /**\n * The dependency is embedded within the project.\n */\n DependencyTypeValues[\"EMBEDDED\"] = \"embedded\";\n /**\n * The dependency is optional and provides additional features.\n */\n DependencyTypeValues[\"OPTIONAL\"] = \"optional\";\n /**\n * The dependency conflicts with the project and both should not be used together.\n */\n DependencyTypeValues[\"CONFLICTING\"] = \"conflicting\";\n /**\n * The dependency is incompatible with the project.\n */\n DependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n})(DependencyTypeValues || (DependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the DependencyType enum.\n *\n * @partial\n */\nconst DependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n};\n/**\n * Represents different dependency types.\n */\nexport const DependencyType = Enum.create(DependencyTypeValues, DependencyTypeOptions);\n","import { Enum } from \"@/utils/enum\";\nimport { DependencyType } from \"@/dependencies\";\n/**\n * Represents different Fabric dependency types.\n *\n * @partial\n */\nvar FabricDependencyTypeValues;\n(function (FabricDependencyTypeValues) {\n /**\n * For dependencies required to run. Without them, a game will crash.\n */\n FabricDependencyTypeValues[\"DEPENDS\"] = \"depends\";\n /**\n * For dependencies not required to run. Without them, a game will log a warning.\n */\n FabricDependencyTypeValues[\"RECOMMENDS\"] = \"recommends\";\n /**\n * For dependencies embedded within the project.\n */\n FabricDependencyTypeValues[\"INCLUDES\"] = \"includes\";\n /**\n * For dependencies not required to run. Use this as a kind of metadata.\n */\n FabricDependencyTypeValues[\"SUGGESTS\"] = \"suggests\";\n /**\n * For mods whose together with yours might cause a game crash. With them, a game will crash.\n */\n FabricDependencyTypeValues[\"BREAKS\"] = \"breaks\";\n /**\n * For mods whose together with yours cause some kind of bugs, etc. With them, a game will log a warning.\n */\n FabricDependencyTypeValues[\"CONFLICTS\"] = \"conflicts\";\n})(FabricDependencyTypeValues || (FabricDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the FabricDependencyType enum.\n *\n * @partial\n */\nconst FabricDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n};\n/**\n * Converts a {@link FabricDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link FabricDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case FabricDependencyType.DEPENDS:\n return DependencyType.REQUIRED;\n case FabricDependencyType.RECOMMENDS:\n return DependencyType.RECOMMENDED;\n case FabricDependencyType.INCLUDES:\n return DependencyType.EMBEDDED;\n case FabricDependencyType.SUGGESTS:\n return DependencyType.OPTIONAL;\n case FabricDependencyType.BREAKS:\n return DependencyType.INCOMPATIBLE;\n case FabricDependencyType.CONFLICTS:\n return DependencyType.CONFLICTING;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link FabricDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link FabricDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return FabricDependencyType.DEPENDS;\n case DependencyType.RECOMMENDED:\n return FabricDependencyType.RECOMMENDS;\n case DependencyType.EMBEDDED:\n return FabricDependencyType.INCLUDES;\n case DependencyType.OPTIONAL:\n return FabricDependencyType.SUGGESTS;\n case DependencyType.CONFLICTING:\n return FabricDependencyType.CONFLICTS;\n case DependencyType.INCOMPATIBLE:\n return FabricDependencyType.BREAKS;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with FabricDependencyType.\n *\n * @partial\n */\nconst FabricDependencyTypeMethods = {\n toDependencyType,\n fromDependencyType,\n};\n/**\n * Represents different Fabric dependency types.\n */\nexport const FabricDependencyType = Enum.create(FabricDependencyTypeValues, FabricDependencyTypeOptions, FabricDependencyTypeMethods);\n","// _ TODO: Drop support for the legacy format completely.\nimport { FabricDependencyType } from \"@/loaders/fabric/fabric-dependency-type\";\nimport { deprecate } from \"node:util\";\n/**\n * Checks if the provided dependency string is in the legacy format.\n *\n * @param dependency - The dependency string to check.\n *\n * @returns A boolean indicating if the string is in the legacy format.\n */\nexport function isLegacyDependencyFormat(dependency) {\n return !!dependency?.includes(\"|\") && !dependency.includes(\"@\");\n}\n/**\n * Parses the legacy dependency format.\n *\n * @param dependencyFormat - The dependency string in the legacy format.\n *\n * @returns An object containing the parsed dependency info.\n *\n * @remarks\n *\n * The legacy format is: `[dependency-id] | [type]? | [version-range]?`\n */\nfunction _parseLegacyDependencyFormat(dependencyFormat) {\n const [id, fabricType, versions] = dependencyFormat.split(\"|\").map(x => x.trim());\n const type = fabricType && FabricDependencyType.toDependencyType(FabricDependencyType.parse(fabricType));\n return { id, type, versions };\n}\n/**\n * Parses the legacy dependency format with a deprecation warning.\n *\n * @param dependencyFormat - The dependency string in the legacy format.\n *\n * @returns An object containing the parsed dependency info.\n *\n * @remarks\n *\n * The legacy format is: `[dependency-id] | [type]? | [version-range]?`\n *\n * @deprecated\n *\n * The old dependency string format is deprecated. Please use the new format.\n *\n * Example: `foo@1.0.0-2.0.0(required){modrinth:foo-fabric}#(ignore:curseforge)`.\n */\nexport const parseLegacyDependencyFormat = deprecate(_parseLegacyDependencyFormat, \"The old dependency string format is deprecated. \" +\n \"Please use the new format. \" +\n \"Example: foo@1.0.0-2.0.0(required){modrinth:foo-fabric}#(ignore:curseforge)\");\n","import { PlatformType } from \"@/platforms/platform-type\";\nimport { $i, isIterable } from \"@/utils/collections\";\nimport { anyVersionRange } from \"@/utils/versioning\";\nimport { DependencyType } from \"./dependency-type\";\nimport { isLegacyDependencyFormat, parseLegacyDependencyFormat } from \"./dependency.legacy\";\n/**\n * Parses a dependency string and returns a Dependency object.\n *\n * @param dependency - The dependency string to parse.\n *\n * @returns A {@link Dependency} object, or `undefined` if the string is invalid.\n */\nexport function parseDependency(dependency) {\n const dependencyInfo = isLegacyDependencyFormat(dependency)\n ? parseLegacyDependencyFormat(dependency)\n : parseDependencyFormat(dependency);\n return dependencyInfo && createDependency(dependencyInfo);\n}\n/**\n * A regex pattern for matching formatted dependency strings.\n */\nconst DEPENDENCY_REGEX = /^\\s*(?[^@{(#]+)(@(?[^@{(#]*))?(?:\\((?[^@{(#]*)\\))?(?(?:\\{[^:=]+(?:=|:)[^}]*\\})+)?(?#\\(ignore(?::(?[^)]*))?\\))?\\s*$/;\n/**\n * A regex pattern for matching dependency aliases in dependency strings.\n */\nconst DEPENDENCY_ALIASES_REGEX = /\\{(?[^:=]+)(?:=|:)(?[^}]*)\\}/g;\n/**\n * Parses a dependency string and returns an intermediate representation of a dependency.\n *\n * @param dependencyFormat - The dependency string to parse.\n *\n * @returns A dependency info, or `undefined` if the string is invalid.\n *\n * @remarks\n *\n * The format is `[dependency-id]@[version-range]?([type])?{[platform]:[dependency-id]}?#(ignore:[platform1,platform2])?`.\n */\nfunction parseDependencyFormat(dependencyFormat) {\n const match = dependencyFormat?.match(DEPENDENCY_REGEX);\n if (!match) {\n return undefined;\n }\n const id = match.groups.id.trim();\n const versions = match.groups.versionRange?.trim();\n const type = match.groups.type?.trim();\n const aliases = $i(match.groups.aliases?.matchAll(DEPENDENCY_ALIASES_REGEX) || []).map(x => [x.groups.platform.trim(), x.groups.id.trim()]);\n const ignoredPlatforms = match.groups.ignoredPlatforms?.split(\",\").map(x => x.trim());\n const ignore = ignoredPlatforms?.length ? undefined : !!match.groups.ignore;\n return { id, versions, type, aliases, ignore, ignoredPlatforms };\n}\n/**\n * Creates a dependency from the given dependency-like value.\n *\n * @param dependency - A dependency-like value to create a dependency from.\n *\n * @returns A {@link Dependency}, or `undefined` if the input is invalid.\n */\nexport function createDependency(dependency) {\n if (typeof dependency === \"string\") {\n return parseDependency(dependency);\n }\n if (isDependency(dependency)) {\n return dependency;\n }\n if (!dependency?.id) {\n return undefined;\n }\n const id = dependency.id || \"\";\n const type = dependency.type && DependencyType.parse(dependency.type) || DependencyType.REQUIRED;\n const versionRanges = typeof dependency.versions === \"string\"\n ? [dependency.versions]\n : isIterable(dependency.versions)\n ? [...dependency.versions]\n : [(dependency.versions || anyVersionRange()).toString()];\n const versions = versionRanges.filter(x => x && x !== anyVersionRange().toString());\n if (!versions.length) {\n versions.push(anyVersionRange().toString());\n }\n const ignoredPlatforms = $i(dependency.ignoredPlatforms || []).map(x => PlatformType.parse(x)).filter(x => x).toSet();\n const isIgnored = dependency.ignore\n ? () => true\n : (p) => p ? ignoredPlatforms.has(p) : ignoredPlatforms.size === PlatformType.size;\n const aliases = $i(dependency.aliases || []).map(([key, value]) => [PlatformType.parse(key), value]).filter(([key]) => key).toMap();\n const getProjectId = (p) => aliases.get(p) ?? id;\n return { id, versions, type, isIgnored, getProjectId };\n}\n/**\n * Formats a dependency as a string.\n *\n * @param dependency - The dependency to format.\n *\n * @returns A string representation of the dependency.\n */\nexport function formatDependency(dependency) {\n if (!dependency) {\n return \"\";\n }\n const versionRange = dependency.versions.join(\" || \");\n const version = versionRange && versionRange !== anyVersionRange().toString() ? `@${versionRange}` : \"\";\n const ignoredBy = $i(PlatformType.values()).filter(x => dependency.isIgnored(x)).join(\",\");\n const ignore = ignoredBy && `#(ignore:${ignoredBy})`;\n const aliases = $i(PlatformType.values()).filter(x => dependency.getProjectId(x) !== dependency.id).map(x => `{${x}:${dependency.getProjectId(x)}}`).join(\"\");\n return `${dependency.id}${version}(${dependency.type})${aliases}${ignore}`;\n}\n/**\n * Determines if the given value is a {@link Dependency}.\n *\n * @param dependency - The value to check.\n *\n * @returns A boolean indicating if the value is a {@link Dependency}.\n */\nexport function isDependency(dependency) {\n const d = dependency;\n return (typeof d?.id === \"string\" &&\n typeof d.type === DependencyType.underlyingType &&\n Array.isArray(d.versions) &&\n typeof d.getProjectId === \"function\" &&\n typeof d.isIgnored === \"function\");\n}\n","/**\n * Represents a Java version.\n */\nexport class JavaVersion {\n /**\n * The name of the Java version.\n */\n _name;\n /**\n * The version number of the Java version.\n */\n _versionNumber;\n /**\n * Creates a new {@link JavaVersion} instance.\n *\n * @param versionNumber - The version number of the Java version.\n */\n constructor(versionNumber) {\n this._name = `Java ${versionNumber}`;\n this._versionNumber = versionNumber;\n }\n /**\n * Parses a Java version from a string.\n *\n * @param java - The string representation of the Java version.\n *\n * @returns A {@link JavaVersion} instance, or `undefined` if the string cannot be parsed.\n */\n static parse(java) {\n if (!java) {\n return undefined;\n }\n const match = java.match(/(\\d+)\\s*$/);\n if (!match) {\n return undefined;\n }\n return new JavaVersion(+match[1]);\n }\n /**\n * Casts the given value to a {@link JavaVersion} instance.\n *\n * @param java - The string representation of the Java version, its version number, or a {@link JavaVersion} instance.\n *\n * @returns A {@link JavaVersion} instance, or `undefined` if the input could not be casted to such.\n */\n static of(java) {\n if (java instanceof JavaVersion) {\n return java;\n }\n if (typeof java === \"number\") {\n return new JavaVersion(java);\n }\n return JavaVersion.parse(String(java));\n }\n /**\n * Gets the name of the Java version, e.g., \"Java 8\".\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the version number of the Java version, e.g., 8 for Java 8.\n */\n get versionNumber() {\n return this._versionNumber;\n }\n /**\n * Returns the string representation of the Java version.\n */\n toString() {\n return this._name;\n }\n /**\n * Returns the string representation of the Java version.\n */\n toJSON() {\n return this._name;\n }\n}\n","/* ************************************************************************ */\n/* WARNING: AUTO-GENERATED FILE - DO NOT EDIT! */\n/* */\n/* Please be advised that this is an auto-generated file and should NOT be */\n/* modified. Any changes made to this file WILL BE OVERWRITTEN. */\n/* */\n/* To make changes to the contents of this file, please modify the */\n/* action.template.yml file instead. This will ensure that your changes are */\n/* properly reflected in the auto-generated file. */\n/* ************************************************************************ */\n/* eslint-disable */\nimport * as _08266313cf301b8949a6cedcaa47a6c3e43934d9 from \"@/platforms/modrinth/modrinth-unfeature-mode\";\nimport * as _d55dccbfda6518ce241204ddb1a0e427ce862b40 from \"@/utils/security/secure-string\";\nimport * as _52f2d2846827ca15dbb2bc99e7396358640a305c from \"@/utils/io/file-info\";\nimport * as _cece1ed3512bc9bb742f3472360aea9d482df4ac from \"@/utils/versioning/version-type\";\nimport * as _61ccbb54c5e0251e3bf7013ca2e222f64c571674 from \"@/dependencies/dependency\";\nimport * as _12c3001b56ab71951504c91b71926343a997a6c2 from \"@/games/game-version-filter\";\nimport * as _9f1d8775cb694c12b0f9f4e026b96daf7eca20c3 from \"@/utils/java/java-version\";\nimport * as _78525bc7f22a643e04dd785d89dd01e5c9c2f812 from \"@/utils/errors/fail-mode\";\nimport * as _6f74c0ca5e9e22747c834103f851654db4509ca8 from \"@/platforms/uploaded-file\";\nexport const ACTION_MODULE_LOADER = (path) => {\n if (path === \"platforms/modrinth/modrinth-unfeature-mode\")\n return Promise.resolve(_08266313cf301b8949a6cedcaa47a6c3e43934d9);\n if (path === \"utils/security/secure-string\")\n return Promise.resolve(_d55dccbfda6518ce241204ddb1a0e427ce862b40);\n if (path === \"utils/io/file-info\")\n return Promise.resolve(_52f2d2846827ca15dbb2bc99e7396358640a305c);\n if (path === \"utils/versioning/version-type\")\n return Promise.resolve(_cece1ed3512bc9bb742f3472360aea9d482df4ac);\n if (path === \"dependencies/dependency\")\n return Promise.resolve(_61ccbb54c5e0251e3bf7013ca2e222f64c571674);\n if (path === \"games/game-version-filter\")\n return Promise.resolve(_12c3001b56ab71951504c91b71926343a997a6c2);\n if (path === \"utils/java/java-version\")\n return Promise.resolve(_9f1d8775cb694c12b0f9f4e026b96daf7eca20c3);\n if (path === \"utils/errors/fail-mode\")\n return Promise.resolve(_78525bc7f22a643e04dd785d89dd01e5c9c2f812);\n if (path === \"platforms/uploaded-file\")\n return Promise.resolve(_6f74c0ca5e9e22747c834103f851654db4509ca8);\n return Promise.resolve(undefined);\n};\n","import { ACTION_MODULE_LOADER } from \"./module-loader.g\";\n/**\n * A module loader implementation that loads modules using Node.js dynamic `import` syntax.\n */\n/* eslint-disable-next-line no-new-func */\nexport const NODE_MODULE_LOADER = new Function(\"x\", \"return import(x).catch(() => undefined)\");\n/**\n * Represents a dynamic module loader that is capable of loading modules by their source path (e.g., `\"utils/string-utils\"`).\n */\nexport const DYNAMIC_MODULE_LOADER = ACTION_MODULE_LOADER;\n","import { NODE_MODULE_LOADER } from \"./module-loader\";\n/**\n * A default module provider.\n *\n * @returns The `globalThis` object.\n */\nconst DEFAULT_MODULE_PROVIDER = () => Promise.resolve(globalThis);\n/**\n * The name of the default export.\n */\nconst DEFAULT_EXPORT_NAME = \"default\";\n/**\n * Returns a string representation of an import directive.\n *\n * @param directive - The import directive to stringify.\n *\n * @returns A string representation of the import directive, or `undefined` if the input is invalid.\n *\n * @example\n *\n * ```\n * // \"myModule->{myFunction}\"\n * formatImportDirective({ name: \"myFunction\", module: \"myModule\", isDefault: false });\n *\n * // \"@my-org/my-package->myClass\"\n * formatImportDirective({ name: \"myClass\", module: \"@my-org/my-package\", isDefault: true });\n * ```\n */\nexport function formatImportDirective(directive) {\n if (!directive) {\n return undefined;\n }\n const path = directive.module ? `${directive.module}->` : \"\";\n const wrappedName = directive.isDefault ? directive.name : `{${directive.name}}`;\n return `${path}${wrappedName}`;\n}\n/**\n * Parses a stringified import directive into its constituent parts.\n *\n * @param stringifiedDirective - The stringified import directive to parse.\n *\n * @returns The parsed import directive, or `undefined` if the input is invalid.\n *\n * @example\n *\n * ```\n * // { name: \"MyClass\", module: \"@my-org/my-package\", isDefault: false }\n * parseImportDirective(\"@my-org/my-package->{MyClass}\");\n *\n * // { name: \"myFunction\", module: undefined, isDefault: true }\n * parseImportDirective(\"myFunction\");\n * ```\n */\nexport function parseImportDirective(stringifiedDirective) {\n if (!stringifiedDirective) {\n return undefined;\n }\n const parts = stringifiedDirective.split(\"->\");\n const module = parts.length > 1 ? parts[0] : undefined;\n const wrappedName = parts[parts.length - 1];\n const isDefault = !wrappedName.startsWith(\"{\") && !wrappedName.endsWith(\"}\");\n const name = wrappedName.replaceAll(/^{|}$/g, \"\").trim();\n return { name, module, isDefault };\n}\n/**\n * Executes the given import directive and returns an object containing the imported value and the module it was imported from.\n *\n * @template T - The type of value being imported.\n *\n * @param directive - The import directive to execute.\n * @param options - Options for executing the import directive.\n *\n * @returns A Promise resolving to an object containing the imported value and the module it was imported from, if any; otherwise, `undefined`.\n */\nexport async function executeImportDirective(directive, options) {\n directive = typeof directive === \"string\" ? parseImportDirective(directive) : directive;\n const moduleLoader = options?.moduleLoader || NODE_MODULE_LOADER;\n const defaultModuleProvider = options?.defaultModuleProvider || DEFAULT_MODULE_PROVIDER;\n const targetModule = await (directive.module ? moduleLoader(directive.module) : defaultModuleProvider(directive));\n if (options?.required && !targetModule) {\n throw new Error(`Cannot find module \"${directive.module}\".`);\n }\n if (!targetModule) {\n return undefined;\n }\n const importName = normalizeImportName(directive.name);\n const value = targetModule[directive.isDefault ? DEFAULT_EXPORT_NAME : importName] ?? targetModule[importName] ?? targetModule[directive.name];\n if (options?.required && value === undefined) {\n throw new Error(`Cannot find value \"${directive.name}\" in the imported module${directive.module ? ` \"${directive.module}\"` : \"\"}.`);\n }\n return { value, module: targetModule };\n}\n/**\n * Normalizes an import name.\n *\n * @param name - The import name to normalize.\n *\n * @returns A normalized import name.\n */\nfunction normalizeImportName(name) {\n /**\n * Trims whitespace from the name, if present.\n */\n name = name?.trim();\n /**\n * If the name is empty, return the default export name.\n */\n if (!name) {\n return DEFAULT_EXPORT_NAME;\n }\n /**\n * If the name starts with \"[\" or ends with \"]\" (i.e., points to the Array type),\n * return \"Array\".\n */\n if (name.startsWith(\"[\") || name.endsWith(\"]\")) {\n return Array.name;\n }\n /**\n * If the name contains generics, strip them and recursively call this function on the result.\n */\n if (name.includes(\"<\") && name.includes(\">\")) {\n const nameWithoutGenerics = name.replaceAll(/<.*>/g, \"\");\n return normalizeImportName(nameWithoutGenerics);\n }\n /**\n * Otherwise, return the name as-is.\n */\n return name;\n}\n","import { $i } from \"@/utils/collections\";\nimport { getOwnEntries } from \"@/utils/reflection\";\nimport { basename } from \"node:path\";\nimport { readBlobSync } from \"./blob\";\n/* eslint-disable-next-line no-restricted-imports */\nimport { FormData as FormDataPolyfill } from \"node-fetch\";\n/**\n * The `FormData` interface provides a way to easily construct a set of key/value pairs representing form fields and\n * their values, which can then be easily sent using methods like `fetch()` or `XMLHttpRequest.send()`.\n * It uses the same format a form would use if the encoding type were set to \"multipart/form-data\".\n */\nexport const FormData = FormDataPolyfill;\n/**\n * Symbol to represent the file path property. This is used to associate a\n * file path with an object when converting it to a FormData entry, allowing\n * the inclusion of file-related data in the FormData.\n */\nexport const FILE_PATH = Symbol.for(\"path\");\n/**\n * Checks if the given data is an instance of `FormData`.\n *\n * @param data - The data to check.\n *\n * @returns `true` if the data is an instance of `FormData`; otherwise, `false`.\n */\nexport function isFormData(data) {\n return data?.[Symbol.toStringTag] === \"FormData\";\n}\n/**\n * Converts the given object to a `FormData` instance.\n *\n * This function iterates through the object's properties and appends them as key-value pairs\n * to the `FormData` instance. If a property has a {@link FILE_PATH} associated with it, the\n * file is converted to a `Blob` and included in the `FormData`.\n *\n * @param obj - The object to convert.\n *\n * @returns A `FormData` instance containing the key-value pairs from the object.\n */\nexport function toFormData(obj) {\n if (typeof obj !== \"object\" && typeof obj !== \"function\") {\n return undefined;\n }\n if (isFormData(obj)) {\n return obj;\n }\n return $i(getOwnEntries(obj))\n .flatMap(([key, value]) => Array.isArray(value)\n ? $i(value).map(v => [key, v])\n : [[key, value]])\n .filter(([, value]) => value !== undefined && value !== null)\n .map(([key, value]) => [key, ...toFormDataEntry(value)])\n .reduce((formData, [key, value, name]) => {\n formData.append(String(key), value, name);\n return formData;\n }, new FormData());\n}\n/**\n * Converts a value to a `FormData` entry.\n *\n * - If the value is a primitive, it will be converted to a string.\n * - If the value is an object, it will be stringified using `JSON.stringify()`.\n * - If the value has a {@link FILE_PATH} associated with it, the file will be\n * converted to a `Blob` and its name will be included in the resulting array.\n *\n * @param value - The value to convert.\n *\n * @returns An array containing the converted value and its name, if applicable.\n */\nfunction toFormDataEntry(value) {\n if (!value || typeof value !== \"object\" && typeof value !== \"function\") {\n return [value === undefined ? \"\" : String(value)];\n }\n const path = value[FILE_PATH];\n if (typeof path === \"string\") {\n const blob = readBlobSync(path);\n return [blob, basename(path)];\n }\n return [JSON.stringify(value)];\n}\n// Force this to be included into the final build.\nimport { MultipartParser } from \"node-fetch/src/utils/multipart-parser\";\nif (!MultipartParser) {\n isFormData(MultipartParser);\n}\n","import { toBoolean, toFloat, toDate, toRegExp } from \"@/utils/convert\";\nimport { $i } from \"@/utils/collections\";\nimport { getOwnEntries } from \"@/utils/reflection\";\n/**\n * Represents a query string.\n */\nexport class QueryString extends URLSearchParams {\n /**\n * Constructs a new {@link QueryString} instance.\n *\n * @param params - Url parameters.\n */\n constructor(params) {\n super(normalizeUrlParams(params));\n }\n /**\n * Parses a query string into a {@link QueryString} object.\n *\n * @param queryString - The input string to parse as a query string.\n *\n * @returns A new {@link QueryString} instance.\n */\n static parse(queryString) {\n return new QueryString(queryString);\n }\n /**\n * Returns the number of key-value pairs in the query string.\n */\n get size() {\n return $i(this.entries()).count();\n }\n /**\n * Returns the value of the first name-value pair whose name is name.\n *\n * @param key - The key to look up in the query string.\n *\n * @returns The value of the first name-value pair whose name is name, or `undefined` if there is none.\n */\n get(key) {\n return super.get(key) ?? undefined;\n }\n /**\n * Appends a single value to the values associated with the specified key.\n *\n * @param key - The key of the value to append.\n * @param value - The value to append.\n *\n * @returns This {@link QueryString} instance for chaining purposes.\n */\n append(name, value) {\n super.append(name, value);\n return this;\n }\n /**\n * Sets a single value associated with the specified key, replacing any existing values.\n *\n * @param key - The key of the value to set.\n * @param value - The value to set.\n *\n * @returns This {@link QueryString} instance for chaining purposes.\n */\n set(name, value) {\n super.set(name, value);\n return this;\n }\n /**\n * Removes the entry with the specified key from the query string.\n *\n * @param key - The key of the entry to remove.\n *\n * @returns `true` if an entry with the specified key was found and removed; otherwise, `false`.\n */\n delete(name) {\n const existed = this.has(name);\n if (existed) {\n super.delete(name);\n }\n return existed;\n }\n /**\n * Deletes all key-value pairs.\n */\n clear() {\n for (const key of [...super.keys()]) {\n this.delete(key);\n }\n }\n /**\n * Gets the value of the parameter with the specified name as a string.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a string, or `undefined` if the parameter is not found.\n */\n getString(paramName) {\n return this.get(paramName);\n }\n /**\n * Gets the value of the parameter with the specified name as a boolean.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a boolean, or `undefined` if the parameter is not found or cannot be converted to a boolean.\n */\n getBoolean(paramName) {\n const rawValue = this.get(paramName);\n return rawValue === \"\" || toBoolean(rawValue);\n }\n /**\n * Gets the value of the parameter with the specified name as a number.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a number, or `undefined` if the parameter is not found or cannot be converted to a number.\n */\n getNumber(paramName) {\n const rawValue = this.get(paramName);\n return toFloat(rawValue);\n }\n /**\n * Gets the value of the parameter with the specified name as a date.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a date, or `undefined` if the parameter is not found or cannot be converted to a date.\n */\n getDate(paramName) {\n const rawValue = this.get(paramName);\n return toDate(rawValue);\n }\n /**\n * Gets the value of the parameter with the specified name as a regular expression.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a regular expression, or `undefined` if the parameter is not found or cannot be converted to a regular expression.\n */\n getRegExp(paramName) {\n const rawValue = this.get(paramName);\n return toRegExp(rawValue);\n }\n /**\n * Calls the specified callback function for each element in the query string.\n *\n * @param callbackFn - Function to execute for each element.\n * @param thisArg - Object to use as `this` when executing the callback function.\n */\n forEach(callbackFn, thisArg) {\n super.forEach(callbackFn, thisArg);\n }\n /**\n * Returns a string representing the object.\n *\n * @returns A string representing the object.\n */\n get [Symbol.toStringTag]() {\n return super[Symbol.toStringTag];\n }\n}\n/**\n * Checks if the provided object is an instance of {@link URLSearchParams}.\n *\n * @param urlParams - The object to be checked.\n *\n * @returns `true` if the provided object is an instance of {@link URLSearchParams}; otherwise, `false`.\n */\nexport function isURLSearchParams(urlParams) {\n return urlParams?.[Symbol.toStringTag] === \"URLSearchParams\";\n}\n/**\n * Checks if the provided object is an instance of {@link QueryString}.\n *\n * @param queryString - The object to be checked.\n *\n * @returns `true` if the provided object is an instance of {@link QueryString}; otherwise, `false`.\n */\nexport function isQueryString(queryString) {\n return queryString instanceof QueryString;\n}\n/**\n * Normalizes url parameters.\n *\n * - If the input is a string, the function removes the leading \"?\" character if present.\n * - If the input is an `Iterable` or a `Record`, the function transforms it into an iterable of key-value pairs,\n * filtering out pairs with `undefined` or `null` values.\n *\n * @param params - The url parameters to normalize.\n *\n * @returns The normalized URL parameters as a string, or an iterable of key-value pairs.\n */\nfunction normalizeUrlParams(params) {\n if (params === undefined || params === null) {\n return undefined;\n }\n if (typeof params === \"string\") {\n const start = params.indexOf(\"?\");\n return start >= 0 ? params.substring(start + 1) : params;\n }\n return $i(Array.isArray(params) ? params : getOwnEntries(params))\n .flatMap(([key, value]) => Array.isArray(value)\n ? $i(value).map(v => [key, v])\n : [[key, value]])\n .filter(([, value]) => value !== undefined && value !== null);\n}\n","import { isBlob } from \"./blob\";\nimport { isFormData } from \"./form-data\";\nimport { isURLSearchParams } from \"./query-string\";\n/**\n * Checks if the given value is one of the supported HTTP request body types.\n *\n * @param body - The value to check.\n *\n * @returns `true` if the value is a valid HTTP request body type; otherwise, `false`.\n */\nexport function isHttpRequestBody(body) {\n return (typeof body === \"string\" ||\n isBlob(body) ||\n Buffer.isBuffer(body) ||\n isURLSearchParams(body) ||\n isFormData(body) ||\n isReadableStream(body));\n}\n/**\n * Checks if the given value can be used as a streamable HTTP request body.\n *\n * @param body - The value to check.\n *\n * @returns `true` if the value can be used as a streamable HTTP request body; otherwise, `false`.\n */\nexport function isStreamableHttpRequestBody(body) {\n return (isBlob(body) ||\n Buffer.isBuffer(body) ||\n isReadableStream(body));\n}\n/**\n * Checks if the given value is a readable stream.\n *\n * @param stream - The value to check.\n *\n * @returns `true` if the value is a readable stream; otherwise, `false`.\n */\nfunction isReadableStream(stream) {\n const s = stream;\n return (!!s &&\n typeof s.read === \"function\" &&\n typeof s.pause === \"function\" &&\n typeof s.resume === \"function\" &&\n typeof s.setEncoding === \"function\");\n}\n","import { asArray, asArrayLike, isIterable, isMap, isMultiMap } from \"@/utils/collections\";\nimport { statSync } from \"node:fs\";\nimport { isStreamableHttpRequestBody } from \"./http-request-body\";\n/**\n * A separator used to concatenate multiple header values.\n */\nconst HEADER_SEPARATOR = \", \";\n/**\n * Checks if a header exists in the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to look for.\n *\n * @returns `true` if the header exists; otherwise, `false`.\n */\nexport function hasHeader(headers, header) {\n return getHeader(headers, header) !== undefined;\n}\n/**\n * Retrieves the value of a header from the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to look for.\n *\n * @returns The value of the header, or `undefined` if the header does not exist.\n */\nexport function getHeader(headers, header) {\n if (!headers) {\n return undefined;\n }\n if (isMultiMap(headers)) {\n const entries = headers.get(header);\n return typeof entries === \"string\" ? entries : entries ? asArrayLike(entries).join(HEADER_SEPARATOR) : undefined;\n }\n if (isMap(headers)) {\n return headers.get(header);\n }\n if (isIterable(headers)) {\n const arrayLikeHeaders = asArrayLike(headers);\n return arrayLikeHeaders.find(x => asArrayLike(x).at(0) === header)?.[1];\n }\n return headers[header];\n}\n/**\n * Appends a header value to the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to append.\n * @param value - The value of the header to append.\n *\n * @returns The updated headers collection.\n */\nexport function appendHeader(headers, header, value) {\n if (isMultiMap(headers)) {\n headers.append(header, value);\n return headers;\n }\n const currentValue = getHeader(headers, header);\n const concatenatedValue = currentValue ? `${currentValue}${HEADER_SEPARATOR}${value}` : value;\n return setHeader(headers, header, concatenatedValue);\n}\n/**\n * Appends multiple headers to the given headers collection.\n *\n * @param headers - The headers collection.\n * @param newHeaders - The headers to append.\n *\n * @returns The updated headers collection.\n */\nexport function appendHeaders(headers, newHeaders) {\n return mergeHeaders(headers, newHeaders, appendHeader);\n}\n/**\n * Sets a header value in the given headers collection, overwriting any existing value.\n *\n * @param headers - The headers collection.\n * @param header - The header to set.\n * @param value - The value of the header to set.\n *\n * @returns The updated headers collection.\n */\nexport function setHeader(headers, header, value) {\n if (value === undefined || value === null) {\n return deleteHeader(headers, header);\n }\n if (isMap(headers)) {\n headers.set(header, value);\n return headers;\n }\n if (isIterable(headers)) {\n const arrayLikeHeaders = asArray(headers);\n const headerIndex = arrayLikeHeaders.findIndex(x => asArrayLike(x).at(0) === header);\n if (headerIndex >= 0) {\n arrayLikeHeaders[headerIndex][1] = value;\n }\n else {\n arrayLikeHeaders.push([header, value]);\n }\n return arrayLikeHeaders;\n }\n headers ||= {};\n headers[header] = value;\n return headers;\n}\n/**\n * Sets multiple headers in the given headers collection, overwriting any existing values.\n *\n * @param headers - The headers collection.\n * @param newHeaders - The headers to set.\n *\n * @returns The updated headers collection.\n */\nexport function setHeaders(headers, newHeaders) {\n return mergeHeaders(headers, newHeaders, setHeader);\n}\n/**\n * Sets a header value in the given headers collection only if the header does not already exist.\n *\n * @param headers - The headers collection.\n * @param header - The header to set.\n * @param defaultValue - The default value of the header to set.\n *\n * @returns The updated headers collection.\n */\nexport function setDefaultHeader(headers, header, defaultValue) {\n return hasHeader(headers, header) ? headers : setHeader(headers, header, defaultValue);\n}\n/**\n * Sets multiple default headers in the given headers collection, only if the headers do not already exist.\n *\n * @param headers - The headers collection.\n * @param defaultHeaders - The default headers to set.\n *\n * @returns The updated headers collection.\n */\nexport function setDefaultHeaders(headers, defaultHeaders) {\n return mergeHeaders(headers, defaultHeaders, setDefaultHeader);\n}\n/**\n * Deletes a header value from the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to delete.\n *\n * @returns The updated headers collection.\n */\nexport function deleteHeader(headers, header) {\n if (isMap(headers)) {\n headers.delete(header);\n return headers;\n }\n if (isIterable(headers)) {\n return asArrayLike(headers).filter(x => asArrayLike(x).at(0) !== header);\n }\n delete headers?.[header];\n return headers;\n}\n/**\n * Deletes multiple header values from the given headers collection.\n *\n * @param headers - The headers collection.\n * @param headersToDelete - The headers to delete.\n *\n * @returns The updated headers collection.\n */\nexport function deleteHeaders(headers, headersToDelete) {\n for (const header of headersToDelete) {\n headers = deleteHeader(headers, header);\n }\n return headers;\n}\n/**\n * Clones the provided headers collection, preserving the key-value pairs of the original.\n *\n * If the headers object is an instance of a `Map`, a new instance of\n * the same type is created and the key-value pairs are copied over.\n *\n * If the headers collection is iterable, the key-value pairs are returned as an array.\n *\n * @param headers - The headers collection to be cloned.\n *\n * @returns A new headers collection containing the key-value pairs of the original headers collection,\n * or `undefined` if the provided headers collection is `undefined` or `null`.\n */\nexport function cloneHeaders(headers) {\n if (headers?.constructor && (isMap(headers) || !isIterable(headers))) {\n return setHeaders(new headers.constructor(), headers);\n }\n if (isIterable(headers)) {\n return [...headers];\n }\n return undefined;\n}\n/**\n * Merges two headers collections using the specified merger function.\n *\n * @param left - The left headers collection.\n * @param right - The right headers collection.\n * @param merger - The function that merges headers.\n *\n * @returns The merged headers collection.\n */\nfunction mergeHeaders(left, right, merger) {\n const defaultHeadersIterable = isIterable(right) ? right : Object.entries(right || {});\n for (const headerEntry of defaultHeadersIterable) {\n const [header, value] = asArray(headerEntry);\n left = merger(left, header, value);\n }\n return left;\n}\n/**\n * Infers the appropriate headers for a given HTTP request body.\n *\n * @param body - The HTTP request body to infer headers from.\n *\n * @returns A collection of the inferred headers.\n */\nexport function inferHttpRequestBodyHeaders(body) {\n const headers = {};\n if (!isStreamableHttpRequestBody(body)) {\n return headers;\n }\n const type = \"application/octet-stream\";\n const length = \n // `body` is a `Blob`\n typeof body.size === \"number\" ? body.size :\n // `body` is a `Buffer`\n typeof body.byteLength === \"number\" ? body.byteLength :\n // `body` is a `ReadableStream`, which was created from a `Buffer`\n Buffer.isBuffer(body[\"path\"]) ? body[\"path\"].byteLength :\n // `body` is a `ReadableStream`, which was created from a file path\n typeof body[\"path\"] === \"string\" || body[\"path\"]?.[Symbol.toStringTag] === \"URL\" ? statSync(body[\"path\"]).size :\n // `length` is unknown\n undefined;\n headers[\"Content-Type\"] = type;\n headers[\"Content-Length\"] = String(length);\n return headers;\n}\n","/**\n * Checks if two HTTP methods are the same.\n *\n * @param left - The first HTTP method to compare.\n * @param right - The second HTTP method to compare.\n *\n * @returns `true` if the methods are the same; otherwise, `false`.\n */\nexport function httpMethodEquals(left, right) {\n return left === right || isGetHttpMethod(left) && isGetHttpMethod(right);\n}\n/**\n * Determines whether an HTTP method can accept a request body.\n *\n * @param method - The HTTP method to check.\n *\n * @returns `true` if the HTTP method can accept a request body; otherwise, `false`.\n */\nexport function canHttpMethodAcceptBody(method) {\n return (!isGetHttpMethod(method) &&\n !isHeadHttpMethod(method) &&\n !isConnectHttpMethod(method) &&\n !isTraceHttpMethod(method));\n}\n/**\n * Checks if the value is a valid GET HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid GET method; otherwise, `false`.\n */\nexport function isGetHttpMethod(value) {\n return !value || value === \"GET\";\n}\n/**\n * Checks if the value is a valid POST HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid POST method; otherwise, `false`.\n */\nexport function isPostHttpMethod(value) {\n return value === \"POST\";\n}\n/**\n * Checks if the value is a valid PUT HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid PUT method; otherwise, `false`.\n */\nexport function isPutHttpMethod(value) {\n return value === \"PUT\";\n}\n/**\n * Checks if the value is a valid PATCH HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid PATCH method; otherwise, `false`.\n */\nexport function isPatchHttpMethod(value) {\n return value === \"PATCH\";\n}\n/**\n * Checks if the value is a valid DELETE HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid DELETE method; otherwise, `false`.\n */\nexport function isDeleteHttpMethod(value) {\n return value === \"DELETE\";\n}\n/**\n * Checks if the value is a valid OPTIONS HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid OPTIONS method; otherwise, `false`.\n */\nexport function isOptionsHttpMethod(value) {\n return value === \"OPTIONS\";\n}\n/**\n * Checks if the value is a valid HEAD HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid HEAD method; otherwise, `false`.\n */\nexport function isHeadHttpMethod(value) {\n return value === \"HEAD\";\n}\n/**\n * Checks if the value is a valid CONNECT HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid CONNECT method; otherwise, `false`.\n */\nexport function isConnectHttpMethod(value) {\n return value === \"CONNECT\";\n}\n/**\n * Checks if the value is a valid TRACE HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid TRACE method; otherwise, `false`.\n */\nexport function isTraceHttpMethod(value) {\n return value === \"TRACE\";\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:http\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:https\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:zlib\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:stream\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:buffer\");","/**\n * Returns a `Buffer` instance from the given data URI `uri`.\n *\n * @param {String} uri Data URI to turn into a Buffer instance\n * @returns {Buffer} Buffer instance from Data URI\n * @api public\n */\nexport function dataUriToBuffer(uri) {\n if (!/^data:/i.test(uri)) {\n throw new TypeError('`uri` does not appear to be a Data URI (must begin with \"data:\")');\n }\n // strip newlines\n uri = uri.replace(/\\r?\\n/g, '');\n // split the URI up into the \"metadata\" and the \"data\" portions\n const firstComma = uri.indexOf(',');\n if (firstComma === -1 || firstComma <= 4) {\n throw new TypeError('malformed data: URI');\n }\n // remove the \"data:\" scheme and parse the metadata\n const meta = uri.substring(5, firstComma).split(';');\n let charset = '';\n let base64 = false;\n const type = meta[0] || 'text/plain';\n let typeFull = type;\n for (let i = 1; i < meta.length; i++) {\n if (meta[i] === 'base64') {\n base64 = true;\n }\n else if (meta[i]) {\n typeFull += `;${meta[i]}`;\n if (meta[i].indexOf('charset=') === 0) {\n charset = meta[i].substring(8);\n }\n }\n }\n // defaults to US-ASCII only if type is not provided\n if (!meta[0] && !charset.length) {\n typeFull += ';charset=US-ASCII';\n charset = 'US-ASCII';\n }\n // get the encoded data portion and decode URI-encoded chars\n const encoding = base64 ? 'base64' : 'ascii';\n const data = unescape(uri.substring(firstComma + 1));\n const buffer = Buffer.from(data, encoding);\n // set `.type` and `.typeFull` properties to MIME type\n buffer.type = type;\n buffer.typeFull = typeFull;\n // set the `.charset` property\n buffer.charset = charset;\n return buffer;\n}\nexport default dataUriToBuffer;\n//# sourceMappingURL=index.js.map","export class FetchBaseError extends Error {\n\tconstructor(message, type) {\n\t\tsuper(message);\n\t\t// Hide custom error implementation details from end-users\n\t\tError.captureStackTrace(this, this.constructor);\n\n\t\tthis.type = type;\n\t}\n\n\tget name() {\n\t\treturn this.constructor.name;\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn this.constructor.name;\n\t}\n}\n","\nimport {FetchBaseError} from './base.js';\n\n/**\n * @typedef {{ address?: string, code: string, dest?: string, errno: number, info?: object, message: string, path?: string, port?: number, syscall: string}} SystemError\n*/\n\n/**\n * FetchError interface for operational errors\n */\nexport class FetchError extends FetchBaseError {\n\t/**\n\t * @param {string} message - Error message for human\n\t * @param {string} [type] - Error type for machine\n\t * @param {SystemError} [systemError] - For Node.js system error\n\t */\n\tconstructor(message, type, systemError) {\n\t\tsuper(message, type);\n\t\t// When err.type is `system`, err.erroredSysCall contains system error and err.code contains system error code\n\t\tif (systemError) {\n\t\t\t// eslint-disable-next-line no-multi-assign\n\t\t\tthis.code = this.errno = systemError.code;\n\t\t\tthis.erroredSysCall = systemError.syscall;\n\t\t}\n\t}\n}\n","/**\n * Is.js\n *\n * Object type checks.\n */\n\nconst NAME = Symbol.toStringTag;\n\n/**\n * Check if `obj` is a URLSearchParams object\n * ref: https://github.com/node-fetch/node-fetch/issues/296#issuecomment-307598143\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isURLSearchParameters = object => {\n\treturn (\n\t\ttypeof object === 'object' &&\n\t\ttypeof object.append === 'function' &&\n\t\ttypeof object.delete === 'function' &&\n\t\ttypeof object.get === 'function' &&\n\t\ttypeof object.getAll === 'function' &&\n\t\ttypeof object.has === 'function' &&\n\t\ttypeof object.set === 'function' &&\n\t\ttypeof object.sort === 'function' &&\n\t\tobject[NAME] === 'URLSearchParams'\n\t);\n};\n\n/**\n * Check if `object` is a W3C `Blob` object (which `File` inherits from)\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isBlob = object => {\n\treturn (\n\t\tobject &&\n\t\ttypeof object === 'object' &&\n\t\ttypeof object.arrayBuffer === 'function' &&\n\t\ttypeof object.type === 'string' &&\n\t\ttypeof object.stream === 'function' &&\n\t\ttypeof object.constructor === 'function' &&\n\t\t/^(Blob|File)$/.test(object[NAME])\n\t);\n};\n\n/**\n * Check if `obj` is an instance of AbortSignal.\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isAbortSignal = object => {\n\treturn (\n\t\ttypeof object === 'object' && (\n\t\t\tobject[NAME] === 'AbortSignal' ||\n\t\t\tobject[NAME] === 'EventTarget'\n\t\t)\n\t);\n};\n\n/**\n * isDomainOrSubdomain reports whether sub is a subdomain (or exact match) of\n * the parent domain.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nexport const isDomainOrSubdomain = (destination, original) => {\n\tconst orig = new URL(original).hostname;\n\tconst dest = new URL(destination).hostname;\n\n\treturn orig === dest || orig.endsWith(`.${dest}`);\n};\n\n/**\n * isSameProtocol reports whether the two provided URLs use the same protocol.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nexport const isSameProtocol = (destination, original) => {\n\tconst orig = new URL(original).protocol;\n\tconst dest = new URL(destination).protocol;\n\n\treturn orig === dest;\n};\n","\n/**\n * Body.js\n *\n * Body interface provides common methods for Request and Response\n */\n\nimport Stream, {PassThrough} from 'node:stream';\nimport {types, deprecate, promisify} from 'node:util';\nimport {Buffer} from 'node:buffer';\n\nimport Blob from 'fetch-blob';\nimport {FormData, formDataToBlob} from 'formdata-polyfill/esm.min.js';\n\nimport {FetchError} from './errors/fetch-error.js';\nimport {FetchBaseError} from './errors/base.js';\nimport {isBlob, isURLSearchParameters} from './utils/is.js';\n\nconst pipeline = promisify(Stream.pipeline);\nconst INTERNALS = Symbol('Body internals');\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nexport default class Body {\n\tconstructor(body, {\n\t\tsize = 0\n\t} = {}) {\n\t\tlet boundary = null;\n\n\t\tif (body === null) {\n\t\t\t// Body is undefined or null\n\t\t\tbody = null;\n\t\t} else if (isURLSearchParameters(body)) {\n\t\t\t// Body is a URLSearchParams\n\t\t\tbody = Buffer.from(body.toString());\n\t\t} else if (isBlob(body)) {\n\t\t\t// Body is blob\n\t\t} else if (Buffer.isBuffer(body)) {\n\t\t\t// Body is Buffer\n\t\t} else if (types.isAnyArrayBuffer(body)) {\n\t\t\t// Body is ArrayBuffer\n\t\t\tbody = Buffer.from(body);\n\t\t} else if (ArrayBuffer.isView(body)) {\n\t\t\t// Body is ArrayBufferView\n\t\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t\t} else if (body instanceof Stream) {\n\t\t\t// Body is stream\n\t\t} else if (body instanceof FormData) {\n\t\t\t// Body is FormData\n\t\t\tbody = formDataToBlob(body);\n\t\t\tboundary = body.type.split('=')[1];\n\t\t} else {\n\t\t\t// None of the above\n\t\t\t// coerce to string then buffer\n\t\t\tbody = Buffer.from(String(body));\n\t\t}\n\n\t\tlet stream = body;\n\n\t\tif (Buffer.isBuffer(body)) {\n\t\t\tstream = Stream.Readable.from(body);\n\t\t} else if (isBlob(body)) {\n\t\t\tstream = Stream.Readable.from(body.stream());\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\tbody,\n\t\t\tstream,\n\t\t\tboundary,\n\t\t\tdisturbed: false,\n\t\t\terror: null\n\t\t};\n\t\tthis.size = size;\n\n\t\tif (body instanceof Stream) {\n\t\t\tbody.on('error', error_ => {\n\t\t\t\tconst error = error_ instanceof FetchBaseError ?\n\t\t\t\t\terror_ :\n\t\t\t\t\tnew FetchError(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, 'system', error_);\n\t\t\t\tthis[INTERNALS].error = error;\n\t\t\t});\n\t\t}\n\t}\n\n\tget body() {\n\t\treturn this[INTERNALS].stream;\n\t}\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t}\n\n\t/**\n\t * Decode response as ArrayBuffer\n\t *\n\t * @return Promise\n\t */\n\tasync arrayBuffer() {\n\t\tconst {buffer, byteOffset, byteLength} = await consumeBody(this);\n\t\treturn buffer.slice(byteOffset, byteOffset + byteLength);\n\t}\n\n\tasync formData() {\n\t\tconst ct = this.headers.get('content-type');\n\n\t\tif (ct.startsWith('application/x-www-form-urlencoded')) {\n\t\t\tconst formData = new FormData();\n\t\t\tconst parameters = new URLSearchParams(await this.text());\n\n\t\t\tfor (const [name, value] of parameters) {\n\t\t\t\tformData.append(name, value);\n\t\t\t}\n\n\t\t\treturn formData;\n\t\t}\n\n\t\tconst {toFormData} = await import('./utils/multipart-parser.js');\n\t\treturn toFormData(this.body, ct);\n\t}\n\n\t/**\n\t * Return raw response as Blob\n\t *\n\t * @return Promise\n\t */\n\tasync blob() {\n\t\tconst ct = (this.headers && this.headers.get('content-type')) || (this[INTERNALS].body && this[INTERNALS].body.type) || '';\n\t\tconst buf = await this.arrayBuffer();\n\n\t\treturn new Blob([buf], {\n\t\t\ttype: ct\n\t\t});\n\t}\n\n\t/**\n\t * Decode response as json\n\t *\n\t * @return Promise\n\t */\n\tasync json() {\n\t\tconst text = await this.text();\n\t\treturn JSON.parse(text);\n\t}\n\n\t/**\n\t * Decode response as text\n\t *\n\t * @return Promise\n\t */\n\tasync text() {\n\t\tconst buffer = await consumeBody(this);\n\t\treturn new TextDecoder().decode(buffer);\n\t}\n\n\t/**\n\t * Decode response as buffer (non-spec api)\n\t *\n\t * @return Promise\n\t */\n\tbuffer() {\n\t\treturn consumeBody(this);\n\t}\n}\n\nBody.prototype.buffer = deprecate(Body.prototype.buffer, 'Please use \\'response.arrayBuffer()\\' instead of \\'response.buffer()\\'', 'node-fetch#buffer');\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: {enumerable: true},\n\tbodyUsed: {enumerable: true},\n\tarrayBuffer: {enumerable: true},\n\tblob: {enumerable: true},\n\tjson: {enumerable: true},\n\ttext: {enumerable: true},\n\tdata: {get: deprecate(() => {},\n\t\t'data doesn\\'t exist, use json(), text(), arrayBuffer(), or body instead',\n\t\t'https://github.com/node-fetch/node-fetch/issues/1000 (response)')}\n});\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nasync function consumeBody(data) {\n\tif (data[INTERNALS].disturbed) {\n\t\tthrow new TypeError(`body used already for: ${data.url}`);\n\t}\n\n\tdata[INTERNALS].disturbed = true;\n\n\tif (data[INTERNALS].error) {\n\t\tthrow data[INTERNALS].error;\n\t}\n\n\tconst {body} = data;\n\n\t// Body is null\n\tif (body === null) {\n\t\treturn Buffer.alloc(0);\n\t}\n\n\t/* c8 ignore next 3 */\n\tif (!(body instanceof Stream)) {\n\t\treturn Buffer.alloc(0);\n\t}\n\n\t// Body is stream\n\t// get ready to actually consume the body\n\tconst accum = [];\n\tlet accumBytes = 0;\n\n\ttry {\n\t\tfor await (const chunk of body) {\n\t\t\tif (data.size > 0 && accumBytes + chunk.length > data.size) {\n\t\t\t\tconst error = new FetchError(`content size at ${data.url} over limit: ${data.size}`, 'max-size');\n\t\t\t\tbody.destroy(error);\n\t\t\t\tthrow error;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t}\n\t} catch (error) {\n\t\tconst error_ = error instanceof FetchBaseError ? error : new FetchError(`Invalid response body while trying to fetch ${data.url}: ${error.message}`, 'system', error);\n\t\tthrow error_;\n\t}\n\n\tif (body.readableEnded === true || body._readableState.ended === true) {\n\t\ttry {\n\t\t\tif (accum.every(c => typeof c === 'string')) {\n\t\t\t\treturn Buffer.from(accum.join(''));\n\t\t\t}\n\n\t\t\treturn Buffer.concat(accum, accumBytes);\n\t\t} catch (error) {\n\t\t\tthrow new FetchError(`Could not create Buffer from response body for ${data.url}: ${error.message}`, 'system', error);\n\t\t}\n\t} else {\n\t\tthrow new FetchError(`Premature close of server response while trying to fetch ${data.url}`);\n\t}\n}\n\n/**\n * Clone body given Res/Req instance\n *\n * @param Mixed instance Response or Request instance\n * @param String highWaterMark highWaterMark for both PassThrough body streams\n * @return Mixed\n */\nexport const clone = (instance, highWaterMark) => {\n\tlet p1;\n\tlet p2;\n\tlet {body} = instance[INTERNALS];\n\n\t// Don't allow cloning a used body\n\tif (instance.bodyUsed) {\n\t\tthrow new Error('cannot clone body after it is used');\n\t}\n\n\t// Check that body is a stream and not form-data object\n\t// note: we can't clone the form-data object without having it as a dependency\n\tif ((body instanceof Stream) && (typeof body.getBoundary !== 'function')) {\n\t\t// Tee instance body\n\t\tp1 = new PassThrough({highWaterMark});\n\t\tp2 = new PassThrough({highWaterMark});\n\t\tbody.pipe(p1);\n\t\tbody.pipe(p2);\n\t\t// Set instance body to teed body and return the other teed body\n\t\tinstance[INTERNALS].stream = p1;\n\t\tbody = p2;\n\t}\n\n\treturn body;\n};\n\nconst getNonSpecFormDataBoundary = deprecate(\n\tbody => body.getBoundary(),\n\t'form-data doesn\\'t follow the spec and requires special treatment. Use alternative package',\n\t'https://github.com/node-fetch/node-fetch/issues/1167'\n);\n\n/**\n * Performs the operation \"extract a `Content-Type` value from |object|\" as\n * specified in the specification:\n * https://fetch.spec.whatwg.org/#concept-bodyinit-extract\n *\n * This function assumes that instance.body is present.\n *\n * @param {any} body Any options.body input\n * @returns {string | null}\n */\nexport const extractContentType = (body, request) => {\n\t// Body is null or undefined\n\tif (body === null) {\n\t\treturn null;\n\t}\n\n\t// Body is string\n\tif (typeof body === 'string') {\n\t\treturn 'text/plain;charset=UTF-8';\n\t}\n\n\t// Body is a URLSearchParams\n\tif (isURLSearchParameters(body)) {\n\t\treturn 'application/x-www-form-urlencoded;charset=UTF-8';\n\t}\n\n\t// Body is blob\n\tif (isBlob(body)) {\n\t\treturn body.type || null;\n\t}\n\n\t// Body is a Buffer (Buffer, ArrayBuffer or ArrayBufferView)\n\tif (Buffer.isBuffer(body) || types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {\n\t\treturn null;\n\t}\n\n\tif (body instanceof FormData) {\n\t\treturn `multipart/form-data; boundary=${request[INTERNALS].boundary}`;\n\t}\n\n\t// Detect form data input from form-data module\n\tif (body && typeof body.getBoundary === 'function') {\n\t\treturn `multipart/form-data;boundary=${getNonSpecFormDataBoundary(body)}`;\n\t}\n\n\t// Body is stream - can't really do much about this\n\tif (body instanceof Stream) {\n\t\treturn null;\n\t}\n\n\t// Body constructor defaults other things to string\n\treturn 'text/plain;charset=UTF-8';\n};\n\n/**\n * The Fetch Standard treats this as if \"total bytes\" is a property on the body.\n * For us, we have to explicitly get it with a function.\n *\n * ref: https://fetch.spec.whatwg.org/#concept-body-total-bytes\n *\n * @param {any} obj.body Body object from the Body instance.\n * @returns {number | null}\n */\nexport const getTotalBytes = request => {\n\tconst {body} = request[INTERNALS];\n\n\t// Body is null or undefined\n\tif (body === null) {\n\t\treturn 0;\n\t}\n\n\t// Body is Blob\n\tif (isBlob(body)) {\n\t\treturn body.size;\n\t}\n\n\t// Body is Buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn body.length;\n\t}\n\n\t// Detect form data input from form-data module\n\tif (body && typeof body.getLengthSync === 'function') {\n\t\treturn body.hasKnownLength && body.hasKnownLength() ? body.getLengthSync() : null;\n\t}\n\n\t// Body is stream\n\treturn null;\n};\n\n/**\n * Write a Body to a Node.js WritableStream (e.g. http.Request) object.\n *\n * @param {Stream.Writable} dest The stream to write to.\n * @param obj.body Body object from the Body instance.\n * @returns {Promise}\n */\nexport const writeToStream = async (dest, {body}) => {\n\tif (body === null) {\n\t\t// Body is null\n\t\tdest.end();\n\t} else {\n\t\t// Body is stream\n\t\tawait pipeline(body, dest);\n\t}\n};\n","/**\n * Headers.js\n *\n * Headers class offers convenient helpers\n */\n\nimport {types} from 'node:util';\nimport http from 'node:http';\n\n/* c8 ignore next 9 */\nconst validateHeaderName = typeof http.validateHeaderName === 'function' ?\n\thttp.validateHeaderName :\n\tname => {\n\t\tif (!/^[\\^`\\-\\w!#$%&'*+.|~]+$/.test(name)) {\n\t\t\tconst error = new TypeError(`Header name must be a valid HTTP token [${name}]`);\n\t\t\tObject.defineProperty(error, 'code', {value: 'ERR_INVALID_HTTP_TOKEN'});\n\t\t\tthrow error;\n\t\t}\n\t};\n\n/* c8 ignore next 9 */\nconst validateHeaderValue = typeof http.validateHeaderValue === 'function' ?\n\thttp.validateHeaderValue :\n\t(name, value) => {\n\t\tif (/[^\\t\\u0020-\\u007E\\u0080-\\u00FF]/.test(value)) {\n\t\t\tconst error = new TypeError(`Invalid character in header content [\"${name}\"]`);\n\t\t\tObject.defineProperty(error, 'code', {value: 'ERR_INVALID_CHAR'});\n\t\t\tthrow error;\n\t\t}\n\t};\n\n/**\n * @typedef {Headers | Record | Iterable | Iterable>} HeadersInit\n */\n\n/**\n * This Fetch API interface allows you to perform various actions on HTTP request and response headers.\n * These actions include retrieving, setting, adding to, and removing.\n * A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.\n * You can add to this using methods like append() (see Examples.)\n * In all methods of this interface, header names are matched by case-insensitive byte sequence.\n *\n */\nexport default class Headers extends URLSearchParams {\n\t/**\n\t * Headers class\n\t *\n\t * @constructor\n\t * @param {HeadersInit} [init] - Response headers\n\t */\n\tconstructor(init) {\n\t\t// Validate and normalize init object in [name, value(s)][]\n\t\t/** @type {string[][]} */\n\t\tlet result = [];\n\t\tif (init instanceof Headers) {\n\t\t\tconst raw = init.raw();\n\t\t\tfor (const [name, values] of Object.entries(raw)) {\n\t\t\t\tresult.push(...values.map(value => [name, value]));\n\t\t\t}\n\t\t} else if (init == null) { // eslint-disable-line no-eq-null, eqeqeq\n\t\t\t// No op\n\t\t} else if (typeof init === 'object' && !types.isBoxedPrimitive(init)) {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\t\tif (method == null) {\n\t\t\t\t// Record\n\t\t\t\tresult.push(...Object.entries(init));\n\t\t\t} else {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// Sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tresult = [...init]\n\t\t\t\t\t.map(pair => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof pair !== 'object' || types.isBoxedPrimitive(pair)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tthrow new TypeError('Each header pair must be an iterable object');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn [...pair];\n\t\t\t\t\t}).map(pair => {\n\t\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn [...pair];\n\t\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Failed to construct \\'Headers\\': The provided value is not of type \\'(sequence> or record)');\n\t\t}\n\n\t\t// Validate and lowercase\n\t\tresult =\n\t\t\tresult.length > 0 ?\n\t\t\t\tresult.map(([name, value]) => {\n\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\tvalidateHeaderValue(name, String(value));\n\t\t\t\t\treturn [String(name).toLowerCase(), String(value)];\n\t\t\t\t}) :\n\t\t\t\tundefined;\n\n\t\tsuper(result);\n\n\t\t// Returning a Proxy that will lowercase key names, validate parameters and sort keys\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn new Proxy(this, {\n\t\t\tget(target, p, receiver) {\n\t\t\t\tswitch (p) {\n\t\t\t\t\tcase 'append':\n\t\t\t\t\tcase 'set':\n\t\t\t\t\t\treturn (name, value) => {\n\t\t\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\t\t\tvalidateHeaderValue(name, String(value));\n\t\t\t\t\t\t\treturn URLSearchParams.prototype[p].call(\n\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\tString(name).toLowerCase(),\n\t\t\t\t\t\t\t\tString(value)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\n\t\t\t\t\tcase 'delete':\n\t\t\t\t\tcase 'has':\n\t\t\t\t\tcase 'getAll':\n\t\t\t\t\t\treturn name => {\n\t\t\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\t\t\treturn URLSearchParams.prototype[p].call(\n\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\tString(name).toLowerCase()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\n\t\t\t\t\tcase 'keys':\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\ttarget.sort();\n\t\t\t\t\t\t\treturn new Set(URLSearchParams.prototype.keys.call(target)).keys();\n\t\t\t\t\t\t};\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn Reflect.get(target, p, receiver);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t/* c8 ignore next */\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn this.constructor.name;\n\t}\n\n\ttoString() {\n\t\treturn Object.prototype.toString.call(this);\n\t}\n\n\tget(name) {\n\t\tconst values = this.getAll(name);\n\t\tif (values.length === 0) {\n\t\t\treturn null;\n\t\t}\n\n\t\tlet value = values.join(', ');\n\t\tif (/^content-encoding$/i.test(name)) {\n\t\t\tvalue = value.toLowerCase();\n\t\t}\n\n\t\treturn value;\n\t}\n\n\tforEach(callback, thisArg = undefined) {\n\t\tfor (const name of this.keys()) {\n\t\t\tReflect.apply(callback, thisArg, [this.get(name), name, this]);\n\t\t}\n\t}\n\n\t* values() {\n\t\tfor (const name of this.keys()) {\n\t\t\tyield this.get(name);\n\t\t}\n\t}\n\n\t/**\n\t * @type {() => IterableIterator<[string, string]>}\n\t */\n\t* entries() {\n\t\tfor (const name of this.keys()) {\n\t\t\tyield [name, this.get(name)];\n\t\t}\n\t}\n\n\t[Symbol.iterator]() {\n\t\treturn this.entries();\n\t}\n\n\t/**\n\t * Node-fetch non-spec method\n\t * returning all headers and their values as array\n\t * @returns {Record}\n\t */\n\traw() {\n\t\treturn [...this.keys()].reduce((result, key) => {\n\t\t\tresult[key] = this.getAll(key);\n\t\t\treturn result;\n\t\t}, {});\n\t}\n\n\t/**\n\t * For better console.log(headers) and also to convert Headers into Node.js Request compatible format\n\t */\n\t[Symbol.for('nodejs.util.inspect.custom')]() {\n\t\treturn [...this.keys()].reduce((result, key) => {\n\t\t\tconst values = this.getAll(key);\n\t\t\t// Http.request() only supports string as Host header.\n\t\t\t// This hack makes specifying custom Host header possible.\n\t\t\tif (key === 'host') {\n\t\t\t\tresult[key] = values[0];\n\t\t\t} else {\n\t\t\t\tresult[key] = values.length > 1 ? values : values[0];\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}, {});\n\t}\n}\n\n/**\n * Re-shaping object for Web IDL tests\n * Only need to do it for overridden methods\n */\nObject.defineProperties(\n\tHeaders.prototype,\n\t['get', 'entries', 'forEach', 'values'].reduce((result, property) => {\n\t\tresult[property] = {enumerable: true};\n\t\treturn result;\n\t}, {})\n);\n\n/**\n * Create a Headers object from an http.IncomingMessage.rawHeaders, ignoring those that do\n * not conform to HTTP grammar productions.\n * @param {import('http').IncomingMessage['rawHeaders']} headers\n */\nexport function fromRawHeaders(headers = []) {\n\treturn new Headers(\n\t\theaders\n\t\t\t// Split into pairs\n\t\t\t.reduce((result, value, index, array) => {\n\t\t\t\tif (index % 2 === 0) {\n\t\t\t\t\tresult.push(array.slice(index, index + 2));\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t}, [])\n\t\t\t.filter(([name, value]) => {\n\t\t\t\ttry {\n\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\tvalidateHeaderValue(name, String(value));\n\t\t\t\t\treturn true;\n\t\t\t\t} catch {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t})\n\n\t);\n}\n","const redirectStatus = new Set([301, 302, 303, 307, 308]);\n\n/**\n * Redirect code matching\n *\n * @param {number} code - Status code\n * @return {boolean}\n */\nexport const isRedirect = code => {\n\treturn redirectStatus.has(code);\n};\n","/**\n * Response.js\n *\n * Response class provides content decoding\n */\n\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType} from './body.js';\nimport {isRedirect} from './utils/is-redirect.js';\n\nconst INTERNALS = Symbol('Response internals');\n\n/**\n * Response class\n *\n * Ref: https://fetch.spec.whatwg.org/#response-class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nexport default class Response extends Body {\n\tconstructor(body = null, options = {}) {\n\t\tsuper(body, options);\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq, no-negated-condition\n\t\tconst status = options.status != null ? options.status : 200;\n\n\t\tconst headers = new Headers(options.headers);\n\n\t\tif (body !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\ttype: 'default',\n\t\t\turl: options.url,\n\t\t\tstatus,\n\t\t\tstatusText: options.statusText || '',\n\t\t\theaders,\n\t\t\tcounter: options.counter,\n\t\t\thighWaterMark: options.highWaterMark\n\t\t};\n\t}\n\n\tget type() {\n\t\treturn this[INTERNALS].type;\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS].status;\n\t}\n\n\t/**\n\t * Convenience property representing if the request ended normally\n\t */\n\tget ok() {\n\t\treturn this[INTERNALS].status >= 200 && this[INTERNALS].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget highWaterMark() {\n\t\treturn this[INTERNALS].highWaterMark;\n\t}\n\n\t/**\n\t * Clone this response\n\t *\n\t * @return Response\n\t */\n\tclone() {\n\t\treturn new Response(clone(this, this.highWaterMark), {\n\t\t\ttype: this.type,\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected,\n\t\t\tsize: this.size,\n\t\t\thighWaterMark: this.highWaterMark\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} url The URL that the new response is to originate from.\n\t * @param {number} status An optional status code for the response (e.g., 302.)\n\t * @returns {Response} A Response object.\n\t */\n\tstatic redirect(url, status = 302) {\n\t\tif (!isRedirect(status)) {\n\t\t\tthrow new RangeError('Failed to execute \"redirect\" on \"response\": Invalid status code');\n\t\t}\n\n\t\treturn new Response(null, {\n\t\t\theaders: {\n\t\t\t\tlocation: new URL(url).toString()\n\t\t\t},\n\t\t\tstatus\n\t\t});\n\t}\n\n\tstatic error() {\n\t\tconst response = new Response(null, {status: 0, statusText: ''});\n\t\tresponse[INTERNALS].type = 'error';\n\t\treturn response;\n\t}\n\n\tstatic json(data = undefined, init = {}) {\n\t\tconst body = JSON.stringify(data);\n\n\t\tif (body === undefined) {\n\t\t\tthrow new TypeError('data is not JSON serializable');\n\t\t}\n\n\t\tconst headers = new Headers(init && init.headers);\n\n\t\tif (!headers.has('content-type')) {\n\t\t\theaders.set('content-type', 'application/json');\n\t\t}\n\n\t\treturn new Response(body, {\n\t\t\t...init,\n\t\t\theaders\n\t\t});\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Response';\n\t}\n}\n\nObject.defineProperties(Response.prototype, {\n\ttype: {enumerable: true},\n\turl: {enumerable: true},\n\tstatus: {enumerable: true},\n\tok: {enumerable: true},\n\tredirected: {enumerable: true},\n\tstatusText: {enumerable: true},\n\theaders: {enumerable: true},\n\tclone: {enumerable: true}\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:url\");","export const getSearch = parsedURL => {\n\tif (parsedURL.search) {\n\t\treturn parsedURL.search;\n\t}\n\n\tconst lastOffset = parsedURL.href.length - 1;\n\tconst hash = parsedURL.hash || (parsedURL.href[lastOffset] === '#' ? '#' : '');\n\treturn parsedURL.href[lastOffset - hash.length] === '?' ? '?' : '';\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:net\");","import {isIP} from 'node:net';\n\n/**\n * @external URL\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/URL|URL}\n */\n\n/**\n * @module utils/referrer\n * @private\n */\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#strip-url|Referrer Policy §8.4. Strip url for use as a referrer}\n * @param {string} URL\n * @param {boolean} [originOnly=false]\n */\nexport function stripURLForUseAsAReferrer(url, originOnly = false) {\n\t// 1. If url is null, return no referrer.\n\tif (url == null) { // eslint-disable-line no-eq-null, eqeqeq\n\t\treturn 'no-referrer';\n\t}\n\n\turl = new URL(url);\n\n\t// 2. If url's scheme is a local scheme, then return no referrer.\n\tif (/^(about|blob|data):$/.test(url.protocol)) {\n\t\treturn 'no-referrer';\n\t}\n\n\t// 3. Set url's username to the empty string.\n\turl.username = '';\n\n\t// 4. Set url's password to null.\n\t// Note: `null` appears to be a mistake as this actually results in the password being `\"null\"`.\n\turl.password = '';\n\n\t// 5. Set url's fragment to null.\n\t// Note: `null` appears to be a mistake as this actually results in the fragment being `\"#null\"`.\n\turl.hash = '';\n\n\t// 6. If the origin-only flag is true, then:\n\tif (originOnly) {\n\t\t// 6.1. Set url's path to null.\n\t\t// Note: `null` appears to be a mistake as this actually results in the path being `\"/null\"`.\n\t\turl.pathname = '';\n\n\t\t// 6.2. Set url's query to null.\n\t\t// Note: `null` appears to be a mistake as this actually results in the query being `\"?null\"`.\n\t\turl.search = '';\n\t}\n\n\t// 7. Return url.\n\treturn url;\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#enumdef-referrerpolicy|enum ReferrerPolicy}\n */\nexport const ReferrerPolicy = new Set([\n\t'',\n\t'no-referrer',\n\t'no-referrer-when-downgrade',\n\t'same-origin',\n\t'origin',\n\t'strict-origin',\n\t'origin-when-cross-origin',\n\t'strict-origin-when-cross-origin',\n\t'unsafe-url'\n]);\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#default-referrer-policy|default referrer policy}\n */\nexport const DEFAULT_REFERRER_POLICY = 'strict-origin-when-cross-origin';\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#referrer-policies|Referrer Policy §3. Referrer Policies}\n * @param {string} referrerPolicy\n * @returns {string} referrerPolicy\n */\nexport function validateReferrerPolicy(referrerPolicy) {\n\tif (!ReferrerPolicy.has(referrerPolicy)) {\n\t\tthrow new TypeError(`Invalid referrerPolicy: ${referrerPolicy}`);\n\t}\n\n\treturn referrerPolicy;\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy|Referrer Policy §3.2. Is origin potentially trustworthy?}\n * @param {external:URL} url\n * @returns `true`: \"Potentially Trustworthy\", `false`: \"Not Trustworthy\"\n */\nexport function isOriginPotentiallyTrustworthy(url) {\n\t// 1. If origin is an opaque origin, return \"Not Trustworthy\".\n\t// Not applicable\n\n\t// 2. Assert: origin is a tuple origin.\n\t// Not for implementations\n\n\t// 3. If origin's scheme is either \"https\" or \"wss\", return \"Potentially Trustworthy\".\n\tif (/^(http|ws)s:$/.test(url.protocol)) {\n\t\treturn true;\n\t}\n\n\t// 4. If origin's host component matches one of the CIDR notations 127.0.0.0/8 or ::1/128 [RFC4632], return \"Potentially Trustworthy\".\n\tconst hostIp = url.host.replace(/(^\\[)|(]$)/g, '');\n\tconst hostIPVersion = isIP(hostIp);\n\n\tif (hostIPVersion === 4 && /^127\\./.test(hostIp)) {\n\t\treturn true;\n\t}\n\n\tif (hostIPVersion === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(hostIp)) {\n\t\treturn true;\n\t}\n\n\t// 5. If origin's host component is \"localhost\" or falls within \".localhost\", and the user agent conforms to the name resolution rules in [let-localhost-be-localhost], return \"Potentially Trustworthy\".\n\t// We are returning FALSE here because we cannot ensure conformance to\n\t// let-localhost-be-loalhost (https://tools.ietf.org/html/draft-west-let-localhost-be-localhost)\n\tif (url.host === 'localhost' || url.host.endsWith('.localhost')) {\n\t\treturn false;\n\t}\n\n\t// 6. If origin's scheme component is file, return \"Potentially Trustworthy\".\n\tif (url.protocol === 'file:') {\n\t\treturn true;\n\t}\n\n\t// 7. If origin's scheme component is one which the user agent considers to be authenticated, return \"Potentially Trustworthy\".\n\t// Not supported\n\n\t// 8. If origin has been configured as a trustworthy origin, return \"Potentially Trustworthy\".\n\t// Not supported\n\n\t// 9. Return \"Not Trustworthy\".\n\treturn false;\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-secure-contexts/#is-url-trustworthy|Referrer Policy §3.3. Is url potentially trustworthy?}\n * @param {external:URL} url\n * @returns `true`: \"Potentially Trustworthy\", `false`: \"Not Trustworthy\"\n */\nexport function isUrlPotentiallyTrustworthy(url) {\n\t// 1. If url is \"about:blank\" or \"about:srcdoc\", return \"Potentially Trustworthy\".\n\tif (/^about:(blank|srcdoc)$/.test(url)) {\n\t\treturn true;\n\t}\n\n\t// 2. If url's scheme is \"data\", return \"Potentially Trustworthy\".\n\tif (url.protocol === 'data:') {\n\t\treturn true;\n\t}\n\n\t// Note: The origin of blob: and filesystem: URLs is the origin of the context in which they were\n\t// created. Therefore, blobs created in a trustworthy origin will themselves be potentially\n\t// trustworthy.\n\tif (/^(blob|filesystem):$/.test(url.protocol)) {\n\t\treturn true;\n\t}\n\n\t// 3. Return the result of executing §3.2 Is origin potentially trustworthy? on url's origin.\n\treturn isOriginPotentiallyTrustworthy(url);\n}\n\n/**\n * Modifies the referrerURL to enforce any extra security policy considerations.\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}, step 7\n * @callback module:utils/referrer~referrerURLCallback\n * @param {external:URL} referrerURL\n * @returns {external:URL} modified referrerURL\n */\n\n/**\n * Modifies the referrerOrigin to enforce any extra security policy considerations.\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}, step 7\n * @callback module:utils/referrer~referrerOriginCallback\n * @param {external:URL} referrerOrigin\n * @returns {external:URL} modified referrerOrigin\n */\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}\n * @param {Request} request\n * @param {object} o\n * @param {module:utils/referrer~referrerURLCallback} o.referrerURLCallback\n * @param {module:utils/referrer~referrerOriginCallback} o.referrerOriginCallback\n * @returns {external:URL} Request's referrer\n */\nexport function determineRequestsReferrer(request, {referrerURLCallback, referrerOriginCallback} = {}) {\n\t// There are 2 notes in the specification about invalid pre-conditions. We return null, here, for\n\t// these cases:\n\t// > Note: If request's referrer is \"no-referrer\", Fetch will not call into this algorithm.\n\t// > Note: If request's referrer policy is the empty string, Fetch will not call into this\n\t// > algorithm.\n\tif (request.referrer === 'no-referrer' || request.referrerPolicy === '') {\n\t\treturn null;\n\t}\n\n\t// 1. Let policy be request's associated referrer policy.\n\tconst policy = request.referrerPolicy;\n\n\t// 2. Let environment be request's client.\n\t// not applicable to node.js\n\n\t// 3. Switch on request's referrer:\n\tif (request.referrer === 'about:client') {\n\t\treturn 'no-referrer';\n\t}\n\n\t// \"a URL\": Let referrerSource be request's referrer.\n\tconst referrerSource = request.referrer;\n\n\t// 4. Let request's referrerURL be the result of stripping referrerSource for use as a referrer.\n\tlet referrerURL = stripURLForUseAsAReferrer(referrerSource);\n\n\t// 5. Let referrerOrigin be the result of stripping referrerSource for use as a referrer, with the\n\t// origin-only flag set to true.\n\tlet referrerOrigin = stripURLForUseAsAReferrer(referrerSource, true);\n\n\t// 6. If the result of serializing referrerURL is a string whose length is greater than 4096, set\n\t// referrerURL to referrerOrigin.\n\tif (referrerURL.toString().length > 4096) {\n\t\treferrerURL = referrerOrigin;\n\t}\n\n\t// 7. The user agent MAY alter referrerURL or referrerOrigin at this point to enforce arbitrary\n\t// policy considerations in the interests of minimizing data leakage. For example, the user\n\t// agent could strip the URL down to an origin, modify its host, replace it with an empty\n\t// string, etc.\n\tif (referrerURLCallback) {\n\t\treferrerURL = referrerURLCallback(referrerURL);\n\t}\n\n\tif (referrerOriginCallback) {\n\t\treferrerOrigin = referrerOriginCallback(referrerOrigin);\n\t}\n\n\t// 8.Execute the statements corresponding to the value of policy:\n\tconst currentURL = new URL(request.url);\n\n\tswitch (policy) {\n\t\tcase 'no-referrer':\n\t\t\treturn 'no-referrer';\n\n\t\tcase 'origin':\n\t\t\treturn referrerOrigin;\n\n\t\tcase 'unsafe-url':\n\t\t\treturn referrerURL;\n\n\t\tcase 'strict-origin':\n\t\t\t// 1. If referrerURL is a potentially trustworthy URL and request's current URL is not a\n\t\t\t// potentially trustworthy URL, then return no referrer.\n\t\t\tif (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) {\n\t\t\t\treturn 'no-referrer';\n\t\t\t}\n\n\t\t\t// 2. Return referrerOrigin.\n\t\t\treturn referrerOrigin.toString();\n\n\t\tcase 'strict-origin-when-cross-origin':\n\t\t\t// 1. If the origin of referrerURL and the origin of request's current URL are the same, then\n\t\t\t// return referrerURL.\n\t\t\tif (referrerURL.origin === currentURL.origin) {\n\t\t\t\treturn referrerURL;\n\t\t\t}\n\n\t\t\t// 2. If referrerURL is a potentially trustworthy URL and request's current URL is not a\n\t\t\t// potentially trustworthy URL, then return no referrer.\n\t\t\tif (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) {\n\t\t\t\treturn 'no-referrer';\n\t\t\t}\n\n\t\t\t// 3. Return referrerOrigin.\n\t\t\treturn referrerOrigin;\n\n\t\tcase 'same-origin':\n\t\t\t// 1. If the origin of referrerURL and the origin of request's current URL are the same, then\n\t\t\t// return referrerURL.\n\t\t\tif (referrerURL.origin === currentURL.origin) {\n\t\t\t\treturn referrerURL;\n\t\t\t}\n\n\t\t\t// 2. Return no referrer.\n\t\t\treturn 'no-referrer';\n\n\t\tcase 'origin-when-cross-origin':\n\t\t\t// 1. If the origin of referrerURL and the origin of request's current URL are the same, then\n\t\t\t// return referrerURL.\n\t\t\tif (referrerURL.origin === currentURL.origin) {\n\t\t\t\treturn referrerURL;\n\t\t\t}\n\n\t\t\t// Return referrerOrigin.\n\t\t\treturn referrerOrigin;\n\n\t\tcase 'no-referrer-when-downgrade':\n\t\t\t// 1. If referrerURL is a potentially trustworthy URL and request's current URL is not a\n\t\t\t// potentially trustworthy URL, then return no referrer.\n\t\t\tif (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) {\n\t\t\t\treturn 'no-referrer';\n\t\t\t}\n\n\t\t\t// 2. Return referrerURL.\n\t\t\treturn referrerURL;\n\n\t\tdefault:\n\t\t\tthrow new TypeError(`Invalid referrerPolicy: ${policy}`);\n\t}\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#parse-referrer-policy-from-header|Referrer Policy §8.1. Parse a referrer policy from a Referrer-Policy header}\n * @param {Headers} headers Response headers\n * @returns {string} policy\n */\nexport function parseReferrerPolicyFromHeader(headers) {\n\t// 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy`\n\t// and response’s header list.\n\tconst policyTokens = (headers.get('referrer-policy') || '').split(/[,\\s]+/);\n\n\t// 2. Let policy be the empty string.\n\tlet policy = '';\n\n\t// 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty\n\t// string, then set policy to token.\n\t// Note: This algorithm loops over multiple policy values to allow deployment of new policy\n\t// values with fallbacks for older user agents, as described in § 11.1 Unknown Policy Values.\n\tfor (const token of policyTokens) {\n\t\tif (token && ReferrerPolicy.has(token)) {\n\t\t\tpolicy = token;\n\t\t}\n\t}\n\n\t// 4. Return policy.\n\treturn policy;\n}\n","/**\n * Request.js\n *\n * Request class contains server only options\n *\n * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/.\n */\n\nimport {format as formatUrl} from 'node:url';\nimport {deprecate} from 'node:util';\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType, getTotalBytes} from './body.js';\nimport {isAbortSignal} from './utils/is.js';\nimport {getSearch} from './utils/get-search.js';\nimport {\n\tvalidateReferrerPolicy, determineRequestsReferrer, DEFAULT_REFERRER_POLICY\n} from './utils/referrer.js';\n\nconst INTERNALS = Symbol('Request internals');\n\n/**\n * Check if `obj` is an instance of Request.\n *\n * @param {*} object\n * @return {boolean}\n */\nconst isRequest = object => {\n\treturn (\n\t\ttypeof object === 'object' &&\n\t\ttypeof object[INTERNALS] === 'object'\n\t);\n};\n\nconst doBadDataWarn = deprecate(() => {},\n\t'.data is not a valid RequestInit property, use .body instead',\n\t'https://github.com/node-fetch/node-fetch/issues/1000 (request)');\n\n/**\n * Request class\n *\n * Ref: https://fetch.spec.whatwg.org/#request-class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nexport default class Request extends Body {\n\tconstructor(input, init = {}) {\n\t\tlet parsedURL;\n\n\t\t// Normalize input and force URL to be encoded as UTF-8 (https://github.com/node-fetch/node-fetch/issues/245)\n\t\tif (isRequest(input)) {\n\t\t\tparsedURL = new URL(input.url);\n\t\t} else {\n\t\t\tparsedURL = new URL(input);\n\t\t\tinput = {};\n\t\t}\n\n\t\tif (parsedURL.username !== '' || parsedURL.password !== '') {\n\t\t\tthrow new TypeError(`${parsedURL} is an url with embedded credentials.`);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tif (/^(delete|get|head|options|post|put)$/i.test(method)) {\n\t\t\tmethod = method.toUpperCase();\n\t\t}\n\n\t\tif (!isRequest(init) && 'data' in init) {\n\t\t\tdoBadDataWarn();\n\t\t}\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tif ((init.body != null || (isRequest(input) && input.body !== null)) &&\n\t\t\t(method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tconst inputBody = init.body ?\n\t\t\tinit.body :\n\t\t\t(isRequest(input) && input.body !== null ?\n\t\t\t\tclone(input) :\n\t\t\t\tnull);\n\n\t\tsuper(inputBody, {\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.set('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ?\n\t\t\tinput.signal :\n\t\t\tnull;\n\t\tif ('signal' in init) {\n\t\t\tsignal = init.signal;\n\t\t}\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal or EventTarget');\n\t\t}\n\n\t\t// §5.4, Request constructor steps, step 15.1\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tlet referrer = init.referrer == null ? input.referrer : init.referrer;\n\t\tif (referrer === '') {\n\t\t\t// §5.4, Request constructor steps, step 15.2\n\t\t\treferrer = 'no-referrer';\n\t\t} else if (referrer) {\n\t\t\t// §5.4, Request constructor steps, step 15.3.1, 15.3.2\n\t\t\tconst parsedReferrer = new URL(referrer);\n\t\t\t// §5.4, Request constructor steps, step 15.3.3, 15.3.4\n\t\t\treferrer = /^about:(\\/\\/)?client$/.test(parsedReferrer) ? 'client' : parsedReferrer;\n\t\t} else {\n\t\t\treferrer = undefined;\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal,\n\t\t\treferrer\n\t\t};\n\n\t\t// Node-fetch-only options\n\t\tthis.follow = init.follow === undefined ? (input.follow === undefined ? 20 : input.follow) : init.follow;\n\t\tthis.compress = init.compress === undefined ? (input.compress === undefined ? true : input.compress) : init.compress;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t\tthis.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;\n\t\tthis.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;\n\n\t\t// §5.4, Request constructor steps, step 16.\n\t\t// Default is empty string per https://fetch.spec.whatwg.org/#concept-request-referrer-policy\n\t\tthis.referrerPolicy = init.referrerPolicy || input.referrerPolicy || '';\n\t}\n\n\t/** @returns {string} */\n\tget method() {\n\t\treturn this[INTERNALS].method;\n\t}\n\n\t/** @returns {string} */\n\tget url() {\n\t\treturn formatUrl(this[INTERNALS].parsedURL);\n\t}\n\n\t/** @returns {Headers} */\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS].redirect;\n\t}\n\n\t/** @returns {AbortSignal} */\n\tget signal() {\n\t\treturn this[INTERNALS].signal;\n\t}\n\n\t// https://fetch.spec.whatwg.org/#dom-request-referrer\n\tget referrer() {\n\t\tif (this[INTERNALS].referrer === 'no-referrer') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (this[INTERNALS].referrer === 'client') {\n\t\t\treturn 'about:client';\n\t\t}\n\n\t\tif (this[INTERNALS].referrer) {\n\t\t\treturn this[INTERNALS].referrer.toString();\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget referrerPolicy() {\n\t\treturn this[INTERNALS].referrerPolicy;\n\t}\n\n\tset referrerPolicy(referrerPolicy) {\n\t\tthis[INTERNALS].referrerPolicy = validateReferrerPolicy(referrerPolicy);\n\t}\n\n\t/**\n\t * Clone this request\n\t *\n\t * @return Request\n\t */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Request';\n\t}\n}\n\nObject.defineProperties(Request.prototype, {\n\tmethod: {enumerable: true},\n\turl: {enumerable: true},\n\theaders: {enumerable: true},\n\tredirect: {enumerable: true},\n\tclone: {enumerable: true},\n\tsignal: {enumerable: true},\n\treferrer: {enumerable: true},\n\treferrerPolicy: {enumerable: true}\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param {Request} request - A Request instance\n * @return The options object to be passed to http.request\n */\nexport const getNodeRequestOptions = request => {\n\tconst {parsedURL} = request[INTERNALS];\n\tconst headers = new Headers(request[INTERNALS].headers);\n\n\t// Fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body === null && /^(post|put)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\n\tif (request.body !== null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\t// Set Content-Length if totalBytes is a number (that is not NaN)\n\t\tif (typeof totalBytes === 'number' && !Number.isNaN(totalBytes)) {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// 4.1. Main fetch, step 2.6\n\t// > If request's referrer policy is the empty string, then set request's referrer policy to the\n\t// > default referrer policy.\n\tif (request.referrerPolicy === '') {\n\t\trequest.referrerPolicy = DEFAULT_REFERRER_POLICY;\n\t}\n\n\t// 4.1. Main fetch, step 2.7\n\t// > If request's referrer is not \"no-referrer\", set request's referrer to the result of invoking\n\t// > determine request's referrer.\n\tif (request.referrer && request.referrer !== 'no-referrer') {\n\t\trequest[INTERNALS].referrer = determineRequestsReferrer(request);\n\t} else {\n\t\trequest[INTERNALS].referrer = 'no-referrer';\n\t}\n\n\t// 4.5. HTTP-network-or-cache fetch, step 6.9\n\t// > If httpRequest's referrer is a URL, then append `Referer`/httpRequest's referrer, serialized\n\t// > and isomorphic encoded, to httpRequest's header list.\n\tif (request[INTERNALS].referrer instanceof URL) {\n\t\theaders.set('Referer', request.referrer);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip, deflate, br');\n\t}\n\n\tlet {agent} = request;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\tconst search = getSearch(parsedURL);\n\n\t// Pass the full URL directly to request(), but overwrite the following\n\t// options:\n\tconst options = {\n\t\t// Overwrite search to retain trailing ? (issue #776)\n\t\tpath: parsedURL.pathname + search,\n\t\t// The following options are not expressed in the URL\n\t\tmethod: request.method,\n\t\theaders: headers[Symbol.for('nodejs.util.inspect.custom')](),\n\t\tinsecureHTTPParser: request.insecureHTTPParser,\n\t\tagent\n\t};\n\n\treturn {\n\t\t/** @type {URL} */\n\t\tparsedURL,\n\t\toptions\n\t};\n};\n","import {FetchBaseError} from './base.js';\n\n/**\n * AbortError interface for cancelled requests\n */\nexport class AbortError extends FetchBaseError {\n\tconstructor(message, type = 'aborted') {\n\t\tsuper(message, type);\n\t}\n}\n","/**\n * Index.js\n *\n * a request API compatible with window.fetch\n *\n * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/.\n */\n\nimport http from 'node:http';\nimport https from 'node:https';\nimport zlib from 'node:zlib';\nimport Stream, {PassThrough, pipeline as pump} from 'node:stream';\nimport {Buffer} from 'node:buffer';\n\nimport dataUriToBuffer from 'data-uri-to-buffer';\n\nimport {writeToStream, clone} from './body.js';\nimport Response from './response.js';\nimport Headers, {fromRawHeaders} from './headers.js';\nimport Request, {getNodeRequestOptions} from './request.js';\nimport {FetchError} from './errors/fetch-error.js';\nimport {AbortError} from './errors/abort-error.js';\nimport {isRedirect} from './utils/is-redirect.js';\nimport {FormData} from 'formdata-polyfill/esm.min.js';\nimport {isDomainOrSubdomain, isSameProtocol} from './utils/is.js';\nimport {parseReferrerPolicyFromHeader} from './utils/referrer.js';\nimport {\n\tBlob,\n\tFile,\n\tfileFromSync,\n\tfileFrom,\n\tblobFromSync,\n\tblobFrom\n} from 'fetch-blob/from.js';\n\nexport {FormData, Headers, Request, Response, FetchError, AbortError, isRedirect};\nexport {Blob, File, fileFromSync, fileFrom, blobFromSync, blobFrom};\n\nconst supportedSchemas = new Set(['data:', 'http:', 'https:']);\n\n/**\n * Fetch function\n *\n * @param {string | URL | import('./request').default} url - Absolute url or Request instance\n * @param {*} [options_] - Fetch options\n * @return {Promise}\n */\nexport default async function fetch(url, options_) {\n\treturn new Promise((resolve, reject) => {\n\t\t// Build request object\n\t\tconst request = new Request(url, options_);\n\t\tconst {parsedURL, options} = getNodeRequestOptions(request);\n\t\tif (!supportedSchemas.has(parsedURL.protocol)) {\n\t\t\tthrow new TypeError(`node-fetch cannot load ${url}. URL scheme \"${parsedURL.protocol.replace(/:$/, '')}\" is not supported.`);\n\t\t}\n\n\t\tif (parsedURL.protocol === 'data:') {\n\t\t\tconst data = dataUriToBuffer(request.url);\n\t\t\tconst response = new Response(data, {headers: {'Content-Type': data.typeFull}});\n\t\t\tresolve(response);\n\t\t\treturn;\n\t\t}\n\n\t\t// Wrap http.request into fetch\n\t\tconst send = (parsedURL.protocol === 'https:' ? https : http).request;\n\t\tconst {signal} = request;\n\t\tlet response = null;\n\n\t\tconst abort = () => {\n\t\t\tconst error = new AbortError('The operation was aborted.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\n\t\t\tif (!response || !response.body) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = () => {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// Send request\n\t\tconst request_ = send(parsedURL.toString(), options);\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tconst finalize = () => {\n\t\t\trequest_.abort();\n\t\t\tif (signal) {\n\t\t\t\tsignal.removeEventListener('abort', abortAndFinalize);\n\t\t\t}\n\t\t};\n\n\t\trequest_.on('error', error => {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${error.message}`, 'system', error));\n\t\t\tfinalize();\n\t\t});\n\n\t\tfixResponseChunkedTransferBadEnding(request_, error => {\n\t\t\tif (response && response.body) {\n\t\t\t\tresponse.body.destroy(error);\n\t\t\t}\n\t\t});\n\n\t\t/* c8 ignore next 18 */\n\t\tif (process.version < 'v14') {\n\t\t\t// Before Node.js 14, pipeline() does not fully support async iterators and does not always\n\t\t\t// properly handle when the socket close/end events are out of order.\n\t\t\trequest_.on('socket', s => {\n\t\t\t\tlet endedWithEventsCount;\n\t\t\t\ts.prependListener('end', () => {\n\t\t\t\t\tendedWithEventsCount = s._eventsCount;\n\t\t\t\t});\n\t\t\t\ts.prependListener('close', hadError => {\n\t\t\t\t\t// if end happened before close but the socket didn't emit an error, do it now\n\t\t\t\t\tif (response && endedWithEventsCount < s._eventsCount && !hadError) {\n\t\t\t\t\t\tconst error = new Error('Premature close');\n\t\t\t\t\t\terror.code = 'ERR_STREAM_PREMATURE_CLOSE';\n\t\t\t\t\t\tresponse.body.emit('error', error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\trequest_.on('response', response_ => {\n\t\t\trequest_.setTimeout(0);\n\t\t\tconst headers = fromRawHeaders(response_.rawHeaders);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (isRedirect(response_.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL(location, request.url);\n\t\t\t\t} catch {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// Nothing to do\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow': {\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOptions = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: clone(request),\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\tsize: request.size,\n\t\t\t\t\t\t\treferrer: request.referrer,\n\t\t\t\t\t\t\treferrerPolicy: request.referrerPolicy\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// when forwarding sensitive headers like \"Authorization\",\n\t\t\t\t\t\t// \"WWW-Authenticate\", and \"Cookie\" to untrusted targets,\n\t\t\t\t\t\t// headers will be ignored when following a redirect to a domain\n\t\t\t\t\t\t// that is not a subdomain match or exact match of the initial domain.\n\t\t\t\t\t\t// For example, a redirect from \"foo.com\" to either \"foo.com\" or \"sub.foo.com\"\n\t\t\t\t\t\t// will forward the sensitive headers, but a redirect to \"bar.com\" will not.\n\t\t\t\t\t\t// headers will also be ignored when following a redirect to a domain using\n\t\t\t\t\t\t// a different protocol. For example, a redirect from \"https://foo.com\" to \"http://foo.com\"\n\t\t\t\t\t\t// will not forward the sensitive headers\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOptions.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (response_.statusCode !== 303 && request.body && options_.body instanceof Stream.Readable) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (response_.statusCode === 303 || ((response_.statusCode === 301 || response_.statusCode === 302) && request.method === 'POST')) {\n\t\t\t\t\t\t\trequestOptions.method = 'GET';\n\t\t\t\t\t\t\trequestOptions.body = undefined;\n\t\t\t\t\t\t\trequestOptions.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 14\n\t\t\t\t\t\tconst responseReferrerPolicy = parseReferrerPolicyFromHeader(headers);\n\t\t\t\t\t\tif (responseReferrerPolicy) {\n\t\t\t\t\t\t\trequestOptions.referrerPolicy = responseReferrerPolicy;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOptions)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn reject(new TypeError(`Redirect option '${request.redirect}' is not a valid value of RequestRedirect`));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Prepare response\n\t\t\tif (signal) {\n\t\t\t\tresponse_.once('end', () => {\n\t\t\t\t\tsignal.removeEventListener('abort', abortAndFinalize);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tlet body = pump(response_, new PassThrough(), error => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\t\t\t});\n\t\t\t// see https://github.com/nodejs/node/pull/29376\n\t\t\t/* c8 ignore next 3 */\n\t\t\tif (process.version < 'v12.10') {\n\t\t\t\tresponse_.on('aborted', abortAndFinalize);\n\t\t\t}\n\n\t\t\tconst responseOptions = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: response_.statusCode,\n\t\t\t\tstatusText: response_.statusMessage,\n\t\t\t\theaders,\n\t\t\t\tsize: request.size,\n\t\t\t\tcounter: request.counter,\n\t\t\t\thighWaterMark: request.highWaterMark\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || response_.statusCode === 204 || response_.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// For gzip\n\t\t\tif (codings === 'gzip' || codings === 'x-gzip') {\n\t\t\t\tbody = pump(body, zlib.createGunzip(zlibOptions), error => {\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For deflate\n\t\t\tif (codings === 'deflate' || codings === 'x-deflate') {\n\t\t\t\t// Handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = pump(response_, new PassThrough(), error => {\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\traw.once('data', chunk => {\n\t\t\t\t\t// See http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = pump(body, zlib.createInflate(), error => {\n\t\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\t\treject(error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = pump(body, zlib.createInflateRaw(), error => {\n\t\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\t\treject(error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\traw.once('end', () => {\n\t\t\t\t\t// Some old IIS servers return zero-length OK deflate responses, so\n\t\t\t\t\t// 'data' is never emitted. See https://github.com/node-fetch/node-fetch/pull/903\n\t\t\t\t\tif (!response) {\n\t\t\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For br\n\t\t\tif (codings === 'br') {\n\t\t\t\tbody = pump(body, zlib.createBrotliDecompress(), error => {\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Otherwise, use response as-is\n\t\t\tresponse = new Response(body, responseOptions);\n\t\t\tresolve(response);\n\t\t});\n\n\t\t// eslint-disable-next-line promise/prefer-await-to-then\n\t\twriteToStream(request_, request).catch(reject);\n\t});\n}\n\nfunction fixResponseChunkedTransferBadEnding(request, errorCallback) {\n\tconst LAST_CHUNK = Buffer.from('0\\r\\n\\r\\n');\n\n\tlet isChunkedTransfer = false;\n\tlet properLastChunkReceived = false;\n\tlet previousChunk;\n\n\trequest.on('response', response => {\n\t\tconst {headers} = response;\n\t\tisChunkedTransfer = headers['transfer-encoding'] === 'chunked' && !headers['content-length'];\n\t});\n\n\trequest.on('socket', socket => {\n\t\tconst onSocketClose = () => {\n\t\t\tif (isChunkedTransfer && !properLastChunkReceived) {\n\t\t\t\tconst error = new Error('Premature close');\n\t\t\t\terror.code = 'ERR_STREAM_PREMATURE_CLOSE';\n\t\t\t\terrorCallback(error);\n\t\t\t}\n\t\t};\n\n\t\tconst onData = buf => {\n\t\t\tproperLastChunkReceived = Buffer.compare(buf.slice(-5), LAST_CHUNK) === 0;\n\n\t\t\t// Sometimes final 0-length chunk and end of message code are in separate packets\n\t\t\tif (!properLastChunkReceived && previousChunk) {\n\t\t\t\tproperLastChunkReceived = (\n\t\t\t\t\tBuffer.compare(previousChunk.slice(-3), LAST_CHUNK.slice(0, 3)) === 0 &&\n\t\t\t\t\tBuffer.compare(buf.slice(-2), LAST_CHUNK.slice(3)) === 0\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tpreviousChunk = buf;\n\t\t};\n\n\t\tsocket.prependListener('close', onSocketClose);\n\t\tsocket.on('data', onData);\n\n\t\trequest.on('close', () => {\n\t\t\tsocket.removeListener('close', onSocketClose);\n\t\t\tsocket.removeListener('data', onData);\n\t\t});\n\t});\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { MiddlewareHandler } from \"@/utils/functions\";\nimport { asString } from \"@/utils/string-utils\";\nimport { cloneHeaders, setDefaultHeaders } from \"./headers\";\nimport { canHttpMethodAcceptBody, httpMethodEquals } from \"./http-method\";\nimport { isURLSearchParams } from \"./query-string\";\n/* eslint-disable-next-line no-restricted-imports */\nimport nodeFetch from \"node-fetch\";\n/**\n * Default headers to be used in requests.\n */\nconst DEFAULT_HEADERS = {\n \"User-Agent\": `Kir-Antipov/${ACTION_NAME} (https://github.com/Kir-Antipov/${ACTION_NAME}/issues/new)`,\n};\n/**\n * The pre-configured instance of the {@link Fetch} function.\n */\nexport const fetch = createFetch({\n handler: nodeFetch,\n defaultHeaders: DEFAULT_HEADERS,\n});\n/**\n * Creates a new instance of a configurable fetch function with the given options.\n *\n * @param options - Optional settings to configure the new fetch function.\n *\n * @returns A new instance of a {@link ConfigurableFetch} function.\n */\nexport function createFetch(options) {\n const { handler = fetch, baseUrl, defaultHeaders, } = options || {};\n const fetchPipeline = new MiddlewareHandler(handler);\n const configurableFetch = ((url, request) => {\n url = prepareUrl(configurableFetch, url, request);\n request = prepareRequest(configurableFetch, request);\n return fetchPipeline.execute(url, request);\n });\n configurableFetch.baseUrl = baseUrl || handler.baseUrl;\n configurableFetch.defaultHeaders = setDefaultHeaders(cloneHeaders(defaultHeaders), handler.defaultHeaders);\n Object.defineProperty(configurableFetch, \"use\", { value: (middleware) => {\n fetchPipeline.use(middleware);\n return configurableFetch;\n } });\n return configurableFetch;\n}\n/**\n * Prepares a URL to be used in a fetch request.\n *\n * Resolves relative URLs.\n *\n * @param fetch - The {@link ConfigurableFetch} instance.\n * @param url - The URL to be prepared.\n *\n * @returns The prepared URL.\n */\nfunction prepareUrl(fetch, url, request) {\n // Resolve url\n if (fetch.baseUrl && typeof url === \"string\" && url.startsWith(\"/\")) {\n // Wow. In order for `new URL(url, base)` to actually do its job,\n // we need this ugly mess to ensure that path doesn't start with \"/\",\n // and base url does end with \"/\".\n //\n // https://github.com/nodejs/node/issues/18288\n //\n // > So, we can't have a function that everybody needs all the time because of semantical correctness?\n //\n // Yeah, the way to go. Super-cool.\n const urlWithoutSlashOnItsStart = url.slice(1);\n const baseUrl = asString(fetch.baseUrl);\n const baseUrlWithSlashOnItsEnd = baseUrl.endsWith(\"/\") ? baseUrl : `${baseUrl}/`;\n url = new URL(urlWithoutSlashOnItsStart, baseUrlWithSlashOnItsEnd);\n }\n // Attach `URLSearchParams` to URL\n if (isURLSearchParams(request?.body) && !canHttpMethodAcceptBody(request?.method)) {\n if (typeof url === \"string\") {\n url = `${url}${url.includes(\"?\") ? \"&\" : \"?\"}${request.body}`;\n }\n else {\n request.body.forEach((param, key) => url.searchParams.append(key, param));\n }\n }\n return url;\n}\n/**\n * Prepares an HTTP request with the default headers from a {@link ConfigurableFetch} instance.\n *\n * @param fetch - The {@link ConfigurableFetch} instance.\n * @param request - The optional {@link HttpRequest} to be prepared.\n *\n * @returns The prepared {@link HttpRequest} with default headers applied.\n */\nfunction prepareRequest(fetch, request) {\n // Set default headers\n if (fetch.defaultHeaders) {\n request ||= {};\n request.headers = setDefaultHeaders(request.headers, fetch.defaultHeaders);\n }\n // Remove body from GET/HEAD requests\n if (request?.body && !canHttpMethodAcceptBody(request.method)) {\n delete request.body;\n }\n return request;\n}\n/**\n * Checks whether two fetch destinations (URLs) are equal.\n *\n * @param left - The first fetch URL or a tuple containing the URL and an `HttpRequest` or `HttpMethod`.\n * @param right - The second fetch URL or a tuple containing the URL and an `HttpRequest` or `HttpMethod`.\n *\n * @returns A boolean indicating whether the destinations are the same.\n */\nexport function fetchDestinationEquals(left, right) {\n const [leftUrl, leftMethod] = Array.isArray(left) ? [normalizeUrl(left[0]), normalizeHttpMethod(left[1])] : [normalizeUrl(left)];\n const [rightUrl, rightMethod] = Array.isArray(right) ? [normalizeUrl(right[0]), normalizeHttpMethod(right[1])] : [normalizeUrl(right)];\n return httpMethodEquals(leftMethod, rightMethod) && leftUrl === rightUrl;\n}\n/**\n * Normalizes a fetch URL, converting it to a string if necessary.\n *\n * @param url - The fetch URL to normalize.\n *\n * @returns A normalized string URL.\n */\nfunction normalizeUrl(url) {\n const urlString = asString(url);\n const separatorIndex = urlString.indexOf(\"?\");\n return separatorIndex >= 0 ? urlString.substring(0, separatorIndex) : urlString;\n}\n/**\n * Normalizes an HTTP method, extracting it from an `HttpRequest` if necessary.\n *\n * @param method - The `HttpMethod` or `HttpRequest` to normalize.\n *\n * @returns A normalized `HttpMethod`.\n */\nfunction normalizeHttpMethod(method) {\n return typeof method === \"string\" ? method : method?.method;\n}\n","import { ArgumentNullError } from \"@/utils/errors\";\nimport { asString } from \"@/utils/string-utils\";\n/* eslint-disable-next-line no-restricted-imports */\nimport { Headers as NodeFetchHeaders, Response } from \"node-fetch\";\n/**\n * Represents the response to an HTTP request.\n */\nexport class HttpResponse {\n /**\n * Private constructor to prevent instantiation.\n */\n constructor() {\n // NO OP\n }\n /**\n * Creates a cached HTTP response from the given response.\n *\n * @param response - The HTTP response to be cached.\n *\n * @returns A cached version of the given HTTP response.\n */\n static cache(response) {\n return response instanceof CachedHttpResponse ? response : new CachedHttpResponse(response);\n }\n /**\n * Creates a new {@link HttpResponse} with a `Blob` body.\n *\n * @param blob - The `Blob` instance to be used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static blob(blob, options) {\n return HttpResponse.content(blob, \"application/octet-stream\", options);\n }\n /**\n * Creates a new {@link HttpResponse} with a `FormData` body.\n *\n * @param formData - The `FormData` instance to be used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static formData(formData, options) {\n // Response constructor will automatically set the \"Content-Type\" header.\n return HttpResponse.content(formData, undefined, options);\n }\n /**\n * Creates a new {@link HttpResponse} with a JSON body.\n *\n * @param data - The data to be serialized as JSON and used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static json(data, options) {\n const serialized = typeof data === \"string\" ? data : JSON.stringify(data);\n return HttpResponse.content(serialized, \"application/json\", options);\n }\n /**\n * Creates a new {@link HttpResponse} with a text body.\n *\n * @param text - The text to be used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static text(text, options) {\n return HttpResponse.content(asString(text), \"text/plain\", options);\n }\n /**\n * Creates a new {@link HttpResponse} with a redirection status.\n *\n * @param url - The URL to redirect to.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static redirect(url, options) {\n const headers = new NodeFetchHeaders(options?.headers);\n if (!headers.has(\"Location\")) {\n headers.set(\"Location\", asString(url));\n }\n const redirectOptions = {\n headers,\n status: options.status ?? 302,\n statusText: options.statusText ?? \"Found\",\n };\n return new Response(\"\", redirectOptions);\n }\n /**\n * Creates a new {@link HttpResponse} representing an error.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static error() {\n return Response.error();\n }\n /**\n * Creates a new {@link HttpResponse} with the given content and content type.\n *\n * @param data - The data to be used as the response body.\n * @param contentType - The MIME type of the content.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static content(data, contentType, options) {\n ArgumentNullError.throwIfNull(data);\n const headers = new NodeFetchHeaders(options?.headers);\n if (contentType && !headers.has(\"Content-Type\")) {\n headers.set(\"Content-Type\", contentType);\n }\n return new Response(data, { status: options?.status, statusText: options?.statusText, headers });\n }\n}\n/**\n * Represents a cached version of an HTTP response.\n */\nclass CachedHttpResponse {\n /**\n * The original HttpResponse instance.\n */\n _response;\n /**\n * The cached Blob of the response body.\n */\n _blob;\n /**\n * The cached FormData of the response body.\n */\n _formData;\n /**\n * Creates a new {@link CachedHttpResponse} instance.\n *\n * @param response - The {@link HttpResponse} to be cached.\n */\n constructor(response) {\n this._response = response;\n }\n /**\n * @inheritdoc\n */\n get body() {\n if (this._blob) {\n return this._blob.stream();\n }\n if (!this._response.bodyUsed) {\n return this._response.body;\n }\n throw new Error(\"Cannot re-read the response body.\");\n }\n /**\n * @inheritdoc\n */\n get bodyUsed() {\n return !this._blob && !this._formData && this._response.bodyUsed;\n }\n /**\n * @inheritdoc\n */\n get headers() {\n return this._response.headers;\n }\n /**\n * @inheritdoc\n */\n get ok() {\n return this._response.ok;\n }\n /**\n * @inheritdoc\n */\n get redirected() {\n return this._response.redirected;\n }\n /**\n * @inheritdoc\n */\n get status() {\n return this._response.status;\n }\n /**\n * @inheritdoc\n */\n get statusText() {\n return this._response.statusText;\n }\n /**\n * @inheritdoc\n */\n get type() {\n return this._response.type;\n }\n /**\n * @inheritdoc\n */\n get url() {\n return this._response.url;\n }\n /**\n * @inheritdoc\n */\n clone() {\n return this;\n }\n /**\n * @inheritdoc\n */\n async arrayBuffer() {\n const blob = await this.blob();\n return await blob.arrayBuffer();\n }\n /**\n * @inheritdoc\n */\n async blob() {\n if (this._blob) {\n return this._blob;\n }\n if (!this._response.bodyUsed) {\n this._blob = await this._response.blob();\n return this._blob;\n }\n throw new TypeError(\"Cannot re-read the response as a Blob.\");\n }\n /**\n * @inheritdoc\n */\n async formData() {\n if (this._formData) {\n return this._formData;\n }\n if (!this._response.bodyUsed) {\n this._formData = await this._response.formData();\n return this._formData;\n }\n throw new TypeError(\"Cannot re-read the response as a FormData.\");\n }\n /**\n * @inheritdoc\n */\n async json() {\n const text = await this.text();\n return JSON.parse(text);\n }\n /**\n * @inheritdoc\n */\n async text() {\n const blob = await this.blob();\n return await blob.text();\n }\n}\n","import { ArrayMap } from \"@/utils/collections\";\nimport { HttpError } from \"@/utils/errors\";\nimport { asString } from \"@/utils/string-utils\";\nimport { httpMethodEquals } from \"./http-method\";\nimport { HttpResponse } from \"./http-response\";\n/**\n * Creates a middleware function that provides a default response to\n * HTTP requests based on the provided options.\n *\n * The default behavior is to apply a default response when the HTTP response status is `404`.\n *\n * @param options - Configuration options for the default response behavior.\n *\n * @returns A middleware function that applies the default response logic.\n */\nexport function defaultResponse(options) {\n const { filter = (r) => r.status === 404, response: responseFactory = (r) => HttpResponse.text(\"\", r), } = options || {};\n return async (url, options, next) => {\n const response = await next(url, options);\n if (filter(response)) {\n return responseFactory(response);\n }\n return response;\n };\n}\n/**\n * Middleware that throws an error for certain HTTP responses based on the provided options.\n *\n * The default behavior is to throw an error when the HTTP response has a non-ok (not 2xx) status.\n *\n * @param options - Configuration options for the error throwing behavior.\n *\n * @returns A middleware function that applies the error throwing logic.\n */\nexport function throwOnError(options) {\n const { filter = (r) => !r.ok, error = HttpError.fromResponse, } = options || {};\n return async (url, options, next) => {\n const response = await next(url, options);\n if (filter(response)) {\n const errorInstance = typeof error === \"function\" ? (await error(response)) : error;\n throw errorInstance;\n }\n return response;\n };\n}\n/**\n * The default cache filter function.\n *\n * It checks if the URL has a \"cache\" query parameter.\n * If the \"cache\" parameter is present without a value or with a value of \"true\" (case-insensitive),\n * the request will be cached. Otherwise, the request will not be cached.\n */\nconst DEFAULT_CACHE_FILTER = (url) => typeof url === \"string\" ? url.includes(\"cache=true\") : (url.searchParams.get(\"cache\") === \"true\");\n/**\n * The default cache key comparer function.\n *\n * It checks if the URL and HTTP method of the two requests are equal.\n * If they are equal, the response will be retrieved from the cache.\n * Otherwise, the response will not be retrieved from the cache.\n */\nconst DEFAULT_CACHE_COMPARER = (left, right) => {\n return httpMethodEquals(left[1]?.method, right[1]?.method) && asString(left[0]) === asString(right[0]);\n};\n/**\n * Creates a simple cache middleware for caching HTTP responses.\n *\n * The middleware intercepts requests and caches their responses based on the provided filter and comparer functions.\n *\n * By default, it caches requests with a \"cache\" query parameter set to \"true\" or an empty value\n * based on their URL and HTTP method.\n *\n * @param options - Configuration options for caching behavior.\n *\n * @returns A middleware function that enables response caching.\n */\nexport function simpleCache(options) {\n const { filter = DEFAULT_CACHE_FILTER, comparer = DEFAULT_CACHE_COMPARER, } = options || {};\n const cache = new ArrayMap(comparer);\n return async (url, request, next) => {\n if (!filter(url, request)) {\n return await next(url, request);\n }\n const cacheKey = [url, request];\n const cachedResponse = cache.get(cacheKey);\n if (cachedResponse) {\n return cachedResponse;\n }\n const response = HttpResponse.cache(await next(url, request));\n cache.set(cacheKey, response);\n return response;\n };\n}\n","import { isFormData, toFormData } from \"./form-data\";\nimport { inferHttpRequestBodyHeaders, setDefaultHeaders, setHeader } from \"./headers\";\nimport { isGetHttpMethod } from \"./http-method\";\nimport { isHttpRequestBody } from \"./http-request-body\";\nimport { QueryString, isURLSearchParams } from \"./query-string\";\n/**\n * Represents an HTTP request configuration.\n */\nexport class HttpRequest {\n /**\n * Private constructor to prevent instantiation.\n */\n constructor() {\n // NO OP\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a GET request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static get(options) {\n return new HttpRequestBuilder(\"GET\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a POST request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static post(options) {\n return new HttpRequestBuilder(\"POST\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a PATCH request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static patch(options) {\n return new HttpRequestBuilder(\"PATCH\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a PUT request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static put(options) {\n return new HttpRequestBuilder(\"PUT\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a DELETE request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static delete(options) {\n return new HttpRequestBuilder(\"DELETE\", options);\n }\n}\n/**\n * Class to build and configure HTTP requests.\n */\nclass HttpRequestBuilder {\n /**\n * @inheritdoc\n */\n method;\n /**\n * @inheritdoc\n */\n body;\n /**\n * @inheritdoc\n */\n headers;\n /**\n * @inheritdoc\n */\n redirect;\n /**\n * @inheritdoc\n */\n signal;\n /**\n * @inheritdoc\n */\n referrer;\n /**\n * @inheritdoc\n */\n referrerPolicy;\n /**\n * Constructs a new `HttpRequestBuilder` instance.\n *\n * @param method - The HTTP method for the request.\n * @param options - The optional request configuration.\n */\n constructor(method, options) {\n Object.assign(this, options);\n this.method = method;\n }\n /**\n * Sets the request data based on the request method.\n *\n * If the request method is a GET request, the data is set as URL parameters.\n * For non-GET requests, the data is set as the request body in a suitable format (`FormData`, for example).\n *\n * If the provided data is a string and the request method is GET, the data will be set as\n * URL parameters. For non-GET requests, the data will be set as a plain text request body.\n *\n * If the provided data is an iterable or a record, and the request method is GET, the data\n * will be converted into URL parameters. For non-GET requests, the data will be converted\n * into a `FormData` object.\n *\n * @param data - The data to be sent with the request.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n with(data) {\n if (typeof data === \"string\") {\n return isGetHttpMethod(this.method) ? this.urlParams(data) : this.text(data);\n }\n if (data === undefined || data === null || isHttpRequestBody(data)) {\n this.body = data ?? undefined;\n const bodyHeaders = inferHttpRequestBodyHeaders(this.body);\n this.headers = setDefaultHeaders(this.headers, bodyHeaders);\n return this;\n }\n return isGetHttpMethod(this.method) ? this.urlParams(data) : this.formData(data);\n }\n /**\n * Sets the request URL parameters.\n *\n * @param params - The URL parameters.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n urlParams(params) {\n if (!isURLSearchParams(params)) {\n params = new QueryString(params);\n }\n this.body = params;\n return this;\n }\n /**\n * Sets the request body as a `FormData` object.\n *\n * @param data - The `FormData` content.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n formData(data) {\n if (!isFormData(data)) {\n data = toFormData(data);\n }\n this.body = data;\n return this;\n }\n /**\n * Sets the request body as a JSON string.\n *\n * @param obj - The JSON object or string to be sent as the request body.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n json(obj) {\n const serialized = typeof obj === \"string\" ? obj : JSON.stringify(obj);\n this.body = serialized;\n this.headers = setHeader(this.headers, \"Content-Type\", \"application/json\");\n return this;\n }\n /**\n * Sets the request body as a plain text string.\n *\n * @param text - The text to be sent as the request body.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n text(text) {\n this.body = text;\n this.headers = setHeader(this.headers, \"Content-Type\", \"text/plain\");\n return this;\n }\n /**\n * Sets an `AbortSignal` to cancel the request.\n *\n * @param signal - The `AbortSignal` to cancel the request.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n abort(signal) {\n this.signal = signal;\n return this;\n }\n /**\n * Sets a timeout for the request.\n *\n * @param ms - The timeout duration in milliseconds.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n timeout(ms) {\n return this.abort(AbortSignal.timeout(ms));\n }\n /**\n * Sets a single request header.\n *\n * @param header - The header name.\n * @param value - The header value.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n header(header, value) {\n this.headers = setHeader(this.headers, header, value);\n return this;\n }\n}\n","/* eslint-disable no-cond-assign */\nimport { asArrayLike, isIterable } from \"@/utils/collections\";\nimport { noneVersionRange, parseVersionRange } from \"@/utils/versioning\";\nimport { MinecraftVersionType } from \"./minecraft-version-type\";\n/**\n * The regular expression pattern to match various Minecraft version strings.\n */\nconst VERSION_PATTERN = (\"0\\\\.\\\\d+(?:\\\\.\\\\d+)?a?(?:_\\\\d+)?|\" +\n \"\\\\d+\\\\.\\\\d+(?:\\\\.\\\\d+)?(?:-pre\\\\d+| Pre-[Rr]elease \\\\d+|-rc\\\\d+| [Rr]elease Candidate \\\\d+)?|\" +\n \"\\\\d+w\\\\d+(?:[a-z]+|~)|\" +\n \"[a-c]\\\\d\\\\.\\\\d+(?:\\\\.\\\\d+)?[a-z]?(?:_\\\\d+)?[a-z]?|\" +\n \"(Alpha|Beta) v?\\\\d+\\\\.\\\\d+(?:\\\\.\\\\d+)?[a-z]?(?:_\\\\d+)?[a-z]?|\" +\n \"Inf?dev (?:0\\\\.31 )?\\\\d+(?:-\\\\d+)?|\" +\n \"(?:rd|inf)-\\\\d+|\" +\n \"(?:.*[Ee]xperimental [Ss]napshot )(?:\\\\d+)\");\n/**\n * Regular expression for matching and validating Minecraft version strings.\n */\nconst VERSION_REGEX = new RegExp(VERSION_PATTERN);\n/**\n * Regular expression for matching and validating release Minecraft versions.\n */\nconst RELEASE_REGEX = /\\d+\\.\\d+(\\.\\d+)?/;\n/**\n * Regular expression for matching and validating pre-release Minecraft versions.\n */\nconst PRE_RELEASE_REGEX = /.+(?:-pre| Pre-[Rr]elease )(\\d+)/;\n/**\n * Regular expression for matching and validating release candidate Minecraft versions.\n */\nconst RELEASE_CANDIDATE_REGEX = /.+(?:-rc| [Rr]elease Candidate )(\\d+)/;\n/**\n * Regular expression for matching and validating snapshot Minecraft versions.\n */\nconst SNAPSHOT_REGEX = /(?:Snapshot )?(\\d+)w0?(0|[1-9]\\d*)([a-z])/;\n/**\n * Regular expression for matching and validating experimental snapshot Minecraft versions.\n */\nconst EXPERIMENTAL_REGEX = /(?:.*[Ee]xperimental [Ss]napshot )(\\d+)/;\n/**\n * Regular expression for matching and validating beta Minecraft versions.\n */\nconst BETA_REGEX = /(?:b|Beta v?)1\\.(\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?)/;\n/**\n * Regular expression for matching and validating alpha Minecraft versions.\n */\nconst ALPHA_REGEX = /(?:a|Alpha v?)[01]\\.(\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?)/;\n/**\n * Regular expression for matching and validating in-development Minecraft versions.\n */\nconst INDEV_REGEX = /(?:inf-|Inf?dev )(?:0\\.31 )?(\\d+(-\\d+)?)/;\n/**\n * Represents the range of legacy Minecraft versions.\n *\n * It is used to determine if a given Minecraft version string is considered a legacy version or not.\n * In our case, versions less than or equal to `1.16` are considered legacy.\n */\nconst LEGACY_VERSION_RANGE = parseVersionRange(\"<=1.16\");\n/**\n * A map of special Minecraft versions (e.g., April Fools' ones) and their normalized counterparts.\n */\nconst SPECIAL_VERSIONS = new Map([\n [\"13w12~\", \"1.5.1-alpha.13.12.a\"],\n [\"2point0_red\", \"1.5.2-red\"],\n [\"2point0_purple\", \"1.5.2-purple\"],\n [\"2point0_blue\", \"1.5.2-blue\"],\n [\"15w14a\", \"1.8.4-alpha.15.14.a+loveandhugs\"],\n [\"1.RV-Pre1\", \"1.9.2-rv+trendy\"],\n [\"3D Shareware v1.34\", \"1.14-alpha.19.13.shareware\"],\n [\"1.14.3 - Combat Test\", \"1.14.3-rc.4.combat.1\"],\n [\"Combat Test 2\", \"1.14.5-combat.2\"],\n [\"Combat Test 3\", \"1.14.5-combat.3\"],\n [\"Combat Test 4\", \"1.15-rc.3.combat.4\"],\n [\"Combat Test 5\", \"1.15.2-rc.2.combat.5\"],\n [\"20w14~\", \"1.16-alpha.20.13.inf\"],\n [\"20w14infinite\", \"1.16-alpha.20.13.inf\"],\n [\"Combat Test 6\", \"1.16.2-beta.3.combat.6\"],\n [\"Combat Test 7\", \"1.16.3-combat.7\"],\n [\"1.16_combat-2\", \"1.16.3-combat.7.b\"],\n [\"1.16_combat-3\", \"1.16.3-combat.7.c\"],\n [\"1.16_combat-4\", \"1.16.3-combat.8\"],\n [\"1.16_combat-5\", \"1.16.3-combat.8.b\"],\n [\"1.16_combat-6\", \"1.16.3-combat.8.c\"],\n [\"22w13oneblockatatime\", \"1.19-alpha.22.13.oneblockatatime\"],\n [\"23w13a_or_b\", \"1.20-alpha.23.13.ab\"],\n]);\n/**\n * Normalizes a given Minecraft version string.\n *\n * @param version - The Minecraft version string to normalize.\n * @param versions - Optional Minecraft version manifest entries.\n * @param index - Optional index of the Minecraft version in the manifest entries.\n *\n * @returns The normalized Minecraft version string.\n */\nexport function normalizeMinecraftVersion(version, versions, index) {\n const releaseVersion = versions ? findNearestReleaseMinecraftVersion(versions, index) : version.match(RELEASE_REGEX)?.[0];\n return normalizeUnknownMinecraftVersion(version, releaseVersion);\n}\n/**\n * Normalizes a Minecraft version range.\n *\n * @param range - The version range to normalize.\n * @param versions - A map of Minecraft versions and their corresponding ids.\n * @param versionRegex - A regular expression for matching Minecraft versions.\n *\n * @returns The normalized Minecraft version range.\n */\nexport function normalizeMinecraftVersionRange(range, versions, versionRegex) {\n if (!isIterable(range)) {\n return range;\n }\n const ranges = typeof range === \"string\" ? [range] : asArrayLike(range);\n const normalizedRanges = ranges.map((r) => r.replaceAll(versionRegex, x => {\n const version = versions.get(x);\n if (version) {\n return String(version.version);\n }\n return normalizeMinecraftVersion(x);\n }));\n return parseVersionRange(normalizedRanges) || noneVersionRange(normalizedRanges.join(\" || \"));\n}\n/**\n * Generates a regular expression for matching Minecraft versions.\n *\n * @param versions - Optional collection of Minecraft versions that should satisfy the resulting regex.\n *\n * @returns A regular expression for matching Minecraft versions.\n */\nexport function getMinecraftVersionRegExp(versions) {\n if (!versions) {\n return VERSION_REGEX;\n }\n let pattern = VERSION_PATTERN;\n for (const version of versions) {\n if (version.match(VERSION_REGEX)?.[0] !== version) {\n pattern = `${version.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\")}|${pattern}`;\n }\n }\n return new RegExp(pattern, \"gs\");\n}\n/**\n * Normalizes an unknown Minecraft version.\n *\n * The normalization process formats the version string to provide better compatibility with\n * FabricMC's normalization scheme. This may involve appending the release version, converting\n * snapshot, experimental, or pre-release information, or transforming old version strings.\n *\n * @param version - The Minecraft version string to normalize.\n * @param releaseVersion - Optional release version string for context.\n *\n * @returns The normalized Minecraft version string.\n *\n * @remarks\n *\n * Original algorithm from FabricMC:\n * https://github.com/FabricMC/fabric-loader/blob/HEAD/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java\n */\nfunction normalizeUnknownMinecraftVersion(version, releaseVersion) {\n if (SPECIAL_VERSIONS.has(version)) {\n return SPECIAL_VERSIONS.get(version);\n }\n if (!releaseVersion || version === releaseVersion || version.substring(1).startsWith(releaseVersion)) {\n return normalizeOldMinecraftVersion(version);\n }\n let match;\n if (match = version.match(EXPERIMENTAL_REGEX)) {\n return `${releaseVersion}-Experimental.${match[1]}`;\n }\n if (version.startsWith(releaseVersion)) {\n if (match = version.match(RELEASE_CANDIDATE_REGEX)) {\n const rcBuild = releaseVersion === \"1.16\" ? String(8 + (+match[1])) : match[1];\n version = `rc.${rcBuild}`;\n }\n else if (match = version.match(PRE_RELEASE_REGEX)) {\n const isLegacy = isLegacyMinecraftVersion(releaseVersion);\n version = `${isLegacy ? \"rc\" : \"beta\"}.${match[1]}`;\n }\n }\n else if (match = version.match(SNAPSHOT_REGEX)) {\n version = `alpha.${match[1]}.${match[2]}.${match[3]}`;\n }\n else {\n version = normalizeOldMinecraftVersion(version);\n }\n if (version.startsWith(`${releaseVersion}-`)) {\n return version;\n }\n return `${releaseVersion}-${version}`;\n}\n/**\n * Normalizes an old Minecraft version by converting version components like alpha, beta,\n * and indev to a more standard format, as well as removing unnecessary characters and correcting\n * the separator placements.\n *\n * @param version - The old Minecraft version string to normalize.\n *\n * @returns The normalized Minecraft version string.\n */\nfunction normalizeOldMinecraftVersion(version) {\n let matcher;\n if (matcher = version.match(BETA_REGEX)) {\n version = `1.0.0-beta.${matcher[1]}`;\n }\n else if (matcher = version.match(ALPHA_REGEX)) {\n version = `1.0.0-alpha.${matcher[1]}`;\n }\n else if (matcher = version.match(INDEV_REGEX)) {\n version = `0.31.${matcher[1]}`;\n }\n else if (version.startsWith(\"c0.\")) {\n version = version.substring(1);\n }\n else if (version.startsWith(\"rd-\")) {\n version = version.substring(3);\n if (version === \"20090515\") {\n version = \"150000\";\n }\n version = `0.0.0-rd.${version}`;\n }\n let normalized = \"\";\n let wasDigit = false;\n let wasLeadingZero = false;\n let wasSeparator = false;\n let hasHyphen = false;\n for (let i = 0; i < version.length; ++i) {\n let c = version.charAt(i);\n if (c >= \"0\" && c <= \"9\") {\n if (i > 0 && !wasDigit && !wasSeparator) {\n normalized += \".\";\n }\n else if (wasDigit && wasLeadingZero) {\n normalized = normalized.substring(0, normalized.length - 1);\n }\n wasLeadingZero = c === \"0\" && (!wasDigit || wasLeadingZero);\n wasSeparator = false;\n wasDigit = true;\n }\n else if (c === \".\" || c === \"-\") {\n if (wasSeparator) {\n continue;\n }\n wasSeparator = true;\n wasDigit = false;\n }\n else if ((c < \"A\" || c > \"Z\") && (c < \"a\" || c > \"z\")) {\n if (wasSeparator) {\n continue;\n }\n c = \".\";\n wasSeparator = true;\n wasDigit = false;\n }\n else {\n if (wasDigit) {\n normalized += hasHyphen ? \".\" : \"-\";\n hasHyphen = true;\n }\n wasSeparator = false;\n wasDigit = false;\n }\n if (c === \"-\") {\n hasHyphen = true;\n }\n normalized += c;\n }\n let start = 0;\n while (start < normalized.length && normalized.charAt(start) === \".\") {\n ++start;\n }\n let end = normalized.length;\n while (end > start && normalized.charAt(end - 1) === \".\") {\n --end;\n }\n return normalized.substring(start, end);\n}\n/**\n * Finds the nearest release Minecraft version to a given index in the provided version manifest entries.\n *\n * This is used to determine the release version context for non-release versions (e.g., snapshots).\n *\n * @param versions - An array of Minecraft version manifest entries.\n * @param index - The index of the version for which to find the nearest release version.\n *\n * @returns The nearest release Minecraft version string, or `undefined` if not found.\n */\nfunction findNearestReleaseMinecraftVersion(versions, index) {\n if (versions[index].type === MinecraftVersionType.RELEASE) {\n return versions[index].id;\n }\n if (versions[index].type !== MinecraftVersionType.SNAPSHOT) {\n return undefined;\n }\n const match = versions[index].id.match(RELEASE_REGEX);\n if (match) {\n return match[0];\n }\n const snapshot = versions[index].id.match(SNAPSHOT_REGEX);\n if (snapshot) {\n const year = +snapshot[1];\n const week = +snapshot[2];\n const hardcodedSnapshotVersion = findNearestReleaseMinecraftVersionBySnapshotDate(year, week);\n if (hardcodedSnapshotVersion) {\n return hardcodedSnapshotVersion;\n }\n }\n for (let i = index - 1; i >= 0; --i) {\n if (versions[i].type === MinecraftVersionType.RELEASE) {\n return versions[i].id;\n }\n }\n for (let i = index + 1; i < versions.length; ++i) {\n if (versions[i].type !== MinecraftVersionType.RELEASE) {\n continue;\n }\n const match = versions[i].id.match(/(\\d+)\\.(\\d+)(?:\\.(\\d+))?/);\n if (match) {\n return `${match[1]}.${match[2]}.${(+match[3] || 0) + 1}`;\n }\n }\n return undefined;\n}\n/**\n * Finds the nearest release Minecraft version based on the snapshot year and week.\n *\n * This function is required because the order of versions in the version manifest may not\n * always correspond to their actual release order, especially for older versions.\n * By using hardcoded release versions for specific date ranges, we can determine the nearest\n * release version more accurately for certain snapshots.\n *\n * @param year - The snapshot year.\n * @param week - The snapshot week.\n *\n * @returns The nearest release Minecraft version string, or `undefined` if not found.\n *\n * @remarks\n *\n * Original algorithm from FabricMC:\n * https://github.com/FabricMC/fabric-loader/blob/HEAD/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java#L267\n */\nfunction findNearestReleaseMinecraftVersionBySnapshotDate(year, week) {\n if (year === 23 && week >= 12) {\n return \"1.20\";\n }\n if (year === 20 && week >= 45 || year === 21 && week <= 20) {\n return \"1.17\";\n }\n if (year === 15 && week >= 31 || year === 16 && week <= 7) {\n return \"1.9\";\n }\n if (year === 14 && week >= 2 && week <= 34) {\n return \"1.8\";\n }\n if (year === 13 && week >= 47 && week <= 49) {\n return \"1.7.4\";\n }\n if (year === 13 && week >= 36 && week <= 43) {\n return \"1.7.2\";\n }\n if (year === 13 && week >= 16 && week <= 26) {\n return \"1.6\";\n }\n return undefined;\n}\n/**\n * Determines if a Minecraft version is considered legacy based on its version string.\n *\n * @param version - The Minecraft version string to evaluate.\n *\n * @returns `true` if the version is considered legacy; otherwise, `false`.\n */\nfunction isLegacyMinecraftVersion(version) {\n return LEGACY_VERSION_RANGE.includes(version);\n}\n","import { createFetch, throwOnError } from \"@/utils/net\";\nimport { parseVersion } from \"@/utils/versioning\";\nimport { $i } from \"@/utils/collections\";\nimport { MinecraftVersion, getMinecraftVersionManifestEntries } from \"./minecraft-version\";\nimport { getMinecraftVersionRegExp, normalizeMinecraftVersion, normalizeMinecraftVersionRange } from \"./minecraft-version-lookup\";\n/**\n * The default base URL for the Mojang API.\n */\nexport const MOJANG_API_URL = \"https://piston-meta.mojang.com/mc\";\n/**\n * A client for interacting with the Mojang API.\n */\nexport class MojangApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * A cached map of all available Minecraft versions.\n */\n _versions;\n /**\n * A cached regular expression for matching Minecraft version strings.\n */\n _versionRegExp;\n /**\n * Creates a new {@link MojangApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || MOJANG_API_URL,\n })\n .use(throwOnError());\n }\n /**\n * Retrieves a specific Minecraft version by its ID.\n *\n * @param id - The ID of the Minecraft version to retrieve.\n *\n * @returns A promise that resolves to the Minecraft version, or `undefined` if not found.\n */\n async getMinecraftVersion(id) {\n const versions = await this.getAllMinecraftVersions();\n const version = versions.get(id);\n if (version) {\n return version;\n }\n const versionRange = await this.getMinecraftVersions(id);\n return versionRange[0];\n }\n /**\n * Retrieves a list of Minecraft versions that match the specified range.\n *\n * @param range - A version range to match.\n *\n * @returns A promise that resolves to an array of matching Minecraft versions.\n */\n async getMinecraftVersions(range) {\n const versions = await this.getAllMinecraftVersions();\n const regex = await this.getMinecraftVersionRegExp();\n const normalizedRange = normalizeMinecraftVersionRange(range, versions, regex);\n return $i(versions.values()).filter(x => normalizedRange.includes(x.version)).toArray();\n }\n /**\n * Retrieves all available Minecraft versions.\n *\n * @returns A promise that resolves to a map of Minecraft versions keyed by their IDs.\n */\n async getAllMinecraftVersions() {\n if (this._versions) {\n return this._versions;\n }\n const response = await this._fetch(\"/game/version_manifest_v2.json\");\n const manifest = await response.json();\n const manifestEntries = getMinecraftVersionManifestEntries(manifest);\n const versions = manifestEntries.map((entry, i, self) => {\n const normalizedVersion = normalizeMinecraftVersion(entry.id, self, i);\n const version = parseVersion(normalizedVersion);\n return new MinecraftVersion(entry.id, version, entry.type, entry.url, entry.releaseDate);\n });\n this._versions = new Map(versions.map(x => [x.id, x]));\n return this._versions;\n }\n /**\n * Retrieves a regular expression for matching Minecraft version strings.\n *\n * @returns A promise that resolves to a `RegExp` for matching Minecraft version strings.\n */\n async getMinecraftVersionRegExp() {\n if (this._versionRegExp) {\n return this._versionRegExp;\n }\n const versions = await this.getAllMinecraftVersions();\n this._versionRegExp = getMinecraftVersionRegExp(versions.keys());\n return this._versionRegExp;\n }\n}\n","import { MojangApiClient } from \"./mojang-api-client\";\n/**\n * A {@link GameVersionProvider} implementation that uses the Mojang API client to fetch Minecraft versions.\n */\nexport const MINECRAFT_VERSION_PROVIDER = MojangApiClient.prototype.getMinecraftVersions.bind(new MojangApiClient());\n","/**\n * The name of the Minecraft game.\n */\nexport const MINECRAFT = \"minecraft\";\n","import { MINECRAFT, MINECRAFT_VERSION_PROVIDER } from \"./minecraft\";\n/**\n * A map of game version providers keyed by game name.\n */\nconst GAME_VERSION_PROVIDERS = new Map([\n [MINECRAFT, MINECRAFT_VERSION_PROVIDER],\n]);\n/**\n * Returns the game version provider for the given game name.\n *\n * @param name - The name of the game.\n *\n * @returns The {@link GameVersionProvider} for the given game name, or `undefined` if it does not exist.\n */\nexport function getGameVersionProviderByName(name) {\n return GAME_VERSION_PROVIDERS.get(name);\n}\n","import { isError } from \"@/utils/errors\";\n/**\n * Checks if the given object is a {@link Promise}.\n *\n * @template T - The type of value that the `Promise` would return upon resolution.\n *\n * @param obj - The object to check.\n *\n * @returns `true` if the object is a `Promise`; otherwise, `false`.\n */\nexport function isPromise(obj) {\n return typeof obj?.then === \"function\";\n}\n/**\n * Sleep for the specified amount of time in milliseconds.\n *\n * @param ms - The time in milliseconds to sleep.\n *\n * @returns A {@link Promise} that resolves after the specified time.\n */\nexport function sleep(ms) {\n // Technically, it's the HTML Standard,\n // but this rule is also **mostly** true for the NodeJS environment.\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n const MIN_DELAY = 4;\n if (ms < MIN_DELAY) {\n return Promise.resolve();\n }\n return new Promise(resolve => {\n setTimeout(resolve, ms);\n });\n}\n/**\n * Runs a function asynchronously and returns its result.\n *\n * @template T - The type of value returned by the function.\n *\n * @param func - A function to execute asynchronously.\n *\n * @returns A promise that resolves with the return value of the executed function.\n */\nexport async function run(func) {\n return await func();\n}\n/**\n * Safely executes the provided function, returning both the result and error as a tuple.\n *\n * @template T - The type of value returned by the function.\n * @template E - The type of the returned error.\n *\n * @param func - A function or async function to execute safely.\n *\n * @returns A promise resolving to a tuple containing the result and error.\n *\n * - The result is at index 0 and the error is at index 1.\n * - If the function succeeds, the error will be `undefined`.\n * - If the function fails, the result will be `undefined`.\n */\nexport async function runSafely(func) {\n return await run(func)\n .then(value => [value, undefined])\n .catch(error => [undefined, error]);\n}\n/**\n * Executes a given function `func` and retries it if an error occurs.\n *\n * @template T - The type of value returned by the function.\n *\n * @param func - The function to execute and potentially retry.\n * @param options - The options for the retry function.\n *\n * @returns The result of a successful execution of `func`.\n */\nexport async function retry(func, options) {\n const delay = options?.delay ?? 0;\n const maxAttempts = options?.maxAttempts ?? -1;\n const onError = options?.onError;\n let attempts = 0;\n while (true) {\n ++attempts;\n try {\n return await func();\n }\n catch (e) {\n const isNumberOfAttemptsExceeded = maxAttempts >= 0 && attempts >= maxAttempts;\n const isRecoverable = !isNumberOfAttemptsExceeded && await isErrorHandled(e, onError);\n if (!isRecoverable) {\n throw e;\n }\n }\n await sleep(delay);\n }\n}\n/**\n * Checks if an error was handled by the provided error handler function.\n *\n * @param error - The error to check if it's handled.\n * @param handler - The error handler function.\n *\n * @returns A `Promise` resolving to a boolean that represents if the error was handled.\n */\nasync function isErrorHandled(error, handler) {\n if (!isError(error)) {\n return false;\n }\n const handlerOutput = await handler?.(error);\n return handlerOutput || handlerOutput === undefined;\n}\n","import { retry } from \"@/utils/async-utils\";\nimport { ArgumentNullError, isSoftError } from \"@/utils/errors\";\nimport { LoggingStopwatch, NULL_LOGGER } from \"@/utils/logging\";\nimport { fetch } from \"@/utils/net\";\nimport { PlatformType } from \"./platform-type\";\n/**\n * The default number of retry attempts for a failed upload.\n */\nconst DEFAULT_RETRY_ATTEMPTS = 2;\n/**\n * The default delay time (in milliseconds) between retry attempts for a failed upload.\n */\nconst DEFAULT_RETRY_DELAY = 1000;\n/**\n * Base class for platform uploaders.\n *\n * @template TOptions - The type of options that the uploader can utilize.\n * @template TRequest - The type of content that can be uploaded using the uploader.\n * @template TReport - The type of report that is returned after the upload process.\n */\nexport class GenericPlatformUploader {\n /**\n * The logger used by the uploader.\n */\n _logger;\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Constructs a new {@link PlatformUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n this._logger = options?.logger || NULL_LOGGER;\n this._fetch = options?.fetch || fetch;\n }\n /**\n * @inheritdoc\n */\n async upload(request) {\n ArgumentNullError.throwIfNull(request, \"request\");\n ArgumentNullError.throwIfNull(request.token, \"request.token\", `A token is required to upload files to ${PlatformType.friendlyNameOf(this.platform)}.`);\n ArgumentNullError.throwIfNullOrEmpty(request.files, \"request.files\", \"No files to upload were specified. Please include at least one file in the request.\");\n const platformName = PlatformType.friendlyNameOf(this.platform);\n const maxAttempts = request.retryAttempts ?? DEFAULT_RETRY_ATTEMPTS;\n const delay = request.retryDelay ?? DEFAULT_RETRY_DELAY;\n const stopwatch = LoggingStopwatch.startNew(this._logger, () => `📤 Uploading assets to ${platformName}`, ms => `✅ Successfully published assets to ${platformName} in ${ms} ms`);\n const onError = (error) => {\n if (isSoftError(error)) {\n this._logger.error(error);\n this._logger.info(`🔂 Facing difficulties, republishing assets to ${platformName} in ${delay} ms`);\n return true;\n }\n return false;\n };\n const report = await retry(() => this.uploadCore(request), { maxAttempts, delay, onError });\n stopwatch.stop();\n return report;\n }\n /**\n * Converts the specified dependencies to a simpler format.\n *\n * @param dependencies - The list of dependencies to convert.\n * @param typeConverter - The function to use for converting dependency types.\n *\n * @returns An array of dependencies in a simplified format.\n */\n convertToSimpleDependencies(dependencies, typeConverter) {\n return (dependencies || [])\n .filter(x => x && !x.isIgnored(this.platform))\n .map(x => [x.getProjectId(this.platform), typeConverter(x.type)])\n .filter(([id, type]) => id && type);\n }\n}\n","import { DependencyType } from \"@/dependencies\";\nimport { Enum } from \"@/utils/enum\";\n/**\n * Represents the types of dependencies a CurseForge version can have.\n *\n * @partial\n */\nvar CurseForgeDependencyTypeValues;\n(function (CurseForgeDependencyTypeValues) {\n /**\n * A library embedded within the project.\n */\n CurseForgeDependencyTypeValues[\"EMBEDDED_LIBRARY\"] = \"embeddedLibrary\";\n /**\n * A plugin that is incompatible with the project.\n */\n CurseForgeDependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n /**\n * An optional dependency for the project.\n */\n CurseForgeDependencyTypeValues[\"OPTIONAL_DEPENDENCY\"] = \"optionalDependency\";\n /**\n * A required dependency for the project.\n */\n CurseForgeDependencyTypeValues[\"REQUIRED_DEPENDENCY\"] = \"requiredDependency\";\n /**\n * A tool used by the project.\n */\n CurseForgeDependencyTypeValues[\"TOOL\"] = \"tool\";\n})(CurseForgeDependencyTypeValues || (CurseForgeDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the CurseForgeDependencyType enum.\n *\n * @partial\n */\nconst CurseForgeDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the dependency type.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Converts a {@link CurseForgeDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link CurseForgeDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case CurseForgeDependencyType.EMBEDDED_LIBRARY:\n return DependencyType.EMBEDDED;\n case CurseForgeDependencyType.INCOMPATIBLE:\n return DependencyType.INCOMPATIBLE;\n case CurseForgeDependencyType.OPTIONAL_DEPENDENCY:\n return DependencyType.OPTIONAL;\n case CurseForgeDependencyType.REQUIRED_DEPENDENCY:\n return DependencyType.REQUIRED;\n case CurseForgeDependencyType.TOOL:\n return DependencyType.RECOMMENDED;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link CurseForgeDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link CurseForgeDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return CurseForgeDependencyType.REQUIRED_DEPENDENCY;\n case DependencyType.RECOMMENDED:\n return CurseForgeDependencyType.OPTIONAL_DEPENDENCY;\n case DependencyType.EMBEDDED:\n return CurseForgeDependencyType.EMBEDDED_LIBRARY;\n case DependencyType.OPTIONAL:\n return CurseForgeDependencyType.OPTIONAL_DEPENDENCY;\n case DependencyType.CONFLICTING:\n return CurseForgeDependencyType.INCOMPATIBLE;\n case DependencyType.INCOMPATIBLE:\n return CurseForgeDependencyType.INCOMPATIBLE;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with CurseForgeDependencyType.\n *\n * @partial\n */\nconst CurseForgeDependencyTypeMethods = {\n fromDependencyType,\n toDependencyType,\n};\n/**\n * Represents the types of dependencies a CurseForge version can have.\n */\nexport const CurseForgeDependencyType = Enum.create(CurseForgeDependencyTypeValues, CurseForgeDependencyTypeOptions, CurseForgeDependencyTypeMethods);\n","import { isIntegerString } from \"@/utils/string-utils\";\n/**\n * Determines whether the given value is a valid CurseForge project ID.\n *\n * @param idOrSlug - The value to check.\n *\n * @returns `true` if the value is a valid CurseForge project ID; otherwise, `false`.\n */\nexport function isCurseForgeProjectId(idOrSlug) {\n return typeof idOrSlug === \"number\" || isIntegerString(idOrSlug);\n}\n","import { HttpRequest, HttpResponse, createFetch, defaultResponse, throwOnError } from \"@/utils/net\";\nimport { SecureString } from \"@/utils/security\";\nimport { isCurseForgeProjectId } from \"./curseforge-project\";\n/**\n * The API version used for making requests to the CurseForge Eternal API.\n */\nconst CURSEFORGE_ETERNAL_API_VERSION = 1;\n/**\n * The base URL for the CurseForge Eternal API.\n */\nexport const CURSEFORGE_ETERNAL_API_URL = `https://api.curseforge.com/v${CURSEFORGE_ETERNAL_API_VERSION}`;\n/**\n * This is not an API key for an API that requires authentication even for public routes because it wants to track you.\n *\n * Trust me on this one.\n */\nconst DEFINITELY_NOT_AN_API_KEY = SecureString.from(Buffer.from([36, 50, 97, 36, 49, 48, 36, 81, 73, 47, 121, 101, 83, 110, 106, 105, 69, 90, 72, 90, 109, 70, 108, 109, 105, 74, 86, 73, 46, 50, 120, 109, 87, 89, 108, 80, 98, 107, 65, 88, 87, 56, 114, 81, 46, 120, 77, 54, 53, 118, 107, 116, 65, 115, 115, 97, 74, 112, 109, 105])).unwrap();\n/**\n * A client for interacting with the CurseForge Eternal API.\n */\nexport class CurseForgeEternalApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Creates a new {@link CurseForgeEternalApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || CURSEFORGE_ETERNAL_API_URL,\n defaultHeaders: {\n \"X-Api-Key\": options?.token || DEFINITELY_NOT_AN_API_KEY,\n },\n })\n .use(defaultResponse({ response: r => HttpResponse.json(null, r) }))\n .use(throwOnError({ filter: x => !x.ok && x.status !== 404 }));\n }\n /**\n * Fetches a project by its id or slug.\n *\n * @param idOrSlug - The project id or slug.\n *\n * @returns The project, or `undefined` if not found.\n */\n async getProject(idOrSlug) {\n if (!isCurseForgeProjectId(idOrSlug)) {\n const response = await this._fetch(\"/mods/search\", HttpRequest.get().with({ gameId: 432, slug: idOrSlug }));\n return await response.json().then(x => x?.data?.find(y => y.slug === idOrSlug)) ?? undefined;\n }\n const response = await this._fetch(`/mods/${idOrSlug}`);\n return await response.json().then(x => x?.data) ?? undefined;\n }\n}\n","/**\n * Checks if an object is a {@link CurseForgeError}.\n *\n * @param error - The object to check.\n *\n * @returns `true` if the object matches the structure of a CurseForgeError; otherwise, `false`.\n */\nexport function isCurseForgeError(error) {\n const e = error;\n return (!!e &&\n typeof e.errorCode === \"number\" &&\n typeof e.errorMessage === \"string\");\n}\n/**\n * Error code for an invalid project slug.\n */\nconst INVALID_PROJECT_SLUG_ERROR_CODE = 1018;\n/**\n * Regular expression to match invalid project slug errors.\n */\nconst INVALID_PROJECT_SLUG_REGEX = /Invalid slug in project relations: '([^']*)'/;\n/**\n * Checks if an error is an invalid project slug error.\n *\n * @param error - The error to check.\n *\n * @returns `true` if the error is an invalid project slug error; otherwise, `false`.\n */\nexport function isInvalidProjectSlugCurseForgeError(error) {\n return isCurseForgeError(error) && error.errorCode === INVALID_PROJECT_SLUG_ERROR_CODE;\n}\n/**\n * Extracts the invalid project slug from an error.\n *\n * @param error - The error to extract the invalid project slug from.\n *\n * @returns The invalid project slug, or `undefined` if the error is not an invalid project slug error.\n */\nexport function getInvalidProjectSlug(error) {\n return isInvalidProjectSlugCurseForgeError(error) ? error.errorMessage.match(INVALID_PROJECT_SLUG_REGEX)?.[1] : undefined;\n}\n/**\n * Error code for an invalid game version ID.\n */\nconst INVALID_GAME_VERSION_ID_ERROR_CODE = 1009;\n/**\n * Checks if an error is an invalid game version ID error.\n *\n * @param error - The error to check.\n *\n * @returns `true` if the error is an invalid game version ID error; otherwise, `false`.\n */\nexport function isInvalidGameVersionIdCurseForgeError(error) {\n return isCurseForgeError(error) && error.errorCode === INVALID_GAME_VERSION_ID_ERROR_CODE;\n}\n","import { $i } from \"@/utils/collections\";\nimport { IGNORE_CASE_EQUALITY_COMPARER } from \"@/utils/comparison\";\n/**\n * An equality comparer that compares two game version names ignoring the \"-Snapshot\" suffix.\n */\nexport const CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER = (a, b) => {\n const aVersion = a?.replace(\"-Snapshot\", \"\");\n const bVersion = b?.replace(\"-Snapshot\", \"\");\n return aVersion === bVersion;\n};\n/**\n * An equality comparer that compares two game version names by\n * extracting the version numbers (e.g., \"1.0\") and checking if they\n * are the same.\n */\nexport const CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER = (a, b) => {\n const aVersion = a?.match(/\\d+\\.\\d+/)?.[0];\n const bVersion = b?.match(/\\d+\\.\\d+/)?.[0];\n return aVersion === bVersion;\n};\n/**\n * Finds the CurseForge game version IDs that match the provided names using the specified comparers.\n *\n * @param versions - The array of CurseForge game versions.\n * @param names - The array of game version names to find.\n * @param comparer - The primary equality comparer to use for matching names (optional).\n * @param fallbackComparer - The fallback equality comparer to use if the primary comparer fails (optional).\n *\n * @returns An array of matching CurseForge game version IDs.\n */\nexport function findCurseForgeGameVersionIdsByNames(versions, names, comparer, fallbackComparer) {\n comparer ||= IGNORE_CASE_EQUALITY_COMPARER;\n return $i(names)\n .map(name => {\n const version = versions.find(v => comparer(v.name, name));\n if (version || !fallbackComparer) {\n return version;\n }\n return versions.find(v => fallbackComparer(v.name, name));\n })\n .filter(x => x)\n .map(x => x.id)\n .distinct()\n .toArray();\n}\n/**\n * Formats the game version based on its version.\n *\n * @param gameVersion - A game version to format.\n *\n * @returns A formatted string representing the game version.\n */\nexport function formatCurseForgeGameVersion(gameVersion) {\n return `${gameVersion.version.major}.${gameVersion.version.minor}${gameVersion.version.patch ? `.${gameVersion.version.patch}` : \"\"}`;\n}\n/**\n * Formats the game version based on its version and snapshot status.\n *\n * @param gameVersion - A game version to format.\n *\n * @returns A formatted string representing the game version.\n */\nexport function formatCurseForgeGameVersionSnapshot(gameVersion) {\n return `${gameVersion.version.major}.${gameVersion.version.minor}${gameVersion.version.patch ? `.${gameVersion.version.patch}` : \"\"}${gameVersion.isSnapshot ? \"-Snapshot\" : \"\"}`;\n}\n","/**\n * Creates a CurseForge game version map by categorizing game versions based on their type names.\n *\n * @param versions - The array of all CurseForge game versions.\n * @param types - The array of all CurseForge game version types.\n *\n * @returns A game version map with categorized game versions.\n */\nexport function createCurseForgeGameVersionMap(versions, types) {\n return {\n game_versions: filterGameVersionsByTypeName(versions, types, \"minecraft\"),\n game_versions_for_plugins: filterGameVersionsByTypeName(versions, types, \"bukkit\"),\n game_versions_for_addons: filterGameVersionsByTypeName(versions, types, \"addon\"),\n loaders: filterGameVersionsByTypeName(versions, types, \"modloader\"),\n java_versions: filterGameVersionsByTypeName(versions, types, \"java\"),\n environments: filterGameVersionsByTypeName(versions, types, \"environment\"),\n };\n}\n/**\n * Filters game versions by matching their type names.\n *\n * @param versions - The array of all CurseForge game versions.\n * @param types - The array of all CurseForge game version types.\n * @param typeName - The type name to filter by.\n *\n * @returns An array of game versions with matching type names.\n */\nfunction filterGameVersionsByTypeName(versions, types, typeName) {\n const filteredTypes = types.filter(x => x.slug.startsWith(typeName));\n return versions.filter(v => filteredTypes.some(t => t.id === v.gameVersionTypeID));\n}\n","/**\n * A hard-coded Bukkit game version type.\n *\n * @remarks\n *\n * This is needed because, for some inexplicable reason, CurseForge API\n * doesn't include Bukkit in its API response. And then they throw errors\n * when we don't use it ourselves. Amazing. Just absolutely amazing.\n *\n * So, here we are, patching things up ourselves. *sigh*\n */\nexport const BUKKIT_GAME_VERSION_TYPE = {\n id: 1,\n name: \"Bukkit\",\n slug: \"bukkit\",\n};\n","import { FileInfo } from \"@/utils/io\";\nimport { VersionType } from \"@/utils/versioning\";\n/**\n * Packs the CurseForge version initialization data, game version IDs, and file information into a form data object.\n *\n * @param version - The CurseForge version initialization data.\n * @param gameVersions - The supported game version IDs.\n * @param file - The file path or `FileInfo` object for the file to be uploaded.\n * @param parentFileId - The optional ID of the parent file for this version.\n *\n * @returns A form data object containing the packed information.\n */\nexport function packCurseForgeVersionInit(version, gameVersions, file, parentFileId) {\n file = FileInfo.of(file);\n const hasParentFile = typeof parentFileId === \"number\";\n const metadata = {\n changelog: version.changelog || \"\",\n changelogType: version.changelog_type || \"markdown\",\n displayName: (hasParentFile || !version.name) ? file.name : version.name,\n parentFileID: parentFileId,\n gameVersions: hasParentFile ? undefined : (gameVersions || []),\n releaseType: version.version_type || VersionType.RELEASE,\n relations: (hasParentFile || !version.dependencies?.length) ? undefined : { projects: version.dependencies },\n };\n return { file, metadata };\n}\n","import { MINECRAFT_VERSION_PROVIDER } from \"@/games/minecraft\";\nimport { retry } from \"@/utils/async-utils\";\nimport { isHttpError } from \"@/utils/errors\";\nimport { JavaVersion } from \"@/utils/java\";\nimport { HttpRequest, createFetch, simpleCache, throwOnError } from \"@/utils/net\";\nimport { getInvalidProjectSlug, isCurseForgeError, isInvalidGameVersionIdCurseForgeError, isInvalidProjectSlugCurseForgeError } from \"./curseforge-error\";\nimport { CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER, CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER, findCurseForgeGameVersionIdsByNames, formatCurseForgeGameVersion, formatCurseForgeGameVersionSnapshot } from \"./curseforge-game-version\";\nimport { createCurseForgeGameVersionMap } from \"./curseforge-game-version-map\";\nimport { BUKKIT_GAME_VERSION_TYPE } from \"./curseforge-game-version-type\";\nimport { packCurseForgeVersionInit } from \"./curseforge-version\";\n/**\n * The base URL for the CurseForge Upload API.\n */\nexport const CURSEFORGE_UPLOAD_API_URL = \"https://minecraft.curseforge.com/api\";\n/**\n * A client for interacting with the CurseForge Upload API.\n */\nexport class CurseForgeUploadApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * The game version provider.\n */\n _gameVersionProvider;\n /**\n * Creates a new {@link CurseForgeUploadApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || CURSEFORGE_UPLOAD_API_URL,\n defaultHeaders: {\n \"X-Api-Token\": options?.token,\n },\n })\n .use(simpleCache())\n .use(throwOnError());\n this._gameVersionProvider = options?.gameVersionProvider || MINECRAFT_VERSION_PROVIDER;\n }\n /**\n * Fetches a list of game version types.\n *\n * @returns An array of game version types.\n */\n async getGameVersionTypes() {\n const response = await this._fetch(\"/game/version-types?cache=true\");\n const gameVersionTypes = await response.json();\n // Thank you CurseForge for not including Bukkit version type\n // in your API responses and then throwing errors when I don't use it myself!\n if (!gameVersionTypes.some(x => x.id === BUKKIT_GAME_VERSION_TYPE.id)) {\n gameVersionTypes.unshift(BUKKIT_GAME_VERSION_TYPE);\n }\n return gameVersionTypes;\n }\n /**\n * Fetches a list of game versions.\n *\n * @returns An array of game versions.\n */\n async getGameVersions() {\n const response = await this._fetch(\"/game/versions?cache=true\");\n return await response.json();\n }\n /**\n * Retrieves a map of game version categories.\n *\n * @returns A map of game version categories.\n */\n async getGameVersionMap() {\n const versions = await this.getGameVersions();\n const types = await this.getGameVersionTypes();\n return createCurseForgeGameVersionMap(versions, types);\n }\n /**\n * Creates a new version.\n *\n * @param version - The version data.\n *\n * @returns The created version.\n */\n async createVersion(version) {\n const gameVersionIdVariants = await this.getGameVersionIdVariants(version);\n let createdVersion = undefined;\n for (const file of version.files || []) {\n const fileData = {\n version,\n file,\n game_versions: gameVersionIdVariants,\n version_id: createdVersion?.id,\n };\n const uploadedFile = await retry(() => this.uploadFile(fileData), { onError: error => tryHandleUploadError(error, fileData) });\n if (!createdVersion) {\n createdVersion = {\n id: uploadedFile.id,\n project_id: uploadedFile.project_id,\n name: uploadedFile.name,\n files: [],\n };\n }\n createdVersion.files.push(uploadedFile);\n }\n return createdVersion;\n }\n /**\n * Uploads a new file to CurseForge.\n *\n * @param file - The file data to upload.\n *\n * @returns The uploaded file data.\n */\n async uploadFile(file) {\n const projectId = file.version.project_id;\n const form = packCurseForgeVersionInit(file.version, file.game_versions[0], file.file, file.version_id);\n const response = await this._fetch(`/projects/${projectId}/upload-file`, HttpRequest.post().with(form));\n const id = (await response.json()).id;\n return {\n id,\n name: form.metadata.displayName || form.file.name,\n url: `https://www.curseforge.com/api/v1/mods/${projectId}/files/${id}/download`,\n project_id: projectId,\n version_id: file.version_id || id,\n };\n }\n /**\n * Retrieves an array of game version ID variants, based on the provided game version union.\n *\n * @param gameVersionUnion - The game version union to use for finding ID variants.\n *\n * @returns An array of suitable game version IDs.\n */\n async getGameVersionIdVariants(gameVersionUnion) {\n const loaders = gameVersionUnion.loaders || [];\n const javaVersions = gameVersionUnion.java_versions || [];\n const gameVersions = gameVersionUnion.game_versions?.length ? await this._gameVersionProvider(gameVersionUnion.game_versions) : [];\n const map = await this.getGameVersionMap();\n const javaVersionNames = javaVersions.map(x => JavaVersion.of(x).name);\n const gameVersionNames = gameVersions.map(x => formatCurseForgeGameVersionSnapshot(x));\n const pluginGameVersionNames = gameVersions.map(x => formatCurseForgeGameVersion(x));\n // gameVersions for mods\n const gameVersionIds = findCurseForgeGameVersionIdsByNames(map.game_versions, gameVersionNames, undefined, CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER);\n const loaderIds = findCurseForgeGameVersionIdsByNames(map.loaders, loaders);\n const javaIds = findCurseForgeGameVersionIdsByNames(map.java_versions, javaVersionNames);\n // gameVersions for plugins\n const pluginGameVersionIds = findCurseForgeGameVersionIdsByNames(map.game_versions_for_plugins, pluginGameVersionNames, undefined, CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);\n // gameVersions for addons\n const addonGameVersionIds = findCurseForgeGameVersionIdsByNames(map.game_versions_for_addons, pluginGameVersionNames, undefined, CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);\n const idVariants = [\n // These ids are used by: `Mods`.\n //\n // This is the most common project type out there, so we try these ids first.\n loaderIds.length ? gameVersionIds.concat(loaderIds, javaIds) : gameVersionIds,\n // These ids are used by: `Bukkit Plugins`.\n //\n // While there's only one category that uses this type of ids,\n // it's safe to say that users of `mc-publish` are most likely\n // to publish plugins with it, rather than addons.\n pluginGameVersionIds,\n // These ids are used by: `Modpacks`, `Customization`,\n // `Resource Packs`, and `Worlds`.\n //\n // The same ids as for `Mods`, but without loaders, because\n // those are not supported for any other project type.\n loaderIds.length ? gameVersionIds : [],\n // These ids are used by: `Addons`.\n addonGameVersionIds,\n ];\n // If mod loaders were found, we most likely deal with a mod, leave everything as is.\n // Otherwise, we most likely deal with a plugin, so it's a good idea to swap these variants.\n if (!loaderIds.length) {\n [idVariants[0], idVariants[1]] = [idVariants[1], idVariants[0]];\n }\n // There's no need in empty variants, unless there are no other options.\n const nonEmptyIdVariants = idVariants.filter(x => x.length);\n return nonEmptyIdVariants.length ? nonEmptyIdVariants : [[]];\n }\n}\n/**\n * Attempts to handle upload errors that may occur when creating a version file.\n *\n * @param error - The error to handle.\n * @param file - The file data associated with the error.\n *\n * @returns A boolean indicating if the error was handled.\n */\nasync function tryHandleUploadError(error, file) {\n if (!isHttpError(error)) {\n return false;\n }\n const errorObject = await error.response.json().catch(() => undefined);\n if (!isCurseForgeError(errorObject)) {\n return false;\n }\n if (isInvalidProjectSlugCurseForgeError(errorObject)) {\n return handleInvalidProjectSlugCurseForgeError(file, errorObject);\n }\n if (isInvalidGameVersionIdCurseForgeError(errorObject)) {\n return handleInvalidGameVersionIdCurseForgeError(file);\n }\n return false;\n}\n/**\n * Handles errors related to an invalid project slug in the CurseForge version file.\n *\n * @param file - The file data associated with the error.\n * @param error - The `CurseForgeError` containing the invalid project slug error.\n *\n * @returns A boolean indicating if the error was handled.\n */\nfunction handleInvalidProjectSlugCurseForgeError(file, error) {\n const invalidSlug = getInvalidProjectSlug(error) || \"\";\n const oldDependencies = file.version.dependencies;\n file.version = { ...file.version };\n file.version.dependencies = file.version.dependencies?.filter(x => x.slug !== invalidSlug);\n return oldDependencies?.length !== file.version.dependencies?.length;\n}\n/**\n * Handles errors related to an invalid game version ID in the CurseForge version file.\n *\n * @param file - The file data associated with the error.\n *\n * @returns A boolean indicating if the error was handled.\n */\nfunction handleInvalidGameVersionIdCurseForgeError(file) {\n file.version = { ...file.version };\n file.game_versions = [...(file.game_versions || [])];\n file.game_versions.shift();\n return true;\n}\n","import { PlatformType } from \"@/platforms/platform-type\";\nimport { GenericPlatformUploader } from \"@/platforms/generic-platform-uploader\";\nimport { ArgumentError } from \"@/utils/errors\";\nimport { stringEquals } from \"@/utils/string-utils\";\nimport { CurseForgeDependencyType } from \"./curseforge-dependency-type\";\nimport { CurseForgeEternalApiClient } from \"./curseforge-eternal-api-client\";\nimport { isCurseForgeProjectId } from \"./curseforge-project\";\nimport { CurseForgeUploadApiClient } from \"./curseforge-upload-api-client\";\n/**\n * Implements the uploader for CurseForge.\n */\nexport class CurseForgeUploader extends GenericPlatformUploader {\n /**\n * Constructs a new {@link CurseForgeUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n super(options);\n }\n /**\n * @inheritdoc\n */\n get platform() {\n return PlatformType.CURSEFORGE;\n }\n /**\n * @inheritdoc\n */\n async uploadCore(request) {\n ArgumentError.throwIfNullOrEmpty(request.id, \"request.id\", \"A project ID is required to upload files to CurseForge.\");\n ArgumentError.throwIfNullOrEmpty(request.loaders, \"request.loaders\", \"At least one loader should be specified to upload files to CurseForge.\");\n ArgumentError.throwIfNullOrEmpty(request.gameVersions, \"request.gameVersions\", \"At least one game version should be specified to upload files to CurseForge.\");\n const api = new CurseForgeUploadApiClient({ token: request.token.unwrap(), fetch: this._fetch });\n const eternalApi = new CurseForgeEternalApiClient({ fetch: this._fetch });\n const project = await this.getProject(request.id, eternalApi);\n const version = await this.createVersion(request, project.id, api, eternalApi);\n return {\n id: project.id,\n version: version.id,\n url: `${project.links.websiteUrl}/files/${version.id}`,\n files: version.files.map(x => ({ id: x.id, name: x.name, url: x.url })),\n };\n }\n /**\n * Fetches the project details from CurseForge.\n *\n * @param idOrSlug - The identifier or slug of the project.\n * @param eternalApi - The API client instance to use for the request.\n *\n * @returns A promise resolved with the fetched project details.\n */\n async getProject(idOrSlug, eternalApi) {\n const project = await eternalApi.getProject(idOrSlug).catch(() => undefined);\n if (project) {\n return project;\n }\n if (!isCurseForgeProjectId(idOrSlug)) {\n throw new Error(`Cannot access CurseForge project \"${idOrSlug}\" by its slug. Please specify the ID instead.`);\n }\n // If the project was not found, it could imply two situations:\n // 1) The project is not publicly visible.\n // 2) CurseForge is notorious for its frequent downtime. There's a significant probability that\n // we attempted to access their API during one of those periods.\n //\n // Regardless, if the user provided us with a project ID, that's all we need\n // to attempt publishing their assets. Although the upload report may be imprecise\n // with this placeholder data, it's still preferable to not uploading anything at all.\n this._logger.debug(`CurseForge project \"${idOrSlug}\" is inaccessible.`);\n return {\n id: +idOrSlug,\n slug: String(idOrSlug),\n links: { websiteUrl: `https://www.curseforge.com/minecraft/mc-mods/${idOrSlug}` },\n };\n }\n /**\n * Creates a new version of the project on CurseForge.\n *\n * @param request - The upload request containing information about the new version.\n * @param projectId - The identifier of the project.\n * @param api - The API client instance to use for the upload request.\n * @param eternalApi - The API client instance to use for retrieving data.\n *\n * @returns The details of the newly created version.\n */\n async createVersion(request, projectId, api, eternalApi) {\n const dependencies = await this.convertToCurseForgeDependencies(request.dependencies, eternalApi);\n return await api.createVersion({\n name: request.name,\n project_id: projectId,\n version_type: request.versionType,\n changelog: request.changelog,\n game_versions: request.gameVersions,\n java_versions: request.java,\n loaders: request.loaders,\n files: request.files,\n dependencies,\n });\n }\n /**\n * Converts the dependencies to CurseForge-specific format.\n *\n * @param dependencies - The list of dependencies to convert.\n * @param eternalApi - The API client instance to use for retrieving data.\n *\n * @returns An array of converted dependencies.\n */\n async convertToCurseForgeDependencies(dependencies, eternalApi) {\n const simpleDependencies = this.convertToSimpleDependencies(dependencies, CurseForgeDependencyType.fromDependencyType);\n const curseForgeDependencies = await Promise.all(simpleDependencies.map(async ([id, type]) => ({\n slug: isCurseForgeProjectId(id)\n ? await eternalApi.getProject(id).catch(() => undefined).then(x => x?.slug)\n : id,\n type,\n })));\n const uniqueCurseForgeDependencies = curseForgeDependencies\n .filter(x => x.slug && x.type)\n .filter((x, i, self) => i === self.findIndex(y => stringEquals(x.slug, y.slug, { ignoreCase: true })));\n return uniqueCurseForgeDependencies;\n }\n}\n","/**\n * Packs a {@link GitHubReleaseInit} object into a {@link GitHubReleaseInitInternal} object\n * by omitting the owner, repo, and assets properties.\n *\n * @param release - The {@link GitHubReleaseInit} object to be packed.\n *\n * @returns The packed {@link GitHubReleaseInitInternal} object.\n */\nexport function packGitHubReleaseInit(release) {\n return { ...{ ...release, owner: undefined, repo: undefined, assets: undefined } };\n}\n/**\n * Packs a {@link GitHubReleasePatch} object into a {@link GitHubReleasePatchInternal} object\n * by omitting the owner, repo, id, and assets properties.\n *\n * @param release - The {@link GitHubReleasePatch} object to be packed.\n *\n * @returns The packed {@link GitHubReleasePatchInternal} object.\n */\nexport function packGitHubReleasePatch(release) {\n return { ...{ ...release, owner: undefined, repo: undefined, id: undefined, assets: undefined } };\n}\n","import { FileInfo } from \"@/utils/io\";\nimport { HttpRequest, HttpResponse, createFetch, defaultResponse, throwOnError } from \"@/utils/net\";\nimport { packGitHubReleaseInit, packGitHubReleasePatch } from \"./github-release\";\n/**\n * The base URL for the GitHub API.\n */\nexport const GITHUB_API_URL = \"https://api.github.com\";\n/**\n * The API version being used by the API client.\n */\nexport const GITHUB_API_VERSION = \"2022-11-28\";\n/**\n * A client for interacting with the GitHub API.\n */\nexport class GitHubApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Creates a new {@link GitHubApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || GITHUB_API_URL,\n defaultHeaders: {\n \"Accept\": \"application/vnd.github+json\",\n \"X-GitHub-Api-Version\": GITHUB_API_VERSION,\n \"Authorization\": options?.token && `Bearer ${options.token}`,\n },\n })\n .use(defaultResponse({ response: r => HttpResponse.json(null, r) }))\n .use(throwOnError({ filter: x => !x.ok && x.status !== 404 }));\n }\n /**\n * Fetches a GitHub release based on the provided identifier.\n *\n * @param release - The identifier for the release to fetch.\n *\n * @returns The fetched release, or `undefined` if not found.\n */\n async getRelease(release) {\n const { owner, repo, id, tag_name } = release;\n const url = typeof id === \"number\" ? `/repos/${owner}/${repo}/releases/${id}` : `/repos/${owner}/${repo}/releases/tags/${tag_name}`;\n const response = await this._fetch(url);\n return (await response.json()) ?? undefined;\n }\n /**\n * Creates a new GitHub release with the provided information.\n *\n * @param release - The information for the release to create.\n *\n * @returns The created release.\n */\n async createRelease(release) {\n const { owner, repo, assets } = release;\n const data = packGitHubReleaseInit(release);\n const response = await this._fetch(`/repos/${owner}/${repo}/releases`, HttpRequest.post().json(data));\n const createdRelease = await response.json();\n if (assets?.length) {\n return await this.updateRelease({ owner, repo, id: createdRelease.id, assets });\n }\n return createdRelease;\n }\n /**\n * Updates an existing GitHub release with the provided information.\n *\n * @param release - The information for the release to update.\n *\n * @returns The updated release.\n */\n async updateRelease(release) {\n const { owner, repo, id, assets } = release;\n if (assets?.length) {\n await this.updateReleaseAssets({ owner, repo, id, assets });\n }\n const data = packGitHubReleasePatch(release);\n const shouldUpdate = Object.values(data).filter(x => x !== undefined).length !== 0;\n if (!shouldUpdate) {\n return await this.getRelease(release);\n }\n const response = await this._fetch(`/repos/${owner}/${repo}/releases/${id}`, HttpRequest.patch().json(data));\n return await response.json();\n }\n /**\n * Updates the assets of an existing GitHub release.\n *\n * @param releaseAssets - The information for the release assets to update.\n *\n * @returns An array of updated release assets.\n */\n async updateReleaseAssets(releaseAssets) {\n const assets = [];\n const release = await this.getRelease(releaseAssets);\n for (const asset of releaseAssets.assets) {\n const file = FileInfo.of(asset);\n const existingAsset = release.assets.find(x => x.name === file.name || x.name === file.path);\n if (existingAsset) {\n await this.deleteReleaseAsset({ owner: releaseAssets.owner, repo: releaseAssets.repo, id: existingAsset.id });\n }\n const uploadedAsset = await this.uploadReleaseAsset({ upload_url: release.upload_url, asset: file });\n assets.push(uploadedAsset);\n }\n return assets;\n }\n /**\n * Uploads a release asset to a GitHub release.\n *\n * @param asset - The information for the release asset to upload.\n *\n * @returns The uploaded release asset.\n */\n async uploadReleaseAsset(asset) {\n const { upload_url, asset: file } = asset;\n const url = upload_url.includes(\"{\") ? upload_url.substring(0, upload_url.indexOf(\"{\")) : upload_url;\n const fileInfo = FileInfo.of(file);\n const fileName = encodeURIComponent(fileInfo.name);\n const fileContent = fileInfo.stream();\n const response = await this._fetch(`${url}?name=${fileName}`, HttpRequest.post().with(fileContent));\n return await response.json();\n }\n /**\n * Deletes a GitHub release asset.\n *\n * @param asset - The identifier for the release asset to delete.\n *\n * @returns `true` if the asset was deleted successfully, `false` otherwise.\n */\n async deleteReleaseAsset(asset) {\n const { owner, repo, id } = asset;\n const response = await this._fetch(`/repos/${owner}/${repo}/releases/assets/${id}`, HttpRequest.delete());\n return response.ok;\n }\n}\n","import { GenericPlatformUploader } from \"@/platforms/generic-platform-uploader\";\nimport { PlatformType } from \"@/platforms/platform-type\";\nimport { ArgumentNullError } from \"@/utils/errors\";\nimport { VersionType } from \"@/utils/versioning\";\nimport { GitHubApiClient } from \"./github-api-client\";\n/**\n * Implements the uploader for GitHub.\n */\nexport class GitHubUploader extends GenericPlatformUploader {\n /**\n * Provides the context of the current GitHub Actions workflow run.\n */\n _context;\n /**\n * Constructs a new {@link GitHubUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n super(options);\n this._context = options?.githubContext;\n }\n /**\n * @inheritdoc\n */\n get platform() {\n return PlatformType.GITHUB;\n }\n /**\n * @inheritdoc\n */\n async uploadCore(request) {\n ArgumentNullError.throwIfNull(this._context?.repo, \"context.repo\", \"The information about the repository is required to upload files to GitHub.\");\n const api = new GitHubApiClient({ token: request.token.unwrap(), fetch: this._fetch, baseUrl: this._context.apiUrl });\n const repo = this._context.repo;\n const release = await this.updateOrCreateRelease(request, api);\n return {\n repo: `${repo.owner}/${repo.repo}`,\n tag: release.tag_name,\n url: release.html_url,\n files: release.assets.map(x => ({ id: x.id, name: x.name, url: x.browser_download_url })),\n };\n }\n /**\n * Retrieves the ID of an existing release that matches the request parameters.\n * If no such release exists, it creates a new release and returns its ID.\n *\n * @param request - Contains parameters that define the desired release.\n * @param api - An instance of the GitHub API client for interacting with GitHub services.\n *\n * @returns The ID of the release and a boolean indicating whether a new release was created.\n */\n async getOrCreateReleaseId(request, api) {\n const repo = this._context.repo;\n const tag = request.tag || this._context.tag || request.version;\n let id = undefined;\n let created = false;\n if (request.tag) {\n id = await api.getRelease({ ...repo, tag_name: request.tag }).then(x => x?.id);\n }\n else if (this._context.payload.release?.id) {\n id = this._context.payload.release.id;\n }\n else if (tag) {\n id = await api.getRelease({ ...repo, tag_name: tag }).then(x => x?.id);\n }\n if (!id && tag) {\n id = (await api.createRelease({\n ...repo,\n tag_name: tag,\n target_commitish: request.commitish,\n name: request.name,\n body: request.changelog,\n draft: request.draft,\n prerelease: request.prerelease ?? request.versionType !== VersionType.RELEASE,\n discussion_category_name: request.discussion,\n generate_release_notes: request.generateChangelog ?? !request.changelog,\n }))?.id;\n created = true;\n }\n if (!id) {\n throw new Error(`Cannot find or create GitHub Release${tag ? ` (${tag})` : \"\"}.`);\n }\n return [id, created];\n }\n /**\n * Updates or creates a GitHub release based on the provided request.\n *\n * @param request - Contains parameters that define the changes to apply to the release.\n * @param api - An instance of the GitHub API client for interacting with GitHub services.\n *\n * @returns The release data from GitHub.\n */\n async updateOrCreateRelease(request, api) {\n const [id, created] = await this.getOrCreateReleaseId(request, api);\n const body = (!request.changelog || created) ? undefined : request.changelog;\n const assets = request.files;\n return await api.updateRelease({\n ...this._context.repo,\n id,\n body,\n assets,\n });\n }\n}\n","import { VersionType } from \"@/utils/versioning\";\nimport { FileInfo } from \"@/utils/io\";\n/**\n * Returns the data and file information needed to create a new Modrinth version.\n *\n * @param version - The options for the new version.\n *\n * @returns An object containing the data and file information for the new version.\n */\nexport function packModrinthVersionInit(version) {\n const { files = [] } = version;\n const data = {\n // Unpack the `version`\n ...{ ...version, files: undefined },\n // Default values\n name: version.name || version.version_number || files[0] && FileInfo.of(files[0]).name,\n version_type: version.version_type ?? VersionType.RELEASE,\n featured: version.featured ?? true,\n dependencies: version.dependencies ?? [],\n game_versions: version.game_versions ?? [],\n loaders: version.loaders ?? [],\n // Names of each file part\n primary_file: files.length ? \"_0\" : undefined,\n file_parts: files.map((_, i) => `_${i}`),\n };\n const form = files.reduce((form, file, i) => {\n form[`_${i}`] = FileInfo.of(file);\n return form;\n }, { data });\n return form;\n}\n/**\n * Returns the search template needed to search for a Modrinth version.\n *\n * @param version - The search template.\n *\n * @returns The search template needed to search for a Modrinth version.\n */\nexport function packModrinthVersionSearchTemplate(template) {\n const loaders = template?.loaders ? JSON.stringify(template.loaders) : undefined;\n const game_versions = template?.game_versions ? JSON.stringify(template.game_versions) : undefined;\n const featured = template?.featured ?? undefined;\n return { loaders, game_versions, featured };\n}\n","import { HttpRequest, HttpResponse, createFetch, defaultResponse, simpleCache, throwOnError } from \"@/utils/net\";\nimport { asArray } from \"@/utils/collections\";\nimport { packModrinthVersionInit, packModrinthVersionSearchTemplate } from \"./modrinth-version\";\nimport { ModrinthUnfeatureMode } from \"./modrinth-unfeature-mode\";\n/**\n * The API version used for making requests to the Modrinth API.\n */\nconst MODRINTH_API_VERSION = 2;\n/**\n * The base URL for the Modrinth API.\n */\nexport const MODRINTH_API_URL = `https://api.modrinth.com/v${MODRINTH_API_VERSION}`;\n/**\n * The base URL for the staging Modrinth API.\n */\nexport const MODRINTH_STAGING_API_URL = `https://staging-api.modrinth.com/v${MODRINTH_API_VERSION}`;\n/**\n * A client for interacting with the Modrinth API.\n */\nexport class ModrinthApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Creates a new {@link ModrinthApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || MODRINTH_API_URL,\n defaultHeaders: {\n Authorization: options?.token,\n },\n })\n .use(simpleCache())\n .use(defaultResponse({ response: r => HttpResponse.json(null, r) }))\n .use(throwOnError({ filter: x => !x.ok && x.status !== 404 }));\n }\n /**\n * Gets an array of loaders supported by Modrinth.\n *\n * @returns An array of loaders supported by Modrinth.\n */\n async getLoaders() {\n const response = await this._fetch(\"/tag/loader?cache=true\");\n return (await response.json()) ?? [];\n }\n /**\n * Gets an array of game versions supported by Modrinth.\n *\n * @returns An array of game versions supported by Modrinth.\n */\n async getGameVersions() {\n const response = await this._fetch(\"/tag/game_version?cache=true\");\n return (await response.json()) ?? [];\n }\n /**\n * Fetches a project by its id or slug.\n *\n * @param idOrSlug - The project id or slug.\n *\n * @returns The project, or `undefined` if not found.\n */\n async getProject(idOrSlug) {\n const response = await this._fetch(`/project/${idOrSlug}`);\n return (await response.json()) ?? undefined;\n }\n /**\n * Returns the project id for the given project.\n *\n * @param idOrSlug - The project id or slug.\n *\n * @returns The project id, or `undefined` if not found.\n */\n async getProjectId(idOrSlug) {\n const response = await this._fetch(`/project/${idOrSlug}/check`);\n return (await response.json())?.id ?? undefined;\n }\n /**\n * Fetches multiple projects by their IDs and/or slugs.\n *\n * @param idsOrSlugs - The project IDs and/or slugs.\n *\n * @returns An array of projects.\n */\n async getProjects(idsOrSlugs) {\n const response = await this._fetch(\"/projects\", HttpRequest.get().with({ ids: JSON.stringify(asArray(idsOrSlugs)) }));\n return (await response.json()) ?? [];\n }\n /**\n * Updates an existing project.\n *\n * @param project - The project data to update.\n *\n * @returns `true` if the update was successful; otherwise, `false`.\n */\n async updateProject(project) {\n const response = await this._fetch(`/project/${project.id}`, HttpRequest.patch().json(project));\n return response.ok;\n }\n /**\n * Deletes an existing project.\n *\n * @param version - The id or slug of the project to delete.\n *\n * @returns `true` if the project was successfully deleted; otherwise, `false`.\n */\n async deleteProject(idOrSlug) {\n const response = await this._fetch(`/project/${idOrSlug}`, HttpRequest.delete());\n return response.ok;\n }\n /**\n * Fetches a version by its id.\n *\n * @param id - The version id.\n *\n * @returns The version, or `undefined` if not found.\n */\n async getVersion(id) {\n const response = await this._fetch(`/version/${id}`);\n return (await response.json()) ?? undefined;\n }\n /**\n * Fetches multiple versions by their IDs.\n *\n * @param ids - The version IDs.\n *\n * @returns An array of versions.\n */\n async getVersions(ids) {\n const response = await this._fetch(\"/versions\", HttpRequest.get().with({ ids: JSON.stringify(asArray(ids)) }));\n return (await response.json()) ?? [];\n }\n /**\n * Creates a new version.\n *\n * @param version - The version data.\n *\n * @returns The created version.\n */\n async createVersion(version) {\n const form = packModrinthVersionInit(version);\n const response = await this._fetch(\"/version\", HttpRequest.post().with(form));\n return await response.json() ?? undefined;\n }\n /**\n * Updates an existing version.\n *\n * @param version - The version data to update.\n *\n * @returns `true` if the update was successful; otherwise, `false`.\n */\n async updateVersion(version) {\n const response = await this._fetch(`/version/${version.id}`, HttpRequest.patch().json(version));\n return response.ok;\n }\n /**\n * Deletes an existing version.\n *\n * @param version - The id of the version to delete.\n *\n * @returns `true` if the version was successfully deleted; otherwise, `false`.\n */\n async deleteVersion(id) {\n const response = await this._fetch(`/version/${id}`, HttpRequest.delete());\n return response.ok;\n }\n /**\n * Fetches the versions of a project based on the provided search template.\n *\n * @param idOrSlug - The project id or slug.\n * @param template - The search template to filter versions.\n *\n * @returns An array of versions matching the search criteria.\n */\n async getProjectVersions(idOrSlug, template) {\n const params = packModrinthVersionSearchTemplate(template);\n const response = await this._fetch(`/project/${idOrSlug}/version`, HttpRequest.get().with(params));\n return (await response.json()) ?? [];\n }\n /**\n * Unfeatures previous project versions based on the provided mode.\n *\n * @param currentVersion - The current version to use as an anchor point.\n * @param mode - The unfeaturing mode (default: `ModrinthUnfeatureMode.SUBSET`).\n *\n * @returns A record containing version IDs as keys and a boolean indicating whether the unfeaturing operation was successful for each version.\n */\n async unfeaturePreviousProjectVersions(currentVersion, mode) {\n mode ??= ModrinthUnfeatureMode.SUBSET;\n const previousVersions = await this.getProjectVersions(currentVersion.project_id, { featured: true });\n const unfeaturedVersions = {};\n for (const previousVersion of previousVersions) {\n if (!ModrinthUnfeatureMode.shouldUnfeature(previousVersion, currentVersion, mode)) {\n continue;\n }\n unfeaturedVersions[previousVersion.id] = await this.updateVersion({ id: previousVersion.id, featured: false });\n }\n return unfeaturedVersions;\n }\n}\n","import { DependencyType } from \"@/dependencies\";\nimport { Enum } from \"@/utils/enum\";\n/**\n * Represents the types of dependencies a Modrinth version can have.\n *\n * @partial\n */\nvar ModrinthDependencyTypeValues;\n(function (ModrinthDependencyTypeValues) {\n /**\n * The dependency is required for the mod to function.\n */\n ModrinthDependencyTypeValues[\"REQUIRED\"] = \"required\";\n /**\n * The dependency is optional and provides additional features.\n */\n ModrinthDependencyTypeValues[\"OPTIONAL\"] = \"optional\";\n /**\n * The dependency is incompatible with the mod.\n */\n ModrinthDependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n /**\n * The dependency is embedded within the mod.\n */\n ModrinthDependencyTypeValues[\"EMBEDDED\"] = \"embedded\";\n})(ModrinthDependencyTypeValues || (ModrinthDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the ModrinthDependencyType enum.\n *\n * @partial\n */\nconst ModrinthDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the dependency type.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Converts a {@link ModrinthDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link ModrinthDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case ModrinthDependencyType.REQUIRED:\n return DependencyType.REQUIRED;\n case ModrinthDependencyType.OPTIONAL:\n return DependencyType.OPTIONAL;\n case ModrinthDependencyType.INCOMPATIBLE:\n return DependencyType.INCOMPATIBLE;\n case ModrinthDependencyType.EMBEDDED:\n return DependencyType.EMBEDDED;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link ModrinthDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link ModrinthDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return ModrinthDependencyType.REQUIRED;\n case DependencyType.OPTIONAL:\n case DependencyType.RECOMMENDED:\n return ModrinthDependencyType.OPTIONAL;\n case DependencyType.EMBEDDED:\n return ModrinthDependencyType.EMBEDDED;\n case DependencyType.CONFLICTING:\n case DependencyType.INCOMPATIBLE:\n return ModrinthDependencyType.INCOMPATIBLE;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with ModrinthDependencyType.\n *\n * @partial\n */\nconst ModrinthDependencyTypeMethods = {\n fromDependencyType,\n toDependencyType,\n};\n/**\n * Represents the types of dependencies a Modrinth version can have.\n */\nexport const ModrinthDependencyType = Enum.create(ModrinthDependencyTypeValues, ModrinthDependencyTypeOptions, ModrinthDependencyTypeMethods);\n","import { GenericPlatformUploader } from \"@/platforms/generic-platform-uploader\";\nimport { PlatformType } from \"@/platforms/platform-type\";\nimport { $i } from \"@/utils/collections\";\nimport { IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER } from \"@/utils/comparison\";\nimport { ArgumentError } from \"@/utils/errors\";\nimport { ModrinthApiClient } from \"./modrinth-api-client\";\nimport { ModrinthDependencyType } from \"./modrinth-dependency-type\";\nimport { ModrinthUnfeatureMode } from \"./modrinth-unfeature-mode\";\n/**\n * Implements the uploader for Modrinth.\n */\nexport class ModrinthUploader extends GenericPlatformUploader {\n /**\n * Constructs a new {@link ModrinthUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n super(options);\n }\n /**\n * @inheritdoc\n */\n get platform() {\n return PlatformType.MODRINTH;\n }\n /**\n * @inheritdoc\n */\n async uploadCore(request) {\n ArgumentError.throwIfNullOrEmpty(request.id, \"request.id\", \"A project ID is required to upload files to Modrinth.\");\n ArgumentError.throwIfNullOrEmpty(request.version, \"request.version\", \"A version number is required to upload files to Modrinth.\");\n ArgumentError.throwIfNullOrEmpty(request.loaders, \"request.loaders\", \"At least one loader should be specified to upload files to Modrinth.\");\n ArgumentError.throwIfNullOrEmpty(request.gameVersions, \"request.gameVersions\", \"At least one game version should be specified to upload files to Modrinth.\");\n const api = new ModrinthApiClient({ token: request.token.unwrap(), fetch: this._fetch });\n const unfeatureMode = request.unfeatureMode ?? (request.featured ? ModrinthUnfeatureMode.SUBSET : ModrinthUnfeatureMode.NONE);\n const project = await this.getProject(request.id, api);\n const version = await this.createVersion(request, project, api);\n await this.unfeaturePreviousVersions(version, unfeatureMode, api);\n return {\n id: project.id,\n version: version.id,\n url: `https://modrinth.com/${project.project_type}/${project.slug}/version/${version.version_number}`,\n files: version.files.map(x => ({ id: x.hashes.sha1, name: x.filename, url: x.url })),\n };\n }\n /**\n * Fetches the project details from Modrinth.\n *\n * @param idOrSlug - The identifier or slug of the project.\n * @param api - The API client instance to use for the request.\n *\n * @returns The fetched project details.\n */\n async getProject(idOrSlug, api) {\n const project = await api.getProject(idOrSlug);\n if (project) {\n return project;\n }\n // If the project was not found, it could imply that it is not publicly\n // visible (e.g., it hasn't been reviewed yet), and the token we have lacks\n // the `Read projects` permission.\n //\n // Regardless, if the user provided us with a project ID, that's all we need\n // to attempt publishing their assets. Although the upload report may be imprecise\n // with this placeholder data, it's still preferable to not uploading anything at all.\n return {\n id: idOrSlug,\n slug: idOrSlug,\n project_type: \"mod\",\n };\n }\n /**\n * Creates a new version of the project on Modrinth.\n *\n * @param request - The upload request containing information about the new version.\n * @param project - The project for which the new version is created.\n * @param api - The API client instance to use for the upload request.\n *\n * @returns The details of the newly created version.\n */\n async createVersion(request, project, api) {\n const gameVersions = await this.convertToModrinthGameVersionNames(request.gameVersions, api);\n const loaders = await this.convertToModrinthLoaderNames(request.loaders, project, api);\n const dependencies = await this.convertToModrinthDependencies(request.dependencies, api);\n return await api.createVersion({\n name: request.name,\n version_number: request.version,\n project_id: project.id,\n changelog: request.changelog,\n dependencies,\n game_versions: gameVersions,\n version_type: request.versionType,\n loaders,\n featured: request.featured,\n files: request.files,\n });\n }\n /**\n * Converts the dependencies to Modrinth-specific format.\n *\n * @param dependencies - The list of dependencies to convert.\n * @param api - The API client instance to use for retrieving data.\n *\n * @returns An array of converted dependencies.\n */\n async convertToModrinthDependencies(dependencies, api) {\n const simpleDependencies = this.convertToSimpleDependencies(dependencies, ModrinthDependencyType.fromDependencyType);\n const modrinthDependencies = await Promise.all(simpleDependencies.map(async ([id, type]) => ({\n project_id: await api.getProjectId(id).catch(() => undefined),\n dependency_type: type,\n })));\n const uniqueModrinthDependencies = modrinthDependencies\n .filter(x => x.project_id && x.dependency_type)\n .filter((x, i, self) => i === self.findIndex(y => x.project_id === y.project_id));\n return uniqueModrinthDependencies;\n }\n /**\n * Converts loader names to Modrinth-specific format.\n *\n * @param loaders - The list of loaders to convert.\n * @param project - The project for which the loaders are used.\n * @param api - The API client instance to use for retrieving data.\n *\n * @returns An array of converted loader names.\n */\n async convertToModrinthLoaderNames(loaders, project, api) {\n if (!loaders?.length) {\n return [];\n }\n const modrinthLoaders = await api.getLoaders();\n return $i(loaders)\n .map(x => modrinthLoaders.find(y => IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER(x, y.name)))\n .filter(x => x)\n // `project.id === project.slug` is only true when we use placeholder data,\n // which means that we couldn't get the actual project information.\n // Therefore, we cannot rely on `project_type` to filter out invalid loaders.\n // So, let's just hope the user, who didn't provide us with a token with\n // all the required permissions, knows what they are doing.\n .filter(x => x.supported_project_types.includes(project.project_type) || project.id === project.slug)\n .map(x => x.name)\n .toArray();\n }\n /**\n * Converts game version names to Modrinth-specific format.\n *\n * @param gameVersions - The list of game versions to convert.\n * @param api - The API client instance to use for retrieving data.\n *\n * @returns An array of converted game version names.\n */\n async convertToModrinthGameVersionNames(gameVersions, api) {\n if (!gameVersions?.length) {\n return [];\n }\n const modrinthGameVersions = await api.getGameVersions();\n return $i(gameVersions)\n .map(x => modrinthGameVersions.find(y => IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER(x, y.version))?.version)\n .filter(x => x)\n .toArray();\n }\n /**\n * Unfeatures previous versions of the project on Modrinth.\n *\n * @param version - The new version after which the previous ones should be unfeatured.\n * @param unfeatureMode - The mode to determine which versions should be unfeatured.\n * @param api - The API client instance to use for the unfeaturing request.\n */\n async unfeaturePreviousVersions(version, unfeatureMode, api) {\n if (unfeatureMode === ModrinthUnfeatureMode.NONE) {\n return;\n }\n this._logger.info(\"🔽 Initiating unfeaturing of older Modrinth project versions\");\n const result = await api.unfeaturePreviousProjectVersions(version, unfeatureMode);\n const unfeaturedVersions = Object.entries(result).filter(([, success]) => success).map(([version]) => version);\n const nonUnfeaturedVersions = Object.entries(result).filter(([, success]) => !success).map(([version]) => version);\n if (unfeaturedVersions.length) {\n this._logger.info(`🟢 Successfully unfeatured ${unfeaturedVersions.join(\", \")}`);\n }\n if (nonUnfeaturedVersions.length) {\n this._logger.info(`⚠️ Failed to unfeature ${nonUnfeaturedVersions.join(\", \")}. Please, double-check your token`);\n }\n }\n}\n","import { CurseForgeUploader } from \"./curseforge/curseforge-uploader\";\nimport { GitHubUploader } from \"./github/github-uploader\";\nimport { ModrinthUploader } from \"./modrinth/modrinth-uploader\";\nimport { PlatformType } from \"./platform-type\";\n/**\n * Creates a new platform uploader based on the provided platform type and options.\n *\n * @param platform - The type of platform for which to create the uploader.\n * @param options - The options to configure the uploader.\n *\n * @returns A new platform uploader.\n */\nexport function createPlatformUploader(platform, options) {\n switch (platform) {\n case PlatformType.MODRINTH:\n return new ModrinthUploader(options);\n case PlatformType.CURSEFORGE:\n return new CurseForgeUploader(options);\n case PlatformType.GITHUB:\n return new GitHubUploader(options);\n default:\n throw new Error(`Unknown platform '${PlatformType.format(platform)}'`);\n }\n}\n","import { createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { FabricDependencyType } from \"./fabric-dependency-type\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"fabricloader\",\n];\n/**\n * A map of aliases for special dependencies for different platforms.\n */\nconst DEPENDENCY_ALIASES = new Map([\n [\"fabric\", \"fabric-api\"],\n].map(([k, v]) => [k, typeof v === \"string\" ? $i(PlatformType.values()).map(x => [x, v]).toMap() : v]));\n/**\n * Retrieves Fabric dependencies from the metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns An array of Fabric dependencies.\n */\nexport function getFabricDependencies(metadata) {\n return $i(FabricDependencyType.values()).flatMap(type => toFabricDependencyArray(metadata?.[type], type)).toArray();\n}\n/**\n * Converts a {@link FabricDependencyList} to a proper array of Fabric dependencies.\n *\n * @param list - The list of fabric dependencies.\n * @param type - The type of the dependencies in the list.\n *\n * @returns An array of Fabric dependencies.\n */\nexport function toFabricDependencyArray(list, type) {\n return Object.entries(list || {}).map(([id, version]) => ({ id, version, type }));\n}\n/**\n * Converts {@link FabricDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Fabric dependency, or `undefined` if the input is invalid..\n */\nexport function normalizeFabricDependency(dependency) {\n return createDependency({\n id: dependency?.id,\n versions: dependency?.version,\n type: FabricDependencyType.toDependencyType(dependency?.type || FabricDependencyType.DEPENDS),\n ignore: IGNORED_DEPENDENCIES.includes(dependency?.id),\n aliases: DEPENDENCY_ALIASES.get(dependency?.id),\n });\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different mod loader types.\n *\n * @partial\n */\nvar LoaderTypeValues;\n(function (LoaderTypeValues) {\n /**\n * Fabric mod loader.\n */\n LoaderTypeValues[\"FABRIC\"] = \"fabric\";\n /**\n * Forge mod loader.\n */\n LoaderTypeValues[\"FORGE\"] = \"forge\";\n /**\n * Quilt mod loader.\n */\n LoaderTypeValues[\"QUILT\"] = \"quilt\";\n /**\n * NeoForge mod loader.\n */\n LoaderTypeValues[\"NEOFORGE\"] = \"neoforge\";\n})(LoaderTypeValues || (LoaderTypeValues = {}));\n/**\n * Options for configuring the behavior of the `LoaderType` enum.\n *\n * @partial\n */\nconst LoaderTypeOptions = {\n /**\n * The case should be ignored while parsing the mod loader type.\n */\n ignoreCase: true,\n};\n/**\n * Represents different mod loader types.\n */\nexport const LoaderType = Enum.create(LoaderTypeValues, LoaderTypeOptions);\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { asString } from \"@/utils/string-utils\";\nimport { deprecate } from \"node:util\";\n/**\n * Gets the custom payload from the Fabric metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getFabricMetadataCustomPayload(metadata) {\n return containsLegacyCustomPayloadDefinition(metadata)\n ? getLegacyFabricMetadataCustomPayload(metadata)\n : (metadata?.custom?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the metadata contains a legacy custom payload definition.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyCustomPayloadDefinition(metadata) {\n return !!metadata?.custom?.modmanager;\n}\n/**\n * Gets the legacy custom payload from the Fabric metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyFabricMetadataCustomPayload(metadata) {\n const modManagerPayload = metadata?.custom?.modmanager;\n const basePayload = metadata?.custom?.[ACTION_NAME];\n return { ...modManagerPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Fabric metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Use `mc-publish` field instead of `modmanager` field.\n */\nconst getLegacyFabricMetadataCustomPayload = deprecate(_getLegacyFabricMetadataCustomPayload, \"Use `mc-publish` field instead of `modmanager` field.\");\n/**\n * A list of default mod loaders associated with the Fabric loader.\n */\nconst DEFAULT_LOADERS = [LoaderType.FABRIC];\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the Fabric metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromFabricMetadataCustomPayload(payload) {\n if (containsLegacyLoadersDefinition(payload)) {\n return getLegacyLoadersFromFabricMetadataCustomPayload(payload);\n }\n return payload?.loaders || [...DEFAULT_LOADERS];\n}\n/**\n * Checks if the custom payload contains a legacy loaders definition.\n *\n * @param payload - The custom payload object.\n *\n * @returns A boolean indicating if the legacy loaders definition is present.\n */\nfunction containsLegacyLoadersDefinition(payload) {\n return typeof payload?.quilt === \"boolean\";\n}\n/**\n * Gets an array of supported mod loaders from the legacy custom payload attached to the Fabric metadata.\n *\n * @param payload - The legacy custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nfunction _getLegacyLoadersFromFabricMetadataCustomPayload(payload) {\n return payload?.quilt ? [LoaderType.FABRIC, LoaderType.QUILT] : [...DEFAULT_LOADERS];\n}\n/**\n * Gets an array of supported mod loaders from the legacy custom payload attached to the Fabric metadata.\n *\n * @param payload - The legacy custom payload object.\n *\n * @returns An array of supported mod loaders.\n *\n * @deprecated\n *\n * Use the universal `\"loaders\": [\"fabric\", \"quilt\"]` field instead of `\"quilt\": true`.\n */\nconst getLegacyLoadersFromFabricMetadataCustomPayload = deprecate(_getLegacyLoadersFromFabricMetadataCustomPayload, \"Use the universal `\\\"loaders\\\": [\\\"fabric\\\", \\\"quilt\\\"]` field instead of `\\\"quilt\\\": true`\");\n/**\n * Gets the dependencies from the custom payload attached to the Fabric metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromFabricMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the Fabric metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromFabricMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getFabricDependencies, normalizeFabricDependency } from \"./fabric-dependency\";\nimport { getDependenciesFromFabricMetadataCustomPayload, getFabricMetadataCustomPayload, getLoadersFromFabricMetadataCustomPayload, getProjectIdFromFabricMetadataCustomPayload } from \"./fabric-metadata-custom-payload\";\n/**\n * Represents Fabric mod metadata.\n */\nexport class FabricMetadata {\n /**\n * The raw Fabric metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link FabricMetadata} instance.\n *\n * @param raw - The raw Fabric metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link FabricMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw Fabric metadata.\n *\n * @returns A new `FabricMetadata` instance.\n */\n static from(raw) {\n return new FabricMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n return asString(this._raw.id || \"\");\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this._raw.name || this._raw.id || \"\");\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this._raw.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromFabricMetadataCustomPayload(this.customPayload);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getFabricDependencies(this._raw).map(normalizeFabricDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromFabricMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The raw Fabric metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the Fabric metadata.\n */\n get customPayload() {\n return getFabricMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromFabricMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `fabric.mod.json` file, that contains raw Fabric metadata.\n */\nexport const FABRIC_MOD_JSON = \"fabric.mod.json\";\n","import { readAllZippedText } from \"@/utils/io/file-info\";\nimport { FabricMetadata } from \"./fabric-metadata\";\nimport { FABRIC_MOD_JSON } from \"./raw-fabric-metadata\";\n/**\n * A metadata reader that is able to read Fabric mod metadata from a zipped file.\n */\nexport class FabricMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, FABRIC_MOD_JSON);\n return FabricMetadata.from(JSON.parse(metadataText));\n }\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { DependencyType, createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { deprecate } from \"node:util\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"forge\",\n];\n/**\n * Retrieves Forge dependencies from the metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns An array of Forge dependencies.\n */\nexport function getForgeDependencies(metadata) {\n const dependencyMap = $i(Object.values(metadata?.dependencies || {}))\n .filter(x => Array.isArray(x))\n .flatMap(x => x)\n .filter(x => x?.modId)\n .map(x => [x.modId, x])\n .reverse()\n .toMap();\n return [...dependencyMap.values()];\n}\n/**\n * Converts {@link FabricDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Fabric dependency, or `undefined` if the input is invalid..\n */\nexport function normalizeForgeDependency(dependency) {\n const payload = getForgeDependencyCustomPayload(dependency);\n const id = dependency?.modId;\n const versions = dependency?.versionRange;\n const ignore = IGNORED_DEPENDENCIES.includes(dependency?.modId) || typeof payload.ignore === \"boolean\" && payload.ignore;\n const ignoredPlatforms = typeof payload.ignore === \"boolean\" ? undefined : payload.ignore;\n const aliases = $i(PlatformType.values()).map(type => [type, payload[type] ? asString(payload[type]) : undefined]).filter(([, id]) => id).toMap();\n const type = (dependency?.incompatible && DependencyType.INCOMPATIBLE ||\n dependency?.embedded && DependencyType.EMBEDDED ||\n dependency?.mandatory && DependencyType.REQUIRED ||\n DependencyType.OPTIONAL);\n return createDependency({\n id,\n versions,\n type,\n ignore,\n ignoredPlatforms,\n aliases,\n });\n}\n/**\n * Gets the custom payload from the Forge dependency.\n *\n * @param dependency - The Forge dependency.\n *\n * @returns The custom payload object.\n */\nfunction getForgeDependencyCustomPayload(dependency) {\n return containsLegacyForgeDependencyCustomPayload(dependency)\n ? getLegacyForgeDependencyCustomPayload(dependency)\n : (dependency?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the dependency contains a legacy custom payload definition.\n *\n * @param dependency - The dependency to check.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyForgeDependencyCustomPayload(dependency) {\n return !!dependency?.custom?.[ACTION_NAME];\n}\n/**\n * Gets the legacy custom payload from the Forge dependency.\n *\n * @param dependency - The Forge dependency.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyForgeDependencyCustomPayload(dependency) {\n const legacyPayload = dependency?.custom?.[ACTION_NAME];\n const basePayload = dependency?.[ACTION_NAME];\n return { ...legacyPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Forge dependency.\n *\n * @param dependency - The Forge dependency.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Define `mc-publish` property directly on your Forge dependency object instead of using nested `custom.mc-publish`.\n */\nconst getLegacyForgeDependencyCustomPayload = deprecate(_getLegacyForgeDependencyCustomPayload, \"Define `mc-publish` property directly on your Forge dependency object instead of using nested `custom.mc-publish`.\");\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { deprecate } from \"node:util\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * Gets the custom payload from the Forge metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getForgeMetadataCustomPayload(metadata) {\n return containsLegacyCustomPayloadDefinition(metadata)\n ? getLegacyForgeMetadataCustomPayload(metadata)\n : (metadata?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the metadata contains a legacy custom payload definition.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyCustomPayloadDefinition(metadata) {\n return !!metadata?.custom?.[ACTION_NAME] || !!metadata?.custom?.projects || !!metadata?.projects;\n}\n/**\n * Gets the legacy custom payload from the Forge metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyForgeMetadataCustomPayload(metadata) {\n const legacyPayload = { ...metadata?.projects, ...metadata?.custom?.projects, ...metadata?.custom?.[ACTION_NAME] };\n const basePayload = metadata?.[ACTION_NAME];\n return { ...legacyPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Forge metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Use top-level `mc-publish` field in your mod metadata.\n */\nconst getLegacyForgeMetadataCustomPayload = deprecate(_getLegacyForgeMetadataCustomPayload, \"Use top-level `mc-publish` field in your mods.toml.\");\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the Forge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromForgeMetadataCustomPayload(metadata) {\n const payload = getForgeMetadataCustomPayload(metadata);\n return payload.loaders || [LoaderType.FORGE];\n}\n/**\n * Gets the dependencies from the custom payload attached to the Forge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromForgeMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the Forge metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromForgeMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getForgeDependencies, normalizeForgeDependency } from \"./forge-dependency\";\nimport { getDependenciesFromForgeMetadataCustomPayload, getForgeMetadataCustomPayload, getLoadersFromForgeMetadataCustomPayload, getProjectIdFromForgeMetadataCustomPayload } from \"./forge-metadata-custom-payload\";\n/**\n * Represents Forge mod metadata.\n */\nexport class ForgeMetadata {\n /**\n * The raw Forge metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link ForgeMetadata} instance.\n *\n * @param raw - The raw Forge metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link ForgeMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw Forge metadata.\n *\n * @returns A new `ForgeMetadata` instance.\n */\n static from(raw) {\n return new ForgeMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n return asString(this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this.mod.displayName || this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this.mod.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getForgeDependencies(this._raw).map(normalizeForgeDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromForgeMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The mod represented by this metadata.\n */\n get mod() {\n return this._raw.mods?.[0] || {};\n }\n /**\n * The raw Forge metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the Forge metadata.\n */\n get customPayload() {\n return getForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromForgeMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `mods.toml` file, that contains raw Forge metadata.\n */\nexport const MODS_TOML = \"META-INF/mods.toml\";\n","import { parse as parseToml } from \"toml\";\nimport { readAllZippedText } from \"@/utils/io/file-info\";\nimport { LoaderType } from \"../loader-type\";\nimport { ForgeMetadata } from \"./forge-metadata\";\nimport { MODS_TOML } from \"./raw-forge-metadata\";\n/**\n * A metadata reader that is able to read Forge mod metadata from a zipped file.\n */\nexport class ForgeMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, MODS_TOML);\n const metadata = ForgeMetadata.from(parseToml(metadataText));\n if (!metadata.dependencies.some(x => x.id === LoaderType.FORGE)) {\n throw new Error(\"A Forge metadata file must contain a 'forge' dependency\");\n }\n return metadata;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { DependencyType, createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"quilt_loader\",\n];\n/**\n * A map of aliases for special dependencies for different platforms.\n */\nconst DEPENDENCY_ALIASES = $i([\n [\"fabric\", \"fabric-api\"],\n [\"quilt_base\", \"qsl\"],\n [\"quilted_fabric_api\", \"qsl\"],\n].map(([k, v]) => [k, typeof v === \"string\" ? $i(PlatformType.values()).map(x => [x, v]).toMap() : v])).toMap();\n/**\n * Retrieves Quilt dependencies from the metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns An array of Quilt dependencies.\n */\nexport function getQuiltDependencies(metadata) {\n const dependencyMap = $i(mapQuiltDependencies(metadata?.quilt_loader?.depends))\n .concat(mapQuiltDependencies(metadata?.quilt_loader?.breaks, { breaking: true }))\n .concat(mapQuiltDependencies(metadata?.quilt_loader?.provides, { provided: true }))\n .filter(x => x.id)\n .map(x => [x.id, x])\n .toMap();\n return [...dependencyMap.values()];\n}\n/**\n * Maps a dependency field presented in raw Quilt metadata into the array of Quilt dependencies.\n *\n * @param dependencies - The dependency field to be mapped.\n * @param customFields - Custom fields to attach to the dependencies.\n *\n * @returns The array of Quilt dependencies represented by the given field.\n */\nfunction mapQuiltDependencies(dependencies, customFields) {\n if (!dependencies) {\n return [];\n }\n return $i(dependencies).map(x => typeof x === \"string\" ? { id: x, ...customFields } : { ...x, ...customFields });\n}\n/**\n * Converts {@link QuiltDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Quilt dependency.\n */\nexport function normalizeQuiltDependency(dependency) {\n const payload = getQuiltDependencyCustomPayload(dependency);\n const id = dependency?.id?.includes(\":\") ? dependency.id.substring(dependency.id.indexOf(\":\") + 1) : dependency?.id;\n const versions = dependency?.version || dependency?.versions;\n const ignore = IGNORED_DEPENDENCIES.includes(id) || typeof payload.ignore === \"boolean\" && payload.ignore;\n const ignoredPlatforms = typeof payload.ignore === \"boolean\" ? undefined : payload.ignore;\n const type = (dependency?.breaking && dependency?.unless && DependencyType.CONFLICTING ||\n dependency?.breaking && DependencyType.INCOMPATIBLE ||\n dependency?.provided && DependencyType.EMBEDDED ||\n (dependency?.optional || dependency?.unless) && DependencyType.OPTIONAL ||\n DependencyType.REQUIRED);\n const aliases = $i(DEPENDENCY_ALIASES.get(id) || [])\n .concat($i(PlatformType.values()).map(type => [type, payload[type] ? asString(payload[type]) : undefined]))\n .filter(([, id]) => id)\n .toMap();\n return createDependency({\n id,\n versions,\n type,\n ignore,\n ignoredPlatforms,\n aliases,\n });\n}\n/**\n * Gets the custom payload from the Quilt dependency.\n *\n * @param dependency - The Quilt dependency.\n *\n * @returns The custom payload object.\n */\nfunction getQuiltDependencyCustomPayload(dependency) {\n return dependency?.[ACTION_NAME] || {};\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { deprecate } from \"node:util\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * Gets the custom payload from the Quilt metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getQuiltMetadataCustomPayload(metadata) {\n return containsLegacyCustomPayloadDefinition(metadata)\n ? getLegacyQuiltMetadataCustomPayload(metadata)\n : (metadata?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the metadata contains a legacy custom payload definition.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyCustomPayloadDefinition(metadata) {\n return !!metadata?.projects;\n}\n/**\n * Gets the legacy custom payload from the Quilt metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyQuiltMetadataCustomPayload(metadata) {\n const legacyPayload = metadata?.projects;\n const basePayload = metadata?.[ACTION_NAME];\n return { ...legacyPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Quilt metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Use top-level `mc-publish` field in your mod metadata.\n */\nconst getLegacyQuiltMetadataCustomPayload = deprecate(_getLegacyQuiltMetadataCustomPayload, \"Use top-level `mc-publish` field in your quilt.mod.json.\");\n/**\n * A list of default mod loaders associated with the Quilt loader.\n */\nconst DEFAULT_LOADERS = [LoaderType.QUILT];\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the Quilt metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromQuiltMetadataCustomPayload(payload) {\n return payload?.loaders || [...DEFAULT_LOADERS];\n}\n/**\n * Gets the dependencies from the custom payload attached to the Quilt metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromQuiltMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the Quilt metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromQuiltMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getQuiltDependencies, normalizeQuiltDependency } from \"./quilt-dependency\";\nimport { getDependenciesFromQuiltMetadataCustomPayload, getLoadersFromQuiltMetadataCustomPayload, getProjectIdFromQuiltMetadataCustomPayload, getQuiltMetadataCustomPayload } from \"./quilt-metadata-custom-payload\";\n/**\n * Represents Quilt mod metadata.\n */\nexport class QuiltMetadata {\n /**\n * The raw Quilt metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link QuiltMetadata} instance.\n *\n * @param raw - The raw Quilt metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link QuiltMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw Quilt metadata.\n *\n * @returns A new `QuiltMetadata` instance.\n */\n static from(raw) {\n return new QuiltMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n const id = asString(this._raw.quilt_loader?.id || \"\");\n return id.includes(\":\") ? id.substring(id.indexOf(\":\") + 1) : id;\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this._raw.quilt_loader?.metadata?.name || this.id);\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this._raw.quilt_loader?.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromQuiltMetadataCustomPayload(this.customPayload);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getQuiltDependencies(this._raw).map(normalizeQuiltDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromQuiltMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The raw Quilt metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the Quilt metadata.\n */\n get customPayload() {\n return getQuiltMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromQuiltMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `quilt.mod.json` file, that contains raw Quilt metadata.\n */\nexport const QUILT_MOD_JSON = \"quilt.mod.json\";\n","import { readAllZippedText } from \"@/utils/io/file-info\";\nimport { QuiltMetadata } from \"./quilt-metadata\";\nimport { QUILT_MOD_JSON } from \"./raw-quilt-metadata\";\n/**\n * A metadata reader that is able to read Quilt mod metadata from a zipped file.\n */\nexport class QuiltMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, QUILT_MOD_JSON);\n return QuiltMetadata.from(JSON.parse(metadataText));\n }\n}\n","import { Enum } from \"@/utils/enum\";\nimport { DependencyType } from \"@/dependencies\";\n/**\n * Represents different NeoForge dependency types.\n *\n * @partial\n */\nvar NeoForgeDependencyTypeValues;\n(function (NeoForgeDependencyTypeValues) {\n /**\n * For dependencies required to run. Without them, a game will crash.\n */\n NeoForgeDependencyTypeValues[\"REQUIRED\"] = \"required\";\n /**\n * For dependencies not required to run. Without them, a game will log a warning.\n */\n NeoForgeDependencyTypeValues[\"OPTIONAL\"] = \"optional\";\n /**\n * For dependencies embedded within the project.\n */\n NeoForgeDependencyTypeValues[\"EMBEDDED\"] = \"embedded\";\n /**\n * For mods whose together with yours might cause a game crash. With them, a game will crash.\n */\n NeoForgeDependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n /**\n * For mods whose together with yours cause some kind of bugs, etc. With them, a game will log a warning.\n */\n NeoForgeDependencyTypeValues[\"DISCOURAGED\"] = \"discouraged\";\n})(NeoForgeDependencyTypeValues || (NeoForgeDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the NeoForgeDependencyType enum.\n *\n * @partial\n */\nconst NeoForgeDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n};\n/**\n * Converts a {@link NeoForgeDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link NeoForgeDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case NeoForgeDependencyType.REQUIRED:\n return DependencyType.REQUIRED;\n case NeoForgeDependencyType.OPTIONAL:\n return DependencyType.OPTIONAL;\n case NeoForgeDependencyType.EMBEDDED:\n return DependencyType.EMBEDDED;\n case NeoForgeDependencyType.INCOMPATIBLE:\n return DependencyType.INCOMPATIBLE;\n case NeoForgeDependencyType.DISCOURAGED:\n return DependencyType.CONFLICTING;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link NeoForgeDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link NeoForgeDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return NeoForgeDependencyType.REQUIRED;\n case DependencyType.OPTIONAL:\n case DependencyType.RECOMMENDED:\n return NeoForgeDependencyType.OPTIONAL;\n case DependencyType.EMBEDDED:\n return NeoForgeDependencyType.EMBEDDED;\n case DependencyType.CONFLICTING:\n return NeoForgeDependencyType.DISCOURAGED;\n case DependencyType.INCOMPATIBLE:\n return NeoForgeDependencyType.INCOMPATIBLE;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with NeoForgeDependencyType.\n *\n * @partial\n */\nconst NeoForgeDependencyTypeMethods = {\n toDependencyType,\n fromDependencyType,\n};\n/**\n * Represents different NeoForge dependency types.\n */\nexport const NeoForgeDependencyType = Enum.create(NeoForgeDependencyTypeValues, NeoForgeDependencyTypeOptions, NeoForgeDependencyTypeMethods);\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { NeoForgeDependencyType } from \"./neoforge-dependency-type\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"neoforge\",\n];\n/**\n * Retrieves NeoForge dependencies from the metadata.\n *\n * @param metadata - The raw NeoForge metadata.\n *\n * @returns An array of NeoForge dependencies.\n */\nexport function getNeoForgeDependencies(metadata) {\n const dependencyMap = $i(Object.values(metadata?.dependencies || {}))\n .filter(x => Array.isArray(x))\n .flatMap(x => x)\n .filter(x => x?.modId)\n .map(x => [x.modId, x])\n .reverse()\n .toMap();\n return [...dependencyMap.values()];\n}\n/**\n * Converts {@link FabricDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Fabric dependency, or `undefined` if the input is invalid..\n */\nexport function normalizeNeoForgeDependency(dependency) {\n const payload = dependency?.[ACTION_NAME] || {};\n const id = dependency?.modId;\n const versions = dependency?.versionRange;\n const ignore = IGNORED_DEPENDENCIES.includes(dependency?.modId) || typeof payload.ignore === \"boolean\" && payload.ignore;\n const ignoredPlatforms = typeof payload.ignore === \"boolean\" ? undefined : payload.ignore;\n const aliases = $i(PlatformType.values()).map(type => [type, payload[type] ? asString(payload[type]) : undefined]).filter(([, id]) => id).toMap();\n const type = NeoForgeDependencyType.toDependencyType(dependency?.type || ((dependency?.mandatory ?? true) ? NeoForgeDependencyType.REQUIRED : NeoForgeDependencyType.OPTIONAL));\n return createDependency({\n id,\n versions,\n type,\n ignore,\n ignoredPlatforms,\n aliases,\n });\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * Gets the custom payload from the NeoForge metadata.\n *\n * @param metadata - The raw NeoForge metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getNeoForgeMetadataCustomPayload(metadata) {\n return metadata?.[ACTION_NAME] || {};\n}\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the NeoForge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromNeoForgeMetadataCustomPayload(metadata) {\n const payload = getNeoForgeMetadataCustomPayload(metadata);\n return payload.loaders || [LoaderType.NEOFORGE];\n}\n/**\n * Gets the dependencies from the custom payload attached to the NeoForge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromNeoForgeMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the NeoForge metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromNeoForgeMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getNeoForgeDependencies, normalizeNeoForgeDependency } from \"./neoforge-dependency\";\nimport { getDependenciesFromNeoForgeMetadataCustomPayload, getNeoForgeMetadataCustomPayload, getLoadersFromNeoForgeMetadataCustomPayload, getProjectIdFromNeoForgeMetadataCustomPayload } from \"./neoforge-metadata-custom-payload\";\n/**\n * Represents NeoForge mod metadata.\n */\nexport class NeoForgeMetadata {\n /**\n * The raw NeoForge metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link NeoForgeMetadata} instance.\n *\n * @param raw - The raw NeoForge metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link NeoForgeMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw NeoForge metadata.\n *\n * @returns A new `NeoForgeMetadata` instance.\n */\n static from(raw) {\n return new NeoForgeMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n return asString(this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this.mod.displayName || this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this.mod.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromNeoForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getNeoForgeDependencies(this._raw).map(normalizeNeoForgeDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromNeoForgeMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The mod represented by this metadata.\n */\n get mod() {\n return this._raw.mods?.[0] || {};\n }\n /**\n * The raw NeoForge metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the NeoForge metadata.\n */\n get customPayload() {\n return getNeoForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromNeoForgeMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `mods.toml` file, that contains raw NeoForge metadata.\n */\nexport const MODS_TOML = \"META-INF/mods.toml\";\n","import { parse as parseToml } from \"toml\";\nimport { readAllZippedText } from \"@/utils/io/file-info\";\nimport { LoaderType } from \"../loader-type\";\nimport { NeoForgeMetadata } from \"./neoforge-metadata\";\nimport { MODS_TOML } from \"./raw-neoforge-metadata\";\n/**\n * A metadata reader that is able to read NeoForge mod metadata from a zipped file.\n */\nexport class NeoForgeMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, MODS_TOML);\n const metadata = NeoForgeMetadata.from(parseToml(metadataText));\n if (!metadata.dependencies.some(x => x.id === LoaderType.NEOFORGE)) {\n throw new Error(\"A NeoForge metadata file must contain a 'neoforge' dependency\");\n }\n return metadata;\n }\n}\n","import { $i } from \"@/utils/collections\";\nimport { FabricMetadataReader } from \"./fabric/fabric-metadata-reader\";\nimport { ForgeMetadataReader } from \"./forge/forge-metadata-reader\";\nimport { LoaderType } from \"./loader-type\";\nimport { QuiltMetadataReader } from \"./quilt/quilt-metadata-reader\";\nimport { NeoForgeMetadataReader } from \"./neoforge/neoforge-metadata-reader\";\n/**\n * Combines multiple metadata readers into a single reader\n * that tries each reader in order until one successfully reads the metadata.\n *\n * @param readers - A collection of metadata readers to be combined.\n *\n * @returns A new metadata reader instance that represents the combined readers.\n */\nexport function combineLoaderMetadataReaders(readers) {\n const readerArray = [...readers];\n const readMetadataFile = async (path) => {\n for (const reader of readerArray) {\n const metadata = await reader.readMetadataFile(path).catch(() => undefined);\n if (metadata) {\n return metadata;\n }\n }\n throw new Error(`Unable to read metadata from the file located at: '${path}'`);\n };\n return { readMetadataFile };\n}\n/**\n * Creates a metadata reader for the specified well-known loader.\n *\n * @param loader - The loader the metadata for which needs to be read.\n *\n * @returns A metadata reader for the given loader.\n */\nexport function createLoaderMetadataReader(loader) {\n switch (loader) {\n case LoaderType.FABRIC:\n return new FabricMetadataReader();\n case LoaderType.FORGE:\n return new ForgeMetadataReader();\n case LoaderType.QUILT:\n return new QuiltMetadataReader();\n case LoaderType.NEOFORGE:\n return new NeoForgeMetadataReader();\n default:\n throw new Error(`Unknown mod loader '${LoaderType.format(loader)}'.`);\n }\n}\n/**\n * Creates a metadata reader that is a combination of readers for all known loaders.\n *\n * @returns A metadata reader that can read metadata from all known loaders.\n */\nexport function createDefaultLoaderMetadataReader() {\n return combineLoaderMetadataReaders($i(LoaderType.values()).map(createLoaderMetadataReader));\n}\n","import { getEnvironmentVariable } from \"@/utils/environment\";\nimport { readFileSync } from \"node:fs\";\nimport { GITHUB_API_URL as DEFAULT_GITHUB_API_URL } from \"./github-api-client\";\n/**\n * The name of the environment variable that contains the path to the GitHub webhook payload file.\n */\nconst GITHUB_PAYLOAD_PATH = \"GITHUB_EVENT_PATH\";\n/**\n * The name of the environment variable that contains the repository name in the format \"owner/repo\".\n */\nconst GITHUB_REPOSITORY = \"GITHUB_REPOSITORY\";\n/**\n * The name of the environment variable that contains the GitHub API url.\n */\nconst GITHUB_API_URL = \"GITHUB_API_URL\";\n/**\n * The name of the environment variable that contains the Git ref associated with the workflow run.\n */\nconst GITHUB_REF = \"GITHUB_REF\";\n/**\n * The prefix for Git tag refs in the format \"refs/tags/\".\n */\nconst GITHUB_REF_TAG_PREFIX = \"refs/tags/\";\n/**\n * Represents an execution context of a GitHub action.\n */\nexport class GitHubContext {\n /**\n * A container for environment variables.\n */\n _env;\n /**\n * Cached payload associated with the context.\n */\n _payload;\n /**\n * Constructs a new {@link GitHubContext} instance.\n *\n * @param env - An optional object containing environment variables.\n */\n constructor(env) {\n this._env = env;\n }\n /**\n * Gets the ref associated with the context, if available.\n */\n get ref() {\n return getEnvironmentVariable(GITHUB_REF, this._env);\n }\n /**\n * Gets the tag associated with the context, if available.\n */\n get tag() {\n const payload = this.payload;\n if (payload.release?.tag_name) {\n return payload.release.tag_name;\n }\n const ref = this.ref;\n if (ref?.startsWith(GITHUB_REF_TAG_PREFIX)) {\n return ref.substring(GITHUB_REF_TAG_PREFIX.length);\n }\n return undefined;\n }\n /**\n * Gets the version associated with the context, if available.\n */\n get version() {\n const tag = this.tag;\n // Remove the `v` prefix, popularized by GitHub.\n return /v\\d/.test(tag) ? tag.substring(1) : tag;\n }\n /**\n * Gets the repository associated with the context, if available.\n */\n get repo() {\n const repository = getEnvironmentVariable(GITHUB_REPOSITORY, this._env);\n if (repository?.includes(\"/\")) {\n const [owner, repo] = repository.split(\"/\");\n return { owner, repo };\n }\n return undefined;\n }\n /**\n * Gets the URL for the GitHub API associated with this context, if available;\n * otherwise using the base URL (`\"https://api.github.com\"`).\n */\n get apiUrl() {\n return getEnvironmentVariable(GITHUB_API_URL, this._env) || DEFAULT_GITHUB_API_URL;\n }\n /**\n * Gets the payload associated with the context.\n */\n get payload() {\n if (this._payload) {\n return this._payload;\n }\n const path = getEnvironmentVariable(GITHUB_PAYLOAD_PATH, this._env);\n try {\n this._payload = JSON.parse(readFileSync(path, \"utf8\"));\n }\n catch {\n this._payload = {};\n }\n return this._payload;\n }\n}\n","import { QueryString } from \"@/utils/net\";\nimport { parseImportDirective } from \"@/utils/reflection\";\n/**\n * Parses a string into a type descriptor of a parameter of a GitHub Action.\n *\n * @param descriptor - The type descriptor to parse.\n *\n * @returns An {@link ActionParameterTypeDescriptor} object, or `undefined` if the input was invalid.\n *\n * @example\n *\n * ```\n * parseActionParameterTypeDescriptor(\"foo/bar-bar/baz-baz->{BazBaz}:{parseBazBaz}?key=value\");\n * ```\n */\nexport function parseActionParameterTypeDescriptor(descriptor) {\n if (!descriptor) {\n return undefined;\n }\n // Remove all whitespace characters and generics from the descriptor.\n descriptor = descriptor.replaceAll(/\\s/g, \"\").replaceAll(/<.*>/g, \"\");\n const isArray = descriptor.includes(\"[]\");\n descriptor = descriptor.replaceAll(\"[]\", \"\");\n const optionsIndex = descriptor.indexOf(\"?\");\n const options = optionsIndex >= 0 ? QueryString.parse(descriptor.substring(optionsIndex)) : undefined;\n descriptor = optionsIndex >= 0 ? descriptor.substring(0, optionsIndex) : descriptor;\n const normalizedDescriptor = normalizePattern(descriptor);\n const [type, factory] = normalizedDescriptor.split(\";\").map(parseImportDirective);\n return { ...type, factory, options, isArray };\n}\n/**\n * Normalizes a type descriptor pattern for use in an action signature.\n *\n * @param descriptor - The type descriptor pattern to normalize.\n *\n * @returns The normalized type descriptor pattern.\n *\n * @example\n *\n * ```\n * \"foo/bar-bar/baz-baz->{BazBaz:parseBazBaz}\" => \"foo/bar-bar/baz-baz->{BazBaz};parseBazBaz\"\n * \"foo/bar-bar/baz-baz->{BazBaz}:{parseBazBaz}\" => \"foo/bar-bar/baz-baz->{BazBaz};foo/bar-bar/baz-baz->{parseBazBaz}\"\n * \"foo/bar-bar/baz-baz->{BazBaz}:parseBazBaz\" => \"foo/bar-bar/baz-baz->{BazBaz};foo/bar-bar/baz-baz->parseBazBaz\"\n * \"foo/bar-bar/baz-baz->BazBaz:{parseBazBaz}\" => \"foo/bar-bar/baz-baz->BazBaz;foo/bar-bar/baz-baz->{parseBazBaz}\"\n * \"foo/bar-bar/baz-baz->BazBaz:parseBazBaz\" => \"foo/bar-bar/baz-baz->BazBaz;parseBazBaz\"\n * ```\n */\nfunction normalizePattern(descriptor) {\n if (!descriptor.includes(\"/\") && descriptor.includes(\".\")) {\n return normalizePatternInDotNotation(descriptor);\n }\n if (!descriptor.includes(\":\")) {\n return descriptor;\n }\n const descriptors = descriptor.split(\";\");\n const mainDescriptor = descriptors[0];\n if (!mainDescriptor.includes(\":\")) {\n return mainDescriptor;\n }\n const typeDescriptor = mainDescriptor.replaceAll(/:(?:\\w+|{\\w+})/g, \"\");\n const typeModule = mainDescriptor.match(/^.*->/)?.[0];\n const match = mainDescriptor.match(/\\{?(?\\w+)(?\\}?):(?\\{?)(?\\w+)\\}?/)?.groups;\n const factoryModule = !match.isTypeImported && !match.isFactoryImported ? \"\" : typeModule;\n const factoryDescriptor = factoryModule + (match.isFactoryImported ? `{${match.factory}}` : match.factory);\n return `${typeDescriptor};${factoryDescriptor}`;\n}\n/**\n * Converts a type descriptor in dot notation to slash notation.\n *\n * @param descriptor - The type descriptor in dot notation.\n *\n * @returns The type descriptor in slash notation.\n *\n * @example\n *\n * ```\n * \"foo.barBar.BazBaz\" => \"foo/bar-bar/baz-baz->{BazBaz}\"\n * \"foo.barBar.BazBaz:parseBazBaz\" => \"foo/bar-bar/baz-baz->{BazBaz};parseBazBaz\"\n * \"foo.barBar.BazBaz:{parseBazBaz}\" => \"foo/bar-bar/baz-baz->{BazBaz};foo/bar-bar/baz-baz->{parseBazBaz}\"\"\n * ```\n */\nfunction normalizePatternInDotNotation(descriptor) {\n const descriptors = descriptor.split(\";\");\n const dotDescriptor = descriptors[0];\n // Use a regular expression to match the path, name, and factory components of the descriptor.\n const match = dotDescriptor.match(/^(?.*?\\.)?(?[\\w]+?)(?::(?{?\\w+}?))?$/);\n if (!match) {\n return descriptor;\n }\n const path = match.groups.path;\n const typeName = match.groups.name;\n // Create the full path by replacing dots with slashes and converting camelCase to kebab-case.\n const fullPath = path && `${path}${typeName}`.replaceAll(\".\", \"/\").replaceAll(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n const factoryName = match.groups.factory;\n const isFactoryImported = factoryName?.charAt(0) === \"{\";\n const typeDescriptor = fullPath ? `${fullPath}->{${typeName}}` : typeName;\n const factoryDescriptor = factoryName ? isFactoryImported && fullPath ? `${fullPath}->${factoryName}` : factoryName : descriptors[1];\n // Join the type and factory descriptors (if any) with semicolons and return as the result.\n const slashDescriptor = [typeDescriptor, factoryDescriptor].filter(x => x).join(\";\");\n return slashDescriptor;\n}\n","import { $i } from \"@/utils/collections\";\nimport { capitalize } from \"@/utils/string-utils\";\n/**\n * Returns the parameter name as a single-element array, representing the identity path of the parameter.\n *\n * @param name - The name of the parameter.\n *\n * @returns An array containing a single element, which is the name of the parameter.\n */\nexport const IDENTITY_ACTION_PARAMETER_PATH_PARSER = name => [name || \"\"];\n/**\n * Splits the parameter name by non-letter and non-number characters, converts each word to lowercase,\n * and returns an array of property names that identify the location of the parameter.\n *\n * @param name - The name of the parameter.\n *\n * @returns An array of property names that identify the location of the parameter.\n */\nexport const SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER = name => (name || \"\").split(/[^\\p{L}\\p{N}]/u).map(x => x.toLowerCase());\n/**\n * Splits the parameter name by non-letter and non-number characters, converts each word to lowercase,\n * groups the parameter based on the input/output group specified in the metadata object, and\n * returns an array of property names that identify the location of the parameter.\n *\n * @param name - The name of the parameter.\n * @param parameter - The input or output parameter for which to generate the path, if any.\n * @param metadata - The action metadata object containing the parameter, if any.\n *\n * @returns An array of property names that identify the location of the parameter.\n *\n * @remarks\n *\n * For example, given the following set of parameter names:\n * ```\n * [\n * \"bar-baz\",\n * \"foo-qux\",\n * \"foo-qux-waldo\",\n * ]\n * ```\n * And groups:\n * ```\n * [\n * \"foo\",\n * ]\n * ```\n *\n * The output would be:\n * ```\n * [\n * [\"barBaz\"],\n * [\"foo\", \"qux\"],\n * [\"foo\", \"quxWaldo\"],\n * ]\n * ```\n */\nexport const SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER = (name, parameter, metadata) => {\n const path = SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(name, parameter, metadata);\n if (!parameter || !metadata) {\n return path;\n }\n const groups = metadata.inputs?.[name] === parameter ? metadata.groups?.input : metadata.outputs?.[name] === parameter ? metadata.groups?.output : undefined;\n const groupNames = groups ? Object.keys(groups) : [];\n const parameterGroup = $i(groupNames)\n .map(x => SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(x, parameter, metadata))\n .filter(x => $i(path).startsWith(x))\n .max((a, b) => a.length - b.length);\n const maxPathLength = (parameterGroup?.length || 0) + 1;\n const flattenedPath = flattenPath(path, maxPathLength);\n return flattenedPath;\n};\n/**\n * Flattens the path array by merging consecutive elements that represent a single property name.\n *\n * @param path - An array of property names to be flattened.\n * @param maxPathLength - The maximum length of the flattened path.\n *\n * @returns The flattened path array.\n *\n * @remarks\n *\n * This method changes the array in place.\n */\nfunction flattenPath(path, maxPathLength) {\n // `maxPathLength` cannot be less then `1`, because we cannot fold a path any further than that.\n // Also, we can handle `NaN`, `undefined`, and `null` this way.\n if (!(maxPathLength >= 1)) {\n maxPathLength = 1;\n }\n while (path.length > maxPathLength) {\n path[path.length - 2] += capitalize(path[path.length - 1]);\n path.splice(path.length - 1);\n }\n return path;\n}\n","import { IDENTITY_ACTION_PARAMETER_PATH_PARSER } from \"./action-parameter-path-parser\";\n/**\n * Retrieves an action parameter descriptor from the given action metadata by its name.\n *\n * @template T - The type of the resulting action parameter descriptor.\n * @template U - The type of the action parameter.\n *\n * @param metadata - The action metadata containing the parameter.\n * @param name - The name of the parameter to extract a descriptor for.\n * @param descriptorFactory - A factory function that creates a new parameter descriptor from the given parameter, its name, and its path.\n * @param parameters - The parameters to extract a descriptor from.\n * @param options - Options for configuring how action parameter descriptors are extracted.\n *\n * @returns An action parameter descriptor, or `undefined` if the parameter was not found.\n */\nexport function getActionParameterDescriptor(metadata, name, descriptorFactory, parameters, options) {\n // Determine which pathParser to use based on the provided options.\n const pathParser = options?.pathParser ?? IDENTITY_ACTION_PARAMETER_PATH_PARSER;\n // Convert the parameter definition into its respective descriptor and return it.\n const parameter = parameters?.[name];\n const descriptor = parameter && descriptorFactory(parameter, name, pathParser(name, parameter, metadata));\n return descriptor;\n}\n/**\n * Retrieves action parameter descriptors from the given action metadata.\n *\n * @template T - The type of the resulting action parameter descriptors.\n * @template U - The type of the action parameters.\n *\n * @param metadata - The action metadata containing the parameters.\n * @param descriptorFactory - A factory function that creates a new parameter descriptor from the given parameter, its name, and its path.\n * @param parameters - The parameters to extract descriptors from.\n * @param options - Options for configuring how action parameter descriptors are extracted.\n *\n * @returns An array of action parameter descriptors.\n */\nexport function getActionParameterDescriptors(metadata, descriptorFactory, parameters, options) {\n // Determine which pathParser to use based on the provided options.\n const pathParser = options?.pathParser ?? IDENTITY_ACTION_PARAMETER_PATH_PARSER;\n // Convert the parameter definitions into their respective descriptors and return them.\n const namedParameters = parameters ? Object.entries(parameters) : [];\n const descriptors = namedParameters.map(([name, parameter]) => descriptorFactory(parameter, name, pathParser(name, parameter, metadata)));\n return descriptors;\n}\n","import { SYNTHETIC_UNDEFINED } from \"./action-input\";\nimport { parseActionParameterTypeDescriptor } from \"./action-parameter-type-descriptor\";\nimport { getActionParameterDescriptor, getActionParameterDescriptors } from \"./action-parameter-descriptor\";\n/**\n * Retrieves an action input descriptors from the given action metadata by its name.\n *\n * @param metadata - The action metadata containing the input definition.\n * @param name - The name of the input to extract a descriptor for.\n * @param options - Options for configuring how action input descriptor is extracted.\n *\n * @returns An action input descriptor, or `undefined` if the input was not found.\n */\nexport function getActionInputDescriptor(metadata, name, options) {\n return getActionParameterDescriptor(metadata, name, asActionInputDescriptor, metadata.inputs, options);\n}\n/**\n * Retrieves action input descriptors from the given action metadata.\n *\n * @param metadata - The action metadata containing the input definitions.\n * @param options - Options for configuring how action input descriptors are extracted.\n *\n * @returns An array of action input descriptors.\n */\nexport function getActionInputDescriptors(metadata, options) {\n return getActionParameterDescriptors(metadata, asActionInputDescriptor, metadata.inputs, options);\n}\n/**\n * Converts an action input definition to an action input descriptor.\n *\n * @param input - The input definition to convert.\n * @param name - The name of the input definition.\n * @param path - The parsed path of the input definition.\n *\n * @returns The converted action input descriptor.\n */\nfunction asActionInputDescriptor(input, name, path) {\n const isDefaultUndefined = input.default === undefined || input.default === SYNTHETIC_UNDEFINED;\n const typeDescriptor = input.type || (isDefaultUndefined ? \"string\" : typeof input.default);\n return {\n name,\n path,\n redirect: input.redirect,\n type: parseActionParameterTypeDescriptor(typeDescriptor),\n description: input.description ?? \"\",\n required: input.required ?? false,\n default: isDefaultUndefined ? undefined : input.default,\n deprecationMessage: input.deprecationMessage,\n };\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents the known options for the action parameter factory function.\n *\n * @partial\n */\nvar ActionParameterFactoryOptionsValues;\n(function (ActionParameterFactoryOptionsValues) {\n /**\n * Determines if the input string should be split into an array of strings.\n *\n * Default value is `true` if the type represents an array, and `false` otherwise.\n */\n ActionParameterFactoryOptionsValues[\"SPLIT\"] = \"split\";\n /**\n * If `split` is `true`, this is used to divide the input string into an array of strings.\n * Otherwise, it's unused.\n *\n * Default value is `/\\r?\\n/g`.\n */\n ActionParameterFactoryOptionsValues[\"SEPARATOR\"] = \"separator\";\n /**\n * If `split` is set to `true`, this indicates whether the factory/converter function\n * should accept the input array as a whole or process its values individually and then concatenate them into a new array.\n *\n * Default value is the same as `split`.\n */\n ActionParameterFactoryOptionsValues[\"PROCESS_SEPARATELY\"] = \"processSeparately\";\n /**\n * If `true`, trims whitespace from the beginning and end of each entry in the array.\n *\n * Default value is the same as `split`.\n */\n ActionParameterFactoryOptionsValues[\"TRIM_ENTRIES\"] = \"trimEntries\";\n /**\n * If `true`, removes empty entries from the array after processing.\n *\n * Default value is the same as `split`.\n */\n ActionParameterFactoryOptionsValues[\"REMOVE_EMPTY_ENTRIES\"] = \"removeEmptyEntries\";\n /**\n * The depth level specifying how deep a nested array structure should be flattened.\n * Passes the value to Array.prototype.flat() method.\n *\n * Default value is `1`.\n */\n ActionParameterFactoryOptionsValues[\"FLAT_DEPTH\"] = \"flatDepth\";\n})(ActionParameterFactoryOptionsValues || (ActionParameterFactoryOptionsValues = {}));\n/**\n * Options for configuring the behavior of the `ActionParameterFactoryOptions` enum.\n *\n * @partial\n */\nconst ActionParameterFactoryOptionsOptions = {\n /**\n * The case should be ignored while parsing the options.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the options.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Represents the known options for the action parameter factory function.\n */\nexport const ActionParameterFactoryOptions = Enum.create(ActionParameterFactoryOptionsValues, ActionParameterFactoryOptionsOptions);\n","import { runSafely } from \"@/utils/async-utils\";\nimport { $i, asArray } from \"@/utils/collections\";\nimport { toType } from \"@/utils/convert\";\nimport { getAllEnvironmentVariables, getEnvironmentVariable, setEnvironmentVariable } from \"@/utils/environment\";\nimport { NODE_MODULE_LOADER, defineNestedProperty, executeImportDirective } from \"@/utils/reflection\";\nimport { split, stringEquals } from \"@/utils/string-utils\";\nimport { getActionInputDescriptors } from \"./action-input-descriptor\";\nimport { normalizeActionParameterName } from \"./action-parameter\";\nimport { ActionParameterFactoryOptions } from \"./action-parameter-factory-options\";\n/**\n * A synthetic string used to represent an undefined input value in the context of GitHub Actions.\n *\n * This value is used because inputs with an empty string value and inputs that were not supplied\n * are indistinguishable in the context of GitHub Actions. Therefore, this synthetic value is used\n * to represent undefined input values, allowing for a clear distinction between empty and undefined\n * values.\n *\n * @remarks\n *\n * Yeah, it seems that Microsoft didn't think that 2 already existing values that\n * represent absence of any object value in slightly different ways quite cut it,\n * so for their GitHub Actions they invented a brand new one!\n * Rejoice and greet an, I'm sorry, THE empty string!\n *\n * @remarks\n *\n * Someone at Microsoft was like:\n *\n * - undefined === null == \"\" // true\n * - Hm, seems legit\n *\n */\n// eslint-disable-next-line no-template-curly-in-string\nexport const SYNTHETIC_UNDEFINED = \"${undefined}\";\n/**\n * The prefix used to identify GitHub Action inputs in the environment variables.\n */\nconst INPUT_PREFIX = \"INPUT_\";\n/**\n * Sets the value of a GitHub Action input by setting an environment variable.\n *\n * @param name - The name of the input to set.\n * @param value - The value to set for the input.\n * @param env - An optional set of the environment variables to update. Defaults to `process.env`.\n */\nexport function setActionInput(name, value, env) {\n const normalizedName = normalizeActionParameterName(name);\n const environmentVariableName = INPUT_PREFIX + normalizedName;\n const stringifiedValue = value === undefined || value === SYNTHETIC_UNDEFINED\n ? undefined\n : typeof value === \"string\"\n ? value\n : JSON.stringify(value);\n setEnvironmentVariable(environmentVariableName, stringifiedValue, env);\n}\n/**\n * Sets the values of multiple GitHub Action inputs by setting their environment variables.\n *\n * @param inputs - An iterable object of pairs, where the first item is the input parameter name, and the second item is the input parameter value.\n * @param env - An optional set of the environment variables to update. Defaults to `process.env`.\n */\nexport function setActionInputs(inputs, env) {\n for (const [name, value] of inputs) {\n setActionInput(name, value, env);\n }\n}\n/**\n * Gets the value of an input.\n *\n * @param name - Name of the input to get.\n * @param options - Options to configure the way input retrieving works.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns The value of the input, or `undefined` if it was not provided.\n *\n * @throws An error if the `options.required` flag is set to `true` and the input is not defined.\n */\nexport function getActionInput(name, options, env) {\n const normalizedName = normalizeActionParameterName(name);\n const environmentVariableName = INPUT_PREFIX + normalizedName;\n const brokenValue = getEnvironmentVariable(environmentVariableName, env);\n const value = isActionInputDefined(brokenValue) ? brokenValue : undefined;\n const trimmedValue = (options?.trimWhitespace ?? true) ? value?.trim() : value;\n if (options?.required && value === undefined) {\n throw new Error(`Input required and not supplied: ${name}.`);\n }\n return trimmedValue;\n}\n/**\n * Gets the values of multiple inputs.\n *\n * @param names - Names of the inputs to get.\n * @param options - Options to configure the way input retrieving works.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns An array of the values of the inputs. The order of the values matches the order of the input names in the `names` parameter.\n * @throws An error if the `options.required` flag is set to `true` and one of the inputs is not defined.\n */\nexport function getActionInputs(names, options, env) {\n return $i(names).map(name => getActionInput(name, options, env)).toArray();\n}\n/**\n * Returns a map containing all inputs provided to the action.\n *\n * @param options - Options to configure the way input retrieving works.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns A map of input names and their corresponding values.\n * @throws An error if the `options.required` flag is set to `true` and one of the inputs is not defined.\n */\nexport function getAllActionInputs(options, env) {\n const inputs = new Map();\n const required = options?.required;\n const trimWhitespace = options?.trimWhitespace ?? true;\n for (const [name, value] of getAllEnvironmentVariables(env)) {\n if (!name.startsWith(INPUT_PREFIX)) {\n continue;\n }\n const inputName = name.substring(INPUT_PREFIX.length);\n const isValueDefined = isActionInputDefined(value);\n if (required && !isValueDefined) {\n throw new Error(`Input required and not supplied: ${inputName}.`);\n }\n if (!isValueDefined) {\n continue;\n }\n const inputValue = trimWhitespace ? value.trim() : value;\n inputs.set(inputName, inputValue);\n }\n return inputs;\n}\n/**\n * Checks whether the provided value is a defined input value.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a defined input value; otherwise, `false`.\n */\nfunction isActionInputDefined(value) {\n return typeof value === \"string\" && value !== SYNTHETIC_UNDEFINED;\n}\n/**\n * Retrieves all action inputs, converts them to the specified types, and returns them as an object.\n *\n * @template T - The expected type of the resulting object.\n *\n * @param descriptors - An iterable of action input descriptors.\n * @param options - Options for customizing the input object creation.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns A promise that resolves to an object containing the processed inputs.\n */\nexport async function getAllActionInputsAsObject(descriptors, options, env) {\n const moduleLoader = options?.moduleLoader || NODE_MODULE_LOADER;\n const converter = options?.converter || toType;\n const descriptorArray = asArray(descriptors);\n const inputs = getAllActionInputs(options, env);\n const inputObject = {};\n for (const [name, value] of inputs) {\n const descriptor = descriptorArray.find(d => stringEquals(d.name, name, { ignoreCase: true }));\n const targetDescriptor = descriptor?.redirect ? descriptorArray.find(d => d.name === descriptor.redirect) : descriptor;\n if (!targetDescriptor) {\n continue;\n }\n const parsedValue = await parseInput(value, descriptor.type, moduleLoader, converter);\n if (parsedValue === undefined) {\n throw new Error(`Cannot convert \"${descriptor.name}\" to \"${descriptor.type.name}\".`);\n }\n defineNestedProperty(inputObject, targetDescriptor.path, { value: parsedValue, writable: true, configurable: true, enumerable: true });\n }\n return inputObject;\n}\n/**\n * Retrieves all action inputs using metadata, converts them to the specified types, and returns them as an object.\n *\n * @template T - The expected type of the resulting object.\n *\n * @param metadata - The metadata of the action.\n * @param options - Options for customizing the input object creation and descriptor extraction.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns A promise that resolves to an object containing the processed inputs.\n */\nexport async function getAllActionInputsAsObjectUsingMetadata(metadata, options, env) {\n const descriptors = getActionInputDescriptors(metadata, options);\n return await getAllActionInputsAsObject(descriptors, options, env);\n}\n/**\n * Parses an input value using the specified type descriptor, module loader, and converter function.\n *\n * @param value - The input value to parse.\n * @param type - The type descriptor for the input.\n * @param moduleLoader - The module loader to use when loading modules.\n * @param converter - The converter function to use when converting the input value.\n *\n * @returns A promise that resolves to the parsed input value.\n */\nasync function parseInput(value, type, moduleLoader, converter) {\n const shouldSplit = type.options?.getBoolean(ActionParameterFactoryOptions.SPLIT) ?? type.isArray;\n const parse = shouldSplit ? parseMultipleInputs : parseSingleInput;\n return await parse(value, type, moduleLoader, converter);\n}\n/**\n * Parses multiple input values using the specified type descriptor, module loader, and converter function.\n *\n * @param value - The input value to parse.\n * @param type - The type descriptor for the input.\n * @param moduleLoader - The module loader to use when loading modules.\n * @param converter - The converter function to use when converting the input value.\n *\n * @returns A promise that resolves to the parsed input values.\n */\nasync function parseMultipleInputs(value, type, moduleLoader, converter) {\n const separator = type.options?.getRegExp(ActionParameterFactoryOptions.SEPARATOR) ?? /\\r?\\n/g;\n const processSeparately = type.options?.getBoolean(ActionParameterFactoryOptions.PROCESS_SEPARATELY) ?? true;\n const trimEntries = type.options?.getBoolean(ActionParameterFactoryOptions.TRIM_ENTRIES) ?? true;\n const removeEmptyEntries = type.options?.getBoolean(ActionParameterFactoryOptions.REMOVE_EMPTY_ENTRIES) ?? true;\n const flatDepth = type.options?.getNumber(ActionParameterFactoryOptions.FLAT_DEPTH) ?? 1;\n const values = split(value, separator, { trimEntries, removeEmptyEntries });\n if (!processSeparately) {\n return await parseSingleInput(values, type, moduleLoader, converter);\n }\n const processedValues = await Promise.all(values.map(v => parseSingleInput(v, type, moduleLoader, converter)));\n const flattenedValues = processedValues.flat(flatDepth);\n return flattenedValues;\n}\n/**\n * Parses a single input value using the specified type descriptor, module loader, and converter function.\n *\n * @param value - The input value to parse.\n * @param type - The type descriptor for the input.\n * @param moduleLoader - The module loader to use when loading modules.\n * @param converter - The converter function to use when converting the input value.\n *\n * @returns A promise that resolves to the parsed input value.\n */\nasync function parseSingleInput(value, type, moduleLoader, converter) {\n // Simple cases like \"string\", \"number\", \"Date\".\n // Should be handled by the `converter` function.\n if (!type.factory && !type.module) {\n return await converter(value, type.name);\n }\n const typeImport = await executeImportDirective(type, { moduleLoader, required: false });\n // The `factory` function was specified.\n // Therefore, it should be used to process the input.\n if (type.factory) {\n const factoryImport = await executeImportDirective(type.factory, {\n moduleLoader,\n defaultModuleProvider: d => Promise.resolve(d.isDefault ? (typeImport?.value ?? globalThis) : globalThis),\n required: true,\n });\n return await factoryImport.value(value, type.options);\n }\n // The only hope we have is that `converter` function will be able to process the input\n // using the target type or its module themselves.\n //\n // This is usually the case when a type has a dedicated `parse`- or `convert`-like module,\n // or one those is specified on the module itself.\n const conversionMethodContainers = [typeImport?.value, typeImport?.module].filter(x => x);\n for (const target of conversionMethodContainers) {\n const [convertedValue] = await runSafely(() => converter(value, target));\n if (convertedValue !== undefined) {\n return convertedValue;\n }\n }\n // None of the above strategies worked.\n // Let the caller deal with it.\n return undefined;\n}\n","import { pad, splitLines } from \"@/utils/string-utils\";\nimport { $i } from \"@/utils/collections/iterable\";\nimport { DEFAULT_NEWLINE } from \"@/utils/environment\";\n/**\n * A predefined frame style for generating YAML-style frames with `#` characters.\n */\nexport const YAML_FRAME_STYLE = { filler: \"#\" };\n/**\n * A predefined frame style for generating JavaScript-style multiline comment frames with `/*...*‎/` syntax.\n */\nexport const JS_MULTILINE_FRAME_STYLE = { lineStart: \"/* \", filler: \"*\", lineEnd: \" */\" };\n/**\n * A predefined frame-style for generating JavaScript-style single-line comment frames with `//` syntax.\n */\nexport const JS_SINGLELINE_FRAME_STYLE = { filler: \"//\" };\n/**\n * The default frame style to use if no style is specified.\n *\n * Uses the `YAML_FRAME_STYLE` style with `#` characters.\n */\nexport const DEFAULT_FRAME_STYLE = YAML_FRAME_STYLE;\n/**\n * The default alignment settings to use for the contents of each line in the generated frame.\n */\nexport const DEFAULT_FRAME_ALIGN = [\"center\"];\n/**\n * Generates a warning message that indicates the file is auto-generated and should not be edited.\n *\n * @param sourceFileName - An optional string that represents the name of the source file. If provided, the warning message will include instructions for modifying the source file instead of the auto-generated file.\n *\n * @returns A warning message that indicates the file is auto-generated and should not be edited.\n */\nexport function generateAutoGeneratedWarningText(sourceFileName) {\n const baseWarning = \"WARNING: AUTO-GENERATED FILE - DO NOT EDIT!\\n\\nPlease be advised that this is an auto-generated file and should NOT be modified. Any changes made to this file WILL BE OVERWRITTEN.\";\n if (!sourceFileName) {\n return baseWarning;\n }\n return `${baseWarning}\\n\\nTo make changes to the contents of this file, please modify the ${sourceFileName} file instead. This will ensure that your changes are properly reflected in the auto-generated file.`;\n}\n/**\n * Generates a warning frame containing an auto-generated warning message.\n *\n * @param options - Options for generating the warning frame.\n *\n * @returns A string representing the generated warning frame.\n */\nexport function generateAutoGeneratedWarningFrame(options) {\n const message = options?.message ?? generateAutoGeneratedWarningText(options?.sourceFileName);\n const align = Array.isArray(options?.align) ? options.align : typeof options?.align === \"string\" ? [options.align] : DEFAULT_FRAME_ALIGN;\n const filler = options?.style?.filler ?? DEFAULT_FRAME_STYLE.filler;\n const lineStart = options?.style?.lineStart ?? `${filler} `;\n const lineEnd = options?.style?.lineEnd ?? ` ${filler}`;\n const newline = options?.newline ?? DEFAULT_NEWLINE;\n const minLineLength = lineStart.length + lineEnd.length;\n const maxLineLength = Math.max((options?.lineWidth || 0) - minLineLength, 0);\n const lines = splitLines(message, { maxLength: maxLineLength });\n const frameSize = $i(lines).map(x => x.length).max() || 0;\n const fillerCount = Math.ceil(frameSize / filler.length);\n const frameLine = `${lineStart}${filler.repeat(fillerCount)}${lineEnd}`;\n const builtFrame = $i(lines)\n .map((x, i) => pad(x, frameSize, { align: align[Math.min(i, align.length - 1)] }))\n .map(x => `${lineStart}${x}${lineEnd}`)\n .append(frameLine)\n .prepend(frameLine)\n .join(newline);\n return builtFrame;\n}\n","import { DEFAULT_NEWLINE } from \"@/utils/environment\";\n/**\n * The default string to use for a single indentation level.\n */\nexport const DEFAULT_TAB = \" \";\n/**\n * The default number of spaces to use for a single indentation level.\n */\nexport const DEFAULT_TAB_SIZE = 4;\n/**\n * The default style for quoting strings in the formatted code.\n */\nexport const DEFAULT_QUOTES = \"\\\"\";\nexport { DEFAULT_NEWLINE, UNIX_NEWLINE, WINDOWS_NEWLINE } from \"@/utils/environment\";\n/**\n * Returns the string to use for a single indentation level, based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n *\n * @returns The string to use for a single indentation level.\n */\nexport function getTab(options) {\n // If a specific tab character is specified, use it.\n if (typeof options?.tab === \"string\") {\n return options.tab;\n }\n // If a specific tab size is specified and it's not the same as the default, generate a new tab string from it.\n if (typeof options?.tabSize === \"number\" && options.tabSize !== DEFAULT_TAB_SIZE) {\n return createTab(options.tabSize);\n }\n // Otherwise, use the default tab string.\n return DEFAULT_TAB;\n}\n/**\n * Returns the indentation string to use based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n *\n * @returns The indentation string to use.\n */\nexport function getIndentation(options) {\n const tab = getTab(options);\n return createIndentation(tab, options?.indent || 0);\n}\n/**\n * Returns the string to use for line breaks based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n * @returns The string to use for line breaks.\n */\nexport function getNewline(options) {\n // If a specific newline character sequence is specified, use it.\n // Otherwise, use the default line break character sequence based on the current operating system.\n return typeof options?.newline === \"string\" ? options.newline : DEFAULT_NEWLINE;\n}\n/**\n * Returns the preferred style for quoting strings based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n *\n * @returns The preferred style for quoting strings.\n */\nexport function getQuotes(options) {\n // If a specific quote style is specified, use it.\n // Otherwise, use the default quote string.\n return typeof options?.preferredQuotes === \"string\" ? options.preferredQuotes : DEFAULT_QUOTES;\n}\n/**\n * Returns a new set of formatting options with the indentation level incremented by the given amount.\n *\n * @param options - The formatting options to use as the starting point. If not provided, default values will be used.\n * @param step - The number of indentation levels to add. Defaults to `1` if not provided.\n *\n * @returns A new set of formatting options with the incremented indentation level.\n */\nexport function incrementIndent(options, step) {\n const indent = (options?.indent || 0) + (step ?? 1);\n return { ...options, indent };\n}\n/**\n * A cache of previously generated tab strings, keyed by their length.\n */\nconst CACHED_TABS = new Map([\n [DEFAULT_TAB_SIZE, DEFAULT_TAB],\n]);\n/**\n * Generates a string of spaces with the given width to use as an indentation level.\n *\n * @param tabSize - The number of spaces for a single indentation level.\n *\n * @returns The generated tab string.\n */\nfunction createTab(tabSize) {\n const cachedTab = CACHED_TABS.get(tabSize);\n if (cachedTab !== undefined) {\n return cachedTab;\n }\n const generatedTab = \" \".repeat(tabSize);\n CACHED_TABS.set(tabSize, generatedTab);\n return generatedTab;\n}\n/**\n * A cache of previously generated indentation strings, keyed by the combination of their `tab` and `indent` values.\n */\nconst CACHED_INDENTATION = new Map();\n/**\n * Generates a string of spaces using the provided tab string and indent count.\n *\n * @param tab - The string to use for a single indentation level.\n * @param indent - The number of indentation levels to apply.\n *\n * @returns The generated indentation string.\n */\nfunction createIndentation(tab, indent) {\n if (!indent) {\n return \"\";\n }\n if (indent === 1) {\n return tab;\n }\n const cachedIndentationsByTab = CACHED_INDENTATION.get(tab) || new Map();\n if (!cachedIndentationsByTab.size) {\n CACHED_INDENTATION.set(tab, cachedIndentationsByTab);\n }\n const cachedIndentation = cachedIndentationsByTab.get(indent);\n if (cachedIndentation !== undefined) {\n return cachedIndentation;\n }\n const generatedIndentation = tab.repeat(indent);\n cachedIndentationsByTab.set(indent, generatedIndentation);\n return generatedIndentation;\n}\n","import { splitLines } from \"@/utils/string-utils\";\nimport { getIndentation, getNewline, UNIX_NEWLINE } from \"./typescript-formatting-options\";\n/**\n * Represents a TypeScript comment.\n */\nexport class TypeScriptComment {\n /**\n * The text of the comment.\n */\n _text;\n /**\n * Constructs a new {@link TypeScriptComment} instance with the given text.\n *\n * @param text - The text of the comment.\n */\n constructor(text) {\n this._text = text;\n }\n /**\n * Gets the text of the comment.\n */\n get text() {\n return this._text;\n }\n /**\n * Determines whether the comment is a single-line comment.\n */\n get isSingleline() {\n return isSinglelineComment(this._text);\n }\n /**\n * Determines whether the comment is a directive comment.\n */\n get isDirective() {\n return isDirectiveComment(this._text);\n }\n /**\n * Determines whether the comment is a multi-line comment.\n */\n get isMultiline() {\n return isMultilineComment(this._text);\n }\n /**\n * Determines whether the comment is a TSDoc comment.\n */\n get isTSDoc() {\n return isTSDocComment(this._text);\n }\n /**\n * Creates a {@link TypeScriptComment} from the given text or text lines and optional template.\n *\n * @param text - The text or text lines to create the comment from.\n * @param template - The template to use when formatting the comment, if any.\n *\n * @returns A new {@link TypeScriptComment} created from the given text.\n */\n static create(text, template) {\n const lines = typeof text === \"string\" ? splitLines(text) : [...text];\n template ||= lines.length > 1 ? MULTILINE_TEMPLATE : SINGLELINE_TEMPLATE;\n const commentedLines = lines.map(x => template.prefix + x.trim());\n if (typeof template.startDelimiter === \"string\") {\n commentedLines.unshift(template.startDelimiter);\n }\n if (typeof template.endDelimiter === \"string\") {\n commentedLines.push(template.endDelimiter);\n }\n const commentText = commentedLines.join(UNIX_NEWLINE);\n return new TypeScriptComment(commentText);\n }\n /**\n * Creates a single-line {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new single-line {@link TypeScriptComment} created from the given text.\n */\n static createSingleline(text) {\n return TypeScriptComment.create(text, SINGLELINE_TEMPLATE);\n }\n /**\n * Creates a directive {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new directive {@link TypeScriptComment} created from the given text.\n */\n static createDirective(text) {\n return TypeScriptComment.create(text, DIRECTIVE_TEMPLATE);\n }\n /**\n * Creates a multi-line {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new multi-line {@link TypeScriptComment} created from the given text.\n */\n static createMultiline(text) {\n return TypeScriptComment.create(text, MULTILINE_TEMPLATE);\n }\n /**\n * Creates a TSDoc {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new TSDoc {@link TypeScriptComment} created from the given text.\n */\n static createTSDoc(text) {\n return TypeScriptComment.create(text, TSDOC_TEMPLATE);\n }\n /**\n * Parses the given text as a comment.\n *\n * @param text - The text to parse.\n *\n * @returns A {@link TypeScriptComment} created from the given text.\n */\n static parse(text) {\n return isComment(text) ? new TypeScriptComment(text) : TypeScriptComment.create(text);\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const indent = getIndentation(options);\n const newline = getNewline(options);\n const lines = splitLines(this._text);\n const comment = lines.map(x => indent + x).join(newline);\n return comment;\n }\n}\n/**\n * Determines whether the given text represents a single-line comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a single-line comment; otherwise, `false`.\n */\nexport function isSinglelineComment(text) {\n return /^\\s*\\/\\//.test(text);\n}\n/**\n * Determines whether the given text represents a directive comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a directive comment; otherwise, `false`.\n */\nexport function isDirectiveComment(text) {\n return /^\\s*\\/\\/\\//.test(text);\n}\n/**\n * Determines whether the given text represents a multi-line comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a multi-line comment; otherwise, `false`.\n */\nexport function isMultilineComment(text) {\n return /^\\s*\\/\\*/.test(text);\n}\n/**\n * Determines whether the given text represents a TSDoc comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a TSDoc comment; otherwise, `false`.\n */\nexport function isTSDocComment(text) {\n return /^\\s*\\/\\*\\*/.test(text);\n}\n/**\n * Determines whether the given text represents a comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a comment; otherwise, `false`.\n */\nexport function isComment(text) {\n return /^\\s*\\/[/*]/.test(text);\n}\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for single-line comments.\n */\nexport const SINGLELINE_TEMPLATE = { prefix: \"// \" };\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for directive comments.\n */\nexport const DIRECTIVE_TEMPLATE = { prefix: \"/// \" };\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for multi-line comments.\n */\nexport const MULTILINE_TEMPLATE = { startDelimiter: \"/*\", prefix: \" * \", endDelimiter: \" */\" };\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for TSDoc comments.\n */\nexport const TSDOC_TEMPLATE = { startDelimiter: \"/**\", prefix: \" * \", endDelimiter: \" */\" };\n","import { TypeScriptComment } from \"./typescript-comment\";\nimport { getNewline } from \"./typescript-formatting-options\";\n/**\n * Provides basic functionality for formatting TypeScript nodes with comments.\n */\nexport class AbstractTypeScriptNode {\n /**\n * An array of `TypeScriptComment` instances representing the comments associated with this node.\n */\n _comments;\n /**\n * Returns an iterable of comments associated with this node.\n */\n comments() {\n return this._comments || [];\n }\n /**\n * @inheritdoc\n */\n addComment(comment) {\n const commentNode = typeof comment === \"string\" ? TypeScriptComment.parse(comment) : comment;\n this._comments ??= [];\n this._comments.push(commentNode);\n return commentNode;\n }\n /**\n * Adds a TSDoc comment to this node.\n *\n * @param comment - The TSDoc comment to add to this node.\n *\n * @returns A new instance of {@link TypeScriptComment} representing the added TSDoc comment.\n */\n addTSDoc(comment) {\n return this.addComment(TypeScriptComment.createTSDoc(comment));\n }\n /**\n * @inheritdoc\n */\n deleteComment(comment) {\n const i = this._comments?.indexOf(comment) ?? -1;\n if (i === -1) {\n return false;\n }\n this._comments.splice(i, 1);\n return true;\n }\n /**\n * @inheritdoc\n */\n formatComments(options) {\n const newline = getNewline(options);\n const formattedComments = this._comments?.map(x => x.format(options)).join(newline) || \"\";\n return formattedComments;\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const newline = getNewline(options);\n const formattedComments = this.formatComments(options);\n const formattedContent = this.formatContent(options);\n const formattedNode = `${formattedComments}${formattedComments ? newline : \"\"}${formattedContent}`;\n return formattedNode;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation, getNewline } from \"./typescript-formatting-options\";\nimport { isCommentableTypeScriptNode } from \"./commentable-typescript-node\";\n/**\n * Represents a TypeScript export statement.\n */\nexport class TypeScriptExport extends AbstractTypeScriptNode {\n /**\n * The exported node.\n */\n _exportedNode;\n /**\n * Indicates whether this is a default export.\n */\n _isDefault;\n /**\n * Constructs a new {@link TypeScriptExport} instance with the specified exported node and default export flag.\n *\n * @param exportedNode - The exported node.\n * @param isDefault - Indicates whether this is a default export. Defaults to `false`.\n */\n constructor(exportedNode, isDefault) {\n super();\n this._exportedNode = exportedNode;\n this._isDefault = isDefault || false;\n }\n /**\n * Creates a new {@link TypeScriptExport} instance with the specified exported node.\n *\n * @param exportedNode - The exported node.\n * @param isDefault - Indicates whether this is a default export. Defaults to `false`.\n *\n * @returns A new {@link TypeScriptExport} instance representing a non-default export.\n */\n static create(exportedNode, isDefault) {\n return new TypeScriptExport(exportedNode, isDefault);\n }\n /**\n * Gets the exported node.\n */\n get exportedNode() {\n return this._exportedNode;\n }\n /**\n * Gets a value indicating whether this is a default export.\n */\n get isDefault() {\n return this._isDefault;\n }\n /**\n * @inheritdoc\n */\n formatComments(options) {\n const newline = getNewline(options);\n const node = this._exportedNode;\n const thisComments = super.formatComments(options);\n const nodeComments = isCommentableTypeScriptNode(node) ? node.formatComments(options) : \"\";\n if (!thisComments) {\n return nodeComments;\n }\n if (!nodeComments) {\n return thisComments;\n }\n return `${thisComments}${newline}${nodeComments}`;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const node = this._exportedNode;\n const formattedExportedNode = (isCommentableTypeScriptNode(node) ? node.formatContent(options) : node.format(options)).trimStart();\n const formattedExport = `${indent}export ${this._isDefault ? \"default \" : \"\"}${formattedExportedNode}${formattedExportedNode.endsWith(\";\") ? \"\" : \";\"}`;\n return formattedExport;\n }\n}\n","import { ArgumentError } from \"@/utils/errors\";\nimport { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation, getQuotes } from \"./typescript-formatting-options\";\n/**\n * Represents a TypeScript import statement.\n */\nexport class TypeScriptImport extends AbstractTypeScriptNode {\n /**\n * The path or module specifier of the imported module.\n */\n _path;\n /**\n * Set of named imports, if any.\n */\n _namedImports;\n /**\n * The name of the default import, if any.\n */\n _defaultImportName;\n /**\n * The name used to refer to a wildcard import, if any.\n */\n _wildcardImportName;\n /**\n * Constructs a new {@link TypeScriptImport} instance with the specified parameters.\n *\n * @param path - The path or module specifier of the imported module.\n * @param namedImports - Set of named imports, if any.\n * @param defaultImportName - The name of the default import, if any.\n * @param wildcardImportName - The name used to refer to a wildcard import, if any.\n */\n constructor(path, namedImports, defaultImportName, wildcardImportName) {\n super();\n this._path = path;\n this._namedImports = namedImports;\n this._defaultImportName = defaultImportName;\n this._wildcardImportName = wildcardImportName;\n this.assertIsValidImport();\n }\n /**\n * Creates a new instance of {@link TypeScriptImport}.\n *\n * @param path - The path or module specifier of the imported module.\n * @param options - An optional set of configuration options for the import, such as named imports or a default import name.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static create(path, options) {\n return new TypeScriptImport(path, options?.namedImports ? new Set(options.namedImports) : undefined, options?.defaultImportName, options?.wildcardImportName);\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing a wildcard import.\n *\n * @param path - The path or module specifier of the imported module.\n * @param wildcardImportName - The name used to refer to a wildcard import.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createWildcardImport(path, wildcardImportName) {\n return new TypeScriptImport(path, undefined, undefined, wildcardImportName);\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing a default import.\n *\n * @param path - The path or module specifier of the imported module.\n * @param defaultImportName - The name of the default import.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createDefaultImport(path, defaultImportName) {\n return new TypeScriptImport(path, undefined, defaultImportName);\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing a named import.\n *\n * @param path - The path or module specifier of the imported module.\n * @param namedImports - The set of named imports.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createNamedImport(path, namedImports) {\n return new TypeScriptImport(path, new Set(namedImports));\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing an empty import.\n *\n * @param path - The path or module specifier of the imported module.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createEmptyImport(path) {\n return new TypeScriptImport(path);\n }\n /**\n * Gets the path or module specifier of the imported module.\n */\n get path() {\n return this._path;\n }\n /**\n * Gets the iterable list of named imports, if any.\n */\n namedImports() {\n return this._namedImports || [];\n }\n /**\n * Adds a named import to the list of named imports.\n *\n * @param name - The name of the named import to add.\n *\n * @throws An error if the specified import name is an empty string.\n */\n addNamedImport(name) {\n ArgumentError.throwIfNullOrEmpty(name, \"name\");\n this._namedImports ??= new Set();\n this._namedImports.add(name);\n this.assertIsValidImport();\n }\n /**\n * Adds multiple named imports to the list of named imports.\n *\n * @param names - An iterable list of named imports to add.\n *\n * @throws An error if any of the specified import names is an empty string.\n */\n addNamedImports(names) {\n for (const name of names) {\n this.addNamedImport(name);\n }\n }\n /**\n * Deletes the specified named import from this instance's list of named imports.\n *\n * @param name - The name of the named import to delete.\n *\n * @returns `true` if the named import was deleted; otherwise, `false`.\n */\n deleteNamedImport(name) {\n return !!this._namedImports?.delete(name);\n }\n /**\n * Gets the name of the default import, if any.\n */\n get defaultImportName() {\n return this._defaultImportName;\n }\n /**\n * Sets the name of the default import.\n *\n * @param name - The new name of the default import.\n */\n set defaultImportName(name) {\n this._defaultImportName = name;\n this.assertIsValidImport();\n }\n /**\n * Gets the name used to refer to a wildcard import, if any.\n */\n get wildcardImportName() {\n return this._wildcardImportName;\n }\n /**\n * Sets the name used to refer to a wildcard import.\n *\n * @param name - The new name used to refer to a wildcard import.\n */\n set wildcardImportName(name) {\n this._wildcardImportName = name;\n this.assertIsValidImport();\n }\n /**\n * Gets a value indicating whether this instance has any named imports.\n */\n get isNamedImport() {\n return !!this._namedImports?.size;\n }\n /**\n * Gets a value indicating whether this instance has a default import.\n */\n get isDefaultImport() {\n return !!this._defaultImportName;\n }\n /**\n * Gets a value indicating whether this instance is a wildcard import.\n */\n get isWildcardImport() {\n return !!this._wildcardImportName;\n }\n /**\n * Gets a value indicating whether this instance is an empty import\n * (i.e. has no named, default, or wildcard imports).\n */\n get isEmptyImport() {\n return !this.isWildcardImport && !this.isDefaultImport && !this.isNamedImport;\n }\n /**\n * Asserts that this instance is valid.\n *\n * @throws An error if this instance is invalid (i.e. a wildcard import cannot be mixed with default/named imports).\n */\n assertIsValidImport() {\n if (this.isWildcardImport && (this.isDefaultImport || this.isNamedImport)) {\n throw new Error(\"Mixing wildcard import with default and/or named imports is not allowed.\");\n }\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const quotes = getQuotes(options);\n if (this.isEmptyImport) {\n return `${indent}// import { } from ${quotes}${this._path}${quotes};`;\n }\n let formatted = `${indent}import `;\n if (this.isWildcardImport) {\n formatted += `* as ${this._wildcardImportName}`;\n }\n if (this.isDefaultImport) {\n formatted += this.defaultImportName;\n }\n if (this.isNamedImport) {\n const formattedNamedImports = (`{ ${[...this._namedImports].join(\", \")} }`);\n formatted += this.isDefaultImport ? \", \" : \"\";\n formatted += formattedNamedImports;\n }\n formatted += ` from ${quotes}${this._path}${quotes};`;\n return formatted;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { TypeScriptImport } from \"./typescript-import\";\nimport { getNewline } from \"./typescript-formatting-options\";\nimport { $i } from \"@/utils/collections/iterable\";\n/**\n * Represents a collection of {@link TypeScriptImport} instances.\n */\nexport class TypeScriptImports extends AbstractTypeScriptNode {\n /**\n * A Map containing {@link TypeScriptImport} instances, keyed by their import path.\n */\n _imports;\n /**\n * Constructs a new {@link TypeScriptImports} instance.\n *\n * @param imports - An optional iterable containing {@link TypeScriptImport} instances to add to this object.\n */\n constructor(imports) {\n super();\n this._imports = new Map(Array.from(imports || []).map(x => [x.path, x]));\n }\n /**\n * Creates a new {@link TypeScriptImports} instance.\n *\n * @param imports - An optional iterable containing {@link TypeScriptImport} instances to add to this object.\n *\n * @returns A new {@link TypeScriptImports} instance.\n */\n static create(imports) {\n return new TypeScriptImports(imports);\n }\n /**\n * Returns an iterable containing all {@link TypeScriptImport} instances in this object.\n */\n imports() {\n return this._imports.values();\n }\n /**\n * Gets the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to retrieve.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path, or `undefined` if no such import exists.\n */\n getImport(path) {\n return this._imports.get(path);\n }\n /**\n * Gets the {@link TypeScriptImport} instance associated with the specified path, creating it if necessary.\n *\n * @param path - The path of the import to retrieve or create.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path.\n */\n getOrCreateImport(path) {\n if (!this._imports.has(path)) {\n this._imports.set(path, TypeScriptImport.createEmptyImport(path));\n }\n return this._imports.get(path);\n }\n /**\n * Adds an import to this instance.\n *\n * @param importNode - The {@link TypeScriptImport} instance to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n *\n * @remarks\n *\n * If an import already exists for the given path, its information will be merged with the specified import node.\n */\n addImport(importNode) {\n const existingImportNode = this._imports.get(importNode.path);\n this._imports.set(importNode.path, importNode);\n if (existingImportNode) {\n importNode.addNamedImports(existingImportNode.namedImports());\n importNode.defaultImportName ||= existingImportNode.defaultImportName;\n importNode.wildcardImportName ||= existingImportNode.wildcardImportName;\n }\n return importNode;\n }\n /**\n * Deletes an import from this instance.\n *\n * @param importNodeOrPath - The import to delete.\n *\n * @returns `true` if the import was deleted; otherwise, `false`.\n */\n deleteImport(importNodeOrPath) {\n const path = typeof importNodeOrPath === \"string\" ? importNodeOrPath : importNodeOrPath.path;\n return this._imports.delete(path);\n }\n /**\n * Adds a wildcard import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the wildcard import to.\n * @param wildcardImportName - The name to use when referring to the wildcard import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addWildcardImport(path, wildcardImportName) {\n const importNode = this.getOrCreateImport(path);\n importNode.wildcardImportName = wildcardImportName;\n return importNode;\n }\n /**\n * Adds a default import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the default import to.\n * @param defaultImportName - The name to use when referring to the default import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addDefaultImport(path, defaultImportName) {\n const importNode = this.getOrCreateImport(path);\n importNode.defaultImportName = defaultImportName;\n return importNode;\n }\n /**\n * Adds a named import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named import to.\n * @param namedImport - The name of the named import to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImport(path, namedImport) {\n const importNode = this.getOrCreateImport(path);\n importNode.addNamedImport(namedImport);\n return importNode;\n }\n /**\n * Adds multiple named imports to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named imports to.\n * @param namedImports - The iterable of named imports to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImports(path, namedImports) {\n const importNode = this.getOrCreateImport(path);\n importNode.addNamedImports(namedImports);\n return importNode;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const newline = getNewline(options);\n const formattedImports = $i(this).map(x => x.format(options)).join(newline);\n return formattedImports;\n }\n /**\n * Returns an iterable containing all {@link TypeScriptImport} instances in this object.\n */\n [Symbol.iterator]() {\n return this.imports()[Symbol.iterator]();\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { TypeScriptExport } from \"./typescript-export\";\nimport { TypeScriptImport } from \"./typescript-import\";\nimport { TypeScriptImports } from \"./typescript-imports\";\nimport { getNewline } from \"./typescript-formatting-options\";\nimport { $i } from \"@/utils/collections/iterable\";\nimport { writeFileSync } from \"node:fs\";\nimport { writeFile } from \"node:fs/promises\";\n/**\n * Represents a TypeScript document, containing a collection of import and export statements and other nodes.\n */\nexport class TypeScriptDocument extends AbstractTypeScriptNode {\n /**\n * An instance of TypeScriptImports containing all import statements in this document.\n */\n _imports;\n /**\n * An array of all nodes other than imports in this document.\n */\n _nodes;\n /**\n * Constructs a new {@link TypeScriptDocument} instance.\n */\n constructor() {\n super();\n this._imports = TypeScriptImports.create();\n this._nodes = [];\n }\n /**\n * Creates a new {@link TypeScriptDocument} instance.\n */\n static create() {\n return new TypeScriptDocument();\n }\n /**\n * Returns an iterable of all import statements in this document.\n */\n imports() {\n return this._imports;\n }\n /**\n * Returns an iterable of all nodes in this document.\n */\n nodes() {\n return $i(this._nodes).unshift(this._imports);\n }\n /**\n * Gets the import associated with the specified path.\n *\n * @param path - The path of the import to retrieve.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path, or `undefined` if no such import exists.\n */\n getImport(path) {\n return this._imports.getImport(path);\n }\n /**\n * Gets the import associated with the specified path, creating it if necessary.\n *\n * @param path - The path of the import to retrieve or create.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path.\n */\n getOrCreateImport(path) {\n return this._imports.getOrCreateImport(path);\n }\n /**\n * Adds an import to this document.\n *\n * @param importNode - The import to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n *\n * @remarks\n *\n * If an import already exists for the given path, its information will be merged with the specified import node.\n */\n addImport(importNode) {\n return this._imports.addImport(importNode);\n }\n /**\n * Adds a wildcard import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the wildcard import to.\n * @param wildcardImportName - The name to use when referring to the wildcard import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addWildcardImport(path, wildcardImportName) {\n return this._imports.addWildcardImport(path, wildcardImportName);\n }\n /**\n * Adds a default import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the default import to.\n * @param defaultImportName - The name to use when referring to the default import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addDefaultImport(path, defaultImportName) {\n return this._imports.addDefaultImport(path, defaultImportName);\n }\n /**\n * Adds a named import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named import to.\n * @param namedImport - The name of the named import to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImport(path, namedImport) {\n return this._imports.addNamedImport(path, namedImport);\n }\n /**\n * Adds multiple named imports to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named imports to.\n * @param namedImports - The iterable of named imports to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImports(path, namedImports) {\n return this._imports.addNamedImports(path, namedImports);\n }\n /**\n * Adds an export statement to this document.\n *\n * @param exportedNode - The node to export.\n *\n * @returns The {@link TypeScriptExport} instance that was added to this document.\n */\n addExport(exportedNode) {\n return this.addNode(TypeScriptExport.create(exportedNode));\n }\n /**\n * Adds a default export statement to this document.\n *\n * @param exportedNode - The node to export as the default export.\n *\n * @returns The {@link TypeScriptExport} instance that was added to this document.\n */\n addDefaultExport(exportedNode) {\n return this.addNode(TypeScriptExport.create(exportedNode, true));\n }\n /**\n * Adds a node to this document.\n *\n * @param node - The node to add.\n *\n * @returns The node that was added to this document.\n */\n addNode(node) {\n if (node instanceof TypeScriptImport) {\n return this.addImport(node);\n }\n if (node instanceof TypeScriptImports) {\n for (const importNode of node) {\n this.addImport(importNode);\n }\n return this._imports;\n }\n this._nodes.push(node);\n return node;\n }\n /**\n * Synchronously writes the content of this document to a file.\n *\n * @param file - The path or file descriptor to write to.\n * @param options - The options to use when formatting and writing the file.\n */\n saveSync(file, options) {\n writeFileSync(file, this.format(options), options);\n }\n /**\n * Asynchronously writes the content of this document to a file.\n *\n * @param file - The path or file descriptor to write to.\n * @param options - The options to use when formatting and writing the file.\n */\n save(file, options) {\n return writeFile(file, this.format(options), options);\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const newline = getNewline(options);\n const formattedNodes = $i(this).map(x => x.format(options)).filter(x => x).join(newline + newline);\n const formattedDocument = formattedNodes + newline;\n return formattedDocument;\n }\n /**\n * Returns an iterator over all nodes in this document.\n */\n [Symbol.iterator]() {\n return this.nodes()[Symbol.iterator]();\n }\n}\n","import { DEFAULT_QUOTES } from \"./typescript-formatting-options\";\n/**\n * Determines whether a name is a valid TypeScript member name.\n *\n * @param name - The name to check.\n *\n * @returns `true` if the name is a valid TypeScript member name; otherwise, `false`.\n */\nexport function isValidMemberName(name) {\n return /^[\\p{L}_][\\p{L}0-9_]*$/u.test(name);\n}\n/**\n * Escapes a member name so that it can be used safely in TypeScript code.\n *\n * @param name - The name of the member to escape.\n * @param quotes - Quotes to use around the escaped name. Defaults to {@link DEFAULT_QUOTES}.\n *\n * @returns The escaped member name.\n */\nexport function escapeMemberName(name, quotes) {\n if (isValidMemberName(name)) {\n return name;\n }\n quotes ||= DEFAULT_QUOTES;\n const escapedName = JSON.stringify(name).slice(1, -1).replaceAll(/[`']/g, \"\\\\$&\");\n return `[${quotes}${escapedName}${quotes}]`;\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { escapeMemberName } from \"./typescript-member\";\nimport { getIndentation, getQuotes } from \"./typescript-formatting-options\";\n/**\n * Represents a property in a TypeScript object type definition.\n */\nexport class TypeScriptProperty extends AbstractTypeScriptNode {\n /**\n * The name of the property.\n */\n _name;\n /**\n * The type definition of the property.\n */\n _type;\n /**\n * The set of configuration options for the property, such as whether it is read-only, optional, or abstract.\n */\n _options;\n /**\n * Constructs a new {@link TypeScriptProperty} instance.\n *\n * @param name - The name of the property.\n * @param type - The type definition of the property.\n * @param options - An optional set of configuration options for the property, such as whether it is read-only, optional, or abstract.\n */\n constructor(name, type, options) {\n super();\n this._name = name;\n this._type = type;\n this._options = options;\n }\n /**\n * Creates a new {@link TypeScriptProperty} instance.\n *\n * @param name - The name of the property.\n * @param type - The type definition of the property.\n * @param options - An optional set of configuration options for the property, such as whether it is read-only, optional, or abstract.\n *\n * @returns A new {@link TypeScriptProperty} instance.\n */\n static create(name, type, options) {\n return new TypeScriptProperty(name, type, options);\n }\n /**\n * Gets the name of the property.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the type definition of the property.\n */\n get type() {\n return this._type;\n }\n /**\n * Indicates whether this property is optional or not.\n */\n get isOptional() {\n return !!this._options?.isOptional;\n }\n /**\n * The access modifier for this property.\n */\n get accessModifier() {\n return this._options?.accessModifier;\n }\n /**\n * Indicates whether this property is read-only or not.\n */\n get isReadOnly() {\n return !!this._options?.isReadOnly;\n }\n /**\n * Indicates whether this property is abstract or not.\n */\n get isAbstract() {\n return !!this._options?.isAbstract;\n }\n /**\n * Indicates whether this property is static or not.\n */\n get isStatic() {\n return !!this._options?.isStatic;\n }\n /**\n * Returns a new {@link TypeScriptProperty} instance with the specified properties.\n *\n * @param properties - An object containing one or more properties to update.\n *\n * @returns A new {@link TypeScriptProperty} instance.\n */\n with(properties) {\n const name = properties?.name ?? this._name;\n const type = properties?.type ?? this._type;\n const options = { ...this._options, ...properties };\n const copiedProperty = TypeScriptProperty.create(name, type, options);\n for (const comment of this.comments()) {\n copiedProperty.addComment(comment);\n }\n return copiedProperty;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const quotes = getQuotes(options);\n const formattedName = escapeMemberName(this._name, quotes);\n const formattedType = this._type.format(options).trimStart();\n const accessModifier = this.accessModifier ? `${this.accessModifier} ` : \"\";\n const staticModifier = this.isAbstract ? \"static \" : \"\";\n const abstractModifier = this.isAbstract ? \"abstract \" : \"\";\n const readonlyModifier = this.isReadOnly ? \"readonly \" : \"\";\n const optionalModifier = this.isOptional ? \"?\" : \"\";\n const formattedProperty = `${indent}${accessModifier}${staticModifier}${abstractModifier}${readonlyModifier}${formattedName}${optionalModifier}: ${formattedType};`;\n return formattedProperty;\n }\n}\n","/**\n * Represents a single type literal in TypeScript.\n */\nexport class TypeScriptTypeLiteral {\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `string` type.\n */\n static STRING = new TypeScriptTypeLiteral(\"string\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `number` type.\n */\n static NUMBER = new TypeScriptTypeLiteral(\"number\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `bigint` type.\n */\n static BIGINT = new TypeScriptTypeLiteral(\"bigint\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `boolean` type.\n */\n static BOOLEAN = new TypeScriptTypeLiteral(\"boolean\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `symbol` type.\n */\n static SYMBOL = new TypeScriptTypeLiteral(\"symbol\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `undefined` type.\n */\n static UNDEFINED = new TypeScriptTypeLiteral(\"undefined\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `object` type.\n */\n static OBJECT = new TypeScriptTypeLiteral(\"object\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `function` type.\n */\n static FUNCTION = new TypeScriptTypeLiteral(\"function\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `never` type.\n */\n static NEVER = new TypeScriptTypeLiteral(\"never\");\n /**\n * A cache of previously created {@link TypeScriptTypeLiteral} instances, indexed by their value.\n */\n static TYPE_CACHE = new Map([\n TypeScriptTypeLiteral.STRING,\n TypeScriptTypeLiteral.NUMBER,\n TypeScriptTypeLiteral.BIGINT,\n TypeScriptTypeLiteral.BOOLEAN,\n TypeScriptTypeLiteral.SYMBOL,\n TypeScriptTypeLiteral.UNDEFINED,\n TypeScriptTypeLiteral.OBJECT,\n TypeScriptTypeLiteral.FUNCTION,\n TypeScriptTypeLiteral.NEVER,\n ].map(x => [x.value, x]));\n /**\n * A string value representing the type of this instance.\n */\n _value;\n /**\n * Creates a new instance of the {@link TypeScriptTypeLiteral} class with the specified value.\n *\n * @param value - The string value representing the type of this {@link TypeScriptTypeLiteral} instance.\n */\n constructor(value) {\n this._value = value;\n }\n /**\n * Creates a new instance of the {@link TypeScriptTypeLiteral} class with the specified value.\n *\n * @param value - The string value representing the type of this {@link TypeScriptTypeLiteral} instance.\n *\n * @returns A new instance of the {@link TypeScriptTypeLiteral} class with the specified value.\n */\n static create(value) {\n const cachedType = TypeScriptTypeLiteral.TYPE_CACHE.get(value);\n if (cachedType) {\n return cachedType;\n }\n return new TypeScriptTypeLiteral(value);\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return [this];\n }\n /**\n * Returns the string value representing the type of this {@link TypeScriptTypeLiteral} instance.\n */\n get value() {\n return this._value;\n }\n /**\n * @inheritdoc\n */\n format() {\n return this._value;\n }\n}\n","import { TypeScriptTypeLiteral } from \"./typescript-type-literal\";\n/**\n * Represents a TypeScript union type definition.\n */\nexport class TypeScriptUnionType {\n /**\n * An array of types that compose this union type.\n */\n _composingTypes;\n /**\n * Constructs a new {@link TypeScriptUnionType} instance.\n *\n * @param composingTypes - The iterable of types composing the union.\n */\n constructor(composingTypes) {\n this._composingTypes = composingTypes;\n }\n /**\n * Creates a new {@link TypeScriptUnionType} instance.\n *\n * @param composingTypes - The iterable of types composing the union.\n *\n * @returns A new {@link TypeScriptUnionType} instance.\n */\n static create(composingTypes) {\n const composingTypesArray = [...composingTypes];\n if (!composingTypesArray.length) {\n composingTypesArray.push(TypeScriptTypeLiteral.NEVER);\n }\n return new TypeScriptUnionType(composingTypesArray);\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return this._composingTypes;\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const formattedTypes = this._composingTypes.map(x => `(${x.format(options).trim()})`).join(\" | \");\n return formattedTypes;\n }\n}\n","import { TypeScriptProperty } from \"./typescript-property\";\nimport { getIndentation, getNewline, incrementIndent } from \"./typescript-formatting-options\";\nimport { $i } from \"@/utils/collections/iterable\";\nimport { decomposeType } from \"./typescript-type-definition\";\nimport { TypeScriptUnionType } from \"./typescript-union-type\";\n/**\n * Represents a TypeScript object type definition.\n */\nexport class TypeScriptObject {\n /**\n * An internal data structure that stores the members of the TypeScriptObject instance.\n */\n _members;\n /**\n * Constructs a new {@link TypeScriptObject} instance.\n */\n constructor() {\n this._members = new Map();\n }\n /**\n * Creates a new {@link TypeScriptObject} instance.\n *\n * @returns A new {@link TypeScriptObject} instance.\n */\n static create() {\n return new TypeScriptObject();\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return [this];\n }\n /**\n * Returns an iterable of all members in this object.\n */\n members() {\n return this._members.values();\n }\n /**\n * Returns an iterable of all properties in this object.\n */\n properties() {\n return $i(this).filter((x) => x instanceof TypeScriptProperty);\n }\n /**\n * Retrieves the specified member from this object.\n *\n * @param name - The name of the member to retrieve.\n *\n * @returns The specified member, or `undefined` if it does not exist.\n */\n getMember(name) {\n return this._members.get(name);\n }\n /**\n * Retrieves the specified nested member from this object.\n *\n * @param name - The name or path of the nested member to retrieve.\n *\n * @returns The specified nested member or undefined if it does not exist.\n */\n getNestedMember(name) {\n const path = typeof name === \"string\" ? name.split(\".\") : name;\n if (!path || !path.length) {\n return undefined;\n }\n const member = this.getMember(path[0]);\n if (path.length === 1) {\n return member;\n }\n if (!(member instanceof TypeScriptProperty) || !(member.type instanceof TypeScriptObject)) {\n return undefined;\n }\n return member.type.getNestedMember(path.slice(1));\n }\n /**\n * Determines whether this object contains a member with the specified name.\n *\n * @param name - The name of the member to search for.\n *\n * @returns `true` if the member exists; otherwise, `false`.\n */\n hasMember(name) {\n return this.getMember(name) !== undefined;\n }\n /**\n * Determines whether this object contains a nested member with the specified name or path.\n *\n * @param name - The name or path of the nested member to search for.\n *\n * @returns `true` if the nested member exists; otherwise, `false`.\n */\n hasNestedMember(name) {\n return this.getNestedMember(name) !== undefined;\n }\n /**\n * Adds the specified member to this object.\n *\n * @param member - The member to add.\n *\n * @returns The member that was added to this object.\n */\n addMember(member) {\n this._members.set(member.name, member);\n return member;\n }\n /**\n * Deletes the specified member from this object.\n *\n * @param member - The member to delete.\n *\n * @returns `true` if the member was deleted; otherwise, `false`.\n */\n deleteMember(member) {\n return this._members.delete(member.name);\n }\n /**\n * Retrieves the specified property from this object.\n *\n * @param name - The name of the property to retrieve.\n *\n * @returns The specified property, or `undefined` if it does not exist.\n */\n getProperty(name) {\n const property = this.getMember(name);\n return property instanceof TypeScriptProperty ? property : undefined;\n }\n /**\n * Retrieves the specified nested property from this object.\n *\n * @param name - The name or path of the nested property to retrieve.\n *\n * @returns The specified nested property, or `undefined` if it does not exist.\n */\n getNestedProperty(name) {\n const property = this.getNestedMember(name);\n return property instanceof TypeScriptProperty ? property : undefined;\n }\n /**\n * Determines whether this object contains a property with the specified name.\n *\n * @param name - The name of the property to search for.\n *\n * @returns `true` if the property exists; otherwise, `false`.\n */\n hasProperty(name) {\n return this.getProperty(name) !== undefined;\n }\n /**\n * Determines whether this object contains a nested property with the specified name or path.\n *\n * @param name - The name or path of the nested property to search for.\n *\n * @returns `true` if the nested property exists; otherwise, `false`.\n */\n hasNestedProperty(name) {\n return this.getNestedProperty(name) !== undefined;\n }\n /**\n * Adds a new property with the specified name and type to this object.\n *\n * @param name - The name of the new property.\n * @param type - The type of the new property.\n * @param isOptional - Indicates whether the property is optional or not.\n *\n * @returns The property that was added to this object.\n */\n addProperty(name, type, options) {\n return this.addMember(TypeScriptProperty.create(name, type, options));\n }\n /**\n * Adds a new nested property with the specified name or path and type to this object.\n *\n * @param name - The name or path of the new nested property.\n * @param type - The type of the new nested property.\n * @param isOptional - Indicates whether the property is optional or not.\n *\n * @returns The nested property that was added to this object.\n */\n addNestedProperty(name, type, options) {\n const path = typeof name === \"string\" ? name.split(\".\") : name;\n const localPropertyName = path[0];\n if (path.length === 1) {\n return this.addProperty(localPropertyName, type, options);\n }\n if (!this.hasProperty(localPropertyName)) {\n const nestedObject = TypeScriptObject.create();\n const nestedProperty = nestedObject.addNestedProperty(path.slice(1), type, options);\n this.addProperty(localPropertyName, nestedObject, options);\n return nestedProperty;\n }\n let localProperty = this.getProperty(localPropertyName);\n let nestedObject = $i(decomposeType(localProperty.type)).first((x) => x instanceof TypeScriptObject);\n if (!nestedObject) {\n nestedObject = TypeScriptObject.create();\n localProperty = localProperty.with({ type: TypeScriptUnionType.create([localProperty.type, nestedObject]) });\n this.addMember(localProperty);\n }\n return nestedObject.addNestedProperty(path.slice(1), type, options);\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const indent = getIndentation(options);\n const newline = getNewline(options);\n const doubleNewline = newline + newline;\n const indentedOptions = incrementIndent(options);\n const formattedMembers = $i(this).map(x => x.format(indentedOptions)).join(doubleNewline);\n const formattedObject = (`${indent}{`\n + `${newline}${formattedMembers}${newline}` +\n `${indent}}`);\n return formattedObject;\n }\n /**\n * Returns an iterator over all members in this object.\n */\n [Symbol.iterator]() {\n return this.members()[Symbol.iterator]();\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation } from \"./typescript-formatting-options\";\nimport { TypeScriptObject } from \"./typescript-object\";\n/**\n * Represents an interface in a TypeScript module.\n */\nexport class TypeScriptInterface extends AbstractTypeScriptNode {\n /**\n * The name of the interface.\n */\n _name;\n /**\n * The object definition of the interface.\n */\n _definition;\n /**\n * Constructs a new {@link TypeScriptInterface} instance.\n *\n * @param name - The name of the interface.\n * @param definition - The object definition of the interface.\n */\n constructor(name, definition) {\n super();\n this._name = name;\n this._definition = definition;\n }\n /**\n * Creates a new {@link TypeScriptInterface} instance.\n *\n * @param name - The name of the interface.\n * @param definition - The object definition of the interface.\n *\n * @returns A new {@link TypeScriptInterface} instance.\n */\n static create(name, definition) {\n return new TypeScriptInterface(name, definition || TypeScriptObject.create());\n }\n /**\n * Gets the name of the interface.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the object definition of the interface.\n */\n get definition() {\n return this._definition;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const formattedName = this._name;\n const formattedDefinition = this._definition.format(options).trimStart();\n const formattedInterface = `${indent}interface ${formattedName} ${formattedDefinition}`;\n return formattedInterface;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation } from \"./typescript-formatting-options\";\n/**\n * Represents a type alias in a TypeScript module.\n */\nexport class TypeScriptTypeAlias extends AbstractTypeScriptNode {\n /**\n * The name of the type alias.\n */\n _name;\n /**\n * The type definition of the type alias.\n */\n _type;\n /**\n * Constructs a new {@link TypeScriptTypeAlias} instance.\n *\n * @param name - The name of the type alias.\n * @param type - The type definition of the type alias.\n */\n constructor(name, type) {\n super();\n this._name = name;\n this._type = type;\n }\n /**\n * Creates a new {@link TypeScriptTypeAlias} instance.\n *\n * @param name - The name of the type alias.\n * @param type - The type definition of the type alias.\n *\n * @returns A new {@link TypeScriptTypeAlias} instance.\n */\n static create(name, type) {\n return new TypeScriptTypeAlias(name, type);\n }\n /**\n * Gets the name of the type alias.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the type definition of the type alias.\n */\n get type() {\n return this._type;\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return true;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return [this._type];\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const formattedName = this._name;\n const formattedType = this._type.format(options).trimStart();\n const formattedTypeAlias = `${indent}type ${formattedName} = ${formattedType};`;\n return formattedTypeAlias;\n }\n}\n","import { TypeScriptTypeLiteral } from \"./typescript-type-literal\";\n/**\n * Represents a TypeScript intersection type definition.\n */\nexport class TypeScriptIntersectionType {\n /**\n * An array of types that compose this intersection type.\n */\n _composingTypes;\n /**\n * Constructs a new {@link TypeScriptIntersectionType} instance.\n *\n * @param composingTypes - The iterable of types composing the intersection.\n */\n constructor(composingTypes) {\n this._composingTypes = composingTypes;\n }\n /**\n * Creates a new {@link TypeScriptIntersectionType} instance.\n *\n * @param composingTypes - The iterable of types composing the intersection.\n *\n * @returns A new {@link TypeScriptIntersectionType} instance.\n */\n static create(composingTypes) {\n const composingTypesArray = [...composingTypes];\n if (!composingTypesArray.length) {\n composingTypesArray.push(TypeScriptTypeLiteral.NEVER);\n }\n return new TypeScriptIntersectionType(composingTypesArray);\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return this._composingTypes;\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const formattedTypes = this._composingTypes.map(x => `(${x.format(options).trim()})`).join(\" & \");\n return formattedTypes;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation, getNewline } from \"./typescript-formatting-options\";\nimport { isCommentableTypeScriptNode } from \"./commentable-typescript-node\";\n/**\n * Represents the `const` keyword in TypeScript variable declaration.\n */\nconst CONST_DECLARATION = \"const\";\n/**\n * Represents the `let` keyword in TypeScript variable declaration.\n */\nconst LET_DECLARATION = \"let\";\n/**\n * Represents the `var` keyword in TypeScript variable declaration.\n */\nconst VAR_DECLARATION = \"var\";\n/**\n * Represents a TypeScript variable.\n */\nexport class TypeScriptVariable extends AbstractTypeScriptNode {\n /**\n * The name of the variable.\n */\n _name;\n /**\n * The value assigned to the TypeScript variable.\n */\n _value;\n /**\n * The declaration type of the TypeScript variable (const, let, or var).\n */\n _declaration;\n /**\n * Constructs a new {@link TypeScriptVariable} instance with the specified name, value, and declaration type.\n *\n * @param name - The name of the variable.\n * @param value - The value assigned to the variable.\n * @param declaration - The declaration type of the variable (const, let, or var). Defaults to `const`.\n */\n constructor(name, value, declaration) {\n super();\n this._name = name;\n this._value = value;\n this._declaration = declaration || CONST_DECLARATION;\n }\n /**\n * Creates a new {@link TypeScriptVariable} instance with the specified name, value, and declaration type.\n *\n * @param name - The name of the variable.\n * @param node - The value assigned to the variable.\n * @param declaration - The declaration type of the variable (const, let, or var). Defaults to `const`.\n *\n * @returns A new {@link TypeScriptVariable} instance.\n */\n static create(name, node, declaration) {\n return new TypeScriptVariable(name, node, declaration);\n }\n /**\n * Gets the declaration type of the TypeScript variable (const, let, or var).\n */\n get declaration() {\n return this._declaration;\n }\n /**\n * Gets the name of the TypeScript variable.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the value assigned to the TypeScript variable.\n */\n get value() {\n return this._value;\n }\n /**\n * @inheritdoc\n */\n formatComments(options) {\n const newline = getNewline(options);\n const node = this._value;\n const thisComments = super.formatComments(options);\n const nodeComments = isCommentableTypeScriptNode(node) ? node.formatComments(options) : \"\";\n if (!thisComments) {\n return nodeComments;\n }\n if (!nodeComments) {\n return thisComments;\n }\n return `${thisComments}${newline}${nodeComments}`;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const value = this._value;\n const formattedValue = (isCommentableTypeScriptNode(value) ? value.formatContent(options) : value.format(options)).trimStart();\n const formattedExport = `${indent}${this._declaration} ${this._name} = ${formattedValue}${formattedValue.endsWith(\";\") ? \"\" : \";\"}`;\n return formattedExport;\n }\n}\n","import { getActionParameterDescriptor, getActionParameterDescriptors } from \"./action-parameter-descriptor\";\nimport { parseActionParameterTypeDescriptor } from \"./action-parameter-type-descriptor\";\n/**\n * Retrieves an action output descriptors from the given action metadata by its name.\n *\n * @param metadata - The action metadata containing the output definition.\n * @param name - The name of the output to extract a descriptor for.\n * @param options - Options for configuring how action output descriptor is extracted.\n *\n * @returns An action output descriptor, or `undefined` if the output was not found.\n */\nexport function getActionOutputDescriptor(metadata, name, options) {\n return getActionParameterDescriptor(metadata, name, asActionOutputDescriptor, metadata.outputs, options);\n}\n/**\n * Retrieves action output descriptors from the given action metadata.\n *\n * @param metadata - The action metadata containing the output definitions.\n * @param options - Options for configuring how action output descriptors are extracted.\n *\n * @returns An array of action output descriptors.\n */\nexport function getActionOutputDescriptors(metadata, options) {\n return getActionParameterDescriptors(metadata, asActionOutputDescriptor, metadata.outputs, options);\n}\n/**\n * Converts an action output definition to an action output descriptor.\n *\n * @param output - The output definition to convert.\n * @param name - The name of the output definition.\n * @param path - The parsed path of the output definition.\n *\n * @returns The converted action output descriptor.\n */\nfunction asActionOutputDescriptor(output, name, path) {\n const isValueUndefined = output.value === undefined;\n const typeDescriptor = output.type || (isValueUndefined ? \"string\" : typeof output.value);\n return {\n name,\n path,\n redirect: output.redirect,\n type: parseActionParameterTypeDescriptor(typeDescriptor),\n description: output.description ?? \"\",\n value: output.value,\n };\n}\n","import { JS_MULTILINE_FRAME_STYLE, generateAutoGeneratedWarningFrame } from \"@/utils/auto-generated\";\nimport { DEFAULT_NEWLINE, UNIX_NEWLINE } from \"@/utils/environment\";\nimport { $i } from \"@/utils/collections\";\nimport { hashString } from \"@/utils/string-utils\";\nimport { TypeScriptComment, TypeScriptDocument, TypeScriptImport, TypeScriptInterface, TypeScriptTypeAlias, TypeScriptTypeLiteral, TypeScriptVariable, getIndentation, getNewline, getQuotes, incrementIndent } from \"@/utils/typescript\";\nimport { readFile, writeFile } from \"node:fs/promises\";\nimport { basename } from \"node:path\";\nimport { parse as parseYaml, stringify as stringifyYaml } from \"yaml\";\nimport { DEFAULT_ACTION_GROUP_DELIMITER } from \"./action-group\";\nimport { SYNTHETIC_UNDEFINED } from \"./action-input\";\nimport { getActionInputDescriptors } from \"./action-input-descriptor\";\nimport { getActionOutputDescriptors } from \"./action-output-descriptor\";\n/**\n * The default root path to use if none is provided.\n */\nconst DEFAULT_ROOT_PATH = \"./\";\n/**\n * The default action name constant name to use if none is provided.\n */\nconst DEFAULT_ACTION_NAME_CONSTANT_NAME = \"ACTION_NAME\";\n/**\n * The default input type name to use if none is provided.\n */\nconst DEFAULT_INPUT_TYPE_NAME = \"ActionInputs\";\n/**\n * The default output type name to use if none is provided.\n */\nconst DEFAULT_OUTPUT_TYPE_NAME = \"ActionOutputs\";\n/**\n * The default module loader name.\n */\nconst DEFAULT_MODULE_LOADER_NAME = \"ACTION_MODULE_LOADER\";\n/**\n * The {@link TypeScriptComment} object representing the comment to disable ESLint.\n *\n * Used when `disableESLint` option is set to `true`.\n */\nconst DISABLE_ES_LINT_COMMENT = TypeScriptComment.parse(\"/* eslint-disable */\");\n/**\n * Parses the provided YAML text as {@link ActionMetadata}.\n *\n * @param actionYamlText - The YAML text to parse.\n *\n * @returns The parsed {@link ActionMetadata} object.\n * @throws An error if the provided YAML text is invalid.\n */\nexport function parseActionMetadataFromString(actionYamlText) {\n return parseYaml(actionYamlText);\n}\n/**\n * Reads a YAML file at the provided path, and parses it as {@link ActionMetadata}.\n *\n * @param actionFile - The path to the YAML file to read.\n * @param options - The options to use when reading the file.\n *\n * @returns The parsed {@link ActionMetadata} object.\n * @throws An error if the file cannot be read or the YAML text is invalid.\n */\nexport async function parseActionMetadataFromFile(actionFile, options) {\n const fileContent = (await readFile(actionFile, options)).toString();\n return parseActionMetadataFromString(fileContent);\n}\n/**\n * Processes an Action Metadata Template by\n *\n * - Sanitizing inputs.\n * - Grouping inputs/outputs into their respective groups.\n * - Removing template-only fields, if requested\n *\n * @param template - The original action metadata template to be processed.\n * @param options - An optional set of options used to configure how the template is processed.\n *\n * @returns A new action metadata based on the given template.\n */\nexport function processActionMetadataTemplate(template, options) {\n const groupDelimiter = options?.groupDelimiter ?? DEFAULT_ACTION_GROUP_DELIMITER;\n const removeTemplateOnlyFields = options?.removeTemplateOnlyFields ?? true;\n const metadata = { ...template };\n metadata.inputs = sanitizeActionInputs(metadata.inputs);\n if (metadata.groups) {\n metadata.inputs = groupActionParameters(metadata.inputs, metadata.groups.input, groupDelimiter, { default: SYNTHETIC_UNDEFINED });\n metadata.outputs = groupActionParameters(metadata.outputs, metadata.groups.output, groupDelimiter);\n }\n if (!removeTemplateOnlyFields) {\n return metadata;\n }\n if (metadata.groups) {\n metadata.groups.input = removeTemplateOnlyActionFields(metadata.groups.input);\n metadata.groups.output = removeTemplateOnlyActionFields(metadata.groups.output);\n }\n metadata.inputs = removeTemplateOnlyActionFields(metadata.inputs);\n metadata.outputs = removeTemplateOnlyActionFields(metadata.outputs);\n return metadata;\n}\n/**\n * Processes an Action Metadata Template YAML string, returning a stringified version of the processed template.\n *\n * @param templateYamlText - The YAML string containing the Action Metadata Template to process.\n * @param options - An optional set of options to apply when processing the template.\n *\n * @returns A stringified version of the processed Action Metadata Template.\n * @throws If parsing or processing the Action Metadata Template fails.\n */\nexport function processActionMetadataTemplateString(templateYamlText, options) {\n const newline = options?.newline ?? DEFAULT_NEWLINE;\n const generateAutoGeneratedWarningMessage = options?.generateAutoGeneratedWarningMessage ?? true;\n const parsedTemplate = parseActionMetadataFromString(templateYamlText);\n const processedTemplate = processActionMetadataTemplate(parsedTemplate, options);\n const stringifiedProcessedTemplate = stringifyYaml(processedTemplate, options);\n const fixedStringifiedProcessedTemplate = newline === UNIX_NEWLINE ? stringifiedProcessedTemplate : stringifiedProcessedTemplate.replaceAll(UNIX_NEWLINE, newline);\n const warningMessage = generateAutoGeneratedWarningMessage ? generateAutoGeneratedWarningFrame(options) : undefined;\n const stringifiedProcessedTemplateWithWarning = [warningMessage, fixedStringifiedProcessedTemplate].filter(x => x).join(newline);\n return stringifiedProcessedTemplateWithWarning;\n}\n/**\n * Reads an Action Metadata Template YAML file, processes it, and writes the resulting metadata to a file.\n *\n * @param inputTemplateFile - The path to the input Action Metadata Template file.\n * @param outputMetadataFile - The path to the output metadata file.\n * @param options - An optional set of read/write options and processing options to apply.\n *\n * @returns A promise that resolves when the metadata has been written to the output file, or rejects if any step fails.\n * @throws If reading, parsing, processing, or writing the Action Metadata Template fails.\n */\nexport async function processActionMetadataTemplateFile(inputTemplateFile, outputMetadataFile, options) {\n options = { sourceFileName: basename(inputTemplateFile.toString()), ...options };\n const template = (await readFile(inputTemplateFile, options)).toString();\n const stringifiedProcessedTemplate = processActionMetadataTemplateString(template, options);\n await writeFile(outputMetadataFile, stringifiedProcessedTemplate, options);\n}\n/**\n * Groups input/output values by their respective action groups, applying any specified group properties.\n *\n * @param groups - A dictionary of named action groups containing the list of input/output values to group.\n * @param parameters - A dictionary of named input/output values to be grouped.\n * @param groupDelimiter - The delimiter used to separate the group name from the value name in the output dictionary.\n * @param properties - An optional set of input/output properties to apply to each grouped value.\n *\n * @returns A new dictionary of named input/output values grouped by their respective action groups.\n */\nfunction groupActionParameters(parameters, groups, groupDelimiter, properties) {\n if (!groups || !parameters) {\n return parameters;\n }\n const processedValues = { ...parameters };\n const namedGroups = Object.entries(groups);\n const groupedValues = $i(Object.entries(parameters)).flatMap(([vName, v]) => $i(namedGroups).map(([gName, g]) => [gName, g, vName, v]));\n for (const [groupName, group, valueName, value] of groupedValues) {\n const isForciblyIncluded = group.include?.includes(valueName);\n const isForciblyExcluded = group.exclude?.includes(valueName);\n const isPartOfGroup = namedGroups.some(([gName]) => valueName.startsWith(gName));\n const shouldBeIncluded = (isForciblyIncluded || !value.unique && !isPartOfGroup) && !isForciblyExcluded;\n if (!shouldBeIncluded) {\n continue;\n }\n const groupedValueName = `${groupName}${groupDelimiter}${valueName}`;\n const groupedRedirectName = value.redirect && `${groupName}${groupDelimiter}${value.redirect}`;\n processedValues[groupedValueName] = {\n ...value,\n redirect: groupedRedirectName,\n ...properties,\n };\n }\n return processedValues;\n}\n/**\n * Sanitizes an input dictionary by setting default values for undefined fields.\n *\n * @param inputs - A dictionary of named action inputs to be sanitized.\n *\n * @returns A new dictionary of sanitized named action inputs.\n */\nfunction sanitizeActionInputs(inputs) {\n if (!inputs) {\n return inputs;\n }\n const sanitizedInputs = {};\n for (const [name, input] of Object.entries(inputs)) {\n const copiedInput = { ...input };\n if (typeof copiedInput.required !== \"boolean\") {\n copiedInput.required = false;\n }\n if (copiedInput.default === undefined) {\n copiedInput.default = SYNTHETIC_UNDEFINED;\n }\n sanitizedInputs[name] = copiedInput;\n }\n return sanitizedInputs;\n}\n/**\n * Removes template-only fields from an action input/output/group dictionary.\n *\n * @param values - A dictionary of action input/output/group values to be cleaned.\n *\n * @returns A new dictionary of action input/output/group values with template-only fields removed.\n */\nfunction removeTemplateOnlyActionFields(values) {\n if (!values) {\n return values;\n }\n const cleanedValues = {};\n for (const [name, value] of Object.entries(values)) {\n const copiedValue = { ...value };\n delete copiedValue.include;\n delete copiedValue.exclude;\n delete copiedValue.unique;\n cleanedValues[name] = copiedValue;\n }\n return cleanedValues;\n}\n/**\n * Generates a TypeScript definition for the given GitHub Action metadata.\n *\n * @param metadata - Metadata describing the inputs and outputs of a GitHub Action.\n * @param options - Configuration options for generating the TypeScript definition.\n *\n * @returns The generated TypeScript document.\n */\nexport function createTypeScriptDefinitionForActionMetadata(metadata, options) {\n const document = TypeScriptDocument.create();\n const inputDescriptors = getActionInputDescriptors(metadata, options);\n const inputGroups = inputDescriptors.length ? Object.entries(metadata.groups?.input || {}) : [];\n const outputDescriptors = getActionOutputDescriptors(metadata, options);\n const outputGroups = outputDescriptors.length ? Object.entries(metadata.groups?.output || {}) : [];\n const rootPath = options?.rootPath ?? DEFAULT_ROOT_PATH;\n const imports = [...inputDescriptors, ...outputDescriptors].map(x => createTypeScriptImportForActionParameter(x, rootPath)).filter(x => x);\n imports.forEach(i => document.addImport(i));\n const comments = createTypeScriptCommentsForActionMetadata(options);\n comments.forEach(comment => document.addComment(comment));\n const actionName = createTypeScriptConstantForActionName(metadata, options);\n document.addExport(actionName);\n const inputsInterface = inputDescriptors.length ? createTypeScriptInterfaceForActionInputs(metadata, inputDescriptors, options) : undefined;\n const inputGroupAliases = inputGroups.map(([groupName, group]) => createTypeScriptAliasForActionGroup(group, groupName, inputsInterface.name, options));\n [inputsInterface, ...inputGroupAliases].filter(x => x).forEach(node => document.addExport(node));\n const outputInterface = outputDescriptors.length ? createTypeScriptInterfaceForActionOutputs(metadata, outputDescriptors, options) : undefined;\n const outputGroupAliases = outputGroups.map(([groupName, group]) => createTypeScriptAliasForActionGroup(group, groupName, outputInterface.name, options));\n [outputInterface, ...outputGroupAliases].filter(x => x).forEach(node => document.addExport(node));\n return document;\n}\n/**\n * Generates a TypeScript constant representing the name of a GitHub Action.\n *\n * @param metadata - Metadata describing the GitHub Action.\n * @param options - Configuration options for generating TypeScript constant.\n *\n * @returns The generated TypeScript constant representing the name of the GitHub Action..\n */\nfunction createTypeScriptConstantForActionName(metadata, options) {\n const q = getQuotes(options);\n const name = options.actionNameConstant || DEFAULT_ACTION_NAME_CONSTANT_NAME;\n const actionName = TypeScriptVariable.create(name, TypeScriptTypeLiteral.create(`${q}${metadata.name}${q}`));\n if (metadata.description) {\n actionName.addTSDoc(metadata.description);\n }\n return actionName;\n}\n/**\n * Generates TypeScript comments for the GitHub Action metadata.\n *\n * @param options - Configuration options for generating TypeScript comments.\n *\n * @returns An array of generated comments.\n */\nfunction createTypeScriptCommentsForActionMetadata(options) {\n const disableESLint = options?.disableESLint ?? true;\n const generateAutoGeneratedWarningMessage = options?.generateAutoGeneratedWarningMessage ?? true;\n const comments = [];\n if (generateAutoGeneratedWarningMessage) {\n const autoGeneratedWarningMessage = generateAutoGeneratedWarningFrame({ style: JS_MULTILINE_FRAME_STYLE, ...options });\n const autoGeneratedWarningComment = TypeScriptComment.parse(autoGeneratedWarningMessage);\n comments.push(autoGeneratedWarningComment);\n }\n if (disableESLint) {\n comments.push(DISABLE_ES_LINT_COMMENT);\n }\n return comments;\n}\n/**\n * Generates a TypeScript interface for the inputs of a GitHub Action.\n *\n * @param metadata - Metadata describing the inputs of a GitHub Action.\n * @param inputs - An iterable collection of input descriptors for the GitHub Action.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n *\n * @returns The generated TypeScript interface.\n */\nfunction createTypeScriptInterfaceForActionInputs(metadata, inputs, pathExtractionOptions) {\n const inputType = metadata.types?.input;\n const typeName = (typeof inputType === \"string\" ? inputType : inputType?.name) || DEFAULT_INPUT_TYPE_NAME;\n const typeDescription = (typeof inputType === \"string\" ? undefined : inputType?.description);\n return createTypeScriptInterfaceForActionParameters(typeName, typeDescription, inputs, metadata.groups?.input, pathExtractionOptions, x => !x.required);\n}\n/**\n * Generates a TypeScript interface for the outputs of a GitHub Action.\n *\n * @param metadata - Metadata describing the outputs of a GitHub Action.\n * @param outputs - An iterable collection of output descriptors for the GitHub Action.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n *\n * @returns The generated TypeScript interface.\n */\nfunction createTypeScriptInterfaceForActionOutputs(metadata, outputs, pathExtractionOptions) {\n const outputType = metadata.types?.output;\n const typeName = (typeof outputType === \"string\" ? outputType : outputType?.name) || DEFAULT_OUTPUT_TYPE_NAME;\n const typeDescription = (typeof outputType === \"string\" ? undefined : outputType?.description);\n return createTypeScriptInterfaceForActionParameters(typeName, typeDescription, outputs, metadata.groups?.output, pathExtractionOptions);\n}\n/**\n * Generates a TypeScript interface for the parameters of a GitHub Action.\n *\n * @param name - The name of the interface.\n * @param description - A description of the interface.\n * @param parameters - An iterable collection of parameter descriptors of the GitHub Action.\n * @param groups - A collection of action groups.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n * @param isOptionalPredicate - A predicate function for determining if a parameter is optional.\n *\n * @returns The generated TypeScript interface.\n */\nfunction createTypeScriptInterfaceForActionParameters(name, description, parameters, groups, pathExtractionOptions, isOptionalPredicate) {\n isOptionalPredicate ||= () => false;\n const tsInterface = TypeScriptInterface.create(name);\n const tsInterfaceDefinition = tsInterface.definition;\n if (description) {\n tsInterface.addTSDoc(description);\n }\n for (const parameter of parameters) {\n if (parameter.redirect) {\n continue;\n }\n const path = parameter.path;\n const type = TypeScriptTypeLiteral.create(`${parameter.type.name}${parameter.type.isArray ? \"[]\" : \"\"}`);\n const isOptional = isOptionalPredicate(parameter);\n const property = tsInterfaceDefinition.addNestedProperty(path, type, { isOptional });\n if (parameter.description) {\n property.addTSDoc(parameter.description);\n }\n }\n for (const [groupName, group] of Object.entries(groups || {})) {\n if (!group.description) {\n continue;\n }\n const path = pathExtractionOptions?.pathParser?.(groupName) || [groupName];\n const groupProperty = tsInterface.definition.getNestedProperty(path);\n groupProperty?.addTSDoc(group.description);\n }\n return tsInterface;\n}\n/**\n * Generates a TypeScript import for a parameter of a GitHub Action.\n *\n * @param parameter - A descriptor for an input or output parameter of the GitHub Action.\n * @param rootPath - The root path for the import.\n *\n * @returns The generated TypeScript import, or `undefined` if no import is necessary.\n */\nfunction createTypeScriptImportForActionParameter(parameter, rootPath) {\n if (!parameter.type.module || parameter.redirect) {\n return undefined;\n }\n const modulePath = `${rootPath || \"\"}${parameter.type.module}`;\n const tsImport = TypeScriptImport.createEmptyImport(modulePath);\n if (parameter.type.isDefault) {\n tsImport.defaultImportName = parameter.type.name;\n }\n else {\n tsImport.addNamedImport(parameter.type.name);\n }\n return tsImport;\n}\n/**\n * Generates a TypeScript type alias for a group of inputs or outputs of a GitHub Action.\n *\n * @param group - A group of inputs or outputs for the GitHub Action.\n * @param groupName - The name of the group.\n * @param referencedTypeName - The name of the type that the alias references.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n *\n * @returns The generated TypeScript type alias.\n */\nfunction createTypeScriptAliasForActionGroup(group, groupName, referencedTypeName, pathExtractionOptions) {\n const path = pathExtractionOptions?.pathParser?.(groupName) || [groupName];\n const mappedPath = path.map(x => `[\"${x}\"]`).join(\"\");\n const groupAlias = TypeScriptTypeAlias.create(group.type, TypeScriptTypeLiteral.create(`${referencedTypeName}${mappedPath}`));\n if (group.description) {\n groupAlias.addTSDoc(group.description);\n }\n return groupAlias;\n}\n/**\n * Generates a TypeScript document containing a module loader function for the given action metadata.\n *\n * The module loader function loads modules required to parse the inputs and outputs of the action.\n *\n * @param metadata - The action metadata.\n * @param options - The options for generating the TypeScript document.\n *\n * @returns A TypeScript document containing the module loader function and necessary imports.\n */\nexport function createModuleLoaderTypeScriptDefinitionForActionMetadata(metadata, options) {\n const document = TypeScriptDocument.create();\n const inputDescriptors = getActionInputDescriptors(metadata, options);\n const outputDescriptors = getActionOutputDescriptors(metadata, options);\n const modules = $i(inputDescriptors).concat(outputDescriptors)\n .flatMap(x => [x.type.module, x.type.factory?.module])\n .filter(x => x)\n .distinct()\n .map(x => [x, `_${hashString(x, \"sha1\")}`])\n .toMap();\n const q = getQuotes(options);\n const fallback = \"return Promise.resolve(undefined);\";\n const conditions = $i(modules)\n .map(([path, name]) => `if (path === ${q}${path}${q}) return Promise.resolve(${name});`)\n .push(fallback);\n const newline = getNewline(options);\n const indent = getIndentation(incrementIndent(options));\n const formattedConditions = conditions.map(x => `${indent}${x}`).join(newline);\n const moduleLoaderBody = TypeScriptTypeLiteral.create(`(path: string): Promise> => {${newline}${formattedConditions}${newline}};`);\n const moduleLoaderName = options?.moduleLoaderName || DEFAULT_MODULE_LOADER_NAME;\n const moduleLoader = TypeScriptVariable.create(moduleLoaderName, moduleLoaderBody);\n document.addExport(moduleLoader);\n const rootPath = options?.rootPath ?? DEFAULT_ROOT_PATH;\n const imports = $i(modules).map(([path, name]) => TypeScriptImport.createWildcardImport(`${rootPath}${path}`, name));\n imports.forEach(x => document.addImport(x));\n const comments = createTypeScriptCommentsForActionMetadata(options);\n comments.forEach(comment => document.addComment(comment));\n return document;\n}\n/**\n * Removes custom fields from Action Metadata.\n *\n * @param metadata - The original action metadata to be stripped.\n *\n * @returns A new action metadata object stripped of custom fields.\n */\nexport function stripActionMetadataFromCustomFields(metadata) {\n const stripped = { ...metadata };\n delete stripped.groups;\n delete stripped.types;\n stripped.inputs = stripped.inputs ? { ...stripped.inputs } : undefined;\n for (const [name, input] of Object.entries(stripped.inputs || {})) {\n const strippedInput = { ...input };\n delete strippedInput.type;\n delete strippedInput.unique;\n delete strippedInput.redirect;\n stripped.inputs[name] = strippedInput;\n }\n stripped.outputs = stripped.outputs ? { ...stripped.outputs } : undefined;\n for (const [name, output] of Object.entries(stripped.outputs || {})) {\n const strippedOutput = { ...output };\n delete strippedOutput.type;\n delete strippedOutput.unique;\n delete strippedOutput.redirect;\n stripped.outputs[name] = strippedOutput;\n }\n return stripped;\n}\n/**\n * Removes custom fields from action metadata and returns a stringified version of the stripped metadata.\n *\n * @param metadata - The stringified action metadata to be stripped.\n * @param options - An optional set of options to apply when processing the metadata.\n *\n * @returns A stringified version of the stripped action metadata.\n */\nexport function stripActionMetadataStringFromCustomFields(metadata, options) {\n const newline = options?.newline ?? DEFAULT_NEWLINE;\n const generateAutoGeneratedWarningMessage = options?.generateAutoGeneratedWarningMessage ?? true;\n const parsedMetadata = parseActionMetadataFromString(metadata);\n const strippedMetadata = stripActionMetadataFromCustomFields(parsedMetadata);\n const stringifiedStrippedMetadata = stringifyYaml(strippedMetadata, options);\n const fixedStringifiedStrippedMetadata = newline === UNIX_NEWLINE ? stringifiedStrippedMetadata : stringifiedStrippedMetadata.replaceAll(UNIX_NEWLINE, newline);\n const warningMessage = generateAutoGeneratedWarningMessage ? generateAutoGeneratedWarningFrame(options) : undefined;\n const stringifiedStrippedMetadataWithWarning = [warningMessage, fixedStringifiedStrippedMetadata].filter(x => x).join(newline);\n return stringifiedStrippedMetadataWithWarning;\n}\n/**\n * Reads an action metadata file, removes custom fields from it, and writes the resulting metadata to a file.\n *\n * @param inputMetadataFile - The path to the original action metadata file to be stripped.\n * @param outputMetadataFile - The path to the output metadata file.\n * @param options - An optional set of read/write options and processing options to apply.\n *\n * @returns A promise that resolves when the metadata has been written to the output file, or rejects if any step fails.\n * @throws If reading, parsing, processing, or writing the action metadata fails.\n */\nexport async function stripActionMetadataFileFromCustomFields(inputMetadataFile, outputMetadataFile, options) {\n options = { sourceFileName: basename(inputMetadataFile.toString()), ...options };\n const metadata = (await readFile(inputMetadataFile, options)).toString();\n const stringifiedStrippedMetadata = stripActionMetadataStringFromCustomFields(metadata, options);\n await writeFile(outputMetadataFile, stringifiedStrippedMetadata, options);\n}\n","import { $i } from \"@/utils/collections\";\nimport { DEFAULT_NEWLINE, ENVIRONMENT, getEnvironmentVariable } from \"@/utils/environment\";\nimport { FileNotFoundError } from \"@/utils/errors\";\nimport { generateSecureRandomString } from \"@/utils/string-utils\";\nimport { appendFileSync } from \"node:fs\";\nimport { getActionOutputDescriptors } from \"./action-output-descriptor\";\n/**\n * The name of the environment variable that points to the output file in the GitHub Actions environment.\n *\n * @remarks\n *\n * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter\n */\nconst OUTPUT_FILE_NAME = \"GITHUB_OUTPUT\";\n/**\n * A weak map to cache the set of output names and values for each environment.\n */\nconst OUTPUT_CACHE = new WeakMap();\n/**\n * Sets the value of an output.\n *\n * @param name - Name of the output to set.\n * @param value - Value to set the output to.\n * @param env - An optional set of the environment variables to update.\n */\nexport function setActionOutput(name, value, env) {\n env ||= ENVIRONMENT;\n const fileName = getEnvironmentVariable(OUTPUT_FILE_NAME, env);\n FileNotFoundError.throwIfNotFound(fileName);\n const nameAndValue = formatNameAndValue(name, value);\n appendFileSync(fileName, `${nameAndValue}${DEFAULT_NEWLINE}`, \"utf8\");\n if (!OUTPUT_CACHE.has(env)) {\n OUTPUT_CACHE.set(env, new Map());\n }\n OUTPUT_CACHE.get(env).set(name, value);\n}\n/**\n * Formats the name and value of the output as a string.\n *\n * @param name - The name of the output.\n * @param value - The value of the output.\n *\n * @returns The formatted name and value string.\n *\n * @remarks\n *\n * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings\n */\nfunction formatNameAndValue(name, value) {\n const formattedValue = formatValue(value);\n const delimiter = generateDelimiter();\n return `${name}<<${delimiter}${DEFAULT_NEWLINE}${formattedValue}${DEFAULT_NEWLINE}${delimiter}`;\n}\n/**\n * Converts the output value to a string representation.\n *\n * @param value - The output value.\n *\n * @returns The string representation of the value.\n */\nfunction formatValue(value) {\n if (typeof value === \"string\") {\n return value;\n }\n if (value === null || value === undefined) {\n return \"\";\n }\n return JSON.stringify(value);\n}\n/**\n * Generates a unique delimiter string.\n *\n * @returns The generated delimiter string.\n */\nfunction generateDelimiter() {\n const DELIMITER_SIZE = 32;\n return `mcp${DELIMITER_SIZE}_${generateSecureRandomString(DELIMITER_SIZE)}`;\n}\n/**\n * Sets multiple action outputs at once using an iterable of [name, value] pairs.\n *\n * @param outputs - An iterable of [name, value] pairs representing the outputs to be set.\n * @param env - An optional set of the environment variables to update.\n */\nexport function setActionOutputs(outputs, env) {\n for (const [name, value] of outputs) {\n setActionOutput(name, value, env);\n }\n}\n/**\n * Gets the value of an output.\n *\n * @template T - Type of the output.\n *\n * @param name - Name of the output to get.\n * @param env - An optional set of the environment variables to search within.\n *\n * @returns The value of the output, or `undefined` if it was not set.\n */\nexport function getActionOutput(name, env) {\n env ||= ENVIRONMENT;\n const outputs = OUTPUT_CACHE.get(env);\n return outputs?.get(name);\n}\n/**\n * Gets the values of multiple outputs.\n *\n * @template T - Type of the outputs.\n *\n * @param names - Names of the outputs to get.\n * @param env - An optional set of the environment variables to search within.\n *\n * @returns An array of the values of the outputs. The order of the values matches the order of the output names in the `names` parameter.\n */\nexport function getActionOutputs(names, env) {\n return $i(names).map(name => getActionOutput(name, env)).toArray();\n}\n/**\n * Returns a map containing all outputs set by the action.\n *\n * @param env - An optional set of the environment variables to search within.\n *\n * @returns A map of output names and their corresponding values.\n */\nexport function getAllActionOutputs(env) {\n env ||= ENVIRONMENT;\n return new Map(OUTPUT_CACHE.get(env) || []);\n}\n/**\n * Creates a controller for managing GitHub Action outputs in a hierarchical structure.\n *\n * @template T - Controller type.\n *\n * @param descriptors - An iterable collection of action output descriptors.\n * @param options - Optional configuration for the controller.\n *\n * @returns A controller with the specified type for convenient access to action outputs.\n */\nexport function createActionOutputController(descriptors, options) {\n return new ActionOutputController(descriptors, options).navigate([]);\n}\n/**\n * Creates a controller for managing GitHub Action outputs using the provided action metadata.\n *\n * @template T - Controller type.\n *\n * @param metadata - The metadata describing the action.\n * @param options - Optional configuration for the controller and descriptor extraction.\n *\n * @returns A controller with the specified type for convenient access to action outputs.\n */\nexport function createActionOutputControllerUsingMetadata(metadata, options) {\n const descriptors = getActionOutputDescriptors(metadata, options);\n return createActionOutputController(descriptors, options);\n}\n/**\n * Represents a controller which manages GitHub Action outputs in a hierarchical structure.\n *\n * Provides a convenient way to set and get outputs using nested properties.\n */\nclass ActionOutputController {\n /**\n * Descriptors of outputs which should be handled by this controller.\n */\n _descriptors;\n /**\n * Custom getter function for an output.\n */\n _getOutput;\n /**\n * Custom setter function for an output.\n */\n _setOutput;\n /**\n * Constructs a new {@link ActionOutputController} instance.\n *\n * @param descriptors - An iterable collection of action output descriptors.\n * @param options - Optional configuration for the controller.\n */\n constructor(descriptors, options) {\n this._descriptors = [...descriptors];\n this._getOutput = options?.getOutput || getActionOutput;\n this._setOutput = options?.setOutput || setActionOutput;\n }\n /**\n * Navigates to a specified path within the hierarchical structure of action outputs.\n *\n * @param path - An array of strings representing the path to navigate to.\n *\n * @returns A proxy object for the specified path, allowing access to nested action outputs.\n */\n navigate(path) {\n return new Proxy({ path }, this);\n }\n /**\n * @inheritdoc\n */\n get(target, property) {\n const path = [...target.path, String(property)];\n const descriptor = this.findNearestDescriptor(path);\n if (!descriptor) {\n return undefined;\n }\n if (descriptor.path.length === path.length) {\n return this._getOutput(descriptor.name);\n }\n return this.navigate(path);\n }\n /**\n * @inheritdoc\n */\n set(target, property, newValue) {\n const path = [...target.path, String(property)];\n const descriptor = this.findNearestDescriptor(path);\n if (!descriptor) {\n return false;\n }\n if (descriptor.path.length === path.length) {\n this._setOutput(descriptor.name, newValue);\n return true;\n }\n if (!newValue || typeof newValue !== \"object\") {\n return false;\n }\n const proxy = this.navigate(path);\n for (const [key, value] of Object.entries(newValue)) {\n proxy[key] = value;\n }\n return true;\n }\n /**\n * @inheritdoc\n */\n has(target, property) {\n const path = [...target.path, String(property)];\n const descriptor = this.findNearestDescriptor(path);\n return !!descriptor;\n }\n /**\n * @inheritdoc\n */\n ownKeys(target) {\n const path = target.path;\n const descriptors = $i(this._descriptors).filter(d => d.path.length > path.length && $i(d.path).startsWith(path));\n const keys = descriptors.map(d => d.path[path.length]).distinct().toArray();\n return keys;\n }\n /**\n * @inheritdoc\n */\n getOwnPropertyDescriptor(target, property) {\n if (!this.has(target, property)) {\n return undefined;\n }\n const value = this.get(target, property);\n return {\n value,\n configurable: true,\n enumerable: true,\n writable: true,\n };\n }\n /**\n * @inheritdoc\n */\n defineProperty() {\n return false;\n }\n /**\n * @inheritdoc\n */\n deleteProperty() {\n return false;\n }\n /**\n * @inheritdoc\n */\n getPrototypeOf() {\n return Object.prototype;\n }\n /**\n * @inheritdoc\n */\n setPrototypeOf() {\n return false;\n }\n /**\n * @inheritdoc\n */\n isExtensible() {\n return false;\n }\n /**\n * @inheritdoc\n */\n preventExtensions() {\n return true;\n }\n /**\n * Finds the nearest descriptor for the provided path.\n *\n * @param path - The path to search for the nearest descriptor.\n *\n * @returns The nearest descriptor if found, or `undefined` otherwise.\n */\n findNearestDescriptor(path) {\n const descriptor = (this._descriptors.find(d => d.path.length === path.length && $i(d.path).startsWith(path)) ||\n this._descriptors.find(d => d.path.length > path.length && $i(d.path).startsWith(path)));\n const targetDescriptor = descriptor?.redirect ? this._descriptors.find(d => d.name === descriptor.redirect) : descriptor;\n return targetDescriptor;\n }\n}\n","import { GameVersionFilter, getGameVersionProviderByName } from \"@/games\";\nimport { MINECRAFT } from \"@/games/minecraft\";\nimport { createDefaultLoaderMetadataReader } from \"@/loaders\";\nimport { PlatformType, createPlatformUploader } from \"@/platforms\";\nimport { GitHubContext } from \"@/platforms/github\";\nimport { SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER, createActionOutputControllerUsingMetadata, getActionOutput, getAllActionInputsAsObjectUsingMetadata, parseActionMetadataFromFile, setActionOutput } from \"@/utils/actions\";\nimport { ENVIRONMENT } from \"@/utils/environment\";\nimport { ArgumentError, ArgumentNullError, ErrorBuilder, FailMode, FileNotFoundError } from \"@/utils/errors\";\nimport { getDefaultLogger } from \"@/utils/logging\";\nimport { DYNAMIC_MODULE_LOADER } from \"@/utils/reflection\";\nimport { VersionType } from \"@/utils/versioning\";\n/**\n * The main entry point of the program.\n *\n * @returns A promise that resolves when the program execution is complete.\n */\nexport async function main() {\n const env = ENVIRONMENT;\n const logger = getDefaultLogger(env);\n try {\n const action = await initializeAction(new URL(\"../action.yml\", import.meta.url), env);\n const githubContext = new GitHubContext(env);\n await publish(action, githubContext, logger);\n }\n catch (e) {\n logger.fatal(e);\n throw e;\n }\n}\n/**\n * Initiates the publishing process.\n *\n * @param action - The action details.\n * @param githubContext - The GitHub context.\n * @param logger - The logger to use for logging messages.\n *\n * @returns A promise that resolves when the publishing is complete.\n */\nasync function publish(action, githubContext, logger) {\n const metadataReader = createDefaultLoaderMetadataReader();\n const errors = new ErrorBuilder(logger);\n const processedPlatforms = [];\n for (const platform of PlatformType.values()) {\n const platformOptions = { ...action.input, ...action.input[platform] };\n if (!platformOptions?.token) {\n continue;\n }\n const options = await fillInDefaultValues(platformOptions, platform, githubContext, metadataReader);\n const uploader = createPlatformUploader(platform, { logger, githubContext });\n try {\n action.output[platform] = await uploader.upload(options);\n processedPlatforms.push(platform);\n }\n catch (e) {\n errors.append(e, options.failMode ?? FailMode.FAIL);\n }\n }\n if (processedPlatforms.length) {\n logger.info(`🎉 Successfully published the assets to ${processedPlatforms.map(p => PlatformType.friendlyNameOf(p)).join(\", \")}`);\n }\n else if (!errors.hasErrors) {\n logger.warn(\"⚠️ No valid platform tokens found in your config. To publish your project, please add the required access tokens for the desired platforms. Assets will not be published without them. Refer to the documentation for assistance in setting up your tokens.\");\n }\n errors.throwIfHasErrors();\n}\n/**\n * Fills in the default values for the specified options.\n *\n * @param options - The options to fill in the default values for.\n * @param platform - The target platform.\n * @param githubContext - The GitHub context.\n * @param reader - The metadata reader.\n *\n * @returns A promise that resolves to the options with default values filled in.\n */\nasync function fillInDefaultValues(options, platform, githubContext, reader) {\n ArgumentError.throwIfNullOrEmpty(options.files, \"options.files\", \"No files found for the specified glob. Please ensure the glob is correct and files matching the pattern exist in the specified directory.\");\n options = { ...options };\n const primaryFile = options.files[0];\n const metadata = await reader?.readMetadataFile(primaryFile.path).catch(() => undefined);\n const gameVersionProvider = getGameVersionProviderByName(metadata?.gameName || MINECRAFT);\n const wrappedGameVersions = options.gameVersions?.length ? options.gameVersions : (metadata?.gameVersions || []);\n const gameVersions = await gameVersionProvider?.(wrappedGameVersions);\n const unwrappedGameVersions = gameVersions ? GameVersionFilter.filter(gameVersions, options.gameVersionFilter).map(x => x.id) : wrappedGameVersions;\n options.id ||= metadata?.getProjectId(platform) || \"\";\n options.version ||= githubContext.version || metadata?.version;\n options.versionType ||= VersionType.parseFromFileName(metadata?.version || primaryFile.name);\n options.name ??= githubContext.payload.release?.name || options.version;\n options.changelog ??= githubContext.payload.release?.body || \"\";\n options.loaders ??= metadata?.loaders || [];\n options.dependencies ??= metadata?.dependencies || [];\n options.gameVersions = unwrappedGameVersions;\n return options;\n}\n/**\n * Initializes the action.\n *\n * @param path - The path to the action's metadata file.\n * @param env - The environment variables.\n *\n * @returns A promise that resolves to the initialized action.\n */\nasync function initializeAction(path, env) {\n ArgumentNullError.throwIfNull(path, \"path\");\n FileNotFoundError.throwIfNotFound(path);\n const config = {\n pathParser: SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER,\n moduleLoader: DYNAMIC_MODULE_LOADER,\n getOutput: (name) => getActionOutput(name, env),\n setOutput: (name, value) => setActionOutput(name, value, env),\n };\n const metadata = await parseActionMetadataFromFile(path);\n const input = await getAllActionInputsAsObjectUsingMetadata(metadata, config, env);\n const output = createActionOutputControllerUsingMetadata(metadata, config);\n return { input, output };\n}\n","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"buffer\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"events\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"fs\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:fs\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:path\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:process\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:stream/web\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"os\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"path\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"stream\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"util\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"worker_threads\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"zlib\");","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar YAMLSeq = require('../nodes/YAMLSeq.js');\nvar resolveBlockMap = require('./resolve-block-map.js');\nvar resolveBlockSeq = require('./resolve-block-seq.js');\nvar resolveFlowCollection = require('./resolve-flow-collection.js');\n\nfunction resolveCollection(CN, ctx, token, onError, tagName, tag) {\n const coll = token.type === 'block-map'\n ? resolveBlockMap.resolveBlockMap(CN, ctx, token, onError, tag)\n : token.type === 'block-seq'\n ? resolveBlockSeq.resolveBlockSeq(CN, ctx, token, onError, tag)\n : resolveFlowCollection.resolveFlowCollection(CN, ctx, token, onError, tag);\n const Coll = coll.constructor;\n // If we got a tagName matching the class, or the tag name is '!',\n // then use the tagName from the node class used to create it.\n if (tagName === '!' || tagName === Coll.tagName) {\n coll.tag = Coll.tagName;\n return coll;\n }\n if (tagName)\n coll.tag = tagName;\n return coll;\n}\nfunction composeCollection(CN, ctx, token, tagToken, onError) {\n const tagName = !tagToken\n ? null\n : ctx.directives.tagName(tagToken.source, msg => onError(tagToken, 'TAG_RESOLVE_FAILED', msg));\n const expType = token.type === 'block-map'\n ? 'map'\n : token.type === 'block-seq'\n ? 'seq'\n : token.start.source === '{'\n ? 'map'\n : 'seq';\n // shortcut: check if it's a generic YAMLMap or YAMLSeq\n // before jumping into the custom tag logic.\n if (!tagToken ||\n !tagName ||\n tagName === '!' ||\n (tagName === YAMLMap.YAMLMap.tagName && expType === 'map') ||\n (tagName === YAMLSeq.YAMLSeq.tagName && expType === 'seq') ||\n !expType) {\n return resolveCollection(CN, ctx, token, onError, tagName);\n }\n let tag = ctx.schema.tags.find(t => t.tag === tagName && t.collection === expType);\n if (!tag) {\n const kt = ctx.schema.knownTags[tagName];\n if (kt && kt.collection === expType) {\n ctx.schema.tags.push(Object.assign({}, kt, { default: false }));\n tag = kt;\n }\n else {\n if (kt?.collection) {\n onError(tagToken, 'BAD_COLLECTION_TYPE', `${kt.tag} used for ${expType} collection, but expects ${kt.collection}`, true);\n }\n else {\n onError(tagToken, 'TAG_RESOLVE_FAILED', `Unresolved tag: ${tagName}`, true);\n }\n return resolveCollection(CN, ctx, token, onError, tagName);\n }\n }\n const coll = resolveCollection(CN, ctx, token, onError, tagName, tag);\n const res = tag.resolve?.(coll, msg => onError(tagToken, 'TAG_RESOLVE_FAILED', msg), ctx.options) ?? coll;\n const node = identity.isNode(res)\n ? res\n : new Scalar.Scalar(res);\n node.range = coll.range;\n node.tag = tagName;\n if (tag?.format)\n node.format = tag.format;\n return node;\n}\n\nexports.composeCollection = composeCollection;\n","'use strict';\n\nvar Document = require('../doc/Document.js');\nvar composeNode = require('./compose-node.js');\nvar resolveEnd = require('./resolve-end.js');\nvar resolveProps = require('./resolve-props.js');\n\nfunction composeDoc(options, directives, { offset, start, value, end }, onError) {\n const opts = Object.assign({ _directives: directives }, options);\n const doc = new Document.Document(undefined, opts);\n const ctx = {\n atRoot: true,\n directives: doc.directives,\n options: doc.options,\n schema: doc.schema\n };\n const props = resolveProps.resolveProps(start, {\n indicator: 'doc-start',\n next: value ?? end?.[0],\n offset,\n onError,\n startOnNewline: true\n });\n if (props.found) {\n doc.directives.docStart = true;\n if (value &&\n (value.type === 'block-map' || value.type === 'block-seq') &&\n !props.hasNewline)\n onError(props.end, 'MISSING_CHAR', 'Block collection cannot start on same line with directives-end marker');\n }\n // @ts-expect-error If Contents is set, let's trust the user\n doc.contents = value\n ? composeNode.composeNode(ctx, value, props, onError)\n : composeNode.composeEmptyNode(ctx, props.end, start, null, props, onError);\n const contentEnd = doc.contents.range[2];\n const re = resolveEnd.resolveEnd(end, contentEnd, false, onError);\n if (re.comment)\n doc.comment = re.comment;\n doc.range = [offset, contentEnd, re.offset];\n return doc;\n}\n\nexports.composeDoc = composeDoc;\n","'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar composeCollection = require('./compose-collection.js');\nvar composeScalar = require('./compose-scalar.js');\nvar resolveEnd = require('./resolve-end.js');\nvar utilEmptyScalarPosition = require('./util-empty-scalar-position.js');\n\nconst CN = { composeNode, composeEmptyNode };\nfunction composeNode(ctx, token, props, onError) {\n const { spaceBefore, comment, anchor, tag } = props;\n let node;\n let isSrcToken = true;\n switch (token.type) {\n case 'alias':\n node = composeAlias(ctx, token, onError);\n if (anchor || tag)\n onError(token, 'ALIAS_PROPS', 'An alias node must not specify any properties');\n break;\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n case 'block-scalar':\n node = composeScalar.composeScalar(ctx, token, tag, onError);\n if (anchor)\n node.anchor = anchor.source.substring(1);\n break;\n case 'block-map':\n case 'block-seq':\n case 'flow-collection':\n node = composeCollection.composeCollection(CN, ctx, token, tag, onError);\n if (anchor)\n node.anchor = anchor.source.substring(1);\n break;\n default: {\n const message = token.type === 'error'\n ? token.message\n : `Unsupported token (type: ${token.type})`;\n onError(token, 'UNEXPECTED_TOKEN', message);\n node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);\n isSrcToken = false;\n }\n }\n if (anchor && node.anchor === '')\n onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');\n if (spaceBefore)\n node.spaceBefore = true;\n if (comment) {\n if (token.type === 'scalar' && token.source === '')\n node.comment = comment;\n else\n node.commentBefore = comment;\n }\n // @ts-expect-error Type checking misses meaning of isSrcToken\n if (ctx.options.keepSourceTokens && isSrcToken)\n node.srcToken = token;\n return node;\n}\nfunction composeEmptyNode(ctx, offset, before, pos, { spaceBefore, comment, anchor, tag, end }, onError) {\n const token = {\n type: 'scalar',\n offset: utilEmptyScalarPosition.emptyScalarPosition(offset, before, pos),\n indent: -1,\n source: ''\n };\n const node = composeScalar.composeScalar(ctx, token, tag, onError);\n if (anchor) {\n node.anchor = anchor.source.substring(1);\n if (node.anchor === '')\n onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');\n }\n if (spaceBefore)\n node.spaceBefore = true;\n if (comment) {\n node.comment = comment;\n node.range[2] = end;\n }\n return node;\n}\nfunction composeAlias({ options }, { offset, source, end }, onError) {\n const alias = new Alias.Alias(source.substring(1));\n if (alias.source === '')\n onError(offset, 'BAD_ALIAS', 'Alias cannot be an empty string');\n if (alias.source.endsWith(':'))\n onError(offset + source.length - 1, 'BAD_ALIAS', 'Alias ending in : is ambiguous', true);\n const valueEnd = offset + source.length;\n const re = resolveEnd.resolveEnd(end, valueEnd, options.strict, onError);\n alias.range = [offset, valueEnd, re.offset];\n if (re.comment)\n alias.comment = re.comment;\n return alias;\n}\n\nexports.composeEmptyNode = composeEmptyNode;\nexports.composeNode = composeNode;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\nvar resolveBlockScalar = require('./resolve-block-scalar.js');\nvar resolveFlowScalar = require('./resolve-flow-scalar.js');\n\nfunction composeScalar(ctx, token, tagToken, onError) {\n const { value, type, comment, range } = token.type === 'block-scalar'\n ? resolveBlockScalar.resolveBlockScalar(token, ctx.options.strict, onError)\n : resolveFlowScalar.resolveFlowScalar(token, ctx.options.strict, onError);\n const tagName = tagToken\n ? ctx.directives.tagName(tagToken.source, msg => onError(tagToken, 'TAG_RESOLVE_FAILED', msg))\n : null;\n const tag = tagToken && tagName\n ? findScalarTagByName(ctx.schema, value, tagName, tagToken, onError)\n : token.type === 'scalar'\n ? findScalarTagByTest(ctx, value, token, onError)\n : ctx.schema[identity.SCALAR];\n let scalar;\n try {\n const res = tag.resolve(value, msg => onError(tagToken ?? token, 'TAG_RESOLVE_FAILED', msg), ctx.options);\n scalar = identity.isScalar(res) ? res : new Scalar.Scalar(res);\n }\n catch (error) {\n const msg = error instanceof Error ? error.message : String(error);\n onError(tagToken ?? token, 'TAG_RESOLVE_FAILED', msg);\n scalar = new Scalar.Scalar(value);\n }\n scalar.range = range;\n scalar.source = value;\n if (type)\n scalar.type = type;\n if (tagName)\n scalar.tag = tagName;\n if (tag.format)\n scalar.format = tag.format;\n if (comment)\n scalar.comment = comment;\n return scalar;\n}\nfunction findScalarTagByName(schema, value, tagName, tagToken, onError) {\n if (tagName === '!')\n return schema[identity.SCALAR]; // non-specific tag\n const matchWithTest = [];\n for (const tag of schema.tags) {\n if (!tag.collection && tag.tag === tagName) {\n if (tag.default && tag.test)\n matchWithTest.push(tag);\n else\n return tag;\n }\n }\n for (const tag of matchWithTest)\n if (tag.test?.test(value))\n return tag;\n const kt = schema.knownTags[tagName];\n if (kt && !kt.collection) {\n // Ensure that the known tag is available for stringifying,\n // but does not get used by default.\n schema.tags.push(Object.assign({}, kt, { default: false, test: undefined }));\n return kt;\n }\n onError(tagToken, 'TAG_RESOLVE_FAILED', `Unresolved tag: ${tagName}`, tagName !== 'tag:yaml.org,2002:str');\n return schema[identity.SCALAR];\n}\nfunction findScalarTagByTest({ directives, schema }, value, token, onError) {\n const tag = schema.tags.find(tag => tag.default && tag.test?.test(value)) || schema[identity.SCALAR];\n if (schema.compat) {\n const compat = schema.compat.find(tag => tag.default && tag.test?.test(value)) ??\n schema[identity.SCALAR];\n if (tag.tag !== compat.tag) {\n const ts = directives.tagString(tag.tag);\n const cs = directives.tagString(compat.tag);\n const msg = `Value may be parsed as either ${ts} or ${cs}`;\n onError(token, 'TAG_RESOLVE_FAILED', msg, true);\n }\n }\n return tag;\n}\n\nexports.composeScalar = composeScalar;\n","'use strict';\n\nvar directives = require('../doc/directives.js');\nvar Document = require('../doc/Document.js');\nvar errors = require('../errors.js');\nvar identity = require('../nodes/identity.js');\nvar composeDoc = require('./compose-doc.js');\nvar resolveEnd = require('./resolve-end.js');\n\nfunction getErrorPos(src) {\n if (typeof src === 'number')\n return [src, src + 1];\n if (Array.isArray(src))\n return src.length === 2 ? src : [src[0], src[1]];\n const { offset, source } = src;\n return [offset, offset + (typeof source === 'string' ? source.length : 1)];\n}\nfunction parsePrelude(prelude) {\n let comment = '';\n let atComment = false;\n let afterEmptyLine = false;\n for (let i = 0; i < prelude.length; ++i) {\n const source = prelude[i];\n switch (source[0]) {\n case '#':\n comment +=\n (comment === '' ? '' : afterEmptyLine ? '\\n\\n' : '\\n') +\n (source.substring(1) || ' ');\n atComment = true;\n afterEmptyLine = false;\n break;\n case '%':\n if (prelude[i + 1]?.[0] !== '#')\n i += 1;\n atComment = false;\n break;\n default:\n // This may be wrong after doc-end, but in that case it doesn't matter\n if (!atComment)\n afterEmptyLine = true;\n atComment = false;\n }\n }\n return { comment, afterEmptyLine };\n}\n/**\n * Compose a stream of CST nodes into a stream of YAML Documents.\n *\n * ```ts\n * import { Composer, Parser } from 'yaml'\n *\n * const src: string = ...\n * const tokens = new Parser().parse(src)\n * const docs = new Composer().compose(tokens)\n * ```\n */\nclass Composer {\n constructor(options = {}) {\n this.doc = null;\n this.atDirectives = false;\n this.prelude = [];\n this.errors = [];\n this.warnings = [];\n this.onError = (source, code, message, warning) => {\n const pos = getErrorPos(source);\n if (warning)\n this.warnings.push(new errors.YAMLWarning(pos, code, message));\n else\n this.errors.push(new errors.YAMLParseError(pos, code, message));\n };\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n this.directives = new directives.Directives({ version: options.version || '1.2' });\n this.options = options;\n }\n decorate(doc, afterDoc) {\n const { comment, afterEmptyLine } = parsePrelude(this.prelude);\n //console.log({ dc: doc.comment, prelude, comment })\n if (comment) {\n const dc = doc.contents;\n if (afterDoc) {\n doc.comment = doc.comment ? `${doc.comment}\\n${comment}` : comment;\n }\n else if (afterEmptyLine || doc.directives.docStart || !dc) {\n doc.commentBefore = comment;\n }\n else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {\n let it = dc.items[0];\n if (identity.isPair(it))\n it = it.key;\n const cb = it.commentBefore;\n it.commentBefore = cb ? `${comment}\\n${cb}` : comment;\n }\n else {\n const cb = dc.commentBefore;\n dc.commentBefore = cb ? `${comment}\\n${cb}` : comment;\n }\n }\n if (afterDoc) {\n Array.prototype.push.apply(doc.errors, this.errors);\n Array.prototype.push.apply(doc.warnings, this.warnings);\n }\n else {\n doc.errors = this.errors;\n doc.warnings = this.warnings;\n }\n this.prelude = [];\n this.errors = [];\n this.warnings = [];\n }\n /**\n * Current stream status information.\n *\n * Mostly useful at the end of input for an empty stream.\n */\n streamInfo() {\n return {\n comment: parsePrelude(this.prelude).comment,\n directives: this.directives,\n errors: this.errors,\n warnings: this.warnings\n };\n }\n /**\n * Compose tokens into documents.\n *\n * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.\n * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.\n */\n *compose(tokens, forceDoc = false, endOffset = -1) {\n for (const token of tokens)\n yield* this.next(token);\n yield* this.end(forceDoc, endOffset);\n }\n /** Advance the composer by one CST token. */\n *next(token) {\n if (process.env.LOG_STREAM)\n console.dir(token, { depth: null });\n switch (token.type) {\n case 'directive':\n this.directives.add(token.source, (offset, message, warning) => {\n const pos = getErrorPos(token);\n pos[0] += offset;\n this.onError(pos, 'BAD_DIRECTIVE', message, warning);\n });\n this.prelude.push(token.source);\n this.atDirectives = true;\n break;\n case 'document': {\n const doc = composeDoc.composeDoc(this.options, this.directives, token, this.onError);\n if (this.atDirectives && !doc.directives.docStart)\n this.onError(token, 'MISSING_CHAR', 'Missing directives-end/doc-start indicator line');\n this.decorate(doc, false);\n if (this.doc)\n yield this.doc;\n this.doc = doc;\n this.atDirectives = false;\n break;\n }\n case 'byte-order-mark':\n case 'space':\n break;\n case 'comment':\n case 'newline':\n this.prelude.push(token.source);\n break;\n case 'error': {\n const msg = token.source\n ? `${token.message}: ${JSON.stringify(token.source)}`\n : token.message;\n const error = new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', msg);\n if (this.atDirectives || !this.doc)\n this.errors.push(error);\n else\n this.doc.errors.push(error);\n break;\n }\n case 'doc-end': {\n if (!this.doc) {\n const msg = 'Unexpected doc-end without preceding document';\n this.errors.push(new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', msg));\n break;\n }\n this.doc.directives.docEnd = true;\n const end = resolveEnd.resolveEnd(token.end, token.offset + token.source.length, this.doc.options.strict, this.onError);\n this.decorate(this.doc, true);\n if (end.comment) {\n const dc = this.doc.comment;\n this.doc.comment = dc ? `${dc}\\n${end.comment}` : end.comment;\n }\n this.doc.range[2] = end.offset;\n break;\n }\n default:\n this.errors.push(new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', `Unsupported token ${token.type}`));\n }\n }\n /**\n * Call at end of input to yield any remaining document.\n *\n * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.\n * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.\n */\n *end(forceDoc = false, endOffset = -1) {\n if (this.doc) {\n this.decorate(this.doc, true);\n yield this.doc;\n this.doc = null;\n }\n else if (forceDoc) {\n const opts = Object.assign({ _directives: this.directives }, this.options);\n const doc = new Document.Document(undefined, opts);\n if (this.atDirectives)\n this.onError(endOffset, 'MISSING_CHAR', 'Missing directives-end indicator line');\n doc.range = [0, endOffset, endOffset];\n this.decorate(doc, false);\n yield doc;\n }\n }\n}\n\nexports.Composer = Composer;\n","'use strict';\n\nvar Pair = require('../nodes/Pair.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilContainsNewline = require('./util-contains-newline.js');\nvar utilFlowIndentCheck = require('./util-flow-indent-check.js');\nvar utilMapIncludes = require('./util-map-includes.js');\n\nconst startColMsg = 'All mapping items must start at the same column';\nfunction resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {\n const NodeClass = tag?.nodeClass ?? YAMLMap.YAMLMap;\n const map = new NodeClass(ctx.schema);\n if (ctx.atRoot)\n ctx.atRoot = false;\n let offset = bm.offset;\n let commentEnd = null;\n for (const collItem of bm.items) {\n const { start, key, sep, value } = collItem;\n // key properties\n const keyProps = resolveProps.resolveProps(start, {\n indicator: 'explicit-key-ind',\n next: key ?? sep?.[0],\n offset,\n onError,\n startOnNewline: true\n });\n const implicitKey = !keyProps.found;\n if (implicitKey) {\n if (key) {\n if (key.type === 'block-seq')\n onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'A block sequence may not be used as an implicit map key');\n else if ('indent' in key && key.indent !== bm.indent)\n onError(offset, 'BAD_INDENT', startColMsg);\n }\n if (!keyProps.anchor && !keyProps.tag && !sep) {\n commentEnd = keyProps.end;\n if (keyProps.comment) {\n if (map.comment)\n map.comment += '\\n' + keyProps.comment;\n else\n map.comment = keyProps.comment;\n }\n continue;\n }\n if (keyProps.hasNewlineAfterProp || utilContainsNewline.containsNewline(key)) {\n onError(key ?? start[start.length - 1], 'MULTILINE_IMPLICIT_KEY', 'Implicit keys need to be on a single line');\n }\n }\n else if (keyProps.found?.indent !== bm.indent) {\n onError(offset, 'BAD_INDENT', startColMsg);\n }\n // key value\n const keyStart = keyProps.end;\n const keyNode = key\n ? composeNode(ctx, key, keyProps, onError)\n : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);\n if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))\n onError(keyStart, 'DUPLICATE_KEY', 'Map keys must be unique');\n // value properties\n const valueProps = resolveProps.resolveProps(sep ?? [], {\n indicator: 'map-value-ind',\n next: value,\n offset: keyNode.range[2],\n onError,\n startOnNewline: !key || key.type === 'block-scalar'\n });\n offset = valueProps.end;\n if (valueProps.found) {\n if (implicitKey) {\n if (value?.type === 'block-map' && !valueProps.hasNewline)\n onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'Nested mappings are not allowed in compact mappings');\n if (ctx.options.strict &&\n keyProps.start < valueProps.found.offset - 1024)\n onError(keyNode.range, 'KEY_OVER_1024_CHARS', 'The : indicator must be at most 1024 chars after the start of an implicit block mapping key');\n }\n // value value\n const valueNode = value\n ? composeNode(ctx, value, valueProps, onError)\n : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);\n offset = valueNode.range[2];\n const pair = new Pair.Pair(keyNode, valueNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n map.items.push(pair);\n }\n else {\n // key with no value\n if (implicitKey)\n onError(keyNode.range, 'MISSING_CHAR', 'Implicit map keys need to be followed by map values');\n if (valueProps.comment) {\n if (keyNode.comment)\n keyNode.comment += '\\n' + valueProps.comment;\n else\n keyNode.comment = valueProps.comment;\n }\n const pair = new Pair.Pair(keyNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n map.items.push(pair);\n }\n }\n if (commentEnd && commentEnd < offset)\n onError(commentEnd, 'IMPOSSIBLE', 'Map comment with trailing content');\n map.range = [bm.offset, offset, commentEnd ?? offset];\n return map;\n}\n\nexports.resolveBlockMap = resolveBlockMap;\n","'use strict';\n\nvar Scalar = require('../nodes/Scalar.js');\n\nfunction resolveBlockScalar(scalar, strict, onError) {\n const start = scalar.offset;\n const header = parseBlockScalarHeader(scalar, strict, onError);\n if (!header)\n return { value: '', type: null, comment: '', range: [start, start, start] };\n const type = header.mode === '>' ? Scalar.Scalar.BLOCK_FOLDED : Scalar.Scalar.BLOCK_LITERAL;\n const lines = scalar.source ? splitLines(scalar.source) : [];\n // determine the end of content & start of chomping\n let chompStart = lines.length;\n for (let i = lines.length - 1; i >= 0; --i) {\n const content = lines[i][1];\n if (content === '' || content === '\\r')\n chompStart = i;\n else\n break;\n }\n // shortcut for empty contents\n if (chompStart === 0) {\n const value = header.chomp === '+' && lines.length > 0\n ? '\\n'.repeat(Math.max(1, lines.length - 1))\n : '';\n let end = start + header.length;\n if (scalar.source)\n end += scalar.source.length;\n return { value, type, comment: header.comment, range: [start, end, end] };\n }\n // find the indentation level to trim from start\n let trimIndent = scalar.indent + header.indent;\n let offset = scalar.offset + header.length;\n let contentStart = 0;\n for (let i = 0; i < chompStart; ++i) {\n const [indent, content] = lines[i];\n if (content === '' || content === '\\r') {\n if (header.indent === 0 && indent.length > trimIndent)\n trimIndent = indent.length;\n }\n else {\n if (indent.length < trimIndent) {\n const message = 'Block scalars with more-indented leading empty lines must use an explicit indentation indicator';\n onError(offset + indent.length, 'MISSING_CHAR', message);\n }\n if (header.indent === 0)\n trimIndent = indent.length;\n contentStart = i;\n break;\n }\n offset += indent.length + content.length + 1;\n }\n // include trailing more-indented empty lines in content\n for (let i = lines.length - 1; i >= chompStart; --i) {\n if (lines[i][0].length > trimIndent)\n chompStart = i + 1;\n }\n let value = '';\n let sep = '';\n let prevMoreIndented = false;\n // leading whitespace is kept intact\n for (let i = 0; i < contentStart; ++i)\n value += lines[i][0].slice(trimIndent) + '\\n';\n for (let i = contentStart; i < chompStart; ++i) {\n let [indent, content] = lines[i];\n offset += indent.length + content.length + 1;\n const crlf = content[content.length - 1] === '\\r';\n if (crlf)\n content = content.slice(0, -1);\n /* istanbul ignore if already caught in lexer */\n if (content && indent.length < trimIndent) {\n const src = header.indent\n ? 'explicit indentation indicator'\n : 'first line';\n const message = `Block scalar lines must not be less indented than their ${src}`;\n onError(offset - content.length - (crlf ? 2 : 1), 'BAD_INDENT', message);\n indent = '';\n }\n if (type === Scalar.Scalar.BLOCK_LITERAL) {\n value += sep + indent.slice(trimIndent) + content;\n sep = '\\n';\n }\n else if (indent.length > trimIndent || content[0] === '\\t') {\n // more-indented content within a folded block\n if (sep === ' ')\n sep = '\\n';\n else if (!prevMoreIndented && sep === '\\n')\n sep = '\\n\\n';\n value += sep + indent.slice(trimIndent) + content;\n sep = '\\n';\n prevMoreIndented = true;\n }\n else if (content === '') {\n // empty line\n if (sep === '\\n')\n value += '\\n';\n else\n sep = '\\n';\n }\n else {\n value += sep + content;\n sep = ' ';\n prevMoreIndented = false;\n }\n }\n switch (header.chomp) {\n case '-':\n break;\n case '+':\n for (let i = chompStart; i < lines.length; ++i)\n value += '\\n' + lines[i][0].slice(trimIndent);\n if (value[value.length - 1] !== '\\n')\n value += '\\n';\n break;\n default:\n value += '\\n';\n }\n const end = start + header.length + scalar.source.length;\n return { value, type, comment: header.comment, range: [start, end, end] };\n}\nfunction parseBlockScalarHeader({ offset, props }, strict, onError) {\n /* istanbul ignore if should not happen */\n if (props[0].type !== 'block-scalar-header') {\n onError(props[0], 'IMPOSSIBLE', 'Block scalar header not found');\n return null;\n }\n const { source } = props[0];\n const mode = source[0];\n let indent = 0;\n let chomp = '';\n let error = -1;\n for (let i = 1; i < source.length; ++i) {\n const ch = source[i];\n if (!chomp && (ch === '-' || ch === '+'))\n chomp = ch;\n else {\n const n = Number(ch);\n if (!indent && n)\n indent = n;\n else if (error === -1)\n error = offset + i;\n }\n }\n if (error !== -1)\n onError(error, 'UNEXPECTED_TOKEN', `Block scalar header includes extra characters: ${source}`);\n let hasSpace = false;\n let comment = '';\n let length = source.length;\n for (let i = 1; i < props.length; ++i) {\n const token = props[i];\n switch (token.type) {\n case 'space':\n hasSpace = true;\n // fallthrough\n case 'newline':\n length += token.source.length;\n break;\n case 'comment':\n if (strict && !hasSpace) {\n const message = 'Comments must be separated from other tokens by white space characters';\n onError(token, 'MISSING_CHAR', message);\n }\n length += token.source.length;\n comment = token.source.substring(1);\n break;\n case 'error':\n onError(token, 'UNEXPECTED_TOKEN', token.message);\n length += token.source.length;\n break;\n /* istanbul ignore next should not happen */\n default: {\n const message = `Unexpected token in block scalar header: ${token.type}`;\n onError(token, 'UNEXPECTED_TOKEN', message);\n const ts = token.source;\n if (ts && typeof ts === 'string')\n length += ts.length;\n }\n }\n }\n return { mode, indent, chomp, comment, length };\n}\n/** @returns Array of lines split up as `[indent, content]` */\nfunction splitLines(source) {\n const split = source.split(/\\n( *)/);\n const first = split[0];\n const m = first.match(/^( *)/);\n const line0 = m?.[1]\n ? [m[1], first.slice(m[1].length)]\n : ['', first];\n const lines = [line0];\n for (let i = 1; i < split.length; i += 2)\n lines.push([split[i], split[i + 1]]);\n return lines;\n}\n\nexports.resolveBlockScalar = resolveBlockScalar;\n","'use strict';\n\nvar YAMLSeq = require('../nodes/YAMLSeq.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilFlowIndentCheck = require('./util-flow-indent-check.js');\n\nfunction resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, tag) {\n const NodeClass = tag?.nodeClass ?? YAMLSeq.YAMLSeq;\n const seq = new NodeClass(ctx.schema);\n if (ctx.atRoot)\n ctx.atRoot = false;\n let offset = bs.offset;\n let commentEnd = null;\n for (const { start, value } of bs.items) {\n const props = resolveProps.resolveProps(start, {\n indicator: 'seq-item-ind',\n next: value,\n offset,\n onError,\n startOnNewline: true\n });\n if (!props.found) {\n if (props.anchor || props.tag || value) {\n if (value && value.type === 'block-seq')\n onError(props.end, 'BAD_INDENT', 'All sequence items must start at the same column');\n else\n onError(offset, 'MISSING_CHAR', 'Sequence item without - indicator');\n }\n else {\n commentEnd = props.end;\n if (props.comment)\n seq.comment = props.comment;\n continue;\n }\n }\n const node = value\n ? composeNode(ctx, value, props, onError)\n : composeEmptyNode(ctx, props.end, start, null, props, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bs.indent, value, onError);\n offset = node.range[2];\n seq.items.push(node);\n }\n seq.range = [bs.offset, offset, commentEnd ?? offset];\n return seq;\n}\n\nexports.resolveBlockSeq = resolveBlockSeq;\n","'use strict';\n\nfunction resolveEnd(end, offset, reqSpace, onError) {\n let comment = '';\n if (end) {\n let hasSpace = false;\n let sep = '';\n for (const token of end) {\n const { source, type } = token;\n switch (type) {\n case 'space':\n hasSpace = true;\n break;\n case 'comment': {\n if (reqSpace && !hasSpace)\n onError(token, 'MISSING_CHAR', 'Comments must be separated from other tokens by white space characters');\n const cb = source.substring(1) || ' ';\n if (!comment)\n comment = cb;\n else\n comment += sep + cb;\n sep = '';\n break;\n }\n case 'newline':\n if (comment)\n sep += source;\n hasSpace = true;\n break;\n default:\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected ${type} at node end`);\n }\n offset += source.length;\n }\n }\n return { comment, offset };\n}\n\nexports.resolveEnd = resolveEnd;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Pair = require('../nodes/Pair.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar YAMLSeq = require('../nodes/YAMLSeq.js');\nvar resolveEnd = require('./resolve-end.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilContainsNewline = require('./util-contains-newline.js');\nvar utilMapIncludes = require('./util-map-includes.js');\n\nconst blockMsg = 'Block collections are not allowed within flow collections';\nconst isBlock = (token) => token && (token.type === 'block-map' || token.type === 'block-seq');\nfunction resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onError, tag) {\n const isMap = fc.start.source === '{';\n const fcName = isMap ? 'flow map' : 'flow sequence';\n const NodeClass = (tag?.nodeClass ?? (isMap ? YAMLMap.YAMLMap : YAMLSeq.YAMLSeq));\n const coll = new NodeClass(ctx.schema);\n coll.flow = true;\n const atRoot = ctx.atRoot;\n if (atRoot)\n ctx.atRoot = false;\n let offset = fc.offset + fc.start.source.length;\n for (let i = 0; i < fc.items.length; ++i) {\n const collItem = fc.items[i];\n const { start, key, sep, value } = collItem;\n const props = resolveProps.resolveProps(start, {\n flow: fcName,\n indicator: 'explicit-key-ind',\n next: key ?? sep?.[0],\n offset,\n onError,\n startOnNewline: false\n });\n if (!props.found) {\n if (!props.anchor && !props.tag && !sep && !value) {\n if (i === 0 && props.comma)\n onError(props.comma, 'UNEXPECTED_TOKEN', `Unexpected , in ${fcName}`);\n else if (i < fc.items.length - 1)\n onError(props.start, 'UNEXPECTED_TOKEN', `Unexpected empty item in ${fcName}`);\n if (props.comment) {\n if (coll.comment)\n coll.comment += '\\n' + props.comment;\n else\n coll.comment = props.comment;\n }\n offset = props.end;\n continue;\n }\n if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key))\n onError(key, // checked by containsNewline()\n 'MULTILINE_IMPLICIT_KEY', 'Implicit keys of flow sequence pairs need to be on a single line');\n }\n if (i === 0) {\n if (props.comma)\n onError(props.comma, 'UNEXPECTED_TOKEN', `Unexpected , in ${fcName}`);\n }\n else {\n if (!props.comma)\n onError(props.start, 'MISSING_CHAR', `Missing , between ${fcName} items`);\n if (props.comment) {\n let prevItemComment = '';\n loop: for (const st of start) {\n switch (st.type) {\n case 'comma':\n case 'space':\n break;\n case 'comment':\n prevItemComment = st.source.substring(1);\n break loop;\n default:\n break loop;\n }\n }\n if (prevItemComment) {\n let prev = coll.items[coll.items.length - 1];\n if (identity.isPair(prev))\n prev = prev.value ?? prev.key;\n if (prev.comment)\n prev.comment += '\\n' + prevItemComment;\n else\n prev.comment = prevItemComment;\n props.comment = props.comment.substring(prevItemComment.length + 1);\n }\n }\n }\n if (!isMap && !sep && !props.found) {\n // item is a value in a seq\n // → key & sep are empty, start does not include ? or :\n const valueNode = value\n ? composeNode(ctx, value, props, onError)\n : composeEmptyNode(ctx, props.end, sep, null, props, onError);\n coll.items.push(valueNode);\n offset = valueNode.range[2];\n if (isBlock(value))\n onError(valueNode.range, 'BLOCK_IN_FLOW', blockMsg);\n }\n else {\n // item is a key+value pair\n // key value\n const keyStart = props.end;\n const keyNode = key\n ? composeNode(ctx, key, props, onError)\n : composeEmptyNode(ctx, keyStart, start, null, props, onError);\n if (isBlock(key))\n onError(keyNode.range, 'BLOCK_IN_FLOW', blockMsg);\n // value properties\n const valueProps = resolveProps.resolveProps(sep ?? [], {\n flow: fcName,\n indicator: 'map-value-ind',\n next: value,\n offset: keyNode.range[2],\n onError,\n startOnNewline: false\n });\n if (valueProps.found) {\n if (!isMap && !props.found && ctx.options.strict) {\n if (sep)\n for (const st of sep) {\n if (st === valueProps.found)\n break;\n if (st.type === 'newline') {\n onError(st, 'MULTILINE_IMPLICIT_KEY', 'Implicit keys of flow sequence pairs need to be on a single line');\n break;\n }\n }\n if (props.start < valueProps.found.offset - 1024)\n onError(valueProps.found, 'KEY_OVER_1024_CHARS', 'The : indicator must be at most 1024 chars after the start of an implicit flow sequence key');\n }\n }\n else if (value) {\n if ('source' in value && value.source && value.source[0] === ':')\n onError(value, 'MISSING_CHAR', `Missing space after : in ${fcName}`);\n else\n onError(valueProps.start, 'MISSING_CHAR', `Missing , or : between ${fcName} items`);\n }\n // value value\n const valueNode = value\n ? composeNode(ctx, value, valueProps, onError)\n : valueProps.found\n ? composeEmptyNode(ctx, valueProps.end, sep, null, valueProps, onError)\n : null;\n if (valueNode) {\n if (isBlock(value))\n onError(valueNode.range, 'BLOCK_IN_FLOW', blockMsg);\n }\n else if (valueProps.comment) {\n if (keyNode.comment)\n keyNode.comment += '\\n' + valueProps.comment;\n else\n keyNode.comment = valueProps.comment;\n }\n const pair = new Pair.Pair(keyNode, valueNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n if (isMap) {\n const map = coll;\n if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))\n onError(keyStart, 'DUPLICATE_KEY', 'Map keys must be unique');\n map.items.push(pair);\n }\n else {\n const map = new YAMLMap.YAMLMap(ctx.schema);\n map.flow = true;\n map.items.push(pair);\n coll.items.push(map);\n }\n offset = valueNode ? valueNode.range[2] : valueProps.end;\n }\n }\n const expectedEnd = isMap ? '}' : ']';\n const [ce, ...ee] = fc.end;\n let cePos = offset;\n if (ce && ce.source === expectedEnd)\n cePos = ce.offset + ce.source.length;\n else {\n const name = fcName[0].toUpperCase() + fcName.substring(1);\n const msg = atRoot\n ? `${name} must end with a ${expectedEnd}`\n : `${name} in block collection must be sufficiently indented and end with a ${expectedEnd}`;\n onError(offset, atRoot ? 'MISSING_CHAR' : 'BAD_INDENT', msg);\n if (ce && ce.source.length !== 1)\n ee.unshift(ce);\n }\n if (ee.length > 0) {\n const end = resolveEnd.resolveEnd(ee, cePos, ctx.options.strict, onError);\n if (end.comment) {\n if (coll.comment)\n coll.comment += '\\n' + end.comment;\n else\n coll.comment = end.comment;\n }\n coll.range = [fc.offset, cePos, end.offset];\n }\n else {\n coll.range = [fc.offset, cePos, cePos];\n }\n return coll;\n}\n\nexports.resolveFlowCollection = resolveFlowCollection;\n","'use strict';\n\nvar Scalar = require('../nodes/Scalar.js');\nvar resolveEnd = require('./resolve-end.js');\n\nfunction resolveFlowScalar(scalar, strict, onError) {\n const { offset, type, source, end } = scalar;\n let _type;\n let value;\n const _onError = (rel, code, msg) => onError(offset + rel, code, msg);\n switch (type) {\n case 'scalar':\n _type = Scalar.Scalar.PLAIN;\n value = plainValue(source, _onError);\n break;\n case 'single-quoted-scalar':\n _type = Scalar.Scalar.QUOTE_SINGLE;\n value = singleQuotedValue(source, _onError);\n break;\n case 'double-quoted-scalar':\n _type = Scalar.Scalar.QUOTE_DOUBLE;\n value = doubleQuotedValue(source, _onError);\n break;\n /* istanbul ignore next should not happen */\n default:\n onError(scalar, 'UNEXPECTED_TOKEN', `Expected a flow scalar value, but found: ${type}`);\n return {\n value: '',\n type: null,\n comment: '',\n range: [offset, offset + source.length, offset + source.length]\n };\n }\n const valueEnd = offset + source.length;\n const re = resolveEnd.resolveEnd(end, valueEnd, strict, onError);\n return {\n value,\n type: _type,\n comment: re.comment,\n range: [offset, valueEnd, re.offset]\n };\n}\nfunction plainValue(source, onError) {\n let badChar = '';\n switch (source[0]) {\n /* istanbul ignore next should not happen */\n case '\\t':\n badChar = 'a tab character';\n break;\n case ',':\n badChar = 'flow indicator character ,';\n break;\n case '%':\n badChar = 'directive indicator character %';\n break;\n case '|':\n case '>': {\n badChar = `block scalar indicator ${source[0]}`;\n break;\n }\n case '@':\n case '`': {\n badChar = `reserved character ${source[0]}`;\n break;\n }\n }\n if (badChar)\n onError(0, 'BAD_SCALAR_START', `Plain value cannot start with ${badChar}`);\n return foldLines(source);\n}\nfunction singleQuotedValue(source, onError) {\n if (source[source.length - 1] !== \"'\" || source.length === 1)\n onError(source.length, 'MISSING_CHAR', \"Missing closing 'quote\");\n return foldLines(source.slice(1, -1)).replace(/''/g, \"'\");\n}\nfunction foldLines(source) {\n /**\n * The negative lookbehind here and in the `re` RegExp is to\n * prevent causing a polynomial search time in certain cases.\n *\n * The try-catch is for Safari, which doesn't support this yet:\n * https://caniuse.com/js-regexp-lookbehind\n */\n let first, line;\n try {\n first = new RegExp('(.*?)(? wsStart ? source.slice(wsStart, i + 1) : ch;\n }\n else {\n res += ch;\n }\n }\n if (source[source.length - 1] !== '\"' || source.length === 1)\n onError(source.length, 'MISSING_CHAR', 'Missing closing \"quote');\n return res;\n}\n/**\n * Fold a single newline into a space, multiple newlines to N - 1 newlines.\n * Presumes `source[offset] === '\\n'`\n */\nfunction foldNewline(source, offset) {\n let fold = '';\n let ch = source[offset + 1];\n while (ch === ' ' || ch === '\\t' || ch === '\\n' || ch === '\\r') {\n if (ch === '\\r' && source[offset + 2] !== '\\n')\n break;\n if (ch === '\\n')\n fold += '\\n';\n offset += 1;\n ch = source[offset + 1];\n }\n if (!fold)\n fold = ' ';\n return { fold, offset };\n}\nconst escapeCodes = {\n '0': '\\0',\n a: '\\x07',\n b: '\\b',\n e: '\\x1b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n v: '\\v',\n N: '\\u0085',\n _: '\\u00a0',\n L: '\\u2028',\n P: '\\u2029',\n ' ': ' ',\n '\"': '\"',\n '/': '/',\n '\\\\': '\\\\',\n '\\t': '\\t'\n};\nfunction parseCharCode(source, offset, length, onError) {\n const cc = source.substr(offset, length);\n const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);\n const code = ok ? parseInt(cc, 16) : NaN;\n if (isNaN(code)) {\n const raw = source.substr(offset - 2, length + 2);\n onError(offset - 2, 'BAD_DQ_ESCAPE', `Invalid escape sequence ${raw}`);\n return raw;\n }\n return String.fromCodePoint(code);\n}\n\nexports.resolveFlowScalar = resolveFlowScalar;\n","'use strict';\n\nfunction resolveProps(tokens, { flow, indicator, next, offset, onError, startOnNewline }) {\n let spaceBefore = false;\n let atNewline = startOnNewline;\n let hasSpace = startOnNewline;\n let comment = '';\n let commentSep = '';\n let hasNewline = false;\n let hasNewlineAfterProp = false;\n let reqSpace = false;\n let anchor = null;\n let tag = null;\n let comma = null;\n let found = null;\n let start = null;\n for (const token of tokens) {\n if (reqSpace) {\n if (token.type !== 'space' &&\n token.type !== 'newline' &&\n token.type !== 'comma')\n onError(token.offset, 'MISSING_CHAR', 'Tags and anchors must be separated from the next token by white space');\n reqSpace = false;\n }\n switch (token.type) {\n case 'space':\n // At the doc level, tabs at line start may be parsed\n // as leading white space rather than indentation.\n // In a flow collection, only the parser handles indent.\n if (!flow &&\n atNewline &&\n indicator !== 'doc-start' &&\n token.source[0] === '\\t')\n onError(token, 'TAB_AS_INDENT', 'Tabs are not allowed as indentation');\n hasSpace = true;\n break;\n case 'comment': {\n if (!hasSpace)\n onError(token, 'MISSING_CHAR', 'Comments must be separated from other tokens by white space characters');\n const cb = token.source.substring(1) || ' ';\n if (!comment)\n comment = cb;\n else\n comment += commentSep + cb;\n commentSep = '';\n atNewline = false;\n break;\n }\n case 'newline':\n if (atNewline) {\n if (comment)\n comment += token.source;\n else\n spaceBefore = true;\n }\n else\n commentSep += token.source;\n atNewline = true;\n hasNewline = true;\n if (anchor || tag)\n hasNewlineAfterProp = true;\n hasSpace = true;\n break;\n case 'anchor':\n if (anchor)\n onError(token, 'MULTIPLE_ANCHORS', 'A node can have at most one anchor');\n if (token.source.endsWith(':'))\n onError(token.offset + token.source.length - 1, 'BAD_ALIAS', 'Anchor ending in : is ambiguous', true);\n anchor = token;\n if (start === null)\n start = token.offset;\n atNewline = false;\n hasSpace = false;\n reqSpace = true;\n break;\n case 'tag': {\n if (tag)\n onError(token, 'MULTIPLE_TAGS', 'A node can have at most one tag');\n tag = token;\n if (start === null)\n start = token.offset;\n atNewline = false;\n hasSpace = false;\n reqSpace = true;\n break;\n }\n case indicator:\n // Could here handle preceding comments differently\n if (anchor || tag)\n onError(token, 'BAD_PROP_ORDER', `Anchors and tags must be after the ${token.source} indicator`);\n if (found)\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected ${token.source} in ${flow ?? 'collection'}`);\n found = token;\n atNewline = false;\n hasSpace = false;\n break;\n case 'comma':\n if (flow) {\n if (comma)\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected , in ${flow}`);\n comma = token;\n atNewline = false;\n hasSpace = false;\n break;\n }\n // else fallthrough\n default:\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected ${token.type} token`);\n atNewline = false;\n hasSpace = false;\n }\n }\n const last = tokens[tokens.length - 1];\n const end = last ? last.offset + last.source.length : offset;\n if (reqSpace &&\n next &&\n next.type !== 'space' &&\n next.type !== 'newline' &&\n next.type !== 'comma' &&\n (next.type !== 'scalar' || next.source !== ''))\n onError(next.offset, 'MISSING_CHAR', 'Tags and anchors must be separated from the next token by white space');\n return {\n comma,\n found,\n spaceBefore,\n comment,\n hasNewline,\n hasNewlineAfterProp,\n anchor,\n tag,\n end,\n start: start ?? end\n };\n}\n\nexports.resolveProps = resolveProps;\n","'use strict';\n\nfunction containsNewline(key) {\n if (!key)\n return null;\n switch (key.type) {\n case 'alias':\n case 'scalar':\n case 'double-quoted-scalar':\n case 'single-quoted-scalar':\n if (key.source.includes('\\n'))\n return true;\n if (key.end)\n for (const st of key.end)\n if (st.type === 'newline')\n return true;\n return false;\n case 'flow-collection':\n for (const it of key.items) {\n for (const st of it.start)\n if (st.type === 'newline')\n return true;\n if (it.sep)\n for (const st of it.sep)\n if (st.type === 'newline')\n return true;\n if (containsNewline(it.key) || containsNewline(it.value))\n return true;\n }\n return false;\n default:\n return true;\n }\n}\n\nexports.containsNewline = containsNewline;\n","'use strict';\n\nfunction emptyScalarPosition(offset, before, pos) {\n if (before) {\n if (pos === null)\n pos = before.length;\n for (let i = pos - 1; i >= 0; --i) {\n let st = before[i];\n switch (st.type) {\n case 'space':\n case 'comment':\n case 'newline':\n offset -= st.source.length;\n continue;\n }\n // Technically, an empty scalar is immediately after the last non-empty\n // node, but it's more useful to place it after any whitespace.\n st = before[++i];\n while (st?.type === 'space') {\n offset += st.source.length;\n st = before[++i];\n }\n break;\n }\n }\n return offset;\n}\n\nexports.emptyScalarPosition = emptyScalarPosition;\n","'use strict';\n\nvar utilContainsNewline = require('./util-contains-newline.js');\n\nfunction flowIndentCheck(indent, fc, onError) {\n if (fc?.type === 'flow-collection') {\n const end = fc.end[0];\n if (end.indent === indent &&\n (end.source === ']' || end.source === '}') &&\n utilContainsNewline.containsNewline(fc)) {\n const msg = 'Flow end indicator should be more indented than parent';\n onError(end, 'BAD_INDENT', msg, true);\n }\n }\n}\n\nexports.flowIndentCheck = flowIndentCheck;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\n\nfunction mapIncludes(ctx, items, search) {\n const { uniqueKeys } = ctx.options;\n if (uniqueKeys === false)\n return false;\n const isEqual = typeof uniqueKeys === 'function'\n ? uniqueKeys\n : (a, b) => a === b ||\n (identity.isScalar(a) &&\n identity.isScalar(b) &&\n a.value === b.value &&\n !(a.value === '<<' && ctx.schema.merge));\n return items.some(pair => isEqual(pair.key, search));\n}\n\nexports.mapIncludes = mapIncludes;\n","'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar Collection = require('../nodes/Collection.js');\nvar identity = require('../nodes/identity.js');\nvar Pair = require('../nodes/Pair.js');\nvar toJS = require('../nodes/toJS.js');\nvar Schema = require('../schema/Schema.js');\nvar stringifyDocument = require('../stringify/stringifyDocument.js');\nvar anchors = require('./anchors.js');\nvar applyReviver = require('./applyReviver.js');\nvar createNode = require('./createNode.js');\nvar directives = require('./directives.js');\n\nclass Document {\n constructor(value, replacer, options) {\n /** A comment before this Document */\n this.commentBefore = null;\n /** A comment immediately after this Document */\n this.comment = null;\n /** Errors encountered during parsing. */\n this.errors = [];\n /** Warnings encountered during parsing. */\n this.warnings = [];\n Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });\n let _replacer = null;\n if (typeof replacer === 'function' || Array.isArray(replacer)) {\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n replacer = undefined;\n }\n const opt = Object.assign({\n intAsBigInt: false,\n keepSourceTokens: false,\n logLevel: 'warn',\n prettyErrors: true,\n strict: true,\n uniqueKeys: true,\n version: '1.2'\n }, options);\n this.options = opt;\n let { version } = opt;\n if (options?._directives) {\n this.directives = options._directives.atDocument();\n if (this.directives.yaml.explicit)\n version = this.directives.yaml.version;\n }\n else\n this.directives = new directives.Directives({ version });\n this.setSchema(version, options);\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents =\n value === undefined ? null : this.createNode(value, _replacer, options);\n }\n /**\n * Create a deep copy of this Document and its contents.\n *\n * Custom Node values that inherit from `Object` still refer to their original instances.\n */\n clone() {\n const copy = Object.create(Document.prototype, {\n [identity.NODE_TYPE]: { value: identity.DOC }\n });\n copy.commentBefore = this.commentBefore;\n copy.comment = this.comment;\n copy.errors = this.errors.slice();\n copy.warnings = this.warnings.slice();\n copy.options = Object.assign({}, this.options);\n if (this.directives)\n copy.directives = this.directives.clone();\n copy.schema = this.schema.clone();\n // @ts-expect-error We can't really know that this matches Contents.\n copy.contents = identity.isNode(this.contents)\n ? this.contents.clone(copy.schema)\n : this.contents;\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /** Adds a value to the document. */\n add(value) {\n if (assertCollection(this.contents))\n this.contents.add(value);\n }\n /** Adds a value to the document. */\n addIn(path, value) {\n if (assertCollection(this.contents))\n this.contents.addIn(path, value);\n }\n /**\n * Create a new `Alias` node, ensuring that the target `node` has the required anchor.\n *\n * If `node` already has an anchor, `name` is ignored.\n * Otherwise, the `node.anchor` value will be set to `name`,\n * or if an anchor with that name is already present in the document,\n * `name` will be used as a prefix for a new unique anchor.\n * If `name` is undefined, the generated anchor will use 'a' as a prefix.\n */\n createAlias(node, name) {\n if (!node.anchor) {\n const prev = anchors.anchorNames(this);\n node.anchor =\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n !name || prev.has(name) ? anchors.findNewAnchor(name || 'a', prev) : name;\n }\n return new Alias.Alias(node.anchor);\n }\n createNode(value, replacer, options) {\n let _replacer = undefined;\n if (typeof replacer === 'function') {\n value = replacer.call({ '': value }, '', value);\n _replacer = replacer;\n }\n else if (Array.isArray(replacer)) {\n const keyToStr = (v) => typeof v === 'number' || v instanceof String || v instanceof Number;\n const asStr = replacer.filter(keyToStr).map(String);\n if (asStr.length > 0)\n replacer = replacer.concat(asStr);\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n replacer = undefined;\n }\n const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag } = options ?? {};\n const { onAnchor, setAnchors, sourceObjects } = anchors.createNodeAnchors(this, \n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n anchorPrefix || 'a');\n const ctx = {\n aliasDuplicateObjects: aliasDuplicateObjects ?? true,\n keepUndefined: keepUndefined ?? false,\n onAnchor,\n onTagObj,\n replacer: _replacer,\n schema: this.schema,\n sourceObjects\n };\n const node = createNode.createNode(value, tag, ctx);\n if (flow && identity.isCollection(node))\n node.flow = true;\n setAnchors();\n return node;\n }\n /**\n * Convert a key and a value into a `Pair` using the current schema,\n * recursively wrapping all values as `Scalar` or `Collection` nodes.\n */\n createPair(key, value, options = {}) {\n const k = this.createNode(key, null, options);\n const v = this.createNode(value, null, options);\n return new Pair.Pair(k, v);\n }\n /**\n * Removes a value from the document.\n * @returns `true` if the item was found and removed.\n */\n delete(key) {\n return assertCollection(this.contents) ? this.contents.delete(key) : false;\n }\n /**\n * Removes a value from the document.\n * @returns `true` if the item was found and removed.\n */\n deleteIn(path) {\n if (Collection.isEmptyPath(path)) {\n if (this.contents == null)\n return false;\n // @ts-expect-error Presumed impossible if Strict extends false\n this.contents = null;\n return true;\n }\n return assertCollection(this.contents)\n ? this.contents.deleteIn(path)\n : false;\n }\n /**\n * Returns item at `key`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n get(key, keepScalar) {\n return identity.isCollection(this.contents)\n ? this.contents.get(key, keepScalar)\n : undefined;\n }\n /**\n * Returns item at `path`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n getIn(path, keepScalar) {\n if (Collection.isEmptyPath(path))\n return !keepScalar && identity.isScalar(this.contents)\n ? this.contents.value\n : this.contents;\n return identity.isCollection(this.contents)\n ? this.contents.getIn(path, keepScalar)\n : undefined;\n }\n /**\n * Checks if the document includes a value with the key `key`.\n */\n has(key) {\n return identity.isCollection(this.contents) ? this.contents.has(key) : false;\n }\n /**\n * Checks if the document includes a value at `path`.\n */\n hasIn(path) {\n if (Collection.isEmptyPath(path))\n return this.contents !== undefined;\n return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;\n }\n /**\n * Sets a value in this document. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n set(key, value) {\n if (this.contents == null) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = Collection.collectionFromPath(this.schema, [key], value);\n }\n else if (assertCollection(this.contents)) {\n this.contents.set(key, value);\n }\n }\n /**\n * Sets a value in this document. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n setIn(path, value) {\n if (Collection.isEmptyPath(path)) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = value;\n }\n else if (this.contents == null) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = Collection.collectionFromPath(this.schema, Array.from(path), value);\n }\n else if (assertCollection(this.contents)) {\n this.contents.setIn(path, value);\n }\n }\n /**\n * Change the YAML version and schema used by the document.\n * A `null` version disables support for directives, explicit tags, anchors, and aliases.\n * It also requires the `schema` option to be given as a `Schema` instance value.\n *\n * Overrides all previously set schema options.\n */\n setSchema(version, options = {}) {\n if (typeof version === 'number')\n version = String(version);\n let opt;\n switch (version) {\n case '1.1':\n if (this.directives)\n this.directives.yaml.version = '1.1';\n else\n this.directives = new directives.Directives({ version: '1.1' });\n opt = { merge: true, resolveKnownTags: false, schema: 'yaml-1.1' };\n break;\n case '1.2':\n case 'next':\n if (this.directives)\n this.directives.yaml.version = version;\n else\n this.directives = new directives.Directives({ version });\n opt = { merge: false, resolveKnownTags: true, schema: 'core' };\n break;\n case null:\n if (this.directives)\n delete this.directives;\n opt = null;\n break;\n default: {\n const sv = JSON.stringify(version);\n throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv}`);\n }\n }\n // Not using `instanceof Schema` to allow for duck typing\n if (options.schema instanceof Object)\n this.schema = options.schema;\n else if (opt)\n this.schema = new Schema.Schema(Object.assign(opt, options));\n else\n throw new Error(`With a null YAML version, the { schema: Schema } option is required`);\n }\n // json & jsonArg are only used from toJSON()\n toJS({ json, jsonArg, mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {\n const ctx = {\n anchors: new Map(),\n doc: this,\n keep: !json,\n mapAsMap: mapAsMap === true,\n mapKeyWarned: false,\n maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100\n };\n const res = toJS.toJS(this.contents, jsonArg ?? '', ctx);\n if (typeof onAnchor === 'function')\n for (const { count, res } of ctx.anchors.values())\n onAnchor(res, count);\n return typeof reviver === 'function'\n ? applyReviver.applyReviver(reviver, { '': res }, '', res)\n : res;\n }\n /**\n * A JSON representation of the document `contents`.\n *\n * @param jsonArg Used by `JSON.stringify` to indicate the array index or\n * property name.\n */\n toJSON(jsonArg, onAnchor) {\n return this.toJS({ json: true, jsonArg, mapAsMap: false, onAnchor });\n }\n /** A YAML representation of the document. */\n toString(options = {}) {\n if (this.errors.length > 0)\n throw new Error('Document with errors cannot be stringified');\n if ('indent' in options &&\n (!Number.isInteger(options.indent) || Number(options.indent) <= 0)) {\n const s = JSON.stringify(options.indent);\n throw new Error(`\"indent\" option must be a positive integer, not ${s}`);\n }\n return stringifyDocument.stringifyDocument(this, options);\n }\n}\nfunction assertCollection(contents) {\n if (identity.isCollection(contents))\n return true;\n throw new Error('Expected a YAML collection as document contents');\n}\n\nexports.Document = Document;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar visit = require('../visit.js');\n\n/**\n * Verify that the input string is a valid anchor.\n *\n * Will throw on errors.\n */\nfunction anchorIsValid(anchor) {\n if (/[\\x00-\\x19\\s,[\\]{}]/.test(anchor)) {\n const sa = JSON.stringify(anchor);\n const msg = `Anchor must not contain whitespace or control characters: ${sa}`;\n throw new Error(msg);\n }\n return true;\n}\nfunction anchorNames(root) {\n const anchors = new Set();\n visit.visit(root, {\n Value(_key, node) {\n if (node.anchor)\n anchors.add(node.anchor);\n }\n });\n return anchors;\n}\n/** Find a new anchor name with the given `prefix` and a one-indexed suffix. */\nfunction findNewAnchor(prefix, exclude) {\n for (let i = 1; true; ++i) {\n const name = `${prefix}${i}`;\n if (!exclude.has(name))\n return name;\n }\n}\nfunction createNodeAnchors(doc, prefix) {\n const aliasObjects = [];\n const sourceObjects = new Map();\n let prevAnchors = null;\n return {\n onAnchor: (source) => {\n aliasObjects.push(source);\n if (!prevAnchors)\n prevAnchors = anchorNames(doc);\n const anchor = findNewAnchor(prefix, prevAnchors);\n prevAnchors.add(anchor);\n return anchor;\n },\n /**\n * With circular references, the source node is only resolved after all\n * of its child nodes are. This is why anchors are set only after all of\n * the nodes have been created.\n */\n setAnchors: () => {\n for (const source of aliasObjects) {\n const ref = sourceObjects.get(source);\n if (typeof ref === 'object' &&\n ref.anchor &&\n (identity.isScalar(ref.node) || identity.isCollection(ref.node))) {\n ref.node.anchor = ref.anchor;\n }\n else {\n const error = new Error('Failed to resolve repeated object (this should not happen)');\n error.source = source;\n throw error;\n }\n }\n },\n sourceObjects\n };\n}\n\nexports.anchorIsValid = anchorIsValid;\nexports.anchorNames = anchorNames;\nexports.createNodeAnchors = createNodeAnchors;\nexports.findNewAnchor = findNewAnchor;\n","'use strict';\n\n/**\n * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,\n * in section 24.5.1.1 \"Runtime Semantics: InternalizeJSONProperty\" of the\n * 2021 edition: https://tc39.es/ecma262/#sec-json.parse\n *\n * Includes extensions for handling Map and Set objects.\n */\nfunction applyReviver(reviver, obj, key, val) {\n if (val && typeof val === 'object') {\n if (Array.isArray(val)) {\n for (let i = 0, len = val.length; i < len; ++i) {\n const v0 = val[i];\n const v1 = applyReviver(reviver, val, String(i), v0);\n if (v1 === undefined)\n delete val[i];\n else if (v1 !== v0)\n val[i] = v1;\n }\n }\n else if (val instanceof Map) {\n for (const k of Array.from(val.keys())) {\n const v0 = val.get(k);\n const v1 = applyReviver(reviver, val, k, v0);\n if (v1 === undefined)\n val.delete(k);\n else if (v1 !== v0)\n val.set(k, v1);\n }\n }\n else if (val instanceof Set) {\n for (const v0 of Array.from(val)) {\n const v1 = applyReviver(reviver, val, v0, v0);\n if (v1 === undefined)\n val.delete(v0);\n else if (v1 !== v0) {\n val.delete(v0);\n val.add(v1);\n }\n }\n }\n else {\n for (const [k, v0] of Object.entries(val)) {\n const v1 = applyReviver(reviver, val, k, v0);\n if (v1 === undefined)\n delete val[k];\n else if (v1 !== v0)\n val[k] = v1;\n }\n }\n }\n return reviver.call(obj, key, val);\n}\n\nexports.applyReviver = applyReviver;\n","'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\n\nconst defaultTagPrefix = 'tag:yaml.org,2002:';\nfunction findTagObject(value, tagName, tags) {\n if (tagName) {\n const match = tags.filter(t => t.tag === tagName);\n const tagObj = match.find(t => !t.format) ?? match[0];\n if (!tagObj)\n throw new Error(`Tag ${tagName} not found`);\n return tagObj;\n }\n return tags.find(t => t.identify?.(value) && !t.format);\n}\nfunction createNode(value, tagName, ctx) {\n if (identity.isDocument(value))\n value = value.contents;\n if (identity.isNode(value))\n return value;\n if (identity.isPair(value)) {\n const map = ctx.schema[identity.MAP].createNode?.(ctx.schema, null, ctx);\n map.items.push(value);\n return map;\n }\n if (value instanceof String ||\n value instanceof Number ||\n value instanceof Boolean ||\n (typeof BigInt !== 'undefined' && value instanceof BigInt) // not supported everywhere\n ) {\n // https://tc39.es/ecma262/#sec-serializejsonproperty\n value = value.valueOf();\n }\n const { aliasDuplicateObjects, onAnchor, onTagObj, schema, sourceObjects } = ctx;\n // Detect duplicate references to the same object & use Alias nodes for all\n // after first. The `ref` wrapper allows for circular references to resolve.\n let ref = undefined;\n if (aliasDuplicateObjects && value && typeof value === 'object') {\n ref = sourceObjects.get(value);\n if (ref) {\n if (!ref.anchor)\n ref.anchor = onAnchor(value);\n return new Alias.Alias(ref.anchor);\n }\n else {\n ref = { anchor: null, node: null };\n sourceObjects.set(value, ref);\n }\n }\n if (tagName?.startsWith('!!'))\n tagName = defaultTagPrefix + tagName.slice(2);\n let tagObj = findTagObject(value, tagName, schema.tags);\n if (!tagObj) {\n if (value && typeof value.toJSON === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n value = value.toJSON();\n }\n if (!value || typeof value !== 'object') {\n const node = new Scalar.Scalar(value);\n if (ref)\n ref.node = node;\n return node;\n }\n tagObj =\n value instanceof Map\n ? schema[identity.MAP]\n : Symbol.iterator in Object(value)\n ? schema[identity.SEQ]\n : schema[identity.MAP];\n }\n if (onTagObj) {\n onTagObj(tagObj);\n delete ctx.onTagObj;\n }\n const node = tagObj?.createNode\n ? tagObj.createNode(ctx.schema, value, ctx)\n : typeof tagObj?.nodeClass?.from === 'function'\n ? tagObj.nodeClass.from(ctx.schema, value, ctx)\n : new Scalar.Scalar(value);\n if (tagName)\n node.tag = tagName;\n else if (!tagObj.default)\n node.tag = tagObj.tag;\n if (ref)\n ref.node = node;\n return node;\n}\n\nexports.createNode = createNode;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar visit = require('../visit.js');\n\nconst escapeChars = {\n '!': '%21',\n ',': '%2C',\n '[': '%5B',\n ']': '%5D',\n '{': '%7B',\n '}': '%7D'\n};\nconst escapeTagName = (tn) => tn.replace(/[!,[\\]{}]/g, ch => escapeChars[ch]);\nclass Directives {\n constructor(yaml, tags) {\n /**\n * The directives-end/doc-start marker `---`. If `null`, a marker may still be\n * included in the document's stringified representation.\n */\n this.docStart = null;\n /** The doc-end marker `...`. */\n this.docEnd = false;\n this.yaml = Object.assign({}, Directives.defaultYaml, yaml);\n this.tags = Object.assign({}, Directives.defaultTags, tags);\n }\n clone() {\n const copy = new Directives(this.yaml, this.tags);\n copy.docStart = this.docStart;\n return copy;\n }\n /**\n * During parsing, get a Directives instance for the current document and\n * update the stream state according to the current version's spec.\n */\n atDocument() {\n const res = new Directives(this.yaml, this.tags);\n switch (this.yaml.version) {\n case '1.1':\n this.atNextDocument = true;\n break;\n case '1.2':\n this.atNextDocument = false;\n this.yaml = {\n explicit: Directives.defaultYaml.explicit,\n version: '1.2'\n };\n this.tags = Object.assign({}, Directives.defaultTags);\n break;\n }\n return res;\n }\n /**\n * @param onError - May be called even if the action was successful\n * @returns `true` on success\n */\n add(line, onError) {\n if (this.atNextDocument) {\n this.yaml = { explicit: Directives.defaultYaml.explicit, version: '1.1' };\n this.tags = Object.assign({}, Directives.defaultTags);\n this.atNextDocument = false;\n }\n const parts = line.trim().split(/[ \\t]+/);\n const name = parts.shift();\n switch (name) {\n case '%TAG': {\n if (parts.length !== 2) {\n onError(0, '%TAG directive should contain exactly two parts');\n if (parts.length < 2)\n return false;\n }\n const [handle, prefix] = parts;\n this.tags[handle] = prefix;\n return true;\n }\n case '%YAML': {\n this.yaml.explicit = true;\n if (parts.length !== 1) {\n onError(0, '%YAML directive should contain exactly one part');\n return false;\n }\n const [version] = parts;\n if (version === '1.1' || version === '1.2') {\n this.yaml.version = version;\n return true;\n }\n else {\n const isValid = /^\\d+\\.\\d+$/.test(version);\n onError(6, `Unsupported YAML version ${version}`, isValid);\n return false;\n }\n }\n default:\n onError(0, `Unknown directive ${name}`, true);\n return false;\n }\n }\n /**\n * Resolves a tag, matching handles to those defined in %TAG directives.\n *\n * @returns Resolved tag, which may also be the non-specific tag `'!'` or a\n * `'!local'` tag, or `null` if unresolvable.\n */\n tagName(source, onError) {\n if (source === '!')\n return '!'; // non-specific tag\n if (source[0] !== '!') {\n onError(`Not a valid tag: ${source}`);\n return null;\n }\n if (source[1] === '<') {\n const verbatim = source.slice(2, -1);\n if (verbatim === '!' || verbatim === '!!') {\n onError(`Verbatim tags aren't resolved, so ${source} is invalid.`);\n return null;\n }\n if (source[source.length - 1] !== '>')\n onError('Verbatim tags must end with a >');\n return verbatim;\n }\n const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s);\n if (!suffix)\n onError(`The ${source} tag has no suffix`);\n const prefix = this.tags[handle];\n if (prefix) {\n try {\n return prefix + decodeURIComponent(suffix);\n }\n catch (error) {\n onError(String(error));\n return null;\n }\n }\n if (handle === '!')\n return source; // local tag\n onError(`Could not resolve tag: ${source}`);\n return null;\n }\n /**\n * Given a fully resolved tag, returns its printable string form,\n * taking into account current tag prefixes and defaults.\n */\n tagString(tag) {\n for (const [handle, prefix] of Object.entries(this.tags)) {\n if (tag.startsWith(prefix))\n return handle + escapeTagName(tag.substring(prefix.length));\n }\n return tag[0] === '!' ? tag : `!<${tag}>`;\n }\n toString(doc) {\n const lines = this.yaml.explicit\n ? [`%YAML ${this.yaml.version || '1.2'}`]\n : [];\n const tagEntries = Object.entries(this.tags);\n let tagNames;\n if (doc && tagEntries.length > 0 && identity.isNode(doc.contents)) {\n const tags = {};\n visit.visit(doc.contents, (_key, node) => {\n if (identity.isNode(node) && node.tag)\n tags[node.tag] = true;\n });\n tagNames = Object.keys(tags);\n }\n else\n tagNames = [];\n for (const [handle, prefix] of tagEntries) {\n if (handle === '!!' && prefix === 'tag:yaml.org,2002:')\n continue;\n if (!doc || tagNames.some(tn => tn.startsWith(prefix)))\n lines.push(`%TAG ${handle} ${prefix}`);\n }\n return lines.join('\\n');\n }\n}\nDirectives.defaultYaml = { explicit: false, version: '1.2' };\nDirectives.defaultTags = { '!!': 'tag:yaml.org,2002:' };\n\nexports.Directives = Directives;\n","'use strict';\n\nclass YAMLError extends Error {\n constructor(name, pos, code, message) {\n super();\n this.name = name;\n this.code = code;\n this.message = message;\n this.pos = pos;\n }\n}\nclass YAMLParseError extends YAMLError {\n constructor(pos, code, message) {\n super('YAMLParseError', pos, code, message);\n }\n}\nclass YAMLWarning extends YAMLError {\n constructor(pos, code, message) {\n super('YAMLWarning', pos, code, message);\n }\n}\nconst prettifyError = (src, lc) => (error) => {\n if (error.pos[0] === -1)\n return;\n error.linePos = error.pos.map(pos => lc.linePos(pos));\n const { line, col } = error.linePos[0];\n error.message += ` at line ${line}, column ${col}`;\n let ci = col - 1;\n let lineStr = src\n .substring(lc.lineStarts[line - 1], lc.lineStarts[line])\n .replace(/[\\n\\r]+$/, '');\n // Trim to max 80 chars, keeping col position near the middle\n if (ci >= 60 && lineStr.length > 80) {\n const trimStart = Math.min(ci - 39, lineStr.length - 79);\n lineStr = '…' + lineStr.substring(trimStart);\n ci -= trimStart - 1;\n }\n if (lineStr.length > 80)\n lineStr = lineStr.substring(0, 79) + '…';\n // Include previous line in context if pointing at line start\n if (line > 1 && /^ *$/.test(lineStr.substring(0, ci))) {\n // Regexp won't match if start is trimmed\n let prev = src.substring(lc.lineStarts[line - 2], lc.lineStarts[line - 1]);\n if (prev.length > 80)\n prev = prev.substring(0, 79) + '…\\n';\n lineStr = prev + lineStr;\n }\n if (/[^ ]/.test(lineStr)) {\n let count = 1;\n const end = error.linePos[1];\n if (end && end.line === line && end.col > col) {\n count = Math.max(1, Math.min(end.col - col, 80 - ci));\n }\n const pointer = ' '.repeat(ci) + '^'.repeat(count);\n error.message += `:\\n\\n${lineStr}\\n${pointer}\\n`;\n }\n};\n\nexports.YAMLError = YAMLError;\nexports.YAMLParseError = YAMLParseError;\nexports.YAMLWarning = YAMLWarning;\nexports.prettifyError = prettifyError;\n","'use strict';\n\nvar composer = require('./compose/composer.js');\nvar Document = require('./doc/Document.js');\nvar Schema = require('./schema/Schema.js');\nvar errors = require('./errors.js');\nvar Alias = require('./nodes/Alias.js');\nvar identity = require('./nodes/identity.js');\nvar Pair = require('./nodes/Pair.js');\nvar Scalar = require('./nodes/Scalar.js');\nvar YAMLMap = require('./nodes/YAMLMap.js');\nvar YAMLSeq = require('./nodes/YAMLSeq.js');\nvar cst = require('./parse/cst.js');\nvar lexer = require('./parse/lexer.js');\nvar lineCounter = require('./parse/line-counter.js');\nvar parser = require('./parse/parser.js');\nvar publicApi = require('./public-api.js');\nvar visit = require('./visit.js');\n\n\n\nexports.Composer = composer.Composer;\nexports.Document = Document.Document;\nexports.Schema = Schema.Schema;\nexports.YAMLError = errors.YAMLError;\nexports.YAMLParseError = errors.YAMLParseError;\nexports.YAMLWarning = errors.YAMLWarning;\nexports.Alias = Alias.Alias;\nexports.isAlias = identity.isAlias;\nexports.isCollection = identity.isCollection;\nexports.isDocument = identity.isDocument;\nexports.isMap = identity.isMap;\nexports.isNode = identity.isNode;\nexports.isPair = identity.isPair;\nexports.isScalar = identity.isScalar;\nexports.isSeq = identity.isSeq;\nexports.Pair = Pair.Pair;\nexports.Scalar = Scalar.Scalar;\nexports.YAMLMap = YAMLMap.YAMLMap;\nexports.YAMLSeq = YAMLSeq.YAMLSeq;\nexports.CST = cst;\nexports.Lexer = lexer.Lexer;\nexports.LineCounter = lineCounter.LineCounter;\nexports.Parser = parser.Parser;\nexports.parse = publicApi.parse;\nexports.parseAllDocuments = publicApi.parseAllDocuments;\nexports.parseDocument = publicApi.parseDocument;\nexports.stringify = publicApi.stringify;\nexports.visit = visit.visit;\nexports.visitAsync = visit.visitAsync;\n","'use strict';\n\nfunction debug(logLevel, ...messages) {\n if (logLevel === 'debug')\n console.log(...messages);\n}\nfunction warn(logLevel, warning) {\n if (logLevel === 'debug' || logLevel === 'warn') {\n // https://github.com/typescript-eslint/typescript-eslint/issues/7478\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (typeof process !== 'undefined' && process.emitWarning)\n process.emitWarning(warning);\n else\n console.warn(warning);\n }\n}\n\nexports.debug = debug;\nexports.warn = warn;\n","'use strict';\n\nvar anchors = require('../doc/anchors.js');\nvar visit = require('../visit.js');\nvar identity = require('./identity.js');\nvar Node = require('./Node.js');\nvar toJS = require('./toJS.js');\n\nclass Alias extends Node.NodeBase {\n constructor(source) {\n super(identity.ALIAS);\n this.source = source;\n Object.defineProperty(this, 'tag', {\n set() {\n throw new Error('Alias nodes cannot have tags');\n }\n });\n }\n /**\n * Resolve the value of this alias within `doc`, finding the last\n * instance of the `source` anchor before this node.\n */\n resolve(doc) {\n let found = undefined;\n visit.visit(doc, {\n Node: (_key, node) => {\n if (node === this)\n return visit.visit.BREAK;\n if (node.anchor === this.source)\n found = node;\n }\n });\n return found;\n }\n toJSON(_arg, ctx) {\n if (!ctx)\n return { source: this.source };\n const { anchors, doc, maxAliasCount } = ctx;\n const source = this.resolve(doc);\n if (!source) {\n const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;\n throw new ReferenceError(msg);\n }\n let data = anchors.get(source);\n if (!data) {\n // Resolve anchors for Node.prototype.toJS()\n toJS.toJS(source, null, ctx);\n data = anchors.get(source);\n }\n /* istanbul ignore if */\n if (!data || data.res === undefined) {\n const msg = 'This should not happen: Alias anchor was not resolved?';\n throw new ReferenceError(msg);\n }\n if (maxAliasCount >= 0) {\n data.count += 1;\n if (data.aliasCount === 0)\n data.aliasCount = getAliasCount(doc, source, anchors);\n if (data.count * data.aliasCount > maxAliasCount) {\n const msg = 'Excessive alias count indicates a resource exhaustion attack';\n throw new ReferenceError(msg);\n }\n }\n return data.res;\n }\n toString(ctx, _onComment, _onChompKeep) {\n const src = `*${this.source}`;\n if (ctx) {\n anchors.anchorIsValid(this.source);\n if (ctx.options.verifyAliasOrder && !ctx.anchors.has(this.source)) {\n const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;\n throw new Error(msg);\n }\n if (ctx.implicitKey)\n return `${src} `;\n }\n return src;\n }\n}\nfunction getAliasCount(doc, node, anchors) {\n if (identity.isAlias(node)) {\n const source = node.resolve(doc);\n const anchor = anchors && source && anchors.get(source);\n return anchor ? anchor.count * anchor.aliasCount : 0;\n }\n else if (identity.isCollection(node)) {\n let count = 0;\n for (const item of node.items) {\n const c = getAliasCount(doc, item, anchors);\n if (c > count)\n count = c;\n }\n return count;\n }\n else if (identity.isPair(node)) {\n const kc = getAliasCount(doc, node.key, anchors);\n const vc = getAliasCount(doc, node.value, anchors);\n return Math.max(kc, vc);\n }\n return 1;\n}\n\nexports.Alias = Alias;\n","'use strict';\n\nvar createNode = require('../doc/createNode.js');\nvar identity = require('./identity.js');\nvar Node = require('./Node.js');\n\nfunction collectionFromPath(schema, path, value) {\n let v = value;\n for (let i = path.length - 1; i >= 0; --i) {\n const k = path[i];\n if (typeof k === 'number' && Number.isInteger(k) && k >= 0) {\n const a = [];\n a[k] = v;\n v = a;\n }\n else {\n v = new Map([[k, v]]);\n }\n }\n return createNode.createNode(v, undefined, {\n aliasDuplicateObjects: false,\n keepUndefined: false,\n onAnchor: () => {\n throw new Error('This should not happen, please report a bug.');\n },\n schema,\n sourceObjects: new Map()\n });\n}\n// Type guard is intentionally a little wrong so as to be more useful,\n// as it does not cover untypable empty non-string iterables (e.g. []).\nconst isEmptyPath = (path) => path == null ||\n (typeof path === 'object' && !!path[Symbol.iterator]().next().done);\nclass Collection extends Node.NodeBase {\n constructor(type, schema) {\n super(type);\n Object.defineProperty(this, 'schema', {\n value: schema,\n configurable: true,\n enumerable: false,\n writable: true\n });\n }\n /**\n * Create a copy of this collection.\n *\n * @param schema - If defined, overwrites the original's schema\n */\n clone(schema) {\n const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));\n if (schema)\n copy.schema = schema;\n copy.items = copy.items.map(it => identity.isNode(it) || identity.isPair(it) ? it.clone(schema) : it);\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /**\n * Adds a value to the collection. For `!!map` and `!!omap` the value must\n * be a Pair instance or a `{ key, value }` object, which may not have a key\n * that already exists in the map.\n */\n addIn(path, value) {\n if (isEmptyPath(path))\n this.add(value);\n else {\n const [key, ...rest] = path;\n const node = this.get(key, true);\n if (identity.isCollection(node))\n node.addIn(rest, value);\n else if (node === undefined && this.schema)\n this.set(key, collectionFromPath(this.schema, rest, value));\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n }\n /**\n * Removes a value from the collection.\n * @returns `true` if the item was found and removed.\n */\n deleteIn(path) {\n const [key, ...rest] = path;\n if (rest.length === 0)\n return this.delete(key);\n const node = this.get(key, true);\n if (identity.isCollection(node))\n return node.deleteIn(rest);\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n /**\n * Returns item at `key`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n getIn(path, keepScalar) {\n const [key, ...rest] = path;\n const node = this.get(key, true);\n if (rest.length === 0)\n return !keepScalar && identity.isScalar(node) ? node.value : node;\n else\n return identity.isCollection(node) ? node.getIn(rest, keepScalar) : undefined;\n }\n hasAllNullValues(allowScalar) {\n return this.items.every(node => {\n if (!identity.isPair(node))\n return false;\n const n = node.value;\n return (n == null ||\n (allowScalar &&\n identity.isScalar(n) &&\n n.value == null &&\n !n.commentBefore &&\n !n.comment &&\n !n.tag));\n });\n }\n /**\n * Checks if the collection includes a value with the key `key`.\n */\n hasIn(path) {\n const [key, ...rest] = path;\n if (rest.length === 0)\n return this.has(key);\n const node = this.get(key, true);\n return identity.isCollection(node) ? node.hasIn(rest) : false;\n }\n /**\n * Sets a value in this collection. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n setIn(path, value) {\n const [key, ...rest] = path;\n if (rest.length === 0) {\n this.set(key, value);\n }\n else {\n const node = this.get(key, true);\n if (identity.isCollection(node))\n node.setIn(rest, value);\n else if (node === undefined && this.schema)\n this.set(key, collectionFromPath(this.schema, rest, value));\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n }\n}\nCollection.maxFlowStringSingleLineLength = 60;\n\nexports.Collection = Collection;\nexports.collectionFromPath = collectionFromPath;\nexports.isEmptyPath = isEmptyPath;\n","'use strict';\n\nvar applyReviver = require('../doc/applyReviver.js');\nvar identity = require('./identity.js');\nvar toJS = require('./toJS.js');\n\nclass NodeBase {\n constructor(type) {\n Object.defineProperty(this, identity.NODE_TYPE, { value: type });\n }\n /** Create a copy of this node. */\n clone() {\n const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /** A plain JavaScript representation of this node. */\n toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {\n if (!identity.isDocument(doc))\n throw new TypeError('A document argument is required');\n const ctx = {\n anchors: new Map(),\n doc,\n keep: true,\n mapAsMap: mapAsMap === true,\n mapKeyWarned: false,\n maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100\n };\n const res = toJS.toJS(this, '', ctx);\n if (typeof onAnchor === 'function')\n for (const { count, res } of ctx.anchors.values())\n onAnchor(res, count);\n return typeof reviver === 'function'\n ? applyReviver.applyReviver(reviver, { '': res }, '', res)\n : res;\n }\n}\n\nexports.NodeBase = NodeBase;\n","'use strict';\n\nvar createNode = require('../doc/createNode.js');\nvar stringifyPair = require('../stringify/stringifyPair.js');\nvar addPairToJSMap = require('./addPairToJSMap.js');\nvar identity = require('./identity.js');\n\nfunction createPair(key, value, ctx) {\n const k = createNode.createNode(key, undefined, ctx);\n const v = createNode.createNode(value, undefined, ctx);\n return new Pair(k, v);\n}\nclass Pair {\n constructor(key, value = null) {\n Object.defineProperty(this, identity.NODE_TYPE, { value: identity.PAIR });\n this.key = key;\n this.value = value;\n }\n clone(schema) {\n let { key, value } = this;\n if (identity.isNode(key))\n key = key.clone(schema);\n if (identity.isNode(value))\n value = value.clone(schema);\n return new Pair(key, value);\n }\n toJSON(_, ctx) {\n const pair = ctx?.mapAsMap ? new Map() : {};\n return addPairToJSMap.addPairToJSMap(ctx, pair, this);\n }\n toString(ctx, onComment, onChompKeep) {\n return ctx?.doc\n ? stringifyPair.stringifyPair(this, ctx, onComment, onChompKeep)\n : JSON.stringify(this);\n }\n}\n\nexports.Pair = Pair;\nexports.createPair = createPair;\n","'use strict';\n\nvar identity = require('./identity.js');\nvar Node = require('./Node.js');\nvar toJS = require('./toJS.js');\n\nconst isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object');\nclass Scalar extends Node.NodeBase {\n constructor(value) {\n super(identity.SCALAR);\n this.value = value;\n }\n toJSON(arg, ctx) {\n return ctx?.keep ? this.value : toJS.toJS(this.value, arg, ctx);\n }\n toString() {\n return String(this.value);\n }\n}\nScalar.BLOCK_FOLDED = 'BLOCK_FOLDED';\nScalar.BLOCK_LITERAL = 'BLOCK_LITERAL';\nScalar.PLAIN = 'PLAIN';\nScalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE';\nScalar.QUOTE_SINGLE = 'QUOTE_SINGLE';\n\nexports.Scalar = Scalar;\nexports.isScalarValue = isScalarValue;\n","'use strict';\n\nvar stringifyCollection = require('../stringify/stringifyCollection.js');\nvar addPairToJSMap = require('./addPairToJSMap.js');\nvar Collection = require('./Collection.js');\nvar identity = require('./identity.js');\nvar Pair = require('./Pair.js');\nvar Scalar = require('./Scalar.js');\n\nfunction findPair(items, key) {\n const k = identity.isScalar(key) ? key.value : key;\n for (const it of items) {\n if (identity.isPair(it)) {\n if (it.key === key || it.key === k)\n return it;\n if (identity.isScalar(it.key) && it.key.value === k)\n return it;\n }\n }\n return undefined;\n}\nclass YAMLMap extends Collection.Collection {\n static get tagName() {\n return 'tag:yaml.org,2002:map';\n }\n constructor(schema) {\n super(identity.MAP, schema);\n this.items = [];\n }\n /**\n * A generic collection parsing method that can be extended\n * to other node classes that inherit from YAMLMap\n */\n static from(schema, obj, ctx) {\n const { keepUndefined, replacer } = ctx;\n const map = new this(schema);\n const add = (key, value) => {\n if (typeof replacer === 'function')\n value = replacer.call(obj, key, value);\n else if (Array.isArray(replacer) && !replacer.includes(key))\n return;\n if (value !== undefined || keepUndefined)\n map.items.push(Pair.createPair(key, value, ctx));\n };\n if (obj instanceof Map) {\n for (const [key, value] of obj)\n add(key, value);\n }\n else if (obj && typeof obj === 'object') {\n for (const key of Object.keys(obj))\n add(key, obj[key]);\n }\n if (typeof schema.sortMapEntries === 'function') {\n map.items.sort(schema.sortMapEntries);\n }\n return map;\n }\n /**\n * Adds a value to the collection.\n *\n * @param overwrite - If not set `true`, using a key that is already in the\n * collection will throw. Otherwise, overwrites the previous value.\n */\n add(pair, overwrite) {\n let _pair;\n if (identity.isPair(pair))\n _pair = pair;\n else if (!pair || typeof pair !== 'object' || !('key' in pair)) {\n // In TypeScript, this never happens.\n _pair = new Pair.Pair(pair, pair?.value);\n }\n else\n _pair = new Pair.Pair(pair.key, pair.value);\n const prev = findPair(this.items, _pair.key);\n const sortEntries = this.schema?.sortMapEntries;\n if (prev) {\n if (!overwrite)\n throw new Error(`Key ${_pair.key} already set`);\n // For scalars, keep the old node & its comments and anchors\n if (identity.isScalar(prev.value) && Scalar.isScalarValue(_pair.value))\n prev.value.value = _pair.value;\n else\n prev.value = _pair.value;\n }\n else if (sortEntries) {\n const i = this.items.findIndex(item => sortEntries(_pair, item) < 0);\n if (i === -1)\n this.items.push(_pair);\n else\n this.items.splice(i, 0, _pair);\n }\n else {\n this.items.push(_pair);\n }\n }\n delete(key) {\n const it = findPair(this.items, key);\n if (!it)\n return false;\n const del = this.items.splice(this.items.indexOf(it), 1);\n return del.length > 0;\n }\n get(key, keepScalar) {\n const it = findPair(this.items, key);\n const node = it?.value;\n return (!keepScalar && identity.isScalar(node) ? node.value : node) ?? undefined;\n }\n has(key) {\n return !!findPair(this.items, key);\n }\n set(key, value) {\n this.add(new Pair.Pair(key, value), true);\n }\n /**\n * @param ctx - Conversion context, originally set in Document#toJS()\n * @param {Class} Type - If set, forces the returned collection type\n * @returns Instance of Type, Map, or Object\n */\n toJSON(_, ctx, Type) {\n const map = Type ? new Type() : ctx?.mapAsMap ? new Map() : {};\n if (ctx?.onCreate)\n ctx.onCreate(map);\n for (const item of this.items)\n addPairToJSMap.addPairToJSMap(ctx, map, item);\n return map;\n }\n toString(ctx, onComment, onChompKeep) {\n if (!ctx)\n return JSON.stringify(this);\n for (const item of this.items) {\n if (!identity.isPair(item))\n throw new Error(`Map items must all be pairs; found ${JSON.stringify(item)} instead`);\n }\n if (!ctx.allNullValues && this.hasAllNullValues(false))\n ctx = Object.assign({}, ctx, { allNullValues: true });\n return stringifyCollection.stringifyCollection(this, ctx, {\n blockItemPrefix: '',\n flowChars: { start: '{', end: '}' },\n itemIndent: ctx.indent || '',\n onChompKeep,\n onComment\n });\n }\n}\n\nexports.YAMLMap = YAMLMap;\nexports.findPair = findPair;\n","'use strict';\n\nvar createNode = require('../doc/createNode.js');\nvar stringifyCollection = require('../stringify/stringifyCollection.js');\nvar Collection = require('./Collection.js');\nvar identity = require('./identity.js');\nvar Scalar = require('./Scalar.js');\nvar toJS = require('./toJS.js');\n\nclass YAMLSeq extends Collection.Collection {\n static get tagName() {\n return 'tag:yaml.org,2002:seq';\n }\n constructor(schema) {\n super(identity.SEQ, schema);\n this.items = [];\n }\n add(value) {\n this.items.push(value);\n }\n /**\n * Removes a value from the collection.\n *\n * `key` must contain a representation of an integer for this to succeed.\n * It may be wrapped in a `Scalar`.\n *\n * @returns `true` if the item was found and removed.\n */\n delete(key) {\n const idx = asItemIndex(key);\n if (typeof idx !== 'number')\n return false;\n const del = this.items.splice(idx, 1);\n return del.length > 0;\n }\n get(key, keepScalar) {\n const idx = asItemIndex(key);\n if (typeof idx !== 'number')\n return undefined;\n const it = this.items[idx];\n return !keepScalar && identity.isScalar(it) ? it.value : it;\n }\n /**\n * Checks if the collection includes a value with the key `key`.\n *\n * `key` must contain a representation of an integer for this to succeed.\n * It may be wrapped in a `Scalar`.\n */\n has(key) {\n const idx = asItemIndex(key);\n return typeof idx === 'number' && idx < this.items.length;\n }\n /**\n * Sets a value in this collection. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n *\n * If `key` does not contain a representation of an integer, this will throw.\n * It may be wrapped in a `Scalar`.\n */\n set(key, value) {\n const idx = asItemIndex(key);\n if (typeof idx !== 'number')\n throw new Error(`Expected a valid index, not ${key}.`);\n const prev = this.items[idx];\n if (identity.isScalar(prev) && Scalar.isScalarValue(value))\n prev.value = value;\n else\n this.items[idx] = value;\n }\n toJSON(_, ctx) {\n const seq = [];\n if (ctx?.onCreate)\n ctx.onCreate(seq);\n let i = 0;\n for (const item of this.items)\n seq.push(toJS.toJS(item, String(i++), ctx));\n return seq;\n }\n toString(ctx, onComment, onChompKeep) {\n if (!ctx)\n return JSON.stringify(this);\n return stringifyCollection.stringifyCollection(this, ctx, {\n blockItemPrefix: '- ',\n flowChars: { start: '[', end: ']' },\n itemIndent: (ctx.indent || '') + ' ',\n onChompKeep,\n onComment\n });\n }\n static from(schema, obj, ctx) {\n const { replacer } = ctx;\n const seq = new this(schema);\n if (obj && Symbol.iterator in Object(obj)) {\n let i = 0;\n for (let it of obj) {\n if (typeof replacer === 'function') {\n const key = obj instanceof Set ? it : String(i++);\n it = replacer.call(obj, key, it);\n }\n seq.items.push(createNode.createNode(it, undefined, ctx));\n }\n }\n return seq;\n }\n}\nfunction asItemIndex(key) {\n let idx = identity.isScalar(key) ? key.value : key;\n if (idx && typeof idx === 'string')\n idx = Number(idx);\n return typeof idx === 'number' && Number.isInteger(idx) && idx >= 0\n ? idx\n : null;\n}\n\nexports.YAMLSeq = YAMLSeq;\n","'use strict';\n\nvar log = require('../log.js');\nvar stringify = require('../stringify/stringify.js');\nvar identity = require('./identity.js');\nvar Scalar = require('./Scalar.js');\nvar toJS = require('./toJS.js');\n\nconst MERGE_KEY = '<<';\nfunction addPairToJSMap(ctx, map, { key, value }) {\n if (ctx?.doc.schema.merge && isMergeKey(key)) {\n value = identity.isAlias(value) ? value.resolve(ctx.doc) : value;\n if (identity.isSeq(value))\n for (const it of value.items)\n mergeToJSMap(ctx, map, it);\n else if (Array.isArray(value))\n for (const it of value)\n mergeToJSMap(ctx, map, it);\n else\n mergeToJSMap(ctx, map, value);\n }\n else {\n const jsKey = toJS.toJS(key, '', ctx);\n if (map instanceof Map) {\n map.set(jsKey, toJS.toJS(value, jsKey, ctx));\n }\n else if (map instanceof Set) {\n map.add(jsKey);\n }\n else {\n const stringKey = stringifyKey(key, jsKey, ctx);\n const jsValue = toJS.toJS(value, stringKey, ctx);\n if (stringKey in map)\n Object.defineProperty(map, stringKey, {\n value: jsValue,\n writable: true,\n enumerable: true,\n configurable: true\n });\n else\n map[stringKey] = jsValue;\n }\n }\n return map;\n}\nconst isMergeKey = (key) => key === MERGE_KEY ||\n (identity.isScalar(key) &&\n key.value === MERGE_KEY &&\n (!key.type || key.type === Scalar.Scalar.PLAIN));\n// If the value associated with a merge key is a single mapping node, each of\n// its key/value pairs is inserted into the current mapping, unless the key\n// already exists in it. If the value associated with the merge key is a\n// sequence, then this sequence is expected to contain mapping nodes and each\n// of these nodes is merged in turn according to its order in the sequence.\n// Keys in mapping nodes earlier in the sequence override keys specified in\n// later mapping nodes. -- http://yaml.org/type/merge.html\nfunction mergeToJSMap(ctx, map, value) {\n const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;\n if (!identity.isMap(source))\n throw new Error('Merge sources must be maps or map aliases');\n const srcMap = source.toJSON(null, ctx, Map);\n for (const [key, value] of srcMap) {\n if (map instanceof Map) {\n if (!map.has(key))\n map.set(key, value);\n }\n else if (map instanceof Set) {\n map.add(key);\n }\n else if (!Object.prototype.hasOwnProperty.call(map, key)) {\n Object.defineProperty(map, key, {\n value,\n writable: true,\n enumerable: true,\n configurable: true\n });\n }\n }\n return map;\n}\nfunction stringifyKey(key, jsKey, ctx) {\n if (jsKey === null)\n return '';\n if (typeof jsKey !== 'object')\n return String(jsKey);\n if (identity.isNode(key) && ctx?.doc) {\n const strCtx = stringify.createStringifyContext(ctx.doc, {});\n strCtx.anchors = new Set();\n for (const node of ctx.anchors.keys())\n strCtx.anchors.add(node.anchor);\n strCtx.inFlow = true;\n strCtx.inStringifyKey = true;\n const strKey = key.toString(strCtx);\n if (!ctx.mapKeyWarned) {\n let jsonStr = JSON.stringify(strKey);\n if (jsonStr.length > 40)\n jsonStr = jsonStr.substring(0, 36) + '...\"';\n log.warn(ctx.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${jsonStr}. Set mapAsMap: true to use object keys.`);\n ctx.mapKeyWarned = true;\n }\n return strKey;\n }\n return JSON.stringify(jsKey);\n}\n\nexports.addPairToJSMap = addPairToJSMap;\n","'use strict';\n\nconst ALIAS = Symbol.for('yaml.alias');\nconst DOC = Symbol.for('yaml.document');\nconst MAP = Symbol.for('yaml.map');\nconst PAIR = Symbol.for('yaml.pair');\nconst SCALAR = Symbol.for('yaml.scalar');\nconst SEQ = Symbol.for('yaml.seq');\nconst NODE_TYPE = Symbol.for('yaml.node.type');\nconst isAlias = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === ALIAS;\nconst isDocument = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === DOC;\nconst isMap = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === MAP;\nconst isPair = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === PAIR;\nconst isScalar = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === SCALAR;\nconst isSeq = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === SEQ;\nfunction isCollection(node) {\n if (node && typeof node === 'object')\n switch (node[NODE_TYPE]) {\n case MAP:\n case SEQ:\n return true;\n }\n return false;\n}\nfunction isNode(node) {\n if (node && typeof node === 'object')\n switch (node[NODE_TYPE]) {\n case ALIAS:\n case MAP:\n case SCALAR:\n case SEQ:\n return true;\n }\n return false;\n}\nconst hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;\n\nexports.ALIAS = ALIAS;\nexports.DOC = DOC;\nexports.MAP = MAP;\nexports.NODE_TYPE = NODE_TYPE;\nexports.PAIR = PAIR;\nexports.SCALAR = SCALAR;\nexports.SEQ = SEQ;\nexports.hasAnchor = hasAnchor;\nexports.isAlias = isAlias;\nexports.isCollection = isCollection;\nexports.isDocument = isDocument;\nexports.isMap = isMap;\nexports.isNode = isNode;\nexports.isPair = isPair;\nexports.isScalar = isScalar;\nexports.isSeq = isSeq;\n","'use strict';\n\nvar identity = require('./identity.js');\n\n/**\n * Recursively convert any node or its contents to native JavaScript\n *\n * @param value - The input value\n * @param arg - If `value` defines a `toJSON()` method, use this\n * as its first argument\n * @param ctx - Conversion context, originally set in Document#toJS(). If\n * `{ keep: true }` is not set, output should be suitable for JSON\n * stringification.\n */\nfunction toJS(value, arg, ctx) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n if (Array.isArray(value))\n return value.map((v, i) => toJS(v, String(i), ctx));\n if (value && typeof value.toJSON === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n if (!ctx || !identity.hasAnchor(value))\n return value.toJSON(arg, ctx);\n const data = { aliasCount: 0, count: 1, res: undefined };\n ctx.anchors.set(value, data);\n ctx.onCreate = res => {\n data.res = res;\n delete ctx.onCreate;\n };\n const res = value.toJSON(arg, ctx);\n if (ctx.onCreate)\n ctx.onCreate(res);\n return res;\n }\n if (typeof value === 'bigint' && !ctx?.keep)\n return Number(value);\n return value;\n}\n\nexports.toJS = toJS;\n","'use strict';\n\nvar resolveBlockScalar = require('../compose/resolve-block-scalar.js');\nvar resolveFlowScalar = require('../compose/resolve-flow-scalar.js');\nvar errors = require('../errors.js');\nvar stringifyString = require('../stringify/stringifyString.js');\n\nfunction resolveAsScalar(token, strict = true, onError) {\n if (token) {\n const _onError = (pos, code, message) => {\n const offset = typeof pos === 'number' ? pos : Array.isArray(pos) ? pos[0] : pos.offset;\n if (onError)\n onError(offset, code, message);\n else\n throw new errors.YAMLParseError([offset, offset + 1], code, message);\n };\n switch (token.type) {\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n return resolveFlowScalar.resolveFlowScalar(token, strict, _onError);\n case 'block-scalar':\n return resolveBlockScalar.resolveBlockScalar(token, strict, _onError);\n }\n }\n return null;\n}\n/**\n * Create a new scalar token with `value`\n *\n * Values that represent an actual string but may be parsed as a different type should use a `type` other than `'PLAIN'`,\n * as this function does not support any schema operations and won't check for such conflicts.\n *\n * @param value The string representation of the value, which will have its content properly indented.\n * @param context.end Comments and whitespace after the end of the value, or after the block scalar header. If undefined, a newline will be added.\n * @param context.implicitKey Being within an implicit key may affect the resolved type of the token's value.\n * @param context.indent The indent level of the token.\n * @param context.inFlow Is this scalar within a flow collection? This may affect the resolved type of the token's value.\n * @param context.offset The offset position of the token.\n * @param context.type The preferred type of the scalar token. If undefined, the previous type of the `token` will be used, defaulting to `'PLAIN'`.\n */\nfunction createScalarToken(value, context) {\n const { implicitKey = false, indent, inFlow = false, offset = -1, type = 'PLAIN' } = context;\n const source = stringifyString.stringifyString({ type, value }, {\n implicitKey,\n indent: indent > 0 ? ' '.repeat(indent) : '',\n inFlow,\n options: { blockQuote: true, lineWidth: -1 }\n });\n const end = context.end ?? [\n { type: 'newline', offset: -1, indent, source: '\\n' }\n ];\n switch (source[0]) {\n case '|':\n case '>': {\n const he = source.indexOf('\\n');\n const head = source.substring(0, he);\n const body = source.substring(he + 1) + '\\n';\n const props = [\n { type: 'block-scalar-header', offset, indent, source: head }\n ];\n if (!addEndtoBlockProps(props, end))\n props.push({ type: 'newline', offset: -1, indent, source: '\\n' });\n return { type: 'block-scalar', offset, indent, props, source: body };\n }\n case '\"':\n return { type: 'double-quoted-scalar', offset, indent, source, end };\n case \"'\":\n return { type: 'single-quoted-scalar', offset, indent, source, end };\n default:\n return { type: 'scalar', offset, indent, source, end };\n }\n}\n/**\n * Set the value of `token` to the given string `value`, overwriting any previous contents and type that it may have.\n *\n * Best efforts are made to retain any comments previously associated with the `token`,\n * though all contents within a collection's `items` will be overwritten.\n *\n * Values that represent an actual string but may be parsed as a different type should use a `type` other than `'PLAIN'`,\n * as this function does not support any schema operations and won't check for such conflicts.\n *\n * @param token Any token. If it does not include an `indent` value, the value will be stringified as if it were an implicit key.\n * @param value The string representation of the value, which will have its content properly indented.\n * @param context.afterKey In most cases, values after a key should have an additional level of indentation.\n * @param context.implicitKey Being within an implicit key may affect the resolved type of the token's value.\n * @param context.inFlow Being within a flow collection may affect the resolved type of the token's value.\n * @param context.type The preferred type of the scalar token. If undefined, the previous type of the `token` will be used, defaulting to `'PLAIN'`.\n */\nfunction setScalarValue(token, value, context = {}) {\n let { afterKey = false, implicitKey = false, inFlow = false, type } = context;\n let indent = 'indent' in token ? token.indent : null;\n if (afterKey && typeof indent === 'number')\n indent += 2;\n if (!type)\n switch (token.type) {\n case 'single-quoted-scalar':\n type = 'QUOTE_SINGLE';\n break;\n case 'double-quoted-scalar':\n type = 'QUOTE_DOUBLE';\n break;\n case 'block-scalar': {\n const header = token.props[0];\n if (header.type !== 'block-scalar-header')\n throw new Error('Invalid block scalar header');\n type = header.source[0] === '>' ? 'BLOCK_FOLDED' : 'BLOCK_LITERAL';\n break;\n }\n default:\n type = 'PLAIN';\n }\n const source = stringifyString.stringifyString({ type, value }, {\n implicitKey: implicitKey || indent === null,\n indent: indent !== null && indent > 0 ? ' '.repeat(indent) : '',\n inFlow,\n options: { blockQuote: true, lineWidth: -1 }\n });\n switch (source[0]) {\n case '|':\n case '>':\n setBlockScalarValue(token, source);\n break;\n case '\"':\n setFlowScalarValue(token, source, 'double-quoted-scalar');\n break;\n case \"'\":\n setFlowScalarValue(token, source, 'single-quoted-scalar');\n break;\n default:\n setFlowScalarValue(token, source, 'scalar');\n }\n}\nfunction setBlockScalarValue(token, source) {\n const he = source.indexOf('\\n');\n const head = source.substring(0, he);\n const body = source.substring(he + 1) + '\\n';\n if (token.type === 'block-scalar') {\n const header = token.props[0];\n if (header.type !== 'block-scalar-header')\n throw new Error('Invalid block scalar header');\n header.source = head;\n token.source = body;\n }\n else {\n const { offset } = token;\n const indent = 'indent' in token ? token.indent : -1;\n const props = [\n { type: 'block-scalar-header', offset, indent, source: head }\n ];\n if (!addEndtoBlockProps(props, 'end' in token ? token.end : undefined))\n props.push({ type: 'newline', offset: -1, indent, source: '\\n' });\n for (const key of Object.keys(token))\n if (key !== 'type' && key !== 'offset')\n delete token[key];\n Object.assign(token, { type: 'block-scalar', indent, props, source: body });\n }\n}\n/** @returns `true` if last token is a newline */\nfunction addEndtoBlockProps(props, end) {\n if (end)\n for (const st of end)\n switch (st.type) {\n case 'space':\n case 'comment':\n props.push(st);\n break;\n case 'newline':\n props.push(st);\n return true;\n }\n return false;\n}\nfunction setFlowScalarValue(token, source, type) {\n switch (token.type) {\n case 'scalar':\n case 'double-quoted-scalar':\n case 'single-quoted-scalar':\n token.type = type;\n token.source = source;\n break;\n case 'block-scalar': {\n const end = token.props.slice(1);\n let oa = source.length;\n if (token.props[0].type === 'block-scalar-header')\n oa -= token.props[0].source.length;\n for (const tok of end)\n tok.offset += oa;\n delete token.props;\n Object.assign(token, { type, source, end });\n break;\n }\n case 'block-map':\n case 'block-seq': {\n const offset = token.offset + source.length;\n const nl = { type: 'newline', offset, indent: token.indent, source: '\\n' };\n delete token.items;\n Object.assign(token, { type, source, end: [nl] });\n break;\n }\n default: {\n const indent = 'indent' in token ? token.indent : -1;\n const end = 'end' in token && Array.isArray(token.end)\n ? token.end.filter(st => st.type === 'space' ||\n st.type === 'comment' ||\n st.type === 'newline')\n : [];\n for (const key of Object.keys(token))\n if (key !== 'type' && key !== 'offset')\n delete token[key];\n Object.assign(token, { type, indent, source, end });\n }\n }\n}\n\nexports.createScalarToken = createScalarToken;\nexports.resolveAsScalar = resolveAsScalar;\nexports.setScalarValue = setScalarValue;\n","'use strict';\n\n/**\n * Stringify a CST document, token, or collection item\n *\n * Fair warning: This applies no validation whatsoever, and\n * simply concatenates the sources in their logical order.\n */\nconst stringify = (cst) => 'type' in cst ? stringifyToken(cst) : stringifyItem(cst);\nfunction stringifyToken(token) {\n switch (token.type) {\n case 'block-scalar': {\n let res = '';\n for (const tok of token.props)\n res += stringifyToken(tok);\n return res + token.source;\n }\n case 'block-map':\n case 'block-seq': {\n let res = '';\n for (const item of token.items)\n res += stringifyItem(item);\n return res;\n }\n case 'flow-collection': {\n let res = token.start.source;\n for (const item of token.items)\n res += stringifyItem(item);\n for (const st of token.end)\n res += st.source;\n return res;\n }\n case 'document': {\n let res = stringifyItem(token);\n if (token.end)\n for (const st of token.end)\n res += st.source;\n return res;\n }\n default: {\n let res = token.source;\n if ('end' in token && token.end)\n for (const st of token.end)\n res += st.source;\n return res;\n }\n }\n}\nfunction stringifyItem({ start, key, sep, value }) {\n let res = '';\n for (const st of start)\n res += st.source;\n if (key)\n res += stringifyToken(key);\n if (sep)\n for (const st of sep)\n res += st.source;\n if (value)\n res += stringifyToken(value);\n return res;\n}\n\nexports.stringify = stringify;\n","'use strict';\n\nconst BREAK = Symbol('break visit');\nconst SKIP = Symbol('skip children');\nconst REMOVE = Symbol('remove item');\n/**\n * Apply a visitor to a CST document or item.\n *\n * Walks through the tree (depth-first) starting from the root, calling a\n * `visitor` function with two arguments when entering each item:\n * - `item`: The current item, which included the following members:\n * - `start: SourceToken[]` – Source tokens before the key or value,\n * possibly including its anchor or tag.\n * - `key?: Token | null` – Set for pair values. May then be `null`, if\n * the key before the `:` separator is empty.\n * - `sep?: SourceToken[]` – Source tokens between the key and the value,\n * which should include the `:` map value indicator if `value` is set.\n * - `value?: Token` – The value of a sequence item, or of a map pair.\n * - `path`: The steps from the root to the current node, as an array of\n * `['key' | 'value', number]` tuples.\n *\n * The return value of the visitor may be used to control the traversal:\n * - `undefined` (default): Do nothing and continue\n * - `visit.SKIP`: Do not visit the children of this token, continue with\n * next sibling\n * - `visit.BREAK`: Terminate traversal completely\n * - `visit.REMOVE`: Remove the current item, then continue with the next one\n * - `number`: Set the index of the next step. This is useful especially if\n * the index of the current token has changed.\n * - `function`: Define the next visitor for this item. After the original\n * visitor is called on item entry, next visitors are called after handling\n * a non-empty `key` and when exiting the item.\n */\nfunction visit(cst, visitor) {\n if ('type' in cst && cst.type === 'document')\n cst = { start: cst.start, value: cst.value };\n _visit(Object.freeze([]), cst, visitor);\n}\n// Without the `as symbol` casts, TS declares these in the `visit`\n// namespace using `var`, but then complains about that because\n// `unique symbol` must be `const`.\n/** Terminate visit traversal completely */\nvisit.BREAK = BREAK;\n/** Do not visit the children of the current item */\nvisit.SKIP = SKIP;\n/** Remove the current item */\nvisit.REMOVE = REMOVE;\n/** Find the item at `path` from `cst` as the root */\nvisit.itemAtPath = (cst, path) => {\n let item = cst;\n for (const [field, index] of path) {\n const tok = item?.[field];\n if (tok && 'items' in tok) {\n item = tok.items[index];\n }\n else\n return undefined;\n }\n return item;\n};\n/**\n * Get the immediate parent collection of the item at `path` from `cst` as the root.\n *\n * Throws an error if the collection is not found, which should never happen if the item itself exists.\n */\nvisit.parentCollection = (cst, path) => {\n const parent = visit.itemAtPath(cst, path.slice(0, -1));\n const field = path[path.length - 1][0];\n const coll = parent?.[field];\n if (coll && 'items' in coll)\n return coll;\n throw new Error('Parent collection not found');\n};\nfunction _visit(path, item, visitor) {\n let ctrl = visitor(item, path);\n if (typeof ctrl === 'symbol')\n return ctrl;\n for (const field of ['key', 'value']) {\n const token = item[field];\n if (token && 'items' in token) {\n for (let i = 0; i < token.items.length; ++i) {\n const ci = _visit(Object.freeze(path.concat([[field, i]])), token.items[i], visitor);\n if (typeof ci === 'number')\n i = ci - 1;\n else if (ci === BREAK)\n return BREAK;\n else if (ci === REMOVE) {\n token.items.splice(i, 1);\n i -= 1;\n }\n }\n if (typeof ctrl === 'function' && field === 'key')\n ctrl = ctrl(item, path);\n }\n }\n return typeof ctrl === 'function' ? ctrl(item, path) : ctrl;\n}\n\nexports.visit = visit;\n","'use strict';\n\nvar cstScalar = require('./cst-scalar.js');\nvar cstStringify = require('./cst-stringify.js');\nvar cstVisit = require('./cst-visit.js');\n\n/** The byte order mark */\nconst BOM = '\\u{FEFF}';\n/** Start of doc-mode */\nconst DOCUMENT = '\\x02'; // C0: Start of Text\n/** Unexpected end of flow-mode */\nconst FLOW_END = '\\x18'; // C0: Cancel\n/** Next token is a scalar value */\nconst SCALAR = '\\x1f'; // C0: Unit Separator\n/** @returns `true` if `token` is a flow or block collection */\nconst isCollection = (token) => !!token && 'items' in token;\n/** @returns `true` if `token` is a flow or block scalar; not an alias */\nconst isScalar = (token) => !!token &&\n (token.type === 'scalar' ||\n token.type === 'single-quoted-scalar' ||\n token.type === 'double-quoted-scalar' ||\n token.type === 'block-scalar');\n/* istanbul ignore next */\n/** Get a printable representation of a lexer token */\nfunction prettyToken(token) {\n switch (token) {\n case BOM:\n return '';\n case DOCUMENT:\n return '';\n case FLOW_END:\n return '';\n case SCALAR:\n return '';\n default:\n return JSON.stringify(token);\n }\n}\n/** Identify the type of a lexer token. May return `null` for unknown tokens. */\nfunction tokenType(source) {\n switch (source) {\n case BOM:\n return 'byte-order-mark';\n case DOCUMENT:\n return 'doc-mode';\n case FLOW_END:\n return 'flow-error-end';\n case SCALAR:\n return 'scalar';\n case '---':\n return 'doc-start';\n case '...':\n return 'doc-end';\n case '':\n case '\\n':\n case '\\r\\n':\n return 'newline';\n case '-':\n return 'seq-item-ind';\n case '?':\n return 'explicit-key-ind';\n case ':':\n return 'map-value-ind';\n case '{':\n return 'flow-map-start';\n case '}':\n return 'flow-map-end';\n case '[':\n return 'flow-seq-start';\n case ']':\n return 'flow-seq-end';\n case ',':\n return 'comma';\n }\n switch (source[0]) {\n case ' ':\n case '\\t':\n return 'space';\n case '#':\n return 'comment';\n case '%':\n return 'directive-line';\n case '*':\n return 'alias';\n case '&':\n return 'anchor';\n case '!':\n return 'tag';\n case \"'\":\n return 'single-quoted-scalar';\n case '\"':\n return 'double-quoted-scalar';\n case '|':\n case '>':\n return 'block-scalar-header';\n }\n return null;\n}\n\nexports.createScalarToken = cstScalar.createScalarToken;\nexports.resolveAsScalar = cstScalar.resolveAsScalar;\nexports.setScalarValue = cstScalar.setScalarValue;\nexports.stringify = cstStringify.stringify;\nexports.visit = cstVisit.visit;\nexports.BOM = BOM;\nexports.DOCUMENT = DOCUMENT;\nexports.FLOW_END = FLOW_END;\nexports.SCALAR = SCALAR;\nexports.isCollection = isCollection;\nexports.isScalar = isScalar;\nexports.prettyToken = prettyToken;\nexports.tokenType = tokenType;\n","'use strict';\n\nvar cst = require('./cst.js');\n\n/*\nSTART -> stream\n\nstream\n directive -> line-end -> stream\n indent + line-end -> stream\n [else] -> line-start\n\nline-end\n comment -> line-end\n newline -> .\n input-end -> END\n\nline-start\n doc-start -> doc\n doc-end -> stream\n [else] -> indent -> block-start\n\nblock-start\n seq-item-start -> block-start\n explicit-key-start -> block-start\n map-value-start -> block-start\n [else] -> doc\n\ndoc\n line-end -> line-start\n spaces -> doc\n anchor -> doc\n tag -> doc\n flow-start -> flow -> doc\n flow-end -> error -> doc\n seq-item-start -> error -> doc\n explicit-key-start -> error -> doc\n map-value-start -> doc\n alias -> doc\n quote-start -> quoted-scalar -> doc\n block-scalar-header -> line-end -> block-scalar(min) -> line-start\n [else] -> plain-scalar(false, min) -> doc\n\nflow\n line-end -> flow\n spaces -> flow\n anchor -> flow\n tag -> flow\n flow-start -> flow -> flow\n flow-end -> .\n seq-item-start -> error -> flow\n explicit-key-start -> flow\n map-value-start -> flow\n alias -> flow\n quote-start -> quoted-scalar -> flow\n comma -> flow\n [else] -> plain-scalar(true, 0) -> flow\n\nquoted-scalar\n quote-end -> .\n [else] -> quoted-scalar\n\nblock-scalar(min)\n newline + peek(indent < min) -> .\n [else] -> block-scalar(min)\n\nplain-scalar(is-flow, min)\n scalar-end(is-flow) -> .\n peek(newline + (indent < min)) -> .\n [else] -> plain-scalar(min)\n*/\nfunction isEmpty(ch) {\n switch (ch) {\n case undefined:\n case ' ':\n case '\\n':\n case '\\r':\n case '\\t':\n return true;\n default:\n return false;\n }\n}\nconst hexDigits = '0123456789ABCDEFabcdef'.split('');\nconst tagChars = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()\".split('');\nconst invalidFlowScalarChars = ',[]{}'.split('');\nconst invalidAnchorChars = ' ,[]{}\\n\\r\\t'.split('');\nconst isNotAnchorChar = (ch) => !ch || invalidAnchorChars.includes(ch);\n/**\n * Splits an input string into lexical tokens, i.e. smaller strings that are\n * easily identifiable by `tokens.tokenType()`.\n *\n * Lexing starts always in a \"stream\" context. Incomplete input may be buffered\n * until a complete token can be emitted.\n *\n * In addition to slices of the original input, the following control characters\n * may also be emitted:\n *\n * - `\\x02` (Start of Text): A document starts with the next token\n * - `\\x18` (Cancel): Unexpected end of flow-mode (indicates an error)\n * - `\\x1f` (Unit Separator): Next token is a scalar value\n * - `\\u{FEFF}` (Byte order mark): Emitted separately outside documents\n */\nclass Lexer {\n constructor() {\n /**\n * Flag indicating whether the end of the current buffer marks the end of\n * all input\n */\n this.atEnd = false;\n /**\n * Explicit indent set in block scalar header, as an offset from the current\n * minimum indent, so e.g. set to 1 from a header `|2+`. Set to -1 if not\n * explicitly set.\n */\n this.blockScalarIndent = -1;\n /**\n * Block scalars that include a + (keep) chomping indicator in their header\n * include trailing empty lines, which are otherwise excluded from the\n * scalar's contents.\n */\n this.blockScalarKeep = false;\n /** Current input */\n this.buffer = '';\n /**\n * Flag noting whether the map value indicator : can immediately follow this\n * node within a flow context.\n */\n this.flowKey = false;\n /** Count of surrounding flow collection levels. */\n this.flowLevel = 0;\n /**\n * Minimum level of indentation required for next lines to be parsed as a\n * part of the current scalar value.\n */\n this.indentNext = 0;\n /** Indentation level of the current line. */\n this.indentValue = 0;\n /** Position of the next \\n character. */\n this.lineEndPos = null;\n /** Stores the state of the lexer if reaching the end of incpomplete input */\n this.next = null;\n /** A pointer to `buffer`; the current position of the lexer. */\n this.pos = 0;\n }\n /**\n * Generate YAML tokens from the `source` string. If `incomplete`,\n * a part of the last line may be left as a buffer for the next call.\n *\n * @returns A generator of lexical tokens\n */\n *lex(source, incomplete = false) {\n if (source) {\n this.buffer = this.buffer ? this.buffer + source : source;\n this.lineEndPos = null;\n }\n this.atEnd = !incomplete;\n let next = this.next ?? 'stream';\n while (next && (incomplete || this.hasChars(1)))\n next = yield* this.parseNext(next);\n }\n atLineEnd() {\n let i = this.pos;\n let ch = this.buffer[i];\n while (ch === ' ' || ch === '\\t')\n ch = this.buffer[++i];\n if (!ch || ch === '#' || ch === '\\n')\n return true;\n if (ch === '\\r')\n return this.buffer[i + 1] === '\\n';\n return false;\n }\n charAt(n) {\n return this.buffer[this.pos + n];\n }\n continueScalar(offset) {\n let ch = this.buffer[offset];\n if (this.indentNext > 0) {\n let indent = 0;\n while (ch === ' ')\n ch = this.buffer[++indent + offset];\n if (ch === '\\r') {\n const next = this.buffer[indent + offset + 1];\n if (next === '\\n' || (!next && !this.atEnd))\n return offset + indent + 1;\n }\n return ch === '\\n' || indent >= this.indentNext || (!ch && !this.atEnd)\n ? offset + indent\n : -1;\n }\n if (ch === '-' || ch === '.') {\n const dt = this.buffer.substr(offset, 3);\n if ((dt === '---' || dt === '...') && isEmpty(this.buffer[offset + 3]))\n return -1;\n }\n return offset;\n }\n getLine() {\n let end = this.lineEndPos;\n if (typeof end !== 'number' || (end !== -1 && end < this.pos)) {\n end = this.buffer.indexOf('\\n', this.pos);\n this.lineEndPos = end;\n }\n if (end === -1)\n return this.atEnd ? this.buffer.substring(this.pos) : null;\n if (this.buffer[end - 1] === '\\r')\n end -= 1;\n return this.buffer.substring(this.pos, end);\n }\n hasChars(n) {\n return this.pos + n <= this.buffer.length;\n }\n setNext(state) {\n this.buffer = this.buffer.substring(this.pos);\n this.pos = 0;\n this.lineEndPos = null;\n this.next = state;\n return null;\n }\n peek(n) {\n return this.buffer.substr(this.pos, n);\n }\n *parseNext(next) {\n switch (next) {\n case 'stream':\n return yield* this.parseStream();\n case 'line-start':\n return yield* this.parseLineStart();\n case 'block-start':\n return yield* this.parseBlockStart();\n case 'doc':\n return yield* this.parseDocument();\n case 'flow':\n return yield* this.parseFlowCollection();\n case 'quoted-scalar':\n return yield* this.parseQuotedScalar();\n case 'block-scalar':\n return yield* this.parseBlockScalar();\n case 'plain-scalar':\n return yield* this.parsePlainScalar();\n }\n }\n *parseStream() {\n let line = this.getLine();\n if (line === null)\n return this.setNext('stream');\n if (line[0] === cst.BOM) {\n yield* this.pushCount(1);\n line = line.substring(1);\n }\n if (line[0] === '%') {\n let dirEnd = line.length;\n const cs = line.indexOf('#');\n if (cs !== -1) {\n const ch = line[cs - 1];\n if (ch === ' ' || ch === '\\t')\n dirEnd = cs - 1;\n }\n while (true) {\n const ch = line[dirEnd - 1];\n if (ch === ' ' || ch === '\\t')\n dirEnd -= 1;\n else\n break;\n }\n const n = (yield* this.pushCount(dirEnd)) + (yield* this.pushSpaces(true));\n yield* this.pushCount(line.length - n); // possible comment\n this.pushNewline();\n return 'stream';\n }\n if (this.atLineEnd()) {\n const sp = yield* this.pushSpaces(true);\n yield* this.pushCount(line.length - sp);\n yield* this.pushNewline();\n return 'stream';\n }\n yield cst.DOCUMENT;\n return yield* this.parseLineStart();\n }\n *parseLineStart() {\n const ch = this.charAt(0);\n if (!ch && !this.atEnd)\n return this.setNext('line-start');\n if (ch === '-' || ch === '.') {\n if (!this.atEnd && !this.hasChars(4))\n return this.setNext('line-start');\n const s = this.peek(3);\n if (s === '---' && isEmpty(this.charAt(3))) {\n yield* this.pushCount(3);\n this.indentValue = 0;\n this.indentNext = 0;\n return 'doc';\n }\n else if (s === '...' && isEmpty(this.charAt(3))) {\n yield* this.pushCount(3);\n return 'stream';\n }\n }\n this.indentValue = yield* this.pushSpaces(false);\n if (this.indentNext > this.indentValue && !isEmpty(this.charAt(1)))\n this.indentNext = this.indentValue;\n return yield* this.parseBlockStart();\n }\n *parseBlockStart() {\n const [ch0, ch1] = this.peek(2);\n if (!ch1 && !this.atEnd)\n return this.setNext('block-start');\n if ((ch0 === '-' || ch0 === '?' || ch0 === ':') && isEmpty(ch1)) {\n const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));\n this.indentNext = this.indentValue + 1;\n this.indentValue += n;\n return yield* this.parseBlockStart();\n }\n return 'doc';\n }\n *parseDocument() {\n yield* this.pushSpaces(true);\n const line = this.getLine();\n if (line === null)\n return this.setNext('doc');\n let n = yield* this.pushIndicators();\n switch (line[n]) {\n case '#':\n yield* this.pushCount(line.length - n);\n // fallthrough\n case undefined:\n yield* this.pushNewline();\n return yield* this.parseLineStart();\n case '{':\n case '[':\n yield* this.pushCount(1);\n this.flowKey = false;\n this.flowLevel = 1;\n return 'flow';\n case '}':\n case ']':\n // this is an error\n yield* this.pushCount(1);\n return 'doc';\n case '*':\n yield* this.pushUntil(isNotAnchorChar);\n return 'doc';\n case '\"':\n case \"'\":\n return yield* this.parseQuotedScalar();\n case '|':\n case '>':\n n += yield* this.parseBlockScalarHeader();\n n += yield* this.pushSpaces(true);\n yield* this.pushCount(line.length - n);\n yield* this.pushNewline();\n return yield* this.parseBlockScalar();\n default:\n return yield* this.parsePlainScalar();\n }\n }\n *parseFlowCollection() {\n let nl, sp;\n let indent = -1;\n do {\n nl = yield* this.pushNewline();\n if (nl > 0) {\n sp = yield* this.pushSpaces(false);\n this.indentValue = indent = sp;\n }\n else {\n sp = 0;\n }\n sp += yield* this.pushSpaces(true);\n } while (nl + sp > 0);\n const line = this.getLine();\n if (line === null)\n return this.setNext('flow');\n if ((indent !== -1 && indent < this.indentNext && line[0] !== '#') ||\n (indent === 0 &&\n (line.startsWith('---') || line.startsWith('...')) &&\n isEmpty(line[3]))) {\n // Allowing for the terminal ] or } at the same (rather than greater)\n // indent level as the initial [ or { is technically invalid, but\n // failing here would be surprising to users.\n const atFlowEndMarker = indent === this.indentNext - 1 &&\n this.flowLevel === 1 &&\n (line[0] === ']' || line[0] === '}');\n if (!atFlowEndMarker) {\n // this is an error\n this.flowLevel = 0;\n yield cst.FLOW_END;\n return yield* this.parseLineStart();\n }\n }\n let n = 0;\n while (line[n] === ',') {\n n += yield* this.pushCount(1);\n n += yield* this.pushSpaces(true);\n this.flowKey = false;\n }\n n += yield* this.pushIndicators();\n switch (line[n]) {\n case undefined:\n return 'flow';\n case '#':\n yield* this.pushCount(line.length - n);\n return 'flow';\n case '{':\n case '[':\n yield* this.pushCount(1);\n this.flowKey = false;\n this.flowLevel += 1;\n return 'flow';\n case '}':\n case ']':\n yield* this.pushCount(1);\n this.flowKey = true;\n this.flowLevel -= 1;\n return this.flowLevel ? 'flow' : 'doc';\n case '*':\n yield* this.pushUntil(isNotAnchorChar);\n return 'flow';\n case '\"':\n case \"'\":\n this.flowKey = true;\n return yield* this.parseQuotedScalar();\n case ':': {\n const next = this.charAt(1);\n if (this.flowKey || isEmpty(next) || next === ',') {\n this.flowKey = false;\n yield* this.pushCount(1);\n yield* this.pushSpaces(true);\n return 'flow';\n }\n }\n // fallthrough\n default:\n this.flowKey = false;\n return yield* this.parsePlainScalar();\n }\n }\n *parseQuotedScalar() {\n const quote = this.charAt(0);\n let end = this.buffer.indexOf(quote, this.pos + 1);\n if (quote === \"'\") {\n while (end !== -1 && this.buffer[end + 1] === \"'\")\n end = this.buffer.indexOf(\"'\", end + 2);\n }\n else {\n // double-quote\n while (end !== -1) {\n let n = 0;\n while (this.buffer[end - 1 - n] === '\\\\')\n n += 1;\n if (n % 2 === 0)\n break;\n end = this.buffer.indexOf('\"', end + 1);\n }\n }\n // Only looking for newlines within the quotes\n const qb = this.buffer.substring(0, end);\n let nl = qb.indexOf('\\n', this.pos);\n if (nl !== -1) {\n while (nl !== -1) {\n const cs = this.continueScalar(nl + 1);\n if (cs === -1)\n break;\n nl = qb.indexOf('\\n', cs);\n }\n if (nl !== -1) {\n // this is an error caused by an unexpected unindent\n end = nl - (qb[nl - 1] === '\\r' ? 2 : 1);\n }\n }\n if (end === -1) {\n if (!this.atEnd)\n return this.setNext('quoted-scalar');\n end = this.buffer.length;\n }\n yield* this.pushToIndex(end + 1, false);\n return this.flowLevel ? 'flow' : 'doc';\n }\n *parseBlockScalarHeader() {\n this.blockScalarIndent = -1;\n this.blockScalarKeep = false;\n let i = this.pos;\n while (true) {\n const ch = this.buffer[++i];\n if (ch === '+')\n this.blockScalarKeep = true;\n else if (ch > '0' && ch <= '9')\n this.blockScalarIndent = Number(ch) - 1;\n else if (ch !== '-')\n break;\n }\n return yield* this.pushUntil(ch => isEmpty(ch) || ch === '#');\n }\n *parseBlockScalar() {\n let nl = this.pos - 1; // may be -1 if this.pos === 0\n let indent = 0;\n let ch;\n loop: for (let i = this.pos; (ch = this.buffer[i]); ++i) {\n switch (ch) {\n case ' ':\n indent += 1;\n break;\n case '\\n':\n nl = i;\n indent = 0;\n break;\n case '\\r': {\n const next = this.buffer[i + 1];\n if (!next && !this.atEnd)\n return this.setNext('block-scalar');\n if (next === '\\n')\n break;\n } // fallthrough\n default:\n break loop;\n }\n }\n if (!ch && !this.atEnd)\n return this.setNext('block-scalar');\n if (indent >= this.indentNext) {\n if (this.blockScalarIndent === -1)\n this.indentNext = indent;\n else\n this.indentNext += this.blockScalarIndent;\n do {\n const cs = this.continueScalar(nl + 1);\n if (cs === -1)\n break;\n nl = this.buffer.indexOf('\\n', cs);\n } while (nl !== -1);\n if (nl === -1) {\n if (!this.atEnd)\n return this.setNext('block-scalar');\n nl = this.buffer.length;\n }\n }\n if (!this.blockScalarKeep) {\n do {\n let i = nl - 1;\n let ch = this.buffer[i];\n if (ch === '\\r')\n ch = this.buffer[--i];\n const lastChar = i; // Drop the line if last char not more indented\n while (ch === ' ' || ch === '\\t')\n ch = this.buffer[--i];\n if (ch === '\\n' && i >= this.pos && i + 1 + indent > lastChar)\n nl = i;\n else\n break;\n } while (true);\n }\n yield cst.SCALAR;\n yield* this.pushToIndex(nl + 1, true);\n return yield* this.parseLineStart();\n }\n *parsePlainScalar() {\n const inFlow = this.flowLevel > 0;\n let end = this.pos - 1;\n let i = this.pos - 1;\n let ch;\n while ((ch = this.buffer[++i])) {\n if (ch === ':') {\n const next = this.buffer[i + 1];\n if (isEmpty(next) || (inFlow && next === ','))\n break;\n end = i;\n }\n else if (isEmpty(ch)) {\n let next = this.buffer[i + 1];\n if (ch === '\\r') {\n if (next === '\\n') {\n i += 1;\n ch = '\\n';\n next = this.buffer[i + 1];\n }\n else\n end = i;\n }\n if (next === '#' || (inFlow && invalidFlowScalarChars.includes(next)))\n break;\n if (ch === '\\n') {\n const cs = this.continueScalar(i + 1);\n if (cs === -1)\n break;\n i = Math.max(i, cs - 2); // to advance, but still account for ' #'\n }\n }\n else {\n if (inFlow && invalidFlowScalarChars.includes(ch))\n break;\n end = i;\n }\n }\n if (!ch && !this.atEnd)\n return this.setNext('plain-scalar');\n yield cst.SCALAR;\n yield* this.pushToIndex(end + 1, true);\n return inFlow ? 'flow' : 'doc';\n }\n *pushCount(n) {\n if (n > 0) {\n yield this.buffer.substr(this.pos, n);\n this.pos += n;\n return n;\n }\n return 0;\n }\n *pushToIndex(i, allowEmpty) {\n const s = this.buffer.slice(this.pos, i);\n if (s) {\n yield s;\n this.pos += s.length;\n return s.length;\n }\n else if (allowEmpty)\n yield '';\n return 0;\n }\n *pushIndicators() {\n switch (this.charAt(0)) {\n case '!':\n return ((yield* this.pushTag()) +\n (yield* this.pushSpaces(true)) +\n (yield* this.pushIndicators()));\n case '&':\n return ((yield* this.pushUntil(isNotAnchorChar)) +\n (yield* this.pushSpaces(true)) +\n (yield* this.pushIndicators()));\n case '-': // this is an error\n case '?': // this is an error outside flow collections\n case ':': {\n const inFlow = this.flowLevel > 0;\n const ch1 = this.charAt(1);\n if (isEmpty(ch1) || (inFlow && invalidFlowScalarChars.includes(ch1))) {\n if (!inFlow)\n this.indentNext = this.indentValue + 1;\n else if (this.flowKey)\n this.flowKey = false;\n return ((yield* this.pushCount(1)) +\n (yield* this.pushSpaces(true)) +\n (yield* this.pushIndicators()));\n }\n }\n }\n return 0;\n }\n *pushTag() {\n if (this.charAt(1) === '<') {\n let i = this.pos + 2;\n let ch = this.buffer[i];\n while (!isEmpty(ch) && ch !== '>')\n ch = this.buffer[++i];\n return yield* this.pushToIndex(ch === '>' ? i + 1 : i, false);\n }\n else {\n let i = this.pos + 1;\n let ch = this.buffer[i];\n while (ch) {\n if (tagChars.includes(ch))\n ch = this.buffer[++i];\n else if (ch === '%' &&\n hexDigits.includes(this.buffer[i + 1]) &&\n hexDigits.includes(this.buffer[i + 2])) {\n ch = this.buffer[(i += 3)];\n }\n else\n break;\n }\n return yield* this.pushToIndex(i, false);\n }\n }\n *pushNewline() {\n const ch = this.buffer[this.pos];\n if (ch === '\\n')\n return yield* this.pushCount(1);\n else if (ch === '\\r' && this.charAt(1) === '\\n')\n return yield* this.pushCount(2);\n else\n return 0;\n }\n *pushSpaces(allowTabs) {\n let i = this.pos - 1;\n let ch;\n do {\n ch = this.buffer[++i];\n } while (ch === ' ' || (allowTabs && ch === '\\t'));\n const n = i - this.pos;\n if (n > 0) {\n yield this.buffer.substr(this.pos, n);\n this.pos = i;\n }\n return n;\n }\n *pushUntil(test) {\n let i = this.pos;\n let ch = this.buffer[i];\n while (!test(ch))\n ch = this.buffer[++i];\n return yield* this.pushToIndex(i, false);\n }\n}\n\nexports.Lexer = Lexer;\n","'use strict';\n\n/**\n * Tracks newlines during parsing in order to provide an efficient API for\n * determining the one-indexed `{ line, col }` position for any offset\n * within the input.\n */\nclass LineCounter {\n constructor() {\n this.lineStarts = [];\n /**\n * Should be called in ascending order. Otherwise, call\n * `lineCounter.lineStarts.sort()` before calling `linePos()`.\n */\n this.addNewLine = (offset) => this.lineStarts.push(offset);\n /**\n * Performs a binary search and returns the 1-indexed { line, col }\n * position of `offset`. If `line === 0`, `addNewLine` has never been\n * called or `offset` is before the first known newline.\n */\n this.linePos = (offset) => {\n let low = 0;\n let high = this.lineStarts.length;\n while (low < high) {\n const mid = (low + high) >> 1; // Math.floor((low + high) / 2)\n if (this.lineStarts[mid] < offset)\n low = mid + 1;\n else\n high = mid;\n }\n if (this.lineStarts[low] === offset)\n return { line: low + 1, col: 1 };\n if (low === 0)\n return { line: 0, col: offset };\n const start = this.lineStarts[low - 1];\n return { line: low, col: offset - start + 1 };\n };\n }\n}\n\nexports.LineCounter = LineCounter;\n","'use strict';\n\nvar cst = require('./cst.js');\nvar lexer = require('./lexer.js');\n\nfunction includesToken(list, type) {\n for (let i = 0; i < list.length; ++i)\n if (list[i].type === type)\n return true;\n return false;\n}\nfunction findNonEmptyIndex(list) {\n for (let i = 0; i < list.length; ++i) {\n switch (list[i].type) {\n case 'space':\n case 'comment':\n case 'newline':\n break;\n default:\n return i;\n }\n }\n return -1;\n}\nfunction isFlowToken(token) {\n switch (token?.type) {\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n case 'flow-collection':\n return true;\n default:\n return false;\n }\n}\nfunction getPrevProps(parent) {\n switch (parent.type) {\n case 'document':\n return parent.start;\n case 'block-map': {\n const it = parent.items[parent.items.length - 1];\n return it.sep ?? it.start;\n }\n case 'block-seq':\n return parent.items[parent.items.length - 1].start;\n /* istanbul ignore next should not happen */\n default:\n return [];\n }\n}\n/** Note: May modify input array */\nfunction getFirstKeyStartProps(prev) {\n if (prev.length === 0)\n return [];\n let i = prev.length;\n loop: while (--i >= 0) {\n switch (prev[i].type) {\n case 'doc-start':\n case 'explicit-key-ind':\n case 'map-value-ind':\n case 'seq-item-ind':\n case 'newline':\n break loop;\n }\n }\n while (prev[++i]?.type === 'space') {\n /* loop */\n }\n return prev.splice(i, prev.length);\n}\nfunction fixFlowSeqItems(fc) {\n if (fc.start.type === 'flow-seq-start') {\n for (const it of fc.items) {\n if (it.sep &&\n !it.value &&\n !includesToken(it.start, 'explicit-key-ind') &&\n !includesToken(it.sep, 'map-value-ind')) {\n if (it.key)\n it.value = it.key;\n delete it.key;\n if (isFlowToken(it.value)) {\n if (it.value.end)\n Array.prototype.push.apply(it.value.end, it.sep);\n else\n it.value.end = it.sep;\n }\n else\n Array.prototype.push.apply(it.start, it.sep);\n delete it.sep;\n }\n }\n }\n}\n/**\n * A YAML concrete syntax tree (CST) parser\n *\n * ```ts\n * const src: string = ...\n * for (const token of new Parser().parse(src)) {\n * // token: Token\n * }\n * ```\n *\n * To use the parser with a user-provided lexer:\n *\n * ```ts\n * function* parse(source: string, lexer: Lexer) {\n * const parser = new Parser()\n * for (const lexeme of lexer.lex(source))\n * yield* parser.next(lexeme)\n * yield* parser.end()\n * }\n *\n * const src: string = ...\n * const lexer = new Lexer()\n * for (const token of parse(src, lexer)) {\n * // token: Token\n * }\n * ```\n */\nclass Parser {\n /**\n * @param onNewLine - If defined, called separately with the start position of\n * each new line (in `parse()`, including the start of input).\n */\n constructor(onNewLine) {\n /** If true, space and sequence indicators count as indentation */\n this.atNewLine = true;\n /** If true, next token is a scalar value */\n this.atScalar = false;\n /** Current indentation level */\n this.indent = 0;\n /** Current offset since the start of parsing */\n this.offset = 0;\n /** On the same line with a block map key */\n this.onKeyLine = false;\n /** Top indicates the node that's currently being built */\n this.stack = [];\n /** The source of the current token, set in parse() */\n this.source = '';\n /** The type of the current token, set in parse() */\n this.type = '';\n // Must be defined after `next()`\n this.lexer = new lexer.Lexer();\n this.onNewLine = onNewLine;\n }\n /**\n * Parse `source` as a YAML stream.\n * If `incomplete`, a part of the last line may be left as a buffer for the next call.\n *\n * Errors are not thrown, but yielded as `{ type: 'error', message }` tokens.\n *\n * @returns A generator of tokens representing each directive, document, and other structure.\n */\n *parse(source, incomplete = false) {\n if (this.onNewLine && this.offset === 0)\n this.onNewLine(0);\n for (const lexeme of this.lexer.lex(source, incomplete))\n yield* this.next(lexeme);\n if (!incomplete)\n yield* this.end();\n }\n /**\n * Advance the parser by the `source` of one lexical token.\n */\n *next(source) {\n this.source = source;\n if (process.env.LOG_TOKENS)\n console.log('|', cst.prettyToken(source));\n if (this.atScalar) {\n this.atScalar = false;\n yield* this.step();\n this.offset += source.length;\n return;\n }\n const type = cst.tokenType(source);\n if (!type) {\n const message = `Not a YAML token: ${source}`;\n yield* this.pop({ type: 'error', offset: this.offset, message, source });\n this.offset += source.length;\n }\n else if (type === 'scalar') {\n this.atNewLine = false;\n this.atScalar = true;\n this.type = 'scalar';\n }\n else {\n this.type = type;\n yield* this.step();\n switch (type) {\n case 'newline':\n this.atNewLine = true;\n this.indent = 0;\n if (this.onNewLine)\n this.onNewLine(this.offset + source.length);\n break;\n case 'space':\n if (this.atNewLine && source[0] === ' ')\n this.indent += source.length;\n break;\n case 'explicit-key-ind':\n case 'map-value-ind':\n case 'seq-item-ind':\n if (this.atNewLine)\n this.indent += source.length;\n break;\n case 'doc-mode':\n case 'flow-error-end':\n return;\n default:\n this.atNewLine = false;\n }\n this.offset += source.length;\n }\n }\n /** Call at end of input to push out any remaining constructions */\n *end() {\n while (this.stack.length > 0)\n yield* this.pop();\n }\n get sourceToken() {\n const st = {\n type: this.type,\n offset: this.offset,\n indent: this.indent,\n source: this.source\n };\n return st;\n }\n *step() {\n const top = this.peek(1);\n if (this.type === 'doc-end' && (!top || top.type !== 'doc-end')) {\n while (this.stack.length > 0)\n yield* this.pop();\n this.stack.push({\n type: 'doc-end',\n offset: this.offset,\n source: this.source\n });\n return;\n }\n if (!top)\n return yield* this.stream();\n switch (top.type) {\n case 'document':\n return yield* this.document(top);\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n return yield* this.scalar(top);\n case 'block-scalar':\n return yield* this.blockScalar(top);\n case 'block-map':\n return yield* this.blockMap(top);\n case 'block-seq':\n return yield* this.blockSequence(top);\n case 'flow-collection':\n return yield* this.flowCollection(top);\n case 'doc-end':\n return yield* this.documentEnd(top);\n }\n /* istanbul ignore next should not happen */\n yield* this.pop();\n }\n peek(n) {\n return this.stack[this.stack.length - n];\n }\n *pop(error) {\n const token = error ?? this.stack.pop();\n /* istanbul ignore if should not happen */\n if (!token) {\n const message = 'Tried to pop an empty stack';\n yield { type: 'error', offset: this.offset, source: '', message };\n }\n else if (this.stack.length === 0) {\n yield token;\n }\n else {\n const top = this.peek(1);\n if (token.type === 'block-scalar') {\n // Block scalars use their parent rather than header indent\n token.indent = 'indent' in top ? top.indent : 0;\n }\n else if (token.type === 'flow-collection' && top.type === 'document') {\n // Ignore all indent for top-level flow collections\n token.indent = 0;\n }\n if (token.type === 'flow-collection')\n fixFlowSeqItems(token);\n switch (top.type) {\n case 'document':\n top.value = token;\n break;\n case 'block-scalar':\n top.props.push(token); // error\n break;\n case 'block-map': {\n const it = top.items[top.items.length - 1];\n if (it.value) {\n top.items.push({ start: [], key: token, sep: [] });\n this.onKeyLine = true;\n return;\n }\n else if (it.sep) {\n it.value = token;\n }\n else {\n Object.assign(it, { key: token, sep: [] });\n this.onKeyLine = !includesToken(it.start, 'explicit-key-ind');\n return;\n }\n break;\n }\n case 'block-seq': {\n const it = top.items[top.items.length - 1];\n if (it.value)\n top.items.push({ start: [], value: token });\n else\n it.value = token;\n break;\n }\n case 'flow-collection': {\n const it = top.items[top.items.length - 1];\n if (!it || it.value)\n top.items.push({ start: [], key: token, sep: [] });\n else if (it.sep)\n it.value = token;\n else\n Object.assign(it, { key: token, sep: [] });\n return;\n }\n /* istanbul ignore next should not happen */\n default:\n yield* this.pop();\n yield* this.pop(token);\n }\n if ((top.type === 'document' ||\n top.type === 'block-map' ||\n top.type === 'block-seq') &&\n (token.type === 'block-map' || token.type === 'block-seq')) {\n const last = token.items[token.items.length - 1];\n if (last &&\n !last.sep &&\n !last.value &&\n last.start.length > 0 &&\n findNonEmptyIndex(last.start) === -1 &&\n (token.indent === 0 ||\n last.start.every(st => st.type !== 'comment' || st.indent < token.indent))) {\n if (top.type === 'document')\n top.end = last.start;\n else\n top.items.push({ start: last.start });\n token.items.splice(-1, 1);\n }\n }\n }\n }\n *stream() {\n switch (this.type) {\n case 'directive-line':\n yield { type: 'directive', offset: this.offset, source: this.source };\n return;\n case 'byte-order-mark':\n case 'space':\n case 'comment':\n case 'newline':\n yield this.sourceToken;\n return;\n case 'doc-mode':\n case 'doc-start': {\n const doc = {\n type: 'document',\n offset: this.offset,\n start: []\n };\n if (this.type === 'doc-start')\n doc.start.push(this.sourceToken);\n this.stack.push(doc);\n return;\n }\n }\n yield {\n type: 'error',\n offset: this.offset,\n message: `Unexpected ${this.type} token in YAML stream`,\n source: this.source\n };\n }\n *document(doc) {\n if (doc.value)\n return yield* this.lineEnd(doc);\n switch (this.type) {\n case 'doc-start': {\n if (findNonEmptyIndex(doc.start) !== -1) {\n yield* this.pop();\n yield* this.step();\n }\n else\n doc.start.push(this.sourceToken);\n return;\n }\n case 'anchor':\n case 'tag':\n case 'space':\n case 'comment':\n case 'newline':\n doc.start.push(this.sourceToken);\n return;\n }\n const bv = this.startBlockValue(doc);\n if (bv)\n this.stack.push(bv);\n else {\n yield {\n type: 'error',\n offset: this.offset,\n message: `Unexpected ${this.type} token in YAML document`,\n source: this.source\n };\n }\n }\n *scalar(scalar) {\n if (this.type === 'map-value-ind') {\n const prev = getPrevProps(this.peek(2));\n const start = getFirstKeyStartProps(prev);\n let sep;\n if (scalar.end) {\n sep = scalar.end;\n sep.push(this.sourceToken);\n delete scalar.end;\n }\n else\n sep = [this.sourceToken];\n const map = {\n type: 'block-map',\n offset: scalar.offset,\n indent: scalar.indent,\n items: [{ start, key: scalar, sep }]\n };\n this.onKeyLine = true;\n this.stack[this.stack.length - 1] = map;\n }\n else\n yield* this.lineEnd(scalar);\n }\n *blockScalar(scalar) {\n switch (this.type) {\n case 'space':\n case 'comment':\n case 'newline':\n scalar.props.push(this.sourceToken);\n return;\n case 'scalar':\n scalar.source = this.source;\n // block-scalar source includes trailing newline\n this.atNewLine = true;\n this.indent = 0;\n if (this.onNewLine) {\n let nl = this.source.indexOf('\\n') + 1;\n while (nl !== 0) {\n this.onNewLine(this.offset + nl);\n nl = this.source.indexOf('\\n', nl) + 1;\n }\n }\n yield* this.pop();\n break;\n /* istanbul ignore next should not happen */\n default:\n yield* this.pop();\n yield* this.step();\n }\n }\n *blockMap(map) {\n const it = map.items[map.items.length - 1];\n // it.sep is true-ish if pair already has key or : separator\n switch (this.type) {\n case 'newline':\n this.onKeyLine = false;\n if (it.value) {\n const end = 'end' in it.value ? it.value.end : undefined;\n const last = Array.isArray(end) ? end[end.length - 1] : undefined;\n if (last?.type === 'comment')\n end?.push(this.sourceToken);\n else\n map.items.push({ start: [this.sourceToken] });\n }\n else if (it.sep) {\n it.sep.push(this.sourceToken);\n }\n else {\n it.start.push(this.sourceToken);\n }\n return;\n case 'space':\n case 'comment':\n if (it.value) {\n map.items.push({ start: [this.sourceToken] });\n }\n else if (it.sep) {\n it.sep.push(this.sourceToken);\n }\n else {\n if (this.atIndentedComment(it.start, map.indent)) {\n const prev = map.items[map.items.length - 2];\n const end = prev?.value?.end;\n if (Array.isArray(end)) {\n Array.prototype.push.apply(end, it.start);\n end.push(this.sourceToken);\n map.items.pop();\n return;\n }\n }\n it.start.push(this.sourceToken);\n }\n return;\n }\n if (this.indent >= map.indent) {\n const atNextItem = !this.onKeyLine && this.indent === map.indent && it.sep;\n // For empty nodes, assign newline-separated not indented empty tokens to following node\n let start = [];\n if (atNextItem && it.sep && !it.value) {\n const nl = [];\n for (let i = 0; i < it.sep.length; ++i) {\n const st = it.sep[i];\n switch (st.type) {\n case 'newline':\n nl.push(i);\n break;\n case 'space':\n break;\n case 'comment':\n if (st.indent > map.indent)\n nl.length = 0;\n break;\n default:\n nl.length = 0;\n }\n }\n if (nl.length >= 2)\n start = it.sep.splice(nl[1]);\n }\n switch (this.type) {\n case 'anchor':\n case 'tag':\n if (atNextItem || it.value) {\n start.push(this.sourceToken);\n map.items.push({ start });\n this.onKeyLine = true;\n }\n else if (it.sep) {\n it.sep.push(this.sourceToken);\n }\n else {\n it.start.push(this.sourceToken);\n }\n return;\n case 'explicit-key-ind':\n if (!it.sep && !includesToken(it.start, 'explicit-key-ind')) {\n it.start.push(this.sourceToken);\n }\n else if (atNextItem || it.value) {\n start.push(this.sourceToken);\n map.items.push({ start });\n }\n else {\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start: [this.sourceToken] }]\n });\n }\n this.onKeyLine = true;\n return;\n case 'map-value-ind':\n if (includesToken(it.start, 'explicit-key-ind')) {\n if (!it.sep) {\n if (includesToken(it.start, 'newline')) {\n Object.assign(it, { key: null, sep: [this.sourceToken] });\n }\n else {\n const start = getFirstKeyStartProps(it.start);\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key: null, sep: [this.sourceToken] }]\n });\n }\n }\n else if (it.value) {\n map.items.push({ start: [], key: null, sep: [this.sourceToken] });\n }\n else if (includesToken(it.sep, 'map-value-ind')) {\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key: null, sep: [this.sourceToken] }]\n });\n }\n else if (isFlowToken(it.key) &&\n !includesToken(it.sep, 'newline')) {\n const start = getFirstKeyStartProps(it.start);\n const key = it.key;\n const sep = it.sep;\n sep.push(this.sourceToken);\n // @ts-expect-error type guard is wrong here\n delete it.key, delete it.sep;\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key, sep }]\n });\n }\n else if (start.length > 0) {\n // Not actually at next item\n it.sep = it.sep.concat(start, this.sourceToken);\n }\n else {\n it.sep.push(this.sourceToken);\n }\n }\n else {\n if (!it.sep) {\n Object.assign(it, { key: null, sep: [this.sourceToken] });\n }\n else if (it.value || atNextItem) {\n map.items.push({ start, key: null, sep: [this.sourceToken] });\n }\n else if (includesToken(it.sep, 'map-value-ind')) {\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start: [], key: null, sep: [this.sourceToken] }]\n });\n }\n else {\n it.sep.push(this.sourceToken);\n }\n }\n this.onKeyLine = true;\n return;\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar': {\n const fs = this.flowScalar(this.type);\n if (atNextItem || it.value) {\n map.items.push({ start, key: fs, sep: [] });\n this.onKeyLine = true;\n }\n else if (it.sep) {\n this.stack.push(fs);\n }\n else {\n Object.assign(it, { key: fs, sep: [] });\n this.onKeyLine = true;\n }\n return;\n }\n default: {\n const bv = this.startBlockValue(map);\n if (bv) {\n if (atNextItem &&\n bv.type !== 'block-seq' &&\n includesToken(it.start, 'explicit-key-ind')) {\n map.items.push({ start });\n }\n this.stack.push(bv);\n return;\n }\n }\n }\n }\n yield* this.pop();\n yield* this.step();\n }\n *blockSequence(seq) {\n const it = seq.items[seq.items.length - 1];\n switch (this.type) {\n case 'newline':\n if (it.value) {\n const end = 'end' in it.value ? it.value.end : undefined;\n const last = Array.isArray(end) ? end[end.length - 1] : undefined;\n if (last?.type === 'comment')\n end?.push(this.sourceToken);\n else\n seq.items.push({ start: [this.sourceToken] });\n }\n else\n it.start.push(this.sourceToken);\n return;\n case 'space':\n case 'comment':\n if (it.value)\n seq.items.push({ start: [this.sourceToken] });\n else {\n if (this.atIndentedComment(it.start, seq.indent)) {\n const prev = seq.items[seq.items.length - 2];\n const end = prev?.value?.end;\n if (Array.isArray(end)) {\n Array.prototype.push.apply(end, it.start);\n end.push(this.sourceToken);\n seq.items.pop();\n return;\n }\n }\n it.start.push(this.sourceToken);\n }\n return;\n case 'anchor':\n case 'tag':\n if (it.value || this.indent <= seq.indent)\n break;\n it.start.push(this.sourceToken);\n return;\n case 'seq-item-ind':\n if (this.indent !== seq.indent)\n break;\n if (it.value || includesToken(it.start, 'seq-item-ind'))\n seq.items.push({ start: [this.sourceToken] });\n else\n it.start.push(this.sourceToken);\n return;\n }\n if (this.indent > seq.indent) {\n const bv = this.startBlockValue(seq);\n if (bv) {\n this.stack.push(bv);\n return;\n }\n }\n yield* this.pop();\n yield* this.step();\n }\n *flowCollection(fc) {\n const it = fc.items[fc.items.length - 1];\n if (this.type === 'flow-error-end') {\n let top;\n do {\n yield* this.pop();\n top = this.peek(1);\n } while (top && top.type === 'flow-collection');\n }\n else if (fc.end.length === 0) {\n switch (this.type) {\n case 'comma':\n case 'explicit-key-ind':\n if (!it || it.sep)\n fc.items.push({ start: [this.sourceToken] });\n else\n it.start.push(this.sourceToken);\n return;\n case 'map-value-ind':\n if (!it || it.value)\n fc.items.push({ start: [], key: null, sep: [this.sourceToken] });\n else if (it.sep)\n it.sep.push(this.sourceToken);\n else\n Object.assign(it, { key: null, sep: [this.sourceToken] });\n return;\n case 'space':\n case 'comment':\n case 'newline':\n case 'anchor':\n case 'tag':\n if (!it || it.value)\n fc.items.push({ start: [this.sourceToken] });\n else if (it.sep)\n it.sep.push(this.sourceToken);\n else\n it.start.push(this.sourceToken);\n return;\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar': {\n const fs = this.flowScalar(this.type);\n if (!it || it.value)\n fc.items.push({ start: [], key: fs, sep: [] });\n else if (it.sep)\n this.stack.push(fs);\n else\n Object.assign(it, { key: fs, sep: [] });\n return;\n }\n case 'flow-map-end':\n case 'flow-seq-end':\n fc.end.push(this.sourceToken);\n return;\n }\n const bv = this.startBlockValue(fc);\n /* istanbul ignore else should not happen */\n if (bv)\n this.stack.push(bv);\n else {\n yield* this.pop();\n yield* this.step();\n }\n }\n else {\n const parent = this.peek(2);\n if (parent.type === 'block-map' &&\n ((this.type === 'map-value-ind' && parent.indent === fc.indent) ||\n (this.type === 'newline' &&\n !parent.items[parent.items.length - 1].sep))) {\n yield* this.pop();\n yield* this.step();\n }\n else if (this.type === 'map-value-ind' &&\n parent.type !== 'flow-collection') {\n const prev = getPrevProps(parent);\n const start = getFirstKeyStartProps(prev);\n fixFlowSeqItems(fc);\n const sep = fc.end.splice(1, fc.end.length);\n sep.push(this.sourceToken);\n const map = {\n type: 'block-map',\n offset: fc.offset,\n indent: fc.indent,\n items: [{ start, key: fc, sep }]\n };\n this.onKeyLine = true;\n this.stack[this.stack.length - 1] = map;\n }\n else {\n yield* this.lineEnd(fc);\n }\n }\n }\n flowScalar(type) {\n if (this.onNewLine) {\n let nl = this.source.indexOf('\\n') + 1;\n while (nl !== 0) {\n this.onNewLine(this.offset + nl);\n nl = this.source.indexOf('\\n', nl) + 1;\n }\n }\n return {\n type,\n offset: this.offset,\n indent: this.indent,\n source: this.source\n };\n }\n startBlockValue(parent) {\n switch (this.type) {\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n return this.flowScalar(this.type);\n case 'block-scalar-header':\n return {\n type: 'block-scalar',\n offset: this.offset,\n indent: this.indent,\n props: [this.sourceToken],\n source: ''\n };\n case 'flow-map-start':\n case 'flow-seq-start':\n return {\n type: 'flow-collection',\n offset: this.offset,\n indent: this.indent,\n start: this.sourceToken,\n items: [],\n end: []\n };\n case 'seq-item-ind':\n return {\n type: 'block-seq',\n offset: this.offset,\n indent: this.indent,\n items: [{ start: [this.sourceToken] }]\n };\n case 'explicit-key-ind': {\n this.onKeyLine = true;\n const prev = getPrevProps(parent);\n const start = getFirstKeyStartProps(prev);\n start.push(this.sourceToken);\n return {\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start }]\n };\n }\n case 'map-value-ind': {\n this.onKeyLine = true;\n const prev = getPrevProps(parent);\n const start = getFirstKeyStartProps(prev);\n return {\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key: null, sep: [this.sourceToken] }]\n };\n }\n }\n return null;\n }\n atIndentedComment(start, indent) {\n if (this.type !== 'comment')\n return false;\n if (this.indent <= indent)\n return false;\n return start.every(st => st.type === 'newline' || st.type === 'space');\n }\n *documentEnd(docEnd) {\n if (this.type !== 'doc-mode') {\n if (docEnd.end)\n docEnd.end.push(this.sourceToken);\n else\n docEnd.end = [this.sourceToken];\n if (this.type === 'newline')\n yield* this.pop();\n }\n }\n *lineEnd(token) {\n switch (this.type) {\n case 'comma':\n case 'doc-start':\n case 'doc-end':\n case 'flow-seq-end':\n case 'flow-map-end':\n case 'map-value-ind':\n yield* this.pop();\n yield* this.step();\n break;\n case 'newline':\n this.onKeyLine = false;\n // fallthrough\n case 'space':\n case 'comment':\n default:\n // all other values are errors\n if (token.end)\n token.end.push(this.sourceToken);\n else\n token.end = [this.sourceToken];\n if (this.type === 'newline')\n yield* this.pop();\n }\n }\n}\n\nexports.Parser = Parser;\n","'use strict';\n\nvar composer = require('./compose/composer.js');\nvar Document = require('./doc/Document.js');\nvar errors = require('./errors.js');\nvar log = require('./log.js');\nvar lineCounter = require('./parse/line-counter.js');\nvar parser = require('./parse/parser.js');\n\nfunction parseOptions(options) {\n const prettyErrors = options.prettyErrors !== false;\n const lineCounter$1 = options.lineCounter || (prettyErrors && new lineCounter.LineCounter()) || null;\n return { lineCounter: lineCounter$1, prettyErrors };\n}\n/**\n * Parse the input as a stream of YAML documents.\n *\n * Documents should be separated from each other by `...` or `---` marker lines.\n *\n * @returns If an empty `docs` array is returned, it will be of type\n * EmptyStream and contain additional stream information. In\n * TypeScript, you should use `'empty' in docs` as a type guard for it.\n */\nfunction parseAllDocuments(source, options = {}) {\n const { lineCounter, prettyErrors } = parseOptions(options);\n const parser$1 = new parser.Parser(lineCounter?.addNewLine);\n const composer$1 = new composer.Composer(options);\n const docs = Array.from(composer$1.compose(parser$1.parse(source)));\n if (prettyErrors && lineCounter)\n for (const doc of docs) {\n doc.errors.forEach(errors.prettifyError(source, lineCounter));\n doc.warnings.forEach(errors.prettifyError(source, lineCounter));\n }\n if (docs.length > 0)\n return docs;\n return Object.assign([], { empty: true }, composer$1.streamInfo());\n}\n/** Parse an input string into a single YAML.Document */\nfunction parseDocument(source, options = {}) {\n const { lineCounter, prettyErrors } = parseOptions(options);\n const parser$1 = new parser.Parser(lineCounter?.addNewLine);\n const composer$1 = new composer.Composer(options);\n // `doc` is always set by compose.end(true) at the very latest\n let doc = null;\n for (const _doc of composer$1.compose(parser$1.parse(source), true, source.length)) {\n if (!doc)\n doc = _doc;\n else if (doc.options.logLevel !== 'silent') {\n doc.errors.push(new errors.YAMLParseError(_doc.range.slice(0, 2), 'MULTIPLE_DOCS', 'Source contains multiple documents; please use YAML.parseAllDocuments()'));\n break;\n }\n }\n if (prettyErrors && lineCounter) {\n doc.errors.forEach(errors.prettifyError(source, lineCounter));\n doc.warnings.forEach(errors.prettifyError(source, lineCounter));\n }\n return doc;\n}\nfunction parse(src, reviver, options) {\n let _reviver = undefined;\n if (typeof reviver === 'function') {\n _reviver = reviver;\n }\n else if (options === undefined && reviver && typeof reviver === 'object') {\n options = reviver;\n }\n const doc = parseDocument(src, options);\n if (!doc)\n return null;\n doc.warnings.forEach(warning => log.warn(doc.options.logLevel, warning));\n if (doc.errors.length > 0) {\n if (doc.options.logLevel !== 'silent')\n throw doc.errors[0];\n else\n doc.errors = [];\n }\n return doc.toJS(Object.assign({ reviver: _reviver }, options));\n}\nfunction stringify(value, replacer, options) {\n let _replacer = null;\n if (typeof replacer === 'function' || Array.isArray(replacer)) {\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n }\n if (typeof options === 'string')\n options = options.length;\n if (typeof options === 'number') {\n const indent = Math.round(options);\n options = indent < 1 ? undefined : indent > 8 ? { indent: 8 } : { indent };\n }\n if (value === undefined) {\n const { keepUndefined } = options ?? replacer ?? {};\n if (!keepUndefined)\n return undefined;\n }\n return new Document.Document(value, _replacer, options).toString(options);\n}\n\nexports.parse = parse;\nexports.parseAllDocuments = parseAllDocuments;\nexports.parseDocument = parseDocument;\nexports.stringify = stringify;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar map = require('./common/map.js');\nvar seq = require('./common/seq.js');\nvar string = require('./common/string.js');\nvar tags = require('./tags.js');\n\nconst sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0;\nclass Schema {\n constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) {\n this.compat = Array.isArray(compat)\n ? tags.getTags(compat, 'compat')\n : compat\n ? tags.getTags(null, compat)\n : null;\n this.merge = !!merge;\n this.name = (typeof schema === 'string' && schema) || 'core';\n this.knownTags = resolveKnownTags ? tags.coreKnownTags : {};\n this.tags = tags.getTags(customTags, this.name);\n this.toStringOptions = toStringDefaults ?? null;\n Object.defineProperty(this, identity.MAP, { value: map.map });\n Object.defineProperty(this, identity.SCALAR, { value: string.string });\n Object.defineProperty(this, identity.SEQ, { value: seq.seq });\n // Used by createMap()\n this.sortMapEntries =\n typeof sortMapEntries === 'function'\n ? sortMapEntries\n : sortMapEntries === true\n ? sortMapEntriesByKey\n : null;\n }\n clone() {\n const copy = Object.create(Schema.prototype, Object.getOwnPropertyDescriptors(this));\n copy.tags = this.tags.slice();\n return copy;\n }\n}\n\nexports.Schema = Schema;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar YAMLMap = require('../../nodes/YAMLMap.js');\n\nconst map = {\n collection: 'map',\n default: true,\n nodeClass: YAMLMap.YAMLMap,\n tag: 'tag:yaml.org,2002:map',\n resolve(map, onError) {\n if (!identity.isMap(map))\n onError('Expected a mapping for this tag');\n return map;\n },\n createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)\n};\n\nexports.map = map;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\n\nconst nullTag = {\n identify: value => value == null,\n createNode: () => new Scalar.Scalar(null),\n default: true,\n tag: 'tag:yaml.org,2002:null',\n test: /^(?:~|[Nn]ull|NULL)?$/,\n resolve: () => new Scalar.Scalar(null),\n stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source)\n ? source\n : ctx.options.nullStr\n};\n\nexports.nullTag = nullTag;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar YAMLSeq = require('../../nodes/YAMLSeq.js');\n\nconst seq = {\n collection: 'seq',\n default: true,\n nodeClass: YAMLSeq.YAMLSeq,\n tag: 'tag:yaml.org,2002:seq',\n resolve(seq, onError) {\n if (!identity.isSeq(seq))\n onError('Expected a sequence for this tag');\n return seq;\n },\n createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx)\n};\n\nexports.seq = seq;\n","'use strict';\n\nvar stringifyString = require('../../stringify/stringifyString.js');\n\nconst string = {\n identify: value => typeof value === 'string',\n default: true,\n tag: 'tag:yaml.org,2002:str',\n resolve: str => str,\n stringify(item, ctx, onComment, onChompKeep) {\n ctx = Object.assign({ actualString: true }, ctx);\n return stringifyString.stringifyString(item, ctx, onComment, onChompKeep);\n }\n};\n\nexports.string = string;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\n\nconst boolTag = {\n identify: value => typeof value === 'boolean',\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,\n resolve: str => new Scalar.Scalar(str[0] === 't' || str[0] === 'T'),\n stringify({ source, value }, ctx) {\n if (source && boolTag.test.test(source)) {\n const sv = source[0] === 't' || source[0] === 'T';\n if (value === sv)\n return source;\n }\n return value ? ctx.options.trueStr : ctx.options.falseStr;\n }\n};\n\nexports.boolTag = boolTag;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst floatNaN = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^(?:[-+]?\\.(?:inf|Inf|INF|nan|NaN|NAN))$/,\n resolve: str => str.slice(-3).toLowerCase() === 'nan'\n ? NaN\n : str[0] === '-'\n ? Number.NEGATIVE_INFINITY\n : Number.POSITIVE_INFINITY,\n stringify: stringifyNumber.stringifyNumber\n};\nconst floatExp = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n format: 'EXP',\n test: /^[-+]?(?:\\.[0-9]+|[0-9]+(?:\\.[0-9]*)?)[eE][-+]?[0-9]+$/,\n resolve: str => parseFloat(str),\n stringify(node) {\n const num = Number(node.value);\n return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node);\n }\n};\nconst float = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^[-+]?(?:\\.[0-9]+|[0-9]+\\.[0-9]*)$/,\n resolve(str) {\n const node = new Scalar.Scalar(parseFloat(str));\n const dot = str.indexOf('.');\n if (dot !== -1 && str[str.length - 1] === '0')\n node.minFractionDigits = str.length - dot - 1;\n return node;\n },\n stringify: stringifyNumber.stringifyNumber\n};\n\nexports.float = float;\nexports.floatExp = floatExp;\nexports.floatNaN = floatNaN;\n","'use strict';\n\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst intIdentify = (value) => typeof value === 'bigint' || Number.isInteger(value);\nconst intResolve = (str, offset, radix, { intAsBigInt }) => (intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix));\nfunction intStringify(node, radix, prefix) {\n const { value } = node;\n if (intIdentify(value) && value >= 0)\n return prefix + value.toString(radix);\n return stringifyNumber.stringifyNumber(node);\n}\nconst intOct = {\n identify: value => intIdentify(value) && value >= 0,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'OCT',\n test: /^0o[0-7]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 8, opt),\n stringify: node => intStringify(node, 8, '0o')\n};\nconst int = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n test: /^[-+]?[0-9]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt),\n stringify: stringifyNumber.stringifyNumber\n};\nconst intHex = {\n identify: value => intIdentify(value) && value >= 0,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'HEX',\n test: /^0x[0-9a-fA-F]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),\n stringify: node => intStringify(node, 16, '0x')\n};\n\nexports.int = int;\nexports.intHex = intHex;\nexports.intOct = intOct;\n","'use strict';\n\nvar map = require('../common/map.js');\nvar _null = require('../common/null.js');\nvar seq = require('../common/seq.js');\nvar string = require('../common/string.js');\nvar bool = require('./bool.js');\nvar float = require('./float.js');\nvar int = require('./int.js');\n\nconst schema = [\n map.map,\n seq.seq,\n string.string,\n _null.nullTag,\n bool.boolTag,\n int.intOct,\n int.int,\n int.intHex,\n float.floatNaN,\n float.floatExp,\n float.float\n];\n\nexports.schema = schema;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar map = require('../common/map.js');\nvar seq = require('../common/seq.js');\n\nfunction intIdentify(value) {\n return typeof value === 'bigint' || Number.isInteger(value);\n}\nconst stringifyJSON = ({ value }) => JSON.stringify(value);\nconst jsonScalars = [\n {\n identify: value => typeof value === 'string',\n default: true,\n tag: 'tag:yaml.org,2002:str',\n resolve: str => str,\n stringify: stringifyJSON\n },\n {\n identify: value => value == null,\n createNode: () => new Scalar.Scalar(null),\n default: true,\n tag: 'tag:yaml.org,2002:null',\n test: /^null$/,\n resolve: () => null,\n stringify: stringifyJSON\n },\n {\n identify: value => typeof value === 'boolean',\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^true|false$/,\n resolve: str => str === 'true',\n stringify: stringifyJSON\n },\n {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n test: /^-?(?:0|[1-9][0-9]*)$/,\n resolve: (str, _onError, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str, 10),\n stringify: ({ value }) => intIdentify(value) ? value.toString() : JSON.stringify(value)\n },\n {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,\n resolve: str => parseFloat(str),\n stringify: stringifyJSON\n }\n];\nconst jsonError = {\n default: true,\n tag: '',\n test: /^/,\n resolve(str, onError) {\n onError(`Unresolved plain scalar ${JSON.stringify(str)}`);\n return str;\n }\n};\nconst schema = [map.map, seq.seq].concat(jsonScalars, jsonError);\n\nexports.schema = schema;\n","'use strict';\n\nvar map = require('./common/map.js');\nvar _null = require('./common/null.js');\nvar seq = require('./common/seq.js');\nvar string = require('./common/string.js');\nvar bool = require('./core/bool.js');\nvar float = require('./core/float.js');\nvar int = require('./core/int.js');\nvar schema = require('./core/schema.js');\nvar schema$1 = require('./json/schema.js');\nvar binary = require('./yaml-1.1/binary.js');\nvar omap = require('./yaml-1.1/omap.js');\nvar pairs = require('./yaml-1.1/pairs.js');\nvar schema$2 = require('./yaml-1.1/schema.js');\nvar set = require('./yaml-1.1/set.js');\nvar timestamp = require('./yaml-1.1/timestamp.js');\n\nconst schemas = new Map([\n ['core', schema.schema],\n ['failsafe', [map.map, seq.seq, string.string]],\n ['json', schema$1.schema],\n ['yaml11', schema$2.schema],\n ['yaml-1.1', schema$2.schema]\n]);\nconst tagsByName = {\n binary: binary.binary,\n bool: bool.boolTag,\n float: float.float,\n floatExp: float.floatExp,\n floatNaN: float.floatNaN,\n floatTime: timestamp.floatTime,\n int: int.int,\n intHex: int.intHex,\n intOct: int.intOct,\n intTime: timestamp.intTime,\n map: map.map,\n null: _null.nullTag,\n omap: omap.omap,\n pairs: pairs.pairs,\n seq: seq.seq,\n set: set.set,\n timestamp: timestamp.timestamp\n};\nconst coreKnownTags = {\n 'tag:yaml.org,2002:binary': binary.binary,\n 'tag:yaml.org,2002:omap': omap.omap,\n 'tag:yaml.org,2002:pairs': pairs.pairs,\n 'tag:yaml.org,2002:set': set.set,\n 'tag:yaml.org,2002:timestamp': timestamp.timestamp\n};\nfunction getTags(customTags, schemaName) {\n let tags = schemas.get(schemaName);\n if (!tags) {\n if (Array.isArray(customTags))\n tags = [];\n else {\n const keys = Array.from(schemas.keys())\n .filter(key => key !== 'yaml11')\n .map(key => JSON.stringify(key))\n .join(', ');\n throw new Error(`Unknown schema \"${schemaName}\"; use one of ${keys} or define customTags array`);\n }\n }\n if (Array.isArray(customTags)) {\n for (const tag of customTags)\n tags = tags.concat(tag);\n }\n else if (typeof customTags === 'function') {\n tags = customTags(tags.slice());\n }\n return tags.map(tag => {\n if (typeof tag !== 'string')\n return tag;\n const tagObj = tagsByName[tag];\n if (tagObj)\n return tagObj;\n const keys = Object.keys(tagsByName)\n .map(key => JSON.stringify(key))\n .join(', ');\n throw new Error(`Unknown custom tag \"${tag}\"; use one of ${keys}`);\n });\n}\n\nexports.coreKnownTags = coreKnownTags;\nexports.getTags = getTags;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar stringifyString = require('../../stringify/stringifyString.js');\n\nconst binary = {\n identify: value => value instanceof Uint8Array,\n default: false,\n tag: 'tag:yaml.org,2002:binary',\n /**\n * Returns a Buffer in node and an Uint8Array in browsers\n *\n * To use the resulting buffer as an image, you'll want to do something like:\n *\n * const blob = new Blob([buffer], { type: 'image/jpeg' })\n * document.querySelector('#photo').src = URL.createObjectURL(blob)\n */\n resolve(src, onError) {\n if (typeof Buffer === 'function') {\n return Buffer.from(src, 'base64');\n }\n else if (typeof atob === 'function') {\n // On IE 11, atob() can't handle newlines\n const str = atob(src.replace(/[\\n\\r]/g, ''));\n const buffer = new Uint8Array(str.length);\n for (let i = 0; i < str.length; ++i)\n buffer[i] = str.charCodeAt(i);\n return buffer;\n }\n else {\n onError('This environment does not support reading binary tags; either Buffer or atob is required');\n return src;\n }\n },\n stringify({ comment, type, value }, ctx, onComment, onChompKeep) {\n const buf = value; // checked earlier by binary.identify()\n let str;\n if (typeof Buffer === 'function') {\n str =\n buf instanceof Buffer\n ? buf.toString('base64')\n : Buffer.from(buf.buffer).toString('base64');\n }\n else if (typeof btoa === 'function') {\n let s = '';\n for (let i = 0; i < buf.length; ++i)\n s += String.fromCharCode(buf[i]);\n str = btoa(s);\n }\n else {\n throw new Error('This environment does not support writing binary tags; either Buffer or btoa is required');\n }\n if (!type)\n type = Scalar.Scalar.BLOCK_LITERAL;\n if (type !== Scalar.Scalar.QUOTE_DOUBLE) {\n const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth);\n const n = Math.ceil(str.length / lineWidth);\n const lines = new Array(n);\n for (let i = 0, o = 0; i < n; ++i, o += lineWidth) {\n lines[i] = str.substr(o, lineWidth);\n }\n str = lines.join(type === Scalar.Scalar.BLOCK_LITERAL ? '\\n' : ' ');\n }\n return stringifyString.stringifyString({ comment, type, value: str }, ctx, onComment, onChompKeep);\n }\n};\n\nexports.binary = binary;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\n\nfunction boolStringify({ value, source }, ctx) {\n const boolObj = value ? trueTag : falseTag;\n if (source && boolObj.test.test(source))\n return source;\n return value ? ctx.options.trueStr : ctx.options.falseStr;\n}\nconst trueTag = {\n identify: value => value === true,\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,\n resolve: () => new Scalar.Scalar(true),\n stringify: boolStringify\n};\nconst falseTag = {\n identify: value => value === false,\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,\n resolve: () => new Scalar.Scalar(false),\n stringify: boolStringify\n};\n\nexports.falseTag = falseTag;\nexports.trueTag = trueTag;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst floatNaN = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^[-+]?\\.(?:inf|Inf|INF|nan|NaN|NAN)$/,\n resolve: (str) => str.slice(-3).toLowerCase() === 'nan'\n ? NaN\n : str[0] === '-'\n ? Number.NEGATIVE_INFINITY\n : Number.POSITIVE_INFINITY,\n stringify: stringifyNumber.stringifyNumber\n};\nconst floatExp = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n format: 'EXP',\n test: /^[-+]?(?:[0-9][0-9_]*)?(?:\\.[0-9_]*)?[eE][-+]?[0-9]+$/,\n resolve: (str) => parseFloat(str.replace(/_/g, '')),\n stringify(node) {\n const num = Number(node.value);\n return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node);\n }\n};\nconst float = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^[-+]?(?:[0-9][0-9_]*)?\\.[0-9_]*$/,\n resolve(str) {\n const node = new Scalar.Scalar(parseFloat(str.replace(/_/g, '')));\n const dot = str.indexOf('.');\n if (dot !== -1) {\n const f = str.substring(dot + 1).replace(/_/g, '');\n if (f[f.length - 1] === '0')\n node.minFractionDigits = f.length;\n }\n return node;\n },\n stringify: stringifyNumber.stringifyNumber\n};\n\nexports.float = float;\nexports.floatExp = floatExp;\nexports.floatNaN = floatNaN;\n","'use strict';\n\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst intIdentify = (value) => typeof value === 'bigint' || Number.isInteger(value);\nfunction intResolve(str, offset, radix, { intAsBigInt }) {\n const sign = str[0];\n if (sign === '-' || sign === '+')\n offset += 1;\n str = str.substring(offset).replace(/_/g, '');\n if (intAsBigInt) {\n switch (radix) {\n case 2:\n str = `0b${str}`;\n break;\n case 8:\n str = `0o${str}`;\n break;\n case 16:\n str = `0x${str}`;\n break;\n }\n const n = BigInt(str);\n return sign === '-' ? BigInt(-1) * n : n;\n }\n const n = parseInt(str, radix);\n return sign === '-' ? -1 * n : n;\n}\nfunction intStringify(node, radix, prefix) {\n const { value } = node;\n if (intIdentify(value)) {\n const str = value.toString(radix);\n return value < 0 ? '-' + prefix + str.substr(1) : prefix + str;\n }\n return stringifyNumber.stringifyNumber(node);\n}\nconst intBin = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'BIN',\n test: /^[-+]?0b[0-1_]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 2, opt),\n stringify: node => intStringify(node, 2, '0b')\n};\nconst intOct = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'OCT',\n test: /^[-+]?0[0-7_]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 1, 8, opt),\n stringify: node => intStringify(node, 8, '0')\n};\nconst int = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n test: /^[-+]?[0-9][0-9_]*$/,\n resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt),\n stringify: stringifyNumber.stringifyNumber\n};\nconst intHex = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'HEX',\n test: /^[-+]?0x[0-9a-fA-F_]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),\n stringify: node => intStringify(node, 16, '0x')\n};\n\nexports.int = int;\nexports.intBin = intBin;\nexports.intHex = intHex;\nexports.intOct = intOct;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar toJS = require('../../nodes/toJS.js');\nvar YAMLMap = require('../../nodes/YAMLMap.js');\nvar YAMLSeq = require('../../nodes/YAMLSeq.js');\nvar pairs = require('./pairs.js');\n\nclass YAMLOMap extends YAMLSeq.YAMLSeq {\n constructor() {\n super();\n this.add = YAMLMap.YAMLMap.prototype.add.bind(this);\n this.delete = YAMLMap.YAMLMap.prototype.delete.bind(this);\n this.get = YAMLMap.YAMLMap.prototype.get.bind(this);\n this.has = YAMLMap.YAMLMap.prototype.has.bind(this);\n this.set = YAMLMap.YAMLMap.prototype.set.bind(this);\n this.tag = YAMLOMap.tag;\n }\n /**\n * If `ctx` is given, the return type is actually `Map`,\n * but TypeScript won't allow widening the signature of a child method.\n */\n toJSON(_, ctx) {\n if (!ctx)\n return super.toJSON(_);\n const map = new Map();\n if (ctx?.onCreate)\n ctx.onCreate(map);\n for (const pair of this.items) {\n let key, value;\n if (identity.isPair(pair)) {\n key = toJS.toJS(pair.key, '', ctx);\n value = toJS.toJS(pair.value, key, ctx);\n }\n else {\n key = toJS.toJS(pair, '', ctx);\n }\n if (map.has(key))\n throw new Error('Ordered maps must not include duplicate keys');\n map.set(key, value);\n }\n return map;\n }\n static from(schema, iterable, ctx) {\n const pairs$1 = pairs.createPairs(schema, iterable, ctx);\n const omap = new this();\n omap.items = pairs$1.items;\n return omap;\n }\n}\nYAMLOMap.tag = 'tag:yaml.org,2002:omap';\nconst omap = {\n collection: 'seq',\n identify: value => value instanceof Map,\n nodeClass: YAMLOMap,\n default: false,\n tag: 'tag:yaml.org,2002:omap',\n resolve(seq, onError) {\n const pairs$1 = pairs.resolvePairs(seq, onError);\n const seenKeys = [];\n for (const { key } of pairs$1.items) {\n if (identity.isScalar(key)) {\n if (seenKeys.includes(key.value)) {\n onError(`Ordered maps must not include duplicate keys: ${key.value}`);\n }\n else {\n seenKeys.push(key.value);\n }\n }\n }\n return Object.assign(new YAMLOMap(), pairs$1);\n },\n createNode: (schema, iterable, ctx) => YAMLOMap.from(schema, iterable, ctx)\n};\n\nexports.YAMLOMap = YAMLOMap;\nexports.omap = omap;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar Pair = require('../../nodes/Pair.js');\nvar Scalar = require('../../nodes/Scalar.js');\nvar YAMLSeq = require('../../nodes/YAMLSeq.js');\n\nfunction resolvePairs(seq, onError) {\n if (identity.isSeq(seq)) {\n for (let i = 0; i < seq.items.length; ++i) {\n let item = seq.items[i];\n if (identity.isPair(item))\n continue;\n else if (identity.isMap(item)) {\n if (item.items.length > 1)\n onError('Each pair must have its own sequence indicator');\n const pair = item.items[0] || new Pair.Pair(new Scalar.Scalar(null));\n if (item.commentBefore)\n pair.key.commentBefore = pair.key.commentBefore\n ? `${item.commentBefore}\\n${pair.key.commentBefore}`\n : item.commentBefore;\n if (item.comment) {\n const cn = pair.value ?? pair.key;\n cn.comment = cn.comment\n ? `${item.comment}\\n${cn.comment}`\n : item.comment;\n }\n item = pair;\n }\n seq.items[i] = identity.isPair(item) ? item : new Pair.Pair(item);\n }\n }\n else\n onError('Expected a sequence for this tag');\n return seq;\n}\nfunction createPairs(schema, iterable, ctx) {\n const { replacer } = ctx;\n const pairs = new YAMLSeq.YAMLSeq(schema);\n pairs.tag = 'tag:yaml.org,2002:pairs';\n let i = 0;\n if (iterable && Symbol.iterator in Object(iterable))\n for (let it of iterable) {\n if (typeof replacer === 'function')\n it = replacer.call(iterable, String(i++), it);\n let key, value;\n if (Array.isArray(it)) {\n if (it.length === 2) {\n key = it[0];\n value = it[1];\n }\n else\n throw new TypeError(`Expected [key, value] tuple: ${it}`);\n }\n else if (it && it instanceof Object) {\n const keys = Object.keys(it);\n if (keys.length === 1) {\n key = keys[0];\n value = it[key];\n }\n else {\n throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);\n }\n }\n else {\n key = it;\n }\n pairs.items.push(Pair.createPair(key, value, ctx));\n }\n return pairs;\n}\nconst pairs = {\n collection: 'seq',\n default: false,\n tag: 'tag:yaml.org,2002:pairs',\n resolve: resolvePairs,\n createNode: createPairs\n};\n\nexports.createPairs = createPairs;\nexports.pairs = pairs;\nexports.resolvePairs = resolvePairs;\n","'use strict';\n\nvar map = require('../common/map.js');\nvar _null = require('../common/null.js');\nvar seq = require('../common/seq.js');\nvar string = require('../common/string.js');\nvar binary = require('./binary.js');\nvar bool = require('./bool.js');\nvar float = require('./float.js');\nvar int = require('./int.js');\nvar omap = require('./omap.js');\nvar pairs = require('./pairs.js');\nvar set = require('./set.js');\nvar timestamp = require('./timestamp.js');\n\nconst schema = [\n map.map,\n seq.seq,\n string.string,\n _null.nullTag,\n bool.trueTag,\n bool.falseTag,\n int.intBin,\n int.intOct,\n int.int,\n int.intHex,\n float.floatNaN,\n float.floatExp,\n float.float,\n binary.binary,\n omap.omap,\n pairs.pairs,\n set.set,\n timestamp.intTime,\n timestamp.floatTime,\n timestamp.timestamp\n];\n\nexports.schema = schema;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar Pair = require('../../nodes/Pair.js');\nvar YAMLMap = require('../../nodes/YAMLMap.js');\n\nclass YAMLSet extends YAMLMap.YAMLMap {\n constructor(schema) {\n super(schema);\n this.tag = YAMLSet.tag;\n }\n add(key) {\n let pair;\n if (identity.isPair(key))\n pair = key;\n else if (key &&\n typeof key === 'object' &&\n 'key' in key &&\n 'value' in key &&\n key.value === null)\n pair = new Pair.Pair(key.key, null);\n else\n pair = new Pair.Pair(key, null);\n const prev = YAMLMap.findPair(this.items, pair.key);\n if (!prev)\n this.items.push(pair);\n }\n /**\n * If `keepPair` is `true`, returns the Pair matching `key`.\n * Otherwise, returns the value of that Pair's key.\n */\n get(key, keepPair) {\n const pair = YAMLMap.findPair(this.items, key);\n return !keepPair && identity.isPair(pair)\n ? identity.isScalar(pair.key)\n ? pair.key.value\n : pair.key\n : pair;\n }\n set(key, value) {\n if (typeof value !== 'boolean')\n throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value}`);\n const prev = YAMLMap.findPair(this.items, key);\n if (prev && !value) {\n this.items.splice(this.items.indexOf(prev), 1);\n }\n else if (!prev && value) {\n this.items.push(new Pair.Pair(key));\n }\n }\n toJSON(_, ctx) {\n return super.toJSON(_, ctx, Set);\n }\n toString(ctx, onComment, onChompKeep) {\n if (!ctx)\n return JSON.stringify(this);\n if (this.hasAllNullValues(true))\n return super.toString(Object.assign({}, ctx, { allNullValues: true }), onComment, onChompKeep);\n else\n throw new Error('Set items must all have null values');\n }\n static from(schema, iterable, ctx) {\n const { replacer } = ctx;\n const set = new this(schema);\n if (iterable && Symbol.iterator in Object(iterable))\n for (let value of iterable) {\n if (typeof replacer === 'function')\n value = replacer.call(iterable, value, value);\n set.items.push(Pair.createPair(value, null, ctx));\n }\n return set;\n }\n}\nYAMLSet.tag = 'tag:yaml.org,2002:set';\nconst set = {\n collection: 'map',\n identify: value => value instanceof Set,\n nodeClass: YAMLSet,\n default: false,\n tag: 'tag:yaml.org,2002:set',\n createNode: (schema, iterable, ctx) => YAMLSet.from(schema, iterable, ctx),\n resolve(map, onError) {\n if (identity.isMap(map)) {\n if (map.hasAllNullValues(true))\n return Object.assign(new YAMLSet(), map);\n else\n onError('Set items must all have null values');\n }\n else\n onError('Expected a mapping for this tag');\n return map;\n }\n};\n\nexports.YAMLSet = YAMLSet;\nexports.set = set;\n","'use strict';\n\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\n/** Internal types handle bigint as number, because TS can't figure it out. */\nfunction parseSexagesimal(str, asBigInt) {\n const sign = str[0];\n const parts = sign === '-' || sign === '+' ? str.substring(1) : str;\n const num = (n) => asBigInt ? BigInt(n) : Number(n);\n const res = parts\n .replace(/_/g, '')\n .split(':')\n .reduce((res, p) => res * num(60) + num(p), num(0));\n return (sign === '-' ? num(-1) * res : res);\n}\n/**\n * hhhh:mm:ss.sss\n *\n * Internal types handle bigint as number, because TS can't figure it out.\n */\nfunction stringifySexagesimal(node) {\n let { value } = node;\n let num = (n) => n;\n if (typeof value === 'bigint')\n num = n => BigInt(n);\n else if (isNaN(value) || !isFinite(value))\n return stringifyNumber.stringifyNumber(node);\n let sign = '';\n if (value < 0) {\n sign = '-';\n value *= num(-1);\n }\n const _60 = num(60);\n const parts = [value % _60]; // seconds, including ms\n if (value < 60) {\n parts.unshift(0); // at least one : is required\n }\n else {\n value = (value - parts[0]) / _60;\n parts.unshift(value % _60); // minutes\n if (value >= 60) {\n value = (value - parts[0]) / _60;\n parts.unshift(value); // hours\n }\n }\n return (sign +\n parts\n .map(n => String(n).padStart(2, '0'))\n .join(':')\n .replace(/000000\\d*$/, '') // % 60 may introduce error\n );\n}\nconst intTime = {\n identify: value => typeof value === 'bigint' || Number.isInteger(value),\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'TIME',\n test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,\n resolve: (str, _onError, { intAsBigInt }) => parseSexagesimal(str, intAsBigInt),\n stringify: stringifySexagesimal\n};\nconst floatTime = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n format: 'TIME',\n test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*$/,\n resolve: str => parseSexagesimal(str, false),\n stringify: stringifySexagesimal\n};\nconst timestamp = {\n identify: value => value instanceof Date,\n default: true,\n tag: 'tag:yaml.org,2002:timestamp',\n // If the time zone is omitted, the timestamp is assumed to be specified in UTC. The time part\n // may be omitted altogether, resulting in a date format. In such a case, the time part is\n // assumed to be 00:00:00Z (start of day, UTC).\n test: RegExp('^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})' + // YYYY-Mm-Dd\n '(?:' + // time is optional\n '(?:t|T|[ \\\\t]+)' + // t | T | whitespace\n '([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\\\.[0-9]+)?)' + // Hh:Mm:Ss(.ss)?\n '(?:[ \\\\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?' + // Z | +5 | -03:30\n ')?$'),\n resolve(str) {\n const match = str.match(timestamp.test);\n if (!match)\n throw new Error('!!timestamp expects a date, starting with yyyy-mm-dd');\n const [, year, month, day, hour, minute, second] = match.map(Number);\n const millisec = match[7] ? Number((match[7] + '00').substr(1, 3)) : 0;\n let date = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec);\n const tz = match[8];\n if (tz && tz !== 'Z') {\n let d = parseSexagesimal(tz, false);\n if (Math.abs(d) < 30)\n d *= 60;\n date -= 60000 * d;\n }\n return new Date(date);\n },\n stringify: ({ value }) => value.toISOString().replace(/((T00:00)?:00)?\\.000Z$/, '')\n};\n\nexports.floatTime = floatTime;\nexports.intTime = intTime;\nexports.timestamp = timestamp;\n","'use strict';\n\nconst FOLD_FLOW = 'flow';\nconst FOLD_BLOCK = 'block';\nconst FOLD_QUOTED = 'quoted';\n/**\n * Tries to keep input at up to `lineWidth` characters, splitting only on spaces\n * not followed by newlines or spaces unless `mode` is `'quoted'`. Lines are\n * terminated with `\\n` and started with `indent`.\n */\nfunction foldFlowLines(text, indent, mode = 'flow', { indentAtStart, lineWidth = 80, minContentWidth = 20, onFold, onOverflow } = {}) {\n if (!lineWidth || lineWidth < 0)\n return text;\n const endStep = Math.max(1 + minContentWidth, 1 + lineWidth - indent.length);\n if (text.length <= endStep)\n return text;\n const folds = [];\n const escapedFolds = {};\n let end = lineWidth - indent.length;\n if (typeof indentAtStart === 'number') {\n if (indentAtStart > lineWidth - Math.max(2, minContentWidth))\n folds.push(0);\n else\n end = lineWidth - indentAtStart;\n }\n let split = undefined;\n let prev = undefined;\n let overflow = false;\n let i = -1;\n let escStart = -1;\n let escEnd = -1;\n if (mode === FOLD_BLOCK) {\n i = consumeMoreIndentedLines(text, i);\n if (i !== -1)\n end = i + endStep;\n }\n for (let ch; (ch = text[(i += 1)]);) {\n if (mode === FOLD_QUOTED && ch === '\\\\') {\n escStart = i;\n switch (text[i + 1]) {\n case 'x':\n i += 3;\n break;\n case 'u':\n i += 5;\n break;\n case 'U':\n i += 9;\n break;\n default:\n i += 1;\n }\n escEnd = i;\n }\n if (ch === '\\n') {\n if (mode === FOLD_BLOCK)\n i = consumeMoreIndentedLines(text, i);\n end = i + endStep;\n split = undefined;\n }\n else {\n if (ch === ' ' &&\n prev &&\n prev !== ' ' &&\n prev !== '\\n' &&\n prev !== '\\t') {\n // space surrounded by non-space can be replaced with newline + indent\n const next = text[i + 1];\n if (next && next !== ' ' && next !== '\\n' && next !== '\\t')\n split = i;\n }\n if (i >= end) {\n if (split) {\n folds.push(split);\n end = split + endStep;\n split = undefined;\n }\n else if (mode === FOLD_QUOTED) {\n // white-space collected at end may stretch past lineWidth\n while (prev === ' ' || prev === '\\t') {\n prev = ch;\n ch = text[(i += 1)];\n overflow = true;\n }\n // Account for newline escape, but don't break preceding escape\n const j = i > escEnd + 1 ? i - 2 : escStart - 1;\n // Bail out if lineWidth & minContentWidth are shorter than an escape string\n if (escapedFolds[j])\n return text;\n folds.push(j);\n escapedFolds[j] = true;\n end = j + endStep;\n split = undefined;\n }\n else {\n overflow = true;\n }\n }\n }\n prev = ch;\n }\n if (overflow && onOverflow)\n onOverflow();\n if (folds.length === 0)\n return text;\n if (onFold)\n onFold();\n let res = text.slice(0, folds[0]);\n for (let i = 0; i < folds.length; ++i) {\n const fold = folds[i];\n const end = folds[i + 1] || text.length;\n if (fold === 0)\n res = `\\n${indent}${text.slice(0, end)}`;\n else {\n if (mode === FOLD_QUOTED && escapedFolds[fold])\n res += `${text[fold]}\\\\`;\n res += `\\n${indent}${text.slice(fold + 1, end)}`;\n }\n }\n return res;\n}\n/**\n * Presumes `i + 1` is at the start of a line\n * @returns index of last newline in more-indented block\n */\nfunction consumeMoreIndentedLines(text, i) {\n let ch = text[i + 1];\n while (ch === ' ' || ch === '\\t') {\n do {\n ch = text[(i += 1)];\n } while (ch && ch !== '\\n');\n ch = text[i + 1];\n }\n return i;\n}\n\nexports.FOLD_BLOCK = FOLD_BLOCK;\nexports.FOLD_FLOW = FOLD_FLOW;\nexports.FOLD_QUOTED = FOLD_QUOTED;\nexports.foldFlowLines = foldFlowLines;\n","'use strict';\n\nvar anchors = require('../doc/anchors.js');\nvar identity = require('../nodes/identity.js');\nvar stringifyComment = require('./stringifyComment.js');\nvar stringifyString = require('./stringifyString.js');\n\nfunction createStringifyContext(doc, options) {\n const opt = Object.assign({\n blockQuote: true,\n commentString: stringifyComment.stringifyComment,\n defaultKeyType: null,\n defaultStringType: 'PLAIN',\n directives: null,\n doubleQuotedAsJSON: false,\n doubleQuotedMinMultiLineLength: 40,\n falseStr: 'false',\n flowCollectionPadding: true,\n indentSeq: true,\n lineWidth: 80,\n minContentWidth: 20,\n nullStr: 'null',\n simpleKeys: false,\n singleQuote: null,\n trueStr: 'true',\n verifyAliasOrder: true\n }, doc.schema.toStringOptions, options);\n let inFlow;\n switch (opt.collectionStyle) {\n case 'block':\n inFlow = false;\n break;\n case 'flow':\n inFlow = true;\n break;\n default:\n inFlow = null;\n }\n return {\n anchors: new Set(),\n doc,\n flowCollectionPadding: opt.flowCollectionPadding ? ' ' : '',\n indent: '',\n indentStep: typeof opt.indent === 'number' ? ' '.repeat(opt.indent) : ' ',\n inFlow,\n options: opt\n };\n}\nfunction getTagObject(tags, item) {\n if (item.tag) {\n const match = tags.filter(t => t.tag === item.tag);\n if (match.length > 0)\n return match.find(t => t.format === item.format) ?? match[0];\n }\n let tagObj = undefined;\n let obj;\n if (identity.isScalar(item)) {\n obj = item.value;\n const match = tags.filter(t => t.identify?.(obj));\n tagObj =\n match.find(t => t.format === item.format) ?? match.find(t => !t.format);\n }\n else {\n obj = item;\n tagObj = tags.find(t => t.nodeClass && obj instanceof t.nodeClass);\n }\n if (!tagObj) {\n const name = obj?.constructor?.name ?? typeof obj;\n throw new Error(`Tag not resolved for ${name} value`);\n }\n return tagObj;\n}\n// needs to be called before value stringifier to allow for circular anchor refs\nfunction stringifyProps(node, tagObj, { anchors: anchors$1, doc }) {\n if (!doc.directives)\n return '';\n const props = [];\n const anchor = (identity.isScalar(node) || identity.isCollection(node)) && node.anchor;\n if (anchor && anchors.anchorIsValid(anchor)) {\n anchors$1.add(anchor);\n props.push(`&${anchor}`);\n }\n const tag = node.tag ? node.tag : tagObj.default ? null : tagObj.tag;\n if (tag)\n props.push(doc.directives.tagString(tag));\n return props.join(' ');\n}\nfunction stringify(item, ctx, onComment, onChompKeep) {\n if (identity.isPair(item))\n return item.toString(ctx, onComment, onChompKeep);\n if (identity.isAlias(item)) {\n if (ctx.doc.directives)\n return item.toString(ctx);\n if (ctx.resolvedAliases?.has(item)) {\n throw new TypeError(`Cannot stringify circular structure without alias nodes`);\n }\n else {\n if (ctx.resolvedAliases)\n ctx.resolvedAliases.add(item);\n else\n ctx.resolvedAliases = new Set([item]);\n item = item.resolve(ctx.doc);\n }\n }\n let tagObj = undefined;\n const node = identity.isNode(item)\n ? item\n : ctx.doc.createNode(item, { onTagObj: o => (tagObj = o) });\n if (!tagObj)\n tagObj = getTagObject(ctx.doc.schema.tags, node);\n const props = stringifyProps(node, tagObj, ctx);\n if (props.length > 0)\n ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1;\n const str = typeof tagObj.stringify === 'function'\n ? tagObj.stringify(node, ctx, onComment, onChompKeep)\n : identity.isScalar(node)\n ? stringifyString.stringifyString(node, ctx, onComment, onChompKeep)\n : node.toString(ctx, onComment, onChompKeep);\n if (!props)\n return str;\n return identity.isScalar(node) || str[0] === '{' || str[0] === '['\n ? `${props} ${str}`\n : `${props}\\n${ctx.indent}${str}`;\n}\n\nexports.createStringifyContext = createStringifyContext;\nexports.stringify = stringify;\n","'use strict';\n\nvar Collection = require('../nodes/Collection.js');\nvar identity = require('../nodes/identity.js');\nvar stringify = require('./stringify.js');\nvar stringifyComment = require('./stringifyComment.js');\n\nfunction stringifyCollection(collection, ctx, options) {\n const flow = ctx.inFlow ?? collection.flow;\n const stringify = flow ? stringifyFlowCollection : stringifyBlockCollection;\n return stringify(collection, ctx, options);\n}\nfunction stringifyBlockCollection({ comment, items }, ctx, { blockItemPrefix, flowChars, itemIndent, onChompKeep, onComment }) {\n const { indent, options: { commentString } } = ctx;\n const itemCtx = Object.assign({}, ctx, { indent: itemIndent, type: null });\n let chompKeep = false; // flag for the preceding node's status\n const lines = [];\n for (let i = 0; i < items.length; ++i) {\n const item = items[i];\n let comment = null;\n if (identity.isNode(item)) {\n if (!chompKeep && item.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, item.commentBefore, chompKeep);\n if (item.comment)\n comment = item.comment;\n }\n else if (identity.isPair(item)) {\n const ik = identity.isNode(item.key) ? item.key : null;\n if (ik) {\n if (!chompKeep && ik.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, ik.commentBefore, chompKeep);\n }\n }\n chompKeep = false;\n let str = stringify.stringify(item, itemCtx, () => (comment = null), () => (chompKeep = true));\n if (comment)\n str += stringifyComment.lineComment(str, itemIndent, commentString(comment));\n if (chompKeep && comment)\n chompKeep = false;\n lines.push(blockItemPrefix + str);\n }\n let str;\n if (lines.length === 0) {\n str = flowChars.start + flowChars.end;\n }\n else {\n str = lines[0];\n for (let i = 1; i < lines.length; ++i) {\n const line = lines[i];\n str += line ? `\\n${indent}${line}` : '\\n';\n }\n }\n if (comment) {\n str += '\\n' + stringifyComment.indentComment(commentString(comment), indent);\n if (onComment)\n onComment();\n }\n else if (chompKeep && onChompKeep)\n onChompKeep();\n return str;\n}\nfunction stringifyFlowCollection({ comment, items }, ctx, { flowChars, itemIndent, onComment }) {\n const { indent, indentStep, flowCollectionPadding: fcPadding, options: { commentString } } = ctx;\n itemIndent += indentStep;\n const itemCtx = Object.assign({}, ctx, {\n indent: itemIndent,\n inFlow: true,\n type: null\n });\n let reqNewline = false;\n let linesAtValue = 0;\n const lines = [];\n for (let i = 0; i < items.length; ++i) {\n const item = items[i];\n let comment = null;\n if (identity.isNode(item)) {\n if (item.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, item.commentBefore, false);\n if (item.comment)\n comment = item.comment;\n }\n else if (identity.isPair(item)) {\n const ik = identity.isNode(item.key) ? item.key : null;\n if (ik) {\n if (ik.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, ik.commentBefore, false);\n if (ik.comment)\n reqNewline = true;\n }\n const iv = identity.isNode(item.value) ? item.value : null;\n if (iv) {\n if (iv.comment)\n comment = iv.comment;\n if (iv.commentBefore)\n reqNewline = true;\n }\n else if (item.value == null && ik?.comment) {\n comment = ik.comment;\n }\n }\n if (comment)\n reqNewline = true;\n let str = stringify.stringify(item, itemCtx, () => (comment = null));\n if (i < items.length - 1)\n str += ',';\n if (comment)\n str += stringifyComment.lineComment(str, itemIndent, commentString(comment));\n if (!reqNewline && (lines.length > linesAtValue || str.includes('\\n')))\n reqNewline = true;\n lines.push(str);\n linesAtValue = lines.length;\n }\n let str;\n const { start, end } = flowChars;\n if (lines.length === 0) {\n str = start + end;\n }\n else {\n if (!reqNewline) {\n const len = lines.reduce((sum, line) => sum + line.length + 2, 2);\n reqNewline = len > Collection.Collection.maxFlowStringSingleLineLength;\n }\n if (reqNewline) {\n str = start;\n for (const line of lines)\n str += line ? `\\n${indentStep}${indent}${line}` : '\\n';\n str += `\\n${indent}${end}`;\n }\n else {\n str = `${start}${fcPadding}${lines.join(' ')}${fcPadding}${end}`;\n }\n }\n if (comment) {\n str += stringifyComment.lineComment(str, indent, commentString(comment));\n if (onComment)\n onComment();\n }\n return str;\n}\nfunction addCommentBefore({ indent, options: { commentString } }, lines, comment, chompKeep) {\n if (comment && chompKeep)\n comment = comment.replace(/^\\n+/, '');\n if (comment) {\n const ic = stringifyComment.indentComment(commentString(comment), indent);\n lines.push(ic.trimStart()); // Avoid double indent on first line\n }\n}\n\nexports.stringifyCollection = stringifyCollection;\n","'use strict';\n\n/**\n * Stringifies a comment.\n *\n * Empty comment lines are left empty,\n * lines consisting of a single space are replaced by `#`,\n * and all other lines are prefixed with a `#`.\n */\nconst stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, '#');\nfunction indentComment(comment, indent) {\n if (/^\\n+$/.test(comment))\n return comment.substring(1);\n return indent ? comment.replace(/^(?! *$)/gm, indent) : comment;\n}\nconst lineComment = (str, indent, comment) => str.endsWith('\\n')\n ? indentComment(comment, indent)\n : comment.includes('\\n')\n ? '\\n' + indentComment(comment, indent)\n : (str.endsWith(' ') ? '' : ' ') + comment;\n\nexports.indentComment = indentComment;\nexports.lineComment = lineComment;\nexports.stringifyComment = stringifyComment;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar stringify = require('./stringify.js');\nvar stringifyComment = require('./stringifyComment.js');\n\nfunction stringifyDocument(doc, options) {\n const lines = [];\n let hasDirectives = options.directives === true;\n if (options.directives !== false && doc.directives) {\n const dir = doc.directives.toString(doc);\n if (dir) {\n lines.push(dir);\n hasDirectives = true;\n }\n else if (doc.directives.docStart)\n hasDirectives = true;\n }\n if (hasDirectives)\n lines.push('---');\n const ctx = stringify.createStringifyContext(doc, options);\n const { commentString } = ctx.options;\n if (doc.commentBefore) {\n if (lines.length !== 1)\n lines.unshift('');\n const cs = commentString(doc.commentBefore);\n lines.unshift(stringifyComment.indentComment(cs, ''));\n }\n let chompKeep = false;\n let contentComment = null;\n if (doc.contents) {\n if (identity.isNode(doc.contents)) {\n if (doc.contents.spaceBefore && hasDirectives)\n lines.push('');\n if (doc.contents.commentBefore) {\n const cs = commentString(doc.contents.commentBefore);\n lines.push(stringifyComment.indentComment(cs, ''));\n }\n // top-level block scalars need to be indented if followed by a comment\n ctx.forceBlockIndent = !!doc.comment;\n contentComment = doc.contents.comment;\n }\n const onChompKeep = contentComment ? undefined : () => (chompKeep = true);\n let body = stringify.stringify(doc.contents, ctx, () => (contentComment = null), onChompKeep);\n if (contentComment)\n body += stringifyComment.lineComment(body, '', commentString(contentComment));\n if ((body[0] === '|' || body[0] === '>') &&\n lines[lines.length - 1] === '---') {\n // Top-level block scalars with a preceding doc marker ought to use the\n // same line for their header.\n lines[lines.length - 1] = `--- ${body}`;\n }\n else\n lines.push(body);\n }\n else {\n lines.push(stringify.stringify(doc.contents, ctx));\n }\n if (doc.directives?.docEnd) {\n if (doc.comment) {\n const cs = commentString(doc.comment);\n if (cs.includes('\\n')) {\n lines.push('...');\n lines.push(stringifyComment.indentComment(cs, ''));\n }\n else {\n lines.push(`... ${cs}`);\n }\n }\n else {\n lines.push('...');\n }\n }\n else {\n let dc = doc.comment;\n if (dc && chompKeep)\n dc = dc.replace(/^\\n+/, '');\n if (dc) {\n if ((!chompKeep || contentComment) && lines[lines.length - 1] !== '')\n lines.push('');\n lines.push(stringifyComment.indentComment(commentString(dc), ''));\n }\n }\n return lines.join('\\n') + '\\n';\n}\n\nexports.stringifyDocument = stringifyDocument;\n","'use strict';\n\nfunction stringifyNumber({ format, minFractionDigits, tag, value }) {\n if (typeof value === 'bigint')\n return String(value);\n const num = typeof value === 'number' ? value : Number(value);\n if (!isFinite(num))\n return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf';\n let n = JSON.stringify(value);\n if (!format &&\n minFractionDigits &&\n (!tag || tag === 'tag:yaml.org,2002:float') &&\n /^\\d/.test(n)) {\n let i = n.indexOf('.');\n if (i < 0) {\n i = n.length;\n n += '.';\n }\n let d = minFractionDigits - (n.length - i - 1);\n while (d-- > 0)\n n += '0';\n }\n return n;\n}\n\nexports.stringifyNumber = stringifyNumber;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\nvar stringify = require('./stringify.js');\nvar stringifyComment = require('./stringifyComment.js');\n\nfunction stringifyPair({ key, value }, ctx, onComment, onChompKeep) {\n const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;\n let keyComment = (identity.isNode(key) && key.comment) || null;\n if (simpleKeys) {\n if (keyComment) {\n throw new Error('With simple keys, key nodes cannot have comments');\n }\n if (identity.isCollection(key)) {\n const msg = 'With simple keys, collection cannot be used as a key value';\n throw new Error(msg);\n }\n }\n let explicitKey = !simpleKeys &&\n (!key ||\n (keyComment && value == null && !ctx.inFlow) ||\n identity.isCollection(key) ||\n (identity.isScalar(key)\n ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL\n : typeof key === 'object'));\n ctx = Object.assign({}, ctx, {\n allNullValues: false,\n implicitKey: !explicitKey && (simpleKeys || !allNullValues),\n indent: indent + indentStep\n });\n let keyCommentDone = false;\n let chompKeep = false;\n let str = stringify.stringify(key, ctx, () => (keyCommentDone = true), () => (chompKeep = true));\n if (!explicitKey && !ctx.inFlow && str.length > 1024) {\n if (simpleKeys)\n throw new Error('With simple keys, single line scalar must not span more than 1024 characters');\n explicitKey = true;\n }\n if (ctx.inFlow) {\n if (allNullValues || value == null) {\n if (keyCommentDone && onComment)\n onComment();\n return str === '' ? '?' : explicitKey ? `? ${str}` : str;\n }\n }\n else if ((allNullValues && !simpleKeys) || (value == null && explicitKey)) {\n str = `? ${str}`;\n if (keyComment && !keyCommentDone) {\n str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));\n }\n else if (chompKeep && onChompKeep)\n onChompKeep();\n return str;\n }\n if (keyCommentDone)\n keyComment = null;\n if (explicitKey) {\n if (keyComment)\n str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));\n str = `? ${str}\\n${indent}:`;\n }\n else {\n str = `${str}:`;\n if (keyComment)\n str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));\n }\n let vsb, vcb, valueComment;\n if (identity.isNode(value)) {\n vsb = !!value.spaceBefore;\n vcb = value.commentBefore;\n valueComment = value.comment;\n }\n else {\n vsb = false;\n vcb = null;\n valueComment = null;\n if (value && typeof value === 'object')\n value = doc.createNode(value);\n }\n ctx.implicitKey = false;\n if (!explicitKey && !keyComment && identity.isScalar(value))\n ctx.indentAtStart = str.length + 1;\n chompKeep = false;\n if (!indentSeq &&\n indentStep.length >= 2 &&\n !ctx.inFlow &&\n !explicitKey &&\n identity.isSeq(value) &&\n !value.flow &&\n !value.tag &&\n !value.anchor) {\n // If indentSeq === false, consider '- ' as part of indentation where possible\n ctx.indent = ctx.indent.substring(2);\n }\n let valueCommentDone = false;\n const valueStr = stringify.stringify(value, ctx, () => (valueCommentDone = true), () => (chompKeep = true));\n let ws = ' ';\n if (keyComment || vsb || vcb) {\n ws = vsb ? '\\n' : '';\n if (vcb) {\n const cs = commentString(vcb);\n ws += `\\n${stringifyComment.indentComment(cs, ctx.indent)}`;\n }\n if (valueStr === '' && !ctx.inFlow) {\n if (ws === '\\n')\n ws = '\\n\\n';\n }\n else {\n ws += `\\n${ctx.indent}`;\n }\n }\n else if (!explicitKey && identity.isCollection(value)) {\n const vs0 = valueStr[0];\n const nl0 = valueStr.indexOf('\\n');\n const hasNewline = nl0 !== -1;\n const flow = ctx.inFlow ?? value.flow ?? value.items.length === 0;\n if (hasNewline || !flow) {\n let hasPropsLine = false;\n if (hasNewline && (vs0 === '&' || vs0 === '!')) {\n let sp0 = valueStr.indexOf(' ');\n if (vs0 === '&' &&\n sp0 !== -1 &&\n sp0 < nl0 &&\n valueStr[sp0 + 1] === '!') {\n sp0 = valueStr.indexOf(' ', sp0 + 1);\n }\n if (sp0 === -1 || nl0 < sp0)\n hasPropsLine = true;\n }\n if (!hasPropsLine)\n ws = `\\n${ctx.indent}`;\n }\n }\n else if (valueStr === '' || valueStr[0] === '\\n') {\n ws = '';\n }\n str += ws + valueStr;\n if (ctx.inFlow) {\n if (valueCommentDone && onComment)\n onComment();\n }\n else if (valueComment && !valueCommentDone) {\n str += stringifyComment.lineComment(str, ctx.indent, commentString(valueComment));\n }\n else if (chompKeep && onChompKeep) {\n onChompKeep();\n }\n return str;\n}\n\nexports.stringifyPair = stringifyPair;\n","'use strict';\n\nvar Scalar = require('../nodes/Scalar.js');\nvar foldFlowLines = require('./foldFlowLines.js');\n\nconst getFoldOptions = (ctx, isBlock) => ({\n indentAtStart: isBlock ? ctx.indent.length : ctx.indentAtStart,\n lineWidth: ctx.options.lineWidth,\n minContentWidth: ctx.options.minContentWidth\n});\n// Also checks for lines starting with %, as parsing the output as YAML 1.1 will\n// presume that's starting a new document.\nconst containsDocumentMarker = (str) => /^(%|---|\\.\\.\\.)/m.test(str);\nfunction lineLengthOverLimit(str, lineWidth, indentLength) {\n if (!lineWidth || lineWidth < 0)\n return false;\n const limit = lineWidth - indentLength;\n const strLen = str.length;\n if (strLen <= limit)\n return false;\n for (let i = 0, start = 0; i < strLen; ++i) {\n if (str[i] === '\\n') {\n if (i - start > limit)\n return true;\n start = i + 1;\n if (strLen - start <= limit)\n return false;\n }\n }\n return true;\n}\nfunction doubleQuotedString(value, ctx) {\n const json = JSON.stringify(value);\n if (ctx.options.doubleQuotedAsJSON)\n return json;\n const { implicitKey } = ctx;\n const minMultiLineLength = ctx.options.doubleQuotedMinMultiLineLength;\n const indent = ctx.indent || (containsDocumentMarker(value) ? ' ' : '');\n let str = '';\n let start = 0;\n for (let i = 0, ch = json[i]; ch; ch = json[++i]) {\n if (ch === ' ' && json[i + 1] === '\\\\' && json[i + 2] === 'n') {\n // space before newline needs to be escaped to not be folded\n str += json.slice(start, i) + '\\\\ ';\n i += 1;\n start = i;\n ch = '\\\\';\n }\n if (ch === '\\\\')\n switch (json[i + 1]) {\n case 'u':\n {\n str += json.slice(start, i);\n const code = json.substr(i + 2, 4);\n switch (code) {\n case '0000':\n str += '\\\\0';\n break;\n case '0007':\n str += '\\\\a';\n break;\n case '000b':\n str += '\\\\v';\n break;\n case '001b':\n str += '\\\\e';\n break;\n case '0085':\n str += '\\\\N';\n break;\n case '00a0':\n str += '\\\\_';\n break;\n case '2028':\n str += '\\\\L';\n break;\n case '2029':\n str += '\\\\P';\n break;\n default:\n if (code.substr(0, 2) === '00')\n str += '\\\\x' + code.substr(2);\n else\n str += json.substr(i, 6);\n }\n i += 5;\n start = i + 1;\n }\n break;\n case 'n':\n if (implicitKey ||\n json[i + 2] === '\"' ||\n json.length < minMultiLineLength) {\n i += 1;\n }\n else {\n // folding will eat first newline\n str += json.slice(start, i) + '\\n\\n';\n while (json[i + 2] === '\\\\' &&\n json[i + 3] === 'n' &&\n json[i + 4] !== '\"') {\n str += '\\n';\n i += 2;\n }\n str += indent;\n // space after newline needs to be escaped to not be folded\n if (json[i + 2] === ' ')\n str += '\\\\';\n i += 1;\n start = i + 1;\n }\n break;\n default:\n i += 1;\n }\n }\n str = start ? str + json.slice(start) : json;\n return implicitKey\n ? str\n : foldFlowLines.foldFlowLines(str, indent, foldFlowLines.FOLD_QUOTED, getFoldOptions(ctx, false));\n}\nfunction singleQuotedString(value, ctx) {\n if (ctx.options.singleQuote === false ||\n (ctx.implicitKey && value.includes('\\n')) ||\n /[ \\t]\\n|\\n[ \\t]/.test(value) // single quoted string can't have leading or trailing whitespace around newline\n )\n return doubleQuotedString(value, ctx);\n const indent = ctx.indent || (containsDocumentMarker(value) ? ' ' : '');\n const res = \"'\" + value.replace(/'/g, \"''\").replace(/\\n+/g, `$&\\n${indent}`) + \"'\";\n return ctx.implicitKey\n ? res\n : foldFlowLines.foldFlowLines(res, indent, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false));\n}\nfunction quotedString(value, ctx) {\n const { singleQuote } = ctx.options;\n let qs;\n if (singleQuote === false)\n qs = doubleQuotedString;\n else {\n const hasDouble = value.includes('\"');\n const hasSingle = value.includes(\"'\");\n if (hasDouble && !hasSingle)\n qs = singleQuotedString;\n else if (hasSingle && !hasDouble)\n qs = doubleQuotedString;\n else\n qs = singleQuote ? singleQuotedString : doubleQuotedString;\n }\n return qs(value, ctx);\n}\n// The negative lookbehind avoids a polynomial search,\n// but isn't supported yet on Safari: https://caniuse.com/js-regexp-lookbehind\nlet blockEndNewlines;\ntry {\n blockEndNewlines = new RegExp('(^|(?\\n';\n // determine chomping from whitespace at value end\n let chomp;\n let endStart;\n for (endStart = value.length; endStart > 0; --endStart) {\n const ch = value[endStart - 1];\n if (ch !== '\\n' && ch !== '\\t' && ch !== ' ')\n break;\n }\n let end = value.substring(endStart);\n const endNlPos = end.indexOf('\\n');\n if (endNlPos === -1) {\n chomp = '-'; // strip\n }\n else if (value === end || endNlPos !== end.length - 1) {\n chomp = '+'; // keep\n if (onChompKeep)\n onChompKeep();\n }\n else {\n chomp = ''; // clip\n }\n if (end) {\n value = value.slice(0, -end.length);\n if (end[end.length - 1] === '\\n')\n end = end.slice(0, -1);\n end = end.replace(blockEndNewlines, `$&${indent}`);\n }\n // determine indent indicator from whitespace at value start\n let startWithSpace = false;\n let startEnd;\n let startNlPos = -1;\n for (startEnd = 0; startEnd < value.length; ++startEnd) {\n const ch = value[startEnd];\n if (ch === ' ')\n startWithSpace = true;\n else if (ch === '\\n')\n startNlPos = startEnd;\n else\n break;\n }\n let start = value.substring(0, startNlPos < startEnd ? startNlPos + 1 : startEnd);\n if (start) {\n value = value.substring(start.length);\n start = start.replace(/\\n+/g, `$&${indent}`);\n }\n const indentSize = indent ? '2' : '1'; // root is at -1\n let header = (literal ? '|' : '>') + (startWithSpace ? indentSize : '') + chomp;\n if (comment) {\n header += ' ' + commentString(comment.replace(/ ?[\\r\\n]+/g, ' '));\n if (onComment)\n onComment();\n }\n if (literal) {\n value = value.replace(/\\n+/g, `$&${indent}`);\n return `${header}\\n${indent}${start}${value}${end}`;\n }\n value = value\n .replace(/\\n+/g, '\\n$&')\n .replace(/(?:^|\\n)([\\t ].*)(?:([\\n\\t ]*)\\n(?![\\n\\t ]))?/g, '$1$2') // more-indented lines aren't folded\n // ^ more-ind. ^ empty ^ capture next empty lines only at end of indent\n .replace(/\\n+/g, `$&${indent}`);\n const body = foldFlowLines.foldFlowLines(`${start}${value}${end}`, indent, foldFlowLines.FOLD_BLOCK, getFoldOptions(ctx, true));\n return `${header}\\n${indent}${body}`;\n}\nfunction plainString(item, ctx, onComment, onChompKeep) {\n const { type, value } = item;\n const { actualString, implicitKey, indent, indentStep, inFlow } = ctx;\n if ((implicitKey && value.includes('\\n')) ||\n (inFlow && /[[\\]{},]/.test(value))) {\n return quotedString(value, ctx);\n }\n if (!value ||\n /^[\\n\\t ,[\\]{}#&*!|>'\"%@`]|^[?-]$|^[?-][ \\t]|[\\n:][ \\t]|[ \\t]\\n|[\\n\\t ]#|[\\n\\t :]$/.test(value)) {\n // not allowed:\n // - empty string, '-' or '?'\n // - start with an indicator character (except [?:-]) or /[?-] /\n // - '\\n ', ': ' or ' \\n' anywhere\n // - '#' not preceded by a non-space char\n // - end with ' ' or ':'\n return implicitKey || inFlow || !value.includes('\\n')\n ? quotedString(value, ctx)\n : blockString(item, ctx, onComment, onChompKeep);\n }\n if (!implicitKey &&\n !inFlow &&\n type !== Scalar.Scalar.PLAIN &&\n value.includes('\\n')) {\n // Where allowed & type not set explicitly, prefer block style for multiline strings\n return blockString(item, ctx, onComment, onChompKeep);\n }\n if (containsDocumentMarker(value)) {\n if (indent === '') {\n ctx.forceBlockIndent = true;\n return blockString(item, ctx, onComment, onChompKeep);\n }\n else if (implicitKey && indent === indentStep) {\n return quotedString(value, ctx);\n }\n }\n const str = value.replace(/\\n+/g, `$&\\n${indent}`);\n // Verify that output will be parsed as a string, as e.g. plain numbers and\n // booleans get parsed with those types in v1.2 (e.g. '42', 'true' & '0.9e-3'),\n // and others in v1.1.\n if (actualString) {\n const test = (tag) => tag.default && tag.tag !== 'tag:yaml.org,2002:str' && tag.test?.test(str);\n const { compat, tags } = ctx.doc.schema;\n if (tags.some(test) || compat?.some(test))\n return quotedString(value, ctx);\n }\n return implicitKey\n ? str\n : foldFlowLines.foldFlowLines(str, indent, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false));\n}\nfunction stringifyString(item, ctx, onComment, onChompKeep) {\n const { implicitKey, inFlow } = ctx;\n const ss = typeof item.value === 'string'\n ? item\n : Object.assign({}, item, { value: String(item.value) });\n let { type } = item;\n if (type !== Scalar.Scalar.QUOTE_DOUBLE) {\n // force double quotes on control characters & unpaired surrogates\n if (/[\\x00-\\x08\\x0b-\\x1f\\x7f-\\x9f\\u{D800}-\\u{DFFF}]/u.test(ss.value))\n type = Scalar.Scalar.QUOTE_DOUBLE;\n }\n const _stringify = (_type) => {\n switch (_type) {\n case Scalar.Scalar.BLOCK_FOLDED:\n case Scalar.Scalar.BLOCK_LITERAL:\n return implicitKey || inFlow\n ? quotedString(ss.value, ctx) // blocks are not valid inside flow containers\n : blockString(ss, ctx, onComment, onChompKeep);\n case Scalar.Scalar.QUOTE_DOUBLE:\n return doubleQuotedString(ss.value, ctx);\n case Scalar.Scalar.QUOTE_SINGLE:\n return singleQuotedString(ss.value, ctx);\n case Scalar.Scalar.PLAIN:\n return plainString(ss, ctx, onComment, onChompKeep);\n default:\n return null;\n }\n };\n let res = _stringify(type);\n if (res === null) {\n const { defaultKeyType, defaultStringType } = ctx.options;\n const t = (implicitKey && defaultKeyType) || defaultStringType;\n res = _stringify(t);\n if (res === null)\n throw new Error(`Unsupported default string type ${t}`);\n }\n return res;\n}\n\nexports.stringifyString = stringifyString;\n","'use strict';\n\nvar identity = require('./nodes/identity.js');\n\nconst BREAK = Symbol('break visit');\nconst SKIP = Symbol('skip children');\nconst REMOVE = Symbol('remove node');\n/**\n * Apply a visitor to an AST node or document.\n *\n * Walks through the tree (depth-first) starting from `node`, calling a\n * `visitor` function with three arguments:\n * - `key`: For sequence values and map `Pair`, the node's index in the\n * collection. Within a `Pair`, `'key'` or `'value'`, correspondingly.\n * `null` for the root node.\n * - `node`: The current node.\n * - `path`: The ancestry of the current node.\n *\n * The return value of the visitor may be used to control the traversal:\n * - `undefined` (default): Do nothing and continue\n * - `visit.SKIP`: Do not visit the children of this node, continue with next\n * sibling\n * - `visit.BREAK`: Terminate traversal completely\n * - `visit.REMOVE`: Remove the current node, then continue with the next one\n * - `Node`: Replace the current node, then continue by visiting it\n * - `number`: While iterating the items of a sequence or map, set the index\n * of the next step. This is useful especially if the index of the current\n * node has changed.\n *\n * If `visitor` is a single function, it will be called with all values\n * encountered in the tree, including e.g. `null` values. Alternatively,\n * separate visitor functions may be defined for each `Map`, `Pair`, `Seq`,\n * `Alias` and `Scalar` node. To define the same visitor function for more than\n * one node type, use the `Collection` (map and seq), `Value` (map, seq & scalar)\n * and `Node` (alias, map, seq & scalar) targets. Of all these, only the most\n * specific defined one will be used for each node.\n */\nfunction visit(node, visitor) {\n const visitor_ = initVisitor(visitor);\n if (identity.isDocument(node)) {\n const cd = visit_(null, node.contents, visitor_, Object.freeze([node]));\n if (cd === REMOVE)\n node.contents = null;\n }\n else\n visit_(null, node, visitor_, Object.freeze([]));\n}\n// Without the `as symbol` casts, TS declares these in the `visit`\n// namespace using `var`, but then complains about that because\n// `unique symbol` must be `const`.\n/** Terminate visit traversal completely */\nvisit.BREAK = BREAK;\n/** Do not visit the children of the current node */\nvisit.SKIP = SKIP;\n/** Remove the current node */\nvisit.REMOVE = REMOVE;\nfunction visit_(key, node, visitor, path) {\n const ctrl = callVisitor(key, node, visitor, path);\n if (identity.isNode(ctrl) || identity.isPair(ctrl)) {\n replaceNode(key, path, ctrl);\n return visit_(key, ctrl, visitor, path);\n }\n if (typeof ctrl !== 'symbol') {\n if (identity.isCollection(node)) {\n path = Object.freeze(path.concat(node));\n for (let i = 0; i < node.items.length; ++i) {\n const ci = visit_(i, node.items[i], visitor, path);\n if (typeof ci === 'number')\n i = ci - 1;\n else if (ci === BREAK)\n return BREAK;\n else if (ci === REMOVE) {\n node.items.splice(i, 1);\n i -= 1;\n }\n }\n }\n else if (identity.isPair(node)) {\n path = Object.freeze(path.concat(node));\n const ck = visit_('key', node.key, visitor, path);\n if (ck === BREAK)\n return BREAK;\n else if (ck === REMOVE)\n node.key = null;\n const cv = visit_('value', node.value, visitor, path);\n if (cv === BREAK)\n return BREAK;\n else if (cv === REMOVE)\n node.value = null;\n }\n }\n return ctrl;\n}\n/**\n * Apply an async visitor to an AST node or document.\n *\n * Walks through the tree (depth-first) starting from `node`, calling a\n * `visitor` function with three arguments:\n * - `key`: For sequence values and map `Pair`, the node's index in the\n * collection. Within a `Pair`, `'key'` or `'value'`, correspondingly.\n * `null` for the root node.\n * - `node`: The current node.\n * - `path`: The ancestry of the current node.\n *\n * The return value of the visitor may be used to control the traversal:\n * - `Promise`: Must resolve to one of the following values\n * - `undefined` (default): Do nothing and continue\n * - `visit.SKIP`: Do not visit the children of this node, continue with next\n * sibling\n * - `visit.BREAK`: Terminate traversal completely\n * - `visit.REMOVE`: Remove the current node, then continue with the next one\n * - `Node`: Replace the current node, then continue by visiting it\n * - `number`: While iterating the items of a sequence or map, set the index\n * of the next step. This is useful especially if the index of the current\n * node has changed.\n *\n * If `visitor` is a single function, it will be called with all values\n * encountered in the tree, including e.g. `null` values. Alternatively,\n * separate visitor functions may be defined for each `Map`, `Pair`, `Seq`,\n * `Alias` and `Scalar` node. To define the same visitor function for more than\n * one node type, use the `Collection` (map and seq), `Value` (map, seq & scalar)\n * and `Node` (alias, map, seq & scalar) targets. Of all these, only the most\n * specific defined one will be used for each node.\n */\nasync function visitAsync(node, visitor) {\n const visitor_ = initVisitor(visitor);\n if (identity.isDocument(node)) {\n const cd = await visitAsync_(null, node.contents, visitor_, Object.freeze([node]));\n if (cd === REMOVE)\n node.contents = null;\n }\n else\n await visitAsync_(null, node, visitor_, Object.freeze([]));\n}\n// Without the `as symbol` casts, TS declares these in the `visit`\n// namespace using `var`, but then complains about that because\n// `unique symbol` must be `const`.\n/** Terminate visit traversal completely */\nvisitAsync.BREAK = BREAK;\n/** Do not visit the children of the current node */\nvisitAsync.SKIP = SKIP;\n/** Remove the current node */\nvisitAsync.REMOVE = REMOVE;\nasync function visitAsync_(key, node, visitor, path) {\n const ctrl = await callVisitor(key, node, visitor, path);\n if (identity.isNode(ctrl) || identity.isPair(ctrl)) {\n replaceNode(key, path, ctrl);\n return visitAsync_(key, ctrl, visitor, path);\n }\n if (typeof ctrl !== 'symbol') {\n if (identity.isCollection(node)) {\n path = Object.freeze(path.concat(node));\n for (let i = 0; i < node.items.length; ++i) {\n const ci = await visitAsync_(i, node.items[i], visitor, path);\n if (typeof ci === 'number')\n i = ci - 1;\n else if (ci === BREAK)\n return BREAK;\n else if (ci === REMOVE) {\n node.items.splice(i, 1);\n i -= 1;\n }\n }\n }\n else if (identity.isPair(node)) {\n path = Object.freeze(path.concat(node));\n const ck = await visitAsync_('key', node.key, visitor, path);\n if (ck === BREAK)\n return BREAK;\n else if (ck === REMOVE)\n node.key = null;\n const cv = await visitAsync_('value', node.value, visitor, path);\n if (cv === BREAK)\n return BREAK;\n else if (cv === REMOVE)\n node.value = null;\n }\n }\n return ctrl;\n}\nfunction initVisitor(visitor) {\n if (typeof visitor === 'object' &&\n (visitor.Collection || visitor.Node || visitor.Value)) {\n return Object.assign({\n Alias: visitor.Node,\n Map: visitor.Node,\n Scalar: visitor.Node,\n Seq: visitor.Node\n }, visitor.Value && {\n Map: visitor.Value,\n Scalar: visitor.Value,\n Seq: visitor.Value\n }, visitor.Collection && {\n Map: visitor.Collection,\n Seq: visitor.Collection\n }, visitor);\n }\n return visitor;\n}\nfunction callVisitor(key, node, visitor, path) {\n if (typeof visitor === 'function')\n return visitor(key, node, path);\n if (identity.isMap(node))\n return visitor.Map?.(key, node, path);\n if (identity.isSeq(node))\n return visitor.Seq?.(key, node, path);\n if (identity.isPair(node))\n return visitor.Pair?.(key, node, path);\n if (identity.isScalar(node))\n return visitor.Scalar?.(key, node, path);\n if (identity.isAlias(node))\n return visitor.Alias?.(key, node, path);\n return undefined;\n}\nfunction replaceNode(key, path, node) {\n const parent = path[path.length - 1];\n if (identity.isCollection(parent)) {\n parent.items[key] = node;\n }\n else if (identity.isPair(parent)) {\n if (key === 'key')\n parent.key = node;\n else\n parent.value = node;\n }\n else if (identity.isDocument(parent)) {\n parent.contents = node;\n }\n else {\n const pt = identity.isAlias(parent) ? 'alias' : 'scalar';\n throw new Error(`Cannot replace node with ${pt} parent`);\n }\n}\n\nexports.visit = visit;\nexports.visitAsync = visitAsync;\n","/* c8 ignore start */\n// 64 KiB (same size chrome slice theirs blob into Uint8array's)\nconst POOL_SIZE = 65536\n\nif (!globalThis.ReadableStream) {\n // `node:stream/web` got introduced in v16.5.0 as experimental\n // and it's preferred over the polyfilled version. So we also\n // suppress the warning that gets emitted by NodeJS for using it.\n try {\n const process = require('node:process')\n const { emitWarning } = process\n try {\n process.emitWarning = () => {}\n Object.assign(globalThis, require('node:stream/web'))\n process.emitWarning = emitWarning\n } catch (error) {\n process.emitWarning = emitWarning\n throw error\n }\n } catch (error) {\n // fallback to polyfill implementation\n Object.assign(globalThis, require('web-streams-polyfill/dist/ponyfill.es2018.js'))\n }\n}\n\ntry {\n // Don't use node: prefix for this, require+node: is not supported until node v14.14\n // Only `import()` can use prefix in 12.20 and later\n const { Blob } = require('buffer')\n if (Blob && !Blob.prototype.stream) {\n Blob.prototype.stream = function name (params) {\n let position = 0\n const blob = this\n\n return new ReadableStream({\n type: 'bytes',\n async pull (ctrl) {\n const chunk = blob.slice(position, Math.min(blob.size, position + POOL_SIZE))\n const buffer = await chunk.arrayBuffer()\n position += buffer.byteLength\n ctrl.enqueue(new Uint8Array(buffer))\n\n if (position === blob.size) {\n ctrl.close()\n }\n }\n })\n }\n }\n} catch (error) {}\n/* c8 ignore end */\n","import Blob from './index.js'\n\nconst _File = class File extends Blob {\n #lastModified = 0\n #name = ''\n\n /**\n * @param {*[]} fileBits\n * @param {string} fileName\n * @param {{lastModified?: number, type?: string}} options\n */// @ts-ignore\n constructor (fileBits, fileName, options = {}) {\n if (arguments.length < 2) {\n throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`)\n }\n super(fileBits, options)\n\n if (options === null) options = {}\n\n // Simulate WebIDL type casting for NaN value in lastModified option.\n const lastModified = options.lastModified === undefined ? Date.now() : Number(options.lastModified)\n if (!Number.isNaN(lastModified)) {\n this.#lastModified = lastModified\n }\n\n this.#name = String(fileName)\n }\n\n get name () {\n return this.#name\n }\n\n get lastModified () {\n return this.#lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n\n static [Symbol.hasInstance] (object) {\n return !!object && object instanceof Blob &&\n /^(File)$/.test(object[Symbol.toStringTag])\n }\n}\n\n/** @type {typeof globalThis.File} */// @ts-ignore\nexport const File = _File\nexport default File\n","import { statSync, createReadStream, promises as fs } from 'node:fs'\nimport { basename } from 'node:path'\nimport DOMException from 'node-domexception'\n\nimport File from './file.js'\nimport Blob from './index.js'\n\nconst { stat } = fs\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n */\nconst blobFromSync = (path, type) => fromBlob(statSync(path), path, type)\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n * @returns {Promise}\n */\nconst blobFrom = (path, type) => stat(path).then(stat => fromBlob(stat, path, type))\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n * @returns {Promise}\n */\nconst fileFrom = (path, type) => stat(path).then(stat => fromFile(stat, path, type))\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n */\nconst fileFromSync = (path, type) => fromFile(statSync(path), path, type)\n\n// @ts-ignore\nconst fromBlob = (stat, path, type = '') => new Blob([new BlobDataItem({\n path,\n size: stat.size,\n lastModified: stat.mtimeMs,\n start: 0\n})], { type })\n\n// @ts-ignore\nconst fromFile = (stat, path, type = '') => new File([new BlobDataItem({\n path,\n size: stat.size,\n lastModified: stat.mtimeMs,\n start: 0\n})], basename(path), { type, lastModified: stat.mtimeMs })\n\n/**\n * This is a blob backed up by a file on the disk\n * with minium requirement. Its wrapped around a Blob as a blobPart\n * so you have no direct access to this.\n *\n * @private\n */\nclass BlobDataItem {\n #path\n #start\n\n constructor (options) {\n this.#path = options.path\n this.#start = options.start\n this.size = options.size\n this.lastModified = options.lastModified\n }\n\n /**\n * Slicing arguments is first validated and formatted\n * to not be out of range by Blob.prototype.slice\n */\n slice (start, end) {\n return new BlobDataItem({\n path: this.#path,\n lastModified: this.lastModified,\n size: end - start,\n start: this.#start + start\n })\n }\n\n async * stream () {\n const { mtimeMs } = await stat(this.#path)\n if (mtimeMs > this.lastModified) {\n throw new DOMException('The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.', 'NotReadableError')\n }\n yield * createReadStream(this.#path, {\n start: this.#start,\n end: this.#start + this.size - 1\n })\n }\n\n get [Symbol.toStringTag] () {\n return 'Blob'\n }\n}\n\nexport default blobFromSync\nexport { File, Blob, blobFrom, blobFromSync, fileFrom, fileFromSync }\n","/*! fetch-blob. MIT License. Jimmy Wärting */\n\n// TODO (jimmywarting): in the feature use conditional loading with top level await (requires 14.x)\n// Node has recently added whatwg stream into core\n\nimport './streams.cjs'\n\n// 64 KiB (same size chrome slice theirs blob into Uint8array's)\nconst POOL_SIZE = 65536\n\n/** @param {(Blob | Uint8Array)[]} parts */\nasync function * toIterator (parts, clone = true) {\n for (const part of parts) {\n if ('stream' in part) {\n yield * (/** @type {AsyncIterableIterator} */ (part.stream()))\n } else if (ArrayBuffer.isView(part)) {\n if (clone) {\n let position = part.byteOffset\n const end = part.byteOffset + part.byteLength\n while (position !== end) {\n const size = Math.min(end - position, POOL_SIZE)\n const chunk = part.buffer.slice(position, position + size)\n position += chunk.byteLength\n yield new Uint8Array(chunk)\n }\n } else {\n yield part\n }\n /* c8 ignore next 10 */\n } else {\n // For blobs that have arrayBuffer but no stream method (nodes buffer.Blob)\n let position = 0, b = (/** @type {Blob} */ (part))\n while (position !== b.size) {\n const chunk = b.slice(position, Math.min(b.size, position + POOL_SIZE))\n const buffer = await chunk.arrayBuffer()\n position += buffer.byteLength\n yield new Uint8Array(buffer)\n }\n }\n }\n}\n\nconst _Blob = class Blob {\n /** @type {Array.<(Blob|Uint8Array)>} */\n #parts = []\n #type = ''\n #size = 0\n #endings = 'transparent'\n\n /**\n * The Blob() constructor returns a new Blob object. The content\n * of the blob consists of the concatenation of the values given\n * in the parameter array.\n *\n * @param {*} blobParts\n * @param {{ type?: string, endings?: string }} [options]\n */\n constructor (blobParts = [], options = {}) {\n if (typeof blobParts !== 'object' || blobParts === null) {\n throw new TypeError('Failed to construct \\'Blob\\': The provided value cannot be converted to a sequence.')\n }\n\n if (typeof blobParts[Symbol.iterator] !== 'function') {\n throw new TypeError('Failed to construct \\'Blob\\': The object must have a callable @@iterator property.')\n }\n\n if (typeof options !== 'object' && typeof options !== 'function') {\n throw new TypeError('Failed to construct \\'Blob\\': parameter 2 cannot convert to dictionary.')\n }\n\n if (options === null) options = {}\n\n const encoder = new TextEncoder()\n for (const element of blobParts) {\n let part\n if (ArrayBuffer.isView(element)) {\n part = new Uint8Array(element.buffer.slice(element.byteOffset, element.byteOffset + element.byteLength))\n } else if (element instanceof ArrayBuffer) {\n part = new Uint8Array(element.slice(0))\n } else if (element instanceof Blob) {\n part = element\n } else {\n part = encoder.encode(`${element}`)\n }\n\n this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size\n this.#parts.push(part)\n }\n\n this.#endings = `${options.endings === undefined ? 'transparent' : options.endings}`\n const type = options.type === undefined ? '' : String(options.type)\n this.#type = /^[\\x20-\\x7E]*$/.test(type) ? type : ''\n }\n\n /**\n * The Blob interface's size property returns the\n * size of the Blob in bytes.\n */\n get size () {\n return this.#size\n }\n\n /**\n * The type property of a Blob object returns the MIME type of the file.\n */\n get type () {\n return this.#type\n }\n\n /**\n * The text() method in the Blob interface returns a Promise\n * that resolves with a string containing the contents of\n * the blob, interpreted as UTF-8.\n *\n * @return {Promise}\n */\n async text () {\n // More optimized than using this.arrayBuffer()\n // that requires twice as much ram\n const decoder = new TextDecoder()\n let str = ''\n for await (const part of toIterator(this.#parts, false)) {\n str += decoder.decode(part, { stream: true })\n }\n // Remaining\n str += decoder.decode()\n return str\n }\n\n /**\n * The arrayBuffer() method in the Blob interface returns a\n * Promise that resolves with the contents of the blob as\n * binary data contained in an ArrayBuffer.\n *\n * @return {Promise}\n */\n async arrayBuffer () {\n // Easier way... Just a unnecessary overhead\n // const view = new Uint8Array(this.size);\n // await this.stream().getReader({mode: 'byob'}).read(view);\n // return view.buffer;\n\n const data = new Uint8Array(this.size)\n let offset = 0\n for await (const chunk of toIterator(this.#parts, false)) {\n data.set(chunk, offset)\n offset += chunk.length\n }\n\n return data.buffer\n }\n\n stream () {\n const it = toIterator(this.#parts, true)\n\n return new globalThis.ReadableStream({\n // @ts-ignore\n type: 'bytes',\n async pull (ctrl) {\n const chunk = await it.next()\n chunk.done ? ctrl.close() : ctrl.enqueue(chunk.value)\n },\n\n async cancel () {\n await it.return()\n }\n })\n }\n\n /**\n * The Blob interface's slice() method creates and returns a\n * new Blob object which contains data from a subset of the\n * blob on which it's called.\n *\n * @param {number} [start]\n * @param {number} [end]\n * @param {string} [type]\n */\n slice (start = 0, end = this.size, type = '') {\n const { size } = this\n\n let relativeStart = start < 0 ? Math.max(size + start, 0) : Math.min(start, size)\n let relativeEnd = end < 0 ? Math.max(size + end, 0) : Math.min(end, size)\n\n const span = Math.max(relativeEnd - relativeStart, 0)\n const parts = this.#parts\n const blobParts = []\n let added = 0\n\n for (const part of parts) {\n // don't add the overflow to new blobParts\n if (added >= span) {\n break\n }\n\n const size = ArrayBuffer.isView(part) ? part.byteLength : part.size\n if (relativeStart && size <= relativeStart) {\n // Skip the beginning and change the relative\n // start & end position as we skip the unwanted parts\n relativeStart -= size\n relativeEnd -= size\n } else {\n let chunk\n if (ArrayBuffer.isView(part)) {\n chunk = part.subarray(relativeStart, Math.min(size, relativeEnd))\n added += chunk.byteLength\n } else {\n chunk = part.slice(relativeStart, Math.min(size, relativeEnd))\n added += chunk.size\n }\n relativeEnd -= size\n blobParts.push(chunk)\n relativeStart = 0 // All next sequential parts should start at 0\n }\n }\n\n const blob = new Blob([], { type: String(type).toLowerCase() })\n blob.#size = span\n blob.#parts = blobParts\n\n return blob\n }\n\n get [Symbol.toStringTag] () {\n return 'Blob'\n }\n\n static [Symbol.hasInstance] (object) {\n return (\n object &&\n typeof object === 'object' &&\n typeof object.constructor === 'function' &&\n (\n typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function'\n ) &&\n /^(Blob|File)$/.test(object[Symbol.toStringTag])\n )\n }\n}\n\nObject.defineProperties(_Blob.prototype, {\n size: { enumerable: true },\n type: { enumerable: true },\n slice: { enumerable: true }\n})\n\n/** @type {typeof globalThis.Blob} */\nexport const Blob = _Blob\nexport default Blob\n","/*! formdata-polyfill. MIT License. Jimmy Wärting */\n\nimport C from 'fetch-blob'\nimport F from 'fetch-blob/file.js'\n\nvar {toStringTag:t,iterator:i,hasInstance:h}=Symbol,\nr=Math.random,\nm='append,set,get,getAll,delete,keys,values,entries,forEach,constructor'.split(','),\nf=(a,b,c)=>(a+='',/^(Blob|File)$/.test(b && b[t])?[(c=c!==void 0?c+'':b[t]=='File'?b.name:'blob',a),b.name!==c||b[t]=='blob'?new F([b],c,b):b]:[a,b+'']),\ne=(c,f)=>(f?c:c.replace(/\\r?\\n|\\r/g,'\\r\\n')).replace(/\\n/g,'%0A').replace(/\\r/g,'%0D').replace(/\"/g,'%22'),\nx=(n, a, e)=>{if(a.lengthtypeof o[m]!='function')}\nappend(...a){x('append',arguments,2);this.#d.push(f(...a))}\ndelete(a){x('delete',arguments,1);a+='';this.#d=this.#d.filter(([b])=>b!==a)}\nget(a){x('get',arguments,1);a+='';for(var b=this.#d,l=b.length,c=0;cc[0]===a&&b.push(c[1]));return b}\nhas(a){x('has',arguments,1);a+='';return this.#d.some(b=>b[0]===a)}\nforEach(a,b){x('forEach',arguments,1);for(var [c,d]of this)a.call(b,d,c,this)}\nset(...a){x('set',arguments,2);var b=[],c=!0;a=f(...a);this.#d.forEach(d=>{d[0]===a[0]?c&&(c=!b.push(a)):b.push(d)});c&&b.push(a);this.#d=b}\n*entries(){yield*this.#d}\n*keys(){for(var[a]of this)yield a}\n*values(){for(var[,a]of this)yield a}}\n\n/** @param {FormData} F */\nexport function formDataToBlob (F,B=C){\nvar b=`${r()}${r()}`.replace(/\\./g, '').slice(-28).padStart(32, '-'),c=[],p=`--${b}\\r\\nContent-Disposition: form-data; name=\"`\nF.forEach((v,n)=>typeof v=='string'\n?c.push(p+e(n)+`\"\\r\\n\\r\\n${v.replace(/\\r(?!\\n)|(? c | 0x20;\n\nconst noop = () => {};\n\nclass MultipartParser {\n\t/**\n\t * @param {string} boundary\n\t */\n\tconstructor(boundary) {\n\t\tthis.index = 0;\n\t\tthis.flags = 0;\n\n\t\tthis.onHeaderEnd = noop;\n\t\tthis.onHeaderField = noop;\n\t\tthis.onHeadersEnd = noop;\n\t\tthis.onHeaderValue = noop;\n\t\tthis.onPartBegin = noop;\n\t\tthis.onPartData = noop;\n\t\tthis.onPartEnd = noop;\n\n\t\tthis.boundaryChars = {};\n\n\t\tboundary = '\\r\\n--' + boundary;\n\t\tconst ui8a = new Uint8Array(boundary.length);\n\t\tfor (let i = 0; i < boundary.length; i++) {\n\t\t\tui8a[i] = boundary.charCodeAt(i);\n\t\t\tthis.boundaryChars[ui8a[i]] = true;\n\t\t}\n\n\t\tthis.boundary = ui8a;\n\t\tthis.lookbehind = new Uint8Array(this.boundary.length + 8);\n\t\tthis.state = S.START_BOUNDARY;\n\t}\n\n\t/**\n\t * @param {Uint8Array} data\n\t */\n\twrite(data) {\n\t\tlet i = 0;\n\t\tconst length_ = data.length;\n\t\tlet previousIndex = this.index;\n\t\tlet {lookbehind, boundary, boundaryChars, index, state, flags} = this;\n\t\tconst boundaryLength = this.boundary.length;\n\t\tconst boundaryEnd = boundaryLength - 1;\n\t\tconst bufferLength = data.length;\n\t\tlet c;\n\t\tlet cl;\n\n\t\tconst mark = name => {\n\t\t\tthis[name + 'Mark'] = i;\n\t\t};\n\n\t\tconst clear = name => {\n\t\t\tdelete this[name + 'Mark'];\n\t\t};\n\n\t\tconst callback = (callbackSymbol, start, end, ui8a) => {\n\t\t\tif (start === undefined || start !== end) {\n\t\t\t\tthis[callbackSymbol](ui8a && ui8a.subarray(start, end));\n\t\t\t}\n\t\t};\n\n\t\tconst dataCallback = (name, clear) => {\n\t\t\tconst markSymbol = name + 'Mark';\n\t\t\tif (!(markSymbol in this)) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (clear) {\n\t\t\t\tcallback(name, this[markSymbol], i, data);\n\t\t\t\tdelete this[markSymbol];\n\t\t\t} else {\n\t\t\t\tcallback(name, this[markSymbol], data.length, data);\n\t\t\t\tthis[markSymbol] = 0;\n\t\t\t}\n\t\t};\n\n\t\tfor (i = 0; i < length_; i++) {\n\t\t\tc = data[i];\n\n\t\t\tswitch (state) {\n\t\t\t\tcase S.START_BOUNDARY:\n\t\t\t\t\tif (index === boundary.length - 2) {\n\t\t\t\t\t\tif (c === HYPHEN) {\n\t\t\t\t\t\t\tflags |= F.LAST_BOUNDARY;\n\t\t\t\t\t\t} else if (c !== CR) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tindex++;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else if (index - 1 === boundary.length - 2) {\n\t\t\t\t\t\tif (flags & F.LAST_BOUNDARY && c === HYPHEN) {\n\t\t\t\t\t\t\tstate = S.END;\n\t\t\t\t\t\t\tflags = 0;\n\t\t\t\t\t\t} else if (!(flags & F.LAST_BOUNDARY) && c === LF) {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\tcallback('onPartBegin');\n\t\t\t\t\t\t\tstate = S.HEADER_FIELD_START;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (c !== boundary[index + 2]) {\n\t\t\t\t\t\tindex = -2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (c === boundary[index + 2]) {\n\t\t\t\t\t\tindex++;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADER_FIELD_START:\n\t\t\t\t\tstate = S.HEADER_FIELD;\n\t\t\t\t\tmark('onHeaderField');\n\t\t\t\t\tindex = 0;\n\t\t\t\t\t// falls through\n\t\t\t\tcase S.HEADER_FIELD:\n\t\t\t\t\tif (c === CR) {\n\t\t\t\t\t\tclear('onHeaderField');\n\t\t\t\t\t\tstate = S.HEADERS_ALMOST_DONE;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tindex++;\n\t\t\t\t\tif (c === HYPHEN) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (c === COLON) {\n\t\t\t\t\t\tif (index === 1) {\n\t\t\t\t\t\t\t// empty header field\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdataCallback('onHeaderField', true);\n\t\t\t\t\t\tstate = S.HEADER_VALUE_START;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcl = lower(c);\n\t\t\t\t\tif (cl < A || cl > Z) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADER_VALUE_START:\n\t\t\t\t\tif (c === SPACE) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tmark('onHeaderValue');\n\t\t\t\t\tstate = S.HEADER_VALUE;\n\t\t\t\t\t// falls through\n\t\t\t\tcase S.HEADER_VALUE:\n\t\t\t\t\tif (c === CR) {\n\t\t\t\t\t\tdataCallback('onHeaderValue', true);\n\t\t\t\t\t\tcallback('onHeaderEnd');\n\t\t\t\t\t\tstate = S.HEADER_VALUE_ALMOST_DONE;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADER_VALUE_ALMOST_DONE:\n\t\t\t\t\tif (c !== LF) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tstate = S.HEADER_FIELD_START;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADERS_ALMOST_DONE:\n\t\t\t\t\tif (c !== LF) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tcallback('onHeadersEnd');\n\t\t\t\t\tstate = S.PART_DATA_START;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.PART_DATA_START:\n\t\t\t\t\tstate = S.PART_DATA;\n\t\t\t\t\tmark('onPartData');\n\t\t\t\t\t// falls through\n\t\t\t\tcase S.PART_DATA:\n\t\t\t\t\tpreviousIndex = index;\n\n\t\t\t\t\tif (index === 0) {\n\t\t\t\t\t\t// boyer-moore derrived algorithm to safely skip non-boundary data\n\t\t\t\t\t\ti += boundaryEnd;\n\t\t\t\t\t\twhile (i < bufferLength && !(data[i] in boundaryChars)) {\n\t\t\t\t\t\t\ti += boundaryLength;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ti -= boundaryEnd;\n\t\t\t\t\t\tc = data[i];\n\t\t\t\t\t}\n\n\t\t\t\t\tif (index < boundary.length) {\n\t\t\t\t\t\tif (boundary[index] === c) {\n\t\t\t\t\t\t\tif (index === 0) {\n\t\t\t\t\t\t\t\tdataCallback('onPartData', true);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (index === boundary.length) {\n\t\t\t\t\t\tindex++;\n\t\t\t\t\t\tif (c === CR) {\n\t\t\t\t\t\t\t// CR = part boundary\n\t\t\t\t\t\t\tflags |= F.PART_BOUNDARY;\n\t\t\t\t\t\t} else if (c === HYPHEN) {\n\t\t\t\t\t\t\t// HYPHEN = end boundary\n\t\t\t\t\t\t\tflags |= F.LAST_BOUNDARY;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (index - 1 === boundary.length) {\n\t\t\t\t\t\tif (flags & F.PART_BOUNDARY) {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\tif (c === LF) {\n\t\t\t\t\t\t\t\t// unset the PART_BOUNDARY flag\n\t\t\t\t\t\t\t\tflags &= ~F.PART_BOUNDARY;\n\t\t\t\t\t\t\t\tcallback('onPartEnd');\n\t\t\t\t\t\t\t\tcallback('onPartBegin');\n\t\t\t\t\t\t\t\tstate = S.HEADER_FIELD_START;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (flags & F.LAST_BOUNDARY) {\n\t\t\t\t\t\t\tif (c === HYPHEN) {\n\t\t\t\t\t\t\t\tcallback('onPartEnd');\n\t\t\t\t\t\t\t\tstate = S.END;\n\t\t\t\t\t\t\t\tflags = 0;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (index > 0) {\n\t\t\t\t\t\t// when matching a possible boundary, keep a lookbehind reference\n\t\t\t\t\t\t// in case it turns out to be a false lead\n\t\t\t\t\t\tlookbehind[index - 1] = c;\n\t\t\t\t\t} else if (previousIndex > 0) {\n\t\t\t\t\t\t// if our boundary turned out to be rubbish, the captured lookbehind\n\t\t\t\t\t\t// belongs to partData\n\t\t\t\t\t\tconst _lookbehind = new Uint8Array(lookbehind.buffer, lookbehind.byteOffset, lookbehind.byteLength);\n\t\t\t\t\t\tcallback('onPartData', 0, previousIndex, _lookbehind);\n\t\t\t\t\t\tpreviousIndex = 0;\n\t\t\t\t\t\tmark('onPartData');\n\n\t\t\t\t\t\t// reconsider the current character even so it interrupted the sequence\n\t\t\t\t\t\t// it could be the beginning of a new sequence\n\t\t\t\t\t\ti--;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.END:\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unexpected state entered: ${state}`);\n\t\t\t}\n\t\t}\n\n\t\tdataCallback('onHeaderField');\n\t\tdataCallback('onHeaderValue');\n\t\tdataCallback('onPartData');\n\n\t\t// Update properties for the next call\n\t\tthis.index = index;\n\t\tthis.state = state;\n\t\tthis.flags = flags;\n\t}\n\n\tend() {\n\t\tif ((this.state === S.HEADER_FIELD_START && this.index === 0) ||\n\t\t\t(this.state === S.PART_DATA && this.index === this.boundary.length)) {\n\t\t\tthis.onPartEnd();\n\t\t} else if (this.state !== S.END) {\n\t\t\tthrow new Error('MultipartParser.end(): stream ended unexpectedly');\n\t\t}\n\t}\n}\n\nfunction _fileName(headerValue) {\n\t// matches either a quoted-string or a token (RFC 2616 section 19.5.1)\n\tconst m = headerValue.match(/\\bfilename=(\"(.*?)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))($|;\\s)/i);\n\tif (!m) {\n\t\treturn;\n\t}\n\n\tconst match = m[2] || m[3] || '';\n\tlet filename = match.slice(match.lastIndexOf('\\\\') + 1);\n\tfilename = filename.replace(/%22/g, '\"');\n\tfilename = filename.replace(/&#(\\d{4});/g, (m, code) => {\n\t\treturn String.fromCharCode(code);\n\t});\n\treturn filename;\n}\n\nexport async function toFormData(Body, ct) {\n\tif (!/multipart/i.test(ct)) {\n\t\tthrow new TypeError('Failed to fetch');\n\t}\n\n\tconst m = ct.match(/boundary=(?:\"([^\"]+)\"|([^;]+))/i);\n\n\tif (!m) {\n\t\tthrow new TypeError('no or bad content-type header, no multipart boundary');\n\t}\n\n\tconst parser = new MultipartParser(m[1] || m[2]);\n\n\tlet headerField;\n\tlet headerValue;\n\tlet entryValue;\n\tlet entryName;\n\tlet contentType;\n\tlet filename;\n\tconst entryChunks = [];\n\tconst formData = new FormData();\n\n\tconst onPartData = ui8a => {\n\t\tentryValue += decoder.decode(ui8a, {stream: true});\n\t};\n\n\tconst appendToFile = ui8a => {\n\t\tentryChunks.push(ui8a);\n\t};\n\n\tconst appendFileToFormData = () => {\n\t\tconst file = new File(entryChunks, filename, {type: contentType});\n\t\tformData.append(entryName, file);\n\t};\n\n\tconst appendEntryToFormData = () => {\n\t\tformData.append(entryName, entryValue);\n\t};\n\n\tconst decoder = new TextDecoder('utf-8');\n\tdecoder.decode();\n\n\tparser.onPartBegin = function () {\n\t\tparser.onPartData = onPartData;\n\t\tparser.onPartEnd = appendEntryToFormData;\n\n\t\theaderField = '';\n\t\theaderValue = '';\n\t\tentryValue = '';\n\t\tentryName = '';\n\t\tcontentType = '';\n\t\tfilename = null;\n\t\tentryChunks.length = 0;\n\t};\n\n\tparser.onHeaderField = function (ui8a) {\n\t\theaderField += decoder.decode(ui8a, {stream: true});\n\t};\n\n\tparser.onHeaderValue = function (ui8a) {\n\t\theaderValue += decoder.decode(ui8a, {stream: true});\n\t};\n\n\tparser.onHeaderEnd = function () {\n\t\theaderValue += decoder.decode();\n\t\theaderField = headerField.toLowerCase();\n\n\t\tif (headerField === 'content-disposition') {\n\t\t\t// matches either a quoted-string or a token (RFC 2616 section 19.5.1)\n\t\t\tconst m = headerValue.match(/\\bname=(\"([^\"]*)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))/i);\n\n\t\t\tif (m) {\n\t\t\t\tentryName = m[2] || m[3] || '';\n\t\t\t}\n\n\t\t\tfilename = _fileName(headerValue);\n\n\t\t\tif (filename) {\n\t\t\t\tparser.onPartData = appendToFile;\n\t\t\t\tparser.onPartEnd = appendFileToFormData;\n\t\t\t}\n\t\t} else if (headerField === 'content-type') {\n\t\t\tcontentType = headerValue;\n\t\t}\n\n\t\theaderValue = '';\n\t\theaderField = '';\n\t};\n\n\tfor await (const chunk of Body) {\n\t\tparser.write(chunk);\n\t}\n\n\tparser.end();\n\n\treturn formData;\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var webpackQueues = typeof Symbol === \"function\" ? Symbol(\"webpack queues\") : \"__webpack_queues__\";\nvar webpackExports = typeof Symbol === \"function\" ? Symbol(\"webpack exports\") : \"__webpack_exports__\";\nvar webpackError = typeof Symbol === \"function\" ? Symbol(\"webpack error\") : \"__webpack_error__\";\nvar resolveQueue = (queue) => {\n\tif(queue && !queue.d) {\n\t\tqueue.d = 1;\n\t\tqueue.forEach((fn) => (fn.r--));\n\t\tqueue.forEach((fn) => (fn.r-- ? fn.r++ : fn()));\n\t}\n}\nvar wrapDeps = (deps) => (deps.map((dep) => {\n\tif(dep !== null && typeof dep === \"object\") {\n\t\tif(dep[webpackQueues]) return dep;\n\t\tif(dep.then) {\n\t\t\tvar queue = [];\n\t\t\tqueue.d = 0;\n\t\t\tdep.then((r) => {\n\t\t\t\tobj[webpackExports] = r;\n\t\t\t\tresolveQueue(queue);\n\t\t\t}, (e) => {\n\t\t\t\tobj[webpackError] = e;\n\t\t\t\tresolveQueue(queue);\n\t\t\t});\n\t\t\tvar obj = {};\n\t\t\tobj[webpackQueues] = (fn) => (fn(queue));\n\t\t\treturn obj;\n\t\t}\n\t}\n\tvar ret = {};\n\tret[webpackQueues] = x => {};\n\tret[webpackExports] = dep;\n\treturn ret;\n}));\n__webpack_require__.a = (module, body, hasAwait) => {\n\tvar queue;\n\thasAwait && ((queue = []).d = 1);\n\tvar depQueues = new Set();\n\tvar exports = module.exports;\n\tvar currentDeps;\n\tvar outerResolve;\n\tvar reject;\n\tvar promise = new Promise((resolve, rej) => {\n\t\treject = rej;\n\t\touterResolve = resolve;\n\t});\n\tpromise[webpackExports] = exports;\n\tpromise[webpackQueues] = (fn) => (queue && fn(queue), depQueues.forEach(fn), promise[\"catch\"](x => {}));\n\tmodule.exports = promise;\n\tbody((deps) => {\n\t\tcurrentDeps = wrapDeps(deps);\n\t\tvar fn;\n\t\tvar getResult = () => (currentDeps.map((d) => {\n\t\t\tif(d[webpackError]) throw d[webpackError];\n\t\t\treturn d[webpackExports];\n\t\t}))\n\t\tvar promise = new Promise((resolve) => {\n\t\t\tfn = () => (resolve(getResult));\n\t\t\tfn.r = 0;\n\t\t\tvar fnQueue = (q) => (q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn))));\n\t\t\tcurrentDeps.map((dep) => (dep[webpackQueues](fnQueue)));\n\t\t});\n\t\treturn fn.r ? promise : getResult();\n\t}, (err) => ((err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)));\n\tqueue && (queue.d = 0);\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (typeof import.meta.url === \"string\") scriptUrl = import.meta.url\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\\/\\/\\/\\w:/) ? 1 : 0, -1) + \"/\";","__webpack_require__.b = new URL(\"./\", import.meta.url);\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n// no install chunk\n\n// no chunk on demand loading\n\n// no external install chunk\n\n// no on chunks loaded","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(6144);\n"],"mappings":"6DACAA,OAAAC,eAAAC,EAAA,cAAAC,MAAA,OACAD,EAAAE,wBAAAF,EAAAG,yBAAA,EACA,MAAAC,EAAAC,EAAA,MACAL,EAAAG,oBAAA,CACAG,MAAAF,EAAAE,MACAC,KAAAH,EAAAG,KACAC,UAAAJ,EAAAI,UACAC,SAAAL,EAAAK,SACAC,QAAAN,EAAAM,QACAC,YAAAP,EAAAO,aAEA,SAAAT,wBAAAU,GACA,GAAAA,IAAAC,UAAA,CACA,OAAAb,EAAAG,mBACA,CACA,OAAAL,OAAAgB,OAAAhB,OAAAgB,OAAA,GAAAd,EAAAG,qBAAAS,EACA,CACAZ,EAAAE,+C,eCjBAJ,OAAAC,eAAAC,EAAA,cAAAC,MAAA,OACAD,EAAAe,wCAAA,EACA,MAAAC,EAAAC,QAAAC,SAAAC,KAAAC,MAAA,KACA,GAAAJ,EAAA,KAAAH,WAAAG,EAAA,KAAAH,UAAA,CACA,UAAAQ,MAAA,gFAAAJ,QAAAC,SAAAC,OACA,CACA,MAAAG,EAAAC,OAAAC,SAAAR,EAAA,OACA,MAAAS,EAAAF,OAAAC,SAAAR,EAAA,OACA,MAAAU,EAAA,GACA,MAAAC,EAAA,GACA,MAAAC,EAAAN,EAAAI,EACA,MAAAG,EAAAP,IAAAI,GAAAD,GAAAE,EAIA3B,EAAAe,mCAAAa,GAAAC,C,iBCfA/B,OAAAC,eAAAC,EAAA,cAAAC,MAAA,OACAD,EAAA8B,SAAA9B,EAAA+B,YAAA/B,EAAAgC,aAAA,EACA,MAAAC,EAAA5B,EAAA,MACA,MAAA6B,EAAA7B,EAAA,MACA,MAAA8B,EAAA9B,EAAA,MACAL,EAAA8B,SAAAK,EAAAC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C,E,WCCA/3D,oBAAAwpC,EAAA7pC,IACA,UAAA+7B,SAAA,aAAAA,OAAA65B,YAAA,CACA91D,OAAAC,eAAAC,EAAA+7B,OAAA65B,YAAA,CAAA31D,MAAA,UACA,CACAH,OAAAC,eAAAC,EAAA,cAAAC,MAAA,O,WCLA,IAAAuwJ,EACA,sBAAA93E,MAAA,SAAA83E,cAAA93E,IAGA,IAAA83E,EAAA,UAAAnvJ,MAAA,yDACAmvJ,IAAAn8I,QAAA,WAAAA,QAAA,YAAAA,QAAA,iBACAhU,oBAAAmQ,EAAAggJ,C,KCLA,UAAAnwJ,sBAAA,YAAAA,oBAAAysB,GAAA,IAAA82E,IAAA,gBAAAlrB,KAAAivB,SAAAv1F,kBAAAsmE,IAAAh+D,MAAA,+B,MCDAra,oBAAA2E,EAAA,IAAA4+F,IAAA,iBAAAlrB,KAKA,IAAA+3E,EAAA,CACA,M,KCHA,IAAAC,EAAArwJ,oBAAA,M"} \ No newline at end of file +{"version":3,"file":"index.js","names":["Object","defineProperty","exports","value","createFileSystemAdapter","FILE_SYSTEM_ADAPTER","fs","__webpack_require__","lstat","stat","lstatSync","statSync","readdir","readdirSync","fsMethods","undefined","assign","IS_SUPPORT_READDIR_WITH_FILE_TYPES","NODE_PROCESS_VERSION_PARTS","process","versions","node","split","Error","MAJOR_VERSION","Number","parseInt","MINOR_VERSION","SUPPORTED_MAJOR_VERSION","SUPPORTED_MINOR_VERSION","IS_MATCHED_BY_MAJOR","IS_MATCHED_BY_MAJOR_AND_MINOR","Settings","scandirSync","scandir","async","sync","settings_1","default","path","optionsOrSettingsOrCallback","callback","read","getSettings","optionsOrSettings","settings","settingsOrOptions","readdirWithFileTypes","fsStat","rpl","constants_1","utils","common","directory","stats","withFileTypes","readdirError","dirents","callFailureCallback","entries","map","dirent","name","joinPathSegments","pathSegmentSeparator","followSymbolicLinks","callSuccessCallback","tasks","entry","makeRplTaskEntry","rplError","rplEntries","done","isSymbolicLink","statError","throwErrorOnBrokenSymbolicLink","createDirentFromStats","names","fsStatSettings","error","result","a","b","separator","endsWith","entryPath","constructor","_options","this","_getValue","sep","followSymbolicLink","option","DirentFromStats","isBlockDevice","bind","isCharacterDevice","isDirectory","isFIFO","isFile","isSocket","lstatError","markSymbolicLink","walkStream","walkSync","walk","async_1","stream_1","sync_1","provider","AsyncProvider","_root","_settings","_reader","_storage","onError","onEntry","push","onEnd","StreamProvider","_stream","Readable","objectMode","destroy","isDestroyed","emit","SyncProvider","events_1","fsScandir","fastq","reader_1","AsyncReader","super","_scandir","_emitter","EventEmitter","_queue","_worker","concurrency","_isFatalError","_isDestroyed","drain","setImmediate","_pushToQueue","basePath","killAndDrain","on","once","base","queueItem","_handleError","item","fsScandirSettings","_handleEntry","isFatalError","fullpath","isAppliedFilter","entryFilter","_emitEntry","deepFilter","replacePathSegmentSeparator","errorFilter","filter","filepath","join","Reader","SyncReader","arguments","Set","_handleQueue","add","values","_handleDirectory","_pushToStorage","POSITIVE_INFINITY","stringify","compile","expand","parse","braces","input","options","output","Array","isArray","pattern","create","concat","nodupes","noempty","Boolean","length","module","fill","ast","parent","invalidBlock","isInvalidBrace","invalidNode","invalid","escapeInvalid","prefix","isOpen","isClose","type","prev","nodes","ranges","args","reduce","range","wrap","toRegex","child","MAX_LENGTH","CHAR_0","CHAR_9","CHAR_UPPERCASE_A","CHAR_LOWERCASE_A","CHAR_UPPERCASE_Z","CHAR_LOWERCASE_Z","CHAR_LEFT_PARENTHESES","CHAR_RIGHT_PARENTHESES","CHAR_ASTERISK","CHAR_AMPERSAND","CHAR_AT","CHAR_BACKSLASH","CHAR_BACKTICK","CHAR_CARRIAGE_RETURN","CHAR_CIRCUMFLEX_ACCENT","CHAR_COLON","CHAR_COMMA","CHAR_DOLLAR","CHAR_DOT","CHAR_DOUBLE_QUOTE","CHAR_EQUAL","CHAR_EXCLAMATION_MARK","CHAR_FORM_FEED","CHAR_FORWARD_SLASH","CHAR_HASH","CHAR_HYPHEN_MINUS","CHAR_LEFT_ANGLE_BRACKET","CHAR_LEFT_CURLY_BRACE","CHAR_LEFT_SQUARE_BRACKET","CHAR_LINE_FEED","CHAR_NO_BREAK_SPACE","CHAR_PERCENT","CHAR_PLUS","CHAR_QUESTION_MARK","CHAR_RIGHT_ANGLE_BRACKET","CHAR_RIGHT_CURLY_BRACE","CHAR_RIGHT_SQUARE_BRACKET","CHAR_SEMICOLON","CHAR_SINGLE_QUOTE","CHAR_SPACE","CHAR_TAB","CHAR_UNDERSCORE","CHAR_VERTICAL_LINE","CHAR_ZERO_WIDTH_NOBREAK_SPACE","append","queue","stash","enclose","flatten","ele","rangeLimit","p","q","dollar","pop","exceedsLimit","step","RangeError","encloseBrace","block","i","TypeError","opts","max","maxLength","Math","min","SyntaxError","stack","brackets","index","depth","memo","advance","keepEscaping","closed","next","open","keepQuotes","slice","brace","close","commas","shift","siblings","before","forEach","indexOf","splice","isOpenOrClose","isInteger","num","trim","find","limit","escapeNode","n","escaped","acc","flat","arr","isGlob","pathPosixDirname","posix","isWin32","slash","backslash","enclosure","globby","globParent","str","flipBackslashes","replace","test","taskManager","FastGlob","source","assertPatternsInput","works","getWorks","Promise","all","array","glob","globSync","globStream","stream","merge","generateTasks","patterns","generate","isDynamicPattern","escapePath","escape","convertPathToPattern","escapePosixPath","convertPosixPathToPattern","win32","escapeWindowsPath","convertWindowsPathToPattern","_Provider","isValidSource","every","string","isString","isEmpty","convertPatternGroupToTask","convertPatternGroupsToTasks","groupPatternsByBaseDirectory","getNegativePatternsAsPositive","getPositivePatterns","convertPatternsToTasks","processPatterns","ignore","positivePatterns","negativePatterns","staticPatterns","isStaticPattern","dynamicPatterns","staticTasks","dynamicTasks","braceExpansion","expandPatternsWithBraceExpansion","baseNameMatch","includes","removeDuplicateSlashes","positive","negative","dynamic","patternsOutsideCurrentDirectory","getPatternsOutsideCurrentDirectory","patternsInsideCurrentDirectory","getPatternsInsideCurrentDirectory","outsideCurrentDirectoryGroup","insideCurrentDirectoryGroup","getNegativePatterns","convertToPositivePattern","group","collection","getBaseDirectory","keys","convertToNegativePattern","provider_1","ProviderAsync","task","root","_getRootDirectory","_getReaderOptions","api","transform","static","partial_1","DeepFilter","_micromatchOptions","getFilter","matcher","_getMatcher","negativeRe","_getNegativePatternsRe","_filter","affectDepthOfReadingPatterns","isAffectDepthOfReadingPattern","convertPatternsToRe","_isSkippedByDeep","_isSkippedSymbolicLink","removeLeadingDotSegment","_isSkippedByPositivePatterns","_isSkippedByNegativePatterns","deep","Infinity","_getEntryLevel","entryPathDepth","basePathDepth","match","patternsRe","matchAny","EntryFilter","Map","positiveRe","dot","unique","_isDuplicateEntry","_onlyFileFilter","_onlyDirectoryFilter","_isSkippedByAbsoluteNegativePatterns","isMatched","_isMatchToPatterns","_createIndexRecord","has","set","onlyFiles","onlyDirectories","absolute","makeAbsolute","cwd","ErrorFilter","_isNonFatalError","errno","isEnoentCodeError","suppressErrors","Matcher","_patterns","_fillStorage","segments","_getPatternSegments","sections","_splitSegmentsIntoSections","complete","parts","getPatternParts","part","patternRe","makeRe","splitWhen","segment","hasGlobStar","matcher_1","PartialMatcher","levels","info","section","deep_1","entry_1","error_1","entry_2","Provider","_getMicromatchOptions","entryTransformer","resolve","getTransformer","matchBase","nobrace","nocase","caseSensitiveMatch","noext","extglob","noglobstar","globstar","strictSlashes","stream_2","ProviderStream","destination","ProviderSync","EntryTransformer","_transform","unixify","markDirectories","fsWalk","ReaderAsync","_walkAsync","_readerStream","reject","_fsStatSettings","_getFullEntryPath","_makeEntry","ReaderStream","_walkStream","_stat","filepaths","PassThrough","_write","_enc","_getEntry","then","end","catch","write","_getStat","ReaderSync","_walkSync","_statSync","DEFAULT_FILE_SYSTEM_ADAPTER","os","CPU_COUNT","cpus","_getFileSystemMethods","methods","items","predicate","groupIndex","code","IS_WINDOWS_PLATFORM","platform","LEADING_DOT_SEGMENT_CHARACTERS_COUNT","POSIX_UNESCAPED_GLOB_SYMBOLS_RE","WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE","DOS_DEVICE_PATH_RE","WINDOWS_BACKSLASHES_RE","charAt","secondCharactery","expandBraceExpansion","endsWithSlashGlobStar","isPatternRelatedToParentDirectory","isPositivePattern","isNegativePattern","micromatch","GLOBSTAR","ESCAPE_SYMBOL","COMMON_GLOB_SYMBOLS_RE","REGEX_CHARACTER_CLASS_SYMBOLS_RE","REGEX_GROUP_SYMBOLS_RE","GLOB_EXTENSION_SYMBOLS_RE","BRACE_EXPANSION_SEPARATORS_RE","DOUBLE_SLASH_RE","hasBraceExpansion","openingBraceIndex","closingBraceIndex","braceContent","startsWith","basename","sort","scan","unshift","some","merge2","streams","mergedStream","propagateCloseEventToSources","reusify","fastqueue","context","worker","cache","Task","queueHead","queueTail","_running","errorHandler","self","noop","saturated","pause","paused","running","resume","idle","getQueue","empty","kill","current","counter","release","get","call","worked","holder","handler","err","val","queueAsPromised","asyncWrapper","arg","cb","res","pushCb","unshiftCb","drained","previousDrain","promise","util","toRegexRange","isObject","toNumber","String","isValidValue","isNumber","zeros","start","pad","dash","padStart","toMaxLen","toSequence","negatives","positives","capture","toRange","isNumbers","fromCharCode","stop","rangeError","inspect","invalidRange","strictRanges","invalidStep","fillNumbers","descending","startString","endString","stepString","abs","padded","maxLen","format","fillLetters","charCodeAt","isExtglob","exec","chars","strictCheck","pipeIndex","closeSquareIndex","closeCurlyIndex","closeParenIndex","backSlashIndex","relaxedCheck","check","strict","isFinite","Stream","prototype","streamsQueue","merging","pipe","doEnd","doPipeError","pipeError","highWaterMark","addStream","len","pauseStreams","mergeStream","nextTick","endStream","pipesCount","onend","removeListener","onerror","_readableState","endEmitted","setMaxListeners","apply","picomatch","isEmptyString","list","omit","keep","onResult","state","isMatch","negated","negatedExtglob","matched","delete","matches","failglob","nonull","nullglob","unescape","any","not","contains","matchKeys","obj","key","isWindows","regex","toPosixSlashes","v","braceExpand","globalThis","DOMException","MessageChannel","port","port1","ab","ArrayBuffer","postMessage","events","zlib","consts","LOCHDR","LOCSIG","LOCVER","LOCFLG","LOCHOW","LOCTIM","LOCCRC","LOCSIZ","LOCLEN","LOCNAM","LOCEXT","EXTSIG","EXTHDR","EXTCRC","EXTSIZ","EXTLEN","CENHDR","CENSIG","CENVEM","CENVER","CENFLG","CENHOW","CENTIM","CENCRC","CENSIZ","CENLEN","CENNAM","CENEXT","CENCOM","CENDSK","CENATT","CENATX","CENOFF","ENDHDR","ENDSIG","ENDSIGFIRST","ENDSUB","ENDTOT","ENDSIZ","ENDOFF","ENDCOM","MAXFILECOMMENT","ENDL64HDR","ENDL64SIG","ENDL64SIGFIRST","ENDL64OFS","END64HDR","END64SIG","END64SIGFIRST","END64SUB","END64TOT","END64SIZ","END64OFF","STORED","SHRUNK","REDUCED1","REDUCED2","REDUCED3","REDUCED4","IMPLODED","DEFLATED","ENHANCED_DEFLATED","PKWARE","BZIP2","LZMA","IBM_TERSE","IBM_LZ77","FLG_ENC","FLG_COMP1","FLG_COMP2","FLG_DESC","FLG_ENH","FLG_STR","FLG_LNG","FLG_MSK","FLG_ENTRY_ENC","EF_ID","EF_SIZE","ID_ZIP64","ID_AVINFO","ID_PFS","ID_OS2","ID_NTFS","ID_OPENVMS","ID_UNIX","ID_FORK","ID_PATCH","ID_X509_PKCS7","ID_X509_CERTID_F","ID_X509_CERTID_C","ID_STRONGENC","ID_RECORD_MGT","ID_X509_PKCS7_RL","ID_IBM1","ID_IBM2","ID_POSZIP","EF_ZIP64_OR_32","EF_ZIP64_OR_16","StreamZip","config","fd","fileSize","chunkSize","op","centralDirectory","ready","that","storeEntries","fileName","file","textDecoder","nameEncoding","TextDecoder","readFile","f","fstat","size","round","readCentralDirectory","readUntilFoundCallback","bytesRead","pos","lastPos","bufferPosition","win","position","buffer","minPos","firstByte","readUInt32LE","sig","lastBufferPosition","lastBytesRead","expandLength","expandLeft","totalReadLength","FileWindowBuffer","readCentralDirectoryComplete","CentralDirectoryHeader","headerOffset","commentLength","comment","toString","entriesCount","volumeEntries","totalEntries","offset","readZip64CentralDirectoryLocator","readEntries","readZip64CentralDirectoryLocatorComplete","locHeader","CentralDirectoryLoc64Header","readLength","readZip64CentralDirectoryComplete","zip64cd","CentralDirectoryZip64Header","entriesLeft","readEntriesCallback","bufferPos","bufferLength","ZipEntry","readHeader","entryHeaderSize","fnameLen","extraLen","comLen","advanceBytes","moveRight","move","skipEntryNameValidation","validateName","checkEntriesExist","openEntry","dataOffset","entryStream","EntryDataReaderStream","compressedSize","method","createInflateRaw","canVerifyCrc","EntryVerifyStream","crc","entryDataSync","e","en","data","Buffer","alloc","FsRead","inflateRawSync","verify","CrcVerify","readEx","readDataHeader","encrypted","ex","flags","extract","outPath","stm","fsStm","errThrown","unpipe","fdFile","createWriteStream","createDirectories","baseDir","dirs","dir","mkdir","recursive","extractFiles","baseRelPath","files","extractedCount","targetPath","entryName","allDirs","hasOwnProperty","lastIndexOf","relPath","childEntry","dirname","partsPath","x","y","originalEmit","setFs","customFs","debugLog","debug","console","log","inherits","propZip","Symbol","StreamZipAsync","zip","entryData","chunk","removeAllListeners","readUInt16LE","readUInt64LE","verMade","version","timebytes","datebytes","time","parseZipTime","diskStart","inattr","attr","nameData","decode","Uint8Array","lastChar","readExtra","signature","maxPos","parseZip64Extra","waiting","readSync","readCallback","fsOp","checkOp","expandRight","copy","_read","Transform","baseStm","encoding","crcTable","getCrcTable","off","buf","writeInt32LE","c","k","timebits","toBits","datebits","mt","h","m","s","Y","M","D","dt_str","Date","getTime","dec","WIN_SLASH","WIN_NO_SLASH","DOT_LITERAL","PLUS_LITERAL","QMARK_LITERAL","SLASH_LITERAL","ONE_CHAR","QMARK","END_ANCHOR","START_ANCHOR","DOTS_SLASH","NO_DOT","NO_DOTS","NO_DOT_SLASH","NO_DOTS_SLASH","QMARK_NO_DOT","STAR","POSIX_CHARS","WINDOWS_CHARS","POSIX_REGEX_SOURCE","alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit","REGEX_BACKSLASH","REGEX_NON_SPECIAL_CHARS","REGEX_SPECIAL_CHARS","REGEX_SPECIAL_CHARS_BACKREF","REGEX_SPECIAL_CHARS_GLOBAL","REGEX_REMOVE_BACKSLASH","REPLACEMENTS","CHAR_BACKWARD_SLASH","CHAR_GRAVE_ACCENT","SEP","extglobChars","globChars","constants","expandRange","RegExp","escapeRegex","syntaxError","char","bos","prepend","tokens","PLATFORM_CHARS","EXTGLOB_CHARS","nodot","qmarkNoDot","star","bash","noextglob","consumed","backtrack","parens","quotes","removePrefix","extglobs","eos","peek","remaining","consume","token","negate","count","increment","decrement","tok","isBrace","inner","extglobOpen","conditions","extglobClose","rest","extglobStar","expression","fastpaths","backslashes","esc","first","repeat","wrapOutput","slashes","idx","pre","strictBrackets","nobracket","prevValue","literalBrackets","hasRegexChars","outputIndex","tokensIndex","dots","comma","out","toks","t","isGroup","supportsLookbehinds","nonegate","prior","isStart","afterStar","after","escapeLast","suffix","slashDot","returnState","fns","arrayMatcher","isState","compileRe","isIgnored","ignoreOpts","onMatch","returnObject","onIgnore","returnOutput","parsed","isPathSeparator","isPrefix","isGlobstar","scanToEnd","lastIndex","isBracket","braceEscaped","finished","isExtglobChar","noparen","removeBackslashes","maxDepth","prevIndex","isRegexChar","segs","windows","lastIdx","queueMicrotask","window","global","setTimeout","Constructor","head","tail","runParallel","results","pending","isSync","each","ANY","Comparator","comp","parseOptions","loose","semver","operator","r","re","COMPARATORLOOSE","COMPARATOR","SemVer","er","cmp","intersects","Range","includePrerelease","safeRe","raw","parseRange","isNullSet","isAny","comps","memoOpts","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","memoKey","cached","hr","HYPHENRANGELOOSE","HYPHENRANGE","hyphenReplace","COMPARATORTRIM","comparatorTrimReplace","TILDETRIM","tildeTrimReplace","CARETTRIM","caretTrimReplace","rangeList","parseComparator","replaceGTE0","rangeMap","comparators","thisComparators","isSatisfiable","rangeComparators","thisComparator","rangeComparator","testSet","LRU","remainingComparators","testComparator","otherComparator","replaceCarets","replaceTildes","replaceXRanges","replaceStars","isX","id","toLowerCase","replaceTilde","TILDELOOSE","TILDE","_","pr","ret","replaceCaret","CARETLOOSE","CARET","z","replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","anyX","GTE0PRE","GTE0","incPr","$0","from","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","prerelease","allowed","major","minor","patch","MAX_SAFE_INTEGER","compareIdentifiers","LOOSE","FULL","build","compare","other","compareMain","comparePre","compareBuild","inc","identifier","identifierBase","isNaN","clean","eq","neq","gt","gte","lt","lte","coerce","rtl","COERCE","COERCERTL","versionA","versionB","compareLoose","diff","version1","version2","v1","v2","comparison","v1Higher","highVersion","lowVersion","highHasPre","lowHasPre","throwErrors","rcompare","rsort","satisfies","valid","internalRe","identifiers","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","simplifyRange","subset","src","SEMVER_SPEC_VERSION","RELEASE_TYPES","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","env","NODE_DEBUG","numeric","anum","bnum","looseOption","freeze","emptyOpts","R","LETTERDASHNUMBER","safeRegexReplacements","makeSafeRegex","createToken","isGlobal","safe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","LONETILDE","LONECARET","Yallist","MAX","LENGTH","LENGTH_CALCULATOR","ALLOW_STALE","MAX_AGE","DISPOSE","NO_DISPOSE_ON_SET","LRU_LIST","CACHE","UPDATE_AGE_ON_GET","naiveLength","LRUCache","lc","stale","maxAge","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","hit","itemCount","rforEach","fn","thisp","walker","forEachStep","toArray","dump","isStale","now","dumpLru","del","Entry","load","l","expiresAt","prune","doUse","unshiftNode","removeNode","iterator","Node","pushNode","forEachReverse","getReverse","mapReverse","initial","reduceReverse","toArrayReverse","sliceReverse","deleteCount","insert","reverse","inserted","r1","r2","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","hilo","gtfn","ltefn","ltfn","ecomp","high","low","included","simplified","original","sub","dom","sawNonNull","OUTER","simpleSub","simpleDom","isSub","simpleSubset","minimumVersionWithPreRelease","minimumVersion","eqSet","higherGT","lowerLT","gtltComp","higher","hasDomLT","hasDomGT","needDomLTPre","needDomGTPre","relaxZeros","strictZeros","relax","shorthand","cacheKey","isPadded","hasPadding","newMin","splitToPatterns","collatePatterns","neg","onlyNegative","filterPatterns","onlyPositive","intersected","subpatterns","splitToRanges","nines","countNines","stops","countZeros","rangeToPattern","digits","zipped","startDigit","stopDigit","toCharacterClass","toQuantifier","padZeros","intersection","integer","pow","clearCache","parser","compiler","assignedPaths","valueAssignments","currentPath","arrayMode","setPath","addTableArray","genError","line","col","column","fullPath","reduceValueNode","pathAssigned","reduceArrayWithTypeChecking","reduceInlineTableNode","quotedPath","quoteDottedString","deepRef","newObj","traversed","traversedPath","ctx","firstType","peg$subclass","ctor","message","expected","found","peg$FAILED","peg$startRuleFunctions","peg$parsestart","peg$startRuleFunction","peg$c0","peg$c1","peg$c2","peg$c3","peg$c4","description","peg$c5","peg$c6","peg$c7","peg$c8","peg$c9","peg$c10","peg$c11","addNode","peg$c12","peg$c13","peg$c14","peg$c15","peg$c16","peg$c17","peg$c18","peg$c19","peg$c20","peg$c21","peg$c22","peg$c23","peg$c24","peg$c25","peg$c26","peg$c27","peg$c28","peg$c29","peg$c30","peg$c31","peg$c32","peg$c33","peg$c34","peg$c35","peg$c36","peg$c37","peg$c38","peg$c39","peg$c40","peg$c41","peg$c42","left","right","parseFloat","peg$c43","text","peg$c44","peg$c45","peg$c46","peg$c47","peg$c48","peg$c49","peg$c50","peg$c51","peg$c52","peg$c53","peg$c54","peg$c55","peg$c56","peg$c57","peg$c58","peg$c59","peg$c60","peg$c61","peg$c62","peg$c63","peg$c64","peg$c65","peg$c66","peg$c67","peg$c68","peg$c69","peg$c70","peg$c71","date","peg$c72","peg$c73","peg$c74","peg$c75","peg$c76","peg$c77","peg$c78","peg$c79","peg$c80","peg$c81","peg$c82","peg$c83","peg$c84","peg$c85","peg$c86","peg$c87","peg$c88","peg$c89","peg$c90","peg$c91","peg$c92","peg$c93","peg$c94","peg$c95","peg$c96","d","peg$c97","peg$c98","peg$c99","peg$c100","peg$c101","peg$c102","peg$c103","peg$c104","peg$c105","peg$c106","peg$c107","peg$c108","peg$c109","peg$c110","peg$c111","peg$c112","peg$c113","peg$c114","peg$c115","peg$c116","peg$c117","peg$c118","peg$c119","peg$c120","convertCodePoint","peg$c121","peg$c122","peg$currPos","peg$reportedPos","peg$cachedPos","peg$cachedPosDetails","seenCR","peg$maxFailPos","peg$maxFailExpected","peg$silentFails","peg$cache","peg$result","startRule","substring","peg$computePosDetails","peg$buildException","details","startPos","endPos","ch","peg$fail","cleanupExpected","buildMessage","stringEscape","hex","toUpperCase","expectedDescs","expectedDesc","foundDesc","posDetails","s0","s1","s2","nextPos","peg$parseline","s3","s4","s5","s6","peg$parseS","peg$parseexpression","peg$parsecomment","peg$parseNL","peg$parseEOF","peg$parsepath","peg$parsetablearray","peg$parseassignment","peg$parsetable_key","s7","peg$parsedot_ended_table_key_part","peg$parsetable_key_part","peg$parsekey","peg$parsequoted_key","peg$parsevalue","peg$parseASCII_BASIC","peg$parsedouble_quoted_single_line_string","peg$parsesingle_quoted_single_line_string","peg$parsestring","peg$parsedatetime","peg$parsefloat","peg$parseinteger","peg$parseboolean","peg$parsearray","peg$parseinline_table","peg$parsedouble_quoted_multiline_string","peg$parsesingle_quoted_multiline_string","substr","peg$parsemultiline_string_char","peg$parsestring_char","peg$parsemultiline_literal_char","peg$parseliteral_char","peg$parseESCAPED","peg$parsemultiline_string_delim","peg$parseNLS","peg$parsefloat_text","peg$parseinteger_text","peg$parseDIGITS","peg$parseDIGIT_OR_UNDER","peg$parsearray_sep","peg$parsearray_value","peg$parsearray_value_list","peg$parseinline_table_assignment","s8","s9","s10","peg$parsesecfragment","peg$parsedate","s11","peg$parsetime","peg$parsetime_with_offset","s12","s13","s14","s15","s16","peg$parseHEX","peg$parseESCAPED_UNICODE","floor","fromCodePoint","MAX_SIZE","codeUnits","highSurrogate","lowSurrogate","codePoint","factory","SymbolPolyfill","typeIsObject","rethrowAssertionErrorRejection","setFunctionName","configurable","_a","originalPromise","originalPromiseThen","originalPromiseReject","newPromise","executor","promiseResolvedWith","promiseRejectedWith","reason","PerformPromiseThen","onFulfilled","onRejected","uponPromise","uponFulfillment","uponRejection","transformPromiseWith","fulfillmentHandler","rejectionHandler","setPromiseIsHandledToTrue","_queueMicrotask","resolvedPromise","reflectCall","F","V","Function","promiseCall","QUEUE_MAX_ARRAY_SIZE","SimpleQueue","_cursor","_size","_front","_elements","_next","_back","element","oldBack","newBack","oldFront","newFront","oldCursor","newCursor","elements","front","cursor","AbortSteps","ErrorSteps","CancelSteps","PullSteps","ReleaseSteps","ReadableStreamReaderGenericInitialize","reader","_ownerReadableStream","_state","defaultReaderClosedPromiseInitialize","defaultReaderClosedPromiseInitializeAsResolved","defaultReaderClosedPromiseInitializeAsRejected","_storedError","ReadableStreamReaderGenericCancel","ReadableStreamCancel","ReadableStreamReaderGenericRelease","defaultReaderClosedPromiseReject","defaultReaderClosedPromiseResetToRejected","_readableStreamController","readerLockException","_closedPromise","_closedPromise_resolve","_closedPromise_reject","defaultReaderClosedPromiseResolve","NumberIsFinite","MathTrunc","trunc","ceil","isDictionary","assertDictionary","assertFunction","assertObject","assertRequiredArgument","assertRequiredField","field","convertUnrestrictedDouble","censorNegativeZero","integerPart","convertUnsignedLongLongWithEnforceRange","lowerBound","upperBound","assertReadableStream","IsReadableStream","AcquireReadableStreamDefaultReader","ReadableStreamDefaultReader","ReadableStreamAddReadRequest","readRequest","_readRequests","ReadableStreamFulfillReadRequest","_closeSteps","_chunkSteps","ReadableStreamGetNumReadRequests","ReadableStreamHasDefaultReader","IsReadableStreamDefaultReader","IsReadableStreamLocked","defaultReaderBrandCheckException","cancel","resolvePromise","rejectPromise","_errorSteps","ReadableStreamDefaultReaderRead","releaseLock","ReadableStreamDefaultReaderRelease","defineProperties","enumerable","toStringTag","_disturbed","ReadableStreamDefaultReaderErrorReadRequests","readRequests","AsyncIteratorPrototype","getPrototypeOf","ReadableStreamAsyncIteratorImpl","preventCancel","_ongoingPromise","_isFinished","_preventCancel","nextSteps","_nextSteps","returnSteps","_returnSteps","ReadableStreamAsyncIteratorPrototype","IsReadableStreamAsyncIterator","streamAsyncIteratorBrandCheckException","_asyncIteratorImpl","return","setPrototypeOf","AcquireReadableStreamAsyncIterator","impl","NumberIsNaN","CreateArrayFromList","CopyDataBlockBytes","dest","destOffset","srcOffset","TransferArrayBuffer","O","transfer","structuredClone","IsDetachedBuffer","detached","byteLength","ArrayBufferSlice","begin","GetMethod","receiver","prop","func","CreateAsyncFromSyncIterator","syncIteratorRecord","syncIterable","asyncIterator","nextMethod","GetIterator","hint","syncMethod","IteratorNext","iteratorRecord","IteratorComplete","iterResult","IteratorValue","IsNonNegativeNumber","CloneAsUint8Array","byteOffset","DequeueValue","container","pair","_queueTotalSize","EnqueueValueWithSize","PeekQueueValue","ResetQueue","isDataViewConstructor","DataView","isDataView","view","arrayBufferViewElementSize","BYTES_PER_ELEMENT","ReadableStreamBYOBRequest","IsReadableStreamBYOBRequest","byobRequestBrandCheckException","_view","respond","bytesWritten","_associatedReadableByteStreamController","ReadableByteStreamControllerRespond","respondWithNewView","isView","ReadableByteStreamControllerRespondWithNewView","ReadableByteStreamController","byobRequest","IsReadableByteStreamController","byteStreamControllerBrandCheckException","ReadableByteStreamControllerGetBYOBRequest","desiredSize","ReadableByteStreamControllerGetDesiredSize","_closeRequested","_controlledReadableByteStream","ReadableByteStreamControllerClose","enqueue","ReadableByteStreamControllerEnqueue","ReadableByteStreamControllerError","ReadableByteStreamControllerClearPendingPullIntos","_cancelAlgorithm","ReadableByteStreamControllerClearAlgorithms","ReadableByteStreamControllerFillReadRequestFromQueue","autoAllocateChunkSize","_autoAllocateChunkSize","bufferE","pullIntoDescriptor","bufferByteLength","bytesFilled","minimumFill","elementSize","viewConstructor","readerType","_pendingPullIntos","ReadableByteStreamControllerCallPullIfNeeded","firstPullInto","controller","shouldPull","ReadableByteStreamControllerShouldCallPull","_pulling","_pullAgain","pullPromise","_pullAlgorithm","ReadableByteStreamControllerInvalidateBYOBRequest","ReadableByteStreamControllerCommitPullIntoDescriptor","filledView","ReadableByteStreamControllerConvertPullIntoDescriptor","ReadableStreamFulfillReadIntoRequest","ReadableByteStreamControllerEnqueueChunkToQueue","ReadableByteStreamControllerEnqueueClonedChunkToQueue","clonedChunk","cloneE","ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue","firstDescriptor","ReadableByteStreamControllerShiftPendingPullInto","ReadableByteStreamControllerFillPullIntoDescriptorFromQueue","maxBytesToCopy","maxBytesFilled","totalBytesToCopyRemaining","remainderBytes","maxAlignedBytes","headOfQueue","bytesToCopy","destStart","ReadableByteStreamControllerFillHeadPullIntoDescriptor","ReadableByteStreamControllerHandleQueueDrain","ReadableStreamClose","_byobRequest","ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue","ReadableByteStreamControllerProcessReadRequestsUsingQueue","ReadableByteStreamControllerPullInto","readIntoRequest","ReadableStreamAddReadIntoRequest","emptyView","ReadableByteStreamControllerRespondInClosedState","ReadableStreamHasBYOBReader","ReadableStreamGetNumReadIntoRequests","ReadableByteStreamControllerRespondInReadableState","remainderSize","ReadableByteStreamControllerRespondInternal","descriptor","_started","firstPendingPullInto","transferredBuffer","transferredView","ReadableStreamError","SetUpReadableStreamBYOBRequest","_strategyHWM","viewByteLength","SetUpReadableByteStreamController","startAlgorithm","pullAlgorithm","cancelAlgorithm","startResult","SetUpReadableByteStreamControllerFromUnderlyingSource","underlyingByteSource","pull","request","convertReaderOptions","mode","convertReadableStreamReaderMode","convertByobReadOptions","AcquireReadableStreamBYOBReader","ReadableStreamBYOBReader","_readIntoRequests","IsReadableStreamBYOBReader","byobReaderBrandCheckException","rawOptions","ReadableStreamBYOBReaderRead","ReadableStreamBYOBReaderRelease","ReadableStreamBYOBReaderErrorReadIntoRequests","readIntoRequests","ExtractHighWaterMark","strategy","defaultHWM","ExtractSizeAlgorithm","convertQueuingStrategy","init","convertQueuingStrategySize","convertUnderlyingSink","abort","convertUnderlyingSinkAbortCallback","convertUnderlyingSinkCloseCallback","convertUnderlyingSinkStartCallback","convertUnderlyingSinkWriteCallback","assertWritableStream","IsWritableStream","isAbortSignal","aborted","supportsAbortController","AbortController","createAbortController","WritableStream","rawUnderlyingSink","rawStrategy","underlyingSink","InitializeWritableStream","sizeAlgorithm","SetUpWritableStreamDefaultControllerFromUnderlyingSink","locked","streamBrandCheckException$2","IsWritableStreamLocked","WritableStreamAbort","WritableStreamCloseQueuedOrInFlight","WritableStreamClose","getWriter","AcquireWritableStreamDefaultWriter","WritableStreamDefaultWriter","CreateWritableStream","writeAlgorithm","closeAlgorithm","abortAlgorithm","WritableStreamDefaultController","SetUpWritableStreamDefaultController","_writer","_writableStreamController","_writeRequests","_inFlightWriteRequest","_closeRequest","_inFlightCloseRequest","_pendingAbortRequest","_backpressure","_abortReason","_abortController","_promise","wasAlreadyErroring","_resolve","_reject","_reason","_wasAlreadyErroring","WritableStreamStartErroring","closeRequest","writer","defaultWriterReadyPromiseResolve","WritableStreamDefaultControllerClose","WritableStreamAddWriteRequest","writeRequest","WritableStreamDealWithRejection","WritableStreamFinishErroring","WritableStreamDefaultWriterEnsureReadyPromiseRejected","WritableStreamHasOperationMarkedInFlight","storedError","WritableStreamRejectCloseAndClosedPromiseIfNeeded","abortRequest","WritableStreamFinishInFlightWrite","WritableStreamFinishInFlightWriteWithError","WritableStreamFinishInFlightClose","defaultWriterClosedPromiseResolve","WritableStreamFinishInFlightCloseWithError","WritableStreamMarkCloseRequestInFlight","WritableStreamMarkFirstWriteRequestInFlight","defaultWriterClosedPromiseReject","WritableStreamUpdateBackpressure","backpressure","defaultWriterReadyPromiseReset","_ownerWritableStream","defaultWriterReadyPromiseInitialize","defaultWriterReadyPromiseInitializeAsResolved","defaultWriterClosedPromiseInitialize","defaultWriterReadyPromiseInitializeAsRejected","defaultWriterClosedPromiseInitializeAsResolved","defaultWriterClosedPromiseInitializeAsRejected","IsWritableStreamDefaultWriter","defaultWriterBrandCheckException","defaultWriterLockException","WritableStreamDefaultWriterGetDesiredSize","_readyPromise","WritableStreamDefaultWriterAbort","WritableStreamDefaultWriterClose","WritableStreamDefaultWriterRelease","WritableStreamDefaultWriterWrite","WritableStreamDefaultWriterCloseWithErrorPropagation","WritableStreamDefaultWriterEnsureClosedPromiseRejected","_closedPromiseState","defaultWriterClosedPromiseResetToRejected","_readyPromiseState","defaultWriterReadyPromiseReject","defaultWriterReadyPromiseResetToRejected","WritableStreamDefaultControllerGetDesiredSize","releasedError","WritableStreamDefaultControllerGetChunkSize","WritableStreamDefaultControllerWrite","closeSentinel","abortReason","IsWritableStreamDefaultController","defaultControllerBrandCheckException$2","signal","_controlledWritableStream","WritableStreamDefaultControllerError","_abortAlgorithm","WritableStreamDefaultControllerClearAlgorithms","_strategySizeAlgorithm","_writeAlgorithm","_closeAlgorithm","WritableStreamDefaultControllerGetBackpressure","startPromise","WritableStreamDefaultControllerAdvanceQueueIfNeeded","chunkSizeE","WritableStreamDefaultControllerErrorIfNeeded","enqueueE","WritableStreamDefaultControllerProcessClose","WritableStreamDefaultControllerProcessWrite","sinkClosePromise","sinkWritePromise","_readyPromise_resolve","_readyPromise_reject","getGlobals","globals","isDOMExceptionConstructor","getFromGlobal","createPolyfill","captureStackTrace","writable","ReadableStreamPipeTo","preventClose","preventAbort","shuttingDown","currentWrite","actions","shutdownWithAction","action","addEventListener","pipeLoop","resolveLoop","rejectLoop","pipeStep","resolveRead","rejectRead","isOrBecomesErrored","shutdown","isOrBecomesClosed","destClosed","waitForWritesToFinish","oldCurrentWrite","originalIsError","originalError","doTheRest","finalize","newError","isError","removeEventListener","ReadableStreamDefaultController","IsReadableStreamDefaultController","defaultControllerBrandCheckException$1","ReadableStreamDefaultControllerGetDesiredSize","ReadableStreamDefaultControllerCanCloseOrEnqueue","ReadableStreamDefaultControllerClose","ReadableStreamDefaultControllerEnqueue","ReadableStreamDefaultControllerError","ReadableStreamDefaultControllerClearAlgorithms","_controlledReadableStream","ReadableStreamDefaultControllerCallPullIfNeeded","ReadableStreamDefaultControllerShouldCallPull","ReadableStreamDefaultControllerHasBackpressure","SetUpReadableStreamDefaultController","SetUpReadableStreamDefaultControllerFromUnderlyingSource","underlyingSource","ReadableStreamTee","cloneForBranch2","ReadableByteStreamTee","ReadableStreamDefaultTee","reading","readAgain","canceled1","canceled2","reason1","reason2","branch1","branch2","resolveCancelPromise","cancelPromise","chunk1","chunk2","cancel1Algorithm","compositeReason","cancelResult","cancel2Algorithm","CreateReadableStream","readAgainForBranch1","readAgainForBranch2","forwardReaderError","thisReader","pullWithDefaultReader","pull1Algorithm","pull2Algorithm","pullWithBYOBReader","forBranch2","byobBranch","otherBranch","byobCanceled","otherCanceled","CreateReadableByteStream","isReadableStreamLike","getReader","ReadableStreamFrom","ReadableStreamFromDefaultReader","ReadableStreamFromIterable","asyncIterable","nextResult","nextPromise","returnMethod","returnResult","returnPromise","readPromise","readResult","convertUnderlyingDefaultOrByteSource","convertUnderlyingSourceCancelCallback","convertUnderlyingSourcePullCallback","convertUnderlyingSourceStartCallback","convertReadableStreamType","convertIteratorOptions","convertPipeOptions","assertAbortSignal","convertReadableWritablePair","readable","ReadableStream","rawUnderlyingSource","InitializeReadableStream","streamBrandCheckException$1","pipeThrough","rawTransform","pipeTo","tee","branches","sourceCancelPromise","convertQueuingStrategyInit","byteLengthSizeFunction","ByteLengthQueuingStrategy","_byteLengthQueuingStrategyHighWaterMark","IsByteLengthQueuingStrategy","byteLengthBrandCheckException","countSizeFunction","CountQueuingStrategy","_countQueuingStrategyHighWaterMark","IsCountQueuingStrategy","countBrandCheckException","convertTransformer","flush","readableType","writableType","convertTransformerCancelCallback","convertTransformerFlushCallback","convertTransformerStartCallback","convertTransformerTransformCallback","TransformStream","rawTransformer","rawWritableStrategy","rawReadableStrategy","writableStrategy","readableStrategy","transformer","readableHighWaterMark","readableSizeAlgorithm","writableHighWaterMark","writableSizeAlgorithm","startPromise_resolve","InitializeTransformStream","SetUpTransformStreamDefaultControllerFromTransformer","_transformStreamController","IsTransformStream","streamBrandCheckException","_readable","_writable","TransformStreamDefaultSinkWriteAlgorithm","TransformStreamDefaultSinkAbortAlgorithm","TransformStreamDefaultSinkCloseAlgorithm","TransformStreamDefaultSourcePullAlgorithm","TransformStreamDefaultSourceCancelAlgorithm","_backpressureChangePromise","_backpressureChangePromise_resolve","TransformStreamSetBackpressure","TransformStreamError","TransformStreamErrorWritableAndUnblockWrite","TransformStreamDefaultControllerClearAlgorithms","TransformStreamUnblockWrite","TransformStreamDefaultController","IsTransformStreamDefaultController","defaultControllerBrandCheckException","readableController","_controlledTransformStream","TransformStreamDefaultControllerEnqueue","TransformStreamDefaultControllerError","terminate","TransformStreamDefaultControllerTerminate","SetUpTransformStreamDefaultController","transformAlgorithm","flushAlgorithm","_transformAlgorithm","_flushAlgorithm","_finishPromise","_finishPromise_resolve","_finishPromise_reject","transformResultE","TransformStreamDefaultControllerPerformTransform","transformPromise","backpressureChangePromise","defaultControllerFinishPromiseReject","defaultControllerFinishPromiseResolve","flushPromise","EXIT_FAILURE","exitCode","_program__WEBPACK_IMPORTED_MODULE_0__","CALL","for","makeCallable","convertComparerToEqualityComparer","comparer","invertComparer","combineComparers","leftResult","negateEqualityComparer","orEqualityComparers","andEqualityComparers","CompositeEqualityComparer","_comparer","_negated","inverted","createInternal","equals","or","unwrappedComparer","combinedComparer","and","CompositeComparer","_inverted","thenBy","invert","asEqualityComparer","createComparer","BASE_COMPARER","DEFAULT_COMPARER","createBaseComparer","createDefaultComparer","ORDINAL_COMPARER","IGNORE_CASE_COMPARER","localeCompare","sensitivity","createEqualityComparer","DEFAULT_EQUALITY_COMPARER","createDefaultEqualityComparer","external_node_crypto_namespaceObject","__WEBPACK_EXTERNAL_createRequire","url","string_utils_asString","IS_LETTER_REGEX","isLetter","IS_DIGIT_REGEX","isDigit","IS_LETTER_OR_DIGIT_REGEX","isLetterOrDigit","IS_UPPER_CASE_REGEX","isUpperCase","IS_LOWER_CASE_REGEX","isLowerCase","isNumberString","isIntegerString","stringCompare","ignoreCase","stringEquals","capitalize","uncapitalize","toPascalCase","splitByArrayOfStrings","splitByStringOrRegex","trimEntries","removeEmptyEntries","separators","splitted","previousIndex","lastPart","string_utils_splitLines","lines","shortenedLines","flatMap","words","linesFromCurrentLine","currentLine","string_utils_pad","align","padEnd","fillString","availableLength","padStartLength","generateSecureRandomString","bytes","randomBytes","string_utils_hashString","algorithm","createHash","update","digest","ORDINAL_EQUALITY_COMPARER","IGNORE_CASE_EQUALITY_COMPARER","IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER","compareStringsIgnoreNonWordCharacters","IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER","xI","yI","xChar","yChar","BigIntDescriptor","defaultValue","hasFlag","flag","addFlag","removeFlag","BooleanDescriptor","NumberDescriptor","ENUM_SEPARATORS","DEFAULT_ENUM_SEPARATOR","StringDescriptor","KNOWN_ENUM_DESCRIPTORS","getEnumDescriptorByUnderlyingType","inferEnumDescriptorOrThrow","underlyingType","isSet","isReadOnlySet","ArraySet","_values","valuesOrComparer","iterable_$i","clear","callbackFn","thisArg","iterable_isIterable","iterable","distinct","distinctBy","selector","valueComparer","initialValue","accumulator","skip","it","take","takeLast","isRelative","asArray","skipped","took","extremum","comparisonSign","currentValue","currentValueIndex","sign","_value","searchElement","fromIndex","sequenceEqual","second","firstIterator","secondIterator","firstCurrentElement","secondCurrentElement","searchElements","iterableIterator","searchElementsIterator","iterableElement","toIndex","searchElementsBuffered","limitedIterable","lastElements","findIndex","last","lastValue","at","iterables","firstIteration","firstElement","asArrayLike","ArrayLikeIterable","_iterable","of","toMap","ArrayMap","toSet","toRecord","record","isMap","isReadOnlyMap","map_isMultiMap","MultiMap","multiMap","_keys","entriesOrComparer","getFirst","existingValues","flatValues","flatEntries","forEachFlat","isKeyValueIterable","defineNestedProperties","properties","iterableProperties","isIterable","defineNestedProperty","property","currentObj","propertyName","existingValue","nestedDescriptor","getAllPropertyDescriptors","visited","getOwnPropertyNames","getOwnPropertySymbols","descriptors","getOwnPropertyDescriptors","getPropertyDescriptor","ownPropertyDescriptor","getOwnPropertyDescriptor","$i","getAllKeys","getAllNames","getAllSymbols","getAllValues","getAllEntries","getOwnEntries","getSafe","target","isInvalid","toUndefined","_obj","convert_toString","toBoolean","parsedNumber","toInteger","toFloat","toDate","REGEX_PARSER_REGEX","toRegExp","groups","CONVERT_METHOD_PREFIXES","PARSE_METHOD_PREFIXES","getConverter","prioritizeParsing","strategies","resolvedStrategies","prefixes","mapper","parseLike","getParseLikeFunction","mapped","prioritizedParseMethodName","propertyNames","parseMethodNames","firstParseMethodName","KNOWN_CONSTRUCTORS","KNOWN_TYPES","toType","knownConverter","globalThisMember","converter","converted","enumKeys","isEnumKey","enumEntries","DynamicEnum","_names","_descriptor","_hasFlags","hasFlags","underlyingEnum","keyOf","friendlyNameOf","friendlyName","findKey","existingKey","remainingValue","isZero","isFlagPresent","findOrParseValue","formattedFlags","formattedFlag","keyAsValue","enumValues","createEnum","dynamicEnumOptions","toDynamicEnumOptions","dynamicEnum","o","ignoreNonWordCharacters","Enum","external_node_util_namespaceObject","GameVersionFilterValues","GameVersionFilterOptions","game_version_filter_filter","filtered","GameVersionFilter","NONE","filterVersionType","applyVersionRange","MIN_MAJOR","MAX_MAJOR","MIN_MINOR","MAX_MINOR","MIN_PATCH","MAX_PATCH","allowReleases","RELEASES","allowBetas","BETAS","allowAlphas","ALPHAS","allowAny","isRelease","isBeta","isAlpha","minFlag","maxFlag","MIN_SAFE_INTEGER","_fromVersionResolver","versionResolverName","MIN","fromVersionResolver","deprecate","GameVersionFilterMethods","parseVersion","SemVerVersion","SEMVER_TAG_REGEX","_semver","_version","node_modules_semver","numericVersion","parsedSemVer","parseVersionRange","SemVerVersionRange","anyVersionRange","noneVersionRange","none","INTERVAL_LIKE_REGEX","mixedToSemver","intervalToSemver","INTERVAL_REGEX","fromOperator","from_bracket","toOperator","to_bracket","SEMVER_OPTIONAL_PATCH_REGEX","fixMissingPatchVersion","_range","mixedRange","semverRange","parsedSemverRange","internalSemVer","VersionTypeValues","VersionTypeOptions","parseFromFileName","VersionType","ALPHA","BETA","RELEASE","VersionTypeMethods","MinecraftVersionTypeValues","MinecraftVersionTypeOptions","toVersionType","MinecraftVersionType","SNAPSHOT","OLD_BETA","OLD_ALPHA","MinecraftVersionTypeMethods","MinecraftVersion","_id","_mcType","_type","_url","_releaseDate","releaseDate","isSnapshot","isOldAlpha","isOldBeta","getMinecraftVersionManifestEntries","manifest","releaseTime","valueOf","ACTION_NAME","MiddlewareHandler","_target","_delegates","use","middleware","execute","asFunction","delegates","Blob","isBlob","blob","readBlob","blobFrom","readBlobSync","SX","ModrinthUnfeatureModeValues","ModrinthUnfeatureModeOptions","isNone","ModrinthUnfeatureMode","isSubset","GAME_VERSION_SUBSET","VERSION_TYPE_SUBSET","LOADER_SUBSET","isIntersection","GAME_VERSION_INTERSECTION","VERSION_TYPE_INTERSECTION","LOADER_INTERSECTION","getGameVersionMode","GAME_VERSION_ANY","getVersionTypeMode","VERSION_TYPE_ANY","getLoaderMode","LOADER_ANY","previous","currentArray","shouldUnfeature","gameVersionMode","versionTypeMode","loaderMode","game_versions","version_type","loaders","ModrinthUnfeatureModeMethods","CIPHER_TYPE","KEY_LENGTH","IV_LENGTH","BUFFERS","WeakMap","KEYS","IVS","SecureString","iv","decryptedBuffer","cipher","createCipheriv","final","unwrap","decipher","createDecipheriv","toJSON","argument_error_ArgumentError","paramName","_paramName","formatErrorMessage","throwIfNullOrEmpty","argument","EMPTY_ARGUMENT_ERROR_MESSAGE","DEFAULT_ARGUMENT_ERROR_MESSAGE","PARAM_NAME_MESSAGE_PATTERN","ArgumentNullError","DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE","throwIfNull","external_node_os_namespaceObject","environment_ENVIRONMENT","WINDOWS_NEWLINE","environment_UNIX_NEWLINE","environment_DEFAULT_NEWLINE","EOL","environment_getEnvironmentVariable","variable","getAllEnvironmentVariables","environment_setEnvironmentVariable","asString","isDebug","isGitHubAction","platformName","isMacOs","isLinux","external_node_console_namespaceObject","CONSOLE_INSTANCE","warn","ConsoleLogger","_console","fatal","NullLogger","_message","ProcessLogger","_logConsumer","_newline","processOrLogConsumer","newline","stdout","msg","level","cmd","NULL_LOGGER","CONSOLE_LOGGER","PROCESS_LOGGER","getDefaultLogger","Stopwatch","_isRunning","_startTime","_elapsedTime","_onStart","_onStop","onStart","onStop","elapsedMilliseconds","isRunning","restart","startNew","stopwatch","createMessageCallback","logger","LoggingStopwatch","startCallback","stopCallback","FailModeValues","FailModeOptions","FailMode","ErrorBuilder","_logger","_errors","hasErrors","SKIP","WARN","AggregateError","throwIfHasErrors","SoftError","_isSoft","isSoft","isSoftError","FileNotFoundError","_fileName","DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN","throwIfNotFound","external_node_fs_","existsSync","HttpError","_response","response","isServerError","fromResponse","cachedResponse","HttpResponse","errorText","status","isHtmlDocument","statusText","isHttpError","promises_namespaceObject","FileInfo","_path","external_node_path_","directoryName","exists","createReadStream","json","JSON","fileEquals","leftPath","rightPath","findFiles","out_default","findFilesSync","file_info_readFile","getFileName","readAllText","readZippedFile","node_stream_zip_default","readAllZippedText","readFileSync","getFileNameSync","readAllTextSync","PlatformTypeValues","PlatformTypeOptions","PlatformType","DependencyTypeValues","DependencyTypeOptions","DependencyType","FabricDependencyTypeValues","FabricDependencyTypeOptions","toDependencyType","FabricDependencyType","DEPENDS","REQUIRED","RECOMMENDS","RECOMMENDED","INCLUDES","EMBEDDED","SUGGESTS","OPTIONAL","BREAKS","INCOMPATIBLE","CONFLICTS","CONFLICTING","fromDependencyType","FabricDependencyTypeMethods","isLegacyDependencyFormat","dependency","_parseLegacyDependencyFormat","dependencyFormat","fabricType","parseLegacyDependencyFormat","parseDependency","dependencyInfo","parseDependencyFormat","createDependency","DEPENDENCY_REGEX","DEPENDENCY_ALIASES_REGEX","versionRange","aliases","matchAll","ignoredPlatforms","isDependency","versionRanges","getProjectId","formatDependency","ignoredBy","JavaVersion","_name","_versionNumber","versionNumber","java","ACTION_MODULE_LOADER","modrinth_unfeature_mode_namespaceObject","secure_string_namespaceObject","file_info_namespaceObject","version_type_namespaceObject","dependency_namespaceObject","game_version_filter_namespaceObject","java_version_namespaceObject","fail_mode_namespaceObject","uploaded_file_namespaceObject","NODE_MODULE_LOADER","DYNAMIC_MODULE_LOADER","DEFAULT_MODULE_PROVIDER","DEFAULT_EXPORT_NAME","formatImportDirective","directive","wrappedName","isDefault","parseImportDirective","stringifiedDirective","replaceAll","executeImportDirective","moduleLoader","defaultModuleProvider","targetModule","required","importName","normalizeImportName","nameWithoutGenerics","FormData","esm_min","Ct","FILE_PATH","isFormData","toFormData","toFormDataEntry","formData","multipart_parser","MultipartParser","QueryString","URLSearchParams","params","normalizeUrlParams","queryString","existed","getString","getBoolean","rawValue","getNumber","getDate","getRegExp","isURLSearchParams","urlParams","isQueryString","isHttpRequestBody","body","isBuffer","isReadableStream","isStreamableHttpRequestBody","setEncoding","HEADER_SEPARATOR","hasHeader","headers","header","getHeader","arrayLikeHeaders","appendHeader","isMultiMap","concatenatedValue","setHeader","appendHeaders","newHeaders","mergeHeaders","deleteHeader","headerIndex","setHeaders","setDefaultHeader","setDefaultHeaders","defaultHeaders","deleteHeaders","headersToDelete","cloneHeaders","merger","defaultHeadersIterable","headerEntry","inferHttpRequestBodyHeaders","http_method_httpMethodEquals","isGetHttpMethod","canHttpMethodAcceptBody","isHeadHttpMethod","isConnectHttpMethod","isTraceHttpMethod","isPostHttpMethod","isPutHttpMethod","isPatchHttpMethod","isDeleteHttpMethod","isOptionsHttpMethod","external_node_http_namespaceObject","external_node_https_namespaceObject","external_node_zlib_namespaceObject","external_node_stream_namespaceObject","external_node_buffer_namespaceObject","dataUriToBuffer","uri","firstComma","meta","charset","base64","typeFull","dist","FetchBaseError","FetchError","systemError","erroredSysCall","syscall","NAME","isURLSearchParameters","object","getAll","is_isBlob","arrayBuffer","isDomainOrSubdomain","orig","URL","hostname","isSameProtocol","protocol","pipeline","promisify","INTERNALS","Body","boundary","types","isAnyArrayBuffer","au","disturbed","error_","bodyUsed","consumeBody","ct","parameters","fetch_blob","Z","accum","accumBytes","readableEnded","ended","clone","instance","p1","p2","getBoundary","getNonSpecFormDataBoundary","extractContentType","getTotalBytes","getLengthSync","hasKnownLength","writeToStream","validateHeaderName","validateHeaderValue","Headers","isBoxedPrimitive","Proxy","Reflect","fromRawHeaders","redirectStatus","isRedirect","response_INTERNALS","Response","contentType","ok","redirected","redirect","location","external_node_url_namespaceObject","getSearch","parsedURL","search","lastOffset","href","hash","external_node_net_namespaceObject","stripURLForUseAsAReferrer","originOnly","username","password","pathname","ReferrerPolicy","DEFAULT_REFERRER_POLICY","validateReferrerPolicy","referrerPolicy","isOriginPotentiallyTrustworthy","hostIp","host","hostIPVersion","isIP","isUrlPotentiallyTrustworthy","determineRequestsReferrer","referrerURLCallback","referrerOriginCallback","referrer","policy","referrerSource","referrerURL","referrerOrigin","currentURL","origin","parseReferrerPolicyFromHeader","policyTokens","request_INTERNALS","isRequest","doBadDataWarn","Request","inputBody","parsedReferrer","follow","compress","agent","insecureHTTPParser","getNodeRequestOptions","contentLengthValue","totalBytes","AbortError","supportedSchemas","fetch","options_","send","abortAndFinalize","request_","fixResponseChunkedTransferBadEnding","endedWithEventsCount","prependListener","_eventsCount","hadError","response_","rawHeaders","statusCode","locationURL","requestOptions","responseReferrerPolicy","responseOptions","statusMessage","codings","zlibOptions","Z_SYNC_FLUSH","finishFlush","createGunzip","createInflate","createBrotliDecompress","errorCallback","LAST_CHUNK","isChunkedTransfer","properLastChunkReceived","previousChunk","socket","onSocketClose","onData","DEFAULT_HEADERS","fetch_fetch","createFetch","baseUrl","fetchPipeline","configurableFetch","prepareUrl","prepareRequest","urlWithoutSlashOnItsStart","baseUrlWithSlashOnItsEnd","param","searchParams","fetchDestinationEquals","leftUrl","leftMethod","normalizeUrl","normalizeHttpMethod","rightUrl","rightMethod","httpMethodEquals","urlString","separatorIndex","CachedHttpResponse","content","serialized","redirectOptions","_blob","_formData","defaultResponse","responseFactory","throwOnError","errorInstance","DEFAULT_CACHE_FILTER","DEFAULT_CACHE_COMPARER","simpleCache","HttpRequest","HttpRequestBuilder","post","put","bodyHeaders","timeout","ms","AbortSignal","VERSION_PATTERN","VERSION_REGEX","RELEASE_REGEX","PRE_RELEASE_REGEX","RELEASE_CANDIDATE_REGEX","SNAPSHOT_REGEX","EXPERIMENTAL_REGEX","BETA_REGEX","ALPHA_REGEX","INDEV_REGEX","LEGACY_VERSION_RANGE","SPECIAL_VERSIONS","normalizeMinecraftVersion","releaseVersion","findNearestReleaseMinecraftVersion","normalizeUnknownMinecraftVersion","normalizeMinecraftVersionRange","versionRegex","normalizedRanges","getMinecraftVersionRegExp","normalizeOldMinecraftVersion","rcBuild","isLegacy","isLegacyMinecraftVersion","normalized","wasDigit","wasLeadingZero","wasSeparator","hasHyphen","snapshot","year","week","hardcodedSnapshotVersion","findNearestReleaseMinecraftVersionBySnapshotDate","MOJANG_API_URL","MojangApiClient","_fetch","_versions","_versionRegExp","getMinecraftVersion","getAllMinecraftVersions","getMinecraftVersions","normalizedRange","manifestEntries","normalizedVersion","MINECRAFT_VERSION_PROVIDER","MINECRAFT","GAME_VERSION_PROVIDERS","getGameVersionProviderByName","isPromise","sleep","MIN_DELAY","run","runSafely","retry","delay","maxAttempts","attempts","isNumberOfAttemptsExceeded","isRecoverable","isErrorHandled","handlerOutput","DEFAULT_RETRY_ATTEMPTS","DEFAULT_RETRY_DELAY","GenericPlatformUploader","upload","retryAttempts","retryDelay","report","uploadCore","convertToSimpleDependencies","dependencies","typeConverter","CurseForgeDependencyTypeValues","CurseForgeDependencyTypeOptions","curseforge_dependency_type_toDependencyType","CurseForgeDependencyType","EMBEDDED_LIBRARY","OPTIONAL_DEPENDENCY","REQUIRED_DEPENDENCY","TOOL","curseforge_dependency_type_fromDependencyType","CurseForgeDependencyTypeMethods","isCurseForgeProjectId","idOrSlug","CURSEFORGE_ETERNAL_API_VERSION","CURSEFORGE_ETERNAL_API_URL","DEFINITELY_NOT_AN_API_KEY","CurseForgeEternalApiClient","getProject","with","gameId","slug","isCurseForgeError","errorCode","errorMessage","INVALID_PROJECT_SLUG_ERROR_CODE","INVALID_PROJECT_SLUG_REGEX","isInvalidProjectSlugCurseForgeError","getInvalidProjectSlug","INVALID_GAME_VERSION_ID_ERROR_CODE","isInvalidGameVersionIdCurseForgeError","CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER","aVersion","bVersion","CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER","findCurseForgeGameVersionIdsByNames","fallbackComparer","formatCurseForgeGameVersion","gameVersion","formatCurseForgeGameVersionSnapshot","createCurseForgeGameVersionMap","filterGameVersionsByTypeName","game_versions_for_plugins","game_versions_for_addons","java_versions","environments","typeName","filteredTypes","gameVersionTypeID","BUKKIT_GAME_VERSION_TYPE","packCurseForgeVersionInit","gameVersions","parentFileId","hasParentFile","metadata","changelog","changelogType","changelog_type","displayName","parentFileID","releaseType","relations","projects","CURSEFORGE_UPLOAD_API_URL","CurseForgeUploadApiClient","_gameVersionProvider","gameVersionProvider","getGameVersionTypes","gameVersionTypes","getGameVersions","getGameVersionMap","createVersion","gameVersionIdVariants","getGameVersionIdVariants","createdVersion","fileData","version_id","uploadedFile","uploadFile","tryHandleUploadError","project_id","projectId","form","gameVersionUnion","javaVersions","javaVersionNames","gameVersionNames","pluginGameVersionNames","gameVersionIds","loaderIds","javaIds","pluginGameVersionIds","addonGameVersionIds","idVariants","nonEmptyIdVariants","errorObject","handleInvalidProjectSlugCurseForgeError","handleInvalidGameVersionIdCurseForgeError","invalidSlug","oldDependencies","CurseForgeUploader","CURSEFORGE","eternalApi","project","links","websiteUrl","convertToCurseForgeDependencies","versionType","simpleDependencies","curseForgeDependencies","uniqueCurseForgeDependencies","packGitHubReleaseInit","owner","repo","assets","packGitHubReleasePatch","GITHUB_API_URL","GITHUB_API_VERSION","GitHubApiClient","Accept","Authorization","getRelease","tag_name","createRelease","createdRelease","updateRelease","updateReleaseAssets","shouldUpdate","releaseAssets","asset","existingAsset","deleteReleaseAsset","uploadedAsset","uploadReleaseAsset","upload_url","fileInfo","encodeURIComponent","fileContent","GitHubUploader","_context","githubContext","GITHUB","apiUrl","updateOrCreateRelease","tag","html_url","browser_download_url","getOrCreateReleaseId","created","payload","target_commitish","commitish","draft","discussion_category_name","discussion","generate_release_notes","generateChangelog","packModrinthVersionInit","version_number","featured","primary_file","file_parts","packModrinthVersionSearchTemplate","template","MODRINTH_API_VERSION","MODRINTH_API_URL","MODRINTH_STAGING_API_URL","ModrinthApiClient","getLoaders","getProjects","idsOrSlugs","ids","updateProject","deleteProject","getVersion","getVersions","updateVersion","deleteVersion","getProjectVersions","unfeaturePreviousProjectVersions","currentVersion","SUBSET","previousVersions","unfeaturedVersions","previousVersion","ModrinthDependencyTypeValues","ModrinthDependencyTypeOptions","modrinth_dependency_type_toDependencyType","ModrinthDependencyType","modrinth_dependency_type_fromDependencyType","ModrinthDependencyTypeMethods","ModrinthUploader","MODRINTH","unfeatureMode","unfeaturePreviousVersions","project_type","hashes","sha1","filename","convertToModrinthGameVersionNames","convertToModrinthLoaderNames","convertToModrinthDependencies","modrinthDependencies","dependency_type","uniqueModrinthDependencies","modrinthLoaders","supported_project_types","modrinthGameVersions","success","nonUnfeaturedVersions","createPlatformUploader","IGNORED_DEPENDENCIES","DEPENDENCY_ALIASES","getFabricDependencies","toFabricDependencyArray","normalizeFabricDependency","LoaderTypeValues","LoaderTypeOptions","LoaderType","getFabricMetadataCustomPayload","containsLegacyCustomPayloadDefinition","getLegacyFabricMetadataCustomPayload","custom","modmanager","_getLegacyFabricMetadataCustomPayload","modManagerPayload","basePayload","DEFAULT_LOADERS","FABRIC","getLoadersFromFabricMetadataCustomPayload","containsLegacyLoadersDefinition","getLegacyLoadersFromFabricMetadataCustomPayload","quilt","_getLegacyLoadersFromFabricMetadataCustomPayload","QUILT","getDependenciesFromFabricMetadataCustomPayload","getProjectIdFromFabricMetadataCustomPayload","FabricMetadata","_raw","customPayload","gameName","baseDependencies","payloadDependencies","dependencyMap","FABRIC_MOD_JSON","FabricMetadataReader","readMetadataFile","metadataText","forge_dependency_IGNORED_DEPENDENCIES","getForgeDependencies","modId","normalizeForgeDependency","getForgeDependencyCustomPayload","incompatible","embedded","mandatory","containsLegacyForgeDependencyCustomPayload","getLegacyForgeDependencyCustomPayload","_getLegacyForgeDependencyCustomPayload","legacyPayload","getForgeMetadataCustomPayload","forge_metadata_custom_payload_containsLegacyCustomPayloadDefinition","getLegacyForgeMetadataCustomPayload","_getLegacyForgeMetadataCustomPayload","getLoadersFromForgeMetadataCustomPayload","FORGE","getDependenciesFromForgeMetadataCustomPayload","getProjectIdFromForgeMetadataCustomPayload","ForgeMetadata","mod","mods","MODS_TOML","ForgeMetadataReader","toml","quilt_dependency_IGNORED_DEPENDENCIES","quilt_dependency_DEPENDENCY_ALIASES","getQuiltDependencies","mapQuiltDependencies","quilt_loader","depends","breaks","breaking","provides","provided","customFields","normalizeQuiltDependency","getQuiltDependencyCustomPayload","unless","optional","getQuiltMetadataCustomPayload","quilt_metadata_custom_payload_containsLegacyCustomPayloadDefinition","getLegacyQuiltMetadataCustomPayload","_getLegacyQuiltMetadataCustomPayload","quilt_metadata_custom_payload_DEFAULT_LOADERS","getLoadersFromQuiltMetadataCustomPayload","getDependenciesFromQuiltMetadataCustomPayload","getProjectIdFromQuiltMetadataCustomPayload","QuiltMetadata","QUILT_MOD_JSON","QuiltMetadataReader","NeoForgeDependencyTypeValues","NeoForgeDependencyTypeOptions","neoforge_dependency_type_toDependencyType","NeoForgeDependencyType","DISCOURAGED","neoforge_dependency_type_fromDependencyType","NeoForgeDependencyTypeMethods","neoforge_dependency_IGNORED_DEPENDENCIES","getNeoForgeDependencies","normalizeNeoForgeDependency","getNeoForgeMetadataCustomPayload","getLoadersFromNeoForgeMetadataCustomPayload","NEOFORGE","getDependenciesFromNeoForgeMetadataCustomPayload","getProjectIdFromNeoForgeMetadataCustomPayload","NeoForgeMetadata","raw_neoforge_metadata_MODS_TOML","NEOFORGE_MODS_TOML","NeoForgeMetadataReader","combineLoaderMetadataReaders","readers","readerArray","createLoaderMetadataReader","loader","createDefaultLoaderMetadataReader","GITHUB_PAYLOAD_PATH","GITHUB_REPOSITORY","github_context_GITHUB_API_URL","GITHUB_REF","GITHUB_REF_TAG_PREFIX","GitHubContext","_env","_payload","ref","repository","parseActionParameterTypeDescriptor","optionsIndex","normalizedDescriptor","normalizePattern","normalizePatternInDotNotation","mainDescriptor","typeDescriptor","typeModule","factoryModule","isTypeImported","isFactoryImported","factoryDescriptor","dotDescriptor","factoryName","slashDescriptor","action_parameter_path_parser_IDENTITY_ACTION_PARAMETER_PATH_PARSER","SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER","SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER","parameter","inputs","outputs","groupNames","parameterGroup","maxPathLength","flattenedPath","flattenPath","action_parameter_descriptor_getActionParameterDescriptor","descriptorFactory","pathParser","IDENTITY_ACTION_PARAMETER_PATH_PARSER","getActionParameterDescriptors","namedParameters","getActionInputDescriptor","getActionParameterDescriptor","asActionInputDescriptor","action_input_descriptor_getActionInputDescriptors","isDefaultUndefined","action_input_SYNTHETIC_UNDEFINED","deprecationMessage","ActionParameterFactoryOptionsValues","ActionParameterFactoryOptionsOptions","ActionParameterFactoryOptions","INPUT_PREFIX","setActionInput","normalizedName","normalizeActionParameterName","environmentVariableName","stringifiedValue","setEnvironmentVariable","setActionInputs","getActionInput","brokenValue","getEnvironmentVariable","isActionInputDefined","trimmedValue","trimWhitespace","getActionInputs","getAllActionInputs","inputName","isValueDefined","inputValue","getAllActionInputsAsObject","descriptorArray","inputObject","targetDescriptor","parsedValue","parseInput","getAllActionInputsAsObjectUsingMetadata","shouldSplit","SPLIT","parseMultipleInputs","parseSingleInput","SEPARATOR","processSeparately","PROCESS_SEPARATELY","TRIM_ENTRIES","REMOVE_EMPTY_ENTRIES","flatDepth","FLAT_DEPTH","processedValues","flattenedValues","typeImport","factoryImport","conversionMethodContainers","convertedValue","YAML_FRAME_STYLE","filler","auto_generated_JS_MULTILINE_FRAME_STYLE","lineStart","lineEnd","JS_SINGLELINE_FRAME_STYLE","DEFAULT_FRAME_STYLE","DEFAULT_FRAME_ALIGN","generateAutoGeneratedWarningText","sourceFileName","baseWarning","auto_generated_generateAutoGeneratedWarningFrame","style","DEFAULT_NEWLINE","minLineLength","maxLineLength","lineWidth","splitLines","frameSize","fillerCount","frameLine","builtFrame","DEFAULT_TAB","DEFAULT_TAB_SIZE","typescript_formatting_options_DEFAULT_QUOTES","getTab","tab","tabSize","createTab","typescript_formatting_options_getIndentation","createIndentation","indent","typescript_formatting_options_getNewline","typescript_formatting_options_getQuotes","preferredQuotes","typescript_formatting_options_incrementIndent","CACHED_TABS","cachedTab","generatedTab","CACHED_INDENTATION","cachedIndentationsByTab","cachedIndentation","generatedIndentation","typescript_comment_TypeScriptComment","_text","isSingleline","isSinglelineComment","isDirective","isDirectiveComment","isMultiline","isMultilineComment","isTSDoc","isTSDocComment","MULTILINE_TEMPLATE","SINGLELINE_TEMPLATE","commentedLines","startDelimiter","endDelimiter","commentText","createSingleline","createDirective","DIRECTIVE_TEMPLATE","createMultiline","createTSDoc","TSDOC_TEMPLATE","isComment","abstract_typescript_node_AbstractTypeScriptNode","_comments","comments","addComment","commentNode","TypeScriptComment","addTSDoc","deleteComment","formatComments","getNewline","formattedComments","formattedContent","formatContent","formattedNode","typescript_export_TypeScriptExport","_exportedNode","_isDefault","exportedNode","thisComments","nodeComments","isCommentableTypeScriptNode","getIndentation","formattedExportedNode","trimStart","formattedExport","typescript_import_TypeScriptImport","_namedImports","_defaultImportName","_wildcardImportName","namedImports","defaultImportName","wildcardImportName","assertIsValidImport","createWildcardImport","createDefaultImport","createNamedImport","createEmptyImport","addNamedImport","ArgumentError","addNamedImports","deleteNamedImport","isNamedImport","isDefaultImport","isWildcardImport","isEmptyImport","getQuotes","formatted","formattedNamedImports","typescript_imports_TypeScriptImports","_imports","imports","getImport","getOrCreateImport","TypeScriptImport","addImport","importNode","existingImportNode","deleteImport","importNodeOrPath","addWildcardImport","addDefaultImport","namedImport","formattedImports","typescript_document_TypeScriptDocument","_nodes","TypeScriptImports","addExport","TypeScriptExport","addDefaultExport","saveSync","writeFileSync","save","writeFile","formattedNodes","formattedDocument","isValidMemberName","typescript_member_escapeMemberName","DEFAULT_QUOTES","escapedName","typescript_property_TypeScriptProperty","isOptional","accessModifier","isReadOnly","isAbstract","isStatic","copiedProperty","formattedName","escapeMemberName","formattedType","staticModifier","abstractModifier","readonlyModifier","optionalModifier","formattedProperty","typescript_type_literal_TypeScriptTypeLiteral","STRING","NUMBER","BIGINT","BOOLEAN","SYMBOL","UNDEFINED","OBJECT","FUNCTION","NEVER","cachedType","TYPE_CACHE","isComposite","isUnion","isAlias","composingTypes","typescript_union_type_TypeScriptUnionType","_composingTypes","composingTypesArray","TypeScriptTypeLiteral","formattedTypes","typescript_object_TypeScriptObject","_members","members","TypeScriptProperty","getMember","getNestedMember","member","hasMember","hasNestedMember","addMember","deleteMember","getProperty","getNestedProperty","hasProperty","hasNestedProperty","addProperty","addNestedProperty","localPropertyName","nestedObject","nestedProperty","localProperty","decomposeType","TypeScriptUnionType","doubleNewline","indentedOptions","incrementIndent","formattedMembers","formattedObject","typescript_interface_TypeScriptInterface","_definition","definition","TypeScriptObject","formattedDefinition","formattedInterface","typescript_type_alias_TypeScriptTypeAlias","formattedTypeAlias","TypeScriptIntersectionType","CONST_DECLARATION","LET_DECLARATION","VAR_DECLARATION","typescript_variable_TypeScriptVariable","_declaration","declaration","formattedValue","getActionOutputDescriptor","asActionOutputDescriptor","action_output_descriptor_getActionOutputDescriptors","isValueUndefined","DEFAULT_ROOT_PATH","DEFAULT_ACTION_NAME_CONSTANT_NAME","DEFAULT_INPUT_TYPE_NAME","DEFAULT_OUTPUT_TYPE_NAME","DEFAULT_MODULE_LOADER_NAME","DISABLE_ES_LINT_COMMENT","parseActionMetadataFromString","actionYamlText","yaml_dist","Qc","parseActionMetadataFromFile","actionFile","processActionMetadataTemplate","groupDelimiter","DEFAULT_ACTION_GROUP_DELIMITER","removeTemplateOnlyFields","sanitizeActionInputs","groupActionParameters","SYNTHETIC_UNDEFINED","removeTemplateOnlyActionFields","processActionMetadataTemplateString","templateYamlText","generateAutoGeneratedWarningMessage","parsedTemplate","processedTemplate","stringifiedProcessedTemplate","stringifyYaml","fixedStringifiedProcessedTemplate","UNIX_NEWLINE","warningMessage","generateAutoGeneratedWarningFrame","stringifiedProcessedTemplateWithWarning","processActionMetadataTemplateFile","inputTemplateFile","outputMetadataFile","namedGroups","groupedValues","vName","gName","g","groupName","valueName","isForciblyIncluded","include","isForciblyExcluded","exclude","isPartOfGroup","shouldBeIncluded","groupedValueName","groupedRedirectName","sanitizedInputs","copiedInput","cleanedValues","copiedValue","createTypeScriptDefinitionForActionMetadata","document","TypeScriptDocument","inputDescriptors","getActionInputDescriptors","inputGroups","outputDescriptors","getActionOutputDescriptors","outputGroups","rootPath","createTypeScriptImportForActionParameter","createTypeScriptCommentsForActionMetadata","actionName","createTypeScriptConstantForActionName","inputsInterface","createTypeScriptInterfaceForActionInputs","inputGroupAliases","createTypeScriptAliasForActionGroup","outputInterface","createTypeScriptInterfaceForActionOutputs","outputGroupAliases","actionNameConstant","TypeScriptVariable","disableESLint","autoGeneratedWarningMessage","JS_MULTILINE_FRAME_STYLE","autoGeneratedWarningComment","pathExtractionOptions","inputType","typeDescription","createTypeScriptInterfaceForActionParameters","outputType","isOptionalPredicate","tsInterface","TypeScriptInterface","tsInterfaceDefinition","groupProperty","modulePath","tsImport","referencedTypeName","mappedPath","groupAlias","TypeScriptTypeAlias","createModuleLoaderTypeScriptDefinitionForActionMetadata","modules","hashString","fallback","formattedConditions","moduleLoaderBody","moduleLoaderName","stripActionMetadataFromCustomFields","stripped","strippedInput","strippedOutput","stripActionMetadataStringFromCustomFields","parsedMetadata","strippedMetadata","stringifiedStrippedMetadata","fixedStringifiedStrippedMetadata","stringifiedStrippedMetadataWithWarning","stripActionMetadataFileFromCustomFields","inputMetadataFile","OUTPUT_FILE_NAME","OUTPUT_CACHE","setActionOutput","nameAndValue","formatNameAndValue","appendFileSync","formatValue","delimiter","generateDelimiter","DELIMITER_SIZE","setActionOutputs","getActionOutput","getActionOutputs","getAllActionOutputs","ENVIRONMENT","createActionOutputController","ActionOutputController","navigate","createActionOutputControllerUsingMetadata","_descriptors","_getOutput","_setOutput","getOutput","setOutput","findNearestDescriptor","newValue","proxy","ownKeys","deleteProperty","isExtensible","preventExtensions","main","initializeAction","publish","metadataReader","errors","processedPlatforms","platformOptions","fillInDefaultValues","uploader","failMode","FAIL","primaryFile","wrappedGameVersions","unwrappedGameVersions","gameVersionFilter","identity","Scalar","YAMLMap","YAMLSeq","resolveBlockMap","resolveBlockSeq","resolveFlowCollection","resolveCollection","CN","tagName","coll","Coll","composeCollection","tagToken","directives","expType","schema","tags","kt","knownTags","isNode","Document","composeNode","resolveEnd","resolveProps","composeDoc","_directives","doc","atRoot","props","indicator","startOnNewline","docStart","hasNewline","contents","composeEmptyNode","contentEnd","Alias","composeScalar","utilEmptyScalarPosition","spaceBefore","anchor","isSrcToken","composeAlias","commentBefore","keepSourceTokens","srcToken","emptyScalarPosition","alias","valueEnd","resolveBlockScalar","resolveFlowScalar","findScalarTagByName","findScalarTagByTest","SCALAR","scalar","isScalar","matchWithTest","compat","ts","tagString","cs","getErrorPos","parsePrelude","prelude","atComment","afterEmptyLine","Composer","atDirectives","warnings","warning","YAMLWarning","YAMLParseError","Directives","decorate","afterDoc","dc","isCollection","flow","isPair","streamInfo","compose","forceDoc","endOffset","LOG_STREAM","docEnd","Pair","utilContainsNewline","utilFlowIndentCheck","utilMapIncludes","startColMsg","bm","NodeClass","nodeClass","commentEnd","collItem","keyProps","implicitKey","hasNewlineAfterProp","containsNewline","keyStart","keyNode","flowIndentCheck","mapIncludes","valueProps","valueNode","parseBlockScalarHeader","BLOCK_FOLDED","BLOCK_LITERAL","chompStart","chomp","trimIndent","contentStart","prevMoreIndented","crlf","hasSpace","line0","bs","seq","reqSpace","blockMsg","isBlock","fc","fcName","prevItemComment","loop","st","expectedEnd","ce","ee","cePos","_onError","rel","PLAIN","plainValue","QUOTE_SINGLE","singleQuotedValue","QUOTE_DOUBLE","doubleQuotedValue","badChar","foldLines","fold","foldNewline","cc","escapeCodes","u","U","parseCharCode","wsStart","N","L","P","NaN","atNewline","commentSep","uniqueKeys","isEqual","Collection","toJS","Schema","stringifyDocument","anchors","applyReviver","createNode","replacer","NODE_TYPE","DOC","_replacer","opt","intAsBigInt","logLevel","prettyErrors","atDocument","yaml","explicit","setSchema","assertCollection","addIn","createAlias","anchorNames","findNewAnchor","keyToStr","asStr","aliasDuplicateObjects","anchorPrefix","keepUndefined","onTagObj","onAnchor","setAnchors","sourceObjects","createNodeAnchors","createPair","deleteIn","isEmptyPath","keepScalar","getIn","hasIn","collectionFromPath","setIn","resolveKnownTags","sv","jsonArg","mapAsMap","maxAliasCount","reviver","mapKeyWarned","visit","anchorIsValid","sa","Value","_key","aliasObjects","prevAnchors","v0","defaultTagPrefix","findTagObject","tagObj","identify","isDocument","MAP","BigInt","SEQ","escapeChars","escapeTagName","tn","defaultYaml","defaultTags","atNextDocument","handle","isValid","verbatim","decodeURIComponent","tagEntries","tagNames","YAMLError","prettifyError","linePos","ci","lineStr","lineStarts","pointer","composer","cst","lexer","lineCounter","publicApi","__webpack_unused_export__","isSeq","Lexer","LineCounter","Parser","parseAllDocuments","parseDocument","visitAsync","messages","emitWarning","NodeBase","ALIAS","BREAK","_arg","ReferenceError","aliasCount","getAliasCount","_onComment","_onChompKeep","verifyAliasOrder","kc","vc","hasAllNullValues","allowScalar","maxFlowStringSingleLineLength","stringifyPair","addPairToJSMap","PAIR","onComment","onChompKeep","isScalarValue","stringifyCollection","findPair","sortMapEntries","overwrite","_pair","sortEntries","Type","onCreate","allNullValues","blockItemPrefix","flowChars","itemIndent","asItemIndex","MERGE_KEY","isMergeKey","mergeToJSMap","jsKey","stringKey","stringifyKey","jsValue","srcMap","strCtx","createStringifyContext","inFlow","inStringifyKey","strKey","jsonStr","hasAnchor","stringifyString","resolveAsScalar","createScalarToken","blockQuote","he","addEndtoBlockProps","setScalarValue","afterKey","setBlockScalarValue","setFlowScalarValue","oa","nl","stringifyToken","stringifyItem","REMOVE","visitor","_visit","itemAtPath","parentCollection","ctrl","cstScalar","cstStringify","cstVisit","BOM","DOCUMENT","FLOW_END","prettyToken","tokenType","hexDigits","tagChars","invalidFlowScalarChars","invalidAnchorChars","isNotAnchorChar","atEnd","blockScalarIndent","blockScalarKeep","flowKey","flowLevel","indentNext","indentValue","lineEndPos","lex","incomplete","hasChars","parseNext","atLineEnd","continueScalar","dt","getLine","setNext","parseStream","parseLineStart","parseBlockStart","parseFlowCollection","parseQuotedScalar","parseBlockScalar","parsePlainScalar","pushCount","dirEnd","pushSpaces","pushNewline","sp","ch0","ch1","pushIndicators","pushUntil","atFlowEndMarker","quote","qb","pushToIndex","allowEmpty","pushTag","allowTabs","addNewLine","mid","includesToken","findNonEmptyIndex","isFlowToken","getPrevProps","getFirstKeyStartProps","fixFlowSeqItems","onNewLine","atNewLine","atScalar","onKeyLine","lexeme","LOG_TOKENS","sourceToken","top","blockScalar","blockMap","blockSequence","flowCollection","documentEnd","bv","startBlockValue","atIndentedComment","atNextItem","flowScalar","lineCounter$1","parser$1","composer$1","docs","_doc","_reviver","sortMapEntriesByKey","customTags","toStringDefaults","getTags","coreKnownTags","toStringOptions","nullTag","nullStr","actualString","boolTag","trueStr","falseStr","stringifyNumber","floatNaN","NEGATIVE_INFINITY","floatExp","toExponential","float","minFractionDigits","intIdentify","intResolve","radix","intStringify","intOct","int","intHex","_null","bool","stringifyJSON","jsonScalars","jsonError","schema$1","binary","omap","pairs","schema$2","timestamp","schemas","tagsByName","floatTime","intTime","null","schemaName","atob","btoa","minContentWidth","boolStringify","boolObj","trueTag","falseTag","intBin","YAMLOMap","pairs$1","createPairs","resolvePairs","seenKeys","cn","YAMLSet","keepPair","parseSexagesimal","asBigInt","stringifySexagesimal","_60","month","day","hour","minute","millisec","UTC","tz","toISOString","FOLD_FLOW","FOLD_BLOCK","FOLD_QUOTED","foldFlowLines","indentAtStart","onFold","onOverflow","endStep","folds","escapedFolds","overflow","escStart","escEnd","consumeMoreIndentedLines","j","stringifyComment","commentString","defaultKeyType","defaultStringType","doubleQuotedAsJSON","doubleQuotedMinMultiLineLength","flowCollectionPadding","indentSeq","simpleKeys","singleQuote","collectionStyle","indentStep","getTagObject","stringifyProps","anchors$1","resolvedAliases","stringifyFlowCollection","stringifyBlockCollection","itemCtx","chompKeep","addCommentBefore","ik","lineComment","indentComment","fcPadding","reqNewline","linesAtValue","sum","ic","hasDirectives","contentComment","forceBlockIndent","keyComment","explicitKey","keyCommentDone","vsb","vcb","valueComment","valueCommentDone","valueStr","ws","vs0","nl0","hasPropsLine","sp0","getFoldOptions","containsDocumentMarker","lineLengthOverLimit","indentLength","strLen","doubleQuotedString","minMultiLineLength","singleQuotedString","quotedString","qs","hasDouble","hasSingle","blockEndNewlines","blockString","literal","endStart","endNlPos","startWithSpace","startEnd","startNlPos","indentSize","plainString","ss","_stringify","visitor_","initVisitor","cd","visit_","callVisitor","replaceNode","ck","cv","visitAsync_","Seq","pt","POOL_SIZE","_File","File","_index_js__WEBPACK_IMPORTED_MODULE_0__","lastModified","fileBits","hasInstance","__WEBPACK_DEFAULT_EXPORT__","node_fs__WEBPACK_IMPORTED_MODULE_0__","promises","blobFromSync","fromBlob","fileFrom","fromFile","fileFromSync","_index_js__WEBPACK_IMPORTED_MODULE_4__","BlobDataItem","mtimeMs","node_domexception__WEBPACK_IMPORTED_MODULE_2__","toIterator","_Blob","endings","blobParts","encoder","TextEncoder","encode","decoder","relativeStart","relativeEnd","span","added","subarray","random","fetch_blob_file_js__WEBPACK_IMPORTED_MODULE_1__","formDataToBlob","B","fetch_blob__WEBPACK_IMPORTED_MODULE_0__","S","START_BOUNDARY","HEADER_FIELD_START","HEADER_FIELD","HEADER_VALUE_START","HEADER_VALUE","HEADER_VALUE_ALMOST_DONE","HEADERS_ALMOST_DONE","PART_DATA_START","PART_DATA","END","PART_BOUNDARY","LAST_BOUNDARY","LF","CR","SPACE","HYPHEN","COLON","A","onHeaderEnd","onHeaderField","onHeadersEnd","onHeaderValue","onPartBegin","onPartData","onPartEnd","boundaryChars","ui8a","lookbehind","length_","boundaryLength","boundaryEnd","cl","mark","callbackSymbol","dataCallback","markSymbol","_lookbehind","headerValue","headerField","entryValue","entryChunks","formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__","appendToFile","appendFileToFormData","fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__","$B","appendEntryToFormData","__webpack_module_cache__","moduleId","cachedModule","threw","__webpack_modules__","webpackQueues","webpackExports","webpackError","resolveQueue","wrapDeps","deps","dep","hasAwait","depQueues","currentDeps","outerResolve","rej","getResult","fnQueue","getter","__esModule","scriptUrl","installedChunks","__webpack_exports__"],"sources":[".././node_modules/@nodelib/fs.scandir/out/adapters/fs.js",".././node_modules/@nodelib/fs.scandir/out/constants.js",".././node_modules/@nodelib/fs.scandir/out/index.js",".././node_modules/@nodelib/fs.scandir/out/providers/async.js",".././node_modules/@nodelib/fs.scandir/out/providers/common.js",".././node_modules/@nodelib/fs.scandir/out/providers/sync.js",".././node_modules/@nodelib/fs.scandir/out/settings.js",".././node_modules/@nodelib/fs.scandir/out/utils/fs.js",".././node_modules/@nodelib/fs.scandir/out/utils/index.js",".././node_modules/@nodelib/fs.stat/out/adapters/fs.js",".././node_modules/@nodelib/fs.stat/out/index.js",".././node_modules/@nodelib/fs.stat/out/providers/async.js",".././node_modules/@nodelib/fs.stat/out/providers/sync.js",".././node_modules/@nodelib/fs.stat/out/settings.js",".././node_modules/@nodelib/fs.walk/out/index.js",".././node_modules/@nodelib/fs.walk/out/providers/async.js",".././node_modules/@nodelib/fs.walk/out/providers/stream.js",".././node_modules/@nodelib/fs.walk/out/providers/sync.js",".././node_modules/@nodelib/fs.walk/out/readers/async.js",".././node_modules/@nodelib/fs.walk/out/readers/common.js",".././node_modules/@nodelib/fs.walk/out/readers/reader.js",".././node_modules/@nodelib/fs.walk/out/readers/sync.js",".././node_modules/@nodelib/fs.walk/out/settings.js",".././node_modules/braces/index.js",".././node_modules/braces/lib/compile.js",".././node_modules/braces/lib/constants.js",".././node_modules/braces/lib/expand.js",".././node_modules/braces/lib/parse.js",".././node_modules/braces/lib/stringify.js",".././node_modules/braces/lib/utils.js",".././node_modules/fast-glob/node_modules/glob-parent/index.js",".././node_modules/fast-glob/out/index.js",".././node_modules/fast-glob/out/managers/tasks.js",".././node_modules/fast-glob/out/providers/async.js",".././node_modules/fast-glob/out/providers/filters/deep.js",".././node_modules/fast-glob/out/providers/filters/entry.js",".././node_modules/fast-glob/out/providers/filters/error.js",".././node_modules/fast-glob/out/providers/matchers/matcher.js",".././node_modules/fast-glob/out/providers/matchers/partial.js",".././node_modules/fast-glob/out/providers/provider.js",".././node_modules/fast-glob/out/providers/stream.js",".././node_modules/fast-glob/out/providers/sync.js",".././node_modules/fast-glob/out/providers/transformers/entry.js",".././node_modules/fast-glob/out/readers/async.js",".././node_modules/fast-glob/out/readers/reader.js",".././node_modules/fast-glob/out/readers/stream.js",".././node_modules/fast-glob/out/readers/sync.js",".././node_modules/fast-glob/out/settings.js",".././node_modules/fast-glob/out/utils/array.js",".././node_modules/fast-glob/out/utils/errno.js",".././node_modules/fast-glob/out/utils/fs.js",".././node_modules/fast-glob/out/utils/index.js",".././node_modules/fast-glob/out/utils/path.js",".././node_modules/fast-glob/out/utils/pattern.js",".././node_modules/fast-glob/out/utils/stream.js",".././node_modules/fast-glob/out/utils/string.js",".././node_modules/fastq/queue.js",".././node_modules/fill-range/index.js",".././node_modules/is-extglob/index.js",".././node_modules/is-glob/index.js",".././node_modules/is-number/index.js",".././node_modules/merge2/index.js",".././node_modules/micromatch/index.js",".././node_modules/node-domexception/index.js",".././node_modules/node-stream-zip/node_stream_zip.js",".././node_modules/picomatch/index.js",".././node_modules/picomatch/lib/constants.js",".././node_modules/picomatch/lib/parse.js",".././node_modules/picomatch/lib/picomatch.js",".././node_modules/picomatch/lib/scan.js",".././node_modules/picomatch/lib/utils.js",".././node_modules/queue-microtask/index.js",".././node_modules/reusify/reusify.js",".././node_modules/run-parallel/index.js",".././node_modules/semver/classes/comparator.js",".././node_modules/semver/classes/range.js",".././node_modules/semver/classes/semver.js",".././node_modules/semver/functions/clean.js",".././node_modules/semver/functions/cmp.js",".././node_modules/semver/functions/coerce.js",".././node_modules/semver/functions/compare-build.js",".././node_modules/semver/functions/compare-loose.js",".././node_modules/semver/functions/compare.js",".././node_modules/semver/functions/diff.js",".././node_modules/semver/functions/eq.js",".././node_modules/semver/functions/gt.js",".././node_modules/semver/functions/gte.js",".././node_modules/semver/functions/inc.js",".././node_modules/semver/functions/lt.js",".././node_modules/semver/functions/lte.js",".././node_modules/semver/functions/major.js",".././node_modules/semver/functions/minor.js",".././node_modules/semver/functions/neq.js",".././node_modules/semver/functions/parse.js",".././node_modules/semver/functions/patch.js",".././node_modules/semver/functions/prerelease.js",".././node_modules/semver/functions/rcompare.js",".././node_modules/semver/functions/rsort.js",".././node_modules/semver/functions/satisfies.js",".././node_modules/semver/functions/sort.js",".././node_modules/semver/functions/valid.js",".././node_modules/semver/index.js",".././node_modules/semver/internal/constants.js",".././node_modules/semver/internal/debug.js",".././node_modules/semver/internal/identifiers.js",".././node_modules/semver/internal/parse-options.js",".././node_modules/semver/internal/re.js",".././node_modules/semver/node_modules/lru-cache/index.js",".././node_modules/semver/node_modules/yallist/iterator.js",".././node_modules/semver/node_modules/yallist/yallist.js",".././node_modules/semver/ranges/gtr.js",".././node_modules/semver/ranges/intersects.js",".././node_modules/semver/ranges/ltr.js",".././node_modules/semver/ranges/max-satisfying.js",".././node_modules/semver/ranges/min-satisfying.js",".././node_modules/semver/ranges/min-version.js",".././node_modules/semver/ranges/outside.js",".././node_modules/semver/ranges/simplify.js",".././node_modules/semver/ranges/subset.js",".././node_modules/semver/ranges/to-comparators.js",".././node_modules/semver/ranges/valid.js",".././node_modules/to-regex-range/index.js",".././node_modules/toml/index.js",".././node_modules/toml/lib/compiler.js",".././node_modules/toml/lib/parser.js",".././node_modules/web-streams-polyfill/dist/ponyfill.es2018.js",".././src/index.ts",".././src/utils/functions/callable.ts",".././src/utils/comparison/comparer.utils.ts",".././src/utils/comparison/equality-comparer.utils.ts",".././src/utils/comparison/composite-equality-comparer.ts",".././src/utils/comparison/composite-comparer.ts",".././src/utils/comparison/comparer.ts",".././src/utils/comparison/string-comparer.ts",".././src/utils/comparison/equality-comparer.ts","../external node-commonjs \"node:crypto\"",".././src/utils/string-utils.ts",".././src/utils/comparison/string-equality-comparer.ts",".././src/utils/enum/descriptors/bigint-descriptor.ts",".././src/utils/enum/descriptors/boolean-descriptor.ts",".././src/utils/enum/descriptors/number-descriptor.ts",".././src/utils/enum/enum-separators.ts",".././src/utils/enum/descriptors/string-descriptor.ts",".././src/utils/enum/descriptors/enum-descriptor.ts",".././src/utils/collections/set.ts",".././src/utils/collections/iterable.ts",".././src/utils/collections/map.ts",".././src/utils/collections/key-value-iterable.ts",".././src/utils/reflection/object-reflector.ts",".././src/utils/convert.ts",".././src/utils/enum/enum-key.ts",".././src/utils/enum/enum-entry.ts",".././src/utils/enum/dynamic-enum.ts",".././src/utils/enum/enum-value.ts",".././src/utils/enum/enum.ts","../external node-commonjs \"node:util\"",".././src/games/game-version-filter.ts",".././src/utils/versioning/version.ts",".././src/utils/versioning/version-range.ts",".././src/utils/versioning/version-type.ts",".././src/games/minecraft/minecraft-version-type.ts",".././src/games/minecraft/minecraft-version.ts",".././src/action.ts",".././src/utils/functions/middleware.ts",".././src/utils/net/blob.ts",".././src/platforms/modrinth/modrinth-unfeature-mode.ts",".././src/utils/security/secure-string.ts",".././src/utils/errors/error.ts",".././src/utils/errors/argument-error.ts",".././src/utils/errors/argument-null-error.ts","../external node-commonjs \"node:os\"",".././src/utils/environment.ts","../external node-commonjs \"node:console\"",".././src/utils/logging/console-logger.ts",".././src/utils/logging/null-logger.ts",".././src/utils/logging/process-logger.ts",".././src/utils/logging/logger.ts",".././src/utils/diagnostics/stopwatch.ts",".././src/utils/logging/logging-stopwatch.ts",".././src/utils/errors/fail-mode.ts",".././src/utils/errors/error-builder.ts",".././src/utils/errors/soft-error.ts",".././src/utils/errors/file-not-found-error.ts",".././src/utils/errors/http-error.ts","../external node-commonjs \"node:fs/promises\"",".././src/utils/io/file-info.ts",".././src/platforms/platform-type.ts",".././src/dependencies/dependency-type.ts",".././src/loaders/fabric/fabric-dependency-type.ts",".././src/dependencies/dependency.legacy.ts",".././src/dependencies/dependency.ts",".././src/utils/java/java-version.ts",".././src/utils/reflection/module-loader.g.ts",".././src/utils/reflection/module-loader.ts",".././src/utils/reflection/import-directive.ts",".././src/utils/net/form-data.ts",".././src/utils/net/query-string.ts",".././src/utils/net/http-request-body.ts",".././src/utils/net/headers.ts",".././src/utils/net/http-method.ts","../external node-commonjs \"node:http\"","../external node-commonjs \"node:https\"","../external node-commonjs \"node:zlib\"","../external node-commonjs \"node:stream\"","../external node-commonjs \"node:buffer\"",".././node_modules/data-uri-to-buffer/dist/index.js",".././node_modules/node-fetch/src/errors/base.js",".././node_modules/node-fetch/src/errors/fetch-error.js",".././node_modules/node-fetch/src/utils/is.js",".././node_modules/node-fetch/src/body.js",".././node_modules/node-fetch/src/headers.js",".././node_modules/node-fetch/src/utils/is-redirect.js",".././node_modules/node-fetch/src/response.js","../external node-commonjs \"node:url\"",".././node_modules/node-fetch/src/utils/get-search.js","../external node-commonjs \"node:net\"",".././node_modules/node-fetch/src/utils/referrer.js",".././node_modules/node-fetch/src/request.js",".././node_modules/node-fetch/src/errors/abort-error.js",".././node_modules/node-fetch/src/index.js",".././src/utils/net/fetch.ts",".././src/utils/net/http-response.ts",".././src/utils/net/fetch-middlewares.ts",".././src/utils/net/http-request.ts",".././src/games/minecraft/minecraft-version-lookup.ts",".././src/games/minecraft/mojang-api-client.ts",".././src/games/minecraft/minecraft-version-provider.ts",".././src/games/minecraft/minecraft.ts",".././src/games/game-version-provider.ts",".././src/utils/async-utils.ts",".././src/platforms/generic-platform-uploader.ts",".././src/platforms/curseforge/curseforge-dependency-type.ts",".././src/platforms/curseforge/curseforge-project.ts",".././src/platforms/curseforge/curseforge-eternal-api-client.ts",".././src/platforms/curseforge/curseforge-error.ts",".././src/platforms/curseforge/curseforge-game-version.ts",".././src/platforms/curseforge/curseforge-game-version-map.ts",".././src/platforms/curseforge/curseforge-game-version-type.ts",".././src/platforms/curseforge/curseforge-version.ts",".././src/platforms/curseforge/curseforge-upload-api-client.ts",".././src/platforms/curseforge/curseforge-uploader.ts",".././src/platforms/github/github-release.ts",".././src/platforms/github/github-api-client.ts",".././src/platforms/github/github-uploader.ts",".././src/platforms/modrinth/modrinth-version.ts",".././src/platforms/modrinth/modrinth-api-client.ts",".././src/platforms/modrinth/modrinth-dependency-type.ts",".././src/platforms/modrinth/modrinth-uploader.ts",".././src/platforms/platform-uploader.ts",".././src/loaders/fabric/fabric-dependency.ts",".././src/loaders/loader-type.ts",".././src/loaders/fabric/fabric-metadata-custom-payload.ts",".././src/loaders/fabric/fabric-metadata.ts",".././src/loaders/fabric/raw-fabric-metadata.ts",".././src/loaders/fabric/fabric-metadata-reader.ts",".././src/loaders/forge/forge-dependency.ts",".././src/loaders/forge/forge-metadata-custom-payload.ts",".././src/loaders/forge/forge-metadata.ts",".././src/loaders/forge/raw-forge-metadata.ts",".././src/loaders/forge/forge-metadata-reader.ts",".././src/loaders/quilt/quilt-dependency.ts",".././src/loaders/quilt/quilt-metadata-custom-payload.ts",".././src/loaders/quilt/quilt-metadata.ts",".././src/loaders/quilt/raw-quilt-metadata.ts",".././src/loaders/quilt/quilt-metadata-reader.ts",".././src/loaders/neoforge/neoforge-dependency-type.ts",".././src/loaders/neoforge/neoforge-dependency.ts",".././src/loaders/neoforge/neoforge-metadata-custom-payload.ts",".././src/loaders/neoforge/neoforge-metadata.ts",".././src/loaders/neoforge/raw-neoforge-metadata.ts",".././src/loaders/neoforge/neoforge-metadata-reader.ts",".././src/loaders/loader-metadata-reader.ts",".././src/platforms/github/github-context.ts",".././src/utils/actions/action-parameter-type-descriptor.ts",".././src/utils/actions/action-parameter-path-parser.ts",".././src/utils/actions/action-parameter-descriptor.ts",".././src/utils/actions/action-input-descriptor.ts",".././src/utils/actions/action-parameter-factory-options.ts",".././src/utils/actions/action-input.ts",".././src/utils/auto-generated.ts",".././src/utils/typescript/typescript-formatting-options.ts",".././src/utils/typescript/typescript-comment.ts",".././src/utils/typescript/abstract-typescript-node.ts",".././src/utils/typescript/typescript-export.ts",".././src/utils/typescript/typescript-import.ts",".././src/utils/typescript/typescript-imports.ts",".././src/utils/typescript/typescript-document.ts",".././src/utils/typescript/typescript-member.ts",".././src/utils/typescript/typescript-property.ts",".././src/utils/typescript/typescript-type-literal.ts",".././src/utils/typescript/typescript-union-type.ts",".././src/utils/typescript/typescript-object.ts",".././src/utils/typescript/typescript-interface.ts",".././src/utils/typescript/typescript-type-alias.ts",".././src/utils/typescript/typescript-intersection-type.ts",".././src/utils/typescript/typescript-variable.ts",".././src/utils/actions/action-output-descriptor.ts",".././src/utils/actions/action-metadata.ts",".././src/utils/actions/action-output.ts",".././src/program.ts","../external node-commonjs \"buffer\"","../external node-commonjs \"events\"","../external node-commonjs \"fs\"","../external node-commonjs \"node:fs\"","../external node-commonjs \"node:path\"","../external node-commonjs \"node:process\"","../external node-commonjs \"node:stream/web\"","../external node-commonjs \"os\"","../external node-commonjs \"path\"","../external node-commonjs \"stream\"","../external node-commonjs \"util\"","../external node-commonjs \"worker_threads\"","../external node-commonjs \"zlib\"",".././node_modules/yaml/dist/compose/compose-collection.js",".././node_modules/yaml/dist/compose/compose-doc.js",".././node_modules/yaml/dist/compose/compose-node.js",".././node_modules/yaml/dist/compose/compose-scalar.js",".././node_modules/yaml/dist/compose/composer.js",".././node_modules/yaml/dist/compose/resolve-block-map.js",".././node_modules/yaml/dist/compose/resolve-block-scalar.js",".././node_modules/yaml/dist/compose/resolve-block-seq.js",".././node_modules/yaml/dist/compose/resolve-end.js",".././node_modules/yaml/dist/compose/resolve-flow-collection.js",".././node_modules/yaml/dist/compose/resolve-flow-scalar.js",".././node_modules/yaml/dist/compose/resolve-props.js",".././node_modules/yaml/dist/compose/util-contains-newline.js",".././node_modules/yaml/dist/compose/util-empty-scalar-position.js",".././node_modules/yaml/dist/compose/util-flow-indent-check.js",".././node_modules/yaml/dist/compose/util-map-includes.js",".././node_modules/yaml/dist/doc/Document.js",".././node_modules/yaml/dist/doc/anchors.js",".././node_modules/yaml/dist/doc/applyReviver.js",".././node_modules/yaml/dist/doc/createNode.js",".././node_modules/yaml/dist/doc/directives.js",".././node_modules/yaml/dist/errors.js",".././node_modules/yaml/dist/index.js",".././node_modules/yaml/dist/log.js",".././node_modules/yaml/dist/nodes/Alias.js",".././node_modules/yaml/dist/nodes/Collection.js",".././node_modules/yaml/dist/nodes/Node.js",".././node_modules/yaml/dist/nodes/Pair.js",".././node_modules/yaml/dist/nodes/Scalar.js",".././node_modules/yaml/dist/nodes/YAMLMap.js",".././node_modules/yaml/dist/nodes/YAMLSeq.js",".././node_modules/yaml/dist/nodes/addPairToJSMap.js",".././node_modules/yaml/dist/nodes/identity.js",".././node_modules/yaml/dist/nodes/toJS.js",".././node_modules/yaml/dist/parse/cst-scalar.js",".././node_modules/yaml/dist/parse/cst-stringify.js",".././node_modules/yaml/dist/parse/cst-visit.js",".././node_modules/yaml/dist/parse/cst.js",".././node_modules/yaml/dist/parse/lexer.js",".././node_modules/yaml/dist/parse/line-counter.js",".././node_modules/yaml/dist/parse/parser.js",".././node_modules/yaml/dist/public-api.js",".././node_modules/yaml/dist/schema/Schema.js",".././node_modules/yaml/dist/schema/common/map.js",".././node_modules/yaml/dist/schema/common/null.js",".././node_modules/yaml/dist/schema/common/seq.js",".././node_modules/yaml/dist/schema/common/string.js",".././node_modules/yaml/dist/schema/core/bool.js",".././node_modules/yaml/dist/schema/core/float.js",".././node_modules/yaml/dist/schema/core/int.js",".././node_modules/yaml/dist/schema/core/schema.js",".././node_modules/yaml/dist/schema/json/schema.js",".././node_modules/yaml/dist/schema/tags.js",".././node_modules/yaml/dist/schema/yaml-1.1/binary.js",".././node_modules/yaml/dist/schema/yaml-1.1/bool.js",".././node_modules/yaml/dist/schema/yaml-1.1/float.js",".././node_modules/yaml/dist/schema/yaml-1.1/int.js",".././node_modules/yaml/dist/schema/yaml-1.1/omap.js",".././node_modules/yaml/dist/schema/yaml-1.1/pairs.js",".././node_modules/yaml/dist/schema/yaml-1.1/schema.js",".././node_modules/yaml/dist/schema/yaml-1.1/set.js",".././node_modules/yaml/dist/schema/yaml-1.1/timestamp.js",".././node_modules/yaml/dist/stringify/foldFlowLines.js",".././node_modules/yaml/dist/stringify/stringify.js",".././node_modules/yaml/dist/stringify/stringifyCollection.js",".././node_modules/yaml/dist/stringify/stringifyComment.js",".././node_modules/yaml/dist/stringify/stringifyDocument.js",".././node_modules/yaml/dist/stringify/stringifyNumber.js",".././node_modules/yaml/dist/stringify/stringifyPair.js",".././node_modules/yaml/dist/stringify/stringifyString.js",".././node_modules/yaml/dist/visit.js",".././node_modules/fetch-blob/streams.cjs",".././node_modules/fetch-blob/file.js",".././node_modules/fetch-blob/from.js",".././node_modules/fetch-blob/index.js",".././node_modules/formdata-polyfill/esm.min.js",".././node_modules/node-fetch/src/utils/multipart-parser.js","../webpack/bootstrap","../webpack/runtime/async module","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/make namespace object","../webpack/runtime/publicPath","../webpack/runtime/compat","../webpack/runtime/import chunk loading","../webpack/startup"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nexports.FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n stat: fs.stat,\n lstatSync: fs.lstatSync,\n statSync: fs.statSync,\n readdir: fs.readdir,\n readdirSync: fs.readdirSync\n};\nfunction createFileSystemAdapter(fsMethods) {\n if (fsMethods === undefined) {\n return exports.FILE_SYSTEM_ADAPTER;\n }\n return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);\n}\nexports.createFileSystemAdapter = createFileSystemAdapter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;\nconst NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.');\nif (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {\n throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);\n}\nconst MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);\nconst MINOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[1], 10);\nconst SUPPORTED_MAJOR_VERSION = 10;\nconst SUPPORTED_MINOR_VERSION = 10;\nconst IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;\nconst IS_MATCHED_BY_MAJOR_AND_MINOR = MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= SUPPORTED_MINOR_VERSION;\n/**\n * IS `true` for Node.js 10.10 and greater.\n */\nexports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Settings = exports.scandirSync = exports.scandir = void 0;\nconst async = require(\"./providers/async\");\nconst sync = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction scandir(path, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n async.read(path, getSettings(), optionsOrSettingsOrCallback);\n return;\n }\n async.read(path, getSettings(optionsOrSettingsOrCallback), callback);\n}\nexports.scandir = scandir;\nfunction scandirSync(path, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n return sync.read(path, settings);\n}\nexports.scandirSync = scandirSync;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readdir = exports.readdirWithFileTypes = exports.read = void 0;\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst rpl = require(\"run-parallel\");\nconst constants_1 = require(\"../constants\");\nconst utils = require(\"../utils\");\nconst common = require(\"./common\");\nfunction read(directory, settings, callback) {\n if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {\n readdirWithFileTypes(directory, settings, callback);\n return;\n }\n readdir(directory, settings, callback);\n}\nexports.read = read;\nfunction readdirWithFileTypes(directory, settings, callback) {\n settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {\n if (readdirError !== null) {\n callFailureCallback(callback, readdirError);\n return;\n }\n const entries = dirents.map((dirent) => ({\n dirent,\n name: dirent.name,\n path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)\n }));\n if (!settings.followSymbolicLinks) {\n callSuccessCallback(callback, entries);\n return;\n }\n const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));\n rpl(tasks, (rplError, rplEntries) => {\n if (rplError !== null) {\n callFailureCallback(callback, rplError);\n return;\n }\n callSuccessCallback(callback, rplEntries);\n });\n });\n}\nexports.readdirWithFileTypes = readdirWithFileTypes;\nfunction makeRplTaskEntry(entry, settings) {\n return (done) => {\n if (!entry.dirent.isSymbolicLink()) {\n done(null, entry);\n return;\n }\n settings.fs.stat(entry.path, (statError, stats) => {\n if (statError !== null) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n done(statError);\n return;\n }\n done(null, entry);\n return;\n }\n entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);\n done(null, entry);\n });\n };\n}\nfunction readdir(directory, settings, callback) {\n settings.fs.readdir(directory, (readdirError, names) => {\n if (readdirError !== null) {\n callFailureCallback(callback, readdirError);\n return;\n }\n const tasks = names.map((name) => {\n const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);\n return (done) => {\n fsStat.stat(path, settings.fsStatSettings, (error, stats) => {\n if (error !== null) {\n done(error);\n return;\n }\n const entry = {\n name,\n path,\n dirent: utils.fs.createDirentFromStats(name, stats)\n };\n if (settings.stats) {\n entry.stats = stats;\n }\n done(null, entry);\n });\n };\n });\n rpl(tasks, (rplError, entries) => {\n if (rplError !== null) {\n callFailureCallback(callback, rplError);\n return;\n }\n callSuccessCallback(callback, entries);\n });\n });\n}\nexports.readdir = readdir;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, result) {\n callback(null, result);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.joinPathSegments = void 0;\nfunction joinPathSegments(a, b, separator) {\n /**\n * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).\n */\n if (a.endsWith(separator)) {\n return a + b;\n }\n return a + separator + b;\n}\nexports.joinPathSegments = joinPathSegments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readdir = exports.readdirWithFileTypes = exports.read = void 0;\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst constants_1 = require(\"../constants\");\nconst utils = require(\"../utils\");\nconst common = require(\"./common\");\nfunction read(directory, settings) {\n if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {\n return readdirWithFileTypes(directory, settings);\n }\n return readdir(directory, settings);\n}\nexports.read = read;\nfunction readdirWithFileTypes(directory, settings) {\n const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });\n return dirents.map((dirent) => {\n const entry = {\n dirent,\n name: dirent.name,\n path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)\n };\n if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {\n try {\n const stats = settings.fs.statSync(entry.path);\n entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);\n }\n catch (error) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n throw error;\n }\n }\n }\n return entry;\n });\n}\nexports.readdirWithFileTypes = readdirWithFileTypes;\nfunction readdir(directory, settings) {\n const names = settings.fs.readdirSync(directory);\n return names.map((name) => {\n const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);\n const stats = fsStat.statSync(entryPath, settings.fsStatSettings);\n const entry = {\n name,\n path: entryPath,\n dirent: utils.fs.createDirentFromStats(name, stats)\n };\n if (settings.stats) {\n entry.stats = stats;\n }\n return entry;\n });\n}\nexports.readdir = readdir;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);\n this.fs = fs.createFileSystemAdapter(this._options.fs);\n this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n this.stats = this._getValue(this._options.stats, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n this.fsStatSettings = new fsStat.Settings({\n followSymbolicLink: this.followSymbolicLinks,\n fs: this.fs,\n throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink\n });\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createDirentFromStats = void 0;\nclass DirentFromStats {\n constructor(name, stats) {\n this.name = name;\n this.isBlockDevice = stats.isBlockDevice.bind(stats);\n this.isCharacterDevice = stats.isCharacterDevice.bind(stats);\n this.isDirectory = stats.isDirectory.bind(stats);\n this.isFIFO = stats.isFIFO.bind(stats);\n this.isFile = stats.isFile.bind(stats);\n this.isSocket = stats.isSocket.bind(stats);\n this.isSymbolicLink = stats.isSymbolicLink.bind(stats);\n }\n}\nfunction createDirentFromStats(name, stats) {\n return new DirentFromStats(name, stats);\n}\nexports.createDirentFromStats = createDirentFromStats;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fs = void 0;\nconst fs = require(\"./fs\");\nexports.fs = fs;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nexports.FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n stat: fs.stat,\n lstatSync: fs.lstatSync,\n statSync: fs.statSync\n};\nfunction createFileSystemAdapter(fsMethods) {\n if (fsMethods === undefined) {\n return exports.FILE_SYSTEM_ADAPTER;\n }\n return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);\n}\nexports.createFileSystemAdapter = createFileSystemAdapter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.statSync = exports.stat = exports.Settings = void 0;\nconst async = require(\"./providers/async\");\nconst sync = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction stat(path, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n async.read(path, getSettings(), optionsOrSettingsOrCallback);\n return;\n }\n async.read(path, getSettings(optionsOrSettingsOrCallback), callback);\n}\nexports.stat = stat;\nfunction statSync(path, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n return sync.read(path, settings);\n}\nexports.statSync = statSync;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.read = void 0;\nfunction read(path, settings, callback) {\n settings.fs.lstat(path, (lstatError, lstat) => {\n if (lstatError !== null) {\n callFailureCallback(callback, lstatError);\n return;\n }\n if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {\n callSuccessCallback(callback, lstat);\n return;\n }\n settings.fs.stat(path, (statError, stat) => {\n if (statError !== null) {\n if (settings.throwErrorOnBrokenSymbolicLink) {\n callFailureCallback(callback, statError);\n return;\n }\n callSuccessCallback(callback, lstat);\n return;\n }\n if (settings.markSymbolicLink) {\n stat.isSymbolicLink = () => true;\n }\n callSuccessCallback(callback, stat);\n });\n });\n}\nexports.read = read;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, result) {\n callback(null, result);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.read = void 0;\nfunction read(path, settings) {\n const lstat = settings.fs.lstatSync(path);\n if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {\n return lstat;\n }\n try {\n const stat = settings.fs.statSync(path);\n if (settings.markSymbolicLink) {\n stat.isSymbolicLink = () => true;\n }\n return stat;\n }\n catch (error) {\n if (!settings.throwErrorOnBrokenSymbolicLink) {\n return lstat;\n }\n throw error;\n }\n}\nexports.read = read;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);\n this.fs = fs.createFileSystemAdapter(this._options.fs);\n this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;\nconst async_1 = require(\"./providers/async\");\nconst stream_1 = require(\"./providers/stream\");\nconst sync_1 = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nexports.Settings = settings_1.default;\nfunction walk(directory, optionsOrSettingsOrCallback, callback) {\n if (typeof optionsOrSettingsOrCallback === 'function') {\n new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);\n return;\n }\n new async_1.default(directory, getSettings(optionsOrSettingsOrCallback)).read(callback);\n}\nexports.walk = walk;\nfunction walkSync(directory, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n const provider = new sync_1.default(directory, settings);\n return provider.read();\n}\nexports.walkSync = walkSync;\nfunction walkStream(directory, optionsOrSettings) {\n const settings = getSettings(optionsOrSettings);\n const provider = new stream_1.default(directory, settings);\n return provider.read();\n}\nexports.walkStream = walkStream;\nfunction getSettings(settingsOrOptions = {}) {\n if (settingsOrOptions instanceof settings_1.default) {\n return settingsOrOptions;\n }\n return new settings_1.default(settingsOrOptions);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst async_1 = require(\"../readers/async\");\nclass AsyncProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new async_1.default(this._root, this._settings);\n this._storage = [];\n }\n read(callback) {\n this._reader.onError((error) => {\n callFailureCallback(callback, error);\n });\n this._reader.onEntry((entry) => {\n this._storage.push(entry);\n });\n this._reader.onEnd(() => {\n callSuccessCallback(callback, this._storage);\n });\n this._reader.read();\n }\n}\nexports.default = AsyncProvider;\nfunction callFailureCallback(callback, error) {\n callback(error);\n}\nfunction callSuccessCallback(callback, entries) {\n callback(null, entries);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst async_1 = require(\"../readers/async\");\nclass StreamProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new async_1.default(this._root, this._settings);\n this._stream = new stream_1.Readable({\n objectMode: true,\n read: () => { },\n destroy: () => {\n if (!this._reader.isDestroyed) {\n this._reader.destroy();\n }\n }\n });\n }\n read() {\n this._reader.onError((error) => {\n this._stream.emit('error', error);\n });\n this._reader.onEntry((entry) => {\n this._stream.push(entry);\n });\n this._reader.onEnd(() => {\n this._stream.push(null);\n });\n this._reader.read();\n return this._stream;\n }\n}\nexports.default = StreamProvider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst sync_1 = require(\"../readers/sync\");\nclass SyncProvider {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._reader = new sync_1.default(this._root, this._settings);\n }\n read() {\n return this._reader.read();\n }\n}\nexports.default = SyncProvider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst events_1 = require(\"events\");\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nconst fastq = require(\"fastq\");\nconst common = require(\"./common\");\nconst reader_1 = require(\"./reader\");\nclass AsyncReader extends reader_1.default {\n constructor(_root, _settings) {\n super(_root, _settings);\n this._settings = _settings;\n this._scandir = fsScandir.scandir;\n this._emitter = new events_1.EventEmitter();\n this._queue = fastq(this._worker.bind(this), this._settings.concurrency);\n this._isFatalError = false;\n this._isDestroyed = false;\n this._queue.drain = () => {\n if (!this._isFatalError) {\n this._emitter.emit('end');\n }\n };\n }\n read() {\n this._isFatalError = false;\n this._isDestroyed = false;\n setImmediate(() => {\n this._pushToQueue(this._root, this._settings.basePath);\n });\n return this._emitter;\n }\n get isDestroyed() {\n return this._isDestroyed;\n }\n destroy() {\n if (this._isDestroyed) {\n throw new Error('The reader is already destroyed');\n }\n this._isDestroyed = true;\n this._queue.killAndDrain();\n }\n onEntry(callback) {\n this._emitter.on('entry', callback);\n }\n onError(callback) {\n this._emitter.once('error', callback);\n }\n onEnd(callback) {\n this._emitter.once('end', callback);\n }\n _pushToQueue(directory, base) {\n const queueItem = { directory, base };\n this._queue.push(queueItem, (error) => {\n if (error !== null) {\n this._handleError(error);\n }\n });\n }\n _worker(item, done) {\n this._scandir(item.directory, this._settings.fsScandirSettings, (error, entries) => {\n if (error !== null) {\n done(error, undefined);\n return;\n }\n for (const entry of entries) {\n this._handleEntry(entry, item.base);\n }\n done(null, undefined);\n });\n }\n _handleError(error) {\n if (this._isDestroyed || !common.isFatalError(this._settings, error)) {\n return;\n }\n this._isFatalError = true;\n this._isDestroyed = true;\n this._emitter.emit('error', error);\n }\n _handleEntry(entry, base) {\n if (this._isDestroyed || this._isFatalError) {\n return;\n }\n const fullpath = entry.path;\n if (base !== undefined) {\n entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);\n }\n if (common.isAppliedFilter(this._settings.entryFilter, entry)) {\n this._emitEntry(entry);\n }\n if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {\n this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);\n }\n }\n _emitEntry(entry) {\n this._emitter.emit('entry', entry);\n }\n}\nexports.default = AsyncReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;\nfunction isFatalError(settings, error) {\n if (settings.errorFilter === null) {\n return true;\n }\n return !settings.errorFilter(error);\n}\nexports.isFatalError = isFatalError;\nfunction isAppliedFilter(filter, value) {\n return filter === null || filter(value);\n}\nexports.isAppliedFilter = isAppliedFilter;\nfunction replacePathSegmentSeparator(filepath, separator) {\n return filepath.split(/[/\\\\]/).join(separator);\n}\nexports.replacePathSegmentSeparator = replacePathSegmentSeparator;\nfunction joinPathSegments(a, b, separator) {\n if (a === '') {\n return b;\n }\n /**\n * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).\n */\n if (a.endsWith(separator)) {\n return a + b;\n }\n return a + separator + b;\n}\nexports.joinPathSegments = joinPathSegments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst common = require(\"./common\");\nclass Reader {\n constructor(_root, _settings) {\n this._root = _root;\n this._settings = _settings;\n this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator);\n }\n}\nexports.default = Reader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nconst common = require(\"./common\");\nconst reader_1 = require(\"./reader\");\nclass SyncReader extends reader_1.default {\n constructor() {\n super(...arguments);\n this._scandir = fsScandir.scandirSync;\n this._storage = [];\n this._queue = new Set();\n }\n read() {\n this._pushToQueue(this._root, this._settings.basePath);\n this._handleQueue();\n return this._storage;\n }\n _pushToQueue(directory, base) {\n this._queue.add({ directory, base });\n }\n _handleQueue() {\n for (const item of this._queue.values()) {\n this._handleDirectory(item.directory, item.base);\n }\n }\n _handleDirectory(directory, base) {\n try {\n const entries = this._scandir(directory, this._settings.fsScandirSettings);\n for (const entry of entries) {\n this._handleEntry(entry, base);\n }\n }\n catch (error) {\n this._handleError(error);\n }\n }\n _handleError(error) {\n if (!common.isFatalError(this._settings, error)) {\n return;\n }\n throw error;\n }\n _handleEntry(entry, base) {\n const fullpath = entry.path;\n if (base !== undefined) {\n entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);\n }\n if (common.isAppliedFilter(this._settings.entryFilter, entry)) {\n this._pushToStorage(entry);\n }\n if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {\n this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);\n }\n }\n _pushToStorage(entry) {\n this._storage.push(entry);\n }\n}\nexports.default = SyncReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsScandir = require(\"@nodelib/fs.scandir\");\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.basePath = this._getValue(this._options.basePath, undefined);\n this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY);\n this.deepFilter = this._getValue(this._options.deepFilter, null);\n this.entryFilter = this._getValue(this._options.entryFilter, null);\n this.errorFilter = this._getValue(this._options.errorFilter, null);\n this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n this.fsScandirSettings = new fsScandir.Settings({\n followSymbolicLinks: this._options.followSymbolicLinks,\n fs: this._options.fs,\n pathSegmentSeparator: this._options.pathSegmentSeparator,\n stats: this._options.stats,\n throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink\n });\n }\n _getValue(option, value) {\n return option !== null && option !== void 0 ? option : value;\n }\n}\nexports.default = Settings;\n","'use strict';\n\nconst stringify = require('./lib/stringify');\nconst compile = require('./lib/compile');\nconst expand = require('./lib/expand');\nconst parse = require('./lib/parse');\n\n/**\n * Expand the given pattern or create a regex-compatible string.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces('{a,b,c}', { compile: true })); //=> ['(a|b|c)']\n * console.log(braces('{a,b,c}')); //=> ['a', 'b', 'c']\n * ```\n * @param {String} `str`\n * @param {Object} `options`\n * @return {String}\n * @api public\n */\n\nconst braces = (input, options = {}) => {\n let output = [];\n\n if (Array.isArray(input)) {\n for (let pattern of input) {\n let result = braces.create(pattern, options);\n if (Array.isArray(result)) {\n output.push(...result);\n } else {\n output.push(result);\n }\n }\n } else {\n output = [].concat(braces.create(input, options));\n }\n\n if (options && options.expand === true && options.nodupes === true) {\n output = [...new Set(output)];\n }\n return output;\n};\n\n/**\n * Parse the given `str` with the given `options`.\n *\n * ```js\n * // braces.parse(pattern, [, options]);\n * const ast = braces.parse('a/{b,c}/d');\n * console.log(ast);\n * ```\n * @param {String} pattern Brace pattern to parse\n * @param {Object} options\n * @return {Object} Returns an AST\n * @api public\n */\n\nbraces.parse = (input, options = {}) => parse(input, options);\n\n/**\n * Creates a braces string from an AST, or an AST node.\n *\n * ```js\n * const braces = require('braces');\n * let ast = braces.parse('foo/{a,b}/bar');\n * console.log(stringify(ast.nodes[2])); //=> '{a,b}'\n * ```\n * @param {String} `input` Brace pattern or AST.\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.stringify = (input, options = {}) => {\n if (typeof input === 'string') {\n return stringify(braces.parse(input, options), options);\n }\n return stringify(input, options);\n};\n\n/**\n * Compiles a brace pattern into a regex-compatible, optimized string.\n * This method is called by the main [braces](#braces) function by default.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces.compile('a/{b,c}/d'));\n * //=> ['a/(b|c)/d']\n * ```\n * @param {String} `input` Brace pattern or AST.\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.compile = (input, options = {}) => {\n if (typeof input === 'string') {\n input = braces.parse(input, options);\n }\n return compile(input, options);\n};\n\n/**\n * Expands a brace pattern into an array. This method is called by the\n * main [braces](#braces) function when `options.expand` is true. Before\n * using this method it's recommended that you read the [performance notes](#performance))\n * and advantages of using [.compile](#compile) instead.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces.expand('a/{b,c}/d'));\n * //=> ['a/b/d', 'a/c/d'];\n * ```\n * @param {String} `pattern` Brace pattern\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.expand = (input, options = {}) => {\n if (typeof input === 'string') {\n input = braces.parse(input, options);\n }\n\n let result = expand(input, options);\n\n // filter out empty strings if specified\n if (options.noempty === true) {\n result = result.filter(Boolean);\n }\n\n // filter out duplicates if specified\n if (options.nodupes === true) {\n result = [...new Set(result)];\n }\n\n return result;\n};\n\n/**\n * Processes a brace pattern and returns either an expanded array\n * (if `options.expand` is true), a highly optimized regex-compatible string.\n * This method is called by the main [braces](#braces) function.\n *\n * ```js\n * const braces = require('braces');\n * console.log(braces.create('user-{200..300}/project-{a,b,c}-{1..10}'))\n * //=> 'user-(20[0-9]|2[1-9][0-9]|300)/project-(a|b|c)-([1-9]|10)'\n * ```\n * @param {String} `pattern` Brace pattern\n * @param {Object} `options`\n * @return {Array} Returns an array of expanded values.\n * @api public\n */\n\nbraces.create = (input, options = {}) => {\n if (input === '' || input.length < 3) {\n return [input];\n }\n\n return options.expand !== true\n ? braces.compile(input, options)\n : braces.expand(input, options);\n};\n\n/**\n * Expose \"braces\"\n */\n\nmodule.exports = braces;\n","'use strict';\n\nconst fill = require('fill-range');\nconst utils = require('./utils');\n\nconst compile = (ast, options = {}) => {\n let walk = (node, parent = {}) => {\n let invalidBlock = utils.isInvalidBrace(parent);\n let invalidNode = node.invalid === true && options.escapeInvalid === true;\n let invalid = invalidBlock === true || invalidNode === true;\n let prefix = options.escapeInvalid === true ? '\\\\' : '';\n let output = '';\n\n if (node.isOpen === true) {\n return prefix + node.value;\n }\n if (node.isClose === true) {\n return prefix + node.value;\n }\n\n if (node.type === 'open') {\n return invalid ? (prefix + node.value) : '(';\n }\n\n if (node.type === 'close') {\n return invalid ? (prefix + node.value) : ')';\n }\n\n if (node.type === 'comma') {\n return node.prev.type === 'comma' ? '' : (invalid ? node.value : '|');\n }\n\n if (node.value) {\n return node.value;\n }\n\n if (node.nodes && node.ranges > 0) {\n let args = utils.reduce(node.nodes);\n let range = fill(...args, { ...options, wrap: false, toRegex: true });\n\n if (range.length !== 0) {\n return args.length > 1 && range.length > 1 ? `(${range})` : range;\n }\n }\n\n if (node.nodes) {\n for (let child of node.nodes) {\n output += walk(child, node);\n }\n }\n return output;\n };\n\n return walk(ast);\n};\n\nmodule.exports = compile;\n","'use strict';\n\nmodule.exports = {\n MAX_LENGTH: 1024 * 64,\n\n // Digits\n CHAR_0: '0', /* 0 */\n CHAR_9: '9', /* 9 */\n\n // Alphabet chars.\n CHAR_UPPERCASE_A: 'A', /* A */\n CHAR_LOWERCASE_A: 'a', /* a */\n CHAR_UPPERCASE_Z: 'Z', /* Z */\n CHAR_LOWERCASE_Z: 'z', /* z */\n\n CHAR_LEFT_PARENTHESES: '(', /* ( */\n CHAR_RIGHT_PARENTHESES: ')', /* ) */\n\n CHAR_ASTERISK: '*', /* * */\n\n // Non-alphabetic chars.\n CHAR_AMPERSAND: '&', /* & */\n CHAR_AT: '@', /* @ */\n CHAR_BACKSLASH: '\\\\', /* \\ */\n CHAR_BACKTICK: '`', /* ` */\n CHAR_CARRIAGE_RETURN: '\\r', /* \\r */\n CHAR_CIRCUMFLEX_ACCENT: '^', /* ^ */\n CHAR_COLON: ':', /* : */\n CHAR_COMMA: ',', /* , */\n CHAR_DOLLAR: '$', /* . */\n CHAR_DOT: '.', /* . */\n CHAR_DOUBLE_QUOTE: '\"', /* \" */\n CHAR_EQUAL: '=', /* = */\n CHAR_EXCLAMATION_MARK: '!', /* ! */\n CHAR_FORM_FEED: '\\f', /* \\f */\n CHAR_FORWARD_SLASH: '/', /* / */\n CHAR_HASH: '#', /* # */\n CHAR_HYPHEN_MINUS: '-', /* - */\n CHAR_LEFT_ANGLE_BRACKET: '<', /* < */\n CHAR_LEFT_CURLY_BRACE: '{', /* { */\n CHAR_LEFT_SQUARE_BRACKET: '[', /* [ */\n CHAR_LINE_FEED: '\\n', /* \\n */\n CHAR_NO_BREAK_SPACE: '\\u00A0', /* \\u00A0 */\n CHAR_PERCENT: '%', /* % */\n CHAR_PLUS: '+', /* + */\n CHAR_QUESTION_MARK: '?', /* ? */\n CHAR_RIGHT_ANGLE_BRACKET: '>', /* > */\n CHAR_RIGHT_CURLY_BRACE: '}', /* } */\n CHAR_RIGHT_SQUARE_BRACKET: ']', /* ] */\n CHAR_SEMICOLON: ';', /* ; */\n CHAR_SINGLE_QUOTE: '\\'', /* ' */\n CHAR_SPACE: ' ', /* */\n CHAR_TAB: '\\t', /* \\t */\n CHAR_UNDERSCORE: '_', /* _ */\n CHAR_VERTICAL_LINE: '|', /* | */\n CHAR_ZERO_WIDTH_NOBREAK_SPACE: '\\uFEFF' /* \\uFEFF */\n};\n","'use strict';\n\nconst fill = require('fill-range');\nconst stringify = require('./stringify');\nconst utils = require('./utils');\n\nconst append = (queue = '', stash = '', enclose = false) => {\n let result = [];\n\n queue = [].concat(queue);\n stash = [].concat(stash);\n\n if (!stash.length) return queue;\n if (!queue.length) {\n return enclose ? utils.flatten(stash).map(ele => `{${ele}}`) : stash;\n }\n\n for (let item of queue) {\n if (Array.isArray(item)) {\n for (let value of item) {\n result.push(append(value, stash, enclose));\n }\n } else {\n for (let ele of stash) {\n if (enclose === true && typeof ele === 'string') ele = `{${ele}}`;\n result.push(Array.isArray(ele) ? append(item, ele, enclose) : (item + ele));\n }\n }\n }\n return utils.flatten(result);\n};\n\nconst expand = (ast, options = {}) => {\n let rangeLimit = options.rangeLimit === void 0 ? 1000 : options.rangeLimit;\n\n let walk = (node, parent = {}) => {\n node.queue = [];\n\n let p = parent;\n let q = parent.queue;\n\n while (p.type !== 'brace' && p.type !== 'root' && p.parent) {\n p = p.parent;\n q = p.queue;\n }\n\n if (node.invalid || node.dollar) {\n q.push(append(q.pop(), stringify(node, options)));\n return;\n }\n\n if (node.type === 'brace' && node.invalid !== true && node.nodes.length === 2) {\n q.push(append(q.pop(), ['{}']));\n return;\n }\n\n if (node.nodes && node.ranges > 0) {\n let args = utils.reduce(node.nodes);\n\n if (utils.exceedsLimit(...args, options.step, rangeLimit)) {\n throw new RangeError('expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.');\n }\n\n let range = fill(...args, options);\n if (range.length === 0) {\n range = stringify(node, options);\n }\n\n q.push(append(q.pop(), range));\n node.nodes = [];\n return;\n }\n\n let enclose = utils.encloseBrace(node);\n let queue = node.queue;\n let block = node;\n\n while (block.type !== 'brace' && block.type !== 'root' && block.parent) {\n block = block.parent;\n queue = block.queue;\n }\n\n for (let i = 0; i < node.nodes.length; i++) {\n let child = node.nodes[i];\n\n if (child.type === 'comma' && node.type === 'brace') {\n if (i === 1) queue.push('');\n queue.push('');\n continue;\n }\n\n if (child.type === 'close') {\n q.push(append(q.pop(), queue, enclose));\n continue;\n }\n\n if (child.value && child.type !== 'open') {\n queue.push(append(queue.pop(), child.value));\n continue;\n }\n\n if (child.nodes) {\n walk(child, node);\n }\n }\n\n return queue;\n };\n\n return utils.flatten(walk(ast));\n};\n\nmodule.exports = expand;\n","'use strict';\n\nconst stringify = require('./stringify');\n\n/**\n * Constants\n */\n\nconst {\n MAX_LENGTH,\n CHAR_BACKSLASH, /* \\ */\n CHAR_BACKTICK, /* ` */\n CHAR_COMMA, /* , */\n CHAR_DOT, /* . */\n CHAR_LEFT_PARENTHESES, /* ( */\n CHAR_RIGHT_PARENTHESES, /* ) */\n CHAR_LEFT_CURLY_BRACE, /* { */\n CHAR_RIGHT_CURLY_BRACE, /* } */\n CHAR_LEFT_SQUARE_BRACKET, /* [ */\n CHAR_RIGHT_SQUARE_BRACKET, /* ] */\n CHAR_DOUBLE_QUOTE, /* \" */\n CHAR_SINGLE_QUOTE, /* ' */\n CHAR_NO_BREAK_SPACE,\n CHAR_ZERO_WIDTH_NOBREAK_SPACE\n} = require('./constants');\n\n/**\n * parse\n */\n\nconst parse = (input, options = {}) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n let opts = options || {};\n let max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n if (input.length > max) {\n throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);\n }\n\n let ast = { type: 'root', input, nodes: [] };\n let stack = [ast];\n let block = ast;\n let prev = ast;\n let brackets = 0;\n let length = input.length;\n let index = 0;\n let depth = 0;\n let value;\n let memo = {};\n\n /**\n * Helpers\n */\n\n const advance = () => input[index++];\n const push = node => {\n if (node.type === 'text' && prev.type === 'dot') {\n prev.type = 'text';\n }\n\n if (prev && prev.type === 'text' && node.type === 'text') {\n prev.value += node.value;\n return;\n }\n\n block.nodes.push(node);\n node.parent = block;\n node.prev = prev;\n prev = node;\n return node;\n };\n\n push({ type: 'bos' });\n\n while (index < length) {\n block = stack[stack.length - 1];\n value = advance();\n\n /**\n * Invalid chars\n */\n\n if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) {\n continue;\n }\n\n /**\n * Escaped chars\n */\n\n if (value === CHAR_BACKSLASH) {\n push({ type: 'text', value: (options.keepEscaping ? value : '') + advance() });\n continue;\n }\n\n /**\n * Right square bracket (literal): ']'\n */\n\n if (value === CHAR_RIGHT_SQUARE_BRACKET) {\n push({ type: 'text', value: '\\\\' + value });\n continue;\n }\n\n /**\n * Left square bracket: '['\n */\n\n if (value === CHAR_LEFT_SQUARE_BRACKET) {\n brackets++;\n\n let closed = true;\n let next;\n\n while (index < length && (next = advance())) {\n value += next;\n\n if (next === CHAR_LEFT_SQUARE_BRACKET) {\n brackets++;\n continue;\n }\n\n if (next === CHAR_BACKSLASH) {\n value += advance();\n continue;\n }\n\n if (next === CHAR_RIGHT_SQUARE_BRACKET) {\n brackets--;\n\n if (brackets === 0) {\n break;\n }\n }\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Parentheses\n */\n\n if (value === CHAR_LEFT_PARENTHESES) {\n block = push({ type: 'paren', nodes: [] });\n stack.push(block);\n push({ type: 'text', value });\n continue;\n }\n\n if (value === CHAR_RIGHT_PARENTHESES) {\n if (block.type !== 'paren') {\n push({ type: 'text', value });\n continue;\n }\n block = stack.pop();\n push({ type: 'text', value });\n block = stack[stack.length - 1];\n continue;\n }\n\n /**\n * Quotes: '|\"|`\n */\n\n if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {\n let open = value;\n let next;\n\n if (options.keepQuotes !== true) {\n value = '';\n }\n\n while (index < length && (next = advance())) {\n if (next === CHAR_BACKSLASH) {\n value += next + advance();\n continue;\n }\n\n if (next === open) {\n if (options.keepQuotes === true) value += next;\n break;\n }\n\n value += next;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Left curly brace: '{'\n */\n\n if (value === CHAR_LEFT_CURLY_BRACE) {\n depth++;\n\n let dollar = prev.value && prev.value.slice(-1) === '$' || block.dollar === true;\n let brace = {\n type: 'brace',\n open: true,\n close: false,\n dollar,\n depth,\n commas: 0,\n ranges: 0,\n nodes: []\n };\n\n block = push(brace);\n stack.push(block);\n push({ type: 'open', value });\n continue;\n }\n\n /**\n * Right curly brace: '}'\n */\n\n if (value === CHAR_RIGHT_CURLY_BRACE) {\n if (block.type !== 'brace') {\n push({ type: 'text', value });\n continue;\n }\n\n let type = 'close';\n block = stack.pop();\n block.close = true;\n\n push({ type, value });\n depth--;\n\n block = stack[stack.length - 1];\n continue;\n }\n\n /**\n * Comma: ','\n */\n\n if (value === CHAR_COMMA && depth > 0) {\n if (block.ranges > 0) {\n block.ranges = 0;\n let open = block.nodes.shift();\n block.nodes = [open, { type: 'text', value: stringify(block) }];\n }\n\n push({ type: 'comma', value });\n block.commas++;\n continue;\n }\n\n /**\n * Dot: '.'\n */\n\n if (value === CHAR_DOT && depth > 0 && block.commas === 0) {\n let siblings = block.nodes;\n\n if (depth === 0 || siblings.length === 0) {\n push({ type: 'text', value });\n continue;\n }\n\n if (prev.type === 'dot') {\n block.range = [];\n prev.value += value;\n prev.type = 'range';\n\n if (block.nodes.length !== 3 && block.nodes.length !== 5) {\n block.invalid = true;\n block.ranges = 0;\n prev.type = 'text';\n continue;\n }\n\n block.ranges++;\n block.args = [];\n continue;\n }\n\n if (prev.type === 'range') {\n siblings.pop();\n\n let before = siblings[siblings.length - 1];\n before.value += prev.value + value;\n prev = before;\n block.ranges--;\n continue;\n }\n\n push({ type: 'dot', value });\n continue;\n }\n\n /**\n * Text\n */\n\n push({ type: 'text', value });\n }\n\n // Mark imbalanced braces and brackets as invalid\n do {\n block = stack.pop();\n\n if (block.type !== 'root') {\n block.nodes.forEach(node => {\n if (!node.nodes) {\n if (node.type === 'open') node.isOpen = true;\n if (node.type === 'close') node.isClose = true;\n if (!node.nodes) node.type = 'text';\n node.invalid = true;\n }\n });\n\n // get the location of the block on parent.nodes (block's siblings)\n let parent = stack[stack.length - 1];\n let index = parent.nodes.indexOf(block);\n // replace the (invalid) block with it's nodes\n parent.nodes.splice(index, 1, ...block.nodes);\n }\n } while (stack.length > 0);\n\n push({ type: 'eos' });\n return ast;\n};\n\nmodule.exports = parse;\n","'use strict';\n\nconst utils = require('./utils');\n\nmodule.exports = (ast, options = {}) => {\n let stringify = (node, parent = {}) => {\n let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);\n let invalidNode = node.invalid === true && options.escapeInvalid === true;\n let output = '';\n\n if (node.value) {\n if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) {\n return '\\\\' + node.value;\n }\n return node.value;\n }\n\n if (node.value) {\n return node.value;\n }\n\n if (node.nodes) {\n for (let child of node.nodes) {\n output += stringify(child);\n }\n }\n return output;\n };\n\n return stringify(ast);\n};\n\n","'use strict';\n\nexports.isInteger = num => {\n if (typeof num === 'number') {\n return Number.isInteger(num);\n }\n if (typeof num === 'string' && num.trim() !== '') {\n return Number.isInteger(Number(num));\n }\n return false;\n};\n\n/**\n * Find a node of the given type\n */\n\nexports.find = (node, type) => node.nodes.find(node => node.type === type);\n\n/**\n * Find a node of the given type\n */\n\nexports.exceedsLimit = (min, max, step = 1, limit) => {\n if (limit === false) return false;\n if (!exports.isInteger(min) || !exports.isInteger(max)) return false;\n return ((Number(max) - Number(min)) / Number(step)) >= limit;\n};\n\n/**\n * Escape the given node with '\\\\' before node.value\n */\n\nexports.escapeNode = (block, n = 0, type) => {\n let node = block.nodes[n];\n if (!node) return;\n\n if ((type && node.type === type) || node.type === 'open' || node.type === 'close') {\n if (node.escaped !== true) {\n node.value = '\\\\' + node.value;\n node.escaped = true;\n }\n }\n};\n\n/**\n * Returns true if the given brace node should be enclosed in literal braces\n */\n\nexports.encloseBrace = node => {\n if (node.type !== 'brace') return false;\n if ((node.commas >> 0 + node.ranges >> 0) === 0) {\n node.invalid = true;\n return true;\n }\n return false;\n};\n\n/**\n * Returns true if a brace node is invalid.\n */\n\nexports.isInvalidBrace = block => {\n if (block.type !== 'brace') return false;\n if (block.invalid === true || block.dollar) return true;\n if ((block.commas >> 0 + block.ranges >> 0) === 0) {\n block.invalid = true;\n return true;\n }\n if (block.open !== true || block.close !== true) {\n block.invalid = true;\n return true;\n }\n return false;\n};\n\n/**\n * Returns true if a node is an open or close node\n */\n\nexports.isOpenOrClose = node => {\n if (node.type === 'open' || node.type === 'close') {\n return true;\n }\n return node.open === true || node.close === true;\n};\n\n/**\n * Reduce an array of text nodes.\n */\n\nexports.reduce = nodes => nodes.reduce((acc, node) => {\n if (node.type === 'text') acc.push(node.value);\n if (node.type === 'range') node.type = 'text';\n return acc;\n}, []);\n\n/**\n * Flatten an array\n */\n\nexports.flatten = (...args) => {\n const result = [];\n const flat = arr => {\n for (let i = 0; i < arr.length; i++) {\n let ele = arr[i];\n Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele);\n }\n return result;\n };\n flat(args);\n return result;\n};\n","'use strict';\n\nvar isGlob = require('is-glob');\nvar pathPosixDirname = require('path').posix.dirname;\nvar isWin32 = require('os').platform() === 'win32';\n\nvar slash = '/';\nvar backslash = /\\\\/g;\nvar enclosure = /[\\{\\[].*[\\}\\]]$/;\nvar globby = /(^|[^\\\\])([\\{\\[]|\\([^\\)]+$)/;\nvar escaped = /\\\\([\\!\\*\\?\\|\\[\\]\\(\\)\\{\\}])/g;\n\n/**\n * @param {string} str\n * @param {Object} opts\n * @param {boolean} [opts.flipBackslashes=true]\n * @returns {string}\n */\nmodule.exports = function globParent(str, opts) {\n var options = Object.assign({ flipBackslashes: true }, opts);\n\n // flip windows path separators\n if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {\n str = str.replace(backslash, slash);\n }\n\n // special case for strings ending in enclosure containing path separator\n if (enclosure.test(str)) {\n str += slash;\n }\n\n // preserves full path in case of trailing path separator\n str += 'a';\n\n // remove path parts that are globby\n do {\n str = pathPosixDirname(str);\n } while (isGlob(str) || globby.test(str));\n\n // remove escape chars and return result\n return str.replace(escaped, '$1');\n};\n","\"use strict\";\nconst taskManager = require(\"./managers/tasks\");\nconst async_1 = require(\"./providers/async\");\nconst stream_1 = require(\"./providers/stream\");\nconst sync_1 = require(\"./providers/sync\");\nconst settings_1 = require(\"./settings\");\nconst utils = require(\"./utils\");\nasync function FastGlob(source, options) {\n assertPatternsInput(source);\n const works = getWorks(source, async_1.default, options);\n const result = await Promise.all(works);\n return utils.array.flatten(result);\n}\n// https://github.com/typescript-eslint/typescript-eslint/issues/60\n// eslint-disable-next-line no-redeclare\n(function (FastGlob) {\n FastGlob.glob = FastGlob;\n FastGlob.globSync = sync;\n FastGlob.globStream = stream;\n FastGlob.async = FastGlob;\n function sync(source, options) {\n assertPatternsInput(source);\n const works = getWorks(source, sync_1.default, options);\n return utils.array.flatten(works);\n }\n FastGlob.sync = sync;\n function stream(source, options) {\n assertPatternsInput(source);\n const works = getWorks(source, stream_1.default, options);\n /**\n * The stream returned by the provider cannot work with an asynchronous iterator.\n * To support asynchronous iterators, regardless of the number of tasks, we always multiplex streams.\n * This affects performance (+25%). I don't see best solution right now.\n */\n return utils.stream.merge(works);\n }\n FastGlob.stream = stream;\n function generateTasks(source, options) {\n assertPatternsInput(source);\n const patterns = [].concat(source);\n const settings = new settings_1.default(options);\n return taskManager.generate(patterns, settings);\n }\n FastGlob.generateTasks = generateTasks;\n function isDynamicPattern(source, options) {\n assertPatternsInput(source);\n const settings = new settings_1.default(options);\n return utils.pattern.isDynamicPattern(source, settings);\n }\n FastGlob.isDynamicPattern = isDynamicPattern;\n function escapePath(source) {\n assertPatternsInput(source);\n return utils.path.escape(source);\n }\n FastGlob.escapePath = escapePath;\n function convertPathToPattern(source) {\n assertPatternsInput(source);\n return utils.path.convertPathToPattern(source);\n }\n FastGlob.convertPathToPattern = convertPathToPattern;\n let posix;\n (function (posix) {\n function escapePath(source) {\n assertPatternsInput(source);\n return utils.path.escapePosixPath(source);\n }\n posix.escapePath = escapePath;\n function convertPathToPattern(source) {\n assertPatternsInput(source);\n return utils.path.convertPosixPathToPattern(source);\n }\n posix.convertPathToPattern = convertPathToPattern;\n })(posix = FastGlob.posix || (FastGlob.posix = {}));\n let win32;\n (function (win32) {\n function escapePath(source) {\n assertPatternsInput(source);\n return utils.path.escapeWindowsPath(source);\n }\n win32.escapePath = escapePath;\n function convertPathToPattern(source) {\n assertPatternsInput(source);\n return utils.path.convertWindowsPathToPattern(source);\n }\n win32.convertPathToPattern = convertPathToPattern;\n })(win32 = FastGlob.win32 || (FastGlob.win32 = {}));\n})(FastGlob || (FastGlob = {}));\nfunction getWorks(source, _Provider, options) {\n const patterns = [].concat(source);\n const settings = new settings_1.default(options);\n const tasks = taskManager.generate(patterns, settings);\n const provider = new _Provider(settings);\n return tasks.map(provider.read, provider);\n}\nfunction assertPatternsInput(input) {\n const source = [].concat(input);\n const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));\n if (!isValidSource) {\n throw new TypeError('Patterns must be a string (non empty) or an array of strings');\n }\n}\nmodule.exports = FastGlob;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;\nconst utils = require(\"../utils\");\nfunction generate(input, settings) {\n const patterns = processPatterns(input, settings);\n const ignore = processPatterns(settings.ignore, settings);\n const positivePatterns = getPositivePatterns(patterns);\n const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);\n const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings));\n const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings));\n const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */ false);\n const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */ true);\n return staticTasks.concat(dynamicTasks);\n}\nexports.generate = generate;\nfunction processPatterns(input, settings) {\n let patterns = input;\n /**\n * The original pattern like `{,*,**,a/*}` can lead to problems checking the depth when matching entry\n * and some problems with the micromatch package (see fast-glob issues: #365, #394).\n *\n * To solve this problem, we expand all patterns containing brace expansion. This can lead to a slight slowdown\n * in matching in the case of a large set of patterns after expansion.\n */\n if (settings.braceExpansion) {\n patterns = utils.pattern.expandPatternsWithBraceExpansion(patterns);\n }\n /**\n * If the `baseNameMatch` option is enabled, we must add globstar to patterns, so that they can be used\n * at any nesting level.\n *\n * We do this here, because otherwise we have to complicate the filtering logic. For example, we need to change\n * the pattern in the filter before creating a regular expression. There is no need to change the patterns\n * in the application. Only on the input.\n */\n if (settings.baseNameMatch) {\n patterns = patterns.map((pattern) => pattern.includes('/') ? pattern : `**/${pattern}`);\n }\n /**\n * This method also removes duplicate slashes that may have been in the pattern or formed as a result of expansion.\n */\n return patterns.map((pattern) => utils.pattern.removeDuplicateSlashes(pattern));\n}\n/**\n * Returns tasks grouped by basic pattern directories.\n *\n * Patterns that can be found inside (`./`) and outside (`../`) the current directory are handled separately.\n * This is necessary because directory traversal starts at the base directory and goes deeper.\n */\nfunction convertPatternsToTasks(positive, negative, dynamic) {\n const tasks = [];\n const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);\n const patternsInsideCurrentDirectory = utils.pattern.getPatternsInsideCurrentDirectory(positive);\n const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);\n const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);\n tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));\n /*\n * For the sake of reducing future accesses to the file system, we merge all tasks within the current directory\n * into a global task, if at least one pattern refers to the root (`.`). In this case, the global task covers the rest.\n */\n if ('.' in insideCurrentDirectoryGroup) {\n tasks.push(convertPatternGroupToTask('.', patternsInsideCurrentDirectory, negative, dynamic));\n }\n else {\n tasks.push(...convertPatternGroupsToTasks(insideCurrentDirectoryGroup, negative, dynamic));\n }\n return tasks;\n}\nexports.convertPatternsToTasks = convertPatternsToTasks;\nfunction getPositivePatterns(patterns) {\n return utils.pattern.getPositivePatterns(patterns);\n}\nexports.getPositivePatterns = getPositivePatterns;\nfunction getNegativePatternsAsPositive(patterns, ignore) {\n const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);\n const positive = negative.map(utils.pattern.convertToPositivePattern);\n return positive;\n}\nexports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;\nfunction groupPatternsByBaseDirectory(patterns) {\n const group = {};\n return patterns.reduce((collection, pattern) => {\n const base = utils.pattern.getBaseDirectory(pattern);\n if (base in collection) {\n collection[base].push(pattern);\n }\n else {\n collection[base] = [pattern];\n }\n return collection;\n }, group);\n}\nexports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;\nfunction convertPatternGroupsToTasks(positive, negative, dynamic) {\n return Object.keys(positive).map((base) => {\n return convertPatternGroupToTask(base, positive[base], negative, dynamic);\n });\n}\nexports.convertPatternGroupsToTasks = convertPatternGroupsToTasks;\nfunction convertPatternGroupToTask(base, positive, negative, dynamic) {\n return {\n dynamic,\n positive,\n negative,\n base,\n patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))\n };\n}\nexports.convertPatternGroupToTask = convertPatternGroupToTask;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst async_1 = require(\"../readers/async\");\nconst provider_1 = require(\"./provider\");\nclass ProviderAsync extends provider_1.default {\n constructor() {\n super(...arguments);\n this._reader = new async_1.default(this._settings);\n }\n async read(task) {\n const root = this._getRootDirectory(task);\n const options = this._getReaderOptions(task);\n const entries = await this.api(root, task, options);\n return entries.map((entry) => options.transform(entry));\n }\n api(root, task, options) {\n if (task.dynamic) {\n return this._reader.dynamic(root, options);\n }\n return this._reader.static(task.patterns, options);\n }\n}\nexports.default = ProviderAsync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nconst partial_1 = require(\"../matchers/partial\");\nclass DeepFilter {\n constructor(_settings, _micromatchOptions) {\n this._settings = _settings;\n this._micromatchOptions = _micromatchOptions;\n }\n getFilter(basePath, positive, negative) {\n const matcher = this._getMatcher(positive);\n const negativeRe = this._getNegativePatternsRe(negative);\n return (entry) => this._filter(basePath, entry, matcher, negativeRe);\n }\n _getMatcher(patterns) {\n return new partial_1.default(patterns, this._settings, this._micromatchOptions);\n }\n _getNegativePatternsRe(patterns) {\n const affectDepthOfReadingPatterns = patterns.filter(utils.pattern.isAffectDepthOfReadingPattern);\n return utils.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);\n }\n _filter(basePath, entry, matcher, negativeRe) {\n if (this._isSkippedByDeep(basePath, entry.path)) {\n return false;\n }\n if (this._isSkippedSymbolicLink(entry)) {\n return false;\n }\n const filepath = utils.path.removeLeadingDotSegment(entry.path);\n if (this._isSkippedByPositivePatterns(filepath, matcher)) {\n return false;\n }\n return this._isSkippedByNegativePatterns(filepath, negativeRe);\n }\n _isSkippedByDeep(basePath, entryPath) {\n /**\n * Avoid unnecessary depth calculations when it doesn't matter.\n */\n if (this._settings.deep === Infinity) {\n return false;\n }\n return this._getEntryLevel(basePath, entryPath) >= this._settings.deep;\n }\n _getEntryLevel(basePath, entryPath) {\n const entryPathDepth = entryPath.split('/').length;\n if (basePath === '') {\n return entryPathDepth;\n }\n const basePathDepth = basePath.split('/').length;\n return entryPathDepth - basePathDepth;\n }\n _isSkippedSymbolicLink(entry) {\n return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();\n }\n _isSkippedByPositivePatterns(entryPath, matcher) {\n return !this._settings.baseNameMatch && !matcher.match(entryPath);\n }\n _isSkippedByNegativePatterns(entryPath, patternsRe) {\n return !utils.pattern.matchAny(entryPath, patternsRe);\n }\n}\nexports.default = DeepFilter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass EntryFilter {\n constructor(_settings, _micromatchOptions) {\n this._settings = _settings;\n this._micromatchOptions = _micromatchOptions;\n this.index = new Map();\n }\n getFilter(positive, negative) {\n const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);\n const negativeRe = utils.pattern.convertPatternsToRe(negative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }));\n return (entry) => this._filter(entry, positiveRe, negativeRe);\n }\n _filter(entry, positiveRe, negativeRe) {\n const filepath = utils.path.removeLeadingDotSegment(entry.path);\n if (this._settings.unique && this._isDuplicateEntry(filepath)) {\n return false;\n }\n if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {\n return false;\n }\n if (this._isSkippedByAbsoluteNegativePatterns(filepath, negativeRe)) {\n return false;\n }\n const isDirectory = entry.dirent.isDirectory();\n const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory);\n if (this._settings.unique && isMatched) {\n this._createIndexRecord(filepath);\n }\n return isMatched;\n }\n _isDuplicateEntry(filepath) {\n return this.index.has(filepath);\n }\n _createIndexRecord(filepath) {\n this.index.set(filepath, undefined);\n }\n _onlyFileFilter(entry) {\n return this._settings.onlyFiles && !entry.dirent.isFile();\n }\n _onlyDirectoryFilter(entry) {\n return this._settings.onlyDirectories && !entry.dirent.isDirectory();\n }\n _isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {\n if (!this._settings.absolute) {\n return false;\n }\n const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);\n return utils.pattern.matchAny(fullpath, patternsRe);\n }\n _isMatchToPatterns(filepath, patternsRe, isDirectory) {\n // Trying to match files and directories by patterns.\n const isMatched = utils.pattern.matchAny(filepath, patternsRe);\n // A pattern with a trailling slash can be used for directory matching.\n // To apply such pattern, we need to add a tralling slash to the path.\n if (!isMatched && isDirectory) {\n return utils.pattern.matchAny(filepath + '/', patternsRe);\n }\n return isMatched;\n }\n}\nexports.default = EntryFilter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass ErrorFilter {\n constructor(_settings) {\n this._settings = _settings;\n }\n getFilter() {\n return (error) => this._isNonFatalError(error);\n }\n _isNonFatalError(error) {\n return utils.errno.isEnoentCodeError(error) || this._settings.suppressErrors;\n }\n}\nexports.default = ErrorFilter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass Matcher {\n constructor(_patterns, _settings, _micromatchOptions) {\n this._patterns = _patterns;\n this._settings = _settings;\n this._micromatchOptions = _micromatchOptions;\n this._storage = [];\n this._fillStorage();\n }\n _fillStorage() {\n for (const pattern of this._patterns) {\n const segments = this._getPatternSegments(pattern);\n const sections = this._splitSegmentsIntoSections(segments);\n this._storage.push({\n complete: sections.length <= 1,\n pattern,\n segments,\n sections\n });\n }\n }\n _getPatternSegments(pattern) {\n const parts = utils.pattern.getPatternParts(pattern, this._micromatchOptions);\n return parts.map((part) => {\n const dynamic = utils.pattern.isDynamicPattern(part, this._settings);\n if (!dynamic) {\n return {\n dynamic: false,\n pattern: part\n };\n }\n return {\n dynamic: true,\n pattern: part,\n patternRe: utils.pattern.makeRe(part, this._micromatchOptions)\n };\n });\n }\n _splitSegmentsIntoSections(segments) {\n return utils.array.splitWhen(segments, (segment) => segment.dynamic && utils.pattern.hasGlobStar(segment.pattern));\n }\n}\nexports.default = Matcher;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst matcher_1 = require(\"./matcher\");\nclass PartialMatcher extends matcher_1.default {\n match(filepath) {\n const parts = filepath.split('/');\n const levels = parts.length;\n const patterns = this._storage.filter((info) => !info.complete || info.segments.length > levels);\n for (const pattern of patterns) {\n const section = pattern.sections[0];\n /**\n * In this case, the pattern has a globstar and we must read all directories unconditionally,\n * but only if the level has reached the end of the first group.\n *\n * fixtures/{a,b}/**\n * ^ true/false ^ always true\n */\n if (!pattern.complete && levels > section.length) {\n return true;\n }\n const match = parts.every((part, index) => {\n const segment = pattern.segments[index];\n if (segment.dynamic && segment.patternRe.test(part)) {\n return true;\n }\n if (!segment.dynamic && segment.pattern === part) {\n return true;\n }\n return false;\n });\n if (match) {\n return true;\n }\n }\n return false;\n }\n}\nexports.default = PartialMatcher;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst deep_1 = require(\"./filters/deep\");\nconst entry_1 = require(\"./filters/entry\");\nconst error_1 = require(\"./filters/error\");\nconst entry_2 = require(\"./transformers/entry\");\nclass Provider {\n constructor(_settings) {\n this._settings = _settings;\n this.errorFilter = new error_1.default(this._settings);\n this.entryFilter = new entry_1.default(this._settings, this._getMicromatchOptions());\n this.deepFilter = new deep_1.default(this._settings, this._getMicromatchOptions());\n this.entryTransformer = new entry_2.default(this._settings);\n }\n _getRootDirectory(task) {\n return path.resolve(this._settings.cwd, task.base);\n }\n _getReaderOptions(task) {\n const basePath = task.base === '.' ? '' : task.base;\n return {\n basePath,\n pathSegmentSeparator: '/',\n concurrency: this._settings.concurrency,\n deepFilter: this.deepFilter.getFilter(basePath, task.positive, task.negative),\n entryFilter: this.entryFilter.getFilter(task.positive, task.negative),\n errorFilter: this.errorFilter.getFilter(),\n followSymbolicLinks: this._settings.followSymbolicLinks,\n fs: this._settings.fs,\n stats: this._settings.stats,\n throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,\n transform: this.entryTransformer.getTransformer()\n };\n }\n _getMicromatchOptions() {\n return {\n dot: this._settings.dot,\n matchBase: this._settings.baseNameMatch,\n nobrace: !this._settings.braceExpansion,\n nocase: !this._settings.caseSensitiveMatch,\n noext: !this._settings.extglob,\n noglobstar: !this._settings.globstar,\n posix: true,\n strictSlashes: false\n };\n }\n}\nexports.default = Provider;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst stream_2 = require(\"../readers/stream\");\nconst provider_1 = require(\"./provider\");\nclass ProviderStream extends provider_1.default {\n constructor() {\n super(...arguments);\n this._reader = new stream_2.default(this._settings);\n }\n read(task) {\n const root = this._getRootDirectory(task);\n const options = this._getReaderOptions(task);\n const source = this.api(root, task, options);\n const destination = new stream_1.Readable({ objectMode: true, read: () => { } });\n source\n .once('error', (error) => destination.emit('error', error))\n .on('data', (entry) => destination.emit('data', options.transform(entry)))\n .once('end', () => destination.emit('end'));\n destination\n .once('close', () => source.destroy());\n return destination;\n }\n api(root, task, options) {\n if (task.dynamic) {\n return this._reader.dynamic(root, options);\n }\n return this._reader.static(task.patterns, options);\n }\n}\nexports.default = ProviderStream;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst sync_1 = require(\"../readers/sync\");\nconst provider_1 = require(\"./provider\");\nclass ProviderSync extends provider_1.default {\n constructor() {\n super(...arguments);\n this._reader = new sync_1.default(this._settings);\n }\n read(task) {\n const root = this._getRootDirectory(task);\n const options = this._getReaderOptions(task);\n const entries = this.api(root, task, options);\n return entries.map(options.transform);\n }\n api(root, task, options) {\n if (task.dynamic) {\n return this._reader.dynamic(root, options);\n }\n return this._reader.static(task.patterns, options);\n }\n}\nexports.default = ProviderSync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils = require(\"../../utils\");\nclass EntryTransformer {\n constructor(_settings) {\n this._settings = _settings;\n }\n getTransformer() {\n return (entry) => this._transform(entry);\n }\n _transform(entry) {\n let filepath = entry.path;\n if (this._settings.absolute) {\n filepath = utils.path.makeAbsolute(this._settings.cwd, filepath);\n filepath = utils.path.unixify(filepath);\n }\n if (this._settings.markDirectories && entry.dirent.isDirectory()) {\n filepath += '/';\n }\n if (!this._settings.objectMode) {\n return filepath;\n }\n return Object.assign(Object.assign({}, entry), { path: filepath });\n }\n}\nexports.default = EntryTransformer;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsWalk = require(\"@nodelib/fs.walk\");\nconst reader_1 = require(\"./reader\");\nconst stream_1 = require(\"./stream\");\nclass ReaderAsync extends reader_1.default {\n constructor() {\n super(...arguments);\n this._walkAsync = fsWalk.walk;\n this._readerStream = new stream_1.default(this._settings);\n }\n dynamic(root, options) {\n return new Promise((resolve, reject) => {\n this._walkAsync(root, options, (error, entries) => {\n if (error === null) {\n resolve(entries);\n }\n else {\n reject(error);\n }\n });\n });\n }\n async static(patterns, options) {\n const entries = [];\n const stream = this._readerStream.static(patterns, options);\n // After #235, replace it with an asynchronous iterator.\n return new Promise((resolve, reject) => {\n stream.once('error', reject);\n stream.on('data', (entry) => entries.push(entry));\n stream.once('end', () => resolve(entries));\n });\n }\n}\nexports.default = ReaderAsync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst utils = require(\"../utils\");\nclass Reader {\n constructor(_settings) {\n this._settings = _settings;\n this._fsStatSettings = new fsStat.Settings({\n followSymbolicLink: this._settings.followSymbolicLinks,\n fs: this._settings.fs,\n throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks\n });\n }\n _getFullEntryPath(filepath) {\n return path.resolve(this._settings.cwd, filepath);\n }\n _makeEntry(stats, pattern) {\n const entry = {\n name: pattern,\n path: pattern,\n dirent: utils.fs.createDirentFromStats(pattern, stats)\n };\n if (this._settings.stats) {\n entry.stats = stats;\n }\n return entry;\n }\n _isFatalError(error) {\n return !utils.errno.isEnoentCodeError(error) && !this._settings.suppressErrors;\n }\n}\nexports.default = Reader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst stream_1 = require(\"stream\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fsWalk = require(\"@nodelib/fs.walk\");\nconst reader_1 = require(\"./reader\");\nclass ReaderStream extends reader_1.default {\n constructor() {\n super(...arguments);\n this._walkStream = fsWalk.walkStream;\n this._stat = fsStat.stat;\n }\n dynamic(root, options) {\n return this._walkStream(root, options);\n }\n static(patterns, options) {\n const filepaths = patterns.map(this._getFullEntryPath, this);\n const stream = new stream_1.PassThrough({ objectMode: true });\n stream._write = (index, _enc, done) => {\n return this._getEntry(filepaths[index], patterns[index], options)\n .then((entry) => {\n if (entry !== null && options.entryFilter(entry)) {\n stream.push(entry);\n }\n if (index === filepaths.length - 1) {\n stream.end();\n }\n done();\n })\n .catch(done);\n };\n for (let i = 0; i < filepaths.length; i++) {\n stream.write(i);\n }\n return stream;\n }\n _getEntry(filepath, pattern, options) {\n return this._getStat(filepath)\n .then((stats) => this._makeEntry(stats, pattern))\n .catch((error) => {\n if (options.errorFilter(error)) {\n return null;\n }\n throw error;\n });\n }\n _getStat(filepath) {\n return new Promise((resolve, reject) => {\n this._stat(filepath, this._fsStatSettings, (error, stats) => {\n return error === null ? resolve(stats) : reject(error);\n });\n });\n }\n}\nexports.default = ReaderStream;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fsWalk = require(\"@nodelib/fs.walk\");\nconst reader_1 = require(\"./reader\");\nclass ReaderSync extends reader_1.default {\n constructor() {\n super(...arguments);\n this._walkSync = fsWalk.walkSync;\n this._statSync = fsStat.statSync;\n }\n dynamic(root, options) {\n return this._walkSync(root, options);\n }\n static(patterns, options) {\n const entries = [];\n for (const pattern of patterns) {\n const filepath = this._getFullEntryPath(pattern);\n const entry = this._getEntry(filepath, pattern, options);\n if (entry === null || !options.entryFilter(entry)) {\n continue;\n }\n entries.push(entry);\n }\n return entries;\n }\n _getEntry(filepath, pattern, options) {\n try {\n const stats = this._getStat(filepath);\n return this._makeEntry(stats, pattern);\n }\n catch (error) {\n if (options.errorFilter(error)) {\n return null;\n }\n throw error;\n }\n }\n _getStat(filepath) {\n return this._statSync(filepath, this._fsStatSettings);\n }\n}\nexports.default = ReaderSync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nconst os = require(\"os\");\n/**\n * The `os.cpus` method can return zero. We expect the number of cores to be greater than zero.\n * https://github.com/nodejs/node/blob/7faeddf23a98c53896f8b574a6e66589e8fb1eb8/lib/os.js#L106-L107\n */\nconst CPU_COUNT = Math.max(os.cpus().length, 1);\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = {\n lstat: fs.lstat,\n lstatSync: fs.lstatSync,\n stat: fs.stat,\n statSync: fs.statSync,\n readdir: fs.readdir,\n readdirSync: fs.readdirSync\n};\nclass Settings {\n constructor(_options = {}) {\n this._options = _options;\n this.absolute = this._getValue(this._options.absolute, false);\n this.baseNameMatch = this._getValue(this._options.baseNameMatch, false);\n this.braceExpansion = this._getValue(this._options.braceExpansion, true);\n this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, true);\n this.concurrency = this._getValue(this._options.concurrency, CPU_COUNT);\n this.cwd = this._getValue(this._options.cwd, process.cwd());\n this.deep = this._getValue(this._options.deep, Infinity);\n this.dot = this._getValue(this._options.dot, false);\n this.extglob = this._getValue(this._options.extglob, true);\n this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, true);\n this.fs = this._getFileSystemMethods(this._options.fs);\n this.globstar = this._getValue(this._options.globstar, true);\n this.ignore = this._getValue(this._options.ignore, []);\n this.markDirectories = this._getValue(this._options.markDirectories, false);\n this.objectMode = this._getValue(this._options.objectMode, false);\n this.onlyDirectories = this._getValue(this._options.onlyDirectories, false);\n this.onlyFiles = this._getValue(this._options.onlyFiles, true);\n this.stats = this._getValue(this._options.stats, false);\n this.suppressErrors = this._getValue(this._options.suppressErrors, false);\n this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, false);\n this.unique = this._getValue(this._options.unique, true);\n if (this.onlyDirectories) {\n this.onlyFiles = false;\n }\n if (this.stats) {\n this.objectMode = true;\n }\n // Remove the cast to the array in the next major (#404).\n this.ignore = [].concat(this.ignore);\n }\n _getValue(option, value) {\n return option === undefined ? value : option;\n }\n _getFileSystemMethods(methods = {}) {\n return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);\n }\n}\nexports.default = Settings;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitWhen = exports.flatten = void 0;\nfunction flatten(items) {\n return items.reduce((collection, item) => [].concat(collection, item), []);\n}\nexports.flatten = flatten;\nfunction splitWhen(items, predicate) {\n const result = [[]];\n let groupIndex = 0;\n for (const item of items) {\n if (predicate(item)) {\n groupIndex++;\n result[groupIndex] = [];\n }\n else {\n result[groupIndex].push(item);\n }\n }\n return result;\n}\nexports.splitWhen = splitWhen;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEnoentCodeError = void 0;\nfunction isEnoentCodeError(error) {\n return error.code === 'ENOENT';\n}\nexports.isEnoentCodeError = isEnoentCodeError;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createDirentFromStats = void 0;\nclass DirentFromStats {\n constructor(name, stats) {\n this.name = name;\n this.isBlockDevice = stats.isBlockDevice.bind(stats);\n this.isCharacterDevice = stats.isCharacterDevice.bind(stats);\n this.isDirectory = stats.isDirectory.bind(stats);\n this.isFIFO = stats.isFIFO.bind(stats);\n this.isFile = stats.isFile.bind(stats);\n this.isSocket = stats.isSocket.bind(stats);\n this.isSymbolicLink = stats.isSymbolicLink.bind(stats);\n }\n}\nfunction createDirentFromStats(name, stats) {\n return new DirentFromStats(name, stats);\n}\nexports.createDirentFromStats = createDirentFromStats;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;\nconst array = require(\"./array\");\nexports.array = array;\nconst errno = require(\"./errno\");\nexports.errno = errno;\nconst fs = require(\"./fs\");\nexports.fs = fs;\nconst path = require(\"./path\");\nexports.path = path;\nconst pattern = require(\"./pattern\");\nexports.pattern = pattern;\nconst stream = require(\"./stream\");\nexports.stream = stream;\nconst string = require(\"./string\");\nexports.string = string;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;\nconst os = require(\"os\");\nconst path = require(\"path\");\nconst IS_WINDOWS_PLATFORM = os.platform() === 'win32';\nconst LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; // ./ or .\\\\\n/**\n * All non-escaped special characters.\n * Posix: ()*?[]{|}, !+@ before (, ! at the beginning, \\\\ before non-special characters.\n * Windows: (){}[], !+@ before (, ! at the beginning.\n */\nconst POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\\\?)([()*?[\\]{|}]|^!|[!+@](?=\\()|\\\\(?![!()*+?@[\\]{|}]))/g;\nconst WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\\\?)([()[\\]{}]|^!|[!+@](?=\\())/g;\n/**\n * The device path (\\\\.\\ or \\\\?\\).\n * https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#dos-device-paths\n */\nconst DOS_DEVICE_PATH_RE = /^\\\\\\\\([.?])/;\n/**\n * All backslashes except those escaping special characters.\n * Windows: !()+@{}\n * https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions\n */\nconst WINDOWS_BACKSLASHES_RE = /\\\\(?![!()+@[\\]{}])/g;\n/**\n * Designed to work only with simple paths: `dir\\\\file`.\n */\nfunction unixify(filepath) {\n return filepath.replace(/\\\\/g, '/');\n}\nexports.unixify = unixify;\nfunction makeAbsolute(cwd, filepath) {\n return path.resolve(cwd, filepath);\n}\nexports.makeAbsolute = makeAbsolute;\nfunction removeLeadingDotSegment(entry) {\n // We do not use `startsWith` because this is 10x slower than current implementation for some cases.\n // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with\n if (entry.charAt(0) === '.') {\n const secondCharactery = entry.charAt(1);\n if (secondCharactery === '/' || secondCharactery === '\\\\') {\n return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT);\n }\n }\n return entry;\n}\nexports.removeLeadingDotSegment = removeLeadingDotSegment;\nexports.escape = IS_WINDOWS_PLATFORM ? escapeWindowsPath : escapePosixPath;\nfunction escapeWindowsPath(pattern) {\n return pattern.replace(WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE, '\\\\$2');\n}\nexports.escapeWindowsPath = escapeWindowsPath;\nfunction escapePosixPath(pattern) {\n return pattern.replace(POSIX_UNESCAPED_GLOB_SYMBOLS_RE, '\\\\$2');\n}\nexports.escapePosixPath = escapePosixPath;\nexports.convertPathToPattern = IS_WINDOWS_PLATFORM ? convertWindowsPathToPattern : convertPosixPathToPattern;\nfunction convertWindowsPathToPattern(filepath) {\n return escapeWindowsPath(filepath)\n .replace(DOS_DEVICE_PATH_RE, '//$1')\n .replace(WINDOWS_BACKSLASHES_RE, '/');\n}\nexports.convertWindowsPathToPattern = convertWindowsPathToPattern;\nfunction convertPosixPathToPattern(filepath) {\n return escapePosixPath(filepath);\n}\nexports.convertPosixPathToPattern = convertPosixPathToPattern;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;\nconst path = require(\"path\");\nconst globParent = require(\"glob-parent\");\nconst micromatch = require(\"micromatch\");\nconst GLOBSTAR = '**';\nconst ESCAPE_SYMBOL = '\\\\';\nconst COMMON_GLOB_SYMBOLS_RE = /[*?]|^!/;\nconst REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\\[[^[]*]/;\nconst REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\\([^(]*\\|[^|]*\\)/;\nconst GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\\([^(]*\\)/;\nconst BRACE_EXPANSION_SEPARATORS_RE = /,|\\.\\./;\n/**\n * Matches a sequence of two or more consecutive slashes, excluding the first two slashes at the beginning of the string.\n * The latter is due to the presence of the device path at the beginning of the UNC path.\n */\nconst DOUBLE_SLASH_RE = /(?!^)\\/{2,}/g;\nfunction isStaticPattern(pattern, options = {}) {\n return !isDynamicPattern(pattern, options);\n}\nexports.isStaticPattern = isStaticPattern;\nfunction isDynamicPattern(pattern, options = {}) {\n /**\n * A special case with an empty string is necessary for matching patterns that start with a forward slash.\n * An empty string cannot be a dynamic pattern.\n * For example, the pattern `/lib/*` will be spread into parts: '', 'lib', '*'.\n */\n if (pattern === '') {\n return false;\n }\n /**\n * When the `caseSensitiveMatch` option is disabled, all patterns must be marked as dynamic, because we cannot check\n * filepath directly (without read directory).\n */\n if (options.caseSensitiveMatch === false || pattern.includes(ESCAPE_SYMBOL)) {\n return true;\n }\n if (COMMON_GLOB_SYMBOLS_RE.test(pattern) || REGEX_CHARACTER_CLASS_SYMBOLS_RE.test(pattern) || REGEX_GROUP_SYMBOLS_RE.test(pattern)) {\n return true;\n }\n if (options.extglob !== false && GLOB_EXTENSION_SYMBOLS_RE.test(pattern)) {\n return true;\n }\n if (options.braceExpansion !== false && hasBraceExpansion(pattern)) {\n return true;\n }\n return false;\n}\nexports.isDynamicPattern = isDynamicPattern;\nfunction hasBraceExpansion(pattern) {\n const openingBraceIndex = pattern.indexOf('{');\n if (openingBraceIndex === -1) {\n return false;\n }\n const closingBraceIndex = pattern.indexOf('}', openingBraceIndex + 1);\n if (closingBraceIndex === -1) {\n return false;\n }\n const braceContent = pattern.slice(openingBraceIndex, closingBraceIndex);\n return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent);\n}\nfunction convertToPositivePattern(pattern) {\n return isNegativePattern(pattern) ? pattern.slice(1) : pattern;\n}\nexports.convertToPositivePattern = convertToPositivePattern;\nfunction convertToNegativePattern(pattern) {\n return '!' + pattern;\n}\nexports.convertToNegativePattern = convertToNegativePattern;\nfunction isNegativePattern(pattern) {\n return pattern.startsWith('!') && pattern[1] !== '(';\n}\nexports.isNegativePattern = isNegativePattern;\nfunction isPositivePattern(pattern) {\n return !isNegativePattern(pattern);\n}\nexports.isPositivePattern = isPositivePattern;\nfunction getNegativePatterns(patterns) {\n return patterns.filter(isNegativePattern);\n}\nexports.getNegativePatterns = getNegativePatterns;\nfunction getPositivePatterns(patterns) {\n return patterns.filter(isPositivePattern);\n}\nexports.getPositivePatterns = getPositivePatterns;\n/**\n * Returns patterns that can be applied inside the current directory.\n *\n * @example\n * // ['./*', '*', 'a/*']\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\n */\nfunction getPatternsInsideCurrentDirectory(patterns) {\n return patterns.filter((pattern) => !isPatternRelatedToParentDirectory(pattern));\n}\nexports.getPatternsInsideCurrentDirectory = getPatternsInsideCurrentDirectory;\n/**\n * Returns patterns to be expanded relative to (outside) the current directory.\n *\n * @example\n * // ['../*', './../*']\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\n */\nfunction getPatternsOutsideCurrentDirectory(patterns) {\n return patterns.filter(isPatternRelatedToParentDirectory);\n}\nexports.getPatternsOutsideCurrentDirectory = getPatternsOutsideCurrentDirectory;\nfunction isPatternRelatedToParentDirectory(pattern) {\n return pattern.startsWith('..') || pattern.startsWith('./..');\n}\nexports.isPatternRelatedToParentDirectory = isPatternRelatedToParentDirectory;\nfunction getBaseDirectory(pattern) {\n return globParent(pattern, { flipBackslashes: false });\n}\nexports.getBaseDirectory = getBaseDirectory;\nfunction hasGlobStar(pattern) {\n return pattern.includes(GLOBSTAR);\n}\nexports.hasGlobStar = hasGlobStar;\nfunction endsWithSlashGlobStar(pattern) {\n return pattern.endsWith('/' + GLOBSTAR);\n}\nexports.endsWithSlashGlobStar = endsWithSlashGlobStar;\nfunction isAffectDepthOfReadingPattern(pattern) {\n const basename = path.basename(pattern);\n return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);\n}\nexports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;\nfunction expandPatternsWithBraceExpansion(patterns) {\n return patterns.reduce((collection, pattern) => {\n return collection.concat(expandBraceExpansion(pattern));\n }, []);\n}\nexports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;\nfunction expandBraceExpansion(pattern) {\n const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });\n /**\n * Sort the patterns by length so that the same depth patterns are processed side by side.\n * `a/{b,}/{c,}/*` – `['a///*', 'a/b//*', 'a//c/*', 'a/b/c/*']`\n */\n patterns.sort((a, b) => a.length - b.length);\n /**\n * Micromatch can return an empty string in the case of patterns like `{a,}`.\n */\n return patterns.filter((pattern) => pattern !== '');\n}\nexports.expandBraceExpansion = expandBraceExpansion;\nfunction getPatternParts(pattern, options) {\n let { parts } = micromatch.scan(pattern, Object.assign(Object.assign({}, options), { parts: true }));\n /**\n * The scan method returns an empty array in some cases.\n * See micromatch/picomatch#58 for more details.\n */\n if (parts.length === 0) {\n parts = [pattern];\n }\n /**\n * The scan method does not return an empty part for the pattern with a forward slash.\n * This is another part of micromatch/picomatch#58.\n */\n if (parts[0].startsWith('/')) {\n parts[0] = parts[0].slice(1);\n parts.unshift('');\n }\n return parts;\n}\nexports.getPatternParts = getPatternParts;\nfunction makeRe(pattern, options) {\n return micromatch.makeRe(pattern, options);\n}\nexports.makeRe = makeRe;\nfunction convertPatternsToRe(patterns, options) {\n return patterns.map((pattern) => makeRe(pattern, options));\n}\nexports.convertPatternsToRe = convertPatternsToRe;\nfunction matchAny(entry, patternsRe) {\n return patternsRe.some((patternRe) => patternRe.test(entry));\n}\nexports.matchAny = matchAny;\n/**\n * This package only works with forward slashes as a path separator.\n * Because of this, we cannot use the standard `path.normalize` method, because on Windows platform it will use of backslashes.\n */\nfunction removeDuplicateSlashes(pattern) {\n return pattern.replace(DOUBLE_SLASH_RE, '/');\n}\nexports.removeDuplicateSlashes = removeDuplicateSlashes;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.merge = void 0;\nconst merge2 = require(\"merge2\");\nfunction merge(streams) {\n const mergedStream = merge2(streams);\n streams.forEach((stream) => {\n stream.once('error', (error) => mergedStream.emit('error', error));\n });\n mergedStream.once('close', () => propagateCloseEventToSources(streams));\n mergedStream.once('end', () => propagateCloseEventToSources(streams));\n return mergedStream;\n}\nexports.merge = merge;\nfunction propagateCloseEventToSources(streams) {\n streams.forEach((stream) => stream.emit('close'));\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmpty = exports.isString = void 0;\nfunction isString(input) {\n return typeof input === 'string';\n}\nexports.isString = isString;\nfunction isEmpty(input) {\n return input === '';\n}\nexports.isEmpty = isEmpty;\n","'use strict'\n\n/* eslint-disable no-var */\n\nvar reusify = require('reusify')\n\nfunction fastqueue (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n if (concurrency < 1) {\n throw new Error('fastqueue concurrency must be greater than 1')\n }\n\n var cache = reusify(Task)\n var queueHead = null\n var queueTail = null\n var _running = 0\n var errorHandler = null\n\n var self = {\n push: push,\n drain: noop,\n saturated: noop,\n pause: pause,\n paused: false,\n concurrency: concurrency,\n running: running,\n resume: resume,\n idle: idle,\n length: length,\n getQueue: getQueue,\n unshift: unshift,\n empty: noop,\n kill: kill,\n killAndDrain: killAndDrain,\n error: error\n }\n\n return self\n\n function running () {\n return _running\n }\n\n function pause () {\n self.paused = true\n }\n\n function length () {\n var current = queueHead\n var counter = 0\n\n while (current) {\n current = current.next\n counter++\n }\n\n return counter\n }\n\n function getQueue () {\n var current = queueHead\n var tasks = []\n\n while (current) {\n tasks.push(current.value)\n current = current.next\n }\n\n return tasks\n }\n\n function resume () {\n if (!self.paused) return\n self.paused = false\n for (var i = 0; i < self.concurrency; i++) {\n _running++\n release()\n }\n }\n\n function idle () {\n return _running === 0 && self.length() === 0\n }\n\n function push (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueTail) {\n queueTail.next = current\n queueTail = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function unshift (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueHead) {\n current.next = queueHead\n queueHead = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function release (holder) {\n if (holder) {\n cache.release(holder)\n }\n var next = queueHead\n if (next) {\n if (!self.paused) {\n if (queueTail === queueHead) {\n queueTail = null\n }\n queueHead = next.next\n next.next = null\n worker.call(context, next.value, next.worked)\n if (queueTail === null) {\n self.empty()\n }\n } else {\n _running--\n }\n } else if (--_running === 0) {\n self.drain()\n }\n }\n\n function kill () {\n queueHead = null\n queueTail = null\n self.drain = noop\n }\n\n function killAndDrain () {\n queueHead = null\n queueTail = null\n self.drain()\n self.drain = noop\n }\n\n function error (handler) {\n errorHandler = handler\n }\n}\n\nfunction noop () {}\n\nfunction Task () {\n this.value = null\n this.callback = noop\n this.next = null\n this.release = noop\n this.context = null\n this.errorHandler = null\n\n var self = this\n\n this.worked = function worked (err, result) {\n var callback = self.callback\n var errorHandler = self.errorHandler\n var val = self.value\n self.value = null\n self.callback = noop\n if (self.errorHandler) {\n errorHandler(err, val)\n }\n callback.call(self.context, err, result)\n self.release(self)\n }\n}\n\nfunction queueAsPromised (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n function asyncWrapper (arg, cb) {\n worker.call(this, arg)\n .then(function (res) {\n cb(null, res)\n }, cb)\n }\n\n var queue = fastqueue(context, asyncWrapper, concurrency)\n\n var pushCb = queue.push\n var unshiftCb = queue.unshift\n\n queue.push = push\n queue.unshift = unshift\n queue.drained = drained\n\n return queue\n\n function push (value) {\n var p = new Promise(function (resolve, reject) {\n pushCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function unshift (value) {\n var p = new Promise(function (resolve, reject) {\n unshiftCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function drained () {\n if (queue.idle()) {\n return new Promise(function (resolve) {\n resolve()\n })\n }\n\n var previousDrain = queue.drain\n\n var p = new Promise(function (resolve) {\n queue.drain = function () {\n previousDrain()\n resolve()\n }\n })\n\n return p\n }\n}\n\nmodule.exports = fastqueue\nmodule.exports.promise = queueAsPromised\n","/*!\n * fill-range \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\n'use strict';\n\nconst util = require('util');\nconst toRegexRange = require('to-regex-range');\n\nconst isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\n\nconst transform = toNumber => {\n return value => toNumber === true ? Number(value) : String(value);\n};\n\nconst isValidValue = value => {\n return typeof value === 'number' || (typeof value === 'string' && value !== '');\n};\n\nconst isNumber = num => Number.isInteger(+num);\n\nconst zeros = input => {\n let value = `${input}`;\n let index = -1;\n if (value[0] === '-') value = value.slice(1);\n if (value === '0') return false;\n while (value[++index] === '0');\n return index > 0;\n};\n\nconst stringify = (start, end, options) => {\n if (typeof start === 'string' || typeof end === 'string') {\n return true;\n }\n return options.stringify === true;\n};\n\nconst pad = (input, maxLength, toNumber) => {\n if (maxLength > 0) {\n let dash = input[0] === '-' ? '-' : '';\n if (dash) input = input.slice(1);\n input = (dash + input.padStart(dash ? maxLength - 1 : maxLength, '0'));\n }\n if (toNumber === false) {\n return String(input);\n }\n return input;\n};\n\nconst toMaxLen = (input, maxLength) => {\n let negative = input[0] === '-' ? '-' : '';\n if (negative) {\n input = input.slice(1);\n maxLength--;\n }\n while (input.length < maxLength) input = '0' + input;\n return negative ? ('-' + input) : input;\n};\n\nconst toSequence = (parts, options) => {\n parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n\n let prefix = options.capture ? '' : '?:';\n let positives = '';\n let negatives = '';\n let result;\n\n if (parts.positives.length) {\n positives = parts.positives.join('|');\n }\n\n if (parts.negatives.length) {\n negatives = `-(${prefix}${parts.negatives.join('|')})`;\n }\n\n if (positives && negatives) {\n result = `${positives}|${negatives}`;\n } else {\n result = positives || negatives;\n }\n\n if (options.wrap) {\n return `(${prefix}${result})`;\n }\n\n return result;\n};\n\nconst toRange = (a, b, isNumbers, options) => {\n if (isNumbers) {\n return toRegexRange(a, b, { wrap: false, ...options });\n }\n\n let start = String.fromCharCode(a);\n if (a === b) return start;\n\n let stop = String.fromCharCode(b);\n return `[${start}-${stop}]`;\n};\n\nconst toRegex = (start, end, options) => {\n if (Array.isArray(start)) {\n let wrap = options.wrap === true;\n let prefix = options.capture ? '' : '?:';\n return wrap ? `(${prefix}${start.join('|')})` : start.join('|');\n }\n return toRegexRange(start, end, options);\n};\n\nconst rangeError = (...args) => {\n return new RangeError('Invalid range arguments: ' + util.inspect(...args));\n};\n\nconst invalidRange = (start, end, options) => {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n};\n\nconst invalidStep = (step, options) => {\n if (options.strictRanges === true) {\n throw new TypeError(`Expected step \"${step}\" to be a number`);\n }\n return [];\n};\n\nconst fillNumbers = (start, end, step = 1, options = {}) => {\n let a = Number(start);\n let b = Number(end);\n\n if (!Number.isInteger(a) || !Number.isInteger(b)) {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n }\n\n // fix negative zero\n if (a === 0) a = 0;\n if (b === 0) b = 0;\n\n let descending = a > b;\n let startString = String(start);\n let endString = String(end);\n let stepString = String(step);\n step = Math.max(Math.abs(step), 1);\n\n let padded = zeros(startString) || zeros(endString) || zeros(stepString);\n let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;\n let toNumber = padded === false && stringify(start, end, options) === false;\n let format = options.transform || transform(toNumber);\n\n if (options.toRegex && step === 1) {\n return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);\n }\n\n let parts = { negatives: [], positives: [] };\n let push = num => parts[num < 0 ? 'negatives' : 'positives'].push(Math.abs(num));\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n if (options.toRegex === true && step > 1) {\n push(a);\n } else {\n range.push(pad(format(a, index), maxLen, toNumber));\n }\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return step > 1\n ? toSequence(parts, options)\n : toRegex(range, null, { wrap: false, ...options });\n }\n\n return range;\n};\n\nconst fillLetters = (start, end, step = 1, options = {}) => {\n if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {\n return invalidRange(start, end, options);\n }\n\n\n let format = options.transform || (val => String.fromCharCode(val));\n let a = `${start}`.charCodeAt(0);\n let b = `${end}`.charCodeAt(0);\n\n let descending = a > b;\n let min = Math.min(a, b);\n let max = Math.max(a, b);\n\n if (options.toRegex && step === 1) {\n return toRange(min, max, false, options);\n }\n\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n range.push(format(a, index));\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return toRegex(range, null, { wrap: false, options });\n }\n\n return range;\n};\n\nconst fill = (start, end, step, options = {}) => {\n if (end == null && isValidValue(start)) {\n return [start];\n }\n\n if (!isValidValue(start) || !isValidValue(end)) {\n return invalidRange(start, end, options);\n }\n\n if (typeof step === 'function') {\n return fill(start, end, 1, { transform: step });\n }\n\n if (isObject(step)) {\n return fill(start, end, 0, step);\n }\n\n let opts = { ...options };\n if (opts.capture === true) opts.wrap = true;\n step = step || opts.step || 1;\n\n if (!isNumber(step)) {\n if (step != null && !isObject(step)) return invalidStep(step, opts);\n return fill(start, end, 1, step);\n }\n\n if (isNumber(start) && isNumber(end)) {\n return fillNumbers(start, end, step, opts);\n }\n\n return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);\n};\n\nmodule.exports = fill;\n","/*!\n * is-extglob \n *\n * Copyright (c) 2014-2016, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\nmodule.exports = function isExtglob(str) {\n if (typeof str !== 'string' || str === '') {\n return false;\n }\n\n var match;\n while ((match = /(\\\\).|([@?!+*]\\(.*\\))/g.exec(str))) {\n if (match[2]) return true;\n str = str.slice(match.index + match[0].length);\n }\n\n return false;\n};\n","/*!\n * is-glob \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nvar isExtglob = require('is-extglob');\nvar chars = { '{': '}', '(': ')', '[': ']'};\nvar strictCheck = function(str) {\n if (str[0] === '!') {\n return true;\n }\n var index = 0;\n var pipeIndex = -2;\n var closeSquareIndex = -2;\n var closeCurlyIndex = -2;\n var closeParenIndex = -2;\n var backSlashIndex = -2;\n while (index < str.length) {\n if (str[index] === '*') {\n return true;\n }\n\n if (str[index + 1] === '?' && /[\\].+)]/.test(str[index])) {\n return true;\n }\n\n if (closeSquareIndex !== -1 && str[index] === '[' && str[index + 1] !== ']') {\n if (closeSquareIndex < index) {\n closeSquareIndex = str.indexOf(']', index);\n }\n if (closeSquareIndex > index) {\n if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {\n return true;\n }\n backSlashIndex = str.indexOf('\\\\', index);\n if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {\n return true;\n }\n }\n }\n\n if (closeCurlyIndex !== -1 && str[index] === '{' && str[index + 1] !== '}') {\n closeCurlyIndex = str.indexOf('}', index);\n if (closeCurlyIndex > index) {\n backSlashIndex = str.indexOf('\\\\', index);\n if (backSlashIndex === -1 || backSlashIndex > closeCurlyIndex) {\n return true;\n }\n }\n }\n\n if (closeParenIndex !== -1 && str[index] === '(' && str[index + 1] === '?' && /[:!=]/.test(str[index + 2]) && str[index + 3] !== ')') {\n closeParenIndex = str.indexOf(')', index);\n if (closeParenIndex > index) {\n backSlashIndex = str.indexOf('\\\\', index);\n if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {\n return true;\n }\n }\n }\n\n if (pipeIndex !== -1 && str[index] === '(' && str[index + 1] !== '|') {\n if (pipeIndex < index) {\n pipeIndex = str.indexOf('|', index);\n }\n if (pipeIndex !== -1 && str[pipeIndex + 1] !== ')') {\n closeParenIndex = str.indexOf(')', pipeIndex);\n if (closeParenIndex > pipeIndex) {\n backSlashIndex = str.indexOf('\\\\', pipeIndex);\n if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {\n return true;\n }\n }\n }\n }\n\n if (str[index] === '\\\\') {\n var open = str[index + 1];\n index += 2;\n var close = chars[open];\n\n if (close) {\n var n = str.indexOf(close, index);\n if (n !== -1) {\n index = n + 1;\n }\n }\n\n if (str[index] === '!') {\n return true;\n }\n } else {\n index++;\n }\n }\n return false;\n};\n\nvar relaxedCheck = function(str) {\n if (str[0] === '!') {\n return true;\n }\n var index = 0;\n while (index < str.length) {\n if (/[*?{}()[\\]]/.test(str[index])) {\n return true;\n }\n\n if (str[index] === '\\\\') {\n var open = str[index + 1];\n index += 2;\n var close = chars[open];\n\n if (close) {\n var n = str.indexOf(close, index);\n if (n !== -1) {\n index = n + 1;\n }\n }\n\n if (str[index] === '!') {\n return true;\n }\n } else {\n index++;\n }\n }\n return false;\n};\n\nmodule.exports = function isGlob(str, options) {\n if (typeof str !== 'string' || str === '') {\n return false;\n }\n\n if (isExtglob(str)) {\n return true;\n }\n\n var check = strictCheck;\n\n // optionally relax check\n if (options && options.strict === false) {\n check = relaxedCheck;\n }\n\n return check(str);\n};\n","/*!\n * is-number \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function(num) {\n if (typeof num === 'number') {\n return num - num === 0;\n }\n if (typeof num === 'string' && num.trim() !== '') {\n return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);\n }\n return false;\n};\n","'use strict'\n/*\n * merge2\n * https://github.com/teambition/merge2\n *\n * Copyright (c) 2014-2020 Teambition\n * Licensed under the MIT license.\n */\nconst Stream = require('stream')\nconst PassThrough = Stream.PassThrough\nconst slice = Array.prototype.slice\n\nmodule.exports = merge2\n\nfunction merge2 () {\n const streamsQueue = []\n const args = slice.call(arguments)\n let merging = false\n let options = args[args.length - 1]\n\n if (options && !Array.isArray(options) && options.pipe == null) {\n args.pop()\n } else {\n options = {}\n }\n\n const doEnd = options.end !== false\n const doPipeError = options.pipeError === true\n if (options.objectMode == null) {\n options.objectMode = true\n }\n if (options.highWaterMark == null) {\n options.highWaterMark = 64 * 1024\n }\n const mergedStream = PassThrough(options)\n\n function addStream () {\n for (let i = 0, len = arguments.length; i < len; i++) {\n streamsQueue.push(pauseStreams(arguments[i], options))\n }\n mergeStream()\n return this\n }\n\n function mergeStream () {\n if (merging) {\n return\n }\n merging = true\n\n let streams = streamsQueue.shift()\n if (!streams) {\n process.nextTick(endStream)\n return\n }\n if (!Array.isArray(streams)) {\n streams = [streams]\n }\n\n let pipesCount = streams.length + 1\n\n function next () {\n if (--pipesCount > 0) {\n return\n }\n merging = false\n mergeStream()\n }\n\n function pipe (stream) {\n function onend () {\n stream.removeListener('merge2UnpipeEnd', onend)\n stream.removeListener('end', onend)\n if (doPipeError) {\n stream.removeListener('error', onerror)\n }\n next()\n }\n function onerror (err) {\n mergedStream.emit('error', err)\n }\n // skip ended stream\n if (stream._readableState.endEmitted) {\n return next()\n }\n\n stream.on('merge2UnpipeEnd', onend)\n stream.on('end', onend)\n\n if (doPipeError) {\n stream.on('error', onerror)\n }\n\n stream.pipe(mergedStream, { end: false })\n // compatible for old stream\n stream.resume()\n }\n\n for (let i = 0; i < streams.length; i++) {\n pipe(streams[i])\n }\n\n next()\n }\n\n function endStream () {\n merging = false\n // emit 'queueDrain' when all streams merged.\n mergedStream.emit('queueDrain')\n if (doEnd) {\n mergedStream.end()\n }\n }\n\n mergedStream.setMaxListeners(0)\n mergedStream.add = addStream\n mergedStream.on('unpipe', function (stream) {\n stream.emit('merge2UnpipeEnd')\n })\n\n if (args.length) {\n addStream.apply(null, args)\n }\n return mergedStream\n}\n\n// check and pause streams for pipe.\nfunction pauseStreams (streams, options) {\n if (!Array.isArray(streams)) {\n // Backwards-compat with old-style streams\n if (!streams._readableState && streams.pipe) {\n streams = streams.pipe(PassThrough(options))\n }\n if (!streams._readableState || !streams.pause || !streams.pipe) {\n throw new Error('Only readable stream can be merged.')\n }\n streams.pause()\n } else {\n for (let i = 0, len = streams.length; i < len; i++) {\n streams[i] = pauseStreams(streams[i], options)\n }\n }\n return streams\n}\n","'use strict';\n\nconst util = require('util');\nconst braces = require('braces');\nconst picomatch = require('picomatch');\nconst utils = require('picomatch/lib/utils');\nconst isEmptyString = val => val === '' || val === './';\n\n/**\n * Returns an array of strings that match one or more glob patterns.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm(list, patterns[, options]);\n *\n * console.log(mm(['a.js', 'a.txt'], ['*.js']));\n * //=> [ 'a.js' ]\n * ```\n * @param {String|Array} `list` List of strings to match.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options)\n * @return {Array} Returns an array of matches\n * @summary false\n * @api public\n */\n\nconst micromatch = (list, patterns, options) => {\n patterns = [].concat(patterns);\n list = [].concat(list);\n\n let omit = new Set();\n let keep = new Set();\n let items = new Set();\n let negatives = 0;\n\n let onResult = state => {\n items.add(state.output);\n if (options && options.onResult) {\n options.onResult(state);\n }\n };\n\n for (let i = 0; i < patterns.length; i++) {\n let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);\n let negated = isMatch.state.negated || isMatch.state.negatedExtglob;\n if (negated) negatives++;\n\n for (let item of list) {\n let matched = isMatch(item, true);\n\n let match = negated ? !matched.isMatch : matched.isMatch;\n if (!match) continue;\n\n if (negated) {\n omit.add(matched.output);\n } else {\n omit.delete(matched.output);\n keep.add(matched.output);\n }\n }\n }\n\n let result = negatives === patterns.length ? [...items] : [...keep];\n let matches = result.filter(item => !omit.has(item));\n\n if (options && matches.length === 0) {\n if (options.failglob === true) {\n throw new Error(`No matches found for \"${patterns.join(', ')}\"`);\n }\n\n if (options.nonull === true || options.nullglob === true) {\n return options.unescape ? patterns.map(p => p.replace(/\\\\/g, '')) : patterns;\n }\n }\n\n return matches;\n};\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.match = micromatch;\n\n/**\n * Returns a matcher function from the given glob `pattern` and `options`.\n * The returned function takes a string to match as its only argument and returns\n * true if the string is a match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matcher(pattern[, options]);\n *\n * const isMatch = mm.matcher('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @param {String} `pattern` Glob pattern\n * @param {Object} `options`\n * @return {Function} Returns a matcher function.\n * @api public\n */\n\nmicromatch.matcher = (pattern, options) => picomatch(pattern, options);\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.isMatch(string, patterns[, options]);\n *\n * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(mm.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `[options]` See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.any = micromatch.isMatch;\n\n/**\n * Returns a list of strings that _**do not match any**_ of the given `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.not(list, patterns[, options]);\n *\n * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));\n * //=> ['b.b', 'c.c']\n * ```\n * @param {Array} `list` Array of strings to match.\n * @param {String|Array} `patterns` One or more glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array} Returns an array of strings that **do not match** the given patterns.\n * @api public\n */\n\nmicromatch.not = (list, patterns, options = {}) => {\n patterns = [].concat(patterns).map(String);\n let result = new Set();\n let items = [];\n\n let onResult = state => {\n if (options.onResult) options.onResult(state);\n items.push(state.output);\n };\n\n let matches = new Set(micromatch(list, patterns, { ...options, onResult }));\n\n for (let item of items) {\n if (!matches.has(item)) {\n result.add(item);\n }\n }\n return [...result];\n};\n\n/**\n * Returns true if the given `string` contains the given pattern. Similar\n * to [.isMatch](#isMatch) but the pattern can match any part of the string.\n *\n * ```js\n * var mm = require('micromatch');\n * // mm.contains(string, pattern[, options]);\n *\n * console.log(mm.contains('aa/bb/cc', '*b'));\n * //=> true\n * console.log(mm.contains('aa/bb/cc', '*d'));\n * //=> false\n * ```\n * @param {String} `str` The string to match.\n * @param {String|Array} `patterns` Glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any of the patterns matches any part of `str`.\n * @api public\n */\n\nmicromatch.contains = (str, pattern, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n if (Array.isArray(pattern)) {\n return pattern.some(p => micromatch.contains(str, p, options));\n }\n\n if (typeof pattern === 'string') {\n if (isEmptyString(str) || isEmptyString(pattern)) {\n return false;\n }\n\n if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {\n return true;\n }\n }\n\n return micromatch.isMatch(str, pattern, { ...options, contains: true });\n};\n\n/**\n * Filter the keys of the given object with the given `glob` pattern\n * and `options`. Does not attempt to match nested keys. If you need this feature,\n * use [glob-object][] instead.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matchKeys(object, patterns[, options]);\n *\n * const obj = { aa: 'a', ab: 'b', ac: 'c' };\n * console.log(mm.matchKeys(obj, '*b'));\n * //=> { ab: 'b' }\n * ```\n * @param {Object} `object` The object with keys to filter.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Object} Returns an object with only keys that match the given patterns.\n * @api public\n */\n\nmicromatch.matchKeys = (obj, patterns, options) => {\n if (!utils.isObject(obj)) {\n throw new TypeError('Expected the first argument to be an object');\n }\n let keys = micromatch(Object.keys(obj), patterns, options);\n let res = {};\n for (let key of keys) res[key] = obj[key];\n return res;\n};\n\n/**\n * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.some(list, patterns[, options]);\n *\n * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // true\n * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`\n * @api public\n */\n\nmicromatch.some = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (items.some(item => isMatch(item))) {\n return true;\n }\n }\n return false;\n};\n\n/**\n * Returns true if every string in the given `list` matches\n * any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.every(list, patterns[, options]);\n *\n * console.log(mm.every('foo.js', ['foo.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // false\n * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`\n * @api public\n */\n\nmicromatch.every = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (!items.every(item => isMatch(item))) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Returns true if **all** of the given `patterns` match\n * the specified string.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.all(string, patterns[, options]);\n *\n * console.log(mm.all('foo.js', ['foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', '!foo.js']));\n * // false\n *\n * console.log(mm.all('foo.js', ['*.js', 'foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));\n * // true\n * ```\n * @param {String|Array} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.all = (str, patterns, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n return [].concat(patterns).every(p => picomatch(p, options)(str));\n};\n\n/**\n * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.capture(pattern, string[, options]);\n *\n * console.log(mm.capture('test/*.js', 'test/foo.js'));\n * //=> ['foo']\n * console.log(mm.capture('test/*.js', 'foo/bar.css'));\n * //=> null\n * ```\n * @param {String} `glob` Glob pattern to use for matching.\n * @param {String} `input` String to match\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.\n * @api public\n */\n\nmicromatch.capture = (glob, input, options) => {\n let posix = utils.isWindows(options);\n let regex = picomatch.makeRe(String(glob), { ...options, capture: true });\n let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);\n\n if (match) {\n return match.slice(1).map(v => v === void 0 ? '' : v);\n }\n};\n\n/**\n * Create a regular expression from the given glob `pattern`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.makeRe(pattern[, options]);\n *\n * console.log(mm.makeRe('*.js'));\n * //=> /^(?:(\\.[\\\\\\/])?(?!\\.)(?=.)[^\\/]*?\\.js)$/\n * ```\n * @param {String} `pattern` A glob pattern to convert to regex.\n * @param {Object} `options`\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\nmicromatch.makeRe = (...args) => picomatch.makeRe(...args);\n\n/**\n * Scan a glob pattern to separate the pattern into segments. Used\n * by the [split](#split) method.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.scan(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\nmicromatch.scan = (...args) => picomatch.scan(...args);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.parse(pattern[, options]);\n * ```\n * @param {String} `glob`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as regex source string.\n * @api public\n */\n\nmicromatch.parse = (patterns, options) => {\n let res = [];\n for (let pattern of [].concat(patterns || [])) {\n for (let str of braces(String(pattern), options)) {\n res.push(picomatch.parse(str, options));\n }\n }\n return res;\n};\n\n/**\n * Process the given brace `pattern`.\n *\n * ```js\n * const { braces } = require('micromatch');\n * console.log(braces('foo/{a,b,c}/bar'));\n * //=> [ 'foo/(a|b|c)/bar' ]\n *\n * console.log(braces('foo/{a,b,c}/bar', { expand: true }));\n * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]\n * ```\n * @param {String} `pattern` String with brace pattern to process.\n * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.\n * @return {Array}\n * @api public\n */\n\nmicromatch.braces = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n if ((options && options.nobrace === true) || !/\\{.*\\}/.test(pattern)) {\n return [pattern];\n }\n return braces(pattern, options);\n};\n\n/**\n * Expand braces\n */\n\nmicromatch.braceExpand = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n return micromatch.braces(pattern, { ...options, expand: true });\n};\n\n/**\n * Expose micromatch\n */\n\nmodule.exports = micromatch;\n","/*! node-domexception. MIT License. Jimmy Wärting */\n\nif (!globalThis.DOMException) {\n try {\n const { MessageChannel } = require('worker_threads'),\n port = new MessageChannel().port1,\n ab = new ArrayBuffer()\n port.postMessage(ab, [ab, ab])\n } catch (err) {\n err.constructor.name === 'DOMException' && (\n globalThis.DOMException = err.constructor\n )\n }\n}\n\nmodule.exports = globalThis.DOMException\n","/**\n * @license node-stream-zip | (c) 2020 Antelle | https://github.com/antelle/node-stream-zip/blob/master/LICENSE\n * Portions copyright https://github.com/cthackers/adm-zip | https://raw.githubusercontent.com/cthackers/adm-zip/master/LICENSE\n */\n\nlet fs = require('fs');\nconst util = require('util');\nconst path = require('path');\nconst events = require('events');\nconst zlib = require('zlib');\nconst stream = require('stream');\n\nconst consts = {\n /* The local file header */\n LOCHDR: 30, // LOC header size\n LOCSIG: 0x04034b50, // \"PK\\003\\004\"\n LOCVER: 4, // version needed to extract\n LOCFLG: 6, // general purpose bit flag\n LOCHOW: 8, // compression method\n LOCTIM: 10, // modification time (2 bytes time, 2 bytes date)\n LOCCRC: 14, // uncompressed file crc-32 value\n LOCSIZ: 18, // compressed size\n LOCLEN: 22, // uncompressed size\n LOCNAM: 26, // filename length\n LOCEXT: 28, // extra field length\n\n /* The Data descriptor */\n EXTSIG: 0x08074b50, // \"PK\\007\\008\"\n EXTHDR: 16, // EXT header size\n EXTCRC: 4, // uncompressed file crc-32 value\n EXTSIZ: 8, // compressed size\n EXTLEN: 12, // uncompressed size\n\n /* The central directory file header */\n CENHDR: 46, // CEN header size\n CENSIG: 0x02014b50, // \"PK\\001\\002\"\n CENVEM: 4, // version made by\n CENVER: 6, // version needed to extract\n CENFLG: 8, // encrypt, decrypt flags\n CENHOW: 10, // compression method\n CENTIM: 12, // modification time (2 bytes time, 2 bytes date)\n CENCRC: 16, // uncompressed file crc-32 value\n CENSIZ: 20, // compressed size\n CENLEN: 24, // uncompressed size\n CENNAM: 28, // filename length\n CENEXT: 30, // extra field length\n CENCOM: 32, // file comment length\n CENDSK: 34, // volume number start\n CENATT: 36, // internal file attributes\n CENATX: 38, // external file attributes (host system dependent)\n CENOFF: 42, // LOC header offset\n\n /* The entries in the end of central directory */\n ENDHDR: 22, // END header size\n ENDSIG: 0x06054b50, // \"PK\\005\\006\"\n ENDSIGFIRST: 0x50,\n ENDSUB: 8, // number of entries on this disk\n ENDTOT: 10, // total number of entries\n ENDSIZ: 12, // central directory size in bytes\n ENDOFF: 16, // offset of first CEN header\n ENDCOM: 20, // zip file comment length\n MAXFILECOMMENT: 0xffff,\n\n /* The entries in the end of ZIP64 central directory locator */\n ENDL64HDR: 20, // ZIP64 end of central directory locator header size\n ENDL64SIG: 0x07064b50, // ZIP64 end of central directory locator signature\n ENDL64SIGFIRST: 0x50,\n ENDL64OFS: 8, // ZIP64 end of central directory offset\n\n /* The entries in the end of ZIP64 central directory */\n END64HDR: 56, // ZIP64 end of central directory header size\n END64SIG: 0x06064b50, // ZIP64 end of central directory signature\n END64SIGFIRST: 0x50,\n END64SUB: 24, // number of entries on this disk\n END64TOT: 32, // total number of entries\n END64SIZ: 40,\n END64OFF: 48,\n\n /* Compression methods */\n STORED: 0, // no compression\n SHRUNK: 1, // shrunk\n REDUCED1: 2, // reduced with compression factor 1\n REDUCED2: 3, // reduced with compression factor 2\n REDUCED3: 4, // reduced with compression factor 3\n REDUCED4: 5, // reduced with compression factor 4\n IMPLODED: 6, // imploded\n // 7 reserved\n DEFLATED: 8, // deflated\n ENHANCED_DEFLATED: 9, // deflate64\n PKWARE: 10, // PKWare DCL imploded\n // 11 reserved\n BZIP2: 12, // compressed using BZIP2\n // 13 reserved\n LZMA: 14, // LZMA\n // 15-17 reserved\n IBM_TERSE: 18, // compressed using IBM TERSE\n IBM_LZ77: 19, //IBM LZ77 z\n\n /* General purpose bit flag */\n FLG_ENC: 0, // encrypted file\n FLG_COMP1: 1, // compression option\n FLG_COMP2: 2, // compression option\n FLG_DESC: 4, // data descriptor\n FLG_ENH: 8, // enhanced deflation\n FLG_STR: 16, // strong encryption\n FLG_LNG: 1024, // language encoding\n FLG_MSK: 4096, // mask header values\n FLG_ENTRY_ENC: 1,\n\n /* 4.5 Extensible data fields */\n EF_ID: 0,\n EF_SIZE: 2,\n\n /* Header IDs */\n ID_ZIP64: 0x0001,\n ID_AVINFO: 0x0007,\n ID_PFS: 0x0008,\n ID_OS2: 0x0009,\n ID_NTFS: 0x000a,\n ID_OPENVMS: 0x000c,\n ID_UNIX: 0x000d,\n ID_FORK: 0x000e,\n ID_PATCH: 0x000f,\n ID_X509_PKCS7: 0x0014,\n ID_X509_CERTID_F: 0x0015,\n ID_X509_CERTID_C: 0x0016,\n ID_STRONGENC: 0x0017,\n ID_RECORD_MGT: 0x0018,\n ID_X509_PKCS7_RL: 0x0019,\n ID_IBM1: 0x0065,\n ID_IBM2: 0x0066,\n ID_POSZIP: 0x4690,\n\n EF_ZIP64_OR_32: 0xffffffff,\n EF_ZIP64_OR_16: 0xffff,\n};\n\nconst StreamZip = function (config) {\n let fd, fileSize, chunkSize, op, centralDirectory, closed;\n const ready = false,\n that = this,\n entries = config.storeEntries !== false ? {} : null,\n fileName = config.file,\n textDecoder = config.nameEncoding ? new TextDecoder(config.nameEncoding) : null;\n\n open();\n\n function open() {\n if (config.fd) {\n fd = config.fd;\n readFile();\n } else {\n fs.open(fileName, 'r', (err, f) => {\n if (err) {\n return that.emit('error', err);\n }\n fd = f;\n readFile();\n });\n }\n }\n\n function readFile() {\n fs.fstat(fd, (err, stat) => {\n if (err) {\n return that.emit('error', err);\n }\n fileSize = stat.size;\n chunkSize = config.chunkSize || Math.round(fileSize / 1000);\n chunkSize = Math.max(\n Math.min(chunkSize, Math.min(128 * 1024, fileSize)),\n Math.min(1024, fileSize)\n );\n readCentralDirectory();\n });\n }\n\n function readUntilFoundCallback(err, bytesRead) {\n if (err || !bytesRead) {\n return that.emit('error', err || new Error('Archive read error'));\n }\n let pos = op.lastPos;\n let bufferPosition = pos - op.win.position;\n const buffer = op.win.buffer;\n const minPos = op.minPos;\n while (--pos >= minPos && --bufferPosition >= 0) {\n if (buffer.length - bufferPosition >= 4 && buffer[bufferPosition] === op.firstByte) {\n // quick check first signature byte\n if (buffer.readUInt32LE(bufferPosition) === op.sig) {\n op.lastBufferPosition = bufferPosition;\n op.lastBytesRead = bytesRead;\n op.complete();\n return;\n }\n }\n }\n if (pos === minPos) {\n return that.emit('error', new Error('Bad archive'));\n }\n op.lastPos = pos + 1;\n op.chunkSize *= 2;\n if (pos <= minPos) {\n return that.emit('error', new Error('Bad archive'));\n }\n const expandLength = Math.min(op.chunkSize, pos - minPos);\n op.win.expandLeft(expandLength, readUntilFoundCallback);\n }\n\n function readCentralDirectory() {\n const totalReadLength = Math.min(consts.ENDHDR + consts.MAXFILECOMMENT, fileSize);\n op = {\n win: new FileWindowBuffer(fd),\n totalReadLength,\n minPos: fileSize - totalReadLength,\n lastPos: fileSize,\n chunkSize: Math.min(1024, chunkSize),\n firstByte: consts.ENDSIGFIRST,\n sig: consts.ENDSIG,\n complete: readCentralDirectoryComplete,\n };\n op.win.read(fileSize - op.chunkSize, op.chunkSize, readUntilFoundCallback);\n }\n\n function readCentralDirectoryComplete() {\n const buffer = op.win.buffer;\n const pos = op.lastBufferPosition;\n try {\n centralDirectory = new CentralDirectoryHeader();\n centralDirectory.read(buffer.slice(pos, pos + consts.ENDHDR));\n centralDirectory.headerOffset = op.win.position + pos;\n if (centralDirectory.commentLength) {\n that.comment = buffer\n .slice(\n pos + consts.ENDHDR,\n pos + consts.ENDHDR + centralDirectory.commentLength\n )\n .toString();\n } else {\n that.comment = null;\n }\n that.entriesCount = centralDirectory.volumeEntries;\n that.centralDirectory = centralDirectory;\n if (\n (centralDirectory.volumeEntries === consts.EF_ZIP64_OR_16 &&\n centralDirectory.totalEntries === consts.EF_ZIP64_OR_16) ||\n centralDirectory.size === consts.EF_ZIP64_OR_32 ||\n centralDirectory.offset === consts.EF_ZIP64_OR_32\n ) {\n readZip64CentralDirectoryLocator();\n } else {\n op = {};\n readEntries();\n }\n } catch (err) {\n that.emit('error', err);\n }\n }\n\n function readZip64CentralDirectoryLocator() {\n const length = consts.ENDL64HDR;\n if (op.lastBufferPosition > length) {\n op.lastBufferPosition -= length;\n readZip64CentralDirectoryLocatorComplete();\n } else {\n op = {\n win: op.win,\n totalReadLength: length,\n minPos: op.win.position - length,\n lastPos: op.win.position,\n chunkSize: op.chunkSize,\n firstByte: consts.ENDL64SIGFIRST,\n sig: consts.ENDL64SIG,\n complete: readZip64CentralDirectoryLocatorComplete,\n };\n op.win.read(op.lastPos - op.chunkSize, op.chunkSize, readUntilFoundCallback);\n }\n }\n\n function readZip64CentralDirectoryLocatorComplete() {\n const buffer = op.win.buffer;\n const locHeader = new CentralDirectoryLoc64Header();\n locHeader.read(\n buffer.slice(op.lastBufferPosition, op.lastBufferPosition + consts.ENDL64HDR)\n );\n const readLength = fileSize - locHeader.headerOffset;\n op = {\n win: op.win,\n totalReadLength: readLength,\n minPos: locHeader.headerOffset,\n lastPos: op.lastPos,\n chunkSize: op.chunkSize,\n firstByte: consts.END64SIGFIRST,\n sig: consts.END64SIG,\n complete: readZip64CentralDirectoryComplete,\n };\n op.win.read(fileSize - op.chunkSize, op.chunkSize, readUntilFoundCallback);\n }\n\n function readZip64CentralDirectoryComplete() {\n const buffer = op.win.buffer;\n const zip64cd = new CentralDirectoryZip64Header();\n zip64cd.read(buffer.slice(op.lastBufferPosition, op.lastBufferPosition + consts.END64HDR));\n that.centralDirectory.volumeEntries = zip64cd.volumeEntries;\n that.centralDirectory.totalEntries = zip64cd.totalEntries;\n that.centralDirectory.size = zip64cd.size;\n that.centralDirectory.offset = zip64cd.offset;\n that.entriesCount = zip64cd.volumeEntries;\n op = {};\n readEntries();\n }\n\n function readEntries() {\n op = {\n win: new FileWindowBuffer(fd),\n pos: centralDirectory.offset,\n chunkSize,\n entriesLeft: centralDirectory.volumeEntries,\n };\n op.win.read(op.pos, Math.min(chunkSize, fileSize - op.pos), readEntriesCallback);\n }\n\n function readEntriesCallback(err, bytesRead) {\n if (err || !bytesRead) {\n return that.emit('error', err || new Error('Entries read error'));\n }\n let bufferPos = op.pos - op.win.position;\n let entry = op.entry;\n const buffer = op.win.buffer;\n const bufferLength = buffer.length;\n try {\n while (op.entriesLeft > 0) {\n if (!entry) {\n entry = new ZipEntry();\n entry.readHeader(buffer, bufferPos);\n entry.headerOffset = op.win.position + bufferPos;\n op.entry = entry;\n op.pos += consts.CENHDR;\n bufferPos += consts.CENHDR;\n }\n const entryHeaderSize = entry.fnameLen + entry.extraLen + entry.comLen;\n const advanceBytes = entryHeaderSize + (op.entriesLeft > 1 ? consts.CENHDR : 0);\n if (bufferLength - bufferPos < advanceBytes) {\n op.win.moveRight(chunkSize, readEntriesCallback, bufferPos);\n op.move = true;\n return;\n }\n entry.read(buffer, bufferPos, textDecoder);\n if (!config.skipEntryNameValidation) {\n entry.validateName();\n }\n if (entries) {\n entries[entry.name] = entry;\n }\n that.emit('entry', entry);\n op.entry = entry = null;\n op.entriesLeft--;\n op.pos += entryHeaderSize;\n bufferPos += entryHeaderSize;\n }\n that.emit('ready');\n } catch (err) {\n that.emit('error', err);\n }\n }\n\n function checkEntriesExist() {\n if (!entries) {\n throw new Error('storeEntries disabled');\n }\n }\n\n Object.defineProperty(this, 'ready', {\n get() {\n return ready;\n },\n });\n\n this.entry = function (name) {\n checkEntriesExist();\n return entries[name];\n };\n\n this.entries = function () {\n checkEntriesExist();\n return entries;\n };\n\n this.stream = function (entry, callback) {\n return this.openEntry(\n entry,\n (err, entry) => {\n if (err) {\n return callback(err);\n }\n const offset = dataOffset(entry);\n let entryStream = new EntryDataReaderStream(fd, offset, entry.compressedSize);\n if (entry.method === consts.STORED) {\n // nothing to do\n } else if (entry.method === consts.DEFLATED) {\n entryStream = entryStream.pipe(zlib.createInflateRaw());\n } else {\n return callback(new Error('Unknown compression method: ' + entry.method));\n }\n if (canVerifyCrc(entry)) {\n entryStream = entryStream.pipe(\n new EntryVerifyStream(entryStream, entry.crc, entry.size)\n );\n }\n callback(null, entryStream);\n },\n false\n );\n };\n\n this.entryDataSync = function (entry) {\n let err = null;\n this.openEntry(\n entry,\n (e, en) => {\n err = e;\n entry = en;\n },\n true\n );\n if (err) {\n throw err;\n }\n let data = Buffer.alloc(entry.compressedSize);\n new FsRead(fd, data, 0, entry.compressedSize, dataOffset(entry), (e) => {\n err = e;\n }).read(true);\n if (err) {\n throw err;\n }\n if (entry.method === consts.STORED) {\n // nothing to do\n } else if (entry.method === consts.DEFLATED || entry.method === consts.ENHANCED_DEFLATED) {\n data = zlib.inflateRawSync(data);\n } else {\n throw new Error('Unknown compression method: ' + entry.method);\n }\n if (data.length !== entry.size) {\n throw new Error('Invalid size');\n }\n if (canVerifyCrc(entry)) {\n const verify = new CrcVerify(entry.crc, entry.size);\n verify.data(data);\n }\n return data;\n };\n\n this.openEntry = function (entry, callback, sync) {\n if (typeof entry === 'string') {\n checkEntriesExist();\n entry = entries[entry];\n if (!entry) {\n return callback(new Error('Entry not found'));\n }\n }\n if (!entry.isFile) {\n return callback(new Error('Entry is not file'));\n }\n if (!fd) {\n return callback(new Error('Archive closed'));\n }\n const buffer = Buffer.alloc(consts.LOCHDR);\n new FsRead(fd, buffer, 0, buffer.length, entry.offset, (err) => {\n if (err) {\n return callback(err);\n }\n let readEx;\n try {\n entry.readDataHeader(buffer);\n if (entry.encrypted) {\n readEx = new Error('Entry encrypted');\n }\n } catch (ex) {\n readEx = ex;\n }\n callback(readEx, entry);\n }).read(sync);\n };\n\n function dataOffset(entry) {\n return entry.offset + consts.LOCHDR + entry.fnameLen + entry.extraLen;\n }\n\n function canVerifyCrc(entry) {\n // if bit 3 (0x08) of the general-purpose flags field is set, then the CRC-32 and file sizes are not known when the header is written\n return (entry.flags & 0x8) !== 0x8;\n }\n\n function extract(entry, outPath, callback) {\n that.stream(entry, (err, stm) => {\n if (err) {\n callback(err);\n } else {\n let fsStm, errThrown;\n stm.on('error', (err) => {\n errThrown = err;\n if (fsStm) {\n stm.unpipe(fsStm);\n fsStm.close(() => {\n callback(err);\n });\n }\n });\n fs.open(outPath, 'w', (err, fdFile) => {\n if (err) {\n return callback(err);\n }\n if (errThrown) {\n fs.close(fd, () => {\n callback(errThrown);\n });\n return;\n }\n fsStm = fs.createWriteStream(outPath, { fd: fdFile });\n fsStm.on('finish', () => {\n that.emit('extract', entry, outPath);\n if (!errThrown) {\n callback();\n }\n });\n stm.pipe(fsStm);\n });\n }\n });\n }\n\n function createDirectories(baseDir, dirs, callback) {\n if (!dirs.length) {\n return callback();\n }\n let dir = dirs.shift();\n dir = path.join(baseDir, path.join(...dir));\n fs.mkdir(dir, { recursive: true }, (err) => {\n if (err && err.code !== 'EEXIST') {\n return callback(err);\n }\n createDirectories(baseDir, dirs, callback);\n });\n }\n\n function extractFiles(baseDir, baseRelPath, files, callback, extractedCount) {\n if (!files.length) {\n return callback(null, extractedCount);\n }\n const file = files.shift();\n const targetPath = path.join(baseDir, file.name.replace(baseRelPath, ''));\n extract(file, targetPath, (err) => {\n if (err) {\n return callback(err, extractedCount);\n }\n extractFiles(baseDir, baseRelPath, files, callback, extractedCount + 1);\n });\n }\n\n this.extract = function (entry, outPath, callback) {\n let entryName = entry || '';\n if (typeof entry === 'string') {\n entry = this.entry(entry);\n if (entry) {\n entryName = entry.name;\n } else {\n if (entryName.length && entryName[entryName.length - 1] !== '/') {\n entryName += '/';\n }\n }\n }\n if (!entry || entry.isDirectory) {\n const files = [],\n dirs = [],\n allDirs = {};\n for (const e in entries) {\n if (\n Object.prototype.hasOwnProperty.call(entries, e) &&\n e.lastIndexOf(entryName, 0) === 0\n ) {\n let relPath = e.replace(entryName, '');\n const childEntry = entries[e];\n if (childEntry.isFile) {\n files.push(childEntry);\n relPath = path.dirname(relPath);\n }\n if (relPath && !allDirs[relPath] && relPath !== '.') {\n allDirs[relPath] = true;\n let parts = relPath.split('/').filter((f) => {\n return f;\n });\n if (parts.length) {\n dirs.push(parts);\n }\n while (parts.length > 1) {\n parts = parts.slice(0, parts.length - 1);\n const partsPath = parts.join('/');\n if (allDirs[partsPath] || partsPath === '.') {\n break;\n }\n allDirs[partsPath] = true;\n dirs.push(parts);\n }\n }\n }\n }\n dirs.sort((x, y) => {\n return x.length - y.length;\n });\n if (dirs.length) {\n createDirectories(outPath, dirs, (err) => {\n if (err) {\n callback(err);\n } else {\n extractFiles(outPath, entryName, files, callback, 0);\n }\n });\n } else {\n extractFiles(outPath, entryName, files, callback, 0);\n }\n } else {\n fs.stat(outPath, (err, stat) => {\n if (stat && stat.isDirectory()) {\n extract(entry, path.join(outPath, path.basename(entry.name)), callback);\n } else {\n extract(entry, outPath, callback);\n }\n });\n }\n };\n\n this.close = function (callback) {\n if (closed || !fd) {\n closed = true;\n if (callback) {\n callback();\n }\n } else {\n closed = true;\n fs.close(fd, (err) => {\n fd = null;\n if (callback) {\n callback(err);\n }\n });\n }\n };\n\n const originalEmit = events.EventEmitter.prototype.emit;\n this.emit = function (...args) {\n if (!closed) {\n return originalEmit.call(this, ...args);\n }\n };\n};\n\nStreamZip.setFs = function (customFs) {\n fs = customFs;\n};\n\nStreamZip.debugLog = (...args) => {\n if (StreamZip.debug) {\n // eslint-disable-next-line no-console\n console.log(...args);\n }\n};\n\nutil.inherits(StreamZip, events.EventEmitter);\n\nconst propZip = Symbol('zip');\n\nStreamZip.async = class StreamZipAsync extends events.EventEmitter {\n constructor(config) {\n super();\n\n const zip = new StreamZip(config);\n\n zip.on('entry', (entry) => this.emit('entry', entry));\n zip.on('extract', (entry, outPath) => this.emit('extract', entry, outPath));\n\n this[propZip] = new Promise((resolve, reject) => {\n zip.on('ready', () => {\n zip.removeListener('error', reject);\n resolve(zip);\n });\n zip.on('error', reject);\n });\n }\n\n get entriesCount() {\n return this[propZip].then((zip) => zip.entriesCount);\n }\n\n get comment() {\n return this[propZip].then((zip) => zip.comment);\n }\n\n async entry(name) {\n const zip = await this[propZip];\n return zip.entry(name);\n }\n\n async entries() {\n const zip = await this[propZip];\n return zip.entries();\n }\n\n async stream(entry) {\n const zip = await this[propZip];\n return new Promise((resolve, reject) => {\n zip.stream(entry, (err, stm) => {\n if (err) {\n reject(err);\n } else {\n resolve(stm);\n }\n });\n });\n }\n\n async entryData(entry) {\n const stm = await this.stream(entry);\n return new Promise((resolve, reject) => {\n const data = [];\n stm.on('data', (chunk) => data.push(chunk));\n stm.on('end', () => {\n resolve(Buffer.concat(data));\n });\n stm.on('error', (err) => {\n stm.removeAllListeners('end');\n reject(err);\n });\n });\n }\n\n async extract(entry, outPath) {\n const zip = await this[propZip];\n return new Promise((resolve, reject) => {\n zip.extract(entry, outPath, (err, res) => {\n if (err) {\n reject(err);\n } else {\n resolve(res);\n }\n });\n });\n }\n\n async close() {\n const zip = await this[propZip];\n return new Promise((resolve, reject) => {\n zip.close((err) => {\n if (err) {\n reject(err);\n } else {\n resolve();\n }\n });\n });\n }\n};\n\nclass CentralDirectoryHeader {\n read(data) {\n if (data.length !== consts.ENDHDR || data.readUInt32LE(0) !== consts.ENDSIG) {\n throw new Error('Invalid central directory');\n }\n // number of entries on this volume\n this.volumeEntries = data.readUInt16LE(consts.ENDSUB);\n // total number of entries\n this.totalEntries = data.readUInt16LE(consts.ENDTOT);\n // central directory size in bytes\n this.size = data.readUInt32LE(consts.ENDSIZ);\n // offset of first CEN header\n this.offset = data.readUInt32LE(consts.ENDOFF);\n // zip file comment length\n this.commentLength = data.readUInt16LE(consts.ENDCOM);\n }\n}\n\nclass CentralDirectoryLoc64Header {\n read(data) {\n if (data.length !== consts.ENDL64HDR || data.readUInt32LE(0) !== consts.ENDL64SIG) {\n throw new Error('Invalid zip64 central directory locator');\n }\n // ZIP64 EOCD header offset\n this.headerOffset = readUInt64LE(data, consts.ENDSUB);\n }\n}\n\nclass CentralDirectoryZip64Header {\n read(data) {\n if (data.length !== consts.END64HDR || data.readUInt32LE(0) !== consts.END64SIG) {\n throw new Error('Invalid central directory');\n }\n // number of entries on this volume\n this.volumeEntries = readUInt64LE(data, consts.END64SUB);\n // total number of entries\n this.totalEntries = readUInt64LE(data, consts.END64TOT);\n // central directory size in bytes\n this.size = readUInt64LE(data, consts.END64SIZ);\n // offset of first CEN header\n this.offset = readUInt64LE(data, consts.END64OFF);\n }\n}\n\nclass ZipEntry {\n readHeader(data, offset) {\n // data should be 46 bytes and start with \"PK 01 02\"\n if (data.length < offset + consts.CENHDR || data.readUInt32LE(offset) !== consts.CENSIG) {\n throw new Error('Invalid entry header');\n }\n // version made by\n this.verMade = data.readUInt16LE(offset + consts.CENVEM);\n // version needed to extract\n this.version = data.readUInt16LE(offset + consts.CENVER);\n // encrypt, decrypt flags\n this.flags = data.readUInt16LE(offset + consts.CENFLG);\n // compression method\n this.method = data.readUInt16LE(offset + consts.CENHOW);\n // modification time (2 bytes time, 2 bytes date)\n const timebytes = data.readUInt16LE(offset + consts.CENTIM);\n const datebytes = data.readUInt16LE(offset + consts.CENTIM + 2);\n this.time = parseZipTime(timebytes, datebytes);\n\n // uncompressed file crc-32 value\n this.crc = data.readUInt32LE(offset + consts.CENCRC);\n // compressed size\n this.compressedSize = data.readUInt32LE(offset + consts.CENSIZ);\n // uncompressed size\n this.size = data.readUInt32LE(offset + consts.CENLEN);\n // filename length\n this.fnameLen = data.readUInt16LE(offset + consts.CENNAM);\n // extra field length\n this.extraLen = data.readUInt16LE(offset + consts.CENEXT);\n // file comment length\n this.comLen = data.readUInt16LE(offset + consts.CENCOM);\n // volume number start\n this.diskStart = data.readUInt16LE(offset + consts.CENDSK);\n // internal file attributes\n this.inattr = data.readUInt16LE(offset + consts.CENATT);\n // external file attributes\n this.attr = data.readUInt32LE(offset + consts.CENATX);\n // LOC header offset\n this.offset = data.readUInt32LE(offset + consts.CENOFF);\n }\n\n readDataHeader(data) {\n // 30 bytes and should start with \"PK\\003\\004\"\n if (data.readUInt32LE(0) !== consts.LOCSIG) {\n throw new Error('Invalid local header');\n }\n // version needed to extract\n this.version = data.readUInt16LE(consts.LOCVER);\n // general purpose bit flag\n this.flags = data.readUInt16LE(consts.LOCFLG);\n // compression method\n this.method = data.readUInt16LE(consts.LOCHOW);\n // modification time (2 bytes time ; 2 bytes date)\n const timebytes = data.readUInt16LE(consts.LOCTIM);\n const datebytes = data.readUInt16LE(consts.LOCTIM + 2);\n this.time = parseZipTime(timebytes, datebytes);\n\n // uncompressed file crc-32 value\n this.crc = data.readUInt32LE(consts.LOCCRC) || this.crc;\n // compressed size\n const compressedSize = data.readUInt32LE(consts.LOCSIZ);\n if (compressedSize && compressedSize !== consts.EF_ZIP64_OR_32) {\n this.compressedSize = compressedSize;\n }\n // uncompressed size\n const size = data.readUInt32LE(consts.LOCLEN);\n if (size && size !== consts.EF_ZIP64_OR_32) {\n this.size = size;\n }\n // filename length\n this.fnameLen = data.readUInt16LE(consts.LOCNAM);\n // extra field length\n this.extraLen = data.readUInt16LE(consts.LOCEXT);\n }\n\n read(data, offset, textDecoder) {\n const nameData = data.slice(offset, (offset += this.fnameLen));\n this.name = textDecoder\n ? textDecoder.decode(new Uint8Array(nameData))\n : nameData.toString('utf8');\n const lastChar = data[offset - 1];\n this.isDirectory = lastChar === 47 || lastChar === 92;\n\n if (this.extraLen) {\n this.readExtra(data, offset);\n offset += this.extraLen;\n }\n this.comment = this.comLen ? data.slice(offset, offset + this.comLen).toString() : null;\n }\n\n validateName() {\n if (/\\\\|^\\w+:|^\\/|(^|\\/)\\.\\.(\\/|$)/.test(this.name)) {\n throw new Error('Malicious entry: ' + this.name);\n }\n }\n\n readExtra(data, offset) {\n let signature, size;\n const maxPos = offset + this.extraLen;\n while (offset < maxPos) {\n signature = data.readUInt16LE(offset);\n offset += 2;\n size = data.readUInt16LE(offset);\n offset += 2;\n if (consts.ID_ZIP64 === signature) {\n this.parseZip64Extra(data, offset, size);\n }\n offset += size;\n }\n }\n\n parseZip64Extra(data, offset, length) {\n if (length >= 8 && this.size === consts.EF_ZIP64_OR_32) {\n this.size = readUInt64LE(data, offset);\n offset += 8;\n length -= 8;\n }\n if (length >= 8 && this.compressedSize === consts.EF_ZIP64_OR_32) {\n this.compressedSize = readUInt64LE(data, offset);\n offset += 8;\n length -= 8;\n }\n if (length >= 8 && this.offset === consts.EF_ZIP64_OR_32) {\n this.offset = readUInt64LE(data, offset);\n offset += 8;\n length -= 8;\n }\n if (length >= 4 && this.diskStart === consts.EF_ZIP64_OR_16) {\n this.diskStart = data.readUInt32LE(offset);\n // offset += 4; length -= 4;\n }\n }\n\n get encrypted() {\n return (this.flags & consts.FLG_ENTRY_ENC) === consts.FLG_ENTRY_ENC;\n }\n\n get isFile() {\n return !this.isDirectory;\n }\n}\n\nclass FsRead {\n constructor(fd, buffer, offset, length, position, callback) {\n this.fd = fd;\n this.buffer = buffer;\n this.offset = offset;\n this.length = length;\n this.position = position;\n this.callback = callback;\n this.bytesRead = 0;\n this.waiting = false;\n }\n\n read(sync) {\n StreamZip.debugLog('read', this.position, this.bytesRead, this.length, this.offset);\n this.waiting = true;\n let err;\n if (sync) {\n let bytesRead = 0;\n try {\n bytesRead = fs.readSync(\n this.fd,\n this.buffer,\n this.offset + this.bytesRead,\n this.length - this.bytesRead,\n this.position + this.bytesRead\n );\n } catch (e) {\n err = e;\n }\n this.readCallback(sync, err, err ? bytesRead : null);\n } else {\n fs.read(\n this.fd,\n this.buffer,\n this.offset + this.bytesRead,\n this.length - this.bytesRead,\n this.position + this.bytesRead,\n this.readCallback.bind(this, sync)\n );\n }\n }\n\n readCallback(sync, err, bytesRead) {\n if (typeof bytesRead === 'number') {\n this.bytesRead += bytesRead;\n }\n if (err || !bytesRead || this.bytesRead === this.length) {\n this.waiting = false;\n return this.callback(err, this.bytesRead);\n } else {\n this.read(sync);\n }\n }\n}\n\nclass FileWindowBuffer {\n constructor(fd) {\n this.position = 0;\n this.buffer = Buffer.alloc(0);\n this.fd = fd;\n this.fsOp = null;\n }\n\n checkOp() {\n if (this.fsOp && this.fsOp.waiting) {\n throw new Error('Operation in progress');\n }\n }\n\n read(pos, length, callback) {\n this.checkOp();\n if (this.buffer.length < length) {\n this.buffer = Buffer.alloc(length);\n }\n this.position = pos;\n this.fsOp = new FsRead(this.fd, this.buffer, 0, length, this.position, callback).read();\n }\n\n expandLeft(length, callback) {\n this.checkOp();\n this.buffer = Buffer.concat([Buffer.alloc(length), this.buffer]);\n this.position -= length;\n if (this.position < 0) {\n this.position = 0;\n }\n this.fsOp = new FsRead(this.fd, this.buffer, 0, length, this.position, callback).read();\n }\n\n expandRight(length, callback) {\n this.checkOp();\n const offset = this.buffer.length;\n this.buffer = Buffer.concat([this.buffer, Buffer.alloc(length)]);\n this.fsOp = new FsRead(\n this.fd,\n this.buffer,\n offset,\n length,\n this.position + offset,\n callback\n ).read();\n }\n\n moveRight(length, callback, shift) {\n this.checkOp();\n if (shift) {\n this.buffer.copy(this.buffer, 0, shift);\n } else {\n shift = 0;\n }\n this.position += shift;\n this.fsOp = new FsRead(\n this.fd,\n this.buffer,\n this.buffer.length - shift,\n shift,\n this.position + this.buffer.length - shift,\n callback\n ).read();\n }\n}\n\nclass EntryDataReaderStream extends stream.Readable {\n constructor(fd, offset, length) {\n super();\n this.fd = fd;\n this.offset = offset;\n this.length = length;\n this.pos = 0;\n this.readCallback = this.readCallback.bind(this);\n }\n\n _read(n) {\n const buffer = Buffer.alloc(Math.min(n, this.length - this.pos));\n if (buffer.length) {\n fs.read(this.fd, buffer, 0, buffer.length, this.offset + this.pos, this.readCallback);\n } else {\n this.push(null);\n }\n }\n\n readCallback(err, bytesRead, buffer) {\n this.pos += bytesRead;\n if (err) {\n this.emit('error', err);\n this.push(null);\n } else if (!bytesRead) {\n this.push(null);\n } else {\n if (bytesRead !== buffer.length) {\n buffer = buffer.slice(0, bytesRead);\n }\n this.push(buffer);\n }\n }\n}\n\nclass EntryVerifyStream extends stream.Transform {\n constructor(baseStm, crc, size) {\n super();\n this.verify = new CrcVerify(crc, size);\n baseStm.on('error', (e) => {\n this.emit('error', e);\n });\n }\n\n _transform(data, encoding, callback) {\n let err;\n try {\n this.verify.data(data);\n } catch (e) {\n err = e;\n }\n callback(err, data);\n }\n}\n\nclass CrcVerify {\n constructor(crc, size) {\n this.crc = crc;\n this.size = size;\n this.state = {\n crc: ~0,\n size: 0,\n };\n }\n\n data(data) {\n const crcTable = CrcVerify.getCrcTable();\n let crc = this.state.crc;\n let off = 0;\n let len = data.length;\n while (--len >= 0) {\n crc = crcTable[(crc ^ data[off++]) & 0xff] ^ (crc >>> 8);\n }\n this.state.crc = crc;\n this.state.size += data.length;\n if (this.state.size >= this.size) {\n const buf = Buffer.alloc(4);\n buf.writeInt32LE(~this.state.crc & 0xffffffff, 0);\n crc = buf.readUInt32LE(0);\n if (crc !== this.crc) {\n throw new Error('Invalid CRC');\n }\n if (this.state.size !== this.size) {\n throw new Error('Invalid size');\n }\n }\n }\n\n static getCrcTable() {\n let crcTable = CrcVerify.crcTable;\n if (!crcTable) {\n CrcVerify.crcTable = crcTable = [];\n const b = Buffer.alloc(4);\n for (let n = 0; n < 256; n++) {\n let c = n;\n for (let k = 8; --k >= 0; ) {\n if ((c & 1) !== 0) {\n c = 0xedb88320 ^ (c >>> 1);\n } else {\n c = c >>> 1;\n }\n }\n if (c < 0) {\n b.writeInt32LE(c, 0);\n c = b.readUInt32LE(0);\n }\n crcTable[n] = c;\n }\n }\n return crcTable;\n }\n}\n\nfunction parseZipTime(timebytes, datebytes) {\n const timebits = toBits(timebytes, 16);\n const datebits = toBits(datebytes, 16);\n\n const mt = {\n h: parseInt(timebits.slice(0, 5).join(''), 2),\n m: parseInt(timebits.slice(5, 11).join(''), 2),\n s: parseInt(timebits.slice(11, 16).join(''), 2) * 2,\n Y: parseInt(datebits.slice(0, 7).join(''), 2) + 1980,\n M: parseInt(datebits.slice(7, 11).join(''), 2),\n D: parseInt(datebits.slice(11, 16).join(''), 2),\n };\n const dt_str = [mt.Y, mt.M, mt.D].join('-') + ' ' + [mt.h, mt.m, mt.s].join(':') + ' GMT+0';\n return new Date(dt_str).getTime();\n}\n\nfunction toBits(dec, size) {\n let b = (dec >>> 0).toString(2);\n while (b.length < size) {\n b = '0' + b;\n }\n return b.split('');\n}\n\nfunction readUInt64LE(buffer, offset) {\n return buffer.readUInt32LE(offset + 4) * 0x0000000100000000 + buffer.readUInt32LE(offset);\n}\n\nmodule.exports = StreamZip;\n","'use strict';\n\nmodule.exports = require('./lib/picomatch');\n","'use strict';\n\nconst path = require('path');\nconst WIN_SLASH = '\\\\\\\\/';\nconst WIN_NO_SLASH = `[^${WIN_SLASH}]`;\n\n/**\n * Posix glob regex\n */\n\nconst DOT_LITERAL = '\\\\.';\nconst PLUS_LITERAL = '\\\\+';\nconst QMARK_LITERAL = '\\\\?';\nconst SLASH_LITERAL = '\\\\/';\nconst ONE_CHAR = '(?=.)';\nconst QMARK = '[^/]';\nconst END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;\nconst START_ANCHOR = `(?:^|${SLASH_LITERAL})`;\nconst DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;\nconst NO_DOT = `(?!${DOT_LITERAL})`;\nconst NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;\nconst NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;\nconst NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;\nconst QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;\nconst STAR = `${QMARK}*?`;\n\nconst POSIX_CHARS = {\n DOT_LITERAL,\n PLUS_LITERAL,\n QMARK_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n QMARK,\n END_ANCHOR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOTS,\n NO_DOT_SLASH,\n NO_DOTS_SLASH,\n QMARK_NO_DOT,\n STAR,\n START_ANCHOR\n};\n\n/**\n * Windows glob regex\n */\n\nconst WINDOWS_CHARS = {\n ...POSIX_CHARS,\n\n SLASH_LITERAL: `[${WIN_SLASH}]`,\n QMARK: WIN_NO_SLASH,\n STAR: `${WIN_NO_SLASH}*?`,\n DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,\n NO_DOT: `(?!${DOT_LITERAL})`,\n NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,\n NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,\n NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,\n QMARK_NO_DOT: `[^.${WIN_SLASH}]`,\n START_ANCHOR: `(?:^|[${WIN_SLASH}])`,\n END_ANCHOR: `(?:[${WIN_SLASH}]|$)`\n};\n\n/**\n * POSIX Bracket Regex\n */\n\nconst POSIX_REGEX_SOURCE = {\n alnum: 'a-zA-Z0-9',\n alpha: 'a-zA-Z',\n ascii: '\\\\x00-\\\\x7F',\n blank: ' \\\\t',\n cntrl: '\\\\x00-\\\\x1F\\\\x7F',\n digit: '0-9',\n graph: '\\\\x21-\\\\x7E',\n lower: 'a-z',\n print: '\\\\x20-\\\\x7E ',\n punct: '\\\\-!\"#$%&\\'()\\\\*+,./:;<=>?@[\\\\]^_`{|}~',\n space: ' \\\\t\\\\r\\\\n\\\\v\\\\f',\n upper: 'A-Z',\n word: 'A-Za-z0-9_',\n xdigit: 'A-Fa-f0-9'\n};\n\nmodule.exports = {\n MAX_LENGTH: 1024 * 64,\n POSIX_REGEX_SOURCE,\n\n // regular expressions\n REGEX_BACKSLASH: /\\\\(?![*+?^${}(|)[\\]])/g,\n REGEX_NON_SPECIAL_CHARS: /^[^@![\\].,$*+?^{}()|\\\\/]+/,\n REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\\]]/,\n REGEX_SPECIAL_CHARS_BACKREF: /(\\\\?)((\\W)(\\3*))/g,\n REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\\]])/g,\n REGEX_REMOVE_BACKSLASH: /(?:\\[.*?[^\\\\]\\]|\\\\(?=.))/g,\n\n // Replace globs with equivalent patterns to reduce parsing time.\n REPLACEMENTS: {\n '***': '*',\n '**/**': '**',\n '**/**/**': '**'\n },\n\n // Digits\n CHAR_0: 48, /* 0 */\n CHAR_9: 57, /* 9 */\n\n // Alphabet chars.\n CHAR_UPPERCASE_A: 65, /* A */\n CHAR_LOWERCASE_A: 97, /* a */\n CHAR_UPPERCASE_Z: 90, /* Z */\n CHAR_LOWERCASE_Z: 122, /* z */\n\n CHAR_LEFT_PARENTHESES: 40, /* ( */\n CHAR_RIGHT_PARENTHESES: 41, /* ) */\n\n CHAR_ASTERISK: 42, /* * */\n\n // Non-alphabetic chars.\n CHAR_AMPERSAND: 38, /* & */\n CHAR_AT: 64, /* @ */\n CHAR_BACKWARD_SLASH: 92, /* \\ */\n CHAR_CARRIAGE_RETURN: 13, /* \\r */\n CHAR_CIRCUMFLEX_ACCENT: 94, /* ^ */\n CHAR_COLON: 58, /* : */\n CHAR_COMMA: 44, /* , */\n CHAR_DOT: 46, /* . */\n CHAR_DOUBLE_QUOTE: 34, /* \" */\n CHAR_EQUAL: 61, /* = */\n CHAR_EXCLAMATION_MARK: 33, /* ! */\n CHAR_FORM_FEED: 12, /* \\f */\n CHAR_FORWARD_SLASH: 47, /* / */\n CHAR_GRAVE_ACCENT: 96, /* ` */\n CHAR_HASH: 35, /* # */\n CHAR_HYPHEN_MINUS: 45, /* - */\n CHAR_LEFT_ANGLE_BRACKET: 60, /* < */\n CHAR_LEFT_CURLY_BRACE: 123, /* { */\n CHAR_LEFT_SQUARE_BRACKET: 91, /* [ */\n CHAR_LINE_FEED: 10, /* \\n */\n CHAR_NO_BREAK_SPACE: 160, /* \\u00A0 */\n CHAR_PERCENT: 37, /* % */\n CHAR_PLUS: 43, /* + */\n CHAR_QUESTION_MARK: 63, /* ? */\n CHAR_RIGHT_ANGLE_BRACKET: 62, /* > */\n CHAR_RIGHT_CURLY_BRACE: 125, /* } */\n CHAR_RIGHT_SQUARE_BRACKET: 93, /* ] */\n CHAR_SEMICOLON: 59, /* ; */\n CHAR_SINGLE_QUOTE: 39, /* ' */\n CHAR_SPACE: 32, /* */\n CHAR_TAB: 9, /* \\t */\n CHAR_UNDERSCORE: 95, /* _ */\n CHAR_VERTICAL_LINE: 124, /* | */\n CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \\uFEFF */\n\n SEP: path.sep,\n\n /**\n * Create EXTGLOB_CHARS\n */\n\n extglobChars(chars) {\n return {\n '!': { type: 'negate', open: '(?:(?!(?:', close: `))${chars.STAR})` },\n '?': { type: 'qmark', open: '(?:', close: ')?' },\n '+': { type: 'plus', open: '(?:', close: ')+' },\n '*': { type: 'star', open: '(?:', close: ')*' },\n '@': { type: 'at', open: '(?:', close: ')' }\n };\n },\n\n /**\n * Create GLOB_CHARS\n */\n\n globChars(win32) {\n return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;\n }\n};\n","'use strict';\n\nconst constants = require('./constants');\nconst utils = require('./utils');\n\n/**\n * Constants\n */\n\nconst {\n MAX_LENGTH,\n POSIX_REGEX_SOURCE,\n REGEX_NON_SPECIAL_CHARS,\n REGEX_SPECIAL_CHARS_BACKREF,\n REPLACEMENTS\n} = constants;\n\n/**\n * Helpers\n */\n\nconst expandRange = (args, options) => {\n if (typeof options.expandRange === 'function') {\n return options.expandRange(...args, options);\n }\n\n args.sort();\n const value = `[${args.join('-')}]`;\n\n try {\n /* eslint-disable-next-line no-new */\n new RegExp(value);\n } catch (ex) {\n return args.map(v => utils.escapeRegex(v)).join('..');\n }\n\n return value;\n};\n\n/**\n * Create the message for a syntax error\n */\n\nconst syntaxError = (type, char) => {\n return `Missing ${type}: \"${char}\" - use \"\\\\\\\\${char}\" to match literal characters`;\n};\n\n/**\n * Parse the given input string.\n * @param {String} input\n * @param {Object} options\n * @return {Object}\n */\n\nconst parse = (input, options) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n input = REPLACEMENTS[input] || input;\n\n const opts = { ...options };\n const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n\n let len = input.length;\n if (len > max) {\n throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);\n }\n\n const bos = { type: 'bos', value: '', output: opts.prepend || '' };\n const tokens = [bos];\n\n const capture = opts.capture ? '' : '?:';\n const win32 = utils.isWindows(options);\n\n // create constants based on platform, for windows or posix\n const PLATFORM_CHARS = constants.globChars(win32);\n const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);\n\n const {\n DOT_LITERAL,\n PLUS_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOT_SLASH,\n NO_DOTS_SLASH,\n QMARK,\n QMARK_NO_DOT,\n STAR,\n START_ANCHOR\n } = PLATFORM_CHARS;\n\n const globstar = opts => {\n return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;\n };\n\n const nodot = opts.dot ? '' : NO_DOT;\n const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;\n let star = opts.bash === true ? globstar(opts) : STAR;\n\n if (opts.capture) {\n star = `(${star})`;\n }\n\n // minimatch options support\n if (typeof opts.noext === 'boolean') {\n opts.noextglob = opts.noext;\n }\n\n const state = {\n input,\n index: -1,\n start: 0,\n dot: opts.dot === true,\n consumed: '',\n output: '',\n prefix: '',\n backtrack: false,\n negated: false,\n brackets: 0,\n braces: 0,\n parens: 0,\n quotes: 0,\n globstar: false,\n tokens\n };\n\n input = utils.removePrefix(input, state);\n len = input.length;\n\n const extglobs = [];\n const braces = [];\n const stack = [];\n let prev = bos;\n let value;\n\n /**\n * Tokenizing helpers\n */\n\n const eos = () => state.index === len - 1;\n const peek = state.peek = (n = 1) => input[state.index + n];\n const advance = state.advance = () => input[++state.index] || '';\n const remaining = () => input.slice(state.index + 1);\n const consume = (value = '', num = 0) => {\n state.consumed += value;\n state.index += num;\n };\n\n const append = token => {\n state.output += token.output != null ? token.output : token.value;\n consume(token.value);\n };\n\n const negate = () => {\n let count = 1;\n\n while (peek() === '!' && (peek(2) !== '(' || peek(3) === '?')) {\n advance();\n state.start++;\n count++;\n }\n\n if (count % 2 === 0) {\n return false;\n }\n\n state.negated = true;\n state.start++;\n return true;\n };\n\n const increment = type => {\n state[type]++;\n stack.push(type);\n };\n\n const decrement = type => {\n state[type]--;\n stack.pop();\n };\n\n /**\n * Push tokens onto the tokens array. This helper speeds up\n * tokenizing by 1) helping us avoid backtracking as much as possible,\n * and 2) helping us avoid creating extra tokens when consecutive\n * characters are plain text. This improves performance and simplifies\n * lookbehinds.\n */\n\n const push = tok => {\n if (prev.type === 'globstar') {\n const isBrace = state.braces > 0 && (tok.type === 'comma' || tok.type === 'brace');\n const isExtglob = tok.extglob === true || (extglobs.length && (tok.type === 'pipe' || tok.type === 'paren'));\n\n if (tok.type !== 'slash' && tok.type !== 'paren' && !isBrace && !isExtglob) {\n state.output = state.output.slice(0, -prev.output.length);\n prev.type = 'star';\n prev.value = '*';\n prev.output = star;\n state.output += prev.output;\n }\n }\n\n if (extglobs.length && tok.type !== 'paren') {\n extglobs[extglobs.length - 1].inner += tok.value;\n }\n\n if (tok.value || tok.output) append(tok);\n if (prev && prev.type === 'text' && tok.type === 'text') {\n prev.value += tok.value;\n prev.output = (prev.output || '') + tok.value;\n return;\n }\n\n tok.prev = prev;\n tokens.push(tok);\n prev = tok;\n };\n\n const extglobOpen = (type, value) => {\n const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: '' };\n\n token.prev = prev;\n token.parens = state.parens;\n token.output = state.output;\n const output = (opts.capture ? '(' : '') + token.open;\n\n increment('parens');\n push({ type, value, output: state.output ? '' : ONE_CHAR });\n push({ type: 'paren', extglob: true, value: advance(), output });\n extglobs.push(token);\n };\n\n const extglobClose = token => {\n let output = token.close + (opts.capture ? ')' : '');\n let rest;\n\n if (token.type === 'negate') {\n let extglobStar = star;\n\n if (token.inner && token.inner.length > 1 && token.inner.includes('/')) {\n extglobStar = globstar(opts);\n }\n\n if (extglobStar !== star || eos() || /^\\)+$/.test(remaining())) {\n output = token.close = `)$))${extglobStar}`;\n }\n\n if (token.inner.includes('*') && (rest = remaining()) && /^\\.[^\\\\/.]+$/.test(rest)) {\n // Any non-magical string (`.ts`) or even nested expression (`.{ts,tsx}`) can follow after the closing parenthesis.\n // In this case, we need to parse the string and use it in the output of the original pattern.\n // Suitable patterns: `/!(*.d).ts`, `/!(*.d).{ts,tsx}`, `**/!(*-dbg).@(js)`.\n //\n // Disabling the `fastpaths` option due to a problem with parsing strings as `.ts` in the pattern like `**/!(*.d).ts`.\n const expression = parse(rest, { ...options, fastpaths: false }).output;\n\n output = token.close = `)${expression})${extglobStar})`;\n }\n\n if (token.prev.type === 'bos') {\n state.negatedExtglob = true;\n }\n }\n\n push({ type: 'paren', extglob: true, value, output });\n decrement('parens');\n };\n\n /**\n * Fast paths\n */\n\n if (opts.fastpaths !== false && !/(^[*!]|[/()[\\]{}\"])/.test(input)) {\n let backslashes = false;\n\n let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => {\n if (first === '\\\\') {\n backslashes = true;\n return m;\n }\n\n if (first === '?') {\n if (esc) {\n return esc + first + (rest ? QMARK.repeat(rest.length) : '');\n }\n if (index === 0) {\n return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : '');\n }\n return QMARK.repeat(chars.length);\n }\n\n if (first === '.') {\n return DOT_LITERAL.repeat(chars.length);\n }\n\n if (first === '*') {\n if (esc) {\n return esc + first + (rest ? star : '');\n }\n return star;\n }\n return esc ? m : `\\\\${m}`;\n });\n\n if (backslashes === true) {\n if (opts.unescape === true) {\n output = output.replace(/\\\\/g, '');\n } else {\n output = output.replace(/\\\\+/g, m => {\n return m.length % 2 === 0 ? '\\\\\\\\' : (m ? '\\\\' : '');\n });\n }\n }\n\n if (output === input && opts.contains === true) {\n state.output = input;\n return state;\n }\n\n state.output = utils.wrapOutput(output, state, options);\n return state;\n }\n\n /**\n * Tokenize input until we reach end-of-string\n */\n\n while (!eos()) {\n value = advance();\n\n if (value === '\\u0000') {\n continue;\n }\n\n /**\n * Escaped characters\n */\n\n if (value === '\\\\') {\n const next = peek();\n\n if (next === '/' && opts.bash !== true) {\n continue;\n }\n\n if (next === '.' || next === ';') {\n continue;\n }\n\n if (!next) {\n value += '\\\\';\n push({ type: 'text', value });\n continue;\n }\n\n // collapse slashes to reduce potential for exploits\n const match = /^\\\\+/.exec(remaining());\n let slashes = 0;\n\n if (match && match[0].length > 2) {\n slashes = match[0].length;\n state.index += slashes;\n if (slashes % 2 !== 0) {\n value += '\\\\';\n }\n }\n\n if (opts.unescape === true) {\n value = advance();\n } else {\n value += advance();\n }\n\n if (state.brackets === 0) {\n push({ type: 'text', value });\n continue;\n }\n }\n\n /**\n * If we're inside a regex character class, continue\n * until we reach the closing bracket.\n */\n\n if (state.brackets > 0 && (value !== ']' || prev.value === '[' || prev.value === '[^')) {\n if (opts.posix !== false && value === ':') {\n const inner = prev.value.slice(1);\n if (inner.includes('[')) {\n prev.posix = true;\n\n if (inner.includes(':')) {\n const idx = prev.value.lastIndexOf('[');\n const pre = prev.value.slice(0, idx);\n const rest = prev.value.slice(idx + 2);\n const posix = POSIX_REGEX_SOURCE[rest];\n if (posix) {\n prev.value = pre + posix;\n state.backtrack = true;\n advance();\n\n if (!bos.output && tokens.indexOf(prev) === 1) {\n bos.output = ONE_CHAR;\n }\n continue;\n }\n }\n }\n }\n\n if ((value === '[' && peek() !== ':') || (value === '-' && peek() === ']')) {\n value = `\\\\${value}`;\n }\n\n if (value === ']' && (prev.value === '[' || prev.value === '[^')) {\n value = `\\\\${value}`;\n }\n\n if (opts.posix === true && value === '!' && prev.value === '[') {\n value = '^';\n }\n\n prev.value += value;\n append({ value });\n continue;\n }\n\n /**\n * If we're inside a quoted string, continue\n * until we reach the closing double quote.\n */\n\n if (state.quotes === 1 && value !== '\"') {\n value = utils.escapeRegex(value);\n prev.value += value;\n append({ value });\n continue;\n }\n\n /**\n * Double quotes\n */\n\n if (value === '\"') {\n state.quotes = state.quotes === 1 ? 0 : 1;\n if (opts.keepQuotes === true) {\n push({ type: 'text', value });\n }\n continue;\n }\n\n /**\n * Parentheses\n */\n\n if (value === '(') {\n increment('parens');\n push({ type: 'paren', value });\n continue;\n }\n\n if (value === ')') {\n if (state.parens === 0 && opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('opening', '('));\n }\n\n const extglob = extglobs[extglobs.length - 1];\n if (extglob && state.parens === extglob.parens + 1) {\n extglobClose(extglobs.pop());\n continue;\n }\n\n push({ type: 'paren', value, output: state.parens ? ')' : '\\\\)' });\n decrement('parens');\n continue;\n }\n\n /**\n * Square brackets\n */\n\n if (value === '[') {\n if (opts.nobracket === true || !remaining().includes(']')) {\n if (opts.nobracket !== true && opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('closing', ']'));\n }\n\n value = `\\\\${value}`;\n } else {\n increment('brackets');\n }\n\n push({ type: 'bracket', value });\n continue;\n }\n\n if (value === ']') {\n if (opts.nobracket === true || (prev && prev.type === 'bracket' && prev.value.length === 1)) {\n push({ type: 'text', value, output: `\\\\${value}` });\n continue;\n }\n\n if (state.brackets === 0) {\n if (opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('opening', '['));\n }\n\n push({ type: 'text', value, output: `\\\\${value}` });\n continue;\n }\n\n decrement('brackets');\n\n const prevValue = prev.value.slice(1);\n if (prev.posix !== true && prevValue[0] === '^' && !prevValue.includes('/')) {\n value = `/${value}`;\n }\n\n prev.value += value;\n append({ value });\n\n // when literal brackets are explicitly disabled\n // assume we should match with a regex character class\n if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) {\n continue;\n }\n\n const escaped = utils.escapeRegex(prev.value);\n state.output = state.output.slice(0, -prev.value.length);\n\n // when literal brackets are explicitly enabled\n // assume we should escape the brackets to match literal characters\n if (opts.literalBrackets === true) {\n state.output += escaped;\n prev.value = escaped;\n continue;\n }\n\n // when the user specifies nothing, try to match both\n prev.value = `(${capture}${escaped}|${prev.value})`;\n state.output += prev.value;\n continue;\n }\n\n /**\n * Braces\n */\n\n if (value === '{' && opts.nobrace !== true) {\n increment('braces');\n\n const open = {\n type: 'brace',\n value,\n output: '(',\n outputIndex: state.output.length,\n tokensIndex: state.tokens.length\n };\n\n braces.push(open);\n push(open);\n continue;\n }\n\n if (value === '}') {\n const brace = braces[braces.length - 1];\n\n if (opts.nobrace === true || !brace) {\n push({ type: 'text', value, output: value });\n continue;\n }\n\n let output = ')';\n\n if (brace.dots === true) {\n const arr = tokens.slice();\n const range = [];\n\n for (let i = arr.length - 1; i >= 0; i--) {\n tokens.pop();\n if (arr[i].type === 'brace') {\n break;\n }\n if (arr[i].type !== 'dots') {\n range.unshift(arr[i].value);\n }\n }\n\n output = expandRange(range, opts);\n state.backtrack = true;\n }\n\n if (brace.comma !== true && brace.dots !== true) {\n const out = state.output.slice(0, brace.outputIndex);\n const toks = state.tokens.slice(brace.tokensIndex);\n brace.value = brace.output = '\\\\{';\n value = output = '\\\\}';\n state.output = out;\n for (const t of toks) {\n state.output += (t.output || t.value);\n }\n }\n\n push({ type: 'brace', value, output });\n decrement('braces');\n braces.pop();\n continue;\n }\n\n /**\n * Pipes\n */\n\n if (value === '|') {\n if (extglobs.length > 0) {\n extglobs[extglobs.length - 1].conditions++;\n }\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Commas\n */\n\n if (value === ',') {\n let output = value;\n\n const brace = braces[braces.length - 1];\n if (brace && stack[stack.length - 1] === 'braces') {\n brace.comma = true;\n output = '|';\n }\n\n push({ type: 'comma', value, output });\n continue;\n }\n\n /**\n * Slashes\n */\n\n if (value === '/') {\n // if the beginning of the glob is \"./\", advance the start\n // to the current index, and don't add the \"./\" characters\n // to the state. This greatly simplifies lookbehinds when\n // checking for BOS characters like \"!\" and \".\" (not \"./\")\n if (prev.type === 'dot' && state.index === state.start + 1) {\n state.start = state.index + 1;\n state.consumed = '';\n state.output = '';\n tokens.pop();\n prev = bos; // reset \"prev\" to the first token\n continue;\n }\n\n push({ type: 'slash', value, output: SLASH_LITERAL });\n continue;\n }\n\n /**\n * Dots\n */\n\n if (value === '.') {\n if (state.braces > 0 && prev.type === 'dot') {\n if (prev.value === '.') prev.output = DOT_LITERAL;\n const brace = braces[braces.length - 1];\n prev.type = 'dots';\n prev.output += value;\n prev.value += value;\n brace.dots = true;\n continue;\n }\n\n if ((state.braces + state.parens) === 0 && prev.type !== 'bos' && prev.type !== 'slash') {\n push({ type: 'text', value, output: DOT_LITERAL });\n continue;\n }\n\n push({ type: 'dot', value, output: DOT_LITERAL });\n continue;\n }\n\n /**\n * Question marks\n */\n\n if (value === '?') {\n const isGroup = prev && prev.value === '(';\n if (!isGroup && opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n extglobOpen('qmark', value);\n continue;\n }\n\n if (prev && prev.type === 'paren') {\n const next = peek();\n let output = value;\n\n if (next === '<' && !utils.supportsLookbehinds()) {\n throw new Error('Node.js v10 or higher is required for regex lookbehinds');\n }\n\n if ((prev.value === '(' && !/[!=<:]/.test(next)) || (next === '<' && !/<([!=]|\\w+>)/.test(remaining()))) {\n output = `\\\\${value}`;\n }\n\n push({ type: 'text', value, output });\n continue;\n }\n\n if (opts.dot !== true && (prev.type === 'slash' || prev.type === 'bos')) {\n push({ type: 'qmark', value, output: QMARK_NO_DOT });\n continue;\n }\n\n push({ type: 'qmark', value, output: QMARK });\n continue;\n }\n\n /**\n * Exclamation\n */\n\n if (value === '!') {\n if (opts.noextglob !== true && peek() === '(') {\n if (peek(2) !== '?' || !/[!=<:]/.test(peek(3))) {\n extglobOpen('negate', value);\n continue;\n }\n }\n\n if (opts.nonegate !== true && state.index === 0) {\n negate();\n continue;\n }\n }\n\n /**\n * Plus\n */\n\n if (value === '+') {\n if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n extglobOpen('plus', value);\n continue;\n }\n\n if ((prev && prev.value === '(') || opts.regex === false) {\n push({ type: 'plus', value, output: PLUS_LITERAL });\n continue;\n }\n\n if ((prev && (prev.type === 'bracket' || prev.type === 'paren' || prev.type === 'brace')) || state.parens > 0) {\n push({ type: 'plus', value });\n continue;\n }\n\n push({ type: 'plus', value: PLUS_LITERAL });\n continue;\n }\n\n /**\n * Plain text\n */\n\n if (value === '@') {\n if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n push({ type: 'at', extglob: true, value, output: '' });\n continue;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Plain text\n */\n\n if (value !== '*') {\n if (value === '$' || value === '^') {\n value = `\\\\${value}`;\n }\n\n const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());\n if (match) {\n value += match[0];\n state.index += match[0].length;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Stars\n */\n\n if (prev && (prev.type === 'globstar' || prev.star === true)) {\n prev.type = 'star';\n prev.star = true;\n prev.value += value;\n prev.output = star;\n state.backtrack = true;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n let rest = remaining();\n if (opts.noextglob !== true && /^\\([^?]/.test(rest)) {\n extglobOpen('star', value);\n continue;\n }\n\n if (prev.type === 'star') {\n if (opts.noglobstar === true) {\n consume(value);\n continue;\n }\n\n const prior = prev.prev;\n const before = prior.prev;\n const isStart = prior.type === 'slash' || prior.type === 'bos';\n const afterStar = before && (before.type === 'star' || before.type === 'globstar');\n\n if (opts.bash === true && (!isStart || (rest[0] && rest[0] !== '/'))) {\n push({ type: 'star', value, output: '' });\n continue;\n }\n\n const isBrace = state.braces > 0 && (prior.type === 'comma' || prior.type === 'brace');\n const isExtglob = extglobs.length && (prior.type === 'pipe' || prior.type === 'paren');\n if (!isStart && prior.type !== 'paren' && !isBrace && !isExtglob) {\n push({ type: 'star', value, output: '' });\n continue;\n }\n\n // strip consecutive `/**/`\n while (rest.slice(0, 3) === '/**') {\n const after = input[state.index + 4];\n if (after && after !== '/') {\n break;\n }\n rest = rest.slice(3);\n consume('/**', 3);\n }\n\n if (prior.type === 'bos' && eos()) {\n prev.type = 'globstar';\n prev.value += value;\n prev.output = globstar(opts);\n state.output = prev.output;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n if (prior.type === 'slash' && prior.prev.type !== 'bos' && !afterStar && eos()) {\n state.output = state.output.slice(0, -(prior.output + prev.output).length);\n prior.output = `(?:${prior.output}`;\n\n prev.type = 'globstar';\n prev.output = globstar(opts) + (opts.strictSlashes ? ')' : '|$)');\n prev.value += value;\n state.globstar = true;\n state.output += prior.output + prev.output;\n consume(value);\n continue;\n }\n\n if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {\n const end = rest[1] !== void 0 ? '|$' : '';\n\n state.output = state.output.slice(0, -(prior.output + prev.output).length);\n prior.output = `(?:${prior.output}`;\n\n prev.type = 'globstar';\n prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;\n prev.value += value;\n\n state.output += prior.output + prev.output;\n state.globstar = true;\n\n consume(value + advance());\n\n push({ type: 'slash', value: '/', output: '' });\n continue;\n }\n\n if (prior.type === 'bos' && rest[0] === '/') {\n prev.type = 'globstar';\n prev.value += value;\n prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;\n state.output = prev.output;\n state.globstar = true;\n consume(value + advance());\n push({ type: 'slash', value: '/', output: '' });\n continue;\n }\n\n // remove single star from output\n state.output = state.output.slice(0, -prev.output.length);\n\n // reset previous token to globstar\n prev.type = 'globstar';\n prev.output = globstar(opts);\n prev.value += value;\n\n // reset output with globstar\n state.output += prev.output;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n const token = { type: 'star', value, output: star };\n\n if (opts.bash === true) {\n token.output = '.*?';\n if (prev.type === 'bos' || prev.type === 'slash') {\n token.output = nodot + token.output;\n }\n push(token);\n continue;\n }\n\n if (prev && (prev.type === 'bracket' || prev.type === 'paren') && opts.regex === true) {\n token.output = value;\n push(token);\n continue;\n }\n\n if (state.index === state.start || prev.type === 'slash' || prev.type === 'dot') {\n if (prev.type === 'dot') {\n state.output += NO_DOT_SLASH;\n prev.output += NO_DOT_SLASH;\n\n } else if (opts.dot === true) {\n state.output += NO_DOTS_SLASH;\n prev.output += NO_DOTS_SLASH;\n\n } else {\n state.output += nodot;\n prev.output += nodot;\n }\n\n if (peek() !== '*') {\n state.output += ONE_CHAR;\n prev.output += ONE_CHAR;\n }\n }\n\n push(token);\n }\n\n while (state.brackets > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ']'));\n state.output = utils.escapeLast(state.output, '[');\n decrement('brackets');\n }\n\n while (state.parens > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ')'));\n state.output = utils.escapeLast(state.output, '(');\n decrement('parens');\n }\n\n while (state.braces > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', '}'));\n state.output = utils.escapeLast(state.output, '{');\n decrement('braces');\n }\n\n if (opts.strictSlashes !== true && (prev.type === 'star' || prev.type === 'bracket')) {\n push({ type: 'maybe_slash', value: '', output: `${SLASH_LITERAL}?` });\n }\n\n // rebuild the output if we had to backtrack at any point\n if (state.backtrack === true) {\n state.output = '';\n\n for (const token of state.tokens) {\n state.output += token.output != null ? token.output : token.value;\n\n if (token.suffix) {\n state.output += token.suffix;\n }\n }\n }\n\n return state;\n};\n\n/**\n * Fast paths for creating regular expressions for common glob patterns.\n * This can significantly speed up processing and has very little downside\n * impact when none of the fast paths match.\n */\n\nparse.fastpaths = (input, options) => {\n const opts = { ...options };\n const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n const len = input.length;\n if (len > max) {\n throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);\n }\n\n input = REPLACEMENTS[input] || input;\n const win32 = utils.isWindows(options);\n\n // create constants based on platform, for windows or posix\n const {\n DOT_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOTS,\n NO_DOTS_SLASH,\n STAR,\n START_ANCHOR\n } = constants.globChars(win32);\n\n const nodot = opts.dot ? NO_DOTS : NO_DOT;\n const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;\n const capture = opts.capture ? '' : '?:';\n const state = { negated: false, prefix: '' };\n let star = opts.bash === true ? '.*?' : STAR;\n\n if (opts.capture) {\n star = `(${star})`;\n }\n\n const globstar = opts => {\n if (opts.noglobstar === true) return star;\n return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;\n };\n\n const create = str => {\n switch (str) {\n case '*':\n return `${nodot}${ONE_CHAR}${star}`;\n\n case '.*':\n return `${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '*.*':\n return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '*/*':\n return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;\n\n case '**':\n return nodot + globstar(opts);\n\n case '**/*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;\n\n case '**/*.*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '**/.*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n default: {\n const match = /^(.*?)\\.(\\w+)$/.exec(str);\n if (!match) return;\n\n const source = create(match[1]);\n if (!source) return;\n\n return source + DOT_LITERAL + match[2];\n }\n }\n };\n\n const output = utils.removePrefix(input, state);\n let source = create(output);\n\n if (source && opts.strictSlashes !== true) {\n source += `${SLASH_LITERAL}?`;\n }\n\n return source;\n};\n\nmodule.exports = parse;\n","'use strict';\n\nconst path = require('path');\nconst scan = require('./scan');\nconst parse = require('./parse');\nconst utils = require('./utils');\nconst constants = require('./constants');\nconst isObject = val => val && typeof val === 'object' && !Array.isArray(val);\n\n/**\n * Creates a matcher function from one or more glob patterns. The\n * returned function takes a string to match as its first argument,\n * and returns true if the string is a match. The returned matcher\n * function also takes a boolean as the second argument that, when true,\n * returns an object with additional information.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch(glob[, options]);\n *\n * const isMatch = picomatch('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @name picomatch\n * @param {String|Array} `globs` One or more glob patterns.\n * @param {Object=} `options`\n * @return {Function=} Returns a matcher function.\n * @api public\n */\n\nconst picomatch = (glob, options, returnState = false) => {\n if (Array.isArray(glob)) {\n const fns = glob.map(input => picomatch(input, options, returnState));\n const arrayMatcher = str => {\n for (const isMatch of fns) {\n const state = isMatch(str);\n if (state) return state;\n }\n return false;\n };\n return arrayMatcher;\n }\n\n const isState = isObject(glob) && glob.tokens && glob.input;\n\n if (glob === '' || (typeof glob !== 'string' && !isState)) {\n throw new TypeError('Expected pattern to be a non-empty string');\n }\n\n const opts = options || {};\n const posix = utils.isWindows(options);\n const regex = isState\n ? picomatch.compileRe(glob, options)\n : picomatch.makeRe(glob, options, false, true);\n\n const state = regex.state;\n delete regex.state;\n\n let isIgnored = () => false;\n if (opts.ignore) {\n const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };\n isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);\n }\n\n const matcher = (input, returnObject = false) => {\n const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });\n const result = { glob, state, regex, posix, input, output, match, isMatch };\n\n if (typeof opts.onResult === 'function') {\n opts.onResult(result);\n }\n\n if (isMatch === false) {\n result.isMatch = false;\n return returnObject ? result : false;\n }\n\n if (isIgnored(input)) {\n if (typeof opts.onIgnore === 'function') {\n opts.onIgnore(result);\n }\n result.isMatch = false;\n return returnObject ? result : false;\n }\n\n if (typeof opts.onMatch === 'function') {\n opts.onMatch(result);\n }\n return returnObject ? result : true;\n };\n\n if (returnState) {\n matcher.state = state;\n }\n\n return matcher;\n};\n\n/**\n * Test `input` with the given `regex`. This is used by the main\n * `picomatch()` function to test the input string.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.test(input, regex[, options]);\n *\n * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\\/([^/]*?))$/));\n * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }\n * ```\n * @param {String} `input` String to test.\n * @param {RegExp} `regex`\n * @return {Object} Returns an object with matching info.\n * @api public\n */\n\npicomatch.test = (input, regex, options, { glob, posix } = {}) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected input to be a string');\n }\n\n if (input === '') {\n return { isMatch: false, output: '' };\n }\n\n const opts = options || {};\n const format = opts.format || (posix ? utils.toPosixSlashes : null);\n let match = input === glob;\n let output = (match && format) ? format(input) : input;\n\n if (match === false) {\n output = format ? format(input) : input;\n match = output === glob;\n }\n\n if (match === false || opts.capture === true) {\n if (opts.matchBase === true || opts.basename === true) {\n match = picomatch.matchBase(input, regex, options, posix);\n } else {\n match = regex.exec(output);\n }\n }\n\n return { isMatch: Boolean(match), match, output };\n};\n\n/**\n * Match the basename of a filepath.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.matchBase(input, glob[, options]);\n * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true\n * ```\n * @param {String} `input` String to test.\n * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).\n * @return {Boolean}\n * @api public\n */\n\npicomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {\n const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);\n return regex.test(path.basename(input));\n};\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.isMatch(string, patterns[, options]);\n *\n * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String|Array} str The string to test.\n * @param {String|Array} patterns One or more glob patterns to use for matching.\n * @param {Object} [options] See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\npicomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const picomatch = require('picomatch');\n * const result = picomatch.parse(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as a regex source string.\n * @api public\n */\n\npicomatch.parse = (pattern, options) => {\n if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));\n return parse(pattern, { ...options, fastpaths: false });\n};\n\n/**\n * Scan a glob pattern to separate the pattern into segments.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.scan(input[, options]);\n *\n * const result = picomatch.scan('!./foo/*.js');\n * console.log(result);\n * { prefix: '!./',\n * input: '!./foo/*.js',\n * start: 3,\n * base: 'foo',\n * glob: '*.js',\n * isBrace: false,\n * isBracket: false,\n * isGlob: true,\n * isExtglob: false,\n * isGlobstar: false,\n * negated: true }\n * ```\n * @param {String} `input` Glob pattern to scan.\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\npicomatch.scan = (input, options) => scan(input, options);\n\n/**\n * Compile a regular expression from the `state` object returned by the\n * [parse()](#parse) method.\n *\n * @param {Object} `state`\n * @param {Object} `options`\n * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.\n * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.\n * @return {RegExp}\n * @api public\n */\n\npicomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {\n if (returnOutput === true) {\n return state.output;\n }\n\n const opts = options || {};\n const prepend = opts.contains ? '' : '^';\n const append = opts.contains ? '' : '$';\n\n let source = `${prepend}(?:${state.output})${append}`;\n if (state && state.negated === true) {\n source = `^(?!${source}).*$`;\n }\n\n const regex = picomatch.toRegex(source, options);\n if (returnState === true) {\n regex.state = state;\n }\n\n return regex;\n};\n\n/**\n * Create a regular expression from a parsed glob pattern.\n *\n * ```js\n * const picomatch = require('picomatch');\n * const state = picomatch.parse('*.js');\n * // picomatch.compileRe(state[, options]);\n *\n * console.log(picomatch.compileRe(state));\n * //=> /^(?:(?!\\.)(?=.)[^/]*?\\.js)$/\n * ```\n * @param {String} `state` The object returned from the `.parse` method.\n * @param {Object} `options`\n * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.\n * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\npicomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {\n if (!input || typeof input !== 'string') {\n throw new TypeError('Expected a non-empty string');\n }\n\n let parsed = { negated: false, fastpaths: true };\n\n if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {\n parsed.output = parse.fastpaths(input, options);\n }\n\n if (!parsed.output) {\n parsed = parse(input, options);\n }\n\n return picomatch.compileRe(parsed, options, returnOutput, returnState);\n};\n\n/**\n * Create a regular expression from the given regex source string.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.toRegex(source[, options]);\n *\n * const { output } = picomatch.parse('*.js');\n * console.log(picomatch.toRegex(output));\n * //=> /^(?:(?!\\.)(?=.)[^/]*?\\.js)$/\n * ```\n * @param {String} `source` Regular expression source string.\n * @param {Object} `options`\n * @return {RegExp}\n * @api public\n */\n\npicomatch.toRegex = (source, options) => {\n try {\n const opts = options || {};\n return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));\n } catch (err) {\n if (options && options.debug === true) throw err;\n return /$^/;\n }\n};\n\n/**\n * Picomatch constants.\n * @return {Object}\n */\n\npicomatch.constants = constants;\n\n/**\n * Expose \"picomatch\"\n */\n\nmodule.exports = picomatch;\n","'use strict';\n\nconst utils = require('./utils');\nconst {\n CHAR_ASTERISK, /* * */\n CHAR_AT, /* @ */\n CHAR_BACKWARD_SLASH, /* \\ */\n CHAR_COMMA, /* , */\n CHAR_DOT, /* . */\n CHAR_EXCLAMATION_MARK, /* ! */\n CHAR_FORWARD_SLASH, /* / */\n CHAR_LEFT_CURLY_BRACE, /* { */\n CHAR_LEFT_PARENTHESES, /* ( */\n CHAR_LEFT_SQUARE_BRACKET, /* [ */\n CHAR_PLUS, /* + */\n CHAR_QUESTION_MARK, /* ? */\n CHAR_RIGHT_CURLY_BRACE, /* } */\n CHAR_RIGHT_PARENTHESES, /* ) */\n CHAR_RIGHT_SQUARE_BRACKET /* ] */\n} = require('./constants');\n\nconst isPathSeparator = code => {\n return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n};\n\nconst depth = token => {\n if (token.isPrefix !== true) {\n token.depth = token.isGlobstar ? Infinity : 1;\n }\n};\n\n/**\n * Quickly scans a glob pattern and returns an object with a handful of\n * useful properties, like `isGlob`, `path` (the leading non-glob, if it exists),\n * `glob` (the actual pattern), `negated` (true if the path starts with `!` but not\n * with `!(`) and `negatedExtglob` (true if the path starts with `!(`).\n *\n * ```js\n * const pm = require('picomatch');\n * console.log(pm.scan('foo/bar/*.js'));\n * { isGlob: true, input: 'foo/bar/*.js', base: 'foo/bar', glob: '*.js' }\n * ```\n * @param {String} `str`\n * @param {Object} `options`\n * @return {Object} Returns an object with tokens and regex source string.\n * @api public\n */\n\nconst scan = (input, options) => {\n const opts = options || {};\n\n const length = input.length - 1;\n const scanToEnd = opts.parts === true || opts.scanToEnd === true;\n const slashes = [];\n const tokens = [];\n const parts = [];\n\n let str = input;\n let index = -1;\n let start = 0;\n let lastIndex = 0;\n let isBrace = false;\n let isBracket = false;\n let isGlob = false;\n let isExtglob = false;\n let isGlobstar = false;\n let braceEscaped = false;\n let backslashes = false;\n let negated = false;\n let negatedExtglob = false;\n let finished = false;\n let braces = 0;\n let prev;\n let code;\n let token = { value: '', depth: 0, isGlob: false };\n\n const eos = () => index >= length;\n const peek = () => str.charCodeAt(index + 1);\n const advance = () => {\n prev = code;\n return str.charCodeAt(++index);\n };\n\n while (index < length) {\n code = advance();\n let next;\n\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n code = advance();\n\n if (code === CHAR_LEFT_CURLY_BRACE) {\n braceEscaped = true;\n }\n continue;\n }\n\n if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) {\n braces++;\n\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n advance();\n continue;\n }\n\n if (code === CHAR_LEFT_CURLY_BRACE) {\n braces++;\n continue;\n }\n\n if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) {\n isBrace = token.isBrace = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (braceEscaped !== true && code === CHAR_COMMA) {\n isBrace = token.isBrace = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (code === CHAR_RIGHT_CURLY_BRACE) {\n braces--;\n\n if (braces === 0) {\n braceEscaped = false;\n isBrace = token.isBrace = true;\n finished = true;\n break;\n }\n }\n }\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (code === CHAR_FORWARD_SLASH) {\n slashes.push(index);\n tokens.push(token);\n token = { value: '', depth: 0, isGlob: false };\n\n if (finished === true) continue;\n if (prev === CHAR_DOT && index === (start + 1)) {\n start += 2;\n continue;\n }\n\n lastIndex = index + 1;\n continue;\n }\n\n if (opts.noext !== true) {\n const isExtglobChar = code === CHAR_PLUS\n || code === CHAR_AT\n || code === CHAR_ASTERISK\n || code === CHAR_QUESTION_MARK\n || code === CHAR_EXCLAMATION_MARK;\n\n if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {\n isGlob = token.isGlob = true;\n isExtglob = token.isExtglob = true;\n finished = true;\n if (code === CHAR_EXCLAMATION_MARK && index === start) {\n negatedExtglob = true;\n }\n\n if (scanToEnd === true) {\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n code = advance();\n continue;\n }\n\n if (code === CHAR_RIGHT_PARENTHESES) {\n isGlob = token.isGlob = true;\n finished = true;\n break;\n }\n }\n continue;\n }\n break;\n }\n }\n\n if (code === CHAR_ASTERISK) {\n if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n break;\n }\n\n if (code === CHAR_QUESTION_MARK) {\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n break;\n }\n\n if (code === CHAR_LEFT_SQUARE_BRACKET) {\n while (eos() !== true && (next = advance())) {\n if (next === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n advance();\n continue;\n }\n\n if (next === CHAR_RIGHT_SQUARE_BRACKET) {\n isBracket = token.isBracket = true;\n isGlob = token.isGlob = true;\n finished = true;\n break;\n }\n }\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) {\n negated = token.negated = true;\n start++;\n continue;\n }\n\n if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {\n isGlob = token.isGlob = true;\n\n if (scanToEnd === true) {\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_LEFT_PARENTHESES) {\n backslashes = token.backslashes = true;\n code = advance();\n continue;\n }\n\n if (code === CHAR_RIGHT_PARENTHESES) {\n finished = true;\n break;\n }\n }\n continue;\n }\n break;\n }\n\n if (isGlob === true) {\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n }\n\n if (opts.noext === true) {\n isExtglob = false;\n isGlob = false;\n }\n\n let base = str;\n let prefix = '';\n let glob = '';\n\n if (start > 0) {\n prefix = str.slice(0, start);\n str = str.slice(start);\n lastIndex -= start;\n }\n\n if (base && isGlob === true && lastIndex > 0) {\n base = str.slice(0, lastIndex);\n glob = str.slice(lastIndex);\n } else if (isGlob === true) {\n base = '';\n glob = str;\n } else {\n base = str;\n }\n\n if (base && base !== '' && base !== '/' && base !== str) {\n if (isPathSeparator(base.charCodeAt(base.length - 1))) {\n base = base.slice(0, -1);\n }\n }\n\n if (opts.unescape === true) {\n if (glob) glob = utils.removeBackslashes(glob);\n\n if (base && backslashes === true) {\n base = utils.removeBackslashes(base);\n }\n }\n\n const state = {\n prefix,\n input,\n start,\n base,\n glob,\n isBrace,\n isBracket,\n isGlob,\n isExtglob,\n isGlobstar,\n negated,\n negatedExtglob\n };\n\n if (opts.tokens === true) {\n state.maxDepth = 0;\n if (!isPathSeparator(code)) {\n tokens.push(token);\n }\n state.tokens = tokens;\n }\n\n if (opts.parts === true || opts.tokens === true) {\n let prevIndex;\n\n for (let idx = 0; idx < slashes.length; idx++) {\n const n = prevIndex ? prevIndex + 1 : start;\n const i = slashes[idx];\n const value = input.slice(n, i);\n if (opts.tokens) {\n if (idx === 0 && start !== 0) {\n tokens[idx].isPrefix = true;\n tokens[idx].value = prefix;\n } else {\n tokens[idx].value = value;\n }\n depth(tokens[idx]);\n state.maxDepth += tokens[idx].depth;\n }\n if (idx !== 0 || value !== '') {\n parts.push(value);\n }\n prevIndex = i;\n }\n\n if (prevIndex && prevIndex + 1 < input.length) {\n const value = input.slice(prevIndex + 1);\n parts.push(value);\n\n if (opts.tokens) {\n tokens[tokens.length - 1].value = value;\n depth(tokens[tokens.length - 1]);\n state.maxDepth += tokens[tokens.length - 1].depth;\n }\n }\n\n state.slashes = slashes;\n state.parts = parts;\n }\n\n return state;\n};\n\nmodule.exports = scan;\n","'use strict';\n\nconst path = require('path');\nconst win32 = process.platform === 'win32';\nconst {\n REGEX_BACKSLASH,\n REGEX_REMOVE_BACKSLASH,\n REGEX_SPECIAL_CHARS,\n REGEX_SPECIAL_CHARS_GLOBAL\n} = require('./constants');\n\nexports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\nexports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);\nexports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);\nexports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\\\$1');\nexports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');\n\nexports.removeBackslashes = str => {\n return str.replace(REGEX_REMOVE_BACKSLASH, match => {\n return match === '\\\\' ? '' : match;\n });\n};\n\nexports.supportsLookbehinds = () => {\n const segs = process.version.slice(1).split('.').map(Number);\n if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {\n return true;\n }\n return false;\n};\n\nexports.isWindows = options => {\n if (options && typeof options.windows === 'boolean') {\n return options.windows;\n }\n return win32 === true || path.sep === '\\\\';\n};\n\nexports.escapeLast = (input, char, lastIdx) => {\n const idx = input.lastIndexOf(char, lastIdx);\n if (idx === -1) return input;\n if (input[idx - 1] === '\\\\') return exports.escapeLast(input, char, idx - 1);\n return `${input.slice(0, idx)}\\\\${input.slice(idx)}`;\n};\n\nexports.removePrefix = (input, state = {}) => {\n let output = input;\n if (output.startsWith('./')) {\n output = output.slice(2);\n state.prefix = './';\n }\n return output;\n};\n\nexports.wrapOutput = (input, state = {}, options = {}) => {\n const prepend = options.contains ? '' : '^';\n const append = options.contains ? '' : '$';\n\n let output = `${prepend}(?:${input})${append}`;\n if (state.negated === true) {\n output = `(?:^(?!${output}).*$)`;\n }\n return output;\n};\n","/*! queue-microtask. MIT License. Feross Aboukhadijeh */\nlet promise\n\nmodule.exports = typeof queueMicrotask === 'function'\n ? queueMicrotask.bind(typeof window !== 'undefined' ? window : global)\n // reuse resolved promise, and allocate it lazily\n : cb => (promise || (promise = Promise.resolve()))\n .then(cb)\n .catch(err => setTimeout(() => { throw err }, 0))\n","'use strict'\n\nfunction reusify (Constructor) {\n var head = new Constructor()\n var tail = head\n\n function get () {\n var current = head\n\n if (current.next) {\n head = current.next\n } else {\n head = new Constructor()\n tail = head\n }\n\n current.next = null\n\n return current\n }\n\n function release (obj) {\n tail.next = obj\n tail = obj\n }\n\n return {\n get: get,\n release: release\n }\n}\n\nmodule.exports = reusify\n","/*! run-parallel. MIT License. Feross Aboukhadijeh */\nmodule.exports = runParallel\n\nconst queueMicrotask = require('queue-microtask')\n\nfunction runParallel (tasks, cb) {\n let results, pending, keys\n let isSync = true\n\n if (Array.isArray(tasks)) {\n results = []\n pending = tasks.length\n } else {\n keys = Object.keys(tasks)\n results = {}\n pending = keys.length\n }\n\n function done (err) {\n function end () {\n if (cb) cb(err, results)\n cb = null\n }\n if (isSync) queueMicrotask(end)\n else end()\n }\n\n function each (i, err, result) {\n results[i] = result\n if (--pending === 0 || err) {\n done(err)\n }\n }\n\n if (!pending) {\n // empty\n done(null)\n } else if (keys) {\n // object\n keys.forEach(function (key) {\n tasks[key](function (err, result) { each(key, err, result) })\n })\n } else {\n // array\n tasks.forEach(function (task, i) {\n task(function (err, result) { each(i, err, result) })\n })\n }\n\n isSync = false\n}\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return `${from} ${to}`.trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","/*!\n * to-regex-range \n *\n * Copyright (c) 2015-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nconst isNumber = require('is-number');\n\nconst toRegexRange = (min, max, options) => {\n if (isNumber(min) === false) {\n throw new TypeError('toRegexRange: expected the first argument to be a number');\n }\n\n if (max === void 0 || min === max) {\n return String(min);\n }\n\n if (isNumber(max) === false) {\n throw new TypeError('toRegexRange: expected the second argument to be a number.');\n }\n\n let opts = { relaxZeros: true, ...options };\n if (typeof opts.strictZeros === 'boolean') {\n opts.relaxZeros = opts.strictZeros === false;\n }\n\n let relax = String(opts.relaxZeros);\n let shorthand = String(opts.shorthand);\n let capture = String(opts.capture);\n let wrap = String(opts.wrap);\n let cacheKey = min + ':' + max + '=' + relax + shorthand + capture + wrap;\n\n if (toRegexRange.cache.hasOwnProperty(cacheKey)) {\n return toRegexRange.cache[cacheKey].result;\n }\n\n let a = Math.min(min, max);\n let b = Math.max(min, max);\n\n if (Math.abs(a - b) === 1) {\n let result = min + '|' + max;\n if (opts.capture) {\n return `(${result})`;\n }\n if (opts.wrap === false) {\n return result;\n }\n return `(?:${result})`;\n }\n\n let isPadded = hasPadding(min) || hasPadding(max);\n let state = { min, max, a, b };\n let positives = [];\n let negatives = [];\n\n if (isPadded) {\n state.isPadded = isPadded;\n state.maxLen = String(state.max).length;\n }\n\n if (a < 0) {\n let newMin = b < 0 ? Math.abs(b) : 1;\n negatives = splitToPatterns(newMin, Math.abs(a), state, opts);\n a = state.a = 0;\n }\n\n if (b >= 0) {\n positives = splitToPatterns(a, b, state, opts);\n }\n\n state.negatives = negatives;\n state.positives = positives;\n state.result = collatePatterns(negatives, positives, opts);\n\n if (opts.capture === true) {\n state.result = `(${state.result})`;\n } else if (opts.wrap !== false && (positives.length + negatives.length) > 1) {\n state.result = `(?:${state.result})`;\n }\n\n toRegexRange.cache[cacheKey] = state;\n return state.result;\n};\n\nfunction collatePatterns(neg, pos, options) {\n let onlyNegative = filterPatterns(neg, pos, '-', false, options) || [];\n let onlyPositive = filterPatterns(pos, neg, '', false, options) || [];\n let intersected = filterPatterns(neg, pos, '-?', true, options) || [];\n let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);\n return subpatterns.join('|');\n}\n\nfunction splitToRanges(min, max) {\n let nines = 1;\n let zeros = 1;\n\n let stop = countNines(min, nines);\n let stops = new Set([max]);\n\n while (min <= stop && stop <= max) {\n stops.add(stop);\n nines += 1;\n stop = countNines(min, nines);\n }\n\n stop = countZeros(max + 1, zeros) - 1;\n\n while (min < stop && stop <= max) {\n stops.add(stop);\n zeros += 1;\n stop = countZeros(max + 1, zeros) - 1;\n }\n\n stops = [...stops];\n stops.sort(compare);\n return stops;\n}\n\n/**\n * Convert a range to a regex pattern\n * @param {Number} `start`\n * @param {Number} `stop`\n * @return {String}\n */\n\nfunction rangeToPattern(start, stop, options) {\n if (start === stop) {\n return { pattern: start, count: [], digits: 0 };\n }\n\n let zipped = zip(start, stop);\n let digits = zipped.length;\n let pattern = '';\n let count = 0;\n\n for (let i = 0; i < digits; i++) {\n let [startDigit, stopDigit] = zipped[i];\n\n if (startDigit === stopDigit) {\n pattern += startDigit;\n\n } else if (startDigit !== '0' || stopDigit !== '9') {\n pattern += toCharacterClass(startDigit, stopDigit, options);\n\n } else {\n count++;\n }\n }\n\n if (count) {\n pattern += options.shorthand === true ? '\\\\d' : '[0-9]';\n }\n\n return { pattern, count: [count], digits };\n}\n\nfunction splitToPatterns(min, max, tok, options) {\n let ranges = splitToRanges(min, max);\n let tokens = [];\n let start = min;\n let prev;\n\n for (let i = 0; i < ranges.length; i++) {\n let max = ranges[i];\n let obj = rangeToPattern(String(start), String(max), options);\n let zeros = '';\n\n if (!tok.isPadded && prev && prev.pattern === obj.pattern) {\n if (prev.count.length > 1) {\n prev.count.pop();\n }\n\n prev.count.push(obj.count[0]);\n prev.string = prev.pattern + toQuantifier(prev.count);\n start = max + 1;\n continue;\n }\n\n if (tok.isPadded) {\n zeros = padZeros(max, tok, options);\n }\n\n obj.string = zeros + obj.pattern + toQuantifier(obj.count);\n tokens.push(obj);\n start = max + 1;\n prev = obj;\n }\n\n return tokens;\n}\n\nfunction filterPatterns(arr, comparison, prefix, intersection, options) {\n let result = [];\n\n for (let ele of arr) {\n let { string } = ele;\n\n // only push if _both_ are negative...\n if (!intersection && !contains(comparison, 'string', string)) {\n result.push(prefix + string);\n }\n\n // or _both_ are positive\n if (intersection && contains(comparison, 'string', string)) {\n result.push(prefix + string);\n }\n }\n return result;\n}\n\n/**\n * Zip strings\n */\n\nfunction zip(a, b) {\n let arr = [];\n for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);\n return arr;\n}\n\nfunction compare(a, b) {\n return a > b ? 1 : b > a ? -1 : 0;\n}\n\nfunction contains(arr, key, val) {\n return arr.some(ele => ele[key] === val);\n}\n\nfunction countNines(min, len) {\n return Number(String(min).slice(0, -len) + '9'.repeat(len));\n}\n\nfunction countZeros(integer, zeros) {\n return integer - (integer % Math.pow(10, zeros));\n}\n\nfunction toQuantifier(digits) {\n let [start = 0, stop = ''] = digits;\n if (stop || start > 1) {\n return `{${start + (stop ? ',' + stop : '')}}`;\n }\n return '';\n}\n\nfunction toCharacterClass(a, b, options) {\n return `[${a}${(b - a === 1) ? '' : '-'}${b}]`;\n}\n\nfunction hasPadding(str) {\n return /^-?(0+)\\d/.test(str);\n}\n\nfunction padZeros(value, tok, options) {\n if (!tok.isPadded) {\n return value;\n }\n\n let diff = Math.abs(tok.maxLen - String(value).length);\n let relax = options.relaxZeros !== false;\n\n switch (diff) {\n case 0:\n return '';\n case 1:\n return relax ? '0?' : '0';\n case 2:\n return relax ? '0{0,2}' : '00';\n default: {\n return relax ? `0{0,${diff}}` : `0{${diff}}`;\n }\n }\n}\n\n/**\n * Cache\n */\n\ntoRegexRange.cache = {};\ntoRegexRange.clearCache = () => (toRegexRange.cache = {});\n\n/**\n * Expose `toRegexRange`\n */\n\nmodule.exports = toRegexRange;\n","var parser = require('./lib/parser');\nvar compiler = require('./lib/compiler');\n\nmodule.exports = {\n parse: function(input) {\n var nodes = parser.parse(input.toString());\n return compiler.compile(nodes);\n }\n};\n","\"use strict\";\nfunction compile(nodes) {\n var assignedPaths = [];\n var valueAssignments = [];\n var currentPath = \"\";\n var data = Object.create(null);\n var context = data;\n var arrayMode = false;\n\n return reduce(nodes);\n\n function reduce(nodes) {\n var node;\n for (var i = 0; i < nodes.length; i++) {\n node = nodes[i];\n switch (node.type) {\n case \"Assign\":\n assign(node);\n break;\n case \"ObjectPath\":\n setPath(node);\n break;\n case \"ArrayPath\":\n addTableArray(node);\n break;\n }\n }\n\n return data;\n }\n\n function genError(err, line, col) {\n var ex = new Error(err);\n ex.line = line;\n ex.column = col;\n throw ex;\n }\n\n function assign(node) {\n var key = node.key;\n var value = node.value;\n var line = node.line;\n var column = node.column;\n\n var fullPath;\n if (currentPath) {\n fullPath = currentPath + \".\" + key;\n } else {\n fullPath = key;\n }\n if (typeof context[key] !== \"undefined\") {\n genError(\"Cannot redefine existing key '\" + fullPath + \"'.\", line, column);\n }\n\n context[key] = reduceValueNode(value);\n\n if (!pathAssigned(fullPath)) {\n assignedPaths.push(fullPath);\n valueAssignments.push(fullPath);\n }\n }\n\n\n function pathAssigned(path) {\n return assignedPaths.indexOf(path) !== -1;\n }\n\n function reduceValueNode(node) {\n if (node.type === \"Array\") {\n return reduceArrayWithTypeChecking(node.value);\n } else if (node.type === \"InlineTable\") {\n return reduceInlineTableNode(node.value);\n } else {\n return node.value;\n }\n }\n\n function reduceInlineTableNode(values) {\n var obj = Object.create(null);\n for (var i = 0; i < values.length; i++) {\n var val = values[i];\n if (val.value.type === \"InlineTable\") {\n obj[val.key] = reduceInlineTableNode(val.value.value);\n } else if (val.type === \"InlineTableValue\") {\n obj[val.key] = reduceValueNode(val.value);\n }\n }\n\n return obj;\n }\n\n function setPath(node) {\n var path = node.value;\n var quotedPath = path.map(quoteDottedString).join(\".\");\n var line = node.line;\n var column = node.column;\n\n if (pathAssigned(quotedPath)) {\n genError(\"Cannot redefine existing key '\" + path + \"'.\", line, column);\n }\n assignedPaths.push(quotedPath);\n context = deepRef(data, path, Object.create(null), line, column);\n currentPath = path;\n }\n\n function addTableArray(node) {\n var path = node.value;\n var quotedPath = path.map(quoteDottedString).join(\".\");\n var line = node.line;\n var column = node.column;\n\n if (!pathAssigned(quotedPath)) {\n assignedPaths.push(quotedPath);\n }\n assignedPaths = assignedPaths.filter(function(p) {\n return p.indexOf(quotedPath) !== 0;\n });\n assignedPaths.push(quotedPath);\n context = deepRef(data, path, [], line, column);\n currentPath = quotedPath;\n\n if (context instanceof Array) {\n var newObj = Object.create(null);\n context.push(newObj);\n context = newObj;\n } else {\n genError(\"Cannot redefine existing key '\" + path + \"'.\", line, column);\n }\n }\n\n // Given a path 'a.b.c', create (as necessary) `start.a`,\n // `start.a.b`, and `start.a.b.c`, assigning `value` to `start.a.b.c`.\n // If `a` or `b` are arrays and have items in them, the last item in the\n // array is used as the context for the next sub-path.\n function deepRef(start, keys, value, line, column) {\n var traversed = [];\n var traversedPath = \"\";\n var path = keys.join(\".\");\n var ctx = start;\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n traversed.push(key);\n traversedPath = traversed.join(\".\");\n if (typeof ctx[key] === \"undefined\") {\n if (i === keys.length - 1) {\n ctx[key] = value;\n } else {\n ctx[key] = Object.create(null);\n }\n } else if (i !== keys.length - 1 && valueAssignments.indexOf(traversedPath) > -1) {\n // already a non-object value at key, can't be used as part of a new path\n genError(\"Cannot redefine existing key '\" + traversedPath + \"'.\", line, column);\n }\n\n ctx = ctx[key];\n if (ctx instanceof Array && ctx.length && i < keys.length - 1) {\n ctx = ctx[ctx.length - 1];\n }\n }\n\n return ctx;\n }\n\n function reduceArrayWithTypeChecking(array) {\n // Ensure that all items in the array are of the same type\n var firstType = null;\n for (var i = 0; i < array.length; i++) {\n var node = array[i];\n if (firstType === null) {\n firstType = node.type;\n } else {\n if (node.type !== firstType) {\n genError(\"Cannot add value of type \" + node.type + \" to array of type \" +\n firstType + \".\", node.line, node.column);\n }\n }\n }\n\n // Recursively reduce array of nodes into array of the nodes' values\n return array.map(reduceValueNode);\n }\n\n function quoteDottedString(str) {\n if (str.indexOf(\".\") > -1) {\n return \"\\\"\" + str + \"\\\"\";\n } else {\n return str;\n }\n }\n}\n\nmodule.exports = {\n compile: compile\n};\n","module.exports = (function() {\n /*\n * Generated by PEG.js 0.8.0.\n *\n * http://pegjs.majda.cz/\n */\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function SyntaxError(message, expected, found, offset, line, column) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.offset = offset;\n this.line = line;\n this.column = column;\n\n this.name = \"SyntaxError\";\n }\n\n peg$subclass(SyntaxError, Error);\n\n function parse(input) {\n var options = arguments.length > 1 ? arguments[1] : {},\n\n peg$FAILED = {},\n\n peg$startRuleFunctions = { start: peg$parsestart },\n peg$startRuleFunction = peg$parsestart,\n\n peg$c0 = [],\n peg$c1 = function() { return nodes },\n peg$c2 = peg$FAILED,\n peg$c3 = \"#\",\n peg$c4 = { type: \"literal\", value: \"#\", description: \"\\\"#\\\"\" },\n peg$c5 = void 0,\n peg$c6 = { type: \"any\", description: \"any character\" },\n peg$c7 = \"[\",\n peg$c8 = { type: \"literal\", value: \"[\", description: \"\\\"[\\\"\" },\n peg$c9 = \"]\",\n peg$c10 = { type: \"literal\", value: \"]\", description: \"\\\"]\\\"\" },\n peg$c11 = function(name) { addNode(node('ObjectPath', name, line, column)) },\n peg$c12 = function(name) { addNode(node('ArrayPath', name, line, column)) },\n peg$c13 = function(parts, name) { return parts.concat(name) },\n peg$c14 = function(name) { return [name] },\n peg$c15 = function(name) { return name },\n peg$c16 = \".\",\n peg$c17 = { type: \"literal\", value: \".\", description: \"\\\".\\\"\" },\n peg$c18 = \"=\",\n peg$c19 = { type: \"literal\", value: \"=\", description: \"\\\"=\\\"\" },\n peg$c20 = function(key, value) { addNode(node('Assign', value, line, column, key)) },\n peg$c21 = function(chars) { return chars.join('') },\n peg$c22 = function(node) { return node.value },\n peg$c23 = \"\\\"\\\"\\\"\",\n peg$c24 = { type: \"literal\", value: \"\\\"\\\"\\\"\", description: \"\\\"\\\\\\\"\\\\\\\"\\\\\\\"\\\"\" },\n peg$c25 = null,\n peg$c26 = function(chars) { return node('String', chars.join(''), line, column) },\n peg$c27 = \"\\\"\",\n peg$c28 = { type: \"literal\", value: \"\\\"\", description: \"\\\"\\\\\\\"\\\"\" },\n peg$c29 = \"'''\",\n peg$c30 = { type: \"literal\", value: \"'''\", description: \"\\\"'''\\\"\" },\n peg$c31 = \"'\",\n peg$c32 = { type: \"literal\", value: \"'\", description: \"\\\"'\\\"\" },\n peg$c33 = function(char) { return char },\n peg$c34 = function(char) { return char},\n peg$c35 = \"\\\\\",\n peg$c36 = { type: \"literal\", value: \"\\\\\", description: \"\\\"\\\\\\\\\\\"\" },\n peg$c37 = function() { return '' },\n peg$c38 = \"e\",\n peg$c39 = { type: \"literal\", value: \"e\", description: \"\\\"e\\\"\" },\n peg$c40 = \"E\",\n peg$c41 = { type: \"literal\", value: \"E\", description: \"\\\"E\\\"\" },\n peg$c42 = function(left, right) { return node('Float', parseFloat(left + 'e' + right), line, column) },\n peg$c43 = function(text) { return node('Float', parseFloat(text), line, column) },\n peg$c44 = \"+\",\n peg$c45 = { type: \"literal\", value: \"+\", description: \"\\\"+\\\"\" },\n peg$c46 = function(digits) { return digits.join('') },\n peg$c47 = \"-\",\n peg$c48 = { type: \"literal\", value: \"-\", description: \"\\\"-\\\"\" },\n peg$c49 = function(digits) { return '-' + digits.join('') },\n peg$c50 = function(text) { return node('Integer', parseInt(text, 10), line, column) },\n peg$c51 = \"true\",\n peg$c52 = { type: \"literal\", value: \"true\", description: \"\\\"true\\\"\" },\n peg$c53 = function() { return node('Boolean', true, line, column) },\n peg$c54 = \"false\",\n peg$c55 = { type: \"literal\", value: \"false\", description: \"\\\"false\\\"\" },\n peg$c56 = function() { return node('Boolean', false, line, column) },\n peg$c57 = function() { return node('Array', [], line, column) },\n peg$c58 = function(value) { return node('Array', value ? [value] : [], line, column) },\n peg$c59 = function(values) { return node('Array', values, line, column) },\n peg$c60 = function(values, value) { return node('Array', values.concat(value), line, column) },\n peg$c61 = function(value) { return value },\n peg$c62 = \",\",\n peg$c63 = { type: \"literal\", value: \",\", description: \"\\\",\\\"\" },\n peg$c64 = \"{\",\n peg$c65 = { type: \"literal\", value: \"{\", description: \"\\\"{\\\"\" },\n peg$c66 = \"}\",\n peg$c67 = { type: \"literal\", value: \"}\", description: \"\\\"}\\\"\" },\n peg$c68 = function(values) { return node('InlineTable', values, line, column) },\n peg$c69 = function(key, value) { return node('InlineTableValue', value, line, column, key) },\n peg$c70 = function(digits) { return \".\" + digits },\n peg$c71 = function(date) { return date.join('') },\n peg$c72 = \":\",\n peg$c73 = { type: \"literal\", value: \":\", description: \"\\\":\\\"\" },\n peg$c74 = function(time) { return time.join('') },\n peg$c75 = \"T\",\n peg$c76 = { type: \"literal\", value: \"T\", description: \"\\\"T\\\"\" },\n peg$c77 = \"Z\",\n peg$c78 = { type: \"literal\", value: \"Z\", description: \"\\\"Z\\\"\" },\n peg$c79 = function(date, time) { return node('Date', new Date(date + \"T\" + time + \"Z\"), line, column) },\n peg$c80 = function(date, time) { return node('Date', new Date(date + \"T\" + time), line, column) },\n peg$c81 = /^[ \\t]/,\n peg$c82 = { type: \"class\", value: \"[ \\\\t]\", description: \"[ \\\\t]\" },\n peg$c83 = \"\\n\",\n peg$c84 = { type: \"literal\", value: \"\\n\", description: \"\\\"\\\\n\\\"\" },\n peg$c85 = \"\\r\",\n peg$c86 = { type: \"literal\", value: \"\\r\", description: \"\\\"\\\\r\\\"\" },\n peg$c87 = /^[0-9a-f]/i,\n peg$c88 = { type: \"class\", value: \"[0-9a-f]i\", description: \"[0-9a-f]i\" },\n peg$c89 = /^[0-9]/,\n peg$c90 = { type: \"class\", value: \"[0-9]\", description: \"[0-9]\" },\n peg$c91 = \"_\",\n peg$c92 = { type: \"literal\", value: \"_\", description: \"\\\"_\\\"\" },\n peg$c93 = function() { return \"\" },\n peg$c94 = /^[A-Za-z0-9_\\-]/,\n peg$c95 = { type: \"class\", value: \"[A-Za-z0-9_\\\\-]\", description: \"[A-Za-z0-9_\\\\-]\" },\n peg$c96 = function(d) { return d.join('') },\n peg$c97 = \"\\\\\\\"\",\n peg$c98 = { type: \"literal\", value: \"\\\\\\\"\", description: \"\\\"\\\\\\\\\\\\\\\"\\\"\" },\n peg$c99 = function() { return '\"' },\n peg$c100 = \"\\\\\\\\\",\n peg$c101 = { type: \"literal\", value: \"\\\\\\\\\", description: \"\\\"\\\\\\\\\\\\\\\\\\\"\" },\n peg$c102 = function() { return '\\\\' },\n peg$c103 = \"\\\\b\",\n peg$c104 = { type: \"literal\", value: \"\\\\b\", description: \"\\\"\\\\\\\\b\\\"\" },\n peg$c105 = function() { return '\\b' },\n peg$c106 = \"\\\\t\",\n peg$c107 = { type: \"literal\", value: \"\\\\t\", description: \"\\\"\\\\\\\\t\\\"\" },\n peg$c108 = function() { return '\\t' },\n peg$c109 = \"\\\\n\",\n peg$c110 = { type: \"literal\", value: \"\\\\n\", description: \"\\\"\\\\\\\\n\\\"\" },\n peg$c111 = function() { return '\\n' },\n peg$c112 = \"\\\\f\",\n peg$c113 = { type: \"literal\", value: \"\\\\f\", description: \"\\\"\\\\\\\\f\\\"\" },\n peg$c114 = function() { return '\\f' },\n peg$c115 = \"\\\\r\",\n peg$c116 = { type: \"literal\", value: \"\\\\r\", description: \"\\\"\\\\\\\\r\\\"\" },\n peg$c117 = function() { return '\\r' },\n peg$c118 = \"\\\\U\",\n peg$c119 = { type: \"literal\", value: \"\\\\U\", description: \"\\\"\\\\\\\\U\\\"\" },\n peg$c120 = function(digits) { return convertCodePoint(digits.join('')) },\n peg$c121 = \"\\\\u\",\n peg$c122 = { type: \"literal\", value: \"\\\\u\", description: \"\\\"\\\\\\\\u\\\"\" },\n\n peg$currPos = 0,\n peg$reportedPos = 0,\n peg$cachedPos = 0,\n peg$cachedPosDetails = { line: 1, column: 1, seenCR: false },\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$cache = {},\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$reportedPos, peg$currPos);\n }\n\n function offset() {\n return peg$reportedPos;\n }\n\n function line() {\n return peg$computePosDetails(peg$reportedPos).line;\n }\n\n function column() {\n return peg$computePosDetails(peg$reportedPos).column;\n }\n\n function expected(description) {\n throw peg$buildException(\n null,\n [{ type: \"other\", description: description }],\n peg$reportedPos\n );\n }\n\n function error(message) {\n throw peg$buildException(message, null, peg$reportedPos);\n }\n\n function peg$computePosDetails(pos) {\n function advance(details, startPos, endPos) {\n var p, ch;\n\n for (p = startPos; p < endPos; p++) {\n ch = input.charAt(p);\n if (ch === \"\\n\") {\n if (!details.seenCR) { details.line++; }\n details.column = 1;\n details.seenCR = false;\n } else if (ch === \"\\r\" || ch === \"\\u2028\" || ch === \"\\u2029\") {\n details.line++;\n details.column = 1;\n details.seenCR = true;\n } else {\n details.column++;\n details.seenCR = false;\n }\n }\n }\n\n if (peg$cachedPos !== pos) {\n if (peg$cachedPos > pos) {\n peg$cachedPos = 0;\n peg$cachedPosDetails = { line: 1, column: 1, seenCR: false };\n }\n advance(peg$cachedPosDetails, peg$cachedPos, pos);\n peg$cachedPos = pos;\n }\n\n return peg$cachedPosDetails;\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildException(message, expected, pos) {\n function cleanupExpected(expected) {\n var i = 1;\n\n expected.sort(function(a, b) {\n if (a.description < b.description) {\n return -1;\n } else if (a.description > b.description) {\n return 1;\n } else {\n return 0;\n }\n });\n\n while (i < expected.length) {\n if (expected[i - 1] === expected[i]) {\n expected.splice(i, 1);\n } else {\n i++;\n }\n }\n }\n\n function buildMessage(expected, found) {\n function stringEscape(s) {\n function hex(ch) { return ch.charCodeAt(0).toString(16).toUpperCase(); }\n\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\x08/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x07\\x0B\\x0E\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x80-\\xFF]/g, function(ch) { return '\\\\x' + hex(ch); })\n .replace(/[\\u0180-\\u0FFF]/g, function(ch) { return '\\\\u0' + hex(ch); })\n .replace(/[\\u1080-\\uFFFF]/g, function(ch) { return '\\\\u' + hex(ch); });\n }\n\n var expectedDescs = new Array(expected.length),\n expectedDesc, foundDesc, i;\n\n for (i = 0; i < expected.length; i++) {\n expectedDescs[i] = expected[i].description;\n }\n\n expectedDesc = expected.length > 1\n ? expectedDescs.slice(0, -1).join(\", \")\n + \" or \"\n + expectedDescs[expected.length - 1]\n : expectedDescs[0];\n\n foundDesc = found ? \"\\\"\" + stringEscape(found) + \"\\\"\" : \"end of input\";\n\n return \"Expected \" + expectedDesc + \" but \" + foundDesc + \" found.\";\n }\n\n var posDetails = peg$computePosDetails(pos),\n found = pos < input.length ? input.charAt(pos) : null;\n\n if (expected !== null) {\n cleanupExpected(expected);\n }\n\n return new SyntaxError(\n message !== null ? message : buildMessage(expected, found),\n expected,\n found,\n pos,\n posDetails.line,\n posDetails.column\n );\n }\n\n function peg$parsestart() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 0,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseline();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseline();\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c1();\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseline() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n var key = peg$currPos * 49 + 1,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseexpression();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parsecomment();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parsecomment();\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseNL();\n if (s6 !== peg$FAILED) {\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseNL();\n }\n } else {\n s5 = peg$c2;\n }\n if (s5 === peg$FAILED) {\n s5 = peg$parseEOF();\n }\n if (s5 !== peg$FAILED) {\n s1 = [s1, s2, s3, s4, s5];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseNL();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseNL();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 === peg$FAILED) {\n s2 = peg$parseEOF();\n }\n if (s2 !== peg$FAILED) {\n s1 = [s1, s2];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$parseNL();\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseexpression() {\n var s0;\n\n var key = peg$currPos * 49 + 2,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parsecomment();\n if (s0 === peg$FAILED) {\n s0 = peg$parsepath();\n if (s0 === peg$FAILED) {\n s0 = peg$parsetablearray();\n if (s0 === peg$FAILED) {\n s0 = peg$parseassignment();\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsecomment() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 3,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 35) {\n s1 = peg$c3;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$currPos;\n s4 = peg$currPos;\n peg$silentFails++;\n s5 = peg$parseNL();\n if (s5 === peg$FAILED) {\n s5 = peg$parseEOF();\n }\n peg$silentFails--;\n if (s5 === peg$FAILED) {\n s4 = peg$c5;\n } else {\n peg$currPos = s4;\n s4 = peg$c2;\n }\n if (s4 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s5 !== peg$FAILED) {\n s4 = [s4, s5];\n s3 = s4;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$currPos;\n s4 = peg$currPos;\n peg$silentFails++;\n s5 = peg$parseNL();\n if (s5 === peg$FAILED) {\n s5 = peg$parseEOF();\n }\n peg$silentFails--;\n if (s5 === peg$FAILED) {\n s4 = peg$c5;\n } else {\n peg$currPos = s4;\n s4 = peg$c2;\n }\n if (s4 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s5 !== peg$FAILED) {\n s4 = [s4, s5];\n s3 = s4;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n }\n if (s2 !== peg$FAILED) {\n s1 = [s1, s2];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsepath() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 4,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsetable_key();\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s5 = peg$c9;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c11(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetablearray() {\n var s0, s1, s2, s3, s4, s5, s6, s7;\n\n var key = peg$currPos * 49 + 5,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 91) {\n s2 = peg$c7;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n s4 = peg$parsetable_key();\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s6 = peg$c9;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s7 = peg$c9;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s7 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c12(s4);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetable_key() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 6,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsedot_ended_table_key_part();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsedot_ended_table_key_part();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsetable_key_part();\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c13(s1, s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsetable_key_part();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c14(s1);\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetable_key_part() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 7,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsequoted_key();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedot_ended_table_key_part() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n var key = peg$currPos * 49 + 8,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsequoted_key();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c15(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseassignment() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 9,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsekey();\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s3 = peg$c18;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parsevalue();\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c20(s1, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsequoted_key();\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s3 = peg$c18;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parsevalue();\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c20(s1, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsekey() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 10,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseASCII_BASIC();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseASCII_BASIC();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c21(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsequoted_key() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 11,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsedouble_quoted_single_line_string();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c22(s1);\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsesingle_quoted_single_line_string();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c22(s1);\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsevalue() {\n var s0;\n\n var key = peg$currPos * 49 + 12,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parsestring();\n if (s0 === peg$FAILED) {\n s0 = peg$parsedatetime();\n if (s0 === peg$FAILED) {\n s0 = peg$parsefloat();\n if (s0 === peg$FAILED) {\n s0 = peg$parseinteger();\n if (s0 === peg$FAILED) {\n s0 = peg$parseboolean();\n if (s0 === peg$FAILED) {\n s0 = peg$parsearray();\n if (s0 === peg$FAILED) {\n s0 = peg$parseinline_table();\n }\n }\n }\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsestring() {\n var s0;\n\n var key = peg$currPos * 49 + 13,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parsedouble_quoted_multiline_string();\n if (s0 === peg$FAILED) {\n s0 = peg$parsedouble_quoted_single_line_string();\n if (s0 === peg$FAILED) {\n s0 = peg$parsesingle_quoted_multiline_string();\n if (s0 === peg$FAILED) {\n s0 = peg$parsesingle_quoted_single_line_string();\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedouble_quoted_multiline_string() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 14,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 3) === peg$c23) {\n s1 = peg$c23;\n peg$currPos += 3;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c24); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseNL();\n if (s2 === peg$FAILED) {\n s2 = peg$c25;\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsemultiline_string_char();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsemultiline_string_char();\n }\n if (s3 !== peg$FAILED) {\n if (input.substr(peg$currPos, 3) === peg$c23) {\n s4 = peg$c23;\n peg$currPos += 3;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c24); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedouble_quoted_single_line_string() {\n var s0, s1, s2, s3;\n\n var key = peg$currPos * 49 + 15,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 34) {\n s1 = peg$c27;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c28); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsestring_char();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsestring_char();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 34) {\n s3 = peg$c27;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c28); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsesingle_quoted_multiline_string() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 16,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 3) === peg$c29) {\n s1 = peg$c29;\n peg$currPos += 3;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c30); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseNL();\n if (s2 === peg$FAILED) {\n s2 = peg$c25;\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsemultiline_literal_char();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsemultiline_literal_char();\n }\n if (s3 !== peg$FAILED) {\n if (input.substr(peg$currPos, 3) === peg$c29) {\n s4 = peg$c29;\n peg$currPos += 3;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c30); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsesingle_quoted_single_line_string() {\n var s0, s1, s2, s3;\n\n var key = peg$currPos * 49 + 17,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 39) {\n s1 = peg$c31;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c32); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseliteral_char();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseliteral_char();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 39) {\n s3 = peg$c31;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c32); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c26(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsestring_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 18,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseESCAPED();\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 34) {\n s2 = peg$c27;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c28); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c33(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseliteral_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 19,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 39) {\n s2 = peg$c31;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c32); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c33(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsemultiline_string_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 20,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseESCAPED();\n if (s0 === peg$FAILED) {\n s0 = peg$parsemultiline_string_delim();\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.substr(peg$currPos, 3) === peg$c23) {\n s2 = peg$c23;\n peg$currPos += 3;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c24); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c34(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsemultiline_string_delim() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 21,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 92) {\n s1 = peg$c35;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c36); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseNL();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseNLS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseNLS();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c37();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsemultiline_literal_char() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 22,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n peg$silentFails++;\n if (input.substr(peg$currPos, 3) === peg$c29) {\n s2 = peg$c29;\n peg$currPos += 3;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c30); }\n }\n peg$silentFails--;\n if (s2 === peg$FAILED) {\n s1 = peg$c5;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c33(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsefloat() {\n var s0, s1, s2, s3;\n\n var key = peg$currPos * 49 + 23,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsefloat_text();\n if (s1 === peg$FAILED) {\n s1 = peg$parseinteger_text();\n }\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 101) {\n s2 = peg$c38;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c39); }\n }\n if (s2 === peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 69) {\n s2 = peg$c40;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c41); }\n }\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parseinteger_text();\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c42(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsefloat_text();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c43(s1);\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsefloat_text() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 24,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 43) {\n s1 = peg$c44;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c45); }\n }\n if (s1 === peg$FAILED) {\n s1 = peg$c25;\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseDIGITS();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGITS();\n if (s5 !== peg$FAILED) {\n s3 = [s3, s4, s5];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c46(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 45) {\n s1 = peg$c47;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseDIGITS();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGITS();\n if (s5 !== peg$FAILED) {\n s3 = [s3, s4, s5];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c49(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinteger() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 25,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parseinteger_text();\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c50(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinteger_text() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 26,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 43) {\n s1 = peg$c44;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c45); }\n }\n if (s1 === peg$FAILED) {\n s1 = peg$c25;\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseDIGIT_OR_UNDER();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = peg$c5;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c46(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 45) {\n s1 = peg$c47;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseDIGIT_OR_UNDER();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$currPos;\n peg$silentFails++;\n if (input.charCodeAt(peg$currPos) === 46) {\n s4 = peg$c16;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = peg$c5;\n } else {\n peg$currPos = s3;\n s3 = peg$c2;\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c49(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseboolean() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 27,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 4) === peg$c51) {\n s1 = peg$c51;\n peg$currPos += 4;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c52); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c53();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 5) === peg$c54) {\n s1 = peg$c54;\n peg$currPos += 5;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c55); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c56();\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 28,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsearray_sep();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsearray_sep();\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c9;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c57();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsearray_value();\n if (s2 === peg$FAILED) {\n s2 = peg$c25;\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c9;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c58(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsearray_value_list();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsearray_value_list();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c9;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c59(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c7;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsearray_value_list();\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsearray_value_list();\n }\n } else {\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsearray_value();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s4 = peg$c9;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c10); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c60(s2, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray_value() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 29,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsearray_sep();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsearray_sep();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsevalue();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsearray_sep();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsearray_sep();\n }\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c61(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray_value_list() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n var key = peg$currPos * 49 + 30,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsearray_sep();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsearray_sep();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsevalue();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsearray_sep();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsearray_sep();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s4 = peg$c62;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c63); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parsearray_sep();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parsearray_sep();\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c61(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsearray_sep() {\n var s0;\n\n var key = peg$currPos * 49 + 31,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseS();\n if (s0 === peg$FAILED) {\n s0 = peg$parseNL();\n if (s0 === peg$FAILED) {\n s0 = peg$parsecomment();\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinline_table() {\n var s0, s1, s2, s3, s4, s5;\n\n var key = peg$currPos * 49 + 32,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c64;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c65); }\n }\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parseS();\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parseS();\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseinline_table_assignment();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseinline_table_assignment();\n }\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parseS();\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parseS();\n }\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s5 = peg$c66;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c67); }\n }\n if (s5 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c68(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseinline_table_assignment() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;\n\n var key = peg$currPos * 49 + 33,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s4 = peg$c18;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n s6 = peg$parsevalue();\n if (s6 !== peg$FAILED) {\n s7 = [];\n s8 = peg$parseS();\n while (s8 !== peg$FAILED) {\n s7.push(s8);\n s8 = peg$parseS();\n }\n if (s7 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s8 = peg$c62;\n peg$currPos++;\n } else {\n s8 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c63); }\n }\n if (s8 !== peg$FAILED) {\n s9 = [];\n s10 = peg$parseS();\n while (s10 !== peg$FAILED) {\n s9.push(s10);\n s10 = peg$parseS();\n }\n if (s9 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c69(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseS();\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseS();\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parsekey();\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseS();\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseS();\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 61) {\n s4 = peg$c18;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c19); }\n }\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseS();\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseS();\n }\n if (s5 !== peg$FAILED) {\n s6 = peg$parsevalue();\n if (s6 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c69(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsesecfragment() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 34,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 46) {\n s1 = peg$c16;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c17); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseDIGITS();\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c70(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedate() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;\n\n var key = peg$currPos * 49 + 35,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n s4 = peg$parseDIGIT_OR_UNDER();\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGIT_OR_UNDER();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 45) {\n s6 = peg$c47;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s6 !== peg$FAILED) {\n s7 = peg$parseDIGIT_OR_UNDER();\n if (s7 !== peg$FAILED) {\n s8 = peg$parseDIGIT_OR_UNDER();\n if (s8 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 45) {\n s9 = peg$c47;\n peg$currPos++;\n } else {\n s9 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s9 !== peg$FAILED) {\n s10 = peg$parseDIGIT_OR_UNDER();\n if (s10 !== peg$FAILED) {\n s11 = peg$parseDIGIT_OR_UNDER();\n if (s11 !== peg$FAILED) {\n s2 = [s2, s3, s4, s5, s6, s7, s8, s9, s10, s11];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c71(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetime() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;\n\n var key = peg$currPos * 49 + 36,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s4 = peg$c72;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGIT_OR_UNDER();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseDIGIT_OR_UNDER();\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s7 = peg$c72;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s7 !== peg$FAILED) {\n s8 = peg$parseDIGIT_OR_UNDER();\n if (s8 !== peg$FAILED) {\n s9 = peg$parseDIGIT_OR_UNDER();\n if (s9 !== peg$FAILED) {\n s10 = peg$parsesecfragment();\n if (s10 === peg$FAILED) {\n s10 = peg$c25;\n }\n if (s10 !== peg$FAILED) {\n s2 = [s2, s3, s4, s5, s6, s7, s8, s9, s10];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c74(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsetime_with_offset() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16;\n\n var key = peg$currPos * 49 + 37,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n s3 = peg$parseDIGIT_OR_UNDER();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s4 = peg$c72;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseDIGIT_OR_UNDER();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseDIGIT_OR_UNDER();\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s7 = peg$c72;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s7 !== peg$FAILED) {\n s8 = peg$parseDIGIT_OR_UNDER();\n if (s8 !== peg$FAILED) {\n s9 = peg$parseDIGIT_OR_UNDER();\n if (s9 !== peg$FAILED) {\n s10 = peg$parsesecfragment();\n if (s10 === peg$FAILED) {\n s10 = peg$c25;\n }\n if (s10 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 45) {\n s11 = peg$c47;\n peg$currPos++;\n } else {\n s11 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c48); }\n }\n if (s11 === peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 43) {\n s11 = peg$c44;\n peg$currPos++;\n } else {\n s11 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c45); }\n }\n }\n if (s11 !== peg$FAILED) {\n s12 = peg$parseDIGIT_OR_UNDER();\n if (s12 !== peg$FAILED) {\n s13 = peg$parseDIGIT_OR_UNDER();\n if (s13 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 58) {\n s14 = peg$c72;\n peg$currPos++;\n } else {\n s14 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c73); }\n }\n if (s14 !== peg$FAILED) {\n s15 = peg$parseDIGIT_OR_UNDER();\n if (s15 !== peg$FAILED) {\n s16 = peg$parseDIGIT_OR_UNDER();\n if (s16 !== peg$FAILED) {\n s2 = [s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c74(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parsedatetime() {\n var s0, s1, s2, s3, s4;\n\n var key = peg$currPos * 49 + 38,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = peg$parsedate();\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 84) {\n s2 = peg$c75;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c76); }\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsetime();\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 90) {\n s4 = peg$c77;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c78); }\n }\n if (s4 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c79(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsedate();\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 84) {\n s2 = peg$c75;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c76); }\n }\n if (s2 !== peg$FAILED) {\n s3 = peg$parsetime_with_offset();\n if (s3 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c80(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseS() {\n var s0;\n\n var key = peg$currPos * 49 + 39,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c81.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c82); }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseNL() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 40,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (input.charCodeAt(peg$currPos) === 10) {\n s0 = peg$c83;\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c84); }\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 13) {\n s1 = peg$c85;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c86); }\n }\n if (s1 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 10) {\n s2 = peg$c83;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c84); }\n }\n if (s2 !== peg$FAILED) {\n s1 = [s1, s2];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseNLS() {\n var s0;\n\n var key = peg$currPos * 49 + 41,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$parseNL();\n if (s0 === peg$FAILED) {\n s0 = peg$parseS();\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseEOF() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 42,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n peg$silentFails++;\n if (input.length > peg$currPos) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n peg$silentFails--;\n if (s1 === peg$FAILED) {\n s0 = peg$c5;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseHEX() {\n var s0;\n\n var key = peg$currPos * 49 + 43,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c87.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c88); }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseDIGIT_OR_UNDER() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 44,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c89.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c90); }\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 95) {\n s1 = peg$c91;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c92); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c93();\n }\n s0 = s1;\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseASCII_BASIC() {\n var s0;\n\n var key = peg$currPos * 49 + 45,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n if (peg$c94.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c95); }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseDIGITS() {\n var s0, s1, s2;\n\n var key = peg$currPos * 49 + 46,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseDIGIT_OR_UNDER();\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseDIGIT_OR_UNDER();\n }\n } else {\n s1 = peg$c2;\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c96(s1);\n }\n s0 = s1;\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseESCAPED() {\n var s0, s1;\n\n var key = peg$currPos * 49 + 47,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c97) {\n s1 = peg$c97;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c98); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c99();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c100) {\n s1 = peg$c100;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c101); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c102();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c103) {\n s1 = peg$c103;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c104); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c105();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c106) {\n s1 = peg$c106;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c107); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c108();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c109) {\n s1 = peg$c109;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c110); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c111();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c112) {\n s1 = peg$c112;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c113); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c114();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c115) {\n s1 = peg$c115;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c116); }\n }\n if (s1 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c117();\n }\n s0 = s1;\n if (s0 === peg$FAILED) {\n s0 = peg$parseESCAPED_UNICODE();\n }\n }\n }\n }\n }\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n function peg$parseESCAPED_UNICODE() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;\n\n var key = peg$currPos * 49 + 48,\n cached = peg$cache[key];\n\n if (cached) {\n peg$currPos = cached.nextPos;\n return cached.result;\n }\n\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c118) {\n s1 = peg$c118;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c119); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseHEX();\n if (s3 !== peg$FAILED) {\n s4 = peg$parseHEX();\n if (s4 !== peg$FAILED) {\n s5 = peg$parseHEX();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseHEX();\n if (s6 !== peg$FAILED) {\n s7 = peg$parseHEX();\n if (s7 !== peg$FAILED) {\n s8 = peg$parseHEX();\n if (s8 !== peg$FAILED) {\n s9 = peg$parseHEX();\n if (s9 !== peg$FAILED) {\n s10 = peg$parseHEX();\n if (s10 !== peg$FAILED) {\n s3 = [s3, s4, s5, s6, s7, s8, s9, s10];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c120(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n if (input.substr(peg$currPos, 2) === peg$c121) {\n s1 = peg$c121;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c122); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$parseHEX();\n if (s3 !== peg$FAILED) {\n s4 = peg$parseHEX();\n if (s4 !== peg$FAILED) {\n s5 = peg$parseHEX();\n if (s5 !== peg$FAILED) {\n s6 = peg$parseHEX();\n if (s6 !== peg$FAILED) {\n s3 = [s3, s4, s5, s6];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$c2;\n }\n if (s2 !== peg$FAILED) {\n peg$reportedPos = s0;\n s1 = peg$c120(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$c2;\n }\n }\n\n peg$cache[key] = { nextPos: peg$currPos, result: s0 };\n\n return s0;\n }\n\n\n var nodes = [];\n\n function genError(err, line, col) {\n var ex = new Error(err);\n ex.line = line;\n ex.column = col;\n throw ex;\n }\n\n function addNode(node) {\n nodes.push(node);\n }\n\n function node(type, value, line, column, key) {\n var obj = { type: type, value: value, line: line(), column: column() };\n if (key) obj.key = key;\n return obj;\n }\n\n function convertCodePoint(str, line, col) {\n var num = parseInt(\"0x\" + str);\n\n if (\n !isFinite(num) ||\n Math.floor(num) != num ||\n num < 0 ||\n num > 0x10FFFF ||\n (num > 0xD7FF && num < 0xE000)\n ) {\n genError(\"Invalid Unicode escape code: \" + str, line, col);\n } else {\n return fromCodePoint(num);\n }\n }\n\n function fromCodePoint() {\n var MAX_SIZE = 0x4000;\n var codeUnits = [];\n var highSurrogate;\n var lowSurrogate;\n var index = -1;\n var length = arguments.length;\n if (!length) {\n return '';\n }\n var result = '';\n while (++index < length) {\n var codePoint = Number(arguments[index]);\n if (codePoint <= 0xFFFF) { // BMP code point\n codeUnits.push(codePoint);\n } else { // Astral code point; split in surrogate halves\n // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n highSurrogate = (codePoint >> 10) + 0xD800;\n lowSurrogate = (codePoint % 0x400) + 0xDC00;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 == length || codeUnits.length > MAX_SIZE) {\n result += String.fromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n }\n\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail({ type: \"end\", description: \"end of input\" });\n }\n\n throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos);\n }\n }\n\n return {\n SyntaxError: SyntaxError,\n parse: parse\n };\n})();\n","/**\n * @license\n * web-streams-polyfill v3.3.2\n * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.\n * This code is released under the MIT license.\n * SPDX-License-Identifier: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WebStreamsPolyfill = {}));\n})(this, (function (exports) { 'use strict';\n\n /// \n const SymbolPolyfill = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ?\n Symbol :\n description => `Symbol(${description})`;\n\n function noop() {\n return undefined;\n }\n\n function typeIsObject(x) {\n return (typeof x === 'object' && x !== null) || typeof x === 'function';\n }\n const rethrowAssertionErrorRejection = noop;\n function setFunctionName(fn, name) {\n try {\n Object.defineProperty(fn, 'name', {\n value: name,\n configurable: true\n });\n }\n catch (_a) {\n // This property is non-configurable in older browsers, so ignore if this throws.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility\n }\n }\n\n const originalPromise = Promise;\n const originalPromiseThen = Promise.prototype.then;\n const originalPromiseReject = Promise.reject.bind(originalPromise);\n // https://webidl.spec.whatwg.org/#a-new-promise\n function newPromise(executor) {\n return new originalPromise(executor);\n }\n // https://webidl.spec.whatwg.org/#a-promise-resolved-with\n function promiseResolvedWith(value) {\n return newPromise(resolve => resolve(value));\n }\n // https://webidl.spec.whatwg.org/#a-promise-rejected-with\n function promiseRejectedWith(reason) {\n return originalPromiseReject(reason);\n }\n function PerformPromiseThen(promise, onFulfilled, onRejected) {\n // There doesn't appear to be any way to correctly emulate the behaviour from JavaScript, so this is just an\n // approximation.\n return originalPromiseThen.call(promise, onFulfilled, onRejected);\n }\n // Bluebird logs a warning when a promise is created within a fulfillment handler, but then isn't returned\n // from that handler. To prevent this, return null instead of void from all handlers.\n // http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it\n function uponPromise(promise, onFulfilled, onRejected) {\n PerformPromiseThen(PerformPromiseThen(promise, onFulfilled, onRejected), undefined, rethrowAssertionErrorRejection);\n }\n function uponFulfillment(promise, onFulfilled) {\n uponPromise(promise, onFulfilled);\n }\n function uponRejection(promise, onRejected) {\n uponPromise(promise, undefined, onRejected);\n }\n function transformPromiseWith(promise, fulfillmentHandler, rejectionHandler) {\n return PerformPromiseThen(promise, fulfillmentHandler, rejectionHandler);\n }\n function setPromiseIsHandledToTrue(promise) {\n PerformPromiseThen(promise, undefined, rethrowAssertionErrorRejection);\n }\n let _queueMicrotask = callback => {\n if (typeof queueMicrotask === 'function') {\n _queueMicrotask = queueMicrotask;\n }\n else {\n const resolvedPromise = promiseResolvedWith(undefined);\n _queueMicrotask = cb => PerformPromiseThen(resolvedPromise, cb);\n }\n return _queueMicrotask(callback);\n };\n function reflectCall(F, V, args) {\n if (typeof F !== 'function') {\n throw new TypeError('Argument is not a function');\n }\n return Function.prototype.apply.call(F, V, args);\n }\n function promiseCall(F, V, args) {\n try {\n return promiseResolvedWith(reflectCall(F, V, args));\n }\n catch (value) {\n return promiseRejectedWith(value);\n }\n }\n\n // Original from Chromium\n // https://chromium.googlesource.com/chromium/src/+/0aee4434a4dba42a42abaea9bfbc0cd196a63bc1/third_party/blink/renderer/core/streams/SimpleQueue.js\n const QUEUE_MAX_ARRAY_SIZE = 16384;\n /**\n * Simple queue structure.\n *\n * Avoids scalability issues with using a packed array directly by using\n * multiple arrays in a linked list and keeping the array size bounded.\n */\n class SimpleQueue {\n constructor() {\n this._cursor = 0;\n this._size = 0;\n // _front and _back are always defined.\n this._front = {\n _elements: [],\n _next: undefined\n };\n this._back = this._front;\n // The cursor is used to avoid calling Array.shift().\n // It contains the index of the front element of the array inside the\n // front-most node. It is always in the range [0, QUEUE_MAX_ARRAY_SIZE).\n this._cursor = 0;\n // When there is only one node, size === elements.length - cursor.\n this._size = 0;\n }\n get length() {\n return this._size;\n }\n // For exception safety, this method is structured in order:\n // 1. Read state\n // 2. Calculate required state mutations\n // 3. Perform state mutations\n push(element) {\n const oldBack = this._back;\n let newBack = oldBack;\n if (oldBack._elements.length === QUEUE_MAX_ARRAY_SIZE - 1) {\n newBack = {\n _elements: [],\n _next: undefined\n };\n }\n // push() is the mutation most likely to throw an exception, so it\n // goes first.\n oldBack._elements.push(element);\n if (newBack !== oldBack) {\n this._back = newBack;\n oldBack._next = newBack;\n }\n ++this._size;\n }\n // Like push(), shift() follows the read -> calculate -> mutate pattern for\n // exception safety.\n shift() { // must not be called on an empty queue\n const oldFront = this._front;\n let newFront = oldFront;\n const oldCursor = this._cursor;\n let newCursor = oldCursor + 1;\n const elements = oldFront._elements;\n const element = elements[oldCursor];\n if (newCursor === QUEUE_MAX_ARRAY_SIZE) {\n newFront = oldFront._next;\n newCursor = 0;\n }\n // No mutations before this point.\n --this._size;\n this._cursor = newCursor;\n if (oldFront !== newFront) {\n this._front = newFront;\n }\n // Permit shifted element to be garbage collected.\n elements[oldCursor] = undefined;\n return element;\n }\n // The tricky thing about forEach() is that it can be called\n // re-entrantly. The queue may be mutated inside the callback. It is easy to\n // see that push() within the callback has no negative effects since the end\n // of the queue is checked for on every iteration. If shift() is called\n // repeatedly within the callback then the next iteration may return an\n // element that has been removed. In this case the callback will be called\n // with undefined values until we either \"catch up\" with elements that still\n // exist or reach the back of the queue.\n forEach(callback) {\n let i = this._cursor;\n let node = this._front;\n let elements = node._elements;\n while (i !== elements.length || node._next !== undefined) {\n if (i === elements.length) {\n node = node._next;\n elements = node._elements;\n i = 0;\n if (elements.length === 0) {\n break;\n }\n }\n callback(elements[i]);\n ++i;\n }\n }\n // Return the element that would be returned if shift() was called now,\n // without modifying the queue.\n peek() { // must not be called on an empty queue\n const front = this._front;\n const cursor = this._cursor;\n return front._elements[cursor];\n }\n }\n\n const AbortSteps = SymbolPolyfill('[[AbortSteps]]');\n const ErrorSteps = SymbolPolyfill('[[ErrorSteps]]');\n const CancelSteps = SymbolPolyfill('[[CancelSteps]]');\n const PullSteps = SymbolPolyfill('[[PullSteps]]');\n const ReleaseSteps = SymbolPolyfill('[[ReleaseSteps]]');\n\n function ReadableStreamReaderGenericInitialize(reader, stream) {\n reader._ownerReadableStream = stream;\n stream._reader = reader;\n if (stream._state === 'readable') {\n defaultReaderClosedPromiseInitialize(reader);\n }\n else if (stream._state === 'closed') {\n defaultReaderClosedPromiseInitializeAsResolved(reader);\n }\n else {\n defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError);\n }\n }\n // A client of ReadableStreamDefaultReader and ReadableStreamBYOBReader may use these functions directly to bypass state\n // check.\n function ReadableStreamReaderGenericCancel(reader, reason) {\n const stream = reader._ownerReadableStream;\n return ReadableStreamCancel(stream, reason);\n }\n function ReadableStreamReaderGenericRelease(reader) {\n const stream = reader._ownerReadableStream;\n if (stream._state === 'readable') {\n defaultReaderClosedPromiseReject(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));\n }\n else {\n defaultReaderClosedPromiseResetToRejected(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`));\n }\n stream._readableStreamController[ReleaseSteps]();\n stream._reader = undefined;\n reader._ownerReadableStream = undefined;\n }\n // Helper functions for the readers.\n function readerLockException(name) {\n return new TypeError('Cannot ' + name + ' a stream using a released reader');\n }\n // Helper functions for the ReadableStreamDefaultReader.\n function defaultReaderClosedPromiseInitialize(reader) {\n reader._closedPromise = newPromise((resolve, reject) => {\n reader._closedPromise_resolve = resolve;\n reader._closedPromise_reject = reject;\n });\n }\n function defaultReaderClosedPromiseInitializeAsRejected(reader, reason) {\n defaultReaderClosedPromiseInitialize(reader);\n defaultReaderClosedPromiseReject(reader, reason);\n }\n function defaultReaderClosedPromiseInitializeAsResolved(reader) {\n defaultReaderClosedPromiseInitialize(reader);\n defaultReaderClosedPromiseResolve(reader);\n }\n function defaultReaderClosedPromiseReject(reader, reason) {\n if (reader._closedPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(reader._closedPromise);\n reader._closedPromise_reject(reason);\n reader._closedPromise_resolve = undefined;\n reader._closedPromise_reject = undefined;\n }\n function defaultReaderClosedPromiseResetToRejected(reader, reason) {\n defaultReaderClosedPromiseInitializeAsRejected(reader, reason);\n }\n function defaultReaderClosedPromiseResolve(reader) {\n if (reader._closedPromise_resolve === undefined) {\n return;\n }\n reader._closedPromise_resolve(undefined);\n reader._closedPromise_resolve = undefined;\n reader._closedPromise_reject = undefined;\n }\n\n /// \n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill\n const NumberIsFinite = Number.isFinite || function (x) {\n return typeof x === 'number' && isFinite(x);\n };\n\n /// \n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc#Polyfill\n const MathTrunc = Math.trunc || function (v) {\n return v < 0 ? Math.ceil(v) : Math.floor(v);\n };\n\n // https://heycam.github.io/webidl/#idl-dictionaries\n function isDictionary(x) {\n return typeof x === 'object' || typeof x === 'function';\n }\n function assertDictionary(obj, context) {\n if (obj !== undefined && !isDictionary(obj)) {\n throw new TypeError(`${context} is not an object.`);\n }\n }\n // https://heycam.github.io/webidl/#idl-callback-functions\n function assertFunction(x, context) {\n if (typeof x !== 'function') {\n throw new TypeError(`${context} is not a function.`);\n }\n }\n // https://heycam.github.io/webidl/#idl-object\n function isObject(x) {\n return (typeof x === 'object' && x !== null) || typeof x === 'function';\n }\n function assertObject(x, context) {\n if (!isObject(x)) {\n throw new TypeError(`${context} is not an object.`);\n }\n }\n function assertRequiredArgument(x, position, context) {\n if (x === undefined) {\n throw new TypeError(`Parameter ${position} is required in '${context}'.`);\n }\n }\n function assertRequiredField(x, field, context) {\n if (x === undefined) {\n throw new TypeError(`${field} is required in '${context}'.`);\n }\n }\n // https://heycam.github.io/webidl/#idl-unrestricted-double\n function convertUnrestrictedDouble(value) {\n return Number(value);\n }\n function censorNegativeZero(x) {\n return x === 0 ? 0 : x;\n }\n function integerPart(x) {\n return censorNegativeZero(MathTrunc(x));\n }\n // https://heycam.github.io/webidl/#idl-unsigned-long-long\n function convertUnsignedLongLongWithEnforceRange(value, context) {\n const lowerBound = 0;\n const upperBound = Number.MAX_SAFE_INTEGER;\n let x = Number(value);\n x = censorNegativeZero(x);\n if (!NumberIsFinite(x)) {\n throw new TypeError(`${context} is not a finite number`);\n }\n x = integerPart(x);\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(`${context} is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`);\n }\n if (!NumberIsFinite(x) || x === 0) {\n return 0;\n }\n // TODO Use BigInt if supported?\n // let xBigInt = BigInt(integerPart(x));\n // xBigInt = BigInt.asUintN(64, xBigInt);\n // return Number(xBigInt);\n return x;\n }\n\n function assertReadableStream(x, context) {\n if (!IsReadableStream(x)) {\n throw new TypeError(`${context} is not a ReadableStream.`);\n }\n }\n\n // Abstract operations for the ReadableStream.\n function AcquireReadableStreamDefaultReader(stream) {\n return new ReadableStreamDefaultReader(stream);\n }\n // ReadableStream API exposed for controllers.\n function ReadableStreamAddReadRequest(stream, readRequest) {\n stream._reader._readRequests.push(readRequest);\n }\n function ReadableStreamFulfillReadRequest(stream, chunk, done) {\n const reader = stream._reader;\n const readRequest = reader._readRequests.shift();\n if (done) {\n readRequest._closeSteps();\n }\n else {\n readRequest._chunkSteps(chunk);\n }\n }\n function ReadableStreamGetNumReadRequests(stream) {\n return stream._reader._readRequests.length;\n }\n function ReadableStreamHasDefaultReader(stream) {\n const reader = stream._reader;\n if (reader === undefined) {\n return false;\n }\n if (!IsReadableStreamDefaultReader(reader)) {\n return false;\n }\n return true;\n }\n /**\n * A default reader vended by a {@link ReadableStream}.\n *\n * @public\n */\n class ReadableStreamDefaultReader {\n constructor(stream) {\n assertRequiredArgument(stream, 1, 'ReadableStreamDefaultReader');\n assertReadableStream(stream, 'First parameter');\n if (IsReadableStreamLocked(stream)) {\n throw new TypeError('This stream has already been locked for exclusive reading by another reader');\n }\n ReadableStreamReaderGenericInitialize(this, stream);\n this._readRequests = new SimpleQueue();\n }\n /**\n * Returns a promise that will be fulfilled when the stream becomes closed,\n * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing.\n */\n get closed() {\n if (!IsReadableStreamDefaultReader(this)) {\n return promiseRejectedWith(defaultReaderBrandCheckException('closed'));\n }\n return this._closedPromise;\n }\n /**\n * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.\n */\n cancel(reason = undefined) {\n if (!IsReadableStreamDefaultReader(this)) {\n return promiseRejectedWith(defaultReaderBrandCheckException('cancel'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('cancel'));\n }\n return ReadableStreamReaderGenericCancel(this, reason);\n }\n /**\n * Returns a promise that allows access to the next chunk from the stream's internal queue, if available.\n *\n * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source.\n */\n read() {\n if (!IsReadableStreamDefaultReader(this)) {\n return promiseRejectedWith(defaultReaderBrandCheckException('read'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('read from'));\n }\n let resolvePromise;\n let rejectPromise;\n const promise = newPromise((resolve, reject) => {\n resolvePromise = resolve;\n rejectPromise = reject;\n });\n const readRequest = {\n _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),\n _closeSteps: () => resolvePromise({ value: undefined, done: true }),\n _errorSteps: e => rejectPromise(e)\n };\n ReadableStreamDefaultReaderRead(this, readRequest);\n return promise;\n }\n /**\n * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.\n * If the associated stream is errored when the lock is released, the reader will appear errored in the same way\n * from now on; otherwise, the reader will appear closed.\n *\n * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by\n * the reader's {@link ReadableStreamDefaultReader.read | read()} method has not yet been settled. Attempting to\n * do so will throw a `TypeError` and leave the reader locked to the stream.\n */\n releaseLock() {\n if (!IsReadableStreamDefaultReader(this)) {\n throw defaultReaderBrandCheckException('releaseLock');\n }\n if (this._ownerReadableStream === undefined) {\n return;\n }\n ReadableStreamDefaultReaderRelease(this);\n }\n }\n Object.defineProperties(ReadableStreamDefaultReader.prototype, {\n cancel: { enumerable: true },\n read: { enumerable: true },\n releaseLock: { enumerable: true },\n closed: { enumerable: true }\n });\n setFunctionName(ReadableStreamDefaultReader.prototype.cancel, 'cancel');\n setFunctionName(ReadableStreamDefaultReader.prototype.read, 'read');\n setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock, 'releaseLock');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamDefaultReader.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamDefaultReader',\n configurable: true\n });\n }\n // Abstract operations for the readers.\n function IsReadableStreamDefaultReader(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_readRequests')) {\n return false;\n }\n return x instanceof ReadableStreamDefaultReader;\n }\n function ReadableStreamDefaultReaderRead(reader, readRequest) {\n const stream = reader._ownerReadableStream;\n stream._disturbed = true;\n if (stream._state === 'closed') {\n readRequest._closeSteps();\n }\n else if (stream._state === 'errored') {\n readRequest._errorSteps(stream._storedError);\n }\n else {\n stream._readableStreamController[PullSteps](readRequest);\n }\n }\n function ReadableStreamDefaultReaderRelease(reader) {\n ReadableStreamReaderGenericRelease(reader);\n const e = new TypeError('Reader was released');\n ReadableStreamDefaultReaderErrorReadRequests(reader, e);\n }\n function ReadableStreamDefaultReaderErrorReadRequests(reader, e) {\n const readRequests = reader._readRequests;\n reader._readRequests = new SimpleQueue();\n readRequests.forEach(readRequest => {\n readRequest._errorSteps(e);\n });\n }\n // Helper functions for the ReadableStreamDefaultReader.\n function defaultReaderBrandCheckException(name) {\n return new TypeError(`ReadableStreamDefaultReader.prototype.${name} can only be used on a ReadableStreamDefaultReader`);\n }\n\n /// \n /* eslint-disable @typescript-eslint/no-empty-function */\n const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () { }).prototype);\n\n /// \n class ReadableStreamAsyncIteratorImpl {\n constructor(reader, preventCancel) {\n this._ongoingPromise = undefined;\n this._isFinished = false;\n this._reader = reader;\n this._preventCancel = preventCancel;\n }\n next() {\n const nextSteps = () => this._nextSteps();\n this._ongoingPromise = this._ongoingPromise ?\n transformPromiseWith(this._ongoingPromise, nextSteps, nextSteps) :\n nextSteps();\n return this._ongoingPromise;\n }\n return(value) {\n const returnSteps = () => this._returnSteps(value);\n return this._ongoingPromise ?\n transformPromiseWith(this._ongoingPromise, returnSteps, returnSteps) :\n returnSteps();\n }\n _nextSteps() {\n if (this._isFinished) {\n return Promise.resolve({ value: undefined, done: true });\n }\n const reader = this._reader;\n let resolvePromise;\n let rejectPromise;\n const promise = newPromise((resolve, reject) => {\n resolvePromise = resolve;\n rejectPromise = reject;\n });\n const readRequest = {\n _chunkSteps: chunk => {\n this._ongoingPromise = undefined;\n // This needs to be delayed by one microtask, otherwise we stop pulling too early which breaks a test.\n // FIXME Is this a bug in the specification, or in the test?\n _queueMicrotask(() => resolvePromise({ value: chunk, done: false }));\n },\n _closeSteps: () => {\n this._ongoingPromise = undefined;\n this._isFinished = true;\n ReadableStreamReaderGenericRelease(reader);\n resolvePromise({ value: undefined, done: true });\n },\n _errorSteps: reason => {\n this._ongoingPromise = undefined;\n this._isFinished = true;\n ReadableStreamReaderGenericRelease(reader);\n rejectPromise(reason);\n }\n };\n ReadableStreamDefaultReaderRead(reader, readRequest);\n return promise;\n }\n _returnSteps(value) {\n if (this._isFinished) {\n return Promise.resolve({ value, done: true });\n }\n this._isFinished = true;\n const reader = this._reader;\n if (!this._preventCancel) {\n const result = ReadableStreamReaderGenericCancel(reader, value);\n ReadableStreamReaderGenericRelease(reader);\n return transformPromiseWith(result, () => ({ value, done: true }));\n }\n ReadableStreamReaderGenericRelease(reader);\n return promiseResolvedWith({ value, done: true });\n }\n }\n const ReadableStreamAsyncIteratorPrototype = {\n next() {\n if (!IsReadableStreamAsyncIterator(this)) {\n return promiseRejectedWith(streamAsyncIteratorBrandCheckException('next'));\n }\n return this._asyncIteratorImpl.next();\n },\n return(value) {\n if (!IsReadableStreamAsyncIterator(this)) {\n return promiseRejectedWith(streamAsyncIteratorBrandCheckException('return'));\n }\n return this._asyncIteratorImpl.return(value);\n }\n };\n if (AsyncIteratorPrototype !== undefined) {\n Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype);\n }\n // Abstract operations for the ReadableStream.\n function AcquireReadableStreamAsyncIterator(stream, preventCancel) {\n const reader = AcquireReadableStreamDefaultReader(stream);\n const impl = new ReadableStreamAsyncIteratorImpl(reader, preventCancel);\n const iterator = Object.create(ReadableStreamAsyncIteratorPrototype);\n iterator._asyncIteratorImpl = impl;\n return iterator;\n }\n function IsReadableStreamAsyncIterator(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_asyncIteratorImpl')) {\n return false;\n }\n try {\n // noinspection SuspiciousTypeOfGuard\n return x._asyncIteratorImpl instanceof\n ReadableStreamAsyncIteratorImpl;\n }\n catch (_a) {\n return false;\n }\n }\n // Helper functions for the ReadableStream.\n function streamAsyncIteratorBrandCheckException(name) {\n return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`);\n }\n\n /// \n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill\n const NumberIsNaN = Number.isNaN || function (x) {\n // eslint-disable-next-line no-self-compare\n return x !== x;\n };\n\n function CreateArrayFromList(elements) {\n // We use arrays to represent lists, so this is basically a no-op.\n // Do a slice though just in case we happen to depend on the unique-ness.\n return elements.slice();\n }\n function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) {\n new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset);\n }\n let TransferArrayBuffer = (O) => {\n if (typeof O.transfer === 'function') {\n TransferArrayBuffer = buffer => buffer.transfer();\n }\n else if (typeof structuredClone === 'function') {\n TransferArrayBuffer = buffer => structuredClone(buffer, { transfer: [buffer] });\n }\n else {\n // Not implemented correctly\n TransferArrayBuffer = buffer => buffer;\n }\n return TransferArrayBuffer(O);\n };\n let IsDetachedBuffer = (O) => {\n if (typeof O.detached === 'boolean') {\n IsDetachedBuffer = buffer => buffer.detached;\n }\n else {\n // Not implemented correctly\n IsDetachedBuffer = buffer => buffer.byteLength === 0;\n }\n return IsDetachedBuffer(O);\n };\n function ArrayBufferSlice(buffer, begin, end) {\n // ArrayBuffer.prototype.slice is not available on IE10\n // https://www.caniuse.com/mdn-javascript_builtins_arraybuffer_slice\n if (buffer.slice) {\n return buffer.slice(begin, end);\n }\n const length = end - begin;\n const slice = new ArrayBuffer(length);\n CopyDataBlockBytes(slice, 0, buffer, begin, length);\n return slice;\n }\n function GetMethod(receiver, prop) {\n const func = receiver[prop];\n if (func === undefined || func === null) {\n return undefined;\n }\n if (typeof func !== 'function') {\n throw new TypeError(`${String(prop)} is not a function`);\n }\n return func;\n }\n function CreateAsyncFromSyncIterator(syncIteratorRecord) {\n // Instead of re-implementing CreateAsyncFromSyncIterator and %AsyncFromSyncIteratorPrototype%,\n // we use yield* inside an async generator function to achieve the same result.\n // Wrap the sync iterator inside a sync iterable, so we can use it with yield*.\n const syncIterable = {\n [SymbolPolyfill.iterator]: () => syncIteratorRecord.iterator\n };\n // Create an async generator function and immediately invoke it.\n const asyncIterator = (async function* () {\n return yield* syncIterable;\n }());\n // Return as an async iterator record.\n const nextMethod = asyncIterator.next;\n return { iterator: asyncIterator, nextMethod, done: false };\n }\n function GetIterator(obj, hint = 'sync', method) {\n if (method === undefined) {\n if (hint === 'async') {\n method = GetMethod(obj, SymbolPolyfill.asyncIterator);\n if (method === undefined) {\n const syncMethod = GetMethod(obj, SymbolPolyfill.iterator);\n const syncIteratorRecord = GetIterator(obj, 'sync', syncMethod);\n return CreateAsyncFromSyncIterator(syncIteratorRecord);\n }\n }\n else {\n method = GetMethod(obj, SymbolPolyfill.iterator);\n }\n }\n if (method === undefined) {\n throw new TypeError('The object is not iterable');\n }\n const iterator = reflectCall(method, obj, []);\n if (!typeIsObject(iterator)) {\n throw new TypeError('The iterator method must return an object');\n }\n const nextMethod = iterator.next;\n return { iterator, nextMethod, done: false };\n }\n function IteratorNext(iteratorRecord) {\n const result = reflectCall(iteratorRecord.nextMethod, iteratorRecord.iterator, []);\n if (!typeIsObject(result)) {\n throw new TypeError('The iterator.next() method must return an object');\n }\n return result;\n }\n function IteratorComplete(iterResult) {\n return Boolean(iterResult.done);\n }\n function IteratorValue(iterResult) {\n return iterResult.value;\n }\n\n function IsNonNegativeNumber(v) {\n if (typeof v !== 'number') {\n return false;\n }\n if (NumberIsNaN(v)) {\n return false;\n }\n if (v < 0) {\n return false;\n }\n return true;\n }\n function CloneAsUint8Array(O) {\n const buffer = ArrayBufferSlice(O.buffer, O.byteOffset, O.byteOffset + O.byteLength);\n return new Uint8Array(buffer);\n }\n\n function DequeueValue(container) {\n const pair = container._queue.shift();\n container._queueTotalSize -= pair.size;\n if (container._queueTotalSize < 0) {\n container._queueTotalSize = 0;\n }\n return pair.value;\n }\n function EnqueueValueWithSize(container, value, size) {\n if (!IsNonNegativeNumber(size) || size === Infinity) {\n throw new RangeError('Size must be a finite, non-NaN, non-negative number.');\n }\n container._queue.push({ value, size });\n container._queueTotalSize += size;\n }\n function PeekQueueValue(container) {\n const pair = container._queue.peek();\n return pair.value;\n }\n function ResetQueue(container) {\n container._queue = new SimpleQueue();\n container._queueTotalSize = 0;\n }\n\n function isDataViewConstructor(ctor) {\n return ctor === DataView;\n }\n function isDataView(view) {\n return isDataViewConstructor(view.constructor);\n }\n function arrayBufferViewElementSize(ctor) {\n if (isDataViewConstructor(ctor)) {\n return 1;\n }\n return ctor.BYTES_PER_ELEMENT;\n }\n\n /**\n * A pull-into request in a {@link ReadableByteStreamController}.\n *\n * @public\n */\n class ReadableStreamBYOBRequest {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the view for writing in to, or `null` if the BYOB request has already been responded to.\n */\n get view() {\n if (!IsReadableStreamBYOBRequest(this)) {\n throw byobRequestBrandCheckException('view');\n }\n return this._view;\n }\n respond(bytesWritten) {\n if (!IsReadableStreamBYOBRequest(this)) {\n throw byobRequestBrandCheckException('respond');\n }\n assertRequiredArgument(bytesWritten, 1, 'respond');\n bytesWritten = convertUnsignedLongLongWithEnforceRange(bytesWritten, 'First parameter');\n if (this._associatedReadableByteStreamController === undefined) {\n throw new TypeError('This BYOB request has been invalidated');\n }\n if (IsDetachedBuffer(this._view.buffer)) {\n throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`);\n }\n ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController, bytesWritten);\n }\n respondWithNewView(view) {\n if (!IsReadableStreamBYOBRequest(this)) {\n throw byobRequestBrandCheckException('respondWithNewView');\n }\n assertRequiredArgument(view, 1, 'respondWithNewView');\n if (!ArrayBuffer.isView(view)) {\n throw new TypeError('You can only respond with array buffer views');\n }\n if (this._associatedReadableByteStreamController === undefined) {\n throw new TypeError('This BYOB request has been invalidated');\n }\n if (IsDetachedBuffer(view.buffer)) {\n throw new TypeError('The given view\\'s buffer has been detached and so cannot be used as a response');\n }\n ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController, view);\n }\n }\n Object.defineProperties(ReadableStreamBYOBRequest.prototype, {\n respond: { enumerable: true },\n respondWithNewView: { enumerable: true },\n view: { enumerable: true }\n });\n setFunctionName(ReadableStreamBYOBRequest.prototype.respond, 'respond');\n setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView, 'respondWithNewView');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamBYOBRequest.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamBYOBRequest',\n configurable: true\n });\n }\n /**\n * Allows control of a {@link ReadableStream | readable byte stream}'s state and internal queue.\n *\n * @public\n */\n class ReadableByteStreamController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the current BYOB pull request, or `null` if there isn't one.\n */\n get byobRequest() {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('byobRequest');\n }\n return ReadableByteStreamControllerGetBYOBRequest(this);\n }\n /**\n * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is\n * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure.\n */\n get desiredSize() {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('desiredSize');\n }\n return ReadableByteStreamControllerGetDesiredSize(this);\n }\n /**\n * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from\n * the stream, but once those are read, the stream will become closed.\n */\n close() {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('close');\n }\n if (this._closeRequested) {\n throw new TypeError('The stream has already been closed; do not close it again!');\n }\n const state = this._controlledReadableByteStream._state;\n if (state !== 'readable') {\n throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be closed`);\n }\n ReadableByteStreamControllerClose(this);\n }\n enqueue(chunk) {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('enqueue');\n }\n assertRequiredArgument(chunk, 1, 'enqueue');\n if (!ArrayBuffer.isView(chunk)) {\n throw new TypeError('chunk must be an array buffer view');\n }\n if (chunk.byteLength === 0) {\n throw new TypeError('chunk must have non-zero byteLength');\n }\n if (chunk.buffer.byteLength === 0) {\n throw new TypeError(`chunk's buffer must have non-zero byteLength`);\n }\n if (this._closeRequested) {\n throw new TypeError('stream is closed or draining');\n }\n const state = this._controlledReadableByteStream._state;\n if (state !== 'readable') {\n throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be enqueued to`);\n }\n ReadableByteStreamControllerEnqueue(this, chunk);\n }\n /**\n * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.\n */\n error(e = undefined) {\n if (!IsReadableByteStreamController(this)) {\n throw byteStreamControllerBrandCheckException('error');\n }\n ReadableByteStreamControllerError(this, e);\n }\n /** @internal */\n [CancelSteps](reason) {\n ReadableByteStreamControllerClearPendingPullIntos(this);\n ResetQueue(this);\n const result = this._cancelAlgorithm(reason);\n ReadableByteStreamControllerClearAlgorithms(this);\n return result;\n }\n /** @internal */\n [PullSteps](readRequest) {\n const stream = this._controlledReadableByteStream;\n if (this._queueTotalSize > 0) {\n ReadableByteStreamControllerFillReadRequestFromQueue(this, readRequest);\n return;\n }\n const autoAllocateChunkSize = this._autoAllocateChunkSize;\n if (autoAllocateChunkSize !== undefined) {\n let buffer;\n try {\n buffer = new ArrayBuffer(autoAllocateChunkSize);\n }\n catch (bufferE) {\n readRequest._errorSteps(bufferE);\n return;\n }\n const pullIntoDescriptor = {\n buffer,\n bufferByteLength: autoAllocateChunkSize,\n byteOffset: 0,\n byteLength: autoAllocateChunkSize,\n bytesFilled: 0,\n minimumFill: 1,\n elementSize: 1,\n viewConstructor: Uint8Array,\n readerType: 'default'\n };\n this._pendingPullIntos.push(pullIntoDescriptor);\n }\n ReadableStreamAddReadRequest(stream, readRequest);\n ReadableByteStreamControllerCallPullIfNeeded(this);\n }\n /** @internal */\n [ReleaseSteps]() {\n if (this._pendingPullIntos.length > 0) {\n const firstPullInto = this._pendingPullIntos.peek();\n firstPullInto.readerType = 'none';\n this._pendingPullIntos = new SimpleQueue();\n this._pendingPullIntos.push(firstPullInto);\n }\n }\n }\n Object.defineProperties(ReadableByteStreamController.prototype, {\n close: { enumerable: true },\n enqueue: { enumerable: true },\n error: { enumerable: true },\n byobRequest: { enumerable: true },\n desiredSize: { enumerable: true }\n });\n setFunctionName(ReadableByteStreamController.prototype.close, 'close');\n setFunctionName(ReadableByteStreamController.prototype.enqueue, 'enqueue');\n setFunctionName(ReadableByteStreamController.prototype.error, 'error');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableByteStreamController.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableByteStreamController',\n configurable: true\n });\n }\n // Abstract operations for the ReadableByteStreamController.\n function IsReadableByteStreamController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableByteStream')) {\n return false;\n }\n return x instanceof ReadableByteStreamController;\n }\n function IsReadableStreamBYOBRequest(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_associatedReadableByteStreamController')) {\n return false;\n }\n return x instanceof ReadableStreamBYOBRequest;\n }\n function ReadableByteStreamControllerCallPullIfNeeded(controller) {\n const shouldPull = ReadableByteStreamControllerShouldCallPull(controller);\n if (!shouldPull) {\n return;\n }\n if (controller._pulling) {\n controller._pullAgain = true;\n return;\n }\n controller._pulling = true;\n // TODO: Test controller argument\n const pullPromise = controller._pullAlgorithm();\n uponPromise(pullPromise, () => {\n controller._pulling = false;\n if (controller._pullAgain) {\n controller._pullAgain = false;\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n return null;\n }, e => {\n ReadableByteStreamControllerError(controller, e);\n return null;\n });\n }\n function ReadableByteStreamControllerClearPendingPullIntos(controller) {\n ReadableByteStreamControllerInvalidateBYOBRequest(controller);\n controller._pendingPullIntos = new SimpleQueue();\n }\n function ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor) {\n let done = false;\n if (stream._state === 'closed') {\n done = true;\n }\n const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);\n if (pullIntoDescriptor.readerType === 'default') {\n ReadableStreamFulfillReadRequest(stream, filledView, done);\n }\n else {\n ReadableStreamFulfillReadIntoRequest(stream, filledView, done);\n }\n }\n function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) {\n const bytesFilled = pullIntoDescriptor.bytesFilled;\n const elementSize = pullIntoDescriptor.elementSize;\n return new pullIntoDescriptor.viewConstructor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, bytesFilled / elementSize);\n }\n function ReadableByteStreamControllerEnqueueChunkToQueue(controller, buffer, byteOffset, byteLength) {\n controller._queue.push({ buffer, byteOffset, byteLength });\n controller._queueTotalSize += byteLength;\n }\n function ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, buffer, byteOffset, byteLength) {\n let clonedChunk;\n try {\n clonedChunk = ArrayBufferSlice(buffer, byteOffset, byteOffset + byteLength);\n }\n catch (cloneE) {\n ReadableByteStreamControllerError(controller, cloneE);\n throw cloneE;\n }\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, clonedChunk, 0, byteLength);\n }\n function ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstDescriptor) {\n if (firstDescriptor.bytesFilled > 0) {\n ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, firstDescriptor.buffer, firstDescriptor.byteOffset, firstDescriptor.bytesFilled);\n }\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n }\n function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor) {\n const maxBytesToCopy = Math.min(controller._queueTotalSize, pullIntoDescriptor.byteLength - pullIntoDescriptor.bytesFilled);\n const maxBytesFilled = pullIntoDescriptor.bytesFilled + maxBytesToCopy;\n let totalBytesToCopyRemaining = maxBytesToCopy;\n let ready = false;\n const remainderBytes = maxBytesFilled % pullIntoDescriptor.elementSize;\n const maxAlignedBytes = maxBytesFilled - remainderBytes;\n // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head\n // of the queue, so the underlying source can keep filling it.\n if (maxAlignedBytes >= pullIntoDescriptor.minimumFill) {\n totalBytesToCopyRemaining = maxAlignedBytes - pullIntoDescriptor.bytesFilled;\n ready = true;\n }\n const queue = controller._queue;\n while (totalBytesToCopyRemaining > 0) {\n const headOfQueue = queue.peek();\n const bytesToCopy = Math.min(totalBytesToCopyRemaining, headOfQueue.byteLength);\n const destStart = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;\n CopyDataBlockBytes(pullIntoDescriptor.buffer, destStart, headOfQueue.buffer, headOfQueue.byteOffset, bytesToCopy);\n if (headOfQueue.byteLength === bytesToCopy) {\n queue.shift();\n }\n else {\n headOfQueue.byteOffset += bytesToCopy;\n headOfQueue.byteLength -= bytesToCopy;\n }\n controller._queueTotalSize -= bytesToCopy;\n ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesToCopy, pullIntoDescriptor);\n totalBytesToCopyRemaining -= bytesToCopy;\n }\n return ready;\n }\n function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, size, pullIntoDescriptor) {\n pullIntoDescriptor.bytesFilled += size;\n }\n function ReadableByteStreamControllerHandleQueueDrain(controller) {\n if (controller._queueTotalSize === 0 && controller._closeRequested) {\n ReadableByteStreamControllerClearAlgorithms(controller);\n ReadableStreamClose(controller._controlledReadableByteStream);\n }\n else {\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n }\n function ReadableByteStreamControllerInvalidateBYOBRequest(controller) {\n if (controller._byobRequest === null) {\n return;\n }\n controller._byobRequest._associatedReadableByteStreamController = undefined;\n controller._byobRequest._view = null;\n controller._byobRequest = null;\n }\n function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller) {\n while (controller._pendingPullIntos.length > 0) {\n if (controller._queueTotalSize === 0) {\n return;\n }\n const pullIntoDescriptor = controller._pendingPullIntos.peek();\n if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);\n }\n }\n }\n function ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller) {\n const reader = controller._controlledReadableByteStream._reader;\n while (reader._readRequests.length > 0) {\n if (controller._queueTotalSize === 0) {\n return;\n }\n const readRequest = reader._readRequests.shift();\n ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest);\n }\n }\n function ReadableByteStreamControllerPullInto(controller, view, min, readIntoRequest) {\n const stream = controller._controlledReadableByteStream;\n const ctor = view.constructor;\n const elementSize = arrayBufferViewElementSize(ctor);\n const { byteOffset, byteLength } = view;\n const minimumFill = min * elementSize;\n let buffer;\n try {\n buffer = TransferArrayBuffer(view.buffer);\n }\n catch (e) {\n readIntoRequest._errorSteps(e);\n return;\n }\n const pullIntoDescriptor = {\n buffer,\n bufferByteLength: buffer.byteLength,\n byteOffset,\n byteLength,\n bytesFilled: 0,\n minimumFill,\n elementSize,\n viewConstructor: ctor,\n readerType: 'byob'\n };\n if (controller._pendingPullIntos.length > 0) {\n controller._pendingPullIntos.push(pullIntoDescriptor);\n // No ReadableByteStreamControllerCallPullIfNeeded() call since:\n // - No change happens on desiredSize\n // - The source has already been notified of that there's at least 1 pending read(view)\n ReadableStreamAddReadIntoRequest(stream, readIntoRequest);\n return;\n }\n if (stream._state === 'closed') {\n const emptyView = new ctor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, 0);\n readIntoRequest._closeSteps(emptyView);\n return;\n }\n if (controller._queueTotalSize > 0) {\n if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) {\n const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);\n ReadableByteStreamControllerHandleQueueDrain(controller);\n readIntoRequest._chunkSteps(filledView);\n return;\n }\n if (controller._closeRequested) {\n const e = new TypeError('Insufficient bytes to fill elements in the given buffer');\n ReadableByteStreamControllerError(controller, e);\n readIntoRequest._errorSteps(e);\n return;\n }\n }\n controller._pendingPullIntos.push(pullIntoDescriptor);\n ReadableStreamAddReadIntoRequest(stream, readIntoRequest);\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) {\n if (firstDescriptor.readerType === 'none') {\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n }\n const stream = controller._controlledReadableByteStream;\n if (ReadableStreamHasBYOBReader(stream)) {\n while (ReadableStreamGetNumReadIntoRequests(stream) > 0) {\n const pullIntoDescriptor = ReadableByteStreamControllerShiftPendingPullInto(controller);\n ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor);\n }\n }\n }\n function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) {\n ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor);\n if (pullIntoDescriptor.readerType === 'none') {\n ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, pullIntoDescriptor);\n ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);\n return;\n }\n if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.minimumFill) {\n // A descriptor for a read() request that is not yet filled up to its minimum length will stay at the head\n // of the queue, so the underlying source can keep filling it.\n return;\n }\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n const remainderSize = pullIntoDescriptor.bytesFilled % pullIntoDescriptor.elementSize;\n if (remainderSize > 0) {\n const end = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled;\n ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, pullIntoDescriptor.buffer, end - remainderSize, remainderSize);\n }\n pullIntoDescriptor.bytesFilled -= remainderSize;\n ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor);\n ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);\n }\n function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n ReadableByteStreamControllerInvalidateBYOBRequest(controller);\n const state = controller._controlledReadableByteStream._state;\n if (state === 'closed') {\n ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor);\n }\n else {\n ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, firstDescriptor);\n }\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n function ReadableByteStreamControllerShiftPendingPullInto(controller) {\n const descriptor = controller._pendingPullIntos.shift();\n return descriptor;\n }\n function ReadableByteStreamControllerShouldCallPull(controller) {\n const stream = controller._controlledReadableByteStream;\n if (stream._state !== 'readable') {\n return false;\n }\n if (controller._closeRequested) {\n return false;\n }\n if (!controller._started) {\n return false;\n }\n if (ReadableStreamHasDefaultReader(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {\n return true;\n }\n if (ReadableStreamHasBYOBReader(stream) && ReadableStreamGetNumReadIntoRequests(stream) > 0) {\n return true;\n }\n const desiredSize = ReadableByteStreamControllerGetDesiredSize(controller);\n if (desiredSize > 0) {\n return true;\n }\n return false;\n }\n function ReadableByteStreamControllerClearAlgorithms(controller) {\n controller._pullAlgorithm = undefined;\n controller._cancelAlgorithm = undefined;\n }\n // A client of ReadableByteStreamController may use these functions directly to bypass state check.\n function ReadableByteStreamControllerClose(controller) {\n const stream = controller._controlledReadableByteStream;\n if (controller._closeRequested || stream._state !== 'readable') {\n return;\n }\n if (controller._queueTotalSize > 0) {\n controller._closeRequested = true;\n return;\n }\n if (controller._pendingPullIntos.length > 0) {\n const firstPendingPullInto = controller._pendingPullIntos.peek();\n if (firstPendingPullInto.bytesFilled % firstPendingPullInto.elementSize !== 0) {\n const e = new TypeError('Insufficient bytes to fill elements in the given buffer');\n ReadableByteStreamControllerError(controller, e);\n throw e;\n }\n }\n ReadableByteStreamControllerClearAlgorithms(controller);\n ReadableStreamClose(stream);\n }\n function ReadableByteStreamControllerEnqueue(controller, chunk) {\n const stream = controller._controlledReadableByteStream;\n if (controller._closeRequested || stream._state !== 'readable') {\n return;\n }\n const { buffer, byteOffset, byteLength } = chunk;\n if (IsDetachedBuffer(buffer)) {\n throw new TypeError('chunk\\'s buffer is detached and so cannot be enqueued');\n }\n const transferredBuffer = TransferArrayBuffer(buffer);\n if (controller._pendingPullIntos.length > 0) {\n const firstPendingPullInto = controller._pendingPullIntos.peek();\n if (IsDetachedBuffer(firstPendingPullInto.buffer)) {\n throw new TypeError('The BYOB request\\'s buffer has been detached and so cannot be filled with an enqueued chunk');\n }\n ReadableByteStreamControllerInvalidateBYOBRequest(controller);\n firstPendingPullInto.buffer = TransferArrayBuffer(firstPendingPullInto.buffer);\n if (firstPendingPullInto.readerType === 'none') {\n ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue(controller, firstPendingPullInto);\n }\n }\n if (ReadableStreamHasDefaultReader(stream)) {\n ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller);\n if (ReadableStreamGetNumReadRequests(stream) === 0) {\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);\n }\n else {\n if (controller._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerShiftPendingPullInto(controller);\n }\n const transferredView = new Uint8Array(transferredBuffer, byteOffset, byteLength);\n ReadableStreamFulfillReadRequest(stream, transferredView, false);\n }\n }\n else if (ReadableStreamHasBYOBReader(stream)) {\n // TODO: Ideally in this branch detaching should happen only if the buffer is not consumed fully.\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);\n ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller);\n }\n else {\n ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength);\n }\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n }\n function ReadableByteStreamControllerError(controller, e) {\n const stream = controller._controlledReadableByteStream;\n if (stream._state !== 'readable') {\n return;\n }\n ReadableByteStreamControllerClearPendingPullIntos(controller);\n ResetQueue(controller);\n ReadableByteStreamControllerClearAlgorithms(controller);\n ReadableStreamError(stream, e);\n }\n function ReadableByteStreamControllerFillReadRequestFromQueue(controller, readRequest) {\n const entry = controller._queue.shift();\n controller._queueTotalSize -= entry.byteLength;\n ReadableByteStreamControllerHandleQueueDrain(controller);\n const view = new Uint8Array(entry.buffer, entry.byteOffset, entry.byteLength);\n readRequest._chunkSteps(view);\n }\n function ReadableByteStreamControllerGetBYOBRequest(controller) {\n if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n const view = new Uint8Array(firstDescriptor.buffer, firstDescriptor.byteOffset + firstDescriptor.bytesFilled, firstDescriptor.byteLength - firstDescriptor.bytesFilled);\n const byobRequest = Object.create(ReadableStreamBYOBRequest.prototype);\n SetUpReadableStreamBYOBRequest(byobRequest, controller, view);\n controller._byobRequest = byobRequest;\n }\n return controller._byobRequest;\n }\n function ReadableByteStreamControllerGetDesiredSize(controller) {\n const state = controller._controlledReadableByteStream._state;\n if (state === 'errored') {\n return null;\n }\n if (state === 'closed') {\n return 0;\n }\n return controller._strategyHWM - controller._queueTotalSize;\n }\n function ReadableByteStreamControllerRespond(controller, bytesWritten) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n const state = controller._controlledReadableByteStream._state;\n if (state === 'closed') {\n if (bytesWritten !== 0) {\n throw new TypeError('bytesWritten must be 0 when calling respond() on a closed stream');\n }\n }\n else {\n if (bytesWritten === 0) {\n throw new TypeError('bytesWritten must be greater than 0 when calling respond() on a readable stream');\n }\n if (firstDescriptor.bytesFilled + bytesWritten > firstDescriptor.byteLength) {\n throw new RangeError('bytesWritten out of range');\n }\n }\n firstDescriptor.buffer = TransferArrayBuffer(firstDescriptor.buffer);\n ReadableByteStreamControllerRespondInternal(controller, bytesWritten);\n }\n function ReadableByteStreamControllerRespondWithNewView(controller, view) {\n const firstDescriptor = controller._pendingPullIntos.peek();\n const state = controller._controlledReadableByteStream._state;\n if (state === 'closed') {\n if (view.byteLength !== 0) {\n throw new TypeError('The view\\'s length must be 0 when calling respondWithNewView() on a closed stream');\n }\n }\n else {\n if (view.byteLength === 0) {\n throw new TypeError('The view\\'s length must be greater than 0 when calling respondWithNewView() on a readable stream');\n }\n }\n if (firstDescriptor.byteOffset + firstDescriptor.bytesFilled !== view.byteOffset) {\n throw new RangeError('The region specified by view does not match byobRequest');\n }\n if (firstDescriptor.bufferByteLength !== view.buffer.byteLength) {\n throw new RangeError('The buffer of view has different capacity than byobRequest');\n }\n if (firstDescriptor.bytesFilled + view.byteLength > firstDescriptor.byteLength) {\n throw new RangeError('The region specified by view is larger than byobRequest');\n }\n const viewByteLength = view.byteLength;\n firstDescriptor.buffer = TransferArrayBuffer(view.buffer);\n ReadableByteStreamControllerRespondInternal(controller, viewByteLength);\n }\n function SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize) {\n controller._controlledReadableByteStream = stream;\n controller._pullAgain = false;\n controller._pulling = false;\n controller._byobRequest = null;\n // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.\n controller._queue = controller._queueTotalSize = undefined;\n ResetQueue(controller);\n controller._closeRequested = false;\n controller._started = false;\n controller._strategyHWM = highWaterMark;\n controller._pullAlgorithm = pullAlgorithm;\n controller._cancelAlgorithm = cancelAlgorithm;\n controller._autoAllocateChunkSize = autoAllocateChunkSize;\n controller._pendingPullIntos = new SimpleQueue();\n stream._readableStreamController = controller;\n const startResult = startAlgorithm();\n uponPromise(promiseResolvedWith(startResult), () => {\n controller._started = true;\n ReadableByteStreamControllerCallPullIfNeeded(controller);\n return null;\n }, r => {\n ReadableByteStreamControllerError(controller, r);\n return null;\n });\n }\n function SetUpReadableByteStreamControllerFromUnderlyingSource(stream, underlyingByteSource, highWaterMark) {\n const controller = Object.create(ReadableByteStreamController.prototype);\n let startAlgorithm;\n let pullAlgorithm;\n let cancelAlgorithm;\n if (underlyingByteSource.start !== undefined) {\n startAlgorithm = () => underlyingByteSource.start(controller);\n }\n else {\n startAlgorithm = () => undefined;\n }\n if (underlyingByteSource.pull !== undefined) {\n pullAlgorithm = () => underlyingByteSource.pull(controller);\n }\n else {\n pullAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingByteSource.cancel !== undefined) {\n cancelAlgorithm = reason => underlyingByteSource.cancel(reason);\n }\n else {\n cancelAlgorithm = () => promiseResolvedWith(undefined);\n }\n const autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize;\n if (autoAllocateChunkSize === 0) {\n throw new TypeError('autoAllocateChunkSize must be greater than 0');\n }\n SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize);\n }\n function SetUpReadableStreamBYOBRequest(request, controller, view) {\n request._associatedReadableByteStreamController = controller;\n request._view = view;\n }\n // Helper functions for the ReadableStreamBYOBRequest.\n function byobRequestBrandCheckException(name) {\n return new TypeError(`ReadableStreamBYOBRequest.prototype.${name} can only be used on a ReadableStreamBYOBRequest`);\n }\n // Helper functions for the ReadableByteStreamController.\n function byteStreamControllerBrandCheckException(name) {\n return new TypeError(`ReadableByteStreamController.prototype.${name} can only be used on a ReadableByteStreamController`);\n }\n\n function convertReaderOptions(options, context) {\n assertDictionary(options, context);\n const mode = options === null || options === void 0 ? void 0 : options.mode;\n return {\n mode: mode === undefined ? undefined : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`)\n };\n }\n function convertReadableStreamReaderMode(mode, context) {\n mode = `${mode}`;\n if (mode !== 'byob') {\n throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`);\n }\n return mode;\n }\n function convertByobReadOptions(options, context) {\n var _a;\n assertDictionary(options, context);\n const min = (_a = options === null || options === void 0 ? void 0 : options.min) !== null && _a !== void 0 ? _a : 1;\n return {\n min: convertUnsignedLongLongWithEnforceRange(min, `${context} has member 'min' that`)\n };\n }\n\n // Abstract operations for the ReadableStream.\n function AcquireReadableStreamBYOBReader(stream) {\n return new ReadableStreamBYOBReader(stream);\n }\n // ReadableStream API exposed for controllers.\n function ReadableStreamAddReadIntoRequest(stream, readIntoRequest) {\n stream._reader._readIntoRequests.push(readIntoRequest);\n }\n function ReadableStreamFulfillReadIntoRequest(stream, chunk, done) {\n const reader = stream._reader;\n const readIntoRequest = reader._readIntoRequests.shift();\n if (done) {\n readIntoRequest._closeSteps(chunk);\n }\n else {\n readIntoRequest._chunkSteps(chunk);\n }\n }\n function ReadableStreamGetNumReadIntoRequests(stream) {\n return stream._reader._readIntoRequests.length;\n }\n function ReadableStreamHasBYOBReader(stream) {\n const reader = stream._reader;\n if (reader === undefined) {\n return false;\n }\n if (!IsReadableStreamBYOBReader(reader)) {\n return false;\n }\n return true;\n }\n /**\n * A BYOB reader vended by a {@link ReadableStream}.\n *\n * @public\n */\n class ReadableStreamBYOBReader {\n constructor(stream) {\n assertRequiredArgument(stream, 1, 'ReadableStreamBYOBReader');\n assertReadableStream(stream, 'First parameter');\n if (IsReadableStreamLocked(stream)) {\n throw new TypeError('This stream has already been locked for exclusive reading by another reader');\n }\n if (!IsReadableByteStreamController(stream._readableStreamController)) {\n throw new TypeError('Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte ' +\n 'source');\n }\n ReadableStreamReaderGenericInitialize(this, stream);\n this._readIntoRequests = new SimpleQueue();\n }\n /**\n * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or\n * the reader's lock is released before the stream finishes closing.\n */\n get closed() {\n if (!IsReadableStreamBYOBReader(this)) {\n return promiseRejectedWith(byobReaderBrandCheckException('closed'));\n }\n return this._closedPromise;\n }\n /**\n * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.\n */\n cancel(reason = undefined) {\n if (!IsReadableStreamBYOBReader(this)) {\n return promiseRejectedWith(byobReaderBrandCheckException('cancel'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('cancel'));\n }\n return ReadableStreamReaderGenericCancel(this, reason);\n }\n read(view, rawOptions = {}) {\n if (!IsReadableStreamBYOBReader(this)) {\n return promiseRejectedWith(byobReaderBrandCheckException('read'));\n }\n if (!ArrayBuffer.isView(view)) {\n return promiseRejectedWith(new TypeError('view must be an array buffer view'));\n }\n if (view.byteLength === 0) {\n return promiseRejectedWith(new TypeError('view must have non-zero byteLength'));\n }\n if (view.buffer.byteLength === 0) {\n return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`));\n }\n if (IsDetachedBuffer(view.buffer)) {\n return promiseRejectedWith(new TypeError('view\\'s buffer has been detached'));\n }\n let options;\n try {\n options = convertByobReadOptions(rawOptions, 'options');\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n const min = options.min;\n if (min === 0) {\n return promiseRejectedWith(new TypeError('options.min must be greater than 0'));\n }\n if (!isDataView(view)) {\n if (min > view.length) {\n return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\\'s length'));\n }\n }\n else if (min > view.byteLength) {\n return promiseRejectedWith(new RangeError('options.min must be less than or equal to view\\'s byteLength'));\n }\n if (this._ownerReadableStream === undefined) {\n return promiseRejectedWith(readerLockException('read from'));\n }\n let resolvePromise;\n let rejectPromise;\n const promise = newPromise((resolve, reject) => {\n resolvePromise = resolve;\n rejectPromise = reject;\n });\n const readIntoRequest = {\n _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }),\n _closeSteps: chunk => resolvePromise({ value: chunk, done: true }),\n _errorSteps: e => rejectPromise(e)\n };\n ReadableStreamBYOBReaderRead(this, view, min, readIntoRequest);\n return promise;\n }\n /**\n * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active.\n * If the associated stream is errored when the lock is released, the reader will appear errored in the same way\n * from now on; otherwise, the reader will appear closed.\n *\n * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by\n * the reader's {@link ReadableStreamBYOBReader.read | read()} method has not yet been settled. Attempting to\n * do so will throw a `TypeError` and leave the reader locked to the stream.\n */\n releaseLock() {\n if (!IsReadableStreamBYOBReader(this)) {\n throw byobReaderBrandCheckException('releaseLock');\n }\n if (this._ownerReadableStream === undefined) {\n return;\n }\n ReadableStreamBYOBReaderRelease(this);\n }\n }\n Object.defineProperties(ReadableStreamBYOBReader.prototype, {\n cancel: { enumerable: true },\n read: { enumerable: true },\n releaseLock: { enumerable: true },\n closed: { enumerable: true }\n });\n setFunctionName(ReadableStreamBYOBReader.prototype.cancel, 'cancel');\n setFunctionName(ReadableStreamBYOBReader.prototype.read, 'read');\n setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock, 'releaseLock');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamBYOBReader.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamBYOBReader',\n configurable: true\n });\n }\n // Abstract operations for the readers.\n function IsReadableStreamBYOBReader(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_readIntoRequests')) {\n return false;\n }\n return x instanceof ReadableStreamBYOBReader;\n }\n function ReadableStreamBYOBReaderRead(reader, view, min, readIntoRequest) {\n const stream = reader._ownerReadableStream;\n stream._disturbed = true;\n if (stream._state === 'errored') {\n readIntoRequest._errorSteps(stream._storedError);\n }\n else {\n ReadableByteStreamControllerPullInto(stream._readableStreamController, view, min, readIntoRequest);\n }\n }\n function ReadableStreamBYOBReaderRelease(reader) {\n ReadableStreamReaderGenericRelease(reader);\n const e = new TypeError('Reader was released');\n ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);\n }\n function ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e) {\n const readIntoRequests = reader._readIntoRequests;\n reader._readIntoRequests = new SimpleQueue();\n readIntoRequests.forEach(readIntoRequest => {\n readIntoRequest._errorSteps(e);\n });\n }\n // Helper functions for the ReadableStreamBYOBReader.\n function byobReaderBrandCheckException(name) {\n return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`);\n }\n\n function ExtractHighWaterMark(strategy, defaultHWM) {\n const { highWaterMark } = strategy;\n if (highWaterMark === undefined) {\n return defaultHWM;\n }\n if (NumberIsNaN(highWaterMark) || highWaterMark < 0) {\n throw new RangeError('Invalid highWaterMark');\n }\n return highWaterMark;\n }\n function ExtractSizeAlgorithm(strategy) {\n const { size } = strategy;\n if (!size) {\n return () => 1;\n }\n return size;\n }\n\n function convertQueuingStrategy(init, context) {\n assertDictionary(init, context);\n const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;\n const size = init === null || init === void 0 ? void 0 : init.size;\n return {\n highWaterMark: highWaterMark === undefined ? undefined : convertUnrestrictedDouble(highWaterMark),\n size: size === undefined ? undefined : convertQueuingStrategySize(size, `${context} has member 'size' that`)\n };\n }\n function convertQueuingStrategySize(fn, context) {\n assertFunction(fn, context);\n return chunk => convertUnrestrictedDouble(fn(chunk));\n }\n\n function convertUnderlyingSink(original, context) {\n assertDictionary(original, context);\n const abort = original === null || original === void 0 ? void 0 : original.abort;\n const close = original === null || original === void 0 ? void 0 : original.close;\n const start = original === null || original === void 0 ? void 0 : original.start;\n const type = original === null || original === void 0 ? void 0 : original.type;\n const write = original === null || original === void 0 ? void 0 : original.write;\n return {\n abort: abort === undefined ?\n undefined :\n convertUnderlyingSinkAbortCallback(abort, original, `${context} has member 'abort' that`),\n close: close === undefined ?\n undefined :\n convertUnderlyingSinkCloseCallback(close, original, `${context} has member 'close' that`),\n start: start === undefined ?\n undefined :\n convertUnderlyingSinkStartCallback(start, original, `${context} has member 'start' that`),\n write: write === undefined ?\n undefined :\n convertUnderlyingSinkWriteCallback(write, original, `${context} has member 'write' that`),\n type\n };\n }\n function convertUnderlyingSinkAbortCallback(fn, original, context) {\n assertFunction(fn, context);\n return (reason) => promiseCall(fn, original, [reason]);\n }\n function convertUnderlyingSinkCloseCallback(fn, original, context) {\n assertFunction(fn, context);\n return () => promiseCall(fn, original, []);\n }\n function convertUnderlyingSinkStartCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => reflectCall(fn, original, [controller]);\n }\n function convertUnderlyingSinkWriteCallback(fn, original, context) {\n assertFunction(fn, context);\n return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);\n }\n\n function assertWritableStream(x, context) {\n if (!IsWritableStream(x)) {\n throw new TypeError(`${context} is not a WritableStream.`);\n }\n }\n\n function isAbortSignal(value) {\n if (typeof value !== 'object' || value === null) {\n return false;\n }\n try {\n return typeof value.aborted === 'boolean';\n }\n catch (_a) {\n // AbortSignal.prototype.aborted throws if its brand check fails\n return false;\n }\n }\n const supportsAbortController = typeof AbortController === 'function';\n /**\n * Construct a new AbortController, if supported by the platform.\n *\n * @internal\n */\n function createAbortController() {\n if (supportsAbortController) {\n return new AbortController();\n }\n return undefined;\n }\n\n /**\n * A writable stream represents a destination for data, into which you can write.\n *\n * @public\n */\n class WritableStream {\n constructor(rawUnderlyingSink = {}, rawStrategy = {}) {\n if (rawUnderlyingSink === undefined) {\n rawUnderlyingSink = null;\n }\n else {\n assertObject(rawUnderlyingSink, 'First parameter');\n }\n const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');\n const underlyingSink = convertUnderlyingSink(rawUnderlyingSink, 'First parameter');\n InitializeWritableStream(this);\n const type = underlyingSink.type;\n if (type !== undefined) {\n throw new RangeError('Invalid type is specified');\n }\n const sizeAlgorithm = ExtractSizeAlgorithm(strategy);\n const highWaterMark = ExtractHighWaterMark(strategy, 1);\n SetUpWritableStreamDefaultControllerFromUnderlyingSink(this, underlyingSink, highWaterMark, sizeAlgorithm);\n }\n /**\n * Returns whether or not the writable stream is locked to a writer.\n */\n get locked() {\n if (!IsWritableStream(this)) {\n throw streamBrandCheckException$2('locked');\n }\n return IsWritableStreamLocked(this);\n }\n /**\n * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be\n * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort\n * mechanism of the underlying sink.\n *\n * The returned promise will fulfill if the stream shuts down successfully, or reject if the underlying sink signaled\n * that there was an error doing so. Additionally, it will reject with a `TypeError` (without attempting to cancel\n * the stream) if the stream is currently locked.\n */\n abort(reason = undefined) {\n if (!IsWritableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$2('abort'));\n }\n if (IsWritableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('Cannot abort a stream that already has a writer'));\n }\n return WritableStreamAbort(this, reason);\n }\n /**\n * Closes the stream. The underlying sink will finish processing any previously-written chunks, before invoking its\n * close behavior. During this time any further attempts to write will fail (without erroring the stream).\n *\n * The method returns a promise that will fulfill if all remaining chunks are successfully written and the stream\n * successfully closes, or rejects if an error is encountered during this process. Additionally, it will reject with\n * a `TypeError` (without attempting to cancel the stream) if the stream is currently locked.\n */\n close() {\n if (!IsWritableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$2('close'));\n }\n if (IsWritableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('Cannot close a stream that already has a writer'));\n }\n if (WritableStreamCloseQueuedOrInFlight(this)) {\n return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));\n }\n return WritableStreamClose(this);\n }\n /**\n * Creates a {@link WritableStreamDefaultWriter | writer} and locks the stream to the new writer. While the stream\n * is locked, no other writer can be acquired until this one is released.\n *\n * This functionality is especially useful for creating abstractions that desire the ability to write to a stream\n * without interruption or interleaving. By getting a writer for the stream, you can ensure nobody else can write at\n * the same time, which would cause the resulting written data to be unpredictable and probably useless.\n */\n getWriter() {\n if (!IsWritableStream(this)) {\n throw streamBrandCheckException$2('getWriter');\n }\n return AcquireWritableStreamDefaultWriter(this);\n }\n }\n Object.defineProperties(WritableStream.prototype, {\n abort: { enumerable: true },\n close: { enumerable: true },\n getWriter: { enumerable: true },\n locked: { enumerable: true }\n });\n setFunctionName(WritableStream.prototype.abort, 'abort');\n setFunctionName(WritableStream.prototype.close, 'close');\n setFunctionName(WritableStream.prototype.getWriter, 'getWriter');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(WritableStream.prototype, SymbolPolyfill.toStringTag, {\n value: 'WritableStream',\n configurable: true\n });\n }\n // Abstract operations for the WritableStream.\n function AcquireWritableStreamDefaultWriter(stream) {\n return new WritableStreamDefaultWriter(stream);\n }\n // Throws if and only if startAlgorithm throws.\n function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {\n const stream = Object.create(WritableStream.prototype);\n InitializeWritableStream(stream);\n const controller = Object.create(WritableStreamDefaultController.prototype);\n SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);\n return stream;\n }\n function InitializeWritableStream(stream) {\n stream._state = 'writable';\n // The error that will be reported by new method calls once the state becomes errored. Only set when [[state]] is\n // 'erroring' or 'errored'. May be set to an undefined value.\n stream._storedError = undefined;\n stream._writer = undefined;\n // Initialize to undefined first because the constructor of the controller checks this\n // variable to validate the caller.\n stream._writableStreamController = undefined;\n // This queue is placed here instead of the writer class in order to allow for passing a writer to the next data\n // producer without waiting for the queued writes to finish.\n stream._writeRequests = new SimpleQueue();\n // Write requests are removed from _writeRequests when write() is called on the underlying sink. This prevents\n // them from being erroneously rejected on error. If a write() call is in-flight, the request is stored here.\n stream._inFlightWriteRequest = undefined;\n // The promise that was returned from writer.close(). Stored here because it may be fulfilled after the writer\n // has been detached.\n stream._closeRequest = undefined;\n // Close request is removed from _closeRequest when close() is called on the underlying sink. This prevents it\n // from being erroneously rejected on error. If a close() call is in-flight, the request is stored here.\n stream._inFlightCloseRequest = undefined;\n // The promise that was returned from writer.abort(). This may also be fulfilled after the writer has detached.\n stream._pendingAbortRequest = undefined;\n // The backpressure signal set by the controller.\n stream._backpressure = false;\n }\n function IsWritableStream(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_writableStreamController')) {\n return false;\n }\n return x instanceof WritableStream;\n }\n function IsWritableStreamLocked(stream) {\n if (stream._writer === undefined) {\n return false;\n }\n return true;\n }\n function WritableStreamAbort(stream, reason) {\n var _a;\n if (stream._state === 'closed' || stream._state === 'errored') {\n return promiseResolvedWith(undefined);\n }\n stream._writableStreamController._abortReason = reason;\n (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(reason);\n // TypeScript narrows the type of `stream._state` down to 'writable' | 'erroring',\n // but it doesn't know that signaling abort runs author code that might have changed the state.\n // Widen the type again by casting to WritableStreamState.\n const state = stream._state;\n if (state === 'closed' || state === 'errored') {\n return promiseResolvedWith(undefined);\n }\n if (stream._pendingAbortRequest !== undefined) {\n return stream._pendingAbortRequest._promise;\n }\n let wasAlreadyErroring = false;\n if (state === 'erroring') {\n wasAlreadyErroring = true;\n // reason will not be used, so don't keep a reference to it.\n reason = undefined;\n }\n const promise = newPromise((resolve, reject) => {\n stream._pendingAbortRequest = {\n _promise: undefined,\n _resolve: resolve,\n _reject: reject,\n _reason: reason,\n _wasAlreadyErroring: wasAlreadyErroring\n };\n });\n stream._pendingAbortRequest._promise = promise;\n if (!wasAlreadyErroring) {\n WritableStreamStartErroring(stream, reason);\n }\n return promise;\n }\n function WritableStreamClose(stream) {\n const state = stream._state;\n if (state === 'closed' || state === 'errored') {\n return promiseRejectedWith(new TypeError(`The stream (in ${state} state) is not in the writable state and cannot be closed`));\n }\n const promise = newPromise((resolve, reject) => {\n const closeRequest = {\n _resolve: resolve,\n _reject: reject\n };\n stream._closeRequest = closeRequest;\n });\n const writer = stream._writer;\n if (writer !== undefined && stream._backpressure && state === 'writable') {\n defaultWriterReadyPromiseResolve(writer);\n }\n WritableStreamDefaultControllerClose(stream._writableStreamController);\n return promise;\n }\n // WritableStream API exposed for controllers.\n function WritableStreamAddWriteRequest(stream) {\n const promise = newPromise((resolve, reject) => {\n const writeRequest = {\n _resolve: resolve,\n _reject: reject\n };\n stream._writeRequests.push(writeRequest);\n });\n return promise;\n }\n function WritableStreamDealWithRejection(stream, error) {\n const state = stream._state;\n if (state === 'writable') {\n WritableStreamStartErroring(stream, error);\n return;\n }\n WritableStreamFinishErroring(stream);\n }\n function WritableStreamStartErroring(stream, reason) {\n const controller = stream._writableStreamController;\n stream._state = 'erroring';\n stream._storedError = reason;\n const writer = stream._writer;\n if (writer !== undefined) {\n WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, reason);\n }\n if (!WritableStreamHasOperationMarkedInFlight(stream) && controller._started) {\n WritableStreamFinishErroring(stream);\n }\n }\n function WritableStreamFinishErroring(stream) {\n stream._state = 'errored';\n stream._writableStreamController[ErrorSteps]();\n const storedError = stream._storedError;\n stream._writeRequests.forEach(writeRequest => {\n writeRequest._reject(storedError);\n });\n stream._writeRequests = new SimpleQueue();\n if (stream._pendingAbortRequest === undefined) {\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return;\n }\n const abortRequest = stream._pendingAbortRequest;\n stream._pendingAbortRequest = undefined;\n if (abortRequest._wasAlreadyErroring) {\n abortRequest._reject(storedError);\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return;\n }\n const promise = stream._writableStreamController[AbortSteps](abortRequest._reason);\n uponPromise(promise, () => {\n abortRequest._resolve();\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return null;\n }, (reason) => {\n abortRequest._reject(reason);\n WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);\n return null;\n });\n }\n function WritableStreamFinishInFlightWrite(stream) {\n stream._inFlightWriteRequest._resolve(undefined);\n stream._inFlightWriteRequest = undefined;\n }\n function WritableStreamFinishInFlightWriteWithError(stream, error) {\n stream._inFlightWriteRequest._reject(error);\n stream._inFlightWriteRequest = undefined;\n WritableStreamDealWithRejection(stream, error);\n }\n function WritableStreamFinishInFlightClose(stream) {\n stream._inFlightCloseRequest._resolve(undefined);\n stream._inFlightCloseRequest = undefined;\n const state = stream._state;\n if (state === 'erroring') {\n // The error was too late to do anything, so it is ignored.\n stream._storedError = undefined;\n if (stream._pendingAbortRequest !== undefined) {\n stream._pendingAbortRequest._resolve();\n stream._pendingAbortRequest = undefined;\n }\n }\n stream._state = 'closed';\n const writer = stream._writer;\n if (writer !== undefined) {\n defaultWriterClosedPromiseResolve(writer);\n }\n }\n function WritableStreamFinishInFlightCloseWithError(stream, error) {\n stream._inFlightCloseRequest._reject(error);\n stream._inFlightCloseRequest = undefined;\n // Never execute sink abort() after sink close().\n if (stream._pendingAbortRequest !== undefined) {\n stream._pendingAbortRequest._reject(error);\n stream._pendingAbortRequest = undefined;\n }\n WritableStreamDealWithRejection(stream, error);\n }\n // TODO(ricea): Fix alphabetical order.\n function WritableStreamCloseQueuedOrInFlight(stream) {\n if (stream._closeRequest === undefined && stream._inFlightCloseRequest === undefined) {\n return false;\n }\n return true;\n }\n function WritableStreamHasOperationMarkedInFlight(stream) {\n if (stream._inFlightWriteRequest === undefined && stream._inFlightCloseRequest === undefined) {\n return false;\n }\n return true;\n }\n function WritableStreamMarkCloseRequestInFlight(stream) {\n stream._inFlightCloseRequest = stream._closeRequest;\n stream._closeRequest = undefined;\n }\n function WritableStreamMarkFirstWriteRequestInFlight(stream) {\n stream._inFlightWriteRequest = stream._writeRequests.shift();\n }\n function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream) {\n if (stream._closeRequest !== undefined) {\n stream._closeRequest._reject(stream._storedError);\n stream._closeRequest = undefined;\n }\n const writer = stream._writer;\n if (writer !== undefined) {\n defaultWriterClosedPromiseReject(writer, stream._storedError);\n }\n }\n function WritableStreamUpdateBackpressure(stream, backpressure) {\n const writer = stream._writer;\n if (writer !== undefined && backpressure !== stream._backpressure) {\n if (backpressure) {\n defaultWriterReadyPromiseReset(writer);\n }\n else {\n defaultWriterReadyPromiseResolve(writer);\n }\n }\n stream._backpressure = backpressure;\n }\n /**\n * A default writer vended by a {@link WritableStream}.\n *\n * @public\n */\n class WritableStreamDefaultWriter {\n constructor(stream) {\n assertRequiredArgument(stream, 1, 'WritableStreamDefaultWriter');\n assertWritableStream(stream, 'First parameter');\n if (IsWritableStreamLocked(stream)) {\n throw new TypeError('This stream has already been locked for exclusive writing by another writer');\n }\n this._ownerWritableStream = stream;\n stream._writer = this;\n const state = stream._state;\n if (state === 'writable') {\n if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._backpressure) {\n defaultWriterReadyPromiseInitialize(this);\n }\n else {\n defaultWriterReadyPromiseInitializeAsResolved(this);\n }\n defaultWriterClosedPromiseInitialize(this);\n }\n else if (state === 'erroring') {\n defaultWriterReadyPromiseInitializeAsRejected(this, stream._storedError);\n defaultWriterClosedPromiseInitialize(this);\n }\n else if (state === 'closed') {\n defaultWriterReadyPromiseInitializeAsResolved(this);\n defaultWriterClosedPromiseInitializeAsResolved(this);\n }\n else {\n const storedError = stream._storedError;\n defaultWriterReadyPromiseInitializeAsRejected(this, storedError);\n defaultWriterClosedPromiseInitializeAsRejected(this, storedError);\n }\n }\n /**\n * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or\n * the writer’s lock is released before the stream finishes closing.\n */\n get closed() {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('closed'));\n }\n return this._closedPromise;\n }\n /**\n * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full.\n * A producer can use this information to determine the right amount of data to write.\n *\n * It will be `null` if the stream cannot be successfully written to (due to either being errored, or having an abort\n * queued up). It will return zero if the stream is closed. And the getter will throw an exception if invoked when\n * the writer’s lock is released.\n */\n get desiredSize() {\n if (!IsWritableStreamDefaultWriter(this)) {\n throw defaultWriterBrandCheckException('desiredSize');\n }\n if (this._ownerWritableStream === undefined) {\n throw defaultWriterLockException('desiredSize');\n }\n return WritableStreamDefaultWriterGetDesiredSize(this);\n }\n /**\n * Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions\n * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips\n * back to zero or below, the getter will return a new promise that stays pending until the next transition.\n *\n * If the stream becomes errored or aborted, or the writer’s lock is released, the returned promise will become\n * rejected.\n */\n get ready() {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('ready'));\n }\n return this._readyPromise;\n }\n /**\n * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}.\n */\n abort(reason = undefined) {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('abort'));\n }\n if (this._ownerWritableStream === undefined) {\n return promiseRejectedWith(defaultWriterLockException('abort'));\n }\n return WritableStreamDefaultWriterAbort(this, reason);\n }\n /**\n * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}.\n */\n close() {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('close'));\n }\n const stream = this._ownerWritableStream;\n if (stream === undefined) {\n return promiseRejectedWith(defaultWriterLockException('close'));\n }\n if (WritableStreamCloseQueuedOrInFlight(stream)) {\n return promiseRejectedWith(new TypeError('Cannot close an already-closing stream'));\n }\n return WritableStreamDefaultWriterClose(this);\n }\n /**\n * Releases the writer’s lock on the corresponding stream. After the lock is released, the writer is no longer active.\n * If the associated stream is errored when the lock is released, the writer will appear errored in the same way from\n * now on; otherwise, the writer will appear closed.\n *\n * Note that the lock can still be released even if some ongoing writes have not yet finished (i.e. even if the\n * promises returned from previous calls to {@link WritableStreamDefaultWriter.write | write()} have not yet settled).\n * It’s not necessary to hold the lock on the writer for the duration of the write; the lock instead simply prevents\n * other producers from writing in an interleaved manner.\n */\n releaseLock() {\n if (!IsWritableStreamDefaultWriter(this)) {\n throw defaultWriterBrandCheckException('releaseLock');\n }\n const stream = this._ownerWritableStream;\n if (stream === undefined) {\n return;\n }\n WritableStreamDefaultWriterRelease(this);\n }\n write(chunk = undefined) {\n if (!IsWritableStreamDefaultWriter(this)) {\n return promiseRejectedWith(defaultWriterBrandCheckException('write'));\n }\n if (this._ownerWritableStream === undefined) {\n return promiseRejectedWith(defaultWriterLockException('write to'));\n }\n return WritableStreamDefaultWriterWrite(this, chunk);\n }\n }\n Object.defineProperties(WritableStreamDefaultWriter.prototype, {\n abort: { enumerable: true },\n close: { enumerable: true },\n releaseLock: { enumerable: true },\n write: { enumerable: true },\n closed: { enumerable: true },\n desiredSize: { enumerable: true },\n ready: { enumerable: true }\n });\n setFunctionName(WritableStreamDefaultWriter.prototype.abort, 'abort');\n setFunctionName(WritableStreamDefaultWriter.prototype.close, 'close');\n setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock, 'releaseLock');\n setFunctionName(WritableStreamDefaultWriter.prototype.write, 'write');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(WritableStreamDefaultWriter.prototype, SymbolPolyfill.toStringTag, {\n value: 'WritableStreamDefaultWriter',\n configurable: true\n });\n }\n // Abstract operations for the WritableStreamDefaultWriter.\n function IsWritableStreamDefaultWriter(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_ownerWritableStream')) {\n return false;\n }\n return x instanceof WritableStreamDefaultWriter;\n }\n // A client of WritableStreamDefaultWriter may use these functions directly to bypass state check.\n function WritableStreamDefaultWriterAbort(writer, reason) {\n const stream = writer._ownerWritableStream;\n return WritableStreamAbort(stream, reason);\n }\n function WritableStreamDefaultWriterClose(writer) {\n const stream = writer._ownerWritableStream;\n return WritableStreamClose(stream);\n }\n function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) {\n const stream = writer._ownerWritableStream;\n const state = stream._state;\n if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {\n return promiseResolvedWith(undefined);\n }\n if (state === 'errored') {\n return promiseRejectedWith(stream._storedError);\n }\n return WritableStreamDefaultWriterClose(writer);\n }\n function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error) {\n if (writer._closedPromiseState === 'pending') {\n defaultWriterClosedPromiseReject(writer, error);\n }\n else {\n defaultWriterClosedPromiseResetToRejected(writer, error);\n }\n }\n function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error) {\n if (writer._readyPromiseState === 'pending') {\n defaultWriterReadyPromiseReject(writer, error);\n }\n else {\n defaultWriterReadyPromiseResetToRejected(writer, error);\n }\n }\n function WritableStreamDefaultWriterGetDesiredSize(writer) {\n const stream = writer._ownerWritableStream;\n const state = stream._state;\n if (state === 'errored' || state === 'erroring') {\n return null;\n }\n if (state === 'closed') {\n return 0;\n }\n return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController);\n }\n function WritableStreamDefaultWriterRelease(writer) {\n const stream = writer._ownerWritableStream;\n const releasedError = new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`);\n WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, releasedError);\n // The state transitions to \"errored\" before the sink abort() method runs, but the writer.closed promise is not\n // rejected until afterwards. This means that simply testing state will not work.\n WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, releasedError);\n stream._writer = undefined;\n writer._ownerWritableStream = undefined;\n }\n function WritableStreamDefaultWriterWrite(writer, chunk) {\n const stream = writer._ownerWritableStream;\n const controller = stream._writableStreamController;\n const chunkSize = WritableStreamDefaultControllerGetChunkSize(controller, chunk);\n if (stream !== writer._ownerWritableStream) {\n return promiseRejectedWith(defaultWriterLockException('write to'));\n }\n const state = stream._state;\n if (state === 'errored') {\n return promiseRejectedWith(stream._storedError);\n }\n if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') {\n return promiseRejectedWith(new TypeError('The stream is closing or closed and cannot be written to'));\n }\n if (state === 'erroring') {\n return promiseRejectedWith(stream._storedError);\n }\n const promise = WritableStreamAddWriteRequest(stream);\n WritableStreamDefaultControllerWrite(controller, chunk, chunkSize);\n return promise;\n }\n const closeSentinel = {};\n /**\n * Allows control of a {@link WritableStream | writable stream}'s state and internal queue.\n *\n * @public\n */\n class WritableStreamDefaultController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted.\n *\n * @deprecated\n * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177.\n * Use {@link WritableStreamDefaultController.signal}'s `reason` instead.\n */\n get abortReason() {\n if (!IsWritableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$2('abortReason');\n }\n return this._abortReason;\n }\n /**\n * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.\n */\n get signal() {\n if (!IsWritableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$2('signal');\n }\n if (this._abortController === undefined) {\n // Older browsers or older Node versions may not support `AbortController` or `AbortSignal`.\n // We don't want to bundle and ship an `AbortController` polyfill together with our polyfill,\n // so instead we only implement support for `signal` if we find a global `AbortController` constructor.\n throw new TypeError('WritableStreamDefaultController.prototype.signal is not supported');\n }\n return this._abortController.signal;\n }\n /**\n * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`.\n *\n * This method is rarely used, since usually it suffices to return a rejected promise from one of the underlying\n * sink's methods. However, it can be useful for suddenly shutting down a stream in response to an event outside the\n * normal lifecycle of interactions with the underlying sink.\n */\n error(e = undefined) {\n if (!IsWritableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$2('error');\n }\n const state = this._controlledWritableStream._state;\n if (state !== 'writable') {\n // The stream is closed, errored or will be soon. The sink can't do anything useful if it gets an error here, so\n // just treat it as a no-op.\n return;\n }\n WritableStreamDefaultControllerError(this, e);\n }\n /** @internal */\n [AbortSteps](reason) {\n const result = this._abortAlgorithm(reason);\n WritableStreamDefaultControllerClearAlgorithms(this);\n return result;\n }\n /** @internal */\n [ErrorSteps]() {\n ResetQueue(this);\n }\n }\n Object.defineProperties(WritableStreamDefaultController.prototype, {\n abortReason: { enumerable: true },\n signal: { enumerable: true },\n error: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(WritableStreamDefaultController.prototype, SymbolPolyfill.toStringTag, {\n value: 'WritableStreamDefaultController',\n configurable: true\n });\n }\n // Abstract operations implementing interface required by the WritableStream.\n function IsWritableStreamDefaultController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledWritableStream')) {\n return false;\n }\n return x instanceof WritableStreamDefaultController;\n }\n function SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm) {\n controller._controlledWritableStream = stream;\n stream._writableStreamController = controller;\n // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly.\n controller._queue = undefined;\n controller._queueTotalSize = undefined;\n ResetQueue(controller);\n controller._abortReason = undefined;\n controller._abortController = createAbortController();\n controller._started = false;\n controller._strategySizeAlgorithm = sizeAlgorithm;\n controller._strategyHWM = highWaterMark;\n controller._writeAlgorithm = writeAlgorithm;\n controller._closeAlgorithm = closeAlgorithm;\n controller._abortAlgorithm = abortAlgorithm;\n const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);\n WritableStreamUpdateBackpressure(stream, backpressure);\n const startResult = startAlgorithm();\n const startPromise = promiseResolvedWith(startResult);\n uponPromise(startPromise, () => {\n controller._started = true;\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n return null;\n }, r => {\n controller._started = true;\n WritableStreamDealWithRejection(stream, r);\n return null;\n });\n }\n function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream, underlyingSink, highWaterMark, sizeAlgorithm) {\n const controller = Object.create(WritableStreamDefaultController.prototype);\n let startAlgorithm;\n let writeAlgorithm;\n let closeAlgorithm;\n let abortAlgorithm;\n if (underlyingSink.start !== undefined) {\n startAlgorithm = () => underlyingSink.start(controller);\n }\n else {\n startAlgorithm = () => undefined;\n }\n if (underlyingSink.write !== undefined) {\n writeAlgorithm = chunk => underlyingSink.write(chunk, controller);\n }\n else {\n writeAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingSink.close !== undefined) {\n closeAlgorithm = () => underlyingSink.close();\n }\n else {\n closeAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingSink.abort !== undefined) {\n abortAlgorithm = reason => underlyingSink.abort(reason);\n }\n else {\n abortAlgorithm = () => promiseResolvedWith(undefined);\n }\n SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm);\n }\n // ClearAlgorithms may be called twice. Erroring the same stream in multiple ways will often result in redundant calls.\n function WritableStreamDefaultControllerClearAlgorithms(controller) {\n controller._writeAlgorithm = undefined;\n controller._closeAlgorithm = undefined;\n controller._abortAlgorithm = undefined;\n controller._strategySizeAlgorithm = undefined;\n }\n function WritableStreamDefaultControllerClose(controller) {\n EnqueueValueWithSize(controller, closeSentinel, 0);\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n }\n function WritableStreamDefaultControllerGetChunkSize(controller, chunk) {\n try {\n return controller._strategySizeAlgorithm(chunk);\n }\n catch (chunkSizeE) {\n WritableStreamDefaultControllerErrorIfNeeded(controller, chunkSizeE);\n return 1;\n }\n }\n function WritableStreamDefaultControllerGetDesiredSize(controller) {\n return controller._strategyHWM - controller._queueTotalSize;\n }\n function WritableStreamDefaultControllerWrite(controller, chunk, chunkSize) {\n try {\n EnqueueValueWithSize(controller, chunk, chunkSize);\n }\n catch (enqueueE) {\n WritableStreamDefaultControllerErrorIfNeeded(controller, enqueueE);\n return;\n }\n const stream = controller._controlledWritableStream;\n if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._state === 'writable') {\n const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);\n WritableStreamUpdateBackpressure(stream, backpressure);\n }\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n }\n // Abstract operations for the WritableStreamDefaultController.\n function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller) {\n const stream = controller._controlledWritableStream;\n if (!controller._started) {\n return;\n }\n if (stream._inFlightWriteRequest !== undefined) {\n return;\n }\n const state = stream._state;\n if (state === 'erroring') {\n WritableStreamFinishErroring(stream);\n return;\n }\n if (controller._queue.length === 0) {\n return;\n }\n const value = PeekQueueValue(controller);\n if (value === closeSentinel) {\n WritableStreamDefaultControllerProcessClose(controller);\n }\n else {\n WritableStreamDefaultControllerProcessWrite(controller, value);\n }\n }\n function WritableStreamDefaultControllerErrorIfNeeded(controller, error) {\n if (controller._controlledWritableStream._state === 'writable') {\n WritableStreamDefaultControllerError(controller, error);\n }\n }\n function WritableStreamDefaultControllerProcessClose(controller) {\n const stream = controller._controlledWritableStream;\n WritableStreamMarkCloseRequestInFlight(stream);\n DequeueValue(controller);\n const sinkClosePromise = controller._closeAlgorithm();\n WritableStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(sinkClosePromise, () => {\n WritableStreamFinishInFlightClose(stream);\n return null;\n }, reason => {\n WritableStreamFinishInFlightCloseWithError(stream, reason);\n return null;\n });\n }\n function WritableStreamDefaultControllerProcessWrite(controller, chunk) {\n const stream = controller._controlledWritableStream;\n WritableStreamMarkFirstWriteRequestInFlight(stream);\n const sinkWritePromise = controller._writeAlgorithm(chunk);\n uponPromise(sinkWritePromise, () => {\n WritableStreamFinishInFlightWrite(stream);\n const state = stream._state;\n DequeueValue(controller);\n if (!WritableStreamCloseQueuedOrInFlight(stream) && state === 'writable') {\n const backpressure = WritableStreamDefaultControllerGetBackpressure(controller);\n WritableStreamUpdateBackpressure(stream, backpressure);\n }\n WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller);\n return null;\n }, reason => {\n if (stream._state === 'writable') {\n WritableStreamDefaultControllerClearAlgorithms(controller);\n }\n WritableStreamFinishInFlightWriteWithError(stream, reason);\n return null;\n });\n }\n function WritableStreamDefaultControllerGetBackpressure(controller) {\n const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller);\n return desiredSize <= 0;\n }\n // A client of WritableStreamDefaultController may use these functions directly to bypass state check.\n function WritableStreamDefaultControllerError(controller, error) {\n const stream = controller._controlledWritableStream;\n WritableStreamDefaultControllerClearAlgorithms(controller);\n WritableStreamStartErroring(stream, error);\n }\n // Helper functions for the WritableStream.\n function streamBrandCheckException$2(name) {\n return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);\n }\n // Helper functions for the WritableStreamDefaultController.\n function defaultControllerBrandCheckException$2(name) {\n return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`);\n }\n // Helper functions for the WritableStreamDefaultWriter.\n function defaultWriterBrandCheckException(name) {\n return new TypeError(`WritableStreamDefaultWriter.prototype.${name} can only be used on a WritableStreamDefaultWriter`);\n }\n function defaultWriterLockException(name) {\n return new TypeError('Cannot ' + name + ' a stream using a released writer');\n }\n function defaultWriterClosedPromiseInitialize(writer) {\n writer._closedPromise = newPromise((resolve, reject) => {\n writer._closedPromise_resolve = resolve;\n writer._closedPromise_reject = reject;\n writer._closedPromiseState = 'pending';\n });\n }\n function defaultWriterClosedPromiseInitializeAsRejected(writer, reason) {\n defaultWriterClosedPromiseInitialize(writer);\n defaultWriterClosedPromiseReject(writer, reason);\n }\n function defaultWriterClosedPromiseInitializeAsResolved(writer) {\n defaultWriterClosedPromiseInitialize(writer);\n defaultWriterClosedPromiseResolve(writer);\n }\n function defaultWriterClosedPromiseReject(writer, reason) {\n if (writer._closedPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(writer._closedPromise);\n writer._closedPromise_reject(reason);\n writer._closedPromise_resolve = undefined;\n writer._closedPromise_reject = undefined;\n writer._closedPromiseState = 'rejected';\n }\n function defaultWriterClosedPromiseResetToRejected(writer, reason) {\n defaultWriterClosedPromiseInitializeAsRejected(writer, reason);\n }\n function defaultWriterClosedPromiseResolve(writer) {\n if (writer._closedPromise_resolve === undefined) {\n return;\n }\n writer._closedPromise_resolve(undefined);\n writer._closedPromise_resolve = undefined;\n writer._closedPromise_reject = undefined;\n writer._closedPromiseState = 'resolved';\n }\n function defaultWriterReadyPromiseInitialize(writer) {\n writer._readyPromise = newPromise((resolve, reject) => {\n writer._readyPromise_resolve = resolve;\n writer._readyPromise_reject = reject;\n });\n writer._readyPromiseState = 'pending';\n }\n function defaultWriterReadyPromiseInitializeAsRejected(writer, reason) {\n defaultWriterReadyPromiseInitialize(writer);\n defaultWriterReadyPromiseReject(writer, reason);\n }\n function defaultWriterReadyPromiseInitializeAsResolved(writer) {\n defaultWriterReadyPromiseInitialize(writer);\n defaultWriterReadyPromiseResolve(writer);\n }\n function defaultWriterReadyPromiseReject(writer, reason) {\n if (writer._readyPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(writer._readyPromise);\n writer._readyPromise_reject(reason);\n writer._readyPromise_resolve = undefined;\n writer._readyPromise_reject = undefined;\n writer._readyPromiseState = 'rejected';\n }\n function defaultWriterReadyPromiseReset(writer) {\n defaultWriterReadyPromiseInitialize(writer);\n }\n function defaultWriterReadyPromiseResetToRejected(writer, reason) {\n defaultWriterReadyPromiseInitializeAsRejected(writer, reason);\n }\n function defaultWriterReadyPromiseResolve(writer) {\n if (writer._readyPromise_resolve === undefined) {\n return;\n }\n writer._readyPromise_resolve(undefined);\n writer._readyPromise_resolve = undefined;\n writer._readyPromise_reject = undefined;\n writer._readyPromiseState = 'fulfilled';\n }\n\n /// \n function getGlobals() {\n if (typeof globalThis !== 'undefined') {\n return globalThis;\n }\n else if (typeof self !== 'undefined') {\n return self;\n }\n else if (typeof global !== 'undefined') {\n return global;\n }\n return undefined;\n }\n const globals = getGlobals();\n\n /// \n function isDOMExceptionConstructor(ctor) {\n if (!(typeof ctor === 'function' || typeof ctor === 'object')) {\n return false;\n }\n if (ctor.name !== 'DOMException') {\n return false;\n }\n try {\n new ctor();\n return true;\n }\n catch (_a) {\n return false;\n }\n }\n /**\n * Support:\n * - Web browsers\n * - Node 18 and higher (https://github.com/nodejs/node/commit/e4b1fb5e6422c1ff151234bb9de792d45dd88d87)\n */\n function getFromGlobal() {\n const ctor = globals === null || globals === void 0 ? void 0 : globals.DOMException;\n return isDOMExceptionConstructor(ctor) ? ctor : undefined;\n }\n /**\n * Support:\n * - All platforms\n */\n function createPolyfill() {\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const ctor = function DOMException(message, name) {\n this.message = message || '';\n this.name = name || 'Error';\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n };\n setFunctionName(ctor, 'DOMException');\n ctor.prototype = Object.create(Error.prototype);\n Object.defineProperty(ctor.prototype, 'constructor', { value: ctor, writable: true, configurable: true });\n return ctor;\n }\n // eslint-disable-next-line @typescript-eslint/no-redeclare\n const DOMException = getFromGlobal() || createPolyfill();\n\n function ReadableStreamPipeTo(source, dest, preventClose, preventAbort, preventCancel, signal) {\n const reader = AcquireReadableStreamDefaultReader(source);\n const writer = AcquireWritableStreamDefaultWriter(dest);\n source._disturbed = true;\n let shuttingDown = false;\n // This is used to keep track of the spec's requirement that we wait for ongoing writes during shutdown.\n let currentWrite = promiseResolvedWith(undefined);\n return newPromise((resolve, reject) => {\n let abortAlgorithm;\n if (signal !== undefined) {\n abortAlgorithm = () => {\n const error = signal.reason !== undefined ? signal.reason : new DOMException('Aborted', 'AbortError');\n const actions = [];\n if (!preventAbort) {\n actions.push(() => {\n if (dest._state === 'writable') {\n return WritableStreamAbort(dest, error);\n }\n return promiseResolvedWith(undefined);\n });\n }\n if (!preventCancel) {\n actions.push(() => {\n if (source._state === 'readable') {\n return ReadableStreamCancel(source, error);\n }\n return promiseResolvedWith(undefined);\n });\n }\n shutdownWithAction(() => Promise.all(actions.map(action => action())), true, error);\n };\n if (signal.aborted) {\n abortAlgorithm();\n return;\n }\n signal.addEventListener('abort', abortAlgorithm);\n }\n // Using reader and writer, read all chunks from this and write them to dest\n // - Backpressure must be enforced\n // - Shutdown must stop all activity\n function pipeLoop() {\n return newPromise((resolveLoop, rejectLoop) => {\n function next(done) {\n if (done) {\n resolveLoop();\n }\n else {\n // Use `PerformPromiseThen` instead of `uponPromise` to avoid\n // adding unnecessary `.catch(rethrowAssertionErrorRejection)` handlers\n PerformPromiseThen(pipeStep(), next, rejectLoop);\n }\n }\n next(false);\n });\n }\n function pipeStep() {\n if (shuttingDown) {\n return promiseResolvedWith(true);\n }\n return PerformPromiseThen(writer._readyPromise, () => {\n return newPromise((resolveRead, rejectRead) => {\n ReadableStreamDefaultReaderRead(reader, {\n _chunkSteps: chunk => {\n currentWrite = PerformPromiseThen(WritableStreamDefaultWriterWrite(writer, chunk), undefined, noop);\n resolveRead(false);\n },\n _closeSteps: () => resolveRead(true),\n _errorSteps: rejectRead\n });\n });\n });\n }\n // Errors must be propagated forward\n isOrBecomesErrored(source, reader._closedPromise, storedError => {\n if (!preventAbort) {\n shutdownWithAction(() => WritableStreamAbort(dest, storedError), true, storedError);\n }\n else {\n shutdown(true, storedError);\n }\n return null;\n });\n // Errors must be propagated backward\n isOrBecomesErrored(dest, writer._closedPromise, storedError => {\n if (!preventCancel) {\n shutdownWithAction(() => ReadableStreamCancel(source, storedError), true, storedError);\n }\n else {\n shutdown(true, storedError);\n }\n return null;\n });\n // Closing must be propagated forward\n isOrBecomesClosed(source, reader._closedPromise, () => {\n if (!preventClose) {\n shutdownWithAction(() => WritableStreamDefaultWriterCloseWithErrorPropagation(writer));\n }\n else {\n shutdown();\n }\n return null;\n });\n // Closing must be propagated backward\n if (WritableStreamCloseQueuedOrInFlight(dest) || dest._state === 'closed') {\n const destClosed = new TypeError('the destination writable stream closed before all data could be piped to it');\n if (!preventCancel) {\n shutdownWithAction(() => ReadableStreamCancel(source, destClosed), true, destClosed);\n }\n else {\n shutdown(true, destClosed);\n }\n }\n setPromiseIsHandledToTrue(pipeLoop());\n function waitForWritesToFinish() {\n // Another write may have started while we were waiting on this currentWrite, so we have to be sure to wait\n // for that too.\n const oldCurrentWrite = currentWrite;\n return PerformPromiseThen(currentWrite, () => oldCurrentWrite !== currentWrite ? waitForWritesToFinish() : undefined);\n }\n function isOrBecomesErrored(stream, promise, action) {\n if (stream._state === 'errored') {\n action(stream._storedError);\n }\n else {\n uponRejection(promise, action);\n }\n }\n function isOrBecomesClosed(stream, promise, action) {\n if (stream._state === 'closed') {\n action();\n }\n else {\n uponFulfillment(promise, action);\n }\n }\n function shutdownWithAction(action, originalIsError, originalError) {\n if (shuttingDown) {\n return;\n }\n shuttingDown = true;\n if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {\n uponFulfillment(waitForWritesToFinish(), doTheRest);\n }\n else {\n doTheRest();\n }\n function doTheRest() {\n uponPromise(action(), () => finalize(originalIsError, originalError), newError => finalize(true, newError));\n return null;\n }\n }\n function shutdown(isError, error) {\n if (shuttingDown) {\n return;\n }\n shuttingDown = true;\n if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) {\n uponFulfillment(waitForWritesToFinish(), () => finalize(isError, error));\n }\n else {\n finalize(isError, error);\n }\n }\n function finalize(isError, error) {\n WritableStreamDefaultWriterRelease(writer);\n ReadableStreamReaderGenericRelease(reader);\n if (signal !== undefined) {\n signal.removeEventListener('abort', abortAlgorithm);\n }\n if (isError) {\n reject(error);\n }\n else {\n resolve(undefined);\n }\n return null;\n }\n });\n }\n\n /**\n * Allows control of a {@link ReadableStream | readable stream}'s state and internal queue.\n *\n * @public\n */\n class ReadableStreamDefaultController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is\n * over-full. An underlying source ought to use this information to determine when and how to apply backpressure.\n */\n get desiredSize() {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('desiredSize');\n }\n return ReadableStreamDefaultControllerGetDesiredSize(this);\n }\n /**\n * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from\n * the stream, but once those are read, the stream will become closed.\n */\n close() {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('close');\n }\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {\n throw new TypeError('The stream is not in a state that permits close');\n }\n ReadableStreamDefaultControllerClose(this);\n }\n enqueue(chunk = undefined) {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('enqueue');\n }\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) {\n throw new TypeError('The stream is not in a state that permits enqueue');\n }\n return ReadableStreamDefaultControllerEnqueue(this, chunk);\n }\n /**\n * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.\n */\n error(e = undefined) {\n if (!IsReadableStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException$1('error');\n }\n ReadableStreamDefaultControllerError(this, e);\n }\n /** @internal */\n [CancelSteps](reason) {\n ResetQueue(this);\n const result = this._cancelAlgorithm(reason);\n ReadableStreamDefaultControllerClearAlgorithms(this);\n return result;\n }\n /** @internal */\n [PullSteps](readRequest) {\n const stream = this._controlledReadableStream;\n if (this._queue.length > 0) {\n const chunk = DequeueValue(this);\n if (this._closeRequested && this._queue.length === 0) {\n ReadableStreamDefaultControllerClearAlgorithms(this);\n ReadableStreamClose(stream);\n }\n else {\n ReadableStreamDefaultControllerCallPullIfNeeded(this);\n }\n readRequest._chunkSteps(chunk);\n }\n else {\n ReadableStreamAddReadRequest(stream, readRequest);\n ReadableStreamDefaultControllerCallPullIfNeeded(this);\n }\n }\n /** @internal */\n [ReleaseSteps]() {\n // Do nothing.\n }\n }\n Object.defineProperties(ReadableStreamDefaultController.prototype, {\n close: { enumerable: true },\n enqueue: { enumerable: true },\n error: { enumerable: true },\n desiredSize: { enumerable: true }\n });\n setFunctionName(ReadableStreamDefaultController.prototype.close, 'close');\n setFunctionName(ReadableStreamDefaultController.prototype.enqueue, 'enqueue');\n setFunctionName(ReadableStreamDefaultController.prototype.error, 'error');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStreamDefaultController.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStreamDefaultController',\n configurable: true\n });\n }\n // Abstract operations for the ReadableStreamDefaultController.\n function IsReadableStreamDefaultController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableStream')) {\n return false;\n }\n return x instanceof ReadableStreamDefaultController;\n }\n function ReadableStreamDefaultControllerCallPullIfNeeded(controller) {\n const shouldPull = ReadableStreamDefaultControllerShouldCallPull(controller);\n if (!shouldPull) {\n return;\n }\n if (controller._pulling) {\n controller._pullAgain = true;\n return;\n }\n controller._pulling = true;\n const pullPromise = controller._pullAlgorithm();\n uponPromise(pullPromise, () => {\n controller._pulling = false;\n if (controller._pullAgain) {\n controller._pullAgain = false;\n ReadableStreamDefaultControllerCallPullIfNeeded(controller);\n }\n return null;\n }, e => {\n ReadableStreamDefaultControllerError(controller, e);\n return null;\n });\n }\n function ReadableStreamDefaultControllerShouldCallPull(controller) {\n const stream = controller._controlledReadableStream;\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {\n return false;\n }\n if (!controller._started) {\n return false;\n }\n if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {\n return true;\n }\n const desiredSize = ReadableStreamDefaultControllerGetDesiredSize(controller);\n if (desiredSize > 0) {\n return true;\n }\n return false;\n }\n function ReadableStreamDefaultControllerClearAlgorithms(controller) {\n controller._pullAlgorithm = undefined;\n controller._cancelAlgorithm = undefined;\n controller._strategySizeAlgorithm = undefined;\n }\n // A client of ReadableStreamDefaultController may use these functions directly to bypass state check.\n function ReadableStreamDefaultControllerClose(controller) {\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {\n return;\n }\n const stream = controller._controlledReadableStream;\n controller._closeRequested = true;\n if (controller._queue.length === 0) {\n ReadableStreamDefaultControllerClearAlgorithms(controller);\n ReadableStreamClose(stream);\n }\n }\n function ReadableStreamDefaultControllerEnqueue(controller, chunk) {\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) {\n return;\n }\n const stream = controller._controlledReadableStream;\n if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) {\n ReadableStreamFulfillReadRequest(stream, chunk, false);\n }\n else {\n let chunkSize;\n try {\n chunkSize = controller._strategySizeAlgorithm(chunk);\n }\n catch (chunkSizeE) {\n ReadableStreamDefaultControllerError(controller, chunkSizeE);\n throw chunkSizeE;\n }\n try {\n EnqueueValueWithSize(controller, chunk, chunkSize);\n }\n catch (enqueueE) {\n ReadableStreamDefaultControllerError(controller, enqueueE);\n throw enqueueE;\n }\n }\n ReadableStreamDefaultControllerCallPullIfNeeded(controller);\n }\n function ReadableStreamDefaultControllerError(controller, e) {\n const stream = controller._controlledReadableStream;\n if (stream._state !== 'readable') {\n return;\n }\n ResetQueue(controller);\n ReadableStreamDefaultControllerClearAlgorithms(controller);\n ReadableStreamError(stream, e);\n }\n function ReadableStreamDefaultControllerGetDesiredSize(controller) {\n const state = controller._controlledReadableStream._state;\n if (state === 'errored') {\n return null;\n }\n if (state === 'closed') {\n return 0;\n }\n return controller._strategyHWM - controller._queueTotalSize;\n }\n // This is used in the implementation of TransformStream.\n function ReadableStreamDefaultControllerHasBackpressure(controller) {\n if (ReadableStreamDefaultControllerShouldCallPull(controller)) {\n return false;\n }\n return true;\n }\n function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) {\n const state = controller._controlledReadableStream._state;\n if (!controller._closeRequested && state === 'readable') {\n return true;\n }\n return false;\n }\n function SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) {\n controller._controlledReadableStream = stream;\n controller._queue = undefined;\n controller._queueTotalSize = undefined;\n ResetQueue(controller);\n controller._started = false;\n controller._closeRequested = false;\n controller._pullAgain = false;\n controller._pulling = false;\n controller._strategySizeAlgorithm = sizeAlgorithm;\n controller._strategyHWM = highWaterMark;\n controller._pullAlgorithm = pullAlgorithm;\n controller._cancelAlgorithm = cancelAlgorithm;\n stream._readableStreamController = controller;\n const startResult = startAlgorithm();\n uponPromise(promiseResolvedWith(startResult), () => {\n controller._started = true;\n ReadableStreamDefaultControllerCallPullIfNeeded(controller);\n return null;\n }, r => {\n ReadableStreamDefaultControllerError(controller, r);\n return null;\n });\n }\n function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underlyingSource, highWaterMark, sizeAlgorithm) {\n const controller = Object.create(ReadableStreamDefaultController.prototype);\n let startAlgorithm;\n let pullAlgorithm;\n let cancelAlgorithm;\n if (underlyingSource.start !== undefined) {\n startAlgorithm = () => underlyingSource.start(controller);\n }\n else {\n startAlgorithm = () => undefined;\n }\n if (underlyingSource.pull !== undefined) {\n pullAlgorithm = () => underlyingSource.pull(controller);\n }\n else {\n pullAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (underlyingSource.cancel !== undefined) {\n cancelAlgorithm = reason => underlyingSource.cancel(reason);\n }\n else {\n cancelAlgorithm = () => promiseResolvedWith(undefined);\n }\n SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);\n }\n // Helper functions for the ReadableStreamDefaultController.\n function defaultControllerBrandCheckException$1(name) {\n return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`);\n }\n\n function ReadableStreamTee(stream, cloneForBranch2) {\n if (IsReadableByteStreamController(stream._readableStreamController)) {\n return ReadableByteStreamTee(stream);\n }\n return ReadableStreamDefaultTee(stream);\n }\n function ReadableStreamDefaultTee(stream, cloneForBranch2) {\n const reader = AcquireReadableStreamDefaultReader(stream);\n let reading = false;\n let readAgain = false;\n let canceled1 = false;\n let canceled2 = false;\n let reason1;\n let reason2;\n let branch1;\n let branch2;\n let resolveCancelPromise;\n const cancelPromise = newPromise(resolve => {\n resolveCancelPromise = resolve;\n });\n function pullAlgorithm() {\n if (reading) {\n readAgain = true;\n return promiseResolvedWith(undefined);\n }\n reading = true;\n const readRequest = {\n _chunkSteps: chunk => {\n // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using\n // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let\n // successful synchronously-available reads get ahead of asynchronously-available errors.\n _queueMicrotask(() => {\n readAgain = false;\n const chunk1 = chunk;\n const chunk2 = chunk;\n // There is no way to access the cloning code right now in the reference implementation.\n // If we add one then we'll need an implementation for serializable objects.\n // if (!canceled2 && cloneForBranch2) {\n // chunk2 = StructuredDeserialize(StructuredSerialize(chunk2));\n // }\n if (!canceled1) {\n ReadableStreamDefaultControllerEnqueue(branch1._readableStreamController, chunk1);\n }\n if (!canceled2) {\n ReadableStreamDefaultControllerEnqueue(branch2._readableStreamController, chunk2);\n }\n reading = false;\n if (readAgain) {\n pullAlgorithm();\n }\n });\n },\n _closeSteps: () => {\n reading = false;\n if (!canceled1) {\n ReadableStreamDefaultControllerClose(branch1._readableStreamController);\n }\n if (!canceled2) {\n ReadableStreamDefaultControllerClose(branch2._readableStreamController);\n }\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n },\n _errorSteps: () => {\n reading = false;\n }\n };\n ReadableStreamDefaultReaderRead(reader, readRequest);\n return promiseResolvedWith(undefined);\n }\n function cancel1Algorithm(reason) {\n canceled1 = true;\n reason1 = reason;\n if (canceled2) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function cancel2Algorithm(reason) {\n canceled2 = true;\n reason2 = reason;\n if (canceled1) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function startAlgorithm() {\n // do nothing\n }\n branch1 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel1Algorithm);\n branch2 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm);\n uponRejection(reader._closedPromise, (r) => {\n ReadableStreamDefaultControllerError(branch1._readableStreamController, r);\n ReadableStreamDefaultControllerError(branch2._readableStreamController, r);\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n return null;\n });\n return [branch1, branch2];\n }\n function ReadableByteStreamTee(stream) {\n let reader = AcquireReadableStreamDefaultReader(stream);\n let reading = false;\n let readAgainForBranch1 = false;\n let readAgainForBranch2 = false;\n let canceled1 = false;\n let canceled2 = false;\n let reason1;\n let reason2;\n let branch1;\n let branch2;\n let resolveCancelPromise;\n const cancelPromise = newPromise(resolve => {\n resolveCancelPromise = resolve;\n });\n function forwardReaderError(thisReader) {\n uponRejection(thisReader._closedPromise, r => {\n if (thisReader !== reader) {\n return null;\n }\n ReadableByteStreamControllerError(branch1._readableStreamController, r);\n ReadableByteStreamControllerError(branch2._readableStreamController, r);\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n return null;\n });\n }\n function pullWithDefaultReader() {\n if (IsReadableStreamBYOBReader(reader)) {\n ReadableStreamReaderGenericRelease(reader);\n reader = AcquireReadableStreamDefaultReader(stream);\n forwardReaderError(reader);\n }\n const readRequest = {\n _chunkSteps: chunk => {\n // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using\n // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let\n // successful synchronously-available reads get ahead of asynchronously-available errors.\n _queueMicrotask(() => {\n readAgainForBranch1 = false;\n readAgainForBranch2 = false;\n const chunk1 = chunk;\n let chunk2 = chunk;\n if (!canceled1 && !canceled2) {\n try {\n chunk2 = CloneAsUint8Array(chunk);\n }\n catch (cloneE) {\n ReadableByteStreamControllerError(branch1._readableStreamController, cloneE);\n ReadableByteStreamControllerError(branch2._readableStreamController, cloneE);\n resolveCancelPromise(ReadableStreamCancel(stream, cloneE));\n return;\n }\n }\n if (!canceled1) {\n ReadableByteStreamControllerEnqueue(branch1._readableStreamController, chunk1);\n }\n if (!canceled2) {\n ReadableByteStreamControllerEnqueue(branch2._readableStreamController, chunk2);\n }\n reading = false;\n if (readAgainForBranch1) {\n pull1Algorithm();\n }\n else if (readAgainForBranch2) {\n pull2Algorithm();\n }\n });\n },\n _closeSteps: () => {\n reading = false;\n if (!canceled1) {\n ReadableByteStreamControllerClose(branch1._readableStreamController);\n }\n if (!canceled2) {\n ReadableByteStreamControllerClose(branch2._readableStreamController);\n }\n if (branch1._readableStreamController._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerRespond(branch1._readableStreamController, 0);\n }\n if (branch2._readableStreamController._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerRespond(branch2._readableStreamController, 0);\n }\n if (!canceled1 || !canceled2) {\n resolveCancelPromise(undefined);\n }\n },\n _errorSteps: () => {\n reading = false;\n }\n };\n ReadableStreamDefaultReaderRead(reader, readRequest);\n }\n function pullWithBYOBReader(view, forBranch2) {\n if (IsReadableStreamDefaultReader(reader)) {\n ReadableStreamReaderGenericRelease(reader);\n reader = AcquireReadableStreamBYOBReader(stream);\n forwardReaderError(reader);\n }\n const byobBranch = forBranch2 ? branch2 : branch1;\n const otherBranch = forBranch2 ? branch1 : branch2;\n const readIntoRequest = {\n _chunkSteps: chunk => {\n // This needs to be delayed a microtask because it takes at least a microtask to detect errors (using\n // reader._closedPromise below), and we want errors in stream to error both branches immediately. We cannot let\n // successful synchronously-available reads get ahead of asynchronously-available errors.\n _queueMicrotask(() => {\n readAgainForBranch1 = false;\n readAgainForBranch2 = false;\n const byobCanceled = forBranch2 ? canceled2 : canceled1;\n const otherCanceled = forBranch2 ? canceled1 : canceled2;\n if (!otherCanceled) {\n let clonedChunk;\n try {\n clonedChunk = CloneAsUint8Array(chunk);\n }\n catch (cloneE) {\n ReadableByteStreamControllerError(byobBranch._readableStreamController, cloneE);\n ReadableByteStreamControllerError(otherBranch._readableStreamController, cloneE);\n resolveCancelPromise(ReadableStreamCancel(stream, cloneE));\n return;\n }\n if (!byobCanceled) {\n ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);\n }\n ReadableByteStreamControllerEnqueue(otherBranch._readableStreamController, clonedChunk);\n }\n else if (!byobCanceled) {\n ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);\n }\n reading = false;\n if (readAgainForBranch1) {\n pull1Algorithm();\n }\n else if (readAgainForBranch2) {\n pull2Algorithm();\n }\n });\n },\n _closeSteps: chunk => {\n reading = false;\n const byobCanceled = forBranch2 ? canceled2 : canceled1;\n const otherCanceled = forBranch2 ? canceled1 : canceled2;\n if (!byobCanceled) {\n ReadableByteStreamControllerClose(byobBranch._readableStreamController);\n }\n if (!otherCanceled) {\n ReadableByteStreamControllerClose(otherBranch._readableStreamController);\n }\n if (chunk !== undefined) {\n if (!byobCanceled) {\n ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk);\n }\n if (!otherCanceled && otherBranch._readableStreamController._pendingPullIntos.length > 0) {\n ReadableByteStreamControllerRespond(otherBranch._readableStreamController, 0);\n }\n }\n if (!byobCanceled || !otherCanceled) {\n resolveCancelPromise(undefined);\n }\n },\n _errorSteps: () => {\n reading = false;\n }\n };\n ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest);\n }\n function pull1Algorithm() {\n if (reading) {\n readAgainForBranch1 = true;\n return promiseResolvedWith(undefined);\n }\n reading = true;\n const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController);\n if (byobRequest === null) {\n pullWithDefaultReader();\n }\n else {\n pullWithBYOBReader(byobRequest._view, false);\n }\n return promiseResolvedWith(undefined);\n }\n function pull2Algorithm() {\n if (reading) {\n readAgainForBranch2 = true;\n return promiseResolvedWith(undefined);\n }\n reading = true;\n const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch2._readableStreamController);\n if (byobRequest === null) {\n pullWithDefaultReader();\n }\n else {\n pullWithBYOBReader(byobRequest._view, true);\n }\n return promiseResolvedWith(undefined);\n }\n function cancel1Algorithm(reason) {\n canceled1 = true;\n reason1 = reason;\n if (canceled2) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function cancel2Algorithm(reason) {\n canceled2 = true;\n reason2 = reason;\n if (canceled1) {\n const compositeReason = CreateArrayFromList([reason1, reason2]);\n const cancelResult = ReadableStreamCancel(stream, compositeReason);\n resolveCancelPromise(cancelResult);\n }\n return cancelPromise;\n }\n function startAlgorithm() {\n return;\n }\n branch1 = CreateReadableByteStream(startAlgorithm, pull1Algorithm, cancel1Algorithm);\n branch2 = CreateReadableByteStream(startAlgorithm, pull2Algorithm, cancel2Algorithm);\n forwardReaderError(reader);\n return [branch1, branch2];\n }\n\n function isReadableStreamLike(stream) {\n return typeIsObject(stream) && typeof stream.getReader !== 'undefined';\n }\n\n function ReadableStreamFrom(source) {\n if (isReadableStreamLike(source)) {\n return ReadableStreamFromDefaultReader(source.getReader());\n }\n return ReadableStreamFromIterable(source);\n }\n function ReadableStreamFromIterable(asyncIterable) {\n let stream;\n const iteratorRecord = GetIterator(asyncIterable, 'async');\n const startAlgorithm = noop;\n function pullAlgorithm() {\n let nextResult;\n try {\n nextResult = IteratorNext(iteratorRecord);\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n const nextPromise = promiseResolvedWith(nextResult);\n return transformPromiseWith(nextPromise, iterResult => {\n if (!typeIsObject(iterResult)) {\n throw new TypeError('The promise returned by the iterator.next() method must fulfill with an object');\n }\n const done = IteratorComplete(iterResult);\n if (done) {\n ReadableStreamDefaultControllerClose(stream._readableStreamController);\n }\n else {\n const value = IteratorValue(iterResult);\n ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);\n }\n });\n }\n function cancelAlgorithm(reason) {\n const iterator = iteratorRecord.iterator;\n let returnMethod;\n try {\n returnMethod = GetMethod(iterator, 'return');\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n if (returnMethod === undefined) {\n return promiseResolvedWith(undefined);\n }\n let returnResult;\n try {\n returnResult = reflectCall(returnMethod, iterator, [reason]);\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n const returnPromise = promiseResolvedWith(returnResult);\n return transformPromiseWith(returnPromise, iterResult => {\n if (!typeIsObject(iterResult)) {\n throw new TypeError('The promise returned by the iterator.return() method must fulfill with an object');\n }\n return undefined;\n });\n }\n stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);\n return stream;\n }\n function ReadableStreamFromDefaultReader(reader) {\n let stream;\n const startAlgorithm = noop;\n function pullAlgorithm() {\n let readPromise;\n try {\n readPromise = reader.read();\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n return transformPromiseWith(readPromise, readResult => {\n if (!typeIsObject(readResult)) {\n throw new TypeError('The promise returned by the reader.read() method must fulfill with an object');\n }\n if (readResult.done) {\n ReadableStreamDefaultControllerClose(stream._readableStreamController);\n }\n else {\n const value = readResult.value;\n ReadableStreamDefaultControllerEnqueue(stream._readableStreamController, value);\n }\n });\n }\n function cancelAlgorithm(reason) {\n try {\n return promiseResolvedWith(reader.cancel(reason));\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n }\n stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0);\n return stream;\n }\n\n function convertUnderlyingDefaultOrByteSource(source, context) {\n assertDictionary(source, context);\n const original = source;\n const autoAllocateChunkSize = original === null || original === void 0 ? void 0 : original.autoAllocateChunkSize;\n const cancel = original === null || original === void 0 ? void 0 : original.cancel;\n const pull = original === null || original === void 0 ? void 0 : original.pull;\n const start = original === null || original === void 0 ? void 0 : original.start;\n const type = original === null || original === void 0 ? void 0 : original.type;\n return {\n autoAllocateChunkSize: autoAllocateChunkSize === undefined ?\n undefined :\n convertUnsignedLongLongWithEnforceRange(autoAllocateChunkSize, `${context} has member 'autoAllocateChunkSize' that`),\n cancel: cancel === undefined ?\n undefined :\n convertUnderlyingSourceCancelCallback(cancel, original, `${context} has member 'cancel' that`),\n pull: pull === undefined ?\n undefined :\n convertUnderlyingSourcePullCallback(pull, original, `${context} has member 'pull' that`),\n start: start === undefined ?\n undefined :\n convertUnderlyingSourceStartCallback(start, original, `${context} has member 'start' that`),\n type: type === undefined ? undefined : convertReadableStreamType(type, `${context} has member 'type' that`)\n };\n }\n function convertUnderlyingSourceCancelCallback(fn, original, context) {\n assertFunction(fn, context);\n return (reason) => promiseCall(fn, original, [reason]);\n }\n function convertUnderlyingSourcePullCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => promiseCall(fn, original, [controller]);\n }\n function convertUnderlyingSourceStartCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => reflectCall(fn, original, [controller]);\n }\n function convertReadableStreamType(type, context) {\n type = `${type}`;\n if (type !== 'bytes') {\n throw new TypeError(`${context} '${type}' is not a valid enumeration value for ReadableStreamType`);\n }\n return type;\n }\n\n function convertIteratorOptions(options, context) {\n assertDictionary(options, context);\n const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;\n return { preventCancel: Boolean(preventCancel) };\n }\n\n function convertPipeOptions(options, context) {\n assertDictionary(options, context);\n const preventAbort = options === null || options === void 0 ? void 0 : options.preventAbort;\n const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel;\n const preventClose = options === null || options === void 0 ? void 0 : options.preventClose;\n const signal = options === null || options === void 0 ? void 0 : options.signal;\n if (signal !== undefined) {\n assertAbortSignal(signal, `${context} has member 'signal' that`);\n }\n return {\n preventAbort: Boolean(preventAbort),\n preventCancel: Boolean(preventCancel),\n preventClose: Boolean(preventClose),\n signal\n };\n }\n function assertAbortSignal(signal, context) {\n if (!isAbortSignal(signal)) {\n throw new TypeError(`${context} is not an AbortSignal.`);\n }\n }\n\n function convertReadableWritablePair(pair, context) {\n assertDictionary(pair, context);\n const readable = pair === null || pair === void 0 ? void 0 : pair.readable;\n assertRequiredField(readable, 'readable', 'ReadableWritablePair');\n assertReadableStream(readable, `${context} has member 'readable' that`);\n const writable = pair === null || pair === void 0 ? void 0 : pair.writable;\n assertRequiredField(writable, 'writable', 'ReadableWritablePair');\n assertWritableStream(writable, `${context} has member 'writable' that`);\n return { readable, writable };\n }\n\n /**\n * A readable stream represents a source of data, from which you can read.\n *\n * @public\n */\n class ReadableStream {\n constructor(rawUnderlyingSource = {}, rawStrategy = {}) {\n if (rawUnderlyingSource === undefined) {\n rawUnderlyingSource = null;\n }\n else {\n assertObject(rawUnderlyingSource, 'First parameter');\n }\n const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter');\n const underlyingSource = convertUnderlyingDefaultOrByteSource(rawUnderlyingSource, 'First parameter');\n InitializeReadableStream(this);\n if (underlyingSource.type === 'bytes') {\n if (strategy.size !== undefined) {\n throw new RangeError('The strategy for a byte stream cannot have a size function');\n }\n const highWaterMark = ExtractHighWaterMark(strategy, 0);\n SetUpReadableByteStreamControllerFromUnderlyingSource(this, underlyingSource, highWaterMark);\n }\n else {\n const sizeAlgorithm = ExtractSizeAlgorithm(strategy);\n const highWaterMark = ExtractHighWaterMark(strategy, 1);\n SetUpReadableStreamDefaultControllerFromUnderlyingSource(this, underlyingSource, highWaterMark, sizeAlgorithm);\n }\n }\n /**\n * Whether or not the readable stream is locked to a {@link ReadableStreamDefaultReader | reader}.\n */\n get locked() {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('locked');\n }\n return IsReadableStreamLocked(this);\n }\n /**\n * Cancels the stream, signaling a loss of interest in the stream by a consumer.\n *\n * The supplied `reason` argument will be given to the underlying source's {@link UnderlyingSource.cancel | cancel()}\n * method, which might or might not use it.\n */\n cancel(reason = undefined) {\n if (!IsReadableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$1('cancel'));\n }\n if (IsReadableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('Cannot cancel a stream that already has a reader'));\n }\n return ReadableStreamCancel(this, reason);\n }\n getReader(rawOptions = undefined) {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('getReader');\n }\n const options = convertReaderOptions(rawOptions, 'First parameter');\n if (options.mode === undefined) {\n return AcquireReadableStreamDefaultReader(this);\n }\n return AcquireReadableStreamBYOBReader(this);\n }\n pipeThrough(rawTransform, rawOptions = {}) {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('pipeThrough');\n }\n assertRequiredArgument(rawTransform, 1, 'pipeThrough');\n const transform = convertReadableWritablePair(rawTransform, 'First parameter');\n const options = convertPipeOptions(rawOptions, 'Second parameter');\n if (IsReadableStreamLocked(this)) {\n throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream');\n }\n if (IsWritableStreamLocked(transform.writable)) {\n throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream');\n }\n const promise = ReadableStreamPipeTo(this, transform.writable, options.preventClose, options.preventAbort, options.preventCancel, options.signal);\n setPromiseIsHandledToTrue(promise);\n return transform.readable;\n }\n pipeTo(destination, rawOptions = {}) {\n if (!IsReadableStream(this)) {\n return promiseRejectedWith(streamBrandCheckException$1('pipeTo'));\n }\n if (destination === undefined) {\n return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`);\n }\n if (!IsWritableStream(destination)) {\n return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`));\n }\n let options;\n try {\n options = convertPipeOptions(rawOptions, 'Second parameter');\n }\n catch (e) {\n return promiseRejectedWith(e);\n }\n if (IsReadableStreamLocked(this)) {\n return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream'));\n }\n if (IsWritableStreamLocked(destination)) {\n return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream'));\n }\n return ReadableStreamPipeTo(this, destination, options.preventClose, options.preventAbort, options.preventCancel, options.signal);\n }\n /**\n * Tees this readable stream, returning a two-element array containing the two resulting branches as\n * new {@link ReadableStream} instances.\n *\n * Teeing a stream will lock it, preventing any other consumer from acquiring a reader.\n * To cancel the stream, cancel both of the resulting branches; a composite cancellation reason will then be\n * propagated to the stream's underlying source.\n *\n * Note that the chunks seen in each branch will be the same object. If the chunks are not immutable,\n * this could allow interference between the two branches.\n */\n tee() {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('tee');\n }\n const branches = ReadableStreamTee(this);\n return CreateArrayFromList(branches);\n }\n values(rawOptions = undefined) {\n if (!IsReadableStream(this)) {\n throw streamBrandCheckException$1('values');\n }\n const options = convertIteratorOptions(rawOptions, 'First parameter');\n return AcquireReadableStreamAsyncIterator(this, options.preventCancel);\n }\n /**\n * Creates a new ReadableStream wrapping the provided iterable or async iterable.\n *\n * This can be used to adapt various kinds of objects into a readable stream,\n * such as an array, an async generator, or a Node.js readable stream.\n */\n static from(asyncIterable) {\n return ReadableStreamFrom(asyncIterable);\n }\n }\n Object.defineProperties(ReadableStream, {\n from: { enumerable: true }\n });\n Object.defineProperties(ReadableStream.prototype, {\n cancel: { enumerable: true },\n getReader: { enumerable: true },\n pipeThrough: { enumerable: true },\n pipeTo: { enumerable: true },\n tee: { enumerable: true },\n values: { enumerable: true },\n locked: { enumerable: true }\n });\n setFunctionName(ReadableStream.from, 'from');\n setFunctionName(ReadableStream.prototype.cancel, 'cancel');\n setFunctionName(ReadableStream.prototype.getReader, 'getReader');\n setFunctionName(ReadableStream.prototype.pipeThrough, 'pipeThrough');\n setFunctionName(ReadableStream.prototype.pipeTo, 'pipeTo');\n setFunctionName(ReadableStream.prototype.tee, 'tee');\n setFunctionName(ReadableStream.prototype.values, 'values');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ReadableStream.prototype, SymbolPolyfill.toStringTag, {\n value: 'ReadableStream',\n configurable: true\n });\n }\n if (typeof SymbolPolyfill.asyncIterator === 'symbol') {\n Object.defineProperty(ReadableStream.prototype, SymbolPolyfill.asyncIterator, {\n value: ReadableStream.prototype.values,\n writable: true,\n configurable: true\n });\n }\n // Abstract operations for the ReadableStream.\n // Throws if and only if startAlgorithm throws.\n function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {\n const stream = Object.create(ReadableStream.prototype);\n InitializeReadableStream(stream);\n const controller = Object.create(ReadableStreamDefaultController.prototype);\n SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);\n return stream;\n }\n // Throws if and only if startAlgorithm throws.\n function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) {\n const stream = Object.create(ReadableStream.prototype);\n InitializeReadableStream(stream);\n const controller = Object.create(ReadableByteStreamController.prototype);\n SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, undefined);\n return stream;\n }\n function InitializeReadableStream(stream) {\n stream._state = 'readable';\n stream._reader = undefined;\n stream._storedError = undefined;\n stream._disturbed = false;\n }\n function IsReadableStream(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_readableStreamController')) {\n return false;\n }\n return x instanceof ReadableStream;\n }\n function IsReadableStreamLocked(stream) {\n if (stream._reader === undefined) {\n return false;\n }\n return true;\n }\n // ReadableStream API exposed for controllers.\n function ReadableStreamCancel(stream, reason) {\n stream._disturbed = true;\n if (stream._state === 'closed') {\n return promiseResolvedWith(undefined);\n }\n if (stream._state === 'errored') {\n return promiseRejectedWith(stream._storedError);\n }\n ReadableStreamClose(stream);\n const reader = stream._reader;\n if (reader !== undefined && IsReadableStreamBYOBReader(reader)) {\n const readIntoRequests = reader._readIntoRequests;\n reader._readIntoRequests = new SimpleQueue();\n readIntoRequests.forEach(readIntoRequest => {\n readIntoRequest._closeSteps(undefined);\n });\n }\n const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason);\n return transformPromiseWith(sourceCancelPromise, noop);\n }\n function ReadableStreamClose(stream) {\n stream._state = 'closed';\n const reader = stream._reader;\n if (reader === undefined) {\n return;\n }\n defaultReaderClosedPromiseResolve(reader);\n if (IsReadableStreamDefaultReader(reader)) {\n const readRequests = reader._readRequests;\n reader._readRequests = new SimpleQueue();\n readRequests.forEach(readRequest => {\n readRequest._closeSteps();\n });\n }\n }\n function ReadableStreamError(stream, e) {\n stream._state = 'errored';\n stream._storedError = e;\n const reader = stream._reader;\n if (reader === undefined) {\n return;\n }\n defaultReaderClosedPromiseReject(reader, e);\n if (IsReadableStreamDefaultReader(reader)) {\n ReadableStreamDefaultReaderErrorReadRequests(reader, e);\n }\n else {\n ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e);\n }\n }\n // Helper functions for the ReadableStream.\n function streamBrandCheckException$1(name) {\n return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);\n }\n\n function convertQueuingStrategyInit(init, context) {\n assertDictionary(init, context);\n const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;\n assertRequiredField(highWaterMark, 'highWaterMark', 'QueuingStrategyInit');\n return {\n highWaterMark: convertUnrestrictedDouble(highWaterMark)\n };\n }\n\n // The size function must not have a prototype property nor be a constructor\n const byteLengthSizeFunction = (chunk) => {\n return chunk.byteLength;\n };\n setFunctionName(byteLengthSizeFunction, 'size');\n /**\n * A queuing strategy that counts the number of bytes in each chunk.\n *\n * @public\n */\n class ByteLengthQueuingStrategy {\n constructor(options) {\n assertRequiredArgument(options, 1, 'ByteLengthQueuingStrategy');\n options = convertQueuingStrategyInit(options, 'First parameter');\n this._byteLengthQueuingStrategyHighWaterMark = options.highWaterMark;\n }\n /**\n * Returns the high water mark provided to the constructor.\n */\n get highWaterMark() {\n if (!IsByteLengthQueuingStrategy(this)) {\n throw byteLengthBrandCheckException('highWaterMark');\n }\n return this._byteLengthQueuingStrategyHighWaterMark;\n }\n /**\n * Measures the size of `chunk` by returning the value of its `byteLength` property.\n */\n get size() {\n if (!IsByteLengthQueuingStrategy(this)) {\n throw byteLengthBrandCheckException('size');\n }\n return byteLengthSizeFunction;\n }\n }\n Object.defineProperties(ByteLengthQueuingStrategy.prototype, {\n highWaterMark: { enumerable: true },\n size: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(ByteLengthQueuingStrategy.prototype, SymbolPolyfill.toStringTag, {\n value: 'ByteLengthQueuingStrategy',\n configurable: true\n });\n }\n // Helper functions for the ByteLengthQueuingStrategy.\n function byteLengthBrandCheckException(name) {\n return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`);\n }\n function IsByteLengthQueuingStrategy(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_byteLengthQueuingStrategyHighWaterMark')) {\n return false;\n }\n return x instanceof ByteLengthQueuingStrategy;\n }\n\n // The size function must not have a prototype property nor be a constructor\n const countSizeFunction = () => {\n return 1;\n };\n setFunctionName(countSizeFunction, 'size');\n /**\n * A queuing strategy that counts the number of chunks.\n *\n * @public\n */\n class CountQueuingStrategy {\n constructor(options) {\n assertRequiredArgument(options, 1, 'CountQueuingStrategy');\n options = convertQueuingStrategyInit(options, 'First parameter');\n this._countQueuingStrategyHighWaterMark = options.highWaterMark;\n }\n /**\n * Returns the high water mark provided to the constructor.\n */\n get highWaterMark() {\n if (!IsCountQueuingStrategy(this)) {\n throw countBrandCheckException('highWaterMark');\n }\n return this._countQueuingStrategyHighWaterMark;\n }\n /**\n * Measures the size of `chunk` by always returning 1.\n * This ensures that the total queue size is a count of the number of chunks in the queue.\n */\n get size() {\n if (!IsCountQueuingStrategy(this)) {\n throw countBrandCheckException('size');\n }\n return countSizeFunction;\n }\n }\n Object.defineProperties(CountQueuingStrategy.prototype, {\n highWaterMark: { enumerable: true },\n size: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(CountQueuingStrategy.prototype, SymbolPolyfill.toStringTag, {\n value: 'CountQueuingStrategy',\n configurable: true\n });\n }\n // Helper functions for the CountQueuingStrategy.\n function countBrandCheckException(name) {\n return new TypeError(`CountQueuingStrategy.prototype.${name} can only be used on a CountQueuingStrategy`);\n }\n function IsCountQueuingStrategy(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_countQueuingStrategyHighWaterMark')) {\n return false;\n }\n return x instanceof CountQueuingStrategy;\n }\n\n function convertTransformer(original, context) {\n assertDictionary(original, context);\n const cancel = original === null || original === void 0 ? void 0 : original.cancel;\n const flush = original === null || original === void 0 ? void 0 : original.flush;\n const readableType = original === null || original === void 0 ? void 0 : original.readableType;\n const start = original === null || original === void 0 ? void 0 : original.start;\n const transform = original === null || original === void 0 ? void 0 : original.transform;\n const writableType = original === null || original === void 0 ? void 0 : original.writableType;\n return {\n cancel: cancel === undefined ?\n undefined :\n convertTransformerCancelCallback(cancel, original, `${context} has member 'cancel' that`),\n flush: flush === undefined ?\n undefined :\n convertTransformerFlushCallback(flush, original, `${context} has member 'flush' that`),\n readableType,\n start: start === undefined ?\n undefined :\n convertTransformerStartCallback(start, original, `${context} has member 'start' that`),\n transform: transform === undefined ?\n undefined :\n convertTransformerTransformCallback(transform, original, `${context} has member 'transform' that`),\n writableType\n };\n }\n function convertTransformerFlushCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => promiseCall(fn, original, [controller]);\n }\n function convertTransformerStartCallback(fn, original, context) {\n assertFunction(fn, context);\n return (controller) => reflectCall(fn, original, [controller]);\n }\n function convertTransformerTransformCallback(fn, original, context) {\n assertFunction(fn, context);\n return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);\n }\n function convertTransformerCancelCallback(fn, original, context) {\n assertFunction(fn, context);\n return (reason) => promiseCall(fn, original, [reason]);\n }\n\n // Class TransformStream\n /**\n * A transform stream consists of a pair of streams: a {@link WritableStream | writable stream},\n * known as its writable side, and a {@link ReadableStream | readable stream}, known as its readable side.\n * In a manner specific to the transform stream in question, writes to the writable side result in new data being\n * made available for reading from the readable side.\n *\n * @public\n */\n class TransformStream {\n constructor(rawTransformer = {}, rawWritableStrategy = {}, rawReadableStrategy = {}) {\n if (rawTransformer === undefined) {\n rawTransformer = null;\n }\n const writableStrategy = convertQueuingStrategy(rawWritableStrategy, 'Second parameter');\n const readableStrategy = convertQueuingStrategy(rawReadableStrategy, 'Third parameter');\n const transformer = convertTransformer(rawTransformer, 'First parameter');\n if (transformer.readableType !== undefined) {\n throw new RangeError('Invalid readableType specified');\n }\n if (transformer.writableType !== undefined) {\n throw new RangeError('Invalid writableType specified');\n }\n const readableHighWaterMark = ExtractHighWaterMark(readableStrategy, 0);\n const readableSizeAlgorithm = ExtractSizeAlgorithm(readableStrategy);\n const writableHighWaterMark = ExtractHighWaterMark(writableStrategy, 1);\n const writableSizeAlgorithm = ExtractSizeAlgorithm(writableStrategy);\n let startPromise_resolve;\n const startPromise = newPromise(resolve => {\n startPromise_resolve = resolve;\n });\n InitializeTransformStream(this, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm);\n SetUpTransformStreamDefaultControllerFromTransformer(this, transformer);\n if (transformer.start !== undefined) {\n startPromise_resolve(transformer.start(this._transformStreamController));\n }\n else {\n startPromise_resolve(undefined);\n }\n }\n /**\n * The readable side of the transform stream.\n */\n get readable() {\n if (!IsTransformStream(this)) {\n throw streamBrandCheckException('readable');\n }\n return this._readable;\n }\n /**\n * The writable side of the transform stream.\n */\n get writable() {\n if (!IsTransformStream(this)) {\n throw streamBrandCheckException('writable');\n }\n return this._writable;\n }\n }\n Object.defineProperties(TransformStream.prototype, {\n readable: { enumerable: true },\n writable: { enumerable: true }\n });\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(TransformStream.prototype, SymbolPolyfill.toStringTag, {\n value: 'TransformStream',\n configurable: true\n });\n }\n function InitializeTransformStream(stream, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm) {\n function startAlgorithm() {\n return startPromise;\n }\n function writeAlgorithm(chunk) {\n return TransformStreamDefaultSinkWriteAlgorithm(stream, chunk);\n }\n function abortAlgorithm(reason) {\n return TransformStreamDefaultSinkAbortAlgorithm(stream, reason);\n }\n function closeAlgorithm() {\n return TransformStreamDefaultSinkCloseAlgorithm(stream);\n }\n stream._writable = CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, writableHighWaterMark, writableSizeAlgorithm);\n function pullAlgorithm() {\n return TransformStreamDefaultSourcePullAlgorithm(stream);\n }\n function cancelAlgorithm(reason) {\n return TransformStreamDefaultSourceCancelAlgorithm(stream, reason);\n }\n stream._readable = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, readableHighWaterMark, readableSizeAlgorithm);\n // The [[backpressure]] slot is set to undefined so that it can be initialised by TransformStreamSetBackpressure.\n stream._backpressure = undefined;\n stream._backpressureChangePromise = undefined;\n stream._backpressureChangePromise_resolve = undefined;\n TransformStreamSetBackpressure(stream, true);\n stream._transformStreamController = undefined;\n }\n function IsTransformStream(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_transformStreamController')) {\n return false;\n }\n return x instanceof TransformStream;\n }\n // This is a no-op if both sides are already errored.\n function TransformStreamError(stream, e) {\n ReadableStreamDefaultControllerError(stream._readable._readableStreamController, e);\n TransformStreamErrorWritableAndUnblockWrite(stream, e);\n }\n function TransformStreamErrorWritableAndUnblockWrite(stream, e) {\n TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController);\n WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController, e);\n TransformStreamUnblockWrite(stream);\n }\n function TransformStreamUnblockWrite(stream) {\n if (stream._backpressure) {\n // Pretend that pull() was called to permit any pending write() calls to complete. TransformStreamSetBackpressure()\n // cannot be called from enqueue() or pull() once the ReadableStream is errored, so this will will be the final time\n // _backpressure is set.\n TransformStreamSetBackpressure(stream, false);\n }\n }\n function TransformStreamSetBackpressure(stream, backpressure) {\n // Passes also when called during construction.\n if (stream._backpressureChangePromise !== undefined) {\n stream._backpressureChangePromise_resolve();\n }\n stream._backpressureChangePromise = newPromise(resolve => {\n stream._backpressureChangePromise_resolve = resolve;\n });\n stream._backpressure = backpressure;\n }\n // Class TransformStreamDefaultController\n /**\n * Allows control of the {@link ReadableStream} and {@link WritableStream} of the associated {@link TransformStream}.\n *\n * @public\n */\n class TransformStreamDefaultController {\n constructor() {\n throw new TypeError('Illegal constructor');\n }\n /**\n * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full.\n */\n get desiredSize() {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('desiredSize');\n }\n const readableController = this._controlledTransformStream._readable._readableStreamController;\n return ReadableStreamDefaultControllerGetDesiredSize(readableController);\n }\n enqueue(chunk = undefined) {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('enqueue');\n }\n TransformStreamDefaultControllerEnqueue(this, chunk);\n }\n /**\n * Errors both the readable side and the writable side of the controlled transform stream, making all future\n * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded.\n */\n error(reason = undefined) {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('error');\n }\n TransformStreamDefaultControllerError(this, reason);\n }\n /**\n * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the\n * transformer only needs to consume a portion of the chunks written to the writable side.\n */\n terminate() {\n if (!IsTransformStreamDefaultController(this)) {\n throw defaultControllerBrandCheckException('terminate');\n }\n TransformStreamDefaultControllerTerminate(this);\n }\n }\n Object.defineProperties(TransformStreamDefaultController.prototype, {\n enqueue: { enumerable: true },\n error: { enumerable: true },\n terminate: { enumerable: true },\n desiredSize: { enumerable: true }\n });\n setFunctionName(TransformStreamDefaultController.prototype.enqueue, 'enqueue');\n setFunctionName(TransformStreamDefaultController.prototype.error, 'error');\n setFunctionName(TransformStreamDefaultController.prototype.terminate, 'terminate');\n if (typeof SymbolPolyfill.toStringTag === 'symbol') {\n Object.defineProperty(TransformStreamDefaultController.prototype, SymbolPolyfill.toStringTag, {\n value: 'TransformStreamDefaultController',\n configurable: true\n });\n }\n // Transform Stream Default Controller Abstract Operations\n function IsTransformStreamDefaultController(x) {\n if (!typeIsObject(x)) {\n return false;\n }\n if (!Object.prototype.hasOwnProperty.call(x, '_controlledTransformStream')) {\n return false;\n }\n return x instanceof TransformStreamDefaultController;\n }\n function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm) {\n controller._controlledTransformStream = stream;\n stream._transformStreamController = controller;\n controller._transformAlgorithm = transformAlgorithm;\n controller._flushAlgorithm = flushAlgorithm;\n controller._cancelAlgorithm = cancelAlgorithm;\n controller._finishPromise = undefined;\n controller._finishPromise_resolve = undefined;\n controller._finishPromise_reject = undefined;\n }\n function SetUpTransformStreamDefaultControllerFromTransformer(stream, transformer) {\n const controller = Object.create(TransformStreamDefaultController.prototype);\n let transformAlgorithm;\n let flushAlgorithm;\n let cancelAlgorithm;\n if (transformer.transform !== undefined) {\n transformAlgorithm = chunk => transformer.transform(chunk, controller);\n }\n else {\n transformAlgorithm = chunk => {\n try {\n TransformStreamDefaultControllerEnqueue(controller, chunk);\n return promiseResolvedWith(undefined);\n }\n catch (transformResultE) {\n return promiseRejectedWith(transformResultE);\n }\n };\n }\n if (transformer.flush !== undefined) {\n flushAlgorithm = () => transformer.flush(controller);\n }\n else {\n flushAlgorithm = () => promiseResolvedWith(undefined);\n }\n if (transformer.cancel !== undefined) {\n cancelAlgorithm = reason => transformer.cancel(reason);\n }\n else {\n cancelAlgorithm = () => promiseResolvedWith(undefined);\n }\n SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm, cancelAlgorithm);\n }\n function TransformStreamDefaultControllerClearAlgorithms(controller) {\n controller._transformAlgorithm = undefined;\n controller._flushAlgorithm = undefined;\n controller._cancelAlgorithm = undefined;\n }\n function TransformStreamDefaultControllerEnqueue(controller, chunk) {\n const stream = controller._controlledTransformStream;\n const readableController = stream._readable._readableStreamController;\n if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)) {\n throw new TypeError('Readable side is not in a state that permits enqueue');\n }\n // We throttle transform invocations based on the backpressure of the ReadableStream, but we still\n // accept TransformStreamDefaultControllerEnqueue() calls.\n try {\n ReadableStreamDefaultControllerEnqueue(readableController, chunk);\n }\n catch (e) {\n // This happens when readableStrategy.size() throws.\n TransformStreamErrorWritableAndUnblockWrite(stream, e);\n throw stream._readable._storedError;\n }\n const backpressure = ReadableStreamDefaultControllerHasBackpressure(readableController);\n if (backpressure !== stream._backpressure) {\n TransformStreamSetBackpressure(stream, true);\n }\n }\n function TransformStreamDefaultControllerError(controller, e) {\n TransformStreamError(controller._controlledTransformStream, e);\n }\n function TransformStreamDefaultControllerPerformTransform(controller, chunk) {\n const transformPromise = controller._transformAlgorithm(chunk);\n return transformPromiseWith(transformPromise, undefined, r => {\n TransformStreamError(controller._controlledTransformStream, r);\n throw r;\n });\n }\n function TransformStreamDefaultControllerTerminate(controller) {\n const stream = controller._controlledTransformStream;\n const readableController = stream._readable._readableStreamController;\n ReadableStreamDefaultControllerClose(readableController);\n const error = new TypeError('TransformStream terminated');\n TransformStreamErrorWritableAndUnblockWrite(stream, error);\n }\n // TransformStreamDefaultSink Algorithms\n function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) {\n const controller = stream._transformStreamController;\n if (stream._backpressure) {\n const backpressureChangePromise = stream._backpressureChangePromise;\n return transformPromiseWith(backpressureChangePromise, () => {\n const writable = stream._writable;\n const state = writable._state;\n if (state === 'erroring') {\n throw writable._storedError;\n }\n return TransformStreamDefaultControllerPerformTransform(controller, chunk);\n });\n }\n return TransformStreamDefaultControllerPerformTransform(controller, chunk);\n }\n function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) {\n const controller = stream._transformStreamController;\n if (controller._finishPromise !== undefined) {\n return controller._finishPromise;\n }\n // stream._readable cannot change after construction, so caching it across a call to user code is safe.\n const readable = stream._readable;\n // Assign the _finishPromise now so that if _cancelAlgorithm calls readable.cancel() internally,\n // we don't run the _cancelAlgorithm again.\n controller._finishPromise = newPromise((resolve, reject) => {\n controller._finishPromise_resolve = resolve;\n controller._finishPromise_reject = reject;\n });\n const cancelPromise = controller._cancelAlgorithm(reason);\n TransformStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(cancelPromise, () => {\n if (readable._state === 'errored') {\n defaultControllerFinishPromiseReject(controller, readable._storedError);\n }\n else {\n ReadableStreamDefaultControllerError(readable._readableStreamController, reason);\n defaultControllerFinishPromiseResolve(controller);\n }\n return null;\n }, r => {\n ReadableStreamDefaultControllerError(readable._readableStreamController, r);\n defaultControllerFinishPromiseReject(controller, r);\n return null;\n });\n return controller._finishPromise;\n }\n function TransformStreamDefaultSinkCloseAlgorithm(stream) {\n const controller = stream._transformStreamController;\n if (controller._finishPromise !== undefined) {\n return controller._finishPromise;\n }\n // stream._readable cannot change after construction, so caching it across a call to user code is safe.\n const readable = stream._readable;\n // Assign the _finishPromise now so that if _flushAlgorithm calls readable.cancel() internally,\n // we don't also run the _cancelAlgorithm.\n controller._finishPromise = newPromise((resolve, reject) => {\n controller._finishPromise_resolve = resolve;\n controller._finishPromise_reject = reject;\n });\n const flushPromise = controller._flushAlgorithm();\n TransformStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(flushPromise, () => {\n if (readable._state === 'errored') {\n defaultControllerFinishPromiseReject(controller, readable._storedError);\n }\n else {\n ReadableStreamDefaultControllerClose(readable._readableStreamController);\n defaultControllerFinishPromiseResolve(controller);\n }\n return null;\n }, r => {\n ReadableStreamDefaultControllerError(readable._readableStreamController, r);\n defaultControllerFinishPromiseReject(controller, r);\n return null;\n });\n return controller._finishPromise;\n }\n // TransformStreamDefaultSource Algorithms\n function TransformStreamDefaultSourcePullAlgorithm(stream) {\n // Invariant. Enforced by the promises returned by start() and pull().\n TransformStreamSetBackpressure(stream, false);\n // Prevent the next pull() call until there is backpressure.\n return stream._backpressureChangePromise;\n }\n function TransformStreamDefaultSourceCancelAlgorithm(stream, reason) {\n const controller = stream._transformStreamController;\n if (controller._finishPromise !== undefined) {\n return controller._finishPromise;\n }\n // stream._writable cannot change after construction, so caching it across a call to user code is safe.\n const writable = stream._writable;\n // Assign the _finishPromise now so that if _flushAlgorithm calls writable.abort() or\n // writable.cancel() internally, we don't run the _cancelAlgorithm again, or also run the\n // _flushAlgorithm.\n controller._finishPromise = newPromise((resolve, reject) => {\n controller._finishPromise_resolve = resolve;\n controller._finishPromise_reject = reject;\n });\n const cancelPromise = controller._cancelAlgorithm(reason);\n TransformStreamDefaultControllerClearAlgorithms(controller);\n uponPromise(cancelPromise, () => {\n if (writable._state === 'errored') {\n defaultControllerFinishPromiseReject(controller, writable._storedError);\n }\n else {\n WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, reason);\n TransformStreamUnblockWrite(stream);\n defaultControllerFinishPromiseResolve(controller);\n }\n return null;\n }, r => {\n WritableStreamDefaultControllerErrorIfNeeded(writable._writableStreamController, r);\n TransformStreamUnblockWrite(stream);\n defaultControllerFinishPromiseReject(controller, r);\n return null;\n });\n return controller._finishPromise;\n }\n // Helper functions for the TransformStreamDefaultController.\n function defaultControllerBrandCheckException(name) {\n return new TypeError(`TransformStreamDefaultController.prototype.${name} can only be used on a TransformStreamDefaultController`);\n }\n function defaultControllerFinishPromiseResolve(controller) {\n if (controller._finishPromise_resolve === undefined) {\n return;\n }\n controller._finishPromise_resolve();\n controller._finishPromise_resolve = undefined;\n controller._finishPromise_reject = undefined;\n }\n function defaultControllerFinishPromiseReject(controller, reason) {\n if (controller._finishPromise_reject === undefined) {\n return;\n }\n setPromiseIsHandledToTrue(controller._finishPromise);\n controller._finishPromise_reject(reason);\n controller._finishPromise_resolve = undefined;\n controller._finishPromise_reject = undefined;\n }\n // Helper functions for the TransformStream.\n function streamBrandCheckException(name) {\n return new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`);\n }\n\n exports.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy;\n exports.CountQueuingStrategy = CountQueuingStrategy;\n exports.ReadableByteStreamController = ReadableByteStreamController;\n exports.ReadableStream = ReadableStream;\n exports.ReadableStreamBYOBReader = ReadableStreamBYOBReader;\n exports.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest;\n exports.ReadableStreamDefaultController = ReadableStreamDefaultController;\n exports.ReadableStreamDefaultReader = ReadableStreamDefaultReader;\n exports.TransformStream = TransformStream;\n exports.TransformStreamDefaultController = TransformStreamDefaultController;\n exports.WritableStream = WritableStream;\n exports.WritableStreamDefaultController = WritableStreamDefaultController;\n exports.WritableStreamDefaultWriter = WritableStreamDefaultWriter;\n\n}));\n//# sourceMappingURL=ponyfill.es2018.js.map\n","import { main } from \"@/program\";\n/**\n * The exit code for failure situations.\n */\nconst EXIT_FAILURE = 1;\n// Execute the script and catch any errors it may throw.\n// If the script threw an error, exit with generic failure exit code.\nconst exitCode = await main().catch(() => EXIT_FAILURE);\nif (typeof exitCode === \"number\") {\n process.exitCode = exitCode;\n}\n","/**\n * A symbol representing the `call` function of a {@link Callable} object.\n */\nexport const CALL = Symbol.for(\"call\");\n/**\n * Makes an object callable.\n *\n * @template T - The type of the object.\n * @param obj - The object to make callable.\n *\n * @returns A new {@link Callable} object with the same properties as the original one, but which can be called like a function.\n */\nexport function makeCallable(obj) {\n /**\n * Redirects a call to the {@link CALL} function.\n */\n function call(...args) {\n return call[CALL](...args);\n }\n Object.assign(call, obj);\n Object.setPrototypeOf(call, Object.getPrototypeOf(obj));\n return call;\n}\n","/**\n * Converts a comparer function into an equality comparer function.\n * The resulting equality comparer function returns `true` if the comparer returns `0`.\n *\n * @param comparer - The comparer function to convert.\n *\n * @returns An equality comparer function that returns `true` if the comparer returns `0`.\n */\nexport function convertComparerToEqualityComparer(comparer) {\n return (x, y) => comparer(x, y) === 0;\n}\n/**\n * Returns a new comparer function that represents the inverted comparison result of the original comparer.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - The original comparer function.\n *\n * @returns A new comparer function that represents the inverted comparison result of the original comparer.\n */\nexport function invertComparer(comparer) {\n return (left, right) => comparer(right, left);\n}\n/**\n * Combines two {@link Comparer} instances in order to create a new one that sorts\n * elements based on the first comparer, and then by the second one.\n *\n * @template T - The type of the elements being compared.\n * @param left - The first comparer to use when comparing elements.\n * @param right - The second comparer to use when comparing elements.\n *\n * @returns A new {@link Comparer} instance that sorts elements based on the first comparer, and then by the second one.\n */\nexport function combineComparers(left, right) {\n return (a, b) => {\n const leftResult = left(a, b);\n return leftResult === 0 ? right(a, b) : leftResult;\n };\n}\n","/**\n * Returns a new equality comparer that is the negation of the specified comparer.\n *\n * @template T - The type of values being compared.\n *\n * @param comparer - The equality comparer to negate.\n *\n * @returns A new equality comparer that returns `true` when the specified comparer returns `false`, and vice versa.\n */\nexport function negateEqualityComparer(comparer) {\n return (x, y) => !comparer(x, y);\n}\n/**\n * Combines two equality comparers using the logical OR operator.\n *\n * @template T - The type of values being compared.\n *\n * @param left - The first equality comparer to use in the OR operation.\n * @param right - The second equality comparer to use in the OR operation.\n *\n * @returns A new equality comparer that returns `true` if either the `left` or `right` comparer returns `true`.\n */\nexport function orEqualityComparers(left, right) {\n return (x, y) => left(x, y) || right(x, y);\n}\n/**\n * Combines two equality comparers using the logical AND operator.\n *\n * @template T - The type of values being compared.\n *\n * @param left - The first equality comparer to use in the AND operation.\n * @param right - The second equality comparer to use in the AND operation.\n *\n * @returns A new equality comparer that returns `true` if both the `left` and `right` comparers return `true`.\n */\nexport function andEqualityComparers(left, right) {\n return (x, y) => left(x, y) && right(x, y);\n}\n","import { CALL, makeCallable } from \"@/utils/functions/callable\";\nimport { andEqualityComparers, negateEqualityComparer, orEqualityComparers } from \"./equality-comparer.utils\";\n/**\n * A class that represents a composite equality comparer.\n *\n * @template T - The type of the elements to compare.\n */\nexport class CompositeEqualityComparer {\n /**\n * The underlying comparer function used for comparison.\n */\n _comparer;\n /**\n * The negated version of this comparer.\n */\n _negated;\n /**\n * Creates a new instance of {@link CompositeEqualityComparer}.\n *\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeEqualityComparer} instance, if any.\n *\n * @remarks\n *\n * Should **not** be called directly. Use {@link create}, or {@link createInternal} instead.\n */\n constructor(comparer, inverted) {\n this._comparer = comparer;\n this._negated = inverted;\n }\n /**\n * Creates a new instance of {@link CompositeEqualityComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeEqualityComparer} instance, if any.\n *\n * @returns A new instance of {@link CompositeEqualityComparer}.\n */\n static createInternal(comparer, inverted) {\n return makeCallable(new CompositeEqualityComparer(comparer, inverted));\n }\n /**\n * Creates a new instance of {@link CompositeEqualityComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n *\n * @returns A new instance of {@link CompositeEqualityComparer}.\n */\n static create(comparer) {\n return CompositeEqualityComparer.createInternal(comparer);\n }\n /**\n * Compares two values for equality.\n *\n * @param x - The first value to compare.\n * @param y - The second value to compare.\n *\n * @returns `true` if the values are equal; otherwise, `false`.\n */\n equals(x, y) {\n return this._comparer(x, y);\n }\n /**\n * Compares two values for equality.\n *\n * @param x - The first value to compare.\n * @param y - The second value to compare.\n *\n * @returns `true` if the values are equal; otherwise, `false`.\n */\n [CALL](x, y) {\n return this._comparer(x, y);\n }\n /**\n * Combines this comparer with another using the logical OR operator.\n *\n * @param comparer - The other comparer to combine with.\n *\n * @returns A new composite equality comparer representing the combination of this and the other comparer.\n */\n or(comparer) {\n const unwrappedComparer = comparer instanceof CompositeEqualityComparer ? comparer._comparer : comparer;\n const combinedComparer = orEqualityComparers(this._comparer, unwrappedComparer);\n return CompositeEqualityComparer.createInternal(combinedComparer);\n }\n /**\n * Combines this comparer with another using the logical AND operator.\n *\n * @param comparer - The other comparer to combine with.\n *\n * @returns A new composite equality comparer representing the combination of this and the other comparer.\n */\n and(comparer) {\n const unwrappedComparer = comparer instanceof CompositeEqualityComparer ? comparer._comparer : comparer;\n const combinedComparer = andEqualityComparers(this._comparer, unwrappedComparer);\n return CompositeEqualityComparer.createInternal(combinedComparer);\n }\n /**\n * Negates this comparer using the logical NOT operator.\n *\n * @returns A new composite equality comparer representing the negation of this comparer.\n */\n negate() {\n this._negated ??= CompositeEqualityComparer.createInternal(negateEqualityComparer(this._comparer), this);\n return this._negated;\n }\n}\n","import { CALL, makeCallable } from \"@/utils/functions/callable\";\nimport { combineComparers, convertComparerToEqualityComparer, invertComparer } from \"./comparer.utils\";\nimport { CompositeEqualityComparer } from \"./composite-equality-comparer\";\n/**\n * A class that represents a composite comparer.\n *\n * @template T - The type of the elements to compare.\n */\nexport class CompositeComparer {\n /**\n * The underlying comparer function used for comparison.\n */\n _comparer;\n /**\n * The inverted version of this comparer.\n */\n _inverted;\n /**\n * Constructs a new instance of {@link CompositeComparer}.\n *\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeComparer} instance, if any.\n *\n * @remarks\n *\n * Should **not** be called directly. Use {@link create}, or {@link createInternal} instead.\n */\n constructor(comparer, inverted) {\n this._comparer = comparer;\n this._inverted = inverted;\n }\n /**\n * Creates a new instance of {@link CompositeComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n * @param inverted - A cached inverted {@link CompositeComparer} instance, if any.\n *\n * @returns A new instance of {@link CompositeComparer}.\n */\n static createInternal(comparer, inverted) {\n return makeCallable(new CompositeComparer(comparer, inverted));\n }\n /**\n * Creates a new instance of {@link CompositeComparer}.\n *\n * @template T - The type of the elements to compare.\n * @param comparer - An underlying comparer that should be used for comparison.\n *\n * @returns A new instance of {@link CompositeComparer}.\n */\n static create(comparer) {\n return CompositeComparer.createInternal(comparer);\n }\n /**\n * Compares two elements and returns a value indicating whether one element is less than, equal to, or greater than the other.\n *\n * @param left - The first element to compare.\n * @param right - The second element to compare.\n *\n * @returns A number that represents the comparison result.\n */\n compare(left, right) {\n return this._comparer(left, right);\n }\n /**\n * Compares two elements and returns a value indicating whether one element is less than, equal to, or greater than the other.\n *\n * @param left - The first element to compare.\n * @param right - The second element to compare.\n *\n * @returns A number that represents the comparison result.\n */\n [CALL](left, right) {\n return this._comparer(left, right);\n }\n /**\n * Creates a new comparer which compares elements using this comparer first, and then using the `nextComparer`.\n *\n * @param comparer - The next comparer to use if this comparer returns equal result.\n *\n * @returns A new comparer which compares elements using this comparer first, and then using the `nextComparer`.\n */\n thenBy(comparer) {\n const unwrappedComparer = comparer instanceof CompositeComparer ? comparer._comparer : comparer;\n const combinedComparer = combineComparers(this._comparer, unwrappedComparer);\n return CompositeComparer.createInternal(combinedComparer);\n }\n /**\n * Creates a new comparer that inverts the comparison result of this comparer.\n *\n * @returns A new comparer that inverts the comparison result of this comparer.\n */\n invert() {\n this._inverted ??= CompositeComparer.createInternal(invertComparer(this._comparer), this);\n return this._inverted;\n }\n /**\n * Converts the current {@link CompositeComparer} instance into a new {@link CompositeEqualityComparer} instance.\n *\n * @returns A new {@link CompositeEqualityComparer} instance that uses the underlying comparer function to compare for equality.\n */\n asEqualityComparer() {\n return CompositeEqualityComparer.create(convertComparerToEqualityComparer(this._comparer));\n }\n}\n","import { CompositeComparer } from \"./composite-comparer\";\n/**\n * Creates a new {@link CompositeComparer} instance based on the specified `comparer`.\n *\n * @template T - The type of the elements being compared.\n * @param comparer - The base {@link Comparer} used to create the new {@link CompositeComparer}.\n *\n * @returns A new {@link CompositeComparer} instance.\n */\nexport function createComparer(comparer) {\n return CompositeComparer.create(comparer);\n}\n// These functions were moved to a different file because of problems with circular references.\nexport { convertComparerToEqualityComparer, invertComparer, combineComparers, } from \"./comparer.utils\";\n/**\n * The base comparer that can compare any two values.\n *\n * It treats `undefined` as smaller than any other value, and `null` as smaller than any value except `undefined`.\n * Any non-null and non-undefined values are considered equal.\n */\nconst BASE_COMPARER = createComparer((left, right) => {\n if (left === undefined) {\n return right === undefined ? 0 : -1;\n }\n if (left === null) {\n return right === undefined ? 1 : right === null ? 0 : -1;\n }\n if (right === undefined || right === null) {\n return 1;\n }\n return 0;\n});\n/**\n * The default comparer that compares two values using their natural order\n * defined by the built-in `>` and `<` operators.\n */\nconst DEFAULT_COMPARER = BASE_COMPARER.thenBy((left, right) => left < right ? -1 : left > right ? 1 : 0);\n/**\n * Creates a base comparer that can compare any two values.\n *\n * It treats `undefined` as smaller than any other value, and `null` as smaller than any value except `undefined`.\n * Any non-null and non-undefined values are considered equal.\n *\n * @template T - The type of the elements being compared.\n */\nexport function createBaseComparer() {\n return BASE_COMPARER;\n}\n/**\n * Creates a default comparer that compares two values using their natural order\n * defined by the built-in `>` and `<` operators.\n *\n * @template T - The type of the elements being compared.\n */\nexport function createDefaultComparer() {\n return DEFAULT_COMPARER;\n}\n","import { createBaseComparer, createDefaultComparer } from \"./comparer\";\n/**\n * A string comparer that performs a case-sensitive ordinal string comparison.\n */\nexport const ORDINAL_COMPARER = createDefaultComparer();\n/**\n * A string comparer that ignores case differences.\n */\nexport const IGNORE_CASE_COMPARER = createBaseComparer().thenBy((left, right) => left?.localeCompare(right, undefined, { sensitivity: \"accent\" }) ?? 0);\n","import { CompositeEqualityComparer } from \"./composite-equality-comparer\";\n/**\n * Creates a composite equality comparer from the specified function.\n *\n * @template T - The type of values being compared.\n *\n * @param comparer - The equality comparer function to use as the base comparer.\n *\n * @returns A new {@link CompositeEqualityComparer} object.\n */\nexport function createEqualityComparer(comparer) {\n return CompositeEqualityComparer.create(comparer);\n}\n// These functions were moved to a different file because of problems with circular references.\nexport { negateEqualityComparer, orEqualityComparers, andEqualityComparers, } from \"./equality-comparer.utils\";\n/**\n * The default equality comparer that uses strict equality (`===`) to compare values.\n */\nconst DEFAULT_EQUALITY_COMPARER = createEqualityComparer((x, y) => x === y);\n/**\n * Creates a composite equality comparer that uses strict equality (`===`) to compare values.\n *\n * @template T - The type of values being compared.\n */\nexport function createDefaultEqualityComparer() {\n return DEFAULT_EQUALITY_COMPARER;\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:crypto\");","import { createHash, randomBytes } from \"node:crypto\";\nimport { IGNORE_CASE_COMPARER, ORDINAL_COMPARER } from \"@/utils/comparison\";\n/**\n * Returns the input value converted to a string.\n *\n * If the input value is already a string, it is returned as-is.\n * Otherwise, the output of `String()` is returned.\n *\n * @param s - The input value to convert to a string.\n *\n * @returns The input value as a string.\n */\nexport function asString(s) {\n return typeof s === \"string\" ? s : String(s);\n}\n/**\n * A regular expression that matches a string consisting of a single letter character.\n */\nexport const IS_LETTER_REGEX = /^\\p{L}$/u;\n/**\n * Checks if the provided string is a single letter.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the string is a single letter; otherwise, `false`.\n */\nexport function isLetter(s) {\n return s?.length === 1 && IS_LETTER_REGEX.test(s);\n}\n/**\n * A regular expression that matches a string consisting of a single digit character.\n */\nexport const IS_DIGIT_REGEX = /^\\d$/;\n/**\n * Checks if the provided string is a single digit.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the string is a single digit; otherwise, `false`.\n */\nexport function isDigit(s) {\n return s?.length === 1 && s >= \"0\" && s <= \"9\";\n}\n/**\n * A regular expression that matches a string consisting of a single letter or digit character.\n */\nexport const IS_LETTER_OR_DIGIT_REGEX = /^(?:\\p{L}|\\d)$/u;\n/**\n * Checks if the provided string is a single letter or digit.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the string is a single letter or digit; otherwise, `false`.\n */\nexport function isLetterOrDigit(s) {\n return s?.length === 1 && IS_LETTER_OR_DIGIT_REGEX.test(s);\n}\n/**\n * A regular expression that matches strings containing only uppercase characters\n * and not containing any lowercase Unicode characters.\n */\nexport const IS_UPPER_CASE_REGEX = /^[^\\p{Ll}]*$/u;\n/**\n * Checks if a string contains only uppercase characters.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the input string contains only uppercase characters; otherwise, `false`.\n */\nexport function isUpperCase(s) {\n return IS_UPPER_CASE_REGEX.test(s);\n}\n/**\n * A regular expression that matches strings containing only lowercase characters\n * and not containing any uppercase Unicode characters.\n */\nexport const IS_LOWER_CASE_REGEX = /^[^\\p{Lu}]*$/u;\n/**\n * Checks if a string contains only lowercase characters.\n *\n * @param s - The string to check.\n *\n * @returns `true` if the input string contains only lowercase characters; otherwise, `false`.\n */\nexport function isLowerCase(s) {\n return IS_LOWER_CASE_REGEX.test(s);\n}\n/**\n * Checks if a given string represents a valid number.\n *\n * @param s - The string to be checked.\n *\n * @returns `true` if the string represents a valid number; otherwise, `false`.\n */\nexport function isNumberString(s) {\n return String(+s) === s;\n}\n/**\n * Checks if a given string represents a valid integer number.\n *\n * @param s - The string to be checked.\n *\n * @returns `true` if the string represents a valid integer number; otherwise, `false`.\n */\nexport function isIntegerString(s) {\n return String(parseInt(s)) === s;\n}\n/**\n * Compares two strings lexicographically and returns a value indicating whether one string is less than, equal to, or greater than the other.\n *\n * @param left - The first string to compare.\n * @param right - The second string to compare.\n * @param options - Options for comparing strings.\n *\n * @returns A value indicating the comparison result:\n *\n * - A value less than 0 indicates that `left` is less than `right`.\n * - 0 indicates that `left` is equal to `right`.\n * - A value greater than 0 indicates that `left` is greater than `right`.\n */\nexport function stringCompare(left, right, options) {\n const comparer = options?.ignoreCase ? IGNORE_CASE_COMPARER : ORDINAL_COMPARER;\n return comparer.compare(left, right);\n}\n/**\n * Compares two strings.\n *\n * @param left - The first string to compare.\n * @param right - The second string to compare.\n * @param options - Options for comparing strings.\n *\n * @returns `true` if the strings are equal; otherwise, `false`.\n */\nexport function stringEquals(left, right, options) {\n return stringCompare(left, right, options) === 0;\n}\n/**\n * Capitalizes the first letter of a string.\n *\n * @param s - The string to capitalize.\n *\n * @returns The capitalized string.\n */\nexport function capitalize(s) {\n return s.charAt(0).toUpperCase() + s.slice(1);\n}\n/**\n * Converts the first character of a string to lowercase.\n *\n * @param s - The input string.\n *\n * @returns The input string with the first character converted to lowercase.\n */\nexport function uncapitalize(s) {\n return s.charAt(0).toLowerCase() + s.slice(1);\n}\n/**\n * Converts a string to PascalCase.\n *\n * This function can handle input strings in the following formats:\n * - PascalCase\n * - camelCase\n * - kebab-case\n * - snake_case\n * - SCREAMING_SNAKE_CASE\n *\n * @param s - The input string to be converted to PascalCase.\n *\n * @returns The input string converted to PascalCase.\n */\nexport function toPascalCase(s) {\n // Convert input to lowercase if the entire string is in uppercase (SCREAMING_SNAKE_CASE)\n if (isUpperCase(s)) {\n s = s.toLowerCase();\n }\n return s\n // Replace any character following a non-word character (such as - or _) with its uppercase counterpart\n .replace(/(?:^|[\\s_-])(\\w)/g, (_, char) => char.toUpperCase())\n // Remove any non-word characters (such as - or _) from the result\n .replace(/[\\s_-]/g, \"\");\n}\n/**\n * Splits a string into an array of substrings based on a separator.\n *\n * @param s - The string to split.\n * @param separator - The separator to split the string by. Can be a string, a regular expression, or an array of strings.\n * @param options - Options for splitting the string.\n *\n * @returns An array of substrings from the original string.\n */\nexport function split(s, separator, options) {\n if (!s) {\n return [];\n }\n if (Array.isArray(separator)) {\n return splitByArrayOfStrings(s, separator, options);\n }\n return splitByStringOrRegex(s, separator, options);\n}\n/**\n * Split a string into substrings using the specified separator and return them as an array.\n *\n * @param s - The string to split.\n * @param separator - The separator to split the string by. Can be a string, or a regular expression.\n * @param options - Options for splitting the string.\n *\n * @returns An array of substrings from the original string.\n */\nfunction splitByStringOrRegex(s, separator, options) {\n const trimEntries = options?.trimEntries ?? false;\n const removeEmptyEntries = options?.removeEmptyEntries ?? false;\n const parts = s.split(separator);\n if (trimEntries) {\n for (let i = 0; i < parts.length; ++i) {\n parts[i] = parts[i].trim();\n }\n }\n return removeEmptyEntries ? parts.filter(x => x) : parts;\n}\n/**\n * Splits a string into an array of substrings based on the given separators.\n *\n * @param s - The input string to split.\n * @param separators - The array of separators to split the string by.\n * @param options - Options for splitting the string.\n *\n * @returns An array of substrings from the original string.\n */\nfunction splitByArrayOfStrings(s, separators, options) {\n const trimEntries = options?.trimEntries ?? false;\n const removeEmptyEntries = options?.removeEmptyEntries ?? false;\n const splitted = [];\n let previousIndex = -1;\n for (let i = 0; i < s.length; ++i) {\n if (!separators.includes(s.charAt(i))) {\n continue;\n }\n let part = s.substring(previousIndex + 1, i);\n previousIndex = i;\n if (trimEntries) {\n part = part.trim();\n }\n if (part || !removeEmptyEntries) {\n splitted.push(part);\n }\n }\n let lastPart = s.substring(previousIndex + 1);\n if (trimEntries) {\n lastPart = lastPart.trim();\n }\n if (lastPart || !removeEmptyEntries) {\n splitted.push(lastPart);\n }\n return splitted;\n}\n/**\n * Splits a string into an array of lines.\n *\n * @param text - The input string to split.\n * @param options - An optional object that specifies the options for splitting the string, including the maximum line length.\n *\n * @returns An array of strings, where each string represents a line from the input string. If the `maxLength` option is specified, the lines will be truncated at the specified length.\n */\nexport function splitLines(text, options) {\n const maxLength = options?.maxLength || 0;\n const lines = text.split(/\\r?\\n/);\n if (maxLength <= 0) {\n return lines;\n }\n const shortenedLines = lines.flatMap(line => {\n if (line.length <= maxLength) {\n return line;\n }\n const words = line.split(\" \");\n const linesFromCurrentLine = [];\n let currentLine = \"\";\n for (const word of words) {\n if (currentLine.length + word.length <= maxLength) {\n currentLine += (currentLine ? \" \" : \"\") + word;\n }\n else {\n linesFromCurrentLine.push(currentLine);\n currentLine = word;\n }\n }\n linesFromCurrentLine.push(currentLine);\n return linesFromCurrentLine;\n });\n return shortenedLines;\n}\n/**\n * Pads a string with spaces or a specific fill character to the specified maximum length.\n *\n * @param s - The input string to pad.\n * @param maxLength - The maximum length of the padded string.\n * @param options - An optional object that specifies the options for padding the string.\n *\n * @returns A string that represents the padded input string according to the specified options.\n */\nexport function pad(s, maxLength, options) {\n s ||= \"\";\n switch (options?.align) {\n case \"left\":\n return s.padEnd(maxLength, options?.fillString);\n case \"right\":\n return s.padStart(maxLength, options?.fillString);\n default:\n const availableLength = maxLength - s.length;\n if (availableLength <= 0) {\n return s;\n }\n const padStartLength = (availableLength >> 1) + s.length;\n return s.padStart(padStartLength, options?.fillString).padEnd(maxLength, options?.fillString);\n }\n}\n/**\n * Generates a secure random string of a specified length.\n *\n * @param length - The desired length of the generated string.\n *\n * @returns The secure random string in hexadecimal format.\n */\nexport function generateSecureRandomString(length) {\n const bytes = randomBytes(Math.ceil(length / 2));\n return bytes.toString(\"hex\").slice(0, length);\n}\n/**\n * Hashes a string using the specified algorithm.\n *\n * @param input - The string to be hashed.\n * @param algorithm - The hashing algorithm to use (default: \"sha256\").\n *\n * @returns The hashed string in hexadecimal format.\n */\nexport function hashString(input, algorithm = \"sha256\") {\n return createHash(algorithm).update(input).digest(\"hex\");\n}\n","import { IS_LETTER_OR_DIGIT_REGEX } from \"@/utils/string-utils\";\nimport { createDefaultEqualityComparer, createEqualityComparer } from \"./equality-comparer\";\nimport { IGNORE_CASE_COMPARER } from \"./string-comparer\";\n/**\n * A string comparer that performs a case-sensitive ordinal string comparison.\n */\nexport const ORDINAL_EQUALITY_COMPARER = createDefaultEqualityComparer();\n/**\n * A string comparer that ignores case differences.\n */\nexport const IGNORE_CASE_EQUALITY_COMPARER = IGNORE_CASE_COMPARER.asEqualityComparer();\n/**\n * An equality comparer that compares two strings ignoring non-word characters (e.g. spaces, punctuation).\n */\nexport const IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER = createEqualityComparer((x, y) => compareStringsIgnoreNonWordCharacters(x, y, false));\n/**\n * Creates an equality comparer that compares two strings ignoring non-word characters (e.g. spaces, punctuation) and case sensitivity.\n */\nexport const IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER = createEqualityComparer((x, y) => compareStringsIgnoreNonWordCharacters(x, y, true));\n/**\n * A comparer function that compares two strings ignoring non-word characters (e.g. spaces, punctuation).\n *\n * @param x - The first string to compare.\n * @param y - The second string to compare.\n * @param ignoreCase - A flag indicating whether to ignore case during comparison.\n *\n * @returns `true` if the two strings are equal; otherwise, `false`.\n */\nfunction compareStringsIgnoreNonWordCharacters(x, y, ignoreCase) {\n if (x === null || x === undefined || y === null || y === undefined) {\n return x === y;\n }\n const sensitivity = ignoreCase ? \"accent\" : \"variant\";\n let xI = 0;\n let yI = 0;\n while (xI < x.length && yI < y.length) {\n let xChar = x.charAt(xI);\n let yChar = y.charAt(yI);\n if (xChar === yChar) {\n ++xI;\n ++yI;\n continue;\n }\n while (xI < x.length && !IS_LETTER_OR_DIGIT_REGEX.test(xChar)) {\n xChar = x.charAt(++xI);\n }\n while (yI < y.length && !IS_LETTER_OR_DIGIT_REGEX.test(yChar)) {\n yChar = y.charAt(++yI);\n }\n if (xChar.localeCompare(yChar, undefined, { sensitivity }) !== 0) {\n return false;\n }\n ++xI;\n ++yI;\n }\n while (xI < x.length && !IS_LETTER_OR_DIGIT_REGEX.test(x.charAt(xI))) {\n ++xI;\n }\n while (yI < y.length && !IS_LETTER_OR_DIGIT_REGEX.test(y.charAt(yI))) {\n ++yI;\n }\n return xI >= x.length && yI >= y.length;\n}\n","/**\n * This descriptor is used to describe a set of flags stored as a `bigint` value.\n */\nexport class BigIntDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"bigint\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return 0n;\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n return (value & flag) === flag;\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n return value | flag;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n return value & ~flag;\n }\n}\n","/**\n * This descriptor is used to describe a set of flags stored as a `boolean` value.\n */\nexport class BooleanDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"boolean\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return false;\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n return !flag || value;\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n return value || flag;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n return value && !flag;\n }\n}\n","/**\n * This descriptor is used to describe a set of flags stored as a `number` value.\n */\nexport class NumberDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"number\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return 0;\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n return (value & flag) === flag;\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n return value | flag;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n return value & ~flag;\n }\n}\n","/**\n * An array of characters that can be used to separate enum values in a string.\n */\nexport const ENUM_SEPARATORS = [\",\", \"|\"];\n/**\n * The default separator used when converting an enum value to a string.\n */\nexport const DEFAULT_ENUM_SEPARATOR = ENUM_SEPARATORS[0];\n","import { split } from \"@/utils/string-utils\";\nimport { ENUM_SEPARATORS, DEFAULT_ENUM_SEPARATOR } from \"../enum-separators\";\n/**\n * This descriptor is used to describe a set of flags stored as a `string` value.\n *\n * @remarks\n *\n * It's super inefficient, when it comes to flags, because the whole concept\n * of string flags just seems too shady to me to optimize for these scenarios.\n * So, string enums are ok, but string enums with flags are not recommended.\n */\nexport class StringDescriptor {\n /**\n * @inheritdoc\n */\n get name() {\n return \"string\";\n }\n /**\n * @inheritdoc\n */\n get defaultValue() {\n return \"\";\n }\n /**\n * @inheritdoc\n */\n hasFlag(value, flag) {\n if (flag === this.defaultValue || flag === value) {\n return true;\n }\n if (!value) {\n return false;\n }\n const flags = split(value, ENUM_SEPARATORS, { trimEntries: true, removeEmptyEntries: true });\n return flags.includes(flag);\n }\n /**\n * @inheritdoc\n */\n addFlag(value, flag) {\n value = this.removeFlag(value, flag);\n return value ? `${value}${DEFAULT_ENUM_SEPARATOR} ${flag}` : value;\n }\n /**\n * @inheritdoc\n */\n removeFlag(value, flag) {\n if (value === this.defaultValue || flag === this.defaultValue) {\n return value;\n }\n if (value === flag) {\n return this.defaultValue;\n }\n const flags = split(value, ENUM_SEPARATORS, { trimEntries: true, removeEmptyEntries: true });\n return flags.filter(x => x !== flag).join(`${DEFAULT_ENUM_SEPARATOR} `);\n }\n}\n","import { BigIntDescriptor } from \"./bigint-descriptor\";\nimport { BooleanDescriptor } from \"./boolean-descriptor\";\nimport { NumberDescriptor } from \"./number-descriptor\";\nimport { StringDescriptor } from \"./string-descriptor\";\n/**\n * A map of known `EnumDescriptor`s, keyed by the string representation of their underlying type.\n */\nconst KNOWN_ENUM_DESCRIPTORS = new Map([\n [\"bigint\", new BigIntDescriptor()],\n [\"boolean\", new BooleanDescriptor()],\n [\"number\", new NumberDescriptor()],\n [\"string\", new StringDescriptor()],\n]);\n/**\n * Gets the {@link EnumDescriptor} for the provided type name.\n *\n * @template T - The type of the result to return\n * @param type - The name of the type to get the descriptor for\n *\n * @returns The descriptor for the specified type, or `undefined` if there is no such descriptor.\n */\nexport function getEnumDescriptorByUnderlyingType(type) {\n return KNOWN_ENUM_DESCRIPTORS.get(type);\n}\n/**\n * Infers the descriptor for an enum based on its values.\n *\n * @template T - Type of the enum.\n *\n * @param values - The values of the enum.\n *\n * @returns The inferred descriptor for the enum.\n *\n * @throws An error if the enum contains objects of different types or an invalid underlying type.\n */\nexport function inferEnumDescriptorOrThrow(values) {\n if (!values.every((x, i, self) => i === 0 || typeof x === typeof self[i - 1])) {\n throw new Error(\"The enum must contain objects of the same type.\");\n }\n const underlyingType = values.length ? typeof values[0] : \"number\";\n const descriptor = getEnumDescriptorByUnderlyingType(underlyingType);\n if (!descriptor) {\n throw new Error(`'${underlyingType}' is not an acceptable enum type.`);\n }\n return descriptor;\n}\n","import { createDefaultEqualityComparer } from \"@/utils/comparison\";\nimport { $i } from \"./iterable\";\n/**\n * Checks if a given value is an instance of a {@link Set}-like object.\n *\n * @template T - The element type of the `Set`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `Set`-like object or not.\n */\nexport function isSet(value) {\n if (value instanceof Set) {\n return true;\n }\n const set = value;\n return (!!set &&\n typeof set.values === \"function\" &&\n typeof set.add === \"function\" &&\n typeof set.delete === \"function\" &&\n typeof set.has === \"function\" &&\n typeof set[Symbol.iterator] === \"function\");\n}\n/**\n * Checks if a given value is an instance of a {@link ReadOnlySet}-like object.\n *\n * @template T - The element type of the `ReadOnlySet`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `ReadOnlySet`-like object or not.\n */\nexport function isReadOnlySet(value) {\n if (value instanceof Set) {\n return true;\n }\n const set = value;\n return (!!set &&\n typeof set.values === \"function\" &&\n typeof set.has === \"function\" &&\n typeof set[Symbol.iterator] === \"function\");\n}\n/**\n * Implements {@link Set} using an array under the hood.\n *\n * @template T - The type of values in the Map.\n *\n * @remarks\n *\n * Recommended for small collections and/or for occasions when you need to provide a custom equality comparer.\n */\nexport class ArraySet {\n /**\n * The array of values.\n */\n _values;\n /**\n * The equality comparer used to compare values.\n */\n _comparer;\n /**\n * Constructs an {@link ArraySet} from either an iterable of values or an equality comparer.\n *\n * @param valuesOrComparer - The iterable of values or the equality comparer to use for comparing values.\n * @param comparer - The equality comparer to use for comparing values (if `valuesOrComparer` is an iterable).\n */\n constructor(valuesOrComparer, comparer) {\n // If valuesOrComparer is a function, it must be the comparer, so use it.\n // Otherwise, use the default comparer.\n comparer ??= typeof valuesOrComparer === \"function\" ? valuesOrComparer : createDefaultEqualityComparer();\n // If valuesOrComparer is undefined or is in fact a comparer, create an empty array of values.\n const values = valuesOrComparer && valuesOrComparer !== comparer ? valuesOrComparer : [];\n this._values = [];\n this._comparer = comparer;\n for (const value of values) {\n this.add(value);\n }\n }\n /**\n * Returns the number of elements in the set.\n */\n get size() {\n return this._values.length;\n }\n /**\n * Adds a value to the set.\n *\n * @param value - The value to add to the set.\n *\n * @returns The set object, for chaining purposes.\n */\n add(value) {\n const i = $i(this._values).indexOf(value, this._comparer);\n if (i === -1) {\n this._values.push(value);\n }\n else {\n this._values[i] = value;\n }\n return this;\n }\n /**\n * Returns a boolean indicating whether a value exists in the set or not.\n *\n * @param value - The value to search for in the set.\n *\n * @returns `true` if the given value exists in the set; otherwise, `false`.\n */\n has(value) {\n return $i(this._values).includes(value, this._comparer);\n }\n /**\n * Removes the value from the set.\n *\n * @param value - The value to remove from the set.\n *\n * @returns `true` if the value was found and removed; otherwise, `false`.\n */\n delete(value) {\n const i = $i(this._values).indexOf(value, this._comparer);\n if (i === -1) {\n return false;\n }\n this._values.splice(i, 1);\n return true;\n }\n /**\n * Removes all values from the set.\n */\n clear() {\n this._values.splice(0);\n }\n /**\n * Funnily enough, returns an iterator over the values in the set.\n *\n * @remarks\n *\n * This method exists because somebody thought that we need to keep\n * `Set`'s and `Map`'s APIs similar for some reason.\n */\n keys() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns an iterator over the values in the set.\n */\n values() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns a new {@link Iterator} object that contains an array of `[value, value]`\n * for each element in the {@link ArraySet} object, in insertion order.\n *\n * @remarks\n *\n * This method exists because somebody thought that we need to keep\n * `Set`'s and `Map`'s APIs similar for some reason.\n */\n *entries() {\n const values = this._values;\n for (let i = 0; i < values.length; ++i) {\n yield [values[i], values[i]];\n }\n }\n /**\n * Executes a provided function once per each value in the set.\n *\n * @param callbackFn - Function to execute for each value in the set.\n * @param thisArg - Object to use as `this` when executing `callbackFn`.\n */\n forEach(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n const values = this._values;\n for (let i = 0; i < values.length; ++i) {\n callbackFn(values[i], values[i], this);\n }\n }\n /**\n * Returns an iterator over the values in the set.\n */\n [Symbol.iterator]() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Set\";\n }\n}\n","import { createDefaultComparer, createDefaultEqualityComparer } from \"@/utils/comparison\";\nimport { ArrayMap } from \"./map\";\nimport { ArraySet } from \"./set\";\n/**\n * Determines whether a value is iterable.H\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterable - The value to check.\n *\n * @returns `true` if the value is iterable; otherwise, `false`.\n */\nexport function isIterable(iterable) {\n return typeof iterable?.[Symbol.iterator] === \"function\";\n}\n/**\n * Returns the elements of an iterable that meet the condition specified in a callback function.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to filter.\n * @param predicate - A function to test each element of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns An iterable that contains the elements from the input iterable that satisfy the condition specified by the predicate function.\n */\nexport function* filter(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n yield value;\n }\n }\n}\n/**\n * Returns an iterable that contains only the distinct elements of the input iterable.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to filter.\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing only the distinct elements of the input iterable.\n */\nexport function distinct(iterable, comparer) {\n return comparer ? new ArraySet(iterable, comparer) : new Set(iterable);\n}\n/**\n * Returns a new iterable that contains only the distinct elements of the input iterable, based on the selected property.\n *\n * @template T - The type of the elements in the iterable.\n * @template U - The type of the property used for comparison.\n *\n * @param iterable - The iterable to filter.\n * @param selector - A function to select the property used for comparison.\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing the distinct elements of the input iterable based on the selected property.\n */\nexport function distinctBy(iterable, selector, comparer) {\n if (comparer) {\n const valueComparer = (a, b) => comparer(selector(a), selector(b));\n return new ArraySet(iterable, valueComparer);\n }\n return new Map(map(iterable, x => [selector(x), x])).values();\n}\n/**\n * Executes a provided function on every element of the iterable and returns the results in a new iterable.\n *\n * @template T - The type of the elements in the input iterable.\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param iterable - The iterable to map.\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the results of applying the callback function to each element in the input iterable.\n */\nexport function* map(iterable, callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n yield callbackFn(value, i++, iterable);\n }\n}\n/**\n * Executes a provided function on every element of the iterable and flattens the results into a new iterable.\n *\n * @template T - The type of the elements in the input iterable.\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param iterable - The iterable to flat map.\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the flattened results of applying the callback function to each element in the input iterable.\n */\nexport function* flatMap(iterable, callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n yield* callbackFn(value, i++, iterable);\n }\n}\n/**\n * Applies a provided function to each element of the iterable, ultimately reducing the iterable to a single value.\n *\n * @template T - The type of the elements in the input iterable.\n * @template U - The type of the accumulator and the resulting single value.\n *\n * @param iterable - The iterable to reduce.\n * @param callbackFn - The function to apply to each element in the input iterable and the accumulator.\n * @param initialValue - The initial value to use as the accumulator.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns The accumulated single value resulting from applying the callback function to each element in the input iterable.\n */\nexport function reduce(iterable, callbackFn, initialValue, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let accumulator = initialValue;\n let i = 0;\n for (const value of iterable) {\n if (accumulator === undefined && i === 0) {\n accumulator = value;\n }\n else {\n accumulator = callbackFn(accumulator, value, i, iterable);\n }\n ++i;\n }\n return accumulator;\n}\n/**\n * Returns an iterable that skips the first `count` elements of the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param count - The number of elements to skip. Must be a non-negative integer.\n *\n * @returns An iterable that contains the remaining elements after skipping `count` elements.\n */\nexport function* skip(iterable, count) {\n const it = iterable[Symbol.iterator]();\n for (let i = 0; i < count; ++i) {\n const { done } = it.next();\n if (done) {\n return;\n }\n }\n yield* { [Symbol.iterator]: () => it };\n}\n/**\n * Returns an iterable that contains the first `count` elements of the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param count - The number of elements to take. Must be a non-negative integer.\n *\n * @returns An iterable that contains the first `count` elements of the input iterable.\n */\nexport function* take(iterable, count) {\n let i = 0;\n for (const value of iterable) {\n if (++i > count) {\n return;\n }\n yield value;\n }\n}\n/**\n * Returns an iterable containing the last `count` elements of the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param count - The number of elements to include in the output iterable.\n *\n * @returns An iterable containing the last `count` elements of the input iterable.\n */\nexport function takeLast(iterable, count) {\n const buffer = [];\n for (const item of iterable) {\n buffer.push(item);\n if (buffer.length > count) {\n buffer.shift();\n }\n }\n return buffer;\n}\n/**\n * Returns an iterable that contains a subset of the elements in the input iterable.\n *\n * @template T - The type of elements in the input iterable.\n *\n * @param iterable - The input iterable.\n * @param start - The starting index *(inclusive)*. If omitted, defaults to `0`.\n * @param end - The ending index *(exclusive)*. If omitted, returns all elements after the `start` index.\n *\n * @returns An iterable that contains a subset of the elements in the input iterable.\n */\nexport function slice(iterable, start, end) {\n if (end === 0) {\n return [];\n }\n const isRelative = start < 0 || end < 0;\n if (isRelative) {\n return asArray(iterable).slice(start, end);\n }\n start ||= 0;\n const skipped = start === 0 ? iterable : skip(iterable, start);\n const took = end === undefined ? skipped : take(skipped, end - start);\n return took;\n}\n/**\n * Returns a new array with the elements of the input iterable in reverse order.\n *\n * @remarks\n *\n * This function will eagerly iterate over the input iterable and return an array with its elements in reverse order.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to reverse.\n *\n * @returns A new array with the elements of the input iterable in reverse order.\n */\nexport function reverse(iterable) {\n return [...iterable].reverse();\n}\n/**\n * Returns a new array with the elements of the input iterable sorted according to the specified comparer function.\n *\n * @remarks\n *\n * This function will eagerly iterate over the input iterable and return a new array with its elements sorted in ascending order.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to sort.\n * @param comparer - An optional function that compares two elements and returns a number indicating their relative order.\n *\n * @returns A new array with the elements of the input iterable sorted according to the specified comparer function.\n */\nexport function sort(iterable, comparer) {\n return [...iterable].sort(comparer || createDefaultComparer());\n}\n/**\n * Checks whether all elements of an iterable satisfy a specific condition.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to check.\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `false` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if every element of the iterable satisfies the condition; otherwise, `false`.\n*/\nexport function every(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (!predicate(value, i++, iterable)) {\n return false;\n }\n }\n return true;\n}\n/**\n * Checks whether any element of an iterable satisfies a specific condition.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to check.\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `true` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if any element of the iterable satisfies the condition; otherwise, `false`.\n */\nexport function some(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n return true;\n }\n }\n return false;\n}\n/**\n * Returns the minimum value in an iterable based on a specified comparison function.\n *\n * @param iterable - The iterable from which to find the minimum value.\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The minimum value in the iterable, or `undefined` if the iterable is empty.\n */\nexport function min(iterable, comparer, thisArg) {\n return extremum(iterable, -1, comparer, thisArg);\n}\n/**\n * Returns the maximum value in an iterable based on a specified comparison function.\n *\n * @param iterable - The iterable from which to find the maximum value.\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The maximum value in the iterable, or `undefined` if the iterable is empty.\n */\nexport function max(iterable, comparer, thisArg) {\n return extremum(iterable, 1, comparer, thisArg);\n}\n/**\n * Finds the extreme value in an iterable based on a specified comparison sign and comparison function.\n *\n * @param iterable - The iterable from which to find the extreme value.\n * @param comparisonSign - A positive number to indicate maximum search; a negative number to indicate minimum search.\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The extreme value in the iterable, or `undefined` if the iterable is empty.\n */\nfunction extremum(iterable, comparisonSign, comparer, thisArg) {\n comparer ||= createDefaultComparer();\n comparer = thisArg === undefined ? comparer : comparer.bind(thisArg);\n let currentValue = undefined;\n let currentValueIndex = -1;\n let i = -1;\n for (const value of iterable) {\n ++i;\n if (currentValueIndex === -1) {\n currentValue = value;\n currentValueIndex = i;\n continue;\n }\n if (Math.sign(comparer(value, currentValue, i, currentValueIndex, iterable)) === comparisonSign) {\n currentValue = value;\n currentValueIndex = i;\n }\n }\n return currentValue;\n}\n/**\n * Counts the number of elements in an iterable that satisfy a specific condition.\n *\n * @remarks\n *\n * If no predicate function is provided, this method returns the length of the iterable.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to check.\n * @param predicate - The count method calls the predicate function for each element in the iterable and increments the counter if the predicate returns a value which is coercible to the `true` boolean value.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns The number of elements in the iterable that satisfy the condition.\n */\nexport function count(iterable, predicate, thisArg) {\n if (!predicate && Array.isArray(iterable)) {\n return iterable.length;\n }\n let count = 0;\n if (predicate) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n ++count;\n }\n }\n }\n else {\n for (const _value of iterable) {\n ++count;\n }\n }\n return count;\n}\n/**\n * Returns the index of the first occurrence of a specified value in an iterable object, starting the search at a specified index.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable object to search for the specified value.\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index to start the search at.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the first occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\nexport function indexOf(iterable, searchElement, fromIndex, comparer) {\n if (typeof fromIndex !== \"number\") {\n comparer = fromIndex;\n fromIndex = 0;\n }\n fromIndex ??= 0;\n comparer ??= createDefaultEqualityComparer();\n let i = 0;\n for (const value of iterable) {\n if (i >= fromIndex && comparer(searchElement, value)) {\n return i;\n }\n ++i;\n }\n return -1;\n}\n/**\n * Returns the index of the last occurrence of a specified value in an iterable object, starting the search at a specified index.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable object to search for the specified value.\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index at which to begin searching backward.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the last occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\nexport function lastIndexOf(iterable, searchElement, fromIndex, comparer) {\n if (typeof fromIndex !== \"number\") {\n comparer = fromIndex;\n fromIndex = Infinity;\n }\n fromIndex ??= Infinity;\n comparer ??= createDefaultEqualityComparer();\n let i = 0;\n let lastIndex = -1;\n for (const value of iterable) {\n if (i >= fromIndex) {\n break;\n }\n if (comparer(searchElement, value)) {\n lastIndex = i;\n }\n ++i;\n }\n return lastIndex;\n}\n/**\n * Determines whether an iterable includes a certain element, returning `true` or `false` as appropriate.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search for the element.\n * @param searchElement - The element to search for.\n * @param fromIndex - The position in the iterable at which to begin searching for the element.\n * @param comparer - An optional function to use for comparing elements.\n *\n * @returns A boolean indicating whether the element was found in the iterable.\n */\nexport function includes(iterable, searchElement, fromIndex, comparer) {\n return indexOf(iterable, searchElement, fromIndex, comparer) !== -1;\n}\n/**\n * Checks if two iterables are equal, element by element, using an optional custom comparer.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param first - The first iterable to compare.\n * @param second - The second iterable to compare.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterables are equal.\n */\nexport function sequenceEqual(first, second, comparer) {\n comparer ??= createDefaultEqualityComparer();\n const firstIterator = first[Symbol.iterator]();\n const secondIterator = second[Symbol.iterator]();\n let firstCurrentElement = firstIterator.next();\n let secondCurrentElement = secondIterator.next();\n while (!firstCurrentElement.done && !secondCurrentElement.done) {\n if (!comparer(firstCurrentElement.value, secondCurrentElement.value)) {\n return false;\n }\n firstCurrentElement = firstIterator.next();\n secondCurrentElement = secondIterator.next();\n }\n return firstCurrentElement.done && secondCurrentElement.done;\n}\n/**\n * Checks if an iterable starts with the specified search elements, using an optional custom comparer.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to search.\n * @param searchElements - The elements to search for at the start of the iterable.\n * @param fromIndex - An optional index to start the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable starts with the search elements.\n */\nexport function startsWith(iterable, searchElements, fromIndex, comparer) {\n if (typeof fromIndex !== \"number\") {\n comparer = fromIndex;\n fromIndex = 0;\n }\n fromIndex ||= 0;\n comparer ||= createDefaultEqualityComparer();\n const iterableIterator = skip(iterable, fromIndex || 0)[Symbol.iterator]();\n const searchElementsIterator = searchElements[Symbol.iterator]();\n let iterableElement = iterableIterator.next();\n let searchElement = searchElementsIterator.next();\n while (!searchElement.done) {\n if (iterableElement.done || !comparer(iterableElement.value, searchElement.value)) {\n return false;\n }\n iterableElement = iterableIterator.next();\n searchElement = searchElementsIterator.next();\n }\n return true;\n}\n/**\n * Checks if an iterable ends with the specified search elements, using an optional custom comparer.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to search.\n * @param searchElements - The elements to search for at the end of the iterable.\n * @param toIndex - An optional index to end the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable ends with the search elements.\n */\nexport function endsWith(iterable, searchElements, toIndex, comparer) {\n if (typeof toIndex !== \"number\") {\n comparer = toIndex;\n toIndex = undefined;\n }\n const searchElementsBuffered = asArray(searchElements);\n const limitedIterable = typeof toIndex === \"number\" ? take(iterable, toIndex) : iterable;\n const lastElements = takeLast(limitedIterable, searchElementsBuffered.length);\n return sequenceEqual(lastElements, searchElementsBuffered, comparer);\n}\n/**\n * Returns the index of the first element in an iterable that satisfies the provided predicate function.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search.\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The index of the first element in the iterable that satisfies the provided predicate function, or `-1` if none are found.\n */\nexport function findIndex(iterable, predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i, iterable)) {\n return i;\n }\n ++i;\n }\n return -1;\n}\n/**\n * Returns the first element in an iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the first element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the first element in the iterable, or `undefined` if the iterable is empty.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search.\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\nexport function first(iterable, predicate, thisArg) {\n if (!predicate) {\n // eslint-disable-next-line no-unreachable-loop\n for (const value of iterable) {\n return value;\n }\n return undefined;\n }\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n return value;\n }\n }\n return undefined;\n}\n/**\n * Returns the last element in an iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the last element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the last element in the iterable, or `undefined` if the iterable is empty.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable to search.\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The last element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\nexport function last(iterable, predicate, thisArg) {\n if (!predicate) {\n let lastValue = undefined;\n for (const value of iterable) {\n lastValue = value;\n }\n return lastValue;\n }\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n let i = 0;\n let lastValue = undefined;\n for (const value of iterable) {\n if (predicate(value, i++, iterable)) {\n lastValue = value;\n }\n }\n return lastValue;\n}\n/**\n * Returns the element at the specified index in an iterable object.\n *\n * @template T - The type of elements in the iterable object.\n *\n * @param iterable - The iterable object to get the element from.\n * @param index - The zero-based index of the element to get.\n *\n * @returns The element at the specified index or `undefined` if the index is out of range or the iterable is empty.\n */\nexport function at(iterable, index) {\n if (Array.isArray(iterable)) {\n return iterable.at(index);\n }\n const isRelative = index < 0;\n if (isRelative) {\n return first(takeLast(iterable, -index));\n }\n return first(skip(iterable, index));\n}\n/**\n * Concatenates the elements in an iterable object using a specified separator between each element.\n *\n * @param iterable - The iterable object to concatenate.\n * @param separator - The string to use as a separator. If omitted, a comma (`,`) is used.\n *\n * @returns The concatenated string.\n */\nexport function join(iterable, separator) {\n return asArray(iterable).join(separator);\n}\n/**\n * Concatenates multiple iterable objects into a single iterable object.\n *\n * @template T - The type of elements in the iterable objects.\n *\n * @param iterables - The iterable objects to concatenate.\n *\n * @returns An iterable object that contains all the elements of the input iterable objects in the order they were passed in.\n */\nexport function* concat(...iterables) {\n for (const iterable of iterables) {\n yield* iterable;\n }\n}\n/**\n * Prepends the specified value to an iterable and returns a new iterable.\n *\n * @param iterable - The iterable to prepend the value to.\n * @param value - The value to prepend to the iterable.\n *\n * @returns A new iterable with the specified value prepended.\n */\nexport function* prepend(iterable, value) {\n yield value;\n yield* iterable;\n}\n/**\n * Appends the specified value to an iterable and returns a new iterable.\n *\n * @param iterable - The iterable to append the value to.\n * @param value - The value to append to the iterable.\n *\n * @returns A new iterable with the specified value appended.\n */\nexport function* append(iterable, value) {\n yield* iterable;\n yield value;\n}\n/**\n * Removes the last element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable from which to remove the last element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\nexport function pop(iterable) {\n const buffer = [...iterable];\n const value = buffer.pop();\n return [value, buffer];\n}\n/**\n * Removes the first element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @template T - The type of the elements in the input iterable.\n *\n * @param iterable - The iterable from which to remove the first element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\nexport function shift(iterable) {\n const iterator = iterable[Symbol.iterator]();\n const firstIteration = iterator.next();\n const firstElement = firstIteration.done ? undefined : firstIteration.value;\n return [firstElement, { [Symbol.iterator]: () => iterator }];\n}\n/**\n * Calls a function for each element in an iterable object.\n *\n * @template T - The type of elements in the iterable object.\n *\n * @param iterable - The iterable object to iterate over.\n * @param callbackFn - A function to call for each element in the iterable object.\n * @param thisArg - An object to use as `this` when executing the `callbackFn` function.\n */\nexport function forEach(iterable, callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n let i = 0;\n for (const value of iterable) {\n callbackFn(value, i++, iterable);\n }\n}\n/**\n * Converts an iterable to an array.\n *\n * If the iterable is already an array, a reference to the same array will be returned.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to convert to an array.\n *\n * @returns An array containing all the elements of the iterable, or a reference to the same array if it is already an array.\n */\nexport function asArray(iterable) {\n return Array.isArray(iterable) ? iterable : [...iterable];\n}\n/**\n * Converts an iterable to an array or an {@link ArrayLikeIterable}.\n *\n * If the iterable is already an array, a reference to the same array will be returned.\n * If the iterable is not an array, an {@link ArrayLikeIterable} object will be returned.\n *\n * @template T - The type of the elements in the iterable.\n *\n * @param iterable - The iterable to convert to an array or an {@link ArrayLikeIterable}.\n *\n * @returns A reference to the same array if it is already an array, or an {@link ArrayLikeIterable} object if the iterable is not an array.\n */\nexport function asArrayLike(iterable) {\n return Array.isArray(iterable) ? iterable : $i(iterable);\n}\n/**\n * Wraps an iterable and adds array-like functionality to it.\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterable - The iterable to wrap.\n *\n * @returns A new instance of the {@link ArrayLikeIterable} class.\n */\nexport function $i(iterable) {\n return iterable instanceof ArrayLikeIterable ? iterable : ArrayLikeIterable.from(iterable);\n}\n/**\n * Wraps an iterable and adds array-like functionality to it.\n *\n * @template T - The type of elements in the iterable.\n */\nexport class ArrayLikeIterable {\n /**\n * The original iterable, wrapped by this instance.\n */\n _iterable;\n /**\n * Creates a new instance of the {@link ArrayLikeIterable} class.\n *\n * @param iterable - The iterable to wrap.\n */\n constructor(iterable) {\n this._iterable = iterable;\n }\n /**\n * Creates a new instance of the {@link ArrayLikeIterable} class from an iterable.\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterable - The iterable to wrap.\n *\n * @returns A new instance of the {@link ArrayLikeIterable} class.\n */\n static from(iterable) {\n return new ArrayLikeIterable(iterable);\n }\n /**\n * Creates a new instance of the {@link ArrayLikeIterable} class from an iterator.\n *\n * @template T - The type of elements in the iterable.\n *\n * @param iterator - The iterator to wrap.\n *\n * @returns A new instance of the {@link ArrayLikeIterable} class.\n */\n static of(iterator) {\n return new ArrayLikeIterable({ [Symbol.iterator]: () => iterator });\n }\n /**\n * Returns the number of elements in this iterable.\n *\n * @remarks\n *\n * Accessing this property will cause the iterable to be fully evaluated,\n * which may and definitely will result in performance overhead for large iterables.\n */\n get length() {\n return this.count();\n }\n /**\n * Returns the elements of the iterable that meet the condition specified in a callback function.\n *\n * @param predicate - A function to test each element of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns An iterable that contains the elements from the input iterable that satisfy the condition specified by the predicate function.\n */\n filter(predicate, thisArg) {\n return ArrayLikeIterable.from(filter(this._iterable, predicate, thisArg));\n }\n /**\n * Executes a provided function on every element of the iterable and returns the results in a new iterable.\n *\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the results of applying the callback function to each element in the input iterable.\n */\n map(callbackFn, thisArg) {\n return ArrayLikeIterable.from(map(this._iterable, callbackFn, thisArg));\n }\n /**\n * Executes a provided function on every element of the iterable and flattens the results into a new iterable.\n *\n * @template U - The type of the elements in the resulting iterable.\n *\n * @param callbackFn - The function to apply to each element in the input iterable.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns A new iterable containing the flattened results of applying the callback function to each element in the input iterable.\n */\n flatMap(callbackFn, thisArg) {\n return ArrayLikeIterable.from(flatMap(this._iterable, callbackFn, thisArg));\n }\n /**\n * Applies a provided function to each element of the iterable, ultimately reducing the iterable to a single value.\n *\n * @template U - The type of the accumulator and the resulting single value.\n *\n * @param callbackFn - The function to apply to each element in the input iterable and the accumulator.\n * @param initialValue - The initial value to use as the accumulator.\n * @param thisArg - The value to use as `this` when executing the callback function.\n *\n * @returns The accumulated single value resulting from applying the callback function to each element in the input iterable.\n */\n reduce(callbackFn, initialValue, thisArg) {\n return reduce(this._iterable, callbackFn, initialValue, thisArg);\n }\n /**\n * Returns an iterable that skips the first `count` elements of the input iterable.\n *\n * @param count - The number of elements to skip. Must be a non-negative integer.\n *\n * @returns An iterable that contains the remaining elements after skipping `count` elements.\n */\n skip(count) {\n return ArrayLikeIterable.from(skip(this._iterable, count));\n }\n /**\n * Returns an iterable that contains the first `count` elements of the input iterable.\n *\n * @param count - The number of elements to take. Must be a non-negative integer.\n *\n * @returns An iterable that contains the first `count` elements of the input iterable.\n */\n take(count) {\n return ArrayLikeIterable.from(take(this._iterable, count));\n }\n /**\n * Returns an iterable containing the last `count` elements of the input iterable.\n *\n * @param count - The number of elements to include in the output iterable.\n *\n * @returns An iterable containing the last `count` elements of the input iterable.\n */\n takeLast(count) {\n return ArrayLikeIterable.from(takeLast(this._iterable, count));\n }\n /**\n * Returns an iterable that contains a subset of the elements in the input iterable.\n *\n * @param start - The starting index *(inclusive)*. If omitted, defaults to `0`.\n * @param end - The ending index *(exclusive)*. If omitted, returns all elements after the `start` index.\n *\n * @returns An iterable that contains a subset of the elements in the input iterable.\n */\n slice(start, end) {\n return ArrayLikeIterable.from(slice(this._iterable, start, end));\n }\n /**\n * Returns a new iterable with the elements of the input iterable in reverse order.\n *\n * @returns A new iterable with the elements of the input iterable in reverse order.\n */\n reverse() {\n return ArrayLikeIterable.from(reverse(this._iterable));\n }\n /**\n * Returns a new iterable with the elements of the input iterable sorted according to the specified comparer function.\n *\n * @param comparer - An optional function that compares two elements and returns a number indicating their relative order.\n *\n * @returns A new iterable with the elements of the input iterable sorted according to the specified comparer function.\n */\n sort(comparer) {\n return ArrayLikeIterable.from(sort(this._iterable, comparer));\n }\n /**\n * Checks whether all elements of an iterable satisfy a specific condition.\n *\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `false` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if every element of the iterable satisfies the condition; otherwise, `false`.\n */\n every(predicate, thisArg) {\n return every(this._iterable, predicate, thisArg);\n }\n /**\n * Checks whether any element of the iterable satisfies a specific condition.\n *\n * @param predicate - This function will be called for each element in the iterable until it returns a value which is coercible to the `true` boolean value or until the end of the iterable.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns `true` if any element of the iterable satisfies the condition; otherwise, `false`.\n */\n some(predicate, thisArg) {\n return some(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the minimum value in the iterable based on a specified comparison function.\n *\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The minimum value in the iterable, or `undefined` if the iterable is empty.\n */\n min(comparer, thisArg) {\n return min(this._iterable, comparer, thisArg);\n }\n /**\n * Returns the maximum value in the iterable based on a specified comparison function.\n *\n * @param comparer - An optional comparison function that determines the order of the elements. If not provided, the default comparison function will be used.\n * @param thisArg - An optional object to use as `this` when executing the comparison function.\n *\n * @returns The maximum value in the iterable, or `undefined` if the iterable is empty.\n */\n max(comparer, thisArg) {\n return max(this._iterable, comparer, thisArg);\n }\n /**\n * Counts the number of elements in an iterable that satisfy a specific condition.\n *\n * @remarks\n *\n * If no predicate function is provided, this method returns the length of the iterable.\n *\n * @param predicate - The count method calls the predicate function for each element in the iterable and increments the counter if the predicate returns a value which is coercible to the `true` boolean value.\n * @param thisArg - An object to which the `this` keyword can refer in the `predicate` function.\n *\n * @returns The number of elements in the iterable that satisfy the condition.\n */\n count(predicate, thisArg) {\n return count(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the index of the first occurrence of a specified value in the iterable object, starting the search at a specified index.\n *\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index to start the search at.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the first occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\n indexOf(searchElement, fromIndex, comparer) {\n return indexOf(this._iterable, searchElement, fromIndex, comparer);\n }\n /**\n * Returns the index of the last occurrence of a specified value in the iterable object, starting the search at a specified index.\n *\n * @param searchElement - The value to search for in the iterable object.\n * @param fromIndex - The index to start the search at.\n * @param comparer - An optional function used to compare equality of values. Returns `true` if the values are equal, otherwise `false`.\n *\n * @returns The index of the last occurrence of the specified value in the iterable object, or `-1` if it is not found.\n */\n lastIndexOf(searchElement, fromIndex, comparer) {\n return lastIndexOf(this._iterable, searchElement, fromIndex, comparer);\n }\n /**\n * Determines whether the iterable includes a certain element, returning `true` or `false` as appropriate.\n *\n * @param searchElement - The element to search for.\n * @param fromIndex - The position in the iterable at which to begin searching for the element.\n * @param comparer - An optional function to use for comparing elements.\n *\n * @returns A boolean indicating whether the element was found in the iterable.\n */\n includes(searchElement, fromIndex, comparer) {\n return includes(this._iterable, searchElement, fromIndex, comparer);\n }\n /**\n * Checks if two iterables are equal, element by element, using an optional custom comparer.\n *\n * @param second - The second iterable to compare.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterables are equal.\n */\n sequenceEqual(second, comparer) {\n return sequenceEqual(this._iterable, second, comparer);\n }\n /**\n * Checks if the iterable starts with the specified search elements, using an optional custom comparer.\n *\n * @param searchElements - The elements to search for at the start of the iterable.\n * @param fromIndex - An optional index to start the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable starts with the search elements.\n */\n startsWith(searchElements, fromIndex, comparer) {\n return startsWith(this._iterable, searchElements, fromIndex, comparer);\n }\n /**\n * Checks if the iterable ends with the specified search elements, using an optional custom comparer.\n *\n * @param searchElements - The elements to search for at the end of the iterable.\n * @param toIndex - An optional index to end the search.\n * @param comparer - An optional function for comparing elements for equality.\n *\n * @returns A boolean indicating whether the iterable ends with the search elements.\n */\n endsWith(searchElements, toIndex, comparer) {\n return endsWith(this._iterable, searchElements, toIndex, comparer);\n }\n /**\n * Returns the index of the first element in the iterable that satisfies the provided predicate function.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The index of the first element in the iterable that satisfies the provided predicate function, or `-1` if none are found.\n */\n findIndex(predicate, thisArg) {\n return findIndex(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the first element in the iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the first element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the first element in the iterable, or `undefined` if the iterable is empty.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\n find(predicate, thisArg) {\n return this.first(predicate, thisArg);\n }\n /**\n * Returns the first element in the iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the first element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the first element in the iterable, or `undefined` if the iterable is empty.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\n first(predicate, thisArg) {\n return first(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the last element in the iterable that satisfies the provided predicate function.\n *\n * @remarks\n * - If the `predicate` is passed, this function returns the last element in the iterable for which the predicate returns `true`, or `undefined` if none are found.\n * - If the `predicate` is not passed, this function returns the last element in the iterable, or `undefined` if the iterable is empty.\n *\n * @param predicate - A function to test each element for a condition.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The last element in the iterable that satisfies the provided predicate function, or `undefined` if none are found.\n */\n last(predicate, thisArg) {\n return last(this._iterable, predicate, thisArg);\n }\n /**\n * Returns the element at the specified index in an iterable object.\n *\n * @param index - The zero-based index of the element to get.\n *\n * @returns The element at the specified index or `undefined` if the index is out of range or the iterable is empty.\n */\n at(index) {\n return at(this._iterable, index);\n }\n /**\n * Concatenates the elements in an iterable object using a specified separator between each element.\n *\n * @param separator - The string to use as a separator. If omitted, a comma (`,`) is used.\n *\n * @returns The concatenated string.\n */\n join(separator) {\n return join(this._iterable, separator);\n }\n /**\n * Concatenates multiple iterable objects into a single iterable object.\n *\n * @param iterables - The iterable objects to concatenate.\n *\n * @returns An iterable object that contains all the elements of the input iterable objects in the order they were passed in.\n */\n concat(...iterables) {\n return ArrayLikeIterable.from(concat(this._iterable, ...iterables));\n }\n /**\n * Prepends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to prepend to the iterable.\n *\n * @returns A new iterable with the specified value prepended.\n */\n prepend(value) {\n return ArrayLikeIterable.from(prepend(this._iterable, value));\n }\n /**\n * Appends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to append to the iterable.\n *\n * @returns A new iterable with the specified value appended.\n */\n append(value) {\n return ArrayLikeIterable.from(append(this._iterable, value));\n }\n /**\n * Removes the first element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\n shift() {\n const [value, iterable] = shift(this._iterable);\n return [value, ArrayLikeIterable.from(iterable)];\n }\n /**\n * Prepends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to prepend to the iterable.\n *\n * @returns A new iterable with the specified value prepended.\n */\n unshift(value) {\n return this.prepend(value);\n }\n /**\n * Appends the specified value to this iterable and returns a new iterable.\n *\n * @param value - The value to append to the iterable.\n *\n * @returns A new iterable with the specified value appended.\n */\n push(value) {\n return this.append(value);\n }\n /**\n * Removes the last element from the input iterable and returns that element and a new iterable without the removed element.\n *\n * @returns A tuple containing the removed element and a new iterable without the removed element.\n */\n pop() {\n const [value, iterable] = pop(this._iterable);\n return [value, ArrayLikeIterable.from(iterable)];\n }\n /**\n * Returns an iterable of indices in the iterable.\n */\n keys() {\n return map(this._iterable, (_value, i) => i);\n }\n /**\n * Returns an iterable of values in the iterable.\n */\n values() {\n return this._iterable;\n }\n /**\n * Returns an iterable of index, value pairs for every entry in the iterable.\n */\n entries() {\n return map(this._iterable, (value, i) => [i, value]);\n }\n /**\n * Calls a function for each element in an iterable object.\n *\n * @param callbackFn - A function to call for each element in the iterable object.\n * @param thisArg - An object to use as `this` when executing the `callbackFn` function.\n */\n forEach(callbackFn, thisArg) {\n return forEach(this._iterable, callbackFn, thisArg);\n }\n /**\n * Converts the iterable to an array.\n *\n * If the iterable is already an array, a reference to the same array will be returned.\n */\n asArray() {\n return asArray(this._iterable);\n }\n /**\n * Returns an array containing all elements of this iterable.\n */\n toArray() {\n return [...this._iterable];\n }\n /**\n * Converts the iterable of key-value pairs into a Map.\n *\n * @template K - The type of the keys in the key-value pairs.\n * @template V - The type of the values in the key-value pairs.\n *\n * @param comparer - Optional custom equality comparer for the keys.\n *\n * @returns A Map containing the key-value pairs from this iterable.\n */\n toMap(comparer) {\n return comparer ? new ArrayMap(this._iterable, comparer) : new Map(this._iterable);\n }\n /**\n * Converts the iterable into a Set.\n *\n * @param comparer - Optional custom equality comparer for the values.\n *\n * @returns A Set containing the values from this iterable.\n */\n toSet(comparer) {\n return comparer ? new ArraySet(this._iterable, comparer) : new Set(this._iterable);\n }\n /**\n * Converts the iterable of key-value pairs into a Record.\n *\n * @template K - The type of the keys in the key-value pairs.\n * @template V - The type of the values in the key-value pairs.\n *\n * @returns A Record containing the key-value pairs from this iterable.\n */\n toRecord() {\n return reduce(this._iterable, (record, [key, value]) => {\n record[key] = value;\n return record;\n }, {});\n }\n /**\n * Returns an iterable that contains only the distinct elements of the current iterable.\n *\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing only the distinct elements of the current iterable.\n */\n distinct(comparer) {\n return ArrayLikeIterable.from(distinct(this._iterable, comparer));\n }\n /**\n * Returns a new iterable that contains only the distinct elements of the current iterable, based on the selected property.\n *\n * @template U - The type of the property used for comparison.\n *\n * @param selector - A function to select the property used for comparison.\n * @param comparer - An optional function to compare values for equality.\n *\n * @returns An iterable containing the distinct elements of the current iterable based on the selected property.\n */\n distinctBy(selector, comparer) {\n return ArrayLikeIterable.from(distinctBy(this._iterable, selector, comparer));\n }\n /**\n * Returns an iterator for this iterable.\n */\n [Symbol.iterator]() {\n return this._iterable[Symbol.iterator]();\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Iterable\";\n }\n}\n","import { createDefaultEqualityComparer } from \"@/utils/comparison\";\nimport { $i, asArray, isIterable } from \"./iterable\";\n/**\n * Checks if a given value is an instance of a {@link Map}-like object.\n *\n * @template K - The key type of the `Map`-like object.\n * @template V - The value type of the `Map`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `Map`-like object or not.\n */\nexport function isMap(value) {\n if (value instanceof Map) {\n return true;\n }\n const map = value;\n return (!!map &&\n typeof map.keys === \"function\" &&\n typeof map.values === \"function\" &&\n typeof map.entries === \"function\" &&\n typeof map.get === \"function\" &&\n typeof map.set === \"function\" &&\n typeof map.has === \"function\" &&\n typeof map.delete === \"function\" &&\n typeof map[Symbol.iterator] === \"function\");\n}\n/**\n * Checks if a given value is an instance of a {@link ReadOnlyMap}-like object.\n *\n * @template K - The key type of the `ReadOnlyMap`-like object.\n * @template V - The value type of the `ReadOnlyMap`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `ReadOnlyMap`-like object or not.\n */\nexport function isReadOnlyMap(value) {\n if (value instanceof Map) {\n return true;\n }\n const map = value;\n return (!!map &&\n typeof map.keys === \"function\" &&\n typeof map.values === \"function\" &&\n typeof map.entries === \"function\" &&\n typeof map.get === \"function\" &&\n typeof map.has === \"function\" &&\n typeof map[Symbol.iterator] === \"function\");\n}\n/**\n * Checks if a given value is an instance of a {@link MultiMap}-like object.\n *\n * @template K - The key type of the `MultiMap`-like object.\n * @template V - The value type of the `MultiMap`-like object.\n *\n * @param value - The value to be checked.\n *\n * @returns A boolean indicating whether the value is a `MultiMap`-like object or not.\n */\nexport function isMultiMap(value) {\n if (value instanceof MultiMap) {\n return true;\n }\n const multiMap = value;\n return (isMap(multiMap) &&\n typeof multiMap.append === \"function\");\n}\n/**\n * Implements {@link Map} using an array under the hood.\n *\n * @template K - The type of keys in the Map.\n * @template V - The type of values in the Map.\n *\n * @remarks\n *\n * Recommended for small collections and/or for occasions when you need to provide a custom equality comparer.\n */\nexport class ArrayMap {\n /**\n * The array of keys.\n */\n _keys;\n /**\n * The array of values.\n */\n _values;\n /**\n * The equality comparer used to compare keys.\n */\n _comparer;\n /**\n * Constructs an {@link ArrayMap} from either an iterable of key-value pairs or an equality comparer.\n *\n * @param entriesOrComparer - The iterable of key-value pairs or the equality comparer to use for comparing keys.\n * @param comparer - The equality comparer to use for comparing keys (if `entriesOrComparer` is an iterable).\n */\n constructor(entriesOrComparer, comparer) {\n // If entriesOrComparer is a function, it must be the comparer, so use it.\n // Otherwise, use the default comparer.\n comparer ??= typeof entriesOrComparer === \"function\" ? entriesOrComparer : createDefaultEqualityComparer();\n this._keys = [];\n this._values = [];\n this._comparer = comparer;\n // If entriesOrComparer is undefined or is in fact a comparer, create an empty array of entries.\n const entries = entriesOrComparer && entriesOrComparer !== comparer ? entriesOrComparer : [];\n for (const [key, value] of entries) {\n this.set(key, value);\n }\n }\n /**\n * The number of key-value pairs in the map.\n */\n get size() {\n return this._keys.length;\n }\n /**\n * Gets the value associated with the specified key.\n *\n * @param key - The key of the value to get.\n *\n * @returns The value associated with the specified key, or `undefined` if the key is not found.\n */\n get(key) {\n const i = $i(this._keys).indexOf(key, this._comparer);\n // Will return `undefined` if i === -1, which is exactly what we are looking for.\n return this._values[i];\n }\n /**\n * Sets the value associated with the specified key.\n *\n * @param key - The key of the value to set.\n * @param value - The value to set.\n *\n * @returns This {@link ArrayMap} instance for chaining purposes.\n */\n set(key, value) {\n const i = $i(this._keys).indexOf(key, this._comparer);\n if (i === -1) {\n this._keys.push(key);\n this._values.push(value);\n }\n else {\n // Since we use a custom comparer, we need to update the key too.\n this._keys[i] = key;\n this._values[i] = value;\n }\n return this;\n }\n /**\n * Determines whether the map contains the specified key.\n *\n * @param key - The key to check for.\n *\n * @returns `true` if the map contains the key; otherwise, `false`.\n */\n has(key) {\n return $i(this._keys).includes(key, this._comparer);\n }\n /**\n * Removes the entry with the specified key from the map.\n *\n * @param key - The key of the entry to remove.\n *\n * @returns `true` if an entry with the specified key was found and removed; otherwise, `false`.\n */\n delete(key) {\n const i = $i(this._keys).indexOf(key, this._comparer);\n if (i === -1) {\n return false;\n }\n this._keys.splice(i, 1);\n this._values.splice(i, 1);\n return true;\n }\n /**\n * Removes all key-value pairs from the map.\n */\n clear() {\n this._keys.splice(0);\n this._values.splice(0);\n }\n /**\n * Returns an iterator over the keys in the map.\n */\n keys() {\n return this._keys[Symbol.iterator]();\n }\n /**\n * Returns an iterator over the values in the map.\n */\n values() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns an iterator over the entries in the map.\n */\n *entries() {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n yield [keys[i], values[i]];\n }\n }\n /**\n * Calls the specified callback function for each key-value pair in the map.\n *\n * @param callbackFn - This function is called one time for each element in the map. It takes the value, key, and the map itself as arguments.\n * @param thisArg - An optional object to which `this` keyword can refer in the `callbackFn` function.\n */\n forEach(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n callbackFn(values[i], keys[i], this);\n }\n }\n /**\n * Returns an iterator over the entries in the map.\n */\n [Symbol.iterator]() {\n return this.entries();\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Map\";\n }\n}\n/**\n * A multi-map class that allows multiple values per key.\n *\n * @template K - The type of keys in the MultiMap.\n * @template V - The type of values in the MultiMap.\n *\n * @remarks\n *\n * This class extends {@link ArrayMap} and stores values in arrays.\n */\nexport class MultiMap extends ArrayMap {\n /**\n * Gets the first value associated with the specified key.\n *\n * @param key - The key of the value to get.\n *\n * @returns The first value associated with the specified key, or `undefined` if the key is not found.\n */\n getFirst(key) {\n return this.get(key)?.[0];\n }\n /**\n * Sets a single value or multiple values associated with the specified key, replacing any existing values.\n *\n * @param key - The key of the value to set.\n * @param value - The value or values to set.\n *\n * @returns This {@link MultiMap} instance for chaining purposes.\n */\n set(key, value) {\n const values = typeof value !== \"string\" && isIterable(value) ? asArray(value) : [value];\n return super.set(key, values);\n }\n /**\n * Appends a single value or multiple values to the values associated with the specified key.\n *\n * @param key - The key of the values to append.\n * @param value - The iterable of values to append.\n *\n * @returns This {@link MultiMap} instance for chaining purposes.\n */\n append(key, value) {\n const existingValues = this.get(key);\n if (!existingValues) {\n return this.set(key, value);\n }\n if (typeof value !== \"string\" && isIterable(value)) {\n existingValues.push(...value);\n }\n else {\n existingValues.push(value);\n }\n return this;\n }\n /**\n * Removes value/values associated with the specified key.\n *\n * @param key - The key of the values to remove.\n * @param value - The value to remove.\n * @param comparer - The optional equality comparer to use for comparing values.\n *\n * @returns `true` if value/values were found and removed; otherwise, `false`.\n */\n delete(key, value, comparer) {\n if (value === undefined) {\n return super.delete(key);\n }\n const values = this.get(key);\n if (!values) {\n return false;\n }\n const i = $i(values).indexOf(value, comparer);\n if (i === -1) {\n return false;\n }\n values.splice(i, 1);\n return true;\n }\n /**\n * Returns an iterable of all values in the MultiMap.\n */\n flatValues() {\n return $i(this.values()).flatMap(x => x);\n }\n /**\n * Returns an iterable of key-value pairs in the MultiMap, where each key is associated with a single value.\n */\n flatEntries() {\n return $i(this.entries()).flatMap(([key, values]) => $i(values).map(value => [key, value]));\n }\n /**\n * Calls the specified callback function for each key-value pair in the MultiMap, with each key associated with a single value.\n *\n * @param callbackFn - This function is called one time for each key-value pair in the MultiMap. It takes the value, key, and the MultiMap itself as arguments.\n * @param thisArg - An optional object to which `this` keyword can refer in the `callbackFn` function.\n */\n forEachFlat(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n for (const [key, value] of this.flatEntries()) {\n callbackFn(value, key, this);\n }\n }\n}\n","/**\n * Type guard to check if the given object implements the {@link KeyValueIterable} interface.\n *\n * @template K - The key type.\n * @template V - The value type.\n *\n * @param obj - The object to check.\n *\n * @returns `true` if the object implements the {@link KeyValueIterable} interface; otherwise, `false`.\n */\nexport function isKeyValueIterable(obj) {\n return typeof obj?.entries === \"function\";\n}\n","import { $i, isIterable, isKeyValueIterable, asArray } from \"@/utils/collections\";\n/**\n * Defines nested properties on an object.\n *\n * @template T - The type of the object to define nested properties on.\n *\n * @param obj - The object to define nested properties on.\n * @param properties - A map or iterable of property paths and property descriptors.\n * @param factory - An optional factory function for creating property descriptors for nested objects.\n *\n * @returns The input object with the nested properties defined.\n * @throws {TypeError} - If a path tries to define a property on a non-object value, e.g., `boolean`, `number`, etc.\n */\nexport function defineNestedProperties(obj, properties, factory) {\n const iterableProperties = isIterable(properties) ? properties : Object.entries(properties);\n for (const [path, descriptor] of iterableProperties) {\n defineNestedProperty(obj, path, descriptor, factory);\n }\n return obj;\n}\n/**\n * Defines a single nested property on an object using a property descriptor and an optional factory function.\n *\n * @template T - The type of the object to define the nested property on.\n *\n * @param obj - The object to define the nested property on.\n * @param path - The path of the nested property to define, as a dot-separated string (e.g., \"a.b.c\") or an array of property keys.\n * @param property - The property descriptor for the nested property.\n * @param factory - An optional factory function for creating property descriptors for nested objects.\n *\n * @returns The input object with the nested property defined.\n * @throws {TypeError} - If a path tries to define a property on a non-object value, e.g., `boolean`, `number`, etc.\n */\nexport function defineNestedProperty(obj, path, property, factory) {\n path = typeof path === \"string\" ? path.split(\".\") : path;\n factory ||= () => ({ value: {}, writable: true, configurable: true, enumerable: true });\n let currentObj = obj;\n const depth = path.length - 1;\n for (let i = 0; i < depth; ++i) {\n const propertyName = path[i];\n const existingValue = currentObj[propertyName];\n if (existingValue === undefined || existingValue === null) {\n const nestedDescriptor = factory(currentObj, propertyName);\n Object.defineProperty(currentObj, propertyName, nestedDescriptor);\n }\n currentObj = currentObj[propertyName];\n }\n const name = path[depth];\n Object.defineProperty(currentObj, name, property);\n return obj;\n}\n/**\n * Returns an iterable of all property descriptors from the given object and its prototypes.\n *\n * @param obj - The object to get the property descriptors from.\n *\n * @returns An iterable of key-descriptor pairs.\n */\nexport function* getAllPropertyDescriptors(obj) {\n const visited = new Set();\n while (obj !== undefined && obj !== null) {\n const keys = Array.prototype.concat(Object.getOwnPropertyNames(obj), Object.getOwnPropertySymbols(obj));\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n for (const key of keys) {\n if (!visited.has(key)) {\n visited.add(key);\n yield [key, descriptors[key]];\n }\n }\n obj = Object.getPrototypeOf(obj);\n }\n}\n/**\n * Retrieves a property descriptor from the given object, considering its prototype chain.\n *\n * @param obj - The object to get the property descriptor from.\n * @param key - The property key.\n *\n * @returns The property descriptor, or `undefined` if not found.\n */\nexport function getPropertyDescriptor(obj, key) {\n key = typeof key === \"number\" ? String(key) : key;\n const ownPropertyDescriptor = Object.getOwnPropertyDescriptor(obj, key);\n if (ownPropertyDescriptor) {\n return ownPropertyDescriptor;\n }\n return $i(getAllPropertyDescriptors(obj)).find(([x]) => x === key)?.[1];\n}\n/**\n * Generates an iterable of all keys from the given object and its prototypes.\n *\n * @param obj - The object to get the keys from.\n *\n * @returns An iterable of property keys.\n */\nexport function getAllKeys(obj) {\n return $i(getAllPropertyDescriptors(obj)).map(([key]) => key);\n}\n/**\n * Generates an iterable of all string keys from the given object and its prototypes.\n *\n * @param obj - The object to get the string keys from.\n *\n * @returns An iterable of string property keys.\n */\nexport function getAllNames(obj) {\n return $i(getAllKeys(obj)).filter((key) => typeof key === \"string\");\n}\n/**\n * Generates an iterable of all symbol keys from the given object and its prototypes.\n *\n * @param obj - The object to get the symbol keys from.\n *\n * @returns An iterable of symbol property keys.\n */\nexport function getAllSymbols(obj) {\n return $i(getAllKeys(obj)).filter((key) => typeof key === \"symbol\");\n}\n/**\n * Generates an iterable of all property values from the given object and its prototypes.\n *\n * @param obj - The object to get the property values from.\n *\n * @returns An iterable of property values.\n */\nexport function getAllValues(obj) {\n return $i(getAllPropertyDescriptors(obj)).map(([key]) => obj[key]);\n}\n/**\n * Generates an iterable of all entries from the given object and its prototypes.\n *\n * @param obj - The object to get the entries from.\n *\n * @returns An iterable of key-value pairs.\n */\nexport function getAllEntries(obj) {\n return $i(getAllPropertyDescriptors(obj)).map(([key]) => [key, obj[key]]);\n}\n/**\n * Retrieves the key-value pairs from an object.\n *\n * @template K - The key type.\n * @template V - The value type.\n *\n * @param obj - The object to extract key-value pairs from.\n *\n * @returns An iterable containing the key-value pairs.\n */\nexport function getOwnEntries(obj) {\n if (!obj) {\n return [];\n }\n if (!Array.isArray(obj) && isKeyValueIterable(obj)) {\n return obj.entries();\n }\n if (isIterable(obj)) {\n const entries = asArray(obj);\n if (entries.every(x => Array.isArray(x))) {\n return entries;\n }\n }\n if (Array.isArray(obj)) {\n return obj.entries();\n }\n return Object.entries(obj);\n}\n/**\n * Merges multiple objects into a single object while preserving property descriptors.\n * If a property exists in multiple objects, the last object's descriptor takes precedence.\n *\n * @template T - A tuple of objects to be merged.\n *\n * @param values - The objects to be merged.\n *\n * @returns A single object resulting from the merge of input objects.\n */\nexport function merge(...values) {\n const result = {};\n const descriptors = $i(values).flatMap(x => getAllPropertyDescriptors(x));\n for (const [property, descriptor] of descriptors) {\n Object.defineProperty(result, property, descriptor);\n }\n return result;\n}\n/**\n * Safely retrieves a property value from an object, or returns `undefined` if the property is not accessible.\n *\n * @template T - The type of the object.\n * @template K - The type of the property key.\n *\n * @param target - The object from which to retrieve the property value.\n * @param key - The key of the property to retrieve.\n *\n * @returns The value of the property if accessible, otherwise `undefined`.\n */\nexport function getSafe(target, key) {\n if (target === null || target === undefined) {\n return undefined;\n }\n try {\n return target[key];\n }\n catch {\n return undefined;\n }\n}\n","import { $i } from \"@/utils/collections/iterable\";\nimport { getAllNames, getSafe } from \"@/utils/reflection/object-reflector\";\nimport { stringEquals } from \"@/utils/string-utils\";\n/**\n * Returns whether the given `obj` is `null`, `undefined`, or `NaN`.\n *\n * @param obj - The object to check.\n *\n * @returns `true` if the `obj` is `null`, `undefined`, or `NaN`; otherwise, `false`.\n */\nfunction isInvalid(obj) {\n return obj === null || obj === undefined || typeof obj === \"number\" && isNaN(obj);\n}\n/**\n * Always returns `undefined`, ignoring the input value.\n *\n * @param _obj - The input value to ignore.\n *\n * @returns `undefined`.\n */\nexport function toUndefined(_obj) {\n return undefined;\n}\n/**\n * Converts the given `obj` to a string.\n *\n * @param obj - The object to convert.\n *\n * @returns The string representation of `obj`, or `undefined` if the input is `null`, `undefined`, or `NaN`.\n */\nexport function toString(obj) {\n return isInvalid(obj) ? undefined : String(obj);\n}\n/**\n * Converts an input value to a boolean value.\n *\n * @param obj - The object to convert.\n *\n * @returns The converted boolean value, or `undefined` if the input value cannot be converted to boolean.\n */\nexport function toBoolean(obj) {\n if (isInvalid(obj)) {\n return undefined;\n }\n switch (typeof obj) {\n case \"boolean\":\n return !!obj;\n case \"number\":\n return obj !== 0;\n case \"string\":\n if (stringEquals(\"true\", obj, { ignoreCase: true })) {\n return true;\n }\n if (stringEquals(\"false\", obj, { ignoreCase: true })) {\n return false;\n }\n break;\n default:\n return undefined;\n }\n // ESLint\n return undefined;\n}\n/**\n * Converts an input value to a number type.\n *\n * @param obj - The input value to be converted.\n * @param parser - A function to parse the input value.\n *\n * @returns The converted number value, or `undefined` if the input value cannot be converted to a number type.\n */\nfunction toNumber(obj, parser) {\n if (isInvalid(obj)) {\n return undefined;\n }\n switch (typeof obj) {\n case \"number\":\n return parser(obj);\n case \"boolean\":\n return obj ? 1 : 0;\n case \"string\":\n const parsedNumber = parser(obj);\n return isNaN(parsedNumber) ? undefined : parsedNumber;\n case \"object\":\n if (obj instanceof Date && !isNaN(obj.getTime())) {\n return obj.getTime();\n }\n break;\n default:\n return undefined;\n }\n // ESLint\n return undefined;\n}\n/**\n * Converts an input value to an integer number.\n *\n * @param obj - The input value to be converted.\n *\n * @returns The converted integer number value, or `undefined` if the input value cannot be converted to an integer number type.\n */\nexport function toInteger(obj) {\n return toNumber(obj, parseInt);\n}\n/**\n * Converts an input value to a floating-point number.\n *\n * @param obj - The input value to be converted.\n *\n * @returns The converted floating-point number value, or `undefined` if the input value cannot be converted to a floating-point number type.\n */\nexport function toFloat(obj) {\n return toNumber(obj, parseFloat);\n}\n/**\n * Converts a value to a {@link Date}.\n *\n * @param obj - The value to convert.\n *\n * @returns The converted {@link Date}, or `undefined` if the value is invalid.\n */\nexport function toDate(obj) {\n if (isInvalid(obj)) {\n return undefined;\n }\n switch (typeof obj) {\n case \"object\":\n if (obj instanceof Date && !isNaN(obj.getTime())) {\n return obj;\n }\n break;\n case \"string\":\n case \"number\":\n const date = new Date(obj);\n return isNaN(date.getTime()) ? undefined : date;\n default:\n return undefined;\n }\n // ESLint\n return undefined;\n}\n/**\n * The regular expression used to parse a string representation of a regex into its pattern and flags parts.\n */\nconst REGEX_PARSER_REGEX = /\\/(?.*)\\/(?[a-z]*)/;\n/**\n * Converts a value to a {@link RegExp}.\n *\n * @param obj - The value to convert.\n *\n * @returns A {@link RegExp} representing the given `obj`, or `undefined` if the input is invalid or cannot be converted to a regex.\n */\nexport function toRegExp(obj) {\n if (obj instanceof RegExp) {\n return obj;\n }\n if (typeof obj !== \"string\") {\n return undefined;\n }\n const match = obj.match(REGEX_PARSER_REGEX);\n if (!match) {\n return undefined;\n }\n try {\n return new RegExp(match.groups.pattern, match.groups.flags);\n }\n catch {\n return undefined;\n }\n}\n/**\n * The prefixes that indicate a method is a conversion method.\n */\nconst CONVERT_METHOD_PREFIXES = [\"convert\", \"from\"];\n/**\n * The prefixes that indicate a method is a parsing method.\n */\nconst PARSE_METHOD_PREFIXES = [\"parse\"];\n/**\n * Retrieves a `Converter` function from the given object, if one is defined.\n *\n * @param obj - The object to retrieve the `Converter` function from.\n * @param prioritizeParsing - Indicates wether the parsing should be prioritized.\n *\n * @returns A `Converter` function that can convert an unknown value to the target type `T`, or `undefined` if none was found.\n */\nfunction getConverter(obj, prioritizeParsing) {\n const strategies = [\n [CONVERT_METHOD_PREFIXES],\n [PARSE_METHOD_PREFIXES, (parser) => (x) => typeof x === \"string\" ? parser(x) : undefined],\n ];\n const resolvedStrategies = prioritizeParsing ? [...strategies].reverse() : strategies;\n for (const [prefixes, mapper] of resolvedStrategies) {\n const parseLike = getParseLikeFunction(obj, prefixes);\n if (!parseLike) {\n continue;\n }\n const mapped = mapper ? mapper(parseLike) : parseLike;\n return mapped;\n }\n return undefined;\n}\n/**\n * Attempts to retrieve a parsing method from the given object using the specified prefixes.\n *\n * @param obj - The object to retrieve the method from.\n * @param prefixes - The list of method name prefixes to search for.\n *\n * @returns The first matching parse-like function that was found, or `undefined` if none were found.\n */\nfunction getParseLikeFunction(obj, prefixes) {\n // If the object is invalid, return undefined.\n if (isInvalid(obj)) {\n return undefined;\n }\n // If the object has a method named exactly like one of the given prefix, we should use it.\n const prioritizedParseMethodName = $i(prefixes).first(x => typeof getSafe(obj, x) === \"function\");\n if (prioritizedParseMethodName) {\n return x => obj[prioritizedParseMethodName](x);\n }\n // Find all method names on the object that start with one of the specified prefixes.\n const propertyNames = getAllNames(obj);\n const parseMethodNames = $i(propertyNames).filter(x => prefixes.some(p => x.startsWith(p) && typeof getSafe(obj, x) === \"function\"));\n // Determine the first parse-like method name by sorting them based on prefix precedence and taking the first result.\n const firstParseMethodName = $i(parseMethodNames).min((a, b) => prefixes.findIndex(p => a.startsWith(p)) - prefixes.findIndex(p => b.startsWith(p)));\n // If no parse-like method names were found, return undefined.\n if (!firstParseMethodName) {\n return undefined;\n }\n // Return a function that invokes the first parse-like method with the specified input.\n return x => obj[firstParseMethodName](x);\n}\n/**\n * Map of known constructors and their corresponding converters.\n */\nconst KNOWN_CONSTRUCTORS = new Map([\n [String, toString],\n [Number, toFloat],\n [Boolean, toBoolean],\n [Date, toDate],\n [RegExp, toRegExp],\n]);\n/**\n * Map of known types and their corresponding converters.\n */\nconst KNOWN_TYPES = new Map([\n [\"string\", toString],\n [\"number\", toFloat],\n [\"boolean\", toBoolean],\n [\"undefined\", toUndefined],\n]);\n/**\n * Converts an object to the specified target type.\n *\n * @param obj - The object to convert.\n * @param target - The target type to convert to.\n *\n * @returns An object of the specified target type, or `undefined` if the conversion failed.\n */\nexport function toType(obj, target) {\n // If the input object is invalid, return undefined.\n if (isInvalid(obj)) {\n return undefined;\n }\n if (typeof target === \"string\") {\n // If the target is a string representing a known type, use the corresponding conversion function.\n const knownConverter = KNOWN_TYPES.get(target);\n if (knownConverter) {\n return knownConverter(obj);\n }\n // If the target is a key of the `globalThis` object, convert the input to its type.\n const globalThisMember = globalThis[target];\n if (globalThisMember) {\n return toType(obj, globalThisMember);\n }\n return undefined;\n }\n // If the target is a known constructor function, use its corresponding conversion function.\n if (typeof target === \"function\" && KNOWN_CONSTRUCTORS.has(target)) {\n const knownConverter = KNOWN_CONSTRUCTORS.get(target);\n return knownConverter(obj);\n }\n try {\n // Attempt to retrieve a converter function from the target type.\n const converter = getConverter(target, typeof obj === \"string\");\n // If the converter function was found, use it to convert the input object.\n if (converter !== undefined) {\n const converted = converter(obj);\n return isInvalid(converted) ? undefined : converted;\n }\n // If no converter function was found, assume that target is a constructor,\n // since we've exhausted every over possibility.\n return new target(obj);\n }\n catch {\n // If an error occurs during conversion, return undefined.\n return undefined;\n }\n}\n","import { isReadOnlyMap } from \"@/utils/collections\";\n/**\n * Retrieves an array of the string keys of the specified `enum` object.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to retrieve the keys for.\n *\n * @returns An array of the string keys of the specified `enum` object.\n */\nexport function enumKeys(e) {\n if (isReadOnlyMap(e)) {\n return [...e.keys()];\n }\n return Object.getOwnPropertyNames(e).filter(key => isEnumKey(e, key));\n}\n/**\n * Determines if the provided key is an enumeration key.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to check the key against.\n * @param key - The key to be checked.\n *\n * @returns `true` if the key is an enumeration key; otherwise, `false`.\n */\nfunction isEnumKey(e, key) {\n return typeof e[key] !== \"function\" && key !== String(+key);\n}\n","import { isReadOnlyMap } from \"@/utils/collections\";\nimport { enumKeys } from \"./enum-key\";\n/**\n * Retrieves an array of the entries of the specified `enum` object.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to retrieve the entries for.\n *\n * @returns An array of the entries of the specified `enum` object.\n */\nexport function enumEntries(e) {\n if (isReadOnlyMap(e)) {\n return [...e.entries()];\n }\n return enumKeys(e).map(key => [key, e[key]]);\n}\n","import { $i } from \"@/utils/collections\";\nimport { ORDINAL_EQUALITY_COMPARER } from \"@/utils/comparison\";\nimport { toType } from \"@/utils/convert\";\nimport { split, toPascalCase } from \"@/utils/string-utils\";\nimport { inferEnumDescriptorOrThrow } from \"./descriptors\";\nimport { enumEntries } from \"./enum-entry\";\nimport { DEFAULT_ENUM_SEPARATOR, ENUM_SEPARATORS } from \"./enum-separators\";\n/**\n * A dynamic enum implementation that allows you to create an enum at runtime.\n *\n * @template T - The type of the enum.\n */\nexport class DynamicEnum {\n /**\n * An array of enum keys.\n */\n _keys;\n /**\n * An array of enum values.\n */\n _values;\n /**\n * A map containing the enum keys and their corresponding display names.\n */\n _names;\n /**\n * The enum descriptor.\n */\n _descriptor;\n /**\n * A boolean indicating whether the enum should be treated as a set of flags.\n */\n _hasFlags;\n /**\n * The equality comparer used to compare enum keys.\n */\n _comparer;\n /**\n * Constructs a new {@link DynamicEnum} instance.\n *\n * @param entries - An array of key-value pairs representing the entries of the enum.\n * @param options - An object containing options for the `DynamicEnum` instance, such as whether the enum is a flags enum.\n */\n constructor(entries, options) {\n this._keys = entries.map(([key]) => key);\n this._values = entries.map(([, value]) => value);\n this._names = new Map(options?.names || []);\n this._descriptor = inferEnumDescriptorOrThrow(this._values);\n this._hasFlags = options?.hasFlags ?? false;\n this._comparer = options?.comparer || ORDINAL_EQUALITY_COMPARER;\n const properties = $i(entries).map(([key, value]) => [key, { value, enumerable: true }]).toRecord();\n Object.defineProperties(this, properties);\n }\n /**\n * Creates a dynamic enum from an existing enum object.\n *\n * @param underlyingEnum - The underlying enum object.\n * @param options - The options to use when creating the new enum.\n *\n * @returns A new dynamic enum.\n */\n static create(underlyingEnum, options) {\n const entries = enumEntries(underlyingEnum);\n return new DynamicEnum(entries, options);\n }\n /**\n * Returns a string representation of this object.\n */\n get [Symbol.toStringTag]() {\n return \"Enum\";\n }\n /**\n * The number of values in the enum.\n */\n get size() {\n return this._keys.length;\n }\n /**\n * The underlying type of the enum.\n */\n get underlyingType() {\n return this._descriptor.name;\n }\n /**\n * Determines whether the given `value` contains the specified `flag`.\n *\n * @param value - The value to check for the presence of the flag.\n * @param flag - The flag to check for.\n *\n * @returns `true` if the value has the flag; otherwise, `false`.\n */\n hasFlag(value, flag) {\n return this._descriptor.hasFlag(value, flag);\n }\n /**\n * Gets the enum value associated with the specified key.\n *\n * @param key - The key to look up.\n *\n * @returns The enum value associated with the key, or `undefined` if the key is not found.\n */\n get(key) {\n // Attempt to retrieve the value from this object's properties.\n const value = this[key];\n if (typeof value === this.underlyingType || this._comparer === ORDINAL_EQUALITY_COMPARER) {\n return value;\n }\n // Apply the custom comparer.\n const comparer = this._comparer;\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n if (comparer(key, keys[i])) {\n return values[i];\n }\n }\n // Nothing we can do about it.\n return undefined;\n }\n /**\n * Returns the key of the first occurrence of a value in the enum.\n *\n * @param value - The value to locate in the enum.\n *\n * @returns The key of the first occurrence of a value in the enum, or `undefined` if it is not present.\n */\n keyOf(value) {\n const i = this._values.indexOf(value);\n return i >= 0 ? this._keys[i] : undefined;\n }\n /**\n * Returns the friendly name of the key of the first occurrence of a value in the enum.\n *\n * @param value - The value to locate in the enum.\n *\n * @returns The friendly name of the key of the first occurrence of a value in the enum, or `undefined` if it is not present.\n */\n friendlyNameOf(value) {\n const key = this.keyOf(value);\n if (key === undefined) {\n return undefined;\n }\n const friendlyName = this._names.get(key) ?? toPascalCase(key);\n return friendlyName;\n }\n /**\n * Returns the first element in the enum that satisfies the provided `predicate`.\n *\n * @param predicate - A function to test each key/value pair in the enum. It should return `true` to indicate a match; otherwise, `false`.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The first element in the enum that satisfies the provided `predicate`, or `undefined` if no value satisfies the function.\n */\n find(predicate, thisArg) {\n const key = this.findKey(predicate, thisArg);\n return key === undefined ? undefined : this.get(key);\n }\n /**\n * Returns the key for the first element in the enum that satisfies the provided `predicate`.\n *\n * @param predicate - A function to test each key/value pair in the enum. It should return `true` to indicate a match; otherwise, `false`.\n * @param thisArg - An optional object to use as `this` when executing the `predicate`.\n *\n * @returns The key of the first element in the enum that satisfies the provided `predicate`, or `undefined` if no key satisfies the function.\n */\n findKey(predicate, thisArg) {\n predicate = thisArg === undefined ? predicate : predicate.bind(thisArg);\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < values.length; ++i) {\n if (predicate(values[i], keys[i], this)) {\n return keys[i];\n }\n }\n return undefined;\n }\n /**\n * Checks whether the specified key exists in the enum.\n *\n * @param key - The key to check.\n *\n * @returns `true` if the key exists in the enum; otherwise, `false`.\n */\n has(key) {\n return this.get(key) !== undefined;\n }\n /**\n * Checks whether the specified value exists in the enum.\n *\n * @param value - The enum value to check.\n *\n * @returns `true` if the enum value exists in the enum; otherwise, `false`.\n */\n includes(value) {\n return this._values.includes(value);\n }\n /**\n * Returns an iterator that yields the keys of the enum.\n */\n keys() {\n return this._keys[Symbol.iterator]();\n }\n /**\n * Returns an iterator that yields the values of the enum.\n */\n values() {\n return this._values[Symbol.iterator]();\n }\n /**\n * Returns an iterator that yields the key/value pairs for every entry in the enum.\n */\n *entries() {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n yield [keys[i], values[i]];\n }\n }\n /**\n * Returns an iterator that yields the key/value pairs for every entry in the enum.\n */\n [Symbol.iterator]() {\n return this.entries();\n }\n /**\n * Executes a provided function once per each key/value pair in the enum, in definition order.\n *\n * @param callbackFn - The function to call for each element in the enum.\n * @param thisArg - The value to use as `this` when calling `callbackFn`.\n */\n forEach(callbackFn, thisArg) {\n callbackFn = thisArg === undefined ? callbackFn : callbackFn.bind(thisArg);\n const keys = this._keys;\n const values = this._values;\n for (let i = 0; i < keys.length; ++i) {\n callbackFn(values[i], keys[i], this);\n }\n }\n /**\n * Formats the given value as a string.\n *\n * @param value - The value to format.\n *\n * @returns The formatted string, or `undefined` if the value does not belong to the enum.\n */\n format(value) {\n // Unsupported value cannot be formatted.\n if (typeof value !== this.underlyingType) {\n return undefined;\n }\n // Attempt to find an existing key for the provided value.\n const existingKey = this.keyOf(value);\n if (existingKey !== undefined) {\n return existingKey;\n }\n // In case values in this enum are not flags,\n // and we did not find a key for the `value` during the previous step,\n // just return its string representation.\n //\n // Note: we don't return `undefine` or throw error,\n // because the `value` has the same type as other enum members.\n // E.g., `42` is considered a valid value for any number enum,\n // even if it was not directly specified.\n if (!this._hasFlags) {\n return String(value);\n }\n // Retrieve the keys, values, and descriptor,\n // so we won't need to directly access them every time it's necessary.\n const keys = this._keys;\n const values = this._values;\n const descriptor = this._descriptor;\n // Prepare for generating the string representation.\n let name = \"\";\n let remainingValue = value;\n // Iterate over each flag value in reverse order.\n // (because the flags with higher values are likely to be\n // more significant than the flags with lower values)\n for (let i = values.length - 1; i >= 0; --i) {\n const flag = values[i];\n // If the current flag is not present in the remaining value,\n // or is the default value (e.g., `0` for number enums), skip to the next flag.\n const isZero = flag === descriptor.defaultValue;\n const isFlagPresent = descriptor.hasFlag(remainingValue, flag);\n if (isZero || !isFlagPresent) {\n continue;\n }\n // If this is not the first flag to be added to the name, add a separator to the current name.\n name = name ? `${keys[i]}${DEFAULT_ENUM_SEPARATOR} ${name}` : keys[i];\n // Remove the current flag from the remaining value to ensure that\n // we won't add aliases of the same value to the result string.\n remainingValue = descriptor.removeFlag(remainingValue, flag);\n }\n // If the remaining value is equal to the default value for the descriptor\n // (e.g., `0` for number enums), return the generated name.\n //\n // Otherwise, it means there were some flags, which aren't specified in the enum,\n // so just return the string representation of the provided value.\n return remainingValue === descriptor.defaultValue && name ? name : String(value);\n }\n /**\n * Parses the specified string and returns the corresponding enum value.\n *\n * @param key - The string to parse.\n *\n * @returns The corresponding enum value, or `undefined` if the string could not be parsed.\n */\n parse(key) {\n // Attempt to find an existing value for the provided key.\n const existingValue = this.findOrParseValue(key);\n if (existingValue !== undefined) {\n return existingValue;\n }\n // In case values in this enum are not flags,\n // and we did not find a value for the `key` during the previous step,\n // return `undefined`, since the key is not valid for this enum.\n if (!this._hasFlags) {\n return undefined;\n }\n // Otherwise, we need to parse the key into individual flags and combine them into a single value.\n const formattedFlags = split(key, ENUM_SEPARATORS, { trimEntries: true, removeEmptyEntries: true });\n const descriptor = this._descriptor;\n // Start with the default value for the enum.\n let result = descriptor.defaultValue;\n for (const formattedFlag of formattedFlags) {\n // Try to find the value for the current string representation of flag.\n const flag = this.findOrParseValue(formattedFlag);\n // If the value is not found, return `undefined`.\n // In this case a single failure makes the whole input invalid.\n if (flag === undefined) {\n return undefined;\n }\n // Otherwise, combine it with the result.\n result = descriptor.addFlag(result, flag);\n }\n // Return the final combined value.\n return result;\n }\n /**\n * Finds the enum value for the given key.\n *\n * @param key - The key of the enum value to find.\n *\n * @returns The enum value with the given key, or `undefined` if no element with that key exists.\n */\n findOrParseValue(key) {\n // If the value was found, return it as is.\n const value = this.get(key);\n if (value !== undefined) {\n return value;\n }\n // If the key couldn't be found in the enumeration, try to parse it as a value.\n // E.g., `42` is considered a valid value for any number enum,\n // even if it was not directly specified.\n const keyAsValue = toType(key, this.underlyingType);\n if (keyAsValue !== undefined) {\n return keyAsValue;\n }\n // If the key couldn't be found in the enum and it couldn't be parsed as a value,\n // there's not much we can do about it, so just return `undefined`.\n return undefined;\n }\n}\n","import { isReadOnlyMap } from \"@/utils/collections\";\nimport { enumKeys } from \"./enum-key\";\n/**\n * Retrieves an array of the values of the specified `enum` object.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum object to retrieve the values for.\n *\n * @returns An array of the values of the specified `enum` object.\n */\nexport function enumValues(e) {\n if (isReadOnlyMap(e)) {\n return [...e.values()];\n }\n return enumKeys(e).map(key => e[key]);\n}\n","import { IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER, IGNORE_CASE_EQUALITY_COMPARER, IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER, ORDINAL_EQUALITY_COMPARER } from \"@/utils/comparison\";\nimport { getEnumDescriptorByUnderlyingType } from \"./descriptors\";\nimport { DynamicEnum } from \"./dynamic-enum\";\nimport { enumKeys } from \"./enum-key\";\nimport { enumValues } from \"./enum-value\";\nimport { enumEntries } from \"./enum-entry\";\n/**\n * Determines whether the given `value` contains the specified `flag`.\n *\n * @template T - Type of the enum.\n *\n * @param value - The value to check for the presence of the flag.\n * @param flag - The flag to check for.\n *\n * @returns `true` if the value has the flag; otherwise, `false`.\n */\nexport function hasFlag(value, flag) {\n const descriptor = getEnumDescriptorByUnderlyingType(typeof flag);\n return !!descriptor?.hasFlag(value, flag);\n}\n/**\n * Creates a new enum object from the specified `enumFactory` or `underlyingEnum` with the specified `options`.\n *\n * @template T - Type of the enum.\n *\n * @param e - The enum factory or underlying enum to use for the new enum.\n * @param options - The options to use when creating the new enum.\n *\n * @returns The constructed enum object.\n */\nexport function createEnum(e, options, methods) {\n const underlyingEnum = typeof e === \"function\" ? e() : e;\n const dynamicEnumOptions = toDynamicEnumOptions(options);\n const dynamicEnum = DynamicEnum.create(underlyingEnum, dynamicEnumOptions);\n if (methods) {\n Object.assign(dynamicEnum, methods);\n }\n return dynamicEnum;\n}\n/**\n * Converts specified `options` into an instance acceptable by the {@link DynamicEnum}'s constructor.\n *\n * @param options - The options to be converted.\n *\n * @returns The options acceptable by the {@link DynamicEnum}'s constructor.\n */\nfunction toDynamicEnumOptions(options) {\n if (!options || options.comparer) {\n return options;\n }\n const o = options;\n const comparer = o.ignoreCase ? o.ignoreNonWordCharacters\n ? IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER\n : IGNORE_CASE_EQUALITY_COMPARER\n : o.ignoreNonWordCharacters\n ? IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER\n : ORDINAL_EQUALITY_COMPARER;\n return { ...o, comparer };\n}\n/**\n * An object that emulates the `Object` API for `Enum` objects.\n */\nexport const Enum = {\n hasFlag,\n create: createEnum,\n keys: enumKeys,\n values: enumValues,\n entries: enumEntries,\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:util\");","import { Enum } from \"@/utils/enum\";\nimport { stringEquals } from \"@/utils/string-utils\";\nimport { deprecate } from \"node:util\";\n// _ TODO: Remove deprecated stuff in v4.0\n/**\n * Represents a game version filter.\n *\n * This filter can be used to filter game versions based on the provided criteria.\n *\n * @partial\n */\nvar GameVersionFilterValues;\n(function (GameVersionFilterValues) {\n /**\n * No filter applied.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"NONE\"] = 0] = \"NONE\";\n /**\n * Filter to include release versions.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"RELEASES\"] = 1] = \"RELEASES\";\n /**\n * Filter to include beta versions.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"BETAS\"] = 2] = \"BETAS\";\n /**\n * Filter to include alpha versions.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"ALPHAS\"] = 4] = \"ALPHAS\";\n /**\n * Filter to include both alpha and beta versions (snapshots).\n */\n GameVersionFilterValues[GameVersionFilterValues[\"SNAPSHOTS\"] = 6] = \"SNAPSHOTS\";\n /**\n * Filter to include any version type.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"ANY\"] = 7] = \"ANY\";\n /**\n * Filter to include versions with the minimum patch number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN_PATCH\"] = 8] = \"MIN_PATCH\";\n /**\n * Filter to include versions with the maximum patch number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX_PATCH\"] = 16] = \"MAX_PATCH\";\n /**\n * Filter to include versions with the minimum minor number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN_MINOR\"] = 32] = \"MIN_MINOR\";\n /**\n * Filter to include versions with the maximum minor number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX_MINOR\"] = 64] = \"MAX_MINOR\";\n /**\n * Filter to include versions with the minimum major number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN_MAJOR\"] = 128] = \"MIN_MAJOR\";\n /**\n * Filter to include versions with the maximum major number.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX_MAJOR\"] = 256] = \"MAX_MAJOR\";\n /**\n * Filter to include the last version in a range, considering major, minor, and patch numbers.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MIN\"] = 168] = \"MIN\";\n /**\n * Filter to include the first version in a range, considering major, minor, and patch numbers.\n */\n GameVersionFilterValues[GameVersionFilterValues[\"MAX\"] = 336] = \"MAX\";\n})(GameVersionFilterValues || (GameVersionFilterValues = {}));\n/**\n * Options for configuring the behavior of the `GameVersionFilter` enum.\n *\n * @partial\n */\nconst GameVersionFilterOptions = {\n /**\n * `GameVersionFilter` is a flag-based enum.\n */\n hasFlags: true,\n /**\n * The case should be ignored while parsing the filter.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the filter.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Filters game versions based on the provided filter.\n *\n * @template T - The type of the game versions.\n *\n * @param versions - An iterable of game versions to filter.\n * @param filter - The filter to apply to the versions.\n *\n * @returns An array of filtered game versions.\n */\nfunction filter(versions, filter) {\n let filtered = [...versions];\n if (filter === GameVersionFilter.NONE || !filter) {\n return filtered;\n }\n filtered = filterVersionType(filtered, filter);\n filtered = applyVersionRange(filtered, x => x.version.major, filter, GameVersionFilter.MIN_MAJOR, GameVersionFilter.MAX_MAJOR);\n filtered = applyVersionRange(filtered, x => x.version.minor, filter, GameVersionFilter.MIN_MINOR, GameVersionFilter.MAX_MINOR);\n filtered = applyVersionRange(filtered, x => x.version.patch, filter, GameVersionFilter.MIN_PATCH, GameVersionFilter.MAX_PATCH);\n return filtered;\n}\n/**\n * Filters game versions based on version type.\n *\n * @template T - The type of the game versions.\n *\n * @param versions - An array of game versions to filter.\n * @param filter - The filter to apply to the versions.\n *\n * @returns An array of filtered game versions.\n */\nfunction filterVersionType(versions, filter) {\n const allowReleases = GameVersionFilter.hasFlag(filter, GameVersionFilter.RELEASES);\n const allowBetas = GameVersionFilter.hasFlag(filter, GameVersionFilter.BETAS);\n const allowAlphas = GameVersionFilter.hasFlag(filter, GameVersionFilter.ALPHAS);\n const allowAny = (allowReleases && allowBetas && allowAlphas) || !(allowReleases || allowBetas || allowAlphas);\n if (!allowAny) {\n return versions.filter(x => (!x.isRelease || allowReleases) && (!x.isBeta || allowBetas) && (!x.isAlpha || allowAlphas));\n }\n return versions;\n}\n/**\n * Applies a version range filter based on the provided flags.\n *\n * @template T - The type of the game versions.\n *\n * @param versions - An array of game versions to filter.\n * @param selector - A function to select a specific version value (major, minor, or patch).\n * @param flags - The filter flags to apply to the versions.\n * @param minFlag - The `minimum` flag applicable to the selected version value.\n * @param maxFlag - The `maximum` flag applicable to the selected version value.\n *\n * @returns An array of filtered game versions.\n */\nfunction applyVersionRange(versions, selector, flags, minFlag, maxFlag) {\n const comparer = GameVersionFilter.hasFlag(flags, minFlag) ? -1 : GameVersionFilter.hasFlag(flags, maxFlag) ? 1 : 0;\n if (!comparer) {\n return versions;\n }\n const target = versions.reduce((current, version) => Math.sign(selector(version) - current) === comparer ? selector(version) : current, comparer === 1 ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER);\n return versions.filter(x => selector(x) === target);\n}\n/**\n * Converts a version resolver name to a game version filter.\n *\n * @param versionResolverName - The name of the version resolver.\n *\n * @returns The corresponding game version filter.\n */\nfunction _fromVersionResolver(versionResolverName) {\n if (stringEquals(versionResolverName, \"exact\", { ignoreCase: true })) {\n return GameVersionFilterValues.MIN | GameVersionFilterValues.RELEASES;\n }\n if (stringEquals(versionResolverName, \"latest\", { ignoreCase: true })) {\n return (GameVersionFilterValues.MIN_MAJOR |\n GameVersionFilterValues.MIN_MINOR |\n GameVersionFilterValues.MAX_PATCH |\n GameVersionFilterValues.RELEASES);\n }\n if (stringEquals(versionResolverName, \"all\", { ignoreCase: true })) {\n return GameVersionFilterValues.MIN_MAJOR | GameVersionFilterValues.MIN_MINOR;\n }\n return (GameVersionFilterValues.MIN_MAJOR |\n GameVersionFilterValues.MIN_MINOR |\n GameVersionFilterValues.RELEASES);\n}\n/**\n * Converts a version resolver name to a game version filter.\n *\n * @param versionResolverName - The name of the version resolver.\n *\n * @returns The corresponding game version filter.\n *\n * @deprecated\n *\n * Use keys of the new {@link GameVersionFilter} instead.\n */\nconst fromVersionResolver = deprecate(_fromVersionResolver, \"Use the new `game-version-filter` input instead of the deprecated `version-resolver` one.\");\n/**\n * A collection of methods to work with `GameVersionFilter`.\n *\n * @partial\n */\nconst GameVersionFilterMethods = {\n filter,\n fromVersionResolver,\n};\n/**\n * Represents a game version filter.\n *\n * This filter can be used to filter game versions based on the provided criteria.\n */\nexport const GameVersionFilter = Enum.create(GameVersionFilterValues, GameVersionFilterOptions, GameVersionFilterMethods);\n","import { coerce, parse as parseSemVer } from \"semver\";\n/**\n * Parses a version string into a {@link Version} instance.\n *\n * @param version - The version string to parse.\n *\n * @returns A {@link Version} instance if parsing is successful, or `undefined` if it fails.\n */\nexport function parseVersion(version) {\n return SemVerVersion.parse(version);\n}\n/**\n * Regular expression for matching semver-like tags in version strings.\n */\nconst SEMVER_TAG_REGEX = /[a-z]{0,2}((\\d+\\.\\d+)(\\.\\d+)?(.*))/i;\n/**\n * Represents a version number compliant with the Semantic Versioning specification.\n */\nclass SemVerVersion {\n /**\n * The SemVer object representing the parsed semantic version.\n */\n _semver;\n /**\n * The original string representation of the version.\n */\n _version;\n /**\n * Constructs a new {@link SemVerVersion} instance.\n *\n * @param semver - The SemVer object representing the parsed semantic version.\n * @param version - The original string representation of the version.\n */\n constructor(semver, version) {\n this._semver = semver;\n this._version = version ?? semver.format();\n }\n /**\n * Parses a version string into a {@link SemVerVersion} instance.\n *\n * @param version - The version string to parse.\n *\n * @returns A {@link SemVerVersion} instance if parsing is successful, or `undefined` if it fails.\n */\n static parse(version) {\n const semver = parseSemVer(version);\n if (semver) {\n return new SemVerVersion(semver, version);\n }\n const match = version.match(SEMVER_TAG_REGEX);\n if (match) {\n const numericVersion = match[3] ? match[1] : `${match[2]}.0${match[4]}`;\n const parsedSemVer = parseSemVer(numericVersion) || coerce(numericVersion);\n return new SemVerVersion(parsedSemVer, match[0]);\n }\n return undefined;\n }\n /**\n * @inheritdoc\n */\n get major() {\n return this._semver.major;\n }\n /**\n * @inheritdoc\n */\n get minor() {\n return this._semver.minor;\n }\n /**\n * @inheritdoc\n */\n get patch() {\n return this._semver.patch;\n }\n /**\n * @inheritdoc\n */\n compare(other) {\n if (other === null || other === undefined) {\n return 1;\n }\n if (typeof other === \"string\") {\n other = SemVerVersion.parse(other);\n }\n return other instanceof SemVerVersion ? this._semver.compare(other._semver) : -other.compare(this);\n }\n /**\n * @inheritdoc\n */\n format() {\n return this._semver.format();\n }\n /**\n * @inheritdoc\n */\n toString() {\n return this._version;\n }\n}\n","import { asArray } from \"@/utils/collections\";\nimport { Range } from \"semver\";\nimport { parseVersion } from \"./version\";\n/**\n * Parses a string or a collection of strings and returns into a version range.\n *\n * @param range - The string or a collection of strings to be parsed.\n *\n * @returns The parsed {@link VersionRange} instance, or `undefined` if the input is invalid.\n */\nexport function parseVersionRange(range) {\n return SemVerVersionRange.parse(range);\n}\n/**\n * Returns a version range that includes any version.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes any version.\n */\nexport function anyVersionRange(range) {\n return SemVerVersionRange.any(range);\n}\n/**\n * Returns a version range that includes no versions.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes no versions.\n */\nexport function noneVersionRange(range) {\n return SemVerVersionRange.none(range);\n}\n/**\n * Regular expression for matching interval-like expressions in version range strings.\n */\nconst INTERVAL_LIKE_REGEX = /(?:\\[|\\()[^\\])]+(?:\\]|\\))/g;\n/**\n * Converts a mixed version range string into a semver-compatible version range string.\n *\n * @param range - The mixed version range string.\n *\n * @returns The semver-compatible version range string.\n */\nfunction mixedToSemver(range) {\n return range.replace(INTERVAL_LIKE_REGEX, intervalToSemver);\n}\n/**\n * Regular expression for matching interval expressions in version range strings.\n */\nconst INTERVAL_REGEX = /(?\\[|\\()\\s*(?[^,\\s]+)?\\s*(?,)?\\s*(?[^,\\s\\])]+)?\\s*(?\\]|\\))/;\n/**\n * Converts an interval expression into a semver-compatible range expression.\n *\n * @param range - The interval expression.\n *\n * @returns The semver-compatible range expression.\n */\nfunction intervalToSemver(range) {\n const match = range.match(INTERVAL_REGEX);\n if (!match) {\n return \"\";\n }\n const fromOperator = match.groups.from_bracket === \"[\" ? \">=\" : \">\";\n const from = match.groups.from;\n const separator = match.groups.separator;\n const toOperator = match.groups.to_bracket === \"]\" ? \"<=\" : \"<\";\n const to = match.groups.to;\n if (!from && !to) {\n return \"*\";\n }\n if (!from) {\n return `${toOperator}${to}`;\n }\n if (!separator) {\n return from;\n }\n if (!to) {\n return `${fromOperator}${from}`;\n }\n return `${fromOperator}${from} ${toOperator}${to}`;\n}\n/**\n * Regular expression for matching semver-like tags in version strings with optional patch version.\n */\nconst SEMVER_OPTIONAL_PATCH_REGEX = /((?:\\d+|[Xx*])(?:\\.\\d+|\\.[Xx*]))(\\.\\d+|\\.[Xx*])?([\\w\\-.+]*)/g;\n/**\n * Ensures that a semver string has a patch version, adding \".0\" if it is missing.\n *\n * @param semver - The semver string.\n *\n * @returns The semver string with a patch version.\n */\nfunction fixMissingPatchVersion(semver) {\n return semver.replace(SEMVER_OPTIONAL_PATCH_REGEX, (match, before, patch, after) => {\n return patch ? match : `${before}.0${after}`;\n });\n}\n/**\n * Represents a version range compliant with the Semantic Versioning specification.\n */\nclass SemVerVersionRange {\n /**\n * Represents a range that includes any version.\n */\n static ANY = new SemVerVersionRange(new Range(\"*\"), \"*\");\n /**\n * Represents a range that includes no versions.\n */\n static NONE = new SemVerVersionRange(new Range(\"<0.0.0\"));\n /**\n * The semver-compliant range object.\n */\n _semver;\n /**\n * The original version range string.\n */\n _range;\n /**\n * Constructs a new {@link SemVerVersionRange} instance.\n *\n * @param semver - The semver-compliant range object.\n * @param range - The original version range string.\n */\n constructor(semver, range) {\n this._semver = semver;\n this._range = range ?? semver.format();\n }\n /**\n * Returns a version range that includes any version.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes any version.\n */\n static any(range) {\n if (!range || range === SemVerVersionRange.ANY._range) {\n return SemVerVersionRange.ANY;\n }\n return new SemVerVersionRange(SemVerVersionRange.ANY._semver, range);\n }\n /**\n * Returns a version range that includes no versions.\n *\n * @param range - An optional string representing the range.\n *\n * @returns The version range that includes no versions.\n */\n static none(range) {\n if (!range || range === SemVerVersionRange.NONE._range) {\n return SemVerVersionRange.NONE;\n }\n return new SemVerVersionRange(SemVerVersionRange.NONE._semver, range);\n }\n /**\n * Parses a string or a collection of strings and returns into a version range.\n *\n * @param range - The string or a collection of strings to be parsed.\n *\n * @returns The parsed {@link SemVerVersionRange} instance, or `undefined` if the input is invalid.\n */\n static parse(range) {\n const ranges = (typeof range === \"string\" ? [range] : asArray(range)).map(x => x.trim());\n const mixedRange = ranges.join(\" || \");\n const semverRange = ranges.map(mixedToSemver).map(fixMissingPatchVersion).join(\" || \");\n try {\n const parsedSemverRange = new Range(semverRange, { includePrerelease: true });\n return new SemVerVersionRange(parsedSemverRange, mixedRange);\n }\n catch {\n return undefined;\n }\n }\n /**\n * @inheritdoc\n */\n includes(version) {\n if (typeof version === \"string\") {\n version = parseVersion(version);\n }\n const internalSemVer = version?._semver;\n return this._semver.test(internalSemVer || version.format());\n }\n /**\n * @inheritdoc\n */\n format() {\n return this._semver.format();\n }\n /**\n * @inheritdoc\n */\n toString() {\n return this._range;\n }\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different version types for software releases.\n *\n * @partial\n */\nvar VersionTypeValues;\n(function (VersionTypeValues) {\n /**\n * Alpha version, usually for early testing and development.\n */\n VersionTypeValues[\"ALPHA\"] = \"alpha\";\n /**\n * Beta version, typically for more advanced testing and bug fixing.\n */\n VersionTypeValues[\"BETA\"] = \"beta\";\n /**\n * Release version, the stable and final version of the software.\n */\n VersionTypeValues[\"RELEASE\"] = \"release\";\n})(VersionTypeValues || (VersionTypeValues = {}));\n/**\n * Options for configuring the behavior of the VersionType enum.\n *\n * @partial\n */\nconst VersionTypeOptions = {\n /**\n * The case should be ignored while parsing the version type.\n */\n ignoreCase: true,\n};\n/**\n * Parses the provided file name and returns the corresponding {@link VersionType}.\n *\n * @param fileName - The file name string to parse.\n *\n * @returns The detected {@link VersionType} based on the input file name.\n */\nfunction parseFromFileName(fileName) {\n if (fileName.match(/[+-_]alpha/i)) {\n return VersionType.ALPHA;\n }\n if (fileName.match(/[+-_]beta/i)) {\n return VersionType.BETA;\n }\n return VersionType.RELEASE;\n}\n/**\n * A collection of methods to work with VersionType.\n *\n * @partial\n */\nconst VersionTypeMethods = {\n parseFromFileName,\n};\n/**\n * Represents different version types for software releases.\n */\nexport const VersionType = Enum.create(VersionTypeValues, VersionTypeOptions, VersionTypeMethods);\n","import { VersionType } from \"@/utils/versioning\";\nimport { Enum } from \"@/utils/enum\";\n/**\n * Represents Minecraft version types.\n *\n * @partial\n */\nvar MinecraftVersionTypeValues;\n(function (MinecraftVersionTypeValues) {\n /**\n * Represents the release version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"RELEASE\"] = \"release\";\n /**\n * Represents the snapshot version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"SNAPSHOT\"] = \"snapshot\";\n /**\n * Represents the old beta version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"OLD_BETA\"] = \"old_beta\";\n /**\n * Represents the old alpha version type of Minecraft.\n */\n MinecraftVersionTypeValues[\"OLD_ALPHA\"] = \"old_alpha\";\n})(MinecraftVersionTypeValues || (MinecraftVersionTypeValues = {}));\n/**\n * Options for configuring the behavior of the MinecraftVersionType enum.\n *\n * @partial\n */\nconst MinecraftVersionTypeOptions = {\n /**\n * The case should be ignored while parsing the version type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the version type.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Converts a `MinecraftVersionType` value to a corresponding `VersionType` value.\n *\n * @param type - The Minecraft version type to convert.\n * @param version - The Minecraft version string, used for additional checks when the type is `Snapshot`.\n *\n * @returns The corresponding `VersionType` value.\n */\nfunction toVersionType(type, version) {\n switch (type) {\n case MinecraftVersionType.SNAPSHOT:\n return version?.match(/-pre|-rc|-beta|Pre-[Rr]elease|[Rr]elease Candidate/)\n ? VersionType.BETA\n : VersionType.ALPHA;\n case MinecraftVersionType.OLD_BETA:\n return VersionType.BETA;\n case MinecraftVersionType.OLD_ALPHA:\n return VersionType.ALPHA;\n default:\n return VersionType.RELEASE;\n }\n}\n/**\n * A collection of methods to work with MinecraftVersionType.\n *\n * @partial\n */\nconst MinecraftVersionTypeMethods = {\n toVersionType,\n};\n/**\n * Represents Minecraft version types.\n */\nexport const MinecraftVersionType = Enum.create(MinecraftVersionTypeValues, MinecraftVersionTypeOptions, MinecraftVersionTypeMethods);\n","import { VersionType } from \"@/utils/versioning\";\nimport { MinecraftVersionType } from \"./minecraft-version-type\";\n/**\n * Represents a Minecraft version.\n */\nexport class MinecraftVersion {\n /**\n * The version identifier.\n */\n _id;\n /**\n * The parsed version information.\n */\n _version;\n /**\n * The original Minecraft version type.\n */\n _mcType;\n /**\n * The normalized version type.\n */\n _type;\n /**\n * The URL for the version's metadata.\n */\n _url;\n /**\n * The release date of the version.\n */\n _releaseDate;\n /**\n * Constructs a new {@link MinecraftVersion} instance.\n *\n * @param id - The version identifier.\n * @param version - The parsed version information.\n * @param type - The Minecraft version type.\n * @param url - The URL for the version's metadata.\n * @param releaseDate - The release date of the version.\n */\n constructor(id, version, type, url, releaseDate) {\n this._id = id;\n this._version = version;\n this._mcType = type;\n this._type = MinecraftVersionType.toVersionType(type, String(version));\n this._url = url;\n this._releaseDate = releaseDate;\n }\n /**\n * Returns the version identifier.\n */\n get id() {\n return this._id;\n }\n /**\n * Returns the parsed version information.\n */\n get version() {\n return this._version;\n }\n /**\n * Returns the version type.\n */\n get type() {\n return this._type;\n }\n /**\n * Returns the URL for the version's metadata.\n */\n get url() {\n return this._url;\n }\n /**\n * Returns the release date of the version.\n */\n get releaseDate() {\n return this._releaseDate;\n }\n /**\n * Returns `true` if the version is an alpha version.\n */\n get isAlpha() {\n return this._type === VersionType.ALPHA;\n }\n /**\n * Returns `true` if the version is a beta version.\n */\n get isBeta() {\n return this._type === VersionType.BETA;\n }\n /**\n * Returns `true` if the version is a snapshot version.\n */\n get isSnapshot() {\n return !this.isRelease;\n }\n /**\n * Returns `true` if the version is a release version.\n */\n get isRelease() {\n return this._type === VersionType.RELEASE;\n }\n /**\n * Returns `true` if the version is an old alpha version.\n */\n get isOldAlpha() {\n return this._mcType === MinecraftVersionType.OLD_ALPHA;\n }\n /**\n * Returns `true` if the version is an old beta version.\n */\n get isOldBeta() {\n return this._mcType === MinecraftVersionType.OLD_BETA;\n }\n /**\n * Returns the version identifier as a string.\n */\n toString() {\n return this._id;\n }\n}\n/**\n * Returns an array of Minecraft version manifest entries.\n *\n * @param manifest - The Minecraft version manifest.\n *\n * @returns An array of Minecraft version manifest entries.\n */\nexport function getMinecraftVersionManifestEntries(manifest) {\n return manifest.versions\n .map(x => ({ ...x, releaseDate: new Date(x.releaseTime) }))\n .sort((a, b) => b.releaseDate.valueOf() - a.releaseDate.valueOf());\n}\n","/**\n * Your one-stop GitHub Action for seamless Minecraft project publication across various platforms.\n */\nexport const ACTION_NAME = \"mc-publish\";\n;\n;\n","/**\n * A class that manages middleware functions for a given function of type `T`.\n *\n * It allows adding middleware functions to intercept, modify, or add behavior to the original function.\n *\n * @template T - The type of the function.\n */\nexport class MiddlewareHandler {\n /**\n * The target function that the middleware functions will be applied to.\n */\n _target;\n /**\n * A list of middleware functions that will be executed in the order they were added.\n */\n _delegates;\n /**\n * Constructs a new {@link MiddlewareHandler} instance.\n *\n * @param target - The target function that the middleware functions will be applied to.\n */\n constructor(target) {\n this._target = target;\n this._delegates = [];\n }\n /**\n * Adds a middleware function to the {@link MiddlewareHandler}.\n *\n * Middleware functions are executed in the order they were added.\n *\n * @param middleware - The middleware function to add.\n *\n * @returns `this` instance, allowing for method chaining.\n */\n use(middleware) {\n this._delegates.push(middleware);\n return this;\n }\n /**\n * Executes the middleware chain and the target function with the provided arguments.\n *\n * The middleware functions are called in the order they were added.\n *\n * @param args - The arguments to pass to the middleware functions and the target function.\n *\n * @returns The result of the target function after applying all middleware functions.\n */\n execute(...args) {\n return this.asFunction()(...args);\n }\n /**\n * Returns the composed target function with the middleware chain applied.\n *\n * This function can be called directly, and it will execute the middleware chain and the target function.\n *\n * @returns The composed target function.\n */\n asFunction() {\n if (!this._delegates.length) {\n return this._target;\n }\n const target = this._target;\n const delegates = [...this._delegates];\n const apply = (i) => (...args) => i < delegates.length\n ? delegates[i](...args, apply(i + 1))\n : target(...args);\n return apply(0);\n }\n}\n","/* eslint-disable-next-line no-restricted-imports */\nimport { Blob as BlobPolyfill, blobFrom, blobFromSync } from \"node-fetch\";\n/**\n * A `Blob` encapsulates immutable, raw data that can be safely shared across multiple worker threads.\n */\nexport const Blob = BlobPolyfill;\n/**\n * Checks if an object is a `Blob`.\n *\n * @param blob - The object to check.\n *\n * @returns `true` if the object is a `Blob`; otherwise, `false`.\n */\nexport function isBlob(blob) {\n const name = blob?.[Symbol.toStringTag];\n return name === \"Blob\" || name === \"File\";\n}\n/**\n * Reads a file from the given path and returns its content as a `Blob`.\n *\n * @param path - The file path to read the content from.\n *\n * @returns A `Promise` that resolves to a `Blob` containing the file content.\n */\nexport function readBlob(path) {\n return blobFrom(path);\n}\n/**\n * Synchronously reads a file from the given path and returns its content as a `Blob`.\n *\n * @param path - The file path to read the content from.\n *\n * @returns A `Blob` containing the file content.\n */\nexport function readBlobSync(path) {\n return blobFromSync(path);\n}\n","import { asArray, asArrayLike, isIterable } from \"@/utils/collections\";\nimport { Enum } from \"@/utils/enum\";\nimport { VersionType } from \"@/utils/versioning\";\n/**\n * Represents the modes for unfeaturing Modrinth versions.\n *\n * @partial\n */\nvar ModrinthUnfeatureModeValues;\n(function (ModrinthUnfeatureModeValues) {\n /**\n * No unfeature mode.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"NONE\"] = 0] = \"NONE\";\n /**\n * Unfeature mode for game version subset.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"GAME_VERSION_SUBSET\"] = 1] = \"GAME_VERSION_SUBSET\";\n /**\n * Unfeature mode for version intersection.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"GAME_VERSION_INTERSECTION\"] = 2] = \"GAME_VERSION_INTERSECTION\";\n /**\n * Unfeature mode for any version.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"GAME_VERSION_ANY\"] = 4] = \"GAME_VERSION_ANY\";\n /**\n * Unfeature mode for version type subset.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"VERSION_TYPE_SUBSET\"] = 8] = \"VERSION_TYPE_SUBSET\";\n /**\n * Unfeature mode for version type intersection.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"VERSION_TYPE_INTERSECTION\"] = 16] = \"VERSION_TYPE_INTERSECTION\";\n /**\n * Unfeature mode for any version type.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"VERSION_TYPE_ANY\"] = 32] = \"VERSION_TYPE_ANY\";\n /**\n * Unfeature mode for loader subset.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"LOADER_SUBSET\"] = 64] = \"LOADER_SUBSET\";\n /**\n * Unfeature mode for loader intersection.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"LOADER_INTERSECTION\"] = 128] = \"LOADER_INTERSECTION\";\n /**\n * Unfeature mode for any loader.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"LOADER_ANY\"] = 256] = \"LOADER_ANY\";\n /**\n * Unfeature mode for a subset of game versions, loaders, and version types.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"SUBSET\"] = 73] = \"SUBSET\";\n /**\n * Unfeature mode for an intersection of game versions, loaders, and version types.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"INTERSECTION\"] = 146] = \"INTERSECTION\";\n /**\n * Unfeature mode for any game version, loader, or version type.\n */\n ModrinthUnfeatureModeValues[ModrinthUnfeatureModeValues[\"ANY\"] = 292] = \"ANY\";\n})(ModrinthUnfeatureModeValues || (ModrinthUnfeatureModeValues = {}));\n/**\n * Options for configuring the behavior of the ModrinthUnfeatureMode enum.\n *\n * @partial\n */\nconst ModrinthUnfeatureModeOptions = {\n /**\n * `ModrinthUnfeatureMode` is a flag-based enum.\n */\n hasFlags: true,\n /**\n * The case should be ignored while parsing the unfeature mode.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the unfeature mode.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Determines if the given unfeature mode is the \"none\" mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is \"none\"; otherwise, `false`.\n */\nfunction isNone(mode) {\n return mode === ModrinthUnfeatureMode.NONE;\n}\n/**\n * Determines if the given unfeature mode is a subset mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is a subset mode; otherwise, `false`.\n */\nfunction isSubset(mode) {\n return (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_SUBSET) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_SUBSET) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_SUBSET));\n}\n/**\n * Determines if the given unfeature mode is an intersection mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is an intersection mode; otherwise, `false`.\n */\nfunction isIntersection(mode) {\n return (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_INTERSECTION) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_INTERSECTION) ||\n ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_INTERSECTION));\n}\n/**\n * Determines if the given unfeature mode is an \"any\" mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the mode is an \"any\" mode; otherwise, `false`.\n */\nfunction isAny(mode) {\n return !isSubset(mode) && !isIntersection(mode);\n}\n/**\n * Retrieves the version-specific unfeature mode from the composite unfeature mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns The version-specific unfeature mode.\n */\nfunction getGameVersionMode(mode) {\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_SUBSET)) {\n return ModrinthUnfeatureMode.GAME_VERSION_SUBSET;\n }\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.GAME_VERSION_INTERSECTION)) {\n return ModrinthUnfeatureMode.GAME_VERSION_INTERSECTION;\n }\n return ModrinthUnfeatureMode.GAME_VERSION_ANY;\n}\n/**\n * Retrieves the version type-specific unfeature mode from the given composite unfeature mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns The version type-specific unfeature mode.\n */\nfunction getVersionTypeMode(mode) {\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_SUBSET)) {\n return ModrinthUnfeatureMode.VERSION_TYPE_SUBSET;\n }\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.VERSION_TYPE_INTERSECTION)) {\n return ModrinthUnfeatureMode.VERSION_TYPE_INTERSECTION;\n }\n return ModrinthUnfeatureMode.VERSION_TYPE_ANY;\n}\n/**\n * Retrieves the loader-specific unfeature mode from the given composite unfeature mode.\n *\n * @param mode - The unfeature mode.\n *\n * @returns The loader-specific unfeature mode.\n */\nfunction getLoaderMode(mode) {\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_SUBSET)) {\n return ModrinthUnfeatureMode.LOADER_SUBSET;\n }\n if (ModrinthUnfeatureMode.hasFlag(mode, ModrinthUnfeatureMode.LOADER_INTERSECTION)) {\n return ModrinthUnfeatureMode.LOADER_INTERSECTION;\n }\n return ModrinthUnfeatureMode.LOADER_ANY;\n}\n/**\n * Determines if the `previous` value satisfies the given unfeature condition.\n *\n * @param previous - The previous value.\n * @param current - The current value.\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the `previous` value satisfies the given unfeature condition; otherwise, `false`.\n */\nfunction satisfies(previous, current, mode) {\n if (isAny(mode)) {\n return true;\n }\n // If the provided items are scalars, the only way the could intersect with each other\n // or one be a subset of another is for them to be strictly equal.\n // This way we cover both possibilities at the same time.\n if (!isIterable(current) || !isIterable(previous)) {\n return current === previous;\n }\n const currentArray = asArray(current);\n if (isSubset(mode)) {\n return asArrayLike(previous).every(x => currentArray.includes(x));\n }\n // isIntersection(mode) === true\n return asArrayLike(previous).some(x => currentArray.includes(x));\n}\n/**\n * Determines if the `previous` version should be unfeatured based on the given unfeature mode.\n *\n * @param previous - The previous version.\n * @param current - The current version.\n * @param mode - The unfeature mode.\n *\n * @returns `true` if the `previous` version should be unfeatured based on the given unfeature mode; otherwise, `false`.\n */\nfunction shouldUnfeature(previous, current, mode) {\n if (previous.id === current.id) {\n return false;\n }\n const gameVersionMode = getGameVersionMode(mode);\n const versionTypeMode = getVersionTypeMode(mode);\n const loaderMode = getLoaderMode(mode);\n return (satisfies(previous.game_versions || [], current.game_versions || [], gameVersionMode) &&\n satisfies(previous.version_type || VersionType.RELEASE, current.version_type || VersionType.RELEASE, versionTypeMode) &&\n satisfies(previous.loaders || [], current.loaders || [], loaderMode));\n}\n/**\n * A collection of methods to work with ModrinthUnfeatureMode.\n *\n * @partial\n */\nconst ModrinthUnfeatureModeMethods = {\n isNone,\n isSubset,\n isIntersection,\n isAny,\n getGameVersionMode,\n getVersionTypeMode,\n getLoaderMode,\n shouldUnfeature,\n};\n/**\n * Represents the modes for unfeaturing Modrinth versions.\n */\nexport const ModrinthUnfeatureMode = Enum.create(ModrinthUnfeatureModeValues, ModrinthUnfeatureModeOptions, ModrinthUnfeatureModeMethods);\n","import { randomBytes, createCipheriv, createDecipheriv } from \"node:crypto\";\n/**\n * Cipher type used for encryption and decryption.\n */\nconst CIPHER_TYPE = \"aes-256-cbc\";\n/**\n * Length of the encryption key.\n */\nconst KEY_LENGTH = 32;\n/**\n * Length of the initialization vector.\n */\nconst IV_LENGTH = 16;\n/**\n * WeakMap to store the encrypted Buffer data of each SecureString instance.\n */\nconst BUFFERS = new WeakMap();\n/**\n * WeakMap to store the encryption key of each SecureString instance.\n */\nconst KEYS = new WeakMap();\n/**\n * WeakMap to store the initialization vector of each SecureString instance.\n */\nconst IVS = new WeakMap();\n/**\n * Represents a secure string, which can only be accessed when unwrapped.\n */\nexport class SecureString {\n /**\n * Constructs a new {@link SecureString} instances.\n *\n * @param buffer - Encrypted buffer data.\n * @param key - Encryption key.\n * @param iv - Initialization vector.\n */\n constructor(buffer, key, iv) {\n BUFFERS.set(this, buffer);\n KEYS.set(this, key);\n IVS.set(this, iv);\n }\n /**\n * Creates a new {@link SecureString} instance from a given input string, or `Buffer`.\n *\n * @param s - The input string, or `Buffer`.\n *\n * @returns A new {@link SecureString} instance.\n */\n static from(s) {\n if (s instanceof SecureString) {\n return s;\n }\n const decryptedBuffer = Buffer.from(s || \"\");\n const key = randomBytes(KEY_LENGTH);\n const iv = randomBytes(IV_LENGTH);\n const cipher = createCipheriv(CIPHER_TYPE, key, iv);\n const buffer = Buffer.concat([cipher.update(decryptedBuffer), cipher.final()]);\n return new SecureString(buffer, key, iv);\n }\n /**\n * Unwraps the encrypted {@link SecureString} instance and returns the decrypted string.\n *\n * @returns Decrypted string.\n */\n unwrap() {\n const buffer = BUFFERS.get(this);\n const key = KEYS.get(this);\n const iv = IVS.get(this);\n if (!buffer || !key || !iv) {\n throw new Error(\"The SecureString instance was not properly initialized.\");\n }\n const decipher = createDecipheriv(CIPHER_TYPE, key, iv);\n const decryptedBuffer = Buffer.concat([decipher.update(buffer), decipher.final()]);\n return decryptedBuffer.toString();\n }\n /**\n * Returns the custom string tag to identify {@link SecureString} instances.\n *\n * @returns \"SecureString\".\n */\n get [Symbol.toStringTag]() {\n return \"SecureString\";\n }\n /**\n * Return a masked string, hiding the actual content.\n *\n * @returns A masked string.\n */\n toString() {\n return \"*****\";\n }\n /**\n * Return a masked string, hiding the actual content.\n *\n * @returns A masked string.\n */\n toJSON() {\n return this.toString();\n }\n}\n","/**\n * Determines if the input is an {@link Error}.\n *\n * @param error - Input to be checked.\n *\n * @returns `true` if the input is an `Error`; otherwise, `false`.\n */\nexport function isError(error) {\n return error instanceof Error;\n}\n","/**\n * Represents an error that is thrown when one of the arguments provided to a method is not valid.\n */\nexport class ArgumentError extends Error {\n /**\n * The default message to use when no message is provided.\n */\n static DEFAULT_ARGUMENT_ERROR_MESSAGE = \"Value does not fall within the expected range.\";\n /**\n * The message to use when an object was empty.\n */\n static EMPTY_ARGUMENT_ERROR_MESSAGE = \"The value cannot be null, undefined, or empty.\";\n /**\n * The pattern used to format the parameter name into the error message.\n *\n * @param paramName - The name of the parameter causing the error.\n *\n * @returns A formatted error message that includes the parameter name.\n */\n static PARAM_NAME_MESSAGE_PATTERN = (paramName) => paramName ? ` (Parameter '${paramName}')` : \"\";\n /**\n * The name of the parameter that caused the error.\n */\n _paramName;\n /**\n * Initializes a new instance of the {@link ArgumentError} class.\n *\n * @param paramName - The name of the parameter that caused the error.\n * @param message - The error message to display.\n * @param options - Optional settings for the error object.\n */\n constructor(paramName, message, options) {\n super(ArgumentError.formatErrorMessage(message, paramName), options);\n this.name = \"ArgumentError\";\n this._paramName = paramName;\n }\n /**\n * Gets the name of the parameter that caused the error.\n *\n * @returns The name of the parameter that caused the error, or `undefined` if no name was provided.\n */\n get paramName() {\n return this._paramName;\n }\n /**\n * Throws an {@link ArgumentError} if the specified argument is `null`, `undefined`, or empty.\n *\n * @param argument - The argument to check.\n * @param paramName - The name of the parameter being checked.\n * @param message - The error message to display.\n *\n * @throws An {@link ArgumentError} if the specified argument is `null`, `undefined`, or empty.\n */\n static throwIfNullOrEmpty(argument, paramName, message) {\n if (argument === undefined || argument === null || argument.length === 0) {\n throw new ArgumentError(paramName, message || ArgumentError.EMPTY_ARGUMENT_ERROR_MESSAGE);\n }\n }\n /**\n * Formats the error message to include any specified parameter name.\n *\n * @param message - The error message to format.\n * @param paramName - The name of the parameter that caused the error.\n *\n * @returns The formatted error message.\n */\n static formatErrorMessage(message, paramName) {\n message ??= ArgumentError.DEFAULT_ARGUMENT_ERROR_MESSAGE;\n message += ArgumentError.PARAM_NAME_MESSAGE_PATTERN(paramName);\n return message;\n }\n}\n","import { ArgumentError } from \"./argument-error\";\n/**\n * Represents an error that occurs when a required argument is null or undefined.\n */\nexport class ArgumentNullError extends ArgumentError {\n /**\n * The default message to use when no message is provided.\n */\n static DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE = \"Value cannot be null or undefined.\";\n /**\n * Initializes a new instance of the {@link ArgumentNullError} class.\n *\n * @param paramName - The name of the parameter that caused the error.\n * @param message - The error message to display.\n * @param options - Optional settings for the error object.\n */\n constructor(paramName, message, options) {\n super(paramName, message ?? ArgumentNullError.DEFAULT_ARGUMENT_NULL_ERROR_MESSAGE, options);\n this.name = \"ArgumentNullError\";\n }\n /**\n * Throws an {@link ArgumentNullError} if the specified argument is `null` or `undefined`.\n *\n * @param argument - The argument to check.\n * @param paramName - The name of the parameter being checked.\n * @param message - The error message to display.\n *\n * @throws An {@link ArgumentNullError} if the specified argument is `null` or `undefined`.\n */\n static throwIfNull(argument, paramName, message) {\n if (argument === undefined || argument === null) {\n throw new ArgumentNullError(paramName, message);\n }\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:os\");","import { asString } from \"@/utils/string-utils\";\nimport { EOL } from \"node:os\";\n/**\n * An object containing environment variables as key-value pairs.\n */\nexport const ENVIRONMENT = process.env;\n/**\n * The Windows-style line break character sequence.\n */\nexport const WINDOWS_NEWLINE = \"\\r\\n\";\n/**\n * The Unix-style line break character sequence.\n */\nexport const UNIX_NEWLINE = \"\\n\";\n/**\n * The default line break character sequence based on the operating system.\n */\nexport const DEFAULT_NEWLINE = EOL;\n/**\n * Retrieves the environment variable with the specified `name`.\n *\n * @param name - The name of the environment variable to retrieve.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns The value of the specified environment variable, if any; otherwise, `undefined`.\n */\nexport function getEnvironmentVariable(name, env) {\n env ||= ENVIRONMENT;\n const variable = env[name];\n return variable === undefined ? undefined : asString(variable);\n}\n/**\n * Returns an iterable that yields all environment variables as name/value key-value pairs.\n *\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns An iterable that yields all environment variables as name/value key-value pairs.\n */\nexport function* getAllEnvironmentVariables(env) {\n env ||= ENVIRONMENT;\n for (const [name, variable] of Object.entries(env)) {\n if (variable === undefined) {\n continue;\n }\n yield [name, asString(variable)];\n }\n}\n/**\n * Updates the value of an environment variable with the specified name.\n *\n * @param name - The name of the environment variable to update.\n * @param value - The new value for the environment variable.\n * @param env - An optional set of the environment variables to update. Defaults to `process.env`.\n */\nexport function setEnvironmentVariable(name, value, env) {\n env ||= ENVIRONMENT;\n if (value === undefined) {\n delete env[name];\n }\n else {\n env[name] = asString(value);\n }\n}\n/**\n * Determines whether the current environment is in debug mode.\n *\n * @param env - An optional set of the environment variables to check. Defaults to `process.env`.\n *\n * @returns `true` if the environment is in debug mode; otherwise, `false`.\n */\nexport function isDebug(env) {\n // Why in the world is this \"1\" instead of \"true\"?\n // https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables\n return getEnvironmentVariable(\"RUNNER_DEBUG\", env) === \"1\";\n}\n/**\n * Determines whether the current environment is running on GitHub Actions.\n *\n * @param env - An optional set of the environment variables to check. Defaults to `process.env`.\n *\n * @returns `true` if the current environment is running on GitHub Actions; otherwise, `false`.\n */\nexport function isGitHubAction(env) {\n // https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables\n return getEnvironmentVariable(\"GITHUB_ACTIONS\", env) === \"true\";\n}\n/**\n * Determines whether the specified platform is Windows.\n *\n * @param platformName - An optional string that represents the platform to check. If not provided, the current platform will be used as the default.\n *\n * @returns `true` if the specified platform is Windows; otherwise, `false`.\n */\nexport function isWindows(platformName) {\n platformName ??= process.platform;\n return platformName === \"win32\";\n}\n/**\n * Determines whether the current platform is macOS.\n *\n * @param platformName - An optional string that represents the platform to check. If not provided, the current platform will be used as the default.\n *\n * @returns `true` if the current platform is macOS; otherwise, `false`.\n */\nexport function isMacOs(platformName) {\n platformName ??= process.platform;\n return platformName === \"darwin\";\n}\n/**\n * Determines whether the current platform is Linux.\n *\n * @param platformName - An optional string that represents the platform to check. If not provided, the current platform will be used as the default.\n *\n * @returns `true` if the current platform is Linux; otherwise, `false`.\n */\nexport function isLinux(platformName) {\n platformName ??= process.platform;\n return platformName === \"linux\";\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:console\");","import { error, warn, info, debug } from \"node:console\";\n/**\n * Default console instance.\n */\nconst CONSOLE_INSTANCE = { error, warn, info, debug };\n/**\n * A logger that writes log messages to the console.\n */\nexport class ConsoleLogger {\n /**\n * A console instance to log messages to.\n */\n _console;\n /**\n * Constructs a new {@link ConsoleLogger} instance.\n *\n * @param console - Optional custom console object to use for logging.\n */\n constructor(console) {\n this._console = console || CONSOLE_INSTANCE;\n }\n /**\n * @inheritdoc\n */\n fatal(message) {\n this._console.error(message);\n }\n /**\n * @inheritdoc\n */\n error(message) {\n this._console.error(message);\n }\n /**\n * @inheritdoc\n */\n warn(message) {\n this._console.warn(message);\n }\n /**\n * @inheritdoc\n */\n info(message) {\n this._console.info(message);\n }\n /**\n * @inheritdoc\n */\n debug(message) {\n this._console.debug(message);\n }\n}\n","/**\n * Null logger implementation, used for discarding all log messages.\n */\nexport class NullLogger {\n /**\n * @inheritdoc\n */\n fatal(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n error(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n warn(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n info(_message) {\n // NOP\n }\n /**\n * @inheritdoc\n */\n debug(_message) {\n // NOP\n }\n}\n","import { DEFAULT_NEWLINE } from \"@/utils/environment\";\n/**\n * A logger implementation that dumps formatted log messages to `stdout`.\n *\n * Compatible with GitHub Actions.\n *\n * @remarks\n *\n * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-debug-message\n */\nexport class ProcessLogger {\n /**\n * A function to consume produced log messages.\n */\n _logConsumer;\n /**\n * The newline sequence to use when writing logs.\n */\n _newline;\n /**\n * Constructs a new {@link ProcessLogger} instance.\n *\n * @param processOrLogConsumer - A process this logger is attached to, or a function to consume log messages.\n * @param newline - The newline sequence to use when writing logs. Defaults to `os.EOL`.\n */\n constructor(processOrLogConsumer, newline) {\n if (typeof processOrLogConsumer === \"function\") {\n this._logConsumer = processOrLogConsumer;\n }\n else {\n const process = processOrLogConsumer ?? globalThis.process;\n this._logConsumer =\n typeof process.stdout?.write === \"function\"\n ? msg => process.stdout.write(msg)\n : (() => { });\n }\n this._newline = newline ?? DEFAULT_NEWLINE;\n }\n /**\n * @inheritdoc\n */\n fatal(message) {\n this.error(message);\n }\n /**\n * @inheritdoc\n */\n error(message) {\n this.log(message, \"error\");\n }\n /**\n * @inheritdoc\n */\n warn(message) {\n this.log(message, \"warning\");\n }\n /**\n * @inheritdoc\n */\n info(message) {\n this.log(message);\n }\n /**\n * @inheritdoc\n */\n debug(message) {\n this.log(message, \"debug\");\n }\n /**\n * Logs a message with an optional log level.\n *\n * @param message - The message to log.\n * @param level - Optional log level string.\n */\n log(message, level) {\n const cmd = level ? `::${level}::` : \"\";\n this._logConsumer(`${cmd}${message}${this._newline}`);\n }\n}\n","import { isGitHubAction } from \"@/utils/environment\";\nimport { ConsoleLogger } from \"./console-logger\";\nimport { NullLogger } from \"./null-logger\";\nimport { ProcessLogger } from \"./process-logger\";\n/**\n * A constant representing the {@link NullLogger} instance, which does not log any message.\n */\nexport const NULL_LOGGER = new NullLogger();\n/**\n * A constant representing the {@link ConsoleLogger} instance, which logs messages to the console.\n */\nexport const CONSOLE_LOGGER = new ConsoleLogger();\n/**\n * A constant representing the {@link ProcessLogger} instance, which dumps log messages to the `stdout`.\n */\nexport const PROCESS_LOGGER = new ProcessLogger();\n/**\n * Returns a logger instance that is the most suitable for the current environment.\n *\n * - If we are currently in a GitHub Actions environment, the logger will write to `process.stdout`.\n * - Otherwise, logs will be written to the console.\n *\n * @param env - An optional set of the environment variables to check. Defaults to `process.env`.\n *\n * @returns A logger instance suitable for the current environment.\n */\nexport function getDefaultLogger(env) {\n return isGitHubAction(env) ? PROCESS_LOGGER : CONSOLE_LOGGER;\n}\n","/**\n * A class for measuring elapsed time.\n */\nexport class Stopwatch {\n /**\n * Indicates whether the stopwatch is currently running.\n */\n _isRunning;\n /**\n * The time when stopwatch was started.\n */\n _startTime;\n /**\n * The elapsed time in milliseconds since the stopwatch was started.\n */\n _elapsedTime;\n /**\n * A callback function that will be called when the stopwatch is started.\n */\n _onStart;\n /**\n * A callback function that will be called when the stopwatch is stopped.\n */\n _onStop;\n /**\n * Creates a new instance of {@link Stopwatch}.\n *\n * @param onStart - A callback function that will be called when the stopwatch is started.\n * @param onStop - A callback function that will be called when the stopwatch is stopped.\n */\n constructor(onStart, onStop) {\n this._isRunning = false;\n this._startTime = 0;\n this._elapsedTime = 0;\n this._onStart = onStart;\n this._onStop = onStop;\n }\n /**\n * Gets the elapsed time in milliseconds since the stopwatch was started.\n */\n get elapsedMilliseconds() {\n return this._elapsedTime + (this._isRunning ? Date.now() - this._startTime : 0);\n }\n /**\n * Gets a value indicating whether the stopwatch is currently running.\n */\n get isRunning() {\n return this._isRunning;\n }\n /**\n * Starts the stopwatch.\n *\n * @returns `true` if the stopwatch was successfully started; `false` if it was already running.\n */\n start() {\n if (this._isRunning) {\n return false;\n }\n this._startTime = Date.now();\n this._isRunning = true;\n this._onStart?.(new Date(), this);\n return true;\n }\n /**\n * Stops the stopwatch.\n *\n * @returns `true` if the stopwatch was successfully stopped; `false` if it was already stopped.\n */\n stop() {\n if (!this._isRunning) {\n return false;\n }\n this._elapsedTime += Date.now() - this._startTime;\n this._isRunning = false;\n this._onStop?.(this._elapsedTime, new Date(), this);\n return true;\n }\n /**\n * Resets the stopwatch.\n */\n reset() {\n this.stop();\n this._elapsedTime = 0;\n }\n /**\n * Restarts the stopwatch.\n */\n restart() {\n this.reset();\n this.start();\n }\n /**\n * Creates a new instance of {@link Stopwatch} and starts it.\n *\n * @param onStart - A callback function that will be called when the stopwatch is started.\n * @param onStop - A callback function that will be called when the stopwatch is stopped.\n *\n * @returns The newly created and started stopwatch.\n */\n static startNew(onStart, onStop) {\n const stopwatch = new Stopwatch(onStart, onStop);\n stopwatch.start();\n return stopwatch;\n }\n}\n","import { Stopwatch } from \"@/utils/diagnostics\";\n/**\n * Creates a callback that will log a message if one is returned by the provided `message` callback.\n *\n * @param logger - The {@link Logger} instance to use for logging.\n * @param message - A string or a callback that returns a string or `void` indicating whether to log a message.\n *\n * @returns A callback that takes the same amount of arguments as the original `message` one\n * and logs a message if one is returned by the `message` callback.\n */\nfunction createMessageCallback(logger, message) {\n if (typeof message === \"string\") {\n return (() => logger.info(message));\n }\n if (!message) {\n return undefined;\n }\n return ((...args) => {\n const result = message(...args);\n if (typeof result === \"string\") {\n logger.info(result);\n }\n });\n}\n/**\n * An extension of the {@link Stopwatch} class that adds logging functionality.\n*/\n// For God's sake, it's been 8 years!\n// https://github.com/microsoft/TypeScript/issues/4628\n// eslint-disable-next-line\n// @ts-expect-error: ts2417\nexport class LoggingStopwatch extends Stopwatch {\n /**\n * Creates a new {@link LoggingStopwatch} instance.\n *\n * @param logger - The {@link Logger} instance to use for logging.\n * @param onStart - A string or a callback to be called when the stopwatch is started.\n * @param onStop - A string or a callback to be called when the stopwatch is stopped.\n */\n constructor(logger, onStart, onStop) {\n const startCallback = createMessageCallback(logger, onStart);\n const stopCallback = createMessageCallback(logger, onStop);\n super(startCallback, stopCallback);\n }\n /**\n * Creates a new {@link LoggingStopwatch} instance and starts it.\n *\n * @param logger - The {@link Logger} instance to use for logging.\n * @param onStart - A string or a callback to be called when the stopwatch is started.\n * @param onStop - A string or a callback to be called when the stopwatch is stopped.\n *\n * @returns The newly created and started {@link LoggingStopwatch} instance.\n */\n static startNew(logger, onStart, onStop) {\n const stopwatch = new LoggingStopwatch(logger, onStart, onStop);\n stopwatch.start();\n return stopwatch;\n }\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different failure modes for handling errors.\n *\n * @partial\n */\nvar FailModeValues;\n(function (FailModeValues) {\n /**\n * Fail mode, halts the operation on encountering an error.\n */\n FailModeValues[FailModeValues[\"FAIL\"] = 0] = \"FAIL\";\n /**\n * Warn mode, logs a warning and continues operation on encountering an error.\n */\n FailModeValues[FailModeValues[\"WARN\"] = 1] = \"WARN\";\n /**\n * Skip mode, skips the current operation and continues with the next one on encountering an error.\n */\n FailModeValues[FailModeValues[\"SKIP\"] = 2] = \"SKIP\";\n})(FailModeValues || (FailModeValues = {}));\n/**\n * Options for configuring the behavior of the `FailMode` enum.\n *\n * @partial\n */\nconst FailModeOptions = {\n /**\n * The case should be ignored while parsing the fail mode.\n */\n ignoreCase: true,\n};\n/**\n * Represents different failure modes for handling errors.\n */\nexport const FailMode = Enum.create(FailModeValues, FailModeOptions);\n","import { NULL_LOGGER } from \"@/utils/logging\";\nimport { FailMode } from \"./fail-mode\";\n/**\n * A class for building and handling errors based on a given mode.\n */\nexport class ErrorBuilder {\n /**\n * The logger to use for logging errors.\n */\n _logger;\n /**\n * The accumulated errors.\n */\n _errors;\n /**\n * Constructs a new {@link ErrorBuilder} instance.\n *\n * @param logger - The logger to use for logging errors.\n */\n constructor(logger) {\n this._logger = logger || NULL_LOGGER;\n this._errors = [];\n }\n /**\n * Checks if any errors have been appended.\n *\n * @returns `true` if there are errors; otherwise, `false`.\n */\n get hasErrors() {\n return this._errors.length > 0;\n }\n /**\n * Appends an error to the builder, handling it according to the provided mode.\n *\n * @param error - The error to append.\n * @param mode - The mode to use when handling the error. Defaults to `SKIP` if not provided.\n */\n append(error, mode) {\n switch (mode ?? FailMode.SKIP) {\n case FailMode.WARN:\n this._logger.error(error);\n break;\n case FailMode.SKIP:\n this._logger.error(error);\n this._errors.push(error);\n break;\n default:\n throw error;\n }\n }\n /**\n * Builds an `AggregateError` from the errors appended so far.\n *\n * @returns The built error, or `undefined` if no errors have been appended.\n */\n build() {\n return this.hasErrors ? new AggregateError(this._errors) : undefined;\n }\n /**\n * Builds an `AggregateError` from the errors appended so far, and throw it.\n *\n * @throws The built error, if any errors have been appended.\n */\n throwIfHasErrors() {\n const error = this.build();\n if (error) {\n throw error;\n }\n }\n}\n","/**\n * Represents a soft error, indicating whether the error is recoverable or not.\n */\nexport class SoftError extends Error {\n /**\n * Indicates whether the error is recoverable or not.\n */\n _isSoft;\n /**\n * Initializes a new instance of the {@link SoftError} class.\n *\n * @param isSoft - Indicates whether the error is recoverable or not.\n * @param message - An optional error message.\n */\n constructor(isSoft, message) {\n super(message);\n this.name = \"SoftError\";\n this._isSoft = isSoft;\n }\n /**\n * Indicates whether the error is recoverable or not.\n */\n get isSoft() {\n return this._isSoft;\n }\n}\n/**\n * Determines whether the specified error is a soft error.\n *\n * @param error - The error to check.\n *\n * @returns `true` if the error is soft (i.e., recoverable); otherwise, `false`.\n */\nexport function isSoftError(error) {\n return !!error?.isSoft;\n}\n","import { existsSync } from \"node:fs\";\n/**\n * Represents an error that occurs when a specified file cannot be found.\n */\nexport class FileNotFoundError extends Error {\n /**\n * Default error message pattern.\n */\n static DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN = (fileName) => fileName ? `Could not find file '${fileName}'.` : \"Could not find the specified file.\";\n /**\n * The name of the file that could not be found.\n */\n _fileName;\n /**\n * Constructs a new {@link FileNotFoundError} instance.\n *\n * @param fileName - The name of the file that could not be found.\n * @param message - The error message to display.\n * @param options - Optional settings for the error object.\n */\n constructor(fileName, message, options) {\n super(message ?? FileNotFoundError.DEFAULT_FILE_NOT_FOUND_ERROR_MESSAGE_PATTERN(fileName), options);\n this.name = \"FileNotFoundError\";\n this._fileName = fileName;\n }\n /**\n * Gets the name of the file that could not be found.\n */\n get fileName() {\n return this._fileName;\n }\n /**\n * Throws a {@link FileNotFoundError} if the specified file does not exist.\n *\n * @param fileName - The name of the file to check for existence.\n * @param message - The error message to display.\n */\n static throwIfNotFound(fileName, message) {\n if (!existsSync(fileName)) {\n throw new FileNotFoundError(String(fileName), message);\n }\n }\n}\n","import { HttpResponse } from \"@/utils/net\";\nimport { SoftError } from \"./soft-error\";\n/**\n * Represents an HTTP error.\n */\nexport class HttpError extends SoftError {\n /**\n * The HTTP Response object associated with this error.\n */\n _response;\n /**\n * Creates a new {@link HttpError} instance.\n *\n * @param response - The HTTP Response object associated with this error.\n * @param message - The error message.\n * @param isSoft - Indicates whether the error is recoverable or not.\n */\n constructor(response, message, isSoft) {\n super(isSoft ?? isServerError(response), message);\n this.name = \"HttpError\";\n this._response = response;\n }\n /**\n * Gets the HTTP Response object associated with this error.\n */\n get response() {\n return this._response;\n }\n /**\n * Extracts error information from the given HTTP Response object\n * and returns an {@link HttpError} instance.\n *\n * @param response - The HTTP Response object to extract the error information from.\n * @param isSoft - Indicates whether the error is recoverable or not.\n *\n * @returns A `Promise` that resolves to an {@link HttpError} instance.\n */\n static async fromResponse(response, isSoft) {\n const cachedResponse = HttpResponse.cache(response);\n const errorText = `${response.status} (${await cachedResponse.text()\n .then(x => x && !isHtmlDocument(x) ? `${response.statusText}, ${x}` : response.statusText)\n .catch(() => response.statusText)})`;\n return new HttpError(cachedResponse, errorText, isSoft);\n }\n}\n/**\n * Determines if the given error is an {@link HttpError}.\n *\n * @param error - The error to be checked.\n *\n * @returns `true` if the provided error is an instance of HttpError; otherwise, `false`.\n */\nexport function isHttpError(error) {\n return error instanceof HttpError;\n}\n/**\n * Determines whether the given `HttpResponse` represents a server error.\n *\n * @param response - The `HttpResponse` to check.\n *\n * @returns `true` if the response is a server error; otherwise, `false`.\n */\nfunction isServerError(response) {\n return response && (response.status === 429 || response.status >= 500);\n}\n/**\n * Determines if the given text is an HTML document.\n *\n * @param text - The string to check.\n *\n * @returns `true` if the provided string is an HTML document; otherwise, `false`.\n */\nfunction isHtmlDocument(text) {\n return text.startsWith(\" glob(x)));\n return $i(files).flatMap(x => x).distinct().map(x => new FileInfo(x)).toArray();\n}\n/**\n * Synchronously finds files that match the given pattern(s).\n *\n * @param pattern - A glob pattern or an array of glob patterns to match.\n *\n * @returns An array of {@link FileInfo} objects.\n */\nexport function findFilesSync(pattern) {\n const patterns = Array.isArray(pattern) ? pattern : [pattern];\n const files = patterns.map(x => glob.sync(x));\n return $i(files).flatMap(x => x).distinct().map(x => new FileInfo(x)).toArray();\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern asynchronously.\n *\n * @param pattern - The glob pattern to match.\n *\n * @returns A promise that resolves to a Buffer containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport async function readFile(pattern) {\n const file = await getFileName(pattern);\n return await readFileNode(file);\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern asynchronously and returns it as a string.\n *\n * @param pattern - The glob pattern to match.\n * @param encoding - The optional encoding to use for reading the file. Defaults to `utf8`.\n *\n * @returns A promise that resolves to a string containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport async function readAllText(pattern, encoding) {\n return (await readFile(pattern)).toString(encoding);\n}\n/**\n * Reads a zipped file and returns its content as a Buffer.\n *\n * @param pattern - The glob pattern used to locate the zip archive.\n * @param entry - The entry name of the file within the zip archive.\n *\n * @returns A promise that resolves to a Buffer containing the file contents.\n */\nexport async function readZippedFile(pattern, entry) {\n const file = await getFileName(pattern);\n let zip = undefined;\n try {\n // Dude, it's not my constructor, calm down.\n // eslint-disable-next-line new-cap\n zip = new StreamZip.async({ file });\n return await zip.entryData(entry);\n }\n finally {\n await zip?.close().catch(() => undefined);\n }\n}\n/**\n * Reads a zipped file and returns its content as a string.\n *\n * @param pattern - The glob pattern used to locate the zip archive.\n * @param entry - The entry name of the file within the zip archive.\n * @param encoding - The optional encoding to use for reading the file. Defaults to `utf8`.\n *\n * @returns A promise that resolves to a string containing the file contents.\n */\nexport async function readAllZippedText(pattern, entry, encoding) {\n return (await readZippedFile(pattern, entry)).toString(encoding);\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern synchronously.\n *\n * @param pattern - The glob pattern to match.\n *\n * @returns A Buffer containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport function readFileSync(pattern) {\n const file = getFileNameSync(pattern);\n return readFileNodeSync(file);\n}\n/**\n * Reads the contents of the first file matching the specified glob pattern synchronously and returns it as a string.\n *\n * @param pattern - The glob pattern to match.\n * @param encoding - The optional encoding to use for reading the file. Defaults to `utf-8`.\n *\n * @returns A string containing the file contents.\n *\n * @throws {FileNotFoundError} - If no files matching the pattern are found.\n */\nexport function readAllTextSync(pattern, encoding) {\n return readFileSync(pattern).toString(encoding);\n}\n/**\n * Retrieves the name of the first file that matches the specified glob pattern.\n *\n * @param pattern - The file path or glob pattern.\n *\n * @returns The name of the first matching file.\n *\n * @throws {FileNotFoundError} - If no matching file is found.\n */\nasync function getFileName(pattern) {\n if (existsSync(pattern)) {\n return pattern.toString();\n }\n const files = await glob(pattern.toString());\n if (files?.[0]) {\n return files[0];\n }\n throw new FileNotFoundError(pattern.toString());\n}\n/**\n * Synchronously retrieves the name of the first file that matches the specified glob pattern.\n *\n * @param pattern - The file path or glob pattern.\n *\n * @returns The name of the first matching file.\n *\n * @throws {FileNotFoundError} - If no matching file is found.\n */\nfunction getFileNameSync(pattern) {\n if (existsSync(pattern)) {\n return pattern.toString();\n }\n const files = glob.sync(pattern.toString());\n if (files?.[0]) {\n return files[0];\n }\n throw new FileNotFoundError(pattern.toString());\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different platform types for mod distribution.\n *\n * @partial\n */\nvar PlatformTypeValues;\n(function (PlatformTypeValues) {\n /**\n * Represents CurseForge.\n */\n PlatformTypeValues[\"CURSEFORGE\"] = \"curseforge\";\n /**\n * Represents Modrinth.\n */\n PlatformTypeValues[\"MODRINTH\"] = \"modrinth\";\n /**\n * Represents GitHub.\n */\n PlatformTypeValues[\"GITHUB\"] = \"github\";\n})(PlatformTypeValues || (PlatformTypeValues = {}));\n/**\n * Options for configuring the behavior of the `PlatformType` enum.\n *\n * @partial\n */\nconst PlatformTypeOptions = {\n /**\n * The case should be ignored while parsing the platform type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the platform type.\n */\n ignoreNonWordCharacters: true,\n /**\n * Custom friendly names for keys that don't follow the general naming convention.\n */\n names: [\n [\"CURSEFORGE\", \"CurseForge\"],\n [\"GITHUB\", \"GitHub\"],\n ],\n};\n/**\n * Represents different platform types for mod distribution.\n */\nexport const PlatformType = Enum.create(PlatformTypeValues, PlatformTypeOptions);\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different dependency types.\n *\n * @partial\n */\nvar DependencyTypeValues;\n(function (DependencyTypeValues) {\n /**\n * The dependency is required for the project to function.\n */\n DependencyTypeValues[\"REQUIRED\"] = \"required\";\n /**\n * The dependency is recommended for the project but not required.\n */\n DependencyTypeValues[\"RECOMMENDED\"] = \"recommended\";\n /**\n * The dependency is embedded within the project.\n */\n DependencyTypeValues[\"EMBEDDED\"] = \"embedded\";\n /**\n * The dependency is optional and provides additional features.\n */\n DependencyTypeValues[\"OPTIONAL\"] = \"optional\";\n /**\n * The dependency conflicts with the project and both should not be used together.\n */\n DependencyTypeValues[\"CONFLICTING\"] = \"conflicting\";\n /**\n * The dependency is incompatible with the project.\n */\n DependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n})(DependencyTypeValues || (DependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the DependencyType enum.\n *\n * @partial\n */\nconst DependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n};\n/**\n * Represents different dependency types.\n */\nexport const DependencyType = Enum.create(DependencyTypeValues, DependencyTypeOptions);\n","import { Enum } from \"@/utils/enum\";\nimport { DependencyType } from \"@/dependencies\";\n/**\n * Represents different Fabric dependency types.\n *\n * @partial\n */\nvar FabricDependencyTypeValues;\n(function (FabricDependencyTypeValues) {\n /**\n * For dependencies required to run. Without them, a game will crash.\n */\n FabricDependencyTypeValues[\"DEPENDS\"] = \"depends\";\n /**\n * For dependencies not required to run. Without them, a game will log a warning.\n */\n FabricDependencyTypeValues[\"RECOMMENDS\"] = \"recommends\";\n /**\n * For dependencies embedded within the project.\n */\n FabricDependencyTypeValues[\"INCLUDES\"] = \"includes\";\n /**\n * For dependencies not required to run. Use this as a kind of metadata.\n */\n FabricDependencyTypeValues[\"SUGGESTS\"] = \"suggests\";\n /**\n * For mods whose together with yours might cause a game crash. With them, a game will crash.\n */\n FabricDependencyTypeValues[\"BREAKS\"] = \"breaks\";\n /**\n * For mods whose together with yours cause some kind of bugs, etc. With them, a game will log a warning.\n */\n FabricDependencyTypeValues[\"CONFLICTS\"] = \"conflicts\";\n})(FabricDependencyTypeValues || (FabricDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the FabricDependencyType enum.\n *\n * @partial\n */\nconst FabricDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n};\n/**\n * Converts a {@link FabricDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link FabricDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case FabricDependencyType.DEPENDS:\n return DependencyType.REQUIRED;\n case FabricDependencyType.RECOMMENDS:\n return DependencyType.RECOMMENDED;\n case FabricDependencyType.INCLUDES:\n return DependencyType.EMBEDDED;\n case FabricDependencyType.SUGGESTS:\n return DependencyType.OPTIONAL;\n case FabricDependencyType.BREAKS:\n return DependencyType.INCOMPATIBLE;\n case FabricDependencyType.CONFLICTS:\n return DependencyType.CONFLICTING;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link FabricDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link FabricDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return FabricDependencyType.DEPENDS;\n case DependencyType.RECOMMENDED:\n return FabricDependencyType.RECOMMENDS;\n case DependencyType.EMBEDDED:\n return FabricDependencyType.INCLUDES;\n case DependencyType.OPTIONAL:\n return FabricDependencyType.SUGGESTS;\n case DependencyType.CONFLICTING:\n return FabricDependencyType.CONFLICTS;\n case DependencyType.INCOMPATIBLE:\n return FabricDependencyType.BREAKS;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with FabricDependencyType.\n *\n * @partial\n */\nconst FabricDependencyTypeMethods = {\n toDependencyType,\n fromDependencyType,\n};\n/**\n * Represents different Fabric dependency types.\n */\nexport const FabricDependencyType = Enum.create(FabricDependencyTypeValues, FabricDependencyTypeOptions, FabricDependencyTypeMethods);\n","// _ TODO: Drop support for the legacy format completely.\nimport { FabricDependencyType } from \"@/loaders/fabric/fabric-dependency-type\";\nimport { deprecate } from \"node:util\";\n/**\n * Checks if the provided dependency string is in the legacy format.\n *\n * @param dependency - The dependency string to check.\n *\n * @returns A boolean indicating if the string is in the legacy format.\n */\nexport function isLegacyDependencyFormat(dependency) {\n return !!dependency?.includes(\"|\") && !dependency.includes(\"@\");\n}\n/**\n * Parses the legacy dependency format.\n *\n * @param dependencyFormat - The dependency string in the legacy format.\n *\n * @returns An object containing the parsed dependency info.\n *\n * @remarks\n *\n * The legacy format is: `[dependency-id] | [type]? | [version-range]?`\n */\nfunction _parseLegacyDependencyFormat(dependencyFormat) {\n const [id, fabricType, versions] = dependencyFormat.split(\"|\").map(x => x.trim());\n const type = fabricType && FabricDependencyType.toDependencyType(FabricDependencyType.parse(fabricType));\n return { id, type, versions };\n}\n/**\n * Parses the legacy dependency format with a deprecation warning.\n *\n * @param dependencyFormat - The dependency string in the legacy format.\n *\n * @returns An object containing the parsed dependency info.\n *\n * @remarks\n *\n * The legacy format is: `[dependency-id] | [type]? | [version-range]?`\n *\n * @deprecated\n *\n * The old dependency string format is deprecated. Please use the new format.\n *\n * Example: `foo@1.0.0-2.0.0(required){modrinth:foo-fabric}#(ignore:curseforge)`.\n */\nexport const parseLegacyDependencyFormat = deprecate(_parseLegacyDependencyFormat, \"The old dependency string format is deprecated. \" +\n \"Please use the new format. \" +\n \"Example: foo@1.0.0-2.0.0(required){modrinth:foo-fabric}#(ignore:curseforge)\");\n","import { PlatformType } from \"@/platforms/platform-type\";\nimport { $i, isIterable } from \"@/utils/collections\";\nimport { anyVersionRange } from \"@/utils/versioning\";\nimport { DependencyType } from \"./dependency-type\";\nimport { isLegacyDependencyFormat, parseLegacyDependencyFormat } from \"./dependency.legacy\";\n/**\n * Parses a dependency string and returns a Dependency object.\n *\n * @param dependency - The dependency string to parse.\n *\n * @returns A {@link Dependency} object, or `undefined` if the string is invalid.\n */\nexport function parseDependency(dependency) {\n const dependencyInfo = isLegacyDependencyFormat(dependency)\n ? parseLegacyDependencyFormat(dependency)\n : parseDependencyFormat(dependency);\n return dependencyInfo && createDependency(dependencyInfo);\n}\n/**\n * A regex pattern for matching formatted dependency strings.\n */\nconst DEPENDENCY_REGEX = /^\\s*(?[^@{(#]+)(@(?[^@{(#]*))?(?:\\((?[^@{(#]*)\\))?(?(?:\\{[^:=]+(?:=|:)[^}]*\\})+)?(?#\\(ignore(?::(?[^)]*))?\\))?\\s*$/;\n/**\n * A regex pattern for matching dependency aliases in dependency strings.\n */\nconst DEPENDENCY_ALIASES_REGEX = /\\{(?[^:=]+)(?:=|:)(?[^}]*)\\}/g;\n/**\n * Parses a dependency string and returns an intermediate representation of a dependency.\n *\n * @param dependencyFormat - The dependency string to parse.\n *\n * @returns A dependency info, or `undefined` if the string is invalid.\n *\n * @remarks\n *\n * The format is `[dependency-id]@[version-range]?([type])?{[platform]:[dependency-id]}?#(ignore:[platform1,platform2])?`.\n */\nfunction parseDependencyFormat(dependencyFormat) {\n const match = dependencyFormat?.match(DEPENDENCY_REGEX);\n if (!match) {\n return undefined;\n }\n const id = match.groups.id.trim();\n const versions = match.groups.versionRange?.trim();\n const type = match.groups.type?.trim();\n const aliases = $i(match.groups.aliases?.matchAll(DEPENDENCY_ALIASES_REGEX) || []).map(x => [x.groups.platform.trim(), x.groups.id.trim()]);\n const ignoredPlatforms = match.groups.ignoredPlatforms?.split(\",\").map(x => x.trim());\n const ignore = ignoredPlatforms?.length ? undefined : !!match.groups.ignore;\n return { id, versions, type, aliases, ignore, ignoredPlatforms };\n}\n/**\n * Creates a dependency from the given dependency-like value.\n *\n * @param dependency - A dependency-like value to create a dependency from.\n *\n * @returns A {@link Dependency}, or `undefined` if the input is invalid.\n */\nexport function createDependency(dependency) {\n if (typeof dependency === \"string\") {\n return parseDependency(dependency);\n }\n if (isDependency(dependency)) {\n return dependency;\n }\n if (!dependency?.id) {\n return undefined;\n }\n const id = dependency.id || \"\";\n const type = dependency.type && DependencyType.parse(dependency.type) || DependencyType.REQUIRED;\n const versionRanges = typeof dependency.versions === \"string\"\n ? [dependency.versions]\n : isIterable(dependency.versions)\n ? [...dependency.versions]\n : [(dependency.versions || anyVersionRange()).toString()];\n const versions = versionRanges.filter(x => x && x !== anyVersionRange().toString());\n if (!versions.length) {\n versions.push(anyVersionRange().toString());\n }\n const ignoredPlatforms = $i(dependency.ignoredPlatforms || []).map(x => PlatformType.parse(x)).filter(x => x).toSet();\n const isIgnored = dependency.ignore\n ? () => true\n : (p) => p ? ignoredPlatforms.has(p) : ignoredPlatforms.size === PlatformType.size;\n const aliases = $i(dependency.aliases || []).map(([key, value]) => [PlatformType.parse(key), value]).filter(([key]) => key).toMap();\n const getProjectId = (p) => aliases.get(p) ?? id;\n return { id, versions, type, isIgnored, getProjectId };\n}\n/**\n * Formats a dependency as a string.\n *\n * @param dependency - The dependency to format.\n *\n * @returns A string representation of the dependency.\n */\nexport function formatDependency(dependency) {\n if (!dependency) {\n return \"\";\n }\n const versionRange = dependency.versions.join(\" || \");\n const version = versionRange && versionRange !== anyVersionRange().toString() ? `@${versionRange}` : \"\";\n const ignoredBy = $i(PlatformType.values()).filter(x => dependency.isIgnored(x)).join(\",\");\n const ignore = ignoredBy && `#(ignore:${ignoredBy})`;\n const aliases = $i(PlatformType.values()).filter(x => dependency.getProjectId(x) !== dependency.id).map(x => `{${x}:${dependency.getProjectId(x)}}`).join(\"\");\n return `${dependency.id}${version}(${dependency.type})${aliases}${ignore}`;\n}\n/**\n * Determines if the given value is a {@link Dependency}.\n *\n * @param dependency - The value to check.\n *\n * @returns A boolean indicating if the value is a {@link Dependency}.\n */\nexport function isDependency(dependency) {\n const d = dependency;\n return (typeof d?.id === \"string\" &&\n typeof d.type === DependencyType.underlyingType &&\n Array.isArray(d.versions) &&\n typeof d.getProjectId === \"function\" &&\n typeof d.isIgnored === \"function\");\n}\n","/**\n * Represents a Java version.\n */\nexport class JavaVersion {\n /**\n * The name of the Java version.\n */\n _name;\n /**\n * The version number of the Java version.\n */\n _versionNumber;\n /**\n * Creates a new {@link JavaVersion} instance.\n *\n * @param versionNumber - The version number of the Java version.\n */\n constructor(versionNumber) {\n this._name = `Java ${versionNumber}`;\n this._versionNumber = versionNumber;\n }\n /**\n * Parses a Java version from a string.\n *\n * @param java - The string representation of the Java version.\n *\n * @returns A {@link JavaVersion} instance, or `undefined` if the string cannot be parsed.\n */\n static parse(java) {\n if (!java) {\n return undefined;\n }\n const match = java.match(/(\\d+)\\s*$/);\n if (!match) {\n return undefined;\n }\n return new JavaVersion(+match[1]);\n }\n /**\n * Casts the given value to a {@link JavaVersion} instance.\n *\n * @param java - The string representation of the Java version, its version number, or a {@link JavaVersion} instance.\n *\n * @returns A {@link JavaVersion} instance, or `undefined` if the input could not be casted to such.\n */\n static of(java) {\n if (java instanceof JavaVersion) {\n return java;\n }\n if (typeof java === \"number\") {\n return new JavaVersion(java);\n }\n return JavaVersion.parse(String(java));\n }\n /**\n * Gets the name of the Java version, e.g., \"Java 8\".\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the version number of the Java version, e.g., 8 for Java 8.\n */\n get versionNumber() {\n return this._versionNumber;\n }\n /**\n * Returns the string representation of the Java version.\n */\n toString() {\n return this._name;\n }\n /**\n * Returns the string representation of the Java version.\n */\n toJSON() {\n return this._name;\n }\n}\n","/* ************************************************************************ */\n/* WARNING: AUTO-GENERATED FILE - DO NOT EDIT! */\n/* */\n/* Please be advised that this is an auto-generated file and should NOT be */\n/* modified. Any changes made to this file WILL BE OVERWRITTEN. */\n/* */\n/* To make changes to the contents of this file, please modify the */\n/* action.template.yml file instead. This will ensure that your changes are */\n/* properly reflected in the auto-generated file. */\n/* ************************************************************************ */\n/* eslint-disable */\nimport * as _08266313cf301b8949a6cedcaa47a6c3e43934d9 from \"@/platforms/modrinth/modrinth-unfeature-mode\";\nimport * as _d55dccbfda6518ce241204ddb1a0e427ce862b40 from \"@/utils/security/secure-string\";\nimport * as _52f2d2846827ca15dbb2bc99e7396358640a305c from \"@/utils/io/file-info\";\nimport * as _cece1ed3512bc9bb742f3472360aea9d482df4ac from \"@/utils/versioning/version-type\";\nimport * as _61ccbb54c5e0251e3bf7013ca2e222f64c571674 from \"@/dependencies/dependency\";\nimport * as _12c3001b56ab71951504c91b71926343a997a6c2 from \"@/games/game-version-filter\";\nimport * as _9f1d8775cb694c12b0f9f4e026b96daf7eca20c3 from \"@/utils/java/java-version\";\nimport * as _78525bc7f22a643e04dd785d89dd01e5c9c2f812 from \"@/utils/errors/fail-mode\";\nimport * as _6f74c0ca5e9e22747c834103f851654db4509ca8 from \"@/platforms/uploaded-file\";\nexport const ACTION_MODULE_LOADER = (path) => {\n if (path === \"platforms/modrinth/modrinth-unfeature-mode\")\n return Promise.resolve(_08266313cf301b8949a6cedcaa47a6c3e43934d9);\n if (path === \"utils/security/secure-string\")\n return Promise.resolve(_d55dccbfda6518ce241204ddb1a0e427ce862b40);\n if (path === \"utils/io/file-info\")\n return Promise.resolve(_52f2d2846827ca15dbb2bc99e7396358640a305c);\n if (path === \"utils/versioning/version-type\")\n return Promise.resolve(_cece1ed3512bc9bb742f3472360aea9d482df4ac);\n if (path === \"dependencies/dependency\")\n return Promise.resolve(_61ccbb54c5e0251e3bf7013ca2e222f64c571674);\n if (path === \"games/game-version-filter\")\n return Promise.resolve(_12c3001b56ab71951504c91b71926343a997a6c2);\n if (path === \"utils/java/java-version\")\n return Promise.resolve(_9f1d8775cb694c12b0f9f4e026b96daf7eca20c3);\n if (path === \"utils/errors/fail-mode\")\n return Promise.resolve(_78525bc7f22a643e04dd785d89dd01e5c9c2f812);\n if (path === \"platforms/uploaded-file\")\n return Promise.resolve(_6f74c0ca5e9e22747c834103f851654db4509ca8);\n return Promise.resolve(undefined);\n};\n","import { ACTION_MODULE_LOADER } from \"./module-loader.g\";\n/**\n * A module loader implementation that loads modules using Node.js dynamic `import` syntax.\n */\n/* eslint-disable-next-line no-new-func */\nexport const NODE_MODULE_LOADER = new Function(\"x\", \"return import(x).catch(() => undefined)\");\n/**\n * Represents a dynamic module loader that is capable of loading modules by their source path (e.g., `\"utils/string-utils\"`).\n */\nexport const DYNAMIC_MODULE_LOADER = ACTION_MODULE_LOADER;\n","import { NODE_MODULE_LOADER } from \"./module-loader\";\n/**\n * A default module provider.\n *\n * @returns The `globalThis` object.\n */\nconst DEFAULT_MODULE_PROVIDER = () => Promise.resolve(globalThis);\n/**\n * The name of the default export.\n */\nconst DEFAULT_EXPORT_NAME = \"default\";\n/**\n * Returns a string representation of an import directive.\n *\n * @param directive - The import directive to stringify.\n *\n * @returns A string representation of the import directive, or `undefined` if the input is invalid.\n *\n * @example\n *\n * ```\n * // \"myModule->{myFunction}\"\n * formatImportDirective({ name: \"myFunction\", module: \"myModule\", isDefault: false });\n *\n * // \"@my-org/my-package->myClass\"\n * formatImportDirective({ name: \"myClass\", module: \"@my-org/my-package\", isDefault: true });\n * ```\n */\nexport function formatImportDirective(directive) {\n if (!directive) {\n return undefined;\n }\n const path = directive.module ? `${directive.module}->` : \"\";\n const wrappedName = directive.isDefault ? directive.name : `{${directive.name}}`;\n return `${path}${wrappedName}`;\n}\n/**\n * Parses a stringified import directive into its constituent parts.\n *\n * @param stringifiedDirective - The stringified import directive to parse.\n *\n * @returns The parsed import directive, or `undefined` if the input is invalid.\n *\n * @example\n *\n * ```\n * // { name: \"MyClass\", module: \"@my-org/my-package\", isDefault: false }\n * parseImportDirective(\"@my-org/my-package->{MyClass}\");\n *\n * // { name: \"myFunction\", module: undefined, isDefault: true }\n * parseImportDirective(\"myFunction\");\n * ```\n */\nexport function parseImportDirective(stringifiedDirective) {\n if (!stringifiedDirective) {\n return undefined;\n }\n const parts = stringifiedDirective.split(\"->\");\n const module = parts.length > 1 ? parts[0] : undefined;\n const wrappedName = parts[parts.length - 1];\n const isDefault = !wrappedName.startsWith(\"{\") && !wrappedName.endsWith(\"}\");\n const name = wrappedName.replaceAll(/^{|}$/g, \"\").trim();\n return { name, module, isDefault };\n}\n/**\n * Executes the given import directive and returns an object containing the imported value and the module it was imported from.\n *\n * @template T - The type of value being imported.\n *\n * @param directive - The import directive to execute.\n * @param options - Options for executing the import directive.\n *\n * @returns A Promise resolving to an object containing the imported value and the module it was imported from, if any; otherwise, `undefined`.\n */\nexport async function executeImportDirective(directive, options) {\n directive = typeof directive === \"string\" ? parseImportDirective(directive) : directive;\n const moduleLoader = options?.moduleLoader || NODE_MODULE_LOADER;\n const defaultModuleProvider = options?.defaultModuleProvider || DEFAULT_MODULE_PROVIDER;\n const targetModule = await (directive.module ? moduleLoader(directive.module) : defaultModuleProvider(directive));\n if (options?.required && !targetModule) {\n throw new Error(`Cannot find module \"${directive.module}\".`);\n }\n if (!targetModule) {\n return undefined;\n }\n const importName = normalizeImportName(directive.name);\n const value = targetModule[directive.isDefault ? DEFAULT_EXPORT_NAME : importName] ?? targetModule[importName] ?? targetModule[directive.name];\n if (options?.required && value === undefined) {\n throw new Error(`Cannot find value \"${directive.name}\" in the imported module${directive.module ? ` \"${directive.module}\"` : \"\"}.`);\n }\n return { value, module: targetModule };\n}\n/**\n * Normalizes an import name.\n *\n * @param name - The import name to normalize.\n *\n * @returns A normalized import name.\n */\nfunction normalizeImportName(name) {\n /**\n * Trims whitespace from the name, if present.\n */\n name = name?.trim();\n /**\n * If the name is empty, return the default export name.\n */\n if (!name) {\n return DEFAULT_EXPORT_NAME;\n }\n /**\n * If the name starts with \"[\" or ends with \"]\" (i.e., points to the Array type),\n * return \"Array\".\n */\n if (name.startsWith(\"[\") || name.endsWith(\"]\")) {\n return Array.name;\n }\n /**\n * If the name contains generics, strip them and recursively call this function on the result.\n */\n if (name.includes(\"<\") && name.includes(\">\")) {\n const nameWithoutGenerics = name.replaceAll(/<.*>/g, \"\");\n return normalizeImportName(nameWithoutGenerics);\n }\n /**\n * Otherwise, return the name as-is.\n */\n return name;\n}\n","import { $i } from \"@/utils/collections\";\nimport { getOwnEntries } from \"@/utils/reflection\";\nimport { basename } from \"node:path\";\nimport { readBlobSync } from \"./blob\";\n/* eslint-disable-next-line no-restricted-imports */\nimport { FormData as FormDataPolyfill } from \"node-fetch\";\n/**\n * The `FormData` interface provides a way to easily construct a set of key/value pairs representing form fields and\n * their values, which can then be easily sent using methods like `fetch()` or `XMLHttpRequest.send()`.\n * It uses the same format a form would use if the encoding type were set to \"multipart/form-data\".\n */\nexport const FormData = FormDataPolyfill;\n/**\n * Symbol to represent the file path property. This is used to associate a\n * file path with an object when converting it to a FormData entry, allowing\n * the inclusion of file-related data in the FormData.\n */\nexport const FILE_PATH = Symbol.for(\"path\");\n/**\n * Checks if the given data is an instance of `FormData`.\n *\n * @param data - The data to check.\n *\n * @returns `true` if the data is an instance of `FormData`; otherwise, `false`.\n */\nexport function isFormData(data) {\n return data?.[Symbol.toStringTag] === \"FormData\";\n}\n/**\n * Converts the given object to a `FormData` instance.\n *\n * This function iterates through the object's properties and appends them as key-value pairs\n * to the `FormData` instance. If a property has a {@link FILE_PATH} associated with it, the\n * file is converted to a `Blob` and included in the `FormData`.\n *\n * @param obj - The object to convert.\n *\n * @returns A `FormData` instance containing the key-value pairs from the object.\n */\nexport function toFormData(obj) {\n if (typeof obj !== \"object\" && typeof obj !== \"function\") {\n return undefined;\n }\n if (isFormData(obj)) {\n return obj;\n }\n return $i(getOwnEntries(obj))\n .flatMap(([key, value]) => Array.isArray(value)\n ? $i(value).map(v => [key, v])\n : [[key, value]])\n .filter(([, value]) => value !== undefined && value !== null)\n .map(([key, value]) => [key, ...toFormDataEntry(value)])\n .reduce((formData, [key, value, name]) => {\n formData.append(String(key), value, name);\n return formData;\n }, new FormData());\n}\n/**\n * Converts a value to a `FormData` entry.\n *\n * - If the value is a primitive, it will be converted to a string.\n * - If the value is an object, it will be stringified using `JSON.stringify()`.\n * - If the value has a {@link FILE_PATH} associated with it, the file will be\n * converted to a `Blob` and its name will be included in the resulting array.\n *\n * @param value - The value to convert.\n *\n * @returns An array containing the converted value and its name, if applicable.\n */\nfunction toFormDataEntry(value) {\n if (!value || typeof value !== \"object\" && typeof value !== \"function\") {\n return [value === undefined ? \"\" : String(value)];\n }\n const path = value[FILE_PATH];\n if (typeof path === \"string\") {\n const blob = readBlobSync(path);\n return [blob, basename(path)];\n }\n return [JSON.stringify(value)];\n}\n// Force this to be included into the final build.\nimport { MultipartParser } from \"node-fetch/src/utils/multipart-parser\";\nif (!MultipartParser) {\n isFormData(MultipartParser);\n}\n","import { toBoolean, toFloat, toDate, toRegExp } from \"@/utils/convert\";\nimport { $i } from \"@/utils/collections\";\nimport { getOwnEntries } from \"@/utils/reflection\";\n/**\n * Represents a query string.\n */\nexport class QueryString extends URLSearchParams {\n /**\n * Constructs a new {@link QueryString} instance.\n *\n * @param params - Url parameters.\n */\n constructor(params) {\n super(normalizeUrlParams(params));\n }\n /**\n * Parses a query string into a {@link QueryString} object.\n *\n * @param queryString - The input string to parse as a query string.\n *\n * @returns A new {@link QueryString} instance.\n */\n static parse(queryString) {\n return new QueryString(queryString);\n }\n /**\n * Returns the number of key-value pairs in the query string.\n */\n get size() {\n return $i(this.entries()).count();\n }\n /**\n * Returns the value of the first name-value pair whose name is name.\n *\n * @param key - The key to look up in the query string.\n *\n * @returns The value of the first name-value pair whose name is name, or `undefined` if there is none.\n */\n get(key) {\n return super.get(key) ?? undefined;\n }\n /**\n * Appends a single value to the values associated with the specified key.\n *\n * @param key - The key of the value to append.\n * @param value - The value to append.\n *\n * @returns This {@link QueryString} instance for chaining purposes.\n */\n append(name, value) {\n super.append(name, value);\n return this;\n }\n /**\n * Sets a single value associated with the specified key, replacing any existing values.\n *\n * @param key - The key of the value to set.\n * @param value - The value to set.\n *\n * @returns This {@link QueryString} instance for chaining purposes.\n */\n set(name, value) {\n super.set(name, value);\n return this;\n }\n /**\n * Removes the entry with the specified key from the query string.\n *\n * @param key - The key of the entry to remove.\n *\n * @returns `true` if an entry with the specified key was found and removed; otherwise, `false`.\n */\n delete(name) {\n const existed = this.has(name);\n if (existed) {\n super.delete(name);\n }\n return existed;\n }\n /**\n * Deletes all key-value pairs.\n */\n clear() {\n for (const key of [...super.keys()]) {\n this.delete(key);\n }\n }\n /**\n * Gets the value of the parameter with the specified name as a string.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a string, or `undefined` if the parameter is not found.\n */\n getString(paramName) {\n return this.get(paramName);\n }\n /**\n * Gets the value of the parameter with the specified name as a boolean.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a boolean, or `undefined` if the parameter is not found or cannot be converted to a boolean.\n */\n getBoolean(paramName) {\n const rawValue = this.get(paramName);\n return rawValue === \"\" || toBoolean(rawValue);\n }\n /**\n * Gets the value of the parameter with the specified name as a number.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a number, or `undefined` if the parameter is not found or cannot be converted to a number.\n */\n getNumber(paramName) {\n const rawValue = this.get(paramName);\n return toFloat(rawValue);\n }\n /**\n * Gets the value of the parameter with the specified name as a date.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a date, or `undefined` if the parameter is not found or cannot be converted to a date.\n */\n getDate(paramName) {\n const rawValue = this.get(paramName);\n return toDate(rawValue);\n }\n /**\n * Gets the value of the parameter with the specified name as a regular expression.\n *\n * @param paramName - The name of the parameter to get.\n *\n * @returns The value of the parameter as a regular expression, or `undefined` if the parameter is not found or cannot be converted to a regular expression.\n */\n getRegExp(paramName) {\n const rawValue = this.get(paramName);\n return toRegExp(rawValue);\n }\n /**\n * Calls the specified callback function for each element in the query string.\n *\n * @param callbackFn - Function to execute for each element.\n * @param thisArg - Object to use as `this` when executing the callback function.\n */\n forEach(callbackFn, thisArg) {\n super.forEach(callbackFn, thisArg);\n }\n /**\n * Returns a string representing the object.\n *\n * @returns A string representing the object.\n */\n get [Symbol.toStringTag]() {\n return super[Symbol.toStringTag];\n }\n}\n/**\n * Checks if the provided object is an instance of {@link URLSearchParams}.\n *\n * @param urlParams - The object to be checked.\n *\n * @returns `true` if the provided object is an instance of {@link URLSearchParams}; otherwise, `false`.\n */\nexport function isURLSearchParams(urlParams) {\n return urlParams?.[Symbol.toStringTag] === \"URLSearchParams\";\n}\n/**\n * Checks if the provided object is an instance of {@link QueryString}.\n *\n * @param queryString - The object to be checked.\n *\n * @returns `true` if the provided object is an instance of {@link QueryString}; otherwise, `false`.\n */\nexport function isQueryString(queryString) {\n return queryString instanceof QueryString;\n}\n/**\n * Normalizes url parameters.\n *\n * - If the input is a string, the function removes the leading \"?\" character if present.\n * - If the input is an `Iterable` or a `Record`, the function transforms it into an iterable of key-value pairs,\n * filtering out pairs with `undefined` or `null` values.\n *\n * @param params - The url parameters to normalize.\n *\n * @returns The normalized URL parameters as a string, or an iterable of key-value pairs.\n */\nfunction normalizeUrlParams(params) {\n if (params === undefined || params === null) {\n return undefined;\n }\n if (typeof params === \"string\") {\n const start = params.indexOf(\"?\");\n return start >= 0 ? params.substring(start + 1) : params;\n }\n return $i(Array.isArray(params) ? params : getOwnEntries(params))\n .flatMap(([key, value]) => Array.isArray(value)\n ? $i(value).map(v => [key, v])\n : [[key, value]])\n .filter(([, value]) => value !== undefined && value !== null);\n}\n","import { isBlob } from \"./blob\";\nimport { isFormData } from \"./form-data\";\nimport { isURLSearchParams } from \"./query-string\";\n/**\n * Checks if the given value is one of the supported HTTP request body types.\n *\n * @param body - The value to check.\n *\n * @returns `true` if the value is a valid HTTP request body type; otherwise, `false`.\n */\nexport function isHttpRequestBody(body) {\n return (typeof body === \"string\" ||\n isBlob(body) ||\n Buffer.isBuffer(body) ||\n isURLSearchParams(body) ||\n isFormData(body) ||\n isReadableStream(body));\n}\n/**\n * Checks if the given value can be used as a streamable HTTP request body.\n *\n * @param body - The value to check.\n *\n * @returns `true` if the value can be used as a streamable HTTP request body; otherwise, `false`.\n */\nexport function isStreamableHttpRequestBody(body) {\n return (isBlob(body) ||\n Buffer.isBuffer(body) ||\n isReadableStream(body));\n}\n/**\n * Checks if the given value is a readable stream.\n *\n * @param stream - The value to check.\n *\n * @returns `true` if the value is a readable stream; otherwise, `false`.\n */\nfunction isReadableStream(stream) {\n const s = stream;\n return (!!s &&\n typeof s.read === \"function\" &&\n typeof s.pause === \"function\" &&\n typeof s.resume === \"function\" &&\n typeof s.setEncoding === \"function\");\n}\n","import { asArray, asArrayLike, isIterable, isMap, isMultiMap } from \"@/utils/collections\";\nimport { statSync } from \"node:fs\";\nimport { isStreamableHttpRequestBody } from \"./http-request-body\";\n/**\n * A separator used to concatenate multiple header values.\n */\nconst HEADER_SEPARATOR = \", \";\n/**\n * Checks if a header exists in the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to look for.\n *\n * @returns `true` if the header exists; otherwise, `false`.\n */\nexport function hasHeader(headers, header) {\n return getHeader(headers, header) !== undefined;\n}\n/**\n * Retrieves the value of a header from the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to look for.\n *\n * @returns The value of the header, or `undefined` if the header does not exist.\n */\nexport function getHeader(headers, header) {\n if (!headers) {\n return undefined;\n }\n if (isMultiMap(headers)) {\n const entries = headers.get(header);\n return typeof entries === \"string\" ? entries : entries ? asArrayLike(entries).join(HEADER_SEPARATOR) : undefined;\n }\n if (isMap(headers)) {\n return headers.get(header);\n }\n if (isIterable(headers)) {\n const arrayLikeHeaders = asArrayLike(headers);\n return arrayLikeHeaders.find(x => asArrayLike(x).at(0) === header)?.[1];\n }\n return headers[header];\n}\n/**\n * Appends a header value to the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to append.\n * @param value - The value of the header to append.\n *\n * @returns The updated headers collection.\n */\nexport function appendHeader(headers, header, value) {\n if (isMultiMap(headers)) {\n headers.append(header, value);\n return headers;\n }\n const currentValue = getHeader(headers, header);\n const concatenatedValue = currentValue ? `${currentValue}${HEADER_SEPARATOR}${value}` : value;\n return setHeader(headers, header, concatenatedValue);\n}\n/**\n * Appends multiple headers to the given headers collection.\n *\n * @param headers - The headers collection.\n * @param newHeaders - The headers to append.\n *\n * @returns The updated headers collection.\n */\nexport function appendHeaders(headers, newHeaders) {\n return mergeHeaders(headers, newHeaders, appendHeader);\n}\n/**\n * Sets a header value in the given headers collection, overwriting any existing value.\n *\n * @param headers - The headers collection.\n * @param header - The header to set.\n * @param value - The value of the header to set.\n *\n * @returns The updated headers collection.\n */\nexport function setHeader(headers, header, value) {\n if (value === undefined || value === null) {\n return deleteHeader(headers, header);\n }\n if (isMap(headers)) {\n headers.set(header, value);\n return headers;\n }\n if (isIterable(headers)) {\n const arrayLikeHeaders = asArray(headers);\n const headerIndex = arrayLikeHeaders.findIndex(x => asArrayLike(x).at(0) === header);\n if (headerIndex >= 0) {\n arrayLikeHeaders[headerIndex][1] = value;\n }\n else {\n arrayLikeHeaders.push([header, value]);\n }\n return arrayLikeHeaders;\n }\n headers ||= {};\n headers[header] = value;\n return headers;\n}\n/**\n * Sets multiple headers in the given headers collection, overwriting any existing values.\n *\n * @param headers - The headers collection.\n * @param newHeaders - The headers to set.\n *\n * @returns The updated headers collection.\n */\nexport function setHeaders(headers, newHeaders) {\n return mergeHeaders(headers, newHeaders, setHeader);\n}\n/**\n * Sets a header value in the given headers collection only if the header does not already exist.\n *\n * @param headers - The headers collection.\n * @param header - The header to set.\n * @param defaultValue - The default value of the header to set.\n *\n * @returns The updated headers collection.\n */\nexport function setDefaultHeader(headers, header, defaultValue) {\n return hasHeader(headers, header) ? headers : setHeader(headers, header, defaultValue);\n}\n/**\n * Sets multiple default headers in the given headers collection, only if the headers do not already exist.\n *\n * @param headers - The headers collection.\n * @param defaultHeaders - The default headers to set.\n *\n * @returns The updated headers collection.\n */\nexport function setDefaultHeaders(headers, defaultHeaders) {\n return mergeHeaders(headers, defaultHeaders, setDefaultHeader);\n}\n/**\n * Deletes a header value from the given headers collection.\n *\n * @param headers - The headers collection.\n * @param header - The header to delete.\n *\n * @returns The updated headers collection.\n */\nexport function deleteHeader(headers, header) {\n if (isMap(headers)) {\n headers.delete(header);\n return headers;\n }\n if (isIterable(headers)) {\n return asArrayLike(headers).filter(x => asArrayLike(x).at(0) !== header);\n }\n delete headers?.[header];\n return headers;\n}\n/**\n * Deletes multiple header values from the given headers collection.\n *\n * @param headers - The headers collection.\n * @param headersToDelete - The headers to delete.\n *\n * @returns The updated headers collection.\n */\nexport function deleteHeaders(headers, headersToDelete) {\n for (const header of headersToDelete) {\n headers = deleteHeader(headers, header);\n }\n return headers;\n}\n/**\n * Clones the provided headers collection, preserving the key-value pairs of the original.\n *\n * If the headers object is an instance of a `Map`, a new instance of\n * the same type is created and the key-value pairs are copied over.\n *\n * If the headers collection is iterable, the key-value pairs are returned as an array.\n *\n * @param headers - The headers collection to be cloned.\n *\n * @returns A new headers collection containing the key-value pairs of the original headers collection,\n * or `undefined` if the provided headers collection is `undefined` or `null`.\n */\nexport function cloneHeaders(headers) {\n if (headers?.constructor && (isMap(headers) || !isIterable(headers))) {\n return setHeaders(new headers.constructor(), headers);\n }\n if (isIterable(headers)) {\n return [...headers];\n }\n return undefined;\n}\n/**\n * Merges two headers collections using the specified merger function.\n *\n * @param left - The left headers collection.\n * @param right - The right headers collection.\n * @param merger - The function that merges headers.\n *\n * @returns The merged headers collection.\n */\nfunction mergeHeaders(left, right, merger) {\n const defaultHeadersIterable = isIterable(right) ? right : Object.entries(right || {});\n for (const headerEntry of defaultHeadersIterable) {\n const [header, value] = asArray(headerEntry);\n left = merger(left, header, value);\n }\n return left;\n}\n/**\n * Infers the appropriate headers for a given HTTP request body.\n *\n * @param body - The HTTP request body to infer headers from.\n *\n * @returns A collection of the inferred headers.\n */\nexport function inferHttpRequestBodyHeaders(body) {\n const headers = {};\n if (!isStreamableHttpRequestBody(body)) {\n return headers;\n }\n const type = \"application/octet-stream\";\n const length = \n // `body` is a `Blob`\n typeof body.size === \"number\" ? body.size :\n // `body` is a `Buffer`\n typeof body.byteLength === \"number\" ? body.byteLength :\n // `body` is a `ReadableStream`, which was created from a `Buffer`\n Buffer.isBuffer(body[\"path\"]) ? body[\"path\"].byteLength :\n // `body` is a `ReadableStream`, which was created from a file path\n typeof body[\"path\"] === \"string\" || body[\"path\"]?.[Symbol.toStringTag] === \"URL\" ? statSync(body[\"path\"]).size :\n // `length` is unknown\n undefined;\n headers[\"Content-Type\"] = type;\n headers[\"Content-Length\"] = String(length);\n return headers;\n}\n","/**\n * Checks if two HTTP methods are the same.\n *\n * @param left - The first HTTP method to compare.\n * @param right - The second HTTP method to compare.\n *\n * @returns `true` if the methods are the same; otherwise, `false`.\n */\nexport function httpMethodEquals(left, right) {\n return left === right || isGetHttpMethod(left) && isGetHttpMethod(right);\n}\n/**\n * Determines whether an HTTP method can accept a request body.\n *\n * @param method - The HTTP method to check.\n *\n * @returns `true` if the HTTP method can accept a request body; otherwise, `false`.\n */\nexport function canHttpMethodAcceptBody(method) {\n return (!isGetHttpMethod(method) &&\n !isHeadHttpMethod(method) &&\n !isConnectHttpMethod(method) &&\n !isTraceHttpMethod(method));\n}\n/**\n * Checks if the value is a valid GET HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid GET method; otherwise, `false`.\n */\nexport function isGetHttpMethod(value) {\n return !value || value === \"GET\";\n}\n/**\n * Checks if the value is a valid POST HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid POST method; otherwise, `false`.\n */\nexport function isPostHttpMethod(value) {\n return value === \"POST\";\n}\n/**\n * Checks if the value is a valid PUT HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid PUT method; otherwise, `false`.\n */\nexport function isPutHttpMethod(value) {\n return value === \"PUT\";\n}\n/**\n * Checks if the value is a valid PATCH HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid PATCH method; otherwise, `false`.\n */\nexport function isPatchHttpMethod(value) {\n return value === \"PATCH\";\n}\n/**\n * Checks if the value is a valid DELETE HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid DELETE method; otherwise, `false`.\n */\nexport function isDeleteHttpMethod(value) {\n return value === \"DELETE\";\n}\n/**\n * Checks if the value is a valid OPTIONS HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid OPTIONS method; otherwise, `false`.\n */\nexport function isOptionsHttpMethod(value) {\n return value === \"OPTIONS\";\n}\n/**\n * Checks if the value is a valid HEAD HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid HEAD method; otherwise, `false`.\n */\nexport function isHeadHttpMethod(value) {\n return value === \"HEAD\";\n}\n/**\n * Checks if the value is a valid CONNECT HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid CONNECT method; otherwise, `false`.\n */\nexport function isConnectHttpMethod(value) {\n return value === \"CONNECT\";\n}\n/**\n * Checks if the value is a valid TRACE HTTP method.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a valid TRACE method; otherwise, `false`.\n */\nexport function isTraceHttpMethod(value) {\n return value === \"TRACE\";\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:http\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:https\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:zlib\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:stream\");","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:buffer\");","/**\n * Returns a `Buffer` instance from the given data URI `uri`.\n *\n * @param {String} uri Data URI to turn into a Buffer instance\n * @returns {Buffer} Buffer instance from Data URI\n * @api public\n */\nexport function dataUriToBuffer(uri) {\n if (!/^data:/i.test(uri)) {\n throw new TypeError('`uri` does not appear to be a Data URI (must begin with \"data:\")');\n }\n // strip newlines\n uri = uri.replace(/\\r?\\n/g, '');\n // split the URI up into the \"metadata\" and the \"data\" portions\n const firstComma = uri.indexOf(',');\n if (firstComma === -1 || firstComma <= 4) {\n throw new TypeError('malformed data: URI');\n }\n // remove the \"data:\" scheme and parse the metadata\n const meta = uri.substring(5, firstComma).split(';');\n let charset = '';\n let base64 = false;\n const type = meta[0] || 'text/plain';\n let typeFull = type;\n for (let i = 1; i < meta.length; i++) {\n if (meta[i] === 'base64') {\n base64 = true;\n }\n else if (meta[i]) {\n typeFull += `;${meta[i]}`;\n if (meta[i].indexOf('charset=') === 0) {\n charset = meta[i].substring(8);\n }\n }\n }\n // defaults to US-ASCII only if type is not provided\n if (!meta[0] && !charset.length) {\n typeFull += ';charset=US-ASCII';\n charset = 'US-ASCII';\n }\n // get the encoded data portion and decode URI-encoded chars\n const encoding = base64 ? 'base64' : 'ascii';\n const data = unescape(uri.substring(firstComma + 1));\n const buffer = Buffer.from(data, encoding);\n // set `.type` and `.typeFull` properties to MIME type\n buffer.type = type;\n buffer.typeFull = typeFull;\n // set the `.charset` property\n buffer.charset = charset;\n return buffer;\n}\nexport default dataUriToBuffer;\n//# sourceMappingURL=index.js.map","export class FetchBaseError extends Error {\n\tconstructor(message, type) {\n\t\tsuper(message);\n\t\t// Hide custom error implementation details from end-users\n\t\tError.captureStackTrace(this, this.constructor);\n\n\t\tthis.type = type;\n\t}\n\n\tget name() {\n\t\treturn this.constructor.name;\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn this.constructor.name;\n\t}\n}\n","\nimport {FetchBaseError} from './base.js';\n\n/**\n * @typedef {{ address?: string, code: string, dest?: string, errno: number, info?: object, message: string, path?: string, port?: number, syscall: string}} SystemError\n*/\n\n/**\n * FetchError interface for operational errors\n */\nexport class FetchError extends FetchBaseError {\n\t/**\n\t * @param {string} message - Error message for human\n\t * @param {string} [type] - Error type for machine\n\t * @param {SystemError} [systemError] - For Node.js system error\n\t */\n\tconstructor(message, type, systemError) {\n\t\tsuper(message, type);\n\t\t// When err.type is `system`, err.erroredSysCall contains system error and err.code contains system error code\n\t\tif (systemError) {\n\t\t\t// eslint-disable-next-line no-multi-assign\n\t\t\tthis.code = this.errno = systemError.code;\n\t\t\tthis.erroredSysCall = systemError.syscall;\n\t\t}\n\t}\n}\n","/**\n * Is.js\n *\n * Object type checks.\n */\n\nconst NAME = Symbol.toStringTag;\n\n/**\n * Check if `obj` is a URLSearchParams object\n * ref: https://github.com/node-fetch/node-fetch/issues/296#issuecomment-307598143\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isURLSearchParameters = object => {\n\treturn (\n\t\ttypeof object === 'object' &&\n\t\ttypeof object.append === 'function' &&\n\t\ttypeof object.delete === 'function' &&\n\t\ttypeof object.get === 'function' &&\n\t\ttypeof object.getAll === 'function' &&\n\t\ttypeof object.has === 'function' &&\n\t\ttypeof object.set === 'function' &&\n\t\ttypeof object.sort === 'function' &&\n\t\tobject[NAME] === 'URLSearchParams'\n\t);\n};\n\n/**\n * Check if `object` is a W3C `Blob` object (which `File` inherits from)\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isBlob = object => {\n\treturn (\n\t\tobject &&\n\t\ttypeof object === 'object' &&\n\t\ttypeof object.arrayBuffer === 'function' &&\n\t\ttypeof object.type === 'string' &&\n\t\ttypeof object.stream === 'function' &&\n\t\ttypeof object.constructor === 'function' &&\n\t\t/^(Blob|File)$/.test(object[NAME])\n\t);\n};\n\n/**\n * Check if `obj` is an instance of AbortSignal.\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isAbortSignal = object => {\n\treturn (\n\t\ttypeof object === 'object' && (\n\t\t\tobject[NAME] === 'AbortSignal' ||\n\t\t\tobject[NAME] === 'EventTarget'\n\t\t)\n\t);\n};\n\n/**\n * isDomainOrSubdomain reports whether sub is a subdomain (or exact match) of\n * the parent domain.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nexport const isDomainOrSubdomain = (destination, original) => {\n\tconst orig = new URL(original).hostname;\n\tconst dest = new URL(destination).hostname;\n\n\treturn orig === dest || orig.endsWith(`.${dest}`);\n};\n\n/**\n * isSameProtocol reports whether the two provided URLs use the same protocol.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nexport const isSameProtocol = (destination, original) => {\n\tconst orig = new URL(original).protocol;\n\tconst dest = new URL(destination).protocol;\n\n\treturn orig === dest;\n};\n","\n/**\n * Body.js\n *\n * Body interface provides common methods for Request and Response\n */\n\nimport Stream, {PassThrough} from 'node:stream';\nimport {types, deprecate, promisify} from 'node:util';\nimport {Buffer} from 'node:buffer';\n\nimport Blob from 'fetch-blob';\nimport {FormData, formDataToBlob} from 'formdata-polyfill/esm.min.js';\n\nimport {FetchError} from './errors/fetch-error.js';\nimport {FetchBaseError} from './errors/base.js';\nimport {isBlob, isURLSearchParameters} from './utils/is.js';\n\nconst pipeline = promisify(Stream.pipeline);\nconst INTERNALS = Symbol('Body internals');\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nexport default class Body {\n\tconstructor(body, {\n\t\tsize = 0\n\t} = {}) {\n\t\tlet boundary = null;\n\n\t\tif (body === null) {\n\t\t\t// Body is undefined or null\n\t\t\tbody = null;\n\t\t} else if (isURLSearchParameters(body)) {\n\t\t\t// Body is a URLSearchParams\n\t\t\tbody = Buffer.from(body.toString());\n\t\t} else if (isBlob(body)) {\n\t\t\t// Body is blob\n\t\t} else if (Buffer.isBuffer(body)) {\n\t\t\t// Body is Buffer\n\t\t} else if (types.isAnyArrayBuffer(body)) {\n\t\t\t// Body is ArrayBuffer\n\t\t\tbody = Buffer.from(body);\n\t\t} else if (ArrayBuffer.isView(body)) {\n\t\t\t// Body is ArrayBufferView\n\t\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t\t} else if (body instanceof Stream) {\n\t\t\t// Body is stream\n\t\t} else if (body instanceof FormData) {\n\t\t\t// Body is FormData\n\t\t\tbody = formDataToBlob(body);\n\t\t\tboundary = body.type.split('=')[1];\n\t\t} else {\n\t\t\t// None of the above\n\t\t\t// coerce to string then buffer\n\t\t\tbody = Buffer.from(String(body));\n\t\t}\n\n\t\tlet stream = body;\n\n\t\tif (Buffer.isBuffer(body)) {\n\t\t\tstream = Stream.Readable.from(body);\n\t\t} else if (isBlob(body)) {\n\t\t\tstream = Stream.Readable.from(body.stream());\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\tbody,\n\t\t\tstream,\n\t\t\tboundary,\n\t\t\tdisturbed: false,\n\t\t\terror: null\n\t\t};\n\t\tthis.size = size;\n\n\t\tif (body instanceof Stream) {\n\t\t\tbody.on('error', error_ => {\n\t\t\t\tconst error = error_ instanceof FetchBaseError ?\n\t\t\t\t\terror_ :\n\t\t\t\t\tnew FetchError(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, 'system', error_);\n\t\t\t\tthis[INTERNALS].error = error;\n\t\t\t});\n\t\t}\n\t}\n\n\tget body() {\n\t\treturn this[INTERNALS].stream;\n\t}\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t}\n\n\t/**\n\t * Decode response as ArrayBuffer\n\t *\n\t * @return Promise\n\t */\n\tasync arrayBuffer() {\n\t\tconst {buffer, byteOffset, byteLength} = await consumeBody(this);\n\t\treturn buffer.slice(byteOffset, byteOffset + byteLength);\n\t}\n\n\tasync formData() {\n\t\tconst ct = this.headers.get('content-type');\n\n\t\tif (ct.startsWith('application/x-www-form-urlencoded')) {\n\t\t\tconst formData = new FormData();\n\t\t\tconst parameters = new URLSearchParams(await this.text());\n\n\t\t\tfor (const [name, value] of parameters) {\n\t\t\t\tformData.append(name, value);\n\t\t\t}\n\n\t\t\treturn formData;\n\t\t}\n\n\t\tconst {toFormData} = await import('./utils/multipart-parser.js');\n\t\treturn toFormData(this.body, ct);\n\t}\n\n\t/**\n\t * Return raw response as Blob\n\t *\n\t * @return Promise\n\t */\n\tasync blob() {\n\t\tconst ct = (this.headers && this.headers.get('content-type')) || (this[INTERNALS].body && this[INTERNALS].body.type) || '';\n\t\tconst buf = await this.arrayBuffer();\n\n\t\treturn new Blob([buf], {\n\t\t\ttype: ct\n\t\t});\n\t}\n\n\t/**\n\t * Decode response as json\n\t *\n\t * @return Promise\n\t */\n\tasync json() {\n\t\tconst text = await this.text();\n\t\treturn JSON.parse(text);\n\t}\n\n\t/**\n\t * Decode response as text\n\t *\n\t * @return Promise\n\t */\n\tasync text() {\n\t\tconst buffer = await consumeBody(this);\n\t\treturn new TextDecoder().decode(buffer);\n\t}\n\n\t/**\n\t * Decode response as buffer (non-spec api)\n\t *\n\t * @return Promise\n\t */\n\tbuffer() {\n\t\treturn consumeBody(this);\n\t}\n}\n\nBody.prototype.buffer = deprecate(Body.prototype.buffer, 'Please use \\'response.arrayBuffer()\\' instead of \\'response.buffer()\\'', 'node-fetch#buffer');\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: {enumerable: true},\n\tbodyUsed: {enumerable: true},\n\tarrayBuffer: {enumerable: true},\n\tblob: {enumerable: true},\n\tjson: {enumerable: true},\n\ttext: {enumerable: true},\n\tdata: {get: deprecate(() => {},\n\t\t'data doesn\\'t exist, use json(), text(), arrayBuffer(), or body instead',\n\t\t'https://github.com/node-fetch/node-fetch/issues/1000 (response)')}\n});\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nasync function consumeBody(data) {\n\tif (data[INTERNALS].disturbed) {\n\t\tthrow new TypeError(`body used already for: ${data.url}`);\n\t}\n\n\tdata[INTERNALS].disturbed = true;\n\n\tif (data[INTERNALS].error) {\n\t\tthrow data[INTERNALS].error;\n\t}\n\n\tconst {body} = data;\n\n\t// Body is null\n\tif (body === null) {\n\t\treturn Buffer.alloc(0);\n\t}\n\n\t/* c8 ignore next 3 */\n\tif (!(body instanceof Stream)) {\n\t\treturn Buffer.alloc(0);\n\t}\n\n\t// Body is stream\n\t// get ready to actually consume the body\n\tconst accum = [];\n\tlet accumBytes = 0;\n\n\ttry {\n\t\tfor await (const chunk of body) {\n\t\t\tif (data.size > 0 && accumBytes + chunk.length > data.size) {\n\t\t\t\tconst error = new FetchError(`content size at ${data.url} over limit: ${data.size}`, 'max-size');\n\t\t\t\tbody.destroy(error);\n\t\t\t\tthrow error;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t}\n\t} catch (error) {\n\t\tconst error_ = error instanceof FetchBaseError ? error : new FetchError(`Invalid response body while trying to fetch ${data.url}: ${error.message}`, 'system', error);\n\t\tthrow error_;\n\t}\n\n\tif (body.readableEnded === true || body._readableState.ended === true) {\n\t\ttry {\n\t\t\tif (accum.every(c => typeof c === 'string')) {\n\t\t\t\treturn Buffer.from(accum.join(''));\n\t\t\t}\n\n\t\t\treturn Buffer.concat(accum, accumBytes);\n\t\t} catch (error) {\n\t\t\tthrow new FetchError(`Could not create Buffer from response body for ${data.url}: ${error.message}`, 'system', error);\n\t\t}\n\t} else {\n\t\tthrow new FetchError(`Premature close of server response while trying to fetch ${data.url}`);\n\t}\n}\n\n/**\n * Clone body given Res/Req instance\n *\n * @param Mixed instance Response or Request instance\n * @param String highWaterMark highWaterMark for both PassThrough body streams\n * @return Mixed\n */\nexport const clone = (instance, highWaterMark) => {\n\tlet p1;\n\tlet p2;\n\tlet {body} = instance[INTERNALS];\n\n\t// Don't allow cloning a used body\n\tif (instance.bodyUsed) {\n\t\tthrow new Error('cannot clone body after it is used');\n\t}\n\n\t// Check that body is a stream and not form-data object\n\t// note: we can't clone the form-data object without having it as a dependency\n\tif ((body instanceof Stream) && (typeof body.getBoundary !== 'function')) {\n\t\t// Tee instance body\n\t\tp1 = new PassThrough({highWaterMark});\n\t\tp2 = new PassThrough({highWaterMark});\n\t\tbody.pipe(p1);\n\t\tbody.pipe(p2);\n\t\t// Set instance body to teed body and return the other teed body\n\t\tinstance[INTERNALS].stream = p1;\n\t\tbody = p2;\n\t}\n\n\treturn body;\n};\n\nconst getNonSpecFormDataBoundary = deprecate(\n\tbody => body.getBoundary(),\n\t'form-data doesn\\'t follow the spec and requires special treatment. Use alternative package',\n\t'https://github.com/node-fetch/node-fetch/issues/1167'\n);\n\n/**\n * Performs the operation \"extract a `Content-Type` value from |object|\" as\n * specified in the specification:\n * https://fetch.spec.whatwg.org/#concept-bodyinit-extract\n *\n * This function assumes that instance.body is present.\n *\n * @param {any} body Any options.body input\n * @returns {string | null}\n */\nexport const extractContentType = (body, request) => {\n\t// Body is null or undefined\n\tif (body === null) {\n\t\treturn null;\n\t}\n\n\t// Body is string\n\tif (typeof body === 'string') {\n\t\treturn 'text/plain;charset=UTF-8';\n\t}\n\n\t// Body is a URLSearchParams\n\tif (isURLSearchParameters(body)) {\n\t\treturn 'application/x-www-form-urlencoded;charset=UTF-8';\n\t}\n\n\t// Body is blob\n\tif (isBlob(body)) {\n\t\treturn body.type || null;\n\t}\n\n\t// Body is a Buffer (Buffer, ArrayBuffer or ArrayBufferView)\n\tif (Buffer.isBuffer(body) || types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {\n\t\treturn null;\n\t}\n\n\tif (body instanceof FormData) {\n\t\treturn `multipart/form-data; boundary=${request[INTERNALS].boundary}`;\n\t}\n\n\t// Detect form data input from form-data module\n\tif (body && typeof body.getBoundary === 'function') {\n\t\treturn `multipart/form-data;boundary=${getNonSpecFormDataBoundary(body)}`;\n\t}\n\n\t// Body is stream - can't really do much about this\n\tif (body instanceof Stream) {\n\t\treturn null;\n\t}\n\n\t// Body constructor defaults other things to string\n\treturn 'text/plain;charset=UTF-8';\n};\n\n/**\n * The Fetch Standard treats this as if \"total bytes\" is a property on the body.\n * For us, we have to explicitly get it with a function.\n *\n * ref: https://fetch.spec.whatwg.org/#concept-body-total-bytes\n *\n * @param {any} obj.body Body object from the Body instance.\n * @returns {number | null}\n */\nexport const getTotalBytes = request => {\n\tconst {body} = request[INTERNALS];\n\n\t// Body is null or undefined\n\tif (body === null) {\n\t\treturn 0;\n\t}\n\n\t// Body is Blob\n\tif (isBlob(body)) {\n\t\treturn body.size;\n\t}\n\n\t// Body is Buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn body.length;\n\t}\n\n\t// Detect form data input from form-data module\n\tif (body && typeof body.getLengthSync === 'function') {\n\t\treturn body.hasKnownLength && body.hasKnownLength() ? body.getLengthSync() : null;\n\t}\n\n\t// Body is stream\n\treturn null;\n};\n\n/**\n * Write a Body to a Node.js WritableStream (e.g. http.Request) object.\n *\n * @param {Stream.Writable} dest The stream to write to.\n * @param obj.body Body object from the Body instance.\n * @returns {Promise}\n */\nexport const writeToStream = async (dest, {body}) => {\n\tif (body === null) {\n\t\t// Body is null\n\t\tdest.end();\n\t} else {\n\t\t// Body is stream\n\t\tawait pipeline(body, dest);\n\t}\n};\n","/**\n * Headers.js\n *\n * Headers class offers convenient helpers\n */\n\nimport {types} from 'node:util';\nimport http from 'node:http';\n\n/* c8 ignore next 9 */\nconst validateHeaderName = typeof http.validateHeaderName === 'function' ?\n\thttp.validateHeaderName :\n\tname => {\n\t\tif (!/^[\\^`\\-\\w!#$%&'*+.|~]+$/.test(name)) {\n\t\t\tconst error = new TypeError(`Header name must be a valid HTTP token [${name}]`);\n\t\t\tObject.defineProperty(error, 'code', {value: 'ERR_INVALID_HTTP_TOKEN'});\n\t\t\tthrow error;\n\t\t}\n\t};\n\n/* c8 ignore next 9 */\nconst validateHeaderValue = typeof http.validateHeaderValue === 'function' ?\n\thttp.validateHeaderValue :\n\t(name, value) => {\n\t\tif (/[^\\t\\u0020-\\u007E\\u0080-\\u00FF]/.test(value)) {\n\t\t\tconst error = new TypeError(`Invalid character in header content [\"${name}\"]`);\n\t\t\tObject.defineProperty(error, 'code', {value: 'ERR_INVALID_CHAR'});\n\t\t\tthrow error;\n\t\t}\n\t};\n\n/**\n * @typedef {Headers | Record | Iterable | Iterable>} HeadersInit\n */\n\n/**\n * This Fetch API interface allows you to perform various actions on HTTP request and response headers.\n * These actions include retrieving, setting, adding to, and removing.\n * A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.\n * You can add to this using methods like append() (see Examples.)\n * In all methods of this interface, header names are matched by case-insensitive byte sequence.\n *\n */\nexport default class Headers extends URLSearchParams {\n\t/**\n\t * Headers class\n\t *\n\t * @constructor\n\t * @param {HeadersInit} [init] - Response headers\n\t */\n\tconstructor(init) {\n\t\t// Validate and normalize init object in [name, value(s)][]\n\t\t/** @type {string[][]} */\n\t\tlet result = [];\n\t\tif (init instanceof Headers) {\n\t\t\tconst raw = init.raw();\n\t\t\tfor (const [name, values] of Object.entries(raw)) {\n\t\t\t\tresult.push(...values.map(value => [name, value]));\n\t\t\t}\n\t\t} else if (init == null) { // eslint-disable-line no-eq-null, eqeqeq\n\t\t\t// No op\n\t\t} else if (typeof init === 'object' && !types.isBoxedPrimitive(init)) {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\t\tif (method == null) {\n\t\t\t\t// Record\n\t\t\t\tresult.push(...Object.entries(init));\n\t\t\t} else {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// Sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tresult = [...init]\n\t\t\t\t\t.map(pair => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof pair !== 'object' || types.isBoxedPrimitive(pair)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tthrow new TypeError('Each header pair must be an iterable object');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn [...pair];\n\t\t\t\t\t}).map(pair => {\n\t\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn [...pair];\n\t\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Failed to construct \\'Headers\\': The provided value is not of type \\'(sequence> or record)');\n\t\t}\n\n\t\t// Validate and lowercase\n\t\tresult =\n\t\t\tresult.length > 0 ?\n\t\t\t\tresult.map(([name, value]) => {\n\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\tvalidateHeaderValue(name, String(value));\n\t\t\t\t\treturn [String(name).toLowerCase(), String(value)];\n\t\t\t\t}) :\n\t\t\t\tundefined;\n\n\t\tsuper(result);\n\n\t\t// Returning a Proxy that will lowercase key names, validate parameters and sort keys\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn new Proxy(this, {\n\t\t\tget(target, p, receiver) {\n\t\t\t\tswitch (p) {\n\t\t\t\t\tcase 'append':\n\t\t\t\t\tcase 'set':\n\t\t\t\t\t\treturn (name, value) => {\n\t\t\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\t\t\tvalidateHeaderValue(name, String(value));\n\t\t\t\t\t\t\treturn URLSearchParams.prototype[p].call(\n\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\tString(name).toLowerCase(),\n\t\t\t\t\t\t\t\tString(value)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\n\t\t\t\t\tcase 'delete':\n\t\t\t\t\tcase 'has':\n\t\t\t\t\tcase 'getAll':\n\t\t\t\t\t\treturn name => {\n\t\t\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\t\t\treturn URLSearchParams.prototype[p].call(\n\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\tString(name).toLowerCase()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\n\t\t\t\t\tcase 'keys':\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\ttarget.sort();\n\t\t\t\t\t\t\treturn new Set(URLSearchParams.prototype.keys.call(target)).keys();\n\t\t\t\t\t\t};\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn Reflect.get(target, p, receiver);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t/* c8 ignore next */\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn this.constructor.name;\n\t}\n\n\ttoString() {\n\t\treturn Object.prototype.toString.call(this);\n\t}\n\n\tget(name) {\n\t\tconst values = this.getAll(name);\n\t\tif (values.length === 0) {\n\t\t\treturn null;\n\t\t}\n\n\t\tlet value = values.join(', ');\n\t\tif (/^content-encoding$/i.test(name)) {\n\t\t\tvalue = value.toLowerCase();\n\t\t}\n\n\t\treturn value;\n\t}\n\n\tforEach(callback, thisArg = undefined) {\n\t\tfor (const name of this.keys()) {\n\t\t\tReflect.apply(callback, thisArg, [this.get(name), name, this]);\n\t\t}\n\t}\n\n\t* values() {\n\t\tfor (const name of this.keys()) {\n\t\t\tyield this.get(name);\n\t\t}\n\t}\n\n\t/**\n\t * @type {() => IterableIterator<[string, string]>}\n\t */\n\t* entries() {\n\t\tfor (const name of this.keys()) {\n\t\t\tyield [name, this.get(name)];\n\t\t}\n\t}\n\n\t[Symbol.iterator]() {\n\t\treturn this.entries();\n\t}\n\n\t/**\n\t * Node-fetch non-spec method\n\t * returning all headers and their values as array\n\t * @returns {Record}\n\t */\n\traw() {\n\t\treturn [...this.keys()].reduce((result, key) => {\n\t\t\tresult[key] = this.getAll(key);\n\t\t\treturn result;\n\t\t}, {});\n\t}\n\n\t/**\n\t * For better console.log(headers) and also to convert Headers into Node.js Request compatible format\n\t */\n\t[Symbol.for('nodejs.util.inspect.custom')]() {\n\t\treturn [...this.keys()].reduce((result, key) => {\n\t\t\tconst values = this.getAll(key);\n\t\t\t// Http.request() only supports string as Host header.\n\t\t\t// This hack makes specifying custom Host header possible.\n\t\t\tif (key === 'host') {\n\t\t\t\tresult[key] = values[0];\n\t\t\t} else {\n\t\t\t\tresult[key] = values.length > 1 ? values : values[0];\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}, {});\n\t}\n}\n\n/**\n * Re-shaping object for Web IDL tests\n * Only need to do it for overridden methods\n */\nObject.defineProperties(\n\tHeaders.prototype,\n\t['get', 'entries', 'forEach', 'values'].reduce((result, property) => {\n\t\tresult[property] = {enumerable: true};\n\t\treturn result;\n\t}, {})\n);\n\n/**\n * Create a Headers object from an http.IncomingMessage.rawHeaders, ignoring those that do\n * not conform to HTTP grammar productions.\n * @param {import('http').IncomingMessage['rawHeaders']} headers\n */\nexport function fromRawHeaders(headers = []) {\n\treturn new Headers(\n\t\theaders\n\t\t\t// Split into pairs\n\t\t\t.reduce((result, value, index, array) => {\n\t\t\t\tif (index % 2 === 0) {\n\t\t\t\t\tresult.push(array.slice(index, index + 2));\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t}, [])\n\t\t\t.filter(([name, value]) => {\n\t\t\t\ttry {\n\t\t\t\t\tvalidateHeaderName(name);\n\t\t\t\t\tvalidateHeaderValue(name, String(value));\n\t\t\t\t\treturn true;\n\t\t\t\t} catch {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t})\n\n\t);\n}\n","const redirectStatus = new Set([301, 302, 303, 307, 308]);\n\n/**\n * Redirect code matching\n *\n * @param {number} code - Status code\n * @return {boolean}\n */\nexport const isRedirect = code => {\n\treturn redirectStatus.has(code);\n};\n","/**\n * Response.js\n *\n * Response class provides content decoding\n */\n\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType} from './body.js';\nimport {isRedirect} from './utils/is-redirect.js';\n\nconst INTERNALS = Symbol('Response internals');\n\n/**\n * Response class\n *\n * Ref: https://fetch.spec.whatwg.org/#response-class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nexport default class Response extends Body {\n\tconstructor(body = null, options = {}) {\n\t\tsuper(body, options);\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq, no-negated-condition\n\t\tconst status = options.status != null ? options.status : 200;\n\n\t\tconst headers = new Headers(options.headers);\n\n\t\tif (body !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\ttype: 'default',\n\t\t\turl: options.url,\n\t\t\tstatus,\n\t\t\tstatusText: options.statusText || '',\n\t\t\theaders,\n\t\t\tcounter: options.counter,\n\t\t\thighWaterMark: options.highWaterMark\n\t\t};\n\t}\n\n\tget type() {\n\t\treturn this[INTERNALS].type;\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS].status;\n\t}\n\n\t/**\n\t * Convenience property representing if the request ended normally\n\t */\n\tget ok() {\n\t\treturn this[INTERNALS].status >= 200 && this[INTERNALS].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget highWaterMark() {\n\t\treturn this[INTERNALS].highWaterMark;\n\t}\n\n\t/**\n\t * Clone this response\n\t *\n\t * @return Response\n\t */\n\tclone() {\n\t\treturn new Response(clone(this, this.highWaterMark), {\n\t\t\ttype: this.type,\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected,\n\t\t\tsize: this.size,\n\t\t\thighWaterMark: this.highWaterMark\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} url The URL that the new response is to originate from.\n\t * @param {number} status An optional status code for the response (e.g., 302.)\n\t * @returns {Response} A Response object.\n\t */\n\tstatic redirect(url, status = 302) {\n\t\tif (!isRedirect(status)) {\n\t\t\tthrow new RangeError('Failed to execute \"redirect\" on \"response\": Invalid status code');\n\t\t}\n\n\t\treturn new Response(null, {\n\t\t\theaders: {\n\t\t\t\tlocation: new URL(url).toString()\n\t\t\t},\n\t\t\tstatus\n\t\t});\n\t}\n\n\tstatic error() {\n\t\tconst response = new Response(null, {status: 0, statusText: ''});\n\t\tresponse[INTERNALS].type = 'error';\n\t\treturn response;\n\t}\n\n\tstatic json(data = undefined, init = {}) {\n\t\tconst body = JSON.stringify(data);\n\n\t\tif (body === undefined) {\n\t\t\tthrow new TypeError('data is not JSON serializable');\n\t\t}\n\n\t\tconst headers = new Headers(init && init.headers);\n\n\t\tif (!headers.has('content-type')) {\n\t\t\theaders.set('content-type', 'application/json');\n\t\t}\n\n\t\treturn new Response(body, {\n\t\t\t...init,\n\t\t\theaders\n\t\t});\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Response';\n\t}\n}\n\nObject.defineProperties(Response.prototype, {\n\ttype: {enumerable: true},\n\turl: {enumerable: true},\n\tstatus: {enumerable: true},\n\tok: {enumerable: true},\n\tredirected: {enumerable: true},\n\tstatusText: {enumerable: true},\n\theaders: {enumerable: true},\n\tclone: {enumerable: true}\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:url\");","export const getSearch = parsedURL => {\n\tif (parsedURL.search) {\n\t\treturn parsedURL.search;\n\t}\n\n\tconst lastOffset = parsedURL.href.length - 1;\n\tconst hash = parsedURL.hash || (parsedURL.href[lastOffset] === '#' ? '#' : '');\n\treturn parsedURL.href[lastOffset - hash.length] === '?' ? '?' : '';\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:net\");","import {isIP} from 'node:net';\n\n/**\n * @external URL\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/URL|URL}\n */\n\n/**\n * @module utils/referrer\n * @private\n */\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#strip-url|Referrer Policy §8.4. Strip url for use as a referrer}\n * @param {string} URL\n * @param {boolean} [originOnly=false]\n */\nexport function stripURLForUseAsAReferrer(url, originOnly = false) {\n\t// 1. If url is null, return no referrer.\n\tif (url == null) { // eslint-disable-line no-eq-null, eqeqeq\n\t\treturn 'no-referrer';\n\t}\n\n\turl = new URL(url);\n\n\t// 2. If url's scheme is a local scheme, then return no referrer.\n\tif (/^(about|blob|data):$/.test(url.protocol)) {\n\t\treturn 'no-referrer';\n\t}\n\n\t// 3. Set url's username to the empty string.\n\turl.username = '';\n\n\t// 4. Set url's password to null.\n\t// Note: `null` appears to be a mistake as this actually results in the password being `\"null\"`.\n\turl.password = '';\n\n\t// 5. Set url's fragment to null.\n\t// Note: `null` appears to be a mistake as this actually results in the fragment being `\"#null\"`.\n\turl.hash = '';\n\n\t// 6. If the origin-only flag is true, then:\n\tif (originOnly) {\n\t\t// 6.1. Set url's path to null.\n\t\t// Note: `null` appears to be a mistake as this actually results in the path being `\"/null\"`.\n\t\turl.pathname = '';\n\n\t\t// 6.2. Set url's query to null.\n\t\t// Note: `null` appears to be a mistake as this actually results in the query being `\"?null\"`.\n\t\turl.search = '';\n\t}\n\n\t// 7. Return url.\n\treturn url;\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#enumdef-referrerpolicy|enum ReferrerPolicy}\n */\nexport const ReferrerPolicy = new Set([\n\t'',\n\t'no-referrer',\n\t'no-referrer-when-downgrade',\n\t'same-origin',\n\t'origin',\n\t'strict-origin',\n\t'origin-when-cross-origin',\n\t'strict-origin-when-cross-origin',\n\t'unsafe-url'\n]);\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#default-referrer-policy|default referrer policy}\n */\nexport const DEFAULT_REFERRER_POLICY = 'strict-origin-when-cross-origin';\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#referrer-policies|Referrer Policy §3. Referrer Policies}\n * @param {string} referrerPolicy\n * @returns {string} referrerPolicy\n */\nexport function validateReferrerPolicy(referrerPolicy) {\n\tif (!ReferrerPolicy.has(referrerPolicy)) {\n\t\tthrow new TypeError(`Invalid referrerPolicy: ${referrerPolicy}`);\n\t}\n\n\treturn referrerPolicy;\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy|Referrer Policy §3.2. Is origin potentially trustworthy?}\n * @param {external:URL} url\n * @returns `true`: \"Potentially Trustworthy\", `false`: \"Not Trustworthy\"\n */\nexport function isOriginPotentiallyTrustworthy(url) {\n\t// 1. If origin is an opaque origin, return \"Not Trustworthy\".\n\t// Not applicable\n\n\t// 2. Assert: origin is a tuple origin.\n\t// Not for implementations\n\n\t// 3. If origin's scheme is either \"https\" or \"wss\", return \"Potentially Trustworthy\".\n\tif (/^(http|ws)s:$/.test(url.protocol)) {\n\t\treturn true;\n\t}\n\n\t// 4. If origin's host component matches one of the CIDR notations 127.0.0.0/8 or ::1/128 [RFC4632], return \"Potentially Trustworthy\".\n\tconst hostIp = url.host.replace(/(^\\[)|(]$)/g, '');\n\tconst hostIPVersion = isIP(hostIp);\n\n\tif (hostIPVersion === 4 && /^127\\./.test(hostIp)) {\n\t\treturn true;\n\t}\n\n\tif (hostIPVersion === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(hostIp)) {\n\t\treturn true;\n\t}\n\n\t// 5. If origin's host component is \"localhost\" or falls within \".localhost\", and the user agent conforms to the name resolution rules in [let-localhost-be-localhost], return \"Potentially Trustworthy\".\n\t// We are returning FALSE here because we cannot ensure conformance to\n\t// let-localhost-be-loalhost (https://tools.ietf.org/html/draft-west-let-localhost-be-localhost)\n\tif (url.host === 'localhost' || url.host.endsWith('.localhost')) {\n\t\treturn false;\n\t}\n\n\t// 6. If origin's scheme component is file, return \"Potentially Trustworthy\".\n\tif (url.protocol === 'file:') {\n\t\treturn true;\n\t}\n\n\t// 7. If origin's scheme component is one which the user agent considers to be authenticated, return \"Potentially Trustworthy\".\n\t// Not supported\n\n\t// 8. If origin has been configured as a trustworthy origin, return \"Potentially Trustworthy\".\n\t// Not supported\n\n\t// 9. Return \"Not Trustworthy\".\n\treturn false;\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-secure-contexts/#is-url-trustworthy|Referrer Policy §3.3. Is url potentially trustworthy?}\n * @param {external:URL} url\n * @returns `true`: \"Potentially Trustworthy\", `false`: \"Not Trustworthy\"\n */\nexport function isUrlPotentiallyTrustworthy(url) {\n\t// 1. If url is \"about:blank\" or \"about:srcdoc\", return \"Potentially Trustworthy\".\n\tif (/^about:(blank|srcdoc)$/.test(url)) {\n\t\treturn true;\n\t}\n\n\t// 2. If url's scheme is \"data\", return \"Potentially Trustworthy\".\n\tif (url.protocol === 'data:') {\n\t\treturn true;\n\t}\n\n\t// Note: The origin of blob: and filesystem: URLs is the origin of the context in which they were\n\t// created. Therefore, blobs created in a trustworthy origin will themselves be potentially\n\t// trustworthy.\n\tif (/^(blob|filesystem):$/.test(url.protocol)) {\n\t\treturn true;\n\t}\n\n\t// 3. Return the result of executing §3.2 Is origin potentially trustworthy? on url's origin.\n\treturn isOriginPotentiallyTrustworthy(url);\n}\n\n/**\n * Modifies the referrerURL to enforce any extra security policy considerations.\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}, step 7\n * @callback module:utils/referrer~referrerURLCallback\n * @param {external:URL} referrerURL\n * @returns {external:URL} modified referrerURL\n */\n\n/**\n * Modifies the referrerOrigin to enforce any extra security policy considerations.\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}, step 7\n * @callback module:utils/referrer~referrerOriginCallback\n * @param {external:URL} referrerOrigin\n * @returns {external:URL} modified referrerOrigin\n */\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}\n * @param {Request} request\n * @param {object} o\n * @param {module:utils/referrer~referrerURLCallback} o.referrerURLCallback\n * @param {module:utils/referrer~referrerOriginCallback} o.referrerOriginCallback\n * @returns {external:URL} Request's referrer\n */\nexport function determineRequestsReferrer(request, {referrerURLCallback, referrerOriginCallback} = {}) {\n\t// There are 2 notes in the specification about invalid pre-conditions. We return null, here, for\n\t// these cases:\n\t// > Note: If request's referrer is \"no-referrer\", Fetch will not call into this algorithm.\n\t// > Note: If request's referrer policy is the empty string, Fetch will not call into this\n\t// > algorithm.\n\tif (request.referrer === 'no-referrer' || request.referrerPolicy === '') {\n\t\treturn null;\n\t}\n\n\t// 1. Let policy be request's associated referrer policy.\n\tconst policy = request.referrerPolicy;\n\n\t// 2. Let environment be request's client.\n\t// not applicable to node.js\n\n\t// 3. Switch on request's referrer:\n\tif (request.referrer === 'about:client') {\n\t\treturn 'no-referrer';\n\t}\n\n\t// \"a URL\": Let referrerSource be request's referrer.\n\tconst referrerSource = request.referrer;\n\n\t// 4. Let request's referrerURL be the result of stripping referrerSource for use as a referrer.\n\tlet referrerURL = stripURLForUseAsAReferrer(referrerSource);\n\n\t// 5. Let referrerOrigin be the result of stripping referrerSource for use as a referrer, with the\n\t// origin-only flag set to true.\n\tlet referrerOrigin = stripURLForUseAsAReferrer(referrerSource, true);\n\n\t// 6. If the result of serializing referrerURL is a string whose length is greater than 4096, set\n\t// referrerURL to referrerOrigin.\n\tif (referrerURL.toString().length > 4096) {\n\t\treferrerURL = referrerOrigin;\n\t}\n\n\t// 7. The user agent MAY alter referrerURL or referrerOrigin at this point to enforce arbitrary\n\t// policy considerations in the interests of minimizing data leakage. For example, the user\n\t// agent could strip the URL down to an origin, modify its host, replace it with an empty\n\t// string, etc.\n\tif (referrerURLCallback) {\n\t\treferrerURL = referrerURLCallback(referrerURL);\n\t}\n\n\tif (referrerOriginCallback) {\n\t\treferrerOrigin = referrerOriginCallback(referrerOrigin);\n\t}\n\n\t// 8.Execute the statements corresponding to the value of policy:\n\tconst currentURL = new URL(request.url);\n\n\tswitch (policy) {\n\t\tcase 'no-referrer':\n\t\t\treturn 'no-referrer';\n\n\t\tcase 'origin':\n\t\t\treturn referrerOrigin;\n\n\t\tcase 'unsafe-url':\n\t\t\treturn referrerURL;\n\n\t\tcase 'strict-origin':\n\t\t\t// 1. If referrerURL is a potentially trustworthy URL and request's current URL is not a\n\t\t\t// potentially trustworthy URL, then return no referrer.\n\t\t\tif (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) {\n\t\t\t\treturn 'no-referrer';\n\t\t\t}\n\n\t\t\t// 2. Return referrerOrigin.\n\t\t\treturn referrerOrigin.toString();\n\n\t\tcase 'strict-origin-when-cross-origin':\n\t\t\t// 1. If the origin of referrerURL and the origin of request's current URL are the same, then\n\t\t\t// return referrerURL.\n\t\t\tif (referrerURL.origin === currentURL.origin) {\n\t\t\t\treturn referrerURL;\n\t\t\t}\n\n\t\t\t// 2. If referrerURL is a potentially trustworthy URL and request's current URL is not a\n\t\t\t// potentially trustworthy URL, then return no referrer.\n\t\t\tif (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) {\n\t\t\t\treturn 'no-referrer';\n\t\t\t}\n\n\t\t\t// 3. Return referrerOrigin.\n\t\t\treturn referrerOrigin;\n\n\t\tcase 'same-origin':\n\t\t\t// 1. If the origin of referrerURL and the origin of request's current URL are the same, then\n\t\t\t// return referrerURL.\n\t\t\tif (referrerURL.origin === currentURL.origin) {\n\t\t\t\treturn referrerURL;\n\t\t\t}\n\n\t\t\t// 2. Return no referrer.\n\t\t\treturn 'no-referrer';\n\n\t\tcase 'origin-when-cross-origin':\n\t\t\t// 1. If the origin of referrerURL and the origin of request's current URL are the same, then\n\t\t\t// return referrerURL.\n\t\t\tif (referrerURL.origin === currentURL.origin) {\n\t\t\t\treturn referrerURL;\n\t\t\t}\n\n\t\t\t// Return referrerOrigin.\n\t\t\treturn referrerOrigin;\n\n\t\tcase 'no-referrer-when-downgrade':\n\t\t\t// 1. If referrerURL is a potentially trustworthy URL and request's current URL is not a\n\t\t\t// potentially trustworthy URL, then return no referrer.\n\t\t\tif (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) {\n\t\t\t\treturn 'no-referrer';\n\t\t\t}\n\n\t\t\t// 2. Return referrerURL.\n\t\t\treturn referrerURL;\n\n\t\tdefault:\n\t\t\tthrow new TypeError(`Invalid referrerPolicy: ${policy}`);\n\t}\n}\n\n/**\n * @see {@link https://w3c.github.io/webappsec-referrer-policy/#parse-referrer-policy-from-header|Referrer Policy §8.1. Parse a referrer policy from a Referrer-Policy header}\n * @param {Headers} headers Response headers\n * @returns {string} policy\n */\nexport function parseReferrerPolicyFromHeader(headers) {\n\t// 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy`\n\t// and response’s header list.\n\tconst policyTokens = (headers.get('referrer-policy') || '').split(/[,\\s]+/);\n\n\t// 2. Let policy be the empty string.\n\tlet policy = '';\n\n\t// 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty\n\t// string, then set policy to token.\n\t// Note: This algorithm loops over multiple policy values to allow deployment of new policy\n\t// values with fallbacks for older user agents, as described in § 11.1 Unknown Policy Values.\n\tfor (const token of policyTokens) {\n\t\tif (token && ReferrerPolicy.has(token)) {\n\t\t\tpolicy = token;\n\t\t}\n\t}\n\n\t// 4. Return policy.\n\treturn policy;\n}\n","/**\n * Request.js\n *\n * Request class contains server only options\n *\n * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/.\n */\n\nimport {format as formatUrl} from 'node:url';\nimport {deprecate} from 'node:util';\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType, getTotalBytes} from './body.js';\nimport {isAbortSignal} from './utils/is.js';\nimport {getSearch} from './utils/get-search.js';\nimport {\n\tvalidateReferrerPolicy, determineRequestsReferrer, DEFAULT_REFERRER_POLICY\n} from './utils/referrer.js';\n\nconst INTERNALS = Symbol('Request internals');\n\n/**\n * Check if `obj` is an instance of Request.\n *\n * @param {*} object\n * @return {boolean}\n */\nconst isRequest = object => {\n\treturn (\n\t\ttypeof object === 'object' &&\n\t\ttypeof object[INTERNALS] === 'object'\n\t);\n};\n\nconst doBadDataWarn = deprecate(() => {},\n\t'.data is not a valid RequestInit property, use .body instead',\n\t'https://github.com/node-fetch/node-fetch/issues/1000 (request)');\n\n/**\n * Request class\n *\n * Ref: https://fetch.spec.whatwg.org/#request-class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nexport default class Request extends Body {\n\tconstructor(input, init = {}) {\n\t\tlet parsedURL;\n\n\t\t// Normalize input and force URL to be encoded as UTF-8 (https://github.com/node-fetch/node-fetch/issues/245)\n\t\tif (isRequest(input)) {\n\t\t\tparsedURL = new URL(input.url);\n\t\t} else {\n\t\t\tparsedURL = new URL(input);\n\t\t\tinput = {};\n\t\t}\n\n\t\tif (parsedURL.username !== '' || parsedURL.password !== '') {\n\t\t\tthrow new TypeError(`${parsedURL} is an url with embedded credentials.`);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tif (/^(delete|get|head|options|post|put)$/i.test(method)) {\n\t\t\tmethod = method.toUpperCase();\n\t\t}\n\n\t\tif (!isRequest(init) && 'data' in init) {\n\t\t\tdoBadDataWarn();\n\t\t}\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tif ((init.body != null || (isRequest(input) && input.body !== null)) &&\n\t\t\t(method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tconst inputBody = init.body ?\n\t\t\tinit.body :\n\t\t\t(isRequest(input) && input.body !== null ?\n\t\t\t\tclone(input) :\n\t\t\t\tnull);\n\n\t\tsuper(inputBody, {\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.set('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ?\n\t\t\tinput.signal :\n\t\t\tnull;\n\t\tif ('signal' in init) {\n\t\t\tsignal = init.signal;\n\t\t}\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal or EventTarget');\n\t\t}\n\n\t\t// §5.4, Request constructor steps, step 15.1\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tlet referrer = init.referrer == null ? input.referrer : init.referrer;\n\t\tif (referrer === '') {\n\t\t\t// §5.4, Request constructor steps, step 15.2\n\t\t\treferrer = 'no-referrer';\n\t\t} else if (referrer) {\n\t\t\t// §5.4, Request constructor steps, step 15.3.1, 15.3.2\n\t\t\tconst parsedReferrer = new URL(referrer);\n\t\t\t// §5.4, Request constructor steps, step 15.3.3, 15.3.4\n\t\t\treferrer = /^about:(\\/\\/)?client$/.test(parsedReferrer) ? 'client' : parsedReferrer;\n\t\t} else {\n\t\t\treferrer = undefined;\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal,\n\t\t\treferrer\n\t\t};\n\n\t\t// Node-fetch-only options\n\t\tthis.follow = init.follow === undefined ? (input.follow === undefined ? 20 : input.follow) : init.follow;\n\t\tthis.compress = init.compress === undefined ? (input.compress === undefined ? true : input.compress) : init.compress;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t\tthis.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;\n\t\tthis.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;\n\n\t\t// §5.4, Request constructor steps, step 16.\n\t\t// Default is empty string per https://fetch.spec.whatwg.org/#concept-request-referrer-policy\n\t\tthis.referrerPolicy = init.referrerPolicy || input.referrerPolicy || '';\n\t}\n\n\t/** @returns {string} */\n\tget method() {\n\t\treturn this[INTERNALS].method;\n\t}\n\n\t/** @returns {string} */\n\tget url() {\n\t\treturn formatUrl(this[INTERNALS].parsedURL);\n\t}\n\n\t/** @returns {Headers} */\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS].redirect;\n\t}\n\n\t/** @returns {AbortSignal} */\n\tget signal() {\n\t\treturn this[INTERNALS].signal;\n\t}\n\n\t// https://fetch.spec.whatwg.org/#dom-request-referrer\n\tget referrer() {\n\t\tif (this[INTERNALS].referrer === 'no-referrer') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (this[INTERNALS].referrer === 'client') {\n\t\t\treturn 'about:client';\n\t\t}\n\n\t\tif (this[INTERNALS].referrer) {\n\t\t\treturn this[INTERNALS].referrer.toString();\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget referrerPolicy() {\n\t\treturn this[INTERNALS].referrerPolicy;\n\t}\n\n\tset referrerPolicy(referrerPolicy) {\n\t\tthis[INTERNALS].referrerPolicy = validateReferrerPolicy(referrerPolicy);\n\t}\n\n\t/**\n\t * Clone this request\n\t *\n\t * @return Request\n\t */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Request';\n\t}\n}\n\nObject.defineProperties(Request.prototype, {\n\tmethod: {enumerable: true},\n\turl: {enumerable: true},\n\theaders: {enumerable: true},\n\tredirect: {enumerable: true},\n\tclone: {enumerable: true},\n\tsignal: {enumerable: true},\n\treferrer: {enumerable: true},\n\treferrerPolicy: {enumerable: true}\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param {Request} request - A Request instance\n * @return The options object to be passed to http.request\n */\nexport const getNodeRequestOptions = request => {\n\tconst {parsedURL} = request[INTERNALS];\n\tconst headers = new Headers(request[INTERNALS].headers);\n\n\t// Fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body === null && /^(post|put)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\n\tif (request.body !== null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\t// Set Content-Length if totalBytes is a number (that is not NaN)\n\t\tif (typeof totalBytes === 'number' && !Number.isNaN(totalBytes)) {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// 4.1. Main fetch, step 2.6\n\t// > If request's referrer policy is the empty string, then set request's referrer policy to the\n\t// > default referrer policy.\n\tif (request.referrerPolicy === '') {\n\t\trequest.referrerPolicy = DEFAULT_REFERRER_POLICY;\n\t}\n\n\t// 4.1. Main fetch, step 2.7\n\t// > If request's referrer is not \"no-referrer\", set request's referrer to the result of invoking\n\t// > determine request's referrer.\n\tif (request.referrer && request.referrer !== 'no-referrer') {\n\t\trequest[INTERNALS].referrer = determineRequestsReferrer(request);\n\t} else {\n\t\trequest[INTERNALS].referrer = 'no-referrer';\n\t}\n\n\t// 4.5. HTTP-network-or-cache fetch, step 6.9\n\t// > If httpRequest's referrer is a URL, then append `Referer`/httpRequest's referrer, serialized\n\t// > and isomorphic encoded, to httpRequest's header list.\n\tif (request[INTERNALS].referrer instanceof URL) {\n\t\theaders.set('Referer', request.referrer);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip, deflate, br');\n\t}\n\n\tlet {agent} = request;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\tconst search = getSearch(parsedURL);\n\n\t// Pass the full URL directly to request(), but overwrite the following\n\t// options:\n\tconst options = {\n\t\t// Overwrite search to retain trailing ? (issue #776)\n\t\tpath: parsedURL.pathname + search,\n\t\t// The following options are not expressed in the URL\n\t\tmethod: request.method,\n\t\theaders: headers[Symbol.for('nodejs.util.inspect.custom')](),\n\t\tinsecureHTTPParser: request.insecureHTTPParser,\n\t\tagent\n\t};\n\n\treturn {\n\t\t/** @type {URL} */\n\t\tparsedURL,\n\t\toptions\n\t};\n};\n","import {FetchBaseError} from './base.js';\n\n/**\n * AbortError interface for cancelled requests\n */\nexport class AbortError extends FetchBaseError {\n\tconstructor(message, type = 'aborted') {\n\t\tsuper(message, type);\n\t}\n}\n","/**\n * Index.js\n *\n * a request API compatible with window.fetch\n *\n * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/.\n */\n\nimport http from 'node:http';\nimport https from 'node:https';\nimport zlib from 'node:zlib';\nimport Stream, {PassThrough, pipeline as pump} from 'node:stream';\nimport {Buffer} from 'node:buffer';\n\nimport dataUriToBuffer from 'data-uri-to-buffer';\n\nimport {writeToStream, clone} from './body.js';\nimport Response from './response.js';\nimport Headers, {fromRawHeaders} from './headers.js';\nimport Request, {getNodeRequestOptions} from './request.js';\nimport {FetchError} from './errors/fetch-error.js';\nimport {AbortError} from './errors/abort-error.js';\nimport {isRedirect} from './utils/is-redirect.js';\nimport {FormData} from 'formdata-polyfill/esm.min.js';\nimport {isDomainOrSubdomain, isSameProtocol} from './utils/is.js';\nimport {parseReferrerPolicyFromHeader} from './utils/referrer.js';\nimport {\n\tBlob,\n\tFile,\n\tfileFromSync,\n\tfileFrom,\n\tblobFromSync,\n\tblobFrom\n} from 'fetch-blob/from.js';\n\nexport {FormData, Headers, Request, Response, FetchError, AbortError, isRedirect};\nexport {Blob, File, fileFromSync, fileFrom, blobFromSync, blobFrom};\n\nconst supportedSchemas = new Set(['data:', 'http:', 'https:']);\n\n/**\n * Fetch function\n *\n * @param {string | URL | import('./request').default} url - Absolute url or Request instance\n * @param {*} [options_] - Fetch options\n * @return {Promise}\n */\nexport default async function fetch(url, options_) {\n\treturn new Promise((resolve, reject) => {\n\t\t// Build request object\n\t\tconst request = new Request(url, options_);\n\t\tconst {parsedURL, options} = getNodeRequestOptions(request);\n\t\tif (!supportedSchemas.has(parsedURL.protocol)) {\n\t\t\tthrow new TypeError(`node-fetch cannot load ${url}. URL scheme \"${parsedURL.protocol.replace(/:$/, '')}\" is not supported.`);\n\t\t}\n\n\t\tif (parsedURL.protocol === 'data:') {\n\t\t\tconst data = dataUriToBuffer(request.url);\n\t\t\tconst response = new Response(data, {headers: {'Content-Type': data.typeFull}});\n\t\t\tresolve(response);\n\t\t\treturn;\n\t\t}\n\n\t\t// Wrap http.request into fetch\n\t\tconst send = (parsedURL.protocol === 'https:' ? https : http).request;\n\t\tconst {signal} = request;\n\t\tlet response = null;\n\n\t\tconst abort = () => {\n\t\t\tconst error = new AbortError('The operation was aborted.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\n\t\t\tif (!response || !response.body) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = () => {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// Send request\n\t\tconst request_ = send(parsedURL.toString(), options);\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tconst finalize = () => {\n\t\t\trequest_.abort();\n\t\t\tif (signal) {\n\t\t\t\tsignal.removeEventListener('abort', abortAndFinalize);\n\t\t\t}\n\t\t};\n\n\t\trequest_.on('error', error => {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${error.message}`, 'system', error));\n\t\t\tfinalize();\n\t\t});\n\n\t\tfixResponseChunkedTransferBadEnding(request_, error => {\n\t\t\tif (response && response.body) {\n\t\t\t\tresponse.body.destroy(error);\n\t\t\t}\n\t\t});\n\n\t\t/* c8 ignore next 18 */\n\t\tif (process.version < 'v14') {\n\t\t\t// Before Node.js 14, pipeline() does not fully support async iterators and does not always\n\t\t\t// properly handle when the socket close/end events are out of order.\n\t\t\trequest_.on('socket', s => {\n\t\t\t\tlet endedWithEventsCount;\n\t\t\t\ts.prependListener('end', () => {\n\t\t\t\t\tendedWithEventsCount = s._eventsCount;\n\t\t\t\t});\n\t\t\t\ts.prependListener('close', hadError => {\n\t\t\t\t\t// if end happened before close but the socket didn't emit an error, do it now\n\t\t\t\t\tif (response && endedWithEventsCount < s._eventsCount && !hadError) {\n\t\t\t\t\t\tconst error = new Error('Premature close');\n\t\t\t\t\t\terror.code = 'ERR_STREAM_PREMATURE_CLOSE';\n\t\t\t\t\t\tresponse.body.emit('error', error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\trequest_.on('response', response_ => {\n\t\t\trequest_.setTimeout(0);\n\t\t\tconst headers = fromRawHeaders(response_.rawHeaders);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (isRedirect(response_.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL(location, request.url);\n\t\t\t\t} catch {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// Nothing to do\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow': {\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOptions = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: clone(request),\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\tsize: request.size,\n\t\t\t\t\t\t\treferrer: request.referrer,\n\t\t\t\t\t\t\treferrerPolicy: request.referrerPolicy\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// when forwarding sensitive headers like \"Authorization\",\n\t\t\t\t\t\t// \"WWW-Authenticate\", and \"Cookie\" to untrusted targets,\n\t\t\t\t\t\t// headers will be ignored when following a redirect to a domain\n\t\t\t\t\t\t// that is not a subdomain match or exact match of the initial domain.\n\t\t\t\t\t\t// For example, a redirect from \"foo.com\" to either \"foo.com\" or \"sub.foo.com\"\n\t\t\t\t\t\t// will forward the sensitive headers, but a redirect to \"bar.com\" will not.\n\t\t\t\t\t\t// headers will also be ignored when following a redirect to a domain using\n\t\t\t\t\t\t// a different protocol. For example, a redirect from \"https://foo.com\" to \"http://foo.com\"\n\t\t\t\t\t\t// will not forward the sensitive headers\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOptions.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (response_.statusCode !== 303 && request.body && options_.body instanceof Stream.Readable) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (response_.statusCode === 303 || ((response_.statusCode === 301 || response_.statusCode === 302) && request.method === 'POST')) {\n\t\t\t\t\t\t\trequestOptions.method = 'GET';\n\t\t\t\t\t\t\trequestOptions.body = undefined;\n\t\t\t\t\t\t\trequestOptions.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 14\n\t\t\t\t\t\tconst responseReferrerPolicy = parseReferrerPolicyFromHeader(headers);\n\t\t\t\t\t\tif (responseReferrerPolicy) {\n\t\t\t\t\t\t\trequestOptions.referrerPolicy = responseReferrerPolicy;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOptions)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn reject(new TypeError(`Redirect option '${request.redirect}' is not a valid value of RequestRedirect`));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Prepare response\n\t\t\tif (signal) {\n\t\t\t\tresponse_.once('end', () => {\n\t\t\t\t\tsignal.removeEventListener('abort', abortAndFinalize);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tlet body = pump(response_, new PassThrough(), error => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\t\t\t});\n\t\t\t// see https://github.com/nodejs/node/pull/29376\n\t\t\t/* c8 ignore next 3 */\n\t\t\tif (process.version < 'v12.10') {\n\t\t\t\tresponse_.on('aborted', abortAndFinalize);\n\t\t\t}\n\n\t\t\tconst responseOptions = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: response_.statusCode,\n\t\t\t\tstatusText: response_.statusMessage,\n\t\t\t\theaders,\n\t\t\t\tsize: request.size,\n\t\t\t\tcounter: request.counter,\n\t\t\t\thighWaterMark: request.highWaterMark\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || response_.statusCode === 204 || response_.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// For gzip\n\t\t\tif (codings === 'gzip' || codings === 'x-gzip') {\n\t\t\t\tbody = pump(body, zlib.createGunzip(zlibOptions), error => {\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For deflate\n\t\t\tif (codings === 'deflate' || codings === 'x-deflate') {\n\t\t\t\t// Handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = pump(response_, new PassThrough(), error => {\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\traw.once('data', chunk => {\n\t\t\t\t\t// See http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = pump(body, zlib.createInflate(), error => {\n\t\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\t\treject(error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = pump(body, zlib.createInflateRaw(), error => {\n\t\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\t\treject(error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\traw.once('end', () => {\n\t\t\t\t\t// Some old IIS servers return zero-length OK deflate responses, so\n\t\t\t\t\t// 'data' is never emitted. See https://github.com/node-fetch/node-fetch/pull/903\n\t\t\t\t\tif (!response) {\n\t\t\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For br\n\t\t\tif (codings === 'br') {\n\t\t\t\tbody = pump(body, zlib.createBrotliDecompress(), error => {\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tresponse = new Response(body, responseOptions);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Otherwise, use response as-is\n\t\t\tresponse = new Response(body, responseOptions);\n\t\t\tresolve(response);\n\t\t});\n\n\t\t// eslint-disable-next-line promise/prefer-await-to-then\n\t\twriteToStream(request_, request).catch(reject);\n\t});\n}\n\nfunction fixResponseChunkedTransferBadEnding(request, errorCallback) {\n\tconst LAST_CHUNK = Buffer.from('0\\r\\n\\r\\n');\n\n\tlet isChunkedTransfer = false;\n\tlet properLastChunkReceived = false;\n\tlet previousChunk;\n\n\trequest.on('response', response => {\n\t\tconst {headers} = response;\n\t\tisChunkedTransfer = headers['transfer-encoding'] === 'chunked' && !headers['content-length'];\n\t});\n\n\trequest.on('socket', socket => {\n\t\tconst onSocketClose = () => {\n\t\t\tif (isChunkedTransfer && !properLastChunkReceived) {\n\t\t\t\tconst error = new Error('Premature close');\n\t\t\t\terror.code = 'ERR_STREAM_PREMATURE_CLOSE';\n\t\t\t\terrorCallback(error);\n\t\t\t}\n\t\t};\n\n\t\tconst onData = buf => {\n\t\t\tproperLastChunkReceived = Buffer.compare(buf.slice(-5), LAST_CHUNK) === 0;\n\n\t\t\t// Sometimes final 0-length chunk and end of message code are in separate packets\n\t\t\tif (!properLastChunkReceived && previousChunk) {\n\t\t\t\tproperLastChunkReceived = (\n\t\t\t\t\tBuffer.compare(previousChunk.slice(-3), LAST_CHUNK.slice(0, 3)) === 0 &&\n\t\t\t\t\tBuffer.compare(buf.slice(-2), LAST_CHUNK.slice(3)) === 0\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tpreviousChunk = buf;\n\t\t};\n\n\t\tsocket.prependListener('close', onSocketClose);\n\t\tsocket.on('data', onData);\n\n\t\trequest.on('close', () => {\n\t\t\tsocket.removeListener('close', onSocketClose);\n\t\t\tsocket.removeListener('data', onData);\n\t\t});\n\t});\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { MiddlewareHandler } from \"@/utils/functions\";\nimport { asString } from \"@/utils/string-utils\";\nimport { cloneHeaders, setDefaultHeaders } from \"./headers\";\nimport { canHttpMethodAcceptBody, httpMethodEquals } from \"./http-method\";\nimport { isURLSearchParams } from \"./query-string\";\n/* eslint-disable-next-line no-restricted-imports */\nimport nodeFetch from \"node-fetch\";\n/**\n * Default headers to be used in requests.\n */\nconst DEFAULT_HEADERS = {\n \"User-Agent\": `Kir-Antipov/${ACTION_NAME} (https://github.com/Kir-Antipov/${ACTION_NAME}/issues/new)`,\n};\n/**\n * The pre-configured instance of the {@link Fetch} function.\n */\nexport const fetch = createFetch({\n handler: nodeFetch,\n defaultHeaders: DEFAULT_HEADERS,\n});\n/**\n * Creates a new instance of a configurable fetch function with the given options.\n *\n * @param options - Optional settings to configure the new fetch function.\n *\n * @returns A new instance of a {@link ConfigurableFetch} function.\n */\nexport function createFetch(options) {\n const { handler = fetch, baseUrl, defaultHeaders, } = options || {};\n const fetchPipeline = new MiddlewareHandler(handler);\n const configurableFetch = ((url, request) => {\n url = prepareUrl(configurableFetch, url, request);\n request = prepareRequest(configurableFetch, request);\n return fetchPipeline.execute(url, request);\n });\n configurableFetch.baseUrl = baseUrl || handler.baseUrl;\n configurableFetch.defaultHeaders = setDefaultHeaders(cloneHeaders(defaultHeaders), handler.defaultHeaders);\n Object.defineProperty(configurableFetch, \"use\", { value: (middleware) => {\n fetchPipeline.use(middleware);\n return configurableFetch;\n } });\n return configurableFetch;\n}\n/**\n * Prepares a URL to be used in a fetch request.\n *\n * Resolves relative URLs.\n *\n * @param fetch - The {@link ConfigurableFetch} instance.\n * @param url - The URL to be prepared.\n *\n * @returns The prepared URL.\n */\nfunction prepareUrl(fetch, url, request) {\n // Resolve url\n if (fetch.baseUrl && typeof url === \"string\" && url.startsWith(\"/\")) {\n // Wow. In order for `new URL(url, base)` to actually do its job,\n // we need this ugly mess to ensure that path doesn't start with \"/\",\n // and base url does end with \"/\".\n //\n // https://github.com/nodejs/node/issues/18288\n //\n // > So, we can't have a function that everybody needs all the time because of semantical correctness?\n //\n // Yeah, the way to go. Super-cool.\n const urlWithoutSlashOnItsStart = url.slice(1);\n const baseUrl = asString(fetch.baseUrl);\n const baseUrlWithSlashOnItsEnd = baseUrl.endsWith(\"/\") ? baseUrl : `${baseUrl}/`;\n url = new URL(urlWithoutSlashOnItsStart, baseUrlWithSlashOnItsEnd);\n }\n // Attach `URLSearchParams` to URL\n if (isURLSearchParams(request?.body) && !canHttpMethodAcceptBody(request?.method)) {\n if (typeof url === \"string\") {\n url = `${url}${url.includes(\"?\") ? \"&\" : \"?\"}${request.body}`;\n }\n else {\n request.body.forEach((param, key) => url.searchParams.append(key, param));\n }\n }\n return url;\n}\n/**\n * Prepares an HTTP request with the default headers from a {@link ConfigurableFetch} instance.\n *\n * @param fetch - The {@link ConfigurableFetch} instance.\n * @param request - The optional {@link HttpRequest} to be prepared.\n *\n * @returns The prepared {@link HttpRequest} with default headers applied.\n */\nfunction prepareRequest(fetch, request) {\n // Set default headers\n if (fetch.defaultHeaders) {\n request ||= {};\n request.headers = setDefaultHeaders(request.headers, fetch.defaultHeaders);\n }\n // Remove body from GET/HEAD requests\n if (request?.body && !canHttpMethodAcceptBody(request.method)) {\n delete request.body;\n }\n return request;\n}\n/**\n * Checks whether two fetch destinations (URLs) are equal.\n *\n * @param left - The first fetch URL or a tuple containing the URL and an `HttpRequest` or `HttpMethod`.\n * @param right - The second fetch URL or a tuple containing the URL and an `HttpRequest` or `HttpMethod`.\n *\n * @returns A boolean indicating whether the destinations are the same.\n */\nexport function fetchDestinationEquals(left, right) {\n const [leftUrl, leftMethod] = Array.isArray(left) ? [normalizeUrl(left[0]), normalizeHttpMethod(left[1])] : [normalizeUrl(left)];\n const [rightUrl, rightMethod] = Array.isArray(right) ? [normalizeUrl(right[0]), normalizeHttpMethod(right[1])] : [normalizeUrl(right)];\n return httpMethodEquals(leftMethod, rightMethod) && leftUrl === rightUrl;\n}\n/**\n * Normalizes a fetch URL, converting it to a string if necessary.\n *\n * @param url - The fetch URL to normalize.\n *\n * @returns A normalized string URL.\n */\nfunction normalizeUrl(url) {\n const urlString = asString(url);\n const separatorIndex = urlString.indexOf(\"?\");\n return separatorIndex >= 0 ? urlString.substring(0, separatorIndex) : urlString;\n}\n/**\n * Normalizes an HTTP method, extracting it from an `HttpRequest` if necessary.\n *\n * @param method - The `HttpMethod` or `HttpRequest` to normalize.\n *\n * @returns A normalized `HttpMethod`.\n */\nfunction normalizeHttpMethod(method) {\n return typeof method === \"string\" ? method : method?.method;\n}\n","import { ArgumentNullError } from \"@/utils/errors\";\nimport { asString } from \"@/utils/string-utils\";\n/* eslint-disable-next-line no-restricted-imports */\nimport { Headers as NodeFetchHeaders, Response } from \"node-fetch\";\n/**\n * Represents the response to an HTTP request.\n */\nexport class HttpResponse {\n /**\n * Private constructor to prevent instantiation.\n */\n constructor() {\n // NO OP\n }\n /**\n * Creates a cached HTTP response from the given response.\n *\n * @param response - The HTTP response to be cached.\n *\n * @returns A cached version of the given HTTP response.\n */\n static cache(response) {\n return response instanceof CachedHttpResponse ? response : new CachedHttpResponse(response);\n }\n /**\n * Creates a new {@link HttpResponse} with a `Blob` body.\n *\n * @param blob - The `Blob` instance to be used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static blob(blob, options) {\n return HttpResponse.content(blob, \"application/octet-stream\", options);\n }\n /**\n * Creates a new {@link HttpResponse} with a `FormData` body.\n *\n * @param formData - The `FormData` instance to be used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static formData(formData, options) {\n // Response constructor will automatically set the \"Content-Type\" header.\n return HttpResponse.content(formData, undefined, options);\n }\n /**\n * Creates a new {@link HttpResponse} with a JSON body.\n *\n * @param data - The data to be serialized as JSON and used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static json(data, options) {\n const serialized = typeof data === \"string\" ? data : JSON.stringify(data);\n return HttpResponse.content(serialized, \"application/json\", options);\n }\n /**\n * Creates a new {@link HttpResponse} with a text body.\n *\n * @param text - The text to be used as the response body.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static text(text, options) {\n return HttpResponse.content(asString(text), \"text/plain\", options);\n }\n /**\n * Creates a new {@link HttpResponse} with a redirection status.\n *\n * @param url - The URL to redirect to.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static redirect(url, options) {\n const headers = new NodeFetchHeaders(options?.headers);\n if (!headers.has(\"Location\")) {\n headers.set(\"Location\", asString(url));\n }\n const redirectOptions = {\n headers,\n status: options.status ?? 302,\n statusText: options.statusText ?? \"Found\",\n };\n return new Response(\"\", redirectOptions);\n }\n /**\n * Creates a new {@link HttpResponse} representing an error.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static error() {\n return Response.error();\n }\n /**\n * Creates a new {@link HttpResponse} with the given content and content type.\n *\n * @param data - The data to be used as the response body.\n * @param contentType - The MIME type of the content.\n * @param options - Options to configure the response.\n *\n * @returns The newly created {@link HttpResponse} instance.\n */\n static content(data, contentType, options) {\n ArgumentNullError.throwIfNull(data);\n const headers = new NodeFetchHeaders(options?.headers);\n if (contentType && !headers.has(\"Content-Type\")) {\n headers.set(\"Content-Type\", contentType);\n }\n return new Response(data, { status: options?.status, statusText: options?.statusText, headers });\n }\n}\n/**\n * Represents a cached version of an HTTP response.\n */\nclass CachedHttpResponse {\n /**\n * The original HttpResponse instance.\n */\n _response;\n /**\n * The cached Blob of the response body.\n */\n _blob;\n /**\n * The cached FormData of the response body.\n */\n _formData;\n /**\n * Creates a new {@link CachedHttpResponse} instance.\n *\n * @param response - The {@link HttpResponse} to be cached.\n */\n constructor(response) {\n this._response = response;\n }\n /**\n * @inheritdoc\n */\n get body() {\n if (this._blob) {\n return this._blob.stream();\n }\n if (!this._response.bodyUsed) {\n return this._response.body;\n }\n throw new Error(\"Cannot re-read the response body.\");\n }\n /**\n * @inheritdoc\n */\n get bodyUsed() {\n return !this._blob && !this._formData && this._response.bodyUsed;\n }\n /**\n * @inheritdoc\n */\n get headers() {\n return this._response.headers;\n }\n /**\n * @inheritdoc\n */\n get ok() {\n return this._response.ok;\n }\n /**\n * @inheritdoc\n */\n get redirected() {\n return this._response.redirected;\n }\n /**\n * @inheritdoc\n */\n get status() {\n return this._response.status;\n }\n /**\n * @inheritdoc\n */\n get statusText() {\n return this._response.statusText;\n }\n /**\n * @inheritdoc\n */\n get type() {\n return this._response.type;\n }\n /**\n * @inheritdoc\n */\n get url() {\n return this._response.url;\n }\n /**\n * @inheritdoc\n */\n clone() {\n return this;\n }\n /**\n * @inheritdoc\n */\n async arrayBuffer() {\n const blob = await this.blob();\n return await blob.arrayBuffer();\n }\n /**\n * @inheritdoc\n */\n async blob() {\n if (this._blob) {\n return this._blob;\n }\n if (!this._response.bodyUsed) {\n this._blob = await this._response.blob();\n return this._blob;\n }\n throw new TypeError(\"Cannot re-read the response as a Blob.\");\n }\n /**\n * @inheritdoc\n */\n async formData() {\n if (this._formData) {\n return this._formData;\n }\n if (!this._response.bodyUsed) {\n this._formData = await this._response.formData();\n return this._formData;\n }\n throw new TypeError(\"Cannot re-read the response as a FormData.\");\n }\n /**\n * @inheritdoc\n */\n async json() {\n const text = await this.text();\n return JSON.parse(text);\n }\n /**\n * @inheritdoc\n */\n async text() {\n const blob = await this.blob();\n return await blob.text();\n }\n}\n","import { ArrayMap } from \"@/utils/collections\";\nimport { HttpError } from \"@/utils/errors\";\nimport { asString } from \"@/utils/string-utils\";\nimport { httpMethodEquals } from \"./http-method\";\nimport { HttpResponse } from \"./http-response\";\n/**\n * Creates a middleware function that provides a default response to\n * HTTP requests based on the provided options.\n *\n * The default behavior is to apply a default response when the HTTP response status is `404`.\n *\n * @param options - Configuration options for the default response behavior.\n *\n * @returns A middleware function that applies the default response logic.\n */\nexport function defaultResponse(options) {\n const { filter = (r) => r.status === 404, response: responseFactory = (r) => HttpResponse.text(\"\", r), } = options || {};\n return async (url, options, next) => {\n const response = await next(url, options);\n if (filter(response)) {\n return responseFactory(response);\n }\n return response;\n };\n}\n/**\n * Middleware that throws an error for certain HTTP responses based on the provided options.\n *\n * The default behavior is to throw an error when the HTTP response has a non-ok (not 2xx) status.\n *\n * @param options - Configuration options for the error throwing behavior.\n *\n * @returns A middleware function that applies the error throwing logic.\n */\nexport function throwOnError(options) {\n const { filter = (r) => !r.ok, error = HttpError.fromResponse, } = options || {};\n return async (url, options, next) => {\n const response = await next(url, options);\n if (filter(response)) {\n const errorInstance = typeof error === \"function\" ? (await error(response)) : error;\n throw errorInstance;\n }\n return response;\n };\n}\n/**\n * The default cache filter function.\n *\n * It checks if the URL has a \"cache\" query parameter.\n * If the \"cache\" parameter is present without a value or with a value of \"true\" (case-insensitive),\n * the request will be cached. Otherwise, the request will not be cached.\n */\nconst DEFAULT_CACHE_FILTER = (url) => typeof url === \"string\" ? url.includes(\"cache=true\") : (url.searchParams.get(\"cache\") === \"true\");\n/**\n * The default cache key comparer function.\n *\n * It checks if the URL and HTTP method of the two requests are equal.\n * If they are equal, the response will be retrieved from the cache.\n * Otherwise, the response will not be retrieved from the cache.\n */\nconst DEFAULT_CACHE_COMPARER = (left, right) => {\n return httpMethodEquals(left[1]?.method, right[1]?.method) && asString(left[0]) === asString(right[0]);\n};\n/**\n * Creates a simple cache middleware for caching HTTP responses.\n *\n * The middleware intercepts requests and caches their responses based on the provided filter and comparer functions.\n *\n * By default, it caches requests with a \"cache\" query parameter set to \"true\" or an empty value\n * based on their URL and HTTP method.\n *\n * @param options - Configuration options for caching behavior.\n *\n * @returns A middleware function that enables response caching.\n */\nexport function simpleCache(options) {\n const { filter = DEFAULT_CACHE_FILTER, comparer = DEFAULT_CACHE_COMPARER, } = options || {};\n const cache = new ArrayMap(comparer);\n return async (url, request, next) => {\n if (!filter(url, request)) {\n return await next(url, request);\n }\n const cacheKey = [url, request];\n const cachedResponse = cache.get(cacheKey);\n if (cachedResponse) {\n return cachedResponse;\n }\n const response = HttpResponse.cache(await next(url, request));\n cache.set(cacheKey, response);\n return response;\n };\n}\n","import { isFormData, toFormData } from \"./form-data\";\nimport { inferHttpRequestBodyHeaders, setDefaultHeaders, setHeader } from \"./headers\";\nimport { isGetHttpMethod } from \"./http-method\";\nimport { isHttpRequestBody } from \"./http-request-body\";\nimport { QueryString, isURLSearchParams } from \"./query-string\";\n/**\n * Represents an HTTP request configuration.\n */\nexport class HttpRequest {\n /**\n * Private constructor to prevent instantiation.\n */\n constructor() {\n // NO OP\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a GET request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static get(options) {\n return new HttpRequestBuilder(\"GET\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a POST request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static post(options) {\n return new HttpRequestBuilder(\"POST\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a PATCH request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static patch(options) {\n return new HttpRequestBuilder(\"PATCH\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a PUT request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static put(options) {\n return new HttpRequestBuilder(\"PUT\", options);\n }\n /**\n * Creates a new `HttpRequestBuilder` instance for a DELETE request.\n *\n * @param options - The optional request configuration.\n *\n * @returns The newly created `HttpRequestBuilder` instance.\n */\n static delete(options) {\n return new HttpRequestBuilder(\"DELETE\", options);\n }\n}\n/**\n * Class to build and configure HTTP requests.\n */\nclass HttpRequestBuilder {\n /**\n * @inheritdoc\n */\n method;\n /**\n * @inheritdoc\n */\n body;\n /**\n * @inheritdoc\n */\n headers;\n /**\n * @inheritdoc\n */\n redirect;\n /**\n * @inheritdoc\n */\n signal;\n /**\n * @inheritdoc\n */\n referrer;\n /**\n * @inheritdoc\n */\n referrerPolicy;\n /**\n * Constructs a new `HttpRequestBuilder` instance.\n *\n * @param method - The HTTP method for the request.\n * @param options - The optional request configuration.\n */\n constructor(method, options) {\n Object.assign(this, options);\n this.method = method;\n }\n /**\n * Sets the request data based on the request method.\n *\n * If the request method is a GET request, the data is set as URL parameters.\n * For non-GET requests, the data is set as the request body in a suitable format (`FormData`, for example).\n *\n * If the provided data is a string and the request method is GET, the data will be set as\n * URL parameters. For non-GET requests, the data will be set as a plain text request body.\n *\n * If the provided data is an iterable or a record, and the request method is GET, the data\n * will be converted into URL parameters. For non-GET requests, the data will be converted\n * into a `FormData` object.\n *\n * @param data - The data to be sent with the request.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n with(data) {\n if (typeof data === \"string\") {\n return isGetHttpMethod(this.method) ? this.urlParams(data) : this.text(data);\n }\n if (data === undefined || data === null || isHttpRequestBody(data)) {\n this.body = data ?? undefined;\n const bodyHeaders = inferHttpRequestBodyHeaders(this.body);\n this.headers = setDefaultHeaders(this.headers, bodyHeaders);\n return this;\n }\n return isGetHttpMethod(this.method) ? this.urlParams(data) : this.formData(data);\n }\n /**\n * Sets the request URL parameters.\n *\n * @param params - The URL parameters.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n urlParams(params) {\n if (!isURLSearchParams(params)) {\n params = new QueryString(params);\n }\n this.body = params;\n return this;\n }\n /**\n * Sets the request body as a `FormData` object.\n *\n * @param data - The `FormData` content.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n formData(data) {\n if (!isFormData(data)) {\n data = toFormData(data);\n }\n this.body = data;\n return this;\n }\n /**\n * Sets the request body as a JSON string.\n *\n * @param obj - The JSON object or string to be sent as the request body.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n json(obj) {\n const serialized = typeof obj === \"string\" ? obj : JSON.stringify(obj);\n this.body = serialized;\n this.headers = setHeader(this.headers, \"Content-Type\", \"application/json\");\n return this;\n }\n /**\n * Sets the request body as a plain text string.\n *\n * @param text - The text to be sent as the request body.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n text(text) {\n this.body = text;\n this.headers = setHeader(this.headers, \"Content-Type\", \"text/plain\");\n return this;\n }\n /**\n * Sets an `AbortSignal` to cancel the request.\n *\n * @param signal - The `AbortSignal` to cancel the request.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n abort(signal) {\n this.signal = signal;\n return this;\n }\n /**\n * Sets a timeout for the request.\n *\n * @param ms - The timeout duration in milliseconds.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n timeout(ms) {\n return this.abort(AbortSignal.timeout(ms));\n }\n /**\n * Sets a single request header.\n *\n * @param header - The header name.\n * @param value - The header value.\n *\n * @returns The current `HttpRequestBuilder` instance.\n */\n header(header, value) {\n this.headers = setHeader(this.headers, header, value);\n return this;\n }\n}\n","/* eslint-disable no-cond-assign */\nimport { asArrayLike, isIterable } from \"@/utils/collections\";\nimport { noneVersionRange, parseVersionRange } from \"@/utils/versioning\";\nimport { MinecraftVersionType } from \"./minecraft-version-type\";\n/**\n * The regular expression pattern to match various Minecraft version strings.\n */\nconst VERSION_PATTERN = (\"0\\\\.\\\\d+(?:\\\\.\\\\d+)?a?(?:_\\\\d+)?|\" +\n \"\\\\d+\\\\.\\\\d+(?:\\\\.\\\\d+)?(?:-pre\\\\d+| Pre-[Rr]elease \\\\d+|-rc\\\\d+| [Rr]elease Candidate \\\\d+)?|\" +\n \"\\\\d+w\\\\d+(?:[a-z]+|~)|\" +\n \"[a-c]\\\\d\\\\.\\\\d+(?:\\\\.\\\\d+)?[a-z]?(?:_\\\\d+)?[a-z]?|\" +\n \"(Alpha|Beta) v?\\\\d+\\\\.\\\\d+(?:\\\\.\\\\d+)?[a-z]?(?:_\\\\d+)?[a-z]?|\" +\n \"Inf?dev (?:0\\\\.31 )?\\\\d+(?:-\\\\d+)?|\" +\n \"(?:rd|inf)-\\\\d+|\" +\n \"(?:.*[Ee]xperimental [Ss]napshot )(?:\\\\d+)\");\n/**\n * Regular expression for matching and validating Minecraft version strings.\n */\nconst VERSION_REGEX = new RegExp(VERSION_PATTERN);\n/**\n * Regular expression for matching and validating release Minecraft versions.\n */\nconst RELEASE_REGEX = /\\d+\\.\\d+(\\.\\d+)?/;\n/**\n * Regular expression for matching and validating pre-release Minecraft versions.\n */\nconst PRE_RELEASE_REGEX = /.+(?:-pre| Pre-[Rr]elease )(\\d+)/;\n/**\n * Regular expression for matching and validating release candidate Minecraft versions.\n */\nconst RELEASE_CANDIDATE_REGEX = /.+(?:-rc| [Rr]elease Candidate )(\\d+)/;\n/**\n * Regular expression for matching and validating snapshot Minecraft versions.\n */\nconst SNAPSHOT_REGEX = /(?:Snapshot )?(\\d+)w0?(0|[1-9]\\d*)([a-z])/;\n/**\n * Regular expression for matching and validating experimental snapshot Minecraft versions.\n */\nconst EXPERIMENTAL_REGEX = /(?:.*[Ee]xperimental [Ss]napshot )(\\d+)/;\n/**\n * Regular expression for matching and validating beta Minecraft versions.\n */\nconst BETA_REGEX = /(?:b|Beta v?)1\\.(\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?)/;\n/**\n * Regular expression for matching and validating alpha Minecraft versions.\n */\nconst ALPHA_REGEX = /(?:a|Alpha v?)[01]\\.(\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?)/;\n/**\n * Regular expression for matching and validating in-development Minecraft versions.\n */\nconst INDEV_REGEX = /(?:inf-|Inf?dev )(?:0\\.31 )?(\\d+(-\\d+)?)/;\n/**\n * Represents the range of legacy Minecraft versions.\n *\n * It is used to determine if a given Minecraft version string is considered a legacy version or not.\n * In our case, versions less than or equal to `1.16` are considered legacy.\n */\nconst LEGACY_VERSION_RANGE = parseVersionRange(\"<=1.16\");\n/**\n * A map of special Minecraft versions (e.g., April Fools' ones) and their normalized counterparts.\n */\nconst SPECIAL_VERSIONS = new Map([\n [\"13w12~\", \"1.5.1-alpha.13.12.a\"],\n [\"2point0_red\", \"1.5.2-red\"],\n [\"2point0_purple\", \"1.5.2-purple\"],\n [\"2point0_blue\", \"1.5.2-blue\"],\n [\"15w14a\", \"1.8.4-alpha.15.14.a+loveandhugs\"],\n [\"1.RV-Pre1\", \"1.9.2-rv+trendy\"],\n [\"3D Shareware v1.34\", \"1.14-alpha.19.13.shareware\"],\n [\"1.14.3 - Combat Test\", \"1.14.3-rc.4.combat.1\"],\n [\"Combat Test 2\", \"1.14.5-combat.2\"],\n [\"Combat Test 3\", \"1.14.5-combat.3\"],\n [\"Combat Test 4\", \"1.15-rc.3.combat.4\"],\n [\"Combat Test 5\", \"1.15.2-rc.2.combat.5\"],\n [\"20w14~\", \"1.16-alpha.20.13.inf\"],\n [\"20w14infinite\", \"1.16-alpha.20.13.inf\"],\n [\"Combat Test 6\", \"1.16.2-beta.3.combat.6\"],\n [\"Combat Test 7\", \"1.16.3-combat.7\"],\n [\"1.16_combat-2\", \"1.16.3-combat.7.b\"],\n [\"1.16_combat-3\", \"1.16.3-combat.7.c\"],\n [\"1.16_combat-4\", \"1.16.3-combat.8\"],\n [\"1.16_combat-5\", \"1.16.3-combat.8.b\"],\n [\"1.16_combat-6\", \"1.16.3-combat.8.c\"],\n [\"22w13oneblockatatime\", \"1.19-alpha.22.13.oneblockatatime\"],\n [\"23w13a_or_b\", \"1.20-alpha.23.13.ab\"],\n]);\n/**\n * Normalizes a given Minecraft version string.\n *\n * @param version - The Minecraft version string to normalize.\n * @param versions - Optional Minecraft version manifest entries.\n * @param index - Optional index of the Minecraft version in the manifest entries.\n *\n * @returns The normalized Minecraft version string.\n */\nexport function normalizeMinecraftVersion(version, versions, index) {\n const releaseVersion = versions ? findNearestReleaseMinecraftVersion(versions, index) : version.match(RELEASE_REGEX)?.[0];\n return normalizeUnknownMinecraftVersion(version, releaseVersion);\n}\n/**\n * Normalizes a Minecraft version range.\n *\n * @param range - The version range to normalize.\n * @param versions - A map of Minecraft versions and their corresponding ids.\n * @param versionRegex - A regular expression for matching Minecraft versions.\n *\n * @returns The normalized Minecraft version range.\n */\nexport function normalizeMinecraftVersionRange(range, versions, versionRegex) {\n if (!isIterable(range)) {\n return range;\n }\n const ranges = typeof range === \"string\" ? [range] : asArrayLike(range);\n const normalizedRanges = ranges.map((r) => r.replaceAll(versionRegex, x => {\n const version = versions.get(x);\n if (version) {\n return String(version.version);\n }\n return normalizeMinecraftVersion(x);\n }));\n return parseVersionRange(normalizedRanges) || noneVersionRange(normalizedRanges.join(\" || \"));\n}\n/**\n * Generates a regular expression for matching Minecraft versions.\n *\n * @param versions - Optional collection of Minecraft versions that should satisfy the resulting regex.\n *\n * @returns A regular expression for matching Minecraft versions.\n */\nexport function getMinecraftVersionRegExp(versions) {\n if (!versions) {\n return VERSION_REGEX;\n }\n let pattern = VERSION_PATTERN;\n for (const version of versions) {\n if (version.match(VERSION_REGEX)?.[0] !== version) {\n pattern = `${version.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\")}|${pattern}`;\n }\n }\n return new RegExp(pattern, \"gs\");\n}\n/**\n * Normalizes an unknown Minecraft version.\n *\n * The normalization process formats the version string to provide better compatibility with\n * FabricMC's normalization scheme. This may involve appending the release version, converting\n * snapshot, experimental, or pre-release information, or transforming old version strings.\n *\n * @param version - The Minecraft version string to normalize.\n * @param releaseVersion - Optional release version string for context.\n *\n * @returns The normalized Minecraft version string.\n *\n * @remarks\n *\n * Original algorithm from FabricMC:\n * https://github.com/FabricMC/fabric-loader/blob/HEAD/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java\n */\nfunction normalizeUnknownMinecraftVersion(version, releaseVersion) {\n if (SPECIAL_VERSIONS.has(version)) {\n return SPECIAL_VERSIONS.get(version);\n }\n if (!releaseVersion || version === releaseVersion || version.substring(1).startsWith(releaseVersion)) {\n return normalizeOldMinecraftVersion(version);\n }\n let match;\n if (match = version.match(EXPERIMENTAL_REGEX)) {\n return `${releaseVersion}-Experimental.${match[1]}`;\n }\n if (version.startsWith(releaseVersion)) {\n if (match = version.match(RELEASE_CANDIDATE_REGEX)) {\n const rcBuild = releaseVersion === \"1.16\" ? String(8 + (+match[1])) : match[1];\n version = `rc.${rcBuild}`;\n }\n else if (match = version.match(PRE_RELEASE_REGEX)) {\n const isLegacy = isLegacyMinecraftVersion(releaseVersion);\n version = `${isLegacy ? \"rc\" : \"beta\"}.${match[1]}`;\n }\n }\n else if (match = version.match(SNAPSHOT_REGEX)) {\n version = `alpha.${match[1]}.${match[2]}.${match[3]}`;\n }\n else {\n version = normalizeOldMinecraftVersion(version);\n }\n if (version.startsWith(`${releaseVersion}-`)) {\n return version;\n }\n return `${releaseVersion}-${version}`;\n}\n/**\n * Normalizes an old Minecraft version by converting version components like alpha, beta,\n * and indev to a more standard format, as well as removing unnecessary characters and correcting\n * the separator placements.\n *\n * @param version - The old Minecraft version string to normalize.\n *\n * @returns The normalized Minecraft version string.\n */\nfunction normalizeOldMinecraftVersion(version) {\n let matcher;\n if (matcher = version.match(BETA_REGEX)) {\n version = `1.0.0-beta.${matcher[1]}`;\n }\n else if (matcher = version.match(ALPHA_REGEX)) {\n version = `1.0.0-alpha.${matcher[1]}`;\n }\n else if (matcher = version.match(INDEV_REGEX)) {\n version = `0.31.${matcher[1]}`;\n }\n else if (version.startsWith(\"c0.\")) {\n version = version.substring(1);\n }\n else if (version.startsWith(\"rd-\")) {\n version = version.substring(3);\n if (version === \"20090515\") {\n version = \"150000\";\n }\n version = `0.0.0-rd.${version}`;\n }\n let normalized = \"\";\n let wasDigit = false;\n let wasLeadingZero = false;\n let wasSeparator = false;\n let hasHyphen = false;\n for (let i = 0; i < version.length; ++i) {\n let c = version.charAt(i);\n if (c >= \"0\" && c <= \"9\") {\n if (i > 0 && !wasDigit && !wasSeparator) {\n normalized += \".\";\n }\n else if (wasDigit && wasLeadingZero) {\n normalized = normalized.substring(0, normalized.length - 1);\n }\n wasLeadingZero = c === \"0\" && (!wasDigit || wasLeadingZero);\n wasSeparator = false;\n wasDigit = true;\n }\n else if (c === \".\" || c === \"-\") {\n if (wasSeparator) {\n continue;\n }\n wasSeparator = true;\n wasDigit = false;\n }\n else if ((c < \"A\" || c > \"Z\") && (c < \"a\" || c > \"z\")) {\n if (wasSeparator) {\n continue;\n }\n c = \".\";\n wasSeparator = true;\n wasDigit = false;\n }\n else {\n if (wasDigit) {\n normalized += hasHyphen ? \".\" : \"-\";\n hasHyphen = true;\n }\n wasSeparator = false;\n wasDigit = false;\n }\n if (c === \"-\") {\n hasHyphen = true;\n }\n normalized += c;\n }\n let start = 0;\n while (start < normalized.length && normalized.charAt(start) === \".\") {\n ++start;\n }\n let end = normalized.length;\n while (end > start && normalized.charAt(end - 1) === \".\") {\n --end;\n }\n return normalized.substring(start, end);\n}\n/**\n * Finds the nearest release Minecraft version to a given index in the provided version manifest entries.\n *\n * This is used to determine the release version context for non-release versions (e.g., snapshots).\n *\n * @param versions - An array of Minecraft version manifest entries.\n * @param index - The index of the version for which to find the nearest release version.\n *\n * @returns The nearest release Minecraft version string, or `undefined` if not found.\n */\nfunction findNearestReleaseMinecraftVersion(versions, index) {\n if (versions[index].type === MinecraftVersionType.RELEASE) {\n return versions[index].id;\n }\n if (versions[index].type !== MinecraftVersionType.SNAPSHOT) {\n return undefined;\n }\n const match = versions[index].id.match(RELEASE_REGEX);\n if (match) {\n return match[0];\n }\n const snapshot = versions[index].id.match(SNAPSHOT_REGEX);\n if (snapshot) {\n const year = +snapshot[1];\n const week = +snapshot[2];\n const hardcodedSnapshotVersion = findNearestReleaseMinecraftVersionBySnapshotDate(year, week);\n if (hardcodedSnapshotVersion) {\n return hardcodedSnapshotVersion;\n }\n }\n for (let i = index - 1; i >= 0; --i) {\n if (versions[i].type === MinecraftVersionType.RELEASE) {\n return versions[i].id;\n }\n }\n for (let i = index + 1; i < versions.length; ++i) {\n if (versions[i].type !== MinecraftVersionType.RELEASE) {\n continue;\n }\n const match = versions[i].id.match(/(\\d+)\\.(\\d+)(?:\\.(\\d+))?/);\n if (match) {\n return `${match[1]}.${match[2]}.${(+match[3] || 0) + 1}`;\n }\n }\n return undefined;\n}\n/**\n * Finds the nearest release Minecraft version based on the snapshot year and week.\n *\n * This function is required because the order of versions in the version manifest may not\n * always correspond to their actual release order, especially for older versions.\n * By using hardcoded release versions for specific date ranges, we can determine the nearest\n * release version more accurately for certain snapshots.\n *\n * @param year - The snapshot year.\n * @param week - The snapshot week.\n *\n * @returns The nearest release Minecraft version string, or `undefined` if not found.\n *\n * @remarks\n *\n * Original algorithm from FabricMC:\n * https://github.com/FabricMC/fabric-loader/blob/HEAD/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java#L267\n */\nfunction findNearestReleaseMinecraftVersionBySnapshotDate(year, week) {\n if (year === 23 && week >= 12) {\n return \"1.20\";\n }\n if (year === 20 && week >= 45 || year === 21 && week <= 20) {\n return \"1.17\";\n }\n if (year === 15 && week >= 31 || year === 16 && week <= 7) {\n return \"1.9\";\n }\n if (year === 14 && week >= 2 && week <= 34) {\n return \"1.8\";\n }\n if (year === 13 && week >= 47 && week <= 49) {\n return \"1.7.4\";\n }\n if (year === 13 && week >= 36 && week <= 43) {\n return \"1.7.2\";\n }\n if (year === 13 && week >= 16 && week <= 26) {\n return \"1.6\";\n }\n return undefined;\n}\n/**\n * Determines if a Minecraft version is considered legacy based on its version string.\n *\n * @param version - The Minecraft version string to evaluate.\n *\n * @returns `true` if the version is considered legacy; otherwise, `false`.\n */\nfunction isLegacyMinecraftVersion(version) {\n return LEGACY_VERSION_RANGE.includes(version);\n}\n","import { createFetch, throwOnError } from \"@/utils/net\";\nimport { parseVersion } from \"@/utils/versioning\";\nimport { $i } from \"@/utils/collections\";\nimport { MinecraftVersion, getMinecraftVersionManifestEntries } from \"./minecraft-version\";\nimport { getMinecraftVersionRegExp, normalizeMinecraftVersion, normalizeMinecraftVersionRange } from \"./minecraft-version-lookup\";\n/**\n * The default base URL for the Mojang API.\n */\nexport const MOJANG_API_URL = \"https://piston-meta.mojang.com/mc\";\n/**\n * A client for interacting with the Mojang API.\n */\nexport class MojangApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * A cached map of all available Minecraft versions.\n */\n _versions;\n /**\n * A cached regular expression for matching Minecraft version strings.\n */\n _versionRegExp;\n /**\n * Creates a new {@link MojangApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || MOJANG_API_URL,\n })\n .use(throwOnError());\n }\n /**\n * Retrieves a specific Minecraft version by its ID.\n *\n * @param id - The ID of the Minecraft version to retrieve.\n *\n * @returns A promise that resolves to the Minecraft version, or `undefined` if not found.\n */\n async getMinecraftVersion(id) {\n const versions = await this.getAllMinecraftVersions();\n const version = versions.get(id);\n if (version) {\n return version;\n }\n const versionRange = await this.getMinecraftVersions(id);\n return versionRange[0];\n }\n /**\n * Retrieves a list of Minecraft versions that match the specified range.\n *\n * @param range - A version range to match.\n *\n * @returns A promise that resolves to an array of matching Minecraft versions.\n */\n async getMinecraftVersions(range) {\n const versions = await this.getAllMinecraftVersions();\n const regex = await this.getMinecraftVersionRegExp();\n const normalizedRange = normalizeMinecraftVersionRange(range, versions, regex);\n return $i(versions.values()).filter(x => normalizedRange.includes(x.version)).toArray();\n }\n /**\n * Retrieves all available Minecraft versions.\n *\n * @returns A promise that resolves to a map of Minecraft versions keyed by their IDs.\n */\n async getAllMinecraftVersions() {\n if (this._versions) {\n return this._versions;\n }\n const response = await this._fetch(\"/game/version_manifest_v2.json\");\n const manifest = await response.json();\n const manifestEntries = getMinecraftVersionManifestEntries(manifest);\n const versions = manifestEntries.map((entry, i, self) => {\n const normalizedVersion = normalizeMinecraftVersion(entry.id, self, i);\n const version = parseVersion(normalizedVersion);\n return new MinecraftVersion(entry.id, version, entry.type, entry.url, entry.releaseDate);\n });\n this._versions = new Map(versions.map(x => [x.id, x]));\n return this._versions;\n }\n /**\n * Retrieves a regular expression for matching Minecraft version strings.\n *\n * @returns A promise that resolves to a `RegExp` for matching Minecraft version strings.\n */\n async getMinecraftVersionRegExp() {\n if (this._versionRegExp) {\n return this._versionRegExp;\n }\n const versions = await this.getAllMinecraftVersions();\n this._versionRegExp = getMinecraftVersionRegExp(versions.keys());\n return this._versionRegExp;\n }\n}\n","import { MojangApiClient } from \"./mojang-api-client\";\n/**\n * A {@link GameVersionProvider} implementation that uses the Mojang API client to fetch Minecraft versions.\n */\nexport const MINECRAFT_VERSION_PROVIDER = MojangApiClient.prototype.getMinecraftVersions.bind(new MojangApiClient());\n","/**\n * The name of the Minecraft game.\n */\nexport const MINECRAFT = \"minecraft\";\n","import { MINECRAFT, MINECRAFT_VERSION_PROVIDER } from \"./minecraft\";\n/**\n * A map of game version providers keyed by game name.\n */\nconst GAME_VERSION_PROVIDERS = new Map([\n [MINECRAFT, MINECRAFT_VERSION_PROVIDER],\n]);\n/**\n * Returns the game version provider for the given game name.\n *\n * @param name - The name of the game.\n *\n * @returns The {@link GameVersionProvider} for the given game name, or `undefined` if it does not exist.\n */\nexport function getGameVersionProviderByName(name) {\n return GAME_VERSION_PROVIDERS.get(name);\n}\n","import { isError } from \"@/utils/errors\";\n/**\n * Checks if the given object is a {@link Promise}.\n *\n * @template T - The type of value that the `Promise` would return upon resolution.\n *\n * @param obj - The object to check.\n *\n * @returns `true` if the object is a `Promise`; otherwise, `false`.\n */\nexport function isPromise(obj) {\n return typeof obj?.then === \"function\";\n}\n/**\n * Sleep for the specified amount of time in milliseconds.\n *\n * @param ms - The time in milliseconds to sleep.\n *\n * @returns A {@link Promise} that resolves after the specified time.\n */\nexport function sleep(ms) {\n // Technically, it's the HTML Standard,\n // but this rule is also **mostly** true for the NodeJS environment.\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n const MIN_DELAY = 4;\n if (ms < MIN_DELAY) {\n return Promise.resolve();\n }\n return new Promise(resolve => {\n setTimeout(resolve, ms);\n });\n}\n/**\n * Runs a function asynchronously and returns its result.\n *\n * @template T - The type of value returned by the function.\n *\n * @param func - A function to execute asynchronously.\n *\n * @returns A promise that resolves with the return value of the executed function.\n */\nexport async function run(func) {\n return await func();\n}\n/**\n * Safely executes the provided function, returning both the result and error as a tuple.\n *\n * @template T - The type of value returned by the function.\n * @template E - The type of the returned error.\n *\n * @param func - A function or async function to execute safely.\n *\n * @returns A promise resolving to a tuple containing the result and error.\n *\n * - The result is at index 0 and the error is at index 1.\n * - If the function succeeds, the error will be `undefined`.\n * - If the function fails, the result will be `undefined`.\n */\nexport async function runSafely(func) {\n return await run(func)\n .then(value => [value, undefined])\n .catch(error => [undefined, error]);\n}\n/**\n * Executes a given function `func` and retries it if an error occurs.\n *\n * @template T - The type of value returned by the function.\n *\n * @param func - The function to execute and potentially retry.\n * @param options - The options for the retry function.\n *\n * @returns The result of a successful execution of `func`.\n */\nexport async function retry(func, options) {\n const delay = options?.delay ?? 0;\n const maxAttempts = options?.maxAttempts ?? -1;\n const onError = options?.onError;\n let attempts = 0;\n while (true) {\n ++attempts;\n try {\n return await func();\n }\n catch (e) {\n const isNumberOfAttemptsExceeded = maxAttempts >= 0 && attempts >= maxAttempts;\n const isRecoverable = !isNumberOfAttemptsExceeded && await isErrorHandled(e, onError);\n if (!isRecoverable) {\n throw e;\n }\n }\n await sleep(delay);\n }\n}\n/**\n * Checks if an error was handled by the provided error handler function.\n *\n * @param error - The error to check if it's handled.\n * @param handler - The error handler function.\n *\n * @returns A `Promise` resolving to a boolean that represents if the error was handled.\n */\nasync function isErrorHandled(error, handler) {\n if (!isError(error)) {\n return false;\n }\n const handlerOutput = await handler?.(error);\n return handlerOutput || handlerOutput === undefined;\n}\n","import { retry } from \"@/utils/async-utils\";\nimport { ArgumentNullError, isSoftError } from \"@/utils/errors\";\nimport { LoggingStopwatch, NULL_LOGGER } from \"@/utils/logging\";\nimport { fetch } from \"@/utils/net\";\nimport { PlatformType } from \"./platform-type\";\n/**\n * The default number of retry attempts for a failed upload.\n */\nconst DEFAULT_RETRY_ATTEMPTS = 2;\n/**\n * The default delay time (in milliseconds) between retry attempts for a failed upload.\n */\nconst DEFAULT_RETRY_DELAY = 1000;\n/**\n * Base class for platform uploaders.\n *\n * @template TOptions - The type of options that the uploader can utilize.\n * @template TRequest - The type of content that can be uploaded using the uploader.\n * @template TReport - The type of report that is returned after the upload process.\n */\nexport class GenericPlatformUploader {\n /**\n * The logger used by the uploader.\n */\n _logger;\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Constructs a new {@link PlatformUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n this._logger = options?.logger || NULL_LOGGER;\n this._fetch = options?.fetch || fetch;\n }\n /**\n * @inheritdoc\n */\n async upload(request) {\n ArgumentNullError.throwIfNull(request, \"request\");\n ArgumentNullError.throwIfNull(request.token, \"request.token\", `A token is required to upload files to ${PlatformType.friendlyNameOf(this.platform)}.`);\n ArgumentNullError.throwIfNullOrEmpty(request.files, \"request.files\", \"No files to upload were specified. Please include at least one file in the request.\");\n const platformName = PlatformType.friendlyNameOf(this.platform);\n const maxAttempts = request.retryAttempts ?? DEFAULT_RETRY_ATTEMPTS;\n const delay = request.retryDelay ?? DEFAULT_RETRY_DELAY;\n const stopwatch = LoggingStopwatch.startNew(this._logger, () => `📤 Uploading assets to ${platformName}`, ms => `✅ Successfully published assets to ${platformName} in ${ms} ms`);\n const onError = (error) => {\n if (isSoftError(error)) {\n this._logger.error(error);\n this._logger.info(`🔂 Facing difficulties, republishing assets to ${platformName} in ${delay} ms`);\n return true;\n }\n return false;\n };\n const report = await retry(() => this.uploadCore(request), { maxAttempts, delay, onError });\n stopwatch.stop();\n return report;\n }\n /**\n * Converts the specified dependencies to a simpler format.\n *\n * @param dependencies - The list of dependencies to convert.\n * @param typeConverter - The function to use for converting dependency types.\n *\n * @returns An array of dependencies in a simplified format.\n */\n convertToSimpleDependencies(dependencies, typeConverter) {\n return (dependencies || [])\n .filter(x => x && !x.isIgnored(this.platform))\n .map(x => [x.getProjectId(this.platform), typeConverter(x.type)])\n .filter(([id, type]) => id && type);\n }\n}\n","import { DependencyType } from \"@/dependencies\";\nimport { Enum } from \"@/utils/enum\";\n/**\n * Represents the types of dependencies a CurseForge version can have.\n *\n * @partial\n */\nvar CurseForgeDependencyTypeValues;\n(function (CurseForgeDependencyTypeValues) {\n /**\n * A library embedded within the project.\n */\n CurseForgeDependencyTypeValues[\"EMBEDDED_LIBRARY\"] = \"embeddedLibrary\";\n /**\n * A plugin that is incompatible with the project.\n */\n CurseForgeDependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n /**\n * An optional dependency for the project.\n */\n CurseForgeDependencyTypeValues[\"OPTIONAL_DEPENDENCY\"] = \"optionalDependency\";\n /**\n * A required dependency for the project.\n */\n CurseForgeDependencyTypeValues[\"REQUIRED_DEPENDENCY\"] = \"requiredDependency\";\n /**\n * A tool used by the project.\n */\n CurseForgeDependencyTypeValues[\"TOOL\"] = \"tool\";\n})(CurseForgeDependencyTypeValues || (CurseForgeDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the CurseForgeDependencyType enum.\n *\n * @partial\n */\nconst CurseForgeDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the dependency type.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Converts a {@link CurseForgeDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link CurseForgeDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case CurseForgeDependencyType.EMBEDDED_LIBRARY:\n return DependencyType.EMBEDDED;\n case CurseForgeDependencyType.INCOMPATIBLE:\n return DependencyType.INCOMPATIBLE;\n case CurseForgeDependencyType.OPTIONAL_DEPENDENCY:\n return DependencyType.OPTIONAL;\n case CurseForgeDependencyType.REQUIRED_DEPENDENCY:\n return DependencyType.REQUIRED;\n case CurseForgeDependencyType.TOOL:\n return DependencyType.RECOMMENDED;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link CurseForgeDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link CurseForgeDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return CurseForgeDependencyType.REQUIRED_DEPENDENCY;\n case DependencyType.RECOMMENDED:\n return CurseForgeDependencyType.OPTIONAL_DEPENDENCY;\n case DependencyType.EMBEDDED:\n return CurseForgeDependencyType.EMBEDDED_LIBRARY;\n case DependencyType.OPTIONAL:\n return CurseForgeDependencyType.OPTIONAL_DEPENDENCY;\n case DependencyType.CONFLICTING:\n return CurseForgeDependencyType.INCOMPATIBLE;\n case DependencyType.INCOMPATIBLE:\n return CurseForgeDependencyType.INCOMPATIBLE;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with CurseForgeDependencyType.\n *\n * @partial\n */\nconst CurseForgeDependencyTypeMethods = {\n fromDependencyType,\n toDependencyType,\n};\n/**\n * Represents the types of dependencies a CurseForge version can have.\n */\nexport const CurseForgeDependencyType = Enum.create(CurseForgeDependencyTypeValues, CurseForgeDependencyTypeOptions, CurseForgeDependencyTypeMethods);\n","import { isIntegerString } from \"@/utils/string-utils\";\n/**\n * Determines whether the given value is a valid CurseForge project ID.\n *\n * @param idOrSlug - The value to check.\n *\n * @returns `true` if the value is a valid CurseForge project ID; otherwise, `false`.\n */\nexport function isCurseForgeProjectId(idOrSlug) {\n return typeof idOrSlug === \"number\" || isIntegerString(idOrSlug);\n}\n","import { HttpRequest, HttpResponse, createFetch, defaultResponse, throwOnError } from \"@/utils/net\";\nimport { SecureString } from \"@/utils/security\";\nimport { isCurseForgeProjectId } from \"./curseforge-project\";\n/**\n * The API version used for making requests to the CurseForge Eternal API.\n */\nconst CURSEFORGE_ETERNAL_API_VERSION = 1;\n/**\n * The base URL for the CurseForge Eternal API.\n */\nexport const CURSEFORGE_ETERNAL_API_URL = `https://api.curseforge.com/v${CURSEFORGE_ETERNAL_API_VERSION}`;\n/**\n * This is not an API key for an API that requires authentication even for public routes because it wants to track you.\n *\n * Trust me on this one.\n */\nconst DEFINITELY_NOT_AN_API_KEY = SecureString.from(Buffer.from([36, 50, 97, 36, 49, 48, 36, 81, 73, 47, 121, 101, 83, 110, 106, 105, 69, 90, 72, 90, 109, 70, 108, 109, 105, 74, 86, 73, 46, 50, 120, 109, 87, 89, 108, 80, 98, 107, 65, 88, 87, 56, 114, 81, 46, 120, 77, 54, 53, 118, 107, 116, 65, 115, 115, 97, 74, 112, 109, 105])).unwrap();\n/**\n * A client for interacting with the CurseForge Eternal API.\n */\nexport class CurseForgeEternalApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Creates a new {@link CurseForgeEternalApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || CURSEFORGE_ETERNAL_API_URL,\n defaultHeaders: {\n \"X-Api-Key\": options?.token || DEFINITELY_NOT_AN_API_KEY,\n },\n })\n .use(defaultResponse({ response: r => HttpResponse.json(null, r) }))\n .use(throwOnError({ filter: x => !x.ok && x.status !== 404 }));\n }\n /**\n * Fetches a project by its id or slug.\n *\n * @param idOrSlug - The project id or slug.\n *\n * @returns The project, or `undefined` if not found.\n */\n async getProject(idOrSlug) {\n if (!isCurseForgeProjectId(idOrSlug)) {\n const response = await this._fetch(\"/mods/search\", HttpRequest.get().with({ gameId: 432, slug: idOrSlug }));\n return await response.json().then(x => x?.data?.find(y => y.slug === idOrSlug)) ?? undefined;\n }\n const response = await this._fetch(`/mods/${idOrSlug}`);\n return await response.json().then(x => x?.data) ?? undefined;\n }\n}\n","/**\n * Checks if an object is a {@link CurseForgeError}.\n *\n * @param error - The object to check.\n *\n * @returns `true` if the object matches the structure of a CurseForgeError; otherwise, `false`.\n */\nexport function isCurseForgeError(error) {\n const e = error;\n return (!!e &&\n typeof e.errorCode === \"number\" &&\n typeof e.errorMessage === \"string\");\n}\n/**\n * Error code for an invalid project slug.\n */\nconst INVALID_PROJECT_SLUG_ERROR_CODE = 1018;\n/**\n * Regular expression to match invalid project slug errors.\n */\nconst INVALID_PROJECT_SLUG_REGEX = /Invalid slug in project relations: '([^']*)'/;\n/**\n * Checks if an error is an invalid project slug error.\n *\n * @param error - The error to check.\n *\n * @returns `true` if the error is an invalid project slug error; otherwise, `false`.\n */\nexport function isInvalidProjectSlugCurseForgeError(error) {\n return isCurseForgeError(error) && error.errorCode === INVALID_PROJECT_SLUG_ERROR_CODE;\n}\n/**\n * Extracts the invalid project slug from an error.\n *\n * @param error - The error to extract the invalid project slug from.\n *\n * @returns The invalid project slug, or `undefined` if the error is not an invalid project slug error.\n */\nexport function getInvalidProjectSlug(error) {\n return isInvalidProjectSlugCurseForgeError(error) ? error.errorMessage.match(INVALID_PROJECT_SLUG_REGEX)?.[1] : undefined;\n}\n/**\n * Error code for an invalid game version ID.\n */\nconst INVALID_GAME_VERSION_ID_ERROR_CODE = 1009;\n/**\n * Checks if an error is an invalid game version ID error.\n *\n * @param error - The error to check.\n *\n * @returns `true` if the error is an invalid game version ID error; otherwise, `false`.\n */\nexport function isInvalidGameVersionIdCurseForgeError(error) {\n return isCurseForgeError(error) && error.errorCode === INVALID_GAME_VERSION_ID_ERROR_CODE;\n}\n","import { $i } from \"@/utils/collections\";\nimport { IGNORE_CASE_EQUALITY_COMPARER } from \"@/utils/comparison\";\n/**\n * An equality comparer that compares two game version names ignoring the \"-Snapshot\" suffix.\n */\nexport const CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER = (a, b) => {\n const aVersion = a?.replace(\"-Snapshot\", \"\");\n const bVersion = b?.replace(\"-Snapshot\", \"\");\n return aVersion === bVersion;\n};\n/**\n * An equality comparer that compares two game version names by\n * extracting the version numbers (e.g., \"1.0\") and checking if they\n * are the same.\n */\nexport const CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER = (a, b) => {\n const aVersion = a?.match(/\\d+\\.\\d+/)?.[0];\n const bVersion = b?.match(/\\d+\\.\\d+/)?.[0];\n return aVersion === bVersion;\n};\n/**\n * Finds the CurseForge game version IDs that match the provided names using the specified comparers.\n *\n * @param versions - The array of CurseForge game versions.\n * @param names - The array of game version names to find.\n * @param comparer - The primary equality comparer to use for matching names (optional).\n * @param fallbackComparer - The fallback equality comparer to use if the primary comparer fails (optional).\n *\n * @returns An array of matching CurseForge game version IDs.\n */\nexport function findCurseForgeGameVersionIdsByNames(versions, names, comparer, fallbackComparer) {\n comparer ||= IGNORE_CASE_EQUALITY_COMPARER;\n return $i(names)\n .map(name => {\n const version = versions.find(v => comparer(v.name, name));\n if (version || !fallbackComparer) {\n return version;\n }\n return versions.find(v => fallbackComparer(v.name, name));\n })\n .filter(x => x)\n .map(x => x.id)\n .distinct()\n .toArray();\n}\n/**\n * Formats the game version based on its version.\n *\n * @param gameVersion - A game version to format.\n *\n * @returns A formatted string representing the game version.\n */\nexport function formatCurseForgeGameVersion(gameVersion) {\n return `${gameVersion.version.major}.${gameVersion.version.minor}${gameVersion.version.patch ? `.${gameVersion.version.patch}` : \"\"}`;\n}\n/**\n * Formats the game version based on its version and snapshot status.\n *\n * @param gameVersion - A game version to format.\n *\n * @returns A formatted string representing the game version.\n */\nexport function formatCurseForgeGameVersionSnapshot(gameVersion) {\n return `${gameVersion.version.major}.${gameVersion.version.minor}${gameVersion.version.patch ? `.${gameVersion.version.patch}` : \"\"}${gameVersion.isSnapshot ? \"-Snapshot\" : \"\"}`;\n}\n","/**\n * Creates a CurseForge game version map by categorizing game versions based on their type names.\n *\n * @param versions - The array of all CurseForge game versions.\n * @param types - The array of all CurseForge game version types.\n *\n * @returns A game version map with categorized game versions.\n */\nexport function createCurseForgeGameVersionMap(versions, types) {\n return {\n game_versions: filterGameVersionsByTypeName(versions, types, \"minecraft\"),\n game_versions_for_plugins: filterGameVersionsByTypeName(versions, types, \"bukkit\"),\n game_versions_for_addons: filterGameVersionsByTypeName(versions, types, \"addon\"),\n loaders: filterGameVersionsByTypeName(versions, types, \"modloader\"),\n java_versions: filterGameVersionsByTypeName(versions, types, \"java\"),\n environments: filterGameVersionsByTypeName(versions, types, \"environment\"),\n };\n}\n/**\n * Filters game versions by matching their type names.\n *\n * @param versions - The array of all CurseForge game versions.\n * @param types - The array of all CurseForge game version types.\n * @param typeName - The type name to filter by.\n *\n * @returns An array of game versions with matching type names.\n */\nfunction filterGameVersionsByTypeName(versions, types, typeName) {\n const filteredTypes = types.filter(x => x.slug.startsWith(typeName));\n return versions.filter(v => filteredTypes.some(t => t.id === v.gameVersionTypeID));\n}\n","/**\n * A hard-coded Bukkit game version type.\n *\n * @remarks\n *\n * This is needed because, for some inexplicable reason, CurseForge API\n * doesn't include Bukkit in its API response. And then they throw errors\n * when we don't use it ourselves. Amazing. Just absolutely amazing.\n *\n * So, here we are, patching things up ourselves. *sigh*\n */\nexport const BUKKIT_GAME_VERSION_TYPE = {\n id: 1,\n name: \"Bukkit\",\n slug: \"bukkit\",\n};\n","import { FileInfo } from \"@/utils/io\";\nimport { VersionType } from \"@/utils/versioning\";\n/**\n * Packs the CurseForge version initialization data, game version IDs, and file information into a form data object.\n *\n * @param version - The CurseForge version initialization data.\n * @param gameVersions - The supported game version IDs.\n * @param file - The file path or `FileInfo` object for the file to be uploaded.\n * @param parentFileId - The optional ID of the parent file for this version.\n *\n * @returns A form data object containing the packed information.\n */\nexport function packCurseForgeVersionInit(version, gameVersions, file, parentFileId) {\n file = FileInfo.of(file);\n const hasParentFile = typeof parentFileId === \"number\";\n const metadata = {\n changelog: version.changelog || \"\",\n changelogType: version.changelog_type || \"markdown\",\n displayName: (hasParentFile || !version.name) ? file.name : version.name,\n parentFileID: parentFileId,\n gameVersions: hasParentFile ? undefined : (gameVersions || []),\n releaseType: version.version_type || VersionType.RELEASE,\n relations: (hasParentFile || !version.dependencies?.length) ? undefined : { projects: version.dependencies },\n };\n return { file, metadata };\n}\n","import { MINECRAFT_VERSION_PROVIDER } from \"@/games/minecraft\";\nimport { retry } from \"@/utils/async-utils\";\nimport { isHttpError } from \"@/utils/errors\";\nimport { JavaVersion } from \"@/utils/java\";\nimport { HttpRequest, createFetch, simpleCache, throwOnError } from \"@/utils/net\";\nimport { getInvalidProjectSlug, isCurseForgeError, isInvalidGameVersionIdCurseForgeError, isInvalidProjectSlugCurseForgeError } from \"./curseforge-error\";\nimport { CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER, CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER, findCurseForgeGameVersionIdsByNames, formatCurseForgeGameVersion, formatCurseForgeGameVersionSnapshot } from \"./curseforge-game-version\";\nimport { createCurseForgeGameVersionMap } from \"./curseforge-game-version-map\";\nimport { BUKKIT_GAME_VERSION_TYPE } from \"./curseforge-game-version-type\";\nimport { packCurseForgeVersionInit } from \"./curseforge-version\";\n/**\n * The base URL for the CurseForge Upload API.\n */\nexport const CURSEFORGE_UPLOAD_API_URL = \"https://minecraft.curseforge.com/api\";\n/**\n * A client for interacting with the CurseForge Upload API.\n */\nexport class CurseForgeUploadApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * The game version provider.\n */\n _gameVersionProvider;\n /**\n * Creates a new {@link CurseForgeUploadApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || CURSEFORGE_UPLOAD_API_URL,\n defaultHeaders: {\n \"X-Api-Token\": options?.token,\n },\n })\n .use(simpleCache())\n .use(throwOnError());\n this._gameVersionProvider = options?.gameVersionProvider || MINECRAFT_VERSION_PROVIDER;\n }\n /**\n * Fetches a list of game version types.\n *\n * @returns An array of game version types.\n */\n async getGameVersionTypes() {\n const response = await this._fetch(\"/game/version-types?cache=true\");\n const gameVersionTypes = await response.json();\n // Thank you CurseForge for not including Bukkit version type\n // in your API responses and then throwing errors when I don't use it myself!\n if (!gameVersionTypes.some(x => x.id === BUKKIT_GAME_VERSION_TYPE.id)) {\n gameVersionTypes.unshift(BUKKIT_GAME_VERSION_TYPE);\n }\n return gameVersionTypes;\n }\n /**\n * Fetches a list of game versions.\n *\n * @returns An array of game versions.\n */\n async getGameVersions() {\n const response = await this._fetch(\"/game/versions?cache=true\");\n return await response.json();\n }\n /**\n * Retrieves a map of game version categories.\n *\n * @returns A map of game version categories.\n */\n async getGameVersionMap() {\n const versions = await this.getGameVersions();\n const types = await this.getGameVersionTypes();\n return createCurseForgeGameVersionMap(versions, types);\n }\n /**\n * Creates a new version.\n *\n * @param version - The version data.\n *\n * @returns The created version.\n */\n async createVersion(version) {\n const gameVersionIdVariants = await this.getGameVersionIdVariants(version);\n let createdVersion = undefined;\n for (const file of version.files || []) {\n const fileData = {\n version,\n file,\n game_versions: gameVersionIdVariants,\n version_id: createdVersion?.id,\n };\n const uploadedFile = await retry(() => this.uploadFile(fileData), { onError: error => tryHandleUploadError(error, fileData) });\n if (!createdVersion) {\n createdVersion = {\n id: uploadedFile.id,\n project_id: uploadedFile.project_id,\n name: uploadedFile.name,\n files: [],\n };\n }\n createdVersion.files.push(uploadedFile);\n }\n return createdVersion;\n }\n /**\n * Uploads a new file to CurseForge.\n *\n * @param file - The file data to upload.\n *\n * @returns The uploaded file data.\n */\n async uploadFile(file) {\n const projectId = file.version.project_id;\n const form = packCurseForgeVersionInit(file.version, file.game_versions[0], file.file, file.version_id);\n const response = await this._fetch(`/projects/${projectId}/upload-file`, HttpRequest.post().with(form));\n const id = (await response.json()).id;\n return {\n id,\n name: form.metadata.displayName || form.file.name,\n url: `https://www.curseforge.com/api/v1/mods/${projectId}/files/${id}/download`,\n project_id: projectId,\n version_id: file.version_id || id,\n };\n }\n /**\n * Retrieves an array of game version ID variants, based on the provided game version union.\n *\n * @param gameVersionUnion - The game version union to use for finding ID variants.\n *\n * @returns An array of suitable game version IDs.\n */\n async getGameVersionIdVariants(gameVersionUnion) {\n const loaders = gameVersionUnion.loaders || [];\n const javaVersions = gameVersionUnion.java_versions || [];\n const gameVersions = gameVersionUnion.game_versions?.length ? await this._gameVersionProvider(gameVersionUnion.game_versions) : [];\n const map = await this.getGameVersionMap();\n const javaVersionNames = javaVersions.map(x => JavaVersion.of(x).name);\n const gameVersionNames = gameVersions.map(x => formatCurseForgeGameVersionSnapshot(x));\n const pluginGameVersionNames = gameVersions.map(x => formatCurseForgeGameVersion(x));\n // gameVersions for mods\n const gameVersionIds = findCurseForgeGameVersionIdsByNames(map.game_versions, gameVersionNames, undefined, CURSEFORGE_GAME_VERSION_SNAPSHOT_NAME_COMPARER);\n const loaderIds = findCurseForgeGameVersionIdsByNames(map.loaders, loaders);\n const javaIds = findCurseForgeGameVersionIdsByNames(map.java_versions, javaVersionNames);\n // gameVersions for plugins\n const pluginGameVersionIds = findCurseForgeGameVersionIdsByNames(map.game_versions_for_plugins, pluginGameVersionNames, undefined, CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);\n // gameVersions for addons\n const addonGameVersionIds = findCurseForgeGameVersionIdsByNames(map.game_versions_for_addons, pluginGameVersionNames, undefined, CURSEFORGE_GAME_VERSION_PLUGIN_NAME_COMPARER);\n const idVariants = [\n // These ids are used by: `Mods`.\n //\n // This is the most common project type out there, so we try these ids first.\n loaderIds.length ? gameVersionIds.concat(loaderIds, javaIds) : gameVersionIds,\n // These ids are used by: `Bukkit Plugins`.\n //\n // While there's only one category that uses this type of ids,\n // it's safe to say that users of `mc-publish` are most likely\n // to publish plugins with it, rather than addons.\n pluginGameVersionIds,\n // These ids are used by: `Modpacks`, `Customization`,\n // `Resource Packs`, and `Worlds`.\n //\n // The same ids as for `Mods`, but without loaders, because\n // those are not supported for any other project type.\n loaderIds.length ? gameVersionIds : [],\n // These ids are used by: `Addons`.\n addonGameVersionIds,\n ];\n // If mod loaders were found, we most likely deal with a mod, leave everything as is.\n // Otherwise, we most likely deal with a plugin, so it's a good idea to swap these variants.\n if (!loaderIds.length) {\n [idVariants[0], idVariants[1]] = [idVariants[1], idVariants[0]];\n }\n // There's no need in empty variants, unless there are no other options.\n const nonEmptyIdVariants = idVariants.filter(x => x.length);\n return nonEmptyIdVariants.length ? nonEmptyIdVariants : [[]];\n }\n}\n/**\n * Attempts to handle upload errors that may occur when creating a version file.\n *\n * @param error - The error to handle.\n * @param file - The file data associated with the error.\n *\n * @returns A boolean indicating if the error was handled.\n */\nasync function tryHandleUploadError(error, file) {\n if (!isHttpError(error)) {\n return false;\n }\n const errorObject = await error.response.json().catch(() => undefined);\n if (!isCurseForgeError(errorObject)) {\n return false;\n }\n if (isInvalidProjectSlugCurseForgeError(errorObject)) {\n return handleInvalidProjectSlugCurseForgeError(file, errorObject);\n }\n if (isInvalidGameVersionIdCurseForgeError(errorObject)) {\n return handleInvalidGameVersionIdCurseForgeError(file);\n }\n return false;\n}\n/**\n * Handles errors related to an invalid project slug in the CurseForge version file.\n *\n * @param file - The file data associated with the error.\n * @param error - The `CurseForgeError` containing the invalid project slug error.\n *\n * @returns A boolean indicating if the error was handled.\n */\nfunction handleInvalidProjectSlugCurseForgeError(file, error) {\n const invalidSlug = getInvalidProjectSlug(error) || \"\";\n const oldDependencies = file.version.dependencies;\n file.version = { ...file.version };\n file.version.dependencies = file.version.dependencies?.filter(x => x.slug !== invalidSlug);\n return oldDependencies?.length !== file.version.dependencies?.length;\n}\n/**\n * Handles errors related to an invalid game version ID in the CurseForge version file.\n *\n * @param file - The file data associated with the error.\n *\n * @returns A boolean indicating if the error was handled.\n */\nfunction handleInvalidGameVersionIdCurseForgeError(file) {\n file.version = { ...file.version };\n file.game_versions = [...(file.game_versions || [])];\n file.game_versions.shift();\n return true;\n}\n","import { PlatformType } from \"@/platforms/platform-type\";\nimport { GenericPlatformUploader } from \"@/platforms/generic-platform-uploader\";\nimport { ArgumentError } from \"@/utils/errors\";\nimport { stringEquals } from \"@/utils/string-utils\";\nimport { CurseForgeDependencyType } from \"./curseforge-dependency-type\";\nimport { CurseForgeEternalApiClient } from \"./curseforge-eternal-api-client\";\nimport { isCurseForgeProjectId } from \"./curseforge-project\";\nimport { CurseForgeUploadApiClient } from \"./curseforge-upload-api-client\";\n/**\n * Implements the uploader for CurseForge.\n */\nexport class CurseForgeUploader extends GenericPlatformUploader {\n /**\n * Constructs a new {@link CurseForgeUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n super(options);\n }\n /**\n * @inheritdoc\n */\n get platform() {\n return PlatformType.CURSEFORGE;\n }\n /**\n * @inheritdoc\n */\n async uploadCore(request) {\n ArgumentError.throwIfNullOrEmpty(request.id, \"request.id\", \"A project ID is required to upload files to CurseForge.\");\n ArgumentError.throwIfNullOrEmpty(request.loaders, \"request.loaders\", \"At least one loader should be specified to upload files to CurseForge.\");\n ArgumentError.throwIfNullOrEmpty(request.gameVersions, \"request.gameVersions\", \"At least one game version should be specified to upload files to CurseForge.\");\n const api = new CurseForgeUploadApiClient({ token: request.token.unwrap(), fetch: this._fetch });\n const eternalApi = new CurseForgeEternalApiClient({ fetch: this._fetch });\n const project = await this.getProject(request.id, eternalApi);\n const version = await this.createVersion(request, project.id, api, eternalApi);\n return {\n id: project.id,\n version: version.id,\n url: `${project.links.websiteUrl}/files/${version.id}`,\n files: version.files.map(x => ({ id: x.id, name: x.name, url: x.url })),\n };\n }\n /**\n * Fetches the project details from CurseForge.\n *\n * @param idOrSlug - The identifier or slug of the project.\n * @param eternalApi - The API client instance to use for the request.\n *\n * @returns A promise resolved with the fetched project details.\n */\n async getProject(idOrSlug, eternalApi) {\n const project = await eternalApi.getProject(idOrSlug).catch(() => undefined);\n if (project) {\n return project;\n }\n if (!isCurseForgeProjectId(idOrSlug)) {\n throw new Error(`Cannot access CurseForge project \"${idOrSlug}\" by its slug. Please specify the ID instead.`);\n }\n // If the project was not found, it could imply two situations:\n // 1) The project is not publicly visible.\n // 2) CurseForge is notorious for its frequent downtime. There's a significant probability that\n // we attempted to access their API during one of those periods.\n //\n // Regardless, if the user provided us with a project ID, that's all we need\n // to attempt publishing their assets. Although the upload report may be imprecise\n // with this placeholder data, it's still preferable to not uploading anything at all.\n this._logger.debug(`CurseForge project \"${idOrSlug}\" is inaccessible.`);\n return {\n id: +idOrSlug,\n slug: String(idOrSlug),\n links: { websiteUrl: `https://www.curseforge.com/minecraft/mc-mods/${idOrSlug}` },\n };\n }\n /**\n * Creates a new version of the project on CurseForge.\n *\n * @param request - The upload request containing information about the new version.\n * @param projectId - The identifier of the project.\n * @param api - The API client instance to use for the upload request.\n * @param eternalApi - The API client instance to use for retrieving data.\n *\n * @returns The details of the newly created version.\n */\n async createVersion(request, projectId, api, eternalApi) {\n const dependencies = await this.convertToCurseForgeDependencies(request.dependencies, eternalApi);\n return await api.createVersion({\n name: request.name,\n project_id: projectId,\n version_type: request.versionType,\n changelog: request.changelog,\n game_versions: request.gameVersions,\n java_versions: request.java,\n loaders: request.loaders,\n files: request.files,\n dependencies,\n });\n }\n /**\n * Converts the dependencies to CurseForge-specific format.\n *\n * @param dependencies - The list of dependencies to convert.\n * @param eternalApi - The API client instance to use for retrieving data.\n *\n * @returns An array of converted dependencies.\n */\n async convertToCurseForgeDependencies(dependencies, eternalApi) {\n const simpleDependencies = this.convertToSimpleDependencies(dependencies, CurseForgeDependencyType.fromDependencyType);\n const curseForgeDependencies = await Promise.all(simpleDependencies.map(async ([id, type]) => ({\n slug: isCurseForgeProjectId(id)\n ? await eternalApi.getProject(id).catch(() => undefined).then(x => x?.slug)\n : id,\n type,\n })));\n const uniqueCurseForgeDependencies = curseForgeDependencies\n .filter(x => x.slug && x.type)\n .filter((x, i, self) => i === self.findIndex(y => stringEquals(x.slug, y.slug, { ignoreCase: true })));\n return uniqueCurseForgeDependencies;\n }\n}\n","/**\n * Packs a {@link GitHubReleaseInit} object into a {@link GitHubReleaseInitInternal} object\n * by omitting the owner, repo, and assets properties.\n *\n * @param release - The {@link GitHubReleaseInit} object to be packed.\n *\n * @returns The packed {@link GitHubReleaseInitInternal} object.\n */\nexport function packGitHubReleaseInit(release) {\n return { ...{ ...release, owner: undefined, repo: undefined, assets: undefined } };\n}\n/**\n * Packs a {@link GitHubReleasePatch} object into a {@link GitHubReleasePatchInternal} object\n * by omitting the owner, repo, id, and assets properties.\n *\n * @param release - The {@link GitHubReleasePatch} object to be packed.\n *\n * @returns The packed {@link GitHubReleasePatchInternal} object.\n */\nexport function packGitHubReleasePatch(release) {\n return { ...{ ...release, owner: undefined, repo: undefined, id: undefined, assets: undefined } };\n}\n","import { FileInfo } from \"@/utils/io\";\nimport { HttpRequest, HttpResponse, createFetch, defaultResponse, throwOnError } from \"@/utils/net\";\nimport { packGitHubReleaseInit, packGitHubReleasePatch } from \"./github-release\";\n/**\n * The base URL for the GitHub API.\n */\nexport const GITHUB_API_URL = \"https://api.github.com\";\n/**\n * The API version being used by the API client.\n */\nexport const GITHUB_API_VERSION = \"2022-11-28\";\n/**\n * A client for interacting with the GitHub API.\n */\nexport class GitHubApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Creates a new {@link GitHubApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || GITHUB_API_URL,\n defaultHeaders: {\n \"Accept\": \"application/vnd.github+json\",\n \"X-GitHub-Api-Version\": GITHUB_API_VERSION,\n \"Authorization\": options?.token && `Bearer ${options.token}`,\n },\n })\n .use(defaultResponse({ response: r => HttpResponse.json(null, r) }))\n .use(throwOnError({ filter: x => !x.ok && x.status !== 404 }));\n }\n /**\n * Fetches a GitHub release based on the provided identifier.\n *\n * @param release - The identifier for the release to fetch.\n *\n * @returns The fetched release, or `undefined` if not found.\n */\n async getRelease(release) {\n const { owner, repo, id, tag_name } = release;\n const url = typeof id === \"number\" ? `/repos/${owner}/${repo}/releases/${id}` : `/repos/${owner}/${repo}/releases/tags/${tag_name}`;\n const response = await this._fetch(url);\n return (await response.json()) ?? undefined;\n }\n /**\n * Creates a new GitHub release with the provided information.\n *\n * @param release - The information for the release to create.\n *\n * @returns The created release.\n */\n async createRelease(release) {\n const { owner, repo, assets } = release;\n const data = packGitHubReleaseInit(release);\n const response = await this._fetch(`/repos/${owner}/${repo}/releases`, HttpRequest.post().json(data));\n const createdRelease = await response.json();\n if (assets?.length) {\n return await this.updateRelease({ owner, repo, id: createdRelease.id, assets });\n }\n return createdRelease;\n }\n /**\n * Updates an existing GitHub release with the provided information.\n *\n * @param release - The information for the release to update.\n *\n * @returns The updated release.\n */\n async updateRelease(release) {\n const { owner, repo, id, assets } = release;\n if (assets?.length) {\n await this.updateReleaseAssets({ owner, repo, id, assets });\n }\n const data = packGitHubReleasePatch(release);\n const shouldUpdate = Object.values(data).filter(x => x !== undefined).length !== 0;\n if (!shouldUpdate) {\n return await this.getRelease(release);\n }\n const response = await this._fetch(`/repos/${owner}/${repo}/releases/${id}`, HttpRequest.patch().json(data));\n return await response.json();\n }\n /**\n * Updates the assets of an existing GitHub release.\n *\n * @param releaseAssets - The information for the release assets to update.\n *\n * @returns An array of updated release assets.\n */\n async updateReleaseAssets(releaseAssets) {\n const assets = [];\n const release = await this.getRelease(releaseAssets);\n for (const asset of releaseAssets.assets) {\n const file = FileInfo.of(asset);\n const existingAsset = release.assets.find(x => x.name === file.name || x.name === file.path);\n if (existingAsset) {\n await this.deleteReleaseAsset({ owner: releaseAssets.owner, repo: releaseAssets.repo, id: existingAsset.id });\n }\n const uploadedAsset = await this.uploadReleaseAsset({ upload_url: release.upload_url, asset: file });\n assets.push(uploadedAsset);\n }\n return assets;\n }\n /**\n * Uploads a release asset to a GitHub release.\n *\n * @param asset - The information for the release asset to upload.\n *\n * @returns The uploaded release asset.\n */\n async uploadReleaseAsset(asset) {\n const { upload_url, asset: file } = asset;\n const url = upload_url.includes(\"{\") ? upload_url.substring(0, upload_url.indexOf(\"{\")) : upload_url;\n const fileInfo = FileInfo.of(file);\n const fileName = encodeURIComponent(fileInfo.name);\n const fileContent = fileInfo.stream();\n const response = await this._fetch(`${url}?name=${fileName}`, HttpRequest.post().with(fileContent));\n return await response.json();\n }\n /**\n * Deletes a GitHub release asset.\n *\n * @param asset - The identifier for the release asset to delete.\n *\n * @returns `true` if the asset was deleted successfully, `false` otherwise.\n */\n async deleteReleaseAsset(asset) {\n const { owner, repo, id } = asset;\n const response = await this._fetch(`/repos/${owner}/${repo}/releases/assets/${id}`, HttpRequest.delete());\n return response.ok;\n }\n}\n","import { GenericPlatformUploader } from \"@/platforms/generic-platform-uploader\";\nimport { PlatformType } from \"@/platforms/platform-type\";\nimport { ArgumentNullError } from \"@/utils/errors\";\nimport { VersionType } from \"@/utils/versioning\";\nimport { GitHubApiClient } from \"./github-api-client\";\n/**\n * Implements the uploader for GitHub.\n */\nexport class GitHubUploader extends GenericPlatformUploader {\n /**\n * Provides the context of the current GitHub Actions workflow run.\n */\n _context;\n /**\n * Constructs a new {@link GitHubUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n super(options);\n this._context = options?.githubContext;\n }\n /**\n * @inheritdoc\n */\n get platform() {\n return PlatformType.GITHUB;\n }\n /**\n * @inheritdoc\n */\n async uploadCore(request) {\n ArgumentNullError.throwIfNull(this._context?.repo, \"context.repo\", \"The information about the repository is required to upload files to GitHub.\");\n const api = new GitHubApiClient({ token: request.token.unwrap(), fetch: this._fetch, baseUrl: this._context.apiUrl });\n const repo = this._context.repo;\n const release = await this.updateOrCreateRelease(request, api);\n return {\n repo: `${repo.owner}/${repo.repo}`,\n tag: release.tag_name,\n url: release.html_url,\n files: release.assets.map(x => ({ id: x.id, name: x.name, url: x.browser_download_url })),\n };\n }\n /**\n * Retrieves the ID of an existing release that matches the request parameters.\n * If no such release exists, it creates a new release and returns its ID.\n *\n * @param request - Contains parameters that define the desired release.\n * @param api - An instance of the GitHub API client for interacting with GitHub services.\n *\n * @returns The ID of the release and a boolean indicating whether a new release was created.\n */\n async getOrCreateReleaseId(request, api) {\n const repo = this._context.repo;\n const tag = request.tag || this._context.tag || request.version;\n let id = undefined;\n let created = false;\n if (request.tag) {\n id = await api.getRelease({ ...repo, tag_name: request.tag }).then(x => x?.id);\n }\n else if (this._context.payload.release?.id) {\n id = this._context.payload.release.id;\n }\n else if (tag) {\n id = await api.getRelease({ ...repo, tag_name: tag }).then(x => x?.id);\n }\n if (!id && tag) {\n id = (await api.createRelease({\n ...repo,\n tag_name: tag,\n target_commitish: request.commitish,\n name: request.name,\n body: request.changelog,\n draft: request.draft,\n prerelease: request.prerelease ?? request.versionType !== VersionType.RELEASE,\n discussion_category_name: request.discussion,\n generate_release_notes: request.generateChangelog ?? !request.changelog,\n }))?.id;\n created = true;\n }\n if (!id) {\n throw new Error(`Cannot find or create GitHub Release${tag ? ` (${tag})` : \"\"}.`);\n }\n return [id, created];\n }\n /**\n * Updates or creates a GitHub release based on the provided request.\n *\n * @param request - Contains parameters that define the changes to apply to the release.\n * @param api - An instance of the GitHub API client for interacting with GitHub services.\n *\n * @returns The release data from GitHub.\n */\n async updateOrCreateRelease(request, api) {\n const [id, created] = await this.getOrCreateReleaseId(request, api);\n const body = (!request.changelog || created) ? undefined : request.changelog;\n const assets = request.files;\n return await api.updateRelease({\n ...this._context.repo,\n id,\n body,\n assets,\n });\n }\n}\n","import { VersionType } from \"@/utils/versioning\";\nimport { FileInfo } from \"@/utils/io\";\n/**\n * Returns the data and file information needed to create a new Modrinth version.\n *\n * @param version - The options for the new version.\n *\n * @returns An object containing the data and file information for the new version.\n */\nexport function packModrinthVersionInit(version) {\n const { files = [] } = version;\n const data = {\n // Unpack the `version`\n ...{ ...version, files: undefined },\n // Default values\n name: version.name || version.version_number || files[0] && FileInfo.of(files[0]).name,\n version_type: version.version_type ?? VersionType.RELEASE,\n featured: version.featured ?? true,\n dependencies: version.dependencies ?? [],\n game_versions: version.game_versions ?? [],\n loaders: version.loaders ?? [],\n // Names of each file part\n primary_file: files.length ? \"_0\" : undefined,\n file_parts: files.map((_, i) => `_${i}`),\n };\n const form = files.reduce((form, file, i) => {\n form[`_${i}`] = FileInfo.of(file);\n return form;\n }, { data });\n return form;\n}\n/**\n * Returns the search template needed to search for a Modrinth version.\n *\n * @param version - The search template.\n *\n * @returns The search template needed to search for a Modrinth version.\n */\nexport function packModrinthVersionSearchTemplate(template) {\n const loaders = template?.loaders ? JSON.stringify(template.loaders) : undefined;\n const game_versions = template?.game_versions ? JSON.stringify(template.game_versions) : undefined;\n const featured = template?.featured ?? undefined;\n return { loaders, game_versions, featured };\n}\n","import { HttpRequest, HttpResponse, createFetch, defaultResponse, simpleCache, throwOnError } from \"@/utils/net\";\nimport { asArray } from \"@/utils/collections\";\nimport { packModrinthVersionInit, packModrinthVersionSearchTemplate } from \"./modrinth-version\";\nimport { ModrinthUnfeatureMode } from \"./modrinth-unfeature-mode\";\n/**\n * The API version used for making requests to the Modrinth API.\n */\nconst MODRINTH_API_VERSION = 2;\n/**\n * The base URL for the Modrinth API.\n */\nexport const MODRINTH_API_URL = `https://api.modrinth.com/v${MODRINTH_API_VERSION}`;\n/**\n * The base URL for the staging Modrinth API.\n */\nexport const MODRINTH_STAGING_API_URL = `https://staging-api.modrinth.com/v${MODRINTH_API_VERSION}`;\n/**\n * A client for interacting with the Modrinth API.\n */\nexport class ModrinthApiClient {\n /**\n * The Fetch implementation used for making HTTP requests.\n */\n _fetch;\n /**\n * Creates a new {@link ModrinthApiClient} instance.\n *\n * @param options - The configuration options for the client.\n */\n constructor(options) {\n this._fetch = createFetch({\n handler: options?.fetch,\n baseUrl: options?.baseUrl || options?.fetch?.[\"baseUrl\"] || MODRINTH_API_URL,\n defaultHeaders: {\n Authorization: options?.token,\n },\n })\n .use(simpleCache())\n .use(defaultResponse({ response: r => HttpResponse.json(null, r) }))\n .use(throwOnError({ filter: x => !x.ok && x.status !== 404 }));\n }\n /**\n * Gets an array of loaders supported by Modrinth.\n *\n * @returns An array of loaders supported by Modrinth.\n */\n async getLoaders() {\n const response = await this._fetch(\"/tag/loader?cache=true\");\n return (await response.json()) ?? [];\n }\n /**\n * Gets an array of game versions supported by Modrinth.\n *\n * @returns An array of game versions supported by Modrinth.\n */\n async getGameVersions() {\n const response = await this._fetch(\"/tag/game_version?cache=true\");\n return (await response.json()) ?? [];\n }\n /**\n * Fetches a project by its id or slug.\n *\n * @param idOrSlug - The project id or slug.\n *\n * @returns The project, or `undefined` if not found.\n */\n async getProject(idOrSlug) {\n const response = await this._fetch(`/project/${idOrSlug}`);\n return (await response.json()) ?? undefined;\n }\n /**\n * Returns the project id for the given project.\n *\n * @param idOrSlug - The project id or slug.\n *\n * @returns The project id, or `undefined` if not found.\n */\n async getProjectId(idOrSlug) {\n const response = await this._fetch(`/project/${idOrSlug}/check`);\n return (await response.json())?.id ?? undefined;\n }\n /**\n * Fetches multiple projects by their IDs and/or slugs.\n *\n * @param idsOrSlugs - The project IDs and/or slugs.\n *\n * @returns An array of projects.\n */\n async getProjects(idsOrSlugs) {\n const response = await this._fetch(\"/projects\", HttpRequest.get().with({ ids: JSON.stringify(asArray(idsOrSlugs)) }));\n return (await response.json()) ?? [];\n }\n /**\n * Updates an existing project.\n *\n * @param project - The project data to update.\n *\n * @returns `true` if the update was successful; otherwise, `false`.\n */\n async updateProject(project) {\n const response = await this._fetch(`/project/${project.id}`, HttpRequest.patch().json(project));\n return response.ok;\n }\n /**\n * Deletes an existing project.\n *\n * @param version - The id or slug of the project to delete.\n *\n * @returns `true` if the project was successfully deleted; otherwise, `false`.\n */\n async deleteProject(idOrSlug) {\n const response = await this._fetch(`/project/${idOrSlug}`, HttpRequest.delete());\n return response.ok;\n }\n /**\n * Fetches a version by its id.\n *\n * @param id - The version id.\n *\n * @returns The version, or `undefined` if not found.\n */\n async getVersion(id) {\n const response = await this._fetch(`/version/${id}`);\n return (await response.json()) ?? undefined;\n }\n /**\n * Fetches multiple versions by their IDs.\n *\n * @param ids - The version IDs.\n *\n * @returns An array of versions.\n */\n async getVersions(ids) {\n const response = await this._fetch(\"/versions\", HttpRequest.get().with({ ids: JSON.stringify(asArray(ids)) }));\n return (await response.json()) ?? [];\n }\n /**\n * Creates a new version.\n *\n * @param version - The version data.\n *\n * @returns The created version.\n */\n async createVersion(version) {\n const form = packModrinthVersionInit(version);\n const response = await this._fetch(\"/version\", HttpRequest.post().with(form));\n return await response.json() ?? undefined;\n }\n /**\n * Updates an existing version.\n *\n * @param version - The version data to update.\n *\n * @returns `true` if the update was successful; otherwise, `false`.\n */\n async updateVersion(version) {\n const response = await this._fetch(`/version/${version.id}`, HttpRequest.patch().json(version));\n return response.ok;\n }\n /**\n * Deletes an existing version.\n *\n * @param version - The id of the version to delete.\n *\n * @returns `true` if the version was successfully deleted; otherwise, `false`.\n */\n async deleteVersion(id) {\n const response = await this._fetch(`/version/${id}`, HttpRequest.delete());\n return response.ok;\n }\n /**\n * Fetches the versions of a project based on the provided search template.\n *\n * @param idOrSlug - The project id or slug.\n * @param template - The search template to filter versions.\n *\n * @returns An array of versions matching the search criteria.\n */\n async getProjectVersions(idOrSlug, template) {\n const params = packModrinthVersionSearchTemplate(template);\n const response = await this._fetch(`/project/${idOrSlug}/version`, HttpRequest.get().with(params));\n return (await response.json()) ?? [];\n }\n /**\n * Unfeatures previous project versions based on the provided mode.\n *\n * @param currentVersion - The current version to use as an anchor point.\n * @param mode - The unfeaturing mode (default: `ModrinthUnfeatureMode.SUBSET`).\n *\n * @returns A record containing version IDs as keys and a boolean indicating whether the unfeaturing operation was successful for each version.\n */\n async unfeaturePreviousProjectVersions(currentVersion, mode) {\n mode ??= ModrinthUnfeatureMode.SUBSET;\n const previousVersions = await this.getProjectVersions(currentVersion.project_id, { featured: true });\n const unfeaturedVersions = {};\n for (const previousVersion of previousVersions) {\n if (!ModrinthUnfeatureMode.shouldUnfeature(previousVersion, currentVersion, mode)) {\n continue;\n }\n unfeaturedVersions[previousVersion.id] = await this.updateVersion({ id: previousVersion.id, featured: false });\n }\n return unfeaturedVersions;\n }\n}\n","import { DependencyType } from \"@/dependencies\";\nimport { Enum } from \"@/utils/enum\";\n/**\n * Represents the types of dependencies a Modrinth version can have.\n *\n * @partial\n */\nvar ModrinthDependencyTypeValues;\n(function (ModrinthDependencyTypeValues) {\n /**\n * The dependency is required for the mod to function.\n */\n ModrinthDependencyTypeValues[\"REQUIRED\"] = \"required\";\n /**\n * The dependency is optional and provides additional features.\n */\n ModrinthDependencyTypeValues[\"OPTIONAL\"] = \"optional\";\n /**\n * The dependency is incompatible with the mod.\n */\n ModrinthDependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n /**\n * The dependency is embedded within the mod.\n */\n ModrinthDependencyTypeValues[\"EMBEDDED\"] = \"embedded\";\n})(ModrinthDependencyTypeValues || (ModrinthDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the ModrinthDependencyType enum.\n *\n * @partial\n */\nconst ModrinthDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the dependency type.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Converts a {@link ModrinthDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link ModrinthDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case ModrinthDependencyType.REQUIRED:\n return DependencyType.REQUIRED;\n case ModrinthDependencyType.OPTIONAL:\n return DependencyType.OPTIONAL;\n case ModrinthDependencyType.INCOMPATIBLE:\n return DependencyType.INCOMPATIBLE;\n case ModrinthDependencyType.EMBEDDED:\n return DependencyType.EMBEDDED;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link ModrinthDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link ModrinthDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return ModrinthDependencyType.REQUIRED;\n case DependencyType.OPTIONAL:\n case DependencyType.RECOMMENDED:\n return ModrinthDependencyType.OPTIONAL;\n case DependencyType.EMBEDDED:\n return ModrinthDependencyType.EMBEDDED;\n case DependencyType.CONFLICTING:\n case DependencyType.INCOMPATIBLE:\n return ModrinthDependencyType.INCOMPATIBLE;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with ModrinthDependencyType.\n *\n * @partial\n */\nconst ModrinthDependencyTypeMethods = {\n fromDependencyType,\n toDependencyType,\n};\n/**\n * Represents the types of dependencies a Modrinth version can have.\n */\nexport const ModrinthDependencyType = Enum.create(ModrinthDependencyTypeValues, ModrinthDependencyTypeOptions, ModrinthDependencyTypeMethods);\n","import { GenericPlatformUploader } from \"@/platforms/generic-platform-uploader\";\nimport { PlatformType } from \"@/platforms/platform-type\";\nimport { $i } from \"@/utils/collections\";\nimport { IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER } from \"@/utils/comparison\";\nimport { ArgumentError } from \"@/utils/errors\";\nimport { ModrinthApiClient } from \"./modrinth-api-client\";\nimport { ModrinthDependencyType } from \"./modrinth-dependency-type\";\nimport { ModrinthUnfeatureMode } from \"./modrinth-unfeature-mode\";\n/**\n * Implements the uploader for Modrinth.\n */\nexport class ModrinthUploader extends GenericPlatformUploader {\n /**\n * Constructs a new {@link ModrinthUploader} instance.\n *\n * @param options - The options to use for the uploader.\n */\n constructor(options) {\n super(options);\n }\n /**\n * @inheritdoc\n */\n get platform() {\n return PlatformType.MODRINTH;\n }\n /**\n * @inheritdoc\n */\n async uploadCore(request) {\n ArgumentError.throwIfNullOrEmpty(request.id, \"request.id\", \"A project ID is required to upload files to Modrinth.\");\n ArgumentError.throwIfNullOrEmpty(request.version, \"request.version\", \"A version number is required to upload files to Modrinth.\");\n ArgumentError.throwIfNullOrEmpty(request.loaders, \"request.loaders\", \"At least one loader should be specified to upload files to Modrinth.\");\n ArgumentError.throwIfNullOrEmpty(request.gameVersions, \"request.gameVersions\", \"At least one game version should be specified to upload files to Modrinth.\");\n const api = new ModrinthApiClient({ token: request.token.unwrap(), fetch: this._fetch });\n const unfeatureMode = request.unfeatureMode ?? (request.featured ? ModrinthUnfeatureMode.SUBSET : ModrinthUnfeatureMode.NONE);\n const project = await this.getProject(request.id, api);\n const version = await this.createVersion(request, project, api);\n await this.unfeaturePreviousVersions(version, unfeatureMode, api);\n return {\n id: project.id,\n version: version.id,\n url: `https://modrinth.com/${project.project_type}/${project.slug}/version/${version.version_number}`,\n files: version.files.map(x => ({ id: x.hashes.sha1, name: x.filename, url: x.url })),\n };\n }\n /**\n * Fetches the project details from Modrinth.\n *\n * @param idOrSlug - The identifier or slug of the project.\n * @param api - The API client instance to use for the request.\n *\n * @returns The fetched project details.\n */\n async getProject(idOrSlug, api) {\n const project = await api.getProject(idOrSlug);\n if (project) {\n return project;\n }\n // If the project was not found, it could imply that it is not publicly\n // visible (e.g., it hasn't been reviewed yet), and the token we have lacks\n // the `Read projects` permission.\n //\n // Regardless, if the user provided us with a project ID, that's all we need\n // to attempt publishing their assets. Although the upload report may be imprecise\n // with this placeholder data, it's still preferable to not uploading anything at all.\n return {\n id: idOrSlug,\n slug: idOrSlug,\n project_type: \"mod\",\n };\n }\n /**\n * Creates a new version of the project on Modrinth.\n *\n * @param request - The upload request containing information about the new version.\n * @param project - The project for which the new version is created.\n * @param api - The API client instance to use for the upload request.\n *\n * @returns The details of the newly created version.\n */\n async createVersion(request, project, api) {\n const gameVersions = await this.convertToModrinthGameVersionNames(request.gameVersions, api);\n const loaders = await this.convertToModrinthLoaderNames(request.loaders, project, api);\n const dependencies = await this.convertToModrinthDependencies(request.dependencies, api);\n return await api.createVersion({\n name: request.name,\n version_number: request.version,\n project_id: project.id,\n changelog: request.changelog,\n dependencies,\n game_versions: gameVersions,\n version_type: request.versionType,\n loaders,\n featured: request.featured,\n files: request.files,\n });\n }\n /**\n * Converts the dependencies to Modrinth-specific format.\n *\n * @param dependencies - The list of dependencies to convert.\n * @param api - The API client instance to use for retrieving data.\n *\n * @returns An array of converted dependencies.\n */\n async convertToModrinthDependencies(dependencies, api) {\n const simpleDependencies = this.convertToSimpleDependencies(dependencies, ModrinthDependencyType.fromDependencyType);\n const modrinthDependencies = await Promise.all(simpleDependencies.map(async ([id, type]) => ({\n project_id: await api.getProjectId(id).catch(() => undefined),\n dependency_type: type,\n })));\n const uniqueModrinthDependencies = modrinthDependencies\n .filter(x => x.project_id && x.dependency_type)\n .filter((x, i, self) => i === self.findIndex(y => x.project_id === y.project_id));\n return uniqueModrinthDependencies;\n }\n /**\n * Converts loader names to Modrinth-specific format.\n *\n * @param loaders - The list of loaders to convert.\n * @param project - The project for which the loaders are used.\n * @param api - The API client instance to use for retrieving data.\n *\n * @returns An array of converted loader names.\n */\n async convertToModrinthLoaderNames(loaders, project, api) {\n if (!loaders?.length) {\n return [];\n }\n const modrinthLoaders = await api.getLoaders();\n return $i(loaders)\n .map(x => modrinthLoaders.find(y => IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER(x, y.name)))\n .filter(x => x)\n // `project.id === project.slug` is only true when we use placeholder data,\n // which means that we couldn't get the actual project information.\n // Therefore, we cannot rely on `project_type` to filter out invalid loaders.\n // So, let's just hope the user, who didn't provide us with a token with\n // all the required permissions, knows what they are doing.\n .filter(x => x.supported_project_types.includes(project.project_type) || project.id === project.slug)\n .map(x => x.name)\n .toArray();\n }\n /**\n * Converts game version names to Modrinth-specific format.\n *\n * @param gameVersions - The list of game versions to convert.\n * @param api - The API client instance to use for retrieving data.\n *\n * @returns An array of converted game version names.\n */\n async convertToModrinthGameVersionNames(gameVersions, api) {\n if (!gameVersions?.length) {\n return [];\n }\n const modrinthGameVersions = await api.getGameVersions();\n return $i(gameVersions)\n .map(x => modrinthGameVersions.find(y => IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER(x, y.version))?.version)\n .filter(x => x)\n .toArray();\n }\n /**\n * Unfeatures previous versions of the project on Modrinth.\n *\n * @param version - The new version after which the previous ones should be unfeatured.\n * @param unfeatureMode - The mode to determine which versions should be unfeatured.\n * @param api - The API client instance to use for the unfeaturing request.\n */\n async unfeaturePreviousVersions(version, unfeatureMode, api) {\n if (unfeatureMode === ModrinthUnfeatureMode.NONE) {\n return;\n }\n this._logger.info(\"🔽 Initiating unfeaturing of older Modrinth project versions\");\n const result = await api.unfeaturePreviousProjectVersions(version, unfeatureMode);\n const unfeaturedVersions = Object.entries(result).filter(([, success]) => success).map(([version]) => version);\n const nonUnfeaturedVersions = Object.entries(result).filter(([, success]) => !success).map(([version]) => version);\n if (unfeaturedVersions.length) {\n this._logger.info(`🟢 Successfully unfeatured ${unfeaturedVersions.join(\", \")}`);\n }\n if (nonUnfeaturedVersions.length) {\n this._logger.info(`⚠️ Failed to unfeature ${nonUnfeaturedVersions.join(\", \")}. Please, double-check your token`);\n }\n }\n}\n","import { CurseForgeUploader } from \"./curseforge/curseforge-uploader\";\nimport { GitHubUploader } from \"./github/github-uploader\";\nimport { ModrinthUploader } from \"./modrinth/modrinth-uploader\";\nimport { PlatformType } from \"./platform-type\";\n/**\n * Creates a new platform uploader based on the provided platform type and options.\n *\n * @param platform - The type of platform for which to create the uploader.\n * @param options - The options to configure the uploader.\n *\n * @returns A new platform uploader.\n */\nexport function createPlatformUploader(platform, options) {\n switch (platform) {\n case PlatformType.MODRINTH:\n return new ModrinthUploader(options);\n case PlatformType.CURSEFORGE:\n return new CurseForgeUploader(options);\n case PlatformType.GITHUB:\n return new GitHubUploader(options);\n default:\n throw new Error(`Unknown platform '${PlatformType.format(platform)}'`);\n }\n}\n","import { createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { FabricDependencyType } from \"./fabric-dependency-type\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"fabricloader\",\n];\n/**\n * A map of aliases for special dependencies for different platforms.\n */\nconst DEPENDENCY_ALIASES = new Map([\n [\"fabric\", \"fabric-api\"],\n].map(([k, v]) => [k, typeof v === \"string\" ? $i(PlatformType.values()).map(x => [x, v]).toMap() : v]));\n/**\n * Retrieves Fabric dependencies from the metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns An array of Fabric dependencies.\n */\nexport function getFabricDependencies(metadata) {\n return $i(FabricDependencyType.values()).flatMap(type => toFabricDependencyArray(metadata?.[type], type)).toArray();\n}\n/**\n * Converts a {@link FabricDependencyList} to a proper array of Fabric dependencies.\n *\n * @param list - The list of fabric dependencies.\n * @param type - The type of the dependencies in the list.\n *\n * @returns An array of Fabric dependencies.\n */\nexport function toFabricDependencyArray(list, type) {\n return Object.entries(list || {}).map(([id, version]) => ({ id, version, type }));\n}\n/**\n * Converts {@link FabricDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Fabric dependency, or `undefined` if the input is invalid..\n */\nexport function normalizeFabricDependency(dependency) {\n return createDependency({\n id: dependency?.id,\n versions: dependency?.version,\n type: FabricDependencyType.toDependencyType(dependency?.type || FabricDependencyType.DEPENDS),\n ignore: IGNORED_DEPENDENCIES.includes(dependency?.id),\n aliases: DEPENDENCY_ALIASES.get(dependency?.id),\n });\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents different mod loader types.\n *\n * @partial\n */\nvar LoaderTypeValues;\n(function (LoaderTypeValues) {\n /**\n * Fabric mod loader.\n */\n LoaderTypeValues[\"FABRIC\"] = \"fabric\";\n /**\n * Forge mod loader.\n */\n LoaderTypeValues[\"FORGE\"] = \"forge\";\n /**\n * Quilt mod loader.\n */\n LoaderTypeValues[\"QUILT\"] = \"quilt\";\n /**\n * NeoForge mod loader.\n */\n LoaderTypeValues[\"NEOFORGE\"] = \"neoforge\";\n})(LoaderTypeValues || (LoaderTypeValues = {}));\n/**\n * Options for configuring the behavior of the `LoaderType` enum.\n *\n * @partial\n */\nconst LoaderTypeOptions = {\n /**\n * The case should be ignored while parsing the mod loader type.\n */\n ignoreCase: true,\n};\n/**\n * Represents different mod loader types.\n */\nexport const LoaderType = Enum.create(LoaderTypeValues, LoaderTypeOptions);\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { asString } from \"@/utils/string-utils\";\nimport { deprecate } from \"node:util\";\n/**\n * Gets the custom payload from the Fabric metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getFabricMetadataCustomPayload(metadata) {\n return containsLegacyCustomPayloadDefinition(metadata)\n ? getLegacyFabricMetadataCustomPayload(metadata)\n : (metadata?.custom?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the metadata contains a legacy custom payload definition.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyCustomPayloadDefinition(metadata) {\n return !!metadata?.custom?.modmanager;\n}\n/**\n * Gets the legacy custom payload from the Fabric metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyFabricMetadataCustomPayload(metadata) {\n const modManagerPayload = metadata?.custom?.modmanager;\n const basePayload = metadata?.custom?.[ACTION_NAME];\n return { ...modManagerPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Fabric metadata.\n *\n * @param metadata - The raw Fabric metadata.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Use `mc-publish` field instead of `modmanager` field.\n */\nconst getLegacyFabricMetadataCustomPayload = deprecate(_getLegacyFabricMetadataCustomPayload, \"Use `mc-publish` field instead of `modmanager` field.\");\n/**\n * A list of default mod loaders associated with the Fabric loader.\n */\nconst DEFAULT_LOADERS = [LoaderType.FABRIC];\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the Fabric metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromFabricMetadataCustomPayload(payload) {\n if (containsLegacyLoadersDefinition(payload)) {\n return getLegacyLoadersFromFabricMetadataCustomPayload(payload);\n }\n return payload?.loaders || [...DEFAULT_LOADERS];\n}\n/**\n * Checks if the custom payload contains a legacy loaders definition.\n *\n * @param payload - The custom payload object.\n *\n * @returns A boolean indicating if the legacy loaders definition is present.\n */\nfunction containsLegacyLoadersDefinition(payload) {\n return typeof payload?.quilt === \"boolean\";\n}\n/**\n * Gets an array of supported mod loaders from the legacy custom payload attached to the Fabric metadata.\n *\n * @param payload - The legacy custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nfunction _getLegacyLoadersFromFabricMetadataCustomPayload(payload) {\n return payload?.quilt ? [LoaderType.FABRIC, LoaderType.QUILT] : [...DEFAULT_LOADERS];\n}\n/**\n * Gets an array of supported mod loaders from the legacy custom payload attached to the Fabric metadata.\n *\n * @param payload - The legacy custom payload object.\n *\n * @returns An array of supported mod loaders.\n *\n * @deprecated\n *\n * Use the universal `\"loaders\": [\"fabric\", \"quilt\"]` field instead of `\"quilt\": true`.\n */\nconst getLegacyLoadersFromFabricMetadataCustomPayload = deprecate(_getLegacyLoadersFromFabricMetadataCustomPayload, \"Use the universal `\\\"loaders\\\": [\\\"fabric\\\", \\\"quilt\\\"]` field instead of `\\\"quilt\\\": true`\");\n/**\n * Gets the dependencies from the custom payload attached to the Fabric metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromFabricMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the Fabric metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromFabricMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getFabricDependencies, normalizeFabricDependency } from \"./fabric-dependency\";\nimport { getDependenciesFromFabricMetadataCustomPayload, getFabricMetadataCustomPayload, getLoadersFromFabricMetadataCustomPayload, getProjectIdFromFabricMetadataCustomPayload } from \"./fabric-metadata-custom-payload\";\n/**\n * Represents Fabric mod metadata.\n */\nexport class FabricMetadata {\n /**\n * The raw Fabric metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link FabricMetadata} instance.\n *\n * @param raw - The raw Fabric metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link FabricMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw Fabric metadata.\n *\n * @returns A new `FabricMetadata` instance.\n */\n static from(raw) {\n return new FabricMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n return asString(this._raw.id || \"\");\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this._raw.name || this._raw.id || \"\");\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this._raw.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromFabricMetadataCustomPayload(this.customPayload);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getFabricDependencies(this._raw).map(normalizeFabricDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromFabricMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The raw Fabric metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the Fabric metadata.\n */\n get customPayload() {\n return getFabricMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromFabricMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `fabric.mod.json` file, that contains raw Fabric metadata.\n */\nexport const FABRIC_MOD_JSON = \"fabric.mod.json\";\n","import { readAllZippedText } from \"@/utils/io/file-info\";\nimport { FabricMetadata } from \"./fabric-metadata\";\nimport { FABRIC_MOD_JSON } from \"./raw-fabric-metadata\";\n/**\n * A metadata reader that is able to read Fabric mod metadata from a zipped file.\n */\nexport class FabricMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, FABRIC_MOD_JSON);\n return FabricMetadata.from(JSON.parse(metadataText));\n }\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { DependencyType, createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { deprecate } from \"node:util\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"forge\",\n];\n/**\n * Retrieves Forge dependencies from the metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns An array of Forge dependencies.\n */\nexport function getForgeDependencies(metadata) {\n const dependencyMap = $i(Object.values(metadata?.dependencies || {}))\n .filter(x => Array.isArray(x))\n .flatMap(x => x)\n .filter(x => x?.modId)\n .map(x => [x.modId, x])\n .reverse()\n .toMap();\n return [...dependencyMap.values()];\n}\n/**\n * Converts {@link FabricDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Fabric dependency, or `undefined` if the input is invalid..\n */\nexport function normalizeForgeDependency(dependency) {\n const payload = getForgeDependencyCustomPayload(dependency);\n const id = dependency?.modId;\n const versions = dependency?.versionRange;\n const ignore = IGNORED_DEPENDENCIES.includes(dependency?.modId) || typeof payload.ignore === \"boolean\" && payload.ignore;\n const ignoredPlatforms = typeof payload.ignore === \"boolean\" ? undefined : payload.ignore;\n const aliases = $i(PlatformType.values()).map(type => [type, payload[type] ? asString(payload[type]) : undefined]).filter(([, id]) => id).toMap();\n const type = (dependency?.incompatible && DependencyType.INCOMPATIBLE ||\n dependency?.embedded && DependencyType.EMBEDDED ||\n dependency?.mandatory && DependencyType.REQUIRED ||\n DependencyType.OPTIONAL);\n return createDependency({\n id,\n versions,\n type,\n ignore,\n ignoredPlatforms,\n aliases,\n });\n}\n/**\n * Gets the custom payload from the Forge dependency.\n *\n * @param dependency - The Forge dependency.\n *\n * @returns The custom payload object.\n */\nfunction getForgeDependencyCustomPayload(dependency) {\n return containsLegacyForgeDependencyCustomPayload(dependency)\n ? getLegacyForgeDependencyCustomPayload(dependency)\n : (dependency?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the dependency contains a legacy custom payload definition.\n *\n * @param dependency - The dependency to check.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyForgeDependencyCustomPayload(dependency) {\n return !!dependency?.custom?.[ACTION_NAME];\n}\n/**\n * Gets the legacy custom payload from the Forge dependency.\n *\n * @param dependency - The Forge dependency.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyForgeDependencyCustomPayload(dependency) {\n const legacyPayload = dependency?.custom?.[ACTION_NAME];\n const basePayload = dependency?.[ACTION_NAME];\n return { ...legacyPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Forge dependency.\n *\n * @param dependency - The Forge dependency.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Define `mc-publish` property directly on your Forge dependency object instead of using nested `custom.mc-publish`.\n */\nconst getLegacyForgeDependencyCustomPayload = deprecate(_getLegacyForgeDependencyCustomPayload, \"Define `mc-publish` property directly on your Forge dependency object instead of using nested `custom.mc-publish`.\");\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { deprecate } from \"node:util\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * Gets the custom payload from the Forge metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getForgeMetadataCustomPayload(metadata) {\n return containsLegacyCustomPayloadDefinition(metadata)\n ? getLegacyForgeMetadataCustomPayload(metadata)\n : (metadata?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the metadata contains a legacy custom payload definition.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyCustomPayloadDefinition(metadata) {\n return !!metadata?.custom?.[ACTION_NAME] || !!metadata?.custom?.projects || !!metadata?.projects;\n}\n/**\n * Gets the legacy custom payload from the Forge metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyForgeMetadataCustomPayload(metadata) {\n const legacyPayload = { ...metadata?.projects, ...metadata?.custom?.projects, ...metadata?.custom?.[ACTION_NAME] };\n const basePayload = metadata?.[ACTION_NAME];\n return { ...legacyPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Forge metadata.\n *\n * @param metadata - The raw Forge metadata.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Use top-level `mc-publish` field in your mod metadata.\n */\nconst getLegacyForgeMetadataCustomPayload = deprecate(_getLegacyForgeMetadataCustomPayload, \"Use top-level `mc-publish` field in your mods.toml.\");\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the Forge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromForgeMetadataCustomPayload(metadata) {\n const payload = getForgeMetadataCustomPayload(metadata);\n return payload.loaders || [LoaderType.FORGE];\n}\n/**\n * Gets the dependencies from the custom payload attached to the Forge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromForgeMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the Forge metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromForgeMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getForgeDependencies, normalizeForgeDependency } from \"./forge-dependency\";\nimport { getDependenciesFromForgeMetadataCustomPayload, getForgeMetadataCustomPayload, getLoadersFromForgeMetadataCustomPayload, getProjectIdFromForgeMetadataCustomPayload } from \"./forge-metadata-custom-payload\";\n/**\n * Represents Forge mod metadata.\n */\nexport class ForgeMetadata {\n /**\n * The raw Forge metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link ForgeMetadata} instance.\n *\n * @param raw - The raw Forge metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link ForgeMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw Forge metadata.\n *\n * @returns A new `ForgeMetadata` instance.\n */\n static from(raw) {\n return new ForgeMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n return asString(this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this.mod.displayName || this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this.mod.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getForgeDependencies(this._raw).map(normalizeForgeDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromForgeMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The mod represented by this metadata.\n */\n get mod() {\n return this._raw.mods?.[0] || {};\n }\n /**\n * The raw Forge metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the Forge metadata.\n */\n get customPayload() {\n return getForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromForgeMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `mods.toml` file, that contains raw Forge metadata.\n */\nexport const MODS_TOML = \"META-INF/mods.toml\";\n","import { parse as parseToml } from \"toml\";\nimport { readAllZippedText } from \"@/utils/io/file-info\";\nimport { LoaderType } from \"../loader-type\";\nimport { ForgeMetadata } from \"./forge-metadata\";\nimport { MODS_TOML } from \"./raw-forge-metadata\";\n/**\n * A metadata reader that is able to read Forge mod metadata from a zipped file.\n */\nexport class ForgeMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, MODS_TOML);\n const metadata = ForgeMetadata.from(parseToml(metadataText));\n if (!metadata.dependencies.some(x => x.id === LoaderType.FORGE)) {\n throw new Error(\"A Forge metadata file must contain a 'forge' dependency\");\n }\n return metadata;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { DependencyType, createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"quilt_loader\",\n];\n/**\n * A map of aliases for special dependencies for different platforms.\n */\nconst DEPENDENCY_ALIASES = $i([\n [\"fabric\", \"fabric-api\"],\n [\"quilt_base\", \"qsl\"],\n [\"quilted_fabric_api\", \"qsl\"],\n].map(([k, v]) => [k, typeof v === \"string\" ? $i(PlatformType.values()).map(x => [x, v]).toMap() : v])).toMap();\n/**\n * Retrieves Quilt dependencies from the metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns An array of Quilt dependencies.\n */\nexport function getQuiltDependencies(metadata) {\n const dependencyMap = $i(mapQuiltDependencies(metadata?.quilt_loader?.depends))\n .concat(mapQuiltDependencies(metadata?.quilt_loader?.breaks, { breaking: true }))\n .concat(mapQuiltDependencies(metadata?.quilt_loader?.provides, { provided: true }))\n .filter(x => x.id)\n .map(x => [x.id, x])\n .toMap();\n return [...dependencyMap.values()];\n}\n/**\n * Maps a dependency field presented in raw Quilt metadata into the array of Quilt dependencies.\n *\n * @param dependencies - The dependency field to be mapped.\n * @param customFields - Custom fields to attach to the dependencies.\n *\n * @returns The array of Quilt dependencies represented by the given field.\n */\nfunction mapQuiltDependencies(dependencies, customFields) {\n if (!dependencies) {\n return [];\n }\n return $i(dependencies).map(x => typeof x === \"string\" ? { id: x, ...customFields } : { ...x, ...customFields });\n}\n/**\n * Converts {@link QuiltDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Quilt dependency.\n */\nexport function normalizeQuiltDependency(dependency) {\n const payload = getQuiltDependencyCustomPayload(dependency);\n const id = dependency?.id?.includes(\":\") ? dependency.id.substring(dependency.id.indexOf(\":\") + 1) : dependency?.id;\n const versions = dependency?.version || dependency?.versions;\n const ignore = IGNORED_DEPENDENCIES.includes(id) || typeof payload.ignore === \"boolean\" && payload.ignore;\n const ignoredPlatforms = typeof payload.ignore === \"boolean\" ? undefined : payload.ignore;\n const type = (dependency?.breaking && dependency?.unless && DependencyType.CONFLICTING ||\n dependency?.breaking && DependencyType.INCOMPATIBLE ||\n dependency?.provided && DependencyType.EMBEDDED ||\n (dependency?.optional || dependency?.unless) && DependencyType.OPTIONAL ||\n DependencyType.REQUIRED);\n const aliases = $i(DEPENDENCY_ALIASES.get(id) || [])\n .concat($i(PlatformType.values()).map(type => [type, payload[type] ? asString(payload[type]) : undefined]))\n .filter(([, id]) => id)\n .toMap();\n return createDependency({\n id,\n versions,\n type,\n ignore,\n ignoredPlatforms,\n aliases,\n });\n}\n/**\n * Gets the custom payload from the Quilt dependency.\n *\n * @param dependency - The Quilt dependency.\n *\n * @returns The custom payload object.\n */\nfunction getQuiltDependencyCustomPayload(dependency) {\n return dependency?.[ACTION_NAME] || {};\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { deprecate } from \"node:util\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * Gets the custom payload from the Quilt metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getQuiltMetadataCustomPayload(metadata) {\n return containsLegacyCustomPayloadDefinition(metadata)\n ? getLegacyQuiltMetadataCustomPayload(metadata)\n : (metadata?.[ACTION_NAME] || {});\n}\n/**\n * Checks if the metadata contains a legacy custom payload definition.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns A boolean indicating if the legacy custom payload definition is present.\n */\nfunction containsLegacyCustomPayloadDefinition(metadata) {\n return !!metadata?.projects;\n}\n/**\n * Gets the legacy custom payload from the Quilt metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns The custom payload object.\n */\nfunction _getLegacyQuiltMetadataCustomPayload(metadata) {\n const legacyPayload = metadata?.projects;\n const basePayload = metadata?.[ACTION_NAME];\n return { ...legacyPayload, ...basePayload };\n}\n/**\n * Gets the legacy custom payload from the Quilt metadata.\n *\n * @param metadata - The raw Quilt metadata.\n *\n * @returns The custom payload object.\n *\n * @deprecated\n *\n * Use top-level `mc-publish` field in your mod metadata.\n */\nconst getLegacyQuiltMetadataCustomPayload = deprecate(_getLegacyQuiltMetadataCustomPayload, \"Use top-level `mc-publish` field in your quilt.mod.json.\");\n/**\n * A list of default mod loaders associated with the Quilt loader.\n */\nconst DEFAULT_LOADERS = [LoaderType.QUILT];\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the Quilt metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromQuiltMetadataCustomPayload(payload) {\n return payload?.loaders || [...DEFAULT_LOADERS];\n}\n/**\n * Gets the dependencies from the custom payload attached to the Quilt metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromQuiltMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the Quilt metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromQuiltMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getQuiltDependencies, normalizeQuiltDependency } from \"./quilt-dependency\";\nimport { getDependenciesFromQuiltMetadataCustomPayload, getLoadersFromQuiltMetadataCustomPayload, getProjectIdFromQuiltMetadataCustomPayload, getQuiltMetadataCustomPayload } from \"./quilt-metadata-custom-payload\";\n/**\n * Represents Quilt mod metadata.\n */\nexport class QuiltMetadata {\n /**\n * The raw Quilt metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link QuiltMetadata} instance.\n *\n * @param raw - The raw Quilt metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link QuiltMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw Quilt metadata.\n *\n * @returns A new `QuiltMetadata` instance.\n */\n static from(raw) {\n return new QuiltMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n const id = asString(this._raw.quilt_loader?.id || \"\");\n return id.includes(\":\") ? id.substring(id.indexOf(\":\") + 1) : id;\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this._raw.quilt_loader?.metadata?.name || this.id);\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this._raw.quilt_loader?.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromQuiltMetadataCustomPayload(this.customPayload);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getQuiltDependencies(this._raw).map(normalizeQuiltDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromQuiltMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The raw Quilt metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the Quilt metadata.\n */\n get customPayload() {\n return getQuiltMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromQuiltMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `quilt.mod.json` file, that contains raw Quilt metadata.\n */\nexport const QUILT_MOD_JSON = \"quilt.mod.json\";\n","import { readAllZippedText } from \"@/utils/io/file-info\";\nimport { QuiltMetadata } from \"./quilt-metadata\";\nimport { QUILT_MOD_JSON } from \"./raw-quilt-metadata\";\n/**\n * A metadata reader that is able to read Quilt mod metadata from a zipped file.\n */\nexport class QuiltMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n const metadataText = await readAllZippedText(path, QUILT_MOD_JSON);\n return QuiltMetadata.from(JSON.parse(metadataText));\n }\n}\n","import { Enum } from \"@/utils/enum\";\nimport { DependencyType } from \"@/dependencies\";\n/**\n * Represents different NeoForge dependency types.\n *\n * @partial\n */\nvar NeoForgeDependencyTypeValues;\n(function (NeoForgeDependencyTypeValues) {\n /**\n * For dependencies required to run. Without them, a game will crash.\n */\n NeoForgeDependencyTypeValues[\"REQUIRED\"] = \"required\";\n /**\n * For dependencies not required to run. Without them, a game will log a warning.\n */\n NeoForgeDependencyTypeValues[\"OPTIONAL\"] = \"optional\";\n /**\n * For dependencies embedded within the project.\n */\n NeoForgeDependencyTypeValues[\"EMBEDDED\"] = \"embedded\";\n /**\n * For mods whose together with yours might cause a game crash. With them, a game will crash.\n */\n NeoForgeDependencyTypeValues[\"INCOMPATIBLE\"] = \"incompatible\";\n /**\n * For mods whose together with yours cause some kind of bugs, etc. With them, a game will log a warning.\n */\n NeoForgeDependencyTypeValues[\"DISCOURAGED\"] = \"discouraged\";\n})(NeoForgeDependencyTypeValues || (NeoForgeDependencyTypeValues = {}));\n/**\n * Options for configuring the behavior of the NeoForgeDependencyType enum.\n *\n * @partial\n */\nconst NeoForgeDependencyTypeOptions = {\n /**\n * The case should be ignored while parsing the dependency type.\n */\n ignoreCase: true,\n};\n/**\n * Converts a {@link NeoForgeDependencyType} to a {@link DependencyType}.\n *\n * @param type - The {@link NeoForgeDependencyType} to convert.\n *\n * @returns The corresponding {@link DependencyType}, or `undefined` if the value is invalid.\n */\nfunction toDependencyType(type) {\n switch (type) {\n case NeoForgeDependencyType.REQUIRED:\n return DependencyType.REQUIRED;\n case NeoForgeDependencyType.OPTIONAL:\n return DependencyType.OPTIONAL;\n case NeoForgeDependencyType.EMBEDDED:\n return DependencyType.EMBEDDED;\n case NeoForgeDependencyType.INCOMPATIBLE:\n return DependencyType.INCOMPATIBLE;\n case NeoForgeDependencyType.DISCOURAGED:\n return DependencyType.CONFLICTING;\n default:\n return undefined;\n }\n}\n/**\n * Converts a {@link DependencyType} to a {@link NeoForgeDependencyType}.\n *\n * @param type - The {@link DependencyType} to convert.\n *\n * @returns The corresponding {@link NeoForgeDependencyType}, or `undefined` if the value is invalid.\n */\nfunction fromDependencyType(type) {\n switch (type) {\n case DependencyType.REQUIRED:\n return NeoForgeDependencyType.REQUIRED;\n case DependencyType.OPTIONAL:\n case DependencyType.RECOMMENDED:\n return NeoForgeDependencyType.OPTIONAL;\n case DependencyType.EMBEDDED:\n return NeoForgeDependencyType.EMBEDDED;\n case DependencyType.CONFLICTING:\n return NeoForgeDependencyType.DISCOURAGED;\n case DependencyType.INCOMPATIBLE:\n return NeoForgeDependencyType.INCOMPATIBLE;\n default:\n return undefined;\n }\n}\n/**\n * A collection of methods to work with NeoForgeDependencyType.\n *\n * @partial\n */\nconst NeoForgeDependencyTypeMethods = {\n toDependencyType,\n fromDependencyType,\n};\n/**\n * Represents different NeoForge dependency types.\n */\nexport const NeoForgeDependencyType = Enum.create(NeoForgeDependencyTypeValues, NeoForgeDependencyTypeOptions, NeoForgeDependencyTypeMethods);\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { PlatformType } from \"@/platforms\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { NeoForgeDependencyType } from \"./neoforge-dependency-type\";\n/**\n * A list of special dependencies that should be ignored.\n */\nconst IGNORED_DEPENDENCIES = [\n \"minecraft\",\n \"java\",\n \"neoforge\",\n];\n/**\n * Retrieves NeoForge dependencies from the metadata.\n *\n * @param metadata - The raw NeoForge metadata.\n *\n * @returns An array of NeoForge dependencies.\n */\nexport function getNeoForgeDependencies(metadata) {\n const dependencyMap = $i(Object.values(metadata?.dependencies || {}))\n .filter(x => Array.isArray(x))\n .flatMap(x => x)\n .filter(x => x?.modId)\n .map(x => [x.modId, x])\n .reverse()\n .toMap();\n return [...dependencyMap.values()];\n}\n/**\n * Converts {@link FabricDependency} to a {@link Dependency} object.\n *\n * @returns A Dependency object representing the given Fabric dependency, or `undefined` if the input is invalid..\n */\nexport function normalizeNeoForgeDependency(dependency) {\n const payload = dependency?.[ACTION_NAME] || {};\n const id = dependency?.modId;\n const versions = dependency?.versionRange;\n const ignore = IGNORED_DEPENDENCIES.includes(dependency?.modId) || typeof payload.ignore === \"boolean\" && payload.ignore;\n const ignoredPlatforms = typeof payload.ignore === \"boolean\" ? undefined : payload.ignore;\n const aliases = $i(PlatformType.values()).map(type => [type, payload[type] ? asString(payload[type]) : undefined]).filter(([, id]) => id).toMap();\n const type = NeoForgeDependencyType.toDependencyType(dependency?.type || ((dependency?.mandatory ?? true) ? NeoForgeDependencyType.REQUIRED : NeoForgeDependencyType.OPTIONAL));\n return createDependency({\n id,\n versions,\n type,\n ignore,\n ignoredPlatforms,\n aliases,\n });\n}\n","import { ACTION_NAME } from \"@/action\";\nimport { createDependency } from \"@/dependencies\";\nimport { LoaderType } from \"@/loaders/loader-type\";\nimport { asString } from \"@/utils/string-utils\";\n/**\n * Gets the custom payload from the NeoForge metadata.\n *\n * @param metadata - The raw NeoForge metadata.\n *\n * @returns The custom payload attached to the given metadata.\n */\nexport function getNeoForgeMetadataCustomPayload(metadata) {\n return metadata?.[ACTION_NAME] || {};\n}\n/**\n * Gets an array of supported mod loaders from the custom payload attached to the NeoForge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of supported mod loaders.\n */\nexport function getLoadersFromNeoForgeMetadataCustomPayload(metadata) {\n const payload = getNeoForgeMetadataCustomPayload(metadata);\n return payload.loaders || [LoaderType.NEOFORGE];\n}\n/**\n * Gets the dependencies from the custom payload attached to the NeoForge metadata.\n *\n * @param payload - The custom payload object.\n *\n * @returns An array of dependencies included into the custom payload.\n */\nexport function getDependenciesFromNeoForgeMetadataCustomPayload(payload) {\n if (!Array.isArray(payload?.dependencies)) {\n return [];\n }\n return payload?.dependencies?.map(x => createDependency(x)).filter(x => x) || [];\n}\n/**\n * Gets the project ID from the custom payload attached to the NeoForge metadata based on the given platform.\n *\n * @param payload - The custom payload object.\n * @param platform - The platform for which the project ID is required.\n *\n * @returns The project ID as a string, or `undefined` if not found.\n */\nexport function getProjectIdFromNeoForgeMetadataCustomPayload(payload, platform) {\n const id = payload?.[platform];\n return id ? asString(id) : undefined;\n}\n","import { MINECRAFT } from \"@/games/minecraft\";\nimport { $i } from \"@/utils/collections\";\nimport { asString } from \"@/utils/string-utils\";\nimport { getNeoForgeDependencies, normalizeNeoForgeDependency } from \"./neoforge-dependency\";\nimport { getDependenciesFromNeoForgeMetadataCustomPayload, getNeoForgeMetadataCustomPayload, getLoadersFromNeoForgeMetadataCustomPayload, getProjectIdFromNeoForgeMetadataCustomPayload } from \"./neoforge-metadata-custom-payload\";\n/**\n * Represents NeoForge mod metadata.\n */\nexport class NeoForgeMetadata {\n /**\n * The raw NeoForge metadata used to create this instance.\n */\n _raw;\n /**\n * Constructs a new {@link NeoForgeMetadata} instance.\n *\n * @param raw - The raw NeoForge metadata.\n */\n constructor(raw) {\n this._raw = raw || {};\n }\n /**\n * Creates a new {@link NeoForgeMetadata} instance from the given raw metadata.\n *\n * @param raw - The raw NeoForge metadata.\n *\n * @returns A new `NeoForgeMetadata` instance.\n */\n static from(raw) {\n return new NeoForgeMetadata(raw);\n }\n /**\n * @inheritdoc\n */\n get id() {\n return asString(this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get name() {\n return asString(this.mod.displayName || this.mod.modId || \"\");\n }\n /**\n * @inheritdoc\n */\n get version() {\n return asString(this.mod.version || \"*\");\n }\n /**\n * @inheritdoc\n */\n get loaders() {\n return getLoadersFromNeoForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n get gameName() {\n return MINECRAFT;\n }\n /**\n * @inheritdoc\n */\n get gameVersions() {\n return [...(this.dependencies.find(x => x.id === this.gameName)?.versions || [])];\n }\n /**\n * @inheritdoc\n */\n get dependencies() {\n const baseDependencies = getNeoForgeDependencies(this._raw).map(normalizeNeoForgeDependency).filter(x => x);\n const payloadDependencies = getDependenciesFromNeoForgeMetadataCustomPayload(this.customPayload);\n const dependencyMap = $i(baseDependencies).concat(payloadDependencies).filter(x => x).map(x => [x.id, x]).toMap();\n return [...dependencyMap.values()];\n }\n /**\n * The mod represented by this metadata.\n */\n get mod() {\n return this._raw.mods?.[0] || {};\n }\n /**\n * The raw NeoForge metadata representing this instance.\n */\n get raw() {\n return this._raw;\n }\n /**\n * The custom payload attached to the NeoForge metadata.\n */\n get customPayload() {\n return getNeoForgeMetadataCustomPayload(this._raw);\n }\n /**\n * @inheritdoc\n */\n getProjectId(platform) {\n return getProjectIdFromNeoForgeMetadataCustomPayload(this.customPayload, platform) || this.id;\n }\n}\n","import { ACTION_NAME } from \"@/action\";\n/**\n * Name of the `mods.toml` file, that contains raw NeoForge metadata.\n */\nexport const MODS_TOML = \"META-INF/mods.toml\";\n/**\n * Name of the `neoforge.mods.toml` file, that contains raw NeoForge metadata.\n */\nexport const NEOFORGE_MODS_TOML = \"META-INF/neoforge.mods.toml\";\n","import { parse as parseToml } from \"toml\";\nimport { readAllZippedText } from \"@/utils/io/file-info\";\nimport { LoaderType } from \"../loader-type\";\nimport { NeoForgeMetadata } from \"./neoforge-metadata\";\nimport { NEOFORGE_MODS_TOML, MODS_TOML } from \"./raw-neoforge-metadata\";\n/**\n * A metadata reader that is able to read NeoForge mod metadata from a zipped file.\n */\nexport class NeoForgeMetadataReader {\n /**\n * @inheritdoc\n */\n async readMetadataFile(path) {\n // Prefer `neoforge.mods.toml` over `mods.toml`.\n const metadataText = await readAllZippedText(path, NEOFORGE_MODS_TOML)\n .catch(() => readAllZippedText(path, MODS_TOML));\n const metadata = NeoForgeMetadata.from(parseToml(metadataText));\n if (!metadata.dependencies.some(x => x.id === LoaderType.NEOFORGE)) {\n throw new Error(\"A NeoForge metadata file must contain a 'neoforge' dependency\");\n }\n return metadata;\n }\n}\n","import { $i } from \"@/utils/collections\";\nimport { FabricMetadataReader } from \"./fabric/fabric-metadata-reader\";\nimport { ForgeMetadataReader } from \"./forge/forge-metadata-reader\";\nimport { LoaderType } from \"./loader-type\";\nimport { QuiltMetadataReader } from \"./quilt/quilt-metadata-reader\";\nimport { NeoForgeMetadataReader } from \"./neoforge/neoforge-metadata-reader\";\n/**\n * Combines multiple metadata readers into a single reader\n * that tries each reader in order until one successfully reads the metadata.\n *\n * @param readers - A collection of metadata readers to be combined.\n *\n * @returns A new metadata reader instance that represents the combined readers.\n */\nexport function combineLoaderMetadataReaders(readers) {\n const readerArray = [...readers];\n const readMetadataFile = async (path) => {\n for (const reader of readerArray) {\n const metadata = await reader.readMetadataFile(path).catch(() => undefined);\n if (metadata) {\n return metadata;\n }\n }\n throw new Error(`Unable to read metadata from the file located at: '${path}'`);\n };\n return { readMetadataFile };\n}\n/**\n * Creates a metadata reader for the specified well-known loader.\n *\n * @param loader - The loader the metadata for which needs to be read.\n *\n * @returns A metadata reader for the given loader.\n */\nexport function createLoaderMetadataReader(loader) {\n switch (loader) {\n case LoaderType.FABRIC:\n return new FabricMetadataReader();\n case LoaderType.FORGE:\n return new ForgeMetadataReader();\n case LoaderType.QUILT:\n return new QuiltMetadataReader();\n case LoaderType.NEOFORGE:\n return new NeoForgeMetadataReader();\n default:\n throw new Error(`Unknown mod loader '${LoaderType.format(loader)}'.`);\n }\n}\n/**\n * Creates a metadata reader that is a combination of readers for all known loaders.\n *\n * @returns A metadata reader that can read metadata from all known loaders.\n */\nexport function createDefaultLoaderMetadataReader() {\n return combineLoaderMetadataReaders($i(LoaderType.values()).map(createLoaderMetadataReader));\n}\n","import { getEnvironmentVariable } from \"@/utils/environment\";\nimport { readFileSync } from \"node:fs\";\nimport { GITHUB_API_URL as DEFAULT_GITHUB_API_URL } from \"./github-api-client\";\n/**\n * The name of the environment variable that contains the path to the GitHub webhook payload file.\n */\nconst GITHUB_PAYLOAD_PATH = \"GITHUB_EVENT_PATH\";\n/**\n * The name of the environment variable that contains the repository name in the format \"owner/repo\".\n */\nconst GITHUB_REPOSITORY = \"GITHUB_REPOSITORY\";\n/**\n * The name of the environment variable that contains the GitHub API url.\n */\nconst GITHUB_API_URL = \"GITHUB_API_URL\";\n/**\n * The name of the environment variable that contains the Git ref associated with the workflow run.\n */\nconst GITHUB_REF = \"GITHUB_REF\";\n/**\n * The prefix for Git tag refs in the format \"refs/tags/\".\n */\nconst GITHUB_REF_TAG_PREFIX = \"refs/tags/\";\n/**\n * Represents an execution context of a GitHub action.\n */\nexport class GitHubContext {\n /**\n * A container for environment variables.\n */\n _env;\n /**\n * Cached payload associated with the context.\n */\n _payload;\n /**\n * Constructs a new {@link GitHubContext} instance.\n *\n * @param env - An optional object containing environment variables.\n */\n constructor(env) {\n this._env = env;\n }\n /**\n * Gets the ref associated with the context, if available.\n */\n get ref() {\n return getEnvironmentVariable(GITHUB_REF, this._env);\n }\n /**\n * Gets the tag associated with the context, if available.\n */\n get tag() {\n const payload = this.payload;\n if (payload.release?.tag_name) {\n return payload.release.tag_name;\n }\n const ref = this.ref;\n if (ref?.startsWith(GITHUB_REF_TAG_PREFIX)) {\n return ref.substring(GITHUB_REF_TAG_PREFIX.length);\n }\n return undefined;\n }\n /**\n * Gets the version associated with the context, if available.\n */\n get version() {\n const tag = this.tag;\n // Remove the `v` prefix, popularized by GitHub.\n return /v\\d/.test(tag) ? tag.substring(1) : tag;\n }\n /**\n * Gets the repository associated with the context, if available.\n */\n get repo() {\n const repository = getEnvironmentVariable(GITHUB_REPOSITORY, this._env);\n if (repository?.includes(\"/\")) {\n const [owner, repo] = repository.split(\"/\");\n return { owner, repo };\n }\n return undefined;\n }\n /**\n * Gets the URL for the GitHub API associated with this context, if available;\n * otherwise using the base URL (`\"https://api.github.com\"`).\n */\n get apiUrl() {\n return getEnvironmentVariable(GITHUB_API_URL, this._env) || DEFAULT_GITHUB_API_URL;\n }\n /**\n * Gets the payload associated with the context.\n */\n get payload() {\n if (this._payload) {\n return this._payload;\n }\n const path = getEnvironmentVariable(GITHUB_PAYLOAD_PATH, this._env);\n try {\n this._payload = JSON.parse(readFileSync(path, \"utf8\"));\n }\n catch {\n this._payload = {};\n }\n return this._payload;\n }\n}\n","import { QueryString } from \"@/utils/net\";\nimport { parseImportDirective } from \"@/utils/reflection\";\n/**\n * Parses a string into a type descriptor of a parameter of a GitHub Action.\n *\n * @param descriptor - The type descriptor to parse.\n *\n * @returns An {@link ActionParameterTypeDescriptor} object, or `undefined` if the input was invalid.\n *\n * @example\n *\n * ```\n * parseActionParameterTypeDescriptor(\"foo/bar-bar/baz-baz->{BazBaz}:{parseBazBaz}?key=value\");\n * ```\n */\nexport function parseActionParameterTypeDescriptor(descriptor) {\n if (!descriptor) {\n return undefined;\n }\n // Remove all whitespace characters and generics from the descriptor.\n descriptor = descriptor.replaceAll(/\\s/g, \"\").replaceAll(/<.*>/g, \"\");\n const isArray = descriptor.includes(\"[]\");\n descriptor = descriptor.replaceAll(\"[]\", \"\");\n const optionsIndex = descriptor.indexOf(\"?\");\n const options = optionsIndex >= 0 ? QueryString.parse(descriptor.substring(optionsIndex)) : undefined;\n descriptor = optionsIndex >= 0 ? descriptor.substring(0, optionsIndex) : descriptor;\n const normalizedDescriptor = normalizePattern(descriptor);\n const [type, factory] = normalizedDescriptor.split(\";\").map(parseImportDirective);\n return { ...type, factory, options, isArray };\n}\n/**\n * Normalizes a type descriptor pattern for use in an action signature.\n *\n * @param descriptor - The type descriptor pattern to normalize.\n *\n * @returns The normalized type descriptor pattern.\n *\n * @example\n *\n * ```\n * \"foo/bar-bar/baz-baz->{BazBaz:parseBazBaz}\" => \"foo/bar-bar/baz-baz->{BazBaz};parseBazBaz\"\n * \"foo/bar-bar/baz-baz->{BazBaz}:{parseBazBaz}\" => \"foo/bar-bar/baz-baz->{BazBaz};foo/bar-bar/baz-baz->{parseBazBaz}\"\n * \"foo/bar-bar/baz-baz->{BazBaz}:parseBazBaz\" => \"foo/bar-bar/baz-baz->{BazBaz};foo/bar-bar/baz-baz->parseBazBaz\"\n * \"foo/bar-bar/baz-baz->BazBaz:{parseBazBaz}\" => \"foo/bar-bar/baz-baz->BazBaz;foo/bar-bar/baz-baz->{parseBazBaz}\"\n * \"foo/bar-bar/baz-baz->BazBaz:parseBazBaz\" => \"foo/bar-bar/baz-baz->BazBaz;parseBazBaz\"\n * ```\n */\nfunction normalizePattern(descriptor) {\n if (!descriptor.includes(\"/\") && descriptor.includes(\".\")) {\n return normalizePatternInDotNotation(descriptor);\n }\n if (!descriptor.includes(\":\")) {\n return descriptor;\n }\n const descriptors = descriptor.split(\";\");\n const mainDescriptor = descriptors[0];\n if (!mainDescriptor.includes(\":\")) {\n return mainDescriptor;\n }\n const typeDescriptor = mainDescriptor.replaceAll(/:(?:\\w+|{\\w+})/g, \"\");\n const typeModule = mainDescriptor.match(/^.*->/)?.[0];\n const match = mainDescriptor.match(/\\{?(?\\w+)(?\\}?):(?\\{?)(?\\w+)\\}?/)?.groups;\n const factoryModule = !match.isTypeImported && !match.isFactoryImported ? \"\" : typeModule;\n const factoryDescriptor = factoryModule + (match.isFactoryImported ? `{${match.factory}}` : match.factory);\n return `${typeDescriptor};${factoryDescriptor}`;\n}\n/**\n * Converts a type descriptor in dot notation to slash notation.\n *\n * @param descriptor - The type descriptor in dot notation.\n *\n * @returns The type descriptor in slash notation.\n *\n * @example\n *\n * ```\n * \"foo.barBar.BazBaz\" => \"foo/bar-bar/baz-baz->{BazBaz}\"\n * \"foo.barBar.BazBaz:parseBazBaz\" => \"foo/bar-bar/baz-baz->{BazBaz};parseBazBaz\"\n * \"foo.barBar.BazBaz:{parseBazBaz}\" => \"foo/bar-bar/baz-baz->{BazBaz};foo/bar-bar/baz-baz->{parseBazBaz}\"\"\n * ```\n */\nfunction normalizePatternInDotNotation(descriptor) {\n const descriptors = descriptor.split(\";\");\n const dotDescriptor = descriptors[0];\n // Use a regular expression to match the path, name, and factory components of the descriptor.\n const match = dotDescriptor.match(/^(?.*?\\.)?(?[\\w]+?)(?::(?{?\\w+}?))?$/);\n if (!match) {\n return descriptor;\n }\n const path = match.groups.path;\n const typeName = match.groups.name;\n // Create the full path by replacing dots with slashes and converting camelCase to kebab-case.\n const fullPath = path && `${path}${typeName}`.replaceAll(\".\", \"/\").replaceAll(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n const factoryName = match.groups.factory;\n const isFactoryImported = factoryName?.charAt(0) === \"{\";\n const typeDescriptor = fullPath ? `${fullPath}->{${typeName}}` : typeName;\n const factoryDescriptor = factoryName ? isFactoryImported && fullPath ? `${fullPath}->${factoryName}` : factoryName : descriptors[1];\n // Join the type and factory descriptors (if any) with semicolons and return as the result.\n const slashDescriptor = [typeDescriptor, factoryDescriptor].filter(x => x).join(\";\");\n return slashDescriptor;\n}\n","import { $i } from \"@/utils/collections\";\nimport { capitalize } from \"@/utils/string-utils\";\n/**\n * Returns the parameter name as a single-element array, representing the identity path of the parameter.\n *\n * @param name - The name of the parameter.\n *\n * @returns An array containing a single element, which is the name of the parameter.\n */\nexport const IDENTITY_ACTION_PARAMETER_PATH_PARSER = name => [name || \"\"];\n/**\n * Splits the parameter name by non-letter and non-number characters, converts each word to lowercase,\n * and returns an array of property names that identify the location of the parameter.\n *\n * @param name - The name of the parameter.\n *\n * @returns An array of property names that identify the location of the parameter.\n */\nexport const SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER = name => (name || \"\").split(/[^\\p{L}\\p{N}]/u).map(x => x.toLowerCase());\n/**\n * Splits the parameter name by non-letter and non-number characters, converts each word to lowercase,\n * groups the parameter based on the input/output group specified in the metadata object, and\n * returns an array of property names that identify the location of the parameter.\n *\n * @param name - The name of the parameter.\n * @param parameter - The input or output parameter for which to generate the path, if any.\n * @param metadata - The action metadata object containing the parameter, if any.\n *\n * @returns An array of property names that identify the location of the parameter.\n *\n * @remarks\n *\n * For example, given the following set of parameter names:\n * ```\n * [\n * \"bar-baz\",\n * \"foo-qux\",\n * \"foo-qux-waldo\",\n * ]\n * ```\n * And groups:\n * ```\n * [\n * \"foo\",\n * ]\n * ```\n *\n * The output would be:\n * ```\n * [\n * [\"barBaz\"],\n * [\"foo\", \"qux\"],\n * [\"foo\", \"quxWaldo\"],\n * ]\n * ```\n */\nexport const SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER = (name, parameter, metadata) => {\n const path = SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(name, parameter, metadata);\n if (!parameter || !metadata) {\n return path;\n }\n const groups = metadata.inputs?.[name] === parameter ? metadata.groups?.input : metadata.outputs?.[name] === parameter ? metadata.groups?.output : undefined;\n const groupNames = groups ? Object.keys(groups) : [];\n const parameterGroup = $i(groupNames)\n .map(x => SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER(x, parameter, metadata))\n .filter(x => $i(path).startsWith(x))\n .max((a, b) => a.length - b.length);\n const maxPathLength = (parameterGroup?.length || 0) + 1;\n const flattenedPath = flattenPath(path, maxPathLength);\n return flattenedPath;\n};\n/**\n * Flattens the path array by merging consecutive elements that represent a single property name.\n *\n * @param path - An array of property names to be flattened.\n * @param maxPathLength - The maximum length of the flattened path.\n *\n * @returns The flattened path array.\n *\n * @remarks\n *\n * This method changes the array in place.\n */\nfunction flattenPath(path, maxPathLength) {\n // `maxPathLength` cannot be less then `1`, because we cannot fold a path any further than that.\n // Also, we can handle `NaN`, `undefined`, and `null` this way.\n if (!(maxPathLength >= 1)) {\n maxPathLength = 1;\n }\n while (path.length > maxPathLength) {\n path[path.length - 2] += capitalize(path[path.length - 1]);\n path.splice(path.length - 1);\n }\n return path;\n}\n","import { IDENTITY_ACTION_PARAMETER_PATH_PARSER } from \"./action-parameter-path-parser\";\n/**\n * Retrieves an action parameter descriptor from the given action metadata by its name.\n *\n * @template T - The type of the resulting action parameter descriptor.\n * @template U - The type of the action parameter.\n *\n * @param metadata - The action metadata containing the parameter.\n * @param name - The name of the parameter to extract a descriptor for.\n * @param descriptorFactory - A factory function that creates a new parameter descriptor from the given parameter, its name, and its path.\n * @param parameters - The parameters to extract a descriptor from.\n * @param options - Options for configuring how action parameter descriptors are extracted.\n *\n * @returns An action parameter descriptor, or `undefined` if the parameter was not found.\n */\nexport function getActionParameterDescriptor(metadata, name, descriptorFactory, parameters, options) {\n // Determine which pathParser to use based on the provided options.\n const pathParser = options?.pathParser ?? IDENTITY_ACTION_PARAMETER_PATH_PARSER;\n // Convert the parameter definition into its respective descriptor and return it.\n const parameter = parameters?.[name];\n const descriptor = parameter && descriptorFactory(parameter, name, pathParser(name, parameter, metadata));\n return descriptor;\n}\n/**\n * Retrieves action parameter descriptors from the given action metadata.\n *\n * @template T - The type of the resulting action parameter descriptors.\n * @template U - The type of the action parameters.\n *\n * @param metadata - The action metadata containing the parameters.\n * @param descriptorFactory - A factory function that creates a new parameter descriptor from the given parameter, its name, and its path.\n * @param parameters - The parameters to extract descriptors from.\n * @param options - Options for configuring how action parameter descriptors are extracted.\n *\n * @returns An array of action parameter descriptors.\n */\nexport function getActionParameterDescriptors(metadata, descriptorFactory, parameters, options) {\n // Determine which pathParser to use based on the provided options.\n const pathParser = options?.pathParser ?? IDENTITY_ACTION_PARAMETER_PATH_PARSER;\n // Convert the parameter definitions into their respective descriptors and return them.\n const namedParameters = parameters ? Object.entries(parameters) : [];\n const descriptors = namedParameters.map(([name, parameter]) => descriptorFactory(parameter, name, pathParser(name, parameter, metadata)));\n return descriptors;\n}\n","import { SYNTHETIC_UNDEFINED } from \"./action-input\";\nimport { parseActionParameterTypeDescriptor } from \"./action-parameter-type-descriptor\";\nimport { getActionParameterDescriptor, getActionParameterDescriptors } from \"./action-parameter-descriptor\";\n/**\n * Retrieves an action input descriptors from the given action metadata by its name.\n *\n * @param metadata - The action metadata containing the input definition.\n * @param name - The name of the input to extract a descriptor for.\n * @param options - Options for configuring how action input descriptor is extracted.\n *\n * @returns An action input descriptor, or `undefined` if the input was not found.\n */\nexport function getActionInputDescriptor(metadata, name, options) {\n return getActionParameterDescriptor(metadata, name, asActionInputDescriptor, metadata.inputs, options);\n}\n/**\n * Retrieves action input descriptors from the given action metadata.\n *\n * @param metadata - The action metadata containing the input definitions.\n * @param options - Options for configuring how action input descriptors are extracted.\n *\n * @returns An array of action input descriptors.\n */\nexport function getActionInputDescriptors(metadata, options) {\n return getActionParameterDescriptors(metadata, asActionInputDescriptor, metadata.inputs, options);\n}\n/**\n * Converts an action input definition to an action input descriptor.\n *\n * @param input - The input definition to convert.\n * @param name - The name of the input definition.\n * @param path - The parsed path of the input definition.\n *\n * @returns The converted action input descriptor.\n */\nfunction asActionInputDescriptor(input, name, path) {\n const isDefaultUndefined = input.default === undefined || input.default === SYNTHETIC_UNDEFINED;\n const typeDescriptor = input.type || (isDefaultUndefined ? \"string\" : typeof input.default);\n return {\n name,\n path,\n redirect: input.redirect,\n type: parseActionParameterTypeDescriptor(typeDescriptor),\n description: input.description ?? \"\",\n required: input.required ?? false,\n default: isDefaultUndefined ? undefined : input.default,\n deprecationMessage: input.deprecationMessage,\n };\n}\n","import { Enum } from \"@/utils/enum\";\n/**\n * Represents the known options for the action parameter factory function.\n *\n * @partial\n */\nvar ActionParameterFactoryOptionsValues;\n(function (ActionParameterFactoryOptionsValues) {\n /**\n * Determines if the input string should be split into an array of strings.\n *\n * Default value is `true` if the type represents an array, and `false` otherwise.\n */\n ActionParameterFactoryOptionsValues[\"SPLIT\"] = \"split\";\n /**\n * If `split` is `true`, this is used to divide the input string into an array of strings.\n * Otherwise, it's unused.\n *\n * Default value is `/\\r?\\n/g`.\n */\n ActionParameterFactoryOptionsValues[\"SEPARATOR\"] = \"separator\";\n /**\n * If `split` is set to `true`, this indicates whether the factory/converter function\n * should accept the input array as a whole or process its values individually and then concatenate them into a new array.\n *\n * Default value is the same as `split`.\n */\n ActionParameterFactoryOptionsValues[\"PROCESS_SEPARATELY\"] = \"processSeparately\";\n /**\n * If `true`, trims whitespace from the beginning and end of each entry in the array.\n *\n * Default value is the same as `split`.\n */\n ActionParameterFactoryOptionsValues[\"TRIM_ENTRIES\"] = \"trimEntries\";\n /**\n * If `true`, removes empty entries from the array after processing.\n *\n * Default value is the same as `split`.\n */\n ActionParameterFactoryOptionsValues[\"REMOVE_EMPTY_ENTRIES\"] = \"removeEmptyEntries\";\n /**\n * The depth level specifying how deep a nested array structure should be flattened.\n * Passes the value to Array.prototype.flat() method.\n *\n * Default value is `1`.\n */\n ActionParameterFactoryOptionsValues[\"FLAT_DEPTH\"] = \"flatDepth\";\n})(ActionParameterFactoryOptionsValues || (ActionParameterFactoryOptionsValues = {}));\n/**\n * Options for configuring the behavior of the `ActionParameterFactoryOptions` enum.\n *\n * @partial\n */\nconst ActionParameterFactoryOptionsOptions = {\n /**\n * The case should be ignored while parsing the options.\n */\n ignoreCase: true,\n /**\n * Non-word characters should be ignored while parsing the options.\n */\n ignoreNonWordCharacters: true,\n};\n/**\n * Represents the known options for the action parameter factory function.\n */\nexport const ActionParameterFactoryOptions = Enum.create(ActionParameterFactoryOptionsValues, ActionParameterFactoryOptionsOptions);\n","import { runSafely } from \"@/utils/async-utils\";\nimport { $i, asArray } from \"@/utils/collections\";\nimport { toType } from \"@/utils/convert\";\nimport { getAllEnvironmentVariables, getEnvironmentVariable, setEnvironmentVariable } from \"@/utils/environment\";\nimport { NODE_MODULE_LOADER, defineNestedProperty, executeImportDirective } from \"@/utils/reflection\";\nimport { split, stringEquals } from \"@/utils/string-utils\";\nimport { getActionInputDescriptors } from \"./action-input-descriptor\";\nimport { normalizeActionParameterName } from \"./action-parameter\";\nimport { ActionParameterFactoryOptions } from \"./action-parameter-factory-options\";\n/**\n * A synthetic string used to represent an undefined input value in the context of GitHub Actions.\n *\n * This value is used because inputs with an empty string value and inputs that were not supplied\n * are indistinguishable in the context of GitHub Actions. Therefore, this synthetic value is used\n * to represent undefined input values, allowing for a clear distinction between empty and undefined\n * values.\n *\n * @remarks\n *\n * Yeah, it seems that Microsoft didn't think that 2 already existing values that\n * represent absence of any object value in slightly different ways quite cut it,\n * so for their GitHub Actions they invented a brand new one!\n * Rejoice and greet an, I'm sorry, THE empty string!\n *\n * @remarks\n *\n * Someone at Microsoft was like:\n *\n * - undefined === null == \"\" // true\n * - Hm, seems legit\n *\n */\n// eslint-disable-next-line no-template-curly-in-string\nexport const SYNTHETIC_UNDEFINED = \"${undefined}\";\n/**\n * The prefix used to identify GitHub Action inputs in the environment variables.\n */\nconst INPUT_PREFIX = \"INPUT_\";\n/**\n * Sets the value of a GitHub Action input by setting an environment variable.\n *\n * @param name - The name of the input to set.\n * @param value - The value to set for the input.\n * @param env - An optional set of the environment variables to update. Defaults to `process.env`.\n */\nexport function setActionInput(name, value, env) {\n const normalizedName = normalizeActionParameterName(name);\n const environmentVariableName = INPUT_PREFIX + normalizedName;\n const stringifiedValue = value === undefined || value === SYNTHETIC_UNDEFINED\n ? undefined\n : typeof value === \"string\"\n ? value\n : JSON.stringify(value);\n setEnvironmentVariable(environmentVariableName, stringifiedValue, env);\n}\n/**\n * Sets the values of multiple GitHub Action inputs by setting their environment variables.\n *\n * @param inputs - An iterable object of pairs, where the first item is the input parameter name, and the second item is the input parameter value.\n * @param env - An optional set of the environment variables to update. Defaults to `process.env`.\n */\nexport function setActionInputs(inputs, env) {\n for (const [name, value] of inputs) {\n setActionInput(name, value, env);\n }\n}\n/**\n * Gets the value of an input.\n *\n * @param name - Name of the input to get.\n * @param options - Options to configure the way input retrieving works.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns The value of the input, or `undefined` if it was not provided.\n *\n * @throws An error if the `options.required` flag is set to `true` and the input is not defined.\n */\nexport function getActionInput(name, options, env) {\n const normalizedName = normalizeActionParameterName(name);\n const environmentVariableName = INPUT_PREFIX + normalizedName;\n const brokenValue = getEnvironmentVariable(environmentVariableName, env);\n const value = isActionInputDefined(brokenValue) ? brokenValue : undefined;\n const trimmedValue = (options?.trimWhitespace ?? true) ? value?.trim() : value;\n if (options?.required && value === undefined) {\n throw new Error(`Input required and not supplied: ${name}.`);\n }\n return trimmedValue;\n}\n/**\n * Gets the values of multiple inputs.\n *\n * @param names - Names of the inputs to get.\n * @param options - Options to configure the way input retrieving works.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns An array of the values of the inputs. The order of the values matches the order of the input names in the `names` parameter.\n * @throws An error if the `options.required` flag is set to `true` and one of the inputs is not defined.\n */\nexport function getActionInputs(names, options, env) {\n return $i(names).map(name => getActionInput(name, options, env)).toArray();\n}\n/**\n * Returns a map containing all inputs provided to the action.\n *\n * @param options - Options to configure the way input retrieving works.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns A map of input names and their corresponding values.\n * @throws An error if the `options.required` flag is set to `true` and one of the inputs is not defined.\n */\nexport function getAllActionInputs(options, env) {\n const inputs = new Map();\n const required = options?.required;\n const trimWhitespace = options?.trimWhitespace ?? true;\n for (const [name, value] of getAllEnvironmentVariables(env)) {\n if (!name.startsWith(INPUT_PREFIX)) {\n continue;\n }\n const inputName = name.substring(INPUT_PREFIX.length);\n const isValueDefined = isActionInputDefined(value);\n if (required && !isValueDefined) {\n throw new Error(`Input required and not supplied: ${inputName}.`);\n }\n if (!isValueDefined) {\n continue;\n }\n const inputValue = trimWhitespace ? value.trim() : value;\n inputs.set(inputName, inputValue);\n }\n return inputs;\n}\n/**\n * Checks whether the provided value is a defined input value.\n *\n * @param value - The value to check.\n *\n * @returns `true` if the value is a defined input value; otherwise, `false`.\n */\nfunction isActionInputDefined(value) {\n return typeof value === \"string\" && value !== SYNTHETIC_UNDEFINED;\n}\n/**\n * Retrieves all action inputs, converts them to the specified types, and returns them as an object.\n *\n * @template T - The expected type of the resulting object.\n *\n * @param descriptors - An iterable of action input descriptors.\n * @param options - Options for customizing the input object creation.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns A promise that resolves to an object containing the processed inputs.\n */\nexport async function getAllActionInputsAsObject(descriptors, options, env) {\n const moduleLoader = options?.moduleLoader || NODE_MODULE_LOADER;\n const converter = options?.converter || toType;\n const descriptorArray = asArray(descriptors);\n const inputs = getAllActionInputs(options, env);\n const inputObject = {};\n for (const [name, value] of inputs) {\n const descriptor = descriptorArray.find(d => stringEquals(d.name, name, { ignoreCase: true }));\n const targetDescriptor = descriptor?.redirect ? descriptorArray.find(d => d.name === descriptor.redirect) : descriptor;\n if (!targetDescriptor) {\n continue;\n }\n const parsedValue = await parseInput(value, descriptor.type, moduleLoader, converter);\n if (parsedValue === undefined) {\n throw new Error(`Cannot convert \"${descriptor.name}\" to \"${descriptor.type.name}\".`);\n }\n defineNestedProperty(inputObject, targetDescriptor.path, { value: parsedValue, writable: true, configurable: true, enumerable: true });\n }\n return inputObject;\n}\n/**\n * Retrieves all action inputs using metadata, converts them to the specified types, and returns them as an object.\n *\n * @template T - The expected type of the resulting object.\n *\n * @param metadata - The metadata of the action.\n * @param options - Options for customizing the input object creation and descriptor extraction.\n * @param env - An optional set of the environment variables to search within. Defaults to `process.env`.\n *\n * @returns A promise that resolves to an object containing the processed inputs.\n */\nexport async function getAllActionInputsAsObjectUsingMetadata(metadata, options, env) {\n const descriptors = getActionInputDescriptors(metadata, options);\n return await getAllActionInputsAsObject(descriptors, options, env);\n}\n/**\n * Parses an input value using the specified type descriptor, module loader, and converter function.\n *\n * @param value - The input value to parse.\n * @param type - The type descriptor for the input.\n * @param moduleLoader - The module loader to use when loading modules.\n * @param converter - The converter function to use when converting the input value.\n *\n * @returns A promise that resolves to the parsed input value.\n */\nasync function parseInput(value, type, moduleLoader, converter) {\n const shouldSplit = type.options?.getBoolean(ActionParameterFactoryOptions.SPLIT) ?? type.isArray;\n const parse = shouldSplit ? parseMultipleInputs : parseSingleInput;\n return await parse(value, type, moduleLoader, converter);\n}\n/**\n * Parses multiple input values using the specified type descriptor, module loader, and converter function.\n *\n * @param value - The input value to parse.\n * @param type - The type descriptor for the input.\n * @param moduleLoader - The module loader to use when loading modules.\n * @param converter - The converter function to use when converting the input value.\n *\n * @returns A promise that resolves to the parsed input values.\n */\nasync function parseMultipleInputs(value, type, moduleLoader, converter) {\n const separator = type.options?.getRegExp(ActionParameterFactoryOptions.SEPARATOR) ?? /\\r?\\n/g;\n const processSeparately = type.options?.getBoolean(ActionParameterFactoryOptions.PROCESS_SEPARATELY) ?? true;\n const trimEntries = type.options?.getBoolean(ActionParameterFactoryOptions.TRIM_ENTRIES) ?? true;\n const removeEmptyEntries = type.options?.getBoolean(ActionParameterFactoryOptions.REMOVE_EMPTY_ENTRIES) ?? true;\n const flatDepth = type.options?.getNumber(ActionParameterFactoryOptions.FLAT_DEPTH) ?? 1;\n const values = split(value, separator, { trimEntries, removeEmptyEntries });\n if (!processSeparately) {\n return await parseSingleInput(values, type, moduleLoader, converter);\n }\n const processedValues = await Promise.all(values.map(v => parseSingleInput(v, type, moduleLoader, converter)));\n const flattenedValues = processedValues.flat(flatDepth);\n return flattenedValues;\n}\n/**\n * Parses a single input value using the specified type descriptor, module loader, and converter function.\n *\n * @param value - The input value to parse.\n * @param type - The type descriptor for the input.\n * @param moduleLoader - The module loader to use when loading modules.\n * @param converter - The converter function to use when converting the input value.\n *\n * @returns A promise that resolves to the parsed input value.\n */\nasync function parseSingleInput(value, type, moduleLoader, converter) {\n // Simple cases like \"string\", \"number\", \"Date\".\n // Should be handled by the `converter` function.\n if (!type.factory && !type.module) {\n return await converter(value, type.name);\n }\n const typeImport = await executeImportDirective(type, { moduleLoader, required: false });\n // The `factory` function was specified.\n // Therefore, it should be used to process the input.\n if (type.factory) {\n const factoryImport = await executeImportDirective(type.factory, {\n moduleLoader,\n defaultModuleProvider: d => Promise.resolve(d.isDefault ? (typeImport?.value ?? globalThis) : globalThis),\n required: true,\n });\n return await factoryImport.value(value, type.options);\n }\n // The only hope we have is that `converter` function will be able to process the input\n // using the target type or its module themselves.\n //\n // This is usually the case when a type has a dedicated `parse`- or `convert`-like module,\n // or one those is specified on the module itself.\n const conversionMethodContainers = [typeImport?.value, typeImport?.module].filter(x => x);\n for (const target of conversionMethodContainers) {\n const [convertedValue] = await runSafely(() => converter(value, target));\n if (convertedValue !== undefined) {\n return convertedValue;\n }\n }\n // None of the above strategies worked.\n // Let the caller deal with it.\n return undefined;\n}\n","import { pad, splitLines } from \"@/utils/string-utils\";\nimport { $i } from \"@/utils/collections/iterable\";\nimport { DEFAULT_NEWLINE } from \"@/utils/environment\";\n/**\n * A predefined frame style for generating YAML-style frames with `#` characters.\n */\nexport const YAML_FRAME_STYLE = { filler: \"#\" };\n/**\n * A predefined frame style for generating JavaScript-style multiline comment frames with `/*...*‎/` syntax.\n */\nexport const JS_MULTILINE_FRAME_STYLE = { lineStart: \"/* \", filler: \"*\", lineEnd: \" */\" };\n/**\n * A predefined frame-style for generating JavaScript-style single-line comment frames with `//` syntax.\n */\nexport const JS_SINGLELINE_FRAME_STYLE = { filler: \"//\" };\n/**\n * The default frame style to use if no style is specified.\n *\n * Uses the `YAML_FRAME_STYLE` style with `#` characters.\n */\nexport const DEFAULT_FRAME_STYLE = YAML_FRAME_STYLE;\n/**\n * The default alignment settings to use for the contents of each line in the generated frame.\n */\nexport const DEFAULT_FRAME_ALIGN = [\"center\"];\n/**\n * Generates a warning message that indicates the file is auto-generated and should not be edited.\n *\n * @param sourceFileName - An optional string that represents the name of the source file. If provided, the warning message will include instructions for modifying the source file instead of the auto-generated file.\n *\n * @returns A warning message that indicates the file is auto-generated and should not be edited.\n */\nexport function generateAutoGeneratedWarningText(sourceFileName) {\n const baseWarning = \"WARNING: AUTO-GENERATED FILE - DO NOT EDIT!\\n\\nPlease be advised that this is an auto-generated file and should NOT be modified. Any changes made to this file WILL BE OVERWRITTEN.\";\n if (!sourceFileName) {\n return baseWarning;\n }\n return `${baseWarning}\\n\\nTo make changes to the contents of this file, please modify the ${sourceFileName} file instead. This will ensure that your changes are properly reflected in the auto-generated file.`;\n}\n/**\n * Generates a warning frame containing an auto-generated warning message.\n *\n * @param options - Options for generating the warning frame.\n *\n * @returns A string representing the generated warning frame.\n */\nexport function generateAutoGeneratedWarningFrame(options) {\n const message = options?.message ?? generateAutoGeneratedWarningText(options?.sourceFileName);\n const align = Array.isArray(options?.align) ? options.align : typeof options?.align === \"string\" ? [options.align] : DEFAULT_FRAME_ALIGN;\n const filler = options?.style?.filler ?? DEFAULT_FRAME_STYLE.filler;\n const lineStart = options?.style?.lineStart ?? `${filler} `;\n const lineEnd = options?.style?.lineEnd ?? ` ${filler}`;\n const newline = options?.newline ?? DEFAULT_NEWLINE;\n const minLineLength = lineStart.length + lineEnd.length;\n const maxLineLength = Math.max((options?.lineWidth || 0) - minLineLength, 0);\n const lines = splitLines(message, { maxLength: maxLineLength });\n const frameSize = $i(lines).map(x => x.length).max() || 0;\n const fillerCount = Math.ceil(frameSize / filler.length);\n const frameLine = `${lineStart}${filler.repeat(fillerCount)}${lineEnd}`;\n const builtFrame = $i(lines)\n .map((x, i) => pad(x, frameSize, { align: align[Math.min(i, align.length - 1)] }))\n .map(x => `${lineStart}${x}${lineEnd}`)\n .append(frameLine)\n .prepend(frameLine)\n .join(newline);\n return builtFrame;\n}\n","import { DEFAULT_NEWLINE } from \"@/utils/environment\";\n/**\n * The default string to use for a single indentation level.\n */\nexport const DEFAULT_TAB = \" \";\n/**\n * The default number of spaces to use for a single indentation level.\n */\nexport const DEFAULT_TAB_SIZE = 4;\n/**\n * The default style for quoting strings in the formatted code.\n */\nexport const DEFAULT_QUOTES = \"\\\"\";\nexport { DEFAULT_NEWLINE, UNIX_NEWLINE, WINDOWS_NEWLINE } from \"@/utils/environment\";\n/**\n * Returns the string to use for a single indentation level, based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n *\n * @returns The string to use for a single indentation level.\n */\nexport function getTab(options) {\n // If a specific tab character is specified, use it.\n if (typeof options?.tab === \"string\") {\n return options.tab;\n }\n // If a specific tab size is specified and it's not the same as the default, generate a new tab string from it.\n if (typeof options?.tabSize === \"number\" && options.tabSize !== DEFAULT_TAB_SIZE) {\n return createTab(options.tabSize);\n }\n // Otherwise, use the default tab string.\n return DEFAULT_TAB;\n}\n/**\n * Returns the indentation string to use based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n *\n * @returns The indentation string to use.\n */\nexport function getIndentation(options) {\n const tab = getTab(options);\n return createIndentation(tab, options?.indent || 0);\n}\n/**\n * Returns the string to use for line breaks based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n * @returns The string to use for line breaks.\n */\nexport function getNewline(options) {\n // If a specific newline character sequence is specified, use it.\n // Otherwise, use the default line break character sequence based on the current operating system.\n return typeof options?.newline === \"string\" ? options.newline : DEFAULT_NEWLINE;\n}\n/**\n * Returns the preferred style for quoting strings based on the given formatting options.\n *\n * @param options - The formatting options to use. If not provided, default values will be used.\n *\n * @returns The preferred style for quoting strings.\n */\nexport function getQuotes(options) {\n // If a specific quote style is specified, use it.\n // Otherwise, use the default quote string.\n return typeof options?.preferredQuotes === \"string\" ? options.preferredQuotes : DEFAULT_QUOTES;\n}\n/**\n * Returns a new set of formatting options with the indentation level incremented by the given amount.\n *\n * @param options - The formatting options to use as the starting point. If not provided, default values will be used.\n * @param step - The number of indentation levels to add. Defaults to `1` if not provided.\n *\n * @returns A new set of formatting options with the incremented indentation level.\n */\nexport function incrementIndent(options, step) {\n const indent = (options?.indent || 0) + (step ?? 1);\n return { ...options, indent };\n}\n/**\n * A cache of previously generated tab strings, keyed by their length.\n */\nconst CACHED_TABS = new Map([\n [DEFAULT_TAB_SIZE, DEFAULT_TAB],\n]);\n/**\n * Generates a string of spaces with the given width to use as an indentation level.\n *\n * @param tabSize - The number of spaces for a single indentation level.\n *\n * @returns The generated tab string.\n */\nfunction createTab(tabSize) {\n const cachedTab = CACHED_TABS.get(tabSize);\n if (cachedTab !== undefined) {\n return cachedTab;\n }\n const generatedTab = \" \".repeat(tabSize);\n CACHED_TABS.set(tabSize, generatedTab);\n return generatedTab;\n}\n/**\n * A cache of previously generated indentation strings, keyed by the combination of their `tab` and `indent` values.\n */\nconst CACHED_INDENTATION = new Map();\n/**\n * Generates a string of spaces using the provided tab string and indent count.\n *\n * @param tab - The string to use for a single indentation level.\n * @param indent - The number of indentation levels to apply.\n *\n * @returns The generated indentation string.\n */\nfunction createIndentation(tab, indent) {\n if (!indent) {\n return \"\";\n }\n if (indent === 1) {\n return tab;\n }\n const cachedIndentationsByTab = CACHED_INDENTATION.get(tab) || new Map();\n if (!cachedIndentationsByTab.size) {\n CACHED_INDENTATION.set(tab, cachedIndentationsByTab);\n }\n const cachedIndentation = cachedIndentationsByTab.get(indent);\n if (cachedIndentation !== undefined) {\n return cachedIndentation;\n }\n const generatedIndentation = tab.repeat(indent);\n cachedIndentationsByTab.set(indent, generatedIndentation);\n return generatedIndentation;\n}\n","import { splitLines } from \"@/utils/string-utils\";\nimport { getIndentation, getNewline, UNIX_NEWLINE } from \"./typescript-formatting-options\";\n/**\n * Represents a TypeScript comment.\n */\nexport class TypeScriptComment {\n /**\n * The text of the comment.\n */\n _text;\n /**\n * Constructs a new {@link TypeScriptComment} instance with the given text.\n *\n * @param text - The text of the comment.\n */\n constructor(text) {\n this._text = text;\n }\n /**\n * Gets the text of the comment.\n */\n get text() {\n return this._text;\n }\n /**\n * Determines whether the comment is a single-line comment.\n */\n get isSingleline() {\n return isSinglelineComment(this._text);\n }\n /**\n * Determines whether the comment is a directive comment.\n */\n get isDirective() {\n return isDirectiveComment(this._text);\n }\n /**\n * Determines whether the comment is a multi-line comment.\n */\n get isMultiline() {\n return isMultilineComment(this._text);\n }\n /**\n * Determines whether the comment is a TSDoc comment.\n */\n get isTSDoc() {\n return isTSDocComment(this._text);\n }\n /**\n * Creates a {@link TypeScriptComment} from the given text or text lines and optional template.\n *\n * @param text - The text or text lines to create the comment from.\n * @param template - The template to use when formatting the comment, if any.\n *\n * @returns A new {@link TypeScriptComment} created from the given text.\n */\n static create(text, template) {\n const lines = typeof text === \"string\" ? splitLines(text) : [...text];\n template ||= lines.length > 1 ? MULTILINE_TEMPLATE : SINGLELINE_TEMPLATE;\n const commentedLines = lines.map(x => template.prefix + x.trim());\n if (typeof template.startDelimiter === \"string\") {\n commentedLines.unshift(template.startDelimiter);\n }\n if (typeof template.endDelimiter === \"string\") {\n commentedLines.push(template.endDelimiter);\n }\n const commentText = commentedLines.join(UNIX_NEWLINE);\n return new TypeScriptComment(commentText);\n }\n /**\n * Creates a single-line {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new single-line {@link TypeScriptComment} created from the given text.\n */\n static createSingleline(text) {\n return TypeScriptComment.create(text, SINGLELINE_TEMPLATE);\n }\n /**\n * Creates a directive {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new directive {@link TypeScriptComment} created from the given text.\n */\n static createDirective(text) {\n return TypeScriptComment.create(text, DIRECTIVE_TEMPLATE);\n }\n /**\n * Creates a multi-line {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new multi-line {@link TypeScriptComment} created from the given text.\n */\n static createMultiline(text) {\n return TypeScriptComment.create(text, MULTILINE_TEMPLATE);\n }\n /**\n * Creates a TSDoc {@link TypeScriptComment} from the given text or text lines.\n *\n * @param text - The text or text lines to create the comment from.\n *\n * @returns A new TSDoc {@link TypeScriptComment} created from the given text.\n */\n static createTSDoc(text) {\n return TypeScriptComment.create(text, TSDOC_TEMPLATE);\n }\n /**\n * Parses the given text as a comment.\n *\n * @param text - The text to parse.\n *\n * @returns A {@link TypeScriptComment} created from the given text.\n */\n static parse(text) {\n return isComment(text) ? new TypeScriptComment(text) : TypeScriptComment.create(text);\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const indent = getIndentation(options);\n const newline = getNewline(options);\n const lines = splitLines(this._text);\n const comment = lines.map(x => indent + x).join(newline);\n return comment;\n }\n}\n/**\n * Determines whether the given text represents a single-line comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a single-line comment; otherwise, `false`.\n */\nexport function isSinglelineComment(text) {\n return /^\\s*\\/\\//.test(text);\n}\n/**\n * Determines whether the given text represents a directive comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a directive comment; otherwise, `false`.\n */\nexport function isDirectiveComment(text) {\n return /^\\s*\\/\\/\\//.test(text);\n}\n/**\n * Determines whether the given text represents a multi-line comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a multi-line comment; otherwise, `false`.\n */\nexport function isMultilineComment(text) {\n return /^\\s*\\/\\*/.test(text);\n}\n/**\n * Determines whether the given text represents a TSDoc comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a TSDoc comment; otherwise, `false`.\n */\nexport function isTSDocComment(text) {\n return /^\\s*\\/\\*\\*/.test(text);\n}\n/**\n * Determines whether the given text represents a comment.\n *\n * @param text - The text to check.\n *\n * @returns `true` if the text represents a comment; otherwise, `false`.\n */\nexport function isComment(text) {\n return /^\\s*\\/[/*]/.test(text);\n}\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for single-line comments.\n */\nexport const SINGLELINE_TEMPLATE = { prefix: \"// \" };\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for directive comments.\n */\nexport const DIRECTIVE_TEMPLATE = { prefix: \"/// \" };\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for multi-line comments.\n */\nexport const MULTILINE_TEMPLATE = { startDelimiter: \"/*\", prefix: \" * \", endDelimiter: \" */\" };\n/**\n * A pre-defined {@link TypeScriptCommentTemplate} for TSDoc comments.\n */\nexport const TSDOC_TEMPLATE = { startDelimiter: \"/**\", prefix: \" * \", endDelimiter: \" */\" };\n","import { TypeScriptComment } from \"./typescript-comment\";\nimport { getNewline } from \"./typescript-formatting-options\";\n/**\n * Provides basic functionality for formatting TypeScript nodes with comments.\n */\nexport class AbstractTypeScriptNode {\n /**\n * An array of `TypeScriptComment` instances representing the comments associated with this node.\n */\n _comments;\n /**\n * Returns an iterable of comments associated with this node.\n */\n comments() {\n return this._comments || [];\n }\n /**\n * @inheritdoc\n */\n addComment(comment) {\n const commentNode = typeof comment === \"string\" ? TypeScriptComment.parse(comment) : comment;\n this._comments ??= [];\n this._comments.push(commentNode);\n return commentNode;\n }\n /**\n * Adds a TSDoc comment to this node.\n *\n * @param comment - The TSDoc comment to add to this node.\n *\n * @returns A new instance of {@link TypeScriptComment} representing the added TSDoc comment.\n */\n addTSDoc(comment) {\n return this.addComment(TypeScriptComment.createTSDoc(comment));\n }\n /**\n * @inheritdoc\n */\n deleteComment(comment) {\n const i = this._comments?.indexOf(comment) ?? -1;\n if (i === -1) {\n return false;\n }\n this._comments.splice(i, 1);\n return true;\n }\n /**\n * @inheritdoc\n */\n formatComments(options) {\n const newline = getNewline(options);\n const formattedComments = this._comments?.map(x => x.format(options)).join(newline) || \"\";\n return formattedComments;\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const newline = getNewline(options);\n const formattedComments = this.formatComments(options);\n const formattedContent = this.formatContent(options);\n const formattedNode = `${formattedComments}${formattedComments ? newline : \"\"}${formattedContent}`;\n return formattedNode;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation, getNewline } from \"./typescript-formatting-options\";\nimport { isCommentableTypeScriptNode } from \"./commentable-typescript-node\";\n/**\n * Represents a TypeScript export statement.\n */\nexport class TypeScriptExport extends AbstractTypeScriptNode {\n /**\n * The exported node.\n */\n _exportedNode;\n /**\n * Indicates whether this is a default export.\n */\n _isDefault;\n /**\n * Constructs a new {@link TypeScriptExport} instance with the specified exported node and default export flag.\n *\n * @param exportedNode - The exported node.\n * @param isDefault - Indicates whether this is a default export. Defaults to `false`.\n */\n constructor(exportedNode, isDefault) {\n super();\n this._exportedNode = exportedNode;\n this._isDefault = isDefault || false;\n }\n /**\n * Creates a new {@link TypeScriptExport} instance with the specified exported node.\n *\n * @param exportedNode - The exported node.\n * @param isDefault - Indicates whether this is a default export. Defaults to `false`.\n *\n * @returns A new {@link TypeScriptExport} instance representing a non-default export.\n */\n static create(exportedNode, isDefault) {\n return new TypeScriptExport(exportedNode, isDefault);\n }\n /**\n * Gets the exported node.\n */\n get exportedNode() {\n return this._exportedNode;\n }\n /**\n * Gets a value indicating whether this is a default export.\n */\n get isDefault() {\n return this._isDefault;\n }\n /**\n * @inheritdoc\n */\n formatComments(options) {\n const newline = getNewline(options);\n const node = this._exportedNode;\n const thisComments = super.formatComments(options);\n const nodeComments = isCommentableTypeScriptNode(node) ? node.formatComments(options) : \"\";\n if (!thisComments) {\n return nodeComments;\n }\n if (!nodeComments) {\n return thisComments;\n }\n return `${thisComments}${newline}${nodeComments}`;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const node = this._exportedNode;\n const formattedExportedNode = (isCommentableTypeScriptNode(node) ? node.formatContent(options) : node.format(options)).trimStart();\n const formattedExport = `${indent}export ${this._isDefault ? \"default \" : \"\"}${formattedExportedNode}${formattedExportedNode.endsWith(\";\") ? \"\" : \";\"}`;\n return formattedExport;\n }\n}\n","import { ArgumentError } from \"@/utils/errors\";\nimport { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation, getQuotes } from \"./typescript-formatting-options\";\n/**\n * Represents a TypeScript import statement.\n */\nexport class TypeScriptImport extends AbstractTypeScriptNode {\n /**\n * The path or module specifier of the imported module.\n */\n _path;\n /**\n * Set of named imports, if any.\n */\n _namedImports;\n /**\n * The name of the default import, if any.\n */\n _defaultImportName;\n /**\n * The name used to refer to a wildcard import, if any.\n */\n _wildcardImportName;\n /**\n * Constructs a new {@link TypeScriptImport} instance with the specified parameters.\n *\n * @param path - The path or module specifier of the imported module.\n * @param namedImports - Set of named imports, if any.\n * @param defaultImportName - The name of the default import, if any.\n * @param wildcardImportName - The name used to refer to a wildcard import, if any.\n */\n constructor(path, namedImports, defaultImportName, wildcardImportName) {\n super();\n this._path = path;\n this._namedImports = namedImports;\n this._defaultImportName = defaultImportName;\n this._wildcardImportName = wildcardImportName;\n this.assertIsValidImport();\n }\n /**\n * Creates a new instance of {@link TypeScriptImport}.\n *\n * @param path - The path or module specifier of the imported module.\n * @param options - An optional set of configuration options for the import, such as named imports or a default import name.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static create(path, options) {\n return new TypeScriptImport(path, options?.namedImports ? new Set(options.namedImports) : undefined, options?.defaultImportName, options?.wildcardImportName);\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing a wildcard import.\n *\n * @param path - The path or module specifier of the imported module.\n * @param wildcardImportName - The name used to refer to a wildcard import.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createWildcardImport(path, wildcardImportName) {\n return new TypeScriptImport(path, undefined, undefined, wildcardImportName);\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing a default import.\n *\n * @param path - The path or module specifier of the imported module.\n * @param defaultImportName - The name of the default import.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createDefaultImport(path, defaultImportName) {\n return new TypeScriptImport(path, undefined, defaultImportName);\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing a named import.\n *\n * @param path - The path or module specifier of the imported module.\n * @param namedImports - The set of named imports.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createNamedImport(path, namedImports) {\n return new TypeScriptImport(path, new Set(namedImports));\n }\n /**\n * Creates a new {@link TypeScriptImport} instance representing an empty import.\n *\n * @param path - The path or module specifier of the imported module.\n *\n * @returns A new {@link TypeScriptImport} instance.\n */\n static createEmptyImport(path) {\n return new TypeScriptImport(path);\n }\n /**\n * Gets the path or module specifier of the imported module.\n */\n get path() {\n return this._path;\n }\n /**\n * Gets the iterable list of named imports, if any.\n */\n namedImports() {\n return this._namedImports || [];\n }\n /**\n * Adds a named import to the list of named imports.\n *\n * @param name - The name of the named import to add.\n *\n * @throws An error if the specified import name is an empty string.\n */\n addNamedImport(name) {\n ArgumentError.throwIfNullOrEmpty(name, \"name\");\n this._namedImports ??= new Set();\n this._namedImports.add(name);\n this.assertIsValidImport();\n }\n /**\n * Adds multiple named imports to the list of named imports.\n *\n * @param names - An iterable list of named imports to add.\n *\n * @throws An error if any of the specified import names is an empty string.\n */\n addNamedImports(names) {\n for (const name of names) {\n this.addNamedImport(name);\n }\n }\n /**\n * Deletes the specified named import from this instance's list of named imports.\n *\n * @param name - The name of the named import to delete.\n *\n * @returns `true` if the named import was deleted; otherwise, `false`.\n */\n deleteNamedImport(name) {\n return !!this._namedImports?.delete(name);\n }\n /**\n * Gets the name of the default import, if any.\n */\n get defaultImportName() {\n return this._defaultImportName;\n }\n /**\n * Sets the name of the default import.\n *\n * @param name - The new name of the default import.\n */\n set defaultImportName(name) {\n this._defaultImportName = name;\n this.assertIsValidImport();\n }\n /**\n * Gets the name used to refer to a wildcard import, if any.\n */\n get wildcardImportName() {\n return this._wildcardImportName;\n }\n /**\n * Sets the name used to refer to a wildcard import.\n *\n * @param name - The new name used to refer to a wildcard import.\n */\n set wildcardImportName(name) {\n this._wildcardImportName = name;\n this.assertIsValidImport();\n }\n /**\n * Gets a value indicating whether this instance has any named imports.\n */\n get isNamedImport() {\n return !!this._namedImports?.size;\n }\n /**\n * Gets a value indicating whether this instance has a default import.\n */\n get isDefaultImport() {\n return !!this._defaultImportName;\n }\n /**\n * Gets a value indicating whether this instance is a wildcard import.\n */\n get isWildcardImport() {\n return !!this._wildcardImportName;\n }\n /**\n * Gets a value indicating whether this instance is an empty import\n * (i.e. has no named, default, or wildcard imports).\n */\n get isEmptyImport() {\n return !this.isWildcardImport && !this.isDefaultImport && !this.isNamedImport;\n }\n /**\n * Asserts that this instance is valid.\n *\n * @throws An error if this instance is invalid (i.e. a wildcard import cannot be mixed with default/named imports).\n */\n assertIsValidImport() {\n if (this.isWildcardImport && (this.isDefaultImport || this.isNamedImport)) {\n throw new Error(\"Mixing wildcard import with default and/or named imports is not allowed.\");\n }\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const quotes = getQuotes(options);\n if (this.isEmptyImport) {\n return `${indent}// import { } from ${quotes}${this._path}${quotes};`;\n }\n let formatted = `${indent}import `;\n if (this.isWildcardImport) {\n formatted += `* as ${this._wildcardImportName}`;\n }\n if (this.isDefaultImport) {\n formatted += this.defaultImportName;\n }\n if (this.isNamedImport) {\n const formattedNamedImports = (`{ ${[...this._namedImports].join(\", \")} }`);\n formatted += this.isDefaultImport ? \", \" : \"\";\n formatted += formattedNamedImports;\n }\n formatted += ` from ${quotes}${this._path}${quotes};`;\n return formatted;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { TypeScriptImport } from \"./typescript-import\";\nimport { getNewline } from \"./typescript-formatting-options\";\nimport { $i } from \"@/utils/collections/iterable\";\n/**\n * Represents a collection of {@link TypeScriptImport} instances.\n */\nexport class TypeScriptImports extends AbstractTypeScriptNode {\n /**\n * A Map containing {@link TypeScriptImport} instances, keyed by their import path.\n */\n _imports;\n /**\n * Constructs a new {@link TypeScriptImports} instance.\n *\n * @param imports - An optional iterable containing {@link TypeScriptImport} instances to add to this object.\n */\n constructor(imports) {\n super();\n this._imports = new Map(Array.from(imports || []).map(x => [x.path, x]));\n }\n /**\n * Creates a new {@link TypeScriptImports} instance.\n *\n * @param imports - An optional iterable containing {@link TypeScriptImport} instances to add to this object.\n *\n * @returns A new {@link TypeScriptImports} instance.\n */\n static create(imports) {\n return new TypeScriptImports(imports);\n }\n /**\n * Returns an iterable containing all {@link TypeScriptImport} instances in this object.\n */\n imports() {\n return this._imports.values();\n }\n /**\n * Gets the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to retrieve.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path, or `undefined` if no such import exists.\n */\n getImport(path) {\n return this._imports.get(path);\n }\n /**\n * Gets the {@link TypeScriptImport} instance associated with the specified path, creating it if necessary.\n *\n * @param path - The path of the import to retrieve or create.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path.\n */\n getOrCreateImport(path) {\n if (!this._imports.has(path)) {\n this._imports.set(path, TypeScriptImport.createEmptyImport(path));\n }\n return this._imports.get(path);\n }\n /**\n * Adds an import to this instance.\n *\n * @param importNode - The {@link TypeScriptImport} instance to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n *\n * @remarks\n *\n * If an import already exists for the given path, its information will be merged with the specified import node.\n */\n addImport(importNode) {\n const existingImportNode = this._imports.get(importNode.path);\n this._imports.set(importNode.path, importNode);\n if (existingImportNode) {\n importNode.addNamedImports(existingImportNode.namedImports());\n importNode.defaultImportName ||= existingImportNode.defaultImportName;\n importNode.wildcardImportName ||= existingImportNode.wildcardImportName;\n }\n return importNode;\n }\n /**\n * Deletes an import from this instance.\n *\n * @param importNodeOrPath - The import to delete.\n *\n * @returns `true` if the import was deleted; otherwise, `false`.\n */\n deleteImport(importNodeOrPath) {\n const path = typeof importNodeOrPath === \"string\" ? importNodeOrPath : importNodeOrPath.path;\n return this._imports.delete(path);\n }\n /**\n * Adds a wildcard import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the wildcard import to.\n * @param wildcardImportName - The name to use when referring to the wildcard import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addWildcardImport(path, wildcardImportName) {\n const importNode = this.getOrCreateImport(path);\n importNode.wildcardImportName = wildcardImportName;\n return importNode;\n }\n /**\n * Adds a default import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the default import to.\n * @param defaultImportName - The name to use when referring to the default import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addDefaultImport(path, defaultImportName) {\n const importNode = this.getOrCreateImport(path);\n importNode.defaultImportName = defaultImportName;\n return importNode;\n }\n /**\n * Adds a named import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named import to.\n * @param namedImport - The name of the named import to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImport(path, namedImport) {\n const importNode = this.getOrCreateImport(path);\n importNode.addNamedImport(namedImport);\n return importNode;\n }\n /**\n * Adds multiple named imports to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named imports to.\n * @param namedImports - The iterable of named imports to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImports(path, namedImports) {\n const importNode = this.getOrCreateImport(path);\n importNode.addNamedImports(namedImports);\n return importNode;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const newline = getNewline(options);\n const formattedImports = $i(this).map(x => x.format(options)).join(newline);\n return formattedImports;\n }\n /**\n * Returns an iterable containing all {@link TypeScriptImport} instances in this object.\n */\n [Symbol.iterator]() {\n return this.imports()[Symbol.iterator]();\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { TypeScriptExport } from \"./typescript-export\";\nimport { TypeScriptImport } from \"./typescript-import\";\nimport { TypeScriptImports } from \"./typescript-imports\";\nimport { getNewline } from \"./typescript-formatting-options\";\nimport { $i } from \"@/utils/collections/iterable\";\nimport { writeFileSync } from \"node:fs\";\nimport { writeFile } from \"node:fs/promises\";\n/**\n * Represents a TypeScript document, containing a collection of import and export statements and other nodes.\n */\nexport class TypeScriptDocument extends AbstractTypeScriptNode {\n /**\n * An instance of TypeScriptImports containing all import statements in this document.\n */\n _imports;\n /**\n * An array of all nodes other than imports in this document.\n */\n _nodes;\n /**\n * Constructs a new {@link TypeScriptDocument} instance.\n */\n constructor() {\n super();\n this._imports = TypeScriptImports.create();\n this._nodes = [];\n }\n /**\n * Creates a new {@link TypeScriptDocument} instance.\n */\n static create() {\n return new TypeScriptDocument();\n }\n /**\n * Returns an iterable of all import statements in this document.\n */\n imports() {\n return this._imports;\n }\n /**\n * Returns an iterable of all nodes in this document.\n */\n nodes() {\n return $i(this._nodes).unshift(this._imports);\n }\n /**\n * Gets the import associated with the specified path.\n *\n * @param path - The path of the import to retrieve.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path, or `undefined` if no such import exists.\n */\n getImport(path) {\n return this._imports.getImport(path);\n }\n /**\n * Gets the import associated with the specified path, creating it if necessary.\n *\n * @param path - The path of the import to retrieve or create.\n *\n * @returns The {@link TypeScriptImport} instance associated with the specified path.\n */\n getOrCreateImport(path) {\n return this._imports.getOrCreateImport(path);\n }\n /**\n * Adds an import to this document.\n *\n * @param importNode - The import to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n *\n * @remarks\n *\n * If an import already exists for the given path, its information will be merged with the specified import node.\n */\n addImport(importNode) {\n return this._imports.addImport(importNode);\n }\n /**\n * Adds a wildcard import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the wildcard import to.\n * @param wildcardImportName - The name to use when referring to the wildcard import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addWildcardImport(path, wildcardImportName) {\n return this._imports.addWildcardImport(path, wildcardImportName);\n }\n /**\n * Adds a default import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the default import to.\n * @param defaultImportName - The name to use when referring to the default import.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addDefaultImport(path, defaultImportName) {\n return this._imports.addDefaultImport(path, defaultImportName);\n }\n /**\n * Adds a named import to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named import to.\n * @param namedImport - The name of the named import to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImport(path, namedImport) {\n return this._imports.addNamedImport(path, namedImport);\n }\n /**\n * Adds multiple named imports to the {@link TypeScriptImport} instance associated with the specified path.\n *\n * @param path - The path of the import to add the named imports to.\n * @param namedImports - The iterable of named imports to add.\n *\n * @returns The {@link TypeScriptImport} instance that was added or merged.\n */\n addNamedImports(path, namedImports) {\n return this._imports.addNamedImports(path, namedImports);\n }\n /**\n * Adds an export statement to this document.\n *\n * @param exportedNode - The node to export.\n *\n * @returns The {@link TypeScriptExport} instance that was added to this document.\n */\n addExport(exportedNode) {\n return this.addNode(TypeScriptExport.create(exportedNode));\n }\n /**\n * Adds a default export statement to this document.\n *\n * @param exportedNode - The node to export as the default export.\n *\n * @returns The {@link TypeScriptExport} instance that was added to this document.\n */\n addDefaultExport(exportedNode) {\n return this.addNode(TypeScriptExport.create(exportedNode, true));\n }\n /**\n * Adds a node to this document.\n *\n * @param node - The node to add.\n *\n * @returns The node that was added to this document.\n */\n addNode(node) {\n if (node instanceof TypeScriptImport) {\n return this.addImport(node);\n }\n if (node instanceof TypeScriptImports) {\n for (const importNode of node) {\n this.addImport(importNode);\n }\n return this._imports;\n }\n this._nodes.push(node);\n return node;\n }\n /**\n * Synchronously writes the content of this document to a file.\n *\n * @param file - The path or file descriptor to write to.\n * @param options - The options to use when formatting and writing the file.\n */\n saveSync(file, options) {\n writeFileSync(file, this.format(options), options);\n }\n /**\n * Asynchronously writes the content of this document to a file.\n *\n * @param file - The path or file descriptor to write to.\n * @param options - The options to use when formatting and writing the file.\n */\n save(file, options) {\n return writeFile(file, this.format(options), options);\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const newline = getNewline(options);\n const formattedNodes = $i(this).map(x => x.format(options)).filter(x => x).join(newline + newline);\n const formattedDocument = formattedNodes + newline;\n return formattedDocument;\n }\n /**\n * Returns an iterator over all nodes in this document.\n */\n [Symbol.iterator]() {\n return this.nodes()[Symbol.iterator]();\n }\n}\n","import { DEFAULT_QUOTES } from \"./typescript-formatting-options\";\n/**\n * Determines whether a name is a valid TypeScript member name.\n *\n * @param name - The name to check.\n *\n * @returns `true` if the name is a valid TypeScript member name; otherwise, `false`.\n */\nexport function isValidMemberName(name) {\n return /^[\\p{L}_][\\p{L}0-9_]*$/u.test(name);\n}\n/**\n * Escapes a member name so that it can be used safely in TypeScript code.\n *\n * @param name - The name of the member to escape.\n * @param quotes - Quotes to use around the escaped name. Defaults to {@link DEFAULT_QUOTES}.\n *\n * @returns The escaped member name.\n */\nexport function escapeMemberName(name, quotes) {\n if (isValidMemberName(name)) {\n return name;\n }\n quotes ||= DEFAULT_QUOTES;\n const escapedName = JSON.stringify(name).slice(1, -1).replaceAll(/[`']/g, \"\\\\$&\");\n return `[${quotes}${escapedName}${quotes}]`;\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { escapeMemberName } from \"./typescript-member\";\nimport { getIndentation, getQuotes } from \"./typescript-formatting-options\";\n/**\n * Represents a property in a TypeScript object type definition.\n */\nexport class TypeScriptProperty extends AbstractTypeScriptNode {\n /**\n * The name of the property.\n */\n _name;\n /**\n * The type definition of the property.\n */\n _type;\n /**\n * The set of configuration options for the property, such as whether it is read-only, optional, or abstract.\n */\n _options;\n /**\n * Constructs a new {@link TypeScriptProperty} instance.\n *\n * @param name - The name of the property.\n * @param type - The type definition of the property.\n * @param options - An optional set of configuration options for the property, such as whether it is read-only, optional, or abstract.\n */\n constructor(name, type, options) {\n super();\n this._name = name;\n this._type = type;\n this._options = options;\n }\n /**\n * Creates a new {@link TypeScriptProperty} instance.\n *\n * @param name - The name of the property.\n * @param type - The type definition of the property.\n * @param options - An optional set of configuration options for the property, such as whether it is read-only, optional, or abstract.\n *\n * @returns A new {@link TypeScriptProperty} instance.\n */\n static create(name, type, options) {\n return new TypeScriptProperty(name, type, options);\n }\n /**\n * Gets the name of the property.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the type definition of the property.\n */\n get type() {\n return this._type;\n }\n /**\n * Indicates whether this property is optional or not.\n */\n get isOptional() {\n return !!this._options?.isOptional;\n }\n /**\n * The access modifier for this property.\n */\n get accessModifier() {\n return this._options?.accessModifier;\n }\n /**\n * Indicates whether this property is read-only or not.\n */\n get isReadOnly() {\n return !!this._options?.isReadOnly;\n }\n /**\n * Indicates whether this property is abstract or not.\n */\n get isAbstract() {\n return !!this._options?.isAbstract;\n }\n /**\n * Indicates whether this property is static or not.\n */\n get isStatic() {\n return !!this._options?.isStatic;\n }\n /**\n * Returns a new {@link TypeScriptProperty} instance with the specified properties.\n *\n * @param properties - An object containing one or more properties to update.\n *\n * @returns A new {@link TypeScriptProperty} instance.\n */\n with(properties) {\n const name = properties?.name ?? this._name;\n const type = properties?.type ?? this._type;\n const options = { ...this._options, ...properties };\n const copiedProperty = TypeScriptProperty.create(name, type, options);\n for (const comment of this.comments()) {\n copiedProperty.addComment(comment);\n }\n return copiedProperty;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const quotes = getQuotes(options);\n const formattedName = escapeMemberName(this._name, quotes);\n const formattedType = this._type.format(options).trimStart();\n const accessModifier = this.accessModifier ? `${this.accessModifier} ` : \"\";\n const staticModifier = this.isAbstract ? \"static \" : \"\";\n const abstractModifier = this.isAbstract ? \"abstract \" : \"\";\n const readonlyModifier = this.isReadOnly ? \"readonly \" : \"\";\n const optionalModifier = this.isOptional ? \"?\" : \"\";\n const formattedProperty = `${indent}${accessModifier}${staticModifier}${abstractModifier}${readonlyModifier}${formattedName}${optionalModifier}: ${formattedType};`;\n return formattedProperty;\n }\n}\n","/**\n * Represents a single type literal in TypeScript.\n */\nexport class TypeScriptTypeLiteral {\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `string` type.\n */\n static STRING = new TypeScriptTypeLiteral(\"string\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `number` type.\n */\n static NUMBER = new TypeScriptTypeLiteral(\"number\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `bigint` type.\n */\n static BIGINT = new TypeScriptTypeLiteral(\"bigint\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `boolean` type.\n */\n static BOOLEAN = new TypeScriptTypeLiteral(\"boolean\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `symbol` type.\n */\n static SYMBOL = new TypeScriptTypeLiteral(\"symbol\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `undefined` type.\n */\n static UNDEFINED = new TypeScriptTypeLiteral(\"undefined\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `object` type.\n */\n static OBJECT = new TypeScriptTypeLiteral(\"object\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `function` type.\n */\n static FUNCTION = new TypeScriptTypeLiteral(\"function\");\n /**\n * A cached instance of {@link TypeScriptTypeLiteral} representing the `never` type.\n */\n static NEVER = new TypeScriptTypeLiteral(\"never\");\n /**\n * A cache of previously created {@link TypeScriptTypeLiteral} instances, indexed by their value.\n */\n static TYPE_CACHE = new Map([\n TypeScriptTypeLiteral.STRING,\n TypeScriptTypeLiteral.NUMBER,\n TypeScriptTypeLiteral.BIGINT,\n TypeScriptTypeLiteral.BOOLEAN,\n TypeScriptTypeLiteral.SYMBOL,\n TypeScriptTypeLiteral.UNDEFINED,\n TypeScriptTypeLiteral.OBJECT,\n TypeScriptTypeLiteral.FUNCTION,\n TypeScriptTypeLiteral.NEVER,\n ].map(x => [x.value, x]));\n /**\n * A string value representing the type of this instance.\n */\n _value;\n /**\n * Creates a new instance of the {@link TypeScriptTypeLiteral} class with the specified value.\n *\n * @param value - The string value representing the type of this {@link TypeScriptTypeLiteral} instance.\n */\n constructor(value) {\n this._value = value;\n }\n /**\n * Creates a new instance of the {@link TypeScriptTypeLiteral} class with the specified value.\n *\n * @param value - The string value representing the type of this {@link TypeScriptTypeLiteral} instance.\n *\n * @returns A new instance of the {@link TypeScriptTypeLiteral} class with the specified value.\n */\n static create(value) {\n const cachedType = TypeScriptTypeLiteral.TYPE_CACHE.get(value);\n if (cachedType) {\n return cachedType;\n }\n return new TypeScriptTypeLiteral(value);\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return [this];\n }\n /**\n * Returns the string value representing the type of this {@link TypeScriptTypeLiteral} instance.\n */\n get value() {\n return this._value;\n }\n /**\n * @inheritdoc\n */\n format() {\n return this._value;\n }\n}\n","import { TypeScriptTypeLiteral } from \"./typescript-type-literal\";\n/**\n * Represents a TypeScript union type definition.\n */\nexport class TypeScriptUnionType {\n /**\n * An array of types that compose this union type.\n */\n _composingTypes;\n /**\n * Constructs a new {@link TypeScriptUnionType} instance.\n *\n * @param composingTypes - The iterable of types composing the union.\n */\n constructor(composingTypes) {\n this._composingTypes = composingTypes;\n }\n /**\n * Creates a new {@link TypeScriptUnionType} instance.\n *\n * @param composingTypes - The iterable of types composing the union.\n *\n * @returns A new {@link TypeScriptUnionType} instance.\n */\n static create(composingTypes) {\n const composingTypesArray = [...composingTypes];\n if (!composingTypesArray.length) {\n composingTypesArray.push(TypeScriptTypeLiteral.NEVER);\n }\n return new TypeScriptUnionType(composingTypesArray);\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return this._composingTypes;\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const formattedTypes = this._composingTypes.map(x => `(${x.format(options).trim()})`).join(\" | \");\n return formattedTypes;\n }\n}\n","import { TypeScriptProperty } from \"./typescript-property\";\nimport { getIndentation, getNewline, incrementIndent } from \"./typescript-formatting-options\";\nimport { $i } from \"@/utils/collections/iterable\";\nimport { decomposeType } from \"./typescript-type-definition\";\nimport { TypeScriptUnionType } from \"./typescript-union-type\";\n/**\n * Represents a TypeScript object type definition.\n */\nexport class TypeScriptObject {\n /**\n * An internal data structure that stores the members of the TypeScriptObject instance.\n */\n _members;\n /**\n * Constructs a new {@link TypeScriptObject} instance.\n */\n constructor() {\n this._members = new Map();\n }\n /**\n * Creates a new {@link TypeScriptObject} instance.\n *\n * @returns A new {@link TypeScriptObject} instance.\n */\n static create() {\n return new TypeScriptObject();\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return [this];\n }\n /**\n * Returns an iterable of all members in this object.\n */\n members() {\n return this._members.values();\n }\n /**\n * Returns an iterable of all properties in this object.\n */\n properties() {\n return $i(this).filter((x) => x instanceof TypeScriptProperty);\n }\n /**\n * Retrieves the specified member from this object.\n *\n * @param name - The name of the member to retrieve.\n *\n * @returns The specified member, or `undefined` if it does not exist.\n */\n getMember(name) {\n return this._members.get(name);\n }\n /**\n * Retrieves the specified nested member from this object.\n *\n * @param name - The name or path of the nested member to retrieve.\n *\n * @returns The specified nested member or undefined if it does not exist.\n */\n getNestedMember(name) {\n const path = typeof name === \"string\" ? name.split(\".\") : name;\n if (!path || !path.length) {\n return undefined;\n }\n const member = this.getMember(path[0]);\n if (path.length === 1) {\n return member;\n }\n if (!(member instanceof TypeScriptProperty) || !(member.type instanceof TypeScriptObject)) {\n return undefined;\n }\n return member.type.getNestedMember(path.slice(1));\n }\n /**\n * Determines whether this object contains a member with the specified name.\n *\n * @param name - The name of the member to search for.\n *\n * @returns `true` if the member exists; otherwise, `false`.\n */\n hasMember(name) {\n return this.getMember(name) !== undefined;\n }\n /**\n * Determines whether this object contains a nested member with the specified name or path.\n *\n * @param name - The name or path of the nested member to search for.\n *\n * @returns `true` if the nested member exists; otherwise, `false`.\n */\n hasNestedMember(name) {\n return this.getNestedMember(name) !== undefined;\n }\n /**\n * Adds the specified member to this object.\n *\n * @param member - The member to add.\n *\n * @returns The member that was added to this object.\n */\n addMember(member) {\n this._members.set(member.name, member);\n return member;\n }\n /**\n * Deletes the specified member from this object.\n *\n * @param member - The member to delete.\n *\n * @returns `true` if the member was deleted; otherwise, `false`.\n */\n deleteMember(member) {\n return this._members.delete(member.name);\n }\n /**\n * Retrieves the specified property from this object.\n *\n * @param name - The name of the property to retrieve.\n *\n * @returns The specified property, or `undefined` if it does not exist.\n */\n getProperty(name) {\n const property = this.getMember(name);\n return property instanceof TypeScriptProperty ? property : undefined;\n }\n /**\n * Retrieves the specified nested property from this object.\n *\n * @param name - The name or path of the nested property to retrieve.\n *\n * @returns The specified nested property, or `undefined` if it does not exist.\n */\n getNestedProperty(name) {\n const property = this.getNestedMember(name);\n return property instanceof TypeScriptProperty ? property : undefined;\n }\n /**\n * Determines whether this object contains a property with the specified name.\n *\n * @param name - The name of the property to search for.\n *\n * @returns `true` if the property exists; otherwise, `false`.\n */\n hasProperty(name) {\n return this.getProperty(name) !== undefined;\n }\n /**\n * Determines whether this object contains a nested property with the specified name or path.\n *\n * @param name - The name or path of the nested property to search for.\n *\n * @returns `true` if the nested property exists; otherwise, `false`.\n */\n hasNestedProperty(name) {\n return this.getNestedProperty(name) !== undefined;\n }\n /**\n * Adds a new property with the specified name and type to this object.\n *\n * @param name - The name of the new property.\n * @param type - The type of the new property.\n * @param isOptional - Indicates whether the property is optional or not.\n *\n * @returns The property that was added to this object.\n */\n addProperty(name, type, options) {\n return this.addMember(TypeScriptProperty.create(name, type, options));\n }\n /**\n * Adds a new nested property with the specified name or path and type to this object.\n *\n * @param name - The name or path of the new nested property.\n * @param type - The type of the new nested property.\n * @param isOptional - Indicates whether the property is optional or not.\n *\n * @returns The nested property that was added to this object.\n */\n addNestedProperty(name, type, options) {\n const path = typeof name === \"string\" ? name.split(\".\") : name;\n const localPropertyName = path[0];\n if (path.length === 1) {\n return this.addProperty(localPropertyName, type, options);\n }\n if (!this.hasProperty(localPropertyName)) {\n const nestedObject = TypeScriptObject.create();\n const nestedProperty = nestedObject.addNestedProperty(path.slice(1), type, options);\n this.addProperty(localPropertyName, nestedObject, options);\n return nestedProperty;\n }\n let localProperty = this.getProperty(localPropertyName);\n let nestedObject = $i(decomposeType(localProperty.type)).first((x) => x instanceof TypeScriptObject);\n if (!nestedObject) {\n nestedObject = TypeScriptObject.create();\n localProperty = localProperty.with({ type: TypeScriptUnionType.create([localProperty.type, nestedObject]) });\n this.addMember(localProperty);\n }\n return nestedObject.addNestedProperty(path.slice(1), type, options);\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const indent = getIndentation(options);\n const newline = getNewline(options);\n const doubleNewline = newline + newline;\n const indentedOptions = incrementIndent(options);\n const formattedMembers = $i(this).map(x => x.format(indentedOptions)).join(doubleNewline);\n const formattedObject = (`${indent}{`\n + `${newline}${formattedMembers}${newline}` +\n `${indent}}`);\n return formattedObject;\n }\n /**\n * Returns an iterator over all members in this object.\n */\n [Symbol.iterator]() {\n return this.members()[Symbol.iterator]();\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation } from \"./typescript-formatting-options\";\nimport { TypeScriptObject } from \"./typescript-object\";\n/**\n * Represents an interface in a TypeScript module.\n */\nexport class TypeScriptInterface extends AbstractTypeScriptNode {\n /**\n * The name of the interface.\n */\n _name;\n /**\n * The object definition of the interface.\n */\n _definition;\n /**\n * Constructs a new {@link TypeScriptInterface} instance.\n *\n * @param name - The name of the interface.\n * @param definition - The object definition of the interface.\n */\n constructor(name, definition) {\n super();\n this._name = name;\n this._definition = definition;\n }\n /**\n * Creates a new {@link TypeScriptInterface} instance.\n *\n * @param name - The name of the interface.\n * @param definition - The object definition of the interface.\n *\n * @returns A new {@link TypeScriptInterface} instance.\n */\n static create(name, definition) {\n return new TypeScriptInterface(name, definition || TypeScriptObject.create());\n }\n /**\n * Gets the name of the interface.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the object definition of the interface.\n */\n get definition() {\n return this._definition;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const formattedName = this._name;\n const formattedDefinition = this._definition.format(options).trimStart();\n const formattedInterface = `${indent}interface ${formattedName} ${formattedDefinition}`;\n return formattedInterface;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation } from \"./typescript-formatting-options\";\n/**\n * Represents a type alias in a TypeScript module.\n */\nexport class TypeScriptTypeAlias extends AbstractTypeScriptNode {\n /**\n * The name of the type alias.\n */\n _name;\n /**\n * The type definition of the type alias.\n */\n _type;\n /**\n * Constructs a new {@link TypeScriptTypeAlias} instance.\n *\n * @param name - The name of the type alias.\n * @param type - The type definition of the type alias.\n */\n constructor(name, type) {\n super();\n this._name = name;\n this._type = type;\n }\n /**\n * Creates a new {@link TypeScriptTypeAlias} instance.\n *\n * @param name - The name of the type alias.\n * @param type - The type definition of the type alias.\n *\n * @returns A new {@link TypeScriptTypeAlias} instance.\n */\n static create(name, type) {\n return new TypeScriptTypeAlias(name, type);\n }\n /**\n * Gets the name of the type alias.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the type definition of the type alias.\n */\n get type() {\n return this._type;\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return true;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return [this._type];\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const formattedName = this._name;\n const formattedType = this._type.format(options).trimStart();\n const formattedTypeAlias = `${indent}type ${formattedName} = ${formattedType};`;\n return formattedTypeAlias;\n }\n}\n","import { TypeScriptTypeLiteral } from \"./typescript-type-literal\";\n/**\n * Represents a TypeScript intersection type definition.\n */\nexport class TypeScriptIntersectionType {\n /**\n * An array of types that compose this intersection type.\n */\n _composingTypes;\n /**\n * Constructs a new {@link TypeScriptIntersectionType} instance.\n *\n * @param composingTypes - The iterable of types composing the intersection.\n */\n constructor(composingTypes) {\n this._composingTypes = composingTypes;\n }\n /**\n * Creates a new {@link TypeScriptIntersectionType} instance.\n *\n * @param composingTypes - The iterable of types composing the intersection.\n *\n * @returns A new {@link TypeScriptIntersectionType} instance.\n */\n static create(composingTypes) {\n const composingTypesArray = [...composingTypes];\n if (!composingTypesArray.length) {\n composingTypesArray.push(TypeScriptTypeLiteral.NEVER);\n }\n return new TypeScriptIntersectionType(composingTypesArray);\n }\n /**\n * @inheritdoc\n */\n get isComposite() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isUnion() {\n return false;\n }\n /**\n * @inheritdoc\n */\n get isIntersection() {\n return true;\n }\n /**\n * @inheritdoc\n */\n get isAlias() {\n return false;\n }\n /**\n * @inheritdoc\n */\n composingTypes() {\n return this._composingTypes;\n }\n /**\n * @inheritdoc\n */\n format(options) {\n const formattedTypes = this._composingTypes.map(x => `(${x.format(options).trim()})`).join(\" & \");\n return formattedTypes;\n }\n}\n","import { AbstractTypeScriptNode } from \"./abstract-typescript-node\";\nimport { getIndentation, getNewline } from \"./typescript-formatting-options\";\nimport { isCommentableTypeScriptNode } from \"./commentable-typescript-node\";\n/**\n * Represents the `const` keyword in TypeScript variable declaration.\n */\nconst CONST_DECLARATION = \"const\";\n/**\n * Represents the `let` keyword in TypeScript variable declaration.\n */\nconst LET_DECLARATION = \"let\";\n/**\n * Represents the `var` keyword in TypeScript variable declaration.\n */\nconst VAR_DECLARATION = \"var\";\n/**\n * Represents a TypeScript variable.\n */\nexport class TypeScriptVariable extends AbstractTypeScriptNode {\n /**\n * The name of the variable.\n */\n _name;\n /**\n * The value assigned to the TypeScript variable.\n */\n _value;\n /**\n * The declaration type of the TypeScript variable (const, let, or var).\n */\n _declaration;\n /**\n * Constructs a new {@link TypeScriptVariable} instance with the specified name, value, and declaration type.\n *\n * @param name - The name of the variable.\n * @param value - The value assigned to the variable.\n * @param declaration - The declaration type of the variable (const, let, or var). Defaults to `const`.\n */\n constructor(name, value, declaration) {\n super();\n this._name = name;\n this._value = value;\n this._declaration = declaration || CONST_DECLARATION;\n }\n /**\n * Creates a new {@link TypeScriptVariable} instance with the specified name, value, and declaration type.\n *\n * @param name - The name of the variable.\n * @param node - The value assigned to the variable.\n * @param declaration - The declaration type of the variable (const, let, or var). Defaults to `const`.\n *\n * @returns A new {@link TypeScriptVariable} instance.\n */\n static create(name, node, declaration) {\n return new TypeScriptVariable(name, node, declaration);\n }\n /**\n * Gets the declaration type of the TypeScript variable (const, let, or var).\n */\n get declaration() {\n return this._declaration;\n }\n /**\n * Gets the name of the TypeScript variable.\n */\n get name() {\n return this._name;\n }\n /**\n * Gets the value assigned to the TypeScript variable.\n */\n get value() {\n return this._value;\n }\n /**\n * @inheritdoc\n */\n formatComments(options) {\n const newline = getNewline(options);\n const node = this._value;\n const thisComments = super.formatComments(options);\n const nodeComments = isCommentableTypeScriptNode(node) ? node.formatComments(options) : \"\";\n if (!thisComments) {\n return nodeComments;\n }\n if (!nodeComments) {\n return thisComments;\n }\n return `${thisComments}${newline}${nodeComments}`;\n }\n /**\n * @inheritdoc\n */\n formatContent(options) {\n const indent = getIndentation(options);\n const value = this._value;\n const formattedValue = (isCommentableTypeScriptNode(value) ? value.formatContent(options) : value.format(options)).trimStart();\n const formattedExport = `${indent}${this._declaration} ${this._name} = ${formattedValue}${formattedValue.endsWith(\";\") ? \"\" : \";\"}`;\n return formattedExport;\n }\n}\n","import { getActionParameterDescriptor, getActionParameterDescriptors } from \"./action-parameter-descriptor\";\nimport { parseActionParameterTypeDescriptor } from \"./action-parameter-type-descriptor\";\n/**\n * Retrieves an action output descriptors from the given action metadata by its name.\n *\n * @param metadata - The action metadata containing the output definition.\n * @param name - The name of the output to extract a descriptor for.\n * @param options - Options for configuring how action output descriptor is extracted.\n *\n * @returns An action output descriptor, or `undefined` if the output was not found.\n */\nexport function getActionOutputDescriptor(metadata, name, options) {\n return getActionParameterDescriptor(metadata, name, asActionOutputDescriptor, metadata.outputs, options);\n}\n/**\n * Retrieves action output descriptors from the given action metadata.\n *\n * @param metadata - The action metadata containing the output definitions.\n * @param options - Options for configuring how action output descriptors are extracted.\n *\n * @returns An array of action output descriptors.\n */\nexport function getActionOutputDescriptors(metadata, options) {\n return getActionParameterDescriptors(metadata, asActionOutputDescriptor, metadata.outputs, options);\n}\n/**\n * Converts an action output definition to an action output descriptor.\n *\n * @param output - The output definition to convert.\n * @param name - The name of the output definition.\n * @param path - The parsed path of the output definition.\n *\n * @returns The converted action output descriptor.\n */\nfunction asActionOutputDescriptor(output, name, path) {\n const isValueUndefined = output.value === undefined;\n const typeDescriptor = output.type || (isValueUndefined ? \"string\" : typeof output.value);\n return {\n name,\n path,\n redirect: output.redirect,\n type: parseActionParameterTypeDescriptor(typeDescriptor),\n description: output.description ?? \"\",\n value: output.value,\n };\n}\n","import { JS_MULTILINE_FRAME_STYLE, generateAutoGeneratedWarningFrame } from \"@/utils/auto-generated\";\nimport { DEFAULT_NEWLINE, UNIX_NEWLINE } from \"@/utils/environment\";\nimport { $i } from \"@/utils/collections\";\nimport { hashString } from \"@/utils/string-utils\";\nimport { TypeScriptComment, TypeScriptDocument, TypeScriptImport, TypeScriptInterface, TypeScriptTypeAlias, TypeScriptTypeLiteral, TypeScriptVariable, getIndentation, getNewline, getQuotes, incrementIndent } from \"@/utils/typescript\";\nimport { readFile, writeFile } from \"node:fs/promises\";\nimport { basename } from \"node:path\";\nimport { parse as parseYaml, stringify as stringifyYaml } from \"yaml\";\nimport { DEFAULT_ACTION_GROUP_DELIMITER } from \"./action-group\";\nimport { SYNTHETIC_UNDEFINED } from \"./action-input\";\nimport { getActionInputDescriptors } from \"./action-input-descriptor\";\nimport { getActionOutputDescriptors } from \"./action-output-descriptor\";\n/**\n * The default root path to use if none is provided.\n */\nconst DEFAULT_ROOT_PATH = \"./\";\n/**\n * The default action name constant name to use if none is provided.\n */\nconst DEFAULT_ACTION_NAME_CONSTANT_NAME = \"ACTION_NAME\";\n/**\n * The default input type name to use if none is provided.\n */\nconst DEFAULT_INPUT_TYPE_NAME = \"ActionInputs\";\n/**\n * The default output type name to use if none is provided.\n */\nconst DEFAULT_OUTPUT_TYPE_NAME = \"ActionOutputs\";\n/**\n * The default module loader name.\n */\nconst DEFAULT_MODULE_LOADER_NAME = \"ACTION_MODULE_LOADER\";\n/**\n * The {@link TypeScriptComment} object representing the comment to disable ESLint.\n *\n * Used when `disableESLint` option is set to `true`.\n */\nconst DISABLE_ES_LINT_COMMENT = TypeScriptComment.parse(\"/* eslint-disable */\");\n/**\n * Parses the provided YAML text as {@link ActionMetadata}.\n *\n * @param actionYamlText - The YAML text to parse.\n *\n * @returns The parsed {@link ActionMetadata} object.\n * @throws An error if the provided YAML text is invalid.\n */\nexport function parseActionMetadataFromString(actionYamlText) {\n return parseYaml(actionYamlText);\n}\n/**\n * Reads a YAML file at the provided path, and parses it as {@link ActionMetadata}.\n *\n * @param actionFile - The path to the YAML file to read.\n * @param options - The options to use when reading the file.\n *\n * @returns The parsed {@link ActionMetadata} object.\n * @throws An error if the file cannot be read or the YAML text is invalid.\n */\nexport async function parseActionMetadataFromFile(actionFile, options) {\n const fileContent = (await readFile(actionFile, options)).toString();\n return parseActionMetadataFromString(fileContent);\n}\n/**\n * Processes an Action Metadata Template by\n *\n * - Sanitizing inputs.\n * - Grouping inputs/outputs into their respective groups.\n * - Removing template-only fields, if requested\n *\n * @param template - The original action metadata template to be processed.\n * @param options - An optional set of options used to configure how the template is processed.\n *\n * @returns A new action metadata based on the given template.\n */\nexport function processActionMetadataTemplate(template, options) {\n const groupDelimiter = options?.groupDelimiter ?? DEFAULT_ACTION_GROUP_DELIMITER;\n const removeTemplateOnlyFields = options?.removeTemplateOnlyFields ?? true;\n const metadata = { ...template };\n metadata.inputs = sanitizeActionInputs(metadata.inputs);\n if (metadata.groups) {\n metadata.inputs = groupActionParameters(metadata.inputs, metadata.groups.input, groupDelimiter, { default: SYNTHETIC_UNDEFINED });\n metadata.outputs = groupActionParameters(metadata.outputs, metadata.groups.output, groupDelimiter);\n }\n if (!removeTemplateOnlyFields) {\n return metadata;\n }\n if (metadata.groups) {\n metadata.groups.input = removeTemplateOnlyActionFields(metadata.groups.input);\n metadata.groups.output = removeTemplateOnlyActionFields(metadata.groups.output);\n }\n metadata.inputs = removeTemplateOnlyActionFields(metadata.inputs);\n metadata.outputs = removeTemplateOnlyActionFields(metadata.outputs);\n return metadata;\n}\n/**\n * Processes an Action Metadata Template YAML string, returning a stringified version of the processed template.\n *\n * @param templateYamlText - The YAML string containing the Action Metadata Template to process.\n * @param options - An optional set of options to apply when processing the template.\n *\n * @returns A stringified version of the processed Action Metadata Template.\n * @throws If parsing or processing the Action Metadata Template fails.\n */\nexport function processActionMetadataTemplateString(templateYamlText, options) {\n const newline = options?.newline ?? DEFAULT_NEWLINE;\n const generateAutoGeneratedWarningMessage = options?.generateAutoGeneratedWarningMessage ?? true;\n const parsedTemplate = parseActionMetadataFromString(templateYamlText);\n const processedTemplate = processActionMetadataTemplate(parsedTemplate, options);\n const stringifiedProcessedTemplate = stringifyYaml(processedTemplate, options);\n const fixedStringifiedProcessedTemplate = newline === UNIX_NEWLINE ? stringifiedProcessedTemplate : stringifiedProcessedTemplate.replaceAll(UNIX_NEWLINE, newline);\n const warningMessage = generateAutoGeneratedWarningMessage ? generateAutoGeneratedWarningFrame(options) : undefined;\n const stringifiedProcessedTemplateWithWarning = [warningMessage, fixedStringifiedProcessedTemplate].filter(x => x).join(newline);\n return stringifiedProcessedTemplateWithWarning;\n}\n/**\n * Reads an Action Metadata Template YAML file, processes it, and writes the resulting metadata to a file.\n *\n * @param inputTemplateFile - The path to the input Action Metadata Template file.\n * @param outputMetadataFile - The path to the output metadata file.\n * @param options - An optional set of read/write options and processing options to apply.\n *\n * @returns A promise that resolves when the metadata has been written to the output file, or rejects if any step fails.\n * @throws If reading, parsing, processing, or writing the Action Metadata Template fails.\n */\nexport async function processActionMetadataTemplateFile(inputTemplateFile, outputMetadataFile, options) {\n options = { sourceFileName: basename(inputTemplateFile.toString()), ...options };\n const template = (await readFile(inputTemplateFile, options)).toString();\n const stringifiedProcessedTemplate = processActionMetadataTemplateString(template, options);\n await writeFile(outputMetadataFile, stringifiedProcessedTemplate, options);\n}\n/**\n * Groups input/output values by their respective action groups, applying any specified group properties.\n *\n * @param groups - A dictionary of named action groups containing the list of input/output values to group.\n * @param parameters - A dictionary of named input/output values to be grouped.\n * @param groupDelimiter - The delimiter used to separate the group name from the value name in the output dictionary.\n * @param properties - An optional set of input/output properties to apply to each grouped value.\n *\n * @returns A new dictionary of named input/output values grouped by their respective action groups.\n */\nfunction groupActionParameters(parameters, groups, groupDelimiter, properties) {\n if (!groups || !parameters) {\n return parameters;\n }\n const processedValues = { ...parameters };\n const namedGroups = Object.entries(groups);\n const groupedValues = $i(Object.entries(parameters)).flatMap(([vName, v]) => $i(namedGroups).map(([gName, g]) => [gName, g, vName, v]));\n for (const [groupName, group, valueName, value] of groupedValues) {\n const isForciblyIncluded = group.include?.includes(valueName);\n const isForciblyExcluded = group.exclude?.includes(valueName);\n const isPartOfGroup = namedGroups.some(([gName]) => valueName.startsWith(gName));\n const shouldBeIncluded = (isForciblyIncluded || !value.unique && !isPartOfGroup) && !isForciblyExcluded;\n if (!shouldBeIncluded) {\n continue;\n }\n const groupedValueName = `${groupName}${groupDelimiter}${valueName}`;\n const groupedRedirectName = value.redirect && `${groupName}${groupDelimiter}${value.redirect}`;\n processedValues[groupedValueName] = {\n ...value,\n redirect: groupedRedirectName,\n ...properties,\n };\n }\n return processedValues;\n}\n/**\n * Sanitizes an input dictionary by setting default values for undefined fields.\n *\n * @param inputs - A dictionary of named action inputs to be sanitized.\n *\n * @returns A new dictionary of sanitized named action inputs.\n */\nfunction sanitizeActionInputs(inputs) {\n if (!inputs) {\n return inputs;\n }\n const sanitizedInputs = {};\n for (const [name, input] of Object.entries(inputs)) {\n const copiedInput = { ...input };\n if (typeof copiedInput.required !== \"boolean\") {\n copiedInput.required = false;\n }\n if (copiedInput.default === undefined) {\n copiedInput.default = SYNTHETIC_UNDEFINED;\n }\n sanitizedInputs[name] = copiedInput;\n }\n return sanitizedInputs;\n}\n/**\n * Removes template-only fields from an action input/output/group dictionary.\n *\n * @param values - A dictionary of action input/output/group values to be cleaned.\n *\n * @returns A new dictionary of action input/output/group values with template-only fields removed.\n */\nfunction removeTemplateOnlyActionFields(values) {\n if (!values) {\n return values;\n }\n const cleanedValues = {};\n for (const [name, value] of Object.entries(values)) {\n const copiedValue = { ...value };\n delete copiedValue.include;\n delete copiedValue.exclude;\n delete copiedValue.unique;\n cleanedValues[name] = copiedValue;\n }\n return cleanedValues;\n}\n/**\n * Generates a TypeScript definition for the given GitHub Action metadata.\n *\n * @param metadata - Metadata describing the inputs and outputs of a GitHub Action.\n * @param options - Configuration options for generating the TypeScript definition.\n *\n * @returns The generated TypeScript document.\n */\nexport function createTypeScriptDefinitionForActionMetadata(metadata, options) {\n const document = TypeScriptDocument.create();\n const inputDescriptors = getActionInputDescriptors(metadata, options);\n const inputGroups = inputDescriptors.length ? Object.entries(metadata.groups?.input || {}) : [];\n const outputDescriptors = getActionOutputDescriptors(metadata, options);\n const outputGroups = outputDescriptors.length ? Object.entries(metadata.groups?.output || {}) : [];\n const rootPath = options?.rootPath ?? DEFAULT_ROOT_PATH;\n const imports = [...inputDescriptors, ...outputDescriptors].map(x => createTypeScriptImportForActionParameter(x, rootPath)).filter(x => x);\n imports.forEach(i => document.addImport(i));\n const comments = createTypeScriptCommentsForActionMetadata(options);\n comments.forEach(comment => document.addComment(comment));\n const actionName = createTypeScriptConstantForActionName(metadata, options);\n document.addExport(actionName);\n const inputsInterface = inputDescriptors.length ? createTypeScriptInterfaceForActionInputs(metadata, inputDescriptors, options) : undefined;\n const inputGroupAliases = inputGroups.map(([groupName, group]) => createTypeScriptAliasForActionGroup(group, groupName, inputsInterface.name, options));\n [inputsInterface, ...inputGroupAliases].filter(x => x).forEach(node => document.addExport(node));\n const outputInterface = outputDescriptors.length ? createTypeScriptInterfaceForActionOutputs(metadata, outputDescriptors, options) : undefined;\n const outputGroupAliases = outputGroups.map(([groupName, group]) => createTypeScriptAliasForActionGroup(group, groupName, outputInterface.name, options));\n [outputInterface, ...outputGroupAliases].filter(x => x).forEach(node => document.addExport(node));\n return document;\n}\n/**\n * Generates a TypeScript constant representing the name of a GitHub Action.\n *\n * @param metadata - Metadata describing the GitHub Action.\n * @param options - Configuration options for generating TypeScript constant.\n *\n * @returns The generated TypeScript constant representing the name of the GitHub Action..\n */\nfunction createTypeScriptConstantForActionName(metadata, options) {\n const q = getQuotes(options);\n const name = options.actionNameConstant || DEFAULT_ACTION_NAME_CONSTANT_NAME;\n const actionName = TypeScriptVariable.create(name, TypeScriptTypeLiteral.create(`${q}${metadata.name}${q}`));\n if (metadata.description) {\n actionName.addTSDoc(metadata.description);\n }\n return actionName;\n}\n/**\n * Generates TypeScript comments for the GitHub Action metadata.\n *\n * @param options - Configuration options for generating TypeScript comments.\n *\n * @returns An array of generated comments.\n */\nfunction createTypeScriptCommentsForActionMetadata(options) {\n const disableESLint = options?.disableESLint ?? true;\n const generateAutoGeneratedWarningMessage = options?.generateAutoGeneratedWarningMessage ?? true;\n const comments = [];\n if (generateAutoGeneratedWarningMessage) {\n const autoGeneratedWarningMessage = generateAutoGeneratedWarningFrame({ style: JS_MULTILINE_FRAME_STYLE, ...options });\n const autoGeneratedWarningComment = TypeScriptComment.parse(autoGeneratedWarningMessage);\n comments.push(autoGeneratedWarningComment);\n }\n if (disableESLint) {\n comments.push(DISABLE_ES_LINT_COMMENT);\n }\n return comments;\n}\n/**\n * Generates a TypeScript interface for the inputs of a GitHub Action.\n *\n * @param metadata - Metadata describing the inputs of a GitHub Action.\n * @param inputs - An iterable collection of input descriptors for the GitHub Action.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n *\n * @returns The generated TypeScript interface.\n */\nfunction createTypeScriptInterfaceForActionInputs(metadata, inputs, pathExtractionOptions) {\n const inputType = metadata.types?.input;\n const typeName = (typeof inputType === \"string\" ? inputType : inputType?.name) || DEFAULT_INPUT_TYPE_NAME;\n const typeDescription = (typeof inputType === \"string\" ? undefined : inputType?.description);\n return createTypeScriptInterfaceForActionParameters(typeName, typeDescription, inputs, metadata.groups?.input, pathExtractionOptions, x => !x.required);\n}\n/**\n * Generates a TypeScript interface for the outputs of a GitHub Action.\n *\n * @param metadata - Metadata describing the outputs of a GitHub Action.\n * @param outputs - An iterable collection of output descriptors for the GitHub Action.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n *\n * @returns The generated TypeScript interface.\n */\nfunction createTypeScriptInterfaceForActionOutputs(metadata, outputs, pathExtractionOptions) {\n const outputType = metadata.types?.output;\n const typeName = (typeof outputType === \"string\" ? outputType : outputType?.name) || DEFAULT_OUTPUT_TYPE_NAME;\n const typeDescription = (typeof outputType === \"string\" ? undefined : outputType?.description);\n return createTypeScriptInterfaceForActionParameters(typeName, typeDescription, outputs, metadata.groups?.output, pathExtractionOptions);\n}\n/**\n * Generates a TypeScript interface for the parameters of a GitHub Action.\n *\n * @param name - The name of the interface.\n * @param description - A description of the interface.\n * @param parameters - An iterable collection of parameter descriptors of the GitHub Action.\n * @param groups - A collection of action groups.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n * @param isOptionalPredicate - A predicate function for determining if a parameter is optional.\n *\n * @returns The generated TypeScript interface.\n */\nfunction createTypeScriptInterfaceForActionParameters(name, description, parameters, groups, pathExtractionOptions, isOptionalPredicate) {\n isOptionalPredicate ||= () => false;\n const tsInterface = TypeScriptInterface.create(name);\n const tsInterfaceDefinition = tsInterface.definition;\n if (description) {\n tsInterface.addTSDoc(description);\n }\n for (const parameter of parameters) {\n if (parameter.redirect) {\n continue;\n }\n const path = parameter.path;\n const type = TypeScriptTypeLiteral.create(`${parameter.type.name}${parameter.type.isArray ? \"[]\" : \"\"}`);\n const isOptional = isOptionalPredicate(parameter);\n const property = tsInterfaceDefinition.addNestedProperty(path, type, { isOptional });\n if (parameter.description) {\n property.addTSDoc(parameter.description);\n }\n }\n for (const [groupName, group] of Object.entries(groups || {})) {\n if (!group.description) {\n continue;\n }\n const path = pathExtractionOptions?.pathParser?.(groupName) || [groupName];\n const groupProperty = tsInterface.definition.getNestedProperty(path);\n groupProperty?.addTSDoc(group.description);\n }\n return tsInterface;\n}\n/**\n * Generates a TypeScript import for a parameter of a GitHub Action.\n *\n * @param parameter - A descriptor for an input or output parameter of the GitHub Action.\n * @param rootPath - The root path for the import.\n *\n * @returns The generated TypeScript import, or `undefined` if no import is necessary.\n */\nfunction createTypeScriptImportForActionParameter(parameter, rootPath) {\n if (!parameter.type.module || parameter.redirect) {\n return undefined;\n }\n const modulePath = `${rootPath || \"\"}${parameter.type.module}`;\n const tsImport = TypeScriptImport.createEmptyImport(modulePath);\n if (parameter.type.isDefault) {\n tsImport.defaultImportName = parameter.type.name;\n }\n else {\n tsImport.addNamedImport(parameter.type.name);\n }\n return tsImport;\n}\n/**\n * Generates a TypeScript type alias for a group of inputs or outputs of a GitHub Action.\n *\n * @param group - A group of inputs or outputs for the GitHub Action.\n * @param groupName - The name of the group.\n * @param referencedTypeName - The name of the type that the alias references.\n * @param pathExtractionOptions - Configuration options for extracting paths.\n *\n * @returns The generated TypeScript type alias.\n */\nfunction createTypeScriptAliasForActionGroup(group, groupName, referencedTypeName, pathExtractionOptions) {\n const path = pathExtractionOptions?.pathParser?.(groupName) || [groupName];\n const mappedPath = path.map(x => `[\"${x}\"]`).join(\"\");\n const groupAlias = TypeScriptTypeAlias.create(group.type, TypeScriptTypeLiteral.create(`${referencedTypeName}${mappedPath}`));\n if (group.description) {\n groupAlias.addTSDoc(group.description);\n }\n return groupAlias;\n}\n/**\n * Generates a TypeScript document containing a module loader function for the given action metadata.\n *\n * The module loader function loads modules required to parse the inputs and outputs of the action.\n *\n * @param metadata - The action metadata.\n * @param options - The options for generating the TypeScript document.\n *\n * @returns A TypeScript document containing the module loader function and necessary imports.\n */\nexport function createModuleLoaderTypeScriptDefinitionForActionMetadata(metadata, options) {\n const document = TypeScriptDocument.create();\n const inputDescriptors = getActionInputDescriptors(metadata, options);\n const outputDescriptors = getActionOutputDescriptors(metadata, options);\n const modules = $i(inputDescriptors).concat(outputDescriptors)\n .flatMap(x => [x.type.module, x.type.factory?.module])\n .filter(x => x)\n .distinct()\n .map(x => [x, `_${hashString(x, \"sha1\")}`])\n .toMap();\n const q = getQuotes(options);\n const fallback = \"return Promise.resolve(undefined);\";\n const conditions = $i(modules)\n .map(([path, name]) => `if (path === ${q}${path}${q}) return Promise.resolve(${name});`)\n .push(fallback);\n const newline = getNewline(options);\n const indent = getIndentation(incrementIndent(options));\n const formattedConditions = conditions.map(x => `${indent}${x}`).join(newline);\n const moduleLoaderBody = TypeScriptTypeLiteral.create(`(path: string): Promise> => {${newline}${formattedConditions}${newline}};`);\n const moduleLoaderName = options?.moduleLoaderName || DEFAULT_MODULE_LOADER_NAME;\n const moduleLoader = TypeScriptVariable.create(moduleLoaderName, moduleLoaderBody);\n document.addExport(moduleLoader);\n const rootPath = options?.rootPath ?? DEFAULT_ROOT_PATH;\n const imports = $i(modules).map(([path, name]) => TypeScriptImport.createWildcardImport(`${rootPath}${path}`, name));\n imports.forEach(x => document.addImport(x));\n const comments = createTypeScriptCommentsForActionMetadata(options);\n comments.forEach(comment => document.addComment(comment));\n return document;\n}\n/**\n * Removes custom fields from Action Metadata.\n *\n * @param metadata - The original action metadata to be stripped.\n *\n * @returns A new action metadata object stripped of custom fields.\n */\nexport function stripActionMetadataFromCustomFields(metadata) {\n const stripped = { ...metadata };\n delete stripped.groups;\n delete stripped.types;\n stripped.inputs = stripped.inputs ? { ...stripped.inputs } : undefined;\n for (const [name, input] of Object.entries(stripped.inputs || {})) {\n const strippedInput = { ...input };\n delete strippedInput.type;\n delete strippedInput.unique;\n delete strippedInput.redirect;\n stripped.inputs[name] = strippedInput;\n }\n stripped.outputs = stripped.outputs ? { ...stripped.outputs } : undefined;\n for (const [name, output] of Object.entries(stripped.outputs || {})) {\n const strippedOutput = { ...output };\n delete strippedOutput.type;\n delete strippedOutput.unique;\n delete strippedOutput.redirect;\n stripped.outputs[name] = strippedOutput;\n }\n return stripped;\n}\n/**\n * Removes custom fields from action metadata and returns a stringified version of the stripped metadata.\n *\n * @param metadata - The stringified action metadata to be stripped.\n * @param options - An optional set of options to apply when processing the metadata.\n *\n * @returns A stringified version of the stripped action metadata.\n */\nexport function stripActionMetadataStringFromCustomFields(metadata, options) {\n const newline = options?.newline ?? DEFAULT_NEWLINE;\n const generateAutoGeneratedWarningMessage = options?.generateAutoGeneratedWarningMessage ?? true;\n const parsedMetadata = parseActionMetadataFromString(metadata);\n const strippedMetadata = stripActionMetadataFromCustomFields(parsedMetadata);\n const stringifiedStrippedMetadata = stringifyYaml(strippedMetadata, options);\n const fixedStringifiedStrippedMetadata = newline === UNIX_NEWLINE ? stringifiedStrippedMetadata : stringifiedStrippedMetadata.replaceAll(UNIX_NEWLINE, newline);\n const warningMessage = generateAutoGeneratedWarningMessage ? generateAutoGeneratedWarningFrame(options) : undefined;\n const stringifiedStrippedMetadataWithWarning = [warningMessage, fixedStringifiedStrippedMetadata].filter(x => x).join(newline);\n return stringifiedStrippedMetadataWithWarning;\n}\n/**\n * Reads an action metadata file, removes custom fields from it, and writes the resulting metadata to a file.\n *\n * @param inputMetadataFile - The path to the original action metadata file to be stripped.\n * @param outputMetadataFile - The path to the output metadata file.\n * @param options - An optional set of read/write options and processing options to apply.\n *\n * @returns A promise that resolves when the metadata has been written to the output file, or rejects if any step fails.\n * @throws If reading, parsing, processing, or writing the action metadata fails.\n */\nexport async function stripActionMetadataFileFromCustomFields(inputMetadataFile, outputMetadataFile, options) {\n options = { sourceFileName: basename(inputMetadataFile.toString()), ...options };\n const metadata = (await readFile(inputMetadataFile, options)).toString();\n const stringifiedStrippedMetadata = stripActionMetadataStringFromCustomFields(metadata, options);\n await writeFile(outputMetadataFile, stringifiedStrippedMetadata, options);\n}\n","import { $i } from \"@/utils/collections\";\nimport { DEFAULT_NEWLINE, ENVIRONMENT, getEnvironmentVariable } from \"@/utils/environment\";\nimport { FileNotFoundError } from \"@/utils/errors\";\nimport { generateSecureRandomString } from \"@/utils/string-utils\";\nimport { appendFileSync } from \"node:fs\";\nimport { getActionOutputDescriptors } from \"./action-output-descriptor\";\n/**\n * The name of the environment variable that points to the output file in the GitHub Actions environment.\n *\n * @remarks\n *\n * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter\n */\nconst OUTPUT_FILE_NAME = \"GITHUB_OUTPUT\";\n/**\n * A weak map to cache the set of output names and values for each environment.\n */\nconst OUTPUT_CACHE = new WeakMap();\n/**\n * Sets the value of an output.\n *\n * @param name - Name of the output to set.\n * @param value - Value to set the output to.\n * @param env - An optional set of the environment variables to update.\n */\nexport function setActionOutput(name, value, env) {\n env ||= ENVIRONMENT;\n const fileName = getEnvironmentVariable(OUTPUT_FILE_NAME, env);\n FileNotFoundError.throwIfNotFound(fileName);\n const nameAndValue = formatNameAndValue(name, value);\n appendFileSync(fileName, `${nameAndValue}${DEFAULT_NEWLINE}`, \"utf8\");\n if (!OUTPUT_CACHE.has(env)) {\n OUTPUT_CACHE.set(env, new Map());\n }\n OUTPUT_CACHE.get(env).set(name, value);\n}\n/**\n * Formats the name and value of the output as a string.\n *\n * @param name - The name of the output.\n * @param value - The value of the output.\n *\n * @returns The formatted name and value string.\n *\n * @remarks\n *\n * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings\n */\nfunction formatNameAndValue(name, value) {\n const formattedValue = formatValue(value);\n const delimiter = generateDelimiter();\n return `${name}<<${delimiter}${DEFAULT_NEWLINE}${formattedValue}${DEFAULT_NEWLINE}${delimiter}`;\n}\n/**\n * Converts the output value to a string representation.\n *\n * @param value - The output value.\n *\n * @returns The string representation of the value.\n */\nfunction formatValue(value) {\n if (typeof value === \"string\") {\n return value;\n }\n if (value === null || value === undefined) {\n return \"\";\n }\n return JSON.stringify(value);\n}\n/**\n * Generates a unique delimiter string.\n *\n * @returns The generated delimiter string.\n */\nfunction generateDelimiter() {\n const DELIMITER_SIZE = 32;\n return `mcp${DELIMITER_SIZE}_${generateSecureRandomString(DELIMITER_SIZE)}`;\n}\n/**\n * Sets multiple action outputs at once using an iterable of [name, value] pairs.\n *\n * @param outputs - An iterable of [name, value] pairs representing the outputs to be set.\n * @param env - An optional set of the environment variables to update.\n */\nexport function setActionOutputs(outputs, env) {\n for (const [name, value] of outputs) {\n setActionOutput(name, value, env);\n }\n}\n/**\n * Gets the value of an output.\n *\n * @template T - Type of the output.\n *\n * @param name - Name of the output to get.\n * @param env - An optional set of the environment variables to search within.\n *\n * @returns The value of the output, or `undefined` if it was not set.\n */\nexport function getActionOutput(name, env) {\n env ||= ENVIRONMENT;\n const outputs = OUTPUT_CACHE.get(env);\n return outputs?.get(name);\n}\n/**\n * Gets the values of multiple outputs.\n *\n * @template T - Type of the outputs.\n *\n * @param names - Names of the outputs to get.\n * @param env - An optional set of the environment variables to search within.\n *\n * @returns An array of the values of the outputs. The order of the values matches the order of the output names in the `names` parameter.\n */\nexport function getActionOutputs(names, env) {\n return $i(names).map(name => getActionOutput(name, env)).toArray();\n}\n/**\n * Returns a map containing all outputs set by the action.\n *\n * @param env - An optional set of the environment variables to search within.\n *\n * @returns A map of output names and their corresponding values.\n */\nexport function getAllActionOutputs(env) {\n env ||= ENVIRONMENT;\n return new Map(OUTPUT_CACHE.get(env) || []);\n}\n/**\n * Creates a controller for managing GitHub Action outputs in a hierarchical structure.\n *\n * @template T - Controller type.\n *\n * @param descriptors - An iterable collection of action output descriptors.\n * @param options - Optional configuration for the controller.\n *\n * @returns A controller with the specified type for convenient access to action outputs.\n */\nexport function createActionOutputController(descriptors, options) {\n return new ActionOutputController(descriptors, options).navigate([]);\n}\n/**\n * Creates a controller for managing GitHub Action outputs using the provided action metadata.\n *\n * @template T - Controller type.\n *\n * @param metadata - The metadata describing the action.\n * @param options - Optional configuration for the controller and descriptor extraction.\n *\n * @returns A controller with the specified type for convenient access to action outputs.\n */\nexport function createActionOutputControllerUsingMetadata(metadata, options) {\n const descriptors = getActionOutputDescriptors(metadata, options);\n return createActionOutputController(descriptors, options);\n}\n/**\n * Represents a controller which manages GitHub Action outputs in a hierarchical structure.\n *\n * Provides a convenient way to set and get outputs using nested properties.\n */\nclass ActionOutputController {\n /**\n * Descriptors of outputs which should be handled by this controller.\n */\n _descriptors;\n /**\n * Custom getter function for an output.\n */\n _getOutput;\n /**\n * Custom setter function for an output.\n */\n _setOutput;\n /**\n * Constructs a new {@link ActionOutputController} instance.\n *\n * @param descriptors - An iterable collection of action output descriptors.\n * @param options - Optional configuration for the controller.\n */\n constructor(descriptors, options) {\n this._descriptors = [...descriptors];\n this._getOutput = options?.getOutput || getActionOutput;\n this._setOutput = options?.setOutput || setActionOutput;\n }\n /**\n * Navigates to a specified path within the hierarchical structure of action outputs.\n *\n * @param path - An array of strings representing the path to navigate to.\n *\n * @returns A proxy object for the specified path, allowing access to nested action outputs.\n */\n navigate(path) {\n return new Proxy({ path }, this);\n }\n /**\n * @inheritdoc\n */\n get(target, property) {\n const path = [...target.path, String(property)];\n const descriptor = this.findNearestDescriptor(path);\n if (!descriptor) {\n return undefined;\n }\n if (descriptor.path.length === path.length) {\n return this._getOutput(descriptor.name);\n }\n return this.navigate(path);\n }\n /**\n * @inheritdoc\n */\n set(target, property, newValue) {\n const path = [...target.path, String(property)];\n const descriptor = this.findNearestDescriptor(path);\n if (!descriptor) {\n return false;\n }\n if (descriptor.path.length === path.length) {\n this._setOutput(descriptor.name, newValue);\n return true;\n }\n if (!newValue || typeof newValue !== \"object\") {\n return false;\n }\n const proxy = this.navigate(path);\n for (const [key, value] of Object.entries(newValue)) {\n proxy[key] = value;\n }\n return true;\n }\n /**\n * @inheritdoc\n */\n has(target, property) {\n const path = [...target.path, String(property)];\n const descriptor = this.findNearestDescriptor(path);\n return !!descriptor;\n }\n /**\n * @inheritdoc\n */\n ownKeys(target) {\n const path = target.path;\n const descriptors = $i(this._descriptors).filter(d => d.path.length > path.length && $i(d.path).startsWith(path));\n const keys = descriptors.map(d => d.path[path.length]).distinct().toArray();\n return keys;\n }\n /**\n * @inheritdoc\n */\n getOwnPropertyDescriptor(target, property) {\n if (!this.has(target, property)) {\n return undefined;\n }\n const value = this.get(target, property);\n return {\n value,\n configurable: true,\n enumerable: true,\n writable: true,\n };\n }\n /**\n * @inheritdoc\n */\n defineProperty() {\n return false;\n }\n /**\n * @inheritdoc\n */\n deleteProperty() {\n return false;\n }\n /**\n * @inheritdoc\n */\n getPrototypeOf() {\n return Object.prototype;\n }\n /**\n * @inheritdoc\n */\n setPrototypeOf() {\n return false;\n }\n /**\n * @inheritdoc\n */\n isExtensible() {\n return false;\n }\n /**\n * @inheritdoc\n */\n preventExtensions() {\n return true;\n }\n /**\n * Finds the nearest descriptor for the provided path.\n *\n * @param path - The path to search for the nearest descriptor.\n *\n * @returns The nearest descriptor if found, or `undefined` otherwise.\n */\n findNearestDescriptor(path) {\n const descriptor = (this._descriptors.find(d => d.path.length === path.length && $i(d.path).startsWith(path)) ||\n this._descriptors.find(d => d.path.length > path.length && $i(d.path).startsWith(path)));\n const targetDescriptor = descriptor?.redirect ? this._descriptors.find(d => d.name === descriptor.redirect) : descriptor;\n return targetDescriptor;\n }\n}\n","import { GameVersionFilter, getGameVersionProviderByName } from \"@/games\";\nimport { MINECRAFT } from \"@/games/minecraft\";\nimport { createDefaultLoaderMetadataReader } from \"@/loaders\";\nimport { PlatformType, createPlatformUploader } from \"@/platforms\";\nimport { GitHubContext } from \"@/platforms/github\";\nimport { SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER, createActionOutputControllerUsingMetadata, getActionOutput, getAllActionInputsAsObjectUsingMetadata, parseActionMetadataFromFile, setActionOutput } from \"@/utils/actions\";\nimport { ENVIRONMENT } from \"@/utils/environment\";\nimport { ArgumentError, ArgumentNullError, ErrorBuilder, FailMode, FileNotFoundError } from \"@/utils/errors\";\nimport { getDefaultLogger } from \"@/utils/logging\";\nimport { DYNAMIC_MODULE_LOADER } from \"@/utils/reflection\";\nimport { VersionType } from \"@/utils/versioning\";\n/**\n * The main entry point of the program.\n *\n * @returns A promise that resolves when the program execution is complete.\n */\nexport async function main() {\n const env = ENVIRONMENT;\n const logger = getDefaultLogger(env);\n try {\n const action = await initializeAction(new URL(\"../action.yml\", import.meta.url), env);\n const githubContext = new GitHubContext(env);\n await publish(action, githubContext, logger);\n }\n catch (e) {\n logger.fatal(e);\n throw e;\n }\n}\n/**\n * Initiates the publishing process.\n *\n * @param action - The action details.\n * @param githubContext - The GitHub context.\n * @param logger - The logger to use for logging messages.\n *\n * @returns A promise that resolves when the publishing is complete.\n */\nasync function publish(action, githubContext, logger) {\n const metadataReader = createDefaultLoaderMetadataReader();\n const errors = new ErrorBuilder(logger);\n const processedPlatforms = [];\n for (const platform of PlatformType.values()) {\n const platformOptions = { ...action.input, ...action.input[platform] };\n if (!platformOptions?.token) {\n continue;\n }\n const options = await fillInDefaultValues(platformOptions, platform, githubContext, metadataReader);\n const uploader = createPlatformUploader(platform, { logger, githubContext });\n try {\n action.output[platform] = await uploader.upload(options);\n processedPlatforms.push(platform);\n }\n catch (e) {\n errors.append(e, options.failMode ?? FailMode.FAIL);\n }\n }\n if (processedPlatforms.length) {\n logger.info(`🎉 Successfully published the assets to ${processedPlatforms.map(p => PlatformType.friendlyNameOf(p)).join(\", \")}`);\n }\n else if (!errors.hasErrors) {\n logger.warn(\"⚠️ No valid platform tokens found in your config. To publish your project, please add the required access tokens for the desired platforms. Assets will not be published without them. Refer to the documentation for assistance in setting up your tokens.\");\n }\n errors.throwIfHasErrors();\n}\n/**\n * Fills in the default values for the specified options.\n *\n * @param options - The options to fill in the default values for.\n * @param platform - The target platform.\n * @param githubContext - The GitHub context.\n * @param reader - The metadata reader.\n *\n * @returns A promise that resolves to the options with default values filled in.\n */\nasync function fillInDefaultValues(options, platform, githubContext, reader) {\n ArgumentError.throwIfNullOrEmpty(options.files, \"options.files\", \"No files found for the specified glob. Please ensure the glob is correct and files matching the pattern exist in the specified directory.\");\n options = { ...options };\n const primaryFile = options.files[0];\n const metadata = await reader?.readMetadataFile(primaryFile.path).catch(() => undefined);\n const gameVersionProvider = getGameVersionProviderByName(metadata?.gameName || MINECRAFT);\n const wrappedGameVersions = options.gameVersions?.length ? options.gameVersions : (metadata?.gameVersions || []);\n const gameVersions = await gameVersionProvider?.(wrappedGameVersions);\n const unwrappedGameVersions = gameVersions ? GameVersionFilter.filter(gameVersions, options.gameVersionFilter).map(x => x.id) : wrappedGameVersions;\n options.id ||= metadata?.getProjectId(platform) || \"\";\n options.version ||= githubContext.version || metadata?.version;\n options.versionType ||= VersionType.parseFromFileName(metadata?.version || primaryFile.name);\n options.name ??= githubContext.payload.release?.name || options.version;\n options.changelog ??= githubContext.payload.release?.body || \"\";\n options.loaders ??= metadata?.loaders || [];\n options.dependencies ??= metadata?.dependencies || [];\n options.gameVersions = unwrappedGameVersions;\n return options;\n}\n/**\n * Initializes the action.\n *\n * @param path - The path to the action's metadata file.\n * @param env - The environment variables.\n *\n * @returns A promise that resolves to the initialized action.\n */\nasync function initializeAction(path, env) {\n ArgumentNullError.throwIfNull(path, \"path\");\n FileNotFoundError.throwIfNotFound(path);\n const config = {\n pathParser: SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER,\n moduleLoader: DYNAMIC_MODULE_LOADER,\n getOutput: (name) => getActionOutput(name, env),\n setOutput: (name, value) => setActionOutput(name, value, env),\n };\n const metadata = await parseActionMetadataFromFile(path);\n const input = await getAllActionInputsAsObjectUsingMetadata(metadata, config, env);\n const output = createActionOutputControllerUsingMetadata(metadata, config);\n return { input, output };\n}\n","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"buffer\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"events\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"fs\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:fs\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:path\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:process\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"node:stream/web\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"os\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"path\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"stream\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"util\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"worker_threads\");","module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)(\"zlib\");","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar YAMLSeq = require('../nodes/YAMLSeq.js');\nvar resolveBlockMap = require('./resolve-block-map.js');\nvar resolveBlockSeq = require('./resolve-block-seq.js');\nvar resolveFlowCollection = require('./resolve-flow-collection.js');\n\nfunction resolveCollection(CN, ctx, token, onError, tagName, tag) {\n const coll = token.type === 'block-map'\n ? resolveBlockMap.resolveBlockMap(CN, ctx, token, onError, tag)\n : token.type === 'block-seq'\n ? resolveBlockSeq.resolveBlockSeq(CN, ctx, token, onError, tag)\n : resolveFlowCollection.resolveFlowCollection(CN, ctx, token, onError, tag);\n const Coll = coll.constructor;\n // If we got a tagName matching the class, or the tag name is '!',\n // then use the tagName from the node class used to create it.\n if (tagName === '!' || tagName === Coll.tagName) {\n coll.tag = Coll.tagName;\n return coll;\n }\n if (tagName)\n coll.tag = tagName;\n return coll;\n}\nfunction composeCollection(CN, ctx, token, tagToken, onError) {\n const tagName = !tagToken\n ? null\n : ctx.directives.tagName(tagToken.source, msg => onError(tagToken, 'TAG_RESOLVE_FAILED', msg));\n const expType = token.type === 'block-map'\n ? 'map'\n : token.type === 'block-seq'\n ? 'seq'\n : token.start.source === '{'\n ? 'map'\n : 'seq';\n // shortcut: check if it's a generic YAMLMap or YAMLSeq\n // before jumping into the custom tag logic.\n if (!tagToken ||\n !tagName ||\n tagName === '!' ||\n (tagName === YAMLMap.YAMLMap.tagName && expType === 'map') ||\n (tagName === YAMLSeq.YAMLSeq.tagName && expType === 'seq') ||\n !expType) {\n return resolveCollection(CN, ctx, token, onError, tagName);\n }\n let tag = ctx.schema.tags.find(t => t.tag === tagName && t.collection === expType);\n if (!tag) {\n const kt = ctx.schema.knownTags[tagName];\n if (kt && kt.collection === expType) {\n ctx.schema.tags.push(Object.assign({}, kt, { default: false }));\n tag = kt;\n }\n else {\n if (kt?.collection) {\n onError(tagToken, 'BAD_COLLECTION_TYPE', `${kt.tag} used for ${expType} collection, but expects ${kt.collection}`, true);\n }\n else {\n onError(tagToken, 'TAG_RESOLVE_FAILED', `Unresolved tag: ${tagName}`, true);\n }\n return resolveCollection(CN, ctx, token, onError, tagName);\n }\n }\n const coll = resolveCollection(CN, ctx, token, onError, tagName, tag);\n const res = tag.resolve?.(coll, msg => onError(tagToken, 'TAG_RESOLVE_FAILED', msg), ctx.options) ?? coll;\n const node = identity.isNode(res)\n ? res\n : new Scalar.Scalar(res);\n node.range = coll.range;\n node.tag = tagName;\n if (tag?.format)\n node.format = tag.format;\n return node;\n}\n\nexports.composeCollection = composeCollection;\n","'use strict';\n\nvar Document = require('../doc/Document.js');\nvar composeNode = require('./compose-node.js');\nvar resolveEnd = require('./resolve-end.js');\nvar resolveProps = require('./resolve-props.js');\n\nfunction composeDoc(options, directives, { offset, start, value, end }, onError) {\n const opts = Object.assign({ _directives: directives }, options);\n const doc = new Document.Document(undefined, opts);\n const ctx = {\n atRoot: true,\n directives: doc.directives,\n options: doc.options,\n schema: doc.schema\n };\n const props = resolveProps.resolveProps(start, {\n indicator: 'doc-start',\n next: value ?? end?.[0],\n offset,\n onError,\n startOnNewline: true\n });\n if (props.found) {\n doc.directives.docStart = true;\n if (value &&\n (value.type === 'block-map' || value.type === 'block-seq') &&\n !props.hasNewline)\n onError(props.end, 'MISSING_CHAR', 'Block collection cannot start on same line with directives-end marker');\n }\n // @ts-expect-error If Contents is set, let's trust the user\n doc.contents = value\n ? composeNode.composeNode(ctx, value, props, onError)\n : composeNode.composeEmptyNode(ctx, props.end, start, null, props, onError);\n const contentEnd = doc.contents.range[2];\n const re = resolveEnd.resolveEnd(end, contentEnd, false, onError);\n if (re.comment)\n doc.comment = re.comment;\n doc.range = [offset, contentEnd, re.offset];\n return doc;\n}\n\nexports.composeDoc = composeDoc;\n","'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar composeCollection = require('./compose-collection.js');\nvar composeScalar = require('./compose-scalar.js');\nvar resolveEnd = require('./resolve-end.js');\nvar utilEmptyScalarPosition = require('./util-empty-scalar-position.js');\n\nconst CN = { composeNode, composeEmptyNode };\nfunction composeNode(ctx, token, props, onError) {\n const { spaceBefore, comment, anchor, tag } = props;\n let node;\n let isSrcToken = true;\n switch (token.type) {\n case 'alias':\n node = composeAlias(ctx, token, onError);\n if (anchor || tag)\n onError(token, 'ALIAS_PROPS', 'An alias node must not specify any properties');\n break;\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n case 'block-scalar':\n node = composeScalar.composeScalar(ctx, token, tag, onError);\n if (anchor)\n node.anchor = anchor.source.substring(1);\n break;\n case 'block-map':\n case 'block-seq':\n case 'flow-collection':\n node = composeCollection.composeCollection(CN, ctx, token, tag, onError);\n if (anchor)\n node.anchor = anchor.source.substring(1);\n break;\n default: {\n const message = token.type === 'error'\n ? token.message\n : `Unsupported token (type: ${token.type})`;\n onError(token, 'UNEXPECTED_TOKEN', message);\n node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);\n isSrcToken = false;\n }\n }\n if (anchor && node.anchor === '')\n onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');\n if (spaceBefore)\n node.spaceBefore = true;\n if (comment) {\n if (token.type === 'scalar' && token.source === '')\n node.comment = comment;\n else\n node.commentBefore = comment;\n }\n // @ts-expect-error Type checking misses meaning of isSrcToken\n if (ctx.options.keepSourceTokens && isSrcToken)\n node.srcToken = token;\n return node;\n}\nfunction composeEmptyNode(ctx, offset, before, pos, { spaceBefore, comment, anchor, tag, end }, onError) {\n const token = {\n type: 'scalar',\n offset: utilEmptyScalarPosition.emptyScalarPosition(offset, before, pos),\n indent: -1,\n source: ''\n };\n const node = composeScalar.composeScalar(ctx, token, tag, onError);\n if (anchor) {\n node.anchor = anchor.source.substring(1);\n if (node.anchor === '')\n onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');\n }\n if (spaceBefore)\n node.spaceBefore = true;\n if (comment) {\n node.comment = comment;\n node.range[2] = end;\n }\n return node;\n}\nfunction composeAlias({ options }, { offset, source, end }, onError) {\n const alias = new Alias.Alias(source.substring(1));\n if (alias.source === '')\n onError(offset, 'BAD_ALIAS', 'Alias cannot be an empty string');\n if (alias.source.endsWith(':'))\n onError(offset + source.length - 1, 'BAD_ALIAS', 'Alias ending in : is ambiguous', true);\n const valueEnd = offset + source.length;\n const re = resolveEnd.resolveEnd(end, valueEnd, options.strict, onError);\n alias.range = [offset, valueEnd, re.offset];\n if (re.comment)\n alias.comment = re.comment;\n return alias;\n}\n\nexports.composeEmptyNode = composeEmptyNode;\nexports.composeNode = composeNode;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\nvar resolveBlockScalar = require('./resolve-block-scalar.js');\nvar resolveFlowScalar = require('./resolve-flow-scalar.js');\n\nfunction composeScalar(ctx, token, tagToken, onError) {\n const { value, type, comment, range } = token.type === 'block-scalar'\n ? resolveBlockScalar.resolveBlockScalar(token, ctx.options.strict, onError)\n : resolveFlowScalar.resolveFlowScalar(token, ctx.options.strict, onError);\n const tagName = tagToken\n ? ctx.directives.tagName(tagToken.source, msg => onError(tagToken, 'TAG_RESOLVE_FAILED', msg))\n : null;\n const tag = tagToken && tagName\n ? findScalarTagByName(ctx.schema, value, tagName, tagToken, onError)\n : token.type === 'scalar'\n ? findScalarTagByTest(ctx, value, token, onError)\n : ctx.schema[identity.SCALAR];\n let scalar;\n try {\n const res = tag.resolve(value, msg => onError(tagToken ?? token, 'TAG_RESOLVE_FAILED', msg), ctx.options);\n scalar = identity.isScalar(res) ? res : new Scalar.Scalar(res);\n }\n catch (error) {\n const msg = error instanceof Error ? error.message : String(error);\n onError(tagToken ?? token, 'TAG_RESOLVE_FAILED', msg);\n scalar = new Scalar.Scalar(value);\n }\n scalar.range = range;\n scalar.source = value;\n if (type)\n scalar.type = type;\n if (tagName)\n scalar.tag = tagName;\n if (tag.format)\n scalar.format = tag.format;\n if (comment)\n scalar.comment = comment;\n return scalar;\n}\nfunction findScalarTagByName(schema, value, tagName, tagToken, onError) {\n if (tagName === '!')\n return schema[identity.SCALAR]; // non-specific tag\n const matchWithTest = [];\n for (const tag of schema.tags) {\n if (!tag.collection && tag.tag === tagName) {\n if (tag.default && tag.test)\n matchWithTest.push(tag);\n else\n return tag;\n }\n }\n for (const tag of matchWithTest)\n if (tag.test?.test(value))\n return tag;\n const kt = schema.knownTags[tagName];\n if (kt && !kt.collection) {\n // Ensure that the known tag is available for stringifying,\n // but does not get used by default.\n schema.tags.push(Object.assign({}, kt, { default: false, test: undefined }));\n return kt;\n }\n onError(tagToken, 'TAG_RESOLVE_FAILED', `Unresolved tag: ${tagName}`, tagName !== 'tag:yaml.org,2002:str');\n return schema[identity.SCALAR];\n}\nfunction findScalarTagByTest({ directives, schema }, value, token, onError) {\n const tag = schema.tags.find(tag => tag.default && tag.test?.test(value)) || schema[identity.SCALAR];\n if (schema.compat) {\n const compat = schema.compat.find(tag => tag.default && tag.test?.test(value)) ??\n schema[identity.SCALAR];\n if (tag.tag !== compat.tag) {\n const ts = directives.tagString(tag.tag);\n const cs = directives.tagString(compat.tag);\n const msg = `Value may be parsed as either ${ts} or ${cs}`;\n onError(token, 'TAG_RESOLVE_FAILED', msg, true);\n }\n }\n return tag;\n}\n\nexports.composeScalar = composeScalar;\n","'use strict';\n\nvar directives = require('../doc/directives.js');\nvar Document = require('../doc/Document.js');\nvar errors = require('../errors.js');\nvar identity = require('../nodes/identity.js');\nvar composeDoc = require('./compose-doc.js');\nvar resolveEnd = require('./resolve-end.js');\n\nfunction getErrorPos(src) {\n if (typeof src === 'number')\n return [src, src + 1];\n if (Array.isArray(src))\n return src.length === 2 ? src : [src[0], src[1]];\n const { offset, source } = src;\n return [offset, offset + (typeof source === 'string' ? source.length : 1)];\n}\nfunction parsePrelude(prelude) {\n let comment = '';\n let atComment = false;\n let afterEmptyLine = false;\n for (let i = 0; i < prelude.length; ++i) {\n const source = prelude[i];\n switch (source[0]) {\n case '#':\n comment +=\n (comment === '' ? '' : afterEmptyLine ? '\\n\\n' : '\\n') +\n (source.substring(1) || ' ');\n atComment = true;\n afterEmptyLine = false;\n break;\n case '%':\n if (prelude[i + 1]?.[0] !== '#')\n i += 1;\n atComment = false;\n break;\n default:\n // This may be wrong after doc-end, but in that case it doesn't matter\n if (!atComment)\n afterEmptyLine = true;\n atComment = false;\n }\n }\n return { comment, afterEmptyLine };\n}\n/**\n * Compose a stream of CST nodes into a stream of YAML Documents.\n *\n * ```ts\n * import { Composer, Parser } from 'yaml'\n *\n * const src: string = ...\n * const tokens = new Parser().parse(src)\n * const docs = new Composer().compose(tokens)\n * ```\n */\nclass Composer {\n constructor(options = {}) {\n this.doc = null;\n this.atDirectives = false;\n this.prelude = [];\n this.errors = [];\n this.warnings = [];\n this.onError = (source, code, message, warning) => {\n const pos = getErrorPos(source);\n if (warning)\n this.warnings.push(new errors.YAMLWarning(pos, code, message));\n else\n this.errors.push(new errors.YAMLParseError(pos, code, message));\n };\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n this.directives = new directives.Directives({ version: options.version || '1.2' });\n this.options = options;\n }\n decorate(doc, afterDoc) {\n const { comment, afterEmptyLine } = parsePrelude(this.prelude);\n //console.log({ dc: doc.comment, prelude, comment })\n if (comment) {\n const dc = doc.contents;\n if (afterDoc) {\n doc.comment = doc.comment ? `${doc.comment}\\n${comment}` : comment;\n }\n else if (afterEmptyLine || doc.directives.docStart || !dc) {\n doc.commentBefore = comment;\n }\n else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {\n let it = dc.items[0];\n if (identity.isPair(it))\n it = it.key;\n const cb = it.commentBefore;\n it.commentBefore = cb ? `${comment}\\n${cb}` : comment;\n }\n else {\n const cb = dc.commentBefore;\n dc.commentBefore = cb ? `${comment}\\n${cb}` : comment;\n }\n }\n if (afterDoc) {\n Array.prototype.push.apply(doc.errors, this.errors);\n Array.prototype.push.apply(doc.warnings, this.warnings);\n }\n else {\n doc.errors = this.errors;\n doc.warnings = this.warnings;\n }\n this.prelude = [];\n this.errors = [];\n this.warnings = [];\n }\n /**\n * Current stream status information.\n *\n * Mostly useful at the end of input for an empty stream.\n */\n streamInfo() {\n return {\n comment: parsePrelude(this.prelude).comment,\n directives: this.directives,\n errors: this.errors,\n warnings: this.warnings\n };\n }\n /**\n * Compose tokens into documents.\n *\n * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.\n * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.\n */\n *compose(tokens, forceDoc = false, endOffset = -1) {\n for (const token of tokens)\n yield* this.next(token);\n yield* this.end(forceDoc, endOffset);\n }\n /** Advance the composer by one CST token. */\n *next(token) {\n if (process.env.LOG_STREAM)\n console.dir(token, { depth: null });\n switch (token.type) {\n case 'directive':\n this.directives.add(token.source, (offset, message, warning) => {\n const pos = getErrorPos(token);\n pos[0] += offset;\n this.onError(pos, 'BAD_DIRECTIVE', message, warning);\n });\n this.prelude.push(token.source);\n this.atDirectives = true;\n break;\n case 'document': {\n const doc = composeDoc.composeDoc(this.options, this.directives, token, this.onError);\n if (this.atDirectives && !doc.directives.docStart)\n this.onError(token, 'MISSING_CHAR', 'Missing directives-end/doc-start indicator line');\n this.decorate(doc, false);\n if (this.doc)\n yield this.doc;\n this.doc = doc;\n this.atDirectives = false;\n break;\n }\n case 'byte-order-mark':\n case 'space':\n break;\n case 'comment':\n case 'newline':\n this.prelude.push(token.source);\n break;\n case 'error': {\n const msg = token.source\n ? `${token.message}: ${JSON.stringify(token.source)}`\n : token.message;\n const error = new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', msg);\n if (this.atDirectives || !this.doc)\n this.errors.push(error);\n else\n this.doc.errors.push(error);\n break;\n }\n case 'doc-end': {\n if (!this.doc) {\n const msg = 'Unexpected doc-end without preceding document';\n this.errors.push(new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', msg));\n break;\n }\n this.doc.directives.docEnd = true;\n const end = resolveEnd.resolveEnd(token.end, token.offset + token.source.length, this.doc.options.strict, this.onError);\n this.decorate(this.doc, true);\n if (end.comment) {\n const dc = this.doc.comment;\n this.doc.comment = dc ? `${dc}\\n${end.comment}` : end.comment;\n }\n this.doc.range[2] = end.offset;\n break;\n }\n default:\n this.errors.push(new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', `Unsupported token ${token.type}`));\n }\n }\n /**\n * Call at end of input to yield any remaining document.\n *\n * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.\n * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.\n */\n *end(forceDoc = false, endOffset = -1) {\n if (this.doc) {\n this.decorate(this.doc, true);\n yield this.doc;\n this.doc = null;\n }\n else if (forceDoc) {\n const opts = Object.assign({ _directives: this.directives }, this.options);\n const doc = new Document.Document(undefined, opts);\n if (this.atDirectives)\n this.onError(endOffset, 'MISSING_CHAR', 'Missing directives-end indicator line');\n doc.range = [0, endOffset, endOffset];\n this.decorate(doc, false);\n yield doc;\n }\n }\n}\n\nexports.Composer = Composer;\n","'use strict';\n\nvar Pair = require('../nodes/Pair.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilContainsNewline = require('./util-contains-newline.js');\nvar utilFlowIndentCheck = require('./util-flow-indent-check.js');\nvar utilMapIncludes = require('./util-map-includes.js');\n\nconst startColMsg = 'All mapping items must start at the same column';\nfunction resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {\n const NodeClass = tag?.nodeClass ?? YAMLMap.YAMLMap;\n const map = new NodeClass(ctx.schema);\n if (ctx.atRoot)\n ctx.atRoot = false;\n let offset = bm.offset;\n let commentEnd = null;\n for (const collItem of bm.items) {\n const { start, key, sep, value } = collItem;\n // key properties\n const keyProps = resolveProps.resolveProps(start, {\n indicator: 'explicit-key-ind',\n next: key ?? sep?.[0],\n offset,\n onError,\n startOnNewline: true\n });\n const implicitKey = !keyProps.found;\n if (implicitKey) {\n if (key) {\n if (key.type === 'block-seq')\n onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'A block sequence may not be used as an implicit map key');\n else if ('indent' in key && key.indent !== bm.indent)\n onError(offset, 'BAD_INDENT', startColMsg);\n }\n if (!keyProps.anchor && !keyProps.tag && !sep) {\n commentEnd = keyProps.end;\n if (keyProps.comment) {\n if (map.comment)\n map.comment += '\\n' + keyProps.comment;\n else\n map.comment = keyProps.comment;\n }\n continue;\n }\n if (keyProps.hasNewlineAfterProp || utilContainsNewline.containsNewline(key)) {\n onError(key ?? start[start.length - 1], 'MULTILINE_IMPLICIT_KEY', 'Implicit keys need to be on a single line');\n }\n }\n else if (keyProps.found?.indent !== bm.indent) {\n onError(offset, 'BAD_INDENT', startColMsg);\n }\n // key value\n const keyStart = keyProps.end;\n const keyNode = key\n ? composeNode(ctx, key, keyProps, onError)\n : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);\n if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))\n onError(keyStart, 'DUPLICATE_KEY', 'Map keys must be unique');\n // value properties\n const valueProps = resolveProps.resolveProps(sep ?? [], {\n indicator: 'map-value-ind',\n next: value,\n offset: keyNode.range[2],\n onError,\n startOnNewline: !key || key.type === 'block-scalar'\n });\n offset = valueProps.end;\n if (valueProps.found) {\n if (implicitKey) {\n if (value?.type === 'block-map' && !valueProps.hasNewline)\n onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'Nested mappings are not allowed in compact mappings');\n if (ctx.options.strict &&\n keyProps.start < valueProps.found.offset - 1024)\n onError(keyNode.range, 'KEY_OVER_1024_CHARS', 'The : indicator must be at most 1024 chars after the start of an implicit block mapping key');\n }\n // value value\n const valueNode = value\n ? composeNode(ctx, value, valueProps, onError)\n : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);\n offset = valueNode.range[2];\n const pair = new Pair.Pair(keyNode, valueNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n map.items.push(pair);\n }\n else {\n // key with no value\n if (implicitKey)\n onError(keyNode.range, 'MISSING_CHAR', 'Implicit map keys need to be followed by map values');\n if (valueProps.comment) {\n if (keyNode.comment)\n keyNode.comment += '\\n' + valueProps.comment;\n else\n keyNode.comment = valueProps.comment;\n }\n const pair = new Pair.Pair(keyNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n map.items.push(pair);\n }\n }\n if (commentEnd && commentEnd < offset)\n onError(commentEnd, 'IMPOSSIBLE', 'Map comment with trailing content');\n map.range = [bm.offset, offset, commentEnd ?? offset];\n return map;\n}\n\nexports.resolveBlockMap = resolveBlockMap;\n","'use strict';\n\nvar Scalar = require('../nodes/Scalar.js');\n\nfunction resolveBlockScalar(scalar, strict, onError) {\n const start = scalar.offset;\n const header = parseBlockScalarHeader(scalar, strict, onError);\n if (!header)\n return { value: '', type: null, comment: '', range: [start, start, start] };\n const type = header.mode === '>' ? Scalar.Scalar.BLOCK_FOLDED : Scalar.Scalar.BLOCK_LITERAL;\n const lines = scalar.source ? splitLines(scalar.source) : [];\n // determine the end of content & start of chomping\n let chompStart = lines.length;\n for (let i = lines.length - 1; i >= 0; --i) {\n const content = lines[i][1];\n if (content === '' || content === '\\r')\n chompStart = i;\n else\n break;\n }\n // shortcut for empty contents\n if (chompStart === 0) {\n const value = header.chomp === '+' && lines.length > 0\n ? '\\n'.repeat(Math.max(1, lines.length - 1))\n : '';\n let end = start + header.length;\n if (scalar.source)\n end += scalar.source.length;\n return { value, type, comment: header.comment, range: [start, end, end] };\n }\n // find the indentation level to trim from start\n let trimIndent = scalar.indent + header.indent;\n let offset = scalar.offset + header.length;\n let contentStart = 0;\n for (let i = 0; i < chompStart; ++i) {\n const [indent, content] = lines[i];\n if (content === '' || content === '\\r') {\n if (header.indent === 0 && indent.length > trimIndent)\n trimIndent = indent.length;\n }\n else {\n if (indent.length < trimIndent) {\n const message = 'Block scalars with more-indented leading empty lines must use an explicit indentation indicator';\n onError(offset + indent.length, 'MISSING_CHAR', message);\n }\n if (header.indent === 0)\n trimIndent = indent.length;\n contentStart = i;\n break;\n }\n offset += indent.length + content.length + 1;\n }\n // include trailing more-indented empty lines in content\n for (let i = lines.length - 1; i >= chompStart; --i) {\n if (lines[i][0].length > trimIndent)\n chompStart = i + 1;\n }\n let value = '';\n let sep = '';\n let prevMoreIndented = false;\n // leading whitespace is kept intact\n for (let i = 0; i < contentStart; ++i)\n value += lines[i][0].slice(trimIndent) + '\\n';\n for (let i = contentStart; i < chompStart; ++i) {\n let [indent, content] = lines[i];\n offset += indent.length + content.length + 1;\n const crlf = content[content.length - 1] === '\\r';\n if (crlf)\n content = content.slice(0, -1);\n /* istanbul ignore if already caught in lexer */\n if (content && indent.length < trimIndent) {\n const src = header.indent\n ? 'explicit indentation indicator'\n : 'first line';\n const message = `Block scalar lines must not be less indented than their ${src}`;\n onError(offset - content.length - (crlf ? 2 : 1), 'BAD_INDENT', message);\n indent = '';\n }\n if (type === Scalar.Scalar.BLOCK_LITERAL) {\n value += sep + indent.slice(trimIndent) + content;\n sep = '\\n';\n }\n else if (indent.length > trimIndent || content[0] === '\\t') {\n // more-indented content within a folded block\n if (sep === ' ')\n sep = '\\n';\n else if (!prevMoreIndented && sep === '\\n')\n sep = '\\n\\n';\n value += sep + indent.slice(trimIndent) + content;\n sep = '\\n';\n prevMoreIndented = true;\n }\n else if (content === '') {\n // empty line\n if (sep === '\\n')\n value += '\\n';\n else\n sep = '\\n';\n }\n else {\n value += sep + content;\n sep = ' ';\n prevMoreIndented = false;\n }\n }\n switch (header.chomp) {\n case '-':\n break;\n case '+':\n for (let i = chompStart; i < lines.length; ++i)\n value += '\\n' + lines[i][0].slice(trimIndent);\n if (value[value.length - 1] !== '\\n')\n value += '\\n';\n break;\n default:\n value += '\\n';\n }\n const end = start + header.length + scalar.source.length;\n return { value, type, comment: header.comment, range: [start, end, end] };\n}\nfunction parseBlockScalarHeader({ offset, props }, strict, onError) {\n /* istanbul ignore if should not happen */\n if (props[0].type !== 'block-scalar-header') {\n onError(props[0], 'IMPOSSIBLE', 'Block scalar header not found');\n return null;\n }\n const { source } = props[0];\n const mode = source[0];\n let indent = 0;\n let chomp = '';\n let error = -1;\n for (let i = 1; i < source.length; ++i) {\n const ch = source[i];\n if (!chomp && (ch === '-' || ch === '+'))\n chomp = ch;\n else {\n const n = Number(ch);\n if (!indent && n)\n indent = n;\n else if (error === -1)\n error = offset + i;\n }\n }\n if (error !== -1)\n onError(error, 'UNEXPECTED_TOKEN', `Block scalar header includes extra characters: ${source}`);\n let hasSpace = false;\n let comment = '';\n let length = source.length;\n for (let i = 1; i < props.length; ++i) {\n const token = props[i];\n switch (token.type) {\n case 'space':\n hasSpace = true;\n // fallthrough\n case 'newline':\n length += token.source.length;\n break;\n case 'comment':\n if (strict && !hasSpace) {\n const message = 'Comments must be separated from other tokens by white space characters';\n onError(token, 'MISSING_CHAR', message);\n }\n length += token.source.length;\n comment = token.source.substring(1);\n break;\n case 'error':\n onError(token, 'UNEXPECTED_TOKEN', token.message);\n length += token.source.length;\n break;\n /* istanbul ignore next should not happen */\n default: {\n const message = `Unexpected token in block scalar header: ${token.type}`;\n onError(token, 'UNEXPECTED_TOKEN', message);\n const ts = token.source;\n if (ts && typeof ts === 'string')\n length += ts.length;\n }\n }\n }\n return { mode, indent, chomp, comment, length };\n}\n/** @returns Array of lines split up as `[indent, content]` */\nfunction splitLines(source) {\n const split = source.split(/\\n( *)/);\n const first = split[0];\n const m = first.match(/^( *)/);\n const line0 = m?.[1]\n ? [m[1], first.slice(m[1].length)]\n : ['', first];\n const lines = [line0];\n for (let i = 1; i < split.length; i += 2)\n lines.push([split[i], split[i + 1]]);\n return lines;\n}\n\nexports.resolveBlockScalar = resolveBlockScalar;\n","'use strict';\n\nvar YAMLSeq = require('../nodes/YAMLSeq.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilFlowIndentCheck = require('./util-flow-indent-check.js');\n\nfunction resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, tag) {\n const NodeClass = tag?.nodeClass ?? YAMLSeq.YAMLSeq;\n const seq = new NodeClass(ctx.schema);\n if (ctx.atRoot)\n ctx.atRoot = false;\n let offset = bs.offset;\n let commentEnd = null;\n for (const { start, value } of bs.items) {\n const props = resolveProps.resolveProps(start, {\n indicator: 'seq-item-ind',\n next: value,\n offset,\n onError,\n startOnNewline: true\n });\n if (!props.found) {\n if (props.anchor || props.tag || value) {\n if (value && value.type === 'block-seq')\n onError(props.end, 'BAD_INDENT', 'All sequence items must start at the same column');\n else\n onError(offset, 'MISSING_CHAR', 'Sequence item without - indicator');\n }\n else {\n commentEnd = props.end;\n if (props.comment)\n seq.comment = props.comment;\n continue;\n }\n }\n const node = value\n ? composeNode(ctx, value, props, onError)\n : composeEmptyNode(ctx, props.end, start, null, props, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bs.indent, value, onError);\n offset = node.range[2];\n seq.items.push(node);\n }\n seq.range = [bs.offset, offset, commentEnd ?? offset];\n return seq;\n}\n\nexports.resolveBlockSeq = resolveBlockSeq;\n","'use strict';\n\nfunction resolveEnd(end, offset, reqSpace, onError) {\n let comment = '';\n if (end) {\n let hasSpace = false;\n let sep = '';\n for (const token of end) {\n const { source, type } = token;\n switch (type) {\n case 'space':\n hasSpace = true;\n break;\n case 'comment': {\n if (reqSpace && !hasSpace)\n onError(token, 'MISSING_CHAR', 'Comments must be separated from other tokens by white space characters');\n const cb = source.substring(1) || ' ';\n if (!comment)\n comment = cb;\n else\n comment += sep + cb;\n sep = '';\n break;\n }\n case 'newline':\n if (comment)\n sep += source;\n hasSpace = true;\n break;\n default:\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected ${type} at node end`);\n }\n offset += source.length;\n }\n }\n return { comment, offset };\n}\n\nexports.resolveEnd = resolveEnd;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Pair = require('../nodes/Pair.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar YAMLSeq = require('../nodes/YAMLSeq.js');\nvar resolveEnd = require('./resolve-end.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilContainsNewline = require('./util-contains-newline.js');\nvar utilMapIncludes = require('./util-map-includes.js');\n\nconst blockMsg = 'Block collections are not allowed within flow collections';\nconst isBlock = (token) => token && (token.type === 'block-map' || token.type === 'block-seq');\nfunction resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onError, tag) {\n const isMap = fc.start.source === '{';\n const fcName = isMap ? 'flow map' : 'flow sequence';\n const NodeClass = (tag?.nodeClass ?? (isMap ? YAMLMap.YAMLMap : YAMLSeq.YAMLSeq));\n const coll = new NodeClass(ctx.schema);\n coll.flow = true;\n const atRoot = ctx.atRoot;\n if (atRoot)\n ctx.atRoot = false;\n let offset = fc.offset + fc.start.source.length;\n for (let i = 0; i < fc.items.length; ++i) {\n const collItem = fc.items[i];\n const { start, key, sep, value } = collItem;\n const props = resolveProps.resolveProps(start, {\n flow: fcName,\n indicator: 'explicit-key-ind',\n next: key ?? sep?.[0],\n offset,\n onError,\n startOnNewline: false\n });\n if (!props.found) {\n if (!props.anchor && !props.tag && !sep && !value) {\n if (i === 0 && props.comma)\n onError(props.comma, 'UNEXPECTED_TOKEN', `Unexpected , in ${fcName}`);\n else if (i < fc.items.length - 1)\n onError(props.start, 'UNEXPECTED_TOKEN', `Unexpected empty item in ${fcName}`);\n if (props.comment) {\n if (coll.comment)\n coll.comment += '\\n' + props.comment;\n else\n coll.comment = props.comment;\n }\n offset = props.end;\n continue;\n }\n if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key))\n onError(key, // checked by containsNewline()\n 'MULTILINE_IMPLICIT_KEY', 'Implicit keys of flow sequence pairs need to be on a single line');\n }\n if (i === 0) {\n if (props.comma)\n onError(props.comma, 'UNEXPECTED_TOKEN', `Unexpected , in ${fcName}`);\n }\n else {\n if (!props.comma)\n onError(props.start, 'MISSING_CHAR', `Missing , between ${fcName} items`);\n if (props.comment) {\n let prevItemComment = '';\n loop: for (const st of start) {\n switch (st.type) {\n case 'comma':\n case 'space':\n break;\n case 'comment':\n prevItemComment = st.source.substring(1);\n break loop;\n default:\n break loop;\n }\n }\n if (prevItemComment) {\n let prev = coll.items[coll.items.length - 1];\n if (identity.isPair(prev))\n prev = prev.value ?? prev.key;\n if (prev.comment)\n prev.comment += '\\n' + prevItemComment;\n else\n prev.comment = prevItemComment;\n props.comment = props.comment.substring(prevItemComment.length + 1);\n }\n }\n }\n if (!isMap && !sep && !props.found) {\n // item is a value in a seq\n // → key & sep are empty, start does not include ? or :\n const valueNode = value\n ? composeNode(ctx, value, props, onError)\n : composeEmptyNode(ctx, props.end, sep, null, props, onError);\n coll.items.push(valueNode);\n offset = valueNode.range[2];\n if (isBlock(value))\n onError(valueNode.range, 'BLOCK_IN_FLOW', blockMsg);\n }\n else {\n // item is a key+value pair\n // key value\n const keyStart = props.end;\n const keyNode = key\n ? composeNode(ctx, key, props, onError)\n : composeEmptyNode(ctx, keyStart, start, null, props, onError);\n if (isBlock(key))\n onError(keyNode.range, 'BLOCK_IN_FLOW', blockMsg);\n // value properties\n const valueProps = resolveProps.resolveProps(sep ?? [], {\n flow: fcName,\n indicator: 'map-value-ind',\n next: value,\n offset: keyNode.range[2],\n onError,\n startOnNewline: false\n });\n if (valueProps.found) {\n if (!isMap && !props.found && ctx.options.strict) {\n if (sep)\n for (const st of sep) {\n if (st === valueProps.found)\n break;\n if (st.type === 'newline') {\n onError(st, 'MULTILINE_IMPLICIT_KEY', 'Implicit keys of flow sequence pairs need to be on a single line');\n break;\n }\n }\n if (props.start < valueProps.found.offset - 1024)\n onError(valueProps.found, 'KEY_OVER_1024_CHARS', 'The : indicator must be at most 1024 chars after the start of an implicit flow sequence key');\n }\n }\n else if (value) {\n if ('source' in value && value.source && value.source[0] === ':')\n onError(value, 'MISSING_CHAR', `Missing space after : in ${fcName}`);\n else\n onError(valueProps.start, 'MISSING_CHAR', `Missing , or : between ${fcName} items`);\n }\n // value value\n const valueNode = value\n ? composeNode(ctx, value, valueProps, onError)\n : valueProps.found\n ? composeEmptyNode(ctx, valueProps.end, sep, null, valueProps, onError)\n : null;\n if (valueNode) {\n if (isBlock(value))\n onError(valueNode.range, 'BLOCK_IN_FLOW', blockMsg);\n }\n else if (valueProps.comment) {\n if (keyNode.comment)\n keyNode.comment += '\\n' + valueProps.comment;\n else\n keyNode.comment = valueProps.comment;\n }\n const pair = new Pair.Pair(keyNode, valueNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n if (isMap) {\n const map = coll;\n if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))\n onError(keyStart, 'DUPLICATE_KEY', 'Map keys must be unique');\n map.items.push(pair);\n }\n else {\n const map = new YAMLMap.YAMLMap(ctx.schema);\n map.flow = true;\n map.items.push(pair);\n coll.items.push(map);\n }\n offset = valueNode ? valueNode.range[2] : valueProps.end;\n }\n }\n const expectedEnd = isMap ? '}' : ']';\n const [ce, ...ee] = fc.end;\n let cePos = offset;\n if (ce && ce.source === expectedEnd)\n cePos = ce.offset + ce.source.length;\n else {\n const name = fcName[0].toUpperCase() + fcName.substring(1);\n const msg = atRoot\n ? `${name} must end with a ${expectedEnd}`\n : `${name} in block collection must be sufficiently indented and end with a ${expectedEnd}`;\n onError(offset, atRoot ? 'MISSING_CHAR' : 'BAD_INDENT', msg);\n if (ce && ce.source.length !== 1)\n ee.unshift(ce);\n }\n if (ee.length > 0) {\n const end = resolveEnd.resolveEnd(ee, cePos, ctx.options.strict, onError);\n if (end.comment) {\n if (coll.comment)\n coll.comment += '\\n' + end.comment;\n else\n coll.comment = end.comment;\n }\n coll.range = [fc.offset, cePos, end.offset];\n }\n else {\n coll.range = [fc.offset, cePos, cePos];\n }\n return coll;\n}\n\nexports.resolveFlowCollection = resolveFlowCollection;\n","'use strict';\n\nvar Scalar = require('../nodes/Scalar.js');\nvar resolveEnd = require('./resolve-end.js');\n\nfunction resolveFlowScalar(scalar, strict, onError) {\n const { offset, type, source, end } = scalar;\n let _type;\n let value;\n const _onError = (rel, code, msg) => onError(offset + rel, code, msg);\n switch (type) {\n case 'scalar':\n _type = Scalar.Scalar.PLAIN;\n value = plainValue(source, _onError);\n break;\n case 'single-quoted-scalar':\n _type = Scalar.Scalar.QUOTE_SINGLE;\n value = singleQuotedValue(source, _onError);\n break;\n case 'double-quoted-scalar':\n _type = Scalar.Scalar.QUOTE_DOUBLE;\n value = doubleQuotedValue(source, _onError);\n break;\n /* istanbul ignore next should not happen */\n default:\n onError(scalar, 'UNEXPECTED_TOKEN', `Expected a flow scalar value, but found: ${type}`);\n return {\n value: '',\n type: null,\n comment: '',\n range: [offset, offset + source.length, offset + source.length]\n };\n }\n const valueEnd = offset + source.length;\n const re = resolveEnd.resolveEnd(end, valueEnd, strict, onError);\n return {\n value,\n type: _type,\n comment: re.comment,\n range: [offset, valueEnd, re.offset]\n };\n}\nfunction plainValue(source, onError) {\n let badChar = '';\n switch (source[0]) {\n /* istanbul ignore next should not happen */\n case '\\t':\n badChar = 'a tab character';\n break;\n case ',':\n badChar = 'flow indicator character ,';\n break;\n case '%':\n badChar = 'directive indicator character %';\n break;\n case '|':\n case '>': {\n badChar = `block scalar indicator ${source[0]}`;\n break;\n }\n case '@':\n case '`': {\n badChar = `reserved character ${source[0]}`;\n break;\n }\n }\n if (badChar)\n onError(0, 'BAD_SCALAR_START', `Plain value cannot start with ${badChar}`);\n return foldLines(source);\n}\nfunction singleQuotedValue(source, onError) {\n if (source[source.length - 1] !== \"'\" || source.length === 1)\n onError(source.length, 'MISSING_CHAR', \"Missing closing 'quote\");\n return foldLines(source.slice(1, -1)).replace(/''/g, \"'\");\n}\nfunction foldLines(source) {\n /**\n * The negative lookbehind here and in the `re` RegExp is to\n * prevent causing a polynomial search time in certain cases.\n *\n * The try-catch is for Safari, which doesn't support this yet:\n * https://caniuse.com/js-regexp-lookbehind\n */\n let first, line;\n try {\n first = new RegExp('(.*?)(? wsStart ? source.slice(wsStart, i + 1) : ch;\n }\n else {\n res += ch;\n }\n }\n if (source[source.length - 1] !== '\"' || source.length === 1)\n onError(source.length, 'MISSING_CHAR', 'Missing closing \"quote');\n return res;\n}\n/**\n * Fold a single newline into a space, multiple newlines to N - 1 newlines.\n * Presumes `source[offset] === '\\n'`\n */\nfunction foldNewline(source, offset) {\n let fold = '';\n let ch = source[offset + 1];\n while (ch === ' ' || ch === '\\t' || ch === '\\n' || ch === '\\r') {\n if (ch === '\\r' && source[offset + 2] !== '\\n')\n break;\n if (ch === '\\n')\n fold += '\\n';\n offset += 1;\n ch = source[offset + 1];\n }\n if (!fold)\n fold = ' ';\n return { fold, offset };\n}\nconst escapeCodes = {\n '0': '\\0',\n a: '\\x07',\n b: '\\b',\n e: '\\x1b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n v: '\\v',\n N: '\\u0085',\n _: '\\u00a0',\n L: '\\u2028',\n P: '\\u2029',\n ' ': ' ',\n '\"': '\"',\n '/': '/',\n '\\\\': '\\\\',\n '\\t': '\\t'\n};\nfunction parseCharCode(source, offset, length, onError) {\n const cc = source.substr(offset, length);\n const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);\n const code = ok ? parseInt(cc, 16) : NaN;\n if (isNaN(code)) {\n const raw = source.substr(offset - 2, length + 2);\n onError(offset - 2, 'BAD_DQ_ESCAPE', `Invalid escape sequence ${raw}`);\n return raw;\n }\n return String.fromCodePoint(code);\n}\n\nexports.resolveFlowScalar = resolveFlowScalar;\n","'use strict';\n\nfunction resolveProps(tokens, { flow, indicator, next, offset, onError, startOnNewline }) {\n let spaceBefore = false;\n let atNewline = startOnNewline;\n let hasSpace = startOnNewline;\n let comment = '';\n let commentSep = '';\n let hasNewline = false;\n let hasNewlineAfterProp = false;\n let reqSpace = false;\n let anchor = null;\n let tag = null;\n let comma = null;\n let found = null;\n let start = null;\n for (const token of tokens) {\n if (reqSpace) {\n if (token.type !== 'space' &&\n token.type !== 'newline' &&\n token.type !== 'comma')\n onError(token.offset, 'MISSING_CHAR', 'Tags and anchors must be separated from the next token by white space');\n reqSpace = false;\n }\n switch (token.type) {\n case 'space':\n // At the doc level, tabs at line start may be parsed\n // as leading white space rather than indentation.\n // In a flow collection, only the parser handles indent.\n if (!flow &&\n atNewline &&\n indicator !== 'doc-start' &&\n token.source[0] === '\\t')\n onError(token, 'TAB_AS_INDENT', 'Tabs are not allowed as indentation');\n hasSpace = true;\n break;\n case 'comment': {\n if (!hasSpace)\n onError(token, 'MISSING_CHAR', 'Comments must be separated from other tokens by white space characters');\n const cb = token.source.substring(1) || ' ';\n if (!comment)\n comment = cb;\n else\n comment += commentSep + cb;\n commentSep = '';\n atNewline = false;\n break;\n }\n case 'newline':\n if (atNewline) {\n if (comment)\n comment += token.source;\n else\n spaceBefore = true;\n }\n else\n commentSep += token.source;\n atNewline = true;\n hasNewline = true;\n if (anchor || tag)\n hasNewlineAfterProp = true;\n hasSpace = true;\n break;\n case 'anchor':\n if (anchor)\n onError(token, 'MULTIPLE_ANCHORS', 'A node can have at most one anchor');\n if (token.source.endsWith(':'))\n onError(token.offset + token.source.length - 1, 'BAD_ALIAS', 'Anchor ending in : is ambiguous', true);\n anchor = token;\n if (start === null)\n start = token.offset;\n atNewline = false;\n hasSpace = false;\n reqSpace = true;\n break;\n case 'tag': {\n if (tag)\n onError(token, 'MULTIPLE_TAGS', 'A node can have at most one tag');\n tag = token;\n if (start === null)\n start = token.offset;\n atNewline = false;\n hasSpace = false;\n reqSpace = true;\n break;\n }\n case indicator:\n // Could here handle preceding comments differently\n if (anchor || tag)\n onError(token, 'BAD_PROP_ORDER', `Anchors and tags must be after the ${token.source} indicator`);\n if (found)\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected ${token.source} in ${flow ?? 'collection'}`);\n found = token;\n atNewline = false;\n hasSpace = false;\n break;\n case 'comma':\n if (flow) {\n if (comma)\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected , in ${flow}`);\n comma = token;\n atNewline = false;\n hasSpace = false;\n break;\n }\n // else fallthrough\n default:\n onError(token, 'UNEXPECTED_TOKEN', `Unexpected ${token.type} token`);\n atNewline = false;\n hasSpace = false;\n }\n }\n const last = tokens[tokens.length - 1];\n const end = last ? last.offset + last.source.length : offset;\n if (reqSpace &&\n next &&\n next.type !== 'space' &&\n next.type !== 'newline' &&\n next.type !== 'comma' &&\n (next.type !== 'scalar' || next.source !== ''))\n onError(next.offset, 'MISSING_CHAR', 'Tags and anchors must be separated from the next token by white space');\n return {\n comma,\n found,\n spaceBefore,\n comment,\n hasNewline,\n hasNewlineAfterProp,\n anchor,\n tag,\n end,\n start: start ?? end\n };\n}\n\nexports.resolveProps = resolveProps;\n","'use strict';\n\nfunction containsNewline(key) {\n if (!key)\n return null;\n switch (key.type) {\n case 'alias':\n case 'scalar':\n case 'double-quoted-scalar':\n case 'single-quoted-scalar':\n if (key.source.includes('\\n'))\n return true;\n if (key.end)\n for (const st of key.end)\n if (st.type === 'newline')\n return true;\n return false;\n case 'flow-collection':\n for (const it of key.items) {\n for (const st of it.start)\n if (st.type === 'newline')\n return true;\n if (it.sep)\n for (const st of it.sep)\n if (st.type === 'newline')\n return true;\n if (containsNewline(it.key) || containsNewline(it.value))\n return true;\n }\n return false;\n default:\n return true;\n }\n}\n\nexports.containsNewline = containsNewline;\n","'use strict';\n\nfunction emptyScalarPosition(offset, before, pos) {\n if (before) {\n if (pos === null)\n pos = before.length;\n for (let i = pos - 1; i >= 0; --i) {\n let st = before[i];\n switch (st.type) {\n case 'space':\n case 'comment':\n case 'newline':\n offset -= st.source.length;\n continue;\n }\n // Technically, an empty scalar is immediately after the last non-empty\n // node, but it's more useful to place it after any whitespace.\n st = before[++i];\n while (st?.type === 'space') {\n offset += st.source.length;\n st = before[++i];\n }\n break;\n }\n }\n return offset;\n}\n\nexports.emptyScalarPosition = emptyScalarPosition;\n","'use strict';\n\nvar utilContainsNewline = require('./util-contains-newline.js');\n\nfunction flowIndentCheck(indent, fc, onError) {\n if (fc?.type === 'flow-collection') {\n const end = fc.end[0];\n if (end.indent === indent &&\n (end.source === ']' || end.source === '}') &&\n utilContainsNewline.containsNewline(fc)) {\n const msg = 'Flow end indicator should be more indented than parent';\n onError(end, 'BAD_INDENT', msg, true);\n }\n }\n}\n\nexports.flowIndentCheck = flowIndentCheck;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\n\nfunction mapIncludes(ctx, items, search) {\n const { uniqueKeys } = ctx.options;\n if (uniqueKeys === false)\n return false;\n const isEqual = typeof uniqueKeys === 'function'\n ? uniqueKeys\n : (a, b) => a === b ||\n (identity.isScalar(a) &&\n identity.isScalar(b) &&\n a.value === b.value &&\n !(a.value === '<<' && ctx.schema.merge));\n return items.some(pair => isEqual(pair.key, search));\n}\n\nexports.mapIncludes = mapIncludes;\n","'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar Collection = require('../nodes/Collection.js');\nvar identity = require('../nodes/identity.js');\nvar Pair = require('../nodes/Pair.js');\nvar toJS = require('../nodes/toJS.js');\nvar Schema = require('../schema/Schema.js');\nvar stringifyDocument = require('../stringify/stringifyDocument.js');\nvar anchors = require('./anchors.js');\nvar applyReviver = require('./applyReviver.js');\nvar createNode = require('./createNode.js');\nvar directives = require('./directives.js');\n\nclass Document {\n constructor(value, replacer, options) {\n /** A comment before this Document */\n this.commentBefore = null;\n /** A comment immediately after this Document */\n this.comment = null;\n /** Errors encountered during parsing. */\n this.errors = [];\n /** Warnings encountered during parsing. */\n this.warnings = [];\n Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });\n let _replacer = null;\n if (typeof replacer === 'function' || Array.isArray(replacer)) {\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n replacer = undefined;\n }\n const opt = Object.assign({\n intAsBigInt: false,\n keepSourceTokens: false,\n logLevel: 'warn',\n prettyErrors: true,\n strict: true,\n uniqueKeys: true,\n version: '1.2'\n }, options);\n this.options = opt;\n let { version } = opt;\n if (options?._directives) {\n this.directives = options._directives.atDocument();\n if (this.directives.yaml.explicit)\n version = this.directives.yaml.version;\n }\n else\n this.directives = new directives.Directives({ version });\n this.setSchema(version, options);\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents =\n value === undefined ? null : this.createNode(value, _replacer, options);\n }\n /**\n * Create a deep copy of this Document and its contents.\n *\n * Custom Node values that inherit from `Object` still refer to their original instances.\n */\n clone() {\n const copy = Object.create(Document.prototype, {\n [identity.NODE_TYPE]: { value: identity.DOC }\n });\n copy.commentBefore = this.commentBefore;\n copy.comment = this.comment;\n copy.errors = this.errors.slice();\n copy.warnings = this.warnings.slice();\n copy.options = Object.assign({}, this.options);\n if (this.directives)\n copy.directives = this.directives.clone();\n copy.schema = this.schema.clone();\n // @ts-expect-error We can't really know that this matches Contents.\n copy.contents = identity.isNode(this.contents)\n ? this.contents.clone(copy.schema)\n : this.contents;\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /** Adds a value to the document. */\n add(value) {\n if (assertCollection(this.contents))\n this.contents.add(value);\n }\n /** Adds a value to the document. */\n addIn(path, value) {\n if (assertCollection(this.contents))\n this.contents.addIn(path, value);\n }\n /**\n * Create a new `Alias` node, ensuring that the target `node` has the required anchor.\n *\n * If `node` already has an anchor, `name` is ignored.\n * Otherwise, the `node.anchor` value will be set to `name`,\n * or if an anchor with that name is already present in the document,\n * `name` will be used as a prefix for a new unique anchor.\n * If `name` is undefined, the generated anchor will use 'a' as a prefix.\n */\n createAlias(node, name) {\n if (!node.anchor) {\n const prev = anchors.anchorNames(this);\n node.anchor =\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n !name || prev.has(name) ? anchors.findNewAnchor(name || 'a', prev) : name;\n }\n return new Alias.Alias(node.anchor);\n }\n createNode(value, replacer, options) {\n let _replacer = undefined;\n if (typeof replacer === 'function') {\n value = replacer.call({ '': value }, '', value);\n _replacer = replacer;\n }\n else if (Array.isArray(replacer)) {\n const keyToStr = (v) => typeof v === 'number' || v instanceof String || v instanceof Number;\n const asStr = replacer.filter(keyToStr).map(String);\n if (asStr.length > 0)\n replacer = replacer.concat(asStr);\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n replacer = undefined;\n }\n const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag } = options ?? {};\n const { onAnchor, setAnchors, sourceObjects } = anchors.createNodeAnchors(this, \n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n anchorPrefix || 'a');\n const ctx = {\n aliasDuplicateObjects: aliasDuplicateObjects ?? true,\n keepUndefined: keepUndefined ?? false,\n onAnchor,\n onTagObj,\n replacer: _replacer,\n schema: this.schema,\n sourceObjects\n };\n const node = createNode.createNode(value, tag, ctx);\n if (flow && identity.isCollection(node))\n node.flow = true;\n setAnchors();\n return node;\n }\n /**\n * Convert a key and a value into a `Pair` using the current schema,\n * recursively wrapping all values as `Scalar` or `Collection` nodes.\n */\n createPair(key, value, options = {}) {\n const k = this.createNode(key, null, options);\n const v = this.createNode(value, null, options);\n return new Pair.Pair(k, v);\n }\n /**\n * Removes a value from the document.\n * @returns `true` if the item was found and removed.\n */\n delete(key) {\n return assertCollection(this.contents) ? this.contents.delete(key) : false;\n }\n /**\n * Removes a value from the document.\n * @returns `true` if the item was found and removed.\n */\n deleteIn(path) {\n if (Collection.isEmptyPath(path)) {\n if (this.contents == null)\n return false;\n // @ts-expect-error Presumed impossible if Strict extends false\n this.contents = null;\n return true;\n }\n return assertCollection(this.contents)\n ? this.contents.deleteIn(path)\n : false;\n }\n /**\n * Returns item at `key`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n get(key, keepScalar) {\n return identity.isCollection(this.contents)\n ? this.contents.get(key, keepScalar)\n : undefined;\n }\n /**\n * Returns item at `path`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n getIn(path, keepScalar) {\n if (Collection.isEmptyPath(path))\n return !keepScalar && identity.isScalar(this.contents)\n ? this.contents.value\n : this.contents;\n return identity.isCollection(this.contents)\n ? this.contents.getIn(path, keepScalar)\n : undefined;\n }\n /**\n * Checks if the document includes a value with the key `key`.\n */\n has(key) {\n return identity.isCollection(this.contents) ? this.contents.has(key) : false;\n }\n /**\n * Checks if the document includes a value at `path`.\n */\n hasIn(path) {\n if (Collection.isEmptyPath(path))\n return this.contents !== undefined;\n return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;\n }\n /**\n * Sets a value in this document. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n set(key, value) {\n if (this.contents == null) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = Collection.collectionFromPath(this.schema, [key], value);\n }\n else if (assertCollection(this.contents)) {\n this.contents.set(key, value);\n }\n }\n /**\n * Sets a value in this document. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n setIn(path, value) {\n if (Collection.isEmptyPath(path)) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = value;\n }\n else if (this.contents == null) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = Collection.collectionFromPath(this.schema, Array.from(path), value);\n }\n else if (assertCollection(this.contents)) {\n this.contents.setIn(path, value);\n }\n }\n /**\n * Change the YAML version and schema used by the document.\n * A `null` version disables support for directives, explicit tags, anchors, and aliases.\n * It also requires the `schema` option to be given as a `Schema` instance value.\n *\n * Overrides all previously set schema options.\n */\n setSchema(version, options = {}) {\n if (typeof version === 'number')\n version = String(version);\n let opt;\n switch (version) {\n case '1.1':\n if (this.directives)\n this.directives.yaml.version = '1.1';\n else\n this.directives = new directives.Directives({ version: '1.1' });\n opt = { merge: true, resolveKnownTags: false, schema: 'yaml-1.1' };\n break;\n case '1.2':\n case 'next':\n if (this.directives)\n this.directives.yaml.version = version;\n else\n this.directives = new directives.Directives({ version });\n opt = { merge: false, resolveKnownTags: true, schema: 'core' };\n break;\n case null:\n if (this.directives)\n delete this.directives;\n opt = null;\n break;\n default: {\n const sv = JSON.stringify(version);\n throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv}`);\n }\n }\n // Not using `instanceof Schema` to allow for duck typing\n if (options.schema instanceof Object)\n this.schema = options.schema;\n else if (opt)\n this.schema = new Schema.Schema(Object.assign(opt, options));\n else\n throw new Error(`With a null YAML version, the { schema: Schema } option is required`);\n }\n // json & jsonArg are only used from toJSON()\n toJS({ json, jsonArg, mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {\n const ctx = {\n anchors: new Map(),\n doc: this,\n keep: !json,\n mapAsMap: mapAsMap === true,\n mapKeyWarned: false,\n maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100\n };\n const res = toJS.toJS(this.contents, jsonArg ?? '', ctx);\n if (typeof onAnchor === 'function')\n for (const { count, res } of ctx.anchors.values())\n onAnchor(res, count);\n return typeof reviver === 'function'\n ? applyReviver.applyReviver(reviver, { '': res }, '', res)\n : res;\n }\n /**\n * A JSON representation of the document `contents`.\n *\n * @param jsonArg Used by `JSON.stringify` to indicate the array index or\n * property name.\n */\n toJSON(jsonArg, onAnchor) {\n return this.toJS({ json: true, jsonArg, mapAsMap: false, onAnchor });\n }\n /** A YAML representation of the document. */\n toString(options = {}) {\n if (this.errors.length > 0)\n throw new Error('Document with errors cannot be stringified');\n if ('indent' in options &&\n (!Number.isInteger(options.indent) || Number(options.indent) <= 0)) {\n const s = JSON.stringify(options.indent);\n throw new Error(`\"indent\" option must be a positive integer, not ${s}`);\n }\n return stringifyDocument.stringifyDocument(this, options);\n }\n}\nfunction assertCollection(contents) {\n if (identity.isCollection(contents))\n return true;\n throw new Error('Expected a YAML collection as document contents');\n}\n\nexports.Document = Document;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar visit = require('../visit.js');\n\n/**\n * Verify that the input string is a valid anchor.\n *\n * Will throw on errors.\n */\nfunction anchorIsValid(anchor) {\n if (/[\\x00-\\x19\\s,[\\]{}]/.test(anchor)) {\n const sa = JSON.stringify(anchor);\n const msg = `Anchor must not contain whitespace or control characters: ${sa}`;\n throw new Error(msg);\n }\n return true;\n}\nfunction anchorNames(root) {\n const anchors = new Set();\n visit.visit(root, {\n Value(_key, node) {\n if (node.anchor)\n anchors.add(node.anchor);\n }\n });\n return anchors;\n}\n/** Find a new anchor name with the given `prefix` and a one-indexed suffix. */\nfunction findNewAnchor(prefix, exclude) {\n for (let i = 1; true; ++i) {\n const name = `${prefix}${i}`;\n if (!exclude.has(name))\n return name;\n }\n}\nfunction createNodeAnchors(doc, prefix) {\n const aliasObjects = [];\n const sourceObjects = new Map();\n let prevAnchors = null;\n return {\n onAnchor: (source) => {\n aliasObjects.push(source);\n if (!prevAnchors)\n prevAnchors = anchorNames(doc);\n const anchor = findNewAnchor(prefix, prevAnchors);\n prevAnchors.add(anchor);\n return anchor;\n },\n /**\n * With circular references, the source node is only resolved after all\n * of its child nodes are. This is why anchors are set only after all of\n * the nodes have been created.\n */\n setAnchors: () => {\n for (const source of aliasObjects) {\n const ref = sourceObjects.get(source);\n if (typeof ref === 'object' &&\n ref.anchor &&\n (identity.isScalar(ref.node) || identity.isCollection(ref.node))) {\n ref.node.anchor = ref.anchor;\n }\n else {\n const error = new Error('Failed to resolve repeated object (this should not happen)');\n error.source = source;\n throw error;\n }\n }\n },\n sourceObjects\n };\n}\n\nexports.anchorIsValid = anchorIsValid;\nexports.anchorNames = anchorNames;\nexports.createNodeAnchors = createNodeAnchors;\nexports.findNewAnchor = findNewAnchor;\n","'use strict';\n\n/**\n * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,\n * in section 24.5.1.1 \"Runtime Semantics: InternalizeJSONProperty\" of the\n * 2021 edition: https://tc39.es/ecma262/#sec-json.parse\n *\n * Includes extensions for handling Map and Set objects.\n */\nfunction applyReviver(reviver, obj, key, val) {\n if (val && typeof val === 'object') {\n if (Array.isArray(val)) {\n for (let i = 0, len = val.length; i < len; ++i) {\n const v0 = val[i];\n const v1 = applyReviver(reviver, val, String(i), v0);\n if (v1 === undefined)\n delete val[i];\n else if (v1 !== v0)\n val[i] = v1;\n }\n }\n else if (val instanceof Map) {\n for (const k of Array.from(val.keys())) {\n const v0 = val.get(k);\n const v1 = applyReviver(reviver, val, k, v0);\n if (v1 === undefined)\n val.delete(k);\n else if (v1 !== v0)\n val.set(k, v1);\n }\n }\n else if (val instanceof Set) {\n for (const v0 of Array.from(val)) {\n const v1 = applyReviver(reviver, val, v0, v0);\n if (v1 === undefined)\n val.delete(v0);\n else if (v1 !== v0) {\n val.delete(v0);\n val.add(v1);\n }\n }\n }\n else {\n for (const [k, v0] of Object.entries(val)) {\n const v1 = applyReviver(reviver, val, k, v0);\n if (v1 === undefined)\n delete val[k];\n else if (v1 !== v0)\n val[k] = v1;\n }\n }\n }\n return reviver.call(obj, key, val);\n}\n\nexports.applyReviver = applyReviver;\n","'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\n\nconst defaultTagPrefix = 'tag:yaml.org,2002:';\nfunction findTagObject(value, tagName, tags) {\n if (tagName) {\n const match = tags.filter(t => t.tag === tagName);\n const tagObj = match.find(t => !t.format) ?? match[0];\n if (!tagObj)\n throw new Error(`Tag ${tagName} not found`);\n return tagObj;\n }\n return tags.find(t => t.identify?.(value) && !t.format);\n}\nfunction createNode(value, tagName, ctx) {\n if (identity.isDocument(value))\n value = value.contents;\n if (identity.isNode(value))\n return value;\n if (identity.isPair(value)) {\n const map = ctx.schema[identity.MAP].createNode?.(ctx.schema, null, ctx);\n map.items.push(value);\n return map;\n }\n if (value instanceof String ||\n value instanceof Number ||\n value instanceof Boolean ||\n (typeof BigInt !== 'undefined' && value instanceof BigInt) // not supported everywhere\n ) {\n // https://tc39.es/ecma262/#sec-serializejsonproperty\n value = value.valueOf();\n }\n const { aliasDuplicateObjects, onAnchor, onTagObj, schema, sourceObjects } = ctx;\n // Detect duplicate references to the same object & use Alias nodes for all\n // after first. The `ref` wrapper allows for circular references to resolve.\n let ref = undefined;\n if (aliasDuplicateObjects && value && typeof value === 'object') {\n ref = sourceObjects.get(value);\n if (ref) {\n if (!ref.anchor)\n ref.anchor = onAnchor(value);\n return new Alias.Alias(ref.anchor);\n }\n else {\n ref = { anchor: null, node: null };\n sourceObjects.set(value, ref);\n }\n }\n if (tagName?.startsWith('!!'))\n tagName = defaultTagPrefix + tagName.slice(2);\n let tagObj = findTagObject(value, tagName, schema.tags);\n if (!tagObj) {\n if (value && typeof value.toJSON === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n value = value.toJSON();\n }\n if (!value || typeof value !== 'object') {\n const node = new Scalar.Scalar(value);\n if (ref)\n ref.node = node;\n return node;\n }\n tagObj =\n value instanceof Map\n ? schema[identity.MAP]\n : Symbol.iterator in Object(value)\n ? schema[identity.SEQ]\n : schema[identity.MAP];\n }\n if (onTagObj) {\n onTagObj(tagObj);\n delete ctx.onTagObj;\n }\n const node = tagObj?.createNode\n ? tagObj.createNode(ctx.schema, value, ctx)\n : typeof tagObj?.nodeClass?.from === 'function'\n ? tagObj.nodeClass.from(ctx.schema, value, ctx)\n : new Scalar.Scalar(value);\n if (tagName)\n node.tag = tagName;\n else if (!tagObj.default)\n node.tag = tagObj.tag;\n if (ref)\n ref.node = node;\n return node;\n}\n\nexports.createNode = createNode;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar visit = require('../visit.js');\n\nconst escapeChars = {\n '!': '%21',\n ',': '%2C',\n '[': '%5B',\n ']': '%5D',\n '{': '%7B',\n '}': '%7D'\n};\nconst escapeTagName = (tn) => tn.replace(/[!,[\\]{}]/g, ch => escapeChars[ch]);\nclass Directives {\n constructor(yaml, tags) {\n /**\n * The directives-end/doc-start marker `---`. If `null`, a marker may still be\n * included in the document's stringified representation.\n */\n this.docStart = null;\n /** The doc-end marker `...`. */\n this.docEnd = false;\n this.yaml = Object.assign({}, Directives.defaultYaml, yaml);\n this.tags = Object.assign({}, Directives.defaultTags, tags);\n }\n clone() {\n const copy = new Directives(this.yaml, this.tags);\n copy.docStart = this.docStart;\n return copy;\n }\n /**\n * During parsing, get a Directives instance for the current document and\n * update the stream state according to the current version's spec.\n */\n atDocument() {\n const res = new Directives(this.yaml, this.tags);\n switch (this.yaml.version) {\n case '1.1':\n this.atNextDocument = true;\n break;\n case '1.2':\n this.atNextDocument = false;\n this.yaml = {\n explicit: Directives.defaultYaml.explicit,\n version: '1.2'\n };\n this.tags = Object.assign({}, Directives.defaultTags);\n break;\n }\n return res;\n }\n /**\n * @param onError - May be called even if the action was successful\n * @returns `true` on success\n */\n add(line, onError) {\n if (this.atNextDocument) {\n this.yaml = { explicit: Directives.defaultYaml.explicit, version: '1.1' };\n this.tags = Object.assign({}, Directives.defaultTags);\n this.atNextDocument = false;\n }\n const parts = line.trim().split(/[ \\t]+/);\n const name = parts.shift();\n switch (name) {\n case '%TAG': {\n if (parts.length !== 2) {\n onError(0, '%TAG directive should contain exactly two parts');\n if (parts.length < 2)\n return false;\n }\n const [handle, prefix] = parts;\n this.tags[handle] = prefix;\n return true;\n }\n case '%YAML': {\n this.yaml.explicit = true;\n if (parts.length !== 1) {\n onError(0, '%YAML directive should contain exactly one part');\n return false;\n }\n const [version] = parts;\n if (version === '1.1' || version === '1.2') {\n this.yaml.version = version;\n return true;\n }\n else {\n const isValid = /^\\d+\\.\\d+$/.test(version);\n onError(6, `Unsupported YAML version ${version}`, isValid);\n return false;\n }\n }\n default:\n onError(0, `Unknown directive ${name}`, true);\n return false;\n }\n }\n /**\n * Resolves a tag, matching handles to those defined in %TAG directives.\n *\n * @returns Resolved tag, which may also be the non-specific tag `'!'` or a\n * `'!local'` tag, or `null` if unresolvable.\n */\n tagName(source, onError) {\n if (source === '!')\n return '!'; // non-specific tag\n if (source[0] !== '!') {\n onError(`Not a valid tag: ${source}`);\n return null;\n }\n if (source[1] === '<') {\n const verbatim = source.slice(2, -1);\n if (verbatim === '!' || verbatim === '!!') {\n onError(`Verbatim tags aren't resolved, so ${source} is invalid.`);\n return null;\n }\n if (source[source.length - 1] !== '>')\n onError('Verbatim tags must end with a >');\n return verbatim;\n }\n const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s);\n if (!suffix)\n onError(`The ${source} tag has no suffix`);\n const prefix = this.tags[handle];\n if (prefix) {\n try {\n return prefix + decodeURIComponent(suffix);\n }\n catch (error) {\n onError(String(error));\n return null;\n }\n }\n if (handle === '!')\n return source; // local tag\n onError(`Could not resolve tag: ${source}`);\n return null;\n }\n /**\n * Given a fully resolved tag, returns its printable string form,\n * taking into account current tag prefixes and defaults.\n */\n tagString(tag) {\n for (const [handle, prefix] of Object.entries(this.tags)) {\n if (tag.startsWith(prefix))\n return handle + escapeTagName(tag.substring(prefix.length));\n }\n return tag[0] === '!' ? tag : `!<${tag}>`;\n }\n toString(doc) {\n const lines = this.yaml.explicit\n ? [`%YAML ${this.yaml.version || '1.2'}`]\n : [];\n const tagEntries = Object.entries(this.tags);\n let tagNames;\n if (doc && tagEntries.length > 0 && identity.isNode(doc.contents)) {\n const tags = {};\n visit.visit(doc.contents, (_key, node) => {\n if (identity.isNode(node) && node.tag)\n tags[node.tag] = true;\n });\n tagNames = Object.keys(tags);\n }\n else\n tagNames = [];\n for (const [handle, prefix] of tagEntries) {\n if (handle === '!!' && prefix === 'tag:yaml.org,2002:')\n continue;\n if (!doc || tagNames.some(tn => tn.startsWith(prefix)))\n lines.push(`%TAG ${handle} ${prefix}`);\n }\n return lines.join('\\n');\n }\n}\nDirectives.defaultYaml = { explicit: false, version: '1.2' };\nDirectives.defaultTags = { '!!': 'tag:yaml.org,2002:' };\n\nexports.Directives = Directives;\n","'use strict';\n\nclass YAMLError extends Error {\n constructor(name, pos, code, message) {\n super();\n this.name = name;\n this.code = code;\n this.message = message;\n this.pos = pos;\n }\n}\nclass YAMLParseError extends YAMLError {\n constructor(pos, code, message) {\n super('YAMLParseError', pos, code, message);\n }\n}\nclass YAMLWarning extends YAMLError {\n constructor(pos, code, message) {\n super('YAMLWarning', pos, code, message);\n }\n}\nconst prettifyError = (src, lc) => (error) => {\n if (error.pos[0] === -1)\n return;\n error.linePos = error.pos.map(pos => lc.linePos(pos));\n const { line, col } = error.linePos[0];\n error.message += ` at line ${line}, column ${col}`;\n let ci = col - 1;\n let lineStr = src\n .substring(lc.lineStarts[line - 1], lc.lineStarts[line])\n .replace(/[\\n\\r]+$/, '');\n // Trim to max 80 chars, keeping col position near the middle\n if (ci >= 60 && lineStr.length > 80) {\n const trimStart = Math.min(ci - 39, lineStr.length - 79);\n lineStr = '…' + lineStr.substring(trimStart);\n ci -= trimStart - 1;\n }\n if (lineStr.length > 80)\n lineStr = lineStr.substring(0, 79) + '…';\n // Include previous line in context if pointing at line start\n if (line > 1 && /^ *$/.test(lineStr.substring(0, ci))) {\n // Regexp won't match if start is trimmed\n let prev = src.substring(lc.lineStarts[line - 2], lc.lineStarts[line - 1]);\n if (prev.length > 80)\n prev = prev.substring(0, 79) + '…\\n';\n lineStr = prev + lineStr;\n }\n if (/[^ ]/.test(lineStr)) {\n let count = 1;\n const end = error.linePos[1];\n if (end && end.line === line && end.col > col) {\n count = Math.max(1, Math.min(end.col - col, 80 - ci));\n }\n const pointer = ' '.repeat(ci) + '^'.repeat(count);\n error.message += `:\\n\\n${lineStr}\\n${pointer}\\n`;\n }\n};\n\nexports.YAMLError = YAMLError;\nexports.YAMLParseError = YAMLParseError;\nexports.YAMLWarning = YAMLWarning;\nexports.prettifyError = prettifyError;\n","'use strict';\n\nvar composer = require('./compose/composer.js');\nvar Document = require('./doc/Document.js');\nvar Schema = require('./schema/Schema.js');\nvar errors = require('./errors.js');\nvar Alias = require('./nodes/Alias.js');\nvar identity = require('./nodes/identity.js');\nvar Pair = require('./nodes/Pair.js');\nvar Scalar = require('./nodes/Scalar.js');\nvar YAMLMap = require('./nodes/YAMLMap.js');\nvar YAMLSeq = require('./nodes/YAMLSeq.js');\nvar cst = require('./parse/cst.js');\nvar lexer = require('./parse/lexer.js');\nvar lineCounter = require('./parse/line-counter.js');\nvar parser = require('./parse/parser.js');\nvar publicApi = require('./public-api.js');\nvar visit = require('./visit.js');\n\n\n\nexports.Composer = composer.Composer;\nexports.Document = Document.Document;\nexports.Schema = Schema.Schema;\nexports.YAMLError = errors.YAMLError;\nexports.YAMLParseError = errors.YAMLParseError;\nexports.YAMLWarning = errors.YAMLWarning;\nexports.Alias = Alias.Alias;\nexports.isAlias = identity.isAlias;\nexports.isCollection = identity.isCollection;\nexports.isDocument = identity.isDocument;\nexports.isMap = identity.isMap;\nexports.isNode = identity.isNode;\nexports.isPair = identity.isPair;\nexports.isScalar = identity.isScalar;\nexports.isSeq = identity.isSeq;\nexports.Pair = Pair.Pair;\nexports.Scalar = Scalar.Scalar;\nexports.YAMLMap = YAMLMap.YAMLMap;\nexports.YAMLSeq = YAMLSeq.YAMLSeq;\nexports.CST = cst;\nexports.Lexer = lexer.Lexer;\nexports.LineCounter = lineCounter.LineCounter;\nexports.Parser = parser.Parser;\nexports.parse = publicApi.parse;\nexports.parseAllDocuments = publicApi.parseAllDocuments;\nexports.parseDocument = publicApi.parseDocument;\nexports.stringify = publicApi.stringify;\nexports.visit = visit.visit;\nexports.visitAsync = visit.visitAsync;\n","'use strict';\n\nfunction debug(logLevel, ...messages) {\n if (logLevel === 'debug')\n console.log(...messages);\n}\nfunction warn(logLevel, warning) {\n if (logLevel === 'debug' || logLevel === 'warn') {\n // https://github.com/typescript-eslint/typescript-eslint/issues/7478\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (typeof process !== 'undefined' && process.emitWarning)\n process.emitWarning(warning);\n else\n console.warn(warning);\n }\n}\n\nexports.debug = debug;\nexports.warn = warn;\n","'use strict';\n\nvar anchors = require('../doc/anchors.js');\nvar visit = require('../visit.js');\nvar identity = require('./identity.js');\nvar Node = require('./Node.js');\nvar toJS = require('./toJS.js');\n\nclass Alias extends Node.NodeBase {\n constructor(source) {\n super(identity.ALIAS);\n this.source = source;\n Object.defineProperty(this, 'tag', {\n set() {\n throw new Error('Alias nodes cannot have tags');\n }\n });\n }\n /**\n * Resolve the value of this alias within `doc`, finding the last\n * instance of the `source` anchor before this node.\n */\n resolve(doc) {\n let found = undefined;\n visit.visit(doc, {\n Node: (_key, node) => {\n if (node === this)\n return visit.visit.BREAK;\n if (node.anchor === this.source)\n found = node;\n }\n });\n return found;\n }\n toJSON(_arg, ctx) {\n if (!ctx)\n return { source: this.source };\n const { anchors, doc, maxAliasCount } = ctx;\n const source = this.resolve(doc);\n if (!source) {\n const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;\n throw new ReferenceError(msg);\n }\n let data = anchors.get(source);\n if (!data) {\n // Resolve anchors for Node.prototype.toJS()\n toJS.toJS(source, null, ctx);\n data = anchors.get(source);\n }\n /* istanbul ignore if */\n if (!data || data.res === undefined) {\n const msg = 'This should not happen: Alias anchor was not resolved?';\n throw new ReferenceError(msg);\n }\n if (maxAliasCount >= 0) {\n data.count += 1;\n if (data.aliasCount === 0)\n data.aliasCount = getAliasCount(doc, source, anchors);\n if (data.count * data.aliasCount > maxAliasCount) {\n const msg = 'Excessive alias count indicates a resource exhaustion attack';\n throw new ReferenceError(msg);\n }\n }\n return data.res;\n }\n toString(ctx, _onComment, _onChompKeep) {\n const src = `*${this.source}`;\n if (ctx) {\n anchors.anchorIsValid(this.source);\n if (ctx.options.verifyAliasOrder && !ctx.anchors.has(this.source)) {\n const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;\n throw new Error(msg);\n }\n if (ctx.implicitKey)\n return `${src} `;\n }\n return src;\n }\n}\nfunction getAliasCount(doc, node, anchors) {\n if (identity.isAlias(node)) {\n const source = node.resolve(doc);\n const anchor = anchors && source && anchors.get(source);\n return anchor ? anchor.count * anchor.aliasCount : 0;\n }\n else if (identity.isCollection(node)) {\n let count = 0;\n for (const item of node.items) {\n const c = getAliasCount(doc, item, anchors);\n if (c > count)\n count = c;\n }\n return count;\n }\n else if (identity.isPair(node)) {\n const kc = getAliasCount(doc, node.key, anchors);\n const vc = getAliasCount(doc, node.value, anchors);\n return Math.max(kc, vc);\n }\n return 1;\n}\n\nexports.Alias = Alias;\n","'use strict';\n\nvar createNode = require('../doc/createNode.js');\nvar identity = require('./identity.js');\nvar Node = require('./Node.js');\n\nfunction collectionFromPath(schema, path, value) {\n let v = value;\n for (let i = path.length - 1; i >= 0; --i) {\n const k = path[i];\n if (typeof k === 'number' && Number.isInteger(k) && k >= 0) {\n const a = [];\n a[k] = v;\n v = a;\n }\n else {\n v = new Map([[k, v]]);\n }\n }\n return createNode.createNode(v, undefined, {\n aliasDuplicateObjects: false,\n keepUndefined: false,\n onAnchor: () => {\n throw new Error('This should not happen, please report a bug.');\n },\n schema,\n sourceObjects: new Map()\n });\n}\n// Type guard is intentionally a little wrong so as to be more useful,\n// as it does not cover untypable empty non-string iterables (e.g. []).\nconst isEmptyPath = (path) => path == null ||\n (typeof path === 'object' && !!path[Symbol.iterator]().next().done);\nclass Collection extends Node.NodeBase {\n constructor(type, schema) {\n super(type);\n Object.defineProperty(this, 'schema', {\n value: schema,\n configurable: true,\n enumerable: false,\n writable: true\n });\n }\n /**\n * Create a copy of this collection.\n *\n * @param schema - If defined, overwrites the original's schema\n */\n clone(schema) {\n const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));\n if (schema)\n copy.schema = schema;\n copy.items = copy.items.map(it => identity.isNode(it) || identity.isPair(it) ? it.clone(schema) : it);\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /**\n * Adds a value to the collection. For `!!map` and `!!omap` the value must\n * be a Pair instance or a `{ key, value }` object, which may not have a key\n * that already exists in the map.\n */\n addIn(path, value) {\n if (isEmptyPath(path))\n this.add(value);\n else {\n const [key, ...rest] = path;\n const node = this.get(key, true);\n if (identity.isCollection(node))\n node.addIn(rest, value);\n else if (node === undefined && this.schema)\n this.set(key, collectionFromPath(this.schema, rest, value));\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n }\n /**\n * Removes a value from the collection.\n * @returns `true` if the item was found and removed.\n */\n deleteIn(path) {\n const [key, ...rest] = path;\n if (rest.length === 0)\n return this.delete(key);\n const node = this.get(key, true);\n if (identity.isCollection(node))\n return node.deleteIn(rest);\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n /**\n * Returns item at `key`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n getIn(path, keepScalar) {\n const [key, ...rest] = path;\n const node = this.get(key, true);\n if (rest.length === 0)\n return !keepScalar && identity.isScalar(node) ? node.value : node;\n else\n return identity.isCollection(node) ? node.getIn(rest, keepScalar) : undefined;\n }\n hasAllNullValues(allowScalar) {\n return this.items.every(node => {\n if (!identity.isPair(node))\n return false;\n const n = node.value;\n return (n == null ||\n (allowScalar &&\n identity.isScalar(n) &&\n n.value == null &&\n !n.commentBefore &&\n !n.comment &&\n !n.tag));\n });\n }\n /**\n * Checks if the collection includes a value with the key `key`.\n */\n hasIn(path) {\n const [key, ...rest] = path;\n if (rest.length === 0)\n return this.has(key);\n const node = this.get(key, true);\n return identity.isCollection(node) ? node.hasIn(rest) : false;\n }\n /**\n * Sets a value in this collection. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n setIn(path, value) {\n const [key, ...rest] = path;\n if (rest.length === 0) {\n this.set(key, value);\n }\n else {\n const node = this.get(key, true);\n if (identity.isCollection(node))\n node.setIn(rest, value);\n else if (node === undefined && this.schema)\n this.set(key, collectionFromPath(this.schema, rest, value));\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n }\n}\nCollection.maxFlowStringSingleLineLength = 60;\n\nexports.Collection = Collection;\nexports.collectionFromPath = collectionFromPath;\nexports.isEmptyPath = isEmptyPath;\n","'use strict';\n\nvar applyReviver = require('../doc/applyReviver.js');\nvar identity = require('./identity.js');\nvar toJS = require('./toJS.js');\n\nclass NodeBase {\n constructor(type) {\n Object.defineProperty(this, identity.NODE_TYPE, { value: type });\n }\n /** Create a copy of this node. */\n clone() {\n const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /** A plain JavaScript representation of this node. */\n toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {\n if (!identity.isDocument(doc))\n throw new TypeError('A document argument is required');\n const ctx = {\n anchors: new Map(),\n doc,\n keep: true,\n mapAsMap: mapAsMap === true,\n mapKeyWarned: false,\n maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100\n };\n const res = toJS.toJS(this, '', ctx);\n if (typeof onAnchor === 'function')\n for (const { count, res } of ctx.anchors.values())\n onAnchor(res, count);\n return typeof reviver === 'function'\n ? applyReviver.applyReviver(reviver, { '': res }, '', res)\n : res;\n }\n}\n\nexports.NodeBase = NodeBase;\n","'use strict';\n\nvar createNode = require('../doc/createNode.js');\nvar stringifyPair = require('../stringify/stringifyPair.js');\nvar addPairToJSMap = require('./addPairToJSMap.js');\nvar identity = require('./identity.js');\n\nfunction createPair(key, value, ctx) {\n const k = createNode.createNode(key, undefined, ctx);\n const v = createNode.createNode(value, undefined, ctx);\n return new Pair(k, v);\n}\nclass Pair {\n constructor(key, value = null) {\n Object.defineProperty(this, identity.NODE_TYPE, { value: identity.PAIR });\n this.key = key;\n this.value = value;\n }\n clone(schema) {\n let { key, value } = this;\n if (identity.isNode(key))\n key = key.clone(schema);\n if (identity.isNode(value))\n value = value.clone(schema);\n return new Pair(key, value);\n }\n toJSON(_, ctx) {\n const pair = ctx?.mapAsMap ? new Map() : {};\n return addPairToJSMap.addPairToJSMap(ctx, pair, this);\n }\n toString(ctx, onComment, onChompKeep) {\n return ctx?.doc\n ? stringifyPair.stringifyPair(this, ctx, onComment, onChompKeep)\n : JSON.stringify(this);\n }\n}\n\nexports.Pair = Pair;\nexports.createPair = createPair;\n","'use strict';\n\nvar identity = require('./identity.js');\nvar Node = require('./Node.js');\nvar toJS = require('./toJS.js');\n\nconst isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object');\nclass Scalar extends Node.NodeBase {\n constructor(value) {\n super(identity.SCALAR);\n this.value = value;\n }\n toJSON(arg, ctx) {\n return ctx?.keep ? this.value : toJS.toJS(this.value, arg, ctx);\n }\n toString() {\n return String(this.value);\n }\n}\nScalar.BLOCK_FOLDED = 'BLOCK_FOLDED';\nScalar.BLOCK_LITERAL = 'BLOCK_LITERAL';\nScalar.PLAIN = 'PLAIN';\nScalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE';\nScalar.QUOTE_SINGLE = 'QUOTE_SINGLE';\n\nexports.Scalar = Scalar;\nexports.isScalarValue = isScalarValue;\n","'use strict';\n\nvar stringifyCollection = require('../stringify/stringifyCollection.js');\nvar addPairToJSMap = require('./addPairToJSMap.js');\nvar Collection = require('./Collection.js');\nvar identity = require('./identity.js');\nvar Pair = require('./Pair.js');\nvar Scalar = require('./Scalar.js');\n\nfunction findPair(items, key) {\n const k = identity.isScalar(key) ? key.value : key;\n for (const it of items) {\n if (identity.isPair(it)) {\n if (it.key === key || it.key === k)\n return it;\n if (identity.isScalar(it.key) && it.key.value === k)\n return it;\n }\n }\n return undefined;\n}\nclass YAMLMap extends Collection.Collection {\n static get tagName() {\n return 'tag:yaml.org,2002:map';\n }\n constructor(schema) {\n super(identity.MAP, schema);\n this.items = [];\n }\n /**\n * A generic collection parsing method that can be extended\n * to other node classes that inherit from YAMLMap\n */\n static from(schema, obj, ctx) {\n const { keepUndefined, replacer } = ctx;\n const map = new this(schema);\n const add = (key, value) => {\n if (typeof replacer === 'function')\n value = replacer.call(obj, key, value);\n else if (Array.isArray(replacer) && !replacer.includes(key))\n return;\n if (value !== undefined || keepUndefined)\n map.items.push(Pair.createPair(key, value, ctx));\n };\n if (obj instanceof Map) {\n for (const [key, value] of obj)\n add(key, value);\n }\n else if (obj && typeof obj === 'object') {\n for (const key of Object.keys(obj))\n add(key, obj[key]);\n }\n if (typeof schema.sortMapEntries === 'function') {\n map.items.sort(schema.sortMapEntries);\n }\n return map;\n }\n /**\n * Adds a value to the collection.\n *\n * @param overwrite - If not set `true`, using a key that is already in the\n * collection will throw. Otherwise, overwrites the previous value.\n */\n add(pair, overwrite) {\n let _pair;\n if (identity.isPair(pair))\n _pair = pair;\n else if (!pair || typeof pair !== 'object' || !('key' in pair)) {\n // In TypeScript, this never happens.\n _pair = new Pair.Pair(pair, pair?.value);\n }\n else\n _pair = new Pair.Pair(pair.key, pair.value);\n const prev = findPair(this.items, _pair.key);\n const sortEntries = this.schema?.sortMapEntries;\n if (prev) {\n if (!overwrite)\n throw new Error(`Key ${_pair.key} already set`);\n // For scalars, keep the old node & its comments and anchors\n if (identity.isScalar(prev.value) && Scalar.isScalarValue(_pair.value))\n prev.value.value = _pair.value;\n else\n prev.value = _pair.value;\n }\n else if (sortEntries) {\n const i = this.items.findIndex(item => sortEntries(_pair, item) < 0);\n if (i === -1)\n this.items.push(_pair);\n else\n this.items.splice(i, 0, _pair);\n }\n else {\n this.items.push(_pair);\n }\n }\n delete(key) {\n const it = findPair(this.items, key);\n if (!it)\n return false;\n const del = this.items.splice(this.items.indexOf(it), 1);\n return del.length > 0;\n }\n get(key, keepScalar) {\n const it = findPair(this.items, key);\n const node = it?.value;\n return (!keepScalar && identity.isScalar(node) ? node.value : node) ?? undefined;\n }\n has(key) {\n return !!findPair(this.items, key);\n }\n set(key, value) {\n this.add(new Pair.Pair(key, value), true);\n }\n /**\n * @param ctx - Conversion context, originally set in Document#toJS()\n * @param {Class} Type - If set, forces the returned collection type\n * @returns Instance of Type, Map, or Object\n */\n toJSON(_, ctx, Type) {\n const map = Type ? new Type() : ctx?.mapAsMap ? new Map() : {};\n if (ctx?.onCreate)\n ctx.onCreate(map);\n for (const item of this.items)\n addPairToJSMap.addPairToJSMap(ctx, map, item);\n return map;\n }\n toString(ctx, onComment, onChompKeep) {\n if (!ctx)\n return JSON.stringify(this);\n for (const item of this.items) {\n if (!identity.isPair(item))\n throw new Error(`Map items must all be pairs; found ${JSON.stringify(item)} instead`);\n }\n if (!ctx.allNullValues && this.hasAllNullValues(false))\n ctx = Object.assign({}, ctx, { allNullValues: true });\n return stringifyCollection.stringifyCollection(this, ctx, {\n blockItemPrefix: '',\n flowChars: { start: '{', end: '}' },\n itemIndent: ctx.indent || '',\n onChompKeep,\n onComment\n });\n }\n}\n\nexports.YAMLMap = YAMLMap;\nexports.findPair = findPair;\n","'use strict';\n\nvar createNode = require('../doc/createNode.js');\nvar stringifyCollection = require('../stringify/stringifyCollection.js');\nvar Collection = require('./Collection.js');\nvar identity = require('./identity.js');\nvar Scalar = require('./Scalar.js');\nvar toJS = require('./toJS.js');\n\nclass YAMLSeq extends Collection.Collection {\n static get tagName() {\n return 'tag:yaml.org,2002:seq';\n }\n constructor(schema) {\n super(identity.SEQ, schema);\n this.items = [];\n }\n add(value) {\n this.items.push(value);\n }\n /**\n * Removes a value from the collection.\n *\n * `key` must contain a representation of an integer for this to succeed.\n * It may be wrapped in a `Scalar`.\n *\n * @returns `true` if the item was found and removed.\n */\n delete(key) {\n const idx = asItemIndex(key);\n if (typeof idx !== 'number')\n return false;\n const del = this.items.splice(idx, 1);\n return del.length > 0;\n }\n get(key, keepScalar) {\n const idx = asItemIndex(key);\n if (typeof idx !== 'number')\n return undefined;\n const it = this.items[idx];\n return !keepScalar && identity.isScalar(it) ? it.value : it;\n }\n /**\n * Checks if the collection includes a value with the key `key`.\n *\n * `key` must contain a representation of an integer for this to succeed.\n * It may be wrapped in a `Scalar`.\n */\n has(key) {\n const idx = asItemIndex(key);\n return typeof idx === 'number' && idx < this.items.length;\n }\n /**\n * Sets a value in this collection. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n *\n * If `key` does not contain a representation of an integer, this will throw.\n * It may be wrapped in a `Scalar`.\n */\n set(key, value) {\n const idx = asItemIndex(key);\n if (typeof idx !== 'number')\n throw new Error(`Expected a valid index, not ${key}.`);\n const prev = this.items[idx];\n if (identity.isScalar(prev) && Scalar.isScalarValue(value))\n prev.value = value;\n else\n this.items[idx] = value;\n }\n toJSON(_, ctx) {\n const seq = [];\n if (ctx?.onCreate)\n ctx.onCreate(seq);\n let i = 0;\n for (const item of this.items)\n seq.push(toJS.toJS(item, String(i++), ctx));\n return seq;\n }\n toString(ctx, onComment, onChompKeep) {\n if (!ctx)\n return JSON.stringify(this);\n return stringifyCollection.stringifyCollection(this, ctx, {\n blockItemPrefix: '- ',\n flowChars: { start: '[', end: ']' },\n itemIndent: (ctx.indent || '') + ' ',\n onChompKeep,\n onComment\n });\n }\n static from(schema, obj, ctx) {\n const { replacer } = ctx;\n const seq = new this(schema);\n if (obj && Symbol.iterator in Object(obj)) {\n let i = 0;\n for (let it of obj) {\n if (typeof replacer === 'function') {\n const key = obj instanceof Set ? it : String(i++);\n it = replacer.call(obj, key, it);\n }\n seq.items.push(createNode.createNode(it, undefined, ctx));\n }\n }\n return seq;\n }\n}\nfunction asItemIndex(key) {\n let idx = identity.isScalar(key) ? key.value : key;\n if (idx && typeof idx === 'string')\n idx = Number(idx);\n return typeof idx === 'number' && Number.isInteger(idx) && idx >= 0\n ? idx\n : null;\n}\n\nexports.YAMLSeq = YAMLSeq;\n","'use strict';\n\nvar log = require('../log.js');\nvar stringify = require('../stringify/stringify.js');\nvar identity = require('./identity.js');\nvar Scalar = require('./Scalar.js');\nvar toJS = require('./toJS.js');\n\nconst MERGE_KEY = '<<';\nfunction addPairToJSMap(ctx, map, { key, value }) {\n if (ctx?.doc.schema.merge && isMergeKey(key)) {\n value = identity.isAlias(value) ? value.resolve(ctx.doc) : value;\n if (identity.isSeq(value))\n for (const it of value.items)\n mergeToJSMap(ctx, map, it);\n else if (Array.isArray(value))\n for (const it of value)\n mergeToJSMap(ctx, map, it);\n else\n mergeToJSMap(ctx, map, value);\n }\n else {\n const jsKey = toJS.toJS(key, '', ctx);\n if (map instanceof Map) {\n map.set(jsKey, toJS.toJS(value, jsKey, ctx));\n }\n else if (map instanceof Set) {\n map.add(jsKey);\n }\n else {\n const stringKey = stringifyKey(key, jsKey, ctx);\n const jsValue = toJS.toJS(value, stringKey, ctx);\n if (stringKey in map)\n Object.defineProperty(map, stringKey, {\n value: jsValue,\n writable: true,\n enumerable: true,\n configurable: true\n });\n else\n map[stringKey] = jsValue;\n }\n }\n return map;\n}\nconst isMergeKey = (key) => key === MERGE_KEY ||\n (identity.isScalar(key) &&\n key.value === MERGE_KEY &&\n (!key.type || key.type === Scalar.Scalar.PLAIN));\n// If the value associated with a merge key is a single mapping node, each of\n// its key/value pairs is inserted into the current mapping, unless the key\n// already exists in it. If the value associated with the merge key is a\n// sequence, then this sequence is expected to contain mapping nodes and each\n// of these nodes is merged in turn according to its order in the sequence.\n// Keys in mapping nodes earlier in the sequence override keys specified in\n// later mapping nodes. -- http://yaml.org/type/merge.html\nfunction mergeToJSMap(ctx, map, value) {\n const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;\n if (!identity.isMap(source))\n throw new Error('Merge sources must be maps or map aliases');\n const srcMap = source.toJSON(null, ctx, Map);\n for (const [key, value] of srcMap) {\n if (map instanceof Map) {\n if (!map.has(key))\n map.set(key, value);\n }\n else if (map instanceof Set) {\n map.add(key);\n }\n else if (!Object.prototype.hasOwnProperty.call(map, key)) {\n Object.defineProperty(map, key, {\n value,\n writable: true,\n enumerable: true,\n configurable: true\n });\n }\n }\n return map;\n}\nfunction stringifyKey(key, jsKey, ctx) {\n if (jsKey === null)\n return '';\n if (typeof jsKey !== 'object')\n return String(jsKey);\n if (identity.isNode(key) && ctx?.doc) {\n const strCtx = stringify.createStringifyContext(ctx.doc, {});\n strCtx.anchors = new Set();\n for (const node of ctx.anchors.keys())\n strCtx.anchors.add(node.anchor);\n strCtx.inFlow = true;\n strCtx.inStringifyKey = true;\n const strKey = key.toString(strCtx);\n if (!ctx.mapKeyWarned) {\n let jsonStr = JSON.stringify(strKey);\n if (jsonStr.length > 40)\n jsonStr = jsonStr.substring(0, 36) + '...\"';\n log.warn(ctx.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${jsonStr}. Set mapAsMap: true to use object keys.`);\n ctx.mapKeyWarned = true;\n }\n return strKey;\n }\n return JSON.stringify(jsKey);\n}\n\nexports.addPairToJSMap = addPairToJSMap;\n","'use strict';\n\nconst ALIAS = Symbol.for('yaml.alias');\nconst DOC = Symbol.for('yaml.document');\nconst MAP = Symbol.for('yaml.map');\nconst PAIR = Symbol.for('yaml.pair');\nconst SCALAR = Symbol.for('yaml.scalar');\nconst SEQ = Symbol.for('yaml.seq');\nconst NODE_TYPE = Symbol.for('yaml.node.type');\nconst isAlias = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === ALIAS;\nconst isDocument = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === DOC;\nconst isMap = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === MAP;\nconst isPair = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === PAIR;\nconst isScalar = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === SCALAR;\nconst isSeq = (node) => !!node && typeof node === 'object' && node[NODE_TYPE] === SEQ;\nfunction isCollection(node) {\n if (node && typeof node === 'object')\n switch (node[NODE_TYPE]) {\n case MAP:\n case SEQ:\n return true;\n }\n return false;\n}\nfunction isNode(node) {\n if (node && typeof node === 'object')\n switch (node[NODE_TYPE]) {\n case ALIAS:\n case MAP:\n case SCALAR:\n case SEQ:\n return true;\n }\n return false;\n}\nconst hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;\n\nexports.ALIAS = ALIAS;\nexports.DOC = DOC;\nexports.MAP = MAP;\nexports.NODE_TYPE = NODE_TYPE;\nexports.PAIR = PAIR;\nexports.SCALAR = SCALAR;\nexports.SEQ = SEQ;\nexports.hasAnchor = hasAnchor;\nexports.isAlias = isAlias;\nexports.isCollection = isCollection;\nexports.isDocument = isDocument;\nexports.isMap = isMap;\nexports.isNode = isNode;\nexports.isPair = isPair;\nexports.isScalar = isScalar;\nexports.isSeq = isSeq;\n","'use strict';\n\nvar identity = require('./identity.js');\n\n/**\n * Recursively convert any node or its contents to native JavaScript\n *\n * @param value - The input value\n * @param arg - If `value` defines a `toJSON()` method, use this\n * as its first argument\n * @param ctx - Conversion context, originally set in Document#toJS(). If\n * `{ keep: true }` is not set, output should be suitable for JSON\n * stringification.\n */\nfunction toJS(value, arg, ctx) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n if (Array.isArray(value))\n return value.map((v, i) => toJS(v, String(i), ctx));\n if (value && typeof value.toJSON === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n if (!ctx || !identity.hasAnchor(value))\n return value.toJSON(arg, ctx);\n const data = { aliasCount: 0, count: 1, res: undefined };\n ctx.anchors.set(value, data);\n ctx.onCreate = res => {\n data.res = res;\n delete ctx.onCreate;\n };\n const res = value.toJSON(arg, ctx);\n if (ctx.onCreate)\n ctx.onCreate(res);\n return res;\n }\n if (typeof value === 'bigint' && !ctx?.keep)\n return Number(value);\n return value;\n}\n\nexports.toJS = toJS;\n","'use strict';\n\nvar resolveBlockScalar = require('../compose/resolve-block-scalar.js');\nvar resolveFlowScalar = require('../compose/resolve-flow-scalar.js');\nvar errors = require('../errors.js');\nvar stringifyString = require('../stringify/stringifyString.js');\n\nfunction resolveAsScalar(token, strict = true, onError) {\n if (token) {\n const _onError = (pos, code, message) => {\n const offset = typeof pos === 'number' ? pos : Array.isArray(pos) ? pos[0] : pos.offset;\n if (onError)\n onError(offset, code, message);\n else\n throw new errors.YAMLParseError([offset, offset + 1], code, message);\n };\n switch (token.type) {\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n return resolveFlowScalar.resolveFlowScalar(token, strict, _onError);\n case 'block-scalar':\n return resolveBlockScalar.resolveBlockScalar(token, strict, _onError);\n }\n }\n return null;\n}\n/**\n * Create a new scalar token with `value`\n *\n * Values that represent an actual string but may be parsed as a different type should use a `type` other than `'PLAIN'`,\n * as this function does not support any schema operations and won't check for such conflicts.\n *\n * @param value The string representation of the value, which will have its content properly indented.\n * @param context.end Comments and whitespace after the end of the value, or after the block scalar header. If undefined, a newline will be added.\n * @param context.implicitKey Being within an implicit key may affect the resolved type of the token's value.\n * @param context.indent The indent level of the token.\n * @param context.inFlow Is this scalar within a flow collection? This may affect the resolved type of the token's value.\n * @param context.offset The offset position of the token.\n * @param context.type The preferred type of the scalar token. If undefined, the previous type of the `token` will be used, defaulting to `'PLAIN'`.\n */\nfunction createScalarToken(value, context) {\n const { implicitKey = false, indent, inFlow = false, offset = -1, type = 'PLAIN' } = context;\n const source = stringifyString.stringifyString({ type, value }, {\n implicitKey,\n indent: indent > 0 ? ' '.repeat(indent) : '',\n inFlow,\n options: { blockQuote: true, lineWidth: -1 }\n });\n const end = context.end ?? [\n { type: 'newline', offset: -1, indent, source: '\\n' }\n ];\n switch (source[0]) {\n case '|':\n case '>': {\n const he = source.indexOf('\\n');\n const head = source.substring(0, he);\n const body = source.substring(he + 1) + '\\n';\n const props = [\n { type: 'block-scalar-header', offset, indent, source: head }\n ];\n if (!addEndtoBlockProps(props, end))\n props.push({ type: 'newline', offset: -1, indent, source: '\\n' });\n return { type: 'block-scalar', offset, indent, props, source: body };\n }\n case '\"':\n return { type: 'double-quoted-scalar', offset, indent, source, end };\n case \"'\":\n return { type: 'single-quoted-scalar', offset, indent, source, end };\n default:\n return { type: 'scalar', offset, indent, source, end };\n }\n}\n/**\n * Set the value of `token` to the given string `value`, overwriting any previous contents and type that it may have.\n *\n * Best efforts are made to retain any comments previously associated with the `token`,\n * though all contents within a collection's `items` will be overwritten.\n *\n * Values that represent an actual string but may be parsed as a different type should use a `type` other than `'PLAIN'`,\n * as this function does not support any schema operations and won't check for such conflicts.\n *\n * @param token Any token. If it does not include an `indent` value, the value will be stringified as if it were an implicit key.\n * @param value The string representation of the value, which will have its content properly indented.\n * @param context.afterKey In most cases, values after a key should have an additional level of indentation.\n * @param context.implicitKey Being within an implicit key may affect the resolved type of the token's value.\n * @param context.inFlow Being within a flow collection may affect the resolved type of the token's value.\n * @param context.type The preferred type of the scalar token. If undefined, the previous type of the `token` will be used, defaulting to `'PLAIN'`.\n */\nfunction setScalarValue(token, value, context = {}) {\n let { afterKey = false, implicitKey = false, inFlow = false, type } = context;\n let indent = 'indent' in token ? token.indent : null;\n if (afterKey && typeof indent === 'number')\n indent += 2;\n if (!type)\n switch (token.type) {\n case 'single-quoted-scalar':\n type = 'QUOTE_SINGLE';\n break;\n case 'double-quoted-scalar':\n type = 'QUOTE_DOUBLE';\n break;\n case 'block-scalar': {\n const header = token.props[0];\n if (header.type !== 'block-scalar-header')\n throw new Error('Invalid block scalar header');\n type = header.source[0] === '>' ? 'BLOCK_FOLDED' : 'BLOCK_LITERAL';\n break;\n }\n default:\n type = 'PLAIN';\n }\n const source = stringifyString.stringifyString({ type, value }, {\n implicitKey: implicitKey || indent === null,\n indent: indent !== null && indent > 0 ? ' '.repeat(indent) : '',\n inFlow,\n options: { blockQuote: true, lineWidth: -1 }\n });\n switch (source[0]) {\n case '|':\n case '>':\n setBlockScalarValue(token, source);\n break;\n case '\"':\n setFlowScalarValue(token, source, 'double-quoted-scalar');\n break;\n case \"'\":\n setFlowScalarValue(token, source, 'single-quoted-scalar');\n break;\n default:\n setFlowScalarValue(token, source, 'scalar');\n }\n}\nfunction setBlockScalarValue(token, source) {\n const he = source.indexOf('\\n');\n const head = source.substring(0, he);\n const body = source.substring(he + 1) + '\\n';\n if (token.type === 'block-scalar') {\n const header = token.props[0];\n if (header.type !== 'block-scalar-header')\n throw new Error('Invalid block scalar header');\n header.source = head;\n token.source = body;\n }\n else {\n const { offset } = token;\n const indent = 'indent' in token ? token.indent : -1;\n const props = [\n { type: 'block-scalar-header', offset, indent, source: head }\n ];\n if (!addEndtoBlockProps(props, 'end' in token ? token.end : undefined))\n props.push({ type: 'newline', offset: -1, indent, source: '\\n' });\n for (const key of Object.keys(token))\n if (key !== 'type' && key !== 'offset')\n delete token[key];\n Object.assign(token, { type: 'block-scalar', indent, props, source: body });\n }\n}\n/** @returns `true` if last token is a newline */\nfunction addEndtoBlockProps(props, end) {\n if (end)\n for (const st of end)\n switch (st.type) {\n case 'space':\n case 'comment':\n props.push(st);\n break;\n case 'newline':\n props.push(st);\n return true;\n }\n return false;\n}\nfunction setFlowScalarValue(token, source, type) {\n switch (token.type) {\n case 'scalar':\n case 'double-quoted-scalar':\n case 'single-quoted-scalar':\n token.type = type;\n token.source = source;\n break;\n case 'block-scalar': {\n const end = token.props.slice(1);\n let oa = source.length;\n if (token.props[0].type === 'block-scalar-header')\n oa -= token.props[0].source.length;\n for (const tok of end)\n tok.offset += oa;\n delete token.props;\n Object.assign(token, { type, source, end });\n break;\n }\n case 'block-map':\n case 'block-seq': {\n const offset = token.offset + source.length;\n const nl = { type: 'newline', offset, indent: token.indent, source: '\\n' };\n delete token.items;\n Object.assign(token, { type, source, end: [nl] });\n break;\n }\n default: {\n const indent = 'indent' in token ? token.indent : -1;\n const end = 'end' in token && Array.isArray(token.end)\n ? token.end.filter(st => st.type === 'space' ||\n st.type === 'comment' ||\n st.type === 'newline')\n : [];\n for (const key of Object.keys(token))\n if (key !== 'type' && key !== 'offset')\n delete token[key];\n Object.assign(token, { type, indent, source, end });\n }\n }\n}\n\nexports.createScalarToken = createScalarToken;\nexports.resolveAsScalar = resolveAsScalar;\nexports.setScalarValue = setScalarValue;\n","'use strict';\n\n/**\n * Stringify a CST document, token, or collection item\n *\n * Fair warning: This applies no validation whatsoever, and\n * simply concatenates the sources in their logical order.\n */\nconst stringify = (cst) => 'type' in cst ? stringifyToken(cst) : stringifyItem(cst);\nfunction stringifyToken(token) {\n switch (token.type) {\n case 'block-scalar': {\n let res = '';\n for (const tok of token.props)\n res += stringifyToken(tok);\n return res + token.source;\n }\n case 'block-map':\n case 'block-seq': {\n let res = '';\n for (const item of token.items)\n res += stringifyItem(item);\n return res;\n }\n case 'flow-collection': {\n let res = token.start.source;\n for (const item of token.items)\n res += stringifyItem(item);\n for (const st of token.end)\n res += st.source;\n return res;\n }\n case 'document': {\n let res = stringifyItem(token);\n if (token.end)\n for (const st of token.end)\n res += st.source;\n return res;\n }\n default: {\n let res = token.source;\n if ('end' in token && token.end)\n for (const st of token.end)\n res += st.source;\n return res;\n }\n }\n}\nfunction stringifyItem({ start, key, sep, value }) {\n let res = '';\n for (const st of start)\n res += st.source;\n if (key)\n res += stringifyToken(key);\n if (sep)\n for (const st of sep)\n res += st.source;\n if (value)\n res += stringifyToken(value);\n return res;\n}\n\nexports.stringify = stringify;\n","'use strict';\n\nconst BREAK = Symbol('break visit');\nconst SKIP = Symbol('skip children');\nconst REMOVE = Symbol('remove item');\n/**\n * Apply a visitor to a CST document or item.\n *\n * Walks through the tree (depth-first) starting from the root, calling a\n * `visitor` function with two arguments when entering each item:\n * - `item`: The current item, which included the following members:\n * - `start: SourceToken[]` – Source tokens before the key or value,\n * possibly including its anchor or tag.\n * - `key?: Token | null` – Set for pair values. May then be `null`, if\n * the key before the `:` separator is empty.\n * - `sep?: SourceToken[]` – Source tokens between the key and the value,\n * which should include the `:` map value indicator if `value` is set.\n * - `value?: Token` – The value of a sequence item, or of a map pair.\n * - `path`: The steps from the root to the current node, as an array of\n * `['key' | 'value', number]` tuples.\n *\n * The return value of the visitor may be used to control the traversal:\n * - `undefined` (default): Do nothing and continue\n * - `visit.SKIP`: Do not visit the children of this token, continue with\n * next sibling\n * - `visit.BREAK`: Terminate traversal completely\n * - `visit.REMOVE`: Remove the current item, then continue with the next one\n * - `number`: Set the index of the next step. This is useful especially if\n * the index of the current token has changed.\n * - `function`: Define the next visitor for this item. After the original\n * visitor is called on item entry, next visitors are called after handling\n * a non-empty `key` and when exiting the item.\n */\nfunction visit(cst, visitor) {\n if ('type' in cst && cst.type === 'document')\n cst = { start: cst.start, value: cst.value };\n _visit(Object.freeze([]), cst, visitor);\n}\n// Without the `as symbol` casts, TS declares these in the `visit`\n// namespace using `var`, but then complains about that because\n// `unique symbol` must be `const`.\n/** Terminate visit traversal completely */\nvisit.BREAK = BREAK;\n/** Do not visit the children of the current item */\nvisit.SKIP = SKIP;\n/** Remove the current item */\nvisit.REMOVE = REMOVE;\n/** Find the item at `path` from `cst` as the root */\nvisit.itemAtPath = (cst, path) => {\n let item = cst;\n for (const [field, index] of path) {\n const tok = item?.[field];\n if (tok && 'items' in tok) {\n item = tok.items[index];\n }\n else\n return undefined;\n }\n return item;\n};\n/**\n * Get the immediate parent collection of the item at `path` from `cst` as the root.\n *\n * Throws an error if the collection is not found, which should never happen if the item itself exists.\n */\nvisit.parentCollection = (cst, path) => {\n const parent = visit.itemAtPath(cst, path.slice(0, -1));\n const field = path[path.length - 1][0];\n const coll = parent?.[field];\n if (coll && 'items' in coll)\n return coll;\n throw new Error('Parent collection not found');\n};\nfunction _visit(path, item, visitor) {\n let ctrl = visitor(item, path);\n if (typeof ctrl === 'symbol')\n return ctrl;\n for (const field of ['key', 'value']) {\n const token = item[field];\n if (token && 'items' in token) {\n for (let i = 0; i < token.items.length; ++i) {\n const ci = _visit(Object.freeze(path.concat([[field, i]])), token.items[i], visitor);\n if (typeof ci === 'number')\n i = ci - 1;\n else if (ci === BREAK)\n return BREAK;\n else if (ci === REMOVE) {\n token.items.splice(i, 1);\n i -= 1;\n }\n }\n if (typeof ctrl === 'function' && field === 'key')\n ctrl = ctrl(item, path);\n }\n }\n return typeof ctrl === 'function' ? ctrl(item, path) : ctrl;\n}\n\nexports.visit = visit;\n","'use strict';\n\nvar cstScalar = require('./cst-scalar.js');\nvar cstStringify = require('./cst-stringify.js');\nvar cstVisit = require('./cst-visit.js');\n\n/** The byte order mark */\nconst BOM = '\\u{FEFF}';\n/** Start of doc-mode */\nconst DOCUMENT = '\\x02'; // C0: Start of Text\n/** Unexpected end of flow-mode */\nconst FLOW_END = '\\x18'; // C0: Cancel\n/** Next token is a scalar value */\nconst SCALAR = '\\x1f'; // C0: Unit Separator\n/** @returns `true` if `token` is a flow or block collection */\nconst isCollection = (token) => !!token && 'items' in token;\n/** @returns `true` if `token` is a flow or block scalar; not an alias */\nconst isScalar = (token) => !!token &&\n (token.type === 'scalar' ||\n token.type === 'single-quoted-scalar' ||\n token.type === 'double-quoted-scalar' ||\n token.type === 'block-scalar');\n/* istanbul ignore next */\n/** Get a printable representation of a lexer token */\nfunction prettyToken(token) {\n switch (token) {\n case BOM:\n return '';\n case DOCUMENT:\n return '';\n case FLOW_END:\n return '';\n case SCALAR:\n return '';\n default:\n return JSON.stringify(token);\n }\n}\n/** Identify the type of a lexer token. May return `null` for unknown tokens. */\nfunction tokenType(source) {\n switch (source) {\n case BOM:\n return 'byte-order-mark';\n case DOCUMENT:\n return 'doc-mode';\n case FLOW_END:\n return 'flow-error-end';\n case SCALAR:\n return 'scalar';\n case '---':\n return 'doc-start';\n case '...':\n return 'doc-end';\n case '':\n case '\\n':\n case '\\r\\n':\n return 'newline';\n case '-':\n return 'seq-item-ind';\n case '?':\n return 'explicit-key-ind';\n case ':':\n return 'map-value-ind';\n case '{':\n return 'flow-map-start';\n case '}':\n return 'flow-map-end';\n case '[':\n return 'flow-seq-start';\n case ']':\n return 'flow-seq-end';\n case ',':\n return 'comma';\n }\n switch (source[0]) {\n case ' ':\n case '\\t':\n return 'space';\n case '#':\n return 'comment';\n case '%':\n return 'directive-line';\n case '*':\n return 'alias';\n case '&':\n return 'anchor';\n case '!':\n return 'tag';\n case \"'\":\n return 'single-quoted-scalar';\n case '\"':\n return 'double-quoted-scalar';\n case '|':\n case '>':\n return 'block-scalar-header';\n }\n return null;\n}\n\nexports.createScalarToken = cstScalar.createScalarToken;\nexports.resolveAsScalar = cstScalar.resolveAsScalar;\nexports.setScalarValue = cstScalar.setScalarValue;\nexports.stringify = cstStringify.stringify;\nexports.visit = cstVisit.visit;\nexports.BOM = BOM;\nexports.DOCUMENT = DOCUMENT;\nexports.FLOW_END = FLOW_END;\nexports.SCALAR = SCALAR;\nexports.isCollection = isCollection;\nexports.isScalar = isScalar;\nexports.prettyToken = prettyToken;\nexports.tokenType = tokenType;\n","'use strict';\n\nvar cst = require('./cst.js');\n\n/*\nSTART -> stream\n\nstream\n directive -> line-end -> stream\n indent + line-end -> stream\n [else] -> line-start\n\nline-end\n comment -> line-end\n newline -> .\n input-end -> END\n\nline-start\n doc-start -> doc\n doc-end -> stream\n [else] -> indent -> block-start\n\nblock-start\n seq-item-start -> block-start\n explicit-key-start -> block-start\n map-value-start -> block-start\n [else] -> doc\n\ndoc\n line-end -> line-start\n spaces -> doc\n anchor -> doc\n tag -> doc\n flow-start -> flow -> doc\n flow-end -> error -> doc\n seq-item-start -> error -> doc\n explicit-key-start -> error -> doc\n map-value-start -> doc\n alias -> doc\n quote-start -> quoted-scalar -> doc\n block-scalar-header -> line-end -> block-scalar(min) -> line-start\n [else] -> plain-scalar(false, min) -> doc\n\nflow\n line-end -> flow\n spaces -> flow\n anchor -> flow\n tag -> flow\n flow-start -> flow -> flow\n flow-end -> .\n seq-item-start -> error -> flow\n explicit-key-start -> flow\n map-value-start -> flow\n alias -> flow\n quote-start -> quoted-scalar -> flow\n comma -> flow\n [else] -> plain-scalar(true, 0) -> flow\n\nquoted-scalar\n quote-end -> .\n [else] -> quoted-scalar\n\nblock-scalar(min)\n newline + peek(indent < min) -> .\n [else] -> block-scalar(min)\n\nplain-scalar(is-flow, min)\n scalar-end(is-flow) -> .\n peek(newline + (indent < min)) -> .\n [else] -> plain-scalar(min)\n*/\nfunction isEmpty(ch) {\n switch (ch) {\n case undefined:\n case ' ':\n case '\\n':\n case '\\r':\n case '\\t':\n return true;\n default:\n return false;\n }\n}\nconst hexDigits = '0123456789ABCDEFabcdef'.split('');\nconst tagChars = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()\".split('');\nconst invalidFlowScalarChars = ',[]{}'.split('');\nconst invalidAnchorChars = ' ,[]{}\\n\\r\\t'.split('');\nconst isNotAnchorChar = (ch) => !ch || invalidAnchorChars.includes(ch);\n/**\n * Splits an input string into lexical tokens, i.e. smaller strings that are\n * easily identifiable by `tokens.tokenType()`.\n *\n * Lexing starts always in a \"stream\" context. Incomplete input may be buffered\n * until a complete token can be emitted.\n *\n * In addition to slices of the original input, the following control characters\n * may also be emitted:\n *\n * - `\\x02` (Start of Text): A document starts with the next token\n * - `\\x18` (Cancel): Unexpected end of flow-mode (indicates an error)\n * - `\\x1f` (Unit Separator): Next token is a scalar value\n * - `\\u{FEFF}` (Byte order mark): Emitted separately outside documents\n */\nclass Lexer {\n constructor() {\n /**\n * Flag indicating whether the end of the current buffer marks the end of\n * all input\n */\n this.atEnd = false;\n /**\n * Explicit indent set in block scalar header, as an offset from the current\n * minimum indent, so e.g. set to 1 from a header `|2+`. Set to -1 if not\n * explicitly set.\n */\n this.blockScalarIndent = -1;\n /**\n * Block scalars that include a + (keep) chomping indicator in their header\n * include trailing empty lines, which are otherwise excluded from the\n * scalar's contents.\n */\n this.blockScalarKeep = false;\n /** Current input */\n this.buffer = '';\n /**\n * Flag noting whether the map value indicator : can immediately follow this\n * node within a flow context.\n */\n this.flowKey = false;\n /** Count of surrounding flow collection levels. */\n this.flowLevel = 0;\n /**\n * Minimum level of indentation required for next lines to be parsed as a\n * part of the current scalar value.\n */\n this.indentNext = 0;\n /** Indentation level of the current line. */\n this.indentValue = 0;\n /** Position of the next \\n character. */\n this.lineEndPos = null;\n /** Stores the state of the lexer if reaching the end of incpomplete input */\n this.next = null;\n /** A pointer to `buffer`; the current position of the lexer. */\n this.pos = 0;\n }\n /**\n * Generate YAML tokens from the `source` string. If `incomplete`,\n * a part of the last line may be left as a buffer for the next call.\n *\n * @returns A generator of lexical tokens\n */\n *lex(source, incomplete = false) {\n if (source) {\n this.buffer = this.buffer ? this.buffer + source : source;\n this.lineEndPos = null;\n }\n this.atEnd = !incomplete;\n let next = this.next ?? 'stream';\n while (next && (incomplete || this.hasChars(1)))\n next = yield* this.parseNext(next);\n }\n atLineEnd() {\n let i = this.pos;\n let ch = this.buffer[i];\n while (ch === ' ' || ch === '\\t')\n ch = this.buffer[++i];\n if (!ch || ch === '#' || ch === '\\n')\n return true;\n if (ch === '\\r')\n return this.buffer[i + 1] === '\\n';\n return false;\n }\n charAt(n) {\n return this.buffer[this.pos + n];\n }\n continueScalar(offset) {\n let ch = this.buffer[offset];\n if (this.indentNext > 0) {\n let indent = 0;\n while (ch === ' ')\n ch = this.buffer[++indent + offset];\n if (ch === '\\r') {\n const next = this.buffer[indent + offset + 1];\n if (next === '\\n' || (!next && !this.atEnd))\n return offset + indent + 1;\n }\n return ch === '\\n' || indent >= this.indentNext || (!ch && !this.atEnd)\n ? offset + indent\n : -1;\n }\n if (ch === '-' || ch === '.') {\n const dt = this.buffer.substr(offset, 3);\n if ((dt === '---' || dt === '...') && isEmpty(this.buffer[offset + 3]))\n return -1;\n }\n return offset;\n }\n getLine() {\n let end = this.lineEndPos;\n if (typeof end !== 'number' || (end !== -1 && end < this.pos)) {\n end = this.buffer.indexOf('\\n', this.pos);\n this.lineEndPos = end;\n }\n if (end === -1)\n return this.atEnd ? this.buffer.substring(this.pos) : null;\n if (this.buffer[end - 1] === '\\r')\n end -= 1;\n return this.buffer.substring(this.pos, end);\n }\n hasChars(n) {\n return this.pos + n <= this.buffer.length;\n }\n setNext(state) {\n this.buffer = this.buffer.substring(this.pos);\n this.pos = 0;\n this.lineEndPos = null;\n this.next = state;\n return null;\n }\n peek(n) {\n return this.buffer.substr(this.pos, n);\n }\n *parseNext(next) {\n switch (next) {\n case 'stream':\n return yield* this.parseStream();\n case 'line-start':\n return yield* this.parseLineStart();\n case 'block-start':\n return yield* this.parseBlockStart();\n case 'doc':\n return yield* this.parseDocument();\n case 'flow':\n return yield* this.parseFlowCollection();\n case 'quoted-scalar':\n return yield* this.parseQuotedScalar();\n case 'block-scalar':\n return yield* this.parseBlockScalar();\n case 'plain-scalar':\n return yield* this.parsePlainScalar();\n }\n }\n *parseStream() {\n let line = this.getLine();\n if (line === null)\n return this.setNext('stream');\n if (line[0] === cst.BOM) {\n yield* this.pushCount(1);\n line = line.substring(1);\n }\n if (line[0] === '%') {\n let dirEnd = line.length;\n const cs = line.indexOf('#');\n if (cs !== -1) {\n const ch = line[cs - 1];\n if (ch === ' ' || ch === '\\t')\n dirEnd = cs - 1;\n }\n while (true) {\n const ch = line[dirEnd - 1];\n if (ch === ' ' || ch === '\\t')\n dirEnd -= 1;\n else\n break;\n }\n const n = (yield* this.pushCount(dirEnd)) + (yield* this.pushSpaces(true));\n yield* this.pushCount(line.length - n); // possible comment\n this.pushNewline();\n return 'stream';\n }\n if (this.atLineEnd()) {\n const sp = yield* this.pushSpaces(true);\n yield* this.pushCount(line.length - sp);\n yield* this.pushNewline();\n return 'stream';\n }\n yield cst.DOCUMENT;\n return yield* this.parseLineStart();\n }\n *parseLineStart() {\n const ch = this.charAt(0);\n if (!ch && !this.atEnd)\n return this.setNext('line-start');\n if (ch === '-' || ch === '.') {\n if (!this.atEnd && !this.hasChars(4))\n return this.setNext('line-start');\n const s = this.peek(3);\n if (s === '---' && isEmpty(this.charAt(3))) {\n yield* this.pushCount(3);\n this.indentValue = 0;\n this.indentNext = 0;\n return 'doc';\n }\n else if (s === '...' && isEmpty(this.charAt(3))) {\n yield* this.pushCount(3);\n return 'stream';\n }\n }\n this.indentValue = yield* this.pushSpaces(false);\n if (this.indentNext > this.indentValue && !isEmpty(this.charAt(1)))\n this.indentNext = this.indentValue;\n return yield* this.parseBlockStart();\n }\n *parseBlockStart() {\n const [ch0, ch1] = this.peek(2);\n if (!ch1 && !this.atEnd)\n return this.setNext('block-start');\n if ((ch0 === '-' || ch0 === '?' || ch0 === ':') && isEmpty(ch1)) {\n const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));\n this.indentNext = this.indentValue + 1;\n this.indentValue += n;\n return yield* this.parseBlockStart();\n }\n return 'doc';\n }\n *parseDocument() {\n yield* this.pushSpaces(true);\n const line = this.getLine();\n if (line === null)\n return this.setNext('doc');\n let n = yield* this.pushIndicators();\n switch (line[n]) {\n case '#':\n yield* this.pushCount(line.length - n);\n // fallthrough\n case undefined:\n yield* this.pushNewline();\n return yield* this.parseLineStart();\n case '{':\n case '[':\n yield* this.pushCount(1);\n this.flowKey = false;\n this.flowLevel = 1;\n return 'flow';\n case '}':\n case ']':\n // this is an error\n yield* this.pushCount(1);\n return 'doc';\n case '*':\n yield* this.pushUntil(isNotAnchorChar);\n return 'doc';\n case '\"':\n case \"'\":\n return yield* this.parseQuotedScalar();\n case '|':\n case '>':\n n += yield* this.parseBlockScalarHeader();\n n += yield* this.pushSpaces(true);\n yield* this.pushCount(line.length - n);\n yield* this.pushNewline();\n return yield* this.parseBlockScalar();\n default:\n return yield* this.parsePlainScalar();\n }\n }\n *parseFlowCollection() {\n let nl, sp;\n let indent = -1;\n do {\n nl = yield* this.pushNewline();\n if (nl > 0) {\n sp = yield* this.pushSpaces(false);\n this.indentValue = indent = sp;\n }\n else {\n sp = 0;\n }\n sp += yield* this.pushSpaces(true);\n } while (nl + sp > 0);\n const line = this.getLine();\n if (line === null)\n return this.setNext('flow');\n if ((indent !== -1 && indent < this.indentNext && line[0] !== '#') ||\n (indent === 0 &&\n (line.startsWith('---') || line.startsWith('...')) &&\n isEmpty(line[3]))) {\n // Allowing for the terminal ] or } at the same (rather than greater)\n // indent level as the initial [ or { is technically invalid, but\n // failing here would be surprising to users.\n const atFlowEndMarker = indent === this.indentNext - 1 &&\n this.flowLevel === 1 &&\n (line[0] === ']' || line[0] === '}');\n if (!atFlowEndMarker) {\n // this is an error\n this.flowLevel = 0;\n yield cst.FLOW_END;\n return yield* this.parseLineStart();\n }\n }\n let n = 0;\n while (line[n] === ',') {\n n += yield* this.pushCount(1);\n n += yield* this.pushSpaces(true);\n this.flowKey = false;\n }\n n += yield* this.pushIndicators();\n switch (line[n]) {\n case undefined:\n return 'flow';\n case '#':\n yield* this.pushCount(line.length - n);\n return 'flow';\n case '{':\n case '[':\n yield* this.pushCount(1);\n this.flowKey = false;\n this.flowLevel += 1;\n return 'flow';\n case '}':\n case ']':\n yield* this.pushCount(1);\n this.flowKey = true;\n this.flowLevel -= 1;\n return this.flowLevel ? 'flow' : 'doc';\n case '*':\n yield* this.pushUntil(isNotAnchorChar);\n return 'flow';\n case '\"':\n case \"'\":\n this.flowKey = true;\n return yield* this.parseQuotedScalar();\n case ':': {\n const next = this.charAt(1);\n if (this.flowKey || isEmpty(next) || next === ',') {\n this.flowKey = false;\n yield* this.pushCount(1);\n yield* this.pushSpaces(true);\n return 'flow';\n }\n }\n // fallthrough\n default:\n this.flowKey = false;\n return yield* this.parsePlainScalar();\n }\n }\n *parseQuotedScalar() {\n const quote = this.charAt(0);\n let end = this.buffer.indexOf(quote, this.pos + 1);\n if (quote === \"'\") {\n while (end !== -1 && this.buffer[end + 1] === \"'\")\n end = this.buffer.indexOf(\"'\", end + 2);\n }\n else {\n // double-quote\n while (end !== -1) {\n let n = 0;\n while (this.buffer[end - 1 - n] === '\\\\')\n n += 1;\n if (n % 2 === 0)\n break;\n end = this.buffer.indexOf('\"', end + 1);\n }\n }\n // Only looking for newlines within the quotes\n const qb = this.buffer.substring(0, end);\n let nl = qb.indexOf('\\n', this.pos);\n if (nl !== -1) {\n while (nl !== -1) {\n const cs = this.continueScalar(nl + 1);\n if (cs === -1)\n break;\n nl = qb.indexOf('\\n', cs);\n }\n if (nl !== -1) {\n // this is an error caused by an unexpected unindent\n end = nl - (qb[nl - 1] === '\\r' ? 2 : 1);\n }\n }\n if (end === -1) {\n if (!this.atEnd)\n return this.setNext('quoted-scalar');\n end = this.buffer.length;\n }\n yield* this.pushToIndex(end + 1, false);\n return this.flowLevel ? 'flow' : 'doc';\n }\n *parseBlockScalarHeader() {\n this.blockScalarIndent = -1;\n this.blockScalarKeep = false;\n let i = this.pos;\n while (true) {\n const ch = this.buffer[++i];\n if (ch === '+')\n this.blockScalarKeep = true;\n else if (ch > '0' && ch <= '9')\n this.blockScalarIndent = Number(ch) - 1;\n else if (ch !== '-')\n break;\n }\n return yield* this.pushUntil(ch => isEmpty(ch) || ch === '#');\n }\n *parseBlockScalar() {\n let nl = this.pos - 1; // may be -1 if this.pos === 0\n let indent = 0;\n let ch;\n loop: for (let i = this.pos; (ch = this.buffer[i]); ++i) {\n switch (ch) {\n case ' ':\n indent += 1;\n break;\n case '\\n':\n nl = i;\n indent = 0;\n break;\n case '\\r': {\n const next = this.buffer[i + 1];\n if (!next && !this.atEnd)\n return this.setNext('block-scalar');\n if (next === '\\n')\n break;\n } // fallthrough\n default:\n break loop;\n }\n }\n if (!ch && !this.atEnd)\n return this.setNext('block-scalar');\n if (indent >= this.indentNext) {\n if (this.blockScalarIndent === -1)\n this.indentNext = indent;\n else\n this.indentNext += this.blockScalarIndent;\n do {\n const cs = this.continueScalar(nl + 1);\n if (cs === -1)\n break;\n nl = this.buffer.indexOf('\\n', cs);\n } while (nl !== -1);\n if (nl === -1) {\n if (!this.atEnd)\n return this.setNext('block-scalar');\n nl = this.buffer.length;\n }\n }\n if (!this.blockScalarKeep) {\n do {\n let i = nl - 1;\n let ch = this.buffer[i];\n if (ch === '\\r')\n ch = this.buffer[--i];\n const lastChar = i; // Drop the line if last char not more indented\n while (ch === ' ' || ch === '\\t')\n ch = this.buffer[--i];\n if (ch === '\\n' && i >= this.pos && i + 1 + indent > lastChar)\n nl = i;\n else\n break;\n } while (true);\n }\n yield cst.SCALAR;\n yield* this.pushToIndex(nl + 1, true);\n return yield* this.parseLineStart();\n }\n *parsePlainScalar() {\n const inFlow = this.flowLevel > 0;\n let end = this.pos - 1;\n let i = this.pos - 1;\n let ch;\n while ((ch = this.buffer[++i])) {\n if (ch === ':') {\n const next = this.buffer[i + 1];\n if (isEmpty(next) || (inFlow && next === ','))\n break;\n end = i;\n }\n else if (isEmpty(ch)) {\n let next = this.buffer[i + 1];\n if (ch === '\\r') {\n if (next === '\\n') {\n i += 1;\n ch = '\\n';\n next = this.buffer[i + 1];\n }\n else\n end = i;\n }\n if (next === '#' || (inFlow && invalidFlowScalarChars.includes(next)))\n break;\n if (ch === '\\n') {\n const cs = this.continueScalar(i + 1);\n if (cs === -1)\n break;\n i = Math.max(i, cs - 2); // to advance, but still account for ' #'\n }\n }\n else {\n if (inFlow && invalidFlowScalarChars.includes(ch))\n break;\n end = i;\n }\n }\n if (!ch && !this.atEnd)\n return this.setNext('plain-scalar');\n yield cst.SCALAR;\n yield* this.pushToIndex(end + 1, true);\n return inFlow ? 'flow' : 'doc';\n }\n *pushCount(n) {\n if (n > 0) {\n yield this.buffer.substr(this.pos, n);\n this.pos += n;\n return n;\n }\n return 0;\n }\n *pushToIndex(i, allowEmpty) {\n const s = this.buffer.slice(this.pos, i);\n if (s) {\n yield s;\n this.pos += s.length;\n return s.length;\n }\n else if (allowEmpty)\n yield '';\n return 0;\n }\n *pushIndicators() {\n switch (this.charAt(0)) {\n case '!':\n return ((yield* this.pushTag()) +\n (yield* this.pushSpaces(true)) +\n (yield* this.pushIndicators()));\n case '&':\n return ((yield* this.pushUntil(isNotAnchorChar)) +\n (yield* this.pushSpaces(true)) +\n (yield* this.pushIndicators()));\n case '-': // this is an error\n case '?': // this is an error outside flow collections\n case ':': {\n const inFlow = this.flowLevel > 0;\n const ch1 = this.charAt(1);\n if (isEmpty(ch1) || (inFlow && invalidFlowScalarChars.includes(ch1))) {\n if (!inFlow)\n this.indentNext = this.indentValue + 1;\n else if (this.flowKey)\n this.flowKey = false;\n return ((yield* this.pushCount(1)) +\n (yield* this.pushSpaces(true)) +\n (yield* this.pushIndicators()));\n }\n }\n }\n return 0;\n }\n *pushTag() {\n if (this.charAt(1) === '<') {\n let i = this.pos + 2;\n let ch = this.buffer[i];\n while (!isEmpty(ch) && ch !== '>')\n ch = this.buffer[++i];\n return yield* this.pushToIndex(ch === '>' ? i + 1 : i, false);\n }\n else {\n let i = this.pos + 1;\n let ch = this.buffer[i];\n while (ch) {\n if (tagChars.includes(ch))\n ch = this.buffer[++i];\n else if (ch === '%' &&\n hexDigits.includes(this.buffer[i + 1]) &&\n hexDigits.includes(this.buffer[i + 2])) {\n ch = this.buffer[(i += 3)];\n }\n else\n break;\n }\n return yield* this.pushToIndex(i, false);\n }\n }\n *pushNewline() {\n const ch = this.buffer[this.pos];\n if (ch === '\\n')\n return yield* this.pushCount(1);\n else if (ch === '\\r' && this.charAt(1) === '\\n')\n return yield* this.pushCount(2);\n else\n return 0;\n }\n *pushSpaces(allowTabs) {\n let i = this.pos - 1;\n let ch;\n do {\n ch = this.buffer[++i];\n } while (ch === ' ' || (allowTabs && ch === '\\t'));\n const n = i - this.pos;\n if (n > 0) {\n yield this.buffer.substr(this.pos, n);\n this.pos = i;\n }\n return n;\n }\n *pushUntil(test) {\n let i = this.pos;\n let ch = this.buffer[i];\n while (!test(ch))\n ch = this.buffer[++i];\n return yield* this.pushToIndex(i, false);\n }\n}\n\nexports.Lexer = Lexer;\n","'use strict';\n\n/**\n * Tracks newlines during parsing in order to provide an efficient API for\n * determining the one-indexed `{ line, col }` position for any offset\n * within the input.\n */\nclass LineCounter {\n constructor() {\n this.lineStarts = [];\n /**\n * Should be called in ascending order. Otherwise, call\n * `lineCounter.lineStarts.sort()` before calling `linePos()`.\n */\n this.addNewLine = (offset) => this.lineStarts.push(offset);\n /**\n * Performs a binary search and returns the 1-indexed { line, col }\n * position of `offset`. If `line === 0`, `addNewLine` has never been\n * called or `offset` is before the first known newline.\n */\n this.linePos = (offset) => {\n let low = 0;\n let high = this.lineStarts.length;\n while (low < high) {\n const mid = (low + high) >> 1; // Math.floor((low + high) / 2)\n if (this.lineStarts[mid] < offset)\n low = mid + 1;\n else\n high = mid;\n }\n if (this.lineStarts[low] === offset)\n return { line: low + 1, col: 1 };\n if (low === 0)\n return { line: 0, col: offset };\n const start = this.lineStarts[low - 1];\n return { line: low, col: offset - start + 1 };\n };\n }\n}\n\nexports.LineCounter = LineCounter;\n","'use strict';\n\nvar cst = require('./cst.js');\nvar lexer = require('./lexer.js');\n\nfunction includesToken(list, type) {\n for (let i = 0; i < list.length; ++i)\n if (list[i].type === type)\n return true;\n return false;\n}\nfunction findNonEmptyIndex(list) {\n for (let i = 0; i < list.length; ++i) {\n switch (list[i].type) {\n case 'space':\n case 'comment':\n case 'newline':\n break;\n default:\n return i;\n }\n }\n return -1;\n}\nfunction isFlowToken(token) {\n switch (token?.type) {\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n case 'flow-collection':\n return true;\n default:\n return false;\n }\n}\nfunction getPrevProps(parent) {\n switch (parent.type) {\n case 'document':\n return parent.start;\n case 'block-map': {\n const it = parent.items[parent.items.length - 1];\n return it.sep ?? it.start;\n }\n case 'block-seq':\n return parent.items[parent.items.length - 1].start;\n /* istanbul ignore next should not happen */\n default:\n return [];\n }\n}\n/** Note: May modify input array */\nfunction getFirstKeyStartProps(prev) {\n if (prev.length === 0)\n return [];\n let i = prev.length;\n loop: while (--i >= 0) {\n switch (prev[i].type) {\n case 'doc-start':\n case 'explicit-key-ind':\n case 'map-value-ind':\n case 'seq-item-ind':\n case 'newline':\n break loop;\n }\n }\n while (prev[++i]?.type === 'space') {\n /* loop */\n }\n return prev.splice(i, prev.length);\n}\nfunction fixFlowSeqItems(fc) {\n if (fc.start.type === 'flow-seq-start') {\n for (const it of fc.items) {\n if (it.sep &&\n !it.value &&\n !includesToken(it.start, 'explicit-key-ind') &&\n !includesToken(it.sep, 'map-value-ind')) {\n if (it.key)\n it.value = it.key;\n delete it.key;\n if (isFlowToken(it.value)) {\n if (it.value.end)\n Array.prototype.push.apply(it.value.end, it.sep);\n else\n it.value.end = it.sep;\n }\n else\n Array.prototype.push.apply(it.start, it.sep);\n delete it.sep;\n }\n }\n }\n}\n/**\n * A YAML concrete syntax tree (CST) parser\n *\n * ```ts\n * const src: string = ...\n * for (const token of new Parser().parse(src)) {\n * // token: Token\n * }\n * ```\n *\n * To use the parser with a user-provided lexer:\n *\n * ```ts\n * function* parse(source: string, lexer: Lexer) {\n * const parser = new Parser()\n * for (const lexeme of lexer.lex(source))\n * yield* parser.next(lexeme)\n * yield* parser.end()\n * }\n *\n * const src: string = ...\n * const lexer = new Lexer()\n * for (const token of parse(src, lexer)) {\n * // token: Token\n * }\n * ```\n */\nclass Parser {\n /**\n * @param onNewLine - If defined, called separately with the start position of\n * each new line (in `parse()`, including the start of input).\n */\n constructor(onNewLine) {\n /** If true, space and sequence indicators count as indentation */\n this.atNewLine = true;\n /** If true, next token is a scalar value */\n this.atScalar = false;\n /** Current indentation level */\n this.indent = 0;\n /** Current offset since the start of parsing */\n this.offset = 0;\n /** On the same line with a block map key */\n this.onKeyLine = false;\n /** Top indicates the node that's currently being built */\n this.stack = [];\n /** The source of the current token, set in parse() */\n this.source = '';\n /** The type of the current token, set in parse() */\n this.type = '';\n // Must be defined after `next()`\n this.lexer = new lexer.Lexer();\n this.onNewLine = onNewLine;\n }\n /**\n * Parse `source` as a YAML stream.\n * If `incomplete`, a part of the last line may be left as a buffer for the next call.\n *\n * Errors are not thrown, but yielded as `{ type: 'error', message }` tokens.\n *\n * @returns A generator of tokens representing each directive, document, and other structure.\n */\n *parse(source, incomplete = false) {\n if (this.onNewLine && this.offset === 0)\n this.onNewLine(0);\n for (const lexeme of this.lexer.lex(source, incomplete))\n yield* this.next(lexeme);\n if (!incomplete)\n yield* this.end();\n }\n /**\n * Advance the parser by the `source` of one lexical token.\n */\n *next(source) {\n this.source = source;\n if (process.env.LOG_TOKENS)\n console.log('|', cst.prettyToken(source));\n if (this.atScalar) {\n this.atScalar = false;\n yield* this.step();\n this.offset += source.length;\n return;\n }\n const type = cst.tokenType(source);\n if (!type) {\n const message = `Not a YAML token: ${source}`;\n yield* this.pop({ type: 'error', offset: this.offset, message, source });\n this.offset += source.length;\n }\n else if (type === 'scalar') {\n this.atNewLine = false;\n this.atScalar = true;\n this.type = 'scalar';\n }\n else {\n this.type = type;\n yield* this.step();\n switch (type) {\n case 'newline':\n this.atNewLine = true;\n this.indent = 0;\n if (this.onNewLine)\n this.onNewLine(this.offset + source.length);\n break;\n case 'space':\n if (this.atNewLine && source[0] === ' ')\n this.indent += source.length;\n break;\n case 'explicit-key-ind':\n case 'map-value-ind':\n case 'seq-item-ind':\n if (this.atNewLine)\n this.indent += source.length;\n break;\n case 'doc-mode':\n case 'flow-error-end':\n return;\n default:\n this.atNewLine = false;\n }\n this.offset += source.length;\n }\n }\n /** Call at end of input to push out any remaining constructions */\n *end() {\n while (this.stack.length > 0)\n yield* this.pop();\n }\n get sourceToken() {\n const st = {\n type: this.type,\n offset: this.offset,\n indent: this.indent,\n source: this.source\n };\n return st;\n }\n *step() {\n const top = this.peek(1);\n if (this.type === 'doc-end' && (!top || top.type !== 'doc-end')) {\n while (this.stack.length > 0)\n yield* this.pop();\n this.stack.push({\n type: 'doc-end',\n offset: this.offset,\n source: this.source\n });\n return;\n }\n if (!top)\n return yield* this.stream();\n switch (top.type) {\n case 'document':\n return yield* this.document(top);\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n return yield* this.scalar(top);\n case 'block-scalar':\n return yield* this.blockScalar(top);\n case 'block-map':\n return yield* this.blockMap(top);\n case 'block-seq':\n return yield* this.blockSequence(top);\n case 'flow-collection':\n return yield* this.flowCollection(top);\n case 'doc-end':\n return yield* this.documentEnd(top);\n }\n /* istanbul ignore next should not happen */\n yield* this.pop();\n }\n peek(n) {\n return this.stack[this.stack.length - n];\n }\n *pop(error) {\n const token = error ?? this.stack.pop();\n /* istanbul ignore if should not happen */\n if (!token) {\n const message = 'Tried to pop an empty stack';\n yield { type: 'error', offset: this.offset, source: '', message };\n }\n else if (this.stack.length === 0) {\n yield token;\n }\n else {\n const top = this.peek(1);\n if (token.type === 'block-scalar') {\n // Block scalars use their parent rather than header indent\n token.indent = 'indent' in top ? top.indent : 0;\n }\n else if (token.type === 'flow-collection' && top.type === 'document') {\n // Ignore all indent for top-level flow collections\n token.indent = 0;\n }\n if (token.type === 'flow-collection')\n fixFlowSeqItems(token);\n switch (top.type) {\n case 'document':\n top.value = token;\n break;\n case 'block-scalar':\n top.props.push(token); // error\n break;\n case 'block-map': {\n const it = top.items[top.items.length - 1];\n if (it.value) {\n top.items.push({ start: [], key: token, sep: [] });\n this.onKeyLine = true;\n return;\n }\n else if (it.sep) {\n it.value = token;\n }\n else {\n Object.assign(it, { key: token, sep: [] });\n this.onKeyLine = !includesToken(it.start, 'explicit-key-ind');\n return;\n }\n break;\n }\n case 'block-seq': {\n const it = top.items[top.items.length - 1];\n if (it.value)\n top.items.push({ start: [], value: token });\n else\n it.value = token;\n break;\n }\n case 'flow-collection': {\n const it = top.items[top.items.length - 1];\n if (!it || it.value)\n top.items.push({ start: [], key: token, sep: [] });\n else if (it.sep)\n it.value = token;\n else\n Object.assign(it, { key: token, sep: [] });\n return;\n }\n /* istanbul ignore next should not happen */\n default:\n yield* this.pop();\n yield* this.pop(token);\n }\n if ((top.type === 'document' ||\n top.type === 'block-map' ||\n top.type === 'block-seq') &&\n (token.type === 'block-map' || token.type === 'block-seq')) {\n const last = token.items[token.items.length - 1];\n if (last &&\n !last.sep &&\n !last.value &&\n last.start.length > 0 &&\n findNonEmptyIndex(last.start) === -1 &&\n (token.indent === 0 ||\n last.start.every(st => st.type !== 'comment' || st.indent < token.indent))) {\n if (top.type === 'document')\n top.end = last.start;\n else\n top.items.push({ start: last.start });\n token.items.splice(-1, 1);\n }\n }\n }\n }\n *stream() {\n switch (this.type) {\n case 'directive-line':\n yield { type: 'directive', offset: this.offset, source: this.source };\n return;\n case 'byte-order-mark':\n case 'space':\n case 'comment':\n case 'newline':\n yield this.sourceToken;\n return;\n case 'doc-mode':\n case 'doc-start': {\n const doc = {\n type: 'document',\n offset: this.offset,\n start: []\n };\n if (this.type === 'doc-start')\n doc.start.push(this.sourceToken);\n this.stack.push(doc);\n return;\n }\n }\n yield {\n type: 'error',\n offset: this.offset,\n message: `Unexpected ${this.type} token in YAML stream`,\n source: this.source\n };\n }\n *document(doc) {\n if (doc.value)\n return yield* this.lineEnd(doc);\n switch (this.type) {\n case 'doc-start': {\n if (findNonEmptyIndex(doc.start) !== -1) {\n yield* this.pop();\n yield* this.step();\n }\n else\n doc.start.push(this.sourceToken);\n return;\n }\n case 'anchor':\n case 'tag':\n case 'space':\n case 'comment':\n case 'newline':\n doc.start.push(this.sourceToken);\n return;\n }\n const bv = this.startBlockValue(doc);\n if (bv)\n this.stack.push(bv);\n else {\n yield {\n type: 'error',\n offset: this.offset,\n message: `Unexpected ${this.type} token in YAML document`,\n source: this.source\n };\n }\n }\n *scalar(scalar) {\n if (this.type === 'map-value-ind') {\n const prev = getPrevProps(this.peek(2));\n const start = getFirstKeyStartProps(prev);\n let sep;\n if (scalar.end) {\n sep = scalar.end;\n sep.push(this.sourceToken);\n delete scalar.end;\n }\n else\n sep = [this.sourceToken];\n const map = {\n type: 'block-map',\n offset: scalar.offset,\n indent: scalar.indent,\n items: [{ start, key: scalar, sep }]\n };\n this.onKeyLine = true;\n this.stack[this.stack.length - 1] = map;\n }\n else\n yield* this.lineEnd(scalar);\n }\n *blockScalar(scalar) {\n switch (this.type) {\n case 'space':\n case 'comment':\n case 'newline':\n scalar.props.push(this.sourceToken);\n return;\n case 'scalar':\n scalar.source = this.source;\n // block-scalar source includes trailing newline\n this.atNewLine = true;\n this.indent = 0;\n if (this.onNewLine) {\n let nl = this.source.indexOf('\\n') + 1;\n while (nl !== 0) {\n this.onNewLine(this.offset + nl);\n nl = this.source.indexOf('\\n', nl) + 1;\n }\n }\n yield* this.pop();\n break;\n /* istanbul ignore next should not happen */\n default:\n yield* this.pop();\n yield* this.step();\n }\n }\n *blockMap(map) {\n const it = map.items[map.items.length - 1];\n // it.sep is true-ish if pair already has key or : separator\n switch (this.type) {\n case 'newline':\n this.onKeyLine = false;\n if (it.value) {\n const end = 'end' in it.value ? it.value.end : undefined;\n const last = Array.isArray(end) ? end[end.length - 1] : undefined;\n if (last?.type === 'comment')\n end?.push(this.sourceToken);\n else\n map.items.push({ start: [this.sourceToken] });\n }\n else if (it.sep) {\n it.sep.push(this.sourceToken);\n }\n else {\n it.start.push(this.sourceToken);\n }\n return;\n case 'space':\n case 'comment':\n if (it.value) {\n map.items.push({ start: [this.sourceToken] });\n }\n else if (it.sep) {\n it.sep.push(this.sourceToken);\n }\n else {\n if (this.atIndentedComment(it.start, map.indent)) {\n const prev = map.items[map.items.length - 2];\n const end = prev?.value?.end;\n if (Array.isArray(end)) {\n Array.prototype.push.apply(end, it.start);\n end.push(this.sourceToken);\n map.items.pop();\n return;\n }\n }\n it.start.push(this.sourceToken);\n }\n return;\n }\n if (this.indent >= map.indent) {\n const atNextItem = !this.onKeyLine && this.indent === map.indent && it.sep;\n // For empty nodes, assign newline-separated not indented empty tokens to following node\n let start = [];\n if (atNextItem && it.sep && !it.value) {\n const nl = [];\n for (let i = 0; i < it.sep.length; ++i) {\n const st = it.sep[i];\n switch (st.type) {\n case 'newline':\n nl.push(i);\n break;\n case 'space':\n break;\n case 'comment':\n if (st.indent > map.indent)\n nl.length = 0;\n break;\n default:\n nl.length = 0;\n }\n }\n if (nl.length >= 2)\n start = it.sep.splice(nl[1]);\n }\n switch (this.type) {\n case 'anchor':\n case 'tag':\n if (atNextItem || it.value) {\n start.push(this.sourceToken);\n map.items.push({ start });\n this.onKeyLine = true;\n }\n else if (it.sep) {\n it.sep.push(this.sourceToken);\n }\n else {\n it.start.push(this.sourceToken);\n }\n return;\n case 'explicit-key-ind':\n if (!it.sep && !includesToken(it.start, 'explicit-key-ind')) {\n it.start.push(this.sourceToken);\n }\n else if (atNextItem || it.value) {\n start.push(this.sourceToken);\n map.items.push({ start });\n }\n else {\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start: [this.sourceToken] }]\n });\n }\n this.onKeyLine = true;\n return;\n case 'map-value-ind':\n if (includesToken(it.start, 'explicit-key-ind')) {\n if (!it.sep) {\n if (includesToken(it.start, 'newline')) {\n Object.assign(it, { key: null, sep: [this.sourceToken] });\n }\n else {\n const start = getFirstKeyStartProps(it.start);\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key: null, sep: [this.sourceToken] }]\n });\n }\n }\n else if (it.value) {\n map.items.push({ start: [], key: null, sep: [this.sourceToken] });\n }\n else if (includesToken(it.sep, 'map-value-ind')) {\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key: null, sep: [this.sourceToken] }]\n });\n }\n else if (isFlowToken(it.key) &&\n !includesToken(it.sep, 'newline')) {\n const start = getFirstKeyStartProps(it.start);\n const key = it.key;\n const sep = it.sep;\n sep.push(this.sourceToken);\n // @ts-expect-error type guard is wrong here\n delete it.key, delete it.sep;\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key, sep }]\n });\n }\n else if (start.length > 0) {\n // Not actually at next item\n it.sep = it.sep.concat(start, this.sourceToken);\n }\n else {\n it.sep.push(this.sourceToken);\n }\n }\n else {\n if (!it.sep) {\n Object.assign(it, { key: null, sep: [this.sourceToken] });\n }\n else if (it.value || atNextItem) {\n map.items.push({ start, key: null, sep: [this.sourceToken] });\n }\n else if (includesToken(it.sep, 'map-value-ind')) {\n this.stack.push({\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start: [], key: null, sep: [this.sourceToken] }]\n });\n }\n else {\n it.sep.push(this.sourceToken);\n }\n }\n this.onKeyLine = true;\n return;\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar': {\n const fs = this.flowScalar(this.type);\n if (atNextItem || it.value) {\n map.items.push({ start, key: fs, sep: [] });\n this.onKeyLine = true;\n }\n else if (it.sep) {\n this.stack.push(fs);\n }\n else {\n Object.assign(it, { key: fs, sep: [] });\n this.onKeyLine = true;\n }\n return;\n }\n default: {\n const bv = this.startBlockValue(map);\n if (bv) {\n if (atNextItem &&\n bv.type !== 'block-seq' &&\n includesToken(it.start, 'explicit-key-ind')) {\n map.items.push({ start });\n }\n this.stack.push(bv);\n return;\n }\n }\n }\n }\n yield* this.pop();\n yield* this.step();\n }\n *blockSequence(seq) {\n const it = seq.items[seq.items.length - 1];\n switch (this.type) {\n case 'newline':\n if (it.value) {\n const end = 'end' in it.value ? it.value.end : undefined;\n const last = Array.isArray(end) ? end[end.length - 1] : undefined;\n if (last?.type === 'comment')\n end?.push(this.sourceToken);\n else\n seq.items.push({ start: [this.sourceToken] });\n }\n else\n it.start.push(this.sourceToken);\n return;\n case 'space':\n case 'comment':\n if (it.value)\n seq.items.push({ start: [this.sourceToken] });\n else {\n if (this.atIndentedComment(it.start, seq.indent)) {\n const prev = seq.items[seq.items.length - 2];\n const end = prev?.value?.end;\n if (Array.isArray(end)) {\n Array.prototype.push.apply(end, it.start);\n end.push(this.sourceToken);\n seq.items.pop();\n return;\n }\n }\n it.start.push(this.sourceToken);\n }\n return;\n case 'anchor':\n case 'tag':\n if (it.value || this.indent <= seq.indent)\n break;\n it.start.push(this.sourceToken);\n return;\n case 'seq-item-ind':\n if (this.indent !== seq.indent)\n break;\n if (it.value || includesToken(it.start, 'seq-item-ind'))\n seq.items.push({ start: [this.sourceToken] });\n else\n it.start.push(this.sourceToken);\n return;\n }\n if (this.indent > seq.indent) {\n const bv = this.startBlockValue(seq);\n if (bv) {\n this.stack.push(bv);\n return;\n }\n }\n yield* this.pop();\n yield* this.step();\n }\n *flowCollection(fc) {\n const it = fc.items[fc.items.length - 1];\n if (this.type === 'flow-error-end') {\n let top;\n do {\n yield* this.pop();\n top = this.peek(1);\n } while (top && top.type === 'flow-collection');\n }\n else if (fc.end.length === 0) {\n switch (this.type) {\n case 'comma':\n case 'explicit-key-ind':\n if (!it || it.sep)\n fc.items.push({ start: [this.sourceToken] });\n else\n it.start.push(this.sourceToken);\n return;\n case 'map-value-ind':\n if (!it || it.value)\n fc.items.push({ start: [], key: null, sep: [this.sourceToken] });\n else if (it.sep)\n it.sep.push(this.sourceToken);\n else\n Object.assign(it, { key: null, sep: [this.sourceToken] });\n return;\n case 'space':\n case 'comment':\n case 'newline':\n case 'anchor':\n case 'tag':\n if (!it || it.value)\n fc.items.push({ start: [this.sourceToken] });\n else if (it.sep)\n it.sep.push(this.sourceToken);\n else\n it.start.push(this.sourceToken);\n return;\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar': {\n const fs = this.flowScalar(this.type);\n if (!it || it.value)\n fc.items.push({ start: [], key: fs, sep: [] });\n else if (it.sep)\n this.stack.push(fs);\n else\n Object.assign(it, { key: fs, sep: [] });\n return;\n }\n case 'flow-map-end':\n case 'flow-seq-end':\n fc.end.push(this.sourceToken);\n return;\n }\n const bv = this.startBlockValue(fc);\n /* istanbul ignore else should not happen */\n if (bv)\n this.stack.push(bv);\n else {\n yield* this.pop();\n yield* this.step();\n }\n }\n else {\n const parent = this.peek(2);\n if (parent.type === 'block-map' &&\n ((this.type === 'map-value-ind' && parent.indent === fc.indent) ||\n (this.type === 'newline' &&\n !parent.items[parent.items.length - 1].sep))) {\n yield* this.pop();\n yield* this.step();\n }\n else if (this.type === 'map-value-ind' &&\n parent.type !== 'flow-collection') {\n const prev = getPrevProps(parent);\n const start = getFirstKeyStartProps(prev);\n fixFlowSeqItems(fc);\n const sep = fc.end.splice(1, fc.end.length);\n sep.push(this.sourceToken);\n const map = {\n type: 'block-map',\n offset: fc.offset,\n indent: fc.indent,\n items: [{ start, key: fc, sep }]\n };\n this.onKeyLine = true;\n this.stack[this.stack.length - 1] = map;\n }\n else {\n yield* this.lineEnd(fc);\n }\n }\n }\n flowScalar(type) {\n if (this.onNewLine) {\n let nl = this.source.indexOf('\\n') + 1;\n while (nl !== 0) {\n this.onNewLine(this.offset + nl);\n nl = this.source.indexOf('\\n', nl) + 1;\n }\n }\n return {\n type,\n offset: this.offset,\n indent: this.indent,\n source: this.source\n };\n }\n startBlockValue(parent) {\n switch (this.type) {\n case 'alias':\n case 'scalar':\n case 'single-quoted-scalar':\n case 'double-quoted-scalar':\n return this.flowScalar(this.type);\n case 'block-scalar-header':\n return {\n type: 'block-scalar',\n offset: this.offset,\n indent: this.indent,\n props: [this.sourceToken],\n source: ''\n };\n case 'flow-map-start':\n case 'flow-seq-start':\n return {\n type: 'flow-collection',\n offset: this.offset,\n indent: this.indent,\n start: this.sourceToken,\n items: [],\n end: []\n };\n case 'seq-item-ind':\n return {\n type: 'block-seq',\n offset: this.offset,\n indent: this.indent,\n items: [{ start: [this.sourceToken] }]\n };\n case 'explicit-key-ind': {\n this.onKeyLine = true;\n const prev = getPrevProps(parent);\n const start = getFirstKeyStartProps(prev);\n start.push(this.sourceToken);\n return {\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start }]\n };\n }\n case 'map-value-ind': {\n this.onKeyLine = true;\n const prev = getPrevProps(parent);\n const start = getFirstKeyStartProps(prev);\n return {\n type: 'block-map',\n offset: this.offset,\n indent: this.indent,\n items: [{ start, key: null, sep: [this.sourceToken] }]\n };\n }\n }\n return null;\n }\n atIndentedComment(start, indent) {\n if (this.type !== 'comment')\n return false;\n if (this.indent <= indent)\n return false;\n return start.every(st => st.type === 'newline' || st.type === 'space');\n }\n *documentEnd(docEnd) {\n if (this.type !== 'doc-mode') {\n if (docEnd.end)\n docEnd.end.push(this.sourceToken);\n else\n docEnd.end = [this.sourceToken];\n if (this.type === 'newline')\n yield* this.pop();\n }\n }\n *lineEnd(token) {\n switch (this.type) {\n case 'comma':\n case 'doc-start':\n case 'doc-end':\n case 'flow-seq-end':\n case 'flow-map-end':\n case 'map-value-ind':\n yield* this.pop();\n yield* this.step();\n break;\n case 'newline':\n this.onKeyLine = false;\n // fallthrough\n case 'space':\n case 'comment':\n default:\n // all other values are errors\n if (token.end)\n token.end.push(this.sourceToken);\n else\n token.end = [this.sourceToken];\n if (this.type === 'newline')\n yield* this.pop();\n }\n }\n}\n\nexports.Parser = Parser;\n","'use strict';\n\nvar composer = require('./compose/composer.js');\nvar Document = require('./doc/Document.js');\nvar errors = require('./errors.js');\nvar log = require('./log.js');\nvar lineCounter = require('./parse/line-counter.js');\nvar parser = require('./parse/parser.js');\n\nfunction parseOptions(options) {\n const prettyErrors = options.prettyErrors !== false;\n const lineCounter$1 = options.lineCounter || (prettyErrors && new lineCounter.LineCounter()) || null;\n return { lineCounter: lineCounter$1, prettyErrors };\n}\n/**\n * Parse the input as a stream of YAML documents.\n *\n * Documents should be separated from each other by `...` or `---` marker lines.\n *\n * @returns If an empty `docs` array is returned, it will be of type\n * EmptyStream and contain additional stream information. In\n * TypeScript, you should use `'empty' in docs` as a type guard for it.\n */\nfunction parseAllDocuments(source, options = {}) {\n const { lineCounter, prettyErrors } = parseOptions(options);\n const parser$1 = new parser.Parser(lineCounter?.addNewLine);\n const composer$1 = new composer.Composer(options);\n const docs = Array.from(composer$1.compose(parser$1.parse(source)));\n if (prettyErrors && lineCounter)\n for (const doc of docs) {\n doc.errors.forEach(errors.prettifyError(source, lineCounter));\n doc.warnings.forEach(errors.prettifyError(source, lineCounter));\n }\n if (docs.length > 0)\n return docs;\n return Object.assign([], { empty: true }, composer$1.streamInfo());\n}\n/** Parse an input string into a single YAML.Document */\nfunction parseDocument(source, options = {}) {\n const { lineCounter, prettyErrors } = parseOptions(options);\n const parser$1 = new parser.Parser(lineCounter?.addNewLine);\n const composer$1 = new composer.Composer(options);\n // `doc` is always set by compose.end(true) at the very latest\n let doc = null;\n for (const _doc of composer$1.compose(parser$1.parse(source), true, source.length)) {\n if (!doc)\n doc = _doc;\n else if (doc.options.logLevel !== 'silent') {\n doc.errors.push(new errors.YAMLParseError(_doc.range.slice(0, 2), 'MULTIPLE_DOCS', 'Source contains multiple documents; please use YAML.parseAllDocuments()'));\n break;\n }\n }\n if (prettyErrors && lineCounter) {\n doc.errors.forEach(errors.prettifyError(source, lineCounter));\n doc.warnings.forEach(errors.prettifyError(source, lineCounter));\n }\n return doc;\n}\nfunction parse(src, reviver, options) {\n let _reviver = undefined;\n if (typeof reviver === 'function') {\n _reviver = reviver;\n }\n else if (options === undefined && reviver && typeof reviver === 'object') {\n options = reviver;\n }\n const doc = parseDocument(src, options);\n if (!doc)\n return null;\n doc.warnings.forEach(warning => log.warn(doc.options.logLevel, warning));\n if (doc.errors.length > 0) {\n if (doc.options.logLevel !== 'silent')\n throw doc.errors[0];\n else\n doc.errors = [];\n }\n return doc.toJS(Object.assign({ reviver: _reviver }, options));\n}\nfunction stringify(value, replacer, options) {\n let _replacer = null;\n if (typeof replacer === 'function' || Array.isArray(replacer)) {\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n }\n if (typeof options === 'string')\n options = options.length;\n if (typeof options === 'number') {\n const indent = Math.round(options);\n options = indent < 1 ? undefined : indent > 8 ? { indent: 8 } : { indent };\n }\n if (value === undefined) {\n const { keepUndefined } = options ?? replacer ?? {};\n if (!keepUndefined)\n return undefined;\n }\n return new Document.Document(value, _replacer, options).toString(options);\n}\n\nexports.parse = parse;\nexports.parseAllDocuments = parseAllDocuments;\nexports.parseDocument = parseDocument;\nexports.stringify = stringify;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar map = require('./common/map.js');\nvar seq = require('./common/seq.js');\nvar string = require('./common/string.js');\nvar tags = require('./tags.js');\n\nconst sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0;\nclass Schema {\n constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) {\n this.compat = Array.isArray(compat)\n ? tags.getTags(compat, 'compat')\n : compat\n ? tags.getTags(null, compat)\n : null;\n this.merge = !!merge;\n this.name = (typeof schema === 'string' && schema) || 'core';\n this.knownTags = resolveKnownTags ? tags.coreKnownTags : {};\n this.tags = tags.getTags(customTags, this.name);\n this.toStringOptions = toStringDefaults ?? null;\n Object.defineProperty(this, identity.MAP, { value: map.map });\n Object.defineProperty(this, identity.SCALAR, { value: string.string });\n Object.defineProperty(this, identity.SEQ, { value: seq.seq });\n // Used by createMap()\n this.sortMapEntries =\n typeof sortMapEntries === 'function'\n ? sortMapEntries\n : sortMapEntries === true\n ? sortMapEntriesByKey\n : null;\n }\n clone() {\n const copy = Object.create(Schema.prototype, Object.getOwnPropertyDescriptors(this));\n copy.tags = this.tags.slice();\n return copy;\n }\n}\n\nexports.Schema = Schema;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar YAMLMap = require('../../nodes/YAMLMap.js');\n\nconst map = {\n collection: 'map',\n default: true,\n nodeClass: YAMLMap.YAMLMap,\n tag: 'tag:yaml.org,2002:map',\n resolve(map, onError) {\n if (!identity.isMap(map))\n onError('Expected a mapping for this tag');\n return map;\n },\n createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)\n};\n\nexports.map = map;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\n\nconst nullTag = {\n identify: value => value == null,\n createNode: () => new Scalar.Scalar(null),\n default: true,\n tag: 'tag:yaml.org,2002:null',\n test: /^(?:~|[Nn]ull|NULL)?$/,\n resolve: () => new Scalar.Scalar(null),\n stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source)\n ? source\n : ctx.options.nullStr\n};\n\nexports.nullTag = nullTag;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar YAMLSeq = require('../../nodes/YAMLSeq.js');\n\nconst seq = {\n collection: 'seq',\n default: true,\n nodeClass: YAMLSeq.YAMLSeq,\n tag: 'tag:yaml.org,2002:seq',\n resolve(seq, onError) {\n if (!identity.isSeq(seq))\n onError('Expected a sequence for this tag');\n return seq;\n },\n createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx)\n};\n\nexports.seq = seq;\n","'use strict';\n\nvar stringifyString = require('../../stringify/stringifyString.js');\n\nconst string = {\n identify: value => typeof value === 'string',\n default: true,\n tag: 'tag:yaml.org,2002:str',\n resolve: str => str,\n stringify(item, ctx, onComment, onChompKeep) {\n ctx = Object.assign({ actualString: true }, ctx);\n return stringifyString.stringifyString(item, ctx, onComment, onChompKeep);\n }\n};\n\nexports.string = string;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\n\nconst boolTag = {\n identify: value => typeof value === 'boolean',\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,\n resolve: str => new Scalar.Scalar(str[0] === 't' || str[0] === 'T'),\n stringify({ source, value }, ctx) {\n if (source && boolTag.test.test(source)) {\n const sv = source[0] === 't' || source[0] === 'T';\n if (value === sv)\n return source;\n }\n return value ? ctx.options.trueStr : ctx.options.falseStr;\n }\n};\n\nexports.boolTag = boolTag;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst floatNaN = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^(?:[-+]?\\.(?:inf|Inf|INF|nan|NaN|NAN))$/,\n resolve: str => str.slice(-3).toLowerCase() === 'nan'\n ? NaN\n : str[0] === '-'\n ? Number.NEGATIVE_INFINITY\n : Number.POSITIVE_INFINITY,\n stringify: stringifyNumber.stringifyNumber\n};\nconst floatExp = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n format: 'EXP',\n test: /^[-+]?(?:\\.[0-9]+|[0-9]+(?:\\.[0-9]*)?)[eE][-+]?[0-9]+$/,\n resolve: str => parseFloat(str),\n stringify(node) {\n const num = Number(node.value);\n return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node);\n }\n};\nconst float = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^[-+]?(?:\\.[0-9]+|[0-9]+\\.[0-9]*)$/,\n resolve(str) {\n const node = new Scalar.Scalar(parseFloat(str));\n const dot = str.indexOf('.');\n if (dot !== -1 && str[str.length - 1] === '0')\n node.minFractionDigits = str.length - dot - 1;\n return node;\n },\n stringify: stringifyNumber.stringifyNumber\n};\n\nexports.float = float;\nexports.floatExp = floatExp;\nexports.floatNaN = floatNaN;\n","'use strict';\n\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst intIdentify = (value) => typeof value === 'bigint' || Number.isInteger(value);\nconst intResolve = (str, offset, radix, { intAsBigInt }) => (intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix));\nfunction intStringify(node, radix, prefix) {\n const { value } = node;\n if (intIdentify(value) && value >= 0)\n return prefix + value.toString(radix);\n return stringifyNumber.stringifyNumber(node);\n}\nconst intOct = {\n identify: value => intIdentify(value) && value >= 0,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'OCT',\n test: /^0o[0-7]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 8, opt),\n stringify: node => intStringify(node, 8, '0o')\n};\nconst int = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n test: /^[-+]?[0-9]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt),\n stringify: stringifyNumber.stringifyNumber\n};\nconst intHex = {\n identify: value => intIdentify(value) && value >= 0,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'HEX',\n test: /^0x[0-9a-fA-F]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),\n stringify: node => intStringify(node, 16, '0x')\n};\n\nexports.int = int;\nexports.intHex = intHex;\nexports.intOct = intOct;\n","'use strict';\n\nvar map = require('../common/map.js');\nvar _null = require('../common/null.js');\nvar seq = require('../common/seq.js');\nvar string = require('../common/string.js');\nvar bool = require('./bool.js');\nvar float = require('./float.js');\nvar int = require('./int.js');\n\nconst schema = [\n map.map,\n seq.seq,\n string.string,\n _null.nullTag,\n bool.boolTag,\n int.intOct,\n int.int,\n int.intHex,\n float.floatNaN,\n float.floatExp,\n float.float\n];\n\nexports.schema = schema;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar map = require('../common/map.js');\nvar seq = require('../common/seq.js');\n\nfunction intIdentify(value) {\n return typeof value === 'bigint' || Number.isInteger(value);\n}\nconst stringifyJSON = ({ value }) => JSON.stringify(value);\nconst jsonScalars = [\n {\n identify: value => typeof value === 'string',\n default: true,\n tag: 'tag:yaml.org,2002:str',\n resolve: str => str,\n stringify: stringifyJSON\n },\n {\n identify: value => value == null,\n createNode: () => new Scalar.Scalar(null),\n default: true,\n tag: 'tag:yaml.org,2002:null',\n test: /^null$/,\n resolve: () => null,\n stringify: stringifyJSON\n },\n {\n identify: value => typeof value === 'boolean',\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^true|false$/,\n resolve: str => str === 'true',\n stringify: stringifyJSON\n },\n {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n test: /^-?(?:0|[1-9][0-9]*)$/,\n resolve: (str, _onError, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str, 10),\n stringify: ({ value }) => intIdentify(value) ? value.toString() : JSON.stringify(value)\n },\n {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,\n resolve: str => parseFloat(str),\n stringify: stringifyJSON\n }\n];\nconst jsonError = {\n default: true,\n tag: '',\n test: /^/,\n resolve(str, onError) {\n onError(`Unresolved plain scalar ${JSON.stringify(str)}`);\n return str;\n }\n};\nconst schema = [map.map, seq.seq].concat(jsonScalars, jsonError);\n\nexports.schema = schema;\n","'use strict';\n\nvar map = require('./common/map.js');\nvar _null = require('./common/null.js');\nvar seq = require('./common/seq.js');\nvar string = require('./common/string.js');\nvar bool = require('./core/bool.js');\nvar float = require('./core/float.js');\nvar int = require('./core/int.js');\nvar schema = require('./core/schema.js');\nvar schema$1 = require('./json/schema.js');\nvar binary = require('./yaml-1.1/binary.js');\nvar omap = require('./yaml-1.1/omap.js');\nvar pairs = require('./yaml-1.1/pairs.js');\nvar schema$2 = require('./yaml-1.1/schema.js');\nvar set = require('./yaml-1.1/set.js');\nvar timestamp = require('./yaml-1.1/timestamp.js');\n\nconst schemas = new Map([\n ['core', schema.schema],\n ['failsafe', [map.map, seq.seq, string.string]],\n ['json', schema$1.schema],\n ['yaml11', schema$2.schema],\n ['yaml-1.1', schema$2.schema]\n]);\nconst tagsByName = {\n binary: binary.binary,\n bool: bool.boolTag,\n float: float.float,\n floatExp: float.floatExp,\n floatNaN: float.floatNaN,\n floatTime: timestamp.floatTime,\n int: int.int,\n intHex: int.intHex,\n intOct: int.intOct,\n intTime: timestamp.intTime,\n map: map.map,\n null: _null.nullTag,\n omap: omap.omap,\n pairs: pairs.pairs,\n seq: seq.seq,\n set: set.set,\n timestamp: timestamp.timestamp\n};\nconst coreKnownTags = {\n 'tag:yaml.org,2002:binary': binary.binary,\n 'tag:yaml.org,2002:omap': omap.omap,\n 'tag:yaml.org,2002:pairs': pairs.pairs,\n 'tag:yaml.org,2002:set': set.set,\n 'tag:yaml.org,2002:timestamp': timestamp.timestamp\n};\nfunction getTags(customTags, schemaName) {\n let tags = schemas.get(schemaName);\n if (!tags) {\n if (Array.isArray(customTags))\n tags = [];\n else {\n const keys = Array.from(schemas.keys())\n .filter(key => key !== 'yaml11')\n .map(key => JSON.stringify(key))\n .join(', ');\n throw new Error(`Unknown schema \"${schemaName}\"; use one of ${keys} or define customTags array`);\n }\n }\n if (Array.isArray(customTags)) {\n for (const tag of customTags)\n tags = tags.concat(tag);\n }\n else if (typeof customTags === 'function') {\n tags = customTags(tags.slice());\n }\n return tags.map(tag => {\n if (typeof tag !== 'string')\n return tag;\n const tagObj = tagsByName[tag];\n if (tagObj)\n return tagObj;\n const keys = Object.keys(tagsByName)\n .map(key => JSON.stringify(key))\n .join(', ');\n throw new Error(`Unknown custom tag \"${tag}\"; use one of ${keys}`);\n });\n}\n\nexports.coreKnownTags = coreKnownTags;\nexports.getTags = getTags;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar stringifyString = require('../../stringify/stringifyString.js');\n\nconst binary = {\n identify: value => value instanceof Uint8Array,\n default: false,\n tag: 'tag:yaml.org,2002:binary',\n /**\n * Returns a Buffer in node and an Uint8Array in browsers\n *\n * To use the resulting buffer as an image, you'll want to do something like:\n *\n * const blob = new Blob([buffer], { type: 'image/jpeg' })\n * document.querySelector('#photo').src = URL.createObjectURL(blob)\n */\n resolve(src, onError) {\n if (typeof Buffer === 'function') {\n return Buffer.from(src, 'base64');\n }\n else if (typeof atob === 'function') {\n // On IE 11, atob() can't handle newlines\n const str = atob(src.replace(/[\\n\\r]/g, ''));\n const buffer = new Uint8Array(str.length);\n for (let i = 0; i < str.length; ++i)\n buffer[i] = str.charCodeAt(i);\n return buffer;\n }\n else {\n onError('This environment does not support reading binary tags; either Buffer or atob is required');\n return src;\n }\n },\n stringify({ comment, type, value }, ctx, onComment, onChompKeep) {\n const buf = value; // checked earlier by binary.identify()\n let str;\n if (typeof Buffer === 'function') {\n str =\n buf instanceof Buffer\n ? buf.toString('base64')\n : Buffer.from(buf.buffer).toString('base64');\n }\n else if (typeof btoa === 'function') {\n let s = '';\n for (let i = 0; i < buf.length; ++i)\n s += String.fromCharCode(buf[i]);\n str = btoa(s);\n }\n else {\n throw new Error('This environment does not support writing binary tags; either Buffer or btoa is required');\n }\n if (!type)\n type = Scalar.Scalar.BLOCK_LITERAL;\n if (type !== Scalar.Scalar.QUOTE_DOUBLE) {\n const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth);\n const n = Math.ceil(str.length / lineWidth);\n const lines = new Array(n);\n for (let i = 0, o = 0; i < n; ++i, o += lineWidth) {\n lines[i] = str.substr(o, lineWidth);\n }\n str = lines.join(type === Scalar.Scalar.BLOCK_LITERAL ? '\\n' : ' ');\n }\n return stringifyString.stringifyString({ comment, type, value: str }, ctx, onComment, onChompKeep);\n }\n};\n\nexports.binary = binary;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\n\nfunction boolStringify({ value, source }, ctx) {\n const boolObj = value ? trueTag : falseTag;\n if (source && boolObj.test.test(source))\n return source;\n return value ? ctx.options.trueStr : ctx.options.falseStr;\n}\nconst trueTag = {\n identify: value => value === true,\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,\n resolve: () => new Scalar.Scalar(true),\n stringify: boolStringify\n};\nconst falseTag = {\n identify: value => value === false,\n default: true,\n tag: 'tag:yaml.org,2002:bool',\n test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,\n resolve: () => new Scalar.Scalar(false),\n stringify: boolStringify\n};\n\nexports.falseTag = falseTag;\nexports.trueTag = trueTag;\n","'use strict';\n\nvar Scalar = require('../../nodes/Scalar.js');\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst floatNaN = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^[-+]?\\.(?:inf|Inf|INF|nan|NaN|NAN)$/,\n resolve: (str) => str.slice(-3).toLowerCase() === 'nan'\n ? NaN\n : str[0] === '-'\n ? Number.NEGATIVE_INFINITY\n : Number.POSITIVE_INFINITY,\n stringify: stringifyNumber.stringifyNumber\n};\nconst floatExp = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n format: 'EXP',\n test: /^[-+]?(?:[0-9][0-9_]*)?(?:\\.[0-9_]*)?[eE][-+]?[0-9]+$/,\n resolve: (str) => parseFloat(str.replace(/_/g, '')),\n stringify(node) {\n const num = Number(node.value);\n return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node);\n }\n};\nconst float = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n test: /^[-+]?(?:[0-9][0-9_]*)?\\.[0-9_]*$/,\n resolve(str) {\n const node = new Scalar.Scalar(parseFloat(str.replace(/_/g, '')));\n const dot = str.indexOf('.');\n if (dot !== -1) {\n const f = str.substring(dot + 1).replace(/_/g, '');\n if (f[f.length - 1] === '0')\n node.minFractionDigits = f.length;\n }\n return node;\n },\n stringify: stringifyNumber.stringifyNumber\n};\n\nexports.float = float;\nexports.floatExp = floatExp;\nexports.floatNaN = floatNaN;\n","'use strict';\n\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\nconst intIdentify = (value) => typeof value === 'bigint' || Number.isInteger(value);\nfunction intResolve(str, offset, radix, { intAsBigInt }) {\n const sign = str[0];\n if (sign === '-' || sign === '+')\n offset += 1;\n str = str.substring(offset).replace(/_/g, '');\n if (intAsBigInt) {\n switch (radix) {\n case 2:\n str = `0b${str}`;\n break;\n case 8:\n str = `0o${str}`;\n break;\n case 16:\n str = `0x${str}`;\n break;\n }\n const n = BigInt(str);\n return sign === '-' ? BigInt(-1) * n : n;\n }\n const n = parseInt(str, radix);\n return sign === '-' ? -1 * n : n;\n}\nfunction intStringify(node, radix, prefix) {\n const { value } = node;\n if (intIdentify(value)) {\n const str = value.toString(radix);\n return value < 0 ? '-' + prefix + str.substr(1) : prefix + str;\n }\n return stringifyNumber.stringifyNumber(node);\n}\nconst intBin = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'BIN',\n test: /^[-+]?0b[0-1_]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 2, opt),\n stringify: node => intStringify(node, 2, '0b')\n};\nconst intOct = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'OCT',\n test: /^[-+]?0[0-7_]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 1, 8, opt),\n stringify: node => intStringify(node, 8, '0')\n};\nconst int = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n test: /^[-+]?[0-9][0-9_]*$/,\n resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt),\n stringify: stringifyNumber.stringifyNumber\n};\nconst intHex = {\n identify: intIdentify,\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'HEX',\n test: /^[-+]?0x[0-9a-fA-F_]+$/,\n resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),\n stringify: node => intStringify(node, 16, '0x')\n};\n\nexports.int = int;\nexports.intBin = intBin;\nexports.intHex = intHex;\nexports.intOct = intOct;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar toJS = require('../../nodes/toJS.js');\nvar YAMLMap = require('../../nodes/YAMLMap.js');\nvar YAMLSeq = require('../../nodes/YAMLSeq.js');\nvar pairs = require('./pairs.js');\n\nclass YAMLOMap extends YAMLSeq.YAMLSeq {\n constructor() {\n super();\n this.add = YAMLMap.YAMLMap.prototype.add.bind(this);\n this.delete = YAMLMap.YAMLMap.prototype.delete.bind(this);\n this.get = YAMLMap.YAMLMap.prototype.get.bind(this);\n this.has = YAMLMap.YAMLMap.prototype.has.bind(this);\n this.set = YAMLMap.YAMLMap.prototype.set.bind(this);\n this.tag = YAMLOMap.tag;\n }\n /**\n * If `ctx` is given, the return type is actually `Map`,\n * but TypeScript won't allow widening the signature of a child method.\n */\n toJSON(_, ctx) {\n if (!ctx)\n return super.toJSON(_);\n const map = new Map();\n if (ctx?.onCreate)\n ctx.onCreate(map);\n for (const pair of this.items) {\n let key, value;\n if (identity.isPair(pair)) {\n key = toJS.toJS(pair.key, '', ctx);\n value = toJS.toJS(pair.value, key, ctx);\n }\n else {\n key = toJS.toJS(pair, '', ctx);\n }\n if (map.has(key))\n throw new Error('Ordered maps must not include duplicate keys');\n map.set(key, value);\n }\n return map;\n }\n static from(schema, iterable, ctx) {\n const pairs$1 = pairs.createPairs(schema, iterable, ctx);\n const omap = new this();\n omap.items = pairs$1.items;\n return omap;\n }\n}\nYAMLOMap.tag = 'tag:yaml.org,2002:omap';\nconst omap = {\n collection: 'seq',\n identify: value => value instanceof Map,\n nodeClass: YAMLOMap,\n default: false,\n tag: 'tag:yaml.org,2002:omap',\n resolve(seq, onError) {\n const pairs$1 = pairs.resolvePairs(seq, onError);\n const seenKeys = [];\n for (const { key } of pairs$1.items) {\n if (identity.isScalar(key)) {\n if (seenKeys.includes(key.value)) {\n onError(`Ordered maps must not include duplicate keys: ${key.value}`);\n }\n else {\n seenKeys.push(key.value);\n }\n }\n }\n return Object.assign(new YAMLOMap(), pairs$1);\n },\n createNode: (schema, iterable, ctx) => YAMLOMap.from(schema, iterable, ctx)\n};\n\nexports.YAMLOMap = YAMLOMap;\nexports.omap = omap;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar Pair = require('../../nodes/Pair.js');\nvar Scalar = require('../../nodes/Scalar.js');\nvar YAMLSeq = require('../../nodes/YAMLSeq.js');\n\nfunction resolvePairs(seq, onError) {\n if (identity.isSeq(seq)) {\n for (let i = 0; i < seq.items.length; ++i) {\n let item = seq.items[i];\n if (identity.isPair(item))\n continue;\n else if (identity.isMap(item)) {\n if (item.items.length > 1)\n onError('Each pair must have its own sequence indicator');\n const pair = item.items[0] || new Pair.Pair(new Scalar.Scalar(null));\n if (item.commentBefore)\n pair.key.commentBefore = pair.key.commentBefore\n ? `${item.commentBefore}\\n${pair.key.commentBefore}`\n : item.commentBefore;\n if (item.comment) {\n const cn = pair.value ?? pair.key;\n cn.comment = cn.comment\n ? `${item.comment}\\n${cn.comment}`\n : item.comment;\n }\n item = pair;\n }\n seq.items[i] = identity.isPair(item) ? item : new Pair.Pair(item);\n }\n }\n else\n onError('Expected a sequence for this tag');\n return seq;\n}\nfunction createPairs(schema, iterable, ctx) {\n const { replacer } = ctx;\n const pairs = new YAMLSeq.YAMLSeq(schema);\n pairs.tag = 'tag:yaml.org,2002:pairs';\n let i = 0;\n if (iterable && Symbol.iterator in Object(iterable))\n for (let it of iterable) {\n if (typeof replacer === 'function')\n it = replacer.call(iterable, String(i++), it);\n let key, value;\n if (Array.isArray(it)) {\n if (it.length === 2) {\n key = it[0];\n value = it[1];\n }\n else\n throw new TypeError(`Expected [key, value] tuple: ${it}`);\n }\n else if (it && it instanceof Object) {\n const keys = Object.keys(it);\n if (keys.length === 1) {\n key = keys[0];\n value = it[key];\n }\n else {\n throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);\n }\n }\n else {\n key = it;\n }\n pairs.items.push(Pair.createPair(key, value, ctx));\n }\n return pairs;\n}\nconst pairs = {\n collection: 'seq',\n default: false,\n tag: 'tag:yaml.org,2002:pairs',\n resolve: resolvePairs,\n createNode: createPairs\n};\n\nexports.createPairs = createPairs;\nexports.pairs = pairs;\nexports.resolvePairs = resolvePairs;\n","'use strict';\n\nvar map = require('../common/map.js');\nvar _null = require('../common/null.js');\nvar seq = require('../common/seq.js');\nvar string = require('../common/string.js');\nvar binary = require('./binary.js');\nvar bool = require('./bool.js');\nvar float = require('./float.js');\nvar int = require('./int.js');\nvar omap = require('./omap.js');\nvar pairs = require('./pairs.js');\nvar set = require('./set.js');\nvar timestamp = require('./timestamp.js');\n\nconst schema = [\n map.map,\n seq.seq,\n string.string,\n _null.nullTag,\n bool.trueTag,\n bool.falseTag,\n int.intBin,\n int.intOct,\n int.int,\n int.intHex,\n float.floatNaN,\n float.floatExp,\n float.float,\n binary.binary,\n omap.omap,\n pairs.pairs,\n set.set,\n timestamp.intTime,\n timestamp.floatTime,\n timestamp.timestamp\n];\n\nexports.schema = schema;\n","'use strict';\n\nvar identity = require('../../nodes/identity.js');\nvar Pair = require('../../nodes/Pair.js');\nvar YAMLMap = require('../../nodes/YAMLMap.js');\n\nclass YAMLSet extends YAMLMap.YAMLMap {\n constructor(schema) {\n super(schema);\n this.tag = YAMLSet.tag;\n }\n add(key) {\n let pair;\n if (identity.isPair(key))\n pair = key;\n else if (key &&\n typeof key === 'object' &&\n 'key' in key &&\n 'value' in key &&\n key.value === null)\n pair = new Pair.Pair(key.key, null);\n else\n pair = new Pair.Pair(key, null);\n const prev = YAMLMap.findPair(this.items, pair.key);\n if (!prev)\n this.items.push(pair);\n }\n /**\n * If `keepPair` is `true`, returns the Pair matching `key`.\n * Otherwise, returns the value of that Pair's key.\n */\n get(key, keepPair) {\n const pair = YAMLMap.findPair(this.items, key);\n return !keepPair && identity.isPair(pair)\n ? identity.isScalar(pair.key)\n ? pair.key.value\n : pair.key\n : pair;\n }\n set(key, value) {\n if (typeof value !== 'boolean')\n throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value}`);\n const prev = YAMLMap.findPair(this.items, key);\n if (prev && !value) {\n this.items.splice(this.items.indexOf(prev), 1);\n }\n else if (!prev && value) {\n this.items.push(new Pair.Pair(key));\n }\n }\n toJSON(_, ctx) {\n return super.toJSON(_, ctx, Set);\n }\n toString(ctx, onComment, onChompKeep) {\n if (!ctx)\n return JSON.stringify(this);\n if (this.hasAllNullValues(true))\n return super.toString(Object.assign({}, ctx, { allNullValues: true }), onComment, onChompKeep);\n else\n throw new Error('Set items must all have null values');\n }\n static from(schema, iterable, ctx) {\n const { replacer } = ctx;\n const set = new this(schema);\n if (iterable && Symbol.iterator in Object(iterable))\n for (let value of iterable) {\n if (typeof replacer === 'function')\n value = replacer.call(iterable, value, value);\n set.items.push(Pair.createPair(value, null, ctx));\n }\n return set;\n }\n}\nYAMLSet.tag = 'tag:yaml.org,2002:set';\nconst set = {\n collection: 'map',\n identify: value => value instanceof Set,\n nodeClass: YAMLSet,\n default: false,\n tag: 'tag:yaml.org,2002:set',\n createNode: (schema, iterable, ctx) => YAMLSet.from(schema, iterable, ctx),\n resolve(map, onError) {\n if (identity.isMap(map)) {\n if (map.hasAllNullValues(true))\n return Object.assign(new YAMLSet(), map);\n else\n onError('Set items must all have null values');\n }\n else\n onError('Expected a mapping for this tag');\n return map;\n }\n};\n\nexports.YAMLSet = YAMLSet;\nexports.set = set;\n","'use strict';\n\nvar stringifyNumber = require('../../stringify/stringifyNumber.js');\n\n/** Internal types handle bigint as number, because TS can't figure it out. */\nfunction parseSexagesimal(str, asBigInt) {\n const sign = str[0];\n const parts = sign === '-' || sign === '+' ? str.substring(1) : str;\n const num = (n) => asBigInt ? BigInt(n) : Number(n);\n const res = parts\n .replace(/_/g, '')\n .split(':')\n .reduce((res, p) => res * num(60) + num(p), num(0));\n return (sign === '-' ? num(-1) * res : res);\n}\n/**\n * hhhh:mm:ss.sss\n *\n * Internal types handle bigint as number, because TS can't figure it out.\n */\nfunction stringifySexagesimal(node) {\n let { value } = node;\n let num = (n) => n;\n if (typeof value === 'bigint')\n num = n => BigInt(n);\n else if (isNaN(value) || !isFinite(value))\n return stringifyNumber.stringifyNumber(node);\n let sign = '';\n if (value < 0) {\n sign = '-';\n value *= num(-1);\n }\n const _60 = num(60);\n const parts = [value % _60]; // seconds, including ms\n if (value < 60) {\n parts.unshift(0); // at least one : is required\n }\n else {\n value = (value - parts[0]) / _60;\n parts.unshift(value % _60); // minutes\n if (value >= 60) {\n value = (value - parts[0]) / _60;\n parts.unshift(value); // hours\n }\n }\n return (sign +\n parts\n .map(n => String(n).padStart(2, '0'))\n .join(':')\n .replace(/000000\\d*$/, '') // % 60 may introduce error\n );\n}\nconst intTime = {\n identify: value => typeof value === 'bigint' || Number.isInteger(value),\n default: true,\n tag: 'tag:yaml.org,2002:int',\n format: 'TIME',\n test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,\n resolve: (str, _onError, { intAsBigInt }) => parseSexagesimal(str, intAsBigInt),\n stringify: stringifySexagesimal\n};\nconst floatTime = {\n identify: value => typeof value === 'number',\n default: true,\n tag: 'tag:yaml.org,2002:float',\n format: 'TIME',\n test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*$/,\n resolve: str => parseSexagesimal(str, false),\n stringify: stringifySexagesimal\n};\nconst timestamp = {\n identify: value => value instanceof Date,\n default: true,\n tag: 'tag:yaml.org,2002:timestamp',\n // If the time zone is omitted, the timestamp is assumed to be specified in UTC. The time part\n // may be omitted altogether, resulting in a date format. In such a case, the time part is\n // assumed to be 00:00:00Z (start of day, UTC).\n test: RegExp('^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})' + // YYYY-Mm-Dd\n '(?:' + // time is optional\n '(?:t|T|[ \\\\t]+)' + // t | T | whitespace\n '([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\\\.[0-9]+)?)' + // Hh:Mm:Ss(.ss)?\n '(?:[ \\\\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?' + // Z | +5 | -03:30\n ')?$'),\n resolve(str) {\n const match = str.match(timestamp.test);\n if (!match)\n throw new Error('!!timestamp expects a date, starting with yyyy-mm-dd');\n const [, year, month, day, hour, minute, second] = match.map(Number);\n const millisec = match[7] ? Number((match[7] + '00').substr(1, 3)) : 0;\n let date = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec);\n const tz = match[8];\n if (tz && tz !== 'Z') {\n let d = parseSexagesimal(tz, false);\n if (Math.abs(d) < 30)\n d *= 60;\n date -= 60000 * d;\n }\n return new Date(date);\n },\n stringify: ({ value }) => value.toISOString().replace(/((T00:00)?:00)?\\.000Z$/, '')\n};\n\nexports.floatTime = floatTime;\nexports.intTime = intTime;\nexports.timestamp = timestamp;\n","'use strict';\n\nconst FOLD_FLOW = 'flow';\nconst FOLD_BLOCK = 'block';\nconst FOLD_QUOTED = 'quoted';\n/**\n * Tries to keep input at up to `lineWidth` characters, splitting only on spaces\n * not followed by newlines or spaces unless `mode` is `'quoted'`. Lines are\n * terminated with `\\n` and started with `indent`.\n */\nfunction foldFlowLines(text, indent, mode = 'flow', { indentAtStart, lineWidth = 80, minContentWidth = 20, onFold, onOverflow } = {}) {\n if (!lineWidth || lineWidth < 0)\n return text;\n const endStep = Math.max(1 + minContentWidth, 1 + lineWidth - indent.length);\n if (text.length <= endStep)\n return text;\n const folds = [];\n const escapedFolds = {};\n let end = lineWidth - indent.length;\n if (typeof indentAtStart === 'number') {\n if (indentAtStart > lineWidth - Math.max(2, minContentWidth))\n folds.push(0);\n else\n end = lineWidth - indentAtStart;\n }\n let split = undefined;\n let prev = undefined;\n let overflow = false;\n let i = -1;\n let escStart = -1;\n let escEnd = -1;\n if (mode === FOLD_BLOCK) {\n i = consumeMoreIndentedLines(text, i);\n if (i !== -1)\n end = i + endStep;\n }\n for (let ch; (ch = text[(i += 1)]);) {\n if (mode === FOLD_QUOTED && ch === '\\\\') {\n escStart = i;\n switch (text[i + 1]) {\n case 'x':\n i += 3;\n break;\n case 'u':\n i += 5;\n break;\n case 'U':\n i += 9;\n break;\n default:\n i += 1;\n }\n escEnd = i;\n }\n if (ch === '\\n') {\n if (mode === FOLD_BLOCK)\n i = consumeMoreIndentedLines(text, i);\n end = i + endStep;\n split = undefined;\n }\n else {\n if (ch === ' ' &&\n prev &&\n prev !== ' ' &&\n prev !== '\\n' &&\n prev !== '\\t') {\n // space surrounded by non-space can be replaced with newline + indent\n const next = text[i + 1];\n if (next && next !== ' ' && next !== '\\n' && next !== '\\t')\n split = i;\n }\n if (i >= end) {\n if (split) {\n folds.push(split);\n end = split + endStep;\n split = undefined;\n }\n else if (mode === FOLD_QUOTED) {\n // white-space collected at end may stretch past lineWidth\n while (prev === ' ' || prev === '\\t') {\n prev = ch;\n ch = text[(i += 1)];\n overflow = true;\n }\n // Account for newline escape, but don't break preceding escape\n const j = i > escEnd + 1 ? i - 2 : escStart - 1;\n // Bail out if lineWidth & minContentWidth are shorter than an escape string\n if (escapedFolds[j])\n return text;\n folds.push(j);\n escapedFolds[j] = true;\n end = j + endStep;\n split = undefined;\n }\n else {\n overflow = true;\n }\n }\n }\n prev = ch;\n }\n if (overflow && onOverflow)\n onOverflow();\n if (folds.length === 0)\n return text;\n if (onFold)\n onFold();\n let res = text.slice(0, folds[0]);\n for (let i = 0; i < folds.length; ++i) {\n const fold = folds[i];\n const end = folds[i + 1] || text.length;\n if (fold === 0)\n res = `\\n${indent}${text.slice(0, end)}`;\n else {\n if (mode === FOLD_QUOTED && escapedFolds[fold])\n res += `${text[fold]}\\\\`;\n res += `\\n${indent}${text.slice(fold + 1, end)}`;\n }\n }\n return res;\n}\n/**\n * Presumes `i + 1` is at the start of a line\n * @returns index of last newline in more-indented block\n */\nfunction consumeMoreIndentedLines(text, i) {\n let ch = text[i + 1];\n while (ch === ' ' || ch === '\\t') {\n do {\n ch = text[(i += 1)];\n } while (ch && ch !== '\\n');\n ch = text[i + 1];\n }\n return i;\n}\n\nexports.FOLD_BLOCK = FOLD_BLOCK;\nexports.FOLD_FLOW = FOLD_FLOW;\nexports.FOLD_QUOTED = FOLD_QUOTED;\nexports.foldFlowLines = foldFlowLines;\n","'use strict';\n\nvar anchors = require('../doc/anchors.js');\nvar identity = require('../nodes/identity.js');\nvar stringifyComment = require('./stringifyComment.js');\nvar stringifyString = require('./stringifyString.js');\n\nfunction createStringifyContext(doc, options) {\n const opt = Object.assign({\n blockQuote: true,\n commentString: stringifyComment.stringifyComment,\n defaultKeyType: null,\n defaultStringType: 'PLAIN',\n directives: null,\n doubleQuotedAsJSON: false,\n doubleQuotedMinMultiLineLength: 40,\n falseStr: 'false',\n flowCollectionPadding: true,\n indentSeq: true,\n lineWidth: 80,\n minContentWidth: 20,\n nullStr: 'null',\n simpleKeys: false,\n singleQuote: null,\n trueStr: 'true',\n verifyAliasOrder: true\n }, doc.schema.toStringOptions, options);\n let inFlow;\n switch (opt.collectionStyle) {\n case 'block':\n inFlow = false;\n break;\n case 'flow':\n inFlow = true;\n break;\n default:\n inFlow = null;\n }\n return {\n anchors: new Set(),\n doc,\n flowCollectionPadding: opt.flowCollectionPadding ? ' ' : '',\n indent: '',\n indentStep: typeof opt.indent === 'number' ? ' '.repeat(opt.indent) : ' ',\n inFlow,\n options: opt\n };\n}\nfunction getTagObject(tags, item) {\n if (item.tag) {\n const match = tags.filter(t => t.tag === item.tag);\n if (match.length > 0)\n return match.find(t => t.format === item.format) ?? match[0];\n }\n let tagObj = undefined;\n let obj;\n if (identity.isScalar(item)) {\n obj = item.value;\n const match = tags.filter(t => t.identify?.(obj));\n tagObj =\n match.find(t => t.format === item.format) ?? match.find(t => !t.format);\n }\n else {\n obj = item;\n tagObj = tags.find(t => t.nodeClass && obj instanceof t.nodeClass);\n }\n if (!tagObj) {\n const name = obj?.constructor?.name ?? typeof obj;\n throw new Error(`Tag not resolved for ${name} value`);\n }\n return tagObj;\n}\n// needs to be called before value stringifier to allow for circular anchor refs\nfunction stringifyProps(node, tagObj, { anchors: anchors$1, doc }) {\n if (!doc.directives)\n return '';\n const props = [];\n const anchor = (identity.isScalar(node) || identity.isCollection(node)) && node.anchor;\n if (anchor && anchors.anchorIsValid(anchor)) {\n anchors$1.add(anchor);\n props.push(`&${anchor}`);\n }\n const tag = node.tag ? node.tag : tagObj.default ? null : tagObj.tag;\n if (tag)\n props.push(doc.directives.tagString(tag));\n return props.join(' ');\n}\nfunction stringify(item, ctx, onComment, onChompKeep) {\n if (identity.isPair(item))\n return item.toString(ctx, onComment, onChompKeep);\n if (identity.isAlias(item)) {\n if (ctx.doc.directives)\n return item.toString(ctx);\n if (ctx.resolvedAliases?.has(item)) {\n throw new TypeError(`Cannot stringify circular structure without alias nodes`);\n }\n else {\n if (ctx.resolvedAliases)\n ctx.resolvedAliases.add(item);\n else\n ctx.resolvedAliases = new Set([item]);\n item = item.resolve(ctx.doc);\n }\n }\n let tagObj = undefined;\n const node = identity.isNode(item)\n ? item\n : ctx.doc.createNode(item, { onTagObj: o => (tagObj = o) });\n if (!tagObj)\n tagObj = getTagObject(ctx.doc.schema.tags, node);\n const props = stringifyProps(node, tagObj, ctx);\n if (props.length > 0)\n ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1;\n const str = typeof tagObj.stringify === 'function'\n ? tagObj.stringify(node, ctx, onComment, onChompKeep)\n : identity.isScalar(node)\n ? stringifyString.stringifyString(node, ctx, onComment, onChompKeep)\n : node.toString(ctx, onComment, onChompKeep);\n if (!props)\n return str;\n return identity.isScalar(node) || str[0] === '{' || str[0] === '['\n ? `${props} ${str}`\n : `${props}\\n${ctx.indent}${str}`;\n}\n\nexports.createStringifyContext = createStringifyContext;\nexports.stringify = stringify;\n","'use strict';\n\nvar Collection = require('../nodes/Collection.js');\nvar identity = require('../nodes/identity.js');\nvar stringify = require('./stringify.js');\nvar stringifyComment = require('./stringifyComment.js');\n\nfunction stringifyCollection(collection, ctx, options) {\n const flow = ctx.inFlow ?? collection.flow;\n const stringify = flow ? stringifyFlowCollection : stringifyBlockCollection;\n return stringify(collection, ctx, options);\n}\nfunction stringifyBlockCollection({ comment, items }, ctx, { blockItemPrefix, flowChars, itemIndent, onChompKeep, onComment }) {\n const { indent, options: { commentString } } = ctx;\n const itemCtx = Object.assign({}, ctx, { indent: itemIndent, type: null });\n let chompKeep = false; // flag for the preceding node's status\n const lines = [];\n for (let i = 0; i < items.length; ++i) {\n const item = items[i];\n let comment = null;\n if (identity.isNode(item)) {\n if (!chompKeep && item.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, item.commentBefore, chompKeep);\n if (item.comment)\n comment = item.comment;\n }\n else if (identity.isPair(item)) {\n const ik = identity.isNode(item.key) ? item.key : null;\n if (ik) {\n if (!chompKeep && ik.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, ik.commentBefore, chompKeep);\n }\n }\n chompKeep = false;\n let str = stringify.stringify(item, itemCtx, () => (comment = null), () => (chompKeep = true));\n if (comment)\n str += stringifyComment.lineComment(str, itemIndent, commentString(comment));\n if (chompKeep && comment)\n chompKeep = false;\n lines.push(blockItemPrefix + str);\n }\n let str;\n if (lines.length === 0) {\n str = flowChars.start + flowChars.end;\n }\n else {\n str = lines[0];\n for (let i = 1; i < lines.length; ++i) {\n const line = lines[i];\n str += line ? `\\n${indent}${line}` : '\\n';\n }\n }\n if (comment) {\n str += '\\n' + stringifyComment.indentComment(commentString(comment), indent);\n if (onComment)\n onComment();\n }\n else if (chompKeep && onChompKeep)\n onChompKeep();\n return str;\n}\nfunction stringifyFlowCollection({ comment, items }, ctx, { flowChars, itemIndent, onComment }) {\n const { indent, indentStep, flowCollectionPadding: fcPadding, options: { commentString } } = ctx;\n itemIndent += indentStep;\n const itemCtx = Object.assign({}, ctx, {\n indent: itemIndent,\n inFlow: true,\n type: null\n });\n let reqNewline = false;\n let linesAtValue = 0;\n const lines = [];\n for (let i = 0; i < items.length; ++i) {\n const item = items[i];\n let comment = null;\n if (identity.isNode(item)) {\n if (item.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, item.commentBefore, false);\n if (item.comment)\n comment = item.comment;\n }\n else if (identity.isPair(item)) {\n const ik = identity.isNode(item.key) ? item.key : null;\n if (ik) {\n if (ik.spaceBefore)\n lines.push('');\n addCommentBefore(ctx, lines, ik.commentBefore, false);\n if (ik.comment)\n reqNewline = true;\n }\n const iv = identity.isNode(item.value) ? item.value : null;\n if (iv) {\n if (iv.comment)\n comment = iv.comment;\n if (iv.commentBefore)\n reqNewline = true;\n }\n else if (item.value == null && ik?.comment) {\n comment = ik.comment;\n }\n }\n if (comment)\n reqNewline = true;\n let str = stringify.stringify(item, itemCtx, () => (comment = null));\n if (i < items.length - 1)\n str += ',';\n if (comment)\n str += stringifyComment.lineComment(str, itemIndent, commentString(comment));\n if (!reqNewline && (lines.length > linesAtValue || str.includes('\\n')))\n reqNewline = true;\n lines.push(str);\n linesAtValue = lines.length;\n }\n let str;\n const { start, end } = flowChars;\n if (lines.length === 0) {\n str = start + end;\n }\n else {\n if (!reqNewline) {\n const len = lines.reduce((sum, line) => sum + line.length + 2, 2);\n reqNewline = len > Collection.Collection.maxFlowStringSingleLineLength;\n }\n if (reqNewline) {\n str = start;\n for (const line of lines)\n str += line ? `\\n${indentStep}${indent}${line}` : '\\n';\n str += `\\n${indent}${end}`;\n }\n else {\n str = `${start}${fcPadding}${lines.join(' ')}${fcPadding}${end}`;\n }\n }\n if (comment) {\n str += stringifyComment.lineComment(str, indent, commentString(comment));\n if (onComment)\n onComment();\n }\n return str;\n}\nfunction addCommentBefore({ indent, options: { commentString } }, lines, comment, chompKeep) {\n if (comment && chompKeep)\n comment = comment.replace(/^\\n+/, '');\n if (comment) {\n const ic = stringifyComment.indentComment(commentString(comment), indent);\n lines.push(ic.trimStart()); // Avoid double indent on first line\n }\n}\n\nexports.stringifyCollection = stringifyCollection;\n","'use strict';\n\n/**\n * Stringifies a comment.\n *\n * Empty comment lines are left empty,\n * lines consisting of a single space are replaced by `#`,\n * and all other lines are prefixed with a `#`.\n */\nconst stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, '#');\nfunction indentComment(comment, indent) {\n if (/^\\n+$/.test(comment))\n return comment.substring(1);\n return indent ? comment.replace(/^(?! *$)/gm, indent) : comment;\n}\nconst lineComment = (str, indent, comment) => str.endsWith('\\n')\n ? indentComment(comment, indent)\n : comment.includes('\\n')\n ? '\\n' + indentComment(comment, indent)\n : (str.endsWith(' ') ? '' : ' ') + comment;\n\nexports.indentComment = indentComment;\nexports.lineComment = lineComment;\nexports.stringifyComment = stringifyComment;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar stringify = require('./stringify.js');\nvar stringifyComment = require('./stringifyComment.js');\n\nfunction stringifyDocument(doc, options) {\n const lines = [];\n let hasDirectives = options.directives === true;\n if (options.directives !== false && doc.directives) {\n const dir = doc.directives.toString(doc);\n if (dir) {\n lines.push(dir);\n hasDirectives = true;\n }\n else if (doc.directives.docStart)\n hasDirectives = true;\n }\n if (hasDirectives)\n lines.push('---');\n const ctx = stringify.createStringifyContext(doc, options);\n const { commentString } = ctx.options;\n if (doc.commentBefore) {\n if (lines.length !== 1)\n lines.unshift('');\n const cs = commentString(doc.commentBefore);\n lines.unshift(stringifyComment.indentComment(cs, ''));\n }\n let chompKeep = false;\n let contentComment = null;\n if (doc.contents) {\n if (identity.isNode(doc.contents)) {\n if (doc.contents.spaceBefore && hasDirectives)\n lines.push('');\n if (doc.contents.commentBefore) {\n const cs = commentString(doc.contents.commentBefore);\n lines.push(stringifyComment.indentComment(cs, ''));\n }\n // top-level block scalars need to be indented if followed by a comment\n ctx.forceBlockIndent = !!doc.comment;\n contentComment = doc.contents.comment;\n }\n const onChompKeep = contentComment ? undefined : () => (chompKeep = true);\n let body = stringify.stringify(doc.contents, ctx, () => (contentComment = null), onChompKeep);\n if (contentComment)\n body += stringifyComment.lineComment(body, '', commentString(contentComment));\n if ((body[0] === '|' || body[0] === '>') &&\n lines[lines.length - 1] === '---') {\n // Top-level block scalars with a preceding doc marker ought to use the\n // same line for their header.\n lines[lines.length - 1] = `--- ${body}`;\n }\n else\n lines.push(body);\n }\n else {\n lines.push(stringify.stringify(doc.contents, ctx));\n }\n if (doc.directives?.docEnd) {\n if (doc.comment) {\n const cs = commentString(doc.comment);\n if (cs.includes('\\n')) {\n lines.push('...');\n lines.push(stringifyComment.indentComment(cs, ''));\n }\n else {\n lines.push(`... ${cs}`);\n }\n }\n else {\n lines.push('...');\n }\n }\n else {\n let dc = doc.comment;\n if (dc && chompKeep)\n dc = dc.replace(/^\\n+/, '');\n if (dc) {\n if ((!chompKeep || contentComment) && lines[lines.length - 1] !== '')\n lines.push('');\n lines.push(stringifyComment.indentComment(commentString(dc), ''));\n }\n }\n return lines.join('\\n') + '\\n';\n}\n\nexports.stringifyDocument = stringifyDocument;\n","'use strict';\n\nfunction stringifyNumber({ format, minFractionDigits, tag, value }) {\n if (typeof value === 'bigint')\n return String(value);\n const num = typeof value === 'number' ? value : Number(value);\n if (!isFinite(num))\n return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf';\n let n = JSON.stringify(value);\n if (!format &&\n minFractionDigits &&\n (!tag || tag === 'tag:yaml.org,2002:float') &&\n /^\\d/.test(n)) {\n let i = n.indexOf('.');\n if (i < 0) {\n i = n.length;\n n += '.';\n }\n let d = minFractionDigits - (n.length - i - 1);\n while (d-- > 0)\n n += '0';\n }\n return n;\n}\n\nexports.stringifyNumber = stringifyNumber;\n","'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar Scalar = require('../nodes/Scalar.js');\nvar stringify = require('./stringify.js');\nvar stringifyComment = require('./stringifyComment.js');\n\nfunction stringifyPair({ key, value }, ctx, onComment, onChompKeep) {\n const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;\n let keyComment = (identity.isNode(key) && key.comment) || null;\n if (simpleKeys) {\n if (keyComment) {\n throw new Error('With simple keys, key nodes cannot have comments');\n }\n if (identity.isCollection(key)) {\n const msg = 'With simple keys, collection cannot be used as a key value';\n throw new Error(msg);\n }\n }\n let explicitKey = !simpleKeys &&\n (!key ||\n (keyComment && value == null && !ctx.inFlow) ||\n identity.isCollection(key) ||\n (identity.isScalar(key)\n ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL\n : typeof key === 'object'));\n ctx = Object.assign({}, ctx, {\n allNullValues: false,\n implicitKey: !explicitKey && (simpleKeys || !allNullValues),\n indent: indent + indentStep\n });\n let keyCommentDone = false;\n let chompKeep = false;\n let str = stringify.stringify(key, ctx, () => (keyCommentDone = true), () => (chompKeep = true));\n if (!explicitKey && !ctx.inFlow && str.length > 1024) {\n if (simpleKeys)\n throw new Error('With simple keys, single line scalar must not span more than 1024 characters');\n explicitKey = true;\n }\n if (ctx.inFlow) {\n if (allNullValues || value == null) {\n if (keyCommentDone && onComment)\n onComment();\n return str === '' ? '?' : explicitKey ? `? ${str}` : str;\n }\n }\n else if ((allNullValues && !simpleKeys) || (value == null && explicitKey)) {\n str = `? ${str}`;\n if (keyComment && !keyCommentDone) {\n str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));\n }\n else if (chompKeep && onChompKeep)\n onChompKeep();\n return str;\n }\n if (keyCommentDone)\n keyComment = null;\n if (explicitKey) {\n if (keyComment)\n str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));\n str = `? ${str}\\n${indent}:`;\n }\n else {\n str = `${str}:`;\n if (keyComment)\n str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));\n }\n let vsb, vcb, valueComment;\n if (identity.isNode(value)) {\n vsb = !!value.spaceBefore;\n vcb = value.commentBefore;\n valueComment = value.comment;\n }\n else {\n vsb = false;\n vcb = null;\n valueComment = null;\n if (value && typeof value === 'object')\n value = doc.createNode(value);\n }\n ctx.implicitKey = false;\n if (!explicitKey && !keyComment && identity.isScalar(value))\n ctx.indentAtStart = str.length + 1;\n chompKeep = false;\n if (!indentSeq &&\n indentStep.length >= 2 &&\n !ctx.inFlow &&\n !explicitKey &&\n identity.isSeq(value) &&\n !value.flow &&\n !value.tag &&\n !value.anchor) {\n // If indentSeq === false, consider '- ' as part of indentation where possible\n ctx.indent = ctx.indent.substring(2);\n }\n let valueCommentDone = false;\n const valueStr = stringify.stringify(value, ctx, () => (valueCommentDone = true), () => (chompKeep = true));\n let ws = ' ';\n if (keyComment || vsb || vcb) {\n ws = vsb ? '\\n' : '';\n if (vcb) {\n const cs = commentString(vcb);\n ws += `\\n${stringifyComment.indentComment(cs, ctx.indent)}`;\n }\n if (valueStr === '' && !ctx.inFlow) {\n if (ws === '\\n')\n ws = '\\n\\n';\n }\n else {\n ws += `\\n${ctx.indent}`;\n }\n }\n else if (!explicitKey && identity.isCollection(value)) {\n const vs0 = valueStr[0];\n const nl0 = valueStr.indexOf('\\n');\n const hasNewline = nl0 !== -1;\n const flow = ctx.inFlow ?? value.flow ?? value.items.length === 0;\n if (hasNewline || !flow) {\n let hasPropsLine = false;\n if (hasNewline && (vs0 === '&' || vs0 === '!')) {\n let sp0 = valueStr.indexOf(' ');\n if (vs0 === '&' &&\n sp0 !== -1 &&\n sp0 < nl0 &&\n valueStr[sp0 + 1] === '!') {\n sp0 = valueStr.indexOf(' ', sp0 + 1);\n }\n if (sp0 === -1 || nl0 < sp0)\n hasPropsLine = true;\n }\n if (!hasPropsLine)\n ws = `\\n${ctx.indent}`;\n }\n }\n else if (valueStr === '' || valueStr[0] === '\\n') {\n ws = '';\n }\n str += ws + valueStr;\n if (ctx.inFlow) {\n if (valueCommentDone && onComment)\n onComment();\n }\n else if (valueComment && !valueCommentDone) {\n str += stringifyComment.lineComment(str, ctx.indent, commentString(valueComment));\n }\n else if (chompKeep && onChompKeep) {\n onChompKeep();\n }\n return str;\n}\n\nexports.stringifyPair = stringifyPair;\n","'use strict';\n\nvar Scalar = require('../nodes/Scalar.js');\nvar foldFlowLines = require('./foldFlowLines.js');\n\nconst getFoldOptions = (ctx, isBlock) => ({\n indentAtStart: isBlock ? ctx.indent.length : ctx.indentAtStart,\n lineWidth: ctx.options.lineWidth,\n minContentWidth: ctx.options.minContentWidth\n});\n// Also checks for lines starting with %, as parsing the output as YAML 1.1 will\n// presume that's starting a new document.\nconst containsDocumentMarker = (str) => /^(%|---|\\.\\.\\.)/m.test(str);\nfunction lineLengthOverLimit(str, lineWidth, indentLength) {\n if (!lineWidth || lineWidth < 0)\n return false;\n const limit = lineWidth - indentLength;\n const strLen = str.length;\n if (strLen <= limit)\n return false;\n for (let i = 0, start = 0; i < strLen; ++i) {\n if (str[i] === '\\n') {\n if (i - start > limit)\n return true;\n start = i + 1;\n if (strLen - start <= limit)\n return false;\n }\n }\n return true;\n}\nfunction doubleQuotedString(value, ctx) {\n const json = JSON.stringify(value);\n if (ctx.options.doubleQuotedAsJSON)\n return json;\n const { implicitKey } = ctx;\n const minMultiLineLength = ctx.options.doubleQuotedMinMultiLineLength;\n const indent = ctx.indent || (containsDocumentMarker(value) ? ' ' : '');\n let str = '';\n let start = 0;\n for (let i = 0, ch = json[i]; ch; ch = json[++i]) {\n if (ch === ' ' && json[i + 1] === '\\\\' && json[i + 2] === 'n') {\n // space before newline needs to be escaped to not be folded\n str += json.slice(start, i) + '\\\\ ';\n i += 1;\n start = i;\n ch = '\\\\';\n }\n if (ch === '\\\\')\n switch (json[i + 1]) {\n case 'u':\n {\n str += json.slice(start, i);\n const code = json.substr(i + 2, 4);\n switch (code) {\n case '0000':\n str += '\\\\0';\n break;\n case '0007':\n str += '\\\\a';\n break;\n case '000b':\n str += '\\\\v';\n break;\n case '001b':\n str += '\\\\e';\n break;\n case '0085':\n str += '\\\\N';\n break;\n case '00a0':\n str += '\\\\_';\n break;\n case '2028':\n str += '\\\\L';\n break;\n case '2029':\n str += '\\\\P';\n break;\n default:\n if (code.substr(0, 2) === '00')\n str += '\\\\x' + code.substr(2);\n else\n str += json.substr(i, 6);\n }\n i += 5;\n start = i + 1;\n }\n break;\n case 'n':\n if (implicitKey ||\n json[i + 2] === '\"' ||\n json.length < minMultiLineLength) {\n i += 1;\n }\n else {\n // folding will eat first newline\n str += json.slice(start, i) + '\\n\\n';\n while (json[i + 2] === '\\\\' &&\n json[i + 3] === 'n' &&\n json[i + 4] !== '\"') {\n str += '\\n';\n i += 2;\n }\n str += indent;\n // space after newline needs to be escaped to not be folded\n if (json[i + 2] === ' ')\n str += '\\\\';\n i += 1;\n start = i + 1;\n }\n break;\n default:\n i += 1;\n }\n }\n str = start ? str + json.slice(start) : json;\n return implicitKey\n ? str\n : foldFlowLines.foldFlowLines(str, indent, foldFlowLines.FOLD_QUOTED, getFoldOptions(ctx, false));\n}\nfunction singleQuotedString(value, ctx) {\n if (ctx.options.singleQuote === false ||\n (ctx.implicitKey && value.includes('\\n')) ||\n /[ \\t]\\n|\\n[ \\t]/.test(value) // single quoted string can't have leading or trailing whitespace around newline\n )\n return doubleQuotedString(value, ctx);\n const indent = ctx.indent || (containsDocumentMarker(value) ? ' ' : '');\n const res = \"'\" + value.replace(/'/g, \"''\").replace(/\\n+/g, `$&\\n${indent}`) + \"'\";\n return ctx.implicitKey\n ? res\n : foldFlowLines.foldFlowLines(res, indent, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false));\n}\nfunction quotedString(value, ctx) {\n const { singleQuote } = ctx.options;\n let qs;\n if (singleQuote === false)\n qs = doubleQuotedString;\n else {\n const hasDouble = value.includes('\"');\n const hasSingle = value.includes(\"'\");\n if (hasDouble && !hasSingle)\n qs = singleQuotedString;\n else if (hasSingle && !hasDouble)\n qs = doubleQuotedString;\n else\n qs = singleQuote ? singleQuotedString : doubleQuotedString;\n }\n return qs(value, ctx);\n}\n// The negative lookbehind avoids a polynomial search,\n// but isn't supported yet on Safari: https://caniuse.com/js-regexp-lookbehind\nlet blockEndNewlines;\ntry {\n blockEndNewlines = new RegExp('(^|(?\\n';\n // determine chomping from whitespace at value end\n let chomp;\n let endStart;\n for (endStart = value.length; endStart > 0; --endStart) {\n const ch = value[endStart - 1];\n if (ch !== '\\n' && ch !== '\\t' && ch !== ' ')\n break;\n }\n let end = value.substring(endStart);\n const endNlPos = end.indexOf('\\n');\n if (endNlPos === -1) {\n chomp = '-'; // strip\n }\n else if (value === end || endNlPos !== end.length - 1) {\n chomp = '+'; // keep\n if (onChompKeep)\n onChompKeep();\n }\n else {\n chomp = ''; // clip\n }\n if (end) {\n value = value.slice(0, -end.length);\n if (end[end.length - 1] === '\\n')\n end = end.slice(0, -1);\n end = end.replace(blockEndNewlines, `$&${indent}`);\n }\n // determine indent indicator from whitespace at value start\n let startWithSpace = false;\n let startEnd;\n let startNlPos = -1;\n for (startEnd = 0; startEnd < value.length; ++startEnd) {\n const ch = value[startEnd];\n if (ch === ' ')\n startWithSpace = true;\n else if (ch === '\\n')\n startNlPos = startEnd;\n else\n break;\n }\n let start = value.substring(0, startNlPos < startEnd ? startNlPos + 1 : startEnd);\n if (start) {\n value = value.substring(start.length);\n start = start.replace(/\\n+/g, `$&${indent}`);\n }\n const indentSize = indent ? '2' : '1'; // root is at -1\n let header = (literal ? '|' : '>') + (startWithSpace ? indentSize : '') + chomp;\n if (comment) {\n header += ' ' + commentString(comment.replace(/ ?[\\r\\n]+/g, ' '));\n if (onComment)\n onComment();\n }\n if (literal) {\n value = value.replace(/\\n+/g, `$&${indent}`);\n return `${header}\\n${indent}${start}${value}${end}`;\n }\n value = value\n .replace(/\\n+/g, '\\n$&')\n .replace(/(?:^|\\n)([\\t ].*)(?:([\\n\\t ]*)\\n(?![\\n\\t ]))?/g, '$1$2') // more-indented lines aren't folded\n // ^ more-ind. ^ empty ^ capture next empty lines only at end of indent\n .replace(/\\n+/g, `$&${indent}`);\n const body = foldFlowLines.foldFlowLines(`${start}${value}${end}`, indent, foldFlowLines.FOLD_BLOCK, getFoldOptions(ctx, true));\n return `${header}\\n${indent}${body}`;\n}\nfunction plainString(item, ctx, onComment, onChompKeep) {\n const { type, value } = item;\n const { actualString, implicitKey, indent, indentStep, inFlow } = ctx;\n if ((implicitKey && value.includes('\\n')) ||\n (inFlow && /[[\\]{},]/.test(value))) {\n return quotedString(value, ctx);\n }\n if (!value ||\n /^[\\n\\t ,[\\]{}#&*!|>'\"%@`]|^[?-]$|^[?-][ \\t]|[\\n:][ \\t]|[ \\t]\\n|[\\n\\t ]#|[\\n\\t :]$/.test(value)) {\n // not allowed:\n // - empty string, '-' or '?'\n // - start with an indicator character (except [?:-]) or /[?-] /\n // - '\\n ', ': ' or ' \\n' anywhere\n // - '#' not preceded by a non-space char\n // - end with ' ' or ':'\n return implicitKey || inFlow || !value.includes('\\n')\n ? quotedString(value, ctx)\n : blockString(item, ctx, onComment, onChompKeep);\n }\n if (!implicitKey &&\n !inFlow &&\n type !== Scalar.Scalar.PLAIN &&\n value.includes('\\n')) {\n // Where allowed & type not set explicitly, prefer block style for multiline strings\n return blockString(item, ctx, onComment, onChompKeep);\n }\n if (containsDocumentMarker(value)) {\n if (indent === '') {\n ctx.forceBlockIndent = true;\n return blockString(item, ctx, onComment, onChompKeep);\n }\n else if (implicitKey && indent === indentStep) {\n return quotedString(value, ctx);\n }\n }\n const str = value.replace(/\\n+/g, `$&\\n${indent}`);\n // Verify that output will be parsed as a string, as e.g. plain numbers and\n // booleans get parsed with those types in v1.2 (e.g. '42', 'true' & '0.9e-3'),\n // and others in v1.1.\n if (actualString) {\n const test = (tag) => tag.default && tag.tag !== 'tag:yaml.org,2002:str' && tag.test?.test(str);\n const { compat, tags } = ctx.doc.schema;\n if (tags.some(test) || compat?.some(test))\n return quotedString(value, ctx);\n }\n return implicitKey\n ? str\n : foldFlowLines.foldFlowLines(str, indent, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false));\n}\nfunction stringifyString(item, ctx, onComment, onChompKeep) {\n const { implicitKey, inFlow } = ctx;\n const ss = typeof item.value === 'string'\n ? item\n : Object.assign({}, item, { value: String(item.value) });\n let { type } = item;\n if (type !== Scalar.Scalar.QUOTE_DOUBLE) {\n // force double quotes on control characters & unpaired surrogates\n if (/[\\x00-\\x08\\x0b-\\x1f\\x7f-\\x9f\\u{D800}-\\u{DFFF}]/u.test(ss.value))\n type = Scalar.Scalar.QUOTE_DOUBLE;\n }\n const _stringify = (_type) => {\n switch (_type) {\n case Scalar.Scalar.BLOCK_FOLDED:\n case Scalar.Scalar.BLOCK_LITERAL:\n return implicitKey || inFlow\n ? quotedString(ss.value, ctx) // blocks are not valid inside flow containers\n : blockString(ss, ctx, onComment, onChompKeep);\n case Scalar.Scalar.QUOTE_DOUBLE:\n return doubleQuotedString(ss.value, ctx);\n case Scalar.Scalar.QUOTE_SINGLE:\n return singleQuotedString(ss.value, ctx);\n case Scalar.Scalar.PLAIN:\n return plainString(ss, ctx, onComment, onChompKeep);\n default:\n return null;\n }\n };\n let res = _stringify(type);\n if (res === null) {\n const { defaultKeyType, defaultStringType } = ctx.options;\n const t = (implicitKey && defaultKeyType) || defaultStringType;\n res = _stringify(t);\n if (res === null)\n throw new Error(`Unsupported default string type ${t}`);\n }\n return res;\n}\n\nexports.stringifyString = stringifyString;\n","'use strict';\n\nvar identity = require('./nodes/identity.js');\n\nconst BREAK = Symbol('break visit');\nconst SKIP = Symbol('skip children');\nconst REMOVE = Symbol('remove node');\n/**\n * Apply a visitor to an AST node or document.\n *\n * Walks through the tree (depth-first) starting from `node`, calling a\n * `visitor` function with three arguments:\n * - `key`: For sequence values and map `Pair`, the node's index in the\n * collection. Within a `Pair`, `'key'` or `'value'`, correspondingly.\n * `null` for the root node.\n * - `node`: The current node.\n * - `path`: The ancestry of the current node.\n *\n * The return value of the visitor may be used to control the traversal:\n * - `undefined` (default): Do nothing and continue\n * - `visit.SKIP`: Do not visit the children of this node, continue with next\n * sibling\n * - `visit.BREAK`: Terminate traversal completely\n * - `visit.REMOVE`: Remove the current node, then continue with the next one\n * - `Node`: Replace the current node, then continue by visiting it\n * - `number`: While iterating the items of a sequence or map, set the index\n * of the next step. This is useful especially if the index of the current\n * node has changed.\n *\n * If `visitor` is a single function, it will be called with all values\n * encountered in the tree, including e.g. `null` values. Alternatively,\n * separate visitor functions may be defined for each `Map`, `Pair`, `Seq`,\n * `Alias` and `Scalar` node. To define the same visitor function for more than\n * one node type, use the `Collection` (map and seq), `Value` (map, seq & scalar)\n * and `Node` (alias, map, seq & scalar) targets. Of all these, only the most\n * specific defined one will be used for each node.\n */\nfunction visit(node, visitor) {\n const visitor_ = initVisitor(visitor);\n if (identity.isDocument(node)) {\n const cd = visit_(null, node.contents, visitor_, Object.freeze([node]));\n if (cd === REMOVE)\n node.contents = null;\n }\n else\n visit_(null, node, visitor_, Object.freeze([]));\n}\n// Without the `as symbol` casts, TS declares these in the `visit`\n// namespace using `var`, but then complains about that because\n// `unique symbol` must be `const`.\n/** Terminate visit traversal completely */\nvisit.BREAK = BREAK;\n/** Do not visit the children of the current node */\nvisit.SKIP = SKIP;\n/** Remove the current node */\nvisit.REMOVE = REMOVE;\nfunction visit_(key, node, visitor, path) {\n const ctrl = callVisitor(key, node, visitor, path);\n if (identity.isNode(ctrl) || identity.isPair(ctrl)) {\n replaceNode(key, path, ctrl);\n return visit_(key, ctrl, visitor, path);\n }\n if (typeof ctrl !== 'symbol') {\n if (identity.isCollection(node)) {\n path = Object.freeze(path.concat(node));\n for (let i = 0; i < node.items.length; ++i) {\n const ci = visit_(i, node.items[i], visitor, path);\n if (typeof ci === 'number')\n i = ci - 1;\n else if (ci === BREAK)\n return BREAK;\n else if (ci === REMOVE) {\n node.items.splice(i, 1);\n i -= 1;\n }\n }\n }\n else if (identity.isPair(node)) {\n path = Object.freeze(path.concat(node));\n const ck = visit_('key', node.key, visitor, path);\n if (ck === BREAK)\n return BREAK;\n else if (ck === REMOVE)\n node.key = null;\n const cv = visit_('value', node.value, visitor, path);\n if (cv === BREAK)\n return BREAK;\n else if (cv === REMOVE)\n node.value = null;\n }\n }\n return ctrl;\n}\n/**\n * Apply an async visitor to an AST node or document.\n *\n * Walks through the tree (depth-first) starting from `node`, calling a\n * `visitor` function with three arguments:\n * - `key`: For sequence values and map `Pair`, the node's index in the\n * collection. Within a `Pair`, `'key'` or `'value'`, correspondingly.\n * `null` for the root node.\n * - `node`: The current node.\n * - `path`: The ancestry of the current node.\n *\n * The return value of the visitor may be used to control the traversal:\n * - `Promise`: Must resolve to one of the following values\n * - `undefined` (default): Do nothing and continue\n * - `visit.SKIP`: Do not visit the children of this node, continue with next\n * sibling\n * - `visit.BREAK`: Terminate traversal completely\n * - `visit.REMOVE`: Remove the current node, then continue with the next one\n * - `Node`: Replace the current node, then continue by visiting it\n * - `number`: While iterating the items of a sequence or map, set the index\n * of the next step. This is useful especially if the index of the current\n * node has changed.\n *\n * If `visitor` is a single function, it will be called with all values\n * encountered in the tree, including e.g. `null` values. Alternatively,\n * separate visitor functions may be defined for each `Map`, `Pair`, `Seq`,\n * `Alias` and `Scalar` node. To define the same visitor function for more than\n * one node type, use the `Collection` (map and seq), `Value` (map, seq & scalar)\n * and `Node` (alias, map, seq & scalar) targets. Of all these, only the most\n * specific defined one will be used for each node.\n */\nasync function visitAsync(node, visitor) {\n const visitor_ = initVisitor(visitor);\n if (identity.isDocument(node)) {\n const cd = await visitAsync_(null, node.contents, visitor_, Object.freeze([node]));\n if (cd === REMOVE)\n node.contents = null;\n }\n else\n await visitAsync_(null, node, visitor_, Object.freeze([]));\n}\n// Without the `as symbol` casts, TS declares these in the `visit`\n// namespace using `var`, but then complains about that because\n// `unique symbol` must be `const`.\n/** Terminate visit traversal completely */\nvisitAsync.BREAK = BREAK;\n/** Do not visit the children of the current node */\nvisitAsync.SKIP = SKIP;\n/** Remove the current node */\nvisitAsync.REMOVE = REMOVE;\nasync function visitAsync_(key, node, visitor, path) {\n const ctrl = await callVisitor(key, node, visitor, path);\n if (identity.isNode(ctrl) || identity.isPair(ctrl)) {\n replaceNode(key, path, ctrl);\n return visitAsync_(key, ctrl, visitor, path);\n }\n if (typeof ctrl !== 'symbol') {\n if (identity.isCollection(node)) {\n path = Object.freeze(path.concat(node));\n for (let i = 0; i < node.items.length; ++i) {\n const ci = await visitAsync_(i, node.items[i], visitor, path);\n if (typeof ci === 'number')\n i = ci - 1;\n else if (ci === BREAK)\n return BREAK;\n else if (ci === REMOVE) {\n node.items.splice(i, 1);\n i -= 1;\n }\n }\n }\n else if (identity.isPair(node)) {\n path = Object.freeze(path.concat(node));\n const ck = await visitAsync_('key', node.key, visitor, path);\n if (ck === BREAK)\n return BREAK;\n else if (ck === REMOVE)\n node.key = null;\n const cv = await visitAsync_('value', node.value, visitor, path);\n if (cv === BREAK)\n return BREAK;\n else if (cv === REMOVE)\n node.value = null;\n }\n }\n return ctrl;\n}\nfunction initVisitor(visitor) {\n if (typeof visitor === 'object' &&\n (visitor.Collection || visitor.Node || visitor.Value)) {\n return Object.assign({\n Alias: visitor.Node,\n Map: visitor.Node,\n Scalar: visitor.Node,\n Seq: visitor.Node\n }, visitor.Value && {\n Map: visitor.Value,\n Scalar: visitor.Value,\n Seq: visitor.Value\n }, visitor.Collection && {\n Map: visitor.Collection,\n Seq: visitor.Collection\n }, visitor);\n }\n return visitor;\n}\nfunction callVisitor(key, node, visitor, path) {\n if (typeof visitor === 'function')\n return visitor(key, node, path);\n if (identity.isMap(node))\n return visitor.Map?.(key, node, path);\n if (identity.isSeq(node))\n return visitor.Seq?.(key, node, path);\n if (identity.isPair(node))\n return visitor.Pair?.(key, node, path);\n if (identity.isScalar(node))\n return visitor.Scalar?.(key, node, path);\n if (identity.isAlias(node))\n return visitor.Alias?.(key, node, path);\n return undefined;\n}\nfunction replaceNode(key, path, node) {\n const parent = path[path.length - 1];\n if (identity.isCollection(parent)) {\n parent.items[key] = node;\n }\n else if (identity.isPair(parent)) {\n if (key === 'key')\n parent.key = node;\n else\n parent.value = node;\n }\n else if (identity.isDocument(parent)) {\n parent.contents = node;\n }\n else {\n const pt = identity.isAlias(parent) ? 'alias' : 'scalar';\n throw new Error(`Cannot replace node with ${pt} parent`);\n }\n}\n\nexports.visit = visit;\nexports.visitAsync = visitAsync;\n","/* c8 ignore start */\n// 64 KiB (same size chrome slice theirs blob into Uint8array's)\nconst POOL_SIZE = 65536\n\nif (!globalThis.ReadableStream) {\n // `node:stream/web` got introduced in v16.5.0 as experimental\n // and it's preferred over the polyfilled version. So we also\n // suppress the warning that gets emitted by NodeJS for using it.\n try {\n const process = require('node:process')\n const { emitWarning } = process\n try {\n process.emitWarning = () => {}\n Object.assign(globalThis, require('node:stream/web'))\n process.emitWarning = emitWarning\n } catch (error) {\n process.emitWarning = emitWarning\n throw error\n }\n } catch (error) {\n // fallback to polyfill implementation\n Object.assign(globalThis, require('web-streams-polyfill/dist/ponyfill.es2018.js'))\n }\n}\n\ntry {\n // Don't use node: prefix for this, require+node: is not supported until node v14.14\n // Only `import()` can use prefix in 12.20 and later\n const { Blob } = require('buffer')\n if (Blob && !Blob.prototype.stream) {\n Blob.prototype.stream = function name (params) {\n let position = 0\n const blob = this\n\n return new ReadableStream({\n type: 'bytes',\n async pull (ctrl) {\n const chunk = blob.slice(position, Math.min(blob.size, position + POOL_SIZE))\n const buffer = await chunk.arrayBuffer()\n position += buffer.byteLength\n ctrl.enqueue(new Uint8Array(buffer))\n\n if (position === blob.size) {\n ctrl.close()\n }\n }\n })\n }\n }\n} catch (error) {}\n/* c8 ignore end */\n","import Blob from './index.js'\n\nconst _File = class File extends Blob {\n #lastModified = 0\n #name = ''\n\n /**\n * @param {*[]} fileBits\n * @param {string} fileName\n * @param {{lastModified?: number, type?: string}} options\n */// @ts-ignore\n constructor (fileBits, fileName, options = {}) {\n if (arguments.length < 2) {\n throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`)\n }\n super(fileBits, options)\n\n if (options === null) options = {}\n\n // Simulate WebIDL type casting for NaN value in lastModified option.\n const lastModified = options.lastModified === undefined ? Date.now() : Number(options.lastModified)\n if (!Number.isNaN(lastModified)) {\n this.#lastModified = lastModified\n }\n\n this.#name = String(fileName)\n }\n\n get name () {\n return this.#name\n }\n\n get lastModified () {\n return this.#lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n\n static [Symbol.hasInstance] (object) {\n return !!object && object instanceof Blob &&\n /^(File)$/.test(object[Symbol.toStringTag])\n }\n}\n\n/** @type {typeof globalThis.File} */// @ts-ignore\nexport const File = _File\nexport default File\n","import { statSync, createReadStream, promises as fs } from 'node:fs'\nimport { basename } from 'node:path'\nimport DOMException from 'node-domexception'\n\nimport File from './file.js'\nimport Blob from './index.js'\n\nconst { stat } = fs\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n */\nconst blobFromSync = (path, type) => fromBlob(statSync(path), path, type)\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n * @returns {Promise}\n */\nconst blobFrom = (path, type) => stat(path).then(stat => fromBlob(stat, path, type))\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n * @returns {Promise}\n */\nconst fileFrom = (path, type) => stat(path).then(stat => fromFile(stat, path, type))\n\n/**\n * @param {string} path filepath on the disk\n * @param {string} [type] mimetype to use\n */\nconst fileFromSync = (path, type) => fromFile(statSync(path), path, type)\n\n// @ts-ignore\nconst fromBlob = (stat, path, type = '') => new Blob([new BlobDataItem({\n path,\n size: stat.size,\n lastModified: stat.mtimeMs,\n start: 0\n})], { type })\n\n// @ts-ignore\nconst fromFile = (stat, path, type = '') => new File([new BlobDataItem({\n path,\n size: stat.size,\n lastModified: stat.mtimeMs,\n start: 0\n})], basename(path), { type, lastModified: stat.mtimeMs })\n\n/**\n * This is a blob backed up by a file on the disk\n * with minium requirement. Its wrapped around a Blob as a blobPart\n * so you have no direct access to this.\n *\n * @private\n */\nclass BlobDataItem {\n #path\n #start\n\n constructor (options) {\n this.#path = options.path\n this.#start = options.start\n this.size = options.size\n this.lastModified = options.lastModified\n }\n\n /**\n * Slicing arguments is first validated and formatted\n * to not be out of range by Blob.prototype.slice\n */\n slice (start, end) {\n return new BlobDataItem({\n path: this.#path,\n lastModified: this.lastModified,\n size: end - start,\n start: this.#start + start\n })\n }\n\n async * stream () {\n const { mtimeMs } = await stat(this.#path)\n if (mtimeMs > this.lastModified) {\n throw new DOMException('The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.', 'NotReadableError')\n }\n yield * createReadStream(this.#path, {\n start: this.#start,\n end: this.#start + this.size - 1\n })\n }\n\n get [Symbol.toStringTag] () {\n return 'Blob'\n }\n}\n\nexport default blobFromSync\nexport { File, Blob, blobFrom, blobFromSync, fileFrom, fileFromSync }\n","/*! fetch-blob. MIT License. Jimmy Wärting */\n\n// TODO (jimmywarting): in the feature use conditional loading with top level await (requires 14.x)\n// Node has recently added whatwg stream into core\n\nimport './streams.cjs'\n\n// 64 KiB (same size chrome slice theirs blob into Uint8array's)\nconst POOL_SIZE = 65536\n\n/** @param {(Blob | Uint8Array)[]} parts */\nasync function * toIterator (parts, clone = true) {\n for (const part of parts) {\n if ('stream' in part) {\n yield * (/** @type {AsyncIterableIterator} */ (part.stream()))\n } else if (ArrayBuffer.isView(part)) {\n if (clone) {\n let position = part.byteOffset\n const end = part.byteOffset + part.byteLength\n while (position !== end) {\n const size = Math.min(end - position, POOL_SIZE)\n const chunk = part.buffer.slice(position, position + size)\n position += chunk.byteLength\n yield new Uint8Array(chunk)\n }\n } else {\n yield part\n }\n /* c8 ignore next 10 */\n } else {\n // For blobs that have arrayBuffer but no stream method (nodes buffer.Blob)\n let position = 0, b = (/** @type {Blob} */ (part))\n while (position !== b.size) {\n const chunk = b.slice(position, Math.min(b.size, position + POOL_SIZE))\n const buffer = await chunk.arrayBuffer()\n position += buffer.byteLength\n yield new Uint8Array(buffer)\n }\n }\n }\n}\n\nconst _Blob = class Blob {\n /** @type {Array.<(Blob|Uint8Array)>} */\n #parts = []\n #type = ''\n #size = 0\n #endings = 'transparent'\n\n /**\n * The Blob() constructor returns a new Blob object. The content\n * of the blob consists of the concatenation of the values given\n * in the parameter array.\n *\n * @param {*} blobParts\n * @param {{ type?: string, endings?: string }} [options]\n */\n constructor (blobParts = [], options = {}) {\n if (typeof blobParts !== 'object' || blobParts === null) {\n throw new TypeError('Failed to construct \\'Blob\\': The provided value cannot be converted to a sequence.')\n }\n\n if (typeof blobParts[Symbol.iterator] !== 'function') {\n throw new TypeError('Failed to construct \\'Blob\\': The object must have a callable @@iterator property.')\n }\n\n if (typeof options !== 'object' && typeof options !== 'function') {\n throw new TypeError('Failed to construct \\'Blob\\': parameter 2 cannot convert to dictionary.')\n }\n\n if (options === null) options = {}\n\n const encoder = new TextEncoder()\n for (const element of blobParts) {\n let part\n if (ArrayBuffer.isView(element)) {\n part = new Uint8Array(element.buffer.slice(element.byteOffset, element.byteOffset + element.byteLength))\n } else if (element instanceof ArrayBuffer) {\n part = new Uint8Array(element.slice(0))\n } else if (element instanceof Blob) {\n part = element\n } else {\n part = encoder.encode(`${element}`)\n }\n\n this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size\n this.#parts.push(part)\n }\n\n this.#endings = `${options.endings === undefined ? 'transparent' : options.endings}`\n const type = options.type === undefined ? '' : String(options.type)\n this.#type = /^[\\x20-\\x7E]*$/.test(type) ? type : ''\n }\n\n /**\n * The Blob interface's size property returns the\n * size of the Blob in bytes.\n */\n get size () {\n return this.#size\n }\n\n /**\n * The type property of a Blob object returns the MIME type of the file.\n */\n get type () {\n return this.#type\n }\n\n /**\n * The text() method in the Blob interface returns a Promise\n * that resolves with a string containing the contents of\n * the blob, interpreted as UTF-8.\n *\n * @return {Promise}\n */\n async text () {\n // More optimized than using this.arrayBuffer()\n // that requires twice as much ram\n const decoder = new TextDecoder()\n let str = ''\n for await (const part of toIterator(this.#parts, false)) {\n str += decoder.decode(part, { stream: true })\n }\n // Remaining\n str += decoder.decode()\n return str\n }\n\n /**\n * The arrayBuffer() method in the Blob interface returns a\n * Promise that resolves with the contents of the blob as\n * binary data contained in an ArrayBuffer.\n *\n * @return {Promise}\n */\n async arrayBuffer () {\n // Easier way... Just a unnecessary overhead\n // const view = new Uint8Array(this.size);\n // await this.stream().getReader({mode: 'byob'}).read(view);\n // return view.buffer;\n\n const data = new Uint8Array(this.size)\n let offset = 0\n for await (const chunk of toIterator(this.#parts, false)) {\n data.set(chunk, offset)\n offset += chunk.length\n }\n\n return data.buffer\n }\n\n stream () {\n const it = toIterator(this.#parts, true)\n\n return new globalThis.ReadableStream({\n // @ts-ignore\n type: 'bytes',\n async pull (ctrl) {\n const chunk = await it.next()\n chunk.done ? ctrl.close() : ctrl.enqueue(chunk.value)\n },\n\n async cancel () {\n await it.return()\n }\n })\n }\n\n /**\n * The Blob interface's slice() method creates and returns a\n * new Blob object which contains data from a subset of the\n * blob on which it's called.\n *\n * @param {number} [start]\n * @param {number} [end]\n * @param {string} [type]\n */\n slice (start = 0, end = this.size, type = '') {\n const { size } = this\n\n let relativeStart = start < 0 ? Math.max(size + start, 0) : Math.min(start, size)\n let relativeEnd = end < 0 ? Math.max(size + end, 0) : Math.min(end, size)\n\n const span = Math.max(relativeEnd - relativeStart, 0)\n const parts = this.#parts\n const blobParts = []\n let added = 0\n\n for (const part of parts) {\n // don't add the overflow to new blobParts\n if (added >= span) {\n break\n }\n\n const size = ArrayBuffer.isView(part) ? part.byteLength : part.size\n if (relativeStart && size <= relativeStart) {\n // Skip the beginning and change the relative\n // start & end position as we skip the unwanted parts\n relativeStart -= size\n relativeEnd -= size\n } else {\n let chunk\n if (ArrayBuffer.isView(part)) {\n chunk = part.subarray(relativeStart, Math.min(size, relativeEnd))\n added += chunk.byteLength\n } else {\n chunk = part.slice(relativeStart, Math.min(size, relativeEnd))\n added += chunk.size\n }\n relativeEnd -= size\n blobParts.push(chunk)\n relativeStart = 0 // All next sequential parts should start at 0\n }\n }\n\n const blob = new Blob([], { type: String(type).toLowerCase() })\n blob.#size = span\n blob.#parts = blobParts\n\n return blob\n }\n\n get [Symbol.toStringTag] () {\n return 'Blob'\n }\n\n static [Symbol.hasInstance] (object) {\n return (\n object &&\n typeof object === 'object' &&\n typeof object.constructor === 'function' &&\n (\n typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function'\n ) &&\n /^(Blob|File)$/.test(object[Symbol.toStringTag])\n )\n }\n}\n\nObject.defineProperties(_Blob.prototype, {\n size: { enumerable: true },\n type: { enumerable: true },\n slice: { enumerable: true }\n})\n\n/** @type {typeof globalThis.Blob} */\nexport const Blob = _Blob\nexport default Blob\n","/*! formdata-polyfill. MIT License. Jimmy Wärting */\n\nimport C from 'fetch-blob'\nimport F from 'fetch-blob/file.js'\n\nvar {toStringTag:t,iterator:i,hasInstance:h}=Symbol,\nr=Math.random,\nm='append,set,get,getAll,delete,keys,values,entries,forEach,constructor'.split(','),\nf=(a,b,c)=>(a+='',/^(Blob|File)$/.test(b && b[t])?[(c=c!==void 0?c+'':b[t]=='File'?b.name:'blob',a),b.name!==c||b[t]=='blob'?new F([b],c,b):b]:[a,b+'']),\ne=(c,f)=>(f?c:c.replace(/\\r?\\n|\\r/g,'\\r\\n')).replace(/\\n/g,'%0A').replace(/\\r/g,'%0D').replace(/\"/g,'%22'),\nx=(n, a, e)=>{if(a.lengthtypeof o[m]!='function')}\nappend(...a){x('append',arguments,2);this.#d.push(f(...a))}\ndelete(a){x('delete',arguments,1);a+='';this.#d=this.#d.filter(([b])=>b!==a)}\nget(a){x('get',arguments,1);a+='';for(var b=this.#d,l=b.length,c=0;cc[0]===a&&b.push(c[1]));return b}\nhas(a){x('has',arguments,1);a+='';return this.#d.some(b=>b[0]===a)}\nforEach(a,b){x('forEach',arguments,1);for(var [c,d]of this)a.call(b,d,c,this)}\nset(...a){x('set',arguments,2);var b=[],c=!0;a=f(...a);this.#d.forEach(d=>{d[0]===a[0]?c&&(c=!b.push(a)):b.push(d)});c&&b.push(a);this.#d=b}\n*entries(){yield*this.#d}\n*keys(){for(var[a]of this)yield a}\n*values(){for(var[,a]of this)yield a}}\n\n/** @param {FormData} F */\nexport function formDataToBlob (F,B=C){\nvar b=`${r()}${r()}`.replace(/\\./g, '').slice(-28).padStart(32, '-'),c=[],p=`--${b}\\r\\nContent-Disposition: form-data; name=\"`\nF.forEach((v,n)=>typeof v=='string'\n?c.push(p+e(n)+`\"\\r\\n\\r\\n${v.replace(/\\r(?!\\n)|(? c | 0x20;\n\nconst noop = () => {};\n\nclass MultipartParser {\n\t/**\n\t * @param {string} boundary\n\t */\n\tconstructor(boundary) {\n\t\tthis.index = 0;\n\t\tthis.flags = 0;\n\n\t\tthis.onHeaderEnd = noop;\n\t\tthis.onHeaderField = noop;\n\t\tthis.onHeadersEnd = noop;\n\t\tthis.onHeaderValue = noop;\n\t\tthis.onPartBegin = noop;\n\t\tthis.onPartData = noop;\n\t\tthis.onPartEnd = noop;\n\n\t\tthis.boundaryChars = {};\n\n\t\tboundary = '\\r\\n--' + boundary;\n\t\tconst ui8a = new Uint8Array(boundary.length);\n\t\tfor (let i = 0; i < boundary.length; i++) {\n\t\t\tui8a[i] = boundary.charCodeAt(i);\n\t\t\tthis.boundaryChars[ui8a[i]] = true;\n\t\t}\n\n\t\tthis.boundary = ui8a;\n\t\tthis.lookbehind = new Uint8Array(this.boundary.length + 8);\n\t\tthis.state = S.START_BOUNDARY;\n\t}\n\n\t/**\n\t * @param {Uint8Array} data\n\t */\n\twrite(data) {\n\t\tlet i = 0;\n\t\tconst length_ = data.length;\n\t\tlet previousIndex = this.index;\n\t\tlet {lookbehind, boundary, boundaryChars, index, state, flags} = this;\n\t\tconst boundaryLength = this.boundary.length;\n\t\tconst boundaryEnd = boundaryLength - 1;\n\t\tconst bufferLength = data.length;\n\t\tlet c;\n\t\tlet cl;\n\n\t\tconst mark = name => {\n\t\t\tthis[name + 'Mark'] = i;\n\t\t};\n\n\t\tconst clear = name => {\n\t\t\tdelete this[name + 'Mark'];\n\t\t};\n\n\t\tconst callback = (callbackSymbol, start, end, ui8a) => {\n\t\t\tif (start === undefined || start !== end) {\n\t\t\t\tthis[callbackSymbol](ui8a && ui8a.subarray(start, end));\n\t\t\t}\n\t\t};\n\n\t\tconst dataCallback = (name, clear) => {\n\t\t\tconst markSymbol = name + 'Mark';\n\t\t\tif (!(markSymbol in this)) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (clear) {\n\t\t\t\tcallback(name, this[markSymbol], i, data);\n\t\t\t\tdelete this[markSymbol];\n\t\t\t} else {\n\t\t\t\tcallback(name, this[markSymbol], data.length, data);\n\t\t\t\tthis[markSymbol] = 0;\n\t\t\t}\n\t\t};\n\n\t\tfor (i = 0; i < length_; i++) {\n\t\t\tc = data[i];\n\n\t\t\tswitch (state) {\n\t\t\t\tcase S.START_BOUNDARY:\n\t\t\t\t\tif (index === boundary.length - 2) {\n\t\t\t\t\t\tif (c === HYPHEN) {\n\t\t\t\t\t\t\tflags |= F.LAST_BOUNDARY;\n\t\t\t\t\t\t} else if (c !== CR) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tindex++;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else if (index - 1 === boundary.length - 2) {\n\t\t\t\t\t\tif (flags & F.LAST_BOUNDARY && c === HYPHEN) {\n\t\t\t\t\t\t\tstate = S.END;\n\t\t\t\t\t\t\tflags = 0;\n\t\t\t\t\t\t} else if (!(flags & F.LAST_BOUNDARY) && c === LF) {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\tcallback('onPartBegin');\n\t\t\t\t\t\t\tstate = S.HEADER_FIELD_START;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (c !== boundary[index + 2]) {\n\t\t\t\t\t\tindex = -2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (c === boundary[index + 2]) {\n\t\t\t\t\t\tindex++;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADER_FIELD_START:\n\t\t\t\t\tstate = S.HEADER_FIELD;\n\t\t\t\t\tmark('onHeaderField');\n\t\t\t\t\tindex = 0;\n\t\t\t\t\t// falls through\n\t\t\t\tcase S.HEADER_FIELD:\n\t\t\t\t\tif (c === CR) {\n\t\t\t\t\t\tclear('onHeaderField');\n\t\t\t\t\t\tstate = S.HEADERS_ALMOST_DONE;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tindex++;\n\t\t\t\t\tif (c === HYPHEN) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (c === COLON) {\n\t\t\t\t\t\tif (index === 1) {\n\t\t\t\t\t\t\t// empty header field\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdataCallback('onHeaderField', true);\n\t\t\t\t\t\tstate = S.HEADER_VALUE_START;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcl = lower(c);\n\t\t\t\t\tif (cl < A || cl > Z) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADER_VALUE_START:\n\t\t\t\t\tif (c === SPACE) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tmark('onHeaderValue');\n\t\t\t\t\tstate = S.HEADER_VALUE;\n\t\t\t\t\t// falls through\n\t\t\t\tcase S.HEADER_VALUE:\n\t\t\t\t\tif (c === CR) {\n\t\t\t\t\t\tdataCallback('onHeaderValue', true);\n\t\t\t\t\t\tcallback('onHeaderEnd');\n\t\t\t\t\t\tstate = S.HEADER_VALUE_ALMOST_DONE;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADER_VALUE_ALMOST_DONE:\n\t\t\t\t\tif (c !== LF) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tstate = S.HEADER_FIELD_START;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.HEADERS_ALMOST_DONE:\n\t\t\t\t\tif (c !== LF) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tcallback('onHeadersEnd');\n\t\t\t\t\tstate = S.PART_DATA_START;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.PART_DATA_START:\n\t\t\t\t\tstate = S.PART_DATA;\n\t\t\t\t\tmark('onPartData');\n\t\t\t\t\t// falls through\n\t\t\t\tcase S.PART_DATA:\n\t\t\t\t\tpreviousIndex = index;\n\n\t\t\t\t\tif (index === 0) {\n\t\t\t\t\t\t// boyer-moore derrived algorithm to safely skip non-boundary data\n\t\t\t\t\t\ti += boundaryEnd;\n\t\t\t\t\t\twhile (i < bufferLength && !(data[i] in boundaryChars)) {\n\t\t\t\t\t\t\ti += boundaryLength;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ti -= boundaryEnd;\n\t\t\t\t\t\tc = data[i];\n\t\t\t\t\t}\n\n\t\t\t\t\tif (index < boundary.length) {\n\t\t\t\t\t\tif (boundary[index] === c) {\n\t\t\t\t\t\t\tif (index === 0) {\n\t\t\t\t\t\t\t\tdataCallback('onPartData', true);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (index === boundary.length) {\n\t\t\t\t\t\tindex++;\n\t\t\t\t\t\tif (c === CR) {\n\t\t\t\t\t\t\t// CR = part boundary\n\t\t\t\t\t\t\tflags |= F.PART_BOUNDARY;\n\t\t\t\t\t\t} else if (c === HYPHEN) {\n\t\t\t\t\t\t\t// HYPHEN = end boundary\n\t\t\t\t\t\t\tflags |= F.LAST_BOUNDARY;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (index - 1 === boundary.length) {\n\t\t\t\t\t\tif (flags & F.PART_BOUNDARY) {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\tif (c === LF) {\n\t\t\t\t\t\t\t\t// unset the PART_BOUNDARY flag\n\t\t\t\t\t\t\t\tflags &= ~F.PART_BOUNDARY;\n\t\t\t\t\t\t\t\tcallback('onPartEnd');\n\t\t\t\t\t\t\t\tcallback('onPartBegin');\n\t\t\t\t\t\t\t\tstate = S.HEADER_FIELD_START;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (flags & F.LAST_BOUNDARY) {\n\t\t\t\t\t\t\tif (c === HYPHEN) {\n\t\t\t\t\t\t\t\tcallback('onPartEnd');\n\t\t\t\t\t\t\t\tstate = S.END;\n\t\t\t\t\t\t\t\tflags = 0;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (index > 0) {\n\t\t\t\t\t\t// when matching a possible boundary, keep a lookbehind reference\n\t\t\t\t\t\t// in case it turns out to be a false lead\n\t\t\t\t\t\tlookbehind[index - 1] = c;\n\t\t\t\t\t} else if (previousIndex > 0) {\n\t\t\t\t\t\t// if our boundary turned out to be rubbish, the captured lookbehind\n\t\t\t\t\t\t// belongs to partData\n\t\t\t\t\t\tconst _lookbehind = new Uint8Array(lookbehind.buffer, lookbehind.byteOffset, lookbehind.byteLength);\n\t\t\t\t\t\tcallback('onPartData', 0, previousIndex, _lookbehind);\n\t\t\t\t\t\tpreviousIndex = 0;\n\t\t\t\t\t\tmark('onPartData');\n\n\t\t\t\t\t\t// reconsider the current character even so it interrupted the sequence\n\t\t\t\t\t\t// it could be the beginning of a new sequence\n\t\t\t\t\t\ti--;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\tcase S.END:\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unexpected state entered: ${state}`);\n\t\t\t}\n\t\t}\n\n\t\tdataCallback('onHeaderField');\n\t\tdataCallback('onHeaderValue');\n\t\tdataCallback('onPartData');\n\n\t\t// Update properties for the next call\n\t\tthis.index = index;\n\t\tthis.state = state;\n\t\tthis.flags = flags;\n\t}\n\n\tend() {\n\t\tif ((this.state === S.HEADER_FIELD_START && this.index === 0) ||\n\t\t\t(this.state === S.PART_DATA && this.index === this.boundary.length)) {\n\t\t\tthis.onPartEnd();\n\t\t} else if (this.state !== S.END) {\n\t\t\tthrow new Error('MultipartParser.end(): stream ended unexpectedly');\n\t\t}\n\t}\n}\n\nfunction _fileName(headerValue) {\n\t// matches either a quoted-string or a token (RFC 2616 section 19.5.1)\n\tconst m = headerValue.match(/\\bfilename=(\"(.*?)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))($|;\\s)/i);\n\tif (!m) {\n\t\treturn;\n\t}\n\n\tconst match = m[2] || m[3] || '';\n\tlet filename = match.slice(match.lastIndexOf('\\\\') + 1);\n\tfilename = filename.replace(/%22/g, '\"');\n\tfilename = filename.replace(/&#(\\d{4});/g, (m, code) => {\n\t\treturn String.fromCharCode(code);\n\t});\n\treturn filename;\n}\n\nexport async function toFormData(Body, ct) {\n\tif (!/multipart/i.test(ct)) {\n\t\tthrow new TypeError('Failed to fetch');\n\t}\n\n\tconst m = ct.match(/boundary=(?:\"([^\"]+)\"|([^;]+))/i);\n\n\tif (!m) {\n\t\tthrow new TypeError('no or bad content-type header, no multipart boundary');\n\t}\n\n\tconst parser = new MultipartParser(m[1] || m[2]);\n\n\tlet headerField;\n\tlet headerValue;\n\tlet entryValue;\n\tlet entryName;\n\tlet contentType;\n\tlet filename;\n\tconst entryChunks = [];\n\tconst formData = new FormData();\n\n\tconst onPartData = ui8a => {\n\t\tentryValue += decoder.decode(ui8a, {stream: true});\n\t};\n\n\tconst appendToFile = ui8a => {\n\t\tentryChunks.push(ui8a);\n\t};\n\n\tconst appendFileToFormData = () => {\n\t\tconst file = new File(entryChunks, filename, {type: contentType});\n\t\tformData.append(entryName, file);\n\t};\n\n\tconst appendEntryToFormData = () => {\n\t\tformData.append(entryName, entryValue);\n\t};\n\n\tconst decoder = new TextDecoder('utf-8');\n\tdecoder.decode();\n\n\tparser.onPartBegin = function () {\n\t\tparser.onPartData = onPartData;\n\t\tparser.onPartEnd = appendEntryToFormData;\n\n\t\theaderField = '';\n\t\theaderValue = '';\n\t\tentryValue = '';\n\t\tentryName = '';\n\t\tcontentType = '';\n\t\tfilename = null;\n\t\tentryChunks.length = 0;\n\t};\n\n\tparser.onHeaderField = function (ui8a) {\n\t\theaderField += decoder.decode(ui8a, {stream: true});\n\t};\n\n\tparser.onHeaderValue = function (ui8a) {\n\t\theaderValue += decoder.decode(ui8a, {stream: true});\n\t};\n\n\tparser.onHeaderEnd = function () {\n\t\theaderValue += decoder.decode();\n\t\theaderField = headerField.toLowerCase();\n\n\t\tif (headerField === 'content-disposition') {\n\t\t\t// matches either a quoted-string or a token (RFC 2616 section 19.5.1)\n\t\t\tconst m = headerValue.match(/\\bname=(\"([^\"]*)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))/i);\n\n\t\t\tif (m) {\n\t\t\t\tentryName = m[2] || m[3] || '';\n\t\t\t}\n\n\t\t\tfilename = _fileName(headerValue);\n\n\t\t\tif (filename) {\n\t\t\t\tparser.onPartData = appendToFile;\n\t\t\t\tparser.onPartEnd = appendFileToFormData;\n\t\t\t}\n\t\t} else if (headerField === 'content-type') {\n\t\t\tcontentType = headerValue;\n\t\t}\n\n\t\theaderValue = '';\n\t\theaderField = '';\n\t};\n\n\tfor await (const chunk of Body) {\n\t\tparser.write(chunk);\n\t}\n\n\tparser.end();\n\n\treturn formData;\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var webpackQueues = typeof Symbol === \"function\" ? Symbol(\"webpack queues\") : \"__webpack_queues__\";\nvar webpackExports = typeof Symbol === \"function\" ? Symbol(\"webpack exports\") : \"__webpack_exports__\";\nvar webpackError = typeof Symbol === \"function\" ? Symbol(\"webpack error\") : \"__webpack_error__\";\nvar resolveQueue = (queue) => {\n\tif(queue && !queue.d) {\n\t\tqueue.d = 1;\n\t\tqueue.forEach((fn) => (fn.r--));\n\t\tqueue.forEach((fn) => (fn.r-- ? fn.r++ : fn()));\n\t}\n}\nvar wrapDeps = (deps) => (deps.map((dep) => {\n\tif(dep !== null && typeof dep === \"object\") {\n\t\tif(dep[webpackQueues]) return dep;\n\t\tif(dep.then) {\n\t\t\tvar queue = [];\n\t\t\tqueue.d = 0;\n\t\t\tdep.then((r) => {\n\t\t\t\tobj[webpackExports] = r;\n\t\t\t\tresolveQueue(queue);\n\t\t\t}, (e) => {\n\t\t\t\tobj[webpackError] = e;\n\t\t\t\tresolveQueue(queue);\n\t\t\t});\n\t\t\tvar obj = {};\n\t\t\tobj[webpackQueues] = (fn) => (fn(queue));\n\t\t\treturn obj;\n\t\t}\n\t}\n\tvar ret = {};\n\tret[webpackQueues] = x => {};\n\tret[webpackExports] = dep;\n\treturn ret;\n}));\n__webpack_require__.a = (module, body, hasAwait) => {\n\tvar queue;\n\thasAwait && ((queue = []).d = 1);\n\tvar depQueues = new Set();\n\tvar exports = module.exports;\n\tvar currentDeps;\n\tvar outerResolve;\n\tvar reject;\n\tvar promise = new Promise((resolve, rej) => {\n\t\treject = rej;\n\t\touterResolve = resolve;\n\t});\n\tpromise[webpackExports] = exports;\n\tpromise[webpackQueues] = (fn) => (queue && fn(queue), depQueues.forEach(fn), promise[\"catch\"](x => {}));\n\tmodule.exports = promise;\n\tbody((deps) => {\n\t\tcurrentDeps = wrapDeps(deps);\n\t\tvar fn;\n\t\tvar getResult = () => (currentDeps.map((d) => {\n\t\t\tif(d[webpackError]) throw d[webpackError];\n\t\t\treturn d[webpackExports];\n\t\t}))\n\t\tvar promise = new Promise((resolve) => {\n\t\t\tfn = () => (resolve(getResult));\n\t\t\tfn.r = 0;\n\t\t\tvar fnQueue = (q) => (q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn))));\n\t\t\tcurrentDeps.map((dep) => (dep[webpackQueues](fnQueue)));\n\t\t});\n\t\treturn fn.r ? promise : getResult();\n\t}, (err) => ((err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)));\n\tqueue && (queue.d = 0);\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (typeof import.meta.url === \"string\") scriptUrl = import.meta.url\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\\/\\/\\/\\w:/) ? 1 : 0, -1) + \"/\";","__webpack_require__.b = new URL(\"./\", import.meta.url);\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n// no install chunk\n\n// no chunk on demand loading\n\n// no external install chunk\n\n// no on chunks loaded","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(6144);\n"],"mappings":"6DACAA,OAAAC,eAAAC,EAAA,cAAAC,MAAA,OACAD,EAAAE,wBAAAF,EAAAG,yBAAA,EACA,MAAAC,EAAAC,EAAA,MACAL,EAAAG,oBAAA,CACAG,MAAAF,EAAAE,MACAC,KAAAH,EAAAG,KACAC,UAAAJ,EAAAI,UACAC,SAAAL,EAAAK,SACAC,QAAAN,EAAAM,QACAC,YAAAP,EAAAO,aAEA,SAAAT,wBAAAU,GACA,GAAAA,IAAAC,UAAA,CACA,OAAAb,EAAAG,mBACA,CACA,OAAAL,OAAAgB,OAAAhB,OAAAgB,OAAA,GAAAd,EAAAG,qBAAAS,EACA,CACAZ,EAAAE,+C,eCjBAJ,OAAAC,eAAAC,EAAA,cAAAC,MAAA,OACAD,EAAAe,wCAAA,EACA,MAAAC,EAAAC,QAAAC,SAAAC,KAAAC,MAAA,KACA,GAAAJ,EAAA,KAAAH,WAAAG,EAAA,KAAAH,UAAA,CACA,UAAAQ,MAAA,gFAAAJ,QAAAC,SAAAC,OACA,CACA,MAAAG,EAAAC,OAAAC,SAAAR,EAAA,OACA,MAAAS,EAAAF,OAAAC,SAAAR,EAAA,OACA,MAAAU,EAAA,GACA,MAAAC,EAAA,GACA,MAAAC,EAAAN,EAAAI,EACA,MAAAG,EAAAP,IAAAI,GAAAD,GAAAE,EAIA3B,EAAAe,mCAAAa,GAAAC,C,iBCfA/B,OAAAC,eAAAC,EAAA,cAAAC,MAAA,OACAD,EAAA8B,SAAA9B,EAAA+B,YAAA/B,EAAAgC,aAAA,EACA,MAAAC,EAAA5B,EAAA,MACA,MA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